/* Generous riding pads, kept clear of instruments and rider actions. */
.sc-hud [hidden],.hill-hud [hidden],.ride-input-dialog [hidden]{display:none!important}
.snowcross .sc-controls,.hill-game .hill-touch{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));align-items:flex-end;pointer-events:none}
.sc-controls>*,.hill-touch>*{pointer-events:auto}
.snowcross .sc-steer,.hill-game .hill-touch>div:first-child{gap:8px}
.snowcross .sc-steer button,.hill-game .hill-touch button[data-hill-control=left],.hill-game .hill-touch button[data-hill-control=right]{width:94px;height:94px;border-radius:23px;font:600 58px/1 system-ui;padding:0;border:1px solid #afd6e9;border-bottom:5px solid #426985;background:linear-gradient(145deg,#355b72ee,#10293deb);box-shadow:inset 0 2px 0 #ecf9ff40,0 6px 16px #00152660;touch-action:none;user-select:none;-webkit-touch-callout:none}
.snowcross .sc-pedals button,.hill-game .hill-touch button[data-hill-control=brake],.hill-game .hill-touch button[data-hill-control=throttle]{height:88px;border-radius:21px;font:850 12px system-ui;touch-action:none;user-select:none;-webkit-touch-callout:none}
.hill-game .hill-touch .hill-weight-controls{position:absolute;left:50%;transform:translateX(-50%);bottom:100px;gap:8px}
.hill-game .hill-touch .hill-weight-controls button{width:72px;height:54px;border-radius:14px;font-size:10px}
.hill-game .hill-balance{bottom:178px}.hill-game .boost-stages{bottom:218px}
.snowcross .rider-action-controls{bottom:116px}
.ride-input-open{min-width:44px;min-height:48px;padding:10px 14px;border:1px solid #80bdd0!important;border-radius:12px!important;background:linear-gradient(145deg,#26465a,#122637)!important;color:#e6f6ff!important;font:800 11px system-ui!important;letter-spacing:.5px!important;pointer-events:auto;touch-action:manipulation}
.lobby-driving-options>.ride-input-open{width:100%;margin:12px 0}.hm-config>.ride-input-open{width:100%;margin-top:15px}
.ride-input-hud{position:absolute;top:144px;right:24px;height:44px;min-height:44px;font-size:10px!important}
.snowcross .ride-input-hud{top:136px}.hill-game .ride-input-hud{top:211px}
.ride-stick{position:relative;width:154px!important;height:154px;display:block!important;border:1px solid #89bacf;border-radius:50%;background:repeating-radial-gradient(circle,#123048dd 0 22px,#6093a755 23px 24px,#123048dd 25px 26px);box-shadow:inset 0 2px 2px #d7f4ff40,0 5px 25px #00142660;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;pointer-events:auto;color:#d9f5ff;font:850 9px system-ui;letter-spacing:.6px;text-align:center;overflow:hidden}
.ride-stick::before,.ride-stick::after{content:'';position:absolute;left:15%;right:15%;height:1px;background:#82cfe449;top:50%}.ride-stick::after{transform:rotate(90deg)}
.ride-stick-cap{position:absolute;left:calc(50% - 24px);top:calc(50% - 24px);width:48px;height:48px;border:2px solid #c1efff;border-radius:50%;background:radial-gradient(circle at 35% 25%,#6c9db6,#244459 65%,#0b2232);box-shadow:0 4px 12px #001827,inset 0 1px 3px #fff8;transform:translate(var(--stick-x,0px),var(--stick-y,0px));pointer-events:none}
.ride-stick.engaged{border-color:#b9ffcf;box-shadow:0 0 22px #68d5ab30,inset 0 0 24px #78ffae12}.ride-stick.engaged .ride-stick-cap{border-color:#b9ffcf}
.ride-stick-up{position:absolute;top:10px;left:0;right:0;color:#baf0c8}.ride-stick-down{position:absolute;bottom:9px;left:0;right:0;color:#ffd6ad}.ride-stick-axis{position:absolute;top:calc(50% - 6px);left:0;right:0;opacity:.6;font-size:8px}
.ride-tilt-badge{display:block!important;border:1px solid #69bed182;border-radius:12px;padding:12px;align-self:flex-end;background:#0c293be6;color:#c4f5ff;font:800 10px system-ui;max-width:148px}
.ride-input-dialog{color:#e9f6ff;background:radial-gradient(ellipse at 10% 0,#244259,#091827 65%);border:1px solid #81afc3;border-radius:24px;padding:24px;width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;box-shadow:0 24px 90px #0009;z-index:100;font-family:system-ui;overscroll-behavior:contain}
.ride-input-dialog::backdrop{background:#02101cd1;backdrop-filter:blur(8px)}
.ride-input-dialog header{display:flex;align-items:center;gap:12px;justify-content:space-between}.ride-input-dialog header small{font:800 9px system-ui;letter-spacing:1px;color:#85c6de}.ride-input-dialog h2{font:900 27px/1.1 system-ui;letter-spacing:-1px;margin:9px 0 18px}.ride-input-dialog button{min-height:48px;min-width:44px;touch-action:manipulation;color:#eaf8ff;border:1px solid #5e859b;background:#152d40;border-radius:12px;font:800 12px system-ui;padding:12px;cursor:pointer}.ride-input-dialog .ride-input-close{width:48px;height:48px;flex-shrink:0;font-size:25px;margin-bottom:18px}
.ride-input-modes{display:grid;gap:9px}.ride-input-modes button{text-align:left;display:flex;gap:12px;align-items:center;min-height:66px}.ride-input-modes b{width:100px;flex-shrink:0;font-size:12px}.ride-input-modes span{font-size:12px;font-weight:500;line-height:1.4;color:#b7d0df}.ride-input-modes [aria-pressed=true]{border-color:#b7f5ce;background:linear-gradient(110deg,#315645,#16383c);box-shadow:inset 4px 0 #b7f5ce}
.ride-input-help,#rideSensorStatus{font-size:13px;line-height:1.6;color:#c3dbe8}.ride-tilt-settings{padding:16px;background:#112c3c;border:1px solid #365d71;border-radius:14px;margin:16px 0}.ride-tilt-settings label{font:800 11px system-ui;letter-spacing:.5px;display:block}.ride-tilt-settings output{float:right;color:#bdf6ce}.ride-tilt-settings input[type=range]{display:block;width:100%;min-height:44px;margin:8px 0;accent-color:#b1efc9}.ride-tilt-settings .ride-invert{display:flex;align-items:center;gap:10px;font-size:13px;min-height:48px;font-weight:500}.ride-invert input{width:44px;height:44px;accent-color:#9eebbf;margin:0}.ride-tilt-settings button{width:100%;margin-top:8px}.ride-input-dialog .ride-input-done{width:100%;color:#112f29;background:linear-gradient(115deg,#cefa9a,#8cdab7);border-color:#cdffd8}.ride-tilt-meter{height:16px;border-radius:12px;background:#0a1b29;position:relative;overflow:hidden}.ride-tilt-meter::before{content:'';position:absolute;width:1px;height:100%;left:50%;background:#cde5ef}.ride-tilt-meter i{display:block;position:absolute;left:calc(50% - 6px);width:12px;height:12px;top:2px;border-radius:50%;background:#b3f4ce}
@media(max-width:700px){
 .snowcross .sc-steer button,.hill-game .hill-touch button[data-hill-control=left],.hill-game .hill-touch button[data-hill-control=right]{width:78px;height:84px;font-size:50px;border-radius:21px}
 .snowcross .sc-steer,.hill-game .hill-touch>div:first-child{gap:6px}
 .snowcross .sc-pedals{gap:6px}.snowcross .sc-pedals button{width:62px;height:84px;font-size:10px}.snowcross .sc-pedals .sc-throttle{width:84px}
 .hill-game .hill-touch>div{gap:6px}.hill-game .hill-touch button[data-hill-control=brake]{width:62px;height:84px;font-size:10px}.hill-game .hill-touch button[data-hill-control=throttle]{width:78px;height:84px;font-size:13px}
 .hill-game .hill-touch .hill-weight-controls{bottom:98px}.hill-game .hill-touch .hill-weight-controls button{width:64px;height:52px;font-size:9px}.hill-game .hill-balance{bottom:174px}.hill-game .boost-stages{bottom:208px}
 .snowcross .rider-action-controls{bottom:108px}.snowcross .rider-action-controls button{height:56px;width:72px}
 .snowcross .ride-input-hud{top:213px;right:12px}.hill-game .ride-input-hud{top:137px;right:12px}
 .ride-stick{width:142px!important;height:142px}.ride-input-dialog{padding:18px}.ride-input-dialog h2{font-size:23px}
 .snowcross.showtime #scGauges .br-round-gauge--afr{bottom:174px}.snowcross.showtime #scGauges .br-round-gauge--boost{bottom:288px}
}
@media(max-width:360px){.snowcross .sc-steer button,.hill-game .hill-touch button[data-hill-control=left],.hill-game .hill-touch button[data-hill-control=right]{width:66px}.snowcross .sc-pedals button,.hill-game .hill-touch button[data-hill-control=brake]{width:56px}.snowcross .sc-pedals .sc-throttle,.hill-game .hill-touch button[data-hill-control=throttle]{width:72px}.ride-stick{width:132px!important;height:132px}.ride-input-modes b{width:88px;font-size:11px}}
@media(orientation:landscape) and (max-height:600px){
 .snowcross .sc-steer button,.hill-game .hill-touch button[data-hill-control=left],.hill-game .hill-touch button[data-hill-control=right]{width:86px;height:76px}.snowcross .sc-pedals button,.hill-game .hill-touch button[data-hill-control=brake],.hill-game .hill-touch button[data-hill-control=throttle]{height:76px}
 .ride-stick{width:126px!important;height:126px}.snowcross .ride-input-hud{top:118px;right:12px}.hill-game .ride-input-hud{top:127px;right:12px}.hill-game .hill-touch .hill-weight-controls{bottom:0}.hill-game .hill-balance{bottom:82px}.hill-game .boost-stages{bottom:110px}.snowcross .rider-action-controls{bottom:100px}
}
.hill-game .hill-hud[data-input-mode=stick] .hill-touch .hill-weight-controls{left:auto;right:0;transform:none}
.hill-game .hill-hud[data-input-mode=stick] #hillInstruments .br-round-gauge--tach{bottom:166px}
.hill-game .hill-hud[data-input-mode=stick] #hillInstruments .br-round-gauge--speed{bottom:280px}
.hill-game .hill-hud[data-input-mode=stick] #hillInstruments .br-round-gauge--afr{bottom:186px}
.hill-game .hill-hud[data-input-mode=stick] #hillInstruments .br-round-gauge--boost{bottom:292px}
.hill-game .hill-hud[data-input-mode=stick] .hill-belt{bottom:164px}
.snowcross .sc-hud[data-input-mode=stick] #scGauges .br-round-gauges{bottom:170px}
.snowcross.showtime #scGauges .br-round-gauges,.snowcross.showtime .sc-hud[data-input-mode=stick] #scGauges .br-round-gauges{bottom:182px}
@media(orientation:landscape) and (max-height:600px){.hill-game .hill-hud[data-input-mode=stick] .hill-touch .hill-weight-controls{left:50%;right:auto;transform:translateX(-50%)}.hill-game .hill-hud[data-input-mode=stick] #hillInstruments .br-round-gauge--tach{bottom:146px}.hill-game .hill-hud[data-input-mode=stick] #hillInstruments .br-round-gauge--speed{bottom:246px}.hill-game .hill-hud[data-input-mode=stick] #hillInstruments .br-round-gauge--afr{bottom:146px}.hill-game .hill-hud[data-input-mode=stick] #hillInstruments .br-round-gauge--boost{bottom:246px}.hill-game .hill-hud[data-input-mode=stick] .hill-belt{bottom:auto}.snowcross .sc-hud[data-input-mode=stick] #scGauges .br-round-gauges{bottom:45px}}
@media(prefers-reduced-motion:reduce){.ride-input-dialog,.ride-stick-cap{animation:none;transition:none}}
@media(orientation:landscape) and (max-height:600px){.snowcross.showtime #scGauges .br-round-gauges,.snowcross.showtime .sc-hud[data-input-mode=stick] #scGauges .br-round-gauges{bottom:45px}}
.rival-grid-note{grid-column:1/-1;margin:0;padding:12px 14px;border:1px solid #7bddff33;border-radius:9px;background:#79d9ff0a;color:#b4ccd7;font:500 12px/1.6 system-ui;overflow-wrap:anywhere}
.ride-response-settings{margin:18px 0;padding:16px;border:1px solid #6eaccb55;border-radius:16px;background:linear-gradient(145deg,#1a354b,#0d2132)}
.ride-response-settings h3{font:850 14px system-ui;letter-spacing:.7px;margin:0}.ride-response-settings header{margin-bottom:12px}.ride-response-settings #rideResetResponse{font-size:10px;padding:8px 12px}
.ride-response-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:20px}.ride-response-presets button{padding:8px 4px;font-size:10px}.ride-response-presets [aria-pressed=true]{border-color:#c3f59c;background:#28453d;color:#d7ffb7}
.ride-response-settings label{display:flex;flex-wrap:wrap;gap:4px;justify-content:space-between;font:800 10px system-ui;letter-spacing:.5px}.ride-response-settings output{color:#c9f6a9;font-variant-numeric:tabular-nums}
.ride-response-settings input[type=range]{width:100%;display:block;min-height:44px;margin:3px 0;accent-color:#b9ee8c;touch-action:pan-y}.ride-response-settings p{margin:0 0 18px;font:400 12px/1.6 system-ui;color:#bcd0df}
.ride-response-graph{margin:0;border-top:1px solid #52738a55;padding-top:10px}.ride-response-graph svg{display:block;width:100%;height:115px}.ride-response-graph path{fill:none;stroke-width:2}.ride-response-grid{stroke:#50708455;stroke-width:1!important}.ride-response-reference{stroke:#69899c88;stroke-dasharray:4 4}#rideResponsePath{stroke:#c5f996;stroke-width:3}.ride-response-graph text{fill:#a4c1d3;font:700 8px system-ui}.ride-response-graph figcaption{font:700 11px/1.6 system-ui;color:#ceeab5;text-align:center;font-variant-numeric:tabular-nums}
/* Twin sticks have fixed roles in either screen orientation. Each thumb owns
   its pad; the separate action buttons remain an accessible alternative. */
.ride-dual-settings{margin:16px 0;padding:16px;border:1px solid #89c9b355;border-radius:16px;background:#173f372f;font:700 12px system-ui}
.ride-dual-settings p{font:400 12px/1.6 system-ui;color:#bed5df}.ride-dual-settings label{display:flex;gap:10px;align-items:center;min-height:48px}.ride-dual-settings input{width:44px;height:44px;margin:0;accent-color:#b4f5c5}
.ride-stick-bars{border-color:#84c9ed}.ride-stick-power{border-color:#bcdfa0;background:repeating-radial-gradient(circle,#233c34ed 0 22px,#789b6455 23px 24px,#233c34ed 25px 26px)}
.ride-stick-bars .ride-stick-up,.ride-stick-power .ride-stick-up{top:12px;font-size:8px}.ride-stick-bars .ride-stick-down,.ride-stick-power .ride-stick-down{bottom:24px;font-size:8px}.ride-stick-gesture{position:absolute;bottom:7px;left:0;right:0;font:800 7px system-ui;color:#d7ffc1;letter-spacing:.4px;pointer-events:none}
.ride-stick-bars .ride-stick-axis,.ride-stick-power .ride-stick-axis{top:30px;font-size:7px;opacity:.95;color:#d0edf1}
.ride-stick.action-flash{box-shadow:0 0 26px #caff9366,inset 0 0 22px #bafa8744}.ride-stick[data-action-result=unavailable].action-flash{border-color:#ffd3a9;box-shadow:0 0 20px #ffa96944}
.hill-hud[data-input-mode=dual] .hill-weight-controls{display:none!important}
.sc-hud[data-input-mode=dual] .rider-action-controls{bottom:174px}
.sc-hud[data-input-mode=dual] #scGauges .br-round-gauges{bottom:246px}
.snowcross .sc-hud[data-input-mode=dual] .sc-belt{left:12px;bottom:174px;transform:none;max-width:148px;flex-wrap:wrap;gap:4px;font-size:8px;padding:5px 7px;box-sizing:border-box}.snowcross .sc-hud[data-input-mode=dual] .sc-belt>i{width:36px}
.hill-hud[data-input-mode=dual] #hillInstruments .br-round-gauge--tach,.hill-hud[data-input-mode=dual] #hillInstruments .br-round-gauge--afr{bottom:176px}
.hill-hud[data-input-mode=dual] #hillInstruments .br-round-gauge--speed,.hill-hud[data-input-mode=dual] #hillInstruments .br-round-gauge--boost{bottom:286px}
.hill-hud[data-input-mode=dual] .hill-belt{bottom:166px}.hill-hud[data-input-mode=dual] .hill-balance{bottom:210px}.hill-hud[data-input-mode=dual] .boost-stages{bottom:246px}
@media(max-width:700px){.sc-hud[data-input-mode=dual] .rider-action-controls{bottom:158px}.sc-hud[data-input-mode=dual] #scGauges .br-round-gauges{bottom:226px}.snowcross .sc-hud[data-input-mode=dual] .sc-belt{bottom:158px}}
@media(orientation:landscape) and (max-height:600px){
 .sc-hud[data-input-mode=dual] .rider-action-controls{bottom:148px}
 .sc-hud[data-input-mode=dual] #scGauges .br-round-gauges{bottom:45px}
 .snowcross .sc-hud[data-input-mode=dual] .sc-belt{left:50%;bottom:10px;transform:translateX(-50%);max-width:none;flex-wrap:nowrap}
 .hill-hud[data-input-mode=dual] #hillInstruments .br-round-gauge--tach,.hill-hud[data-input-mode=dual] #hillInstruments .br-round-gauge--afr{bottom:146px}
 .hill-hud[data-input-mode=dual] #hillInstruments .br-round-gauge--speed,.hill-hud[data-input-mode=dual] #hillInstruments .br-round-gauge--boost{bottom:246px}
 .hill-hud[data-input-mode=dual] .hill-balance{bottom:136px}.hill-hud[data-input-mode=dual] .boost-stages{bottom:182px}.hill-hud[data-input-mode=dual] .hill-belt{bottom:auto}
}
