@font-face {
  font-family: Inter;
  src: url("vendor-inter-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --navy-950: #07152f;
  --navy-900: #0b1d3f;
  --navy-800: #12315f;
  --ink: #17233d;
  --muted: #68728a;
  --line: #dce2ec;
  --line-soft: #edf0f5;
  --paper: #f5f7fb;
  --white: #ffffff;
  --red: #e60028;
  --red-soft: #fff0f3;
  --green: #07875f;
  --cyan: #22bfd1;
  --amber: #e8a000;
  --purple: #7357d9;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(15, 31, 61, 0.06);
  --shadow-lg: 0 28px 70px rgba(7, 21, 47, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0, rgba(34, 191, 209, 0.07), transparent 28rem),
    var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #ffcf33;
  outline-offset: 3px;
}

.hidden {
  display: none !important;
}

body.arena-active #rlh-fab {
  display: none !important;
}

.rl-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 21, 47, 0.96);
  backdrop-filter: blur(18px);
}

.rl-topbar-in {
  width: min(1360px, 100%);
  height: 64px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rl-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 2px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--red);
  box-shadow: 0 8px 20px rgba(230, 0, 40, 0.28);
}

.brand-mark i {
  display: block;
  border-radius: 2px 2px 0 0;
  background: #fff;
}

.brand-mark i:nth-child(1) { height: 48%; }
.brand-mark i:nth-child(2) { height: 88%; }
.brand-mark i:nth-child(3) { height: 66%; }

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rl-home,
.icon-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: 160ms ease;
}

.rl-home:hover,
.icon-btn:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.icon-btn span {
  font-size: 15px;
}

.shock-btn {
  border-color: rgba(255, 100, 123, 0.45);
  background: rgba(230, 0, 40, 0.14);
}

.arena-app {
  width: min(1360px, 100%);
  margin: auto;
  padding: 0 24px;
}

.arena-hero {
  padding: 32px 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  transition: 220ms ease;
}

.eyebrow,
.screen-kicker,
.mini-kicker {
  margin: 0;
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.arena-hero h1 {
  margin: 7px 0 9px;
  color: var(--navy-950);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.arena-hero h1 span {
  color: var(--red);
}

.arena-hero > div > p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-badges span {
  min-height: 36px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #44506a;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 750;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(7, 135, 95, 0.12);
  animation: livePulse 1.8s infinite;
}

body.arena-active .arena-hero {
  padding: 18px 0 16px;
  align-items: center;
}

body.arena-active .arena-hero h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

body.arena-active .arena-hero .eyebrow,
body.arena-active .arena-hero > div > p:last-child,
body.arena-active .hero-badges {
  display: none;
}

@keyframes livePulse {
  50% { box-shadow: 0 0 0 9px rgba(7, 135, 95, 0); }
}

.hud {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) repeat(4, minmax(120px, 0.72fr));
  gap: 10px;
}

.hud article {
  min-height: 88px;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.hud article > span,
.hud-label span {
  display: block;
  color: #747e94;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hud article > b {
  display: block;
  margin-top: 7px;
  color: var(--navy-950);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hud article > small {
  display: block;
  margin-top: 6px;
  color: #9299a9;
  font-size: 10px;
  font-weight: 600;
}

.hud-progress {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hud-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hud-label b {
  color: var(--navy-950);
  font-size: 12px;
}

.progress-track {
  position: relative;
  height: 8px;
  margin-top: 15px;
  overflow: visible;
  border-radius: 999px;
  background: #e8ecf3;
}

.progress-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ff5d76);
  transition: width 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.progress-track em {
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 18px;
  border: 4px solid rgba(230, 0, 40, 0.18);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: left 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timer-card.urgent {
  border-color: #ff98aa;
  background: #fff5f7;
  animation: timerBeat 0.8s infinite;
}

.timer-card.urgent > b {
  color: var(--red);
}

@keyframes timerBeat {
  50% { box-shadow: 0 12px 32px rgba(230, 0, 40, 0.13); }
}

.arena-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 14px;
  align-items: start;
}

.round-rail,
.intel-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.round-rail {
  grid-column: 1 / -1;
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.round-rail.has-leaderboard {
  grid-template-columns: 118px minmax(0, 1fr) 174px;
}

.rail-title,
.intel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--navy-950);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rail-title b {
  color: var(--red);
}

.round-rail ol {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(90px, 1fr));
  gap: 6px;
  list-style: none;
}

.round-rail li {
  min-width: 0;
  min-height: 58px;
  padding: 8px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #7a8499;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #f8f9fc;
  transition: 180ms ease;
}

.round-rail li::before {
  display: none;
}

.round-rail li i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #7f899c;
  border: 1px solid #dce1e9;
  border-radius: 8px;
  background: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.round-rail li b,
.round-rail li small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.round-rail li b {
  color: inherit;
  font-size: 10px;
  line-height: 1.25;
}

.round-rail li small {
  margin-top: 3px;
  color: #9aa2b2;
  font-size: 8px;
  white-space: nowrap;
}

.round-rail li.current {
  color: var(--red);
  border-color: #ffd2da;
  background: var(--red-soft);
}

.round-rail li.current i {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 7px 16px rgba(230, 0, 40, 0.22);
}

.round-rail li.done {
  color: var(--green);
  background: #f1faf7;
}

.round-rail li.done i {
  color: var(--green);
  border-color: #b6dfd3;
  background: #e8f7f2;
}

.leader-link {
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: 160ms ease;
}

.leader-link:hover {
  border-color: #aeb9ca;
  box-shadow: var(--shadow-sm);
}

.leader-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 9px;
  background: var(--navy-950);
}

.leader-link b,
.leader-link small {
  display: block;
}

.leader-link b { font-size: 11px; }
.leader-link small { margin-top: 3px; color: var(--muted); font-size: 9px; }

.playfield {
  position: relative;
  min-width: 0;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(7, 21, 47, 0.98), rgba(12, 43, 84, 0.98)),
    var(--navy-950);
  box-shadow: var(--shadow-lg);
}

#arenaCanvas,
.grid-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

#arenaCanvas {
  opacity: 0.2;
  filter: saturate(0.75);
}

.grid-wash {
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.playfield::after {
  content: "";
  position: absolute;
  top: -260px;
  right: -240px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px rgba(255, 255, 255, 0.018),
    0 0 0 150px rgba(255, 255, 255, 0.012);
}

.status-ribbon {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 5;
  min-height: 32px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(4, 15, 35, 0.54);
  backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-ribbon i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 11px var(--cyan);
}

.status-ribbon.alert {
  color: #fff;
  border-color: rgba(255, 87, 112, 0.5);
}

.status-ribbon.alert i {
  background: #ff4967;
  box-shadow: 0 0 11px #ff4967;
}

.screen {
  position: relative;
  width: 100%;
  min-height: 720px;
  padding: 78px clamp(34px, 5vw, 64px) 48px;
  color: #fff;
  animation: screenIn 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes screenIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.screen .screen-kicker {
  color: #ff91a4;
}

.screen h2 {
  max-width: 820px;
  margin: 8px 0 14px;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.screen p {
  line-height: 1.65;
}

.intro-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-copy p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.flow-line {
  margin: 28px 0;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.flow-line span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.flow-line span i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  font-style: normal;
}

.flow-line > b {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04));
}

.stance-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.stance-panel h3 {
  margin: 6px 0 16px;
  font-size: 17px;
}

.stance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.stance-grid button {
  min-width: 0;
  min-height: 76px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(3, 14, 34, 0.42);
  text-align: left;
  cursor: pointer;
  transition: 170ms ease;
}

.stance-grid button:hover {
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.stance-grid button.selected {
  border-color: #ff6680;
  background: rgba(230, 0, 40, 0.2);
  box-shadow: 0 0 0 1px rgba(230, 0, 40, 0.12);
}

.stance-grid button > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.11);
  font-style: normal;
  font-weight: 900;
}

.stance-grid b,
.stance-grid small {
  display: block;
}

.stance-grid b {
  font-size: 12px;
}

.stance-grid small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  line-height: 1.35;
}

.intro-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.intro-actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.primary-btn,
.commit-btn,
.outline-btn {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: 170ms ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff3f5e);
  box-shadow: 0 10px 24px rgba(230, 0, 40, 0.28);
}

.primary-btn:hover,
.commit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(230, 0, 40, 0.34);
}

.primary-btn i,
.commit-btn i {
  font-size: 17px;
  font-style: normal;
}

.primary-btn.compact {
  min-height: 46px;
}

.text-btn {
  padding: 10px 5px;
  color: rgba(255, 255, 255, 0.72);
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.question-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.question-head h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.2vw, 42px);
}

.round-token {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
}

.round-token span,
.round-token small {
  display: block;
  text-align: center;
}

.round-token span {
  font-size: 24px;
  font-weight: 900;
}

.round-token small {
  margin-top: -8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

.scenario-copy {
  max-width: 800px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.clue-grid {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.clue-grid div {
  position: relative;
  min-height: 62px;
  padding: 13px 13px 13px 40px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 10px;
  line-height: 1.5;
}

.clue-grid div i {
  position: absolute;
  top: 15px;
  left: 14px;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(34, 191, 209, 0.58);
  border-radius: 50%;
}

.clue-grid div i::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.interaction-zone {
  min-height: 270px;
  margin-top: 10px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-card {
  position: relative;
  min-width: 0;
  min-height: 88px;
  padding: 16px 48px 16px 18px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(3, 14, 34, 0.48);
  text-align: left;
  cursor: pointer;
  transition: 170ms ease;
}

.option-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--option-color, var(--cyan));
  opacity: 0.72;
}

.option-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.option-card.selected {
  border-color: var(--option-color, var(--cyan));
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--option-color, var(--cyan)) 35%, transparent);
}

.option-card b,
.option-card small {
  display: block;
}

.option-card b {
  font-size: 13px;
  line-height: 1.35;
}

.option-card small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.45;
}

.option-card em {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.27);
  border-radius: 50%;
  transform: translateY(-50%);
}

.option-card.selected em {
  border-color: var(--option-color, var(--cyan));
}

.option-card.selected em::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--option-color, var(--cyan));
}

.numeric-panel,
.slider-panel,
.allocation-panel,
.debate-panel,
.confidence-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(3, 14, 34, 0.5);
}

.numeric-readout {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.numeric-readout input {
  width: min(260px, 72%);
  color: #fff;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.34);
  background: transparent;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.numeric-readout span {
  padding-bottom: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 750;
}

.number-pad {
  max-width: 390px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.number-pad button {
  height: 42px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 820;
  cursor: pointer;
}

.number-pad button:hover,
.number-pad button.selected {
  border-color: var(--cyan);
  background: rgba(34, 191, 209, 0.14);
}

.range-head,
.allocation-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.range-head h3,
.allocation-top h3 {
  margin: 0;
  font-size: 16px;
}

.range-head output {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.range-wrap {
  position: relative;
  margin: 28px 5px 12px;
}

.range-wrap input,
.allocation-row input {
  width: 100%;
  accent-color: var(--red);
}

.range-marks {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.metric-preview,
.allocation-impact {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

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

.allocation-impact {
  grid-template-columns: repeat(4, 1fr);
}

.metric-preview div,
.allocation-impact div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
  text-align: center;
}

.metric-preview span,
.metric-preview b,
.allocation-impact span,
.allocation-impact b {
  display: block;
}

.metric-preview span,
.allocation-impact span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-preview b {
  margin-top: 5px;
  font-size: 19px;
}

.allocation-impact b {
  margin-top: 4px;
  font-size: 15px;
}

.confidence-panel {
  margin-top: 12px;
}

.confidence-panel > p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.confidence-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.confidence-choices button {
  min-height: 54px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.confidence-choices button b,
.confidence-choices button small {
  display: block;
}

.confidence-choices button b { font-size: 14px; }
.confidence-choices button small { margin-top: 3px; color: rgba(255, 255, 255, 0.52); font-size: 9px; }

.confidence-choices button.selected {
  border-color: var(--amber);
  background: rgba(232, 160, 0, 0.15);
}

.debate-banner {
  margin-bottom: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(232, 160, 0, 0.38);
  border-radius: 12px;
  background: rgba(232, 160, 0, 0.11);
}

.debate-banner i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy-950);
  border-radius: 10px;
  background: var(--amber);
  font-style: normal;
  font-weight: 950;
}

.debate-banner b,
.debate-banner span {
  display: block;
}

.debate-banner b { font-size: 12px; }
.debate-banner span { margin-top: 4px; color: rgba(255, 255, 255, 0.62); font-size: 10px; }

.vote-shift {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.vote-chip {
  padding: 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.vote-chip span,
.vote-chip b {
  display: block;
}

.vote-chip span { color: rgba(255, 255, 255, 0.52); font-size: 9px; }
.vote-chip b { margin-top: 4px; font-size: 11px; }
.vote-shift > i { color: var(--amber); font-style: normal; }

.allocation-top {
  margin-bottom: 14px;
}

.remaining {
  min-width: 88px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}

.remaining span,
.remaining b {
  display: block;
}

.remaining span { color: rgba(255, 255, 255, 0.52); font-size: 8px; }
.remaining b { margin-top: 2px; font-size: 18px; }
.remaining.bad { color: #ff91a4; background: rgba(230, 0, 40, 0.18); }

.allocation-row {
  margin: 12px 0;
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}

.allocation-row label {
  font-size: 11px;
  font-weight: 750;
}

.allocation-row input {
  accent-color: var(--cyan);
}

.allocation-row output {
  text-align: right;
  font-size: 13px;
  font-weight: 850;
}

.question-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.selection-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.commit-btn {
  min-width: 176px;
  color: var(--navy-950);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.commit-btn:disabled {
  opacity: 0.38;
  box-shadow: none;
  cursor: not-allowed;
}

.feedback-screen,
.finish-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.result-orbit {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
}

.result-orbit > b {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--green), #16bf89);
  box-shadow: 0 16px 35px rgba(7, 135, 95, 0.3);
  font-size: 31px;
}

.result-orbit.partial > b {
  color: var(--navy-950);
  background: linear-gradient(145deg, var(--amber), #ffc33c);
  box-shadow: 0 16px 35px rgba(232, 160, 0, 0.26);
}

.result-orbit.weak > b {
  background: linear-gradient(145deg, var(--red), #ff4563);
  box-shadow: 0 16px 35px rgba(230, 0, 40, 0.28);
}

.result-orbit i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  animation: orbit 3s linear infinite;
}

.result-orbit i:nth-child(2) { inset: 8px; animation-direction: reverse; animation-duration: 2.2s; }
.result-orbit i:nth-child(3) { inset: -7px; animation-duration: 4.2s; }

@keyframes orbit {
  to { transform: rotate(360deg); }
}

.feedback-screen h2 {
  margin-bottom: 8px;
}

.feedback-screen > p:not(.screen-kicker),
.finish-screen > p:not(.screen-kicker) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.impact-grid {
  width: min(700px, 100%);
  margin: 20px auto 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.impact-grid article {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.impact-grid span,
.impact-grid b {
  display: block;
}

.impact-grid span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.impact-grid b {
  margin-top: 5px;
  font-size: 19px;
}

.impact-grid b.up { color: #58dcae; }
.impact-grid b.down { color: #ff91a4; }

.lesson-card {
  width: min(760px, 100%);
  padding: 15px 17px;
  border-left: 3px solid var(--cyan);
  border-radius: 10px;
  background: rgba(34, 191, 209, 0.085);
  text-align: left;
}

.lesson-card span {
  display: block;
  color: #6ee0ea;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lesson-card p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.55;
}

.feedback-actions {
  width: min(760px, 100%);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.points-earned {
  text-align: left;
}

.points-earned span,
.points-earned b,
.points-earned small {
  display: block;
}

.points-earned span { color: rgba(255, 255, 255, 0.5); font-size: 9px; text-transform: uppercase; }
.points-earned b { margin-top: 2px; font-size: 28px; }
.points-earned small { color: rgba(255, 255, 255, 0.5); font-size: 9px; }

.auto-next {
  width: min(760px, 100%);
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 10px;
}

.auto-next i {
  height: 3px;
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red) var(--auto-progress, 0%), rgba(255, 255, 255, 0.1) 0);
}

.finish-crown {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.finish-crown i {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38));
}

.finish-crown i:last-child {
  transform: rotate(180deg);
}

.finish-crown b {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  border-radius: 15px;
  background: linear-gradient(145deg, var(--amber), #ffd45a);
  box-shadow: 0 12px 28px rgba(232, 160, 0, 0.25);
  font-size: 23px;
}

.final-grid {
  width: 100%;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.final-grid article {
  padding: 15px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.final-grid span,
.final-grid b,
.final-grid small {
  display: block;
}

.final-grid span { color: rgba(255, 255, 255, 0.48); font-size: 8px; text-transform: uppercase; }
.final-grid b { margin-top: 6px; font-size: 21px; }
.final-grid small { margin-top: 4px; color: rgba(255, 255, 255, 0.45); font-size: 8px; }

.debrief-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.debrief-grid div {
  min-width: 0;
  padding: 11px;
  border-radius: 10px;
  background: rgba(3, 14, 34, 0.42);
  text-align: left;
}

.debrief-grid span,
.debrief-grid b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.debrief-grid span { color: rgba(255, 255, 255, 0.48); font-size: 8px; white-space: nowrap; }
.debrief-grid b { margin-top: 4px; font-size: 10px; line-height: 1.35; }
.debrief-grid div.miss { border-left: 3px solid var(--red); }
.debrief-grid div.hit { border-left: 3px solid var(--green); }

.finish-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.outline-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.05);
}

.pause-layer {
  position: absolute;
  inset: 0;
  z-index: 40;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(2, 11, 28, 0.8);
  backdrop-filter: blur(12px);
}

.pause-card {
  max-width: 480px;
  padding: 32px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: #0b2148;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.pause-card h2 { margin: 8px 0; }
.pause-card p:last-child { color: rgba(255, 255, 255, 0.64); font-size: 12px; }
.pause-bars { display: inline-flex; gap: 6px; }
.pause-bars i { width: 10px; height: 34px; border-radius: 3px; background: var(--red); }

.shock-flash {
  position: absolute;
  inset: 0;
  z-index: 45;
  display: grid;
  place-content: center;
  color: #fff;
  background: rgba(230, 0, 40, 0.92);
  opacity: 0;
  pointer-events: none;
  text-align: center;
}

.shock-flash i {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 12px, transparent 12px 28px);
}

.shock-flash b,
.shock-flash span {
  position: relative;
  display: block;
}

.shock-flash b {
  font-size: clamp(38px, 7vw, 76px);
  letter-spacing: -0.05em;
}

.shock-flash span {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.shock-flash.active {
  animation: shockReveal 1.35s ease both;
}

@keyframes shockReveal {
  0% { opacity: 0; transform: scale(1.12); }
  12%, 70% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.98); }
}

.confetti {
  position: absolute;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 16px;
  border-radius: 2px;
  animation: confettiFall 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes confettiFall {
  to { opacity: 0.1; transform: translate(var(--drift), 760px) rotate(var(--spin)); }
}

.intel-panel {
  position: sticky;
  top: 80px;
  min-width: 0;
  padding: 18px;
}

.intel-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.intel-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: livePulse 1.8s infinite;
}

.intel-card,
.dispatch-card {
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
}

.intel-card h3 {
  margin: 7px 0 6px;
  color: var(--navy-950);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.intel-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.scorecard {
  padding: 18px 0;
  display: grid;
  gap: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.scorecard > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px;
}

.scorecard span {
  color: #5d6880;
  font-size: 10px;
  font-weight: 720;
}

.scorecard b {
  color: var(--navy-950);
  font-size: 12px;
}

.scorecard i {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f5;
}

.scorecard em {
  display: block;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy-800), var(--cyan));
  transition: width 520ms ease;
}

.dispatch-card {
  border-bottom: 0;
}

.dispatch-card ul {
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.dispatch-card li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: #6a7488;
  font-size: 10px;
  line-height: 1.45;
}

.dispatch-card li:nth-child(n + 4) {
  display: none;
}

.dispatch-card li i {
  width: 7px;
  height: 7px;
  margin-top: 3px;
  border: 1px solid #9ecbc1;
  border-radius: 50%;
  background: #dff6ef;
}

.dispatch-card li:first-child {
  color: var(--navy-950);
  font-weight: 720;
}

.dispatch-card li:first-child i {
  border-color: var(--green);
  background: var(--green);
}

.reset-btn {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  color: #6f788b;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8f9fb;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.reset-btn:hover {
  color: var(--red);
  border-color: #efb7c1;
  background: #fff7f8;
}

.edu-band {
  margin: 20px 0 36px;
}

.edu-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.edu-card > h3 {
  margin: 0 0 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-950);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.edu-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--red);
}

.edu-title {
  color: var(--navy-950);
  font-size: 18px;
  font-weight: 820;
  letter-spacing: -0.02em;
}

.edu-grid {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.edu-grid h4 {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edu-grid p,
.edu-src {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.edu-src {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}

.rl-footer {
  color: rgba(255, 255, 255, 0.58);
  background: var(--navy-950);
}

.rl-footer > div {
  width: min(1360px, 100%);
  margin: auto;
  padding: 19px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
}

.rl-footer a {
  color: #fff;
  text-decoration: none;
}

.rules-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(2, 10, 27, 0.76);
  backdrop-filter: blur(10px);
}

.rules-card {
  position: relative;
  width: min(760px, 100%);
  padding: 30px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.rules-card > button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  color: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

.rules-card h2 {
  max-width: 600px;
  margin: 8px 0 20px;
  color: var(--navy-950);
  font-size: 30px;
  letter-spacing: -0.04em;
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rules-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8f9fc;
}

.rules-grid b {
  display: block;
  color: var(--red);
  font-size: 24px;
}

.rules-grid span {
  display: block;
  margin-top: 4px;
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 820;
}

.rules-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .round-rail,
  .round-rail.has-leaderboard {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .round-rail ol {
    grid-template-columns: repeat(8, minmax(84px, 1fr));
  }

  .round-rail .leader-link {
    display: none;
  }

  .arena-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .screen {
    padding-inline: 40px;
  }

  .stance-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .arena-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-badges {
    justify-content: flex-start;
  }

  .hud {
    grid-template-columns: repeat(4, 1fr);
  }

  .hud-progress {
    grid-column: 1 / -1;
    min-height: 76px !important;
  }

  .arena-grid {
    grid-template-columns: 1fr;
  }

  .round-rail {
    grid-column: 1;
  }

  .playfield {
    grid-column: 1;
  }

  .intel-panel {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 18px;
    align-items: start;
  }

  .intel-head {
    grid-column: 1 / -1;
  }

  .intel-card,
  .scorecard,
  .dispatch-card {
    padding: 4px 0;
    border: 0;
  }

  .reset-btn {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .edu-grid {
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .arena-app {
    padding: 0 14px;
  }

  .rl-topbar-in {
    height: 60px;
    padding: 0 14px;
  }

  .icon-btn b {
    display: none;
  }

  .arena-hero {
    padding: 24px 0 18px;
  }

  .arena-hero h1 {
    font-size: 39px;
  }

  body.arena-active .arena-hero h1 {
    font-size: 25px;
  }

  .arena-hero > div > p:last-child {
    font-size: 14px;
  }

  .hud {
    grid-template-columns: 1fr 1fr;
  }

  .hud-progress {
    grid-column: 1 / -1;
  }

  .hud article {
    min-height: 78px;
    padding: 14px;
  }

  .hud article > b {
    font-size: 22px;
  }

  .round-rail {
    padding: 13px;
    display: block;
    overflow: hidden;
  }

  .rail-title {
    margin-bottom: 11px;
  }

  .round-rail ol {
    padding-bottom: 4px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 148px;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .round-rail li {
    min-height: 56px;
  }

  .playfield,
  .screen {
    min-height: 0;
  }

  .screen {
    padding: 72px 22px 30px;
  }

  .screen h2,
  .question-head h2 {
    font-size: 30px;
  }

  .flow-line {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 22px 0;
  }

  .flow-line > b {
    display: none;
  }

  .flow-line span {
    white-space: normal;
  }

  .stance-grid {
    grid-template-columns: 1fr;
  }

  .stance-grid button {
    min-height: 64px;
  }

  .question-head {
    gap: 14px;
  }

  .round-token {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }

  .round-token span {
    font-size: 20px;
  }

  .clue-grid {
    grid-template-columns: 1fr;
  }

  .clue-grid div:nth-child(3) {
    display: none;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .interaction-zone {
    min-height: 0;
  }

  .question-actions,
  .feedback-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .commit-btn,
  .feedback-actions .primary-btn {
    width: 100%;
  }

  .selection-note,
  .points-earned {
    text-align: center;
  }

  .final-grid,
  .debrief-grid,
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intel-panel {
    grid-template-columns: 1fr 1fr;
  }

  .intel-head,
  .dispatch-card,
  .reset-btn {
    grid-column: 1 / -1;
  }

  .dispatch-card li:nth-child(n + 3) {
    display: none;
  }

  .edu-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .rules-card {
    max-height: 92vh;
    overflow: auto;
  }
}

@media (max-width: 480px) {
  .rl-brand span:last-child {
    display: none;
  }

  .rl-home {
    padding: 0 10px;
    font-size: 10px;
  }

  .arena-hero h1 {
    max-width: 350px;
    font-size: 34px;
  }

  .hero-badges span:last-child {
    display: none;
  }

  .screen {
    padding-inline: 18px;
  }

  .screen h2,
  .question-head h2 {
    font-size: 27px;
  }

  .intro-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .intro-actions .primary-btn {
    width: 100%;
  }

  .allocation-row {
    grid-template-columns: 88px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .allocation-impact {
    grid-template-columns: 1fr 1fr;
  }

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

  .confidence-choices {
    gap: 6px;
  }

  .intel-panel {
    grid-template-columns: 1fr;
  }

  .intel-head,
  .dispatch-card,
  .reset-btn {
    grid-column: 1;
  }

  .rl-footer > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* the lab-wide readability rule (rl-ui.css) inflates bare <small> to 1em; pin these labels to a readable 11px so the stance cards, mission map and HUD keep their layout */
.hud article > small,
.round-rail li small,
.leader-link small,
.stance-grid small,
.round-token small,
.option-card small,
.confidence-choices button small,
.points-earned small,
.final-grid small {
  font-size: 11px !important;
}
