/* The drive in: a letterboxed ride with the driver's lines captioned. */
.drive-fade{position:fixed;inset:0;z-index:6;background:#000;opacity:0;pointer-events:none}
.drive-bars{display:none}
body.in-drive .drive-bars{display:block;position:fixed;inset:0;z-index:7;pointer-events:none}
.drive-bars::before,.drive-bars::after{content:'';position:absolute;left:0;right:0;height:clamp(0px,calc((100vh - 100vw / 2.39) / 2),13vh);background:#000}
.drive-bars::before{top:0}
.drive-bars::after{bottom:0}
/* The walking interface waits outside the car. Selectors out-rank the game's own "show on touch" rules. */
body.in-drive #experience .hud-actions>:not(#menu-button),body.in-drive #experience .tape-data,body.in-drive #experience #crosshair,body.in-drive #experience #walking-help,body.in-drive #experience #touch-controls:not([data-drive]),body.in-drive #experience .cinema-map,body.in-drive #experience #room-arrival,body.in-drive #experience #interaction,body.in-drive #experience #tv-full{display:none!important}
.drive-caption{position:fixed;left:50%;bottom:max(15vh,96px);z-index:8;width:min(680px,calc(100vw - 48px));margin:0;transform:translateX(-50%);color:#fff9e9;text-align:center;pointer-events:none;text-shadow:0 1px 2px #000,0 2px 14px #000,1px 0 2px #0009,-1px 0 2px #0009}
.drive-caption span{display:block;margin:0 0 8px;font:500 10px/1.4 var(--cinema-sans,'NB International',Arial,sans-serif);letter-spacing:.13em;text-transform:uppercase;opacity:.8}
.drive-caption p{margin:0;font:400 clamp(19px,2.2vw,27px)/1.2 var(--cinema-serif,'Times Now',Georgia,serif);letter-spacing:-.016em;text-wrap:pretty}
.drive-exit,.drive-skip{position:fixed;z-index:9;border:1px solid #f4ecd955;border-radius:999px;background:#0b0f12b8;color:#fff9e9;font:500 12px/1 var(--cinema-sans,'NB International',Arial,sans-serif);letter-spacing:.08em;text-transform:uppercase;cursor:pointer;backdrop-filter:blur(8px)}
.drive-exit{left:50%;bottom:max(15vh,96px);transform:translateX(-50%);padding:15px 24px}
.drive-exit kbd{margin-left:10px;padding:2px 6px;border:1px solid #f4ecd955;border-radius:4px;font:inherit;opacity:.8}
.drive-skip{right:max(20px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));padding:11px 16px;border-color:#f4ecd92e;background:#0b0f1280;opacity:.7}
.drive-skip:hover,.drive-skip:focus-visible{opacity:1}
.drive-exit:focus-visible,.drive-skip:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media (pointer:coarse){.drive-exit kbd{display:none}.drive-caption{bottom:max(18vh,110px)}}
@media (prefers-reduced-motion:no-preference){.drive-exit{animation:drive-prompt .5s ease-out both}}
@keyframes drive-prompt{from{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%,0)}}
/* Things found on the lot: a postcard and what it says on the back. */
.story-card{display:grid;gap:26px;justify-items:center;align-content:center;min-height:calc(100vh - 150px);max-width:min(880px,92vw);margin:0 auto;padding:96px 0 28px;box-sizing:border-box}
.story-card img{display:block;max-width:100%;max-height:50vh;border-radius:3px;box-shadow:0 18px 60px #000a;transform:rotate(-1.2deg)}
.story-card p{white-space:pre-line;max-width:34em;margin:0;color:#f4ecd9;font:400 clamp(18px,2vw,24px)/1.35 var(--cinema-serif,'Times Now',Georgia,serif);text-align:center;text-wrap:pretty}
body.in-cart #experience #crosshair,body.in-cart #experience #walking-help{display:none!important}
/* The cart button: a key hint beside the word on a desk, just the word on a phone, and lit while riding. */
#cart-button span{margin-left:7px;padding:1px 5px;border:1px solid currentColor;border-radius:3px;font-size:.82em;opacity:.65}
#cart-button[aria-pressed=true]{color:#ffd9a0}
@media (pointer:coarse),(max-width:700px){#cart-button span{display:none}}
