#story-journal[hidden],#story-objective[hidden],#story-radio[hidden]{display:none!important}#story-journal{position:fixed;inset:0;z-index:180;background:#071619d9;backdrop-filter:blur(12px);overflow:auto;color:#f1efdc;font:15px/1.5 system-ui;padding:max(22px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));box-sizing:border-box}#story-journal *{box-sizing:border-box}#story-journal button,#story-objective button{font:inherit;color:inherit;cursor:pointer;border:1px solid #adc4b54d;background:#1a3635;border-radius:8px;padding:10px 15px;min-height:44px}#story-journal button:focus-visible,#story-objective button:focus-visible{outline:3px solid #d6f088;outline-offset:3px}#story-journal button:hover{background:#254744}#story-journal kbd{font:10px system-ui;color:#bdc9b7}#story-journal h1{font:500 clamp(27px,4vw,44px)/1.1 Georgia,serif;margin:7px 0 12px}#story-journal h2{font:500 22px/1.15 Georgia,serif;margin:8px 0 10px}#story-journal h3{margin:18px 0 6px;font-size:17px}#story-journal p{color:#c1cebf;margin:5px 0 12px}#story-journal small,#story-objective small{letter-spacing:.12em;text-transform:uppercase;color:#cae593;font-size:10px}#story-journal .story-shell{max-width:1000px;margin:auto}#story-journal header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}#story-journal header button{flex-shrink:0}#story-journal .story-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}#story-journal .story-card{display:block;text-align:left;background:#112a2b;padding:22px;position:relative;border:1px solid #a9bba333;min-height:220px}#story-journal .story-card.chosen{border-color:#cbe88e;background:#203b35}#story-journal .story-number{display:block;color:#7d9c90;font:30px/1 Georgia,serif;margin-bottom:20px}#story-journal .story-card p{font-size:13px}#story-journal .story-stage{text-transform:uppercase;font-size:10px;letter-spacing:.13em;color:#d3e4b6}#story-journal .story-detail{margin-top:18px;padding:24px;background:#122b2d;border:1px solid #a9bba344;border-radius:10px}#story-journal .story-requirements{border-left:3px solid #cbe88e;padding:8px 14px;background:#cee6950b;margin:16px 0}#story-journal .story-actions,#story-journal .story-thread-list,#story-journal .story-frame-options{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}#story-journal [data-action]{background:#c9e590;color:#132927}#story-journal footer{display:flex;gap:20px;justify-content:space-between;align-items:center;font-size:12px;color:#94b0a3;margin:22px 0}#story-journal .story-montage{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}#story-journal .story-montage>div{border:6px solid #dedcc6;background:#263d3f;min-height:140px;padding:16px 10px;display:flex;flex-direction:column;justify-content:flex-end}#story-journal .story-montage strong{font:18px Georgia,serif;margin-top:10px}#story-journal .story-montage p{font-size:11px}#story-journal .story-route-choice{padding:20px;border:1px solid #d6e9a1;background:#213d36;border-radius:8px}#story-journal .story-route-choice button{margin-right:8px}#story-objective{position:fixed;left:50%;top:80px;transform:translateX(-50%);width:min(420px,calc(100vw - 32px));z-index:27;box-sizing:border-box;color:#fff9e9;background:#0b2223f2;border:1px solid #bcd9907a;border-radius:10px;padding:11px 15px;box-shadow:0 6px 24px #0004;font:13px/1.4 system-ui;pointer-events:auto}#story-objective strong{display:block;font-size:16px;margin-top:3px}#story-objective p{margin:5px 0;color:#d0ddc7;font-size:12px}#story-objective>div{display:flex;gap:6px;margin-top:8px}#story-objective button{padding:7px 10px;font-size:12px;min-height:36px}#story-objective button:disabled{opacity:.55;cursor:default}#story-radio{position:fixed;z-index:28;left:50%;bottom:max(120px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(550px,calc(100vw - 44px));box-sizing:border-box;border-left:3px solid #d0e996;background:#071719ed;border-radius:7px;color:#fff9e9;padding:12px 17px;pointer-events:none;font:15px/1.45 system-ui;text-shadow:0 1px 2px #000}#story-radio strong{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:#d1e7a5}#story-radio p{margin:5px 0 0}.mission-film #story-objective,.mission-film #story-radio,.story-open #story-objective,.story-open #story-radio{display:none!important}.story-icon{background:linear-gradient(135deg,#193e39,#658164)!important;color:#edf0d6;font:32px Georgia,serif}#story-launch{font:12px system-ui;color:#e6edca;background:#1a3635;border:1px solid #afc392;border-radius:7px;padding:10px 15px}.story-open #hud,.story-open #walk-hud{visibility:hidden}@media(max-width:700px){#story-journal{padding:14px}#story-journal .story-cards{grid-template-columns:repeat(2,1fr)}#story-journal .story-card{padding:16px;min-height:210px}#story-journal header p{font-size:12px}#story-journal .story-montage{grid-template-columns:repeat(2,1fr)}#story-journal h2{font-size:20px}#story-journal .story-detail{padding:17px}}@media(max-height:550px){#story-objective{top:8px;width:340px;padding:7px 12px}#story-objective strong{font-size:13px}#story-objective small{font-size:8px}#story-objective p{font-size:10px;margin:3px 0}#story-objective button{min-height:32px;padding:4px 9px}#story-radio{bottom:12px;width:min(420px,55vw);font-size:12px;padding:8px 12px}#story-journal .story-cards{grid-template-columns:repeat(3,1fr)}#story-journal .story-card{min-height:180px}.story-number{margin-bottom:10px!important}}

#story-journal .story-montage img{width:100%;aspect-ratio:16/9;object-fit:cover;margin-bottom:10px}#story-journal .story-photo-missing{font-size:10px;opacity:.7;min-height:70px;display:block}

#story-journal header{position:static;inset:auto;transform:none;width:auto;max-width:none;z-index:auto}#story-journal header>div{position:static}#story-journal footer{position:static;inset:auto}#story-journal header h1{color:#f1efdc}

#story-frame[hidden]{display:none!important}#story-frame{position:fixed;inset:25% 22% 23%;pointer-events:none;z-index:26;color:#fff8e8;font:12px/1.5 system-ui}#story-frame .story-viewfinder{height:100%;border:2px solid #f3efd7;border-radius:6px;box-shadow:0 0 0 999px #06161926}#story-frame p{background:#0b2223ec;padding:9px 12px;border-radius:6px;text-align:center}.mission-film #story-frame,.story-open #story-frame{display:none!important}@media(max-width:700px){#story-frame{inset:32% 9% 28%}}

/* Story guidance remains visible with the controller layout and on foot. */
html.story-tracking :is(#drive-direction,#drive-destination-label):not([hidden]){display:block!important}
html.story-tracking #drive-direction{position:static!important;transform:none!important;width:112px!important;flex:0 0 112px;pointer-events:none}
html.story-tracking #drive-direction canvas{width:112px!important;height:63px!important}
html.story-tracking #drive-destination-label{display:none!important}
#story-objective{padding-left:128px;min-height:110px;width:min(510px,calc(100vw - 32px))}
html.story-tracking #story-objective #drive-direction{position:absolute!important;left:7px!important;top:26px!important}
#story-objective [aria-disabled=true]{opacity:.65}
#map-story{color:#ffe0b7!important;background:#583715!important;border:2px solid #ffae51!important;max-width:350px;white-space:normal}
#story-objective small:before{content:'◆ ';color:#ffae51}
@media(max-height:550px){#story-objective{top:6px;width:410px;min-height:92px;padding-left:94px}html.story-tracking #story-objective #drive-direction{width:82px!important;left:2px!important;top:18px!important}html.story-tracking #story-objective #drive-direction canvas{width:82px!important;height:48px!important}}

html.story-tracking #drive-destination-label:not([hidden]){display:none!important}
html.story-tracking.is-afoot #walk-help{display:none!important}

html.controller-active.is-afoot:has(#story-objective:not([hidden])) #walk-help{display:none!important}

@media(max-height:550px) and (min-width:601px){
 #city-map.story-map-focus{padding:8px 14px calc(10px + max(64px,var(--guide-height,64px)))!important}
 #city-map.story-map-focus .map-heading{padding-bottom:6px;margin-bottom:8px;min-height:38px}
 #city-map.story-map-focus .map-heading .pv-wordmark{font-size:22px}
 #city-map.story-map-focus .map-heading .app-icon{width:32px;height:32px}
 #city-map.story-map-focus .map-heading .pv-eyebrow,#city-map.story-map-focus .map-heading .pv-tagline{display:none}
 #city-map.story-map-focus .map-layout{grid-template-columns:1fr!important}
 #city-map.story-map-focus .map-workspace{display:grid;grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:minmax(0,1fr);gap:10px;min-height:0}
 #city-map.story-map-focus .map-stage{min-height:180px}
 #city-map.story-map-focus .map-selection{max-height:100%;align-content:start;overflow:auto}
 #city-map.story-map-focus .destinations{display:none}
 #city-map.story-map-focus .map-view-tools{left:8px;right:8px}
 #city-map.story-map-focus #map-story{flex:1;font-size:10px;max-width:none}
 #city-map.story-map-focus #map-fit,#city-map.story-map-focus #map-transit{display:none}
}

/* Build 2077: one active mission, one next move, one visible exit path. */
#story-journal .story-shell{max-width:820px}#story-journal .story-cards[hidden]{display:none!important}#story-journal .story-detail{margin-top:0;padding:20px}#story-journal h1{font-size:clamp(24px,3vw,36px)}#story-journal header{margin-bottom:16px}#story-journal header p{max-width:550px}#story-journal .story-requirements{margin:14px 0;padding:8px 12px}#story-journal .story-requirements summary{cursor:pointer;min-height:28px;color:#d7eab4}#story-journal .story-requirements p{padding-top:8px}#story-journal .story-next-place{color:#ffcc8e}#story-journal footer{position:sticky;bottom:0;background:#0c2426;padding:12px;border-radius:8px;margin:12px 0}#story-journal [data-exit],#story-journal [data-confirm-exit]{border-color:#e5aa7c;background:#543328;white-space:nowrap}#story-journal .story-menu-controls{text-align:center;font-size:12px;color:#f0e9cd;margin:12px 0}#story-journal .story-exit-confirm{padding:22px;border:1px solid #e7b384;border-radius:12px;background:#10292b}#story-journal .story-exit-confirm>div{display:flex;gap:12px;margin-top:18px}#story-journal .story-exit-confirm[hidden],#story-journal footer[hidden]{display:none!important}
#story-objective{top:76px;max-width:520px;border-color:#e5aa6c;z-index:32}#story-objective .story-step{display:block;font-size:9px;color:#b8c9c2;letter-spacing:.08em;margin-top:2px}#story-objective .story-live-progress{display:block;color:#ffcc8e;font-size:11px;margin:6px 0}#story-objective[data-ready=true]{border-color:#9ee5ac}#story-objective[data-ready=true] [data-action]{background:#bdedbc;color:#123023;font-weight:700}#story-objective [data-journal]{border-color:#e5aa6c}#story-objective button:disabled{opacity:.85;background:transparent;border-color:transparent;color:#e4e7db}html.story-tracking #drift-feedback{display:none!important}
html.story-tracking #xbox-guide .xbox-binding[data-binding="D-pad ↓"],html.story-tracking #xbox-guide .xbox-binding[data-binding="View"],html.story-tracking #xbox-guide .xbox-binding[data-binding="X"]{display:flex!important}
@media(max-height:550px){#story-objective{top:76px;width:min(410px,calc(100vw - 430px));min-width:310px;padding:8px 10px 8px 66px;min-height:0}html.story-tracking #story-objective #drive-direction{width:58px!important;left:2px!important;top:27px!important}html.story-tracking #story-objective #drive-direction canvas{width:58px!important;height:34px!important}#story-objective small{font-size:7px;letter-spacing:.05em}#story-objective strong{font-size:12px}#story-objective p{font-size:10px;line-height:1.35}#story-objective .story-step{font-size:8px}#story-objective .story-live-progress{font-size:9px;margin:4px 0}#story-objective>div{gap:4px;flex-wrap:wrap;margin-top:5px}#story-objective button{font-size:9px;min-height:28px;padding:4px 6px}#story-journal{padding:12px 20px}#story-journal header{margin-bottom:10px}#story-journal header h1{font-size:25px}#story-journal header p{font-size:12px;margin-bottom:0}#story-journal .story-detail{padding:14px}#story-journal .story-requirements{margin:8px 0}#story-radio{bottom:126px;max-width:42vw}html.story-tracking.is-aviation #story-objective{top:72px;left:50%;width:340px}.story-cinema #mission-cinema header{gap:8px;flex-wrap:wrap}.story-cinema #mission-cinema header>div{flex:1;min-width:220px}.story-cinema #mission-cinema header button{font-size:10px;padding:8px}}
@media(max-width:600px){#story-objective{top:76px;left:12px;transform:none;width:calc(100vw - 24px);min-width:0}#story-journal footer{flex-wrap:wrap}#story-journal .story-exit-confirm>div{flex-wrap:wrap}}

@media(max-height:550px){html.story-tracking #story-objective{left:14px;transform:none;width:min(350px,44vw);min-width:290px}html.story-tracking :is(#vibe-hud,#market-hud){display:none!important}html.story-tracking.is-aviation #story-objective{left:14px;transform:none;width:330px}html.story-tracking #story-radio{left:auto;right:16px;transform:none;bottom:115px;max-width:42vw}}

html.is-aviation #story-objective{z-index:110;left:20px;top:145px;transform:none;width:390px}html.is-aviation #story-radio{z-index:110;bottom:340px}html.is-aviation.story-open #aviation-ui{visibility:hidden}@media(max-height:550px){html.is-aviation #story-objective{top:76px;left:14px;width:320px;min-width:0}html.is-aviation #story-radio{bottom:165px}}

html.is-aviation #story-objective>div{flex-wrap:wrap}
