/* Exhibition Bridge: one world, one guided decision, five visible principles. */
#bridge{padding:22px 3vw 26px;--bg-ink:#173f46;--bg-muted:#5a7477;--bg-teal:#1c6667;--bg-cream:#fffdf6}
.bg-game{position:relative;max-width:1840px;margin:auto;color:var(--bg-ink)}
.bg-heading svg,.bg-pipeline svg,.bg-console svg,.bg-principles svg,.bg-lesson svg,.bg-game dialog svg{width:24px;height:24px;flex:none}
.bg-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}
.bg-heading h1{font-size:clamp(27px,2.7vw,46px);margin:9px 0 5px;line-height:1.1}
.bg-heading p{margin:0;color:var(--bg-muted);font-size:clamp(14px,1.1vw,20px)}
.bg-eyebrow{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.12em;font-weight:800;color:#567878}
.bg-live-dot{width:7px;height:7px;border-radius:50%;background:#448d7e;box-shadow:0 0 0 4px #448d7e12}
.bg-duration{font-size:9px;letter-spacing:.06em;padding:5px 8px;border:1px solid #b7d2c9;border-radius:6px;margin-left:6px}
.bg-tools{display:flex;gap:10px}
.bg-tools button{min-height:50px;min-width:50px;display:flex;align-items:center;gap:8px;justify-content:center;border:1px solid #c5d8d1;border-radius:13px;background:#fffdf8cf;color:var(--bg-ink);padding:10px 14px;font-size:13px;font-weight:800}
.bg-tools svg{width:20px;height:20px}
.bg-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,27%);gap:22px;align-items:stretch}
.bg-scene-panel{min-width:0;align-self:start;background:#fffdf6;border:1px solid #fffef6;border-radius:26px;overflow:hidden;box-shadow:0 15px 45px #254d4114,0 2px 4px #36574c08}
#bg-world{aspect-ratio:1672/941;width:100%}
#bg-world .bridge-diorama{border-radius:24px 24px 0 0}
#bg-world .bd-world{min-height:0}
.bg-pipeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:11px 14px}
.bg-pipe-step{position:relative;display:flex;align-items:center;gap:10px;min-height:61px;padding:8px 12px;text-align:left;background:transparent;border:0;border-radius:12px;color:#71888a}
.bg-pipe-step>svg{width:25px;height:25px}
.bg-pipe-step strong{display:block;font-size:14px;font-weight:800;color:#355f65;white-space:nowrap}
.bg-pipe-step small{display:block;font-size:10px;margin-top:3px;line-height:1.35;color:#71888a}
.bg-pipe-step[data-active=true]{color:#1d7472;background:#e4f1e8}
.bg-pipe-arrow{position:absolute;right:0;font-size:25px;font-weight:400;color:#bbcec8}
.bg-console{display:flex;flex-direction:column;min-width:0;border-radius:25px;padding:24px;color:#ecf7ee;background:linear-gradient(150deg,#244e51,#173b43);box-shadow:0 15px 35px #264d4715}
.bg-console-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:18px;border-bottom:1px solid #e0f6e820;margin-bottom:22px}
.bg-console-top>span{display:flex;align-items:center;gap:8px;font-size:9px;font-weight:800;letter-spacing:.12em;color:#abc9c6}
.bg-console-top svg{width:18px;height:18px}
.bg-progress{display:flex;gap:5px;list-style:none;margin:0;padding:0}
.bg-progress li{display:grid;place-items:center;width:23px;height:23px;border:1px solid #a3c4bb47;border-radius:50%;font-size:10px;font-weight:800;color:#9dbab7}
.bg-progress li[data-current=true]{background:#eac478;color:#294a45;border-color:#eac478}
.bg-progress li[data-done=true]{background:#629c83;color:#e6fff0;border-color:#629c83}
.bg-stage-caption{font-size:9px;font-weight:800;letter-spacing:.13em;color:#aad1c3;margin-bottom:10px}
#bg-mission{flex:1;min-height:0}
#bg-mission h2{font-size:clamp(24px,1.7vw,34px);line-height:1.16;letter-spacing:-.035em;margin:0 0 12px;color:#f3faef}
.bg-lead{font-size:clamp(13px,.92vw,17px);line-height:1.6;color:#bad2cc;margin:0 0 19px}
.bg-ai-advice{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #92bbac3d;border-left:3px solid #afd9c3;background:#ffffff07;border-radius:12px;margin:0 0 12px}
.bg-ai-advice>svg{width:22px;height:22px;color:#add8c3;margin-top:4px}
.bg-ai-advice span{font-size:8px;letter-spacing:.11em;color:#9cc0b7;display:block;font-weight:800}
.bg-ai-advice strong{display:block;font-size:15px;line-height:1.4;margin:6px 0;color:#edf9ed}
.bg-ai-advice small{font-size:11px;color:#a9c5bd;line-height:1.4;display:block}
.bg-ai-advice.is-updated{border-left-color:#e7bf72}
.bg-ai-advice.is-updated>svg{color:#e7bf72}
.bg-evidence-card{display:flex;align-items:center;gap:12px;padding:13px 14px;margin:0 0 18px;min-height:82px;border-radius:12px;border:1px solid #e3c9905e;background:#d7b8710c;color:#e6cc98;text-align:left;width:100%}
.bg-evidence-card>svg{width:25px;height:25px}
.bg-evidence-card>span{flex:1}
.bg-evidence-card small{display:block;font-size:8px;letter-spacing:.1em;color:#b8c8b9;font-weight:800}
.bg-evidence-card strong{display:block;font-size:14px;margin:4px 0 3px;color:#f2daac}
.bg-evidence-card em{font-style:normal;font-size:10px;color:#c3ccba;display:block;line-height:1.3}
.bg-evidence-card>b{font-size:19px;font-weight:400}
.bg-evidence-card.is-fresh{border-color:#9cd0b85e;color:#b9e2ca;background:#b6e4c408}
.bg-evidence-card.is-fresh strong{color:#dcf0dc}
.bg-actions{display:grid;gap:10px}
.bg-primary,.bg-secondary,.bg-quiet{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border-radius:13px;padding:14px 16px;min-height:59px;font-size:14px;font-weight:800;text-align:left;line-height:1.4}
.bg-primary{border:1px solid #ecce89;background:#efcd86;color:#233e3d;box-shadow:0 4px 15px #0d272b22}
.bg-primary:hover{background:#f6d996}
.bg-primary svg,.bg-secondary svg,.bg-quiet svg{width:20px;height:20px}
.bg-secondary{border:1px solid #9bc0b752;background:#ffffff04;color:#cee2d9}
.bg-secondary:hover{background:#c5ead910;border-color:#acd2bd}
.bg-quiet{background:transparent;border:0;justify-content:center;color:#b4d2c8;min-height:40px;font-size:12px}
.bg-quiet svg{display:none}
.bg-alternatives{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bg-alternatives button{min-height:50px;padding:10px 13px;font-size:12px}
.bg-alternatives svg{width:17px;height:17px}
.bg-scenario-note{font-size:8px;color:#85aaa5;margin:20px 0 0;text-align:center;line-height:1.4}
.bg-choice-notice{background:#ffffff05;border-radius:10px;padding:12px 14px;margin-bottom:12px;border-left:2px solid #e1be77}
.bg-choice-notice strong{display:block;font-size:13px;color:#f0deb6;margin-bottom:5px}
.bg-choice-notice span{display:block;font-size:11px;line-height:1.6;color:#bad2c8}
.bg-principles{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 4px 0}
.bg-principles>span{font-size:11px;line-height:1.4;color:#7a8c80;min-width:106px}
.bg-principles>span strong{font-weight:800;color:#345b55}
.bg-principles>button{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 15px;min-height:54px;background:#fffdf5b0;border:1px solid #d5e0d6;border-radius:13px;color:#365c5c;font-size:13px;font-weight:800;flex:1}
.bg-principles>button:hover,.bg-principles>button[aria-pressed=true]{background:#dcefe2;border-color:#83b5a1;color:#155d59}
.bg-principles svg{width:23px;height:23px;color:#629d8c}
.bg-principles i{width:5px;height:5px;background:#cbd7ce;border-radius:50%;margin-left:auto}
.bg-principles i[data-on=true]{background:#549b7b;box-shadow:0 0 0 3px #76b3981c}
.bg-principles>small{font-size:10px;line-height:1.5;width:112px;color:#7b9187;padding-left:6px}
.bg-lesson{position:absolute;z-index:15;bottom:79px;left:18px;width:min(650px,75%);padding:22px;border-radius:18px;background:#fffdf4f2;color:#345753;border:1px solid #b3cbb8;box-shadow:0 10px 35px #203e442e;backdrop-filter:blur(12px);display:flex;align-items:flex-start;gap:20px}
.bg-lesson>div{display:flex;gap:16px;flex:1}
.bg-lesson>div>svg{width:34px;height:34px;padding:6px;box-sizing:content-box;border-radius:12px;background:#e2f0df;color:#327867}
.bg-lesson small{display:block;color:#4d927f;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800;margin-bottom:5px}
.bg-lesson strong{display:block;font-size:19px;line-height:1.4}
.bg-lesson p{font-size:13px;line-height:1.6;margin:8px 0 0;color:#627b6e}
.bg-lesson>button,.bg-dialog-close{display:grid;place-items:center;min-width:42px;min-height:42px;border:1px solid #bdd1c5;border-radius:50%;background:transparent;color:#496c5e;padding:7px}
.bg-game dialog{color:#35534d;background:#fffdf5;border:1px solid #afcbbd;border-radius:24px;padding:38px;max-width:570px;width:calc(100% - 32px);box-shadow:0 24px 100px #153d455c}
.bg-game dialog::backdrop{background:#102f3a70;backdrop-filter:blur(5px)}
.bg-game dialog h2{font-size:29px;line-height:1.15;letter-spacing:-.035em;margin:18px 0 24px;color:#204c4d}
.bg-dialog-close{position:absolute;right:15px;top:15px}
.bg-paper-date{font-size:12px;font-weight:800;color:#96682e;border:1px solid #ddc69e;border-radius:8px;padding:12px;background:#f5ebd1;margin-bottom:24px}
.bg-paper-date.is-fresh{background:#e5f0df;border-color:#b4cdae;color:#446d4b}
.bg-report-paper dt{font-size:10px;letter-spacing:.1em;font-weight:800;text-transform:uppercase;color:#729077;margin-bottom:6px}
.bg-report-paper dd{margin:0 0 22px;font-size:17px;line-height:1.6;color:#3c6058}
.bg-report-paper p{font-size:12px;color:#79917f;border-top:1px solid #d9e2d2;padding-top:16px;margin-bottom:24px}
#bg-record-history{padding-left:21px;font-size:14px;line-height:1.6;max-height:44vh;overflow:auto;margin-bottom:25px}
#bg-record-history li{padding:0 0 14px 5px}
.bg-result-badge{display:flex;align-items:center;gap:7px;font-size:9px;color:#b3dbbd;font-weight:800;letter-spacing:.1em;margin-bottom:15px}
.bg-result-badge svg{width:21px;height:21px;padding:3px;background:#70a38925;border-radius:50%}
.bg-receipt{background:#ffffff06;border:1px solid #bce0c622;border-radius:14px;padding:4px 14px;margin:0 0 15px}
.bg-receipt>div{display:flex;justify-content:space-between;gap:12px;padding:13px 0;font-size:11px;border-bottom:1px solid #bddecb17}
.bg-receipt>div:last-child{border:0}
.bg-receipt span{color:#98bbb0}
.bg-receipt strong{text-align:right;color:#ddeddd;font-weight:700}
.bg-result-impact{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.6;color:#bdd0c0;margin-bottom:20px}
.bg-result-impact svg{width:20px;height:20px;color:#a4cbb7}
.bg-phone-link{border:0;background:transparent;color:#b4d6c3;font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:4px;width:100%;min-height:42px;margin-top:7px}
.bg-key-idea{display:flex;align-items:flex-start;gap:12px;border-top:1px solid #bdddc52b;padding-top:20px;margin-top:25px;font-size:14px;color:#c9decc;line-height:1.5}
.bg-key-idea svg{width:21px;height:21px;color:#efcd86}
.bg-load-line{height:5px;background:#759b9536;border-radius:10px;overflow:hidden;margin-top:22px}
.bg-load-line i{display:block;width:0;height:100%;background:#eac880;border-radius:10px}
.bg-wait-label{text-align:center;color:#a5c6b7;font-size:11px;margin-top:12px}
.bg-inspection-visual{position:relative;width:150px;height:150px;border-radius:50%;display:grid;place-items:center;margin:30px auto;background:radial-gradient(#597b6e25,transparent 70%)}
.bg-inspection-visual>svg{width:60px;height:60px;color:#eaca8a}
.bg-orbit{position:absolute;inset:5px;border:1px dashed #afd2be45;border-radius:50%;animation:bg-orbit 14s linear infinite}
.bg-orbit:before{content:'';position:absolute;top:0;left:50%;width:8px;height:8px;background:#eaca8a;border-radius:50%}
.bg-command-link{display:flex;align-items:center;justify-content:space-around;gap:14px;padding:35px 5px;margin:30px 0;background:#ffffff04;border-radius:15px}
.bg-command-link>span{display:grid;justify-items:center;gap:8px;font-size:12px;color:#c0d9c7}
.bg-command-link svg{width:35px;height:35px;color:#eaca8a}
.bg-command-dots{flex:1;height:2px;background:repeating-linear-gradient(90deg,#d3dbb8 0 4px,transparent 4px 13px);opacity:.65;animation:bg-dots 1s linear infinite}
.bg-game[data-playing=false] .bg-orbit,.bg-game[data-playing=false] .bg-command-dots{animation-play-state:paused}
.bridge-preview img{object-fit:cover;padding:0}
@keyframes bg-orbit{to{transform:rotate(360deg)}}
@keyframes bg-dots{to{background-position:13px 0}}
@media(min-width:1600px){#bridge{padding-top:30px}.bg-console{padding:30px}.bg-console-top{margin-bottom:28px}.bg-ai-advice{padding:20px;margin-bottom:16px}.bg-ai-advice strong{font-size:18px}.bg-ai-advice span{font-size:10px}.bg-ai-advice small{font-size:13px}.bg-evidence-card{padding:18px;min-height:105px;margin-bottom:24px}.bg-evidence-card strong{font-size:18px}.bg-evidence-card small{font-size:10px}.bg-evidence-card em{font-size:12px}.bg-primary,.bg-secondary{font-size:17px;min-height:68px}.bg-alternatives button{font-size:15px;min-height:60px}.bg-stage-caption{font-size:11px}.bg-console-top>span{font-size:11px}.bg-scenario-note{font-size:10px}.bg-principles>button{font-size:16px;min-height:67px}.bg-principles>span{font-size:14px;min-width:125px}.bg-principles>small{font-size:12px;width:135px}.bg-pipe-step strong{font-size:16px}.bg-pipe-step small{font-size:12px}.bg-pipeline{padding:15px}.bg-choice-notice strong{font-size:16px}.bg-choice-notice span,.bg-result-impact{font-size:13px}.bg-receipt>div{font-size:13px;padding:16px 0}}
@media(min-width:851px) and (max-height:850px){#bridge{padding:15px 2vw 20px}.bg-heading{margin-bottom:14px}.bg-heading h1{font-size:28px;margin:8px 0 3px}.bg-heading p{font-size:13px}.bg-eyebrow{font-size:9px}.bg-duration{font-size:8px}.bg-layout{grid-template-columns:minmax(0,1fr) minmax(330px,31%);gap:16px}.bg-console{padding:18px}.bg-console-top{padding-bottom:12px;margin-bottom:16px}.bg-stage-caption{font-size:8px;margin-bottom:8px}#bg-mission h2{font-size:23px;margin-bottom:10px}.bg-lead{font-size:12px;margin-bottom:13px}.bg-ai-advice{padding:12px;margin-bottom:10px}.bg-ai-advice strong{font-size:13px}.bg-ai-advice small{font-size:10px}.bg-evidence-card{min-height:70px;margin-bottom:14px;padding:10px 12px}.bg-evidence-card strong{font-size:13px}.bg-primary{min-height:51px;font-size:12px;padding:11px 14px}.bg-alternatives button{min-height:46px;font-size:11px}.bg-scenario-note{margin-top:13px;font-size:8px}.bg-principles{padding-top:14px;gap:9px}.bg-principles>button{font-size:12px;min-height:49px;padding:10px}.bg-principles>small{display:none}.bg-principles>span{font-size:10px;min-width:90px}.bg-pipeline{padding:8px}.bg-pipe-step{min-height:53px;padding:7px;gap:7px}.bg-pipe-step strong{font-size:11px}.bg-pipe-step small{font-size:9px}.bg-pipe-step>svg{width:21px;height:21px}.bg-tools button{min-height:45px;min-width:45px;font-size:11px}.bg-choice-notice{padding:10px;margin-bottom:10px}.bg-choice-notice span{font-size:10px}.bg-actions{gap:8px}.bg-receipt>div{font-size:10px;padding:10px 0}.bg-result-impact{font-size:10px;margin-bottom:15px}.bg-result-badge{font-size:8px}.bg-secondary{min-height:47px;font-size:12px}.bg-inspection-visual{margin:20px auto;width:120px;height:120px}.bg-lesson{bottom:62px}}
@media(max-width:1000px){.bg-layout{grid-template-columns:minmax(0,1fr) 330px}.bg-pipe-step small{display:none}.bg-pipe-step{justify-content:center}.bg-pipe-step>svg{width:21px;height:21px}.bg-pipe-step strong{font-size:10px}.bg-principles>small{display:none}.bg-principles>button{gap:5px;padding:9px}.bg-principles>button i{display:none}.bg-principles>span{min-width:85px}}
@media(max-width:850px){#bridge{padding:20px}.bg-layout{grid-template-columns:1fr}.bg-console{max-width:none;padding:25px}.bg-console-top{margin-bottom:20px}.bg-console-top>span{font-size:11px}.bg-heading{align-items:flex-start}.bg-heading h1{font-size:30px}.bg-heading p{font-size:14px}.bg-heading .bg-duration{display:none}.bg-tools button span{display:none}.bg-tools{gap:6px}.bg-principles{flex-wrap:wrap;justify-content:flex-start}.bg-principles>span{width:100%;display:flex;gap:5px}.bg-principles>span br{display:none}.bg-principles>button{font-size:12px;min-height:52px}.bg-lesson{position:fixed;bottom:90px;left:20px;width:calc(100% - 40px)}.bg-pipeline{padding:10px}.bg-pipe-step{flex-direction:column;gap:4px}.bg-pipe-step strong{font-size:11px}.bg-lead{font-size:15px}.bg-primary,.bg-secondary{min-height:58px;font-size:15px}.bg-evidence-card em{font-size:12px}.bg-game dialog{padding:30px}.bg-game dialog h2{font-size:25px}}
@media(max-width:500px){#bridge{padding:16px 12px}.bg-heading{gap:10px}.bg-heading h1{font-size:25px}.bg-tools{flex-direction:column}.bg-eyebrow{font-size:8px;letter-spacing:.07em}.bg-heading p{font-size:12px}.bg-pipe-step strong{font-size:9px}.bg-principles>button{min-width:30%;flex:1}.bg-principles>button svg{width:19px;height:19px}.bg-console{padding:21px}.bg-lesson>div>svg{display:none}.bg-lesson{padding:18px}.bg-lesson strong{font-size:17px}.bg-lesson p{font-size:12px}.bg-game dialog .bg-eyebrow{max-width:75%}}
@media(prefers-reduced-motion:reduce){.bg-game *, .bg-game *::before{animation:none!important;transition:none!important}}

/* Keep the artwork at its native ratio while fitting one landscape screen. */
@media(min-width:851px){
 .bg-game{max-width:min(1840px,calc((100dvh - 450px)*2.435 + 30px))}
 .bg-scene-panel{position:relative}
 .bg-pipeline{position:absolute;left:10px;right:10px;bottom:10px;z-index:10;border:1px solid #ffffffb0;background:#fffdf2e8;backdrop-filter:blur(14px);border-radius:17px;padding:7px}
 #bg-world .bridge-diorama{border-radius:24px}
 .bg-console{height:calc(100dvh - 450px);overflow:hidden}
 #bg-mission{overflow:auto;scrollbar-width:thin;scrollbar-color:#77988a transparent;padding-right:2px}
 .bd-scene-caption{bottom:18%}
 .bd-gate-hotspot{bottom:25%}
 .bg-principles{padding-top:18px}
}
@media(min-width:851px) and (max-height:850px){
 .bg-game{max-width:min(1600px,calc((100dvh - 345px)*1.777 + 346px))}
 .bg-layout{grid-template-columns:minmax(0,1fr) 330px}
 .bg-console{height:calc(100dvh - 345px)}
 .bg-principles{padding-top:14px}
 .bd-scene-caption{bottom:22%}
 .bd-gate-hotspot{bottom:35%}
 .bd-hotspot,.bd-gate-hotspot{min-height:44px;padding:8px 10px;font-size:11px}
 .bd-access-cue{display:none}
}
@media(min-width:1600px){
 .bg-console{padding:23px}
 .bg-console-top{padding-bottom:15px;margin-bottom:18px}
 .bg-ai-advice{padding:14px;margin-bottom:12px}
 .bg-ai-advice strong{font-size:16px;margin:5px 0}
 .bg-ai-advice small{font-size:11px}
 .bg-evidence-card{padding:13px;min-height:83px;margin-bottom:17px}
 .bg-evidence-card strong{font-size:16px}
 .bg-evidence-card em{font-size:11px}
 .bg-primary{min-height:61px;font-size:16px}
 .bg-alternatives button{min-height:52px;font-size:14px}
 .bg-lead{font-size:15px;margin-bottom:15px}
 .bg-scenario-note{margin-top:14px}
}
.bg-report-link{background:transparent;border:0;padding:4px 0 12px;min-height:40px;color:#d6d4b5;font-size:12px;text-align:left;text-decoration:underline;text-underline-offset:4px}
.bg-game[data-playing=false] .bg-orbit,.bg-game[data-playing=false] .bg-command-dots{animation-play-state:paused}
@media(min-width:851px) and (max-height:600px){.bg-game{max-width:none}.bg-console{height:460px}.bg-layout{grid-template-columns:minmax(0,1fr) 330px}}
@media(min-width:851px) and (min-height:601px) and (max-height:850px){
 .bg-heading p{display:none}
 .bg-game{max-width:min(1600px,calc((100dvh - 325px)*1.777 + 346px))}
 .bg-console{height:calc(100dvh - 325px)}
 .bg-lead{display:none}
 #bg-mission h2{margin-bottom:7px}
 .bg-ai-advice{padding:10px;margin-bottom:8px}
 .bg-evidence-card{min-height:60px;margin-bottom:8px}
 .bg-console:has(.bg-alternatives) .bg-evidence-card{display:none}
 .bg-actions{position:sticky;bottom:0;z-index:1;background:#1b3f46;padding-top:7px;box-shadow:0 -8px 15px #1b3f4655}
 .bg-pipeline small{display:none}
}
@media(max-width:650px){body:has(#bridge:not([hidden])) .bottom-nav button{flex-direction:column;gap:4px;font-size:.6rem;padding:8px;margin-left:0}}
