@font-face{font-family:Jost;src:url('./fonts/jost-0.woff2') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Jost;src:url('./fonts/jost-1.woff2') format('truetype');font-weight:600;font-display:swap}
*{box-sizing:border-box}html{min-width:320px;scrollbar-color:var(--muted) var(--ground)}body{margin:0;min-height:100svh;font:400 17px/1.45 Jost,sans-serif;background:var(--ground);color:var(--ink);display:flex;flex-direction:column}button,input{font:inherit}button,a,input{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button{color:inherit}a{color:inherit;text-underline-offset:5px}svg{width:24px;height:24px;flex:none;display:block}button,a,input,summary{outline-offset:5px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--focus)}::selection{color:var(--ground);background:var(--ink)}[hidden]{display:none!important}h1,h2,p{margin:0}h1,h2{text-wrap:balance}button{border:0}input{min-width:0;caret-color:var(--ink)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:20px;background:var(--ink);color:var(--ground);padding:10px 20px;z-index:100}.skip-link:focus{top:20px}.site-header{display:flex;justify-content:space-between;align-items:center;padding:24px 42px;gap:16px;width:100%;max-width:1600px;margin:0 auto}.family-brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-weight:600;font-size:20px;letter-spacing:-.025em}.family-brand svg{width:29px;height:29px;stroke-width:2}.header-tools{display:flex;gap:10px}.icon-button{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);background:transparent;border-radius:50%;transition:background .16s,transform .16s}.icon-button:hover{background:var(--soft)}.icon-button:active{transform:scale(.94)}.page-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 42px;color:var(--muted);font-size:14px;margin-top:auto}.page-footer a{display:flex;align-items:center;gap:8px;text-decoration:none}.page-footer a:hover{text-decoration:underline}.page-footer svg{width:19px;height:19px}.page-footer .footer-title{color:var(--ink);font-weight:600}.progress{display:flex;justify-content:center;gap:8px;align-items:center}.progress-dot{width:9px;height:9px;border:1px solid var(--muted);border-radius:50%;display:grid;place-items:center;transition:width .25s,background .25s}.progress-dot.current{width:24px;border-radius:6px;background:var(--ink);border-color:var(--ink)}.progress-dot.complete{width:19px;height:19px;background:var(--ink);border-color:var(--ink);color:var(--ground)}.progress-dot.skipped{background:transparent;color:var(--muted);border-color:var(--muted)}.progress-dot svg{width:13px;height:13px}.text-button{background:transparent;padding:10px 14px;min-height:44px;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;color:var(--muted)}.text-button svg{width:18px;height:18px}.text-button:hover{background:var(--soft);color:var(--ink)}.primary-button{border:0;background:var(--ink);color:var(--ground);font-weight:600;border-radius:12px;padding:14px 26px;min-height:50px;transition:transform .18s,background .18s}.primary-button:hover{transform:translateY(-2px)}.primary-button:active{transform:translateY(1px)}.feedback{font-size:16px;min-height:26px;text-align:center;color:var(--muted);text-wrap:balance}.feedback.good{color:var(--ink);font-weight:600}.game-actions{display:flex;align-items:center;justify-content:center;gap:18px}.game-actions .divider{height:15px;width:1px;background:var(--line)}.menu-dialog{padding:30px;border:0;background:var(--ground);color:var(--ink);width:min(420px,calc(100vw - 24px));max-height:calc(100svh - 24px);border-radius:20px;margin:12px 12px auto auto;box-shadow:0 16px 60px #0002}.menu-dialog::backdrop{background:#10241e66}.menu-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px}.menu-head h2{font-size:28px;font-weight:600}.menu-dialog h3{font-size:18px;font-weight:600;margin:24px 0 10px}.menu-dialog p,.menu-dialog li{font-size:16px;line-height:1.6}.menu-dialog ol{padding-left:22px}.menu-dialog li{padding-left:5px;margin:12px 0}.menu-dialog .menu-note{color:var(--muted);font-size:14px}.menu-dialog .menu-bottom{margin-top:26px;padding-top:22px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:18px}.menu-dialog .primary-button{width:100%}.menu-dialog .other-game{padding:12px 0;text-align:center}.mini-legend{display:flex;flex-direction:column;gap:8px;margin:16px 0}.mini-legend div{display:flex;align-items:center;gap:10px}.legend-tile{width:26px;height:28px;display:grid;place-items:center;font-weight:600;border-radius:4px;background:var(--correct);color:#112e30}.legend-tile.present{background:var(--present);outline:1px solid #9d7733;outline-offset:-3px}.legend-tile.absent{background:var(--absent);color:var(--ink);text-decoration:line-through}.result{max-width:580px;margin:24px auto 0;text-align:center;padding:24px 20px}.result h2{font-size:42px;line-height:1.1}.result p{margin:18px auto;color:var(--muted)}.result-score{font-size:72px;line-height:1;margin:25px 0}.result-score small{font:400 18px Jost,sans-serif;color:var(--muted)}.result .primary-button{margin:10px auto 0}.result-list{display:flex;justify-content:center;gap:9px;margin:20px 0}.result-list span{display:grid;place-items:center;width:38px;height:38px;background:var(--soft);border-radius:50%}.result-list svg{width:20px;height:20px}@media(max-width:600px){.site-header{padding:18px 20px}.family-brand{font-size:18px}.family-brand svg{width:25px;height:25px}.header-tools{gap:8px}.icon-button{width:44px;height:44px}.page-footer{padding:24px 20px;font-size:12px;gap:14px}.page-footer svg{display:none}.page-footer .footer-title{font-size:14px}.menu-dialog{padding:24px}.result h2{font-size:36px}.result-score{font-size:64px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.round-results{list-style-position:inside;padding:0;margin:16px auto;max-width:340px;text-align:left}.round-results li{border-bottom:1px solid var(--line);padding:5px 0;font-size:1em;line-height:1.3}.round-results li::marker{color:var(--muted)}

.archive-form{margin:22px 0 0}.archive-form label{display:block;margin-bottom:6px;font-weight:600}.archive-form>div{display:flex;gap:8px}.archive-form input{flex:1;min-width:0;min-height:44px;border:1px solid var(--line);background:var(--field,var(--ground));color:var(--ink);padding:4px 10px;font:inherit}.archive-form button{color:var(--ink);border:1px solid var(--line)}

#score-strip{width:min(100%,260px);margin:-7px auto 9px;color:var(--amber,var(--ink))}.score-wave{width:100%;height:auto;display:block;overflow:visible}.score-wave .wave-rule{fill:none;stroke:var(--line);stroke-width:1;stroke-dasharray:2 4}.wave-ink{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:1;animation:write-wave .65s ease-out both}.wave-fill{fill:currentColor;opacity:.12}.wave-point{fill:var(--ground);stroke:currentColor;stroke-width:2}.score-wave text{fill:var(--muted);font:10px monospace}.end-wave{max-width:340px;margin:18px auto 4px;color:var(--amber,var(--ink))}.end-wave figcaption{font-size:14px;text-align:left;color:var(--muted);margin-bottom:3px}@keyframes write-wave{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.wave-ink{animation:none}}
