/* GP034: real on/off and fire controls, at native DOM resolution. */
#cruise-toggle,#cruise-toggle-desktop{cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;font-weight:800;line-height:1.2;border:2px solid #8cabc8;background:#102c4d;color:#edf5ff;box-shadow:0 3px 0 #020c19;white-space:nowrap}
#cruise-toggle[aria-pressed=true],#cruise-toggle-desktop[aria-pressed=true]{background:#1c594f;border-color:#a4e7cb;color:#f3fff9}
#cruise-toggle-desktop{min-height:44px;padding:8px 12px;border-radius:8px;font-size:11px;letter-spacing:.35px}
body.touch #cruise-toggle-desktop{display:none}
#cruise-toggle:disabled,#cruise-toggle-desktop:disabled{cursor:not-allowed;opacity:.7}
#item-slot,#pulse-button{touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer}
#pulse-button[data-ready=true]{border:2px solid #f6d17c;background:#183d5b;color:#ffe6a8;box-shadow:0 0 0 2px #f6d17c22}
#pulse-button[data-ready=false]{opacity:.68;cursor:default}
#pulse-button:disabled{cursor:not-allowed}
#cruise-toggle.race-action-held,#cruise-toggle-desktop.race-action-held,#pulse-button.race-action-held,#item-slot.race-action-held{filter:brightness(1.2);box-shadow:inset 0 2px 4px #0008}
#cruise-toggle:focus-visible,#cruise-toggle-desktop:focus-visible,#pulse-button:focus-visible,#item-slot:focus-visible{outline:3px solid #fff;outline-offset:3px}
body.touch.manual-touch .drive-stick span:after{content:' · GAS';color:#bed7ec}
body.touch:not(.manual-touch) .drive-stick span:after{content:' · CRUISE';color:#a4e7cb}
/* Keep GAS in the same place with cruise on: do not remove a held pedal mid-gesture. */
body.touch #touch-controls .touch.action.gas{display:flex!important}
