@font-face{font-family:DSEG7 Classic;src:url(/assets/DSEG7Classic-Bold-jUCkPCxO.woff2)format("woff2");font-weight:700;font-style:normal;font-display:block}:root{--bg:#0b1622;--surface:#13263a;--surface-active:#1f3a57;--text:#e8f4ff;--muted:#8aa4bd;--accent:#ffb400;--red:#ff4d5a;--green:#2ecc71;--clock-font:"DSEG7 Classic", ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg);-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{overscroll-behavior:none;margin:0}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:none}button:disabled{opacity:.35;cursor:default}button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.screen{width:100%;max-width:480px;min-height:100dvh;padding:max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));flex-direction:column;gap:1rem;margin:0 auto;display:flex}.start-screen{gap:1.25rem}.start-header{justify-content:flex-end;margin:-.25rem -.5rem -.75rem 0;display:flex}.icon-button{width:3rem;height:3rem;color:var(--text);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.icon-button:active{background:var(--surface)}.icon{width:1.75rem;height:1.75rem}.hero{text-align:center;flex-direction:column;align-items:center;gap:.9rem;display:flex}.logo{letter-spacing:-.02em;align-items:center;gap:.25em;margin:0;font-size:clamp(2.5rem,12vw,3.25rem);line-height:1;display:flex}.logo-icon{flex:none;width:1.1em;height:1.1em}.logo-accent{color:var(--accent)}.example{background:#000;border:2px solid #2a2a2a;border-radius:14px;align-items:flex-start;gap:.75rem;padding:.6rem 1rem .5rem;display:flex}.example-clock{flex-direction:column;align-items:center;gap:.2rem;display:flex}.example-time{font-family:var(--clock-font);font-size:1.5rem;font-weight:700}.example-time.remaining{color:#fff;text-shadow:0 0 8px #fff6}.example-time.played{color:var(--accent);text-shadow:0 0 8px #ffb40066}.example-caption{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.7rem}.example-arrow{color:var(--muted);align-self:center;margin-top:-1rem;font-size:1.25rem}.tagline{max-width:22rem;color:var(--muted);margin:0;font-size:.95rem;line-height:1.45}.mode-list{flex-direction:column;gap:.6rem;display:flex}.mode-card{background:var(--surface);text-align:left;border:2px solid #0000;border-radius:14px;align-items:flex-start;gap:.85rem;width:100%;padding:.85rem 1rem;display:flex}.mode-card[aria-checked=true]{border-color:var(--accent)}.mode-indicator{border:2px solid var(--muted);border-radius:50%;flex:none;width:1.25rem;height:1.25rem;margin-top:.1rem}.mode-card[aria-checked=true] .mode-indicator{border-color:var(--accent);background:radial-gradient(circle, var(--accent) 0 45%, transparent 50%)}.mode-text{flex-direction:column;gap:.2rem;min-width:0;display:flex}.mode-name{font-size:1.1rem;font-weight:700}.mode-card[aria-checked=true] .mode-name{color:var(--accent)}.mode-description{color:var(--muted);font-size:.9rem;line-height:1.35}.mode-record{color:var(--text);font-size:.85rem;font-weight:600}.start-button{margin-top:auto}.primary,.secondary{border-radius:14px;min-height:3.75rem;font-size:1.25rem;font-weight:700}.primary{background:var(--accent);color:#1a1a1a}.secondary{background:var(--surface);min-height:3.25rem;font-size:1.1rem}.screen-header{grid-template-columns:1fr auto 1fr;align-items:center;display:grid}.screen-header .icon-button{justify-self:start;margin-left:-.5rem}.screen-header h2{margin:0;font-size:1.25rem}.settings-screen{gap:1.25rem}.settings-section{flex-direction:column;gap:.5rem;display:flex}.settings-section h3{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0;padding:0 .25rem;font-size:.8rem;font-weight:700}.settings-card{background:var(--surface);border-radius:14px;flex-direction:column;display:flex}.setting-item{border:none;flex-direction:column;margin:0;padding:.85rem 1rem;display:flex}.setting-item+.setting-item{border-top:1px solid #ffffff14}.setting-item legend{float:left;width:100%;margin-bottom:.6rem;padding:0;font-weight:600}.setting-item legend+*{clear:both}.segmented{background:var(--bg);border-radius:12px;gap:.25rem;padding:.25rem;display:flex}.segmented button{min-height:3rem;color:var(--muted);border-radius:9px;flex:1;font-weight:600}.segmented button[aria-pressed=true]{background:var(--accent);color:#1a1a1a}.setting-row{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.setting-row label,.setting-row>span{min-width:0;font-weight:600}.switch{flex:none;justify-content:flex-end;align-items:center;min-width:3.5rem;min-height:3rem;display:inline-flex}.switch-track{background:var(--bg);border-radius:999px;width:3.25rem;height:2rem;transition:background .15s;position:relative}.switch-thumb{background:var(--muted);border-radius:50%;width:1.5rem;height:1.5rem;transition:transform .15s,background .15s;position:absolute;top:.25rem;left:.25rem}.switch[aria-checked=true] .switch-track{background:var(--accent)}.switch[aria-checked=true] .switch-thumb{background:#1a1a1a;transform:translate(1.25rem)}.stepper{background:var(--bg);border-radius:12px;flex:none;align-items:stretch;display:flex;overflow:hidden}@media (width<=359px){.stepper button{width:2.75rem}.stepper input{width:3rem}}@media (width<=319px){.setting-row:has(.stepper){flex-direction:column;align-items:stretch;gap:.6rem}.stepper input{flex:1}}.stepper button{width:3rem;min-height:3rem;font-size:1.4rem;font-weight:700}.stepper button:active:not(:disabled){background:var(--surface-active)}.stepper input{width:3.75rem;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;text-align:center;background:0 0;border:2px solid #0000;font-size:1.15rem;font-weight:700}.stepper input:focus-visible{border-color:var(--accent);border-radius:6px;outline:none}.setting-hint{color:var(--muted);margin:0;font-size:.8rem}.setting-hint:not(:empty){margin-top:.5rem}.confirm-dialog{border:2px solid var(--surface-active);background:var(--bg);width:min(22rem,100vw - 2rem);color:var(--text);border-radius:16px;padding:1.25rem}.confirm-dialog::backdrop{background:#000000a6}.confirm-dialog h2{margin:0 0 .5rem;font-size:1.25rem}.confirm-dialog p{color:var(--muted);margin:0 0 1.25rem;line-height:1.45}.dialog-actions{flex-wrap:wrap;gap:.5rem;display:flex}.dialog-actions button{flex:8rem;min-height:3rem;font-size:1rem}.danger{background:var(--red);color:#fff;border-radius:14px;font-weight:700}.result-screen{text-align:center;justify-content:center}.result-screen h2{margin:0;font-size:1.75rem}.big-score{color:var(--accent);margin:0;font-size:clamp(2.5rem,13vw,3.5rem);font-weight:800}.result-detail{color:var(--muted);margin:0;font-size:1.1rem}.new-record{min-height:1.5em;color:var(--green);margin:0;font-size:1.25rem;font-weight:700}.hud{color:var(--muted);justify-content:space-between;align-items:center;gap:.5rem;font-size:.95rem;font-weight:600;display:flex}.hud .icon-button{margin:-.25rem 0 -.25rem -.5rem}.time-left{color:var(--text);font-variant-numeric:tabular-nums;font-size:1.15rem;font-weight:700}.time-left.urgent{color:var(--red)}.clock-panel{background:#000;border:3px solid #2a2a2a;border-radius:16px;flex-direction:column;align-items:center;padding:.75rem 1rem;display:flex}.clock{color:#fff;font-family:var(--clock-font);font-variant-numeric:tabular-nums;text-shadow:0 0 12px #ffffff73;font-size:clamp(3rem,17vw,4.75rem);font-weight:700;line-height:1.1}.answer{background:var(--surface);border-color:#0000;transition:border-color .15s}.answer .clock{color:var(--accent);text-shadow:0 0 12px #ffb40073}.answer.correct{border-color:var(--green)}.answer.wrong{border-color:var(--red)}.message{text-align:center;justify-content:center;align-items:center;min-height:1.5rem;margin:-.5rem 0 0;font-weight:700;line-height:1.2;display:flex}.message.correct{color:var(--green)}.message.wrong{color:var(--red)}.message.hint{color:var(--muted);font-size:.8rem;font-weight:400}.message.info{color:var(--muted);font-variant-numeric:tabular-nums}.keypad{--key-width:calc((min(100vw, 480px) - 2rem - 1rem) / 3);max-height:calc(var(--key-width) * 4 + 1.5rem);flex:auto;grid-template-rows:repeat(4,minmax(3.5rem,1fr));grid-template-columns:repeat(3,1fr);gap:.5rem;display:grid}.keypad button{background:var(--surface);border-radius:12px;font-size:clamp(1.6rem,4.5dvh,2.25rem);font-weight:600}.keypad button:active:not(:disabled){background:var(--surface-active)}.keypad .keypad-action{color:var(--muted)}@media (height<=740px){.screen{padding-top:max(.5rem, env(safe-area-inset-top));padding-bottom:max(.5rem, env(safe-area-inset-bottom));gap:.5rem}.clock-panel{padding:.35rem .75rem}.clock{font-size:clamp(2.25rem,7.5dvh,3.25rem)}.keypad{grid-template-rows:repeat(4,minmax(3rem,1fr))}.primary{min-height:3.25rem}.start-screen,.hero{gap:.6rem}.logo{font-size:clamp(2.25rem,10vw,2.75rem)}.example{padding:.4rem .8rem .35rem}.example-time{font-size:1.25rem}.mode-list{gap:.45rem}.mode-card{padding:.55rem .85rem}.mode-description{font-size:.85rem}.settings-screen{gap:.5rem}.settings-section{gap:.35rem}.screen-header .icon-button{margin-top:-.25rem;margin-bottom:-.25rem}.setting-item{padding:.55rem .85rem}.setting-item legend{margin-bottom:.45rem}}@media (height<=640px){.tagline{display:none}}
