:root{color-scheme:dark;--ink:#f2efdf;--muted:#bcbcaf;--accent:#d5df9b;--surface:#1a1c18;--line:#42453a;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;background:var(--surface);color:var(--ink)}
*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button{color:inherit;cursor:pointer}button,select{ -webkit-tap-highlight-color:transparent}button:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:7px}button:disabled{cursor:default}button{transition:color .2s ease,background .2s ease,transform .2s ease}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}
#launcher{position:relative;isolation:isolate;min-height:100dvh;display:grid;grid-template-rows:auto 1fr auto;padding:clamp(28px,5vw,76px);overflow:hidden;background:#343b31}
#launcher::before,#launcher::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}#launcher::before{background:url('coupe90-cda28d6dee28.png') center 56%/cover no-repeat}#launcher::after{background:linear-gradient(90deg,rgba(16,23,18,.73),rgba(16,23,18,.27) 56%,rgba(16,23,18,.08)),linear-gradient(0deg,rgba(16,23,18,.72),transparent 50%,rgba(16,23,18,.27))}
.masthead{display:flex;justify-content:space-between;align-items:flex-start}.brand{font-weight:850;font-size:clamp(20px,2.3vw,32px);line-height:.89;letter-spacing:-.065em}.brand-dot{color:var(--accent)}.edition{font-size:10px;font-weight:600;letter-spacing:.22em;padding-top:5px}
#start-panel{align-self:center;margin-top:6vh;max-width:780px}.play{display:flex;align-items:center;gap:clamp(20px,4vw,68px);padding:0;border:0;background:none;font-size:clamp(100px,16vw,244px);line-height:1;font-weight:900;letter-spacing:-.08em}.play>span{margin-left:-.065em}.play svg{width:clamp(36px,5.2vw,80px);fill:var(--accent);transition:transform .3s cubic-bezier(.16,1,.3,1)}.play:hover:not(:disabled){color:var(--accent)}.play:hover:not(:disabled) svg{transform:translateX(9px)}.play:disabled{opacity:.55}
#toolbar{display:flex;align-items:center;gap:clamp(30px,5vw,80px);padding-top:24px}.text-button{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-height:44px;padding:8px 0;background:none;border:0;font-size:12px;font-weight:600;letter-spacing:.13em;white-space:nowrap}.text-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}.text-button:hover{color:var(--accent)}.text-button>span{font-size:22px;font-weight:400;line-height:1}
#load-state{margin-top:24px;max-width:410px}.load-label{display:flex;gap:18px;justify-content:space-between;font-size:13px;line-height:1.5}#percentage{font-variant-numeric:tabular-nums}progress{display:block;width:100%;height:3px;margin:18px 0 0;border:0;background:#f2efdf30;accent-color:var(--accent)}progress::-webkit-progress-bar{background:#f2efdf30}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}#retry{margin-top:14px;color:var(--accent)}#fullscreen-error{font-size:13px;line-height:1.5;max-width:420px;margin:10px 0 0}
body.playing #launcher{height:100dvh;min-height:0;grid-template-rows:48px minmax(0,1fr);padding:0;background:var(--surface)}body.playing #launcher::before,body.playing #launcher::after,body.playing .masthead{display:none}body.playing #toolbar{grid-row:1;justify-content:flex-end;padding:0 24px;gap:32px}body.playing .text-button{font-size:10px;min-height:36px;gap:14px}#game{min-height:0;grid-row:2;position:relative}#game.initializing{position:absolute;inset:0;z-index:-2}#unity-canvas{display:block;width:100%;height:100%;outline:0;background:var(--surface)}body.playing #fullscreen-error{position:absolute;top:48px;right:16px;background:var(--surface);padding:12px 16px;z-index:1}body.playing #start-panel{display:none}
dialog{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:28px 32px 18px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:3px;box-shadow:0 28px 100px #10150fcc}dialog::backdrop{background:rgba(14,19,14,.67);backdrop-filter:blur(8px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}h1{font-size:34px;letter-spacing:-.05em;font-weight:600;margin:0}.close-button{display:grid;place-items:center;border:0;background:none;width:44px;height:44px;margin-right:-10px}.close-button:hover{color:var(--accent)}.close-button svg{width:24px;fill:none;stroke:currentColor;stroke-width:1.5}.setting-section{padding:20px 0;border-top:1px solid var(--line)}.setting-section label,.setting-section summary{font-size:15px;font-weight:500}.setting-section label:not(.consent-label){display:block;margin-bottom:12px}select{width:100%;min-height:44px;background:#272a23;border:1px solid #56594d;border-radius:2px;color:var(--ink);padding:10px 12px}select:disabled{opacity:.6;cursor:not-allowed}.setting-section p{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0 0}.consent-label{display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer}.optional{display:block;margin-top:5px;color:var(--muted);font-size:11px;font-weight:400}#consent{width:22px;height:22px;flex-shrink:0;accent-color:var(--accent);cursor:pointer}summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:24px}summary::-webkit-details-marker{display:none}summary::after{content:'+';font-size:22px;font-weight:300;color:var(--muted)}details[open] summary::after{content:'−'}.controls{margin:18px 0 0;font-size:13px}.controls div{display:flex;justify-content:space-between;padding:7px 0}.controls dd{margin:0;color:var(--accent);font-variant-numeric:tabular-nums}.dialog-footer{border-top:1px solid var(--line);padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}#version{font-size:10px;color:var(--muted);max-width:130px;overflow-wrap:anywhere}.dialog-footer .text-button{font-size:10px;gap:12px}
@media(max-width:600px){#launcher{padding:28px 24px;background-position:60% center}#launcher::before{background-position:58% center}.play{font-size:clamp(100px,25vw,150px);gap:24px}.play svg{width:36px}#start-panel{margin-top:0}#toolbar{justify-content:space-between;gap:12px}.text-button{font-size:10px;gap:12px}dialog{padding:24px}.edition{font-size:9px}body.playing #toolbar{padding:0 16px;justify-content:space-between}}
@media(max-height:460px){#launcher{padding:20px 32px}.brand{font-size:20px}#start-panel{margin-top:8px}.play{font-size:100px}#toolbar{padding-top:10px}#load-state{margin-top:4px}.load-label{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

.analytics-notice{font-size:12px;color:var(--muted);margin:0;padding-top:16px;grid-row:3}#toolbar{grid-row:4}body.playing .analytics-notice{display:none}#unity-canvas{touch-action:none}#rotate-hint{display:none}body.playing #toolbar{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}body.playing #game{padding-bottom:env(safe-area-inset-bottom)}

@media(pointer:coarse) and (orientation:landscape){body.playing #launcher{grid-template-rows:44px minmax(0,1fr)}body.playing #toolbar{height:44px}.text-button{min-height:44px}#launcher{padding-top:max(20px,env(safe-area-inset-top));padding-left:max(32px,env(safe-area-inset-left));padding-right:max(32px,env(safe-area-inset-right));padding-bottom:max(16px,env(safe-area-inset-bottom))}}

/* Portrait menu remains available; Unity handles rotation only for driving. */
#rotate-hint{display:none!important}

.loading-title{font-size:clamp(40px,7vw,100px);line-height:1;letter-spacing:-.055em;margin:0}.loading-hint{color:var(--muted);font-size:15px;line-height:1.5;margin:20px 0 0}
