.htp-overlay{z-index:1000;color:#22202b;background:#1410238c;justify-content:center;align-items:center;font-family:system-ui,sans-serif;display:flex;position:fixed;inset:0}.htp-panel{background:#fff;flex-direction:column;width:100%;max-width:440px;height:100%;display:flex}@media (width>=480px){.htp-panel{border-radius:20px;height:calc(100% - 32px);max-height:780px;overflow:hidden}}.htp-body{flex-direction:column;flex:1;gap:14px;padding:16px 16px 8px;display:flex;overflow-y:auto}.htp-title{letter-spacing:.4px;text-transform:uppercase;color:#7c7889;font-size:12px;font-weight:800}.htp-goal{margin:0;font-size:19px;font-weight:800;line-height:1.25}.htp-pic{background:#f4f2ee;border-radius:12px;justify-content:center;padding:10px 6px;display:flex}.htp-pic svg{max-width:100%;height:auto}.htp-sec{flex-direction:column;gap:8px;display:flex}.htp-sec h4{color:#1f6feb;margin:0;font-size:14px}.htp-sec p{color:#4a4658;margin:0;font-size:13.5px;line-height:1.4}.htp-steps,.htp-points{flex-direction:column;gap:9px;margin:0;padding:0;font-size:14px;line-height:1.3;list-style:none;display:flex}.htp-steps{counter-reset:step}.htp-steps li{counter-increment:step;grid-template-columns:22px 1fr;align-items:center;column-gap:9px;display:grid}.htp-steps li:before{content:counter(step);color:#fff;background:#1f6feb;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;font-weight:800;display:flex}.htp-steps small,.htp-line small{color:#7c7889;font-size:12px;display:block}.htp-line{align-items:center;gap:10px;display:flex}.htp-tile{background:#eef3ff;border-radius:9px;flex:none;justify-content:center;align-items:center;width:38px;height:32px;display:flex}.htp-bar{padding:10px 16px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #e4e0d8;justify-content:space-between;align-items:center;display:flex}.htp-link{font:inherit;color:#1f6feb;cursor:pointer;background:0 0;border:none;padding:8px 0;font-size:15px;font-weight:700}.htp-go{font:inherit;color:#fff;cursor:pointer;background:#1f6feb;border:none;border-radius:12px;padding:11px 20px;font-size:15px;font-weight:800}:root{--bg:#14121f;--panel:#211d33;--panel-2:#2c2745;--text:#f4f1ff;--muted:#a49cc4;--accent:#ffb020;--accent-text:#1b1300;--good:#3ddc97;--bad:#ff5c7a;--radius:14px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{min-height:100dvh;margin:0}h1,h2,h3{margin:0 0 .5em;line-height:1.2}.page{flex-direction:column;min-height:100dvh;display:flex}main{flex:1;width:100%;max-width:640px;margin:0 auto;padding:16px}.tv main{max-width:1400px;font-size:clamp(16px,1.6vw,28px)}.header{background:var(--panel);align-items:center;gap:12px;padding:10px 16px;display:flex}.logo{color:var(--accent);margin-right:auto;font-size:1.4rem;font-weight:800;text-decoration:none}.language-switch button{border:1px solid var(--panel-2);color:var(--muted);font:inherit;cursor:pointer;background:0 0;padding:4px 8px;font-size:.8rem}.language-switch button:first-child{border-radius:8px 0 0 8px}.language-switch button:last-child{border-radius:0 8px 8px 0}.language-switch button.active{background:var(--panel-2);color:var(--text)}.muted{color:var(--muted)}.small{font-size:.85em}.centered{text-align:center;margin:24px auto}.error{color:var(--bad)}.card,.panel{background:var(--panel);border-radius:var(--radius);margin-bottom:16px;padding:16px}.card{flex-direction:column;gap:12px;display:flex}label{color:var(--muted);flex-direction:column;gap:6px;display:flex}input{font:inherit;border:2px solid var(--panel-2);background:var(--bg);color:var(--text);border-radius:10px;padding:12px;font-size:1.2rem}input:focus{border-color:var(--accent);outline:none}.code-input{text-transform:uppercase;letter-spacing:.3em;text-align:center;font-weight:700}.tagline{text-align:center;color:var(--muted);font-size:1.1rem}.btn{font:inherit;cursor:pointer;border:none;border-radius:12px;min-height:48px;padding:14px 18px;font-weight:700}.btn:disabled{opacity:.4;cursor:not-allowed}.btn-primary{background:var(--accent);color:var(--accent-text)}.btn-secondary{background:var(--panel-2);color:var(--text)}.link{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.actions{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:12px;display:flex}.banner{background:var(--panel-2);text-align:center;padding:10px 16px}.banner.warning{background:#6b4a00}.room-code{background:var(--panel);border-radius:var(--radius);align-items:center;gap:16px;margin-bottom:16px;padding:16px;display:flex}.qr{background:#fff;border-radius:8px;flex:none;width:120px;padding:4px;line-height:0}.room-code.large .qr{width:min(30vw,320px)}.code{letter-spacing:.15em;color:var(--accent);font-size:2.4rem;font-weight:800}.room-code.large .code{font-size:4em}.display-lobby{gap:24px;display:grid}@media (width>=900px){.display-lobby{grid-template-columns:auto 1fr;align-items:start}}.player-list,.game-list,.scoreboard{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.player-list li,.scoreboard li{background:var(--panel-2);border-radius:10px;align-items:center;gap:8px;padding:10px 12px;display:flex}.player-list li.offline{opacity:.5}.player-name{margin-right:auto;font-weight:700}.tag{background:var(--bg);color:var(--muted);border-radius:99px;padding:2px 8px;font-size:.75em}.tag.leader{color:var(--accent)}.game-list li{background:var(--panel-2);border-radius:12px;flex-direction:column;gap:10px;padding:12px;display:flex}.game-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings{flex-direction:column;gap:8px;display:flex}.settings .link{align-self:flex-start}.setting{justify-content:space-between;align-items:center;gap:10px;display:flex}.setting-label{color:var(--muted);font-size:.9em}.segmented{background:var(--bg);border-radius:10px;padding:3px;display:flex}.segmented button{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:8px;min-height:36px;padding:6px 12px;font-size:.9em}.segmented button.active{background:var(--accent);color:var(--accent-text);font-weight:700}.game-list li.unavailable{opacity:.6}.controller-lobby{flex-direction:column;gap:16px;display:flex}.how-to-play h3{margin-top:0}.how-to-play-buttons{flex-wrap:wrap;gap:8px;display:flex}.intro h1{color:var(--accent);font-size:2.5em}.results-layout{flex-direction:column;gap:16px;display:flex}.gained{color:var(--good);font-weight:700}.latency table{border-collapse:collapse;width:100%;margin-top:8px;font-size:.9em}.latency th,.latency td{text-align:left;border-bottom:1px solid var(--panel-2);padding:6px 4px}.latency summary{cursor:pointer;color:var(--muted);margin-top:12px}.tap-race{text-align:center;flex-direction:column;align-items:stretch;gap:16px;display:flex}.stage-title{font-size:1.6em}.stage-title.wait{color:var(--bad)}.stage-title.go{color:var(--good)}.big-number{color:var(--accent);font-size:2.5em;display:block}.my-score{font-size:1.3em;font-weight:700}.tap-button{font:inherit;background:var(--accent);min-height:45vh;color:var(--accent-text);touch-action:manipulation;-webkit-user-select:none;user-select:none;cursor:pointer;border:none;border-radius:24px;font-size:2.2rem;font-weight:900}.tap-button:active:not(:disabled){transform:scale(.98)}.tap-button:disabled{opacity:.35}.tap-button.wait{background:var(--bad);color:#fff}.tap-button.go{background:var(--good)}.standings{text-align:left;flex-direction:column;gap:8px;display:flex}.standing{grid-template-columns:minmax(80px,20%) 1fr auto auto;align-items:center;gap:10px;display:grid}.standing-name{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.bar{background:var(--panel-2);border-radius:99px;height:1.2em;overflow:hidden}.bar-fill{background:var(--accent);height:100%;transition:width .15s linear;display:block}.standing-value{text-align:right;min-width:2.5ch;font-weight:700}.standing-reaction{color:var(--muted);min-width:8ch}.winners{color:var(--accent);text-align:center;font-size:1.2em;font-weight:700}.debug-overlay{color:#9f9;pointer-events:none;z-index:10;background:#000000bf;border-radius:6px;padding:6px 8px;font:12px/1.4 ui-monospace,monospace;position:fixed;bottom:8px;right:8px}
