/* Engine push button: explicit stacked lettering, SVG power icon and themed illumination. */
html[data-theme] #start{--engine-size:120px;display:grid!important;place-items:center;padding:0!important;overflow:hidden;border:1px solid color-mix(in srgb,var(--accent),#172031 65%);background:radial-gradient(ellipse at 40% 18%,#ffffff14,transparent 55%),linear-gradient(155deg,#152236,#080e1b 75%);box-shadow:0 5px 15px #0008,inset 0 2px 3px #ffffff12,inset 0 -6px 15px #0008;transition:box-shadow .25s,border-color .25s,transform .12s}
html[data-theme] #start:before{display:none!important}
html[data-theme] #start:after{inset:6px!important;border:1px solid var(--accent);opacity:.4;box-shadow:0 0 4px color-mix(in srgb,var(--accent),transparent 50%);pointer-events:none}
#start .engine-face{display:flex;flex-direction:column;align-items:center;justify-content:center;width:74%;height:76%;gap:3px;position:relative;z-index:1;text-align:center;pointer-events:none;line-height:1.1}
#start .engine-power{display:block;flex:none;width:25%;height:auto;max-width:30px;color:var(--accent);margin:0 0 4px}
#start .engine-action{display:block;font:600 13px/1.1 system-ui,sans-serif;letter-spacing:1.5px;white-space:nowrap;color:inherit}
#start .engine-caption{display:block;font:500 8px/1.3 system-ui,sans-serif;letter-spacing:2px;opacity:.65;color:inherit}
#start .engine-indicator{display:block;width:18%;height:2px;margin-top:7px;border-radius:2px;background:var(--accent);opacity:.4}
html[data-theme] #start[data-running=true]{border-color:var(--accent);box-shadow:0 5px 18px #0008,0 0 18px color-mix(in srgb,var(--accent),transparent 65%),inset 0 0 24px color-mix(in srgb,var(--accent),transparent 88%)}
html[data-theme] #start[data-running=true]:after{border-width:2px;opacity:.95;box-shadow:0 0 8px color-mix(in srgb,var(--accent),transparent 40%),inset 0 0 6px color-mix(in srgb,var(--accent),transparent 60%)}
#start[data-running=true] .engine-power{filter:drop-shadow(0 0 4px var(--accent))}
#start[data-running=true] .engine-indicator{opacity:1;box-shadow:0 0 7px var(--accent)}
#start:active:not(:disabled){transform:scale(.97)}
#start:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
html[data-theme=day] #start{background:radial-gradient(ellipse at 40% 15%,#fff,#d9e8f2 75%);color:#163a53;box-shadow:0 5px 16px #173f5325,inset 0 2px 3px #fff}
html[data-theme=sport] #start{background:radial-gradient(ellipse at 40% 15%,#5f202c66,transparent 65%),linear-gradient(155deg,#24151c,#100a10)}
html[data-theme=girly] #start{background:radial-gradient(ellipse at 40% 15%,#a8407466,transparent 65%),linear-gradient(155deg,#361b30,#170e1d)}
.drive-mode #drive-engine-panel #start{--engine-size:min(160px,calc(100cqw - 20px),calc(100cqh - 14px));padding:0!important}
.drive-mode #start .engine-action{font-size:clamp(7px,9cqw,16px);letter-spacing:1px}
.drive-mode #start .engine-caption{font-size:clamp(5px,5.5cqw,9px);letter-spacing:1.5px}
.drive-mode #start .engine-power{width:25%;max-height:27cqh;max-width:30px;margin-bottom:clamp(0px,2cqh,4px)}
.drive-mode #start .engine-face{gap:clamp(1px,2cqh,4px)}
.drive-mode #start .engine-indicator{margin-top:clamp(1px,3cqh,7px)}
@media(max-height:460px) and (min-width:601px){.drive-mode #start .engine-caption{font-size:5px;letter-spacing:.7px}.drive-mode #start .engine-action{font-size:7px}.drive-mode #start .engine-power{max-height:14px}.drive-mode #start .engine-indicator{display:none}}

#drive-engine-panel{container-type:size}
.drive-mode #drive-engine-panel #start{--engine-size:min(148px,calc(100cqw - 24px),calc(100cqh - 18px));width:var(--engine-size)!important;height:var(--engine-size)!important;min-width:var(--engine-size)!important;min-height:var(--engine-size)!important;max-width:148px!important}

/* Explicit positioning works even when legacy driving styles set display:block. */
#start .engine-face{position:absolute;inset:0;width:100%;height:100%;margin:0!important;padding:16%;align-items:center;justify-content:center;box-sizing:border-box}
#start .engine-action,#start .engine-caption{margin:0!important;padding:0;text-align:center;flex:none;max-width:100%}
#start .engine-power{align-self:center;margin-left:0!important;margin-right:0!important}
body:not(.drive-mode) .transport{display:flex;align-items:center;gap:22px;padding:15px 20px;margin:18px 0 24px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(115deg,#0d1928e8,#101424d9)}
body:not(.drive-mode) .transport #start{width:104px!important;height:104px!important;min-width:104px!important;min-height:104px!important;max-width:104px!important;flex:0 0 104px}
.transport-feedback{flex:1;min-width:0;align-self:center}
body:not(.drive-mode) .transport #behavior-status{display:inline-block;margin:0;padding:6px 9px;font-size:9px;min-height:0;max-width:100%}
body:not(.drive-mode) .transport .message{margin:7px 0 0;min-height:0;font-size:12px;line-height:1.5}
body:not(.drive-mode) .transport .mode{flex:0 0 auto;align-self:center;margin:0 0 0 auto;width:auto}
html[data-theme=day] body:not(.drive-mode) .transport{background:#eef7ffe8;border-color:#aac6d8;color:#173a52}
@media(max-width:800px){body:not(.drive-mode) .transport{gap:14px;padding:14px}.transport-feedback{flex-basis:calc(100% - 120px)}body:not(.drive-mode) .transport .mode{width:100%;justify-content:center;margin:0}body:not(.drive-mode) .transport .mode button{flex:1}}
@media(max-width:480px){body:not(.drive-mode) .transport #start{width:88px!important;height:88px!important;min-width:88px!important;min-height:88px!important;max-width:88px!important;flex-basis:88px}body:not(.drive-mode) #start .engine-action{font-size:11px}body:not(.drive-mode) #start .engine-caption{font-size:7px}.transport-feedback{flex-basis:calc(100% - 105px)}body:not(.drive-mode) .transport{padding:12px;gap:12px}}
