@font-face{font-family:Manrope;src:url('/fonts/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{color-scheme:light;--paper:#f8f6ee;--ink:#233d30;--muted:#617164;--line:#d4dbce;--slot:#81917d;--surface:#fffef8;--wheel:#e8eddf;--green:#285640;--lime:#d3ed9b;--found:#dceacb;--error:#a43e2c;--focus:#8b5b18;font-family:Manrope,sans-serif;font-synthesis:none;background:var(--paper);color:var(--ink);scrollbar-color:var(--muted) var(--paper)}
:root[data-theme=dark]{color-scheme:dark;--paper:#182821;--ink:#f2f3df;--muted:#b2c2ac;--line:#3a5041;--slot:#71876f;--surface:#293d30;--wheel:#21362a;--green:#d3ed9b;--lime:#d3ed9b;--found:#354d35;--error:#ffb39f;--focus:#e7bc77}
*{box-sizing:border-box}body{margin:0}::selection{color:#203d2e;background:#d3ed9b}a{color:inherit;text-underline-offset:.22em}button,select,input{font:inherit;color:inherit}button,select{cursor:pointer}button{-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.45}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}input{caret-color:var(--green)}.skip-link{position:absolute;top:10px;left:10px;transform:translateY(-180%);z-index:10;background:var(--surface);padding:12px}.skip-link:focus{transform:none}
.shell{max-width:1096px;margin:auto;padding:0 48px}.masthead{min-height:108px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.identity{display:flex;align-items:center;gap:11px;text-decoration:none}.identity h1{font-size:27px;letter-spacing:-.04em;font-weight:800;margin:0}.identity img{border-radius:10px}.header-actions{display:flex;gap:16px;align-items:center}.languages{display:flex;gap:2px;padding:4px;border:1px solid var(--line);border-radius:12px}.languages button{border:0;background:transparent;min-height:36px;padding:0 12px;border-radius:8px;font-size:13px;font-weight:650}.languages button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.theme-button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:none;border-radius:50%}.theme-button:hover{background:var(--wheel)}
.intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px 0 22px}.intro>p{margin:0;font-size:24px;font-weight:600;letter-spacing:-.025em}.how{position:relative;font-size:13px;color:var(--muted);flex-shrink:0}.how summary{cursor:pointer;padding:10px 0;text-underline-offset:4px}.how p{position:absolute;right:0;top:32px;z-index:3;width:min(330px,83vw);margin:12px 0 0;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:12px;line-height:1.7;color:var(--ink)}
.puzzle-bar{display:flex;justify-content:space-between;align-items:center;min-height:68px;gap:16px}.puzzle-choice{display:flex;align-items:center;gap:14px}.puzzle-choice label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}select{max-width:240px;min-height:44px;padding:0 36px 0 14px;border:1px solid var(--line);background:var(--surface);border-radius:10px;font-size:14px;font-weight:600}#count{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--muted)}.progress{height:4px;background:var(--line);overflow:hidden;border-radius:2px}#progress-fill{height:100%;width:0;background:var(--green)}
.game{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:64px;padding:40px 0 24px;align-items:start}.answer-panel h2{font-size:15px;font-weight:650;margin:0 0 28px}.answers{display:grid;gap:24px}.word-group{display:grid;grid-template-columns:14px minmax(0,1fr);gap:16px}.length{font-size:11px;color:var(--muted);line-height:33px;font-variant-numeric:tabular-nums}.words{display:flex;flex-wrap:wrap;gap:12px 18px}.answer{display:flex;gap:3px}.cell{width:25px;height:33px;display:grid;place-items:center;border-bottom:2px solid var(--slot);font-size:15px;font-weight:700}.answer.found .cell{background:var(--found);border-color:transparent;border-radius:4px}.answer.hinted .cell{color:var(--muted)}.answer.just-found{animation:found 320ms cubic-bezier(.16,1,.3,1)}
.play{display:flex;flex-direction:column;align-items:center;width:100%}.entry-row{display:flex;align-items:center;width:100%;gap:8px}#entry{min-width:0;width:100%;height:48px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;text-align:center;text-transform:uppercase;font-size:25px;font-weight:700;letter-spacing:.08em}#entry::placeholder{text-transform:none;font-size:18px;letter-spacing:0;font-weight:500;color:var(--muted)}.icon-button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:10px;background:transparent;position:relative}.icon-button:hover:not(:disabled),.hint-button:hover:not(:disabled){background:var(--wheel)}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#status{min-height:44px;display:grid;place-items:center;width:100%;text-align:center;color:var(--muted);font-size:12px;line-height:1.4;padding:5px 0}#status.error{color:var(--error)}
.wheel{position:relative;width:314px;max-width:100%;aspect-ratio:1;touch-action:none;user-select:none;-webkit-user-select:none;border-radius:50%;background:var(--wheel)}.wheel>svg{position:absolute;width:100%;height:100%;inset:0;pointer-events:none}.wheel polyline{fill:none;stroke:var(--green);stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round}.letter{position:absolute;width:20%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;border:0;background:var(--surface);font-size:28px;font-weight:750;padding:0;box-shadow:0 3px 8px #193a2210;transition:background 100ms,left 220ms,top 220ms;touch-action:none}.letter:hover{background:var(--found)}.letter.selected{color:#1d3c2b;background:var(--lime)}.wheel .shuffle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:0;border-radius:50%;background:var(--wheel);width:48px;height:48px}.wheel .shuffle .icon{width:25px;height:25px}.wheel .shuffle:hover{background:var(--surface)}#wheel-help{margin:18px 0 20px;font-size:12px;color:var(--muted)}.controls{display:flex;gap:12px;width:100%;justify-content:center}.hint-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;border:1px solid var(--line);border-radius:10px;background:none;padding:0 18px;font-size:13px;font-weight:600}#submit{border:0;border-radius:10px;background:var(--green);color:var(--paper);flex:1;height:46px;font-size:14px;font-weight:750}#submit:hover:not(:disabled){filter:brightness(1.15)}.completion{min-height:56px;padding-top:14px;display:flex;align-items:center;justify-content:center}#next{display:inline-flex;align-items:center;gap:8px;min-height:44px;border:0;background:transparent;padding:8px;font-size:14px;font-weight:700}#next[hidden]{display:none}
footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0 30px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);line-height:1.6}footer nav{display:flex;gap:24px}footer a{display:inline-flex;gap:6px;align-items:center;min-height:36px;text-decoration:none}footer a:hover{text-decoration:underline}.noscript{padding:20px;border:1px solid var(--line)}.document{max-width:680px;margin:0 auto;padding:50px 24px;font-size:16px;line-height:1.75}.document h1{font-size:32px;letter-spacing:-.035em}.document h2{font-size:20px;margin-top:36px}.document p{margin:12px 0 20px}
@keyframes found{50%{transform:translateY(-3px)}}
@media(max-width:780px){.shell{max-width:540px;padding:0 24px}.masthead{min-height:88px;gap:10px}.identity{gap:8px}.identity img{width:30px;height:30px;border-radius:8px}.identity h1{font-size:22px}.header-actions{gap:6px}.languages{padding:3px;border-radius:10px}.languages button{font-size:12px;padding:0 9px;min-height:36px}.theme-button{width:32px;height:40px}.intro{padding:24px 0 10px;align-items:flex-start;gap:12px}.intro>p{font-size:20px;max-width:17ch;line-height:1.35}.how{font-size:12px}.puzzle-bar{min-height:66px}select{font-size:16px;max-width:230px}#count{font-size:12px}.game{grid-template-columns:minmax(0,1fr);gap:24px;padding-top:22px}.play{order:-1;max-width:330px;margin:auto}.wheel{width:280px}.letter{font-size:26px}.answer-panel h2{margin-bottom:20px}.answer-panel{padding-bottom:28px}.answers{gap:18px}.cell{width:25px;height:32px}.word-group{gap:10px}.words{gap:10px 14px}#entry{height:42px;font-size:23px}#status{min-height:38px}#wheel-help{margin:14px 0 18px}.completion{min-height:36px;padding-top:4px}.completion:has(#next[hidden]){display:none}footer{flex-direction:column;gap:6px;align-items:flex-start;padding:20px 0 24px}footer nav{gap:24px}}
@media(max-width:390px){.shell{padding:0 16px}.identity{gap:6px}.identity h1{font-size:20px}.identity img{width:28px;height:28px}.languages button{padding:0 7px;font-size:11px}.header-actions{gap:4px}.intro>p{font-size:19px}.wheel{width:266px}.cell{width:23px}.words{column-gap:12px}}
@media(pointer:coarse){input,select,textarea{font-size:16px}.languages button{min-height:40px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(min-width:781px){.completion:has(#next[hidden]){display:none}}
@media(min-width:781px) and (max-height:850px){.masthead{min-height:80px}.intro{padding:20px 0 10px}.puzzle-bar{min-height:60px}.game{padding-top:26px;gap:56px}.wheel{width:270px}#status{min-height:32px}#entry{height:42px}#wheel-help{margin:14px 0 16px}.answer-panel h2{margin-bottom:20px}.answers{gap:18px}footer{padding:16px 0}}
@media(max-width:360px){.identity h1{font-size:18px}.identity img{width:24px;height:24px}.languages button{padding:0 5px}.masthead{gap:6px}.theme-button{width:30px}}
