:root {
  color-scheme: dark;
  --void: #040c0b;
  --ink: #061311;
  --panel: #0a1a17;
  --panel-raised: #102621;
  --panel-soft: rgb(13 31 27 / 82%);
  --steel: #56665f;
  --muted: #8f9b93;
  --paper: #d7d3bd;
  --paper-bright: #f0ecd7;
  --brass: #c9b86e;
  --brass-bright: #e3d28a;
  --serum: #82a844;
  --serum-bright: #b7d66b;
  --danger: #a85442;
  --line: rgb(201 184 110 / 22%);
  --line-strong: rgb(201 184 110 / 48%);
  --line-cold: rgb(187 202 193 / 16%);
  --display: "Arial Narrow", "Roboto Condensed", "DIN Condensed", "PingFang SC", sans-serif;
  --body: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  --topbar-height: 64px;
  --content-width: 1510px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 1120px;
  background: var(--void);
  scroll-behavior: smooth;
}

body {
  min-width: 1120px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgb(44 78 68 / 18%), transparent 34%),
    var(--void);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: 79;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgb(238 233 205 / 4%) 4px),
    repeating-linear-gradient(93deg, transparent 0 137px, rgb(238 233 205 / 3%) 138px);
  mix-blend-mode: soft-light;
}

button,
select,
input {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button,
a {
  color: inherit;
}

button {
  border: 0;
}

button:not(:disabled),
select {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--brass);
  color: var(--void);
}

:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 12px;
  padding: 9px 14px;
  background: var(--brass);
  color: var(--void);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-width {
  width: min(var(--content-width), calc(100% - 64px));
  margin-inline: auto;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.screen {
  position: relative;
  min-height: 100dvh;
  scroll-margin-top: var(--topbar-height);
}

#player-fronts,
#player-support {
  scroll-margin-top: calc(var(--topbar-height) + 16px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:not(:disabled):active,
.watch-button:not(:disabled):active {
  transform: translateY(1px);
}

.button-primary {
  border-color: var(--brass);
  background: var(--brass);
  color: #101612;
}

.button-primary:not(:disabled):hover {
  border-color: var(--brass-bright);
  background: var(--brass-bright);
}

.button-quiet {
  border-color: var(--line-strong);
  background: rgb(6 19 17 / 78%);
  color: var(--paper-bright);
}

.button-quiet:not(:disabled):hover {
  border-color: var(--paper);
  background: rgb(215 211 189 / 8%);
}

.button-selected {
  border-color: rgb(183 214 107 / 58%);
  background: rgb(130 168 68 / 14%);
  color: var(--serum-bright);
}

.button:disabled {
  border-color: var(--line-cold);
  background: rgb(215 211 189 / 4%);
  color: rgb(215 211 189 / 36%);
}

.button-small {
  min-height: 38px;
  padding-inline: 16px;
  font-size: 12px;
}

.text-action {
  padding: 7px 0;
  border-bottom: 1px solid var(--brass);
  background: transparent;
  color: var(--paper);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.text-action:hover {
  color: var(--brass-bright);
}

/* Navigation */

.topbar {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: var(--topbar-height);
  grid-template-columns: 210px minmax(330px, 420px) 1fr 300px;
  align-items: center;
  gap: 18px;
  padding-inline: 28px;
  border-bottom: 1px solid var(--line);
  background: rgb(4 12 11 / 88%);
  backdrop-filter: blur(14px);
}

.event-track-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-track-switch button {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgb(6 19 17 / 78%);
  color: var(--muted);
  text-align: left;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.event-track-switch button + button {
  margin-left: -1px;
}

.event-track-switch button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--serum-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.event-track-switch button:hover {
  border-color: var(--line-strong);
  color: var(--paper-bright);
}

.event-track-switch button[aria-pressed="true"] {
  z-index: 1;
  border-color: var(--brass);
  background:
    linear-gradient(90deg, rgb(130 168 68 / 13%), transparent 70%),
    rgb(13 31 27 / 94%);
  color: var(--paper-bright);
}

.event-track-switch button[aria-pressed="true"]::after {
  transform: scaleX(1);
}

.event-track-switch span,
.event-track-switch b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-track-switch span {
  color: var(--brass);
  font-family: var(--display);
  font-weight: 900;
}

.event-track-switch b {
  font-family: var(--mono);
  font-weight: 700;
}

.event-track-switch--fixed {
  height: 42px;
}

.event-track-switch--fixed button {
  padding: 5px 10px 6px;
}

.event-track-switch--fixed span {
  font-size: 11px;
}

.event-track-switch--fixed b {
  margin-top: 1px;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.event-track-switch--inline {
  width: min(860px, 82%);
  margin: 20px auto 26px;
}

.event-track-switch--inline button {
  min-height: 66px;
  padding: 10px 20px;
}

.event-track-switch--inline span {
  font-size: 15px;
}

.event-track-switch--inline b {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.event-track-content {
  animation: event-track-enter 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand-lockup {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 30px;
  place-items: center;
  border: 1px solid rgb(240 236 215 / 58%);
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}

.brand-copy {
  color: var(--paper);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-copy b {
  color: var(--brass-bright);
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.topnav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.topnav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.topnav a:hover {
  color: var(--paper-bright);
}

.topnav a:hover::after {
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-select select,
.account-button {
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgb(6 19 17 / 86%);
  color: var(--paper);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.language-select select {
  width: 118px;
  padding-inline: 10px;
}

.account-button {
  min-width: 146px;
  padding-inline: 14px;
}

.account-button:hover {
  border-color: var(--brass);
  color: var(--brass-bright);
}

/* Screen 01: campaign poster and serum route */

.hero-screen {
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 64px;
  background:
    radial-gradient(circle at 52% 50%, rgb(49 83 72 / 18%), transparent 38%),
    var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: max(610px, 63dvh);
}

.hero-media {
  z-index: -3;
  background-color: #050d0c;
  background-image: var(--hero-image);
  background-position: center 44%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.12);
  animation: hero-settle 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(4 12 11 / 20%) 0%, transparent 32%, transparent 64%, rgb(4 12 11 / 22%) 100%),
    linear-gradient(180deg, rgb(4 12 11 / 18%) 0%, transparent 24%, rgb(4 12 11 / 8%) 48%, rgb(4 12 11 / 94%) 91%, var(--ink) 100%);
}

.hero-screen::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.9%, rgb(201 184 110 / 8%) 50%, transparent 50.1%),
    repeating-linear-gradient(90deg, transparent 0 149px, rgb(240 236 215 / 2%) 150px);
  mask-image: linear-gradient(180deg, transparent 10%, #000 56%, #000);
}

.hero-composition {
  position: relative;
  padding-top: var(--topbar-height);
}

.hero-kv {
  display: flex;
  min-height: max(540px, calc(63dvh - var(--topbar-height)));
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 170px 12% 30px;
  text-align: center;
}

.campaign-masthead {
  width: 100%;
  text-shadow: 0 2px 24px rgb(0 0 0 / 82%);
}

.hero-kicker {
  margin-bottom: 7px;
  color: var(--brass-bright);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.campaign-masthead h1 {
  margin: 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(46px, 4.2vw, 74px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-transform: uppercase;
}

.campaign-masthead > strong {
  display: block;
  margin-top: 7px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.27em;
}

.hero-summary {
  max-width: 720px;
  margin: 12px auto 0;
  color: rgb(240 236 215 / 82%);
  font-size: 16px;
  font-weight: 600;
}

.faction-preview-grid {
  display: grid;
  width: min(920px, 82vw);
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.faction-preview-grid button {
  position: relative;
  display: grid;
  min-height: 64px;
  grid-template-columns: 38px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgb(5 16 14 / 84%);
  color: var(--paper);
  text-align: left;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.faction-preview-grid button::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 4px;
  height: 4px;
  background: var(--brass);
  transform: rotate(45deg);
}

.faction-preview-grid button:hover,
.faction-preview-grid button:focus-visible {
  border-color: var(--brass);
  background: rgb(16 38 33 / 92%);
  transform: translateY(-2px);
}

.faction-preview-grid span {
  grid-row: 1 / 3;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 12px;
}

.faction-preview-grid b {
  align-self: end;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.05em;
}

.faction-preview-grid small {
  align-self: start;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}

.hero-join {
  min-width: 230px;
}

.hero-rules-link {
  text-shadow: 0 2px 8px rgb(0 0 0 / 80%);
}

.hazard-tape {
  position: relative;
  z-index: 3;
  width: 110%;
  height: 38px;
  margin-left: -5%;
  overflow: hidden;
  border-block: 1px solid rgb(4 12 11 / 78%);
  background:
    repeating-linear-gradient(135deg, rgb(15 22 18 / 42%) 0 22px, transparent 22px 42px),
    #a9933e;
  color: #0c1511;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 36px;
  text-align: center;
  transform: rotate(-1deg);
}

.hazard-tape div {
  min-width: 1500px;
  animation: hazard-drift 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mission-brief {
  position: relative;
  margin-top: 40px;
  padding: 26px 34px 24px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(115deg, rgb(130 168 68 / 5%), transparent 34%),
    rgb(6 19 17 / 92%);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.mission-brief::before,
.lab-panel::before,
.faction-intel::before,
.live-rule-frame::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 8px;
  border: 1px solid rgb(215 211 189 / 5%);
}

.mission-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.mission-heading p,
.mission-heading strong,
.mission-heading span {
  font-family: var(--display);
}

.mission-heading p {
  margin-bottom: 2px;
  color: var(--brass-bright);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.mission-heading strong {
  color: var(--paper-bright);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.mission-heading > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.serum-tube {
  position: relative;
  display: flex;
  width: min(1160px, 88%);
  height: 86px;
  align-items: center;
  margin: 27px auto 0;
}

.tube-cap {
  position: relative;
  z-index: 3;
  width: 92px;
  height: 72px;
  flex: 0 0 auto;
  border: 2px solid #5e5b4f;
  background:
    repeating-linear-gradient(90deg, #262822 0 7px, #45483e 7px 12px),
    #33372f;
  box-shadow:
    inset 0 0 0 5px #171d19,
    8px 0 18px rgb(0 0 0 / 45%);
  clip-path: polygon(0 14%, 15% 0, 86% 0, 100% 16%, 93% 83%, 78% 100%, 14% 100%, 0 84%);
}

.tube-cap i {
  position: absolute;
  inset: 13px 21px;
  border: 1px solid rgb(215 211 189 / 26%);
  background: #101916;
}

.tube-glass {
  position: relative;
  z-index: 2;
  height: 64px;
  flex: 1;
  overflow: hidden;
  border-block: 2px solid rgb(213 222 203 / 64%);
  background:
    linear-gradient(180deg, rgb(238 246 225 / 30%), transparent 28%, rgb(5 15 13 / 18%) 72%, rgb(238 246 225 / 15%)),
    rgb(108 141 92 / 10%);
  box-shadow:
    inset 0 0 14px rgb(227 235 211 / 20%),
    0 0 26px rgb(130 168 68 / 16%);
}

.tube-glass::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 9px;
  right: 15px;
  left: 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 46%), transparent);
}

.tube-liquid {
  position: absolute;
  inset: 9px 0 7px 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(191 222 104 / 72%), rgb(102 146 46 / 90%) 48%, rgb(51 87 29 / 94%));
  box-shadow:
    inset 0 5px 10px rgb(225 246 157 / 20%),
    0 0 26px rgb(151 194 70 / 28%);
  transform: scaleX(0.74);
  transform-origin: left;
  animation: serum-current 2.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tube-liquid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgb(255 255 220 / 18%) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: tube-glint 5.2s ease-in-out 1.8s infinite;
}

.tube-liquid i {
  position: absolute;
  bottom: 8px;
  width: 7px;
  height: 7px;
  border: 1px solid rgb(235 255 180 / 58%);
  border-radius: 50%;
  background: rgb(222 246 150 / 18%);
  animation: bubble-rise 4.6s ease-in infinite;
}

.tube-liquid i:nth-child(1) { left: 9%; animation-delay: -0.8s; }
.tube-liquid i:nth-child(2) { left: 27%; width: 4px; height: 4px; animation-delay: -2.1s; }
.tube-liquid i:nth-child(3) { left: 44%; animation-delay: -3.4s; }
.tube-liquid i:nth-child(4) { left: 61%; width: 5px; height: 5px; animation-delay: -1.4s; }
.tube-liquid i:nth-child(5) { left: 73%; animation-delay: -4s; }
.tube-liquid i:nth-child(6) { left: 89%; width: 4px; height: 4px; animation-delay: -2.8s; }

.tube-ticks {
  position: absolute;
  z-index: 5;
  inset: 0 26px;
  background: repeating-linear-gradient(90deg, transparent 0 6.1%, rgb(5 17 14 / 55%) 6.1% 6.25%);
  mask-image: linear-gradient(180deg, #000 0 14px, transparent 14px);
}

.tube-highlight {
  position: absolute;
  z-index: 6;
  top: 2px;
  bottom: 2px;
  left: 24%;
  width: 3px;
  background: rgb(255 255 255 / 28%);
  filter: blur(1px);
}

.tube-end {
  position: relative;
  z-index: 3;
  width: 55px;
  height: 64px;
  flex: 0 0 auto;
  border: 2px solid rgb(214 220 201 / 58%);
  border-left: 0;
  border-radius: 0 34px 34px 0;
  background:
    radial-gradient(circle at 38% 38%, rgb(255 255 255 / 40%) 0 3px, transparent 4px),
    rgb(111 145 84 / 14%);
  box-shadow: inset -8px 0 12px rgb(227 235 211 / 16%);
}

.phase-track {
  display: grid;
  width: min(1120px, 84%);
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 0;
  margin: 8px auto 24px;
  list-style: none;
}

.phase-track li {
  position: relative;
  display: grid;
  min-height: 54px;
  grid-template-columns: 30px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: rgb(16 38 33 / 72%);
  opacity: 0;
  transform: translateY(-7px);
  animation: phase-arm 420ms ease forwards;
  animation-delay: calc(1.1s + var(--phase-delay));
}

.phase-track li::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 1px;
  height: 10px;
  background: var(--brass);
}

.phase-track span {
  grid-row: 1 / 3;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
}

.phase-track b {
  align-self: end;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.phase-track small {
  align-self: start;
  color: var(--muted);
  font-size: 11px;
}

.mission-flow {
  position: relative;
  padding-top: 6px;
}

.mission-track {
  position: absolute;
  top: 31px;
  right: 12%;
  left: 12%;
  height: 1px;
  overflow: visible;
  background: rgb(201 184 110 / 32%);
}

.mission-signal {
  position: absolute;
  inset: -1px auto -1px 0;
  width: 32%;
  background: linear-gradient(90deg, transparent, var(--serum-bright), transparent);
  animation: mission-signal 5.2s ease-in-out infinite;
}

.mission-packet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1px solid var(--serum-bright);
  background: var(--ink);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: mission-node 5.2s ease-in-out infinite;
}

.mission-flow > ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mission-flow > ol > li {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 38px auto;
  gap: 0 14px;
  padding: 0 18px 14px;
  border-inline: 1px solid var(--line);
}

.mission-index {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
}

.mission-node {
  position: absolute;
  width: 12px;
  height: 12px;
  margin-top: 25px;
  margin-left: 74px;
  border: 1px solid var(--brass);
  background: var(--ink);
  transform: rotate(45deg);
}

.mission-node i {
  position: absolute;
  inset: 3px;
  background: var(--serum-bright);
}

.mission-flow li > div {
  grid-column: 2;
  grid-row: 1 / 3;
}

.mission-flow h2 {
  margin: 0 0 3px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.1;
}

.mission-flow li strong {
  color: var(--brass);
  font-size: 13px;
}

.mission-flow li p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.server-objective {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--paper);
  font-size: 14px;
  text-align: center;
}

.server-objective span {
  color: var(--serum-bright);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.player-route-brief {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.player-route-brief button {
  display: grid;
  min-height: 104px;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto 1fr;
  gap: 3px 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: rgb(16 38 33 / 62%);
  color: var(--paper);
  text-align: left;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.player-route-brief button:hover {
  border-color: var(--brass);
  background: rgb(24 49 42 / 76%);
  transform: translateY(-2px);
}

.player-route-brief span {
  grid-row: 1 / 3;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
}

.player-route-brief b {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.03em;
}

.player-route-brief small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

/* Player Community Event */

.player-operations,
.player-results {
  overflow: hidden;
  isolation: isolate;
  padding: 100px 0 86px;
  background:
    linear-gradient(180deg, rgb(4 12 11 / 34%), rgb(4 12 11 / 88%)),
    radial-gradient(circle at 14% 22%, rgb(130 168 68 / 10%), transparent 32%),
    #071512;
}

.player-operations::before,
.player-results::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background:
    repeating-linear-gradient(90deg, transparent 0 179px, rgb(201 184 110 / 4%) 180px),
    linear-gradient(118deg, transparent 0 64%, rgb(215 211 189 / 3%) 64.2%, transparent 64.4%);
}

.player-operations-inner,
.player-results-inner {
  position: relative;
}

.player-section-head,
.player-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.player-section-head p,
.player-results-head p {
  margin-bottom: 5px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.player-section-head h2,
.player-results-head h2 {
  margin-bottom: 7px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(36px, 3.2vw, 54px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.player-section-head span,
.player-results-head span {
  color: var(--muted);
  font-size: 14px;
}

.player-section-head > strong {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.player-mission-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 22px;
}

.player-mission-card {
  position: relative;
  display: grid;
  min-height: 178px;
  grid-template-columns: 46px 1fr;
  grid-template-rows: 1fr auto;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  background: rgb(7 24 20 / 84%);
}

.player-mission-card.is-ready {
  border-color: rgb(183 214 107 / 50%);
  background: linear-gradient(145deg, rgb(130 168 68 / 13%), rgb(7 24 20 / 88%) 56%);
}

.player-mission-card.is-claimed {
  border-color: var(--brass);
  background: linear-gradient(145deg, rgb(201 184 110 / 16%), rgb(7 24 20 / 88%) 60%);
}

.mission-case {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.mission-case i {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
}

.player-mission-card > div:nth-child(2) > span {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 9px;
}

.player-mission-card h3 {
  margin: 4px 0 6px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 19px;
}

.player-mission-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.player-mission-card > button {
  grid-column: 1 / -1;
  min-height: 34px;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--brass-bright);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: left;
}

.player-action-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.player-front-console,
.player-support-console,
.community-goals,
.supported-result,
.player-reward-terminal {
  position: relative;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgb(130 168 68 / 4%), transparent 36%),
    rgb(6 19 17 / 94%);
}

.front-console-body {
  display: grid;
  min-height: 435px;
  grid-template-columns: minmax(580px, 1.12fr) minmax(360px, 0.88fr);
}

.front-radar {
  position: relative;
  min-height: 435px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgb(130 168 68 / 10%) 0 17%, transparent 17.5% 30%, rgb(201 184 110 / 11%) 30.5% 30.8%, transparent 31.3% 49%, rgb(201 184 110 / 9%) 49.5% 49.8%, transparent 50.3%),
    linear-gradient(90deg, transparent 49.8%, rgb(201 184 110 / 13%) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgb(201 184 110 / 13%) 50%, transparent 50.2%);
}

.front-radar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 310px;
  border: 1px solid rgb(201 184 110 / 20%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.front-radar-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 128px;
  height: 128px;
  place-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #081a16;
  color: var(--paper-bright);
  text-align: center;
  transform: translate(-50%, -50%);
}

.front-radar-core span {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
}

.front-radar-core b {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.front-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 170px;
  min-height: 88px;
  align-content: center;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  background: rgb(6 19 17 / 94%);
  color: var(--paper);
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.front-node--1 { top: 58px; left: 58px; }
.front-node--2 { top: 58px; right: 58px; }
.front-node--3 { bottom: 34px; left: calc(50% - 85px); }

.front-node:hover:not(:disabled) {
  border-color: var(--brass);
  transform: translateY(-3px);
}

.front-node.is-selected {
  border-color: var(--serum-bright);
  background: linear-gradient(120deg, rgb(130 168 68 / 18%), rgb(6 19 17 / 96%));
}

.front-node span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
}

.front-node b {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 19px;
}

.front-node small {
  color: var(--muted);
  font-size: 10px;
}

.front-node:disabled {
  cursor: default;
  opacity: 0.52;
}

.front-node.is-locked {
  opacity: 1;
}

.front-readout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.account-value {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.account-value span,
.account-value small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.account-value strong {
  display: block;
  margin: 3px 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 36px;
}

.front-selection-state {
  flex: 1;
  padding: 14px;
  border-left: 2px solid var(--line-strong);
  background: rgb(215 211 189 / 3%);
}

.front-selection-state.has-selection {
  border-left-color: var(--serum);
}

.front-selection-state > span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
}

.front-selection-state h3 {
  margin: 5px 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 24px;
}

.front-selection-state p,
.front-lock-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.front-progress-readout {
  position: relative;
  height: 28px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #06100e;
}

.front-progress-readout span {
  display: block;
  width: var(--front-progress);
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgb(215 238 143 / 14%) 0 7px, transparent 7px 14px),
    rgb(130 168 68 / 56%);
}

.front-progress-readout b {
  position: absolute;
  top: 4px;
  right: 9px;
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 11px;
}

.front-lock-note {
  margin: 0;
  text-align: center;
}

.player-support-layout {
  display: grid;
  min-height: 465px;
  grid-template-columns: minmax(480px, 0.92fr) minmax(560px, 1.08fr);
}

.support-team-panel {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.support-team-panel > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}

.support-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.support-team-grid > button {
  display: grid;
  min-height: 78px;
  grid-template-columns: 48px 1fr;
  grid-template-rows: 1fr auto;
  gap: 0 11px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgb(10 29 25 / 72%);
  color: var(--paper);
  text-align: left;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.support-team-grid > button:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.support-team-grid > button:not(:disabled):hover,
.support-team-grid > button:not(:disabled):focus-visible {
  border-color: var(--faction-accent);
  transform: translateY(-2px);
}

.support-team-grid > button.is-selected {
  border-color: var(--faction-accent);
  background: color-mix(in srgb, var(--faction-accent) 12%, #071815);
}

.support-team-grid > button:disabled {
  opacity: 0.42;
}

.support-team-grid img {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  object-fit: cover;
  filter: saturate(0.55);
}

.support-team-grid span {
  display: grid;
}

.support-team-grid small,
.support-team-grid em {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
}

.support-team-grid b {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 16px;
}

.support-team-grid > button > strong {
  grid-column: 2;
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 10px;
}

.support-squad-strip {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.support-squad-strip.has-squad {
  color: var(--paper);
}

.support-squad-strip > div {
  display: flex;
  gap: 5px;
}

.support-squad-strip img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.support-squad-strip:not(.has-squad) img {
  filter: grayscale(1);
  opacity: 0.32;
}

.player-card-preview {
  position: relative;
  min-height: 465px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgb(4 12 11 / 96%) 0%, rgb(4 12 11 / 73%) 52%, rgb(4 12 11 / 18%) 100%),
    var(--player-card-bg);
  background-position: center;
  background-size: cover;
}

.player-card-preview::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgb(201 184 110 / 26%);
  pointer-events: none;
}

.player-card-copy {
  position: relative;
  z-index: 3;
  display: flex;
  width: 58%;
  min-height: 465px;
  flex-direction: column;
  padding: 34px 28px 28px;
}

.player-card-copy > span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.player-card-copy h3 {
  margin: 10px 0 18px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 34px;
  line-height: 0.98;
}

.player-card-copy dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 18px;
  margin-bottom: 22px;
}

.player-card-copy dl div {
  padding-top: 6px;
  border-top: 1px solid rgb(215 211 189 / 24%);
}

.player-card-copy dt {
  color: var(--muted);
  font-size: 9px;
}

.player-card-copy dd {
  overflow: hidden;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-card-copy .button {
  width: max-content;
  margin-top: auto;
}

.player-card-operator {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: -20%;
  width: min(40%, 250px);
  max-height: 112%;
  object-fit: contain;
  object-position: bottom;
  filter: saturate(0.65) contrast(1.05);
}

.player-results {
  background:
    radial-gradient(circle at 82% 24%, rgb(201 184 110 / 8%), transparent 30%),
    linear-gradient(180deg, #071512, #040c0b);
}

.player-results-head > span {
  max-width: 400px;
  text-align: right;
}

.player-outcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(420px, 0.86fr);
  gap: 16px;
  margin-top: 24px;
}

.community-goals,
.supported-result,
.player-reward-terminal {
  padding-bottom: 20px;
}

.community-goal {
  margin: 18px 20px 0;
  padding: 17px;
  border-left: 2px solid var(--serum);
  background: rgb(130 168 68 / 6%);
}

.community-goal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--paper);
  font-size: 13px;
}

.community-goal header strong {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 12px;
}

.community-goal > div:nth-of-type(1) {
  margin-top: 8px;
}

.community-goal > div > b {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 31px;
}

.community-goal > div > small {
  margin-left: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.community-goal-meter {
  height: 7px;
  margin-top: 10px;
  overflow: hidden;
  background: rgb(215 211 189 / 10%);
}

.community-goal-meter span {
  display: block;
  width: var(--goal-progress);
  height: 100%;
  background: var(--serum);
}

.community-goal p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.support-result-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px;
}

.support-result-pair > div {
  min-height: 140px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgb(16 38 33 / 58%);
}

.support-result-pair span,
.support-result-pair small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.support-result-pair strong {
  display: block;
  margin: 10px 0 5px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 28px;
}

.supported-result > p {
  margin: 0 20px;
  padding: 12px;
  border-left: 2px solid var(--brass);
  background: rgb(201 184 110 / 6%);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.player-reward-terminal {
  grid-column: 1 / -1;
}

.player-reward-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 20px 0;
}

.player-reward-list article {
  display: grid;
  min-height: 118px;
  grid-template-columns: 32px 1fr;
  grid-template-rows: 1fr auto;
  gap: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  background: rgb(16 38 33 / 52%);
}

.player-reward-list article.is-ready {
  border-color: rgb(183 214 107 / 48%);
}

.player-reward-list article.is-claimed {
  border-color: var(--brass);
  background: rgb(201 184 110 / 8%);
}

.player-reward-list article > span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
}

.player-reward-list b {
  display: block;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 14px;
}

.player-reward-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.player-reward-list button {
  grid-column: 1 / -1;
  min-height: 32px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: #101612;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 900;
}

.player-reward-list button:disabled {
  border-color: var(--line);
  background: transparent;
  color: rgb(215 211 189 / 36%);
}

.player-reward-terminal > p {
  margin: 13px 20px 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* Screen 02: biochemical battle archive */

.war-room {
  isolation: isolate;
  padding: 92px 0 82px;
  background:
    linear-gradient(180deg, rgb(3 11 10 / 18%), var(--void) 22%, rgb(8 24 20 / 76%) 68%, var(--void)),
    radial-gradient(circle at 50% 22%, rgb(88 111 69 / 12%), transparent 34%),
    #06110f;
}

.war-room::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 199px, rgb(201 184 110 / 2%) 200px),
    repeating-linear-gradient(0deg, transparent 0 91px, rgb(215 211 189 / 2%) 92px);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 90%, transparent);
}

.war-room-inner {
  position: relative;
}

.war-room-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line-strong);
}

.section-label {
  margin-bottom: 7px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.war-room-head h2 {
  margin: 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(38px, 3.2vw, 56px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.war-room-head p:not(.section-label) {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.war-room {
  height: 100dvh;
  min-height: 720px;
  overflow: clip;
  padding: calc(var(--topbar-height) + 8px) 0 8px;
  scroll-margin-top: 0;
}

.war-room-inner {
  display: grid;
  height: 100%;
  grid-template-rows: auto clamp(170px, 21dvh, 210px) clamp(400px, 45dvh, 430px);
  gap: clamp(10px, 1.2vh, 14px);
  align-content: center;
}

.war-room-head {
  padding-bottom: 8px;
}

.war-room-head h2 {
  font-size: clamp(32px, 2.55vw, 44px);
}

.war-room-head p:not(.section-label) {
  margin-top: 4px;
  font-size: 13px;
}

.faction-overview-grid {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(7px, 0.7vw, 11px);
}

.faction-overview-card {
  position: relative;
  min-width: 0;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--faction-accent) 7%, transparent), transparent 38%),
    rgb(6 20 17 / 96%);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.faction-overview-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 38%, rgb(4 12 11 / 42%) 54%, rgb(4 12 11 / 94%) 86%),
    linear-gradient(180deg, transparent 0 48%, rgb(4 12 11 / 82%) 84%);
}

.faction-overview-card:hover,
.faction-overview-card:focus-within,
.faction-overview-card.is-active {
  border-color: var(--faction-accent);
  transform: translateY(-2px);
}

.faction-overview-card.is-active {
  box-shadow: inset 0 2px 0 color-mix(in srgb, var(--faction-accent) 76%, var(--brass));
}

.faction-overview-card.is-joined {
  border-color: var(--brass);
}

.overview-rank {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 11px;
  text-align: right;
}

.overview-rank span,
.overview-rank strong {
  display: block;
}

.overview-rank span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.overview-rank strong {
  color: var(--brass-bright);
  font-family: var(--mono);
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1;
}

.overview-captain {
  position: absolute;
  z-index: 0;
  bottom: 38px;
  left: -3%;
  width: 48%;
  height: calc(100% - 42px);
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(0.72) brightness(0.7) contrast(1.1);
  transform: translateY(4px);
  transform-origin: bottom;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.faction-overview-card:hover .overview-captain,
.faction-overview-card:focus-within .overview-captain,
.faction-overview-card.is-active .overview-captain {
  filter: grayscale(0.18) brightness(0.88) contrast(1.06);
  transform: translateY(0);
}

.overview-identity {
  position: absolute;
  z-index: 3;
  top: 42px;
  right: 11px;
  width: 60%;
}

.overview-identity > span,
.overview-identity > p {
  display: block;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-identity h3 {
  overflow: hidden;
  margin: 2px 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(17px, 1.35vw, 23px);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-metrics {
  position: absolute;
  z-index: 3;
  right: 11px;
  bottom: 40px;
  width: 60%;
  margin: 0;
}

.overview-metrics div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 3px 0;
  border-top: 1px solid var(--line-cold);
}

.overview-metrics dt {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-metrics dd {
  margin: 0;
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 800;
  white-space: nowrap;
}

.overview-action {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
}

.overview-action .button {
  width: 100%;
  min-height: 36px;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  padding-inline: 8px;
  font-size: 12px;
}

.overview-viewing {
  position: absolute;
  z-index: 4;
  top: 11px;
  left: 11px;
  padding-left: 9px;
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.overview-viewing::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 5px;
  height: 5px;
  background: currentcolor;
  transform: rotate(45deg);
}

.faction-ranking-console {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(120deg, rgb(130 168 68 / 4%), transparent 38%),
    rgb(5 18 15 / 96%);
}

.ranking-console-head {
  display: grid;
  min-height: 58px;
  grid-template-columns: minmax(220px, 0.52fr) minmax(720px, 1.48fr);
  align-items: center;
  gap: 20px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: rgb(15 35 30 / 76%);
}

.ranking-console-head > div:first-child > span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.ranking-console-head h3 {
  display: block;
  margin: 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 22px;
}

.ranking-console-head p {
  display: block;
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.faction-ranking-switch {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.faction-ranking-switch button {
  display: grid;
  min-width: 0;
  min-height: 40px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgb(6 20 17 / 78%);
  color: var(--muted);
  text-align: left;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.faction-ranking-switch button:hover,
.faction-ranking-switch button:focus-visible {
  border-color: var(--line-strong);
  color: var(--paper-bright);
  transform: translateY(-1px);
}

.faction-ranking-switch button[aria-pressed="true"] {
  border-color: var(--brass);
  background: rgb(130 168 68 / 11%);
  color: var(--paper-bright);
}

.faction-ranking-switch span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
}

.faction-ranking-switch b {
  overflow: hidden;
  font-family: var(--display);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faction-ranking-stage {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  animation: intel-reveal 180ms ease both;
}

.ranking-team-bar {
  display: grid;
  min-height: 58px;
  grid-template-columns: minmax(190px, 0.8fr) minmax(360px, 1.3fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 7px 13px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, color-mix(in srgb, var(--faction-accent) 10%, transparent), transparent 56%);
}

.ranking-team-bar > div:first-child > span,
.ranking-rewards span {
  color: var(--muted);
  font-size: 11px;
}

.ranking-team-bar h3 {
  display: inline;
  margin: 0 8px 0 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 21px;
}

.ranking-team-bar small {
  color: var(--muted);
  font-size: 11px;
}

.ranking-team-bar dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-inline: 1px solid var(--line);
}

.ranking-team-bar dl div {
  padding: 0 12px;
  border-right: 1px solid var(--line);
}

.ranking-team-bar dl div:last-child {
  border-right: 0;
}

.ranking-team-bar dt,
.ranking-team-bar dd {
  margin: 0;
}

.ranking-team-bar dt {
  color: var(--muted);
  font-size: 11px;
}

.ranking-team-bar dd {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
}

.ranking-rewards {
  display: grid;
  gap: 2px;
}

.ranking-rewards span:first-child {
  color: var(--brass-bright);
}

.ranking-cycle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ranking-cycle > span {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

.ranking-cycle button {
  min-width: 64px;
  min-height: 34px;
  border: 1px solid var(--brass);
  border-radius: 0;
  background: var(--brass);
  color: #101612;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.ranking-cycle button:hover,
.ranking-cycle button:focus-visible {
  border-color: var(--brass-bright);
  background: var(--brass-bright);
}

.ranking-cycle button:active {
  transform: translateY(1px);
}

.streamer-ranking-wrap {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.streamer-ranking-table {
  width: 100%;
  height: auto;
  border-collapse: collapse;
  table-layout: fixed;
}

.streamer-ranking-table .rank-col {
  width: 108px;
}

.streamer-ranking-table .metric-col {
  width: 180px;
}

.streamer-ranking-table thead {
  height: 27px;
  background: rgb(4 14 12 / 88%);
}

.streamer-ranking-table th,
.streamer-ranking-table td {
  padding: 2px 14px;
  border-bottom: 1px solid var(--line-cold);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
}

.streamer-ranking-table thead th:nth-child(n + 3),
.streamer-ranking-table tbody td,
.streamer-ranking-table tfoot td {
  text-align: right;
}

.streamer-ranking-table tbody tr,
.streamer-ranking-table tfoot tr {
  height: clamp(39px, 4.35vh, 47px);
  transition: background-color 140ms ease;
}

.streamer-ranking-table tbody tr:hover {
  background: rgb(130 168 68 / 6%);
}

.streamer-ranking-table tbody th,
.streamer-ranking-table tfoot th {
  color: var(--paper);
  font-weight: 700;
}

.streamer-ranking-table td > strong {
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 14px;
}

.table-rank {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 13px;
}

.table-creator {
  display: inline-grid;
  max-width: 100%;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  text-align: left;
}

.table-creator img {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
}

.table-creator b,
.table-creator small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-creator b {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 14px;
}

.table-creator small {
  color: var(--muted);
  font-size: 10px;
}

.my-rank-row {
  border-top: 1px solid var(--brass);
  background: linear-gradient(90deg, rgb(130 168 68 / 16%), rgb(201 184 110 / 5%));
}

.my-rank-row > td:first-child {
  text-align: left;
}

.my-rank-label {
  display: block;
  color: var(--brass-bright);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
}

.my-rank-row > td:first-child > strong {
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 13px;
}

.my-rank-row.is-other-faction {
  background: linear-gradient(90deg, rgb(201 184 110 / 12%), rgb(201 184 110 / 3%));
}

.war-instruments {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.34fr) minmax(0, 0.92fr);
  gap: 14px;
  margin-top: 22px;
}

.lab-panel {
  position: relative;
  min-height: 366px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(150deg, rgb(215 211 189 / 4%), transparent 35%),
    rgb(7 22 19 / 92%);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
}

.instrument-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgb(15 35 30 / 82%);
}

.instrument-head span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.instrument-head b {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.05em;
}

.enrollment-console {
  padding-bottom: 18px;
}

.enrollment-state {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 28px 22px;
}

.enrollment-state > span,
.enrollment-state .player-identity span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.11em;
}

.enrollment-state h3 {
  margin: 7px 0 9px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}

.enrollment-state p {
  max-width: 330px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.enrollment-state.is-ready > strong {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-left: 2px solid var(--serum);
  background: rgb(130 168 68 / 10%);
  color: var(--serum-bright);
  font-family: var(--display);
  font-size: 16px;
}

.player-dossier {
  justify-content: flex-start;
}

.player-identity {
  display: grid;
  width: 100%;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.player-identity img {
  width: 64px;
  height: 64px;
  border: 1px solid var(--brass);
  border-radius: 0;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
}

.player-identity h3 {
  margin: 4px 0 2px;
  font-size: 24px;
}

.player-identity small {
  color: var(--serum-bright);
  font-size: 11px;
}

.player-stats {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 14px 0 0;
}

.player-stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-cold);
}

.player-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.player-stats dd {
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
}

.serum-console {
  display: flex;
  flex-direction: column;
}

.serum-stage {
  position: relative;
  display: grid;
  min-height: 264px;
  flex: 1;
  grid-template-columns: minmax(150px, 0.9fr) minmax(210px, 1.1fr);
  align-items: center;
  gap: 6px;
  padding: 6px 22px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 31% 51%, rgb(130 168 68 / 20%), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 53px, rgb(215 211 189 / 3%) 54px);
}

.serum-stage > img {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(210px, 84%);
  max-height: 268px;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 20px rgb(0 0 0 / 62%))
    drop-shadow(0 0 18px rgb(130 168 68 / 16%));
  animation: canister-float 6s ease-in-out infinite;
}

.serum-scan {
  position: absolute;
  z-index: 3;
  top: 52px;
  bottom: 12px;
  left: 7%;
  width: 37%;
  overflow: hidden;
  border-inline: 1px solid rgb(183 214 107 / 12%);
  pointer-events: none;
}

.serum-scan::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--serum-bright), transparent);
  box-shadow: 0 0 12px rgb(183 214 107 / 72%);
  animation: lab-scan 4.4s ease-in-out infinite;
}

.kill-gauge {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 18px;
}

.kill-gauge > div:last-child {
  min-width: 0;
}

.kill-gauge > div:last-child > span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.kill-gauge > div:last-child > strong {
  display: block;
  margin: 5px 0 0;
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1;
}

.kill-gauge > div:last-child > small {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
}

.kill-droplet {
  position: relative;
  width: 76px;
  height: 112px;
  overflow: hidden;
  border: 2px solid rgb(215 229 191 / 54%);
  border-radius: 58% 42% 63% 37% / 68% 38% 62% 32%;
  background: rgb(31 55 44 / 55%);
  box-shadow:
    inset 8px 10px 16px rgb(255 255 255 / 8%),
    0 0 18px rgb(130 168 68 / 16%);
  transform: rotate(45deg);
}

.kill-liquid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 50%, rgb(235 255 179 / 34%) 0 2px, transparent 3px),
    linear-gradient(155deg, var(--serum-bright), #597b2f 72%);
  transform: translateY(calc(100% - var(--kill-level)));
  animation: kill-fill 1.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.kill-liquid::before {
  content: "";
  position: absolute;
  top: -5px;
  right: -12px;
  left: -12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(206 236 128 / 74%);
  animation: liquid-surface 4.4s ease-in-out infinite;
}

.kill-liquid i,
.kill-liquid b {
  position: absolute;
  width: 5px;
  height: 5px;
  border: 1px solid rgb(235 255 179 / 52%);
  border-radius: 50%;
  animation: bubble-rise 3.8s ease-in infinite;
}

.kill-liquid i { bottom: 8px; left: 26px; }
.kill-liquid b { bottom: 2px; left: 48px; animation-delay: -1.7s; }

.kill-glare {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 7px;
  height: 32px;
  border-radius: 50%;
  background: rgb(255 255 255 / 24%);
  filter: blur(2px);
}

.serum-footnote {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 9px 18px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.reward-monitor {
  padding-bottom: 16px;
}

.reward-ledger {
  display: grid;
  gap: 0;
  padding: 14px 18px 0;
}

.reward-ledger article {
  position: relative;
  padding: 12px 14px 12px 48px;
  border-bottom: 1px solid var(--line);
}

.reward-ledger article::before {
  content: "REWARD";
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: top left;
}

.reward-ledger article > span {
  display: block;
  color: var(--serum-bright);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.reward-ledger article strong {
  display: block;
  margin-top: 2px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 19px;
}

.reward-ledger article small {
  color: var(--muted);
  font-size: 11px;
}

.personal-fluid {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 18px;
  margin: 16px 18px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgb(130 168 68 / 5%);
}

.mini-droplet {
  position: relative;
  width: 49px;
  height: 66px;
  overflow: hidden;
  justify-self: center;
  border: 1px solid rgb(215 229 191 / 48%);
  border-radius: 61% 39% 62% 38% / 70% 37% 63% 30%;
  background: rgb(29 50 40 / 78%);
  transform: rotate(45deg);
}

.mini-droplet i {
  position: absolute;
  inset: 20% -10% -10%;
  background: linear-gradient(145deg, var(--serum-bright), #4c7029);
  animation: liquid-surface 4.2s ease-in-out infinite;
}

.mini-droplet b {
  position: absolute;
  top: 11px;
  left: 10px;
  width: 5px;
  height: 17px;
  border-radius: 50%;
  background: rgb(255 255 255 / 26%);
}

.personal-fluid span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
}

.personal-fluid strong {
  display: block;
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 25px;
  line-height: 1.1;
}

.personal-fluid small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.faction-theater {
  margin-top: 58px;
}

.theater-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.theater-heading span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.theater-heading h3 {
  margin: 3px 0 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
}

.theater-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.faction-dossier {
  position: relative;
  height: 278px;
}

.faction-summary {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgb(22 44 37 / 38%), rgb(4 14 12 / 96%)),
    var(--panel);
  color: var(--paper);
  text-align: left;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.faction-summary::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 63%, rgb(4 12 11 / 78%) 88%),
    linear-gradient(180deg, transparent 0 44%, rgb(4 12 11 / 96%) 87%);
}

.faction-dossier.is-active .faction-summary {
  border-color: var(--brass);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--faction-accent) 13%, transparent), rgb(4 14 12 / 96%)),
    var(--panel-raised);
  transform: translateY(-5px);
}

.faction-summary:hover,
.faction-summary:focus-visible {
  border-color: var(--line-strong);
}

.faction-operator {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 2%;
  width: 52%;
  height: 264px;
  object-fit: contain;
  object-position: 50% top;
  filter: grayscale(0.8) brightness(0.66) contrast(1.12);
  transform: translateY(10px) scale(0.96);
  transform-origin: bottom;
  transition:
    filter 260ms ease,
    transform 260ms ease;
}

.faction-dossier.is-active .faction-operator {
  filter: grayscale(0.2) brightness(0.88) contrast(1.08);
  transform: translateY(0) scale(1);
}

.faction-rank {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 15px;
  color: var(--brass-bright);
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.faction-rank small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.faction-name {
  position: absolute;
  z-index: 3;
  top: 66px;
  right: 16px;
  width: 52%;
}

.faction-name small,
.faction-name em {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.faction-name b {
  display: block;
  margin: 3px 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
}

.faction-total {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 76px;
  width: 52%;
}

.faction-total small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.faction-total strong {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 23px;
}

.faction-reward {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 43px;
  width: 52%;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.faction-reward small,
.faction-reward b {
  display: block;
}

.faction-reward small {
  color: var(--muted);
  font-size: 10px;
}

.faction-reward b {
  overflow: hidden;
  color: var(--paper);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faction-reward.is-winning b {
  color: var(--brass-bright);
}

.faction-toggle {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 12px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.faction-toggle i {
  width: 6px;
  height: 6px;
  border: 1px solid currentcolor;
  transform: rotate(45deg);
}

.faction-dossier.is-active .faction-toggle {
  color: var(--brass-bright);
}

.faction-intel-stack {
  position: relative;
  margin-top: 12px;
}

.faction-intel {
  position: relative;
  display: none;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--faction-accent) 4%, transparent), transparent 32%),
    rgb(6 19 17 / 96%);
  animation: intel-reveal 220ms ease both;
}

.faction-intel.is-active {
  display: block;
}

.faction-intel::after {
  content: "";
  position: absolute;
  top: -12px;
  left: var(--faction-link-position, 12.5%);
  width: 1px;
  height: 12px;
  background: var(--brass);
}

.faction-command {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 94px;
  grid-template-columns: 210px minmax(360px, 1.25fr) auto minmax(170px, 0.6fr) auto;
  align-items: center;
  gap: 20px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: rgb(15 35 30 / 76%);
}

.command-identity > span,
.faction-prize > span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.command-identity h3 {
  margin: 2px 0 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
}

.command-identity small {
  color: var(--muted);
  font-size: 11px;
}

.command-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-inline: 1px solid var(--line);
}

.command-stats div {
  padding: 3px 16px;
  border-right: 1px solid var(--line);
}

.command-stats div:last-child {
  border-right: 0;
}

.command-stats span,
.command-stats strong {
  display: block;
}

.command-stats span {
  color: var(--muted);
  font-size: 11px;
}

.command-stats strong {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 18px;
}

.squad-roster {
  display: flex;
  gap: 6px;
}

.squad-roster > span {
  position: relative;
}

.squad-roster img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.05);
}

.squad-roster small {
  position: absolute;
  right: 1px;
  bottom: 1px;
  left: 1px;
  padding: 1px;
  background: rgb(4 12 11 / 84%);
  color: var(--paper);
  font-size: 9px;
  text-align: center;
}

.faction-prize strong,
.faction-prize small {
  display: block;
}

.faction-prize strong {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 14px;
}

.faction-prize small {
  color: var(--muted);
  font-size: 10px;
}

.dual-leaderboards {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.8fr);
  min-height: 500px;
}

.creator-board,
.global-top-board {
  padding: 18px;
}

.creator-board {
  border-right: 1px solid var(--line-strong);
}

.board-head {
  display: flex;
  min-height: 52px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
}

.board-head span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.board-head h3 {
  margin: 2px 0 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
}

.board-head > small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.board-pages {
  display: flex;
  align-items: center;
  gap: 8px;
}

.board-pages button {
  min-width: 56px;
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
}

.board-pages button:not(:disabled):hover,
.board-pages button:not(:disabled):focus-visible {
  border-color: var(--brass);
  color: var(--brass-bright);
}

.board-pages button:disabled {
  color: rgb(215 211 189 / 25%);
}

.board-pages span {
  min-width: 52px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
}

.board-columns {
  display: grid;
  grid-template-columns: 1fr 105px 105px;
  gap: 8px;
  padding: 7px 10px;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.board-columns span:not(:first-child) {
  text-align: right;
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.creator-grid li {
  display: grid;
  min-width: 0;
  min-height: 56px;
  grid-template-columns: 30px 38px minmax(70px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line-cold);
  transition: background-color 160ms ease;
}

.creator-grid li:nth-child(even) {
  border-right: 0;
}

.creator-grid li:hover {
  background: rgb(130 168 68 / 7%);
}

.creator-rank {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
}

.creator-grid img,
.global-top-board li img {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 0;
  object-fit: cover;
  filter: saturate(0.72);
}

.creator-grid li > b,
.global-top-board li > b {
  overflow: hidden;
  color: var(--paper);
  font-family: var(--display);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-grid li > span:not(.creator-rank) {
  min-width: 67px;
  text-align: right;
}

.creator-grid li > span strong,
.creator-grid li > span small {
  display: block;
}

.creator-grid li > span strong {
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 11px;
}

.creator-grid li > span small {
  color: var(--muted);
  font-size: 9px;
}

.global-top-board .board-columns {
  grid-template-columns: 1fr 50px 96px;
}

.global-top-board > ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.global-top-board li {
  display: grid;
  min-height: 59px;
  grid-template-columns: 28px 38px minmax(80px, 1fr) 44px 80px;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-cold);
}

.global-top-board li:first-child {
  background: linear-gradient(90deg, rgb(201 184 110 / 10%), transparent);
}

.global-top-board li > small {
  color: var(--muted);
  font-size: 10px;
}

.global-top-board li > strong {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
}

.top-reward-note {
  display: grid;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: rgb(201 184 110 / 5%);
}

.top-reward-note span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
}

.top-reward-note strong {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 15px;
}

.top-reward-note small {
  color: var(--muted);
  font-size: 10px;
}

/* Screen 03: broadcast and rules */

.live-rules {
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 21% 50%, rgb(54 89 75 / 18%), transparent 34%),
    linear-gradient(180deg, var(--void), #071411 48%, var(--void));
}

.live-rules::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 48%, rgb(201 184 110 / 3%) 48.1% 48.3%, transparent 48.4%),
    repeating-linear-gradient(0deg, transparent 0 119px, rgb(215 211 189 / 2%) 120px);
}

.live-rules-inner {
  position: relative;
}

.archive-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  margin-bottom: 20px;
  padding-inline: 18px;
  border-block: 1px solid var(--line-strong);
  background: rgb(7 21 18 / 72%);
}

.archive-divider span,
.archive-divider small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.archive-divider small {
  text-align: right;
}

.archive-divider h2 {
  margin: 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.04em;
}

.live-rule-frame {
  position: relative;
  display: grid;
  min-height: 590px;
  grid-template-columns: minmax(0, 1.42fr) minmax(420px, 0.9fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgb(5 17 15 / 92%);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.live-half {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
}

.live-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.68) brightness(0.54) contrast(1.08);
  transform: scale(1.02);
  transition: transform 6s ease;
}

.live-half:hover .live-media {
  transform: scale(1.055);
}

.live-half::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(4 12 11 / 32%), transparent 48%, rgb(4 12 11 / 18%)),
    linear-gradient(180deg, rgb(4 12 11 / 8%), rgb(4 12 11 / 88%) 86%);
  pointer-events: none;
}

.live-copy {
  position: relative;
  z-index: 3;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 42px;
}

.live-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 9px;
  border: 1px solid var(--brass);
  background: rgb(4 12 11 / 72%);
  color: var(--brass-bright);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.live-copy h2 {
  margin: 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(38px, 3.4vw, 58px);
  line-height: 0.96;
}

.live-copy > p {
  margin: 10px 0 16px;
  color: var(--paper);
  font-size: 16px;
}

.broadcast-meta {
  display: grid;
  width: min(540px, 90%);
  grid-template-columns: 1.4fr 0.8fr;
  margin: 0 0 18px;
  border-block: 1px solid var(--line);
}

.broadcast-meta div {
  padding: 10px 12px 10px 0;
}

.broadcast-meta div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.broadcast-meta dt {
  color: var(--muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
}

.broadcast-meta dd {
  color: var(--paper-bright);
  font-size: 12px;
}

.watch-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--brass);
  border-radius: 0;
  background: var(--brass);
  color: #0a120e;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.watch-button:disabled {
  border-color: var(--line);
  background: rgb(215 211 189 / 10%);
  color: var(--muted);
}

.drops-panel {
  display: grid;
  width: min(580px, 94%);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-left-color: var(--brass);
  background: rgb(5 17 15 / 80%);
}

.drops-panel span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.drops-panel strong {
  display: block;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 15px;
}

.drops-panel p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.drops-panel a,
.drops-panel button {
  min-height: 32px;
  padding-inline: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 900;
}

.rules-half {
  position: relative;
  display: flex;
  min-height: 590px;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgb(201 184 110 / 3%), transparent 42%),
    rgb(6 19 17 / 96%);
}

.rules-shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 42px 38px 20px;
}

.rules-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.rules-head span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.rules-head h2 {
  margin: 4px 0 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.05;
}

.rules-head > strong {
  color: var(--brass-bright);
  font-family: var(--mono);
  font-size: 12px;
}

.rule-card {
  position: relative;
  flex: 1;
  padding: 56px 18px 28px;
  animation: rule-enter 260ms ease both;
}

.rule-number {
  position: absolute;
  top: 20px;
  left: 18px;
  color: rgb(201 184 110 / 22%);
  font-family: var(--mono);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.rule-card h3 {
  position: relative;
  margin: 0 0 14px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 25px;
}

.rule-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.rule-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}

.rule-controls > button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
}

.rule-controls > button:hover,
.rule-controls > button:focus-visible {
  border-color: var(--brass);
  color: var(--brass-bright);
}

.rule-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.rule-dots button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  background: transparent;
}

.rule-dots span {
  width: 5px;
  height: 5px;
  border: 1px solid var(--muted);
  transform: rotate(45deg);
}

.rule-dots button[aria-current="true"] span {
  border-color: var(--brass);
  background: var(--brass);
}

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

.compact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 58px;
  padding: 12px 38px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
}

.compact-footer span {
  color: var(--paper);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.compact-footer p {
  max-width: 320px;
  margin: 0;
  font-size: 10px;
  text-align: right;
}

/* Dialogs and feedback */

.action-dialog {
  width: min(560px, calc(100vw - 64px));
  padding: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgb(201 184 110 / 5%), transparent 36%),
    #071815;
  color: var(--paper);
  overscroll-behavior: contain;
  box-shadow: 0 36px 80px rgb(0 0 0 / 68%);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.player-card-dialog {
  width: min(1080px, calc(100vw - 64px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
}

.ugc-enlistment-card {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background-image:
    linear-gradient(90deg, rgb(4 12 11 / 97%) 0%, rgb(4 12 11 / 72%) 58%, rgb(4 12 11 / 18%) 100%),
    var(--ugc-card-bg);
  background-position: center;
  background-size: cover;
}

.ugc-enlistment-card::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 10px;
  border: 1px solid rgb(201 184 110 / 24%);
  pointer-events: none;
}

.ugc-enlistment-copy {
  position: relative;
  z-index: 3;
  width: 64%;
  padding: 34px;
}

.ugc-enlistment-copy > span,
.ugc-commander span,
.ugc-commander small {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ugc-enlistment-copy h3 {
  margin: 12px 0 24px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 48px;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.ugc-enlistment-copy dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 24px;
}

.ugc-enlistment-copy dl div {
  padding-top: 8px;
  border-top: 1px solid rgb(215 211 189 / 24%);
}

.ugc-enlistment-copy dt {
  color: var(--muted);
  font-size: 9px;
}

.ugc-enlistment-copy dd {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
}

.ugc-enlistment-card > img {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: -23%;
  width: 31%;
  max-height: 118%;
  object-fit: contain;
  object-position: bottom;
  filter: saturate(0.58) contrast(1.08);
}

.ugc-commander {
  position: absolute;
  z-index: 5;
  right: 28px;
  bottom: 24px;
  max-width: 34%;
  text-align: right;
}

.ugc-commander b {
  display: block;
  overflow: hidden;
  margin: 3px 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 30px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ugc-commander small {
  color: var(--paper);
  letter-spacing: 0.06em;
}

.player-share-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.action-dialog::backdrop {
  background: rgb(1 7 6 / 78%);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
}

.dialog-close:hover {
  border-color: var(--brass);
  color: var(--paper-bright);
}

.dialog-label {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.action-dialog h2 {
  margin: 8px 0 12px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}

.action-dialog > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.dialog-steps {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.dialog-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: rgb(16 38 33 / 58%);
  font-size: 13px;
}

.dialog-steps span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 10px;
}

.dialog-note {
  padding: 10px 12px;
  border-left: 2px solid var(--serum);
  background: rgb(130 168 68 / 8%);
  color: var(--paper) !important;
  font-size: 12px !important;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}

.dialog-faction {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 3px 14px;
  margin: 22px 0;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--faction-accent) 58%, transparent);
  background: color-mix(in srgb, var(--faction-accent) 8%, transparent);
}

.dialog-faction span {
  grid-row: 1 / 3;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 17px;
}

.dialog-faction b {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 20px;
}

.dialog-faction small {
  color: var(--muted);
}

.confirm-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgb(16 38 33 / 48%);
  font-size: 13px;
}

.confirm-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--serum);
}

.toast-region {
  position: fixed;
  z-index: 150;
  right: 24px;
  bottom: 24px;
}

.toast {
  max-width: 360px;
  padding: 13px 16px;
  border: 1px solid var(--brass);
  background: rgb(7 24 21 / 96%);
  color: var(--paper-bright);
  font-size: 13px;
  box-shadow: 0 18px 38px rgb(0 0 0 / 45%);
  animation: toast-in 240ms ease both;
}

/* Motion */

@keyframes hero-settle {
  from { opacity: 0.55; transform: scale(1.17); }
  to { opacity: 1; transform: scale(1.12); }
}

@keyframes hazard-drift {
  from { opacity: 0; transform: translateX(-34px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes serum-current {
  from { opacity: 0.2; transform: scaleX(0.04); }
  to { opacity: 1; transform: scaleX(0.74); }
}

@keyframes tube-glint {
  0%, 28% { opacity: 0; transform: translateX(-120%); }
  45% { opacity: 1; }
  66%, 100% { opacity: 0; transform: translateX(150%); }
}

@keyframes phase-arm {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mission-signal {
  0% { opacity: 0; transform: translateX(-80%); }
  18%, 72% { opacity: 1; }
  100% { opacity: 0; transform: translateX(310%); }
}

@keyframes mission-node {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes canister-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes lab-scan {
  0% { opacity: 0; transform: translateY(0); }
  12%, 86% { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(205px); }
}

@keyframes kill-fill {
  from { transform: translateY(100%); }
  to { transform: translateY(calc(100% - var(--kill-level))); }
}

@keyframes liquid-surface {
  0%, 100% { transform: translateX(-4%) rotate(-2deg); }
  50% { transform: translateX(4%) rotate(2deg); }
}

@keyframes bubble-rise {
  0% { opacity: 0; transform: translateY(12px) scale(0.7); }
  18% { opacity: 0.72; }
  100% { opacity: 0; transform: translateY(-54px) scale(1.12); }
}

@keyframes intel-reveal {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rule-enter {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes event-track-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Desktop scaling */

@media (max-width: 1500px) {
  :root {
    --content-width: 1320px;
  }

  .overview-identity {
    top: 34px;
  }

  .overview-identity > span,
  .overview-identity > p {
    font-size: 10px;
    line-height: 1.2;
  }

  .overview-identity h3 {
    margin-block: 1px;
    font-size: 17px;
  }

  .overview-metrics {
    right: 11px;
    bottom: 40px;
    left: 11px;
    display: grid;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .overview-metrics div {
    display: grid;
    gap: 1px;
    padding: 4px 6px 3px;
    background: rgb(4 14 12 / 76%);
  }

  .overview-metrics dt {
    font-size: 10px;
  }

  .overview-metrics dd {
    font-size: 14px;
    text-align: right;
  }

  .war-instruments {
    grid-template-columns: minmax(0, 0.88fr) minmax(390px, 1.22fr) minmax(0, 0.88fr);
  }

  .faction-command {
    grid-template-columns: 170px minmax(320px, 1.2fr) auto minmax(140px, 0.55fr) auto;
    gap: 14px;
  }

  .command-stats div {
    padding-inline: 10px;
  }

  .faction-name b {
    font-size: 24px;
  }

  .creator-grid li {
    grid-template-columns: 25px 34px minmax(60px, 1fr) auto auto;
    gap: 6px;
    padding-inline: 7px;
  }

  .creator-grid img,
  .global-top-board li img {
    width: 34px;
    height: 34px;
  }

  .global-top-board li {
    grid-template-columns: 24px 34px minmax(62px, 1fr) 38px 72px;
    padding-inline: 7px;
  }
}

@media (max-width: 1240px) {
  .content-width {
    width: calc(100% - 48px);
  }

  .topbar {
    grid-template-columns: 54px minmax(340px, 1fr) 285px;
    gap: 12px;
    padding-inline: 20px;
  }

  .topnav {
    display: none;
  }

  .brand-copy {
    display: none;
  }

  .event-track-switch--fixed {
    width: min(520px, 100%);
    justify-self: center;
  }

  .front-console-body {
    grid-template-columns: minmax(550px, 1.1fr) minmax(350px, 0.9fr);
  }

  .player-support-layout {
    grid-template-columns: minmax(455px, 0.9fr) minmax(520px, 1.1fr);
  }

  .player-card-copy {
    width: 62%;
  }

  .war-instruments {
    grid-template-columns: 0.86fr 1.18fr 0.86fr;
  }

  .serum-stage {
    grid-template-columns: 128px 1fr;
    padding-inline: 12px;
  }

  .kill-gauge {
    grid-template-columns: 68px 1fr;
    gap: 10px;
  }

  .kill-droplet {
    width: 61px;
    height: 91px;
  }

  .faction-command {
    grid-template-columns: 145px 1fr auto auto;
  }

  .faction-prize {
    display: none;
  }

  .dual-leaderboards {
    grid-template-columns: minmax(0, 1.55fr) 330px;
  }

  .creator-grid li {
    grid-template-columns: 24px 32px minmax(50px, 1fr) auto auto;
  }

  .creator-grid img {
    width: 32px;
    height: 32px;
  }
}

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

  .hero-media,
  .live-media,
  .faction-operator,
  .faction-dossier.is-active .faction-operator {
    transform: none !important;
  }

  .tube-liquid {
    transform: scaleX(0.74) !important;
  }

  .phase-track li,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* v0.10 first-screen intake composition: keep qualification choices in the initial viewport. */
.hero-screen:has(.identity-entry-grid) {
  height: 100dvh;
  min-height: 720px;
  padding-bottom: 0;
}

.hero-screen:has(.identity-entry-grid) .hero-media,
.hero-screen:has(.identity-entry-grid) .hero-shade {
  height: 100%;
}

.hero-screen:has(.identity-entry-grid) .hero-composition {
  display: grid;
  height: 100%;
  grid-template-rows: minmax(300px, 48%) minmax(0, 52%);
  padding-top: var(--topbar-height);
}

.hero-screen:has(.identity-entry-grid) .hero-kv {
  width: 100%;
  min-height: 0;
  justify-content: end;
  padding: clamp(82px, 10dvh, 118px) 12% clamp(14px, 2dvh, 24px);
}

.hero-screen:has(.identity-entry-grid) .campaign-masthead h1 {
  font-size: clamp(38px, 3.55vw, 64px);
}

.hero-screen:has(.identity-entry-grid) .hero-summary {
  margin-top: 8px;
  font-size: 14px;
}

.hero-screen:has(.identity-entry-grid) .faction-preview-grid {
  margin-top: 12px;
}

.hero-screen:has(.identity-entry-grid) .faction-preview-grid button {
  min-height: 54px;
  padding-block: 6px;
}

.hero-screen:has(.identity-entry-grid) .hero-actions {
  margin-top: 10px;
}

.hero-screen:has(.identity-entry-grid) .mission-brief {
  width: min(var(--content-width), calc(100% - 64px));
  height: calc(100% - 14px);
  margin: 14px auto 0;
  padding: 11px 20px 12px;
}

.hero-screen:has(.identity-entry-grid) .mission-heading {
  padding-bottom: 6px;
}

.hero-screen:has(.identity-entry-grid) .mission-heading p {
  font-size: 11px;
}

.hero-screen:has(.identity-entry-grid) .mission-heading strong {
  font-size: 18px;
}

.hero-screen:has(.identity-entry-grid) .serum-tube {
  width: min(1120px, 91%);
  height: 54px;
  margin-top: 7px;
}

.hero-screen:has(.identity-entry-grid) .tube-cap {
  width: 72px;
  height: 48px;
}

.hero-screen:has(.identity-entry-grid) .tube-cap i {
  inset: 9px 17px;
}

.hero-screen:has(.identity-entry-grid) .tube-glass,
.hero-screen:has(.identity-entry-grid) .tube-end {
  height: 42px;
}

.hero-screen:has(.identity-entry-grid) .tube-end {
  width: 44px;
}

.hero-screen:has(.identity-entry-grid) .identity-entry-grid {
  height: calc(100% - 95px);
  margin-top: 6px;
}

.hero-screen:has(.identity-entry-grid) .identity-entry-card {
  min-height: 0;
  gap: 6px;
  padding: 9px 12px 8px;
}

.hero-screen:has(.identity-entry-grid) .identity-entry-head h2 {
  font-size: 18px;
}

.hero-screen:has(.identity-entry-grid) .entry-step {
  min-height: 42px;
  padding-block: 4px;
}

.hero-screen:has(.identity-entry-grid) .identity-entry-actions .button {
  min-height: 34px;
}

@media (max-height: 820px) {
  .hero-screen:has(.identity-entry-grid) .hero-media,
  .hero-screen:has(.identity-entry-grid) .hero-shade {
    height: 100%;
  }

  .hero-screen:has(.identity-entry-grid) .hero-kv {
    min-height: 0;
    padding-top: 74px;
    padding-bottom: 10px;
  }

  .hero-screen:has(.identity-entry-grid) .mission-brief {
    margin-top: 8px;
    padding: 8px 16px 9px;
  }

  .hero-screen:has(.identity-entry-grid) .serum-tube {
    height: 48px;
    margin-top: 5px;
  }

  .hero-screen:has(.identity-entry-grid) .tube-cap {
    height: 44px;
  }

  .hero-screen:has(.identity-entry-grid) .tube-glass,
  .hero-screen:has(.identity-entry-grid) .tube-end {
    height: 38px;
  }

  .hero-screen:has(.identity-entry-grid) .identity-entry-grid {
    height: calc(100% - 85px);
    margin-top: 4px;
  }

  .hero-screen:has(.identity-entry-grid) .identity-entry-card {
    min-height: 0;
    gap: 4px;
    padding-block: 7px;
  }
}

/* Streamer identity intake + faction command deck */

.identity-entry-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: clamp(10px, 1vw, 16px);
  margin-top: clamp(10px, 1.4vh, 16px);
}

.identity-entry-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -11px;
  left: 66.15%;
  width: 1px;
  height: 12px;
  background: linear-gradient(180deg, var(--brass), transparent);
}

.identity-entry-card {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 162px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  overflow: hidden;
  padding: 14px 16px 13px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(125deg, rgb(130 168 68 / 7%), transparent 38%),
    rgb(5 18 15 / 94%);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.identity-entry-card::before,
.identity-entry-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.identity-entry-card::before {
  inset: 6px;
  border: 1px solid rgb(215 211 189 / 4%);
}

.identity-entry-card::after {
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--serum);
  box-shadow: 8px 0 22px rgb(130 168 68 / 14%);
}

.identity-entry-card--streamer {
  background:
    linear-gradient(110deg, rgb(130 168 68 / 10%), transparent 48%),
    repeating-linear-gradient(90deg, transparent 0 109px, rgb(183 214 107 / 2%) 110px),
    rgb(5 18 15 / 96%);
}

.identity-entry-card--player {
  background:
    linear-gradient(130deg, rgb(201 184 110 / 9%), transparent 55%),
    rgb(8 21 18 / 96%);
}

.identity-entry-card--player::after {
  background: var(--brass);
  box-shadow: 8px 0 22px rgb(201 184 110 / 12%);
}

.identity-entry-card.is-active {
  border-color: var(--brass);
  box-shadow: inset 0 1px 0 rgb(227 210 138 / 22%);
}

.identity-entry-head {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.identity-entry-head > div {
  min-width: 0;
}

.identity-entry-head span,
.identity-entry-head small {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.identity-entry-head h2,
.identity-entry-head h3,
.identity-entry-head strong {
  display: block;
  margin: 1px 0 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(19px, 1.45vw, 25px);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 1.05;
}

.identity-entry-head p {
  max-width: 360px;
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
}

.entry-step-chain {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.entry-step-chain::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 16px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--serum), var(--line-strong) 56%, var(--line-cold));
}

.entry-step {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 50px;
  grid-template-columns: 27px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 7px;
  padding: 6px 7px;
  border: 1px solid var(--line-cold);
  background: rgb(4 14 12 / 86%);
  color: var(--muted);
}

.entry-step > span:first-child,
.entry-step > i {
  display: grid;
  width: 27px;
  height: 27px;
  grid-row: 1 / 3;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
}

.entry-step > div {
  min-width: 0;
  align-self: center;
}

.entry-step b,
.entry-step strong {
  display: block;
  overflow: hidden;
  align-self: end;
  color: var(--paper);
  font-family: var(--display);
  font-size: 13px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-step small {
  display: block;
  overflow: hidden;
  align-self: start;
  color: inherit;
  font-size: 11px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-step.is-complete {
  border-color: rgb(183 214 107 / 42%);
  background: rgb(77 104 44 / 16%);
  color: var(--serum-bright);
}

.entry-step.is-complete > span:first-child,
.entry-step.is-complete > i {
  border-color: var(--serum);
  background: var(--serum);
  color: #0b160f;
}

.entry-step.is-current {
  border-color: var(--brass);
  background: linear-gradient(110deg, rgb(201 184 110 / 15%), rgb(4 14 12 / 88%));
  box-shadow: inset 0 1px 0 rgb(227 210 138 / 32%);
  color: var(--brass-bright);
}

.entry-step.is-current > span:first-child,
.entry-step.is-current > i {
  border-color: var(--brass-bright);
  color: var(--brass-bright);
  box-shadow: 0 0 14px rgb(201 184 110 / 16%);
}

.entry-step.is-locked {
  border-color: rgb(187 202 193 / 9%);
  background: rgb(4 12 11 / 55%);
  color: rgb(143 155 147 / 50%);
}

.entry-step.is-locked b,
.entry-step.is-locked strong,
.entry-step.is-locked > span:first-child,
.entry-step.is-locked > i {
  color: rgb(215 211 189 / 46%);
}

.entry-account {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.entry-account::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border: 1px solid currentcolor;
  transform: rotate(45deg);
}

.entry-account.is-connected {
  color: var(--serum-bright);
}

.entry-account b,
.entry-account strong {
  overflow: hidden;
  color: var(--paper-bright);
  font-family: var(--mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.identity-entry-actions button.entry-account {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 0 2px;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--brass-bright);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.identity-entry-actions button.entry-account:disabled {
  border-bottom-color: var(--line-cold);
  color: rgb(143 155 147 / 56%);
}

.identity-entry-actions {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.identity-entry-actions .button {
  min-height: 38px;
}

.identity-entry-card--streamer .identity-entry-actions .button-primary {
  min-width: 220px;
}

.identity-entry-card--player .identity-entry-actions .button-primary {
  width: 100%;
}

.identity-entry-actions > small,
.identity-entry-actions > span {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.identity-player-tasks {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.identity-player-tasks li {
  min-width: 0;
  padding: 6px 7px;
  border-top: 1px solid var(--line);
  background: rgb(4 14 12 / 48%);
}

.identity-player-tasks > span {
  position: relative;
  min-width: 0;
  padding: 8px 7px 7px 21px;
  border-top: 1px solid var(--line);
  background: rgb(4 14 12 / 48%);
  color: var(--paper);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
}

.identity-player-tasks > span::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 8px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
}

.identity-player-tasks span,
.identity-player-tasks b,
.identity-player-tasks small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.identity-player-tasks span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
}

.identity-player-tasks b {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 12px;
}

.identity-player-tasks small {
  color: var(--muted);
  font-size: 11px;
}

.identity-player-tasks > span {
  color: var(--paper);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.01em;
}

/* Screen 02: five-faction master-detail command deck */

.war-room-inner {
  grid-template-rows:
    clamp(44px, 6.2dvh, 62px)
    clamp(270px, 32dvh, 350px)
    clamp(300px, 35dvh, 380px);
  gap: clamp(9px, 1.1dvh, 13px);
  align-content: center;
}

.faction-command-showcase {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: clamp(232px, 19vw, 290px) minmax(0, 1fr);
  gap: clamp(9px, 0.85vw, 14px);
}

.faction-rank-rail {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 5px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    repeating-linear-gradient(180deg, transparent 0 51px, rgb(201 184 110 / 3%) 52px),
    rgb(4 15 13 / 96%);
  list-style: none;
}

.faction-rank-rail > li {
  min-width: 0;
  min-height: 0;
}

.faction-rail-item {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  grid-template-columns: 31px minmax(68px, 0.85fr) minmax(92px, 1.15fr) 8px;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  padding: 4px 7px;
  border: 1px solid var(--line-cold);
  border-radius: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--faction-accent, var(--serum)) 6%, transparent), transparent 72%),
    rgb(7 22 18 / 78%);
  color: var(--paper);
  text-align: left;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    opacity 200ms ease,
    transform 200ms ease;
}

.faction-rail-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--faction-accent, var(--brass)), transparent);
  opacity: 0;
}

.faction-rail-item:hover,
.faction-rail-item:focus-visible,
.faction-rail-item[aria-pressed="true"],
.faction-rail-item.is-active {
  border-color: color-mix(in srgb, var(--faction-accent, var(--brass)) 70%, var(--paper));
  background-color: rgb(16 38 32 / 92%);
  transform: translateX(2px);
}

.faction-rail-item[aria-pressed="true"]::after,
.faction-rail-item.is-active::after {
  opacity: 0.9;
}

.rail-rank {
  color: var(--brass-bright);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.rail-rank small,
.rail-rank b {
  display: block;
}

.rail-rank small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.rail-rank b {
  color: var(--brass-bright);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.15;
}

.rail-identity,
.rail-metrics {
  min-width: 0;
}

.rail-identity span,
.rail-identity b,
.rail-identity strong,
.rail-identity small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-identity span,
.rail-identity small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.15;
}

.rail-identity b,
.rail-identity strong {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 13px;
  line-height: 1.15;
}

.faction-rail-item > .rail-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  padding-left: 6px;
  border-left: 1px solid var(--line-cold);
}

.rail-metrics > div {
  min-width: 0;
  padding-left: 5px;
  border-left: 1px solid var(--line-cold);
}

.rail-metrics span,
.rail-metrics dt,
.rail-metrics b,
.rail-metrics dd {
  display: block;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-metrics span,
.rail-metrics dt {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.05;
}

.rail-metrics b,
.rail-metrics dd {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.faction-rail-item > .rail-metrics b,
.faction-rail-item > .rail-metrics small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faction-rail-item > .rail-metrics b {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.15;
}

.faction-rail-item > .rail-metrics small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.1;
}

.rail-state {
  overflow: hidden;
  color: var(--muted);
  font-size: 0;
  text-overflow: clip;
  white-space: nowrap;
}

.rail-state::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid currentcolor;
  transform: rotate(45deg);
}

.faction-rail-item[aria-selected="true"] .rail-state,
.faction-rail-item.is-active .rail-state {
  color: var(--serum-bright);
}

.faction-rail-item[aria-selected="true"] .rail-state::before,
.faction-rail-item.is-active .rail-state::before {
  background: currentcolor;
  box-shadow: 0 0 10px rgb(183 214 107 / 38%);
}

.faction-poster {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 36% 48%, color-mix(in srgb, var(--faction-accent, var(--serum)) 12%, transparent), transparent 34%),
    #071713;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
  animation: faction-poster-enter 240ms ease both;
}

.faction-poster::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgb(215 211 189 / 5%);
}

.poster-backdrop,
.poster-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.poster-backdrop {
  z-index: 0;
  width: 100%;
  height: 100%;
  background-image: var(--poster-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.55) contrast(1.12) brightness(0.62);
}

.poster-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(4 12 11 / 24%) 0 44%, rgb(4 12 11 / 76%) 67%, rgb(4 12 11 / 96%) 100%),
    linear-gradient(180deg, rgb(4 12 11 / 38%), transparent 32%, rgb(4 12 11 / 86%) 100%),
    repeating-linear-gradient(90deg, transparent 0 107px, rgb(215 211 189 / 2%) 108px);
}

.poster-identity {
  position: absolute;
  z-index: 7;
  top: 14px;
  left: 18px;
  max-width: 56%;
  text-shadow: 0 2px 12px rgb(0 0 0 / 86%);
}

.poster-identity span,
.poster-identity small {
  display: block;
  color: var(--brass-bright);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
}

.poster-identity h3,
.poster-identity strong {
  display: block;
  overflow: hidden;
  margin: 1px 0 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(25px, 2.15vw, 38px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-identity p {
  margin: 4px 0 0;
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
}

.faction-poster-squad {
  position: absolute;
  z-index: 3;
  right: 34%;
  bottom: 0;
  left: 0;
  display: grid;
  height: 91%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  padding: 0 12px 0 8px;
}

.poster-member {
  position: relative;
  display: flex;
  min-width: 0;
  height: 90%;
  align-items: flex-end;
  justify-content: center;
  margin: 0 -7%;
  opacity: 0;
  transform: translateY(11px);
  animation: poster-member-enter 260ms ease forwards;
  animation-delay: calc(45ms + var(--member-index, 0) * 34ms);
}

.poster-member:nth-child(2) {
  z-index: 2;
  height: 99%;
}

.poster-member img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.65) brightness(0.82) contrast(1.08) drop-shadow(0 10px 12px rgb(0 0 0 / 64%));
}

.poster-member-label {
  position: absolute;
  z-index: 3;
  right: 6px;
  bottom: 10px;
  left: 6px;
  min-width: 0;
  padding: 4px 6px;
  border-left: 2px solid var(--faction-accent, var(--brass));
  background: rgb(4 13 11 / 82%);
  text-align: left;
}

.poster-member-label span,
.poster-member-label small,
.poster-member-label b,
.poster-member-label strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-member-label span,
.poster-member-label small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
}

.poster-member-label b,
.poster-member-label strong {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 13px;
  line-height: 1.15;
}

.poster-intel {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  width: 34%;
  min-width: 300px;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px 15px 13px;
  border-left: 1px solid var(--line-strong);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--faction-accent, var(--serum)) 8%, transparent), transparent 42%),
    rgb(4 15 13 / 91%);
  backdrop-filter: blur(5px);
}

.poster-intel > header,
.poster-intel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.poster-intel > header span,
.poster-intel-head span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.poster-intel > header strong,
.poster-intel-head strong {
  display: block;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 16px;
}

.poster-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  border-block: 1px solid var(--line-cold);
}

.poster-stats > div {
  min-width: 0;
  padding: 7px 8px;
  border-right: 1px solid var(--line-cold);
}

.poster-stats > div:last-child {
  border-right: 0;
}

.poster-stats dt,
.poster-stats dd,
.poster-stats span,
.poster-stats strong {
  display: block;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-stats dt,
.poster-stats span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.poster-stats dd,
.poster-stats strong {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.poster-reward {
  position: relative;
  display: grid;
  min-height: 0;
  align-content: center;
  gap: 3px;
  padding: 8px 10px 8px 48px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 22px 50%, rgb(227 210 138 / 15%), transparent 25px),
    rgb(14 31 26 / 62%);
}

.poster-reward::before {
  content: "\2726";
  position: absolute;
  top: 50%;
  left: 17px;
  color: var(--brass-bright);
  font-size: 21px;
  transform: translateY(-50%);
}

.poster-reward span,
.poster-reward small {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
}

.poster-reward b,
.poster-reward strong {
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.2;
}

.poster-reward p {
  display: -webkit-box;
  margin: 1px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.poster-enrollment {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.poster-enrollment .button {
  width: 100%;
  min-height: 37px;
  padding-inline: 10px;
  font-size: 12px;
}

.poster-enrollment > small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.poster-status {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.poster-status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border: 1px solid currentcolor;
  transform: rotate(45deg);
}

.poster-status.is-ready,
.poster-status.is-joined {
  color: var(--serum-bright);
}

.war-room-boards {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.85fr);
  gap: clamp(9px, 0.85vw, 14px);
}

.faction-board-panel,
.personal-board-panel {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(120deg, rgb(130 168 68 / 4%), transparent 38%),
    rgb(5 18 15 / 96%);
}

.personal-board-panel {
  grid-template-rows: auto minmax(0, 1fr) auto;
  background:
    linear-gradient(145deg, rgb(201 184 110 / 6%), transparent 45%),
    rgb(5 18 15 / 96%);
}

.compact-board-head {
  display: flex;
  min-width: 0;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 11px;
  border-bottom: 1px solid var(--line);
  background: rgb(15 35 30 / 76%);
}

.compact-board-head > div {
  min-width: 0;
}

.compact-board-head span,
.compact-board-head small {
  display: block;
  overflow: hidden;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-board-head h3,
.compact-board-head strong {
  display: block;
  overflow: hidden;
  margin: 1px 0 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-board-head p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-board-head .ranking-cycle,
.compact-board-head > nav {
  flex: 0 0 auto;
}

.compact-board-head .ranking-cycle button,
.compact-board-head > nav button {
  min-width: 58px;
  min-height: 31px;
  padding-inline: 9px;
}

.war-room-boards .streamer-ranking-wrap {
  min-height: 0;
}

.war-room-boards .streamer-ranking-table thead {
  height: 25px;
}

.war-room-boards .streamer-ranking-table th,
.war-room-boards .streamer-ranking-table td {
  padding: 2px 11px;
  font-size: 11px;
}

.war-room-boards .streamer-ranking-table tbody tr,
.war-room-boards .streamer-ranking-table tfoot tr {
  height: clamp(31px, 3.55dvh, 38px);
}

.war-room-boards .streamer-ranking-table td > strong,
.war-room-boards .streamer-ranking-table .table-creator b {
  font-size: 13px;
}

.war-room-boards .streamer-ranking-table .table-creator {
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 8px;
}

.war-room-boards .streamer-ranking-table .table-creator img {
  width: 27px;
  height: 27px;
}

.war-room-boards .streamer-ranking-table .table-creator small {
  font-size: 11px;
}

.ranking-team-bar--compact {
  min-height: 38px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 4px 10px;
}

.ranking-team-bar--compact > div:first-child {
  min-width: 0;
}

.ranking-team-bar--compact > div:first-child > span,
.ranking-team-bar--compact > div:first-child > small {
  display: inline;
  font-size: 11px;
}

.ranking-team-bar--compact h3 {
  overflow: hidden;
  max-width: 300px;
  font-size: 16px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-team-bar--compact .ranking-cycle button {
  min-height: 29px;
}

.global-top-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.global-top-table thead {
  height: 25px;
  background: rgb(4 14 12 / 88%);
}

.global-top-table th,
.global-top-table td {
  padding: 2px 9px;
  border-bottom: 1px solid var(--line-cold);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.15;
  text-align: left;
}

.global-top-table th:first-child,
.global-top-table td:first-child {
  width: 48px;
  text-align: center;
}

.global-top-table th:last-child,
.global-top-table td:last-child {
  width: 112px;
  text-align: right;
}

.global-top-table tbody tr {
  height: clamp(33px, 3.75dvh, 41px);
  transition: background-color 160ms ease;
}

.global-top-table tbody tr:hover {
  background: rgb(130 168 68 / 6%);
}

.global-top-table td:first-child {
  color: var(--brass-bright);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}

.global-top-table td:last-child,
.global-top-table td:last-child strong {
  color: var(--serum-bright);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}

.global-top-table .table-creator {
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 8px;
}

.global-top-table .table-creator img {
  width: 29px;
  height: 29px;
}

.global-top-table .table-creator b {
  font-size: 13px;
}

.global-top-table .table-creator small {
  font-size: 11px;
}

.personal-board-panel .top-reward-note {
  min-height: 42px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  margin: 0;
  border-width: 1px 0 0;
}

.personal-board-panel .top-reward-note span,
.personal-board-panel .top-reward-note small {
  font-size: 11px;
}

.personal-board-panel .top-reward-note strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes faction-poster-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes poster-member-enter {
  from { opacity: 0; transform: translateY(11px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1500px) {
  .identity-entry-card {
    min-height: 154px;
    padding: 12px 13px 11px;
  }

  .identity-entry-head h2,
  .identity-entry-head h3,
  .identity-entry-head strong {
    font-size: 19px;
  }

  .entry-step {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0 5px;
    padding-inline: 5px;
  }

  .entry-step > span:first-child,
  .entry-step > i {
    width: 24px;
    height: 24px;
  }

  .faction-command-showcase {
    grid-template-columns: clamp(286px, 21.5vw, 304px) minmax(0, 1fr);
  }

  .poster-intel {
    width: 35%;
    min-width: 292px;
  }

  .faction-poster-squad {
    right: 35%;
  }

  .poster-stats > div {
    padding-inline: 5px;
  }
}

@media (max-height: 820px) {
  .hero-screen:has(.identity-entry-grid) .hero-media,
  .hero-screen:has(.identity-entry-grid) .hero-shade {
    height: max(545px, 59dvh);
  }

  .hero-screen:has(.identity-entry-grid) .hero-kv {
    min-height: max(485px, calc(59dvh - var(--topbar-height)));
    padding-top: 140px;
    padding-bottom: 20px;
  }

  .hero-screen:has(.identity-entry-grid) .mission-brief {
    margin-top: 24px;
    padding: 18px 24px 17px;
  }

  .hero-screen:has(.identity-entry-grid) .mission-heading {
    padding-bottom: 9px;
  }

  .hero-screen:has(.identity-entry-grid) .serum-tube {
    height: 72px;
    margin-top: 12px;
  }

  .hero-screen:has(.identity-entry-grid) .tube-cap {
    height: 62px;
  }

  .hero-screen:has(.identity-entry-grid) .tube-glass,
  .hero-screen:has(.identity-entry-grid) .tube-end {
    height: 54px;
  }

  .hero-screen:has(.identity-entry-grid) .phase-track {
    margin-top: 3px;
    margin-bottom: 10px;
  }

  .hero-screen:has(.identity-entry-grid) .phase-track li {
    min-height: 46px;
    padding-block: 5px;
  }

  .identity-entry-grid {
    margin-top: 8px;
  }

  .identity-entry-card {
    min-height: 145px;
    gap: 7px;
    padding-block: 10px;
  }

  .entry-step {
    min-height: 45px;
  }

  .war-room-head .section-label {
    margin-bottom: 2px;
  }

  .war-room-head h2 {
    font-size: 30px;
  }

  .war-room-head p:not(.section-label) {
    overflow: hidden;
    max-width: 620px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .poster-intel {
    gap: 5px;
    padding-block: 10px;
  }

  .poster-reward {
    padding-block: 5px;
  }

  .compact-board-head {
    min-height: 42px;
    padding-block: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faction-poster,
  .poster-member,
  .faction-rail-item,
  .entry-step,
  .identity-entry-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Final specificity pass for the one-screen desktop hero. */
.hero-screen:has(.identity-entry-grid) {
  height: 100dvh;
  min-height: 720px;
  padding-bottom: 0;
}

.hero-screen:has(.identity-entry-grid) .hero-media,
.hero-screen:has(.identity-entry-grid) .hero-shade {
  height: 100%;
}

.hero-screen:has(.identity-entry-grid) .hero-composition {
  display: grid;
  height: 100%;
  grid-template-rows: minmax(300px, 48%) minmax(0, 52%);
  padding-top: var(--topbar-height);
}

.hero-screen:has(.identity-entry-grid) .hero-kv {
  min-height: 0;
  justify-content: end;
  padding: clamp(78px, 9dvh, 112px) 12% clamp(12px, 1.7dvh, 22px);
}

.hero-screen:has(.identity-entry-grid) .mission-brief {
  width: min(var(--content-width), calc(100% - 64px));
  height: calc(100% - 12px);
  margin: 12px auto 0;
  padding: 10px 18px 10px;
}

.hero-screen:has(.identity-entry-grid) .serum-tube {
  height: 52px;
  margin-top: 6px;
}

.hero-screen:has(.identity-entry-grid) .tube-cap {
  height: 48px;
}

.hero-screen:has(.identity-entry-grid) .tube-glass,
.hero-screen:has(.identity-entry-grid) .tube-end {
  height: 42px;
}

.hero-screen:has(.identity-entry-grid) .identity-entry-grid {
  height: calc(100% - 91px);
  margin-top: 5px;
}

.hero-screen:has(.identity-entry-grid) .identity-entry-card {
  min-height: 0;
  gap: 5px;
  padding-block: 8px;
}

@media (max-height: 820px) {
  .hero-screen:has(.identity-entry-grid) .hero-media,
  .hero-screen:has(.identity-entry-grid) .hero-shade {
    height: 100%;
  }

  .hero-screen:has(.identity-entry-grid) .hero-kv {
    min-height: 0;
    padding-top: 70px;
    padding-bottom: 9px;
  }

  .hero-screen:has(.identity-entry-grid) .mission-brief {
    margin-top: 8px;
    padding: 7px 15px 8px;
  }

  .hero-screen:has(.identity-entry-grid) .serum-tube {
    height: 46px;
    margin-top: 4px;
  }

  .hero-screen:has(.identity-entry-grid) .tube-cap {
    height: 42px;
  }

  .hero-screen:has(.identity-entry-grid) .tube-glass,
  .hero-screen:has(.identity-entry-grid) .tube-end {
    height: 37px;
  }

  .hero-screen:has(.identity-entry-grid) .identity-entry-grid {
    height: calc(100% - 81px);
    margin-top: 3px;
  }

  .hero-screen:has(.identity-entry-grid) .identity-entry-card {
    min-height: 0;
    gap: 3px;
    padding-block: 6px;
  }
}

/* Keep the complete streamer/player intake inside the first desktop viewport. */
.hero-screen:has(.identity-entry-grid) .mission-brief {
  display: grid;
  grid-template-rows: auto 52px minmax(0, 1fr);
  gap: 4px;
  height: calc(100% - 16px);
  margin-top: 8px;
}

.hero-screen:has(.identity-entry-grid) .serum-tube,
.hero-screen:has(.identity-entry-grid) .identity-entry-grid {
  align-self: stretch;
  margin-top: 0;
}

.hero-screen:has(.identity-entry-grid) .identity-entry-grid {
  height: auto;
  min-height: 0;
}

@media (max-height: 820px) {
  .hero-screen:has(.identity-entry-grid) .mission-brief {
    grid-template-rows: auto 46px minmax(0, 1fr);
    gap: 3px;
    height: calc(100% - 12px);
    margin-top: 6px;
  }
}

/* Screen 02 v0.12: integrated five-faction biochemical turntable */
.war-room {
  height: auto;
  min-height: 1320px;
  overflow: visible;
  padding: calc(var(--topbar-height) + 18px) 0 52px;
}

.war-room-inner {
  display: grid;
  height: auto;
  grid-template-rows: auto clamp(760px, 50vw, 860px) auto clamp(440px, 36vw, 510px);
  gap: clamp(14px, 1.35vw, 24px);
  align-content: start;
}

.war-room-head {
  max-width: 720px;
  padding: 0;
  border: 0;
}

.war-room-head h2 {
  font-size: clamp(40px, 3.4vw, 58px);
}

.war-room-head p:not(.section-label) {
  font-size: 14px;
}

.faction-reactor-stage {
  --reactor-size: clamp(700px, 51vw, 820px);
  --reactor-radius: calc(var(--reactor-size) * 0.37);
  --reactor-sector-width: clamp(236px, 16vw, 260px);
  --reactor-hub-x: 62%;
  --reactor-hub-y: 52%;
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgb(201 184 110 / 32%);
  background:
    linear-gradient(90deg, rgb(2 7 6 / 96%), transparent 24%, transparent 84%, rgb(2 7 6 / 94%)),
    radial-gradient(circle at var(--reactor-hub-x) var(--reactor-hub-y), rgb(118 146 67 / 16%), transparent 36%),
    #030807;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.faction-reactor-shell {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--reactor-shell-image) center / cover no-repeat;
  filter: brightness(0.28) saturate(0.5) contrast(1.16);
  opacity: 0.7;
  pointer-events: none;
}

.faction-reactor-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(2 8 7 / 92%) 0 20%, transparent 43% 86%, rgb(2 8 7 / 68%)),
    radial-gradient(circle at var(--reactor-hub-x) var(--reactor-hub-y), transparent 0 35%, rgb(2 7 6 / 28%) 72%);
}

.faction-reactor-stage::before {
  content: "CONTAINMENT COMMAND   /   LIVE FACTION ARRAY";
  position: absolute;
  z-index: 12;
  top: 18px;
  right: 22px;
  color: var(--brass-bright);
  font: 800 11px/1 var(--mono);
  letter-spacing: 0.14em;
  pointer-events: none;
}

.faction-reactor-stage::after {
  content: "点击任意阵营，将其转到顶部关注位";
  position: absolute;
  z-index: 12;
  top: 38px;
  right: 22px;
  color: var(--muted);
  font-size: 11px;
  pointer-events: none;
}

.faction-reactor-plaque {
  position: absolute;
  z-index: 10;
  top: 84px;
  left: clamp(22px, 2.4vw, 38px);
  width: clamp(205px, 16vw, 250px);
  color: var(--paper);
  pointer-events: none;
}

.faction-reactor-plaque::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -32px -28px -92px -38px;
  background: linear-gradient(90deg, rgb(2 8 7 / 96%) 0 72%, transparent 100%);
}

.faction-reactor-plaque span,
.faction-reactor-plaque strong,
.faction-reactor-plaque b,
.faction-reactor-plaque p,
.faction-reactor-plaque i {
  display: block;
}

.faction-reactor-plaque span {
  color: var(--brass);
  font: 800 11px/1 var(--mono);
  letter-spacing: 0.14em;
}

.faction-reactor-plaque strong {
  margin-top: 12px;
  color: var(--paper-bright);
  font: 900 clamp(48px, 4vw, 64px)/0.79 var(--display);
  letter-spacing: -0.035em;
}

.faction-reactor-plaque b {
  margin-top: 12px;
  color: var(--brass-bright);
  font: 900 21px/1 var(--display);
  letter-spacing: 0.08em;
}

.faction-reactor-plaque p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.faction-reactor-plaque i {
  margin-top: 28px;
  padding-left: 28px;
  color: var(--serum-bright);
  font: 800 10px/1.5 var(--mono);
  font-style: normal;
  letter-spacing: 0.12em;
}

.faction-reactor-plaque i::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  margin: 4px 0 0 -28px;
  border: 2px solid var(--serum);
  transform: rotate(45deg);
}

.faction-reactor-wheel {
  position: absolute;
  z-index: 3;
  top: var(--reactor-hub-y);
  left: var(--reactor-hub-x);
  width: var(--reactor-size);
  height: var(--reactor-size);
  transform: translate(-50%, -50%) rotate(var(--wheel-rotation));
  transform-origin: 50% 50%;
  transition: transform 680ms cubic-bezier(0.22, 0.78, 0.16, 1);
}

.faction-reactor-rotor {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.82) saturate(0.82) contrast(1.12) drop-shadow(0 24px 42px rgb(0 0 0 / 68%));
  pointer-events: none;
  user-select: none;
}

.faction-reactor-orbit {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.reactor-sector-anchor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--slot-angle));
}

.reactor-sector-offset {
  width: 0;
  height: 0;
  transform: translateY(calc(var(--reactor-radius) * -1));
}

.reactor-sector-upright {
  width: 0;
  height: 0;
  transform-origin: 0 0;
  transform: rotate(var(--wheel-counter-rotation));
  transition: transform 680ms cubic-bezier(0.22, 0.78, 0.16, 1);
}

.faction-reactor-sector {
  position: relative;
  width: var(--reactor-sector-width);
  min-height: 174px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%);
  transition: filter 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
}

.faction-reactor-sector.is-active {
  z-index: 8;
  box-shadow: none;
  filter: brightness(1.14) drop-shadow(0 0 12px rgb(201 184 110 / 14%));
}

.faction-reactor-sector.is-joined {
  box-shadow: none;
}

.reactor-sector-select {
  width: 100%;
  min-height: 124px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 78px;
  grid-template-rows: auto auto;
  gap: 6px 8px;
  padding: 10px 11px 8px;
  border: 0;
  border-bottom: 1px solid rgb(201 184 110 / 24%);
  background: transparent;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
}

.reactor-sector-select:hover,
.reactor-sector-select:focus-visible {
  background: linear-gradient(120deg, rgb(201 184 110 / 13%), transparent 64%);
}

.reactor-sector-rank {
  grid-row: 1 / 3;
  color: var(--brass-bright);
  font: 900 25px/0.9 var(--display);
  letter-spacing: -0.04em;
}

.reactor-sector-rank small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.1em;
}

.reactor-sector-avatar {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: end;
  width: 78px;
  height: 112px;
  border: 0;
  background: linear-gradient(180deg, transparent, rgb(7 16 14 / 56%));
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.68) brightness(0.9) contrast(1.08) drop-shadow(0 10px 9px rgb(0 0 0 / 45%));
}

.reactor-sector-identity {
  grid-column: 2;
}

.reactor-sector-identity,
.reactor-sector-identity b,
.reactor-sector-identity small,
.reactor-sector-identity em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reactor-sector-identity b {
  color: var(--paper-bright);
  overflow: visible;
  font: 900 14px/1.02 var(--display);
  white-space: normal;
  overflow-wrap: anywhere;
}

.reactor-sector-identity small {
  margin-top: 4px;
  color: var(--paper);
  font-size: 10px;
}

.reactor-sector-identity em {
  margin-top: 5px;
  color: var(--brass);
  font: 700 9px/1 var(--mono);
  font-style: normal;
}

.reactor-sector-metrics {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  line-height: 1;
}

.reactor-sector-metrics > span {
  min-width: 0;
  padding-top: 6px;
  border-top: 1px solid var(--line-cold);
}

.reactor-sector-metrics small,
.reactor-sector-metrics b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reactor-sector-metrics small {
  color: var(--muted);
  font-size: 9px;
}

.reactor-sector-metrics b {
  margin-top: 3px;
  color: var(--serum-bright);
  font: 800 13px/1 var(--mono);
}

.reactor-sector-action .button {
  width: calc(100% - 18px);
  min-height: 48px;
  margin: 0 9px 7px;
  border: 1px solid rgb(201 184 110 / 52%);
  background: rgb(9 19 16 / 78%);
  color: var(--paper-bright);
  font-size: 13px;
}

.faction-reactor-sector.is-active .reactor-sector-action .button {
  min-height: 56px;
  font-size: 15px;
}

.faction-reactor-sector.is-active .reactor-sector-action .button:not(:disabled) {
  background: var(--brass-bright);
  color: #11160f;
}

.reactor-core-model {
  position: absolute;
  z-index: 9;
  top: var(--reactor-hub-y);
  left: var(--reactor-hub-x);
  width: clamp(140px, 10vw, 174px);
  height: clamp(300px, 26vw, 360px);
  margin: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.reactor-core-model::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -34% 9%;
  border: 1px solid rgb(159 191 85 / 34%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(119 166 67 / 24%), transparent 67%);
  box-shadow: 0 0 74px rgb(116 168 67 / 17%);
}

.reactor-core-model > span {
  padding: 4px 8px;
  border: 1px solid rgb(201 184 110 / 38%);
  background: rgb(4 11 9 / 86%);
  color: var(--brass);
  font: 700 8px/1 var(--mono);
  letter-spacing: 0.12em;
}

.reactor-core-model img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: saturate(1.16) brightness(1.06) contrast(1.08) drop-shadow(0 20px 24px rgb(0 0 0 / 76%));
}

.reactor-core-model figcaption {
  width: 150%;
  padding: 7px 10px;
  border-top: 1px solid rgb(201 184 110 / 42%);
  background: rgb(4 11 9 / 86%);
  text-align: center;
}

.reactor-core-model figcaption b,
.reactor-core-model figcaption small {
  display: block;
}

.reactor-core-model figcaption b {
  color: var(--brass-bright);
  font: 900 13px/1.1 var(--display);
}

.reactor-core-model figcaption small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.boards-command-bar {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 10px 7px 14px;
  border: 1px solid var(--line-strong);
  background: rgb(7 22 18 / 92%);
}

.boards-command-bar > div {
  min-width: 0;
}

.boards-command-bar span,
.boards-command-bar b,
.boards-command-bar small {
  display: inline;
  margin-right: 10px;
}

.boards-command-bar span {
  color: var(--brass);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.1em;
}

.boards-command-bar b {
  color: var(--paper-bright);
  font: 900 20px/1 var(--display);
}

.boards-command-bar small {
  color: var(--muted);
  font-size: 11px;
}

.report-issue-button {
  min-width: 132px;
  min-height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgb(168 84 66 / 72%);
  background: rgb(168 84 66 / 8%);
  color: #d9b2a7;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.report-issue-button:hover,
.report-issue-button:focus-visible {
  background: rgb(168 84 66 / 20%);
  color: #f0d1c8;
}

.war-room-boards {
  grid-template-columns: minmax(0, 1.38fr) minmax(390px, 1fr);
  min-height: 440px;
}

.compact-board-head {
  min-height: 58px;
  padding-inline: 15px;
}

.compact-board-head h3,
.compact-board-head strong {
  font-size: 20px;
}

.war-room-boards .streamer-ranking-table tbody tr,
.war-room-boards .streamer-ranking-table tfoot tr {
  height: clamp(46px, 4.25dvh, 54px);
}

.war-room-boards .streamer-ranking-table th,
.war-room-boards .streamer-ranking-table td,
.global-top-table th,
.global-top-table td {
  font-size: 12px;
}

.war-room-boards .streamer-ranking-table .table-creator img {
  width: 36px;
  height: 36px;
}

.global-top-table tbody tr {
  height: clamp(48px, 4.5dvh, 56px);
}

.global-top-table .table-creator img {
  width: 38px;
  height: 38px;
}

.global-top-table .table-creator b,
.war-room-boards .streamer-ranking-table td > strong,
.war-room-boards .streamer-ranking-table .table-creator b {
  font-size: 14px;
}

@media (max-width: 1500px) {
  .faction-reactor-stage {
    --reactor-size: clamp(700px, 51vw, 740px);
    --reactor-radius: calc(var(--reactor-size) * 0.37);
    --reactor-sector-width: clamp(232px, 17.5vw, 248px);
  }

  .reactor-sector-select {
    grid-template-columns: 36px minmax(0, 1fr) 72px;
    padding-inline: 8px;
  }

  .reactor-sector-avatar {
    width: 72px;
    height: 108px;
  }

  .reactor-sector-identity b {
    font-size: 14px;
  }

  .reactor-sector-metrics b {
    font-size: 12px;
  }
}

@media (min-width: 1501px) {
  .faction-reactor-stage {
    --reactor-radius: 310px;
    --reactor-sector-width: 260px;
  }
}

@media (max-height: 820px) {
  .war-room {
    min-height: 1320px;
  }

  .war-room-inner {
    grid-template-rows: auto 760px auto 440px;
  }

  .faction-reactor-stage {
    --reactor-size: 700px;
    --reactor-radius: 258px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faction-reactor-wheel,
  .reactor-sector-upright,
  .faction-reactor-sector {
    transition-duration: 0.001ms !important;
  }
}
