/* The crossing: readable glass controls beside an unobstructed 3D world. */
#bridge{padding:20px clamp(16px,3.5vw,64px) 28px;--world-height:640px}
#bridge .bg-cinematic{max-width:1700px;margin-inline:auto}
.ui-icon{width:22px;height:22px;flex:none;vertical-align:middle}
.bg-cinematic .bg-heading{align-items:center;gap:20px;margin-bottom:24px;flex-wrap:nowrap}
.bg-cinematic .bg-heading>div:first-child{min-width:0;width:auto}
.bg-cinematic .bg-heading h1{font-size:clamp(32px,3.5vw,48px);line-height:1.05;margin:12px 0;letter-spacing:-.055em;font-weight:550}
.bg-cinematic .bg-heading p{font-size:14px;line-height:1.5}
.bg-cinematic .bg-eyebrow{font-size:10px;letter-spacing:.13em;flex-wrap:wrap}
.bg-cinematic .bg-duration{font-size:10px;padding:6px 10px}
.bg-cinematic .bg-tools{flex-direction:row;gap:8px;flex:none}
.bg-cinematic .bg-tools button{min-height:48px;min-width:48px;font-size:13px;padding:12px 16px}
.bg-cinematic .bg-tools svg{width:21px;height:21px}
.bg-cinematic .bg-layout{display:block}
.bg-cinematic .bg-scene-panel{display:grid;grid-template-columns:minmax(0,1fr) 340px;position:relative;isolation:isolate;height:auto;overflow:hidden;border-radius:28px;border:1px solid #ffffffb0;background:#294d40;box-shadow:0 18px 55px -22px #163e3150}
.bw-stage{position:relative;min-width:0;min-height:var(--world-height);isolation:isolate;background:#b5c7b8}
.bg-cinematic #bg-world{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;overflow:hidden}
.bg-cinematic #bg-world canvas{display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab;outline-offset:-5px}
.bg-cinematic #bg-world canvas:active{cursor:grabbing}
.bw-vignette{position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(180deg,#17352925,transparent 30%,transparent 65%,#102c3a90)}
.bw-location{position:absolute;left:24px;top:24px;display:flex;gap:10px;pointer-events:none;z-index:3;text-shadow:0 1px 14px #183d3370;color:#fff}
.bw-location-dot{width:7px;height:7px;margin-top:5px;background:#e8eee1;border-radius:50%;box-shadow:0 0 0 5px #ffffff25;flex:none}
.bw-location strong{font-size:13px;font-weight:600;letter-spacing:.22em;display:block}
.bw-location small{display:block;font-size:11px;margin-top:7px;color:#eff3e9}
.bw-camera-nav{position:absolute;top:84px;left:20px;right:20px;z-index:4;display:flex;gap:3px;padding:5px;max-width:510px;border:1px solid #fff6;border-radius:18px;background:#24453c85;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.bw-camera-nav button{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:56px;border:1px solid transparent;border-radius:13px;padding:8px 5px;background:transparent;color:#f0f5eb;font-size:10px;font-weight:550;white-space:nowrap;transition:background .2s}
.bw-camera-nav button svg{width:20px;height:20px}
.bw-camera-nav button[aria-pressed=true]{background:#f0f5e6e6;color:#284d3a;border-color:#fff8;box-shadow:0 2px 8px #122c2815}
.bw-camera-nav button:hover{background:#fff2}
.bw-camera-nav button[aria-pressed=true]:hover{background:#f4f8ee}
.bw-camera-nav button[data-do=photo]{flex:.7;border-left-color:#ffffff24}
.bg-cinematic .bg-console{position:relative;inset:auto;width:auto;height:auto;min-height:0;max-height:none;overflow:visible;padding:28px 24px 24px;border:0;border-left:1px solid #d3e6d040;border-radius:0;background:linear-gradient(145deg,#214c3fef,#193b31f2);box-shadow:inset 0 1px 0 #fff1;backdrop-filter:blur(24px) saturate(130%);-webkit-backdrop-filter:blur(24px) saturate(130%)}
.bg-cinematic .bg-console-top{margin-bottom:24px;padding-bottom:18px;gap:12px}
.bg-cinematic .bg-console-top>span{font-size:10px;letter-spacing:.12em;gap:9px;white-space:nowrap}
.bg-cinematic .bg-console-top>span>svg{width:18px;height:18px}
.bg-cinematic .bg-progress{gap:6px}
.bg-cinematic .bg-progress li{height:24px;width:24px;font-size:11px}
.bg-cinematic .bg-progress li[data-current=true]{background:#dde6c5;border-color:#dde6c5;color:#2f4b34}
.bg-cinematic .bg-console #bg-mission{overflow:visible;flex:none;min-width:0}
.bg-cinematic #bg-mission h2{font-size:30px;letter-spacing:-.035em;font-weight:500;margin:12px 0 14px;line-height:1.13;color:#f4f7eb}
.bg-cinematic .bg-stage-caption{font-size:10px;color:#b6cdb7;letter-spacing:.12em;display:block;line-height:1.5}
.bg-cinematic .bg-console .bg-lead{font-size:14px;line-height:1.65;color:#d1ddc9;margin-bottom:20px;display:block}
.bg-cinematic .bg-console .bg-evidence-card{padding:14px;min-height:84px;margin:0 0 12px;gap:12px;border-color:#e1cfa75e;background:#ffffff06;border-radius:15px}
.bg-cinematic .bg-evidence-card small{font-size:9px;letter-spacing:.1em}
.bg-cinematic .bg-evidence-card strong{font-size:14px;margin:6px 0;line-height:1.35}
.bg-cinematic .bg-evidence-card em{font-size:11px;line-height:1.5}
.bg-cinematic .bg-evidence-card>span{min-width:0;flex:1}
.bg-cinematic .bg-evidence-card>svg{width:22px;height:22px}
.bg-cinematic .bg-evidence-card>svg:last-child{width:18px;height:18px}
.bg-cinematic .bg-console .bg-ai-advice{border-left-width:2px;padding:13px 14px;margin-bottom:18px;gap:11px;border-radius:14px}
.bg-cinematic .bg-ai-advice strong{font-size:15px;margin:6px 0 0;line-height:1.4}
.bg-cinematic .bg-ai-advice span{font-size:9px;letter-spacing:.1em}
.bg-cinematic .bg-ai-advice>svg{width:22px;height:22px}
.bg-cinematic .bg-actions{gap:10px;position:static;background:none;box-shadow:none;padding:0}
.bg-cinematic .bg-console .bg-primary,.bg-cinematic .bg-console .bg-secondary,.bg-cinematic .bg-risk,.bg-cinematic .bg-ai{min-height:50px;border-radius:14px;padding:13px 14px;font-size:13px;font-weight:550;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;line-height:1.45}
.bg-cinematic .bg-console .bg-primary{background:#e0ebcb;border-color:#eef3dc;color:#2d4d34;box-shadow:0 2px 15px #172d2220}
.bg-cinematic .bg-console .bg-primary:hover{background:#edf5df}
.bg-cinematic .bg-console .bg-secondary{background:#ffffff06;border-color:#e5e9db3d;color:#edf1df}
.bg-cinematic .bg-alternatives{gap:9px}
.bg-cinematic .bg-alternatives .bg-secondary{font-size:12px;padding:12px;min-height:60px}
.bg-cinematic .bg-console .bg-actions svg,.bg-cinematic .bg-alternatives svg{width:20px;height:20px}
.bg-cinematic .bg-risk{background:#e7b582;color:#4d3524;border:1px solid #f1cea7}
.bg-cinematic .bg-risk:hover{background:#efc395}
.bg-cinematic .bg-ai{border:1px solid #adc4bd45;background:#ffffff05;color:#c3d8cb;font-size:12px;margin-top:2px}
.bg-cinematic .bg-ai:hover{background:#fff1}
.bg-cinematic .bg-scenario-note{font-size:10px;line-height:1.6;margin:20px 0 0;color:#b4c6b4;text-align:left}
.bg-cinematic .bg-quiet{min-height:44px;font-size:12px}
.bw-keyline{font-size:13px;color:#c0d1be;line-height:1.65;margin:22px 0 0;border-top:1px solid #d4e9d120;padding-top:18px}
.bw-scan-status{display:flex;align-items:center;gap:12px;min-height:100px;color:#c1e1cb;font-size:13px;line-height:1.5}
.bw-scan-status svg{width:28px;height:28px}
.bw-outcome-tag{display:flex;align-items:center;gap:10px;border:1px solid #b5d3c548;border-radius:14px;padding:14px;margin:18px 0;font-size:10px;letter-spacing:.07em;line-height:1.5;font-weight:600}
.bw-outcome-tag svg{width:20px;height:20px;flex:none}
.bw-outcome-tag.is-risk{color:#f4c69b;background:#d4a77312;border-color:#e0bc8357}
.bw-outcome-tag.is-delay{color:#e7dcb6;background:#d7c68d0c;border-color:#cabb8c45}
.bw-outcome-tag.is-good{color:#d2e9be;background:#bbdca408}
.bw-receipt{display:grid;gap:12px;margin:22px 0}
.bw-receipt>span{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#b5cbb9;border-bottom:1px solid #c6dbbe1e;padding-bottom:10px}
.bw-receipt strong{font-weight:550;color:#e4eeda;font-size:12px;text-align:right}
.bw-scene-bottom{position:absolute;z-index:2;left:24px;bottom:24px;right:24px;color:#fff;pointer-events:none}
.bw-world-status{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:12px}
.bw-world-status>span{display:grid;grid-template-columns:5px auto;gap:6px 8px}
.bw-world-status i{width:5px;height:5px;background:#eac698;border-radius:50%;margin-top:4px;grid-row:1/3}
.bw-world-status small{font-size:9px;letter-spacing:.15em;color:#dee7dc}
.bw-world-status strong{font-size:12px;font-weight:550}
.bw-world-status i[data-current=true],.bw-world-status i[data-open=true]{background:#b4daa5}
.bw-controls{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:10px;line-height:1.5;margin:0;color:#e5eee5}
.bw-controls svg{width:17px;height:17px;margin-right:4px}
.bw-controls>span{margin:0}
.bw-markers{position:absolute;inset:0;pointer-events:none;z-index:2}
.bw-marker{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;display:flex;align-items:center;gap:8px;border:1px solid #fff8;background:#f3f7eae8;border-radius:100px;padding:10px 13px;min-height:44px;color:#385646;font-size:11px;box-shadow:0 5px 18px #15352925;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);white-space:nowrap}
.bw-marker span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#426651;color:#fff;font-size:9px;flex:none}
.bw-marker:hover{background:#fff}
.bw-world-alert{position:absolute;z-index:3;left:24px;bottom:114px;max-width:calc(100% - 48px);width:330px;border-left:2px solid #e3c089;padding:16px 18px;background:#18382ae8;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:4px 16px 16px 4px;box-shadow:0 10px 25px #142d2930;pointer-events:none;color:#f6eed5}
.bw-world-alert>span{display:block;font-size:9px;letter-spacing:.14em;color:#e7caa1;margin-bottom:8px}
.bw-world-alert>strong{display:block;font-size:23px;font-weight:500;letter-spacing:-.03em;margin-bottom:8px}
.bw-world-alert>small{display:block;font-size:12px;line-height:1.55;color:#e1e9d9}
.bw-after-scene{display:flex;align-items:center;gap:16px;margin-top:18px;min-width:0}
.bg-cinematic .bg-pipeline{position:static;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:1;gap:8px;padding:0;border:0;background:none;backdrop-filter:none;box-shadow:none;border-radius:0;min-width:0}
.bg-cinematic .bg-pipe-step{display:flex;justify-content:flex-start;min-width:0;gap:10px;min-height:64px;flex-direction:row;border:1px solid transparent;background:transparent;border-radius:16px;padding:12px}
.bg-cinematic .bg-pipe-step[data-active=true]{background:#ffffff8c;border-color:#fff8}
.bg-cinematic .bg-pipe-step>span{min-width:0;text-align:left}
.bg-cinematic .bg-pipe-step strong{font-size:12px;font-weight:550;white-space:normal}
.bg-cinematic .bg-pipe-step small{font-size:10px;line-height:1.4;display:block;margin-top:3px}
.bg-cinematic .bg-pipe-step svg{width:22px;height:22px}
.bw-compare{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #fff;border-radius:100px;min-height:48px;padding:12px 18px;background:#ffffffa0;color:#44694f;font-size:12px;white-space:nowrap}
.bw-compare svg{height:20px;width:20px}
.bg-cinematic .bg-principles{display:grid;grid-template-columns:100px repeat(5,minmax(0,1fr));gap:10px;padding-top:20px}
.bg-cinematic .bg-principles>span{font-size:12px;min-width:0}
.bg-cinematic .bg-principles>button{min-width:0;min-height:50px;font-size:12px;padding:12px 8px;gap:8px}
.bg-cinematic .bg-principles>button svg{height:21px;width:21px}
.bg-cinematic .bg-lesson{position:fixed;bottom:112px;left:50%;transform:translateX(-50%);width:min(650px,calc(100% - 32px));max-height:calc(100dvh - 160px);overflow:auto;z-index:40}
.bg-cinematic .bg-game dialog{font-family:inherit}
.bg-cinematic[data-photo=true] .bg-console,.bg-cinematic[data-photo=true] .bw-location,.bg-cinematic[data-photo=true] .bw-scene-bottom,.bg-cinematic[data-photo=true] .bw-world-alert,.bg-cinematic[data-photo=true] .bw-markers,.bg-cinematic[data-photo=true] .bw-camera-nav button[data-view]{display:none}
.bg-cinematic[data-photo=true] .bg-scene-panel{grid-template-columns:1fr}
.bg-cinematic[data-photo=true] .bw-camera-nav{left:auto;top:20px;right:20px;width:auto;padding:4px}
.bg-cinematic[data-photo=true] .bw-camera-nav button[data-do=photo]{flex-direction:row;gap:8px;padding:10px 14px;min-height:44px;background:#edf4e6;color:#294b39}
body:has(#bridge:not([hidden]) .bg-cinematic[data-photo=true]) .bottom-nav{visibility:hidden;pointer-events:none}
#bridge[data-structural-failure=true] .bw-marker[data-world-point=report]{display:none}
.bg-cinematic button:focus-visible,.bottom-nav a:focus-visible,.bottom-nav button:focus-visible{outline:3px solid #71ad99;outline-offset:3px}
.bottom-nav .ui-icon{stroke-width:1.75}
.bottom-nav a[aria-current=page] .ui-icon{stroke-width:2}
@media(min-width:1400px){#bridge{--world-height:660px}.bg-cinematic .bg-scene-panel{grid-template-columns:minmax(0,1fr) 370px}.bg-cinematic .bg-console{padding:30px}.bw-camera-nav{top:20px;left:auto;right:20px;width:440px}.bw-location small{max-width:190px}}
@media(min-width:900px) and (max-width:1199px){.bg-cinematic .bg-scene-panel{grid-template-columns:minmax(0,1fr) 326px}.bg-cinematic .bg-console{padding:24px 20px}.bg-cinematic #bg-mission h2{font-size:28px}.bw-after-scene{align-items:stretch}.bg-cinematic .bg-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.bw-compare{align-self:center}.bg-cinematic .bg-principles{grid-template-columns:repeat(5,minmax(0,1fr))}.bg-cinematic .bg-principles>span{grid-column:1/-1;display:flex;gap:4px}.bg-cinematic .bg-principles>span br{display:none}}
@media(max-width:899px){#bridge{--world-height:480px}.bg-cinematic .bg-scene-panel{grid-template-columns:1fr}.bg-cinematic .bg-console{border-left:0;border-top:1px solid #d3e6d040;padding:28px}.bg-cinematic .bg-console-top{margin-bottom:22px}.bg-cinematic .bg-tools button span{display:none}.bg-cinematic .bg-heading p{font-size:13px}.bw-camera-nav{max-width:480px}.bw-after-scene{flex-wrap:wrap}.bg-cinematic .bg-pipeline{flex-basis:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.bw-compare{width:100%}.bg-cinematic .bg-principles{grid-template-columns:repeat(3,minmax(0,1fr))}.bg-cinematic .bg-principles>span{grid-column:1/-1;display:flex;gap:4px}.bg-cinematic .bg-principles>span br{display:none}.bg-cinematic .bg-principles>button{min-width:0}}
@media(max-width:599px){#bridge{padding-inline:14px;padding-top:12px;--world-height:420px}.bg-cinematic .bg-heading{gap:12px;margin-bottom:20px}.bg-cinematic .bg-heading h1{font-size:34px}.bg-cinematic .bg-eyebrow{font-size:9px;gap:8px}.bg-cinematic .bg-heading .bg-duration{display:none}.bg-cinematic .bg-heading p{font-size:12px;max-width:240px}.bg-cinematic .bg-tools{gap:6px}.bg-cinematic .bg-tools button{padding:10px;min-height:44px;min-width:44px}.bg-cinematic .bg-scene-panel{border-radius:24px}.bg-cinematic .bg-console{padding:24px 20px}.bw-location{left:20px;top:22px}.bw-location strong{font-size:12px}.bw-location small{font-size:10px}.bw-camera-nav{left:12px;right:12px;top:80px;gap:2px;padding:4px;border-radius:16px}.bw-camera-nav button{font-size:9px;min-height:56px;gap:6px;padding:7px 2px}.bw-camera-nav button svg{width:19px;height:19px}.bw-camera-nav button[data-do=photo]{flex:.8}.bw-camera-nav button[data-view=deck] span{font-size:0}.bw-camera-nav button[data-view=deck] span:after{content:'Deck';font-size:9px}.bw-camera-nav button[data-view=town] span{font-size:0}.bw-camera-nav button[data-view=town] span:after{content:'Town';font-size:9px}.bw-scene-bottom{left:20px;right:20px;bottom:20px}.bw-world-status strong{font-size:11px}.bw-controls{font-size:9px}.bw-world-alert{left:20px;bottom:104px;max-width:calc(100% - 40px);padding:13px 15px}.bw-world-alert>strong{font-size:20px}.bw-world-alert>small{font-size:11px}.bw-world-alert>span{font-size:8px}.bw-marker{font-size:10px;min-height:44px;padding:9px 11px}.bw-marker[data-world-point=town]{display:none}.bg-cinematic .bg-pipe-step{padding:11px 9px;gap:8px}.bg-cinematic .bg-pipe-step strong{font-size:11px}.bg-cinematic .bg-pipe-step small{font-size:10px}.bg-cinematic .bg-principles>button{font-size:11px;gap:7px}.bg-cinematic .bg-principles>button svg{width:20px;height:20px}}
@media(max-width:359px){.bg-cinematic .bg-heading{flex-wrap:wrap}.bg-cinematic .bg-tools{margin-left:auto}.bg-cinematic .bg-console{padding:22px 16px}.bg-cinematic .bg-console-top>span{font-size:9px}.bg-cinematic .bg-progress li{height:22px;width:22px}.bg-cinematic .bg-principles{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Give the dock its own reading space and simplify it on compact screens. */
main{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:112px}
.bottom-nav{bottom:max(16px,env(safe-area-inset-bottom));max-width:calc(100% - 28px)}
@media(max-width:899px){.bottom-nav{width:calc(100% - 24px);gap:2px;padding:6px;border-radius:22px}.bottom-nav a,.bottom-nav button{flex:1;min-width:0;min-height:60px;padding:8px 4px;flex-direction:column;gap:6px;font-size:10px}.bottom-nav button{display:none}.bottom-nav .nav-icon{width:22px;height:22px}.bg-cinematic .bg-lesson{bottom:105px}}
@media(max-width:599px){.bottom-nav a{font-size:10px;min-height:58px}.bottom-nav a[href='#pillars'] span{font-size:0}.bottom-nav a[href='#pillars'] span:after{content:'Pillars';font-size:10px}.ex-header{padding-inline:18px;height:76px}.ex-header .brand{font-size:17px}.ex-header .brand img{width:32px;height:32px}.ex-header button{min-width:44px;min-height:44px;margin-left:auto;padding:10px}.ex-header button>span{display:none}.ex-header button svg{width:20px;height:20px}.header-note{display:none}}
@media(prefers-reduced-transparency:reduce){.bg-cinematic .bg-console,.bw-world-alert{background:#244a3a}.bw-camera-nav{background:#345447}.bw-marker{background:#f2f6e7}}
@media(prefers-reduced-motion:reduce){.bw-camera-nav button{transition:none}}
/* Exhibition monitors: one viewport for scene, every decision and navigation. */
@media(min-width:900px) and (min-height:600px){
 body[data-screen=bridge]{height:100dvh;overflow:hidden}
 body[data-screen=bridge] .ex-header{height:60px;padding-inline:clamp(24px,3.5vw,64px)}
 body[data-screen=bridge] main{height:calc(100dvh - 60px);min-height:0;padding-bottom:88px}
 body[data-screen=bridge] #bridge{height:100%;padding:8px clamp(20px,3.5vw,64px) 8px;max-width:1800px;--world-height:0px}
 #bridge .bg-cinematic{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:10px}
 .bg-cinematic .bg-heading{margin:0;gap:16px}
 .bg-cinematic .bg-heading h1{font-size:clamp(30px,4dvh,44px);margin:8px 0}
 .bg-cinematic .bg-heading p{font-size:12px;margin:0}
 .bg-cinematic .bg-eyebrow,.bg-cinematic .bg-duration{font-size:9px}
 .bg-cinematic .bg-duration{padding:4px 8px}
 .bg-cinematic .bg-layout{min-height:0}
 .bg-cinematic .bg-scene-panel{height:100%;min-height:0;grid-template-rows:minmax(0,1fr)}
 .bw-stage{min-height:0}
 .bg-cinematic .bg-console{height:100%;min-height:0;padding:18px 20px;display:flex;flex-direction:column}
 .bg-cinematic .bg-console-top{padding-bottom:12px;margin-bottom:14px;flex:none}
 .bg-cinematic .bg-console #bg-mission{display:flex;flex-direction:column;flex:1;min-height:0}
 .bg-cinematic #bg-mission h2{font-size:clamp(23px,3dvh,30px);margin:8px 0 10px}
 .bg-cinematic .bg-console .bg-lead{font-size:12px;line-height:1.55;margin-bottom:12px}
 .bg-cinematic .bg-console .bg-evidence-card{padding:10px 12px;min-height:68px;margin-bottom:10px}
 .bg-cinematic .bg-evidence-card strong{font-size:13px;margin:4px 0}
 .bg-cinematic .bg-evidence-card small,.bg-cinematic .bg-ai-advice span{font-size:8px}
 .bg-cinematic .bg-evidence-card em{font-size:10px}
 .bg-cinematic .bg-console .bg-ai-advice{padding:10px 12px;margin-bottom:12px}
 .bg-cinematic .bg-ai-advice strong{font-size:13px;margin-top:4px}
 .bg-cinematic .bg-actions{gap:8px;margin-top:auto}
 .bg-cinematic .bg-console .bg-primary,.bg-cinematic .bg-console .bg-secondary,.bg-cinematic .bg-risk,.bg-cinematic .bg-ai{min-height:44px;padding:10px 12px;font-size:12px;border-radius:12px}
 .bg-cinematic .bg-alternatives .bg-secondary{min-height:46px;font-size:11px}
 .bg-cinematic .bg-scenario-note{margin-top:12px;font-size:9px;line-height:1.4;flex:none}
 .bg-cinematic .bg-stage-caption{font-size:9px}
 .bw-receipt{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
 .bw-receipt>span{display:block;font-size:9px;padding:0 0 8px;line-height:1.5}
 .bw-receipt strong{display:block;text-align:left;font-size:10px;margin-top:4px}
 .bw-outcome-tag{margin:10px 0;padding:10px;font-size:9px}
 .bg-cinematic .bg-quiet{min-height:34px;font-size:11px;margin-top:6px}
 #bridge[data-game-stage=result] .bg-actions{display:grid;grid-template-columns:1fr 1fr}
 #bridge[data-game-stage=result][data-consequence=collapse] .bg-actions>button:first-child{grid-column:1/-1}
 #bridge[data-game-stage=result] .bg-actions>button:last-child{grid-column:auto}
 #bridge[data-game-stage=result] .bg-actions>button:only-child{grid-column:1/-1}
 .bw-keyline{font-size:12px;margin-top:12px;padding-top:12px}
 .bw-after-scene{margin-top:0;gap:14px}
 .bg-cinematic .bg-pipeline{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .bg-cinematic .bg-pipe-step{min-height:46px;padding:8px;gap:8px}
 .bg-cinematic .bg-pipe-step strong{font-size:11px}
 .bg-cinematic .bg-pipe-step small{font-size:9px;margin-top:2px}
 .bw-compare{min-height:44px;padding:10px 14px;font-size:11px}
 .bg-cinematic .bg-principles{padding:0;grid-template-columns:90px repeat(5,minmax(0,1fr));gap:8px}
 .bg-cinematic .bg-principles>span{grid-column:auto;display:block;font-size:10px}
 .bg-cinematic .bg-principles>span br{display:block}
 .bg-cinematic .bg-principles>button{min-height:40px;padding:8px;font-size:11px}
 body[data-screen=bridge] .bottom-nav{bottom:12px;padding:6px}
 body[data-screen=bridge] .bottom-nav a,body[data-screen=bridge] .bottom-nav button{min-height:44px;padding:10px 16px;font-size:11px}
 .bw-scene-bottom{bottom:20px}
 .bw-location{top:20px}
 .bw-world-alert{bottom:102px}
 .bw-world-alert strong{font-size:21px}
 .bw-world-alert small{font-size:11px}
}
@media(min-width:900px) and (min-height:600px) and (max-height:800px){
 body[data-screen=bridge] .ex-header{height:52px}
 body[data-screen=bridge] main{height:calc(100dvh - 52px);padding-bottom:78px}
 #bridge .bg-cinematic{grid-template-rows:auto minmax(0,1fr) auto;gap:8px}
 .bw-after-scene{display:none}
 .bg-cinematic .bg-heading p{display:none}
 .bg-cinematic .bg-heading h1{font-size:29px;margin:6px 0}
 .bg-cinematic .bg-console{padding:15px 18px}
 .bg-cinematic .bg-console-top{margin-bottom:10px;padding-bottom:10px}
 .bg-cinematic #bg-mission h2{font-size:25px;margin:7px 0 9px}
 .bg-cinematic .bg-console .bg-lead{margin-bottom:10px;font-size:12px}
 .bg-cinematic .bg-console .bg-evidence-card{min-height:60px;padding:9px 11px;margin-bottom:8px}
 .bg-cinematic .bg-console .bg-ai-advice{padding:9px 11px;margin-bottom:10px}
 .bg-cinematic .bg-scenario-note{margin-top:9px;font-size:8px}
 .bg-cinematic .bg-console .bg-actions{gap:7px}
 .bw-camera-nav{top:72px}
 .bw-camera-nav button{min-height:50px}
 
 body[data-screen=bridge] .bottom-nav{bottom:10px}
}
@media(min-width:1700px) and (min-height:1000px){
 body[data-screen=bridge] .ex-header{height:78px;font-size:16px}
 body[data-screen=bridge] main{height:calc(100dvh - 78px);padding-bottom:100px}
 .bg-cinematic .bg-scene-panel{grid-template-columns:minmax(0,1fr) 410px}
 .bg-cinematic .bg-console{padding:26px}
 .bg-cinematic #bg-mission h2{font-size:34px}
 .bg-cinematic .bg-console .bg-lead{font-size:15px;margin-bottom:20px}
 .bg-cinematic .bg-console .bg-primary,.bg-cinematic .bg-console .bg-secondary,.bg-cinematic .bg-ai{min-height:54px;font-size:14px;padding:14px 16px}
 .bg-cinematic .bg-evidence-card strong,.bg-cinematic .bg-ai-advice strong{font-size:16px}
 .bg-cinematic .bg-evidence-card em{font-size:12px}
 .bg-cinematic .bg-console .bg-evidence-card{min-height:88px;padding:16px}
 .bg-cinematic .bg-console .bg-ai-advice{padding:16px;margin-bottom:22px}
 .bg-cinematic .bg-scenario-note{font-size:11px}
 .bg-cinematic .bg-principles>button{min-height:48px;font-size:13px}
 .bg-cinematic .bg-pipe-step{min-height:58px}
 .bg-cinematic .bg-pipe-step strong{font-size:13px}
 .bg-cinematic .bg-pipe-step small{font-size:11px}
 .bw-camera-nav button{font-size:12px;min-height:62px}
 .bw-camera-nav{width:510px}
 .bw-world-status strong{font-size:14px}
 .bw-location strong{font-size:16px}
}
.bg-cinematic .bg-tools .bw-compare-head{display:none}
@media(min-width:900px) and (min-height:600px){.bg-cinematic .bg-scenario-note{display:none}}
@media(min-width:900px) and (min-height:600px) and (max-height:950px){
 #bridge .bg-cinematic{grid-template-rows:auto minmax(0,1fr) auto}
 .bw-after-scene{display:none}
 .bg-cinematic .bg-tools .bw-compare-head{display:flex;gap:8px}
 .bg-cinematic .bg-tools .bw-compare-head span{display:inline}
}
@media(min-width:900px) and (min-height:600px) and (max-height:700px){
 .bg-cinematic .bg-console-top{display:none}
 .bg-cinematic .bg-console .bg-lead{font-size:11px;line-height:1.45;margin-bottom:8px}
 .bg-cinematic #bg-mission h2{font-size:23px;margin:6px 0 8px}
 .bg-cinematic .bg-evidence-card strong{font-size:12px}
 .bg-cinematic .bg-console .bg-evidence-card{min-height:54px;padding:7px 10px;margin-bottom:8px}
 .bg-cinematic .bg-console .bg-ai-advice{padding:7px 10px;margin-bottom:8px}
 .bg-cinematic .bg-ai-advice strong{font-size:12px}
 .bg-cinematic .bg-console .bg-primary,.bg-cinematic .bg-console .bg-secondary,.bg-cinematic .bg-ai{min-height:44px;padding:8px 10px;font-size:11px}
 .bg-cinematic .bg-alternatives .bg-secondary{min-height:44px}
 .bw-receipt{margin:8px 0}
 .bw-outcome-tag{padding:8px;margin:8px 0}
}
@media(min-width:900px) and (min-height:600px) and (max-height:800px){.bg-cinematic .bg-console-top{display:none}}
@media(min-width:900px) and (min-height:600px) and (max-height:800px){
 #bridge[data-game-stage=result] #bg-mission h2{font-size:23px;margin:6px 0 8px}
 #bridge[data-game-stage=result] .bg-console .bg-lead{font-size:11.5px;line-height:1.5;margin-bottom:8px}
 #bridge[data-game-stage=result] .bw-outcome-tag{padding:8px;margin:8px 0}
 #bridge[data-game-stage=result] .bw-receipt{margin:8px 0;gap:8px}
 #bridge[data-game-stage=result] .bw-receipt>span{padding-bottom:6px}
 #bridge[data-game-stage=result] .bg-console .bg-actions .bg-primary,#bridge[data-game-stage=result] .bg-console .bg-actions .bg-secondary{padding:8px 10px;font-size:11px;line-height:1.3}
}
@media(min-width:900px) and (min-height:600px) and (max-height:680px){
 .bg-cinematic #bg-mission:has(.bg-evidence-card) .bg-lead{display:none}
 #bridge[data-game-stage=result] .bw-receipt,#bridge[data-game-stage=result] #bg-mission>.bg-quiet{display:none}
}
/* Keep outcome cards self-contained over accelerated WebGL canvases. */
.bw-world-alert{background:#1c3d30;backdrop-filter:none;-webkit-backdrop-filter:none;isolation:isolate;overflow:hidden;border-radius:16px;clip-path:inset(0 round 16px);box-shadow:0 8px 24px #142d2920}

@media(max-width:899px){.bw-controls .bw-keyboard-hint{display:none}}
@media(max-width:599px){
 .bw-world-alert{top:154px;bottom:auto;padding:11px 14px}
 .bw-world-alert>span{font-size:8px;margin-bottom:5px}
 .bw-world-alert>strong{font-size:17px;margin-bottom:0;line-height:1.3}
 .bw-world-alert>small{display:none}
}
@media(min-width:1200px) and (min-height:600px){.bw-camera-nav{top:20px;left:auto;right:20px;width:460px}}
@media(min-width:900px) and (min-height:600px) and (max-height:700px){.bw-world-alert>small{display:none}.bw-world-alert>strong{font-size:19px;line-height:1.3}}
@media(min-width:900px) and (min-height:600px) and (max-height:680px){
 #bridge .bg-cinematic{grid-template-rows:auto minmax(0,1fr)}
 .bg-cinematic .bg-principles{display:none}
 .bg-cinematic .bw-keyline{display:none}
}
