:root{--ink: #10324c;--muted: #4d6a80;--card: rgba(255, 255, 255, .96);--chip: #eaf5fa;--soft: #f4f8fb;--accent: #ff7a59;--accent-strong: #e2553a;--accent-text: #b8432a;--good: #22b07d;--good-text: #11724f;--good-tint: #dcf5ea;--amber: #f2a516;--warn: #ff9f43;--warn-text: #9a4a0c;--warn-tint: #ffead6;--current: #16b3a3;--current-text: #0b6f65;--sea: #3ea6c8;--focus: #1b6fd1;--shadow: 0 6px 18px rgba(8, 40, 70, .16);--ease-out: cubic-bezier(.2, .8, .2, 1);--t-press: .12s;--t-enter: .22s}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html,body{height:100%;height:100dvh;overflow:hidden;overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--sea);color:var(--ink);font-family:Nunito,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-weight:700;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}[hidden]{display:none!important}canvas{position:fixed;inset:0;width:100%;height:100%;display:block}#probe{position:fixed;visibility:hidden;pointer-events:none;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}button,input{font:inherit;color:inherit;border:0}button{cursor:pointer;background:none;transition:transform var(--t-press) var(--ease-out),background-color var(--t-press),box-shadow var(--t-press)}button:active{transform:scale(.96)}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.card{background:var(--card);border-radius:18px;box-shadow:var(--shadow)}.label{display:block;font-size:12px;font-weight:800;color:var(--muted);line-height:1.1}.hud{position:fixed;top:0;left:0;right:0;padding:calc(env(safe-area-inset-top) + 10px) max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));pointer-events:none;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.topbar{display:flex;gap:8px;align-items:stretch;pointer-events:auto;animation:card-in var(--t-enter) var(--ease-out) both}.timer-card{padding:7px 14px 8px;min-width:0;display:flex;flex-direction:column}.timer{font-size:26px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:-.5px;line-height:1}.leg{font-size:14px;font-weight:800;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60vw}.leg.warn{color:var(--accent-text)}.start-cue{position:absolute;top:calc(env(safe-area-inset-top,0px) + 84px);left:50%;transform:translate(-50%);font-size:64px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1;color:#fff;text-shadow:0 2px 10px rgba(10,37,64,.45);opacity:0;pointer-events:none}.start-cue.on{animation:cue-pop .9s var(--ease-out, ease-out) forwards}@keyframes cue-pop{0%{opacity:0;transform:translate(-50%) scale(1.35)}18%{opacity:.92;transform:translate(-50%) scale(1)}75%{opacity:.92}to{opacity:.35;transform:translate(-50%) scale(1)}}.timer-card.prestart .timer{display:none}.timer-card.prestart .leg{font-size:22px;font-weight:900;color:var(--ink);margin-top:0;line-height:1.1}.note{font-size:14px;font-weight:900;color:var(--accent-text);margin-top:3px;white-space:nowrap}.top-actions{display:flex;gap:6px;align-self:flex-start;flex:none}.overview-btn[aria-pressed=true]{background:var(--ink);color:#fff}.restart-btn{align-self:flex-start;height:36px;min-width:36px;flex:none;border-radius:999px;background:#ffffffb3;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:6px;padding:0 9px;font-size:14px;font-weight:900}.restart-btn svg{width:17px;height:17px;flex:none}.restart-confirm{display:none}.restart-btn.armed{background:var(--accent-strong);color:#fff;padding:0 12px 0 10px}.restart-btn.armed .restart-confirm{display:inline}.toast{background:var(--card);border-radius:14px;box-shadow:var(--shadow);padding:6px 12px 7px;pointer-events:none;opacity:0;transform:translateY(-4px) scale(.96);transform-origin:top left;transition:opacity var(--t-enter),transform var(--t-enter) var(--ease-out);max-width:calc(100vw - 24px)}.toast.on{opacity:1;transform:none}.toast b{display:block;font-size:17px;font-weight:900;line-height:1.2}.toast small{display:block;font-size:13px;font-weight:800;color:var(--muted)}.tip{pointer-events:auto;width:min(360px,calc(100vw - 24px));padding:12px 14px;display:flex;gap:10px;align-items:center;font-size:14px;font-weight:800;animation:card-in var(--t-enter) var(--ease-out) both}.tip p{flex:1;line-height:1.35}.tip-close{background:var(--chip);border-radius:12px;padding:8px 12px;font-weight:900;font-size:13px;min-height:36px}.controls{position:fixed;left:0;right:0;bottom:0;padding:0 max(14px,env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 14px) max(14px,env(safe-area-inset-left));display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}.ctl{pointer-events:auto;width:80px;height:80px;border-radius:26px;background:#ffffffe0;box-shadow:0 8px 22px #08284638;display:grid;place-items:center;touch-action:none;-webkit-user-select:none;user-select:none}.ctl svg{width:38px;height:38px}.ctl.down{transform:scale(.93);background:#fff}.ctl.ease{width:auto;min-width:112px;height:64px;padding:0 22px;border-radius:22px;font-weight:900;font-size:18px;display:flex;gap:8px;align-items:center;justify-content:center;margin-bottom:8px}.ctl.ease svg{width:24px;height:24px}.ctl.ease.down{background:var(--accent-strong);color:#fff}.debug{position:fixed;right:max(8px,env(safe-area-inset-right));top:calc(env(safe-area-inset-top) + 8px);background:#10324cd1;color:#fff;font:700 11px/1.35 ui-monospace,Menlo,monospace;padding:6px 8px;border-radius:10px;pointer-events:none;white-space:pre}.overlay{position:fixed;inset:0;overscroll-behavior:contain;display:flex;align-items:flex-end;justify-content:center;padding:16px 14px calc(env(safe-area-inset-bottom) + 16px);background:linear-gradient(180deg,#10324c00 30%,#10324c59);animation:fade-in var(--t-enter) ease both}.sheet{width:100%;max-width:420px;background:var(--card);border-radius:28px;box-shadow:0 18px 50px #08284647;padding:20px 20px 18px;max-height:calc(100% - 20px);overflow:auto;touch-action:pan-y;user-select:text;animation:sheet-in .32s var(--ease-out) both}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.kicker{font-size:13px;font-weight:900;color:var(--accent-text);text-transform:uppercase;letter-spacing:.8px}h1{font-size:30px;font-weight:900;line-height:1.05;margin:6px 0 2px}.sheet-head h1{margin:0}#finish.dsq .delta{font-size:18px;color:var(--ink);margin:10px 0 14px}.sub{font-size:14px;color:var(--muted)}.lang{display:flex;background:var(--chip);border-radius:999px;padding:3px;flex:none}.lang button{font-weight:800;font-size:13px;color:var(--muted);border-radius:999px;padding:4px 10px;min-width:44px;min-height:32px}.lang button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 2px 8px #0828461f}.title-block{min-width:0}#home .title-block h1{white-space:nowrap}#home .head-tools{gap:4px}#home .head-tools .icon-btn,#home .head-tools .haptic-btn{width:34px;height:34px}#home .head-tools .lang button{min-width:38px;padding:4px 8px}.title-block .date{margin-top:2px;font-size:13px;font-weight:700}#home h1{font-size:24px}.me-block{margin:14px 0 12px;padding:12px 14px;border-radius:20px;background:var(--soft)}.hello{font-size:19px;font-weight:900;line-height:1.2;overflow-wrap:anywhere}.me-block .best-line{text-align:left;margin:4px 0 0}.race-card .title-block h1{font-size:18px;white-space:nowrap}.race-card .title-block .date{font-size:12px}.fc{margin:12px 0 10px;padding:6px;border-radius:20px;background:var(--soft)}.fc-table{width:100%;border-collapse:separate;border-spacing:3px 3px;table-layout:fixed;text-align:center;font-variant-numeric:tabular-nums}.fc-table th{font-size:11px;font-weight:800;color:var(--muted)}.fc-table tbody th{text-align:left;width:52px;padding-left:3px;line-height:1.05}.fc-table tbody th small{display:block;font-size:9.5px;font-weight:700;opacity:.75}.fc-time td{width:52px}.fc-dir td{height:34px;vertical-align:top}.fc-deg{display:block;margin-top:1px;font-size:11px;font-weight:800;color:var(--ink)}.fc-arrow{width:17px;height:17px;fill:var(--ink);display:block;margin:0 auto}.fc-kn{background:var(--fc-bg);border-radius:9px;height:30px;font-size:16px;font-weight:900;color:var(--ink)}.fc-gust .fc-kn{height:24px;font-size:13px;font-weight:800;border-radius:8px;background:color-mix(in srgb,var(--fc-bg) 55%,#fff)}.fc-curkn{background:var(--fc-bg);border-radius:8px;height:26px;font-size:13px;font-weight:800;color:var(--current-text);white-space:nowrap}.fc-curarrow{width:11px;height:11px;fill:var(--current-text);display:inline-block;vertical-align:-1px;margin-right:1px}.best-line{text-align:center;font-size:13.5px;font-weight:700;color:var(--muted);margin-bottom:8px}.best-line b{color:var(--ink);font-weight:900;font-variant-numeric:tabular-nums}.go{width:100%;height:58px;border-radius:18px;background:var(--accent-strong);color:#fff;font-size:20px;font-weight:900;box-shadow:0 8px 20px #e2553a61;margin-top:4px}.go:hover{box-shadow:0 10px 26px #e2553a7a}.row{display:flex;gap:8px;margin-top:8px}.secondary{flex:1;min-height:48px;border-radius:15px;background:var(--chip);font-weight:800;font-size:15px;padding:0 12px}.practice-btn{display:block;width:100%;margin-top:8px}.next-line{margin:4px 0 0;font-size:13.5px;font-weight:700;color:var(--muted)}.practice-tag{display:inline-block;align-self:flex-start;padding:2px 9px;border-radius:999px;background:var(--chip);color:var(--ink);font-size:12px;font-weight:900;letter-spacing:.3px;line-height:1.5}.practice-tag[hidden]{display:none}.timer-card .practice-tag{margin-bottom:4px}.race-card .practice-tag{margin-top:4px}.kicker-row{display:flex;align-items:center;gap:8px}.card-note{margin:10px 2px 6px;font-size:14px;font-weight:800;color:var(--ink);text-align:center;line-height:1.35}.card-err{margin:0 2px 6px;font-size:13.5px;font-weight:800;color:var(--accent-text);text-align:center}.offline-note{font-size:12px;color:var(--muted);margin-top:6px;text-align:center;line-height:1.4}.board{margin-top:14px}.board h2{font-size:14px;font-weight:900;margin-bottom:6px;display:flex;justify-content:space-between}.board h2 span{color:var(--muted);font-weight:700}.board ol{list-style:none}.board li{display:flex;gap:10px;align-items:center;padding:6px 8px;border-radius:12px;font-weight:800;font-size:14px}.board li:nth-child(odd){background:var(--soft)}.board li.gap{margin-top:10px;position:relative}.board li.gap:before{content:"⋯";position:absolute;left:0;right:0;top:-15px;text-align:center;color:var(--muted);font-size:12px;line-height:1}.board li.me{background:#fff0eb;color:var(--accent-text)}.board .r{width:22px;color:var(--muted)}.board .n{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board .t{font-variant-numeric:tabular-nums}#hBoard{margin-top:12px}#hBoard li{padding:4px 8px;font-size:13.5px}.board .empty{font-size:13px;color:var(--muted);padding:4px 2px}.board .t.masked{display:inline-flex;align-items:center;gap:3px;color:#9fb6c6;font-weight:800}.board .t.masked svg{width:11px;height:11px}.rank-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.rank-head .count{font-size:12.5px;font-weight:700;color:var(--muted);white-space:nowrap}.rank-tabs{display:flex;background:var(--chip);border-radius:999px;padding:3px}.rank-tabs button{font-weight:800;font-size:13px;color:var(--muted);border-radius:999px;padding:4px 11px;min-height:30px}.rank-tabs button[aria-selected=true]{background:#fff;color:var(--ink);box-shadow:0 2px 8px #0828461f}.board .d{font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}.board .how{font-size:11.5px;font-weight:700;color:var(--muted);text-align:center;padding:6px 2px 0}.board li.click{padding:0}.board .row{display:flex;gap:10px;align-items:center;width:100%;padding:6px 8px;border-radius:12px;font:inherit;color:inherit;text-align:left;cursor:pointer}#hBoard li.click{padding:0}#hBoard .row{padding:4px 8px}.board .row:active{transform:scale(.99)}@media (hover: hover){.board .row:hover .n{text-decoration:underline;text-underline-offset:3px}}.rank-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 6px}.rank-nav .label{flex:1;text-align:center;font-size:13.5px;font-weight:900}.rank-nav .nav:disabled{opacity:.35;cursor:default}.see-all{display:block;margin:2px auto 0;min-height:34px;font-size:13.5px}.rank-sheet{z-index:3;background:#10324c66}.rank-sheet .sheet{background:#fff}.rank-sheet .board{margin-top:10px}.list-more{font-size:13px;font-weight:700;color:var(--muted);text-align:center;padding:8px 2px 2px}.list-more .link{min-height:32px;font-size:13px}.list-end{height:1px}.medals{margin:12px 0 14px}.medals table{width:100%;border-collapse:separate;border-spacing:0 4px}.medals caption{text-align:left}.medals th{font-size:12px;font-weight:800;color:var(--muted);text-align:center}.medals th[scope=row]{text-align:left;font-size:13px;color:var(--ink);padding-left:8px}.medals tbody tr{background:var(--soft)}.medals tbody th{border-radius:12px 0 0 12px}.medals tbody td:last-child{border-radius:0 12px 12px 0}.medals td.m{text-align:center;padding:6px 4px;white-space:nowrap}.medals .mi{display:inline-block;width:20px;height:20px;vertical-align:-5px;margin-right:4px}.medals .mi svg{width:100%;height:100%}.medals td b{font-size:16px;font-weight:900;font-variant-numeric:tabular-nums}.medals td.zero{opacity:.35;filter:grayscale(1)}.pr-races{margin-top:2px}.g-row{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.g-cap{font-size:12.5px;font-weight:800;color:var(--muted)}.g-btn{min-height:32px}.g-linked{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;font-weight:800;color:var(--muted)}.g-linked[hidden]{display:none}.g-logo{width:14px;height:14px;flex:none}.g-msg{font-size:12.5px;font-weight:800;color:var(--good-text);text-align:center;margin-top:6px}.g-msg:empty{display:none}.g-msg.err{color:var(--accent-text)}.auth-body{margin-top:14px}.auth-tabs{display:flex;background:var(--chip);border-radius:999px;padding:3px;margin-bottom:12px}.auth-tabs button{flex:1;min-height:40px;border-radius:999px;font-weight:800;font-size:15px;color:var(--muted)}.auth-tabs button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 2px 8px #0828461f}.auth-h{font-size:20px;font-weight:900;margin-bottom:4px}.auth-intro{font-size:14px;font-weight:700;color:var(--muted);line-height:1.35;margin-bottom:12px}.auth-form .field{margin-bottom:10px}.auth-form label{display:block;font-size:13px;font-weight:800;color:var(--muted);margin-bottom:4px}.auth-form input{display:block;width:100%;min-height:48px;border-radius:14px;background:var(--soft);border:2px solid #d6e4ec;padding:0 14px;font-size:16px;font-weight:800;color:var(--ink);user-select:text}.auth-form input:focus-visible{outline:none;border-color:var(--focus);background:#fff}.auth-form input[aria-invalid=true]{border-color:var(--accent)}.field-help{font-size:12px;font-weight:700;color:var(--muted);margin-top:3px}.field-err{font-size:12.5px;font-weight:800;color:var(--accent-text);margin-top:3px}.field-err:empty{display:none}.auth-msg{font-size:13.5px;font-weight:800;color:var(--good-text);line-height:1.35;margin:2px 0 10px}.auth-msg.err{color:var(--accent-text)}.auth-body>.auth-msg{margin-top:4px}.auth .go:disabled{opacity:.6;cursor:default}.auth-links{text-align:center;margin-top:10px}.link{font-size:14px;font-weight:800;color:var(--focus);text-decoration:underline;text-underline-offset:3px;min-height:40px;padding:0 8px}.auth-google{margin-top:6px}.auth-or{display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:800;color:var(--muted);margin:4px 0 10px}.auth-or:before,.auth-or:after{content:"";flex:1;border-top:1px solid #e3eef4}.auth-google .g-btn{display:flex;justify-content:center}.profile{z-index:4;background:#10324c66}.profile .sheet{background:#fff}.pr-email{margin-top:2px;font-size:13px;font-weight:700;overflow-wrap:anywhere}.pr-email[hidden]{display:none}.pr-account{margin-top:14px;padding-top:12px;border-top:1px solid #e3eef4}.pr-account .g-row{margin-bottom:8px}.pr-account .g-row[hidden]{display:none}.logout{width:100%;margin-top:6px}.profile .title-block .g-linked{justify-content:flex-start;margin-top:4px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 12px}.stat{background:var(--soft);border-radius:16px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}.stat span{font-size:12px;font-weight:800;color:var(--muted)}.stat b{font-size:22px;font-weight:900;font-variant-numeric:tabular-nums}.stat small{font-size:12px;font-weight:700;color:var(--muted);min-height:1.2em}.pr-h{font-size:14px;font-weight:900;margin-bottom:6px}.history{list-style:none}.history li{display:flex;align-items:baseline;gap:10px;padding:7px 8px;border-radius:12px;font-size:13.5px;font-weight:800}.history li:nth-child(odd){background:var(--soft)}.history .hd{width:92px;white-space:nowrap;flex:none;color:var(--muted)}.history .hp{flex:1;white-space:nowrap}.history .ht{color:var(--muted);font-variant-numeric:tabular-nums}.hcode{display:inline-block;padding:1px 7px;border-radius:999px;background:none;border:1px solid var(--muted);color:var(--muted);font-size:11px;font-weight:900;letter-spacing:.04em}.hist-legend{display:flex;flex-wrap:wrap;gap:4px 12px;padding:6px 2px 0;font-size:11.5px;font-weight:700;color:var(--muted)}.hist-legend[hidden]{display:none}.hlegend{display:inline-flex;align-items:center;gap:5px}.history .hpts{font-weight:900;font-variant-numeric:tabular-nums;min-width:52px;text-align:right}.profile .empty{font-size:13px;color:var(--muted);padding:4px 2px}.profile .empty[hidden]{display:none}.big-time{font-size:64px;font-weight:900;letter-spacing:-1px;font-variant-numeric:tabular-nums;line-height:1;margin:8px 0 4px;animation:pop .42s var(--ease-out) both}.delta{font-weight:900;font-size:15px;color:var(--muted)}.delta.good{color:var(--good-text)}.f-line{font-weight:900;font-size:15px;color:var(--muted);margin:2px 0 14px;min-height:1.3em}.f-line .delta:not(:empty)+.f-status:not(:empty):before{content:" · ";color:var(--muted)}.f-status{color:var(--muted)}.f-status.err{color:var(--accent-text)}.name-form{margin:0 0 12px;font-size:13px;color:var(--muted)}.name-row{display:flex;gap:8px;margin-top:4px}.name-row input{flex:1;min-width:0;min-height:44px;border-radius:12px;background:var(--soft);border:2px solid #d6e4ec;padding:0 12px;font-weight:800;color:var(--ink);user-select:text}.name-row .secondary{flex:none}.name-msg{min-height:1.2em;margin-top:4px}.name-msg:empty{min-height:0}.f-actions .with-icon{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;padding:0 8px;font-size:14.5px}.f-actions svg{width:19px;height:19px;flex:none}.f-actions .with-icon span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.f-actions .home-btn{flex:none;width:48px;padding:0;display:inline-grid;place-items:center}.f-actions .home-text{display:none}#finish .f-actions .home-btn.wide{flex:1;width:auto;display:inline-flex;align-items:center;justify-content:center;gap:7px}#finish .f-actions .home-btn.wide .home-text{display:inline}.stats-sheet .sheet-head h1{font-size:24px}.st-start{margin:14px 0 12px;background:var(--soft);border-radius:16px;padding:12px 14px;font-size:16px;font-weight:900;font-variant-numeric:tabular-nums}.st-legs{width:100%;border-collapse:collapse;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}.st-legs th,.st-legs td{padding:8px 6px;text-align:right;white-space:nowrap}.st-legs thead th{font-size:11.5px;font-weight:800;color:var(--muted);padding-top:0}.st-legs tbody th{text-align:left;font-weight:900;white-space:normal}.st-legs tbody tr:nth-child(odd){background:var(--soft)}.st-legs tbody tr th:first-child{border-radius:12px 0 0 12px}.st-legs tbody tr td:last-child{border-radius:0 12px 12px 0}.st-legs .st-cum{color:var(--muted)}.st-legs .better{color:var(--good-text)}.st-legs .worse{color:var(--accent-text)}.st-note{font-size:13px;color:var(--muted);margin-top:8px}.st-extra{list-style:none;margin-top:12px;display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:800}.st-extra li{border-radius:12px;padding:8px 12px}.st-extra .ok{background:var(--good-tint);color:var(--good-text)}.st-extra .warn{background:var(--warn-tint);color:var(--warn-text)}.pr-name-row{display:flex;align-items:center;gap:8px;min-width:0}.icon-btn.small{width:32px;height:32px}.icon-btn.small svg{width:16px;height:16px}.pr-name-form{margin-top:12px}.head-tools{display:flex;align-items:center;gap:6px;flex:none}.icon-btn{width:38px;height:38px;border-radius:999px;background:var(--chip);color:var(--ink);display:grid;place-items:center;flex:none}.icon-btn svg{width:20px;height:20px}.haptic-btn{width:38px;height:38px;border-radius:999px;background:var(--chip);color:#9fb6c6;display:grid;place-items:center}.haptic-btn svg{width:20px;height:20px}.haptic-btn[aria-pressed=true]{color:var(--good-text)}.date{margin-top:2px}.pause{align-items:center;background:#10324c73;z-index:5}.pause .sheet{text-align:center}.pause .go{margin-top:16px}.confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden}.confetti i{position:absolute;top:-12px;width:8px;height:12px;border-radius:2px;animation:confetti-fall 1.6s var(--ease-out) forwards}@keyframes card-in{0%{opacity:0;transform:translateY(12px)}}@keyframes sheet-in{0%{opacity:0;transform:translateY(28px)}}@keyframes fade-in{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:scale(.9)}}@keyframes confetti-fall{to{transform:translate(var(--dx),70vh) rotate(var(--rot));opacity:0}}@media (min-width: 720px){.overlay{align-items:center}}@media (max-width: 600px) and (orientation: portrait){.sheet{max-height:72dvh;padding:16px 18px}h1{font-size:26px}}@media (orientation: landscape) and (max-height: 520px){.timer{font-size:22px}.leg{font-size:13px}.ctl{width:68px;height:68px;border-radius:22px}.ctl.ease{height:54px;min-width:100px}.overlay{align-items:center;justify-content:flex-start;padding-left:max(16px,env(safe-area-inset-left));background:linear-gradient(90deg,#10324c47,#10324c00 60%)}.sheet{max-width:380px;max-height:calc(100dvh - 24px)}.sheet{padding:12px 16px}h1{font-size:22px;margin-top:2px}.sub{display:none}.fc{margin:8px 0;padding:8px 8px 6px}.fc-kn{height:24px;font-size:14px}.fc-gust .fc-kn{height:20px}.fc-curkn{height:20px;font-size:12px}.go{height:50px}.tip{width:min(340px,45vw)}}@media (min-width: 960px){.overlay{justify-content:flex-start;padding-left:max(48px,6vw);background:linear-gradient(90deg,#10324c47,#10324c00 55%)}}.country-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;border-radius:14px;background:var(--soft);border:2px solid #d6e4ec;padding:0 12px 0 14px;font-size:16px;font-weight:800;color:var(--ink);text-align:left}.country-btn:focus-visible{outline:none;border-color:var(--focus);background:#fff}.country-btn[aria-invalid=true]{border-color:var(--accent)}.country-btn:disabled{opacity:.6}.cp-flag{font-size:22px;line-height:1;flex:none}.cp-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-placeholder{color:var(--muted)}.cp-chev svg{width:18px;height:18px;display:block;color:var(--muted)}.country-pop{position:fixed;inset:0;z-index:10;display:flex;align-items:flex-end;justify-content:center;background:#10324c73;animation:fade-in var(--t-enter) ease both}.country-sheet{width:100%;max-width:420px;height:min(78vh,600px);display:flex;flex-direction:column;background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -10px 40px #08284640;padding:16px 14px calc(env(safe-area-inset-bottom) + 8px);animation:sheet-in .28s var(--ease-out) both}.country-sheet:focus{outline:none}.cp-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.cp-head h2{font-size:20px;font-weight:900}.cp-search{width:100%;min-height:46px;border-radius:14px;background:var(--soft);border:2px solid #d6e4ec;padding:0 14px;font-size:16px;font-weight:800;color:var(--ink);user-select:text}.cp-search:focus-visible{outline:none;border-color:var(--focus);background:#fff}.cp-list{position:relative;list-style:none;flex:1;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;margin-top:8px}.cp-opt{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 10px;border-radius:12px;font-size:16px;font-weight:800;cursor:pointer}.cp-opt.active{background:var(--chip)}.cp-opt.picked{color:var(--current-text)}.cp-code{font-size:12px;font-weight:800;color:var(--muted)}.cp-check{width:18px;flex:none}.cp-check svg{width:18px;height:18px;display:block}.cp-none{padding:18px 8px;text-align:center;font-weight:800;color:var(--muted)}.cp-none[hidden]{display:none}@media (min-width: 600px){.country-pop{align-items:center}.country-sheet{border-radius:24px;height:min(70vh,560px)}}.rank-scope{display:flex;width:fit-content;margin:0 auto 6px;background:var(--chip);border-radius:999px;padding:3px}.rank-scope button{display:inline-flex;align-items:center;gap:5px;font-weight:800;font-size:13px;color:var(--muted);border-radius:999px;padding:4px 12px;min-height:30px}.rank-scope button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 2px 8px #0828461f}.fl{font-size:15px;line-height:1;flex:none}.board li .fl{width:20px;text-align:center}.board li .fl{margin-right:-4px}.pr-flag{font-size:26px;line-height:1;flex:none}.pr-flag[hidden]{display:none}.pr-country{margin-bottom:10px}.pr-country[hidden]{display:none}.pr-country .g-cap{display:block;margin-bottom:4px}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:1ms!important;animation-delay:0ms!important;transition-duration:1ms!important}.confetti{display:none}}.hud,.controls{transition:opacity var(--t-enter) var(--ease-out)}body.flying .hud,body.flying .controls{visibility:hidden;opacity:0}.skip-hint{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 28px);transform:translate(-50%);padding:8px 16px 9px;border-radius:999px;background:#ffffffe0;box-shadow:var(--shadow);color:var(--ink);font-size:13.5px;font-weight:800;white-space:nowrap;pointer-events:none;animation:skip-in .5s .6s both var(--ease-out)}.skip-hint[hidden]{display:none}@keyframes skip-in{0%{opacity:0;transform:translate(-50%,6px)}}.pw-wrap{position:relative}.auth-form .pw-wrap input{width:100%;padding-right:52px}.pw-eye{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:12px;background:transparent;color:var(--ink-soft, #4a6478);cursor:pointer}.pw-eye:focus-visible{outline:2px solid var(--accent, #e4563a)}.pw-eye svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
