.blackstar-menu { position: fixed; inset: 0; overflow: auto; color: #eff2e9; background: #0b141c; }
.bs-hero { position: fixed; inset: 0; background: linear-gradient(90deg, #050d14a6, transparent 65%), url('./site/hero-d4a1c5dd9c63.webp') center / cover no-repeat; pointer-events: none; }
.bs-header, .bs-menu-content, .bs-footer { position: relative; z-index: 1; }
.bs-header { display: flex; align-items: center; justify-content: space-between; padding: 30px 42px; }
.bs-home { color: #eff2e9; font-size: 12px; text-decoration: none; }
.bs-music-toggle { position: fixed; top: 24px; right: 28px; z-index: 40; min-height: 40px; padding: 9px 13px; border: 1px solid #82998c88; border-radius: 3px; color: #eaf2dd; background: #0b202be8; font: 12px monospace; cursor: pointer; }
.bs-music-toggle[aria-pressed="true"] { color: #bec9c8; }
.bs-music-toggle:focus-visible { outline: 2px solid #d8f176; outline-offset: 3px; }
.screen-head { padding-right: 140px; }
#hud .hud-score { margin-right: 130px; }
.bs-menu-content { width: min(430px, 40vw); margin: clamp(50px, 13vh, 140px) 0 100px 7vw; }
.bs-title { margin: 0 0 38px; font-family: Impact, 'Arial Narrow', sans-serif; font-size: clamp(58px, 7.5vw, 106px); font-weight: 400; letter-spacing: -2px; line-height: 1; }
.bs-title > span { display: block; margin-bottom: 14px; font: 11px monospace; letter-spacing: 9px; }
.bs-actions { display: grid; gap: 12px; }
.bs-action { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 66px; padding: 18px 24px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; text-align: left; transition: background .15s, transform .15s; }
.bs-action > span { font-size: 23px; font-weight: 400; }
.bs-campaign { color: #eff2e9; border-color: #eff2e957; background: #11212ac4; }
.bs-online { color: #142014; background: #d8f176; }
.bs-campaign:hover { background: #21343e; }
.bs-online:hover { background: #e6ff91; }
.bs-action:hover { transform: translateX(3px); }
.blackstar-menu button:focus-visible, .bs-home:focus-visible { outline: 2px solid #eff2e9; outline-offset: 5px; }
.bs-footer { position: absolute; left: 7vw; bottom: 30px; display: flex; gap: 26px; }
.bs-footer button { border: 0; padding: 8px 0; color: #c0cece; background: none; font-size: 11px; }
.bs-footer button:hover, .bs-home:hover { color: #d8f176; }
.bs-party { background: #0b1b27f5; }
.bs-party .screen-head { max-width: 960px; margin-left: auto; margin-right: auto; }
.bs-party .party-layout { max-width: 960px; margin: 0 auto; gap: 28px; }
.bs-party .party-panel { padding: 30px; }
.bs-party .field { margin: 28px 0; }
.bs-party-note { margin: 15px 0; color: #b9c7c9; font-size: 14px; }
.bs-party-note a { color: #d8f176; }
.bs-party .party-panel > button { width: 100%; }
@media (max-width: 700px) {
  .bs-music-toggle { top: 14px; right: 12px; min-height: 36px; padding: 8px 10px; font-size: 11px; }
  .screen-head { padding-right: 110px; }
  #hud .hud-score { margin-right: 0; margin-top: 48px; }
  .bs-header { padding: 24px; }
  .bs-hero { background-image: linear-gradient(0deg, #08131be8, #08131b80 60%, #08131b40), url('./site/hero-d4a1c5dd9c63.webp'); background-position: 65% center; }
  .bs-menu-content { width: auto; margin: min(19vh, 140px) 24px 90px; }
  .bs-title { font-size: clamp(54px, 14vw, 88px); margin-bottom: 28px; }
  .bs-action { min-height: 62px; }
  .bs-footer { left: 24px; bottom: 20px; }
  .bs-party .party-panel { padding: 24px; }
}

/* Online scenes use a compact reader, with art, dialogue and controls in flow.
   Full-screen caption percentages must never apply to this small side panel. */
#cinematic.cine-nonblocking {
  top: 130px; right: 16px; bottom: auto; left: auto;
  width: min(430px, calc(100vw - 32px)) !important; height: auto !important;
  max-height: calc(100dvh - 240px); display: flex; flex-direction: column;
  overflow: hidden; pointer-events: none;
}
#cinematic.cine-nonblocking .cine-stage {
  position: relative; inset: auto; flex: 0 0 auto; width: 100%; height: 110px;
  opacity: .65; filter: none;
}
#cinematic.cine-nonblocking .cine-caption,
#cinematic.cine-nonblocking.composed-scene .cine-caption {
  position: relative; inset: auto; flex: 1 1 auto; min-height: 0; max-height: none;
  width: 100%; margin: 0; padding: 12px 14px; overflow: hidden;
  display: flex; flex-direction: column; border-radius: 0; background: #07141bf5;
}
#cinematic.cine-nonblocking .cine-caption > small { font: 600 12px/1.4 monospace; }
#cinematic.cine-nonblocking .cine-caption > p[data-cine-text] {
  flex: 1 1 auto; min-height: 0; margin: 6px 0 10px;
  font-size: calc(16px * var(--caption-size, 1)) !important; line-height: 1.4;
  white-space: pre-wrap; overflow-wrap: anywhere; overflow: auto; scrollbar-width: thin;
}
#cinematic.cine-nonblocking .cine-controls {
  position: static; flex: 0 0 auto; display: flex; flex-wrap: wrap;
  justify-content: flex-start; gap: 6px; margin: 0;
}
#cinematic.cine-nonblocking .cine-controls button { min-height: 34px; padding: 7px 9px; font-size: 10px; }
@media (max-height: 600px) {
  #cinematic.cine-nonblocking { top: 90px; max-height: calc(100dvh - 185px); }
  #cinematic.cine-nonblocking .cine-stage { display: none; }
}
@media (max-height: 600px) {
  .bs-header { padding-top: 18px; padding-bottom: 18px; }
  .bs-menu-content { margin-top: 15px; margin-bottom: 30px; }
  .bs-title { margin-bottom: 20px; font-size: 64px; }
  .bs-action { min-height: 52px; padding: 12px 20px; }
  .bs-footer { position: relative; left: auto; bottom: auto; padding: 0 7vw 18px; }
}

/* Fireteam lobby and the continuous match-start presentation. */
.fireteam-lobby .party-layout{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;margin-top:28px}
.fireteam-lobby .party-panel{padding:28px;border:1px solid #56758866;background:linear-gradient(145deg,#183442ed,#0b1c29f5);box-shadow:0 14px 45px #0004;border-radius:8px;min-width:0}
.fireteam-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.fireteam-heading h2{margin:8px 0 0;font-size:22px}.party-readiness{color:#bfe6ca;background:#244f3f66;padding:8px 10px;border:1px solid #7cae8a66;border-radius:4px;font:11px monospace;white-space:nowrap}
.fireteam-lobby .participants{padding:0;margin:24px 0;list-style:none}.fireteam-lobby .participants li{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #69849533;min-width:0}.player-number{font:14px monospace;color:#89a5b5}.player-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:17px}.participants small{display:block;font:10px/1.6 monospace;color:#95b2c0;margin-top:4px;letter-spacing:.07em}.player-status{font:10px monospace;color:#c1c6cb;max-width:100px;text-align:right}.player-status.is-ready{color:#bde9c7}.empty-slot{color:#8ba3b0}.party-invitation{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.fireteam-lobby .party-code{display:block;margin:8px 0 0;font:clamp(18px,2vw,27px) monospace;letter-spacing:.04em;color:#ecddad;overflow-wrap:anywhere}.party-invitation button{font-size:11px;padding:12px 16px}
.mission-readiness h2{font-size:clamp(24px,3vw,36px);margin:14px 0;line-height:1.15}.mission-readiness .body-copy{line-height:1.7;color:#b9ccd6}.fireteam-lobby .connection-status{margin:24px 0;padding:14px;border-left:3px solid #afc9be;background:#08172277;color:#d5e5dd;font-size:13px;line-height:1.5}.mission-readiness .online-actions{display:grid;gap:12px}.mission-readiness button{width:100%;margin:0}.fireteam-lobby button:disabled{opacity:.45;cursor:default}
.party-launch-overlay{position:fixed;inset:0;z-index:45;background:#05121de8;backdrop-filter:blur(10px);display:grid;place-items:center;padding:24px;overflow:auto}.party-launch-card{text-align:center;width:min(520px,100%);padding:38px 26px;border:1px solid #7997a770;background:linear-gradient(145deg,#193747,#0b1b28);border-radius:10px;box-shadow:0 22px 90px #0008}.party-launch-card h2{font-size:clamp(22px,3vw,32px);margin:24px 0 16px}.party-launch-card p{color:#b9ccd6;line-height:1.65;min-height:3.3em}.launch-spinner{width:46px;height:46px;border:2px solid #80999d33;border-top-color:#e2d4a5;border-radius:50%;margin:26px auto;animation:party-launch-spin 1.2s linear infinite}.launch-steps{list-style:none;padding:0;display:flex;justify-content:center;gap:18px;margin:28px 0;font:11px/1.6 monospace;color:#8ba3b0}.launch-steps li{flex:1;border-top:2px solid #45627066;padding-top:10px}.launch-steps .current{color:#ecddad;border-color:#ecddad}.launch-steps .complete{color:#bde9c7;border-color:#7cae8a}.party-launch-card button{margin-top:8px}
@keyframes party-launch-spin{to{transform:rotate(360deg)}}
@media(max-width:800px){.fireteam-lobby .party-layout{grid-template-columns:1fr}.fireteam-lobby .party-panel{padding:20px}.fireteam-heading h2{font-size:19px}.player-name{font-size:15px}.party-launch-card{padding:28px 18px}.launch-steps{gap:10px}}
@media(prefers-reduced-motion:reduce){.launch-spinner{animation:none;border-top-color:#ecddad}}
