:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#24231f;background:#f7f5ef;line-height:1.4}*{box-sizing:border-box}body{margin:0}button{font:inherit}.app-shell{width:min(100% - 24px,920px);margin:auto;min-height:100vh;padding:20px 0 28px}.site-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dedbd1;padding-bottom:10px}.eyebrow{margin:0;color:#77736a;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase}h1{font-family:Georgia,serif;font-size:2rem;margin:2px 0}.icon-button,.direction-button,.key,.clue-button{border:1px solid #cbc7bc;border-radius:8px;background:#fffdf8;color:#24231f;cursor:pointer}.icon-button{width:42px;height:42px;font-size:0}.help-button:before{content:"";display:block;width:22px;height:22px;margin:auto;background:url(/icons/icons.svg) -22px 0 / 88px 44px no-repeat}.icon-button:focus-visible,.direction-button:focus-visible,.key:focus-visible,.clue-button:focus-visible,.cell:focus-visible{outline:3px solid #365e87;outline-offset:2px}.game-layout{display:grid;grid-template-columns:minmax(0,480px) minmax(240px,1fr);gap:36px;align-items:start;padding-top:24px}.play-area{min-width:0}.board{display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(7,1fr);width:min(100%,480px);aspect-ratio:1;border:1px solid #24231f}.cell{position:relative;min-width:0;border:1px solid #b8b4aa}.cell.blocked{background:#b8b8b8}.cell.open{display:grid;place-items:center;background:#fffdf8;color:#24231f;cursor:pointer}.cell.open.in-entry{background:#e7e4da}.cell.open.selected{background:#c9d9c8;box-shadow:inset 0 0 0 3px #6f916f}.cell.open.cell-result-correct{background:#c9d9c8}.cell.open.cell-result-incorrect{background:#f0caca}.cell-number{position:absolute;top:3px;left:4px;font-size:.68rem;line-height:1}.cell-letter{font-size:clamp(1.45rem,5vw,2.5rem);font-weight:800;line-height:1}.grid-controls{display:flex;align-items:center;justify-content:center;gap:12px;min-height:1em;margin-top:4px}.status{min-height:1.4em;font-weight:800;color:#6f916f}.current-clue{display:none}.keyboard{display:grid;gap:7px;margin-top:0}.share-wrap{text-align:center;margin-top:18px}.share{border:1px solid #cbc7bc;border-radius:8px;padding:9px 12px;background:#24231f;color:#fff;cursor:pointer;font-weight:700}.share:disabled{opacity:.4;cursor:not-allowed}dialog{border:0;border-radius:14px;padding:24px;max-width:360px;color:#24231f;background:#fffdf8;box-shadow:0 12px 50px #0003}dialog::backdrop{background:#24231f80}dialog h2{margin-top:0;font-family:Georgia,serif}dialog p{font-size:1rem}dialog button{border:1px solid #cbc7bc;border-radius:8px;padding:9px 12px;background:#24231f;color:#fff;cursor:pointer;font-weight:700}.key-row{display:flex;justify-content:center;gap:5px}.key{flex:1;height:48px;min-width:28px;background:#dfddd5;font-size:1.2rem;font-weight:800}.key.wide{flex:1.7;font-size:.82rem}.direction-key{display:grid;place-items:center}.direction-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}.clue-panel{display:grid;grid-template-columns:1fr 1fr;gap:24px}.clue-panel h2{margin:0 0 10px;font-family:Georgia,serif;font-size:1.25rem}.clue-list{display:grid;gap:4px}.clue-button{display:grid;grid-template-columns:28px 1fr;gap:6px;border-color:transparent;border-radius:5px;padding:5px 6px;text-align:left;line-height:1.3}.clue-button:hover,.clue-button.selected-clue{background:#e7e4da}.clue-number{font-weight:800}#confetti{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;z-index:10}.confetti-piece{position:absolute;top:-12px;left:var(--confetti-x);width:9px;height:16px;background:var(--confetti-colour);opacity:0;animation:confetti-fall 2.2s ease-out var(--confetti-delay) forwards;transform:rotate(var(--confetti-rotation))}@keyframes confetti-fall{0%{opacity:1;transform:translateY(0) rotate(0)}to{opacity:0;transform:translateY(105vh) rotate(720deg)}}@media(max-width:700px){.app-shell{width:min(100% - 20px,420px);padding:10px 0 14px}.site-header{padding-bottom:6px}.eyebrow{font-size:.58rem}h1{font-size:1.55rem}.game-layout{display:block;padding-top:10px}.current-clue{display:flex;height:3.8rem;flex-direction:column;justify-content:flex-start;margin-bottom:8px;overflow:hidden;line-height:1}.current-clue strong{font-size:.76rem;letter-spacing:.08em;text-transform:uppercase}.current-clue span{display:-webkit-box;overflow:hidden;font-size:.98rem;-webkit-box-orient:vertical;-webkit-line-clamp:3}.board{width:100%}.grid-controls{display:flex;min-height:0;height:auto;margin-top:2px;padding:1px 0 2px}.status{min-height:0}.keyboard{gap:4px;margin-top:0}.share-wrap{margin-top:8px}.share{padding:7px 10px;font-size:.8rem}.key-row{gap:4px}.key{height:42px;font-size:1rem}.key.wide{font-size:.7rem}.clue-panel{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}#confetti{display:none}}
