@font-face {
  font-family: Orbitron;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../assets/orbitron-latin-400-normal-U6xZUhur.woff2) format("woff2");
}

@font-face {
  font-family: Orbitron;
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(../assets/orbitron-latin-700-normal-4jsRXGGJ.woff2) format("woff2");
}

@font-face {
  font-family: Orbitron;
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url(../assets/orbitron-latin-900-normal-DrIi7unX.woff2) format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2) format("woff2");
}

:root {
  --bg: #080808;
  --bg-rgb: 8, 8, 8;
  --surface: #0d0d0d;
  --surface-raised: #141414;
  --border-subtle: #2e2e2e;
  --border-mid: #3c3c3c;
  --border-strong: #525252;
  --text-body: #e8e8f0;
  --text-bright: #ffffff;
  --text-dim: #c8c8d4;
  --text-dim-rgb: 200, 200, 212;
  --text-muted: #b0b0bc;
  --text-faint: #909098;
  --accent: #00e5ff;
  --accent-rgb: 0, 229, 255;
  --accent-alt: #0066ff;
  --danger: #ff004d;
  --danger-rgb: 255, 0, 77;
  --warning: #ff8800;
  --warning-rgb: 255, 136, 0;
  --gold: #ffbe0b;
  --gold-rgb: 255, 190, 11;
  --success: #00ff41;
  --success-rgb: 0, 255, 65;
  --font-display: "Orbitron", "Orbitron-fallback", sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
  --radius: 0px;
  --radius-sm: 0px;
  --scanline-opacity: 0.08;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-mono);
  font-weight: 700;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, var(--scanline-opacity)) 2px,
    rgba(0, 0, 0, var(--scanline-opacity)) 4px
  );
}

/* Hide scrollbars on Stella shell (index / login header parity) */
html:has(body.stella-auth-body),
body.stella-auth-body,
body.stella-auth-body .stella-auth-frame,
body.stella-auth-body .legal-content,
body.stella-auth-body .auth-root,
body.stella-auth-body .modal-body,
body.stella-auth-body .dropdown-menu {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html:has(body.stella-auth-body)::-webkit-scrollbar,
body.stella-auth-body::-webkit-scrollbar,
body.stella-auth-body *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Account lobby — Babylon backdrop (starter / areahubbg parity) */
.stella-auth-body.has-areahub-bg {
  background: #020408;
}

.stella-auth-body.has-areahub-bg::before {
  display: none;
}

.stella-areahubbg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
  pointer-events: none;
  isolation: isolate;
}

.stella-areahubbg-scene--placeholder {
  background: #020408;
}

.stella-areahubbg-scene #areahub-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.stella-areahubbg-scene #areaHubCanvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}

.stella-auth-body.has-areahub-bg .stella-auth-frame {
  position: relative;
  z-index: 2;
}

.stella-auth-body.has-areahub-bg .legal-shell.account-shell {
  background: transparent;
}

.stella-auth-body.has-areahub-bg .legal-shell.settings-shell,
.stella-auth-body.has-areahub-bg .legal-shell.gdpr-shell {
  background: transparent;
}

.stella-auth-body.has-areahub-bg .account-shell .server-browser {
  background: rgba(8, 14, 18, 0.46);
}

.stella-auth-body.has-areahub-bg .account-shell .lobby-news-card {
  background: rgba(8, 14, 18, 0.46);
}

.stella-auth-body.has-areahub-bg .settings-shell .settings-browser,
.stella-auth-body.has-areahub-bg .gdpr-shell .gdpr-browser {
  background: linear-gradient(180deg, rgba(9, 18, 22, 0.88), rgba(8, 14, 18, 0.92));
}

.stella-auth-body.has-areahub-bg .stella-site-header,
.stella-auth-body.has-areahub-bg .stella-site-footer {
  background: rgba(6, 10, 14, 0.82);
}


h1 {
  font-family: var(--font-display);
}

button {
  font-family: inherit;
  border-radius: var(--radius);
}

button:focus-visible,
[role="button"]:focus-visible {
  outline: 1px solid rgba(var(--accent-rgb), 0.5);
  outline-offset: 2px;
}

a {
  color: inherit;
}

/* Visually hidden SEO heading (home login route) */
.stella-seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stella-auth-body.stella-home-index .stella-index-section {
  background: transparent;
}

/* Auth layout */
.auth-root {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  font-family: var(--font-mono);
  position: relative;
  z-index: 0;
}

/* Login: brand canvas | character art | form */
.auth-root--login-art {
  grid-template-columns: minmax(0, 1.05fr) minmax(200px, min(28vw, 320px)) minmax(0, 1fr);
}

.auth-root--login-art.is-register-tab,
.stella-auth-body[data-page="register"] .auth-root {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.auth-root--login-art.is-register-tab .auth-character-panel {
  display: none;
}

.auth-character-panel {
  display: none;
}

.auth-root--login-art .auth-character-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  position: relative;
  min-height: 0;
  background: rgba(var(--bg-rgb), 0.55);
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
}

.auth-character-showcase {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  position: relative;
  --showcase-inset-x: clamp(14px, 2.5vw, 22px);
  --showcase-inset-y: clamp(18px, 3vw, 28px);
}

.auth-character-showcase .info__heads {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  min-height: calc(3.75rem + var(--showcase-inset-y));
}

.auth-character-showcase .info__heads .info__panel {
  position: absolute;
  top: var(--showcase-inset-y);
  left: var(--showcase-inset-x);
  right: var(--showcase-inset-x);
  max-width: 16rem;
}

.auth-character-showcase .info__heads .info__panel--head.is-active {
  animation: authDoctrineHeadIn 0.32s ease;
}

@keyframes authDoctrineHeadIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-character-showcase__stage {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: clamp(10px, 2vh, 18px) clamp(6px, 1vw, 10px) 0;
}

.auth-character-showcase__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.78) 100%),
    url("../../styles/art/bg1.webp") center center / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 125% 112% at 44% 50%, #000 46%, transparent 100%);
  mask-image: radial-gradient(ellipse 125% 112% at 44% 50%, #000 46%, transparent 100%);
}

.auth-character-showcase__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--bg-rgb), 0.45) 0%, transparent 18%, transparent 82%, rgba(var(--bg-rgb), 0.65) 100%),
    linear-gradient(180deg, rgba(var(--bg-rgb), 0.55) 0%, transparent 16%, transparent 74%, var(--bg) 100%);
  z-index: 3;
}

.auth-character-showcase__art {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 240px);
  max-height: calc(100% - clamp(10px, 2vh, 18px));
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  transition: opacity 0.45s ease;
  z-index: 0;
}

.auth-character-showcase__art.is-active {
  opacity: 1;
  z-index: 2;
}

.auth-character-showcase .info {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  padding: clamp(10px, 1.5vw, 14px) var(--showcase-inset-x) var(--showcase-inset-y);
}

.auth-character-showcase .info__panels {
  position: relative;
  height: 9.25rem;
  min-height: 9.25rem;
}

.auth-character-showcase .info__panel {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-character-showcase .info__panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: authDoctrineIn 0.32s ease;
}

@keyframes authDoctrineIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.auth-character-showcase .info__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

.auth-character-showcase .info__title {
  margin: 0;
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  letter-spacing: 0.08em;
  line-height: 1.15;
  color: var(--text-bright);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.auth-character-showcase .info__lead {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.auth-character-showcase .info__traits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-character-showcase .info__traits li {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: rgba(var(--accent-rgb), 0.72);
}

.auth-character-showcase .info__traits li::before {
  content: ">";
  margin-right: 0.45rem;
  color: var(--doctrine-accent, var(--accent));
  opacity: 0.85;
}

.auth-character-showcase[data-active="duster"] .info__traits { --doctrine-accent: #ffb74d; }
.auth-character-showcase[data-active="scavenger"] .info__traits { --doctrine-accent: #ef5350; }
.auth-character-showcase[data-active="dreamer"] .info__traits { --doctrine-accent: #42a5f5; }

.auth-character-showcase .info__tabs {
  display: flex;
  gap: 0.35rem;
  margin-top: 1.35rem;
  padding-top: 0.45rem;
  border-top: 0;
}

.auth-character-showcase .info__tab {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.35rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.auth-character-showcase .info__tab:hover {
  color: var(--text-bright);
  border-color: var(--border-mid);
}

.auth-character-showcase .info__tab.is-active {
  color: var(--doctrine-accent, var(--accent));
  border-color: color-mix(in srgb, var(--doctrine-accent, var(--accent)) 45%, rgba(var(--accent-rgb), 0.35));
  background: color-mix(in srgb, var(--doctrine-accent, var(--accent)) 6%, transparent);
  box-shadow: none;
}

.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: var(--surface);
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
}

.brand-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--surface);
}

.brand-video,
.brand-video-ch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.brand-video {
  opacity: 0.42;
  filter: contrast(1.15) saturate(1.2) brightness(0.82);
  z-index: 0;
  transition: transform 0.05s linear, filter 0.05s linear;
}

.brand-video-ch {
  opacity: 0;
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.04s linear, transform 0.04s linear;
}

.brand-video-ch-r {
  filter: sepia(1) saturate(6) hue-rotate(285deg) brightness(1.1);
  transform: translateX(-5px);
}

.brand-video-ch-b {
  filter: sepia(1) saturate(6) hue-rotate(165deg) brightness(1.1);
  transform: translateX(5px);
}

.brand-video-wrap.is-glitching .brand-video {
  animation: video-glitch-skew 0.12s steps(2) infinite;
}

.brand-video-wrap.is-glitching .brand-video-ch-r {
  opacity: 0.28;
  transform: translateX(calc(-5px + var(--glitch-rx, 0px)));
}

.brand-video-wrap.is-glitching .brand-video-ch-b {
  opacity: 0.28;
  transform: translateX(calc(5px + var(--glitch-bx, 0px)));
}

.brand-video-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(8, 8, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 229, 255, 0.06) 0%, transparent 40%, rgba(255, 0, 77, 0.04) 100%);
}

.brand-scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.35;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.45) 2px,
    rgba(0, 0, 0, 0.45) 4px
  );
  animation: scanline-drift 8s linear infinite;
}

.brand-noise {
  position: absolute;
  inset: -50%;
  z-index: 4;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: noise-flicker 0.35s steps(4) infinite;
  mix-blend-mode: overlay;
}

.brand-glitch-flash {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: rgba(0, 229, 255, 0.08);
  mix-blend-mode: screen;
}

.brand-video-wrap.is-glitching .brand-glitch-flash {
  animation: glitch-flash 0.15s steps(2) infinite;
}

.brand-glitch-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background: rgba(0, 229, 255, 0.55);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.brand-video-wrap.is-glitching .brand-glitch-bar {
  opacity: 1;
}

.brand-glitch-bar-1 {
  top: var(--bar-1, 20%);
  transform: translateX(var(--bar-x1, 0));
  background: rgba(255, 0, 77, 0.45);
  box-shadow: 0 0 10px rgba(255, 0, 77, 0.5);
}

.brand-glitch-bar-2 {
  top: var(--bar-2, 50%);
  height: 4px;
  transform: translateX(var(--bar-x2, 0));
}

.brand-glitch-bar-3 {
  top: var(--bar-3, 75%);
  transform: translateX(var(--bar-x3, 0));
  background: rgba(0, 229, 255, 0.35);
}

@keyframes video-glitch-skew {
  0% {
    transform: translate(0, 0) skewX(0deg);
    clip-path: inset(0 0 0 0);
  }
  25% {
    transform: translate(calc(var(--glitch-x, 0) * 1px), calc(var(--glitch-y, 0) * 1px)) skewX(var(--glitch-skew, 0deg));
    clip-path: inset(var(--clip-top, 0%) 0 var(--clip-bot, 0%) 0);
  }
  50% {
    transform: translate(calc(var(--glitch-x, 0) * -0.5px), 0) skewX(calc(var(--glitch-skew, 0deg) * -1));
    clip-path: inset(var(--clip-bot, 0%) 0 var(--clip-top, 0%) 0);
  }
  75% {
    transform: translate(calc(var(--glitch-x, 0) * 0.3px), calc(var(--glitch-y, 0) * -0.5px)) skewX(0deg);
    clip-path: inset(0 0 0 0);
  }
  100% {
    transform: translate(0, 0) skewX(0deg);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes scanline-drift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(4px);
  }
}

@keyframes noise-flicker {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2%, 1%);
  }
  50% {
    transform: translate(1%, -2%);
  }
  75% {
    transform: translate(-1%, 2%);
  }
  100% {
    transform: translate(2%, -1%);
  }
}

@keyframes glitch-flash {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.35;
  }
}

.grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.brand-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 360px;
}

/* Mobile app promo — index parity; desktop brand column only (panel hidden ≤768px) */
.stella-mobile-promo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.16);
  text-align: center;
}

.stella-mobile-promo__screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.stella-mobile-promo__screen {
  aspect-ratio: 9 / 19;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(150, 240, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.stella-mobile-promo__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.stella-mobile-promo__lead {
  margin: 0 0 0.7rem;
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(231, 245, 250, 0.84);
  letter-spacing: 0.02em;
}

.stella-mobile-promo__stores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stella-mobile-promo__store {
  display: inline-flex;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.stella-mobile-promo__store:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.stella-mobile-promo__store img {
  height: 34px;
  width: auto;
  display: block;
}

@media (min-width: 769px) and (max-height: 820px) {
  .stella-mobile-promo {
    margin-top: 1rem;
    padding-top: 0.85rem;
  }

  .stella-mobile-promo__screens {
    gap: 0.4rem;
    margin-bottom: 0.65rem;
  }

  .stella-mobile-promo__lead {
    font-size: 0.66rem;
    margin-bottom: 0.55rem;
  }

  .stella-mobile-promo__store img {
    height: 30px;
  }
}

@media (max-width: 1100px) {
  .auth-character-showcase .info__heads {
    min-height: calc(3.35rem + var(--showcase-inset-y));
  }

  .auth-character-showcase .info__panels {
    height: 8.75rem;
    min-height: 8.75rem;
  }

  .auth-character-showcase .info__tab {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }
}

.logo {
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: block;
  margin-bottom: 20px;
  color: var(--text-bright);
}

.brand-logo-mark-frame {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(150, 240, 255, 0.08);
  line-height: 0;
}

.brand-logo-mark-frame--mobile {
  display: none;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.brand-logo-mark {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0.95;
}

.tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  line-height: 1.8;
  text-transform: uppercase;
  margin: 0;
}

.corner-tl,
.corner-tr,
.corner-bl,
.corner-br {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(var(--accent-rgb), 0.3);
  border-style: solid;
  z-index: 2;
}

.corner-tl {
  top: 24px;
  left: 24px;
  border-width: 1px 0 0 1px;
}

.corner-tr {
  top: 24px;
  right: 24px;
  border-width: 1px 1px 0 0;
}

.corner-bl {
  bottom: 24px;
  left: 24px;
  border-width: 0 0 1px 1px;
}

.corner-br {
  bottom: 24px;
  right: 24px;
  border-width: 0 1px 1px 0;
}

.form-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(24px, 5vw, 60px);
}

.auth-root--login-art .form-panel,
.stella-auth-body[data-page="register"] .form-panel {
  background: rgba(var(--bg-rgb), 0.82);
  overflow: hidden;
}

.auth-root--login-art .form-panel::before,
.stella-auth-body[data-page="register"] .form-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.62) 0%, rgba(8, 8, 8, 0.9) 100%),
    url("../../styles/art/logincard.webp") center center / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 125% 112% at 50% 50%, #000 46%, transparent 100%);
  mask-image: radial-gradient(ellipse 125% 112% at 50% 50%, #000 46%, transparent 100%);
}

.auth-root--login-art .form-panel::before {
  -webkit-mask-image: radial-gradient(ellipse 125% 112% at 56% 50%, #000 46%, transparent 100%);
  mask-image: radial-gradient(ellipse 125% 112% at 56% 50%, #000 46%, transparent 100%);
}

.auth-root--login-art .form-panel::after,
.stella-auth-body[data-page="register"] .form-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(var(--bg-rgb), 0.55) 0%,
    transparent 12%,
    transparent 88%,
    rgba(var(--bg-rgb), 0.55) 100%
  );
}

.auth-root--login-art .form-panel::after {
  background:
    linear-gradient(90deg, rgba(var(--bg-rgb), 0.88) 0%, transparent 20%),
    linear-gradient(
      180deg,
      rgba(var(--bg-rgb), 0.55) 0%,
      transparent 12%,
      transparent 88%,
      rgba(var(--bg-rgb), 0.55) 100%
    );
}

.auth-root--login-art .form-panel > *,
.stella-auth-body[data-page="register"] .form-panel > * {
  position: relative;
  z-index: 1;
}

.form-inner {
  width: 100%;
  max-width: 380px;
}

.mobile-logo {
  display: none;
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.08em;
  text-decoration: none;
  margin-bottom: 32px;
  text-align: center;
  color: var(--text-bright);
}

.form-subtitle {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.form-title {
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0.08em;
  color: var(--text-bright);
  margin: 0 0 32px;
}

/* Register form */
.form-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.error-banner {
  background: rgba(var(--danger-rgb), 0.08);
  border: 1px solid rgba(var(--danger-rgb), 0.3);
  color: var(--danger);
  font-size: 0.78rem;
  padding: 8px 12px;
  letter-spacing: 0.05em;
  display: none;
}

.error-banner.visible {
  display: block;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.field-input {
  background: var(--bg);
  border: 1px solid var(--border-mid);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 10px 12px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.field-input::placeholder {
  color: rgba(var(--accent-rgb), 0.2);
}

.field-input:focus {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.1);
}

.field-input:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.strength-row {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.strength-row.visible {
  display: flex;
}

.strength-track {
  flex: 1;
  height: 3px;
  background: var(--border-subtle);
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0%;
  transition: width 0.25s, background 0.25s;
}

.strength-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  min-width: 4rem;
  text-align: right;
}

.mismatch-warn {
  display: none;
  font-size: 0.68rem;
  color: var(--danger);
  letter-spacing: 0.1em;
}

.mismatch-warn.visible {
  display: block;
}

.tos-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.tos-label a {
  color: rgba(var(--accent-rgb), 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.tos-label a:hover {
  color: var(--accent);
}

.tos-check {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  min-width: 14px;
  border: 1px solid var(--border-mid);
  background: transparent;
  cursor: pointer;
  margin-top: 1px;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  flex-shrink: 0;
}

.tos-check:checked {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: var(--accent);
}

.tos-check:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--accent);
  line-height: 14px;
  text-align: center;
  width: 100%;
}

.tos-check:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: transparent;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.submit-btn:hover:not(:disabled) {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.55);
}

.submit-btn:disabled,
.submit-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.submit-btn--danger {
  border-color: rgba(var(--danger-rgb), 0.4);
  color: var(--danger);
}

.submit-btn--danger:hover:not(:disabled) {
  background: rgba(var(--danger-rgb), 0.06);
  border-color: rgba(var(--danger-rgb), 0.55);
}

.oauth-divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.35rem 0 0.95rem;
}

.oauth-divider__beam {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--accent-rgb), 0.06) 22%,
    rgba(var(--accent-rgb), 0.26) 50%,
    rgba(var(--accent-rgb), 0.06) 78%,
    transparent 100%
  );
  position: relative;
}

.oauth-divider__beam::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 3px;
  height: 3px;
  background: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.35);
}

.oauth-divider__beam:first-child::after {
  right: 0;
}

.oauth-divider__beam:last-child::after {
  left: 0;
}

.oauth-divider__hub {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.045) 0%, transparent 100%);
  position: relative;
  flex-shrink: 0;
}

.oauth-divider__hub::before,
.oauth-divider__hub::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-color: rgba(var(--accent-rgb), 0.45);
  border-style: solid;
  pointer-events: none;
}

.oauth-divider__hub::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.oauth-divider__hub::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.oauth-divider__tick {
  width: 1px;
  height: 10px;
  background: rgba(var(--accent-rgb), 0.32);
  flex-shrink: 0;
}

.oauth-divider__label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.82;
  line-height: 1;
  white-space: nowrap;
}

.oauth-divider__label::before {
  content: ">";
  margin-right: 0.35em;
  opacity: 0.6;
}

.oauth-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.oauth-img-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
}

.oauth-icon-img {
  display: block;
  height: 44px;
  width: 44px;
}

.form-links {
  text-align: center;
}

.form-link {
  font-size: 0.72rem;
  color: rgba(var(--accent-rgb), 0.45);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.15s;
}

.form-link:hover {
  color: var(--accent);
}

/* Login form */
.error-msg {
  font-size: 0.75rem;
  color: var(--danger);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  display: none;
}

.error-msg.visible {
  display: block;
}

.login-field {
  margin-bottom: 1rem;
}

.login-field-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.login-field-input {
  background: var(--bg);
  border: 1px solid var(--border-mid);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 10px 12px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.login-field-input::placeholder {
  color: rgba(var(--accent-rgb), 0.2);
}

.login-field-input:focus {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.1);
}

.login-field-input:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap .login-field-input,
.password-wrap .field-input {
  padding-right: 2rem;
}

.eye-btn {
  position: absolute;
  right: 0.5rem;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0;
  line-height: 0;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eye-btn:hover {
  color: var(--accent);
}

.login-submit-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 0.5rem;
}

.login-submit-btn:hover:not(:disabled) {
  background: rgba(var(--accent-rgb), 0.08);
}

.login-submit-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.login-form-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  flex-wrap: wrap;
}

.login-form-links a {
  color: var(--accent);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.login-form-links a:hover {
  opacity: 1;
}

.form-links-label,
.login-form-links .sep {
  color: var(--text-faint);
}

/* Reset password */
.reset-intro {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 20px;
}

.reset-error {
  background: rgba(var(--danger-rgb), 0.08);
  border-left: 2px solid var(--danger);
  color: var(--danger);
  font-size: 0.75rem;
  padding: 10px 12px;
  margin-bottom: 16px;
  display: none;
}

.reset-error.visible {
  display: block;
}

.reset-footer-links {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  flex-wrap: wrap;
}

.reset-footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.reset-footer-links a:hover {
  color: var(--accent);
}

.reset-footer-links .sep {
  color: var(--text-faint);
}

.reset-sent {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  padding: 20px;
  margin-bottom: 16px;
}

.reset-sent.visible {
  display: block;
}

.reset-sent-header {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--success);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.reset-sent p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0;
}

.reset-sent strong {
  color: var(--accent);
}

/* Legal pages */
.legal-shell {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
  color-scheme: dark;
}

.legal-header {
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 3vw, 2rem) clamp(1.35rem, 3vw, 1.85rem);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.12);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.035) 0%, transparent 100%);
}

.legal-header__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-header__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.72;
}

.legal-header__title {
  margin: 0 0 0.5rem;
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  letter-spacing: 0.1em;
  line-height: 1.25;
  color: var(--text-bright);
}

.legal-header__sub {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 0.72rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-style: normal;
}

.legal-header__back {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.legal-header__back:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.04);
}

/* Legacy aliases */
.legal-tag {
  display: block;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--accent);
  opacity: 0.72;
  letter-spacing: 0.25em;
  margin-bottom: 0.55rem;
}

.legal-title {
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  letter-spacing: 0.1em;
  color: var(--text-bright);
  margin: 0 0 0.5rem;
}

.legal-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: normal;
  margin: 0 auto;
  line-height: 1.55;
}

.legal-back-btn {
  display: inline-block;
  margin-top: 1.1rem;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-decoration: none;
}

.legal-back-btn:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.04);
}

.legal-content {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  padding: 2.25rem clamp(1rem, 3vw, 2rem) 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  text-align: center;
  box-sizing: border-box;
}

.legal-content section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.legal-content h2 {
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--text-bright);
  margin: 0;
  text-transform: uppercase;
  text-align: center;
}

.legal-content p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-dim);
  margin: 0;
  text-align: center;
}

.legal-content strong {
  color: var(--text-bright);
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover:not(.btn) {
  text-decoration: underline;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-content li {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-dim);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.legal-content .bullet {
  color: var(--danger);
  font-size: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.legal-content .update-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.legal-content .rule {
  height: 1px;
  background: linear-gradient(to right, var(--border-mid), transparent);
  border: none;
  margin: 0;
}

.legal-table {
  border-collapse: collapse;
  font-size: 0.84rem;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.legal-table th {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0.4rem 1rem 0.4rem 0;
  border-bottom: 1px solid var(--border-mid);
  text-transform: uppercase;
}

.legal-table td {
  padding: 0.45rem 1rem 0.45rem 0;
  color: var(--text-dim);
  vertical-align: top;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-table td:first-child {
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 180px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.legal-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1rem 2.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.legal-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.legal-footer a:hover {
  color: var(--accent);
}

.legal-footer .sep {
  color: var(--border-strong);
}

/* Download page (Stella legal shell) */
.download-content {
  gap: 1.75rem;
}

.download-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.download-platform {
  margin: -0.5rem 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.75;
}

.download-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.download-panel--note {
  max-width: 34rem;
}

.download-card {
  width: 100%;
  max-width: 26rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.045) 0%, transparent 100%);
  box-sizing: border-box;
}

.download-card__title {
  margin: 0 0 0.45rem;
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-bright);
}

.download-card__desc {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.download-card__size {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.download-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.download-list,
.download-steps {
  width: 100%;
  max-width: 26rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.download-list li,
.download-steps li {
  padding: 0.45rem 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
}

.download-list li:last-child,
.download-steps li:last-child {
  border-bottom: none;
}

.download-steps {
  counter-reset: download-step;
}

.download-steps li {
  counter-increment: download-step;
  padding-left: 1.6rem;
  position: relative;
}

.download-steps li::before {
  content: counter(download-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.75;
}

.download-footer {
  justify-content: center;
  border-top: none;
  padding-top: 0.5rem;
}

@media (max-width: 768px) {
  .legal-header {
    padding: 1.5rem 1.15rem 1.15rem;
  }

  .legal-content {
    padding: 1.5rem 1.15rem 2rem;
  }

  .legal-footer {
    padding: 1rem 1.25rem;
  }

  .legal-table td:first-child {
    white-space: normal;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .auth-root {
    grid-template-columns: 1fr;
    min-height: 100vh;
  }

  .auth-root--login-art {
    grid-template-columns: 1fr;
  }

  /* Register tab/page — desktop 2-col rule is more specific; force full width on mobile */
  .auth-root--login-art.is-register-tab,
  .stella-auth-body[data-page="register"] .auth-root {
    grid-template-columns: 1fr;
  }

  .auth-root--login-art .auth-character-panel {
    display: none;
  }

  .brand-panel {
    display: none;
  }

  .mobile-logo {
    display: block;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .brand-logo-mark-frame--mobile {
    display: block;
  }

  .form-panel {
    grid-column: 1 / -1;
    width: 100%;
    padding: clamp(16px, 4vw, 24px);
  }

  .form-inner {
    max-width: 100%;
    padding-top: 44px;
  }

  .form-subtitle {
    font-size: 9px;
    margin-bottom: 6px;
  }

  .form-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-bottom: 20px;
  }

  .field {
    gap: 0.3rem;
  }

  .field-label {
    font-size: 9px;
  }

  .field-input {
    font-size: 16px;
    padding: 12px;
  }

  .strength-row {
    gap: 0.4rem;
  }

  .strength-label {
    font-size: 0.6rem;
    min-width: 3rem;
  }

  .mismatch-warn {
    font-size: 0.65rem;
  }

  .tos-label {
    font-size: 0.7rem;
    gap: 0.5rem;
    line-height: 1.4;
  }

  .field-hint {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .tos-check {
    width: 16px;
    height: 16px;
    min-width: 16px;
  }

  .login-field {
    margin-bottom: 0.8rem;
  }

  .login-field-label {
    font-size: 9px;
  }

  .login-field-input {
    font-size: 16px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .strength-fill {
    transition: none;
  }

  .brand-video-wrap.is-glitching .brand-video,
  .brand-video-wrap.is-glitching .brand-video-ch,
  .brand-video-wrap.is-glitching .brand-glitch-flash {
    animation: none;
  }

  .brand-scanlines,
  .brand-noise {
    animation: none;
  }
}

/* Email verification (StellaForge auth) */
.stella-auth-body {
  overflow-x: hidden;
  color-scheme: dark;
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.stella-auth-frame {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.stella-auth-body .auth-root,
.stella-auth-body .legal-shell {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
}

.stella-auth-body .auth-root {
  min-height: auto;
  font-family: var(--font-mono);
  font-weight: 400;
}

/* Login + register tabs — same mono stack (Stratum on body must not leak in) */
.stella-auth-body .auth-root .form-panel,
.stella-auth-body .auth-root .stella-auth-pane,
.stella-auth-body .auth-root .form-subtitle,
.stella-auth-body .auth-root .field-label,
.stella-auth-body .auth-root .field-hint,
.stella-auth-body .auth-root .field-input,
.stella-auth-body .auth-root .tos-label,
.stella-auth-body .auth-root .stella-alert,
.stella-auth-body .auth-root .stella-secondary-link,
.stella-auth-body .auth-root .reset-footer-links,
.stella-auth-body .auth-root .reset-footer-links a {
  font-family: var(--font-mono);
  font-weight: 400;
}

.stella-auth-body .auth-root .field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.stella-auth-body .auth-root .form-title {
  font-family: Orbitron, sans-serif;
  font-weight: 900;
}

.stella-auth-body .auth-root .submit-btn,
.stella-auth-body .auth-root .stella-auth-tab {
  font-family: var(--font-mono);
  font-weight: 700;
}

.stella-auth-body .legal-shell {
  min-height: auto;
  font-family: inherit;
  font-weight: inherit;
}

/* Legal / content pages — Stratum body; drop mono/display on headings & prose */
.stella-auth-body .legal-shell .legal-header__eyebrow,
.stella-auth-body .legal-shell .legal-header__title,
.stella-auth-body .legal-shell .legal-header__sub,
.stella-auth-body .legal-shell .legal-header__back,
.stella-auth-body .legal-shell .legal-title,
.stella-auth-body .legal-shell .legal-tag,
.stella-auth-body .legal-shell .legal-sub,
.stella-auth-body .legal-shell .legal-back-btn,
.stella-auth-body .legal-shell .legal-content,
.stella-auth-body .legal-shell .legal-content h2,
.stella-auth-body .legal-shell .content-body,
.stella-auth-body .legal-shell .updates-release-title,
.stella-auth-body .legal-shell .updates-empty,
.stella-auth-body .legal-shell .legacy-panel h3,
.stella-auth-body .legal-shell .legacy-insight-title,
.stella-auth-body .legal-shell .legacy-toolbar a,
.stella-auth-body .legal-shell .legacy-uni-name,
.stella-auth-body .legal-shell .legacy-player-tools input,
.stella-auth-body .legal-shell .legacy-share input,
.stella-auth-body .legal-shell .legacy-player-select,
.stella-auth-body .legal-shell .legacy-player-tools button {
  font-family: inherit;
}

.stella-auth-body .legal-shell .content-body :where(p, li, td, th, span, div, h1, h2, h3, h4, h5, h6, a, strong, em) {
  font-family: inherit;
}

/* Site header — mirrors footer bar */
.stella-site-header {
  position: relative;
  z-index: 12;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(43, 237, 230, 0.28);
  background: rgba(6, 10, 14, 0.82);
  backdrop-filter: blur(8px);
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
}

.stella-site-header__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.65rem clamp(0.75rem, 2vw, 1.35rem);
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  box-sizing: border-box;
}

.stella-site-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.stella-site-header__wordmark {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text-bright);
}

.stella-site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.stella-site-header__nav::-webkit-scrollbar {
  display: none;
}

.stella-site-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.stella-site-header__link:hover {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.55);
  color: var(--accent);
  text-decoration: none;
}

.stella-site-header__link.is-active {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.55);
  color: var(--accent);
}

.stella-site-header__collapsible {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.35rem 0.45rem;
}

body[data-page="account"] .stella-site-header__collapsible {
  justify-content: flex-end;
}

.stella-site-header__auth-group {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.45rem;
  flex-shrink: 0;
}

.stella-site-header__bar-end {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
}

.stella-site-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.stella-site-header__menu-toggle:hover,
.stella-site-header__menu-toggle:focus-visible {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.55);
  outline: none;
}

.stella-site-header__menu-toggle-box {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  width: 0.9rem;
  height: 0.75rem;
}

.stella-site-header__menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.stella-site-header.is-menu-open .stella-site-header__menu-toggle-bar:nth-child(1) {
  transform: translateY(0.3rem) rotate(45deg);
}

.stella-site-header.is-menu-open .stella-site-header__menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.stella-site-header.is-menu-open .stella-site-header__menu-toggle-bar:nth-child(3) {
  transform: translateY(-0.3rem) rotate(-45deg);
}

.stella-site-header__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  color: rgba(96, 246, 242, 0.75);
  text-decoration: none;
  transition: color 0.18s ease;
}

.stella-site-header__icon-link svg {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
}

.stella-site-header__icon-link:hover {
  color: rgba(96, 246, 242, 0.95);
}

.stella-site-header__lang .stella-lang-wrap {
  position: relative;
}

.stella-site-header__lang .stella-lang-trigger {
  min-height: 2rem;
  height: auto;
  min-width: 0;
  max-width: none;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.stella-site-header__lang .stella-lang-trigger:hover,
.stella-site-header__lang .stella-lang-picker[open] .stella-lang-trigger {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.55);
  color: var(--accent);
}

.stella-site-header__lang .stella-lang-label {
  max-width: 5.5rem;
  color: inherit;
}

.stella-site-header__auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.stella-site-header__auth:hover {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.55);
  color: var(--accent);
  text-decoration: none;
}

.stella-site-header__auth--register {
  /* Same primary outline as login submit — register is not a separate green action in Stella auth */
  border-color: rgba(var(--accent-rgb), 0.28);
  color: var(--accent);
  background: transparent;
}

.stella-site-header__auth--register:hover {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.55);
  color: var(--accent);
}

.stella-site-header__auth.is-active {
  pointer-events: none;
  opacity: 0.72;
}

.stella-site-header__auth--logout {
  border-color: rgba(var(--danger-rgb), 0.28);
  color: var(--danger);
}

.stella-site-header__auth--logout:hover {
  background: rgba(var(--danger-rgb), 0.05);
  border-color: rgba(var(--danger-rgb), 0.55);
  color: var(--danger);
}

.stella-auth-frame .stella-lang-corner {
  display: none;
}

@media (max-width: 720px) {
  .stella-site-header {
    position: sticky;
    top: 0;
  }

  .stella-site-header__inner {
    flex-wrap: nowrap;
    padding: 0.5rem clamp(0.65rem, 3vw, 0.85rem);
    gap: 0.65rem 0.75rem;
    position: relative;
  }

  .stella-site-header__wordmark {
    display: none;
  }

  .stella-site-header__menu-toggle {
    display: inline-flex;
  }

  .stella-site-header__collapsible {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.65rem clamp(0.65rem, 3vw, 0.85rem) 0.75rem;
    border-bottom: 1px solid rgba(43, 237, 230, 0.28);
    background: rgba(6, 10, 14, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42);
  }

  .stella-site-header.is-menu-open .stella-site-header__collapsible {
    display: flex;
  }

  .stella-site-header__nav {
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    overflow: visible;
  }

  .stella-site-header__link,
  .stella-site-header__auth {
    width: 100%;
    justify-content: center;
  }

  .stella-site-header__auth-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  body.stella-header-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .stella-site-header__auth,
  .stella-site-header__link,
  .stella-site-header__lang .stella-lang-trigger,
  .stella-site-header__menu-toggle {
    min-height: 1.85rem;
  }

  .stella-site-header__auth,
  .stella-site-header__link,
  .stella-site-header__lang .stella-lang-trigger {
    padding: 0.38rem 0.55rem;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .stella-site-header__auth {
    letter-spacing: 0.14em;
  }

  .stella-site-header__menu-toggle {
    width: 1.85rem;
    height: 1.85rem;
  }
}

/* Cookie consent — home index HUD (matches auth form panel) */
.stella-cookie-banner,
.stella-cookie-chip {
  position: fixed;
  z-index: 10050;
  pointer-events: none;
}

.stella-cookie-banner {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 clamp(1rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.35rem);
  display: flex;
  justify-content: center;
}

.stella-cookie-banner.is-hidden,
.stella-cookie-chip.is-hidden {
  display: none !important;
}

.stella-cookie-hud {
  position: relative;
  width: min(100%, 42rem);
  pointer-events: auto;
  border: 1px solid var(--border-mid);
  background: rgba(var(--bg-rgb), 0.94);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.06) inset, 0 -12px 40px rgba(0, 0, 0, 0.55);
}

.stella-cookie-hud__scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.14) 2px,
    rgba(0, 0, 0, 0.14) 4px
  );
}

.stella-cookie-hud__corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(var(--accent-rgb), 0.35);
  border-style: solid;
  z-index: 2;
  pointer-events: none;
}

.stella-cookie-hud__corner--tl {
  top: 10px;
  left: 10px;
  border-width: 1px 0 0 1px;
}

.stella-cookie-hud__corner--tr {
  top: 10px;
  right: 10px;
  border-width: 1px 1px 0 0;
}

.stella-cookie-hud__corner--bl {
  bottom: 10px;
  left: 10px;
  border-width: 0 0 1px 1px;
}

.stella-cookie-hud__corner--br {
  bottom: 10px;
  right: 10px;
  border-width: 0 1px 1px 0;
}

.stella-cookie-hud__inner {
  position: relative;
  z-index: 1;
  padding: 1.1rem 1.15rem 1rem;
}

.stella-cookie-hud__tag {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  opacity: 0.72;
}

.stella-cookie-hud__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text-bright);
}

.stella-cookie-hud__body {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.stella-cookie-hud__actions {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
}

.stella-cookie-hud__link {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0 0.85rem;
  border: 1px solid var(--border-mid);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.stella-cookie-hud__link:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.04);
}

.stella-cookie-hud__accept {
  flex: 1 1 auto;
  width: auto;
  min-height: 2.65rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.stella-cookie-chip {
  position: fixed;
  z-index: 10050;
  left: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 2.5vw, 1.35rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border-mid);
  background: rgba(var(--bg-rgb), 0.94);
  color: var(--accent);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.stella-cookie-chip__corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(var(--accent-rgb), 0.4);
  border-style: solid;
  pointer-events: none;
}

.stella-cookie-chip__corner--tl {
  top: 4px;
  left: 4px;
  border-width: 1px 0 0 1px;
}

.stella-cookie-chip__corner--tr {
  top: 4px;
  right: 4px;
  border-width: 1px 1px 0 0;
}

.stella-cookie-chip__corner--bl {
  bottom: 4px;
  left: 4px;
  border-width: 0 0 1px 1px;
}

.stella-cookie-chip__corner--br {
  bottom: 4px;
  right: 4px;
  border-width: 0 1px 1px 0;
}

.stella-cookie-chip__icon {
  position: relative;
  z-index: 1;
  width: 0.95rem;
  height: 0.95rem;
}

.stella-cookie-chip:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.05);
  color: var(--text-bright);
}

@media (max-width: 768px) {
  .stella-cookie-banner {
    padding: 0 0.75rem 0.85rem;
  }

  .stella-cookie-hud__inner {
    padding: 0.95rem 0.85rem 0.85rem;
  }

  .stella-cookie-hud__body {
    font-size: 0.64rem;
  }

  .stella-cookie-hud__actions {
    flex-direction: column;
  }

  .stella-cookie-hud__link,
  .stella-cookie-hud__accept {
    width: 100%;
  }
}

/* Site footer (auth + legal) — Stratum stack matches index footer */
.stella-site-footer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  border-top: 1px solid rgba(43, 237, 230, 0.28);
  background: rgba(6, 10, 14, 0.72);
  backdrop-filter: blur(8px);
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
}

.stella-site-footer__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem 1rem;
  text-align: center;
}

.stella-site-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.55rem;
}

.stella-site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: rgba(96, 246, 242, 0.75);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.stella-site-footer__social-link svg {
  width: 0.85rem;
  height: 0.85rem;
  display: block;
}

.stella-site-footer__social-link:hover {
  color: rgba(96, 246, 242, 0.95);
  transform: translateY(-1px);
}

.stella-site-footer__studio {
  display: flex;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.stella-site-footer__studio-ring {
  display: block;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(150, 240, 255, 0.06),
    0 0 14px rgba(var(--accent-rgb), 0.06);
  box-sizing: border-box;
  overflow: hidden;
  line-height: 0;
  opacity: 0.88;
  transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stella-site-footer__studio-ring:hover {
  opacity: 1;
  border-color: rgba(var(--accent-rgb), 0.32);
  box-shadow:
    inset 0 1px 0 rgba(150, 240, 255, 0.08),
    0 0 18px rgba(var(--accent-rgb), 0.1);
}

.stella-site-footer__studio-ring img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
}

.stella-site-footer__copy {
  margin: 0 0 0.35rem;
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(183, 220, 230, 0.55);
  line-height: 1.35;
  font-weight: 400;
}

.stella-site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  margin-bottom: 0.45rem;
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.stella-site-footer__legal a {
  color: rgba(183, 220, 230, 0.55);
  text-decoration: none;
  transition: color 0.18s ease;
}

.stella-site-footer__legal a:hover {
  color: rgba(96, 246, 242, 0.95);
}

.stella-site-footer__sep {
  color: rgba(96, 246, 242, 0.75);
  user-select: none;
}

.stella-site-footer__trademark {
  margin: 0 auto;
  max-width: 26em;
  font-family: Stratum2Light, Helvetica, Arial, sans-serif;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(183, 220, 230, 0.38);
  font-weight: 400;
}

@media (max-width: 480px) {
  .stella-site-footer__inner {
    padding: 0.75rem 1rem 0.9rem;
  }

  .stella-site-footer__social {
    gap: 0.65rem;
  }

  .stella-site-footer__trademark {
    font-size: 9px;
    padding: 0 10px;
  }
}

.verify-info {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.verify-spam {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(var(--danger-rgb), 0.08);
  border: 1px solid rgba(var(--danger-rgb), 0.28);
  color: var(--danger);
  font-size: 0.72rem;
  padding: 8px 12px;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.verify-spam-icon {
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.verify-feedback {
  font-size: 0.75rem;
  padding: 10px 12px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  display: none;
}

.verify-feedback.visible {
  display: block;
}

.verify-feedback.is-error {
  background: rgba(var(--danger-rgb), 0.08);
  border: 1px solid rgba(var(--danger-rgb), 0.3);
  color: var(--danger);
}

.verify-feedback.is-success {
  background: rgba(var(--success-rgb), 0.08);
  border: 1px solid rgba(var(--success-rgb), 0.28);
  color: var(--success);
}

.verify-feedback.is-loading {
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--text-dim);
  text-align: center;
}

.totp-input {
  letter-spacing: 0.3em;
  font-size: 1.1rem;
  text-align: center;
  max-width: 100%;
}

.verify-resend-wrap {
  text-align: center;
  margin-top: 0.25rem;
}

.verify-resend-btn {
  background: none;
  border: none;
  color: rgba(var(--accent-rgb), 0.55);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.verify-resend-btn:hover:not(:disabled) {
  color: var(--accent);
}

.verify-resend-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* StellaForge auth integration */
.stella-auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.stella-auth-tab {
  flex: 1;
  padding: 0.55rem 0.75rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.stella-auth-tab:hover {
  color: var(--text-bright);
  border-color: var(--border-mid);
}

.stella-auth-tab.active {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.06);
}

.stella-auth-pane {
  display: none;
}

.stella-auth-pane.active {
  display: block;
}

.stella-alert {
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.stella-alert--error {
  color: var(--danger);
  border: 1px solid rgba(var(--danger-rgb), 0.35);
  background: rgba(var(--danger-rgb), 0.06);
}

.stella-alert--warning {
  background: rgba(var(--warning-rgb), 0.08);
  border: 1px solid rgba(var(--warning-rgb), 0.28);
  color: var(--warning);
}

.stella-alert--info {
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--text-dim);
}

.stella-alert--success {
  background: rgba(var(--success-rgb), 0.08);
  border: 1px solid rgba(var(--success-rgb), 0.28);
  color: var(--success);
}

.account-shell .account-news {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 0;
}

.field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.5;
  font-weight: 400;
}

.field-select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.stella-captcha-field {
  margin-top: 0.25rem;
}

.stella-secondary-link {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(var(--accent-rgb), 0.45);
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 0.15s;
}

.stella-secondary-link:hover {
  color: var(--accent);
}

.login-social {
  display: flex;
  gap: 10px;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.login-social-btn {
  flex: 1;
  min-height: 2.1rem;
  padding: 0 0.6rem;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 0.5rem;
  color: rgba(var(--accent-rgb), 0.88);
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.login-social-btn:hover {
  background: rgba(var(--accent-rgb), 0.14);
  border-color: rgba(var(--accent-rgb), 0.56);
  color: #fff;
  text-decoration: none;
}

.login-social-btn__icon {
  width: 16px;
  height: 16px;
  display: block;
}

.login-social-oauth-slot {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.login-oauth-btn {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 16px !important;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  appearance: none;
}

.login-oauth-btn:hover,
.login-oauth-btn:focus {
  background: #f5f5f7 !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
  color: #000000 !important;
  text-decoration: none !important;
  outline: none;
}

.login-oauth-btn__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  pointer-events: none;
}

.login-oauth-btn__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: block;
}

.login-oauth-btn__icon--apple {
  width: 17px;
  height: 21px;
}

.login-oauth-btn__label {
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.login-oauth-btn-wrap {
  position: relative;
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  isolation: isolate;
  z-index: 2;
}

.login-oauth-btn-wrap:hover .login-oauth-btn {
  background: #f5f5f7 !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

.login-oauth-btn-wrap .login-oauth-btn {
  position: relative;
  z-index: 2;
  width: 100%;
}

.login-oauth-btn.login-social-oauth-slot,
a.login-oauth-btn.login-social-oauth-slot {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.login-oauth-btn__gsi-host {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
}

.login-oauth-btn__gsi-host > div {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 44px !important;
  pointer-events: none !important;
}

.login-oauth-btn__gsi-host [role="button"] {
  width: 100% !important;
  height: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: auto !important;
}

.login-oauth-btn__gsi-host iframe {
  width: 100% !important;
  min-width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.login-oauth-btn-wrap.is-gsi-pending .login-oauth-btn__gsi-host {
  display: none !important;
}

.tos-label a {
  color: rgba(var(--accent-rgb), 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tos-label a:hover {
  color: var(--accent);
}

.legal-content.content-body h2,
.legal-content.content-body h3 {
  color: var(--text-bright);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content.content-body p,
.legal-content.content-body li {
  color: var(--text-dim);
  line-height: 1.65;
}

.legal-content.content-body a {
  color: var(--accent);
}

.legal-footer-links {
  padding: 1.5rem 2.5rem 2rem;
  justify-content: center;
}

.stella-lang-wrap {
  margin: 0;
}

.stella-lang-corner {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  z-index: 5;
}

.legal-shell > .stella-lang-corner {
  position: fixed;
  top: clamp(16px, 3vw, 24px);
  right: clamp(16px, 3vw, 24px);
  z-index: 20;
}

.stella-lang-picker {
  position: relative;
}

.stella-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 140px;
  max-width: 220px;
  height: 32px;
  padding: 0 0.65rem;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background-color: var(--surface);
  color: var(--text-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
  user-select: none;
}

.stella-lang-trigger::-webkit-details-marker {
  display: none;
}

.stella-lang-trigger::marker {
  content: "";
}

.stella-lang-trigger:hover,
.stella-lang-picker[open] .stella-lang-trigger {
  border-color: rgba(var(--accent-rgb), 0.65);
  background-color: var(--surface-raised);
}

.stella-lang-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.stella-flag-icon {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.stella-lang-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--accent);
  opacity: 0.75;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.stella-lang-picker[open] .stella-lang-chevron {
  transform: rotate(180deg);
}

.stella-lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 100%;
  width: max-content;
  max-width: 240px;
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.stella-lang-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.12s, color 0.12s;
}

.stella-lang-option:hover {
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--text-bright);
}

.stella-lang-option.is-active {
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
}

/* Legacy Hall */
.legacy-shell .legal-header {
  border-bottom-color: rgba(var(--accent-rgb), 0.12);
}

.legacy-hall-content {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  align-items: center;
}

.legacy-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  justify-content: center;
}

.legacy-toolbar a {
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  color: var(--text-dim);
  padding: 5px 9px;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.68rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.legacy-toolbar a:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  color: var(--text-bright);
}

.legacy-toolbar a.is-active {
  border-color: rgba(var(--accent-rgb), 0.75);
  color: var(--text-bright);
  background: rgba(var(--accent-rgb), 0.08);
}

.legacy-universe-list {
  display: grid;
  gap: 10px;
}

.legacy-universe-item {
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  min-height: 28px;
  gap: 8px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
}

.legacy-universe-item:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.03);
}

.legacy-uni-main {
  min-width: 140px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legacy-shell a.legacy-uni-name,
.legacy-shell a.legacy-uni-name:link,
.legacy-shell a.legacy-uni-name:visited,
.legacy-shell a.legacy-uni-name:active {
  display: inline-block;
  color: var(--text-bright) !important;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  vertical-align: middle;
}

.legacy-shell a.legacy-uni-name:hover {
  text-decoration: underline;
  color: var(--accent) !important;
}

.legacy-uni-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  vertical-align: middle;
}

.legacy-uni-meta {
  font-size: 0.62rem;
  color: var(--text-dim);
}

.legacy-uni-block {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  color: var(--text-faint);
  overflow: hidden;
  text-overflow: ellipsis;
}

.legacy-uni-label {
  font-size: 0.56rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legacy-uni-value {
  font-size: 0.68rem;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legacy-uni-sep {
  flex: 0 0 1px;
  align-self: stretch;
  min-height: 1.1em;
  margin: 0 10px;
  background: var(--border-subtle);
  border: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.legacy-universe-empty {
  border: 1px dashed var(--border-mid);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.68rem;
}

.legacy-tag {
  font-size: 0.58rem;
  border: 1px solid var(--border-mid);
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.legacy-tag.live {
  border-color: rgba(var(--success-rgb), 0.35);
  color: var(--success);
}

.legacy-tag.archived {
  border-color: rgba(242, 198, 119, 0.35);
  color: #d9c19a;
}

.legacy-preview {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.legacy-panel,
.legacy-insight,
.legacy-record-card {
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  background: rgba(8, 16, 22, 0.55);
  padding: 10px;
}

.legacy-panel h3,
.legacy-insight-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.legacy-player-tools {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.legacy-player-tools input,
.legacy-share input,
.legacy-player-select {
  flex: 1;
  min-width: 120px;
  background: var(--bg);
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  color: var(--text-bright);
  border-radius: var(--radius);
  padding: 6px 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.legacy-player-tools button {
  border: 1px solid rgba(var(--success-rgb), 0.45);
  background: rgba(var(--success-rgb), 0.1);
  color: var(--success);
  border-radius: var(--radius);
  padding: 6px 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  cursor: pointer;
}

.legacy-filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.legacy-filter-chip {
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 999px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 4px 8px;
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}

.legacy-filter-chip.is-active {
  border-color: rgba(var(--accent-rgb), 0.75);
  color: var(--text-bright);
  background: rgba(var(--accent-rgb), 0.08);
}

.legacy-player-pager,
.legacy-pagination {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.68rem;
  flex-wrap: wrap;
}

.legacy-player-pager a,
.legacy-pagination a {
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: var(--radius);
  padding: 4px 8px;
  font-size: 0.64rem;
}

.legacy-player-pager a:hover,
.legacy-pagination a:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  color: var(--accent);
}

.legacy-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.legacy-entry:last-child {
  border-bottom: 0;
}

.legacy-entry img {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.legacy-entry.no-image {
  grid-template-columns: 1fr auto;
}

.legacy-main {
  min-width: 0;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legacy-main a {
  color: var(--accent);
  text-decoration: none;
}

.legacy-main a:hover {
  text-decoration: underline;
}

.legacy-rank {
  color: var(--text-body);
  margin-right: 4px;
}

.legacy-points {
  color: var(--text-dim);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.legacy-meta {
  color: var(--text-dim);
  font-size: 0.64rem;
}

.legacy-insight {
  margin-top: 1rem;
}

.legacy-insight-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.legacy-insight-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.legacy-insight-main {
  min-width: 0;
}

.legacy-insight-name {
  font-size: 0.72rem;
  color: var(--text-bright);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legacy-insight-sub {
  margin-top: 2px;
  font-size: 0.64rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legacy-insight-right {
  margin-left: auto;
  text-align: right;
}

.legacy-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.legacy-kpi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 7px;
}

.legacy-kpi-label {
  font-size: 0.58rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legacy-kpi-value {
  font-size: 0.82rem;
  color: var(--text-bright);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.legacy-badges-title {
  font-size: 0.58rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.legacy-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.legacy-badges-grid img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.legacy-badge-pop {
  position: relative;
  display: inline-flex;
}

.legacy-badge-pop::after {
  content: attr(data-pop);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 170px;
  max-width: 230px;
  padding: 7px 8px;
  border-radius: var(--radius);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  background: var(--surface);
  color: var(--text-bright);
  font-size: 0.68rem;
  line-height: 1.25;
  white-space: normal;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 4;
}

.legacy-badge-pop::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(var(--accent-rgb), 0.4);
  opacity: 0;
  transition: opacity 0.12s ease;
  z-index: 4;
}

.legacy-badge-pop:hover::after,
.legacy-badge-pop:hover::before {
  opacity: 1;
}

.legacy-record-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.legacy-record-title {
  font-size: 0.58rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.legacy-record-main {
  font-size: 0.72rem;
  color: var(--text-bright);
}

.legacy-record-main a {
  color: var(--accent);
  text-decoration: none;
}

.legacy-record-main a:hover {
  text-decoration: underline;
}

.legacy-share {
  margin-top: 1rem;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.legacy-mark {
  background: rgba(255, 230, 125, 0.35);
  color: #fff;
  border-radius: 3px;
  padding: 0 2px;
}

.legacy-record-tags {
  margin-bottom: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.legacy-record-tag {
  display: inline-block;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.62rem;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

@media (max-width: 900px) {
  .legacy-preview {
    grid-template-columns: 1fr;
  }

  .legacy-universe-item {
    display: block;
    padding: 10px 12px;
    min-height: 0;
    white-space: normal;
  }

  .legacy-uni-main {
    max-width: none;
    margin-bottom: 4px;
  }

  .legacy-uni-block {
    display: flex;
    margin: 2px 0;
  }

  .legacy-uni-sep {
    display: none;
  }

  .legacy-entry {
    grid-template-columns: auto 1fr;
  }

  .legacy-points {
    grid-column: 2;
    text-align: left;
    margin-left: 2px;
  }

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

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

/* Updates page — vertical timeline */
.updates-shell .legal-header {
  border-bottom: 0;
  background: transparent;
}

.legal-shell.updates-shell .legal-content.updates-content {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  align-items: stretch;
  text-align: left;
  gap: 0;
  padding: 0.35rem clamp(1rem, 3vw, 2rem) 2rem;
}

.legal-shell.updates-shell .legal-content.updates-content > * {
  width: 100%;
  max-width: none;
  align-self: stretch;
}

.legal-shell.updates-shell .legal-content ul {
  display: block;
  gap: 0;
  padding: 0;
  margin: 0;
}

.legal-shell.updates-shell .legal-content li {
  display: block;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  gap: 0;
}

.stella-auth-body.has-areahub-bg .legal-shell.updates-shell {
  background: transparent;
}

.updates-empty {
  text-align: left;
  color: rgba(200, 228, 238, 0.72);
  font-size: 0.82rem;
  padding: 1rem 0 2rem;
}

.updates-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0.15rem 0 0 0.1rem;
}

.updates-timeline::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.55rem;
  bottom: 0.75rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.38) 0%,
    rgba(var(--accent-rgb), 0.14) 35%,
    rgba(var(--accent-rgb), 0.08) 100%
  );
}

.updates-release {
  position: relative;
  padding: 0 0 1.1rem 1.2rem;
  text-align: left;
}

.updates-release:last-child {
  padding-bottom: 0.25rem;
}

.updates-release::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.5);
  border: 2px solid rgba(6, 10, 14, 0.92);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.28);
  z-index: 1;
}

.updates-release:first-child::before {
  background: rgba(var(--accent-rgb), 0.88);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.45), 0 0 8px rgba(var(--accent-rgb), 0.28);
}

.updates-release-hidden {
  display: none;
}

.updates-release-body {
  min-width: 0;
}

.updates-release-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.3rem;
  text-align: left;
}

.updates-release-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgba(230, 248, 255, 0.92);
}

.updates-release-date {
  flex-shrink: 0;
  font-size: 0.58rem;
  color: rgba(160, 200, 212, 0.48);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.updates-release-image {
  position: relative;
  margin-bottom: 0.4rem;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
}

.updates-release-image img {
  width: 100%;
  display: block;
  max-height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.updates-release-image:hover img {
  transform: scale(1.03);
}

.updates-release-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.updates-release-image:hover .updates-release-zoom {
  opacity: 1;
}

.updates-release-youtube,
.updates-shell .patch-note-youtube,
.account-news .patch-note-youtube {
  margin-bottom: 0.55rem;
}

.updates-shell .patch-note-youtube-frame,
.account-news .patch-note-youtube-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}

.updates-shell .patch-note-youtube-frame iframe,
.account-news .patch-note-youtube-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.updates-release-entries {
  list-style: none;
  padding: 0.15rem 0 0;
  margin: 0;
  box-sizing: border-box;
}

.updates-release-entries .patch-note-line {
  display: block;
  font-size: 0.66rem;
  color: rgba(200, 228, 238, 0.72);
  line-height: 1.45;
  margin-bottom: 0.24rem;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.updates-release-entries .patch-note-line:last-child {
  margin-bottom: 0;
}

.updates-release-entries .patch-note-line.is-bullet {
  position: relative;
  padding-left: 0.85rem;
  padding-right: 0.1rem;
}

.updates-release-entries .patch-note-line.is-bullet::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.58em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(43, 237, 230, 0.4);
}

.updates-release-entries .patch-note-line.is-text {
  padding-left: 0;
  padding-right: 0.15rem;
  color: rgba(210, 232, 240, 0.8);
}

.updates-release-entries .patch-note-line.is-text:has(+ .patch-note-line.is-bullet) {
  font-weight: 600;
  color: rgba(230, 248, 255, 0.9);
  margin-bottom: 0.18rem;
}

.updates-release-entries .patch-note-line.is-spacer {
  height: 0.45rem;
  margin: 0;
  padding: 0;
}

.updates-release-entries .patch-note-line.is-divider {
  display: none;
}

.updates-paginator {
  text-align: center;
  padding: 1.25rem 0 0.5rem;
}

.updates-more-btn {
  background: transparent;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.updates-more-btn:hover {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.55);
  color: var(--accent);
  text-decoration: none;
}

.updates-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.updates-lightbox.is-open {
  display: flex;
}

.updates-lightbox img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.updates-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
}

.updates-lightbox__close:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .updates-timeline {
    padding-left: 0.05rem;
  }

  .updates-release {
    padding-left: 1.35rem;
  }

  .updates-release-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

/* About page */
.stella-auth-body.has-areahub-bg .legal-shell.about-shell {
  background: transparent;
}

.legal-shell.about-shell {
  overflow-x: clip;
  max-width: 100%;
}

.legal-shell.about-shell .legal-content.about-content {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  align-items: stretch;
  text-align: left;
  gap: 2.75rem;
  padding: 1.25rem clamp(1rem, 3vw, 2rem) 3rem;
  box-sizing: border-box;
}

.legal-shell.about-shell .legal-content.about-content > * {
  width: 100%;
  max-width: none;
  align-self: stretch;
}

.legal-shell.about-shell .legal-content.about-content section {
  display: block;
  align-items: stretch;
  text-align: left;
  width: 100%;
  max-width: none;
}

/* Masthead — cinematic opener with character bookends */
.about-masthead {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 36rem) minmax(0, 1fr);
  align-items: end;
  min-height: clamp(380px, 48vw, 500px);
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.14);
}

.about-masthead__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.82) 68%, rgba(8, 8, 8, 1) 100%),
    url("../../styles/art/bg1.webp") center 25% / cover no-repeat;
  opacity: 0.48;
  pointer-events: none;
}

.about-masthead__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.88) 0%, transparent 22%, transparent 78%, rgba(8, 8, 8, 0.88) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, transparent 28%, rgba(8, 8, 8, 0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

.about-masthead__scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.045) 3px,
    rgba(0, 0, 0, 0.045) 4px
  );
  pointer-events: none;
  opacity: 0.45;
}

.about-masthead__deck {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: clamp(3.5rem, 8vw, 5rem);
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.5) 20%, rgba(var(--accent-rgb), 0.65) 50%, rgba(var(--accent-rgb), 0.5) 80%, transparent);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.25);
  pointer-events: none;
}

.about-masthead__char {
  position: relative;
  z-index: 2;
  grid-row: 1;
  margin: 0;
  align-self: end;
  width: 100%;
  max-width: clamp(160px, 22vw, 300px);
  height: clamp(300px, 44vw, 460px);
  justify-self: center;
  pointer-events: none;
  user-select: none;
}

.about-masthead__char--left {
  grid-column: 1;
  justify-self: end;
  padding-right: clamp(0.5rem, 2vw, 1.5rem);
}

.about-masthead__char--right {
  grid-column: 3;
  justify-self: start;
  padding-left: clamp(0.5rem, 2vw, 1.5rem);
}

.about-masthead__char-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.55));
}

.about-masthead__char--left .about-masthead__char-img {
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
}

.about-masthead__char--right .about-masthead__char-img {
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  mask-image: linear-gradient(270deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
}

.about-masthead__content {
  position: relative;
  z-index: 3;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding: 0 0.5rem;
  text-align: center;
}

.about-masthead__content::after {
  content: "";
  display: block;
  width: min(12rem, 60%);
  height: 1px;
  margin: 1.15rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.55), transparent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.25);
}

.about-masthead__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.88;
}

.about-masthead__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  color: var(--text-bright);
  text-shadow: 0 0 32px rgba(var(--accent-rgb), 0.28);
}

.about-masthead__game {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-masthead__lead {
  margin: 0 0 1rem;
  font-size: clamp(0.84rem, 1.8vw, 0.96rem) !important;
  line-height: 1.75 !important;
  color: rgba(230, 248, 255, 0.92) !important;
  text-align: center !important;
}

.about-masthead__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

/* Mission strip — detail + pull quote */
.about-mission {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.35rem clamp(1rem, 3vw, 2rem) 0.5rem;
}

.about-mission__detail {
  margin: 0;
  font-size: 0.82rem !important;
  line-height: 1.75 !important;
  color: var(--text-dim) !important;
}

.about-mission__quote {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-left: 3px solid rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.04);
  font-size: 0.78rem !important;
  line-height: 1.65 !important;
  color: rgba(200, 236, 248, 0.9) !important;
  font-style: italic;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 228, 238, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.about-pill i {
  color: rgba(var(--accent-rgb), 0.75);
  font-size: 0.62rem;
}

.about-pill--accent {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.12);
}

/* Section headers */
.about-section-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
}

.about-section-head__index {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(var(--accent-rgb), 0.45);
  padding-top: 0.15rem;
}

.about-section-head__text {
  flex: 1;
  min-width: 0;
}

.about-section-head__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 2vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-bright);
}

.about-section-head__desc {
  margin: 0;
  font-size: 0.8rem !important;
  line-height: 1.7 !important;
  color: var(--text-dim) !important;
}

.legal-shell.about-shell .legal-content p {
  text-align: left;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--text-dim);
}

/* Pillars */
.about-pillars,
.about-fleet,
.about-features,
.about-events {
  min-width: 0;
}

.about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.about-pillar {
  position: relative;
  padding: 1.1rem 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 14, 18, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.about-pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.06) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.about-pillar:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(var(--accent-rgb), 0.06);
}

.about-pillar:hover::after {
  opacity: 1;
}

.about-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  font-size: 0.8rem;
}

.about-pillar__icon--gold { color: var(--gold); border-color: rgba(var(--gold-rgb), 0.35); background: rgba(var(--gold-rgb), 0.08); }
.about-pillar__icon--blue { color: var(--accent-alt); border-color: rgba(0, 102, 255, 0.35); background: rgba(0, 102, 255, 0.08); }
.about-pillar__icon--danger { color: var(--danger); border-color: rgba(var(--danger-rgb), 0.35); background: rgba(var(--danger-rgb), 0.08); }

.about-pillar h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-bright);
}

.about-pillar p {
  margin: 0;
  font-size: 0.74rem !important;
  line-height: 1.6 !important;
  color: var(--text-muted) !important;
}

/* Hangar — Ship Designer hulls */
.about-hangar {
  position: relative;
  padding: 0.5rem 0 0.25rem;
  min-width: 0;
}

.about-hangar__scroll-hint {
  display: none;
}

.about-hangar__rail {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.2) 15%, rgba(var(--accent-rgb), 0.28) 50%, rgba(var(--accent-rgb), 0.2) 85%, transparent);
  pointer-events: none;
  z-index: 0;
}

.about-fleet-dock {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0 0.65rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), 0.25) transparent;
}

.about-fleet-dock::-webkit-scrollbar {
  height: 4px;
}

.about-fleet-dock::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), 0.25);
  border-radius: 2px;
}

.about-fleet-card {
  position: relative;
  flex: 0 0 clamp(128px, 13vw, 156px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 12, 16, 0.6);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.about-fleet-card__tier {
  position: absolute;
  top: 0.35rem;
  left: 0.4rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(var(--accent-rgb), 0.45);
}

.about-fleet-card:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(var(--accent-rgb), 0.08);
}

.about-fleet-card__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(96px, 12vw, 124px);
  padding: 0.5rem 0.35rem 0.3rem;
  background:
    radial-gradient(ellipse 80% 70% at 50% 85%, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%),
    rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.about-fleet-card__stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.22), transparent);
}

.about-fleet-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.about-fleet-card:hover .about-fleet-card__img {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.15));
}

.about-fleet-card__meta {
  padding: 0.5rem 0.45rem 0.55rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.about-fleet-card__meta h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-fleet-card__meta span {
  display: block;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(160, 200, 212, 0.55);
}

/* Bento feature grid */
.about-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-bento__card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 12, 16, 0.5);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.about-bento__card:hover {
  border-color: rgba(var(--accent-rgb), 0.22);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.about-bento__card--lead {
  grid-column: 1 / -1;
}

.about-bento__card--lead .about-bento__visual {
  min-height: clamp(160px, 22vw, 220px);
}

.about-bento__card--lead .about-bento__img {
  height: clamp(160px, 22vw, 220px);
}

.about-bento__card--lead .about-bento__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0.5rem 1.25rem;
  align-items: start;
}

.about-bento__card--lead .about-bento__tag {
  grid-column: 1;
}

.about-bento__card--lead .about-bento__body h3 {
  grid-column: 1;
}

.about-bento__card--lead .about-bento__body p {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
}

.about-bento__card--hull {
  cursor: pointer;
}

.about-bento__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 80% at 50% 70%, rgba(var(--accent-rgb), 0.08) 0%, transparent 68%),
    rgba(0, 0, 0, 0.35);
  min-height: 140px;
}

.about-bento__img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-bento__img--hull {
  object-fit: contain;
  padding: 0.65rem;
}

.about-bento__img--shot {
  object-fit: cover;
  object-position: center;
}

.about-bento__card:hover .about-bento__img {
  transform: scale(1.03);
}

.about-bento__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.about-bento__card--hull:hover .about-bento__zoom {
  opacity: 1;
}

.about-bento__body {
  padding: 0.95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-bento__tag {
  display: inline-block;
  width: fit-content;
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(var(--accent-rgb), 0.05);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.about-bento__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--text-bright);
}

.about-bento__body p {
  margin: 0;
  font-size: 0.76rem !important;
  line-height: 1.65 !important;
}

/* Events */

.about-events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-event-card {
  position: relative;
  padding: 1.15rem 1.1rem 1rem 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 12, 16, 0.5);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.about-event-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.7;
}

.about-event-card:hover {
  border-color: rgba(var(--accent-rgb), 0.22);
  background: rgba(8, 16, 22, 0.65);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.about-event-card--lead {
  grid-column: 1 / -1;
  padding-right: clamp(1.5rem, 4vw, 2.5rem);
}

.about-event-card--pirates::before { background: var(--accent); }
.about-event-card--crimson::before { background: #c0392b; }
.about-event-card--iron::before { background: #7f8c8d; }
.about-event-card--void::before { background: #8e44ad; }
.about-event-card--flagship::before { background: var(--gold); }

.about-event-card__icon {
  position: absolute;
  left: 0.95rem;
  top: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  color: var(--accent);
  font-size: 0.85rem;
  opacity: 0.85;
}

.about-event-card--pirates .about-event-card__icon { color: var(--accent); }
.about-event-card--crimson .about-event-card__icon { color: #c0392b; }
.about-event-card--iron .about-event-card__icon { color: #95a5a6; }
.about-event-card--void .about-event-card__icon { color: #8e44ad; }
.about-event-card--flagship .about-event-card__icon { color: var(--gold); }

.about-event-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-bright);
}

.about-event-card p {
  margin: 0 0 0.4rem;
  font-size: 0.76rem !important;
  line-height: 1.65 !important;
  color: var(--text-muted) !important;
}

.about-event-card p:last-child {
  margin-bottom: 0;
}

/* CTA band */
.about-cta-band {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background:
    radial-gradient(ellipse 70% 100% at 50% 100%, rgba(var(--accent-rgb), 0.12) 0%, transparent 60%),
    rgba(0, 0, 0, 0.35);
  text-align: center;
}

.about-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 48px,
    rgba(var(--accent-rgb), 0.03) 48px,
    rgba(var(--accent-rgb), 0.03) 49px
  );
  pointer-events: none;
}

.about-cta-band__inner {
  position: relative;
  z-index: 1;
}

.about-cta-band__tag {
  margin: 0 0 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

.about-cta-band__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-bright);
}

.about-cta-band__desc {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  font-size: 0.8rem !important;
  line-height: 1.65 !important;
  color: var(--text-dim) !important;
  text-align: center !important;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.about-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.about-cta__btn:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
  transform: translateY(-1px);
}

.about-cta__btn--primary {
  border-color: rgba(var(--accent-rgb), 0.6);
  color: #001018;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.95) 0%, rgba(var(--accent-rgb), 0.75) 100%);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.25);
}

.about-cta__btn--primary:hover {
  color: #001018;
  background: linear-gradient(180deg, #33eeff 0%, rgba(var(--accent-rgb), 0.9) 100%);
  box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.4);
}

/* Lightbox */
.about-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.about-lightbox.is-open {
  display: flex;
}

.about-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 85vh;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.15);
}

.about-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: color 0.15s ease;
}

.about-lightbox__close:hover {
  color: #fff;
}

@media (min-width: 1100px) {
  .about-masthead__char {
    max-width: clamp(200px, 24vw, 340px);
    height: clamp(340px, 46vw, 500px);
  }
}

@media (min-width: 900px) {
  .about-fleet-dock--imperial {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }

  .about-fleet-card {
    flex: initial;
  }
}

@media (max-width: 900px) {
  .about-masthead {
    display: block;
    min-height: 0;
    padding: 1.75rem 1rem 1.25rem;
  }

  .about-masthead__char {
    display: none;
  }

  .about-masthead__deck {
    display: none;
  }

  .about-masthead__vignette {
    background: linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.45) 0%,
      transparent 32%,
      rgba(8, 8, 8, 0.82) 100%
    );
  }

  .about-masthead__content {
    padding: 1rem 0.9rem 1.1rem;
    border: 1px solid rgba(var(--accent-rgb), 0.14);
    background: rgba(4, 8, 12, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }

  .about-mission {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1rem 1rem 0.25rem;
  }

  .about-bento {
    grid-template-columns: 1fr;
  }

  .about-bento__card--lead .about-bento__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .about-bento__card--lead .about-bento__body p {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }

  .about-bento__card--lead .about-bento__visual,
  .about-bento__card--lead .about-bento__img {
    min-height: 0;
    height: clamp(130px, 38vw, 180px);
  }

  .about-event-card--lead {
    grid-column: auto;
    padding-right: 1.1rem;
  }

  .about-hangar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0.65rem;
    width: 2.75rem;
    background: linear-gradient(90deg, transparent, rgba(8, 8, 8, 0.92));
    pointer-events: none;
    z-index: 2;
  }

  .about-hangar__scroll-hint {
    display: block;
    margin: 0 0 0.55rem;
    font-size: 0.52rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(var(--accent-rgb), 0.55);
  }
}

@media (max-width: 768px) {
  .legal-shell.about-shell .legal-content.about-content {
    gap: 2rem;
    padding: 1rem 1rem 2.5rem;
  }

  .about-masthead__title {
    font-size: clamp(1.1rem, 5.8vw, 1.45rem);
    letter-spacing: 0.04em;
  }

  .about-masthead__eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.14em;
  }

  .about-masthead__game {
    margin-bottom: 0.75rem;
    letter-spacing: 0.14em;
  }

  .about-section-head {
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
  }

  .about-section-head__index {
    padding-top: 0;
  }

  .about-section-head__title {
    letter-spacing: 0.1em;
    line-height: 1.35;
  }

  .about-pillars__grid,
  .about-events-grid {
    grid-template-columns: 1fr;
  }

  .about-fleet-dock {
    gap: 0.55rem;
    padding: 0.15rem 0.15rem 0.75rem;
    scroll-padding-inline: 0.15rem;
  }

  .about-fleet-card {
    flex: 0 0 132px;
  }

  .about-fleet-card__stage {
    height: 104px;
  }

  .about-bento__img {
    height: clamp(112px, 34vw, 140px);
  }

  .about-event-card {
    padding: 1rem 0.9rem 0.9rem 2.75rem;
  }

  .about-cta-band {
    padding: 1.5rem 1rem;
  }

  .about-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .about-cta__btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .about-masthead {
    padding: 1.35rem 0.85rem 1rem;
  }

  .about-masthead__content {
    padding: 0.9rem 0.75rem 1rem;
  }

  .about-masthead__pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .about-pill {
    justify-content: center;
    font-size: 0.5rem;
    padding: 0.36rem 0.4rem;
    letter-spacing: 0.08em;
  }

  .about-mission {
    padding: 0.85rem 0.85rem 0.15rem;
  }

  .about-fleet-card {
    flex: 0 0 124px;
  }

  .about-fleet-card__meta h3 {
    white-space: normal;
    font-size: 0.54rem;
    line-height: 1.25;
  }

  .about-bento__body {
    padding: 0.85rem 0.85rem 1rem;
  }

  .about-bento__body h3 {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }
}

@media (hover: none) {
  .about-pillar:hover,
  .about-fleet-card:hover,
  .about-bento__card:hover,
  .about-event-card:hover {
    transform: none;
  }

  .about-fleet-card:hover .about-fleet-card__img,
  .about-bento__card:hover .about-bento__img {
    transform: none;
  }
}
