/* Neutral gray palette from the R1 site. Quiet exhibition UI: navigation on request, one contextual action. */
:root{--ui-bg:#1c1c1c;--ui-surface:#262626;--ui-accent:#d9d9d9;--ui-accent-ink:#1c1c1c;--ui-border:#ffffff26;--ui-text:#f9f9f9;--ui-muted:#b5b5b5}
.app-header{height:68px;padding:0 26px;background:#1c1c1c;border-bottom:1px solid #ffffff12;gap:20px}
.brand img{width:113px;max-height:47px}.header-title{gap:0}.header-title h1{font-size:12px;letter-spacing:2px;font-weight:500;margin:0;color:#f9f9f9}.header-title h1 span{color:var(--ui-accent)}.back-link{font-size:11px;color:#b5b5b5}.back-link span{font-size:16px}
#experience{height:calc(100svh - 68px);min-height:440px}#experience .scene-vignette{background:none}
#experience .view-tools{flex-direction:row;width:auto;max-width:none;position:absolute;top:20px;left:24px;right:auto;bottom:auto;transform:none;margin:0;padding:4px;background:#1c1c1ceb;border:1px solid var(--ui-border);box-shadow:0 5px 20px #0002;border-radius:12px;z-index:6;backdrop-filter:blur(16px)}
#experience .view-tools button{font-size:11px;padding:10px 13px;border-radius:8px;color:#b5b5b5;min-height:37px}#experience .view-tools button span{display:none}#experience .view-tools button.selected{background:var(--ui-accent);color:#1c1c1c}
#experience .station-menu-toggle{position:absolute;top:20px;right:24px;z-index:8;display:flex;align-items:center;gap:10px;min-height:47px;padding:9px 14px;border:1px solid var(--ui-border);border-radius:12px;background:#1c1c1ceb;color:var(--ui-text);box-shadow:0 5px 20px #0002;backdrop-filter:blur(16px);font-size:12px}
.station-menu-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.2}.station-menu-toggle b{font-size:10px;font-weight:400;color:var(--ui-accent);background:#d9d9d912;padding:4px 6px;border-radius:5px}.station-menu-toggle[aria-expanded=true]{border-color:#d9d9d970;background:#262626}
#experience .station-panel{position:absolute;top:78px;right:24px;left:auto;bottom:auto;width:310px;max-height:calc(100% - 102px);padding:16px;overflow-y:auto;background:#1c1c1cf5;border:1px solid #666666;border-radius:16px;box-shadow:0 18px 50px #0005;z-index:9;backdrop-filter:blur(20px)}
#experience .panel-heading{display:flex!important;justify-content:space-between;align-items:center;border:0;padding:0 0 10px;font-size:9px;letter-spacing:1.3px;color:#b5b5b5}#station-menu-close{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#ffffff08;color:var(--ui-accent);font-size:12px}
#experience #station-list{display:flex;flex-direction:column;gap:4px;overflow:visible;width:100%;max-height:none;scrollbar-width:thin}
#experience .station-button,#experience .station-button:first-child{display:flex;flex:initial;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:50px;padding:7px 10px;border:0;border-radius:9px;background:none;text-align:left;color:#e6e6e6}
#experience .station-button .activation-icon{display:block;flex-shrink:0;width:31px;height:34px;object-fit:contain}#experience .station-button .station-number,#experience .station-button .station-text small,#experience .station-button .station-arrow{display:none}
#experience .station-button .station-text{display:block;text-align:left}#experience .station-button .station-text strong{font-size:12px;font-weight:400;line-height:1.3;color:inherit}#experience .station-button:hover,#experience .station-button.active,#experience .station-button:first-child:hover{background:#ffffff0b;color:#f9f9f9}#experience .station-button.active{box-shadow:inset 2px 0 var(--ui-accent)}
#experience .passport,body.walking #experience .passport{position:relative;top:auto;left:auto;right:auto;bottom:auto;transform:none;display:flex;align-items:center;gap:10px;width:100%;margin-top:13px;padding:14px 10px 18px;border:0;border-top:1px solid #ffffff18;border-radius:0;background:none;box-shadow:none;color:#e6e6e6;overflow:hidden}
#experience .passport-icon{display:none}#experience .passport-copy{display:block;min-width:0;flex:1}#experience .passport-copy strong{display:block;font-size:11px;font-weight:400}#experience .passport-copy span{display:block;font-size:10px;margin-top:4px;color:#b5b5b5}#experience .passport button{margin-left:auto;display:grid;place-items:center;width:32px;height:32px;color:var(--ui-accent)}#experience .passport-track{height:2px;left:10px;right:10px;background:#ffffff10}#experience .passport-track>div{background:var(--ui-accent)}
#experience .menu-utilities{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:14px}#experience #venue-preview{position:static;transform:none;white-space:normal;max-width:140px;background:none;color:#b5b5b5;border:0;padding:4px 0;letter-spacing:0;font-size:10px;text-align:left;line-height:1.4}
#experience .utility-buttons{display:flex;gap:4px}#experience .utility-buttons button{width:32px;height:32px;border:0;background:#ffffff08;color:var(--ui-accent);border-radius:8px;font-size:16px}#experience .utility-buttons button:hover,#station-menu-close:hover{background:#ffffff15}
#experience .bottom-tools{position:absolute;left:24px;bottom:23px;top:auto;right:auto;height:auto;max-width:calc(100% - 48px);padding:0;border:0;background:none;backdrop-filter:none;pointer-events:none;z-index:3}#experience .controls-hint{font-size:10px;color:#b5b5b5;gap:7px;text-shadow:0 1px 5px #000}#experience .controls-hint kbd{font-size:9px;padding:2px 4px;border-color:#b5b5b588}#experience .control-separator{margin:0 3px;color:#999999}
#experience #activation-action{position:absolute;top:auto!important;right:auto!important;left:50%!important;bottom:22px!important;transform:translateX(-50%)!important;display:flex;flex-direction:row!important;align-items:center!important;gap:20px!important;width:auto!important;max-width:calc(100% - 48px);min-height:64px;padding:10px 12px 10px 15px;border-radius:14px!important;border:1px solid #ffffff30;background:#1c1c1cf2;box-shadow:0 12px 28px #0003;z-index:5;backdrop-filter:blur(15px)}
#experience #activation-action:after{display:none}#experience #focused-activation{display:flex;align-items:center;gap:10px;min-width:0}#experience #focused-activation .activation-icon{width:30px;height:35px;flex-shrink:0}#experience #focused-activation small{display:block;font-size:7px;letter-spacing:1.3px;color:#b5b5b5;margin-bottom:4px}#experience #focused-activation strong{display:block;font-size:12px;line-height:1.25;font-weight:400;white-space:nowrap}#experience #activation-action .primary{padding:12px 14px;background:var(--ui-accent);color:#262626;font-size:11px;min-height:42px;border-radius:8px;white-space:nowrap;flex-shrink:0;max-width:none;transform:none;min-width:94px}
body.walking #experience .bottom-tools{bottom:103px}#experience #toast{bottom:105px;border:1px solid #ffffff20;border-radius:10px;background:#1c1c1cf5;font-size:11px;max-width:380px;padding:10px 15px}
#experience #touch-controls{display:none}
.case-library{margin-top:13px;border-top:1px solid #ffffff12;padding-top:12px}.case-library summary{cursor:pointer;font-size:11px;color:var(--ui-accent);display:flex;align-items:center;justify-content:space-between;list-style:none}.case-library summary::-webkit-details-marker{display:none}.case-library summary:after{content:'+';font-size:18px;color:var(--ui-accent)}.case-library[open] summary:after{content:'−'}.case-library summary span{margin-left:auto;margin-right:12px;font-size:9px;color:#999999}.case-library .showcase-rail{margin-top:14px}.showcase-tags span{border-color:#ffffff20;font-size:9px}.showcase-heading .showcase-case-label{border:0;padding-right:0;color:#b5b5b5}
/* High contrast brand loading, shared with the darker exhibition shell. */
#loading{position:fixed;inset:0;z-index:50;background:radial-gradient(ellipse at 50% 44%,#444444 0%,#1c1c1c 43%,#1c1c1c 100%);color:#f9f9f9;gap:0;padding:32px;text-align:center}
#loading .loading-inner{width:min(100%,380px)}#loading .loading-logo{display:block;width:148px;height:110px;object-fit:contain;margin:0 auto 31px}#loading .loading-kicker{font-size:9px;letter-spacing:3px;color:var(--ui-accent);margin:0 0 16px}#loading h2{font-size:35px;line-height:1.16;letter-spacing:-1px;font-weight:400;margin:0 0 32px}#loading .loading-track{width:240px;max-width:100%;height:3px;margin:auto;border-radius:3px;overflow:hidden;background:#ffffff14}#loading-progress{display:block;width:12%;height:100%;border-radius:3px;background:var(--ui-accent);box-shadow:0 0 18px #d9d9d933;transition:width .35s ease}#loading #loading-detail{font-size:12px;color:#b5b5b5;line-height:1.6;margin:16px 0 0;min-height:20px}#loading .loading-signature{position:absolute;bottom:32px;left:24px;right:24px;font-size:8px;letter-spacing:2px;color:#999999}
#entry-choice{background:#1c1c1c;border-color:#555555}#entry-choice::backdrop{background:#1c1c1cbf}.entry-options button{background:#444444;border-color:#666666}
@media(min-width:1100px){body.walking #experience .bottom-tools{bottom:31px}#experience .controls-hint{font-size:10px}}
@media(max-width:760px){
 .app-header{height:58px;padding:0 16px;gap:12px}.brand img{width:91px;max-height:39px}.header-title h1{font-size:9px;letter-spacing:1.5px}.back-link{font-size:0;gap:0}.back-link span{font-size:19px}
 #experience{height:calc(100svh - 58px);min-height:380px}#experience .view-tools{left:12px;top:12px;padding:3px;border-radius:10px}#experience .view-tools button{padding:8px 10px;min-height:34px;font-size:10px}
 #experience .station-menu-toggle{top:12px;right:12px;min-height:42px;padding:8px 10px;gap:7px;border-radius:10px;font-size:11px}.station-menu-toggle svg{width:15px;height:15px}
 #experience .station-panel{top:63px;right:12px;left:auto;bottom:auto;width:min(310px,calc(100% - 24px));max-height:calc(100% - 77px);padding:13px}#experience .station-button,#experience .station-button:first-child{min-height:46px;padding:6px 9px;flex-direction:row;gap:11px}#experience .station-button .station-text strong{font-size:12px}
 #experience .passport{width:100%;top:auto;bottom:auto;padding:12px 9px 16px;margin-top:9px}#experience .passport-copy strong{display:block}#experience .passport-copy span{margin-top:4px;font-size:10px}
 #experience .bottom-tools{left:16px;bottom:17px}#experience .controls-hint{font-size:9px}body.walking #experience .bottom-tools{display:none}
 body.walking #experience #touch-controls{display:block;left:12px;bottom:16px}#experience #touch-controls button{background:#262626e8;color:#e6e6e6;border:1px solid #ffffff30;width:35px;height:35px;margin:2px;border-radius:9px;font-size:17px}
 #experience #activation-action{left:auto!important;right:12px!important;bottom:19px!important;top:auto!important;transform:none!important;max-width:calc(100% - 150px);width:220px!important;min-height:64px;padding:10px!important;gap:8px!important;flex-direction:column!important;align-items:stretch!important}#experience #focused-activation{gap:7px}#experience #focused-activation .activation-icon{width:22px;height:26px}#experience #focused-activation small{display:none}#experience #focused-activation strong{font-size:11px;white-space:normal}#experience #activation-action .primary{font-size:10px;min-height:34px;padding:9px 12px;width:100%;max-width:none;border-radius:7px}
 body.playing-game #experience #activation-action{left:50%!important;right:auto!important;top:auto!important;bottom:15px!important;transform:translateX(-50%)!important;max-width:calc(100% - 32px);width:auto!important;flex-direction:row!important;align-items:center!important;gap:12px!important}body.playing-game #experience #focused-activation .activation-icon{display:none}body.playing-game #experience #activation-action .primary{width:auto}
 #experience #toast{bottom:126px;max-width:calc(100% - 32px);font-size:10px}#loading h2{font-size:30px}#loading .loading-logo{width:135px;height:100px}
 .showcase-heading .showcase-case-label{font-size:7px}.case-library .showcase-rail{margin-top:12px}
}
@media(prefers-reduced-motion:reduce){#loading-progress{transition:none}}

#experience .controls-hint{padding:7px 9px;border-radius:8px;background:#1c1c1ca8;backdrop-filter:blur(8px)}

/* Overview is an annotated map; the walking interface remains quiet. */
#overview-guide{display:none}
body.overviewing #experience #world,body.overviewing #experience #station-labels{left:0;right:0;top:0;bottom:0}
body.overviewing.station-menu-open #experience #world,body.overviewing.station-menu-open #experience #station-labels{right:354px}
body.overviewing #experience #station-labels{display:block;z-index:4;pointer-events:none}
#station-connectors{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}#station-connectors line{stroke:#d9d9d970;stroke-width:1;stroke-dasharray:3 3}
body.overviewing #experience .world-label{display:grid;place-items:center;width:44px;height:48px;padding:5px;border-radius:12px;border:1px solid #b5b5b580;background:#1c1c1cf2;box-shadow:0 5px 18px #0005;transform:translate(-50%,-100%);pointer-events:auto;transition:opacity .15s,border-color .15s}
body.overviewing #experience .world-label .activation-icon{width:31px;height:35px;object-fit:contain}body.overviewing #experience .world-label b{position:absolute;right:-6px;bottom:-4px;min-width:19px;height:19px;border-radius:6px;font-size:9px;background:var(--ui-accent);color:#262626;border:2px solid #1c1c1c}
body.overviewing #experience .world-label:after{display:none}body.overviewing #experience .world-label-arrow{display:none}
body.overviewing #experience .world-label-name{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);padding:7px 10px;border:1px solid #ffffff28;border-radius:7px;background:#1c1c1cf5;white-space:nowrap;font-size:11px;opacity:0;pointer-events:none}
body.overviewing #experience .world-label:hover,body.overviewing #experience .world-label:focus-visible,body.overviewing #experience .world-label.is-highlighted{border-color:var(--ui-accent);background:#444444;z-index:150!important}
body.overviewing #experience .world-label:hover .world-label-name,body.overviewing #experience .world-label:focus-visible .world-label-name,body.overviewing #experience .world-label.is-highlighted .world-label-name{opacity:1}
body.overviewing #overview-guide{display:block;position:absolute;left:24px;top:94px;width:260px;z-index:5;color:#f9f9f9;pointer-events:none}#overview-guide .overview-eyebrow{font-size:8px;letter-spacing:1.5px;color:var(--ui-accent)}#overview-guide h2{font-size:30px;letter-spacing:-1px;line-height:1.08;font-weight:400;margin:15px 0}#overview-guide p{font-size:12px;line-height:1.65;color:#b5b5b5;margin:0;max-width:235px}.overview-instruction{display:flex;gap:8px;align-items:center;margin-top:18px;font-size:10px;color:var(--ui-accent)}.overview-instruction>span{color:var(--ui-accent);font-size:16px}#overview-start{pointer-events:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;margin-top:18px;padding:10px 13px;border-radius:8px;background:#d9d9d912;border:1px solid #d9d9d950;color:#e6e6e6;font-size:10px;text-align:left}#overview-start:hover{background:#d9d9d924}
body.overviewing #experience .station-button .station-text small{display:block;font-size:9px;line-height:1.3;color:#b5b5b5;margin-top:3px}body.overviewing #experience .station-button .station-number{display:grid;place-items:center;order:-1;width:20px;height:23px;border:0;background:none;color:#b5b5b5;font-size:9px;flex-shrink:0}body.overviewing #experience .station-button{gap:9px;min-height:56px}body.overviewing #experience .station-button.is-highlighted{background:#d9d9d914;box-shadow:inset 2px 0 var(--ui-accent)}body.overviewing #experience .station-button .activation-icon{width:28px;height:31px}
@media(min-width:1600px){body.overviewing #experience #world,body.overviewing #experience #station-labels{left:280px}body.overviewing #overview-guide{top:112px;width:235px}#overview-guide h2{font-size:34px}}
@media(min-width:761px) and (max-width:1199px){body.overviewing.station-menu-open #experience #world,body.overviewing.station-menu-open #experience #station-labels{right:306px}body.overviewing #experience .station-panel{width:270px;right:18px}body.overviewing #overview-guide{top:88px;width:255px}#overview-guide h2{font-size:25px;margin:12px 0}#overview-guide p{font-size:11px;max-width:250px}#overview-guide .overview-instruction{margin-top:11px}#overview-start{margin-top:11px}body.overviewing #experience .station-button{padding:6px;gap:6px}body.overviewing #experience .station-button .station-text strong{font-size:11px}}
@media(max-width:760px){
 body.overviewing #experience #world,body.overviewing #experience #station-labels{left:0;right:0;top:140px;bottom:40px}
 body.overviewing.station-menu-open #experience #world,body.overviewing.station-menu-open #experience #station-labels{left:0;right:0;top:140px;bottom:270px}
 body.overviewing #overview-guide{left:16px;right:16px;top:68px;width:auto}body.overviewing #overview-guide .overview-eyebrow{font-size:7px}body.overviewing #overview-guide h2{font-size:22px;margin:8px 0}body.overviewing #overview-guide p{font-size:10px;max-width:310px;line-height:1.45}body.overviewing #overview-guide .overview-instruction,body.overviewing #overview-start{display:none}
 body.overviewing #experience .station-panel{left:12px;right:12px;top:auto;bottom:12px;width:auto;max-height:245px;padding:10px 11px}body.overviewing #experience .panel-heading{padding-bottom:5px;font-size:8px}body.overviewing #experience #station-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}body.overviewing #experience .station-button,body.overviewing #experience .station-button:first-child{min-height:43px;padding:5px 4px;gap:6px}body.overviewing #experience .station-button .station-number{width:14px;font-size:8px}body.overviewing #experience .station-button .activation-icon{width:23px;height:28px}body.overviewing #experience .station-button .station-text strong{font-size:9px}body.overviewing #experience .station-button .station-text small{display:none}body.overviewing #experience .passport{margin-top:8px}
 body.overviewing #experience .world-label{width:32px;height:37px;padding:3px;border-radius:9px}body.overviewing #experience .world-label .activation-icon{width:24px;height:28px}body.overviewing #experience .world-label b{min-width:16px;height:16px;font-size:7px;right:-5px;bottom:-4px}body.overviewing #experience .world-label-name{font-size:9px}
 body.overviewing #experience .bottom-tools{display:none}
}

body.overviewing #experience .world-label[data-behind="true"]{opacity:0;pointer-events:none}

@media(min-width:761px) and (max-width:1599px){
 body.overviewing #experience #world,body.overviewing #experience #station-labels{top:250px;bottom:45px}
 body.overviewing #overview-guide{top:88px;width:260px}body.overviewing #overview-guide h2{font-size:25px;margin:12px 0}body.overviewing #overview-guide p{font-size:11px;max-width:260px}body.overviewing #overview-guide .overview-instruction{margin-top:11px}body.overviewing #overview-start{margin-top:11px}
}

@media(max-width:760px){body.overviewing #experience #station-list .station-button{grid-column:auto}}

/* Graphics compatibility: a clear choice before any scene assets are loaded. */
#graphics-choice{width:min(620px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box;padding:32px;border:1px solid #666666;border-radius:22px;background:#1c1c1c;color:var(--ui-text);box-shadow:0 24px 80px #0007}
#graphics-choice::backdrop{background:#1c1c1ce8}
#graphics-choice .entry-logo{width:80px;height:58px;margin-bottom:20px}
#graphics-choice .eyebrow,#light-experience .eyebrow{color:var(--ui-accent);font-size:10px;letter-spacing:1.5px}
#graphics-choice h2{font-size:32px;line-height:1.15;letter-spacing:-.7px;margin:16px 0}
#graphics-choice p{font-size:14px;line-height:1.7;color:var(--ui-muted)}
.graphics-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.graphics-actions button{font:inherit;font-size:13px;min-height:48px;cursor:pointer}
.graphics-actions .primary{display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:var(--ui-accent);color:#1c1c1c;padding:12px 20px}
.graphics-actions .primary span{font-size:10px;font-weight:400;opacity:.75;color:inherit}
.graphics-actions .secondary,#graphics-notice .secondary{color:#e6e6e6;border-color:#828282}
#graphics-choice details{border-top:1px solid #ffffff24;padding-top:18px;font-size:13px;color:var(--ui-accent)}
#graphics-choice summary{cursor:pointer;line-height:1.5}
#graphics-choice details p{font-size:12px}
#graphics-choice button:focus-visible,#light-experience button:focus-visible,#light-experience a:focus-visible,#graphics-notice :is(a,button):focus-visible{outline:3px solid #fff;outline-offset:4px}
body.ready-fallback #experience :is(#world,#station-labels,#station-menu-toggle,#station-menu,#overview-guide,.view-tools,.bottom-tools,#touch-controls,#proximity,#activation-action,.scene-vignette){display:none!important}
body.ready-fallback #experience{overflow-y:auto;background:#1c1c1c}
#light-experience{max-width:1120px;margin:0 auto;padding:58px 32px 70px;color:var(--ui-text)}
.light-intro{max-width:680px;margin-bottom:34px}
.light-intro h2{font-size:clamp(28px,4vw,44px);font-weight:500;letter-spacing:-1px;line-height:1.13;margin:16px 0}
.light-intro p{font-size:15px;line-height:1.7;color:var(--ui-muted);margin:0 0 18px}
.light-retry{display:inline-block;color:var(--ui-accent);font-size:12px;text-underline-offset:4px}
.light-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.light-card{display:flex;align-items:center;gap:18px;width:100%;padding:22px;text-align:left;border:1px solid #ffffff20;border-radius:16px;background:#262626;color:var(--ui-text);font:inherit;cursor:pointer}
.light-card:hover{border-color:#d9d9d990;background:#444444}
.light-card .activation-icon{width:52px;height:60px;object-fit:contain;flex-shrink:0}
.light-card strong{display:block;font-size:17px;font-weight:500;line-height:1.35}
.light-card small{display:block;font-size:12px;color:var(--ui-muted);line-height:1.6;margin-top:7px}
.light-card b{margin-left:auto;color:var(--ui-accent);font-size:22px;font-weight:400}
#graphics-notice{position:fixed;z-index:20;right:24px;bottom:24px;max-width:380px;box-sizing:border-box;padding:22px;border:1px solid #999999;border-radius:16px;background:#1c1c1cf5;color:var(--ui-text);box-shadow:0 15px 50px #0005;display:flex;flex-wrap:wrap;gap:10px}
#graphics-notice strong{font-size:15px;font-weight:500;line-height:1.4}
#graphics-notice p{color:var(--ui-muted);font-size:12px;line-height:1.5;margin:7px 0}
#graphics-notice .primary{background:var(--ui-accent);color:#1c1c1c;text-decoration:none;padding:12px;font-size:12px}
#graphics-notice button{font:inherit;font-size:12px;cursor:pointer}
@media(max-width:600px){#graphics-choice{padding:24px}#graphics-choice h2{font-size:28px}.graphics-actions{flex-direction:column}.graphics-actions button{width:100%}#light-experience{padding:32px 20px 48px}.light-grid{grid-template-columns:1fr}.light-card{padding:18px}.light-card strong{font-size:16px}#graphics-notice{left:16px;right:16px;bottom:16px;max-width:none}}
.quality-toggle{display:block;margin:10px 0;padding:12px 14px;border:1px solid #d9d9d940;border-radius:10px;color:var(--ui-accent);font-size:13px;text-decoration:none;text-align:center}.quality-toggle:hover,.quality-toggle:focus-visible{background:#d9d9d915;outline:2px solid var(--ui-accent);outline-offset:2px}
/* Case media follows the actual file ratio; portrait footage gets its own column. */
#activation-dialog.activation-showcase{padding:26px 30px;max-height:94svh;overscroll-behavior:contain}
#activation-dialog .showcase-story{grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);gap:32px;align-items:center}
#activation-dialog .showcase-media{align-self:start;display:block;width:100%;min-width:0;overflow:hidden}
#activation-dialog .showcase-media .real-case-video{display:block;width:100%;height:auto;max-height:none;aspect-ratio:var(--case-ratio,1.777778);object-fit:contain;border-radius:0}
#activation-dialog .showcase-media .real-case>p{font-size:12px;line-height:1.55;padding:8px 18px 16px}
#activation-dialog .showcase-media .real-case figcaption{font-size:10px;padding-top:16px}
#activation-dialog .showcase-copy h2{font-size:clamp(30px,3.1vw,42px);line-height:1.12;text-wrap:balance}
#activation-dialog .showcase-copy>p{font-size:15px;line-height:1.65;max-width:none}
#activation-dialog .showcase-copy>small{font-size:12px;line-height:1.6;max-width:none}
#activation-dialog .showcase-tags span{font-size:11px}
#activation-dialog .close-dialog{width:44px;height:44px}
#activation-dialog .showcase-cta{min-height:48px;min-width:0;max-width:100%}
#activation-dialog .showcase-solution{font-size:12px;line-height:1.6}
#activation-dialog[data-media-shape=portrait]{width:min(1000px,calc(100vw - 40px))}
#activation-dialog[data-media-shape=portrait] .showcase-story{grid-template-columns:minmax(230px,.75fr) minmax(0,1fr);gap:36px}
#activation-dialog[data-media-shape=portrait] .showcase-media{width:min(100%,calc(min(58svh,560px) * var(--case-ratio)));justify-self:center}
#activation-dialog[data-media-shape=square]{width:min(1080px,calc(100vw - 40px))}
#activation-dialog[data-media-shape=square] .showcase-story{grid-template-columns:minmax(240px,1fr) minmax(0,1fr)}
#activation-dialog[data-media-shape=square] .showcase-media{max-width:min(100%,min(52svh,480px));justify-self:center}
@media(max-width:760px){
 #activation-dialog.activation-showcase,#activation-dialog[data-media-shape]{width:calc(100vw - 24px);padding:22px;max-height:96svh;border-radius:18px}
 #activation-dialog .showcase-story,#activation-dialog[data-media-shape] .showcase-story{grid-template-columns:minmax(0,1fr);gap:24px}
 #activation-dialog .showcase-copy{padding:0}
 #activation-dialog[data-media-shape=portrait] .showcase-media{width:min(100%,calc(min(62svh,600px) * var(--case-ratio)))}
 #activation-dialog[data-media-shape=square] .showcase-media{max-width:100%}
 #activation-dialog .showcase-copy h2{font-size:32px;letter-spacing:-1px}
 #activation-dialog .showcase-contact{width:100%}
 #activation-dialog .showcase-heading b{font-size:15px}
 #activation-dialog .showcase-heading .showcase-case-label{font-size:8px;letter-spacing:.5px}
 #activation-dialog .showcase-discover #next-station{font-size:11px;min-height:44px}
 #activation-dialog .case-library summary{min-height:44px;font-size:12px}
}
#activation-dialog .showcase-media .asset-credits{padding:0 18px 12px;color:#b5b5b5}
#activation-dialog .showcase-media .asset-credits summary{font-size:11px;line-height:1.5;cursor:pointer;padding:10px 0;min-height:44px}
#activation-dialog .showcase-media .asset-credits p{font-size:11px;line-height:1.6;margin:0}
#activation-dialog .showcase-media .asset-credits a{color:#e6e6e6}
#activation-dialog .dialog-top{position:sticky;top:0;z-index:4;background:#1c1c1c;padding-bottom:12px}

/* Native controls follow the neutral UI accent. */
input[type=checkbox],input[type=radio],input[type=range]{accent-color:var(--ui-accent)}
.activation-icon{filter:grayscale(1)}
