@font-face{font-family:Outfit Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/outfit-latin-ext-wght-normal-DdQaqQDo.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/outfit-latin-wght-normal-Bc-8i84L.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Outfit Variable,Outfit,Segoe UI,system-ui,sans-serif;color-scheme:dark;--green: #00ed79;--muted: #a8b3b9;--panel: #101417;color:#f4f6f8;background:#191919;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,.button{display:block;width:100%;min-height:52px;padding:12px 16px;border:1.5px solid #58636a;border-radius:12px;color:#f5f6f8;background:linear-gradient(120deg,#171d22,#111518);font-weight:620;text-align:center;text-decoration:none;cursor:pointer;touch-action:manipulation}a.button{align-content:center}button:hover:enabled,a.button:hover{border-color:#b1bdc3}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:4px}button:disabled{opacity:.42;cursor:default}.primary{color:#002713;border-color:var(--green);background:var(--green)}.primary:hover:enabled{background:#18fa8a;border-color:#18fa8a}.quiet,.back{background:transparent;border-color:transparent;color:#b6c1c7}.dashboard{margin:auto;max-width:560px;min-height:100svh;background:#000;padding:max(20px,env(safe-area-inset-top)) clamp(20px,5vw,30px) calc(84px + env(safe-area-inset-bottom))}header,.brand,.metrics,.split,.device,.demo-cadence{display:flex;align-items:center}header,.device,.demo-cadence{justify-content:space-between}.brand{gap:10px}.brand img{border-radius:9px}.brand span{color:#b5bfc4;font-size:11px;line-height:1.45;letter-spacing:1px;font-weight:650}.brand b{color:#f4f6f8}.ride-bar{position:fixed;left:50%;bottom:0;z-index:1;display:flex;width:min(100%,560px);transform:translate(-50%);padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #283035;background:#0b0f11}.ride-bar button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:62px;padding:8px 4px;border:0;border-radius:0;background:none;color:#c9d3d8;font-size:12px;font-weight:600}.ride-bar button:hover:enabled,.ride-bar button:active{background:#151b1f;color:#f4f6f8}.ride-bar button+button{margin-top:0;border-left:1px solid #1d2428}.instruments{margin:clamp(10px,2.5svh,24px) auto 14px;width:100%;max-width:440px}.gauge{width:min(100%,360px);margin:0 auto}.gauge svg{display:block;width:100%}.dial-track,.dial-fill{fill:none;stroke-width:4.5;stroke-linecap:round}.dial-track{stroke:#262c29}.dial-over{stroke:#0412ed;stroke-opacity:.5}.dial-fill{transition:stroke-dasharray .15s linear}.gauge text{text-anchor:middle;font-variant-numeric:tabular-nums}.dial-number{fill:#fff;font-weight:600;transition:font-size .15s ease-out}.dial-unit{fill:#afb8b2;font-size:7px}.dial-label{fill:#9ca69f;font-size:5.6px}.gauge.braked{width:100%}.brake path{fill:#151b1f;stroke:#58636a;stroke-width:1;cursor:pointer;touch-action:none;outline:none;-webkit-tap-highlight-color:transparent}.brake path:focus-visible{stroke:var(--green)}.gauge .brake text{fill:#f5f6f8;font-size:9.5px;font-weight:620;pointer-events:none;-webkit-user-select:none;user-select:none}.brake.down path{fill:#4a1616;stroke:#ff6b6b}.gauge .brake.down text{fill:#ffd7d7}.gauge+.steering-bar{margin-top:14px}.steering-bar{display:flex;align-items:center;gap:12px;width:min(78%,320px);margin:auto;color:#b6c0ba;font-size:11px;font-weight:650}.steering-rail{height:5px;flex:1;position:relative;border-radius:4px;background:#353c3a}.steering-fill,.steering-center,.steering-marker{position:absolute}.steering-fill{height:100%;border-radius:4px;background:var(--green)}.steering-center{left:50%;top:50%;width:2px;height:13px;background:#99a69e;transform:translate(-50%,-50%)}.steering-marker{top:50%;height:11px;width:7px;border-radius:4px;background:#f0fff4;transform:translate(-50%,-50%)}.metricValue{font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){.dial-number,.dial-fill{transition:none}}.metrics{border-top:1px solid #283035;border-bottom:1px solid #283035;padding:12px 0;margin:0 0 14px}.metric{flex:1;text-align:center}.metric+.metric{border-left:1px solid #283035}.metricValue{display:block;margin-top:4px;font-size:19px;font-weight:600;white-space:nowrap}.metricValue .unit{font-size:11px}.muted,.unit{color:var(--muted);font-size:12px}.controls button+button{margin-top:10px}.modes{display:flex;gap:8px}.controls .mode{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:76px;margin-top:0;padding:6px 4px;border-radius:16px;font-size:15px}.mode>svg{flex:none;width:34px;height:34px;color:#c9d3d8}.mode.chosen{border-color:var(--green);color:var(--green);background:#12201a}.mode.chosen>svg{color:var(--green)}.mode:active{background:#1d2a23}.controls .modes+button{margin-top:10px}.dashboard .pad-toggle{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:40px;margin:0;padding:6px;border:0;background:none;color:var(--muted);font-size:13px;font-weight:400}.pad-toggle .chevron{width:15px;height:15px}.pad-toggle[aria-expanded=true] .chevron{transform:rotate(180deg)}.pad{user-select:none;-webkit-user-select:none}.pad-top{display:flex;align-items:center;justify-content:space-between}.pad-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;margin-top:2px}.stick{position:relative;display:grid;place-items:center;width:88px;height:88px;border:2px solid #39444b;border-radius:50%;background:#0d1216;touch-action:none;-webkit-tap-highlight-color:transparent}.stick{flex:none}.stick.right{justify-self:end}.stick i{display:grid;place-items:center;width:42px;height:42px;border:2px solid #58636a;border-radius:50%;background:#1b2329;color:#c9d3d8;font-size:15px;font-style:normal;font-weight:700;pointer-events:none}.stick.down{border-color:var(--green)}.stick.down i{border-color:var(--green);color:var(--green)}.pad-menu{display:flex;align-items:center;gap:6px}.dashboard .pad-key{display:grid;place-items:center;width:44px;height:38px;min-height:0;padding:0;border-radius:12px;color:#c9d3d8;touch-action:none;-webkit-tap-highlight-color:transparent}.pad-key svg{width:20px;height:20px}.dashboard .pad-key.down,.dashboard .dpad-key.down{border-color:var(--green);color:var(--green);background:#12201a}.pad-dpad{display:flex;align-items:center;min-height:88px}.dpad{display:grid;grid-template:repeat(3,29px) / repeat(3,32px)}.dashboard .dpad-key{align-self:center;width:32px;height:29px;min-height:0;padding:0;border-radius:6px;color:#c9d3d8;font-size:12px;line-height:1;touch-action:none;-webkit-tap-highlight-color:transparent}.dpad-key.up{grid-area:1 / 2}.dpad-key.left{grid-area:2 / 1}.dpad-key.right{grid-area:2 / 3}.dpad-key.down-key{grid-area:3 / 2}.faces{flex:none;display:grid;grid-template:repeat(3,44px) / repeat(3,58px);width:max-content;padding:6px 0}.dashboard .face{align-self:center;width:56px;height:56px;min-height:0;padding:0;border-width:2px;border-radius:50%;background:#10151a;font-size:21px;font-weight:700;touch-action:none;-webkit-tap-highlight-color:transparent}.face.y{grid-area:1 / 2;--tone: #f2c53d}.face.x{grid-area:2 / 1;--tone: #4aa3ff}.face.b{grid-area:2 / 3;--tone: #ff5d5d}.face.a{grid-area:3 / 2;--tone: #5fd35f}.dashboard .face{color:var(--tone);border-color:color-mix(in srgb,var(--tone) 55%,#10151a)}.dashboard .face.down{color:#0b0f11;background:var(--tone);border-color:var(--tone)}.gauge{position:relative}.dashboard .target-button{position:absolute;left:50%;top:82%;display:flex;align-items:center;gap:3px;width:auto;min-height:34px;padding:4px 6px 4px 10px;transform:translate(-50%);border:0;background:none;color:#9ca69f;font-size:13px;font-weight:400;white-space:nowrap}.dashboard .target-button.on{color:var(--green)}.target-button .chevron{width:13px;height:13px;opacity:.7}.target-button.on .chevron{transform:rotate(180deg);color:var(--green)}.metrics.target-edit{gap:10px}.target-edit .stepper{flex:1}.dashboard .target-edit .quiet{width:auto;min-height:44px;padding:6px 10px}.demo-cadence{font-size:13px;color:var(--muted);padding:12px 0}.dashboard>.description,.dashboard>.notice{margin:10px 0 4px}.status-line{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}.status-line i{display:inline-block;flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#6e787d}.status-line i.connected{background:var(--green)}.sheet{--gutter: clamp(20px,5vw,30px);width:100%;max-width:560px;height:100dvh;max-height:100dvh;overflow:auto;margin:0 auto;padding:0 var(--gutter) calc(28px + env(safe-area-inset-bottom));border:0;border-radius:0;color:#f4f6f8;background:var(--panel)}.sheet-head{position:sticky;top:0;z-index:3;margin:0 calc(-1 * var(--gutter)) 8px;padding:max(14px,env(safe-area-inset-top)) var(--gutter) 12px;background:var(--panel)}.sheet-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.sheet-title h1{margin:0}.sheet-note{margin:2px 0 0}.sheet::backdrop{background:#000a;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}body:has(dialog[open]){overflow:hidden}.back{min-height:36px;width:auto;margin:-5px -7px -5px 0;padding:6px 8px;font-size:13px}h1{margin:5px 0 10px;font-size:clamp(26px,5vw,30px);letter-spacing:-.04em;line-height:1.17}h1:focus{outline:none}p,.description{font-size:14px;line-height:1.55;color:var(--muted)}.description{margin:0 0 22px}.sheet .button,.sheet .quiet,.sheet .install{margin-top:10px}.quiet{font-size:14px}.device{gap:16px;flex-wrap:wrap;padding:6px 0 14px}.device span{font-size:15px;font-weight:600}.device small{color:var(--muted);font-size:13px}.games{display:flex;gap:8px;margin-top:14px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:none}.games::-webkit-scrollbar{display:none}.game{flex:0 0 44%;min-height:48px;padding:10px 12px;scroll-snap-align:start;white-space:nowrap}.game.chosen{border-color:var(--green);color:var(--green)}.game:focus-visible{outline-offset:-3px}.part{margin-top:56px}.part>h2{margin:0 0 8px;font-size:19px;letter-spacing:-.02em;line-height:1.25}.part>.description{margin-bottom:14px}.part>h2+.device{margin-top:0}.device.connected span{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}.check-icon{flex:none;width:20px;height:20px}.sheet .part+.notice{margin:44px 0 0}.sheet .notice+.button{margin-top:10px}.watt-target{margin-top:20px}.part>.watt-target{margin-top:0}.watt-target>p{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 16px;margin:0 0 10px;font-size:13px}.watt-target>p b{flex:none;color:#f4f6f8;font-size:15px;font-weight:600}.watt-target>p.beside{flex-wrap:nowrap;text-align:right;text-wrap:balance;line-height:1.35}.stepper{display:flex;align-items:center;gap:10px}.stepper button{flex:0 0 60px;min-height:52px;padding:0;font-size:26px;line-height:1}.stepper output{flex:1;font-size:32px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.02em;text-align:center}.stepper output small{color:var(--muted);font-size:15px;font-weight:500;letter-spacing:0}.check{display:flex;align-items:center;gap:10px;min-height:44px;margin-top:8px;color:#d3dcdf;font-size:14px;cursor:pointer}.check input[type=checkbox]{flex:none;width:20px;height:20px;min-height:0;margin:0;accent-color:var(--green)}.watt-target>.check+p{margin-top:10px}.watt-target>.check+.stepper{margin-top:6px}.named-stepper{display:flex;align-items:center;gap:12px}.named-stepper+.named-stepper{margin-top:8px}.named-stepper>span{flex:0 0 68px;color:#d3dcdf;font-size:14px;font-weight:600}.named-stepper>.stepper{flex:1}.named-stepper .stepper button{flex-basis:52px}.named-stepper .stepper output{font-size:26px;line-height:1.1}.stepper-note{display:block;color:var(--muted);font-size:12px;font-weight:500;letter-spacing:0}.watt-target>.split{margin-top:2px}.sheet .watt-target .split .button{margin-top:0}.sheet>.watt-target{margin-top:12px}.sheet .part+.button{margin-top:44px}.part.locked>:not(.lock-note){opacity:.42}.lock-note{margin:0 0 12px;color:#d3dcdf;font-size:13px}.chevron{flex:none;width:18px;height:18px;color:var(--muted)}details[open]>summary>.chevron{transform:rotate(180deg)}.steer-list{border:1px solid #39444b;border-radius:14px;background:#0b0f11;overflow:hidden}.steer-list details{margin:0;padding:0;border-top:1px solid #283035}.steer-list>details:first-child{border-top:0}.steer-list summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 12px;list-style:none}.steer-list summary::-webkit-details-marker{display:none}.steer-list summary>svg:first-child{flex:none;width:30px;height:30px;color:#dfe7ea}.steer-list summary .chevron{width:16px;height:16px}.steer-list summary b{flex:1 0 auto;color:#f4f6f8;font-size:14px;font-weight:600;white-space:nowrap}.steer-list summary small{min-width:0;overflow:hidden;color:var(--muted);font-size:12px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.steer-list .ready>summary small{color:var(--green)}.steer-list .more>summary b{color:#d3dcdf}.steer-list .more>summary>svg:first-child{color:var(--muted)}.steer-body{padding:0 12px 12px 52px}.steer-body p{margin:0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.sheet .steer-body .button{min-height:40px;margin-top:0;padding:8px 6px;border-radius:10px;font-size:14px}.sheet .steer-body p+.button,.sheet .steer-body .pair-hint+.button{margin-top:10px}.pad-pairing{margin-top:10px}.pad-pairing p{margin:0 0 8px}.sheet .pad-pairing .button,.sheet .pad-pairing .quiet{margin-top:0}.sheet .pad-pairing .button+.button,.sheet .pad-pairing p+.quiet{margin-top:8px}.pair-hint{display:flex;align-items:center;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid #283035}.pair-hint svg{flex:none;width:44px;height:44px;color:#dfe7ea}.pair-hint b{color:#d3dcdf;font-weight:600}.sensor-help{font-size:13px}.notice{color:#fca}.warning{margin:0 0 14px;padding:14px 16px;border:1.5px solid #c98a4b;border-radius:12px;background:#2a1f14}.warning strong{display:block;color:#fca;font-size:15px}.warning p{margin:6px 0 0;color:#e8d6c6}.warning .button{margin-top:12px}.login{padding:12px;border:1px solid #39444b;border-radius:12px}.login strong{font:700 26px ui-monospace,monospace;letter-spacing:.08em}.split{gap:7px}.split>*{flex:1;min-width:0;padding-inline:7px}details{margin-top:16px;padding-top:8px}details p a{color:inherit}summary{cursor:pointer;min-height:44px;padding:12px 0;color:#d3dcdf;font-size:15px}label{display:block;color:var(--muted);font-size:13px}details label{margin-top:12px}.remote-help{margin:0 0 14px;padding:0 14px;border:1px solid #39444b;border-radius:12px;background:#0b0f11}.remote-help summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;list-style:none;font-weight:600}.remote-help summary::-webkit-details-marker{display:none}.remote-help ol{margin:0;padding:0 0 8px;list-style:none;counter-reset:step}.remote-help li{display:grid;grid-template-columns:26px 1fr;column-gap:12px;padding:9px 0;counter-increment:step}.remote-help li:before{content:counter(step);grid-row:span 2;display:grid;place-items:center;width:26px;height:26px;border:1.5px solid var(--green);border-radius:50%;color:var(--green);font-size:13px;font-weight:650}.remote-help li b{color:#f4f6f8;font-size:14px;font-weight:600;line-height:1.45}.remote-help li span{grid-column:2;color:var(--muted);font-size:13px;line-height:1.45}input:not([type=range]){display:block;width:100%;min-height:44px;margin:6px 0 0;border:1px solid #445058;border-radius:8px;background:#080d10;color:#fff;padding:8px 10px}input[type=range]{width:100%;height:24px;accent-color:var(--green);margin:0}video{width:100%;border-radius:10px}.joy-device,.binding{display:flex;align-items:center;gap:12px}.joy-device{min-height:46px;overflow-wrap:anywhere}.joy-device input[type=checkbox]{width:20px;height:20px;min-height:0;margin:0;accent-color:var(--green);flex-shrink:0}.binding{justify-content:space-between}.binding small{color:var(--muted);font-weight:400}.sheet select{display:block;width:100%;min-height:44px;margin:6px 0;padding:8px;border:1px solid #445058;border-radius:8px;color:inherit;background:#080d10;font:inherit}@media(max-width:560px){:root{background:#000}}@media(max-height:530px)and (orientation:landscape){.dashboard{max-width:760px;display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;align-content:start}header{grid-column:1/-1}.instruments{grid-row:span 2;margin:0}.metrics{margin:0}.ride-bar{width:min(100%,760px)}}.ride-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px 12px;border-block:1px solid #30383e;padding:16px 0;margin:16px 0}.ride-summary dt{color:var(--muted);font-size:13px}.ride-summary dd{margin:4px 0 0;font-size:21px;font-weight:600;font-variant-numeric:tabular-nums}.sheet:has(.ride-summary) button{margin-top:8px}.sheet:has(.ride-summary) h2{font-size:19px}.top-bars{position:sticky;top:0;z-index:2;margin-bottom:8px}.top-bars+header .brand img{width:32px;height:32px}.top-bars:empty{display:none}.top-bars .debug-bar{position:static;margin-bottom:6px}.xbox-bar{display:flex;align-items:center;gap:8px;min-height:32px;padding:2px 4px 2px 12px;border:1px solid #2c363b;border-radius:10px;background:#0f1417;color:#c3ced3;font-size:13px;font-weight:600}.xbox-bar i{flex:none;width:8px;height:8px;border-radius:50%;background:#6e787d}.xbox-bar span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xbox-bar.on{border-color:#1c4a33;background:#0d1a14;color:#bfe9d2}.xbox-bar.on i{background:var(--green)}.xbox-bar.busy{border-color:#5c4a12;background:#1a1608;color:#ffd98a}.xbox-bar.busy i{background:#ffc53d;animation:xbox-bar-pulse 1s ease-in-out infinite}.xbox-bar.lost{border-color:#6b2b22;background:#1f100d;color:#ffb9ab}.xbox-bar.lost i{background:#ff6b57}.dashboard .xbox-bar button{flex:none;width:auto;min-height:26px;margin:0;padding:2px 10px;border:1px solid currentColor;border-radius:8px;color:inherit;background:transparent;font-size:12px}@keyframes xbox-bar-pulse{50%{opacity:.25}}@media(prefers-reduced-motion:reduce){.xbox-bar.busy i{animation:none}}.sheet{--text: 15px;--heading: 24px;font-size:var(--text)}.sheet :where(*:not(.debug-bar,.debug-bar *)){font-size:var(--text)!important}.sheet :is(h1,h2),.sheet .stepper>:is(output,button),.sheet .login strong,.sheet .ride-summary dd{font-size:var(--heading)!important}.sheet .remote-help li:before{font-size:var(--text)!important}.debug-bar{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:6px;margin-bottom:14px;padding:6px 8px;border:1px dashed #b98a00;border-radius:12px;background:#1c1808;color:#ffd24a}.debug-bar b{font-size:10px;letter-spacing:.12em;text-transform:uppercase}.dashboard .debug-bar button,.dashboard .debug-bar select{width:auto;min-width:36px;min-height:36px;margin:0;padding:4px 8px;border:1px solid #6b5a1c;border-radius:8px;color:inherit;background:#0d0b03;font:inherit;font-size:14px}.dashboard .debug-bar select{flex:1;min-width:0}
