:root {
  --ink: #05070b;
  --charcoal: #101923;
  --panel: rgba(14, 22, 31, .82);
  --panel-strong: rgba(21, 34, 45, .9);
  --cyan: #32d8ff;
  --green: #39e6a6;
  --amber: #f2c94c;
  --coral: #ff7a59;
  --red: #ff4e66;
  --white: #f6fbff;
  --muted: #a9bfd6;
  --line: rgba(246, 251, 255, .13);
}

@property --sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  display: grid;
  grid-template-rows: 1fr 62px;
  place-items: center;
  background:
    radial-gradient(circle at 80% 18%, rgba(50, 216, 255, .12), transparent 28%),
    radial-gradient(circle at 12% 80%, rgba(57, 230, 166, .1), transparent 30%),
    linear-gradient(135deg, #05070b, #101923 46%, #18212a);
  color: var(--white);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
}

#signalCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

.stage {
  position: relative;
  width: min(calc(100vw - 32px), calc((100vh - 92px) * 16 / 9));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(50, 216, 255, .24);
  background:
    linear-gradient(135deg, rgba(15, 26, 35, .78), rgba(5, 7, 11, .62)),
    radial-gradient(circle at 84% 68%, rgba(255, 122, 89, .1), transparent 28%);
  box-shadow: 0 22px 90px rgba(0, 0, 0, .5), inset 0 0 80px rgba(50, 216, 255, .05);
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .28;
  z-index: 1;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, .12), transparent 38%, rgba(5, 7, 11, .45)),
    linear-gradient(0deg, rgba(5, 7, 11, .38), transparent 26%);
  z-index: 2;
}

.logo {
  position: absolute;
  right: 4.2%;
  top: 4.2%;
  width: 9%;
  max-width: 130px;
  min-width: 78px;
  z-index: 30;
  filter: drop-shadow(0 0 12px rgba(50, 216, 255, .28));
}

.memory-fx {
  position: absolute;
  inset: 0;
  z-index: 18;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  --fx-primary: var(--cyan);
  --fx-secondary: var(--amber);
}

.memory-fx > div,
.memory-fx::before,
.memory-fx::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.memory-fx::before {
  inset: -18%;
  background:
    radial-gradient(circle at 28% 30%, color-mix(in srgb, var(--fx-primary) 26%, transparent), transparent 18%),
    radial-gradient(circle at 70% 50%, color-mix(in srgb, var(--fx-secondary) 16%, transparent), transparent 23%);
  opacity: 0;
  transform: scale(.84);
}

.memory-fx::after {
  inset: 0;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,.42) 49%, transparent 56% 100%);
  opacity: 0;
  transform: translateX(-120%);
}

.fx-vortex {
  right: 26%;
  top: 12%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--fx-primary) 34%, transparent), transparent, color-mix(in srgb, var(--fx-secondary) 26%, transparent), transparent),
    radial-gradient(circle, transparent 48%, color-mix(in srgb, var(--fx-primary) 22%, transparent) 50%, transparent 64%);
  filter: blur(.4px) drop-shadow(0 0 24px color-mix(in srgb, var(--fx-primary) 26%, transparent));
  opacity: 0;
  transform: rotate(0deg) scale(.72);
}

.fx-timewave {
  left: 3%;
  right: 31%;
  bottom: 13%;
  height: 18%;
  border: 1px solid color-mix(in srgb, var(--fx-secondary) 48%, transparent);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(.2);
  box-shadow: 0 0 46px color-mix(in srgb, var(--fx-secondary) 18%, transparent), inset 0 0 34px color-mix(in srgb, var(--fx-secondary) 12%, transparent);
}

.fx-scanline {
  inset: 0 30% 0 0;
  background: repeating-linear-gradient(180deg, transparent 0 28px, rgba(255,255,255,.08) 29px, transparent 31px);
  opacity: 0;
  transform: translateY(-18%);
}

.fx-gridflash {
  left: 5.5%;
  right: 30.5%;
  top: 21%;
  bottom: 19%;
  border: 1px solid color-mix(in srgb, var(--fx-primary) 44%, transparent);
  border-radius: 8px;
  opacity: 0;
  box-shadow: 0 0 40px color-mix(in srgb, var(--fx-primary) 18%, transparent), inset 0 0 30px color-mix(in srgb, var(--fx-primary) 10%, transparent);
}

.memory-fx[data-mode="score"] { --fx-primary: var(--amber); --fx-secondary: var(--coral); }
.memory-fx[data-mode="minute"] { --fx-primary: var(--amber); --fx-secondary: var(--cyan); }
.memory-fx[data-mode="share"],
.memory-fx[data-mode="shareplay"] { --fx-primary: var(--coral); --fx-secondary: var(--amber); }
.memory-fx[data-mode="comments"],
.memory-fx[data-mode="templates"],
.memory-fx[data-mode="rules"] { --fx-primary: var(--green); --fx-secondary: var(--cyan); }
.memory-fx[data-mode="mission"],
.memory-fx[data-mode="finale"] { --fx-primary: var(--coral); --fx-secondary: var(--amber); }

.memory-fx[data-mode="score"]::before,
.memory-fx[data-mode="minute"]::before,
.memory-fx[data-mode="share"]::before,
.memory-fx[data-mode="shareplay"]::before,
.memory-fx[data-mode="templates"]::before,
.memory-fx[data-mode="mission"]::before,
.memory-fx[data-mode="finale"]::before {
  animation: fxAtmosphere 1.35s cubic-bezier(.2,.9,.2,1) both;
}

.memory-fx[data-mode="score"] .fx-vortex,
.memory-fx[data-mode="share"] .fx-vortex,
.memory-fx[data-mode="shareplay"] .fx-vortex,
.memory-fx[data-mode="finale"] .fx-vortex {
  animation: fxVortex 2.2s cubic-bezier(.2,.9,.2,1) both;
}

.memory-fx[data-mode="minute"] .fx-timewave,
.memory-fx[data-mode="mission"] .fx-timewave {
  animation: fxTimewave 2.4s cubic-bezier(.2,.9,.2,1) both;
}

.memory-fx[data-mode="comments"] .fx-scanline,
.memory-fx[data-mode="templates"] .fx-scanline,
.memory-fx[data-mode="rules"] .fx-scanline {
  animation: fxScan 2.1s ease both;
}

.memory-fx[data-mode="score"] .fx-gridflash,
.memory-fx[data-mode="playbook"] .fx-gridflash,
.memory-fx[data-mode="metrics"] .fx-gridflash {
  animation: fxGridFlash 1.7s cubic-bezier(.2,.9,.2,1) both;
}

.memory-fx.flash::after {
  animation: fxStageWipe .62s ease-out both;
}

.focus-spotlight {
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 80px;
  z-index: 9;
  border-radius: 16px;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(.96);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.22), rgba(242,201,76,.15) 35%, transparent 72%),
    radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--spot) 34%, transparent), transparent 66%);
  box-shadow:
    0 0 28px color-mix(in srgb, var(--spot) 46%, transparent),
    0 0 92px color-mix(in srgb, var(--spot) 26%, transparent),
    inset 0 0 34px rgba(255,255,255,.16);
  mix-blend-mode: screen;
  --spot: var(--amber);
}

.focus-spotlight::before,
.focus-spotlight::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  pointer-events: none;
}

.focus-spotlight::before {
  background:
    conic-gradient(from var(--sweep), transparent 0 18%, color-mix(in srgb, var(--spot) 72%, transparent) 24%, transparent 31% 100%);
  filter: blur(7px);
  animation: spotlightSweep 2.2s linear infinite;
}

.focus-spotlight::after {
  inset: 8%;
  background: linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,.54) 48%, transparent 62% 100%);
  opacity: .62;
  transform: translateX(-120%);
  animation: spotlightScan 1.8s ease-in-out infinite;
}

.focus-spotlight.major { --spot: var(--coral); }
.focus-spotlight.good { --spot: var(--green); }
.focus-spotlight.warn { --spot: var(--red); }
.focus-spotlight.line { --spot: var(--cyan); }
.focus-spotlight.visible {
  opacity: 1;
  animation: spotlightBreathe 2.8s ease-in-out infinite;
}

@keyframes spotlightSweep {
  to { --sweep: 360deg; }
}

@keyframes spotlightScan {
  0%, 28% { opacity: 0; transform: translateX(-120%); }
  42% { opacity: .7; }
  78%, 100% { opacity: 0; transform: translateX(120%); }
}

@keyframes spotlightBreathe {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.985); filter: brightness(1); }
  50% { transform: translate3d(0, 0, 0) scale(1.035); filter: brightness(1.18); }
}

.fx-wave,
.fx-spark {
  position: absolute;
  pointer-events: none;
  z-index: 7;
}

.fx-wave {
  width: 28px;
  height: 28px;
  border: 3px solid var(--fx-secondary);
  border-radius: 50%;
  box-shadow: 0 0 22px var(--fx-secondary), 0 0 70px color-mix(in srgb, var(--fx-secondary) 44%, transparent);
  transform: translate(-50%, -50%);
}

.fx-spark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fx-primary);
  box-shadow: 0 0 16px var(--fx-primary), 0 0 28px var(--fx-secondary);
  transform: translate(-50%, -50%);
}

@keyframes fxAtmosphere {
  0% { opacity: 0; transform: scale(.84); }
  32% { opacity: .92; }
  100% { opacity: .18; transform: scale(1.08); }
}

@keyframes fxVortex {
  0% { opacity: 0; transform: rotate(-60deg) scale(.62); }
  28% { opacity: .9; }
  100% { opacity: .16; transform: rotate(210deg) scale(1.18); }
}

@keyframes fxTimewave {
  0% { opacity: 0; transform: scaleX(.08); }
  24% { opacity: .9; }
  100% { opacity: .12; transform: scaleX(1.08); }
}

@keyframes fxScan {
  0% { opacity: 0; transform: translateY(-18%); }
  28% { opacity: .56; }
  100% { opacity: 0; transform: translateY(18%); }
}

@keyframes fxGridFlash {
  0% { opacity: 0; transform: scale(.96); }
  35% { opacity: .78; }
  100% { opacity: 0; transform: scale(1.025); }
}

@keyframes fxStageWipe {
  to { opacity: .58; transform: translateX(120%); }
}

.scene {
  position: absolute;
  inset: 0;
  display: none;
  opacity: 0;
  transform: translate3d(4%, 0, -120px) scale(.985);
  filter: blur(10px);
  transition: opacity .62s ease, transform .72s cubic-bezier(.2, .9, .2, 1), filter .62s ease;
}

.scene.active {
  display: block;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.scene.exit {
  display: block;
  opacity: 0;
  transform: translate3d(-4%, 0, -120px) scale(.985);
  filter: blur(10px);
}

.safe {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  padding: 5.3% 30.5% 6.4% 5.5%;
}

.hero {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, .94), rgba(5, 7, 11, .58) 46%, rgba(5, 7, 11, .2)),
    url("assets/signal-room-hero.png") center / cover no-repeat;
  transform: scale(1.03);
  animation: heroMove 16s ease-in-out infinite alternate;
}

@keyframes heroMove {
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}

.hero-safe {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 76%;
  padding-right: 8%;
}

.kicker {
  margin: 0 0 1.15%;
  color: var(--cyan);
  font-size: clamp(10px, .9vw, 14px);
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

h1,
h2 {
  margin: 0;
  font-family: "Aptos Display", Aptos, "Segoe UI", sans-serif;
  font-weight: 900;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 920px;
  font-size: clamp(42px, 5.5vw, 76px);
}

h2 {
  max-width: 980px;
  font-size: clamp(29px, 3.45vw, 52px);
}

h3 {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 22px);
  line-height: 1.14;
}

p {
  margin: 0;
  line-height: 1.38;
}

.lead {
  max-width: 760px;
  margin-top: 2.2%;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 23px);
  font-weight: 650;
}

.impact-stack {
  display: flex;
  gap: 1.2%;
  margin-top: 4%;
}

.impact-stack span,
.final-line,
.explain-strip span,
.example-line {
  border: 1px solid rgba(50, 216, 255, .34);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(14, 22, 31, .82), rgba(5, 7, 11, .68));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.impact-stack span {
  display: grid;
  gap: 5px;
  min-width: 150px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: clamp(12px, .94vw, 15px);
  font-weight: 800;
}

.impact-stack b {
  color: var(--amber);
  font-size: clamp(25px, 2.5vw, 40px);
  line-height: 1;
}

.layout-2 {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 3%;
  align-items: stretch;
  margin-top: 3.2%;
  height: 57%;
}

.copy-block,
.dead-card,
.explain-card,
.signal-flow article,
.signal-grid article,
.team-board,
.comment-compare article,
.steps article,
.rules-grid article,
.operating-model article,
.metric-grid article,
.mission-board b,
.mission-board span,
.score-card,
.formula-card,
.scenario-card,
.timer-visual,
.timeline div {
  border: 1px solid rgba(50, 216, 255, .22);
  border-radius: 6px;
  background: linear-gradient(145deg, var(--panel), rgba(5, 7, 11, .66));
  box-shadow: 0 20px 70px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.copy-block {
  padding: 22px 25px;
}

.copy-block p {
  color: var(--white);
  font-size: clamp(16px, 1.28vw, 22px);
  font-weight: 720;
}

ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: clamp(13px, 1.02vw, 18px);
  font-weight: 650;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.dead-card {
  display: grid;
  place-items: center;
  text-align: center;
  border-color: rgba(255, 78, 102, .5);
}

.dead-card span {
  color: var(--red);
  font-size: clamp(68px, 7vw, 112px);
  line-height: .85;
  font-weight: 900;
  text-shadow: 0 0 22px rgba(255, 78, 102, .34);
}

.dead-card b {
  color: var(--white);
  font-size: clamp(20px, 1.95vw, 32px);
}

.dead-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.score-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35%;
  margin-top: 3.4%;
}

.score-card {
  min-height: 178px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.score-card::before {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: rgba(50, 216, 255, .15);
  filter: blur(12px);
}

.score-card span {
  display: block;
  min-height: 30px;
  color: var(--muted);
  font-size: clamp(12px, .9vw, 15px);
  font-weight: 850;
  text-transform: uppercase;
}

.score-card strong {
  display: block;
  margin-top: 10px;
  color: var(--cyan);
  font-size: clamp(52px, 5vw, 82px);
  line-height: .82;
  font-weight: 900;
}

.score-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(12px, .9vw, 16px);
  font-weight: 650;
}

.score-card.strong {
  border-color: rgba(242, 201, 76, .55);
}

.score-card.strong strong {
  color: var(--amber);
}

.score-card.power {
  border-color: rgba(255, 122, 89, .64);
  background: linear-gradient(145deg, rgba(49, 29, 23, .9), rgba(5, 7, 11, .7));
}

.score-card.power strong {
  color: var(--coral);
}

body[data-mode="score"] .scene.active .score-card {
  animation: scoreCardLock .78s cubic-bezier(.2,.9,.2,1) both;
}

body[data-mode="score"] .scene.active .score-card strong {
  animation: numberIgnition 1.1s cubic-bezier(.2,.9,.2,1) both;
  text-shadow: 0 0 18px currentColor, 0 0 42px color-mix(in srgb, currentColor 48%, transparent);
}

body[data-mode="score"] .scene.active .score-card.power {
  animation: scoreCardLock .78s cubic-bezier(.2,.9,.2,1) both, powerCardPulse 2s ease-in-out .8s infinite;
}

.signal-flow,
.signal-grid {
  display: grid;
  gap: 1.7%;
  margin-top: 3.7%;
}

.signal-flow {
  grid-template-columns: repeat(2, 1fr);
}

.signal-grid {
  grid-template-columns: repeat(3, 1fr);
}

.signal-flow article,
.signal-grid article {
  min-height: 178px;
  padding: 20px;
}

.signal-flow strong,
.signal-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: clamp(28px, 2.8vw, 46px);
  font-weight: 900;
}

.signal-flow p,
.signal-grid p,
.steps p,
.operating-model span,
.metric-grid span {
  margin-top: 11px;
  color: var(--muted);
  font-size: clamp(13px, .98vw, 17px);
  font-weight: 650;
}

.bottom-thesis {
  position: absolute;
  left: 5.5%;
  right: 30.5%;
  bottom: 6.2%;
  padding: 13px 20px;
  border: 1px solid rgba(242, 201, 76, .46);
  border-radius: 6px;
  background: rgba(5, 7, 11, .78);
  color: var(--white);
  text-align: center;
  font-size: clamp(14px, 1.12vw, 20px);
  font-weight: 900;
  box-shadow: 0 0 34px rgba(242, 201, 76, .08);
}

.bars {
  width: 94%;
  margin-top: 4.5%;
  display: grid;
  gap: 17px;
}

.bars div {
  display: grid;
  grid-template-columns: minmax(190px, 250px) 1fr 88px;
  gap: 18px;
  align-items: center;
}

.bars span,
.bars b {
  font-weight: 900;
  font-size: clamp(13px, 1.02vw, 18px);
}

.bars b {
  color: var(--muted);
  text-transform: uppercase;
}

.bars i {
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--c) var(--w), rgba(255, 255, 255, .12) var(--w));
  box-shadow: 0 0 20px color-mix(in srgb, var(--c) 42%, transparent);
  transform-origin: left;
}

.explain-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5%;
  margin-top: 4%;
}

.explain-strip span {
  padding: 14px;
  color: var(--white);
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 850;
}

.minute-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 3%;
  margin-top: 3.2%;
}

.timer-visual {
  min-height: 340px;
  padding: 22px;
  display: grid;
  place-items: center;
  text-align: center;
  border-color: rgba(242, 201, 76, .55);
}

.timer-ring {
  width: min(240px, 18vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(5, 7, 11, .96) 58%, transparent 59%),
    conic-gradient(var(--amber) var(--sweep), rgba(255, 255, 255, .12) 0);
  box-shadow: 0 0 42px rgba(242, 201, 76, .18);
  animation: timerSweep 3.6s cubic-bezier(.2, .9, .2, 1) both;
}

body[data-mode="minute"] .scene.active .timer-ring {
  animation: timerSweep 3.6s cubic-bezier(.2, .9, .2, 1) both, timerAlarm 1.25s ease-in-out .55s 3;
}

body[data-mode="minute"] .scene.active .timeline div {
  animation: timelinePulse .72s cubic-bezier(.2,.9,.2,1) both;
}

.timer-ring span {
  display: block;
  color: var(--amber);
  font-size: clamp(52px, 5.2vw, 84px);
  line-height: .86;
  font-weight: 900;
}

.timer-ring b {
  display: block;
  margin-top: -22%;
  color: var(--muted);
  text-transform: uppercase;
  font-size: clamp(13px, 1vw, 18px);
}

.timer-visual p {
  max-width: 290px;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 750;
}

@keyframes timerSweep {
  to { --sweep: 360deg; }
}

@keyframes scoreCardLock {
  0% { transform: translateY(16px) rotateX(18deg) scale(.94); filter: brightness(1.25) blur(2px); }
  58% { transform: translateY(-3px) rotateX(0) scale(1.018); filter: brightness(1.55) blur(0); }
  100% { transform: translateY(0) scale(1); filter: brightness(1); }
}

@keyframes numberIgnition {
  0% { transform: scale(.55); opacity: 0; filter: blur(5px); }
  45% { transform: scale(1.24); opacity: 1; filter: blur(0); }
  100% { transform: scale(1); }
}

@keyframes powerCardPulse {
  50% { box-shadow: 0 20px 70px rgba(0,0,0,.3), 0 0 34px rgba(255,122,89,.22), inset 0 1px 0 rgba(255,255,255,.08); }
}

@keyframes timerAlarm {
  0%, 100% { transform: scale(1); box-shadow: 0 0 42px rgba(242, 201, 76, .18); }
  50% { transform: scale(1.045); box-shadow: 0 0 34px rgba(242, 201, 76, .42), 0 0 80px rgba(242, 201, 76, .18); }
}

@keyframes timelinePulse {
  0% { transform: translateY(18px) scale(.96); opacity: 0; }
  62% { transform: translateY(-2px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); }
}

@keyframes memoryLock {
  0% { transform: translateY(14px) scale(.965); filter: brightness(1.28) saturate(1.3); }
  42% { transform: translateY(-2px) scale(1.018); filter: brightness(1.62) saturate(1.45); }
  100% { transform: translateY(0) scale(1); filter: brightness(1) saturate(1); }
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2%;
}

.timeline div {
  min-height: 162px;
  padding: 18px;
}

.timeline b {
  display: block;
  color: var(--amber);
  font-size: clamp(24px, 2.8vw, 42px);
}

.timeline span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(12px, .94vw, 16px);
  font-weight: 700;
}

.team-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 20px;
}

.team-board span {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 1px solid rgba(57, 230, 166, .35);
  border-radius: 6px;
  color: var(--green);
  font-weight: 900;
  text-align: center;
}

.network-diagram {
  position: relative;
  height: 318px;
  margin-top: 3.6%;
}

.network-diagram svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.network-diagram path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 4;
  stroke-dasharray: 12 12;
  animation: dash 1.5s linear infinite;
  filter: drop-shadow(0 0 10px rgba(50, 216, 255, .6));
}

body[data-mode="share"] .scene.active .network-diagram path,
body[data-mode="shareplay"] .scene.active .scenario-card,
body[data-mode="templates"] .scene.active .formula-card,
body[data-mode="comments"] .scene.active .comment-compare article,
body[data-mode="aftercare"] .scene.active .explain-card,
body[data-mode="mission"] .scene.active .mission-board span,
body[data-mode="finale"] .scene.active .final-line {
  animation: memoryLock .95s cubic-bezier(.2,.9,.2,1) both;
}

@keyframes dash {
  to { stroke-dashoffset: -48; }
}

.node {
  position: absolute;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: rgba(14, 22, 31, .96);
  box-shadow: 0 0 28px rgba(50, 216, 255, .2);
  z-index: 2;
  text-align: center;
  font-weight: 900;
  font-size: clamp(12px, .95vw, 15px);
}

.fan { left: 5%; top: 35%; }
.seller { left: 45%; top: 31%; width: 108px; height: 108px; border-color: var(--green); color: var(--green); }
.c1 { left: 84%; top: 8%; }
.c2 { left: 86%; top: 37%; border-color: var(--amber); color: var(--amber); }
.c3 { left: 82%; top: 66%; }

.example-line {
  margin-top: 3%;
  padding: 14px 18px;
  color: var(--white);
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 850;
}

.comment-compare {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 2%;
  margin-top: 3.6%;
}

.comment-compare article {
  min-height: 280px;
  padding: 22px;
}

.comment-compare .bad { border-color: rgba(255, 78, 102, .55); }
.comment-compare .good {
  border-color: rgba(57, 230, 166, .55);
  background: linear-gradient(145deg, rgba(18, 46, 37, .9), rgba(5, 7, 11, .66));
}
.comment-compare .bad h3 { color: var(--red); }
.comment-compare .good h3 { color: var(--green); }

.comment-compare p {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(16px, 1.28vw, 23px);
  font-weight: 800;
}

.comment-compare em {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-style: normal;
  font-size: clamp(12px, .95vw, 16px);
  font-weight: 700;
}

.steps,
.operating-model,
.metric-grid {
  display: grid;
  gap: 1.4%;
  margin-top: 3.8%;
}

.steps { grid-template-columns: repeat(3, 1fr); }
.operating-model,
.metric-grid { grid-template-columns: repeat(2, 1fr); }

.steps article,
.operating-model article,
.metric-grid article {
  min-height: 176px;
  padding: 18px;
}

.steps b,
.operating-model b,
.metric-grid b {
  display: block;
  color: var(--cyan);
  font-size: clamp(25px, 2.65vw, 42px);
  font-weight: 900;
}

.steps article:nth-child(3),
.metric-grid article:nth-child(2) {
  border-color: rgba(242, 201, 76, .55);
}

.steps article:nth-child(4),
.metric-grid article:nth-child(3) {
  border-color: rgba(255, 122, 89, .62);
}

.steps article:nth-child(4) b,
.metric-grid article:nth-child(3) b {
  color: var(--coral);
}

.deep-grid,
.formula-board,
.scenario-board {
  display: grid;
  gap: 1.8%;
  margin-top: 3.6%;
}

.deep-grid {
  grid-template-columns: repeat(2, 1fr);
}

.formula-board {
  grid-template-columns: .95fr 1.05fr;
}

.scenario-board {
  grid-template-columns: repeat(3, 1fr);
}

.explain-card,
.formula-card,
.scenario-card {
  min-height: 178px;
  padding: 20px;
}

.explain-card strong,
.formula-card strong,
.scenario-card strong {
  display: block;
  color: var(--amber);
  font-size: clamp(20px, 1.8vw, 31px);
  line-height: 1.05;
  font-weight: 900;
}

.explain-card p,
.formula-card p,
.scenario-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(13px, .98vw, 17px);
  line-height: 1.34;
  font-weight: 690;
}

.formula-card ul,
.scenario-card ul {
  margin-top: 12px;
  gap: 8px;
}

.formula-card li,
.scenario-card li {
  font-size: clamp(12px, .88vw, 15px);
}

.scenario-card:nth-child(2),
.explain-card:nth-child(3) {
  border-color: rgba(242, 201, 76, .55);
}

.scenario-card:nth-child(3),
.explain-card:nth-child(4) {
  border-color: rgba(255, 122, 89, .55);
}

.wide-note {
  margin-top: 3%;
  padding: 13px 18px;
  border: 1px solid rgba(57, 230, 166, .42);
  border-radius: 6px;
  background: rgba(5, 7, 11, .72);
  color: var(--white);
  font-size: clamp(13px, 1vw, 18px);
  line-height: 1.32;
  font-weight: 850;
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3%;
  margin-top: 3.7%;
}

.rules-grid article {
  min-height: 290px;
  padding: 24px;
}

.rules-grid article:first-child {
  border-color: rgba(57, 230, 166, .55);
}

.rules-grid article:last-child {
  border-color: rgba(255, 78, 102, .55);
}

.rules-grid h3 {
  color: var(--green);
  font-size: clamp(23px, 2.2vw, 36px);
}

.rules-grid article:last-child h3 {
  color: var(--red);
}

.mission-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35%;
  margin-top: 4%;
}

.mission-board b,
.mission-board span {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-weight: 900;
  font-size: clamp(13px, 1.08vw, 19px);
}

.mission-board b {
  color: var(--amber);
  border-color: rgba(242, 201, 76, .55);
}

.mission-board span {
  color: var(--cyan);
  text-transform: uppercase;
}

.final-line {
  margin-top: 4%;
  max-width: 760px;
  padding: 16px 20px;
  color: var(--amber);
  font-size: clamp(16px, 1.35vw, 24px);
  font-weight: 900;
}

.assistant-layer {
  position: absolute;
  right: -3.2%;
  bottom: 0;
  width: 24%;
  height: 68%;
  z-index: 22;
  pointer-events: none;
  --beam-angle: -18deg;
  --fx-color: var(--cyan);
}

.presenter-stage {
  position: absolute;
  inset: 24% -6% 2% 3%;
  z-index: 4;
  transform-origin: 50% 86%;
  animation: presenterEntrance .95s cubic-bezier(.2, .9, .2, 1) both, presenterFloat 4.6s ease-in-out .95s infinite;
}

.presenter-image {
  position: absolute;
  right: 0;
  bottom: 1%;
  width: 92%;
  height: auto;
  z-index: 4;
  transform-origin: 50% 88%;
  filter:
    drop-shadow(0 22px 32px rgba(0, 0, 0, .45))
    drop-shadow(0 0 22px color-mix(in srgb, var(--fx-color) 42%, transparent));
  animation: presenterBreath 3.2s ease-in-out infinite;
}

.presenter-aura {
  position: absolute;
  left: 8%;
  right: 2%;
  bottom: 2%;
  height: 74%;
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--fx-color) 26%, transparent), transparent 48%),
    radial-gradient(circle at 50% 78%, rgba(242, 201, 76, .14), transparent 44%);
  filter: blur(14px);
  opacity: .86;
  animation: auraPulse 2.8s ease-in-out infinite alternate;
}

.presenter-orbit {
  position: absolute;
  left: 20%;
  right: 11%;
  bottom: 10%;
  aspect-ratio: 1;
  z-index: 2;
  border: 1px solid color-mix(in srgb, var(--fx-color) 56%, transparent);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(0deg);
  box-shadow: 0 0 28px color-mix(in srgb, var(--fx-color) 28%, transparent);
  animation: orbitSpin 5.4s linear infinite;
}

.presenter-orbit::before,
.presenter-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(242, 201, 76, .46);
}

.presenter-orbit::after {
  inset: 28%;
  border-color: rgba(255, 255, 255, .2);
  animation: orbitSpin 3.8s linear reverse infinite;
}

.presenter-scan {
  position: absolute;
  left: 14%;
  right: 8%;
  top: 22%;
  height: 18%;
  z-index: 5;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--fx-color) 34%, transparent), transparent);
  mix-blend-mode: screen;
  opacity: .72;
  transform: skewY(-7deg);
  animation: presenterScan 3.6s ease-in-out infinite;
}

.presenter-shadow {
  position: absolute;
  left: 23%;
  right: 13%;
  bottom: -1%;
  height: 9%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .55), transparent 66%);
  filter: blur(6px);
  animation: shadowPulse 4.6s ease-in-out infinite;
}

.presenter-particles {
  position: absolute;
  inset: 0;
  z-index: 6;
}

.presenter-particles i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-color);
  box-shadow: 0 0 14px var(--fx-color);
  opacity: .82;
  animation: fxFloat 3.4s ease-in-out infinite;
}

.presenter-particles i:nth-child(1) { left: 20%; top: 28%; animation-delay: 0s; }
.presenter-particles i:nth-child(2) { left: 78%; top: 34%; animation-delay: .38s; background: var(--amber); }
.presenter-particles i:nth-child(3) { left: 36%; top: 14%; animation-delay: .8s; }
.presenter-particles i:nth-child(4) { left: 86%; top: 62%; animation-delay: 1.15s; background: var(--green); }
.presenter-particles i:nth-child(5) { left: 16%; top: 70%; animation-delay: 1.55s; background: var(--amber); }
.presenter-particles i:nth-child(6) { left: 58%; top: 8%; animation-delay: 2.05s; }

.assistant-layer[data-mode="dead"] { --fx-color: var(--red); }
.assistant-layer[data-mode="score"],
.assistant-layer[data-mode="minute"],
.assistant-layer[data-mode="hierarchy"],
.assistant-layer[data-mode="why"],
.assistant-layer[data-mode="mission"] { --fx-color: var(--amber); }
.assistant-layer[data-mode="team"],
.assistant-layer[data-mode="seller"],
.assistant-layer[data-mode="templates"],
.assistant-layer[data-mode="aftercare"],
.assistant-layer[data-mode="rules"] { --fx-color: var(--green); }
.assistant-layer[data-mode="shareplay"] { --fx-color: var(--coral); }
.assistant-layer[data-mode="finale"] { --fx-color: var(--coral); }

@keyframes presenterEntrance {
  from { opacity: 0; transform: translateX(18%) translateY(8%) scale(.84) rotate(4deg); filter: blur(10px); }
  to { opacity: 1; transform: translateX(0) translateY(0) scale(1) rotate(0); filter: blur(0); }
}

@keyframes presenterFloat {
  0%, 100% { transform: translateY(0) rotate(-.4deg); }
  50% { transform: translateY(-3.2%) rotate(.6deg); }
}

@keyframes presenterBreath {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.025) rotate(-.45deg); }
}

@keyframes auraPulse {
  to { opacity: .52; transform: scale(1.08); }
}

@keyframes orbitSpin {
  to { transform: rotateX(66deg) rotateZ(360deg); }
}

@keyframes presenterScan {
  0%, 100% { transform: translateY(-42%) skewY(-7deg); opacity: 0; }
  20%, 70% { opacity: .7; }
  50% { transform: translateY(250%) skewY(-7deg); }
}

@keyframes shadowPulse {
  0%, 100% { transform: scaleX(1); opacity: .55; }
  50% { transform: scaleX(.84); opacity: .36; }
}

@keyframes fxFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.7); opacity: .18; }
  42% { opacity: .95; }
  60% { transform: translate3d(-18px, -34px, 0) scale(1.28); }
}

.assistant-bubble {
  position: absolute;
  right: 24%;
  top: 1%;
  z-index: 8;
  width: 76%;
  min-height: 82px;
  padding: 11px 13px;
  border: 1px solid rgba(50, 216, 255, .35);
  border-radius: 6px;
  background: rgba(5, 7, 11, .76);
  color: var(--white);
  font-size: clamp(10px, .78vw, 13px);
  line-height: 1.28;
  font-weight: 760;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .35), 0 0 24px rgba(50, 216, 255, .08);
  backdrop-filter: blur(10px);
}

.assistant-bubble::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: -10px;
  width: 18px;
  height: 18px;
  border-right: 1px solid rgba(50, 216, 255, .35);
  border-bottom: 1px solid rgba(50, 216, 255, .35);
  background: rgba(5, 7, 11, .76);
  transform: rotate(45deg);
}

.assistant-beam {
  position: absolute;
  left: -72%;
  top: 54%;
  z-index: 3;
  width: 142%;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fx-color) 88%, transparent), rgba(255,255,255,.95), transparent);
  transform: rotate(var(--beam-angle));
  transform-origin: right center;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--fx-color) 82%, transparent));
  opacity: .72;
  animation: beamPulse 1.4s ease-in-out infinite alternate;
}

.assistant-beam::after {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fx-color);
  box-shadow: 0 0 18px var(--fx-color), 0 0 34px var(--fx-color);
}

@keyframes beamPulse {
  to { opacity: .28; transform: rotate(var(--beam-angle)) scaleX(.86); }
}

[data-highlight].assistant-focus {
  position: relative;
  outline: 0;
  box-shadow: none;
}

[data-highlight].assistant-focus::after {
  content: none;
  position: absolute;
  inset: -10px;
  z-index: 12;
  pointer-events: none;
  border-radius: 10px;
  background: linear-gradient(115deg, transparent 0 35%, rgba(255,255,255,.22) 48%, transparent 62% 100%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-120%);
  animation: focusSweep 1.35s ease-out .22s both;
}

@keyframes focusSweep {
  0% { opacity: 0; transform: translateX(-120%); }
  18% { opacity: .78; }
  100% { opacity: 0; transform: translateX(120%); }
}

.scene aside {
  display: none;
}

.notes-panel {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 60;
  width: min(370px, calc(100vw - 36px));
  max-height: 36vh;
  overflow: auto;
  padding: 14px 16px;
  border: 1px solid rgba(242, 201, 76, .55);
  border-radius: 6px;
  background: rgba(5, 7, 11, .92);
  color: var(--white);
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: .22s ease;
}

body.show-notes .notes-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hud {
  align-self: stretch;
  width: min(980px, calc(100vw - 24px));
  height: 54px;
  display: grid;
  grid-template-columns: 44px 1fr 86px 44px 82px 60px 96px;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 7px;
  border: 1px solid rgba(50, 216, 255, .24);
  border-radius: 8px;
  background: rgba(5, 7, 11, .72);
  backdrop-filter: blur(12px);
}

.hud button {
  height: 38px;
  border: 1px solid rgba(50, 216, 255, .34);
  border-radius: 6px;
  background: rgba(14, 22, 31, .88);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.hud button:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.hud-progress {
  height: 8px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(169, 191, 214, .18);
}

.hud-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber), var(--coral));
  transition: width .4s ease;
}

.hud output {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

#audioClock {
  color: var(--amber);
}

.sync-pending {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.sync-revealed {
  opacity: 1;
}

.cue-active {
  position: relative;
  z-index: 14;
  outline: 0;
  box-shadow:
    0 14px 42px rgba(0, 0, 0, .28),
    0 0 44px rgba(242, 201, 76, .3),
    0 0 110px rgba(50, 216, 255, .16),
    inset 0 0 26px rgba(255, 255, 255, .09) !important;
  animation: cuePulse 2.8s cubic-bezier(.2,.9,.2,1) infinite !important;
}

.cue-active strong,
.cue-active b {
  text-shadow: 0 0 16px currentColor, 0 0 34px rgba(242, 201, 76, .26);
}

.cue-major {
  box-shadow:
    0 16px 48px rgba(0,0,0,.32),
    0 0 52px rgba(255, 122, 89, .34),
    0 0 116px rgba(242, 201, 76, .2),
    inset 0 0 26px rgba(255, 122, 89, .1) !important;
}

.cue-good {
  box-shadow:
    0 16px 48px rgba(0,0,0,.3),
    0 0 48px rgba(57, 230, 166, .32),
    0 0 96px rgba(50, 216, 255, .15),
    inset 0 0 24px rgba(57, 230, 166, .08) !important;
}

.cue-warn {
  box-shadow:
    0 16px 48px rgba(0,0,0,.3),
    0 0 50px rgba(255, 78, 102, .36),
    0 0 96px rgba(255, 78, 102, .15),
    inset 0 0 22px rgba(255, 78, 102, .1) !important;
}

.cue-line {
  color: var(--white) !important;
  text-shadow: 0 0 14px rgba(50, 216, 255, .28);
}

li.cue-active::before {
  transform: scale(1.7);
  background: var(--amber);
  box-shadow: 0 0 20px var(--amber), 0 0 42px rgba(242, 201, 76, .28);
}

@keyframes cuePulse {
  0% { transform: scale(1); filter: brightness(1); }
  16% { transform: scale(1.022); filter: brightness(1.42) saturate(1.18); }
  42% { transform: scale(1.006); filter: brightness(1.14) saturate(1.08); }
  100% { transform: scale(1); filter: brightness(1); }
}

body.narration-sync .scene.active .kicker,
body.narration-sync .scene.active h1,
body.narration-sync .scene.active h2,
body.narration-sync .scene.active .lead,
body.narration-sync .scene.active .copy-block,
body.narration-sync .scene.active .dead-card,
body.narration-sync .scene.active article,
body.narration-sync .scene.active .bottom-thesis,
body.narration-sync .scene.active .bars div,
body.narration-sync .scene.active .timeline div,
body.narration-sync .scene.active .node,
body.narration-sync .scene.active .team-board span,
body.narration-sync .scene.active .mission-board b,
body.narration-sync .scene.active .mission-board span,
body.narration-sync .scene.active .final-line,
body.narration-sync .scene.active .impact-stack span,
body.narration-sync .scene.active .explain-strip span,
body.narration-sync .scene.active .example-line,
body.narration-sync .scene.active .timer-visual,
body.narration-sync .scene.active .explain-card,
body.narration-sync .scene.active .formula-card,
body.narration-sync .scene.active .scenario-card,
body.narration-sync .scene.active .wide-note {
  animation: none;
}

.scene.active .kicker,
.scene.active h1,
.scene.active h2,
.scene.active .lead,
.scene.active .copy-block,
.scene.active .dead-card,
.scene.active article,
.scene.active .bottom-thesis,
.scene.active .bars div,
.scene.active .timeline div,
.scene.active .node,
.scene.active .team-board span,
.scene.active .mission-board b,
.scene.active .mission-board span,
.scene.active .final-line,
.scene.active .impact-stack span,
.scene.active .explain-strip span,
.scene.active .example-line,
.scene.active .timer-visual {
  animation: enter .55s cubic-bezier(.2, .9, .2, 1) both;
}

.scene.active .explain-card,
.scene.active .formula-card,
.scene.active .scenario-card,
.scene.active .wide-note {
  animation: enter .55s cubic-bezier(.2, .9, .2, 1) both;
}

.scene.active h1,
.scene.active h2 { animation-delay: .05s; }
.scene.active .lead { animation-delay: .12s; }
.scene.active article:nth-child(2),
.scene.active .timeline div:nth-child(2),
.scene.active .mission-board span:nth-child(3),
.scene.active .impact-stack span:nth-child(2) { animation-delay: .12s; }
.scene.active article:nth-child(3),
.scene.active .timeline div:nth-child(3),
.scene.active .mission-board span:nth-child(4),
.scene.active .impact-stack span:nth-child(3) { animation-delay: .2s; }
.scene.active article:nth-child(4),
.scene.active .timeline div:nth-child(4),
.scene.active .mission-board span:nth-child(5) { animation-delay: .28s; }
.scene.active article:nth-child(5) { animation-delay: .36s; }

@keyframes enter {
  from { opacity: 0; transform: translateY(18px); filter: blur(7px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@media (max-width: 980px) {
  body {
    grid-template-rows: 1fr 76px;
  }

  .stage {
    width: min(calc(100vw - 18px), calc((100vh - 108px) * 16 / 9));
  }

  .safe,
  .hero-safe {
    padding: 7% 5% 8%;
    width: 100%;
  }

  .assistant-layer {
    width: 34%;
    height: 52%;
    opacity: .72;
  }

  .assistant-bubble {
    display: none;
  }

  .logo {
    min-width: 68px;
  }

  h1 { font-size: clamp(32px, 7vw, 58px); }
  h2 { font-size: clamp(24px, 5.2vw, 44px); }

  .layout-2,
  .signal-flow,
  .signal-grid,
  .score-board,
  .minute-layout,
  .timeline,
  .comment-compare,
  .steps,
  .operating-model,
  .metric-grid,
  .rules-grid,
  .mission-board,
  .explain-strip,
  .deep-grid,
  .formula-board,
  .scenario-board {
    grid-template-columns: 1fr;
  }

  .score-board,
  .steps,
  .operating-model,
  .metric-grid,
  .rules-grid,
  .mission-board,
  .signal-flow,
  .timeline,
  .deep-grid,
  .formula-board,
  .scenario-board {
    max-height: 58%;
    overflow: auto;
  }

  .bottom-thesis {
    position: static;
    margin-top: 16px;
  }

  .timer-ring {
    width: 164px;
  }

  .hud {
    grid-template-columns: 40px 1fr 76px 40px 74px 56px;
    border-radius: 8px;
  }

  #notes {
    grid-column: 1 / -1;
  }
}
