/* Scene and screen layers share one 16:9 coordinate system at every size. */
.hq-room{margin:0 0 26px;border:1px solid #fff7e638;border-radius:16px;overflow:hidden;background:#14213e}
.hq-room-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
.hq-room-heading h1{font-size:clamp(23px,3vw,30px);line-height:1.06;margin:0}
.hq-room-cue{margin:4px 0 0;color:#d3deeb;font-size:12px;line-height:1.3}
.hq-room-heading h2{font-size:20px;margin-top:4px}.hq-room-heading .eyebrow{font-size:10px}
.hq-room-tools{display:flex;align-items:center;gap:8px;flex:none}
.hq-sound,.hq-settings-toggle{
 display:grid;place-items:center;cursor:pointer;list-style:none;
 width:44px;height:44px;padding:0;border-radius:50%;border:1px solid #978464;
 background:#192945;color:#fff7e6;box-shadow:0 2px 0 #0b1426;
}
.hq-settings-toggle::-webkit-details-marker{display:none}
.hq-sound:hover,.hq-sound[aria-pressed="true"],.hq-settings-toggle:hover,.hq-settings[open] summary{background:#275548;border-color:#e7bd75}
.hq-sound:focus-visible,.hq-settings-toggle:focus-visible,.hq-settings-panel button:focus-visible{outline:2px solid #ffe4a5;outline-offset:2px}
.hq-sound img{display:block;width:22px;height:22px}
.hq-sound[aria-pressed="false"] .hq-sound-on,.hq-sound[aria-pressed="true"] .hq-sound-off{display:none}
.hq-settings{position:relative;z-index:6}
.hq-room:has(.hq-settings[open]){overflow:visible}
.hq-settings-panel{
 position:absolute;right:0;top:calc(100% + 8px);width:184px;display:grid;gap:2px;
 padding:6px;border:1px solid #978464;border-radius:14px;background:#14213e;box-shadow:0 8px 22px #060b1999;
}
.hq-settings-panel button{
 min-height:42px;background:none;border:0;border-radius:8px;display:flex;gap:8px;align-items:center;
 justify-content:space-between;text-align:left;font-size:12px;padding:6px 8px;color:#fff7e6;
}
.hq-settings-panel button:hover{background:#253654}
.hq-settings-panel button[aria-pressed]::after{
 content:"";width:24px;height:14px;flex:0 0 24px;border-radius:8px;border:1px solid #8695a8;
 background:radial-gradient(circle at 6px 50%,#edf1f5 0 3px,transparent 4px),#192945;
}
.hq-settings-panel button[aria-pressed="true"]::after{
 background:radial-gradient(circle at 16px 50%,#fff7e6 0 3px,transparent 4px),#29795d;border-color:#89b3a1;
}
.hq-story-note,.hq-clock-status{margin:0;line-height:1.45}
.hq-clock-status{color:#becbd7;font-size:11px}
.hq-privacy{line-height:1.45}
.hq-privacy[open]{flex-basis:100%}
.hq-privacy summary{display:list-item;cursor:pointer;width:fit-content}
.hq-privacy p{max-width:62ch;margin:7px 0 0}
.hq-room~footer{flex-wrap:wrap;gap:6px 16px}
@media(max-width:480px){.hq-story-note{flex-basis:100%}}
.hq-scene{position:relative;width:100%;aspect-ratio:16/9;isolation:isolate;background:#14213e;container-type:inline-size}
.hq-scene>img{display:block;width:100%;height:100%;object-fit:contain}
.hq-scene>.hq-screen-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
.hq-takeoff-clock{
 position:absolute;left:50%;bottom:78.3%;z-index:4;transform:translateX(-50%);pointer-events:none;
 width:clamp(106px,37%,710px);min-height:clamp(31px,calc(16px + 4.5cqw),90px);box-sizing:border-box;
 display:grid;place-items:center;padding:clamp(1.5px,.45cqw,8px) clamp(2px,1cqw,18px);
 border:1px solid #111c37;border-radius:clamp(4px,.7cqw,12px);color:#fff1da;
 background:linear-gradient(#405d89,#243c66 48%,#203251);
 box-shadow:0 0 0 1px #eed4a9a3,0 2px 2px #0d1529ad,inset 0 1px #6b87a580;
 text-align:center;line-height:1;font-weight:600;
}
.hq-takeoff-clock::before{
 content:"";position:absolute;inset:clamp(1.5px,.42cqw,6px);border-radius:clamp(2px,.42cqw,7px);
 background:linear-gradient(#13203c,#172a4b);box-shadow:inset 0 1px 2px #080e20;
}
.launch-display,.launch-status,.launch-status-short{position:relative}
.launch-display{width:100%;display:grid;gap:clamp(.5px,.22cqw,4px);align-items:center}
.launch-title{text-transform:uppercase;font-size:clamp(7px,calc(5.5px + .42cqw),12px);letter-spacing:.12em}
.launch-units{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}
.launch-unit{display:grid;justify-items:center;align-content:center;gap:clamp(.5px,.18cqw,3px)}
.launch-unit,.launch-fit-probe{font-size:clamp(8px,calc(5.5px + .52cqw),14px)}
.launch-unit+.launch-unit{border-left:1px solid #91b4d234}
.launch-digits{display:flex;justify-content:center;align-items:center;gap:clamp(1px,.2cqw,4px);max-width:100%}
.launch-digits svg{width:clamp(7.4px,calc(4.3px + .93cqw),21px);height:clamp(12px,calc(7px + 1.5cqw),34px);flex-shrink:1;fill:#30223a}
.launch-digits .lit{fill:#ff7d70;filter:drop-shadow(0 0 1px #ed63569e)}
.launch-status,.launch-status-short{font-size:clamp(9px,calc(6px + .95cqw),22px);line-height:1.2}
.launch-fit-probe{position:absolute;visibility:hidden;white-space:nowrap}
.launch-unit-short,.launch-status-short{display:none}
[data-compact-clock] :is(.launch-title,.launch-unit-wide){display:none}
[data-compact-clock] .launch-unit-short,[data-compact-clock] .launch-status-short:not([hidden]){display:block}
[data-compact-clock] .launch-status:not([hidden]){
 position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
.hq-scene>.hq-crew-layer{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;z-index:1;mask-image:url(assets/hq-crew-mask.svg);mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-image:url(assets/hq-crew-mask.svg);-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat}
.hq-scene>.hq-crew-eyes{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.hq-room-caption{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;font-size:12px;color:#c4cfdb}
.hq-room-caption strong{color:#fff7e6;font-weight:600}
.hq-room-caption{flex-wrap:wrap}
.crew-update{flex:0 0 100%;width:100%;padding:12px 14px;border-left:3px solid #669bbc;border-radius:8px;background:#0a122a;color:#fff7e6}
.crew-update[hidden]{display:none}
.crew-update[data-speaker="Muddle"]{border-left-color:#f3cc99}
.crew-update{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:center;min-height:160px}
.host-stage{width:150px;height:150px;display:grid;place-items:center;overflow:visible;filter:drop-shadow(0 7px 7px #0005)}
.host-stage>svg{width:100%;height:100%;overflow:visible;transform-origin:50% 80%}
.host-stage[data-guest="true"]>svg{animation:guest-arrive .55s ease-out}
.host-stage[data-motion="false"]>svg{animation:none!important}
.host-mode{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#b4c8db;margin-bottom:5px}
.voice-status{font-size:11px;max-width:180px;color:#c4cfdb;line-height:1.4}
.voice-status:empty{display:none}
@keyframes guest-arrive{from{transform:translateX(-24px) rotate(-6deg);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.host-stage>svg{animation:none!important}}
@media(max-width:720px){.crew-update{grid-template-columns:85px minmax(0,1fr);gap:12px;min-height:110px}.host-stage{width:85px;height:105px}.crew-update p{font-size:13px}.host-mode{font-size:9px}.clean-feed .crew-update{grid-template-columns:65px minmax(0,1fr);gap:8px;min-height:80px}.clean-feed .host-stage{width:65px;height:75px}.clean-feed .host-mode{display:none}}
.crew-update strong{display:block;font-size:12px;letter-spacing:.04em;margin-bottom:5px}
.crew-update p{font-size:15px;line-height:1.6;margin:0;color:#fff7e6}
.feed-page main{max-width:1920px;padding:20px 24px}.feed-page .hq-room{margin-bottom:12px}
.feed-page footer{margin-top:12px}.feed-page .feed-mode{display:block;margin-bottom:5px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#b4c8db}
#feed-restore{display:none;position:fixed;bottom:14px;right:14px;z-index:5;background:#0a122ae8;font-size:12px}
.clean-feed{overflow:hidden;background:#0a122a}.clean-feed main{max-width:none;padding:0;height:100vh;display:grid;place-items:center}
.clean-feed .hq-room{border:0;border-radius:0;margin:0;width:min(100vw,177.777778vh);position:relative}
.clean-feed .hq-room-heading,.clean-feed .rehearsal,.clean-feed footer,.clean-feed noscript{display:none}
.clean-feed .hq-room-caption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0a122af0);padding:30px 2.4% 1.4%;font-size:clamp(11px,1.3vw,22px);align-items:end;pointer-events:none}
.clean-feed .feed-mode{font-size:.6em;display:block;margin-bottom:5px;color:#e3e6e7}
.clean-feed .crew-update{padding:.65em .85em;background:#0a122aed;border-left-width:4px}
.clean-feed .crew-update strong{font-size:.65em}.clean-feed .crew-update p{font-size:clamp(12px,1.45vw,28px);line-height:1.45}
.clean-feed #feed-restore{display:block;opacity:0}.clean-feed #feed-restore:hover,.clean-feed #feed-restore:focus-visible{opacity:1}
@media(max-width:720px){.hq-room-heading{padding:10px 12px}.hq-room-heading h2{font-size:16px}.voice-status:not(:empty){position:absolute;top:calc(100% + 4px);right:12px;background:#14213e;padding:4px 8px;border-radius:6px;z-index:7}.hq-room-caption{flex-direction:column;gap:6px;padding:12px;font-size:11px}.feed-page main{padding:14px 12px}.clean-feed .hq-room-caption{flex-direction:row;gap:12px;font-size:9px}.clean-feed main{padding:0}.clean-feed .hq-room-caption>span:last-child{max-width:45%;text-align:right}}
