.crossword-page{background:linear-gradient(#163a2ddd,#1d2d24ee),repeating-linear-gradient(90deg,#684b2d 0 70px,#553a22 70px 74px);min-height:100vh;color:#f8ebcd}.word-hero,.crossword-shell{width:min(1180px,calc(100% - 24px));margin:auto}.word-hero{padding:2rem 0}.word-hero h1{color:#fff1c7}.crossword-shell{display:grid;grid-template-columns:minmax(0,680px) minmax(280px,1fr);gap:1rem;padding-bottom:3rem}.crossword-paper,.crossword-panel{background:#f7efd9;color:#173a2d;border:3px solid #a77b3f;border-radius:14px;padding:1rem;box-shadow:0 18px 44px #0007}.crossword-grid{display:grid;aspect-ratio:1;max-width:650px;margin:auto;border:3px solid #263f32;background:#263f32}.crossword-cell{position:relative;min-width:0;min-height:0;padding:0;border:1px solid #6d795f;border-radius:0;background:#fffdf2;color:#163a2d;font:800 clamp(.72rem,2.8vw,1.55rem) Georgia}.crossword-blank{background:#24392f}.crossword-cell.selected{box-shadow:inset 0 0 0 3px #d69c2f;background:#fff0b5}.crossword-cell.answer{background:#e6ecd1}.crossword-cell.checked-wrong{box-shadow:inset 0 0 0 3px #a44b3e}.cell-number{position:absolute;top:0;left:2px;font:700 clamp(.34rem,1vw,.55rem) Arial}.selected-clue{min-height:66px;margin:.7rem 0;padding:.6rem;border-left:5px solid #c3913e;background:#fff9e8}.selected-clue span{display:block}.letter-keyboard{display:grid;grid-template-columns:repeat(9,1fr);gap:.3rem}.letter-keyboard button{min-height:44px;padding:.2rem}.crossword-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin:.8rem 0}.crossword-actions button{min-height:44px}.crossword-meta{display:flex;gap:.5rem;justify-content:space-between}.clue-lists{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.clue-lists button{border:0;background:none;text-align:left;color:#173a2d;padding:.25rem}.clue-lists button.active{font-weight:900;text-decoration:underline}.word-overlay{position:fixed;inset:0;z-index:20;background:#10271ee8;display:grid;place-items:center;padding:1rem}.word-overlay[hidden]{display:none}.word-overlay>div{background:#f7efd9;color:#173a2d;padding:1.5rem;border-radius:12px;text-align:center}@media(max-width:780px){.crossword-shell{grid-template-columns:1fr}.crossword-panel{order:2}.letter-keyboard{grid-template-columns:repeat(7,1fr)}.clue-lists{grid-template-columns:1fr}}@media(max-width:430px){.crossword-shell,.word-hero{width:min(100% - 10px,420px)}.crossword-paper{padding:5px}.crossword-grid{border-width:2px}.crossword-cell{font-size:clamp(.62rem,4vw,1rem)}.letter-keyboard button{min-height:46px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
