.touge{--tg-ink:#ece6d8;--tg-dim:#8f938d;--tg-line:#2b2f32;--tg-panel:rgba(9,11,13,.9);--tg-red:#e8262c;--tg-amber:#f5b83d;--tg-good:#5be08a;--tg-bad:#ff5a4f}.touge .tg-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px 20px;margin-bottom:14px}.touge .tg-kicker{color:var(--g-dim);font-size:11px;letter-spacing:.14em;text-transform:uppercase}.touge .tg-title{font-size:26px;font-weight:700;letter-spacing:.02em;color:var(--g-fg);line-height:1.1;margin-top:2px}.touge .tg-title span{color:var(--tg-red)}.touge .tg-roadline{color:var(--g-dim);font-size:12px}.touge .tg-roadline b{color:var(--g-fg);font-weight:400}.touge [hidden]{display:none!important}.touge .tg-stage{position:relative;overflow:hidden;border:1px solid var(--g-border);border-radius:6px;background:#080c0a;height:min(72vh,620px);min-height:420px;margin-bottom:30px;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--tg-ink)}.touge .tg-stage:-webkit-full-screen{height:100%;border-radius:0;border:0}.touge .tg-stage:fullscreen{height:100%;border-radius:0;border:0}.touge .tg-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.touge .tg-hud{position:absolute;inset:0;pointer-events:none;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.touge .tg-progress{position:absolute;left:0;right:0;top:0;height:4px;background:hsla(0,0%,100%,.07)}.touge .tg-progress i{position:absolute;top:-2px;width:8px;height:8px;border-radius:50%;margin-left:-4px}.touge .tg-progress .tg-me{background:var(--tg-ink)}.touge .tg-progress .tg-gh{opacity:.7}.touge .tg-progress .tg-cp{position:absolute;top:0;width:2px;height:4px;background:var(--tg-amber)}.touge .tg-timer{position:absolute;top:14px;left:50%;transform:translateX(-50%);text-align:center}.touge .tg-t{font-weight:700;font-size:clamp(28px,5vw,44px);letter-spacing:.02em;line-height:1;text-shadow:0 2px 12px rgba(0,0,0,.7)}.touge .tg-delta{font-size:14px;font-weight:700;margin-top:4px;min-height:20px;text-shadow:0 1px 6px #000}.touge .tg-delta.good{color:var(--tg-good)}.touge .tg-delta.bad{color:var(--tg-bad)}.touge .tg-coins{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:20px;color:var(--tg-amber);text-shadow:0 1px 6px #000}.touge .tg-coins small{font-size:11px;font-weight:400;color:var(--tg-dim)}.touge .tg-cn i,.touge .tg-coins i{width:12px;height:12px;border-radius:50%;background:var(--tg-amber);box-shadow:inset 0 0 0 2px #fff1c4;display:inline-block}.touge .tg-coins.pop{animation:tg-pop .25s ease-out}@keyframes tg-pop{0%{transform:scale(1.35)}to{transform:scale(1)}}.touge .tg-info{position:absolute;top:14px;left:14px;font-size:12px;line-height:1.6;color:var(--tg-dim);text-shadow:0 1px 4px #000;max-width:34%}.touge .tg-info b{color:var(--tg-ink);font-weight:400}.touge .tg-medals{display:flex;flex-direction:column;gap:1px;margin-top:6px}.touge .tg-medals span{display:flex;gap:8px;align-items:center}.touge .tg-medals span:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--c)}.touge .tg-medals .got{color:var(--tg-ink)}.touge .tg-cluster{position:absolute;right:14px;bottom:14px;text-align:right;text-shadow:0 1px 6px #000}.touge .tg-speed{font-weight:700;font-size:clamp(38px,6vw,60px);line-height:.9}.touge .tg-speed small{font-size:12px;font-weight:400;color:var(--tg-dim);margin-left:4px}.touge .tg-gearrow{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:6px;font-size:13px}.touge .tg-gear{font-weight:700;font-size:24px;width:22px;text-align:center}.touge .tg-vtec{font-weight:700;letter-spacing:.12em;font-size:13px;padding:1px 6px;border:1px solid var(--tg-line);color:#3b3a36;border-radius:2px}.touge .tg-vtec.on{color:#111;background:var(--tg-red);border-color:var(--tg-red);box-shadow:0 0 14px rgba(232,38,44,.7)}.touge .tg-tach{display:flex;gap:3px;justify-content:flex-end;margin-top:8px}.touge .tg-tach i{width:8px;height:13px;background:hsla(0,0%,100%,.08);transform:skewX(-14deg)}.touge .tg-tach i.on{background:var(--tg-ink)}.touge .tg-tach i.v.on{background:var(--tg-amber)}.touge .tg-tach i.r.on{background:var(--tg-red)}.touge .tg-count{position:absolute;inset:0;display:grid;place-items:center;font-weight:700;font-size:clamp(80px,16vw,150px);text-shadow:0 4px 30px rgba(0,0,0,.8)}.touge .tg-count.go,.touge .tg-toast{color:var(--tg-amber)}.touge .tg-toast{position:absolute;left:50%;top:38%;transform:translateX(-50%);font-weight:700;font-size:22px;letter-spacing:.06em;text-shadow:0 2px 16px #000;white-space:nowrap}.touge .tg-corner{position:absolute;top:12px;right:14px;display:flex;gap:8px;z-index:2}.touge .tg-corner button{background:rgba(0,0,0,.5);border:1px solid var(--tg-line);border-radius:4px;padding:6px 10px;font:inherit;font-size:12px;color:var(--tg-dim);cursor:pointer}.touge .tg-corner button:hover{color:var(--tg-ink);border-color:var(--tg-dim)}.touge .tg-stage.tg-is-touch.tg-state-count,.touge .tg-stage.tg-is-touch.tg-state-done,.touge .tg-stage.tg-is-touch.tg-state-run{position:fixed;inset:0;height:auto;min-height:0;margin:0;border:0;border-radius:0;z-index:1000}.touge .tg-is-touch .tg-timer{top:calc(52px + env(safe-area-inset-top, 0px))}.touge .tg-is-touch .tg-corner{top:calc(10px + env(safe-area-inset-top, 0px))}.touge .tg-touch{position:absolute;inset:0;display:none;z-index:1;touch-action:none;-webkit-touch-callout:none}.touge .tg-is-touch .tg-touch{display:block}.touge .tg-is-touch .tg-cluster{bottom:auto;top:calc(104px + env(safe-area-inset-top, 0px));right:12px}.touge .tg-is-touch .tg-speed{font-size:40px}.touge .tg-is-touch .tg-controls,.touge .tg-is-touch .tg-info{display:none}.touge .tg-zone{position:absolute;bottom:calc(18px + env(safe-area-inset-bottom, 0px));width:64px;height:64px;border-radius:50%;display:grid;place-items:center;color:hsla(42,34%,89%,.55);background:hsla(0,0%,100%,.06);border:1px solid hsla(0,0%,100%,.14);pointer-events:none}.touge .tg-zone svg{width:28px;height:28px}.touge .tg-zone-l{left:16px}.touge .tg-zone-r{right:16px}.touge .tg-zone.on{background:hsla(0,0%,100%,.24);color:var(--tg-ink)}.touge .tg-tbtns{position:absolute;left:50%;bottom:calc(14px + env(safe-area-inset-bottom, 0px));transform:translateX(-50%);display:flex;gap:10px}.touge .tg-tb{width:76px;height:64px;border-radius:14px;background:hsla(0,0%,100%,.1);border:1px solid hsla(0,0%,100%,.22);display:grid;place-items:center;font:inherit;font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--tg-ink);touch-action:none}.touge .tg-tb.on{background:hsla(0,0%,100%,.3)}.touge .tg-tb.tg-brake{background:rgba(232,38,44,.28);border-color:rgba(232,38,44,.65)}.touge .tg-tb.tg-brake.on{background:rgba(232,38,44,.55)}.touge .tg-state-done .tg-touch,.touge .tg-state-menu .tg-touch{display:none}.touge .tg-tip{position:absolute;left:50%;top:58%;transform:translateX(-50%);width:min(320px,calc(100% - 32px));z-index:2;pointer-events:none;background:rgba(9,11,13,.88);border:1px solid var(--tg-line);border-radius:6px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.45;color:var(--tg-dim);text-align:center}.touge .tg-tip b{color:var(--tg-ink);font-weight:700}.touge .tg-panel{position:absolute;left:14px;top:14px;bottom:14px;width:min(400px,calc(100% - 28px));overflow-y:auto;z-index:3;background:var(--tg-panel);border:1px solid var(--tg-line);border-radius:6px;padding:18px;box-sizing:border-box;display:flex;flex-direction:column;gap:16px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);-webkit-user-select:text;-moz-user-select:text;user-select:text}.touge .tg-panel.short{bottom:auto;max-height:calc(100% - 28px)}.touge .tg-label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--tg-dim);margin-bottom:6px}.touge .tg-driver{display:flex;gap:12px;align-items:center}.touge .tg-driver .tg-dname{color:var(--tg-ink);font-weight:700}.touge .tg-driver .tg-dsub{color:var(--tg-dim);font-size:12px}.touge .tg-linkbtn{background:none;border:0;padding:0;color:var(--g-accent);font:inherit;font-size:12px;cursor:pointer;text-decoration:underline}.touge .tg-note{color:var(--tg-dim);font-size:12px;line-height:1.5;margin:0}.touge .tg-note b{color:var(--tg-ink);font-weight:400}.touge .tg-err{color:var(--tg-bad);font-size:12px;margin:0}.touge .tg-col{display:flex;flex-direction:column;gap:8px}.touge .tg-row{display:flex;gap:6px;flex-wrap:wrap}.touge .tg-msg{font-size:11px;white-space:pre-wrap;word-break:break-all;background:rgba(0,0,0,.4)}.touge .tg-msg,.touge .tg-textarea{border:1px solid var(--tg-line);border-radius:4px;padding:8px;color:var(--tg-ink)}.touge .tg-textarea{width:100%;box-sizing:border-box;min-height:64px;background:rgba(0,0,0,.35);font:inherit;font-size:12px;resize:vertical}.touge .tg-ghosts{display:flex;flex-direction:column;gap:4px}.touge .tg-ghost{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--tg-ink)}.touge .tg-ghost i{width:10px;height:10px;border-radius:2px;opacity:.7}.touge .tg-ghost span:last-child{margin-left:auto;color:var(--tg-dim)}.touge .tg-drive{background:var(--tg-red);color:#fff;border:0;border-radius:4px;padding:13px 16px;font:inherit;font-weight:700;font-size:18px;letter-spacing:.1em;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.touge .tg-drive:hover{filter:brightness(1.1)}.touge .tg-drive kbd{font:inherit;font-size:11px;font-weight:400;opacity:.8;letter-spacing:0}.touge .tg-keys{display:grid;grid-template-columns:auto 1fr;grid-gap:3px 12px;gap:3px 12px;font-size:12px;color:var(--tg-dim)}.touge .tg-keys kbd{font:inherit;font-size:11px;color:var(--tg-ink);border:solid var(--tg-line);border-width:1px 1px 2px;border-radius:3px;padding:0 6px;justify-self:start;white-space:nowrap}.touge .tg-big{font-weight:700;font-size:48px;line-height:.95;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--tg-ink)}.touge .tg-chip{display:inline-flex;align-items:center;gap:8px;font-size:12px;text-transform:uppercase;letter-spacing:.1em;padding:3px 10px;border:1px solid var(--c,var(--tg-line));color:var(--c,var(--tg-dim));border-radius:3px}.touge .tg-chip:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c,var(--tg-line))}.touge .tg-cn{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:20px;color:var(--tg-amber);margin-right:4px;vertical-align:-2px}.touge .tg-splits{width:100%;border-collapse:collapse;font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.touge .tg-splits td{padding:4px 0;border-top:1px solid var(--tg-line)}.touge .tg-splits td:not(:first-child){text-align:right}.touge .good{color:var(--tg-good)}.touge .bad{color:var(--tg-bad)}.touge .tg-btnrow{display:grid;grid-template-columns:1.4fr 1fr;grid-gap:8px;gap:8px}.touge .tg-btn2{background:transparent;border:1px solid var(--tg-line);color:var(--tg-ink);border-radius:4px;padding:10px 12px;font:inherit;font-size:12px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.touge .tg-btn2:hover{border-color:var(--tg-dim)}.touge .tg-btn2 kbd{font:inherit;font-size:11px;color:var(--tg-dim)}.touge .tg-board td,.touge .tg-board th{white-space:nowrap}.touge .tg-board .me td{background:rgba(255,196,0,.06)}.touge .tg-car{display:flex;align-items:center;gap:8px}.touge .tg-swatch{width:10px;height:10px;border-radius:2px;flex:none}.touge .tg-build{color:var(--g-dim);font-size:12px}.touge .tg-race{background:none;border:1px solid var(--g-border);color:var(--g-dim);border-radius:3px;padding:2px 8px;font:inherit;font-size:11px;cursor:pointer}.touge .tg-race:hover{color:var(--g-accent);border-color:var(--g-accent)}.touge .tg-race[aria-pressed=true]{color:#111;background:var(--g-accent);border-color:var(--g-accent)}.touge .tg-howto{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:14px 24px;gap:14px 24px;font-size:13px;color:var(--g-dim);line-height:1.55}.touge .tg-howto b{color:var(--g-fg);font-weight:400;display:block;margin-bottom:2px}@media (max-width:560px){.touge .tg-stage{height:70vh;min-height:380px}.touge .tg-big{font-size:40px}}@media (prefers-reduced-motion:reduce){.touge .tg-coins.pop{animation:none}.touge .tg-vtec.on{box-shadow:none}}.touge .tg-ask{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;width:min(360px,calc(100% - 32px));display:flex;flex-direction:column;gap:8px;padding:16px;background:hsla(0,0%,4%,.92);border:1px solid #ff6a1a;border-radius:6px;font-size:13px;color:var(--tg-dim)}.touge .tg-ask b{color:var(--tg-ink);font-size:15px}.touge .tg-runsleft{align-self:center;background:rgba(0,0,0,.5);border:1px solid #ff6a1a;border-radius:4px;padding:6px 10px;font-size:12px;color:var(--tg-ink)}.touge .tg-prize{display:flex;flex-direction:column;gap:12px;margin-bottom:14px;padding:14px 16px;border:1px solid #ff6a1a;border-radius:6px;background:rgba(255,106,26,.08);font-size:13px;color:var(--tg-dim);line-height:1.55}.touge .tg-prize>div{display:flex;flex-direction:column;gap:8px}.touge .tg-prize b{color:var(--tg-ink)}.touge .tg-prize>div>b:first-child{font-size:15px}.touge .tg-prize-addr{font-size:12px;color:var(--tg-ink);word-break:break-all}