.chaos-game {
  --ops-ink: #10162d;
  --ops-night: #071426;
  --ops-panel: #101c32;
  --ops-blue: #1576c5;
  --ops-cyan: #35d6ef;
  --ops-yellow: #ffd13a;
  --ops-orange: #ff8b2d;
  --ops-red: #ef413b;
  --ops-green: #7fe28a;
  --ops-paper: #fff8ea;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 22%, rgba(53, 214, 239, 0.18), transparent 25%),
    radial-gradient(circle at 85% 68%, rgba(255, 139, 45, 0.12), transparent 27%),
    linear-gradient(145deg, #061226 0%, #0b2b4b 58%, #0e5376 100%);
}

.chaos-game::before,
.chaos-game::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.chaos-game::before {
  top: 76px;
  right: -170px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(53, 214, 239, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(53, 214, 239, 0.03), 0 0 0 116px rgba(53, 214, 239, 0.025);
}

.chaos-game::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 160px;
  background: linear-gradient(171deg, transparent 0 47%, rgba(255, 209, 58, 0.08) 48% 50%, transparent 51%);
}

.chaos-game .section-heading {
  margin-bottom: clamp(34px, 5vw, 62px);
}

.chaos-game .section-heading h2 {
  max-width: 940px;
  color: var(--ops-paper);
}

.chaos-game .section-heading > p {
  color: rgba(255, 248, 234, 0.7);
}

.chaos-game__console {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
  background: #070e1f;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 28px;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.58), 0 0 0 8px rgba(53, 214, 239, 0.035);
}

.chaos-game__marquee {
  display: flex;
  min-height: 47px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.07) 0 1px, transparent 1.5px) 0 0 / 24px 24px,
    #101b33;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chaos-game__task {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.chaos-game__task i {
  flex: 0 0 auto;
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #8cf4a5;
  border-radius: 50%;
  box-shadow: 0 0 12px #8cf4a5;
  animation: ops-live 1s steps(2, end) infinite;
}

.chaos-game__task small,
.chaos-game__task strong,
.chaos-game__task em {
  font: inherit;
  font-style: normal;
}

.chaos-game__task small {
  color: var(--ops-yellow);
}

.chaos-game__task strong {
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chaos-game__task em {
  flex: 0 0 auto;
  min-width: 44px;
  padding: 4px 7px;
  color: var(--ops-ink);
  background: var(--ops-cyan);
  border-radius: 99px;
  text-align: center;
}

@keyframes ops-live {
  50% { opacity: 0.3; }
}

.chaos-game__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #071426;
}

.chaos-game__viewport::after {
  position: absolute;
  z-index: 2;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 95px rgba(2, 8, 23, 0.24);
  pointer-events: none;
  inset: 0;
}

.chaos-game__viewport canvas {
  position: absolute;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  outline: 0;
  touch-action: none;
  inset: 0;
}

.chaos-game__viewport canvas.is-grabbing { cursor: grabbing; }

.chaos-game__viewport canvas:focus-visible {
  box-shadow: inset 0 0 0 4px var(--ops-yellow);
}

.chaos-game__hud {
  position: absolute;
  z-index: 5;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 5px;
  pointer-events: none;
}

.chaos-game__hud > div {
  display: grid;
  min-width: 80px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(7, 16, 35, 0.83);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.chaos-game__hud span,
.chaos-game__hud strong { display: block; }

.chaos-game__hud span {
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chaos-game__hud strong {
  margin-top: 2px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.chaos-game__hud .chaos-game__damage {
  grid-template-columns: 1fr auto;
  width: 190px;
}

.chaos-game__damage span { grid-column: 1 / -1; }

.chaos-game__damage i {
  position: relative;
  display: block;
  height: 8px;
  margin-top: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 99px;
}

.chaos-game__damage i b {
  position: absolute;
  width: 100%;
  background: linear-gradient(90deg, var(--ops-red), var(--ops-yellow) 45%, var(--ops-green));
  border-radius: inherit;
  transform-origin: left center;
  transition: width 160ms ease;
  inset: 0 auto 0 0;
}

.chaos-game__damage strong {
  margin: 2px 0 0 9px;
  font-size: 17px;
}

.chaos-game__stations {
  position: absolute;
  z-index: 9;
  top: 14px;
  left: 50%;
  display: flex;
  padding: 4px;
  gap: 4px;
  background: rgba(7, 15, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(13px);
  transform: translateX(-50%);
}

.chaos-game__stations button {
  position: relative;
  display: grid;
  min-width: 92px;
  min-height: 43px;
  padding: 6px 24px 6px 10px;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: 140ms ease;
}

.chaos-game__stations button:disabled {
  cursor: default;
  opacity: 1;
}

.chaos-game__stations button:hover,
.chaos-game__stations button:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.chaos-game__stations button.is-active {
  color: var(--ops-ink);
  background: var(--ops-cyan);
  border-color: #bcf6ff;
  box-shadow: 0 4px 0 #087e9e;
}

.chaos-game__stations button.is-active:nth-child(2) {
  background: var(--ops-yellow);
  border-color: #fff2ad;
  box-shadow: 0 4px 0 #99740a;
}

.chaos-game__stations button.is-active:nth-child(3) {
  background: var(--ops-orange);
  border-color: #ffd6b6;
  box-shadow: 0 4px 0 #9b4c12;
}

.chaos-game__stations button > span {
  font-family: var(--mono);
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.chaos-game__stations button > strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.chaos-game__stations button > i {
  position: absolute;
  top: 50%;
  right: 6px;
  display: none;
  width: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  color: #fff;
  background: var(--ops-red);
  border: 2px solid #fff;
  border-radius: 99px;
  box-shadow: 0 0 0 3px rgba(239, 65, 59, 0.35);
  font-family: var(--display);
  font-size: 7px;
  font-style: normal;
  animation: ops-alert 650ms steps(2, end) infinite;
  transform: translateY(-50%);
}

.chaos-game__stations button > i.is-live { display: grid; }

@keyframes ops-alert {
  50% { filter: brightness(0.65); transform: translateY(-50%) scale(0.93); }
}

.chaos-game__help {
  position: absolute;
  z-index: 9;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(7, 16, 35, 0.82);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.28);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 900;
  cursor: pointer;
  transition: 140ms ease;
}

.chaos-game__help:hover,
.chaos-game__help:focus-visible {
  color: var(--ops-ink);
  background: var(--ops-yellow);
  box-shadow: 0 3px 0 #936b08;
  transform: translateY(2px);
}

.chaos-game__radio {
  position: absolute;
  z-index: 8;
  top: 74px;
  right: 16px;
  display: flex;
  max-width: 330px;
  padding: 9px 13px;
  gap: 10px;
  align-items: center;
  color: #fff;
  background: rgba(7, 16, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.chaos-game__radio[hidden],
.chaos-game__warning[hidden],
.chaos-game__grab-hint[hidden] { display: none; }

.chaos-game__radio > span:last-child { display: grid; }

.chaos-game__radio small {
  color: var(--ops-cyan);
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.chaos-game__radio strong {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
}

.chaos-game__wave {
  display: flex;
  height: 26px;
  gap: 3px;
  align-items: center;
}

.chaos-game__wave i {
  width: 3px;
  height: 8px;
  background: var(--ops-cyan);
  border-radius: 8px;
  animation: ops-wave 500ms ease-in-out infinite alternate;
}

.chaos-game__wave i:nth-child(2),
.chaos-game__wave i:nth-child(4) { animation-delay: -250ms; }
.chaos-game__wave i:nth-child(3) { animation-delay: -125ms; }

@keyframes ops-wave { to { height: 25px; } }

.chaos-game__warning {
  position: absolute;
  z-index: 8;
  top: 21%;
  left: 50%;
  padding: 7px 13px;
  color: #fff;
  background: var(--ops-red);
  border: 3px solid #fff;
  border-radius: 7px;
  box-shadow: 0 7px 0 #821b24;
  font-family: var(--display);
  font-size: clamp(23px, 3.7vw, 48px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(-2deg);
  animation: ops-warning 420ms steps(2, end) infinite;
  pointer-events: none;
}

@keyframes ops-warning { 50% { filter: brightness(0.7); } }

.chaos-game__overlay {
  position: absolute;
  z-index: 12;
  display: block;
  padding: clamp(24px, 3.2vw, 42px);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(6, 14, 31, 0.99), rgba(6, 14, 31, 0.91) 58%, rgba(6, 14, 31, 0.78)),
    radial-gradient(circle at 82% 22%, rgba(53, 214, 239, 0.2), transparent 31%);
  inset: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.chaos-game__briefing {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(24px, 3.4vw, 48px);
}

.chaos-game__briefing-manifest {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.chaos-game__briefing-tutorial {
  position: relative;
  display: flex;
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  flex-direction: column;
  align-self: center;
  background:
    linear-gradient(155deg, rgba(19, 35, 62, 0.98), rgba(5, 14, 31, 0.98)),
    radial-gradient(circle at 80% 10%, rgba(53, 214, 239, 0.18), transparent 35%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.42), inset 0 0 0 5px rgba(53, 214, 239, 0.035);
}

.chaos-game__briefing-tutorial::before {
  position: absolute;
  width: 38px;
  height: 12px;
  content: "";
  background: var(--ops-yellow);
  border-radius: 1px;
  box-shadow: 0 0 0 2px var(--ops-ink);
  transform: rotate(-3deg);
  top: -7px;
  right: 32px;
}

.chaos-game__overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.chaos-game__eyebrow {
  width: fit-content;
  padding: 5px 9px;
  color: var(--ops-ink);
  background: var(--ops-yellow);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.chaos-game__overlay h3 {
  max-width: 100%;
  margin: 12px 0 8px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(55px, 6.3vw, 86px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
  text-shadow: 3px 4px 0 var(--ops-blue), 7px 8px 0 rgba(255, 209, 58, 0.88);
  transform: rotate(-1deg);
}

.chaos-game__overlay p {
  max-width: 660px;
  margin: 10px 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(11px, 1.15vw, 15px);
  line-height: 1.42;
}

.chaos-game__manifest {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  width: 100%;
  margin: 8px 0 12px;
  gap: 9px;
}

.chaos-game__manifest fieldset {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 8px;
  gap: 6px;
  background: rgba(3, 11, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.chaos-game__manifest legend {
  padding: 0 7px;
  color: var(--ops-yellow);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chaos-game__overlay .manifest-card {
  display: grid;
  width: 100%;
  min-height: 42px;
  padding: 7px 9px;
  align-content: center;
  color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: none;
  text-align: left;
  transform: none;
}

.chaos-game__overlay .manifest-card strong,
.chaos-game__overlay .manifest-card span {
  display: block;
}

.chaos-game__overlay .manifest-card strong {
  color: #fff;
  font-family: var(--display);
  font-size: 14px;
  line-height: 1;
}

.chaos-game__overlay .manifest-card span {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.25;
  text-transform: uppercase;
}

.chaos-game__overlay .manifest-card:hover,
.chaos-game__overlay .manifest-card:focus-visible {
  color: var(--ops-ink);
  background: var(--ops-yellow);
  border-color: #fff;
  box-shadow: none;
  transform: none;
}

.chaos-game__overlay .manifest-card.is-selected {
  color: var(--ops-ink);
  background: var(--ops-cyan);
  border-color: #fff;
  box-shadow: inset 0 0 0 2px rgba(7, 22, 45, 0.24);
}

.chaos-game__overlay .manifest-card.is-selected strong { color: var(--ops-ink); }

.chaos-game__howto {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: 10px;
  gap: 6px;
}

.chaos-game__howto > div {
  display: grid;
  min-height: 70px;
  padding: 9px;
  gap: 5px;
  align-items: center;
  align-content: center;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  backdrop-filter: blur(8px);
}

.chaos-game__howto i {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--ops-ink);
  background: var(--ops-cyan);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}

.chaos-game__howto span,
.chaos-game__howto strong { display: block; }

.chaos-game__howto span {
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--mono);
  font-size: 5px;
  line-height: 1.35;
  text-transform: uppercase;
}

.chaos-game__howto strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 7px;
}

.chaos-game__overlay button {
  width: fit-content;
  min-height: 52px;
  padding: 0 22px;
  color: #fff;
  background: var(--ops-red);
  border: 2px solid #fff;
  border-radius: 9px;
  box-shadow: 0 7px 0 #821b24;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 140ms ease;
}

.chaos-game__overlay button:hover,
.chaos-game__overlay button:focus-visible {
  color: var(--ops-ink);
  background: var(--ops-yellow);
  box-shadow: 0 4px 0 #967008;
  transform: translateY(3px);
}

.chaos-game__overlay-actions {
  display: flex;
  margin-top: auto;
  padding-top: 2px;
  align-items: center;
  gap: 14px;
}

.chaos-game__overlay-actions > small {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.45;
  text-transform: uppercase;
}

.chaos-game__tutorial-heading {
  display: grid;
  margin-bottom: 10px;
}

.chaos-game__tutorial-heading span {
  color: var(--ops-cyan);
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.chaos-game__tutorial-heading strong {
  margin: 3px 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(20px, 2.1vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1;
}

.chaos-game__tutorial-heading small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
}

.chaos-game__demo-reel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 6px;
  color: #fff;
  background: #0a1222;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 13px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.42);
}

.chaos-game__demo-reel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #10192a;
  border-radius: 10px;
}

.chaos-game__demo-reel figcaption {
  display: flex;
  min-height: 30px;
  padding: 5px 4px 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  text-transform: uppercase;
}

.chaos-game__demo-reel figcaption strong {
  color: var(--ops-yellow);
  font-size: 8px;
}

.chaos-game__demo-reel figcaption span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 6px;
}

.chaos-game__overlay.is-result .chaos-game__briefing {
  grid-template-columns: minmax(0, 720px);
  place-content: center;
}

.chaos-game__overlay.is-result .chaos-game__briefing-tutorial { display: none; }

.chaos-game__overlay.is-result .chaos-game__briefing-manifest {
  padding: clamp(20px, 4vw, 48px);
  background: rgba(6, 14, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.chaos-game__grab-hint {
  position: absolute;
  z-index: 9;
  right: 25px;
  bottom: 26px;
  display: grid;
  padding: 9px 12px;
  color: var(--ops-ink);
  background: var(--ops-yellow);
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 7px 0 rgba(83, 58, 4, 0.34);
  transform: rotate(1deg);
  animation: ops-hint 720ms ease-in-out infinite alternate;
  pointer-events: none;
}

.chaos-game__grab-hint span {
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 700;
}

.chaos-game__grab-hint strong {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
}

@keyframes ops-hint { to { transform: translateY(-5px) rotate(-1deg); } }

.chaos-game.is-turbulent .chaos-game__viewport { animation: ops-frame 105ms linear infinite; }

@keyframes ops-frame {
  25% { transform: translate(1px, -1px); }
  50% { transform: translate(-1px, 1px); }
  75% { transform: translate(1px, 1px); }
}

@media (max-width: 900px) {
  .chaos-game { padding-right: 12px; padding-left: 12px; }
  .chaos-game__console { border-radius: 17px; }
  .chaos-game__marquee { min-height: 42px; padding: 0 10px; font-size: 9px; }
  .chaos-game__marquee > span:first-child { display: none; }
  .chaos-game__task { width: 100%; justify-content: flex-start; gap: 5px; }
  .chaos-game__task small { display: none; }
  .chaos-game__task strong { flex: 1; }
  .chaos-game__task em { min-width: 35px; padding: 3px 5px; }
  .chaos-game__viewport { aspect-ratio: 16 / 9; }
  .chaos-game__hud { top: 8px; left: 8px; gap: 3px; }
  .chaos-game__hud > div { min-width: 48px; padding: 5px 6px; border-radius: 7px; }
  .chaos-game__hud > div:first-child { display: none; }
  .chaos-game__hud span { font-size: 4px; }
  .chaos-game__hud strong { font-size: 14px; }
  .chaos-game__hud .chaos-game__damage { width: 91px; }
  .chaos-game__damage strong { font-size: 10px; }
  .chaos-game__damage i { height: 5px; margin-top: 4px; }
  .chaos-game__stations { top: 7px; left: auto; right: 7px; padding: 3px; gap: 2px; transform: none; }
  .chaos-game__stations button { min-width: 58px; min-height: 33px; padding: 4px 16px 4px 6px; }
  .chaos-game__stations button > span { display: none; }
  .chaos-game__stations button > strong { font-size: 11px; }
  .chaos-game__stations button > i { right: 3px; width: auto; min-width: 15px; height: 15px; padding: 0 3px; border-width: 1px; font-size: 5px; }
  .chaos-game__help { right: 8px; bottom: 8px; width: 30px; height: 30px; font-size: 18px; }
  .chaos-game__radio { top: 52px; right: 7px; max-width: 165px; padding: 6px 8px; }
  .chaos-game__radio small { font-size: 4px; }
  .chaos-game__radio strong { font-size: 11px; }
  .chaos-game__wave { display: none; }
  .chaos-game__warning { top: 22%; padding: 4px 8px; border-width: 2px; font-size: 20px; }
  .chaos-game__overlay { padding: 14px; background: linear-gradient(90deg, rgba(6, 14, 31, 0.99), rgba(6, 14, 31, 0.9)); }
  .chaos-game__briefing { grid-template-columns: 1fr; gap: 8px; }
  .chaos-game__briefing-manifest { justify-content: flex-start; }
  .chaos-game__eyebrow { font-size: 5px; }
  .chaos-game__overlay h3 { max-width: 96%; margin: 7px 0 6px; font-size: clamp(39px, 13vw, 61px); text-shadow: 2px 3px 0 var(--ops-blue), 5px 6px 0 rgba(255, 209, 58, 0.88); }
  .chaos-game__overlay p { max-width: 96%; margin: 8px 0 9px; font-size: 8px; line-height: 1.35; }
  .chaos-game.is-ready .chaos-game__viewport { min-height: 650px; aspect-ratio: auto; }
  .chaos-game__manifest { grid-template-columns: 1fr; width: 100%; margin: 8px 0; gap: 6px; }
  .chaos-game__manifest fieldset { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 6px; gap: 4px; }
  .chaos-game__overlay .manifest-card { min-height: 55px; padding: 6px 7px; }
  .chaos-game__overlay .manifest-card strong { font-size: 11px; }
  .chaos-game__overlay .manifest-card span { font-size: 5px; }
  .chaos-game__briefing-tutorial { padding: 0; background: transparent; border: 0; box-shadow: none; }
  .chaos-game__briefing-tutorial::before,
  .chaos-game__tutorial-heading,
  .chaos-game__demo-reel { display: none; }
  .chaos-game__howto { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: 0; gap: 4px; }
  .chaos-game__howto > div { grid-template-columns: 19px 1fr; min-height: 42px; padding: 5px; gap: 4px; }
  .chaos-game__howto i { width: 19px; height: 19px; font-size: 12px; }
  .chaos-game__howto span, .chaos-game__howto strong { font-size: 5px; }
  .chaos-game__overlay button { min-height: 34px; padding: 0 11px; font-size: 7px; }
  .chaos-game__overlay-actions { margin-top: 0; gap: 8px; }
  .chaos-game__overlay-actions > small { max-width: none; font-size: 5px; }
  .chaos-game__grab-hint { right: 11px; bottom: 64px; padding: 5px 7px; }
  .chaos-game__grab-hint span { font-size: 4px; }
  .chaos-game__grab-hint strong { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .chaos-game.is-turbulent .chaos-game__viewport,
  .chaos-game__grab-hint,
  .chaos-game__warning,
  .chaos-game__wave i,
  .chaos-game__stations button > i,
  .chaos-game__task i { animation: none; }
}
