.wh,.wh-y,.wh-result{--accent: #1D4ED8}:root[data-palette=colorblind] :is(.wh,.wh-y,.wh-result){--accent: #0072b2}:root[data-look=dusk] :is(.wh,.wh-y,.wh-result),:root[data-look=ink] :is(.wh,.wh-y,.wh-result){--accent: #4F7BEA}.wh{--wheel: clamp(236px, min( calc(100vw - 40px) , calc(100dvh - 432px) ), 340px);display:grid;grid-template-columns:minmax(0,1fr);gap:8px;max-width:520px;margin:0 auto;user-select:none;-webkit-user-select:none}.wh-top{display:flex;align-items:center;gap:6px;min-height:44px}.wh-label{flex:0 1 auto;min-width:0;display:flex;flex-direction:column;line-height:1.15}.wh-label b{font-family:var(--font-display);font-size:1.08rem}.wh-label span{color:var(--ink-2);font-size:.9rem;font-variant-numeric:tabular-nums}.wh-gap{flex:1 1 auto}.wh-chip{flex:none;min-height:44px;padding:4px 12px;font-size:.92rem;gap:4px}.wh-icon{flex:none;min-width:44px;min-height:44px;padding:6px 8px;font-size:1.2rem;font-weight:800}.wh-ico{display:inline-grid;place-items:center}.wh-ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.wh-bar{position:relative;height:34px;margin:0 4px 0 2px}.wh-bar-track{position:absolute;left:0;right:0;top:4px;height:10px;border-radius:6px;background:var(--bg-2);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}.wh-bar-fill{display:block;height:100%;width:0;background:var(--accent);border-radius:6px;transition:width calc(.35s * var(--motion)) ease-out}.wh-tick{position:absolute;top:0;transform:translate(-50%);display:grid;justify-items:center;gap:2px}.wh-tick i{display:block;width:18px;height:18px;border-radius:50%;background:var(--bg);border:3px solid var(--line);box-sizing:border-box}.wh-tick.is-hit i{background:var(--sun);border-color:var(--sun)}.wh-tick b{font-size:.72rem;font-weight:700;color:var(--ink-2);white-space:nowrap}.wh-tick[data-tick="3"]{transform:translate(-100%);justify-items:end}.wh-tick[data-tick="3"] i{margin-right:-2px}.wh-entry{display:flex;justify-content:center;align-items:center;gap:3px;min-height:48px;flex-wrap:wrap}.wh-e{display:grid;place-items:center;min-width:32px;height:44px;padding:0 2px;border-bottom:3px solid var(--ink);font-family:var(--font-display);font-weight:800;font-size:1.85rem;line-height:1;color:var(--ink)}.wh-e:first-child:last-child,.wh-e.is-pop:last-child{animation:wh-pop calc(.14s * var(--motion)) ease-out}@keyframes wh-pop{50%{transform:translateY(-4px)}}.wh-e-empty{color:var(--ink-2);font-size:1rem;text-align:center}.wh-entry.is-shake{animation:wh-shake calc(.4s * var(--motion)) ease-in-out}@keyframes wh-shake{15%,55%{transform:translate(-7px)}35%,75%{transform:translate(7px)}}.wh-msg{min-height:1.4em;text-align:center;color:var(--ink-2);font-size:1rem;font-weight:600;line-height:1.3}.wh-msg.is-bad{color:var(--coral)}.wh-msg.is-good{color:var(--leaf)}.wh-msg.is-hint{color:var(--ink);letter-spacing:.02em}.wh-wheel{position:relative;width:var(--wheel);height:var(--wheel);margin:2px auto;touch-action:manipulation}.wh-art,.wh-art svg{position:absolute;inset:0;width:100%;height:100%}.wh-rim{fill:var(--cell);stroke:var(--accent);stroke-width:2.2}.wh-spoke{stroke:var(--accent);stroke-width:1.4;fill:none;opacity:.7}.wh-hub{fill:var(--accent);stroke:var(--accent);stroke-width:2.2}.wh-l{--x: 0;--y: 0;--s: calc(var(--wheel) * .2);position:absolute;left:calc(50% + var(--x) * var(--wheel) / 100 - var(--s) / 2);top:calc(50% + var(--y) * var(--wheel) / 100 - var(--s) / 2);width:var(--s);height:var(--s);min-width:44px;min-height:44px;padding:0;border-radius:50%;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--ink);font-family:var(--font-display);font-weight:800;font-size:calc(var(--wheel) * .115);line-height:1;transition:transform calc(.08s * var(--motion)),opacity calc(.12s * var(--motion))}.wh-l:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 10%,transparent)}.wh-l:active:not(:disabled){transform:scale(.92)}.wh-l.is-centre{--s: calc(var(--wheel) * .28);color:#fff;font-size:calc(var(--wheel) * .14)}.wh-l.is-centre:hover:not(:disabled){background:color-mix(in srgb,#fff 12%,transparent)}.wh-l.is-used{opacity:.28;cursor:default}.wh-l.is-centre.is-used{opacity:.45}.wh-l:disabled{cursor:default}.wh-l:focus-visible{outline:3px solid var(--sky);outline-offset:-3px}.wh-wheel.is-spin .wh-l:not(.is-centre){animation:wh-turn calc(.3s * var(--motion)) ease-out}@keyframes wh-turn{0%{transform:scale(.6) rotate(-40deg);opacity:.2}to{transform:none}}.wh-wheel.is-nudge{animation:wh-shake calc(.3s * var(--motion)) ease-in-out}.wh-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.wh-tool{min-height:48px;padding:4px 6px;font-size:.95rem;gap:5px;line-height:1.1}.wh-tool:disabled{opacity:.5}.wh-tool.is-pulse{animation:wh-pulse calc(1.2s * var(--motion)) ease-in-out 3}@keyframes wh-pulse{50%{box-shadow:0 0 0 6px color-mix(in srgb,var(--sun) 45%,transparent)}}.wh-enter{font-weight:800}.wh-keys{display:none;margin:0;text-align:center;color:var(--ink-2);font-size:.85rem}.wh-found{margin-top:4px;padding:10px 12px 12px;border-radius:16px;background:var(--bg-2)}.wh-found-head{margin:0 0 8px;font-family:var(--font-display);font-size:1rem}.wh-found-list{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.wh-w{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;background:var(--cell);border:1px solid var(--line);font-weight:700;letter-spacing:.03em;font-size:.95rem}.wh-w.is-bonus{border-style:dashed}.wh-w.is-nine{background:var(--sun);border-color:var(--sun);color:#2a1f16}.wh-mark{font-size:.8rem;color:var(--ink-2)}.wh-w.is-nine .wh-mark{color:inherit}.wh-w.is-new{animation:wh-new calc(.5s * var(--motion)) ease-out}@keyframes wh-new{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08)}to{transform:none}}.wh-w.is-flash{animation:wh-flash calc(.8s * var(--motion)) ease-in-out}@keyframes wh-flash{30%,70%{background:var(--cell-selected);border-color:var(--sun)}}.wh-none{color:var(--ink-2);font-size:.95rem}.wh-result .big{font-size:2rem}.wh-y{max-height:56vh;overflow-y:auto}.wh-y p{margin:0 0 8px}.wh-y h3{margin:10px 0 4px;font-size:.9rem;color:var(--ink-2)}.wh-y-wheel{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-family:var(--font-display);font-weight:800;letter-spacing:.12em}.wh-y-wheel b{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--accent);color:#fff;letter-spacing:0}.wh-y-nine{font-weight:700}.wh-y-list{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;padding:0;list-style:none;font-weight:600;letter-spacing:.02em}.wh-y-list li.is-mine:after{content:" ✓";color:var(--leaf);font-weight:800}.wh-y-note{margin-top:10px!important;color:var(--ink-2);font-size:.9rem}.wh-help p{margin:0 0 10px}@media(pointer:fine)and (min-width:700px){.wh{--wheel: clamp(260px, calc(100dvh - 470px) , 340px)}.wh-keys{display:block}}:root[data-text-size=large] .wh{--wheel: clamp(236px, min( calc(100vw - 40px) , calc(100dvh - 480px) ), 340px)}:root[data-text-size=large] .wh-label b{font-size:1rem}:root[data-text-size=large] .wh-label span{font-size:.85rem}:root[data-text-size=large] .wh-chip{padding-inline:10px;font-size:calc(.92rem * 16 / 19)}:root[data-text-size=large] .wh-tick b{font-size:calc(.72rem * 16 / 19)}:root[data-text-size=large] .wh-tool{font-size:calc(.95rem * 16 / 19)}:root[data-text-size=large] .wh-e{font-size:calc(1.85rem * 16 / 19)}
