/* B06 scene: the chosen camera framing stays intact on landscape car displays. */
#companion-view{position:absolute;inset:0;z-index:2;background:#14191d;pointer-events:none}
#companion-view[hidden]{display:none}
#companion-canvas,#companion-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:right center;display:block}
#companion-canvas{opacity:0}#companion-canvas[data-frame-ready=true]{opacity:1}
#companion-retry[hidden]{display:none}body[data-mode=girlfriend] #companion-retry:not([hidden]){display:block;min-height:42px;flex-shrink:0}
body[data-mode=girlfriend] .scene-options{flex-wrap:wrap}
#companion-view:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#101820ed,transparent 42%),linear-gradient(0deg,#101820bd,transparent 33%,transparent 80%,#10182055)}
.companion-ai{position:absolute;right:25px;top:78px;z-index:3;font-size:10px;color:#f1e5dcaa}
body[data-mode=girlfriend] #fx,body[data-mode=girlfriend] .scene-haze,body[data-mode=girlfriend] .studio-lines{display:none}
body[data-mode=girlfriend] .stage .scene-heading{max-width:31%;top:105px;left:35px}
body[data-mode=girlfriend] .stage .scene-heading h1{font-size:26px;font-weight:500;max-width:250px}
body[data-mode=girlfriend] .stage .scene-heading p{max-width:220px;color:#d5c8c1}
body[data-mode=girlfriend] .stage .gauge-shell{bottom:245px;width:140px;left:35px}
body[data-mode=girlfriend] .stage .gauge-shell .speed-readout strong{font-size:35px}
body[data-mode=girlfriend] .stage .stage-bottom{bottom:183px}
body[data-mode=girlfriend] .stage .stage-bottom>span{max-width:260px}
body[data-mode=girlfriend] .stage .render-status{display:none}
body[data-mode=girlfriend] .scene-options{align-items:flex-end}
body[data-mode=girlfriend] .scene-options .speech{flex:1;max-width:690px}
body[data-mode=girlfriend] .scene-options #attention-toggle{flex-shrink:0;min-height:42px;display:block;margin-left:auto}
body[data-mode=girlfriend] .speech p{font-size:16px;line-height:1.5}
#attention-dialog{width:min(680px,calc(100% - 24px));max-height:calc(100svh - 30px);box-sizing:border-box;overflow:auto;border-radius:20px;padding:22px;color:#edf2f4}
#attention-dialog header{display:flex;align-items:center;justify-content:space-between;gap:14px}
#attention-dialog header span{font-size:11px;color:#dbc6b6}#attention-dialog h2{margin:5px 0 10px;font-size:22px}
#attention-dialog p{font-size:13px;line-height:1.6;color:#ced7dd}#attention-dialog small{display:block;margin-top:16px;font-size:11px;line-height:1.6;color:#aebcc7}
#attention-dialog .attention-preview{position:relative;width:100%;aspect-ratio:16/9;background:#04080b;border-radius:12px;overflow:hidden}
#attention-dialog .attention-preview video,#attention-dialog .attention-preview canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
#attention-dialog .attention-preview canvas{cursor:pointer;touch-action:manipulation}
#attention-dialog .attention-actions{display:flex;flex-wrap:wrap;gap:8px}#attention-dialog button{min-height:44px}#attention-dialog [hidden]{display:none}
@media(max-height:650px) and (min-width:641px){body[data-mode=girlfriend] .stage .scene-heading{top:86px}body[data-mode=girlfriend] .stage .scene-heading h1{font-size:23px}body[data-mode=girlfriend] .stage .gauge-shell{bottom:220px}body[data-mode=girlfriend] .stage .stage-bottom{bottom:173px}.companion-ai{top:72px}#attention-dialog .attention-preview{max-height:220px;width:auto;aspect-ratio:16/9;margin:auto}}
@media(max-width:640px){
 #companion-view{inset:95px 0 140px}#companion-canvas,#companion-poster{object-fit:cover;object-position:73% center}#companion-view:after{background:linear-gradient(0deg,#101820db,transparent 28%,transparent 80%,#101820a1)}
 body[data-mode=girlfriend] .stage .scene-heading{top:112px;left:20px;max-width:70%}body[data-mode=girlfriend] .stage .scene-heading h1{font-size:20px;margin-top:5px}body[data-mode=girlfriend] .stage .scene-heading>span{font-size:8px}
 body[data-mode=girlfriend] .stage .gauge-shell{bottom:355px;left:10px;width:100px;height:65px}body[data-mode=girlfriend] .stage .gauge-shell .speed-readout strong{font-size:27px}
 body[data-mode=girlfriend] .stage .stage-bottom{bottom:305px;left:16px;right:16px}body[data-mode=girlfriend] .stage .stage-bottom>span{display:none}body[data-mode=girlfriend] .stage .special-button{margin-left:auto}
 body[data-mode=girlfriend] .scene-options{bottom:155px;left:16px;right:16px;flex-wrap:wrap;gap:7px}body[data-mode=girlfriend] .scene-options .speech{flex:1 1 100%;max-width:none}body[data-mode=girlfriend] .speech p{font-size:13px}body[data-mode=girlfriend] .scene-options #attention-toggle{min-height:34px;margin:0}
 body[data-mode=girlfriend] .scene-options.talking{bottom:155px}.companion-ai{top:12px;right:17px;font-size:8px}
 #attention-dialog{padding:16px}#attention-dialog h2{font-size:19px}
}

/* Only the companion is an unobstructed, enter-to-play scene. */
body[data-mode=girlfriend] .drive-controls,
body[data-mode=girlfriend] #speech,
body[data-mode=girlfriend] .stage-bottom>span,
body[data-mode=girlfriend] #status-message{display:none!important}
body[data-mode=girlfriend] #companion-view{inset:0}
body[data-mode=girlfriend] .stage .gauge-shell{bottom:140px}
body[data-mode=girlfriend] .stage .stage-bottom{bottom:78px;right:auto;left:35px}
body[data-mode=girlfriend] .scene-options,body[data-mode=girlfriend] .scene-options.talking{bottom:30px;left:35px;right:auto;max-width:330px}
body[data-mode=girlfriend] .scene-options #attention-toggle{margin:0}
body[data-mode=girlfriend] .gps-notice{left:35px;right:auto;top:210px;width:min(285px,35vw);padding:12px 14px;box-shadow:none}
body[data-mode=girlfriend] .gps-notice strong{font-size:13px}
body[data-mode=girlfriend] .gps-notice p{font-size:11px;margin:6px 0 8px}
body[data-mode=girlfriend] .gps-notice button{font-size:10px;min-height:32px}
body[data-mode=girlfriend] #audio-notice{top:76px;left:30px;transform:none;max-width:280px;font-size:11px;box-shadow:none}
body[data-mode=girlfriend] #audio-notice>span{display:none}
body[data-mode=girlfriend] #audio-notice button{font-size:12px;min-height:38px}
#companion-pause[hidden]{display:none}
@media(max-width:640px){
 body[data-mode=girlfriend] #companion-view{inset:95px 0 0}
 body[data-mode=girlfriend] .stage .scene-heading{top:114px;max-width:70%}
 body[data-mode=girlfriend] .stage .scene-heading h1{font-size:18px}
 body[data-mode=girlfriend] .stage .gauge-shell{bottom:130px;left:15px}
 body[data-mode=girlfriend] .stage .stage-bottom{bottom:76px;left:15px;right:auto}
 body[data-mode=girlfriend] .scene-options,body[data-mode=girlfriend] .scene-options.talking{bottom:30px;left:15px;right:auto}
 body[data-mode=girlfriend] .gps-notice{top:220px;left:15px;max-width:210px;width:53%;padding:10px}
 body[data-mode=girlfriend] #audio-notice{left:15px;top:100px}
}

/* Music companion: small choices sit in the empty cabin, clear of the person. */
#music-choices[hidden]{display:none}
#music-choices{position:absolute;z-index:8;left:35px;bottom:36px;display:flex;flex-direction:column;gap:14px;max-width:315px}
#music-state{color:#f3ddd2;font-size:13px;letter-spacing:.04em}
#music-choices>div{display:flex;gap:9px}
#music-choices button{background:#101820aa;border:1px solid #dfbba950;border-radius:24px;min-height:44px;padding:0 17px;color:#e9dbd3;font-size:13px;backdrop-filter:blur(10px)}
#music-choices button[aria-pressed=true]{background:#efc3ab;color:#242126;border-color:#efc3ab}
body[data-mode=girlfriend] #special,body[data-mode=girlfriend] #gauge-shell,body[data-mode=girlfriend] #motion-pill,body[data-mode=girlfriend] #source-pill,body[data-mode=girlfriend] #attention-toggle{display:none!important}
body[data-mode=girlfriend] .scene-options{bottom:144px}
body[data-mode=girlfriend] .scene-heading h1{line-height:1.45}
body[data-mode=girlfriend] #companion-view:after{background:linear-gradient(90deg,#101820d9,transparent 42%),linear-gradient(0deg,#1018209c,transparent 30%,transparent 80%,#10182055)}
@media(max-width:640px){#music-choices{left:15px;bottom:28px;gap:10px}#music-choices button{padding:0 14px;min-height:42px}#music-state{font-size:12px}body[data-mode=girlfriend] .scene-options{bottom:125px}body[data-mode=girlfriend] .scene-heading p{font-size:12px}}
