:root{
  --screen-left:20.1%;
  --screen-top:7.55%;
  --screen-width:60.25%;
  --screen-height:60.4%;
}

html,body{width:100%;height:100%;overflow:hidden}
body{
  margin:0;
  display:grid;
  place-items:center;
  background:#05070a;
}

.desktop-stage{
  position:relative;
  width:min(100vw,calc(100svh * 1.6102));
  aspect-ratio:1768/1098;
  max-height:100svh;
  overflow:hidden;
  background:#071018;
  isolation:isolate;
}

/* Bring the illustrated computer closer on landscape screens while keeping
   its frame, edge blend, and screen-aligned snap transitions intact. */
@media(min-width:801px) and (min-aspect-ratio:1/1){
  .desktop-stage{
    width:min(112vw,calc(112svh * 1.6102));
    max-height:112svh;
  }
}

.desktop-stage::after{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,#05070a 0,rgba(5,7,10,.94) 2.5%,rgba(5,7,10,.58) 7%,transparent 15%,transparent 85%,rgba(5,7,10,.58) 93%,rgba(5,7,10,.94) 97.5%,#05070a 100%),
    linear-gradient(180deg,#05070a 0,rgba(5,7,10,.9) 2.5%,rgba(5,7,10,.5) 7%,transparent 15%,transparent 85%,rgba(5,7,10,.58) 93%,rgba(5,7,10,.95) 97.5%,#05070a 100%);
  box-shadow:inset 0 0 clamp(58px,7vw,116px) clamp(12px,1.7vw,28px) rgba(3,5,8,.9);
}

.computer-frame{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
  z-index:1;
}

.monitor-screen{
  position:absolute;
  left:var(--screen-left);
  top:var(--screen-top);
  width:var(--screen-width);
  height:var(--screen-height);
  overflow:hidden;
  border-radius:.5%;
  background:#0e1116;
  box-shadow:0 0 0 2px rgba(4,9,14,.8),inset 0 0 42px rgba(0,0,0,.32);
  z-index:2;
  transition:left .62s cubic-bezier(.2,.8,.2,1),top .62s cubic-bezier(.2,.8,.2,1),width .62s cubic-bezier(.2,.8,.2,1),height .62s cubic-bezier(.2,.8,.2,1),border-radius .4s ease,box-shadow .4s ease;
  will-change:left,top,width,height;
}

.monitor-screen.training-expanded{
  position:fixed;
  z-index:8;
  border-radius:0;
  box-shadow:none;
}

.screen-transition{
  position:fixed;
  inset:0;
  z-index:30;
  pointer-events:none;
  background:#05090d;
  opacity:0;
  transition:opacity .18s ease;
}
.screen-transition.active{opacity:1}

.experience-layer{position:absolute;inset:0}
.experience-layer.hidden{display:none!important}

.mission-layer{display:grid;place-items:center;overflow:hidden;padding:clamp(14px,2.5vw,26px);background:
  radial-gradient(circle at 18% 14%,rgba(107,181,196,.16),transparent 34%),
  linear-gradient(145deg,#071119,#102634 58%,#071119);color:#edf5f8}
.mission-card{width:min(780px,100%);max-height:100%;overflow:hidden;border:2px solid #59778a;background:#091923;padding:clamp(18px,3vw,32px);
  box-shadow:10px 10px 0 #02070b}
.mission-kicker{display:block;color:var(--noir-gold);font:900 10px/1.2 var(--mono,ui-monospace,monospace);
  letter-spacing:.16em;text-transform:uppercase}
.mission-card h1{max-width:720px;margin:8px 0 10px;color:#f2f7f9;font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif;
  font-size:clamp(28px,4.1vw,49px);line-height:.98;text-transform:uppercase;letter-spacing:-.035em}
.mission-lead{max-width:720px;margin:0;color:#b9cbd4;font-size:clamp(13px,1.45vw,16px);line-height:1.45}
.mission-pattern{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:clamp(15px,2.5vw,23px) 0;padding:13px 15px;
  border:1px solid #59778a;background:#102634}
.mission-pattern span{flex:1;color:#f2f7f9;font:900 clamp(10px,1.2vw,13px)/1.2 var(--mono,ui-monospace,monospace);letter-spacing:.05em;text-align:center;text-transform:uppercase}
.mission-pattern i{color:var(--noir-gold);font-style:normal;font-weight:900}
.mission-takeaway{margin:0 0 16px;color:#cbd9e0;font-size:14px}.mission-takeaway b{color:var(--noir-gold);text-transform:uppercase;letter-spacing:.04em}
.mission-action{border:2px solid #071018;background:var(--noir-gold);color:var(--noir-gold-ink);padding:13px 17px;
  font:900 11px/1 var(--mono,ui-monospace,monospace);letter-spacing:.06em;text-transform:uppercase;cursor:pointer;
  box-shadow:5px 5px 0 #02070b}
.mission-action:hover{filter:brightness(1.08);transform:translate(-1px,-1px)}
.mission-action:focus-visible{outline:3px solid #fff;outline-offset:3px}

.briefing-layer{
  overflow-y:auto;
  overscroll-behavior:contain;
  background:#071119;
  color:#e7edf3;
}
.briefing-wrap{max-width:940px;margin:0 auto;padding:26px 30px 30px;position:relative;z-index:2}
.briefing-kicker{display:block;color:var(--noir-gold);font:800 10px/1.2 var(--mono,ui-monospace,monospace);
  letter-spacing:.15em;text-transform:uppercase}
.briefing-title{max-width:820px;margin:9px 0 5px;color:#dce8ee;font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif;
  font-size:clamp(25px,2.7vw,38px);line-height:1.02;font-weight:950;letter-spacing:-.035em;text-transform:uppercase}
.briefing-deck{margin:0;color:#a9bdc9;font-size:14px}
.briefing-desktop{margin-top:17px;border:2px solid #4f6d80;background:#091823;box-shadow:6px 6px 0 #03080c}
.briefing-desktop-bar{display:flex;justify-content:space-between;gap:14px;padding:8px 11px;border-bottom:1px solid #4f6d80;
  color:#91aab8;background:#061119;font:700 9px/1 var(--mono,ui-monospace,monospace);letter-spacing:.1em}
.briefing-files{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:20px 18px 18px}
.briefing-file{min-width:0;border:1px solid transparent;background:transparent;color:#c8d6de;padding:10px 7px;
  text-align:center;cursor:pointer;font-family:var(--mono,ui-monospace,monospace)}
.briefing-file:hover,.briefing-file:focus-visible{border-color:var(--noir-cyan);background:#102735;outline:none}
.briefing-file-icon{position:relative;display:block;width:50px;height:62px;margin:0 auto 10px;background:#aec2ce;
  clip-path:polygon(0 0,72% 0,100% 23%,100% 100%,0 100%);box-shadow:5px 5px 0 #02070b}
.briefing-file-icon::before{content:"";position:absolute;top:0;right:0;width:28%;height:23%;background:#7892a2}
.briefing-file-icon::after{content:"CONFIDENTIAL";position:absolute;left:5px;right:5px;top:27px;padding:3px 1px;
  background:#8d332c;color:#fff;font:800 6px/1 var(--mono,ui-monospace,monospace);letter-spacing:.05em}
.briefing-file strong{display:block;overflow-wrap:anywhere;color:#dce8ee;font-size:9px;line-height:1.35;letter-spacing:.02em}
.briefing-file-status{display:block;margin-top:5px;color:#8197a4;font-size:8px;text-transform:uppercase;letter-spacing:.08em}
.briefing-file.reviewed .briefing-file-icon{background:#d8b968}
.briefing-file.reviewed .briefing-file-status{color:#8fd6b0}
.briefing-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px}
.briefing-bottom p{margin:0;color:#c4d2d9;font-size:13px}
.briefing-bottom b{color:var(--noir-gold)}
.briefing-action{flex:none;border:2px solid #071018;background:var(--noir-gold);color:var(--noir-gold-ink);
  padding:12px 16px;font:800 11px/1 var(--mono,ui-monospace,monospace);letter-spacing:.06em;text-transform:uppercase;
  cursor:pointer;box-shadow:4px 4px 0 #03080c}
.briefing-action:hover{filter:brightness(1.08);transform:translateY(-1px)}
.briefing-action:focus-visible{outline:3px solid #fff;outline-offset:3px}
.briefing-action:disabled{cursor:not-allowed;filter:grayscale(.75);opacity:.45;transform:none}
.briefing-reveal{opacity:0;pointer-events:none}
.briefing-reveal.is-visible{pointer-events:auto;animation:soft-fade .52s ease-out both}
.briefing-viewer{position:absolute;inset:0;z-index:12;display:grid;place-items:center;padding:24px;background:rgba(2,7,10,.78)}
.briefing-viewer.hidden{display:none}
.briefing-viewer-window{width:min(780px,100%);border:2px solid #6bb5c4;background:#071721;color:#edf7f8;box-shadow:10px 10px 0 #02070b;
  animation:soft-fade .22s ease-out both}
.briefing-viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 11px;border-bottom:2px solid #6bb5c4;background:#0e303d;color:#fff;
  font:700 9px/1 var(--mono,ui-monospace,monospace);letter-spacing:.1em}
.briefing-viewer-body{padding:24px 26px 26px}
.briefing-stamp{display:inline-block;border:2px solid var(--noir-gold);color:var(--noir-gold);padding:5px 8px;font:900 9px/1 var(--mono,ui-monospace,monospace);
  letter-spacing:.12em;transform:rotate(-2deg);box-shadow:3px 3px 0 #02070b}
.briefing-viewer-content{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:center}
.briefing-viewer-content:has(.briefing-video-panel:not(.hidden)){grid-template-columns:minmax(0,1.15fr) minmax(230px,.85fr)}
.briefing-viewer-body h2{margin:17px 0 8px;color:#fff;font-size:25px;line-height:1.15;text-transform:uppercase}
.briefing-viewer-body p{margin:0;color:#bad0d7;font-size:15px;line-height:1.6}
.briefing-action-takeaway{margin-top:17px;padding:13px 14px;border-left:4px solid var(--noir-gold);background:#102634}
.briefing-action-takeaway b{display:block;margin-bottom:4px;color:var(--noir-gold);font:900 9px/1.2 var(--mono,ui-monospace,monospace);
  letter-spacing:.11em;text-transform:uppercase}
.briefing-action-takeaway p{color:#d8e4e9;font-size:14px;line-height:1.5}
.briefing-decision-map{margin-top:16px;padding:14px;border:1px solid #527487;background:#091d28;box-shadow:4px 4px 0 #02070b}
.briefing-decision-map.hidden{display:none}
.briefing-map-label{display:block;margin-bottom:10px;color:var(--noir-gold);font:900 9px/1.2 var(--mono,ui-monospace,monospace);letter-spacing:.1em;text-transform:uppercase}
.briefing-map-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.briefing-map-steps article{min-width:0;padding:10px;border:1px solid #3d5b6d;background:#102b39}
.briefing-map-steps article>span{display:inline-grid;place-items:center;width:25px;height:25px;margin-bottom:7px;border-radius:50%;background:var(--noir-gold);color:#171006;font:900 9px/1 var(--mono,ui-monospace,monospace)}
.briefing-map-steps strong{display:block;color:#f2f6f7;font-size:12px;line-height:1.25}
.briefing-map-steps article p{margin-top:5px;color:#b7cbd4;font-size:11px;line-height:1.4}
.briefing-map-outcomes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px;text-align:center;font:900 9px/1.2 var(--mono,ui-monospace,monospace);letter-spacing:.07em;text-transform:uppercase}
.briefing-map-outcomes span{padding:7px;border:1px solid currentColor}
.briefing-map-outcomes .proceed{color:#67c9b7}.briefing-map-outcomes .verify{color:#7fb7e6}.briefing-map-outcomes .report{color:#ef8c72}
.briefing-video-panel{min-width:0;border:2px solid #6bb5c4;background:#02070b;padding:8px;box-shadow:6px 6px 0 #02070b;transform:rotate(.5deg)}
.briefing-video-panel.hidden{display:none}
.briefing-video-panel video{display:block;width:100%;max-height:250px;aspect-ratio:16/10;object-fit:contain;background:#000}
.briefing-close-action{margin-top:22px;border:2px solid #071018;background:var(--noir-gold);color:var(--noir-gold-ink);padding:11px 14px;
  font:800 10px/1 var(--mono,ui-monospace,monospace);letter-spacing:.05em;text-transform:uppercase;cursor:pointer;box-shadow:4px 4px 0 #02070b}

.module-layer{
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-color:var(--accent,#6e8094) #0c1117;
  scrollbar-width:thin;
  background:var(--bg,#0e1116);
}
.module-layer::-webkit-scrollbar{width:10px}
.module-layer::-webkit-scrollbar-track{background:#0c1117}
.module-layer::-webkit-scrollbar-thumb{background:#3a4654;border-radius:20px;border:2px solid #0c1117}
.module-layer>.wrap{max-width:820px;margin:0 auto;padding:24px 20px 64px}

.splash-layer,.opening-layer{background:#05080c;color:#eef4f8}
.splash-layer{position:fixed;inset:0;z-index:10}
.opening-layer{position:fixed;inset:0;z-index:9}
.splash-video,.opening-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}
.splash-video{object-fit:cover;filter:saturate(.9) contrast(1.05)}
.opening-video{object-fit:contain;background:#000}

.splash-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(4,8,13,.94) 0%,rgba(4,8,13,.72) 48%,rgba(4,8,13,.18) 78%),
    linear-gradient(0deg,rgba(4,8,13,.72),transparent 48%);
}

.splash-copy{
  position:absolute;
  z-index:2;
  left:6.5%;
  top:50%;
  width:min(56%,560px);
  transform:translateY(-50%);
}
.splash-eyebrow{
  margin:0 0 10px;
  color:#8fa6b8;
  font:700 clamp(8px,1vw,12px)/1.2 var(--mono,ui-monospace,monospace);
  letter-spacing:.16em;
  text-transform:uppercase;
}
.splash-title{
  margin:0;
  color:#f5f8fb;
  font:750 clamp(22px,3.2vw,46px)/.98 var(--sans,Arial,sans-serif);
  letter-spacing:-.035em;
  text-shadow:0 3px 20px rgba(0,0,0,.55);
}
.splash-deck{
  margin:13px 0 0;
  color:var(--accent,#e0a53b);
  font:800 clamp(13px,1.55vw,21px)/1.2 var(--mono,ui-monospace,monospace);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.splash-hook{
  margin:14px 0 0;
  color:#d3dde5;
  font:500 clamp(11px,1.35vw,18px)/1.45 var(--sans,Arial,sans-serif);
  text-wrap:balance;
}
.splash-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:17px;
}
.splash-meta span{
  padding:6px 9px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  background:rgba(5,9,14,.48);
  color:#c7d2dc;
  font:700 clamp(8px,.85vw,11px)/1 var(--mono,ui-monospace,monospace);
  letter-spacing:.05em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
}
.splash-action{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:22px;
  padding:12px 20px;
  border:1px solid color-mix(in srgb,var(--accent,#e0a53b) 80%,white);
  border-radius:4px;
  background:var(--accent,#e0a53b);
  color:#101317;
  font:800 clamp(10px,1.05vw,14px)/1 var(--mono,ui-monospace,monospace);
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 10px 26px rgba(0,0,0,.28);
  transition:transform .16s ease,filter .16s ease;
}
.splash-action:hover{transform:translateY(-2px);filter:brightness(1.08)}
.splash-action:focus-visible,.opening-skip:focus-visible{outline:3px solid #fff;outline-offset:3px}
.splash-action::after{content:'→';font-size:1.15em}

.opening-skip{
  position:absolute;
  right:18px;
  bottom:16px;
  z-index:3;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  background:rgba(4,8,13,.7);
  color:#f4f7fa;
  padding:8px 13px;
  font:700 11px/1 var(--mono,ui-monospace,monospace);
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  backdrop-filter:blur(8px);
}
.opening-status{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:3;
  margin:0;
  color:#d3dde5;
  font:600 11px/1.3 var(--mono,ui-monospace,monospace);
  letter-spacing:.06em;
}

/* monitor menu */
.hub-layer{
  overflow-y:auto;
  overscroll-behavior:contain;
  background:
    radial-gradient(700px 390px at 100% 0%,rgba(91,155,213,.13),transparent 58%),
    linear-gradient(145deg,#10161d,#0b0f14 68%);
  color:#e7edf3;
  scrollbar-color:#3a4654 #0c1117;
  scrollbar-width:thin;
}
.hub-wrap{max-width:960px;margin:0 auto;padding:28px 30px 30px}
.hub-topline{display:flex;align-items:center;justify-content:space-between;gap:16px}
.hub-kicker{
  color:var(--accent,#e0a53b);
  font:800 12px/1.2 var(--mono,ui-monospace,monospace);
  letter-spacing:.15em;
  text-transform:uppercase;
}
.module-menu-button{
  border:1px solid #384451;
  border-radius:999px;
  background:#171e27;
  color:#cbd5de;
  padding:9px 13px;
  font:700 11px/1 var(--mono,ui-monospace,monospace);
  letter-spacing:.06em;
  text-transform:uppercase;
  cursor:pointer;
}
.module-menu-button:hover{border-color:var(--accent,#e0a53b);color:#fff}
.hub-title{margin:18px 0 7px;font-size:clamp(31px,3.4vw,48px);line-height:1;letter-spacing:-.035em}
.hub-intro{max-width:870px;margin:0;color:#aeb9c4;font-size:16px;line-height:1.5}
.hub-intro strong{color:#fff}
.hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:21px}
.track-card{
  min-width:0;
  min-height:205px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  padding:17px;
  border:1px solid #303b47;
  border-radius:10px;
  background:linear-gradient(145deg,#1a222c,#131920);
  color:#e7edf3;
  text-align:left;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.track-card:hover{transform:translateY(-3px);border-color:var(--accent,#e0a53b);background:#1d2631}
.track-card:focus-visible,.module-menu-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.track-card.current{border-color:color-mix(in srgb,var(--accent,#e0a53b) 70%,#303b47)}
.track-number{color:#647383;font:700 11px/1 var(--mono,ui-monospace,monospace)}
.track-type{color:var(--accent,#e0a53b);font:800 11px/1 var(--mono,ui-monospace,monospace);letter-spacing:.1em;text-transform:uppercase}
.track-card>strong{font-size:20px;line-height:1.12}
.track-description{color:#9ca9b5;font-size:13px;line-height:1.42}
.track-bottom{width:100%;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid #2b3540;color:#7f8d9a;font-size:10px}
.track-bottom b{color:#dfe7ee;font:800 10px/1 var(--mono,ui-monospace,monospace);text-transform:uppercase;white-space:nowrap}
.hub-footnote{margin:14px 0 0;color:#6e7b88;font:600 10px/1.4 var(--mono,ui-monospace,monospace);letter-spacing:.03em;text-align:center}
.module-nav{position:sticky;top:0;z-index:16;display:flex;justify-content:space-between;gap:10px;padding:12px 14px;
  background:linear-gradient(180deg,rgba(5,13,19,.98),rgba(5,13,19,.88));border-bottom:1px solid rgba(96,124,142,.45);
  backdrop-filter:blur(8px);pointer-events:none}
.module-menu-button{position:static;box-shadow:0 6px 18px rgba(0,0,0,.3);pointer-events:auto}
.module-layer>.wrap{padding-top:22px}
.evergreen-restart{position:fixed;left:18px;bottom:16px;z-index:99;padding:9px 12px;border:1px solid #d0a744;background:#07131c;color:#f0ca68;
  box-shadow:4px 4px 0 rgba(0,0,0,.55);font:800 10px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.evergreen-restart:hover{background:#173346;color:#fff;border-color:#f0ca68}.evergreen-restart:focus-visible{outline:3px solid #fff;outline-offset:3px}
.narration-player{display:none!important}
.media-access-controls{position:fixed;left:154px;bottom:16px;z-index:1200;display:flex;gap:8px;align-items:center}
.audio-pause-control{min-width:112px;padding:9px 12px;border:2px solid rgba(255,255,255,.7);
  background:rgba(4,10,16,.92);color:#fff;font:800 10px/1 var(--mono,ui-monospace,monospace);letter-spacing:.08em;text-transform:uppercase;
  cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.audio-pause-control:hover,.audio-pause-control:focus-visible{border-color:#f0c86a;color:#f0c86a;outline:none}
.audio-pause-control[aria-pressed="true"]{border-color:#f0c86a;color:#f0c86a}

.rules-overlay{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:rgba(2,7,11,.84);backdrop-filter:blur(4px)}
.rules-panel{width:min(700px,100%);max-height:calc(100% - 20px);overflow:auto;border:2px solid #6bb5c4;background:#0b1c27;
  color:#dce8ee;padding:24px;box-shadow:10px 10px 0 #02070b}
.rules-kicker{color:var(--noir-gold);font:800 10px/1.2 var(--mono,ui-monospace,monospace);letter-spacing:.14em;text-transform:uppercase}
.rules-panel h2{margin:6px 0 3px;font-size:27px}.rules-goal{margin:0 0 17px;color:#bad0d7}
.rules-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:15px}
.rules-steps div,.rules-decisions div{border:1px solid #49677a;background:#102837;padding:11px}
.rules-steps b,.rules-decisions b{display:block;color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.rules-steps span,.rules-decisions span{display:block;margin-top:3px;color:#a9bdc9;font-size:12px;line-height:1.35}
.rules-decisions{display:grid;gap:7px}.rules-decisions div{border-left-width:4px}.rules-decisions .proceed{border-left-color:var(--proceed)}
.rules-decisions .verify{border-left-color:var(--verify)}.rules-decisions .report{border-left-color:var(--report)}
.rules-close{display:block;margin:18px 0 0 auto;border:2px solid #071018;background:var(--noir-gold);color:var(--noir-gold-ink);
  padding:11px 15px;font:800 11px/1 var(--mono,ui-monospace,monospace);letter-spacing:.05em;text-transform:uppercase;cursor:pointer;box-shadow:4px 4px 0 #02070b}
.results-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:22px}

@media(max-width:980px){
  .hub-wrap{padding:22px}
  .hub-topline{align-items:flex-start}
  .hub-grid{grid-template-columns:1fr}
  .track-card{min-height:150px}
}

@media(prefers-reduced-motion:reduce){
  .splash-action,.monitor-screen{transition:none}
}

.template-media-placeholder{
  display:block;
  width:100%;
  height:100%;
  min-height:180px;
  object-fit:cover;
  border-radius:inherit;
}

.template-placeholder-card{
  overflow:hidden;
  padding:0 !important;
}

/* Neo-noir illustrated visual system */
:root{
  --noir-ink:#05090d;
  --noir-blue:#0c1c29;
  --noir-panel:#132a3a;
  --noir-paper:#b8cad5;
  --noir-line:#58758a;
  --noir-cyan:#79c9dc;
  --noir-gold:#e2b457;
  --noir-gold-ink:#171006;
}

.computer-frame{filter:contrast(1.08) saturate(.82)}
.monitor-screen{
  border-radius:0;
  background:var(--noir-blue);
  box-shadow:
    0 0 0 3px #03070a,
    0 0 0 5px #456377,
    inset 0 0 70px rgba(0,0,0,.62);
}
.monitor-screen::before,
.monitor-screen::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:20;
  pointer-events:none;
}
.monitor-screen::before{
  opacity:.12;
  background-image:
    radial-gradient(circle at 25% 25%,#d7e4eb 0 1px,transparent 1.2px),
    radial-gradient(circle at 75% 70%,#061019 0 1px,transparent 1.3px);
  background-size:7px 7px,9px 9px;
  mix-blend-mode:overlay;
}
.monitor-screen::after{
  opacity:.11;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.2) 0 1px,transparent 1px 4px);
}

.splash-shade{
  background:
    linear-gradient(90deg,rgba(3,8,12,.96) 0%,rgba(5,12,18,.78) 48%,rgba(4,10,15,.2) 78%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.025) 0 1px,transparent 1px 4px),
    linear-gradient(0deg,rgba(3,8,12,.82),transparent 52%);
}
.splash-title{
  max-width:760px;
  color:#dce8ee;
  font-family:"Arial Narrow","Roboto Condensed","Helvetica Neue",Arial,sans-serif;
  font-weight:950;
  letter-spacing:-.065em;
  text-transform:uppercase;
  text-shadow:4px 4px 0 #07121a,8px 8px 24px rgba(0,0,0,.58);
}
.splash-title::after{
  content:"";
  display:block;
  width:82px;
  height:4px;
  margin-top:16px;
  background:var(--noir-gold);
  box-shadow:6px 4px 0 #07121a;
}
.splash-eyebrow,.splash-deck{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.splash-eyebrow{color:#a9c5d3}
.splash-deck{color:var(--noir-cyan)}
.splash-meta span{
  border-radius:1px;
  border-color:#6a8292;
  background:rgba(8,20,29,.76);
  box-shadow:3px 3px 0 rgba(0,0,0,.42);
}
.splash-action{
  border-radius:1px;
  border:2px solid #071018;
  background:var(--noir-gold);
  color:var(--noir-gold-ink);
  box-shadow:5px 5px 0 #071018;
  clip-path:polygon(0 0,96% 0,100% 25%,100% 100%,4% 100%,0 75%);
}

.hub-layer,.briefing-layer,.module-layer{
  background:
    linear-gradient(rgba(7,17,25,.92),rgba(7,17,25,.95)),
    repeating-linear-gradient(135deg,rgba(120,170,195,.08) 0 2px,transparent 2px 9px);
}
.hub-wrap,.module-layer>.wrap{position:relative;z-index:2}
.hub-kicker,.kicker{
  color:var(--noir-gold)!important;
  text-shadow:2px 2px 0 #020609;
}
.hub-title,
.module-layer h1,
.module-layer h2{
  color:#dce8ee;
  font-family:"Arial Narrow","Roboto Condensed","Helvetica Neue",Arial,sans-serif;
  font-weight:950;
  letter-spacing:-.045em;
  text-transform:uppercase;
  text-shadow:3px 3px 0 #04090d;
}
.hub-title{border-bottom:3px solid var(--noir-gold);padding-bottom:10px}
.hub-intro,.sub,.lead-para{color:#a9bdc9!important}
.module-menu-button{
  border-radius:1px;
  border:1px solid #7894a5;
  background:#102432;
  color:#d8e4ea;
  box-shadow:3px 3px 0 #03080c;
}
.module-menu-button:hover{border-color:var(--noir-gold);color:#fff;background:#193345}

.track-card{
  position:relative;
  border:2px solid var(--noir-line);
  border-radius:1px;
  background:
    linear-gradient(145deg,rgba(26,54,72,.96),rgba(12,29,41,.98)),
    repeating-linear-gradient(45deg,rgba(255,255,255,.03) 0 1px,transparent 1px 7px);
  box-shadow:6px 6px 0 #04090d;
  clip-path:polygon(0 0,94% 0,100% 9%,100% 100%,6% 100%,0 91%);
}
.track-card::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:38%;
  height:3px;
  background:var(--noir-gold);
}
.track-card:hover{border-color:var(--noir-cyan);background:#19384b;transform:translate(-2px,-3px);box-shadow:9px 9px 0 #04090d}
.track-card.current{border-color:var(--noir-cyan)}
.track-number{color:#839cab;font-size:11px}
.track-type{color:var(--noir-cyan);text-shadow:1px 1px 0 #020609}
.track-card>strong{
  color:#e3edf2;
  font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif;
  font-size:20px;
  text-transform:uppercase;
}
.track-description{color:#a8bac5}
.track-bottom{border-top-color:#4c6576;color:#879daa}
.track-bottom b{color:var(--noir-gold)}

.module-layer .card,
.module-layer .mock,
.module-layer .transcript,
.module-layer .fb{
  border:2px solid var(--noir-line);
  border-radius:1px;
  background:
    linear-gradient(145deg,rgba(20,44,59,.98),rgba(10,25,36,.98)),
    repeating-linear-gradient(45deg,rgba(255,255,255,.025) 0 1px,transparent 1px 8px);
  box-shadow:6px 6px 0 #03080c;
}
.module-layer .card{clip-path:polygon(0 0,98% 0,100% 2%,100% 100%,2% 100%,0 98%)}
.module-layer .mock-head{
  border-bottom:2px solid var(--noir-line);
  background:#07131c;
  color:#9db1bd;
  text-transform:uppercase;
  letter-spacing:.09em;
}
.module-layer .mock-body,
.module-layer .bubble{background:transparent;color:#dce7ed}
.module-layer .bubble{border:1px solid #557185;border-radius:1px;box-shadow:3px 3px 0 #04090d}
.module-layer .avatar{border-radius:1px;border:1px solid #6f8999;background:#1a3547}
.module-layer .media{
  border:2px solid #55778b;
  border-radius:1px;
  background:
    radial-gradient(circle at center,rgba(79,129,153,.16),transparent 55%),
    repeating-linear-gradient(0deg,#091721,#091721 4px,#0b1b27 4px,#0b1b27 8px);
  box-shadow:inset 0 0 35px rgba(0,0,0,.6),5px 5px 0 #03080c;
}
.module-layer .media .play{border-radius:1px;border-color:var(--noir-cyan)}
.module-layer .media .play::after{border-left-color:var(--noir-cyan)}
.module-layer .transcript summary{color:#adc0cb;background:#0a1822}
.module-layer .transcript summary::before{color:var(--noir-gold)}

.module-layer .tag,
.module-layer .reveal{
  border-radius:1px;
  border-color:#607c8e;
  background:#0b1b27;
  color:#b9cbd4;
  box-shadow:2px 2px 0 #03080c;
}
.module-layer .progress-row{
  padding:10px 12px;
  border:1px solid #425d70;
  background:#091720;
  box-shadow:4px 4px 0 #03080c;
}
.module-layer .pip{height:5px;border-radius:0;background:#304958}
.module-layer .pip.done{background:var(--noir-cyan)}
.module-layer .pip.cur{background:var(--noir-gold)}

.module-layer .choice{
  border:1px solid #536f81;
  border-left:5px solid #536f81;
  border-radius:1px;
  background:#102634;
  box-shadow:4px 4px 0 #03080c;
  color:#dce7ed;
}
.module-layer .choice:hover:not(:disabled){border-color:var(--noir-cyan);background:#183547;transform:translateX(4px)}
.module-layer .choice .lead{border-radius:1px;box-shadow:2px 2px 0 #03080c}
.module-layer .choice.picked{border-color:var(--noir-gold);background:#1b3444}
.module-layer .choice.best{border-color:#60b691}
.module-layer .choice.bad{border-color:#d66a58}

.module-layer .fb-head{border-bottom:2px solid #4a6576;background:#0b1a25}
.module-layer .fb-head.g{background:#113329}
.module-layer .fb-head.b{background:#37201d}
.module-layer .fb-body{color:#d5e1e7}
.module-layer .reveal.syn{color:#f18bdd;border-color:#b44aa2}
.module-layer .reveal.gen{color:#86d4b0;border-color:#4c9a77}

.module-layer .btn{
  border-radius:1px;
  border:2px solid #071018;
  background:#173346;
  color:#e2edf2;
  box-shadow:4px 4px 0 #03080c;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.module-layer .btn-primary{background:var(--noir-gold);color:var(--noir-gold-ink)}
.module-layer .btn:hover{border-color:var(--noir-gold);transform:translate(-1px,-1px);box-shadow:6px 6px 0 #03080c}
.module-layer .story{border-left:5px solid var(--noir-gold);border-radius:0;background:#102635;box-shadow:4px 4px 0 #03080c}
.module-layer .ring{filter:drop-shadow(5px 5px 0 #03080c)}

/* Readability pass: preserve the visual system while keeping every label legible. */
.module-layer #scene>h2{
  letter-spacing:-.015em;
  line-height:1.18;
}
.module-layer .tag,
.module-layer .score-badge,
.module-layer .mock-head,
.module-layer .transcript summary{color:#c7d6de}
.module-layer .choice{color:#eef5f8}
.module-layer .fb-body,
.module-layer .recap .r{color:#e6f0f4}
.module-layer .foot{color:#9fb2bd}
.briefing-file strong{color:#f0f6f8;font-size:10px}
.briefing-file-status{color:#aebfc8;font-size:9px}
.track-description{color:#c0ced5}
.track-bottom{color:#aebfc8}
.hub-footnote{color:#a7b8c1}

/* Round landing screens */
.module-layer .how-card{margin-top:20px;padding:22px}
.module-layer .how-title{margin:0 0 4px;font-size:20px;text-transform:uppercase;letter-spacing:.04em}
.module-layer .how-goal{margin:0 0 18px;color:#b7c8d1;font-size:15px}
.module-layer .how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}
.module-layer .how-step{border:1px solid #536f81;background:#0d202d;padding:14px;min-height:112px}
.module-layer .how-step b{display:block;margin:7px 0 3px;color:#edf4f7;font-size:15px}
.module-layer .how-step p{margin:0;color:#9fb3bf;font-size:13px;line-height:1.4}
.module-layer .step-no{display:inline-grid;place-items:center;width:25px;height:25px;background:var(--noir-gold);
  color:var(--noir-gold-ink);font:800 12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;box-shadow:2px 2px 0 #03080c}
.module-layer .decision-list{display:grid;gap:7px;margin:0 0 16px}
.module-layer .decision-row{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:12px;
  padding:9px 11px;border-left:4px solid #536f81;background:#102634;font-size:13px;color:#b6c7d0}
.module-layer .decision-row.proceed{border-color:var(--proceed)}
.module-layer .decision-row.verify{border-color:var(--verify)}
.module-layer .decision-row.report{border-color:var(--report)}
.module-layer .decision-row strong{color:#edf4f7;text-transform:uppercase;letter-spacing:.04em;font-size:12px}
.module-layer .how-note{margin:0 0 18px;padding:11px 13px;border:1px solid #607c8e;background:#091a25;
  color:#d7e3e9;font-size:14px}
.module-layer .how-note b{color:var(--noir-gold)}
.module-layer .investigator-thought{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:12px;
  margin:12px 0;padding:10px 12px;border:1px solid #536f81;border-left:5px solid var(--noir-gold);
  background:#0a1c27;color:#c8d7df;font-size:13px;line-height:1.45;box-shadow:3px 3px 0 #04090d}
.module-layer .investigator-thought b{color:var(--noir-gold);font:900 10px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.module-layer .intro-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.module-layer .intro-meta{display:flex;gap:8px;flex-wrap:wrap}
.module-layer .intro-panel[hidden]{display:none}
.module-layer .static-reveal{opacity:0;pointer-events:none}
.module-layer .static-reveal.is-visible{pointer-events:auto;animation:soft-fade .52s ease-out both}

@keyframes soft-fade{from{opacity:0}to{opacity:1}}

@media(min-width:801px) and (min-height:700px){
  .module-layer>.wrap{max-width:920px;padding:16px 18px 48px}
  .module-layer .progress-row{margin-bottom:10px}
  .module-layer #game .card.pad{padding:17px}
  .module-layer #game .choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}
  .module-layer #game .choice{min-height:70px;padding:10px 11px;gap:8px;font-size:13px}
  .module-layer #game .choice .lead{padding:4px 6px}
  .module-layer #game .guided-case{margin-bottom:10px;padding:10px 12px}
  .module-layer #game .investigator-thought{margin:9px 0;padding:9px 11px}
}

@media(max-width:800px),(max-aspect-ratio:1/1){
  .monitor-screen{box-shadow:none}
  .briefing-wrap{padding:20px 16px 24px}
  .briefing-files{grid-template-columns:repeat(2,1fr);padding:14px 10px}
  .briefing-bottom{align-items:flex-start;flex-direction:column}
  .briefing-viewer{padding:14px}
  .briefing-viewer-body{padding:20px}
  .briefing-viewer-content:has(.briefing-video-panel:not(.hidden)){grid-template-columns:1fr}
  .briefing-video-panel video{max-height:190px}
  .briefing-map-steps{grid-template-columns:1fr}
  .briefing-map-outcomes{grid-template-columns:1fr}
  .module-layer .card{clip-path:none}
  .module-layer .how-grid{grid-template-columns:1fr}
  .module-layer .how-step{min-height:0}
  .module-layer .decision-row{grid-template-columns:1fr;gap:2px}
  .rules-steps{grid-template-columns:1fr}
  .module-menu-button{font-size:9px;padding:8px 9px}
}

@media(max-width:600px){
  .evergreen-restart{left:10px;bottom:10px;padding:7px 9px;font-size:8px}
  .media-access-controls{left:126px;bottom:10px;gap:5px}.audio-pause-control{min-width:96px;padding:7px 8px;font-size:8px}
  .briefing-wrap,.hub-wrap{padding:18px 14px 24px}
  .mission-layer{overflow-y:auto;padding:12px}.mission-card{max-height:none;padding:18px 16px}.mission-pattern{align-items:stretch;flex-direction:column}.mission-pattern i{transform:rotate(90deg);text-align:center}
  .briefing-title{font-size:clamp(25px,8vw,34px);line-height:1.05}
  .briefing-deck,.hub-intro{font-size:13px}
  .briefing-desktop{margin-top:14px}
  .briefing-desktop-bar{font-size:8px;letter-spacing:.06em}
  .briefing-files{gap:6px;padding:12px 6px}
  .briefing-file{padding:9px 3px}.briefing-file strong{font-size:9px}
  .briefing-bottom{gap:12px}.briefing-action{width:100%;text-align:center}
  .briefing-viewer{align-items:start;overflow-y:auto;padding:12px}
  .briefing-viewer-window{margin:auto 0}.briefing-viewer-body{padding:18px}
  .briefing-video-panel video{max-height:220px}
  .hub-topline{display:block}.hub-title{font-size:32px;margin-top:20px}
  .module-nav{padding:10px;gap:7px}.module-menu-button{white-space:normal;line-height:1.2}
  .module-layer>.wrap{padding:18px 12px 50px}
  .module-layer .progress-row{align-items:flex-start}
  .module-layer .fb-head{flex-wrap:wrap}.module-layer .fb-head .pts{width:100%;margin-left:0}
  .module-layer .choice{padding:13px 11px;gap:9px;font-size:14px}
  .module-layer .choice .lead{padding:4px 6px}
  .module-layer .investigator-thought{grid-template-columns:1fr;gap:4px}
  .module-layer .recap .r{display:grid;grid-template-columns:auto minmax(0,1fr) auto}
  .results-actions .btn{width:100%}
  .rules-overlay{align-items:start;overflow-y:auto;padding:10px}
  .rules-panel{max-height:none;margin:auto 0;padding:18px;box-shadow:5px 5px 0 #02070b}
  .rules-panel h2{font-size:24px}
}

@media(prefers-reduced-motion:reduce){
  .screen-transition{transition:none}
  .briefing-reveal,.briefing-reveal.is-visible{opacity:1;pointer-events:auto;animation:none}
  .module-layer .static-reveal,.module-layer .static-reveal.is-visible{opacity:1;pointer-events:auto;animation:none}
}

/* Desktop case-file layout: keep coaching, evidence, and decisions in one view. */
@media(min-width:1000px) and (min-height:650px){
  .module-layer>.wrap{max-width:1120px;padding:12px 18px 18px}
  .module-layer #game .progress-row{margin-bottom:7px}
  .module-layer #game .card.pad{padding:12px 14px}
  .module-layer #game #scene{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:8px 14px;align-items:start}
  .module-layer #game #scene>div:first-child,
  .module-layer #game #scene>h2,
  .module-layer #game #scene>.choices,
  .module-layer #game #scene>#fbSlot{grid-column:1/-1}
  .module-layer #game #scene>div:first-child{margin-bottom:0!important}
  .module-layer #game #scene>h2{margin:0 0 2px}
  .module-layer #game .guided-case{grid-column:1;grid-row:3;margin:0;padding:10px 12px}
  .module-layer #game .investigator-thought{grid-column:1;grid-row:3;margin:0;padding:10px 11px}
  .module-layer #game #scene:has(.guided-case) .investigator-thought{grid-row:4}
  .module-layer #game .choices{margin-top:2px}
  .module-layer #game .choice{min-height:58px}

  body[data-round="monday"] .module-layer #game .phone-shell{grid-column:2;grid-row:3 / span 2;width:100%;max-width:none;margin:0;border-width:5px;border-radius:23px}
  body[data-round="monday"] .module-layer #game .phone-status{padding:4px 13px 3px}
  body[data-round="monday"] .module-layer #game .phone-head{padding:3px 8px 5px}
  body[data-round="monday"] .module-layer #game .phone-avatar{width:28px;height:28px;margin-bottom:1px}
  body[data-round="monday"] .module-layer #game .message-day{padding:5px 8px 2px}
  body[data-round="monday"] .module-layer #game .message-thread{min-height:0;padding:2px 9px 6px}
  body[data-round="monday"] .module-layer #game .sms-row{margin:3px 0}
  body[data-round="monday"] .module-layer #game .sms-bubble{padding:6px 8px;font-size:12px;line-height:1.3}
  body[data-round="monday"] .module-layer #game .sms-link-card{margin-top:4px}
  body[data-round="monday"] .module-layer #game .sms-link-top{height:34px}
  body[data-round="monday"] .module-layer #game .sms-link-body{padding:5px 7px}
  body[data-round="monday"] .module-layer #game .sms-meta{margin-bottom:3px}
  body[data-round="monday"] .module-layer #game .sms-context{margin-top:5px;padding:6px 8px;line-height:1.3}
  body[data-round="monday"] .module-layer #game .phone-compose{padding-top:5px;padding-bottom:7px}

  body[data-round="wednesday"] .module-layer #game .call-investigation{grid-column:2;grid-row:3 / span 2;margin:0}
  body[data-round="wednesday"] .module-layer #game .call-dialogue{max-height:190px;overflow:auto;padding:10px}
  body[data-round="wednesday"] .module-layer #game .call-turn{padding:8px 10px;font-size:12px;line-height:1.35}
  body[data-round="wednesday"] .module-layer #game .call-tools{padding:0 10px 10px}
  body[data-round="wednesday"] .module-layer #game .probe-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  body[data-round="wednesday"] .module-layer #game .probe-btn{padding:7px 8px;font-size:11px}

  body[data-round="friday"] .module-layer #game .transcript{display:none}
  body[data-round="friday"] .module-layer #game .inspection-steps{flex-wrap:nowrap;gap:4px;margin-top:7px}
  body[data-round="friday"] .module-layer #game .inspection-step{padding:6px 7px;font-size:8px;white-space:nowrap}
  body[data-round="friday"] .module-layer #game .qr-artifact{grid-column:2;grid-row:3 / span 3;margin:0}
  body[data-round="friday"] .module-layer #game .context-stage{padding:9px;gap:9px}
  body[data-round="friday"] .module-layer #game .qr-photo-evidence{min-height:225px}
  body[data-round="friday"] .module-layer #game .phone-preview{border-width:5px;border-radius:18px}
  body[data-round="friday"] .module-layer #game .phone-status{padding:5px 8px}
  body[data-round="friday"] .module-layer #game .phone-browser{padding:5px 7px}
  body[data-round="friday"] .module-layer #game .phone-page{min-height:0;padding:6px 8px}
  body[data-round="friday"] .module-layer #game .phone-page h4{margin-bottom:3px;font-size:14px}
  body[data-round="friday"] .module-layer #game .phone-page p{margin-bottom:5px;line-height:1.25}
  body[data-round="friday"] .module-layer #game .mock-field{margin:3px 0;padding:5px 6px}
  body[data-round="friday"] .module-layer #game .mock-action{margin-top:5px;padding:6px}
  body[data-round="friday"] .module-layer #game .menu-item,
  body[data-round="friday"] .module-layer #game .permission-item{padding:4px 0}
  body[data-round="friday"] .module-layer #game .evidence-drawer{margin:0 9px 8px}
  body[data-round="friday"] .module-layer #game .source-note{margin:0 9px 9px;padding:7px 9px}

  /* Once a decision is made, replace the evidence workspace with the rationale. */
  .module-layer #game #scene:has(#fbSlot .fb)>.guided-case,
  .module-layer #game #scene:has(#fbSlot .fb)>.investigator-thought,
  .module-layer #game #scene:has(#fbSlot .fb)>.phone-shell,
  .module-layer #game #scene:has(#fbSlot .fb)>.call-investigation,
  .module-layer #game #scene:has(#fbSlot .fb)>.qr-artifact,
  .module-layer #game #scene:has(#fbSlot .fb)>.transcript{display:none}
  .module-layer #game #scene:has(#fbSlot .fb)>.choices{grid-row:auto}
  .module-layer #game #scene:has(#fbSlot .fb)>#fbSlot{grid-row:auto}
}

/* Keep the briefing file—including the response map and close action—inside the monitor. */
@media(min-width:801px) and (min-height:650px){
  .briefing-viewer{padding:16px 22px}
  .briefing-viewer-window{width:min(900px,100%);max-height:calc(100vh - 32px);overflow:hidden}
  .briefing-viewer-body{padding:16px 22px 18px}
  .briefing-stamp{padding:4px 7px}
  .briefing-viewer-body h2{margin:11px 0 6px;font-size:23px}
  .briefing-viewer-body p{font-size:14px;line-height:1.45}
  .briefing-decision-map{margin-top:11px;padding:11px}
  .briefing-map-label{margin-bottom:7px}
  .briefing-map-steps article{padding:8px 9px}
  .briefing-map-steps article>span{width:23px;height:23px;margin-bottom:5px}
  .briefing-map-steps article p{margin-top:3px;font-size:10px;line-height:1.3}
  .briefing-map-outcomes{margin-top:6px}
  .briefing-map-outcomes span{padding:5px}
  .briefing-action-takeaway{margin-top:11px;padding:10px 12px}
  .briefing-action-takeaway p{font-size:13px;line-height:1.4}
  .briefing-close-action{margin-top:12px;padding:10px 13px}
}

/* Spacious desktops: use the available lower half of the monitor for legible evidence. */
@media(min-width:1200px) and (min-height:800px){
  .module-layer>.wrap{max-width:1320px;padding:14px 20px 28px}
  .module-layer #game #scene{grid-template-columns:minmax(360px,.72fr) minmax(0,1.28fr);gap:12px 20px}
  .module-layer #game .guided-case,
  .module-layer #game .investigator-thought{padding:14px 16px;font-size:15px;line-height:1.5}
  .module-layer #game .investigator-thought b{font-size:11px}
  .module-layer #game .choice{min-height:72px;padding:14px 16px;font-size:15px}

  body[data-round="monday"] .module-layer #game .phone-shell{border-width:7px;border-radius:30px}
  body[data-round="monday"] .module-layer #game .phone-status{padding:7px 16px 5px;font-size:11px}
  body[data-round="monday"] .module-layer #game .phone-head{padding:6px 11px 9px}
  body[data-round="monday"] .module-layer #game .phone-avatar{width:36px;height:36px}
  body[data-round="monday"] .module-layer #game .phone-contact b{font-size:14px}
  body[data-round="monday"] .module-layer #game .phone-contact>span:not(.phone-avatar){font-size:10px}
  body[data-round="monday"] .module-layer #game .message-day{padding:9px 10px 5px;font-size:10px}
  body[data-round="monday"] .module-layer #game .message-thread{min-height:190px;padding:4px 12px 12px}
  body[data-round="monday"] .module-layer #game .sms-row{margin:6px 0}
  body[data-round="monday"] .module-layer #game .sms-bubble{padding:9px 11px;font-size:15px;line-height:1.38}
  body[data-round="monday"] .module-layer #game .sms-meta{font-size:10px}
  body[data-round="monday"] .module-layer #game .sms-context{margin-top:9px;padding:10px 11px;font-size:13px;line-height:1.42}
  body[data-round="monday"] .module-layer #game .phone-compose{padding:8px 11px 11px}

  body[data-round="wednesday"] .module-layer #game .call-dialogue{max-height:310px;padding:15px}
  body[data-round="wednesday"] .module-layer #game .call-turn{padding:12px 14px;font-size:15px;line-height:1.45}
  body[data-round="wednesday"] .module-layer #game .call-tools{padding:0 14px 14px}
  body[data-round="wednesday"] .module-layer #game .probe-btn{padding:11px 12px;font-size:13px}

  body[data-round="friday"] .module-layer #game .context-stage{padding:14px;gap:14px}
  body[data-round="friday"] .module-layer #game .qr-photo-evidence{min-height:360px}
  body[data-round="friday"] .module-layer #game .phone-preview{border-width:7px;border-radius:24px}
  body[data-round="friday"] .module-layer #game .phone-page{padding:11px 13px;font-size:13px}
  body[data-round="friday"] .module-layer #game .phone-page h4{font-size:17px}
  body[data-round="friday"] .module-layer #game .evidence-drawer{margin:0 14px 12px}
  body[data-round="friday"] .module-layer #game .source-note{margin:0 14px 14px;padding:10px 12px;font-size:13px}

  /* Smishing: let the conversation lead; coaching supports it underneath. */
  body[data-round="monday"] .module-layer #game #scene{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
  body[data-round="monday"] .module-layer #game .phone-shell{
    grid-column:1/-1;grid-row:3;width:min(100%,1100px);justify-self:center;margin:0
  }
  body[data-round="monday"] .module-layer #game .guided-case{
    grid-column:1;grid-row:4;margin:0;min-height:112px
  }
  body[data-round="monday"] .module-layer #game .investigator-thought,
  body[data-round="monday"] .module-layer #game #scene:has(.guided-case) .investigator-thought{
    grid-column:2;grid-row:4;margin:0;min-height:112px
  }
  body[data-round="monday"] .module-layer #game .choices{grid-column:1/-1;grid-row:5;margin-top:2px}
  body[data-round="monday"] .module-layer #game .message-thread{min-height:150px}
}
