.cw-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .cw-layout { grid-template-columns: 1fr; } }
.setup { margin-bottom: 14px; }
.hud { display: flex; justify-content: space-around; text-align: center; margin-bottom: 14px; padding: 12px; }
.hud .k { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); font-weight: 600; }
.hud .v { font-family: Chango, Georgia, serif; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.activeclue { min-height: 2.8em; margin-bottom: 10px; font-weight: 600; }
.activeclue b { font-family: Chango, Georgia, serif; font-weight: 400; color: var(--brand-deep); margin-right: 6px; }
.cwgrid { display: grid; gap: 2px; width: min(100%, 620px); margin: 0 auto; }
.cwc { position: relative; aspect-ratio: 1; border-radius: 6px; }
.cwc.block { background: transparent; }
.cwc.cell { background: #fff; border: 1px solid rgba(20,73,54,.35); }
.cwc .n { position: absolute; top: 1px; left: 3px; font-size: .6rem; font-weight: 600; color: var(--brand-deep); pointer-events: none; z-index: 1; }
.cwc input { width: 100%; height: 100%; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 600;
  font-size: clamp(.9rem, 3vw, 1.5rem); text-transform: uppercase; color: var(--ink); padding: 8px 0 0; caret-color: transparent; cursor: pointer; border-radius: 6px; }
.cwc input:focus { outline: none; }
.cwc.word { background: rgba(25,193,85,.18); }
.cwc.cur { background: var(--brand); }
.cwc.cur input { color: #fff; }
.cwc.wrong { background: #fde0dd; }
.cwc.wrong input { color: #b3261e; }
.cwc.rev input { color: var(--brand-deep); font-style: italic; }
.cwc.cur.wrong { background: #e57a72; }
.tools { margin-top: 14px; }
.tools .btn { flex: 0 1 auto; }
.clues ol { list-style: none; margin: 0; padding: 0; }
.clues li { padding: 4px 8px; border-radius: 8px; cursor: pointer; font-size: .98rem; }
.clues li b { display: inline-block; min-width: 1.6em; color: var(--brand-deep); }
.clues li:hover { background: rgba(25,193,85,.1); }
.clues li.on { background: rgba(25,193,85,.22); }
.clues li.done { text-decoration: line-through; opacity: .55; }
