/* Same family Forever uses (Blizz Quadrata / Friz Quadrata) */
@font-face {
  font-family: "Friz Quadrata";
  src: url("assets/fonts/friz-quadrata.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #050a12;
  --navy-900: #0a1524;
  --ink: #eef3f8;
  --ink-soft: #c9d5e3;
  --muted: #8fa3b8;
  --champagne: #d9d2c3;
  --champagne-bright: #ece6d8;
  --silver: #c5d0dc;
  --ice: #8eb8d4;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-nav: "Archivo", Helvetica, Arial, sans-serif;
  /* Forever masthead uses Blizz Quadrata (hashed webfont) — Friz is the match */
  --font-cta: "Friz Quadrata", "Marcellus", "Times New Roman", Georgia, serif;
  --font-copy: "Open Sans", "Manrope", Arial, Helvetica, sans-serif;
  --shadow-title:
    0 1px 0 rgba(0, 0, 0, 0.95),
    0 2px 2px rgba(0, 0, 0, 0.75),
    0 12px 28px rgba(0, 0, 0, 0.7),
    0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-copy:
    0 1px 1px rgba(0, 0, 0, 0.85),
    0 8px 22px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after { box-sizing: border-box; }

/* Author CSS often sets display; keep the hidden attribute authoritative. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--navy-950);
  line-height: 1.5;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

/* Forever-matched floating nav (measured ~72px tall, ~16px inset) in Gravespire colors */
.nav-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: calc(1rem + 5px) 1rem 0; /* nudge whole bar down ~5px */
  pointer-events: none;
  background: transparent;
  border: 0;
}

.nav-bar__inner {
  pointer-events: auto;
  width: calc(100% - 2rem);
  max-width: none;
  margin: 0 auto;
  height: 4.5rem; /* 72px — Forever bar height */
  min-height: 4.5rem;
  padding: 0 1rem 0 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 1.05rem;
  border: 1px solid rgba(142, 184, 212, 0.12);
  background: rgba(24, 42, 68, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  overflow: visible;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 3.35rem; /* ~25px+ more clearance so links clear the oversized logo */
  min-width: 0;
  height: 100%;
}

.nav-brand {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: clamp(13rem, 17.5vw, 16.25rem);
  height: 100%;
  margin-left: 1.1rem; /* ~15px further right + prior inset */
}

.nav-brand img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6.03rem; /* ~5% smaller than prior 6.35rem */
  width: auto;
  max-width: none;
  display: block;
  /* Match hero logo coloring — no brightness boost */
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.75));
}

.nav-brand-sep {
  display: none; /* gap after logo replaces the divider */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  margin-left: 0.35rem;
  height: 100%;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 3rem; /* Forever nav-link-content ~48px */
  padding: 0 1rem;
  font-family: var(--font-nav);
  font-size: 1.125rem; /* 18px — Forever link size */
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: #fff;
  text-shadow: none;
  border-radius: 0.5rem;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  height: 100%;
}

.nav-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 3rem;
  min-height: 3rem;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 0.5rem;
  background: #1f8f9a;
  color: #f7f3ea;
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-play .nav-icon {
  width: 31.2px;
  height: 17.2px;
}

.nav-play:hover {
  background: #27a2ae;
}

.nav-ghost,
.nav-cta,
.nav-account__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem; /* Forever CTA ~48px */
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 0.5rem;
  border: 0;
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: #fff;
  text-shadow: none;
  box-shadow: none;
  filter: none;
  transform: none;
  transition: background-color 160ms ease;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav-ghost--icon,
.nav-account__toggle {
  gap: 0.45rem;
}

.nav-icon,
.nav-icon--lg,
.nav-menu-icon {
  display: block;
  flex: 0 0 auto;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

/* Whole-pixel sizes avoid subpixel SVG aliasing. */
.nav-icon {
  width: 22px;
  height: 22px;
}

.nav-icon--lg {
  width: 24px;
  height: 24px;
}

.nav-menu-icon {
  width: 22px;
  height: 22px;
  opacity: 0.96;
}

/* Flat steel-ice secondary */
.nav-ghost {
  background: #3f5f78;
}

.nav-ghost:hover {
  background: #4a6f8a;
  filter: none;
  transform: none;
}

/* Discord brand blue */
.nav-discord {
  background: #5865f2;
}

.nav-discord:hover {
  background: #6875f5;
}

/* Soft teal-green login contrast */
.nav-login {
  background: #3f8f7a;
}

.nav-login:hover {
  background: #4aa189;
}

/* Flat frost primary */
.nav-cta {
  background: #4f96ad;
}

.nav-cta:hover {
  background: #5ca6bd;
  filter: none;
  transform: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-bar.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-bar.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-bar.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero — Forever-style right-weighted content block */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: 64px;
}

.hero__media {
  position: absolute;
  inset: -2%;
  z-index: -2;
  background: url("assets/hero.png") 18% center / cover no-repeat;
  transform: scale(1.05);
  animation: drift 34s ease-in-out infinite alternate;
}

.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.28) 0%, rgba(5, 10, 18, 0.18) 40%, rgba(5, 10, 18, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.4) 0%, rgba(5, 10, 18, 0.08) 36%, rgba(5, 10, 18, 0.55) 100%);
}

@keyframes drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1%, -0.7%, 0); }
}

.hero__frame {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.25rem 0 4.5rem;
}

.hero__content {
  width: min(640px, 100%);
  text-align: center;
  margin-top: 0;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__logo {
  width: clamp(20.4rem, 52.8vw, 31.2rem);
  /* Pulled up into hero space, then nudged ~10% lower; bottom margin keeps text fixed */
  margin: -2.5rem auto 4.25rem;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.75));
}

/* Forever masthead eyebrow ~20px Friz-style serif uppercase */
.hero__kicker {
  margin: 0.2rem 0 0.85rem;
  font-family: var(--font-cta);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #f3eee2;
  /* Marcellus is single-weight — stroke for a bit more bold */
  -webkit-text-stroke: 0.85px rgba(243, 238, 226, 0.55);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.55),
    0 3px 12px rgba(0, 0, 0, 0.45);
}

/* Forever masthead title — Blizz Quadrata + metal gradient fill */
.hero__title {
  margin: 0 0 1rem;
  padding: 0.12em 0.2em; /* keep gradient fill from clipping glyph edges */
  font-family: var(--font-cta);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.85vw, 3.2rem); /* ever so slightly larger */
  line-height: 1.3;
  letter-spacing: -0.04em; /* tighter tracking */
  white-space: nowrap;
  overflow: visible;
  text-transform: none;
  color: #f3eee2;
  /* Forever: linear-gradient(#f3eee2 → #e2c2ab) */
  background: linear-gradient(180deg, #f3eee2 0%, #e2c2ab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0; /* original weight — no fake-bold stroke */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero__sub {
  margin: 0 auto 1.6rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-copy);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

/* Forever-style platform availability row */
.hero__platforms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.hero__platforms-label {
  margin: 0;
  font-family: var(--font-copy);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero__platforms-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #fff;
}

.hero__platform-icon {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

/* Forever masthead CTAs: 48px tall, sharp corners, flat fill, display serif ~20px */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  min-height: 3rem;
  min-width: 8.5rem;
  padding: 0 1.65rem;
  border-radius: 0;
  font-family: var(--font-cta);
  font-size: 1.25rem; /* 20px — Forever masthead CTA */
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #f7f4ec;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow: none;
  filter: none;
  transform: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: none;
  filter: none;
}

.btn--primary {
  background: #2f6f78;
  border: 1px solid rgba(190, 220, 220, 0.35);
}

.btn--primary:hover {
  background: #387f88;
}

.btn--secondary {
  background: #2a4f6e;
  border: 1px solid rgba(150, 190, 220, 0.4);
}

.btn--secondary:hover {
  background: #345f82;
}

.hero__meta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b7c6d6;
  text-shadow: var(--shadow-copy);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  width: 18px;
  height: 28px;
  border: 1px solid rgba(197, 208, 220, 0.35);
  border-radius: 999px;
  opacity: 0.65;
}

.scroll-hint span {
  display: block;
  width: 3px;
  height: 6px;
  margin: 6px auto 0;
  border-radius: 999px;
  background: var(--champagne-bright);
  animation: tip 1.6s ease-in-out infinite;
}

@keyframes tip {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 1; }
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.15rem 1.25rem;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.95), rgba(10, 21, 36, 0.98));
}

.divider__line {
  height: 1px;
  width: min(220px, 28vw);
  background: linear-gradient(90deg, transparent, rgba(197, 208, 220, 0.5), transparent);
}

.divider__gem {
  width: 8px;
  height: 8px;
  rotate: 45deg;
  border: 1px solid rgba(217, 210, 195, 0.7);
  background: radial-gradient(circle at 30% 30%, #ece6d8, #8e8779);
}

.divider--muted .divider__line {
  background: linear-gradient(90deg, transparent, rgba(142, 184, 212, 0.35), transparent);
}

.divider--muted .divider__gem {
  border-color: rgba(142, 184, 212, 0.6);
  background: radial-gradient(circle at 30% 30%, #d5e8f5, #5c849e);
}

.section-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-kicker {
  margin: 0 0 0.45rem;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--champagne);
  text-shadow: var(--shadow-copy);
}

.section-title {
  margin: 0 0 0.7rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--champagne-bright);
  text-shadow: var(--shadow-title);
}

.section-title--sm {
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  margin-bottom: 1.25rem;
}

.section-lead {
  margin: 0 auto 2.25rem;
  max-width: 34rem;
  text-align: center;
  color: var(--muted);
  text-shadow: var(--shadow-copy);
}

.how {
  padding: clamp(3.5rem, 9vh, 5rem) 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(24, 51, 82, 0.4), transparent 60%),
    linear-gradient(180deg, #0b1728 0%, #0a1422 100%);
}

.path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.path__item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(197, 208, 220, 0.14);
  border-radius: 0.35rem;
  background: linear-gradient(180deg, rgba(16, 28, 44, 0.55), rgba(8, 14, 24, 0.72));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms ease, transform 700ms ease, border-color 200ms ease;
}

.path__item.is-in {
  opacity: 1;
  transform: none;
}

.path__item:nth-child(2) { transition-delay: 90ms; }
.path__item:nth-child(3) { transition-delay: 180ms; }

.path__item:hover { border-color: rgba(217, 210, 195, 0.35); }

.path__index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--champagne);
  text-shadow: var(--shadow-copy);
  padding-top: 0.1rem;
}

.path__body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: var(--shadow-copy);
}

.path__body p {
  margin: 0;
  color: var(--muted);
}

.platforms {
  padding: clamp(2.75rem, 7vh, 4rem) 0;
  background: linear-gradient(180deg, #121820 0%, #0c1016 100%);
  border-top: 1px solid rgba(197, 208, 220, 0.08);
}

.platforms__inner { text-align: center; }

.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
}

.platform-list li {
  position: relative;
  padding: 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-shadow: var(--shadow-copy);
}

.platform-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.85rem;
  top: 50%;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: rgba(197, 208, 220, 0.4);
}

.footer {
  border-top: 1px solid rgba(197, 208, 220, 0.1);
  background: #07090e;
  padding: 2rem 1.25rem 2.5rem;
}

.footer__inner {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
}

.footer img {
  width: 5.75rem;
  opacity: 0.85;
}

.footer p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 0.75rem 0;
  }

  .nav-bar__inner {
    position: relative;
    width: 100%;
    height: 3.5rem;
    min-height: 3.5rem;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.55rem 0 0.35rem;
  }

  .nav-left {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 100%;
    gap: 0;
  }

  .nav-brand {
    width: 8.75rem;
    height: 100%;
    margin-left: 0.35rem;
  }

  .nav-brand img {
    height: 3.6rem;
    max-width: 100%;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 60;
    margin: 0;
    padding: 0.4rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    height: auto;
    border-radius: 0.5rem;
    border: 1px solid rgba(142, 184, 212, 0.12);
    background: rgba(24, 42, 68, 0.92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
  }

  .nav-bar.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    height: 2.75rem;
    justify-content: flex-start;
    padding: 0 0.9rem;
    font-size: 1rem;
  }

  .nav-right {
    flex: 0 0 auto;
    width: auto;
    height: 100%;
    gap: 0.45rem;
  }

  .nav-ghost {
    display: inline-flex;
  }

  .nav-cta {
    height: 2.5rem;
    min-height: 2.5rem;
    padding: 0 0.95rem;
    font-size: 0.92rem;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    padding-top: 5.25rem;
  }

  .hero__media {
    background-position: 32% center;
  }

  .hero__wash {
    background:
      linear-gradient(180deg, rgba(5, 10, 18, 0.55) 0%, rgba(5, 10, 18, 0.28) 38%, rgba(5, 10, 18, 0.78) 100%),
      linear-gradient(90deg, rgba(5, 10, 18, 0.35) 0%, rgba(5, 10, 18, 0.55) 100%);
  }

  .hero__frame {
    width: min(1240px, calc(100% - 1.5rem));
    justify-content: center;
    padding: 0.75rem 0 3.5rem;
  }

  .hero__content {
    width: 100%;
  }

  .hero__logo {
    width: min(16.5rem, 72vw);
    margin: 0.25rem auto 1.5rem;
  }

  .hero__kicker {
    font-size: clamp(1rem, 4.6vw, 1.18rem);
    letter-spacing: 0.05em;
    -webkit-text-stroke: 0;
  }

  .hero__title {
    white-space: normal;
    font-size: clamp(1.65rem, 7.2vw, 2.35rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    padding: 0;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #f3eee2;
    color: #f3eee2;
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.85),
      0 8px 24px rgba(0, 0, 0, 0.65);
  }

  .hero__sub {
    max-width: 28rem;
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .hero__actions {
    gap: 0.55rem;
  }

  .hero__actions .btn {
    flex: 0 1 auto;
    height: 2.55rem;
    min-height: 2.55rem;
    min-width: 7.5rem;
    padding: 0 1.15rem;
    font-size: 0.98rem;
  }

  .scroll-hint {
    display: none;
  }

  .section-wrap {
    padding: 0 1rem;
  }

  .section-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .section-lead {
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
  }

  .how {
    padding: 2.75rem 0 3rem;
  }

  .path {
    gap: 0.7rem;
  }

  .path__item {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem 0.95rem;
  }

  .path__index {
    font-size: 1.2rem;
  }

  .path__body h3 {
    font-size: 0.95rem;
  }

  .path__body p {
    font-size: 0.92rem;
    color: var(--ink-soft);
  }

  .platforms {
    padding: 2.25rem 0 2.5rem;
  }

  .platform-list {
    gap: 0.55rem 1.15rem;
  }

  .platform-list li {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .platform-list li:not(:last-child)::after {
    right: -0.65rem;
  }

  .footer {
    padding: 1.75rem 1rem 3.25rem;
  }
}

@media (max-width: 420px) {
  .nav-brand {
    width: 7.5rem;
  }

  .nav-brand img {
    height: 3.15rem;
  }

  .nav-cta {
    padding: 0 0.8rem;
    font-size: 0.88rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: min(18rem, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions .btn {
    width: 100%;
    flex: none;
    min-width: 0;
    height: 2.45rem;
    min-height: 2.45rem;
    font-size: 0.95rem;
  }
}

/* Account menu + auth modal (Battle.net-style website gate) */
.nav-account {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-account__toggle {
  background: rgba(255, 255, 255, 0.08);
  padding: 0 1rem;
}

.nav-account__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-account__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.85;
}

.nav-account__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 16.5rem;
  padding: 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(142, 184, 212, 0.14);
  background: rgba(24, 42, 68, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 0.4rem;
  z-index: 60;
}

.nav-account__label {
  margin: 0 0 0.25rem;
  padding: 0 0.35rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-family: var(--font-nav);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.nav-account__label strong {
  color: #fff;
  font-weight: 700;
}

.nav-account__menu button,
.nav-account__menu a {
  appearance: none;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: #fff;
  text-align: left;
  padding: 0.65rem 0.7rem;
  font-family: var(--font-nav);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
    white-space: nowrap;
}

.nav-account__menu button:hover,
.nav-account__menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.auth-open {
  overflow: hidden;
}

.auth-modal[hidden] {
  display: none !important;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.72);
  backdrop-filter: blur(6px);
}

.auth-modal__panel {
  position: relative;
  width: min(26rem, 100%);
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(142, 184, 212, 0.2);
  background:
    linear-gradient(180deg, rgba(18, 32, 48, 0.98), rgba(8, 14, 24, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.auth-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.auth-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.auth-modal__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-modal__lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-modal__lead strong {
  color: var(--ink);
}

.auth-modal__split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.65rem;
  margin: 0.95rem 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-modal__split::before,
.auth-modal__split::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-modal__switch {
  margin: 0.95rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-modal__switch button,
.auth-modal__switch a {
  appearance: none;
  border: 0;
  background: none;
  color: var(--ice);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn--discord {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #5865f2;
  color: #fff;
}

.btn--discord:hover {
  background: #6875f5;
}

.btn--discord svg {
  width: 1.15rem;
  height: 1.15rem;
}

.btn--ghost {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(142, 184, 212, 0.28);
  color: var(--ink-soft);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.welcome-actions {
  display: grid;
  gap: 0.65rem;
}

.welcome-actions .btn {
  width: 100%;
  text-align: center;
}

.auth-form {
  display: grid;
  gap: 0.85rem;
}

.auth-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.8rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(142, 184, 212, 0.22);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: 500 1rem/1.2 var(--font-body);
}

.auth-form input:focus {
  outline: 2px solid rgba(79, 150, 173, 0.55);
  outline-offset: 1px;
}

.auth-form__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-form__error {
  margin: 0;
  color: #f0b4b4;
  font-size: 0.9rem;
}

.auth-form__submit {
  width: 100%;
  margin-top: 0.2rem;
  }

  .btn {
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-account__menu {
    right: 0;
    left: auto;
    width: min(16rem, calc(100vw - 1.75rem));
    min-width: 0;
    z-index: 80;
  }

  .nav-account__label {
    overflow-wrap: anywhere;
  }
}

/* Account dashboard — same absolute nav as home; pad content below it */
.account-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(79, 150, 173, 0.12), transparent 45%),
    linear-gradient(180deg, #07111d 0%, #050a12 55%, #04080f 100%);
}

.account-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 7.25rem auto 3rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
}

.account-card--wide {
  grid-column: 1 / -1;
}

.auth-form__success {
  margin: 0;
  color: #7dcea0;
  font-size: 0.9rem;
}

.account-side {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(142, 184, 212, 0.14);
  background: rgba(8, 16, 28, 0.72);
  height: fit-content;
}

.account-side__kicker {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-side__nav {
  display: grid;
  gap: 0.25rem;
}

.account-side__nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.45rem;
  color: var(--ink-soft);
  font-family: var(--font-nav);
  font-weight: 600;
}

.account-side__nav a:hover,
.account-side__nav a.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.account-side__nav a.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 3px;
  border-radius: 999px;
  background: #4f96ad;
}

.account-side__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: block;
  opacity: 0.95;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

.account-main {
  min-width: 0;
}

.account-main__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.account-main__title {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.account-card {
  padding: 1.15rem 1.2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(142, 184, 212, 0.14);
  background: rgba(10, 18, 30, 0.78);
}

.account-card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-nav);
  font-size: 1.05rem;
}

.account-card__copy {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.account-dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.account-dl div {
  display: grid;
  gap: 0.2rem;
}

.account-dl dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-dl dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.account-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.account-checklist li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--muted);
}

.account-checklist li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.account-checklist li.is-done {
  color: var(--ink-soft);
}

.account-checklist li.is-done::before {
  content: "✓";
  color: #7dcea0;
}

.account-gate {
  padding: 2rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(142, 184, 212, 0.14);
  background: rgba(10, 18, 30, 0.78);
  text-align: center;
}

.account-gate h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
}

.account-gate p {
  margin: 0 0 1rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-grid,
  .account-main__head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .account-main__head .btn {
    width: 100%;
  }
}

/* Launcher fills the first screen. The realm story scrolls in below it. */
body.home {
  min-height: 100svh;
  overflow-x: hidden;
}

body.home .hero {
  height: 100svh;
  min-height: 100svh;
}

.stage {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.stage__viewport {
  height: 100%;
  overflow: hidden;
}

.stage__track {
  display: flex;
  height: 100%;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.stage.is-instant .stage__track {
  transition: none;
}

.stage__panel {
  height: 100%;
  flex: 0 0 auto;
  display: flex;
  align-items: safe center;
  justify-content: center;
  padding: 5.25rem 1.25rem 1.5rem;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: none;
}

.stage__panel.is-live {
  pointer-events: auto;
}

.widget {
  width: min(36rem, calc(100vw - 2rem));
  text-align: center;
}

.widget .hero__logo {
  width: min(22rem, 70vw);
  margin: 0 auto 0.85rem;
}

.widget .hero__title {
  white-space: normal;
}

.widget .hero__actions,
.widget .auth-form,
.widget .auth-form__submit,
.widget .hero__actions .btn {
  width: 100%;
}

.widget .hero__actions {
  max-width: none;
}

.hero__title--form,
.hero__title--name {
  white-space: normal;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
}

.hero__actions--stack {
  flex-direction: column;
  align-items: stretch;
}

.sheet {
  width: min(28rem, 100%);
  margin: 0.15rem auto 0;
  padding: 1.05rem 1.05rem 0.9rem;
  text-align: left;
  background: linear-gradient(180deg, rgba(16, 30, 46, 0.88), rgba(7, 13, 22, 0.92));
  border: 1px solid rgba(201, 184, 150, 0.34);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.stage .auth-form {
  width: 100%;
  margin: 0;
  text-align: left;
  gap: 0.72rem;
}

.stage .field {
  display: grid;
  gap: 0.32rem;
  margin: 0;
}

.stage .field span {
  display: block;
  height: 0.95rem;
  line-height: 0.95rem;
  font-family: var(--font-copy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d9d2c3;
  white-space: nowrap;
}

.stage .field input {
  display: block;
  width: 100%;
  height: 3rem;
  min-height: 3rem;
  margin: 0;
  padding: 0 0.85rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(201, 184, 150, 0.42);
  background-color: rgba(4, 9, 16, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #f7f4ec;
  font-family: var(--font-cta);
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  -webkit-appearance: none;
  appearance: none;
}

.stage .field input:focus {
  outline: none;
  border-color: rgba(232, 214, 176, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(232, 214, 176, 0.35);
}

.stage .field input:-webkit-autofill,
.stage .field input:-webkit-autofill:hover,
.stage .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f7f4ec;
  caret-color: #f7f4ec;
  box-shadow: 0 0 0 1000px #0c1624 inset;
  transition: background-color 9999s ease-out;
}

.sheet .btn,
.sheet .auth-form__submit {
  width: 100%;
  height: 3rem;
  min-height: 3rem;
  margin-top: 0.15rem;
}

.widget--board {
  width: min(46rem, calc(100vw - 2rem));
}

.widget--board .hero__logo {
  width: min(16rem, 58vw);
  margin-bottom: 0.45rem;
}

.board {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 0.85rem;
  margin-top: 0.2rem;
  text-align: left;
}

.board__card {
  padding: 1rem 1rem 1.05rem;
  background: linear-gradient(180deg, rgba(16, 30, 46, 0.88), rgba(7, 13, 22, 0.92));
  border: 1px solid rgba(201, 184, 150, 0.34);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.board__card h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-cta);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #f3eee2;
}

.board__rows,
.board__actions {
  display: grid;
  gap: 0.6rem;
}

.board__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(201, 184, 150, 0.42);
  background: rgba(4, 9, 16, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.board__row span {
  font-family: var(--font-copy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d9d2c3;
}

.board__row strong {
  font-family: var(--font-cta);
  font-size: 1.05rem;
  font-weight: 400;
  color: #f7f4ec;
  text-align: right;
}

.board__actions .btn {
  width: 100%;
}

.stage .auth-modal__switch {
  margin-top: 0.7rem;
  font-family: var(--font-copy);
}

.stage__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  height: 3rem;
  min-height: 3rem;
  margin: 0.9rem 0 0;
  padding: 0 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 184, 150, 0.38);
  background: #1c2c44;
  box-shadow: none;
  color: #f7f4ec;
  font-family: var(--font-cta);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  cursor: pointer;
}

.stage__back::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin: 0 0.05rem 0 0;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.stage__back:hover {
  color: #fff;
  background: #243656;
  border-color: rgba(201, 184, 150, 0.55);
}

.stage__back:active {
  transform: none;
}

@media (max-width: 900px) {
  .widget .hero__logo {
    width: min(14rem, 62vw);
    margin-bottom: 0.55rem;
  }

  .board {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 540px) {
  .stage__panel {
    padding-top: 5.5rem;
    padding-bottom: 0.35rem;
  }

  .widget .hero__logo,
  .app-shell .hero__logo {
    display: none;
  }

  .app-shell {
    gap: 0.65rem;
    min-height: 0;
    padding: 0.75rem 0.8rem;
    border-radius: 1rem;
  }

  [data-stage-panel="pitch"] .app-deck,
  [data-stage-panel="ready"] .app-deck {
    display: none;
  }

  .stage .hero__sub,
  .stage .hero__platforms,
  .stage .hero__kicker,
  .stage .auth-form__hint {
    display: none;
  }

  .sheet {
    padding: 0.4rem 0.7rem 0.35rem;
  }

  .board {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0.45rem;
  }

  .board__card {
    padding: 0.55rem 0.65rem 0.6rem;
  }

  .board__card h2 {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
  }

  .stage .hero__title,
  .stage .hero__title--form,
  .stage .hero__title--name {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
  }

  .stage .auth-form {
    gap: 0.3rem;
  }

  .stage .field input,
  .stage .btn,
  .stage .auth-form__submit,
  .sheet .btn,
  .board__row {
    height: 1.85rem;
    min-height: 1.85rem;
    font-size: 0.95rem;
  }

  .stage .auth-modal__switch,
  .stage__back {
    margin-top: 0.25rem;
  }
}

.app-shell {
  width: min(1180px, calc(100vw - 3rem));
  min-height: calc(100svh - 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 1.25rem 1.35rem 1.7rem;
  border-radius: 1.75rem;
  text-align: left;
  background: linear-gradient(105deg, rgba(8, 14, 24, 0.42) 0%, rgba(8, 14, 24, 0.74) 46%, rgba(6, 11, 18, 0.9) 100%);
  border: 1px solid rgba(201, 184, 150, 0.3);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.app-shell .hero__logo {
  width: min(16rem, 78%);
  margin: 0 0 0.35rem;
}

.app-shell .hero__kicker,
.app-shell .hero__title,
.app-shell .hero__sub {
  text-align: left;
}

.app-shell .hero__title,
.app-shell .hero__title--form,
.app-shell .hero__title--name {
  white-space: normal;
  font-size: clamp(2.15rem, 3.6vw, 3.15rem);
  line-height: 1.08;
  margin-bottom: 0.7rem;
}

.app-shell .hero__sub {
  margin: 0 0 1.15rem;
  max-width: 28rem;
}

.app-shell .hero__actions {
  justify-content: flex-start;
  margin-bottom: 0.35rem;
}

.app-shell .btn,
.sheet .btn {
  border-radius: 999px;
  padding-inline: 1.45rem;
}

.app-shell .btn--primary,
.sheet .btn--primary {
  box-shadow: 0 12px 28px rgba(47, 111, 120, 0.4);
}

.app-shell .stage__back {
  width: fit-content;
  margin: 0.85rem 0 0;
  text-align: left;
}

.app-deck {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.app-deck .sheet {
  width: 100%;
  margin: 0;
  border-radius: 1.35rem;
}

.glass {
  border-radius: 1.25rem;
  padding: 1rem 1.05rem 1.05rem;
  background: linear-gradient(180deg, rgba(16, 28, 42, 0.9), rgba(8, 14, 24, 0.94));
  border: 1px solid rgba(201, 184, 150, 0.32);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.glass--accent {
  border-color: rgba(143, 196, 206, 0.55);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(47, 111, 120, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass--shift { margin-left: 1.1rem; }
.glass--quiet { margin-left: 0.4rem; }

.glass__kicker {
  margin: 0 0 0.2rem;
  font-family: var(--font-copy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9d2c3;
}

.glass h2 {
  margin: 0 0 0.3rem;
  font-family: var(--font-cta);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
  color: #f3eee2;
}

.glass p:not(.glass__kicker) {
  margin: 0;
  font-family: var(--font-copy);
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(243, 238, 226, 0.84);
}

button.glass {
  display: block;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.glass:hover {
  border-color: rgba(232, 214, 176, 0.7);
}

.app-deck .board__row {
  border-radius: 0.7rem;
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
    width: min(36rem, calc(100vw - 1.25rem));
    min-height: 0;
    gap: 0.8rem;
    padding: 1rem 0.9rem;
  }

  .glass--shift,
  .glass--quiet {
    margin-left: 0;
  }

  .app-shell .hero__logo {
    width: min(11rem, 56vw);
  }

  [data-stage-panel="pitch"] .glass--quiet {
    display: none;
  }

  .glass {
    padding: 0.75rem 0.85rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media,
  .hero__content,
  .path__item,
  .scroll-hint span {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .stage__track {
    transition: none;
  }
}

/* Launcher window. Art stays put. Pages slide inside the panel beside it. */
body.home {
  display: block;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(47, 111, 120, 0.16), transparent 52%),
    #060b12;
}

.home-screen {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

.realm {
  width: min(1180px, calc(100vw - 1.5rem));
  margin: 0 auto 2.75rem;
  color: #e7e1d4;
}

.realm__inner {
  padding: 0.4rem 0.35rem 0.2rem;
}

.realm__kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-copy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fd7e2;
}

.realm h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-cta);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1.05;
  color: #f7f3ea;
}

.realm h2 + p,
.realm p {
  max-width: 44rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-copy);
  font-size: 1.02rem;
  line-height: 1.6;
  color: #d9d3c6;
}

.realm__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.35rem 0 2.1rem;
  padding: 0;
  list-style: none;
}

.realm__facts li {
  margin: 0;
  padding: 0.95rem 0.9rem 1rem;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #162033 0%, #10182a 100%);
  border: 1px solid rgba(201, 184, 150, 0.24);
}

.realm__facts strong {
  display: block;
  margin-bottom: 0.28rem;
  font-family: var(--font-cta);
  font-size: 1.2rem;
  font-weight: 400;
  color: #f7f3ea;
}

.realm__facts span {
  display: block;
  font-family: var(--font-copy);
  font-size: 0.86rem;
  line-height: 1.45;
  color: #c9d0dc;
}

.realm__faq {
  display: grid;
  gap: 0.95rem;
  margin: 0.4rem 0 0;
}

.realm__faq h3 {
  margin: 0 0 0.28rem;
  font-family: var(--font-cta);
  font-size: 1.2rem;
  font-weight: 400;
  color: #f7f3ea;
}

.realm__legal {
  max-width: 46rem;
  margin-top: 1.8rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #8ea0b4;
}

.realm a {
  color: #9fd8e2;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.dock {
  width: min(1180px, calc(100vw - 1.5rem));
  height: min(740px, calc(100svh - 1.5rem));
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.7rem;
  box-sizing: border-box;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, #162033 0%, #10182a 100%);
  border: 1px solid rgba(201, 184, 150, 0.24);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.dock .nav-bar {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  padding: 0;
  pointer-events: auto;
  z-index: 5;
}

.dock .nav-bar__inner {
  width: 100%;
  height: 4.15rem;
  min-height: 0;
  margin: 0;
}

.dock .nav-brand img {
  height: 4.05rem;
}

.dock__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: block;
}

.dock__art {
  position: absolute;
  inset: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #070d16;
}

.dock__slides {
  position: absolute;
  inset: 0;
}

.dock__slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
}

.dock__slide--throne {
  background-image: url("assets/throne.jpg");
  background-position: 68% center;
  opacity: 1;
}

.dock__slide--mobile {
  background-image: url("assets/mobileslide.png");
  background-position: 72% center;
}

.dock.is-hero-mobile .dock__slide--throne {
  opacity: 0;
}

.dock.is-hero-mobile .dock__slide--mobile {
  opacity: 1;
}

.dock__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #02060c;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.dock.is-hero-fading .dock__veil {
  opacity: 0.92;
}

.dock__art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 10, 18, 0.78) 0%, rgba(5, 10, 18, 0.22) 46%, rgba(5, 10, 18, 0) 70%);
}

.dock__art-caption {
  display: none;
}

.dock .stage {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
  z-index: 1;
  border-radius: 1.15rem;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.dock .stage__viewport,
.dock .stage__track,
.dock .stage__panel {
  height: 100%;
}

.dock .stage__panel {
  padding: 0.85rem 1.4rem;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.dock .stage__panel:not([data-layout="home"]) {
  justify-content: flex-end;
}

.dock .stage__panel:not([data-layout="home"]) .pane {
  width: min(24rem, 46%);
  margin: 0;
  padding: 0.95rem 1.1rem 1rem;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.96), rgba(8, 14, 24, 0.98));
  border: 1px solid rgba(201, 184, 150, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.dock .stage__panel:not([data-layout="home"]) .hero__kicker {
  margin-bottom: 0.15rem;
}

.dock .stage__panel:not([data-layout="home"]) .hero__title {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.dock .stage__panel:not([data-layout="home"]) .hero__sub {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.dock .stage__panel:not([data-layout="home"]) .auth-form {
  gap: 0.4rem;
}

.dock .stage__panel:not([data-layout="home"]) .field {
  gap: 0.18rem;
}

.dock .stage__panel:not([data-layout="home"]) .field input,
.dock .stage__panel:not([data-layout="home"]) .btn,
.dock .stage__panel:not([data-layout="home"]) .stage__back {
  height: 2.55rem;
  min-height: 2.55rem;
}

.dock .stage__panel:not([data-layout="home"]) .auth-modal__switch {
  margin-top: 0.4rem;
}

.dock .stage__panel:not([data-layout="home"]) .stage__back {
  margin-top: 0.5rem;
}

.pane {
  width: min(24rem, 100%);
  margin: 0 auto;
  text-align: left;
}

.pane .hero__kicker {
  margin: 0 0 0.35rem;
  padding: 0.08em 0.2em 0.08em 0.16em;
  font-size: 0.95rem;
  text-align: left;
}

.pane .hero__title,
.pane .hero__title--form,
.pane .hero__title--name {
  white-space: normal;
  text-align: left;
  font-size: clamp(1.85rem, 2.5vw, 2.45rem);
  line-height: 1.08;
  margin: 0 0 0.45rem;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #f6f1e6;
  color: #f6f1e6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.pane .hero__sub {
  margin: 0 0 1rem;
  max-width: none;
  text-align: left;
  font-size: 0.98rem;
}

.pane .hero__actions,
.pane .auth-form,
.pane .btn {
  width: 100%;
}

.pane .hero__actions {
  justify-content: stretch;
  margin-bottom: 0.35rem;
}

.pane .btn {
  border-radius: 999px;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  background: none;
  border: 0;
}

.platforms li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.55rem 0.3rem;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(201, 184, 150, 0.32);
  background: rgba(4, 9, 16, 0.45);
  font-family: var(--font-copy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3eee2;
}

.platforms svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.pane--pitch {
  width: min(24rem, 42%);
  margin: 0;
}

.pane--pitch .hero__title {
  font-size: clamp(2.45rem, 3.8vw, 3.45rem);
  line-height: 0.96;
  margin-bottom: 0.85rem;
  -webkit-text-fill-color: #f7f3ea;
  color: #f7f3ea;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero__title-window {
  display: grid;
  overflow: hidden;
}

.hero__title-line {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero__title-line[data-hero-line="throne"] {
  opacity: 1;
}

.dock.is-hero-mobile .hero__title-line[data-hero-line="throne"] {
  opacity: 0;
}

.dock.is-hero-mobile .hero__title-line[data-hero-line="mobile"] {
  opacity: 1;
}

.dock.is-hero-fading .hero__title-line[data-hero-line] {
  opacity: 0;
}

.pane--pitch .hero__title::after {
  content: "";
  display: block;
  width: 8.5rem;
  height: 3px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #5aefff, rgba(90, 239, 255, 0));
  box-shadow: 0 0 14px rgba(90, 239, 255, 0.75);
}

.pane--pitch .hero__sub {
  max-width: 22rem;
  color: #f4f0e6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.pane--pitch .platforms {
  display: flex;
  flex-wrap: wrap;
  width: auto;
  margin-bottom: 1.15rem;
}

.pane--dash .platforms {
  margin-bottom: 0;
}

.pane--pitch .platforms li {
  width: auto;
  padding: 0.45rem 0.75rem;
  background: rgba(6, 12, 20, 0.62);
}

.pane--pitch .hero__actions {
  max-width: 22rem;
}

.pane--pitch .btn--primary {
  background: #1f8f9a;
  border-color: rgba(186, 246, 255, 0.6);
  box-shadow: 0 0 22px rgba(62, 214, 230, 0.45), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.dash__links {
  max-width: 22rem;
  margin: 0.15rem 0 0;
}

.dash__links button {
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  color: #9fd8e2;
  font-family: var(--font-copy);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.dash__links button:hover {
  color: #d7f6fb;
}

.pane--dash {
  width: 100%;
  max-width: none;
}

.pane--dash .hero__kicker,
.pane--dash .hero__title,
.pane--dash .hero__sub {
  width: min(24rem, 42%);
  max-width: 100%;
}

.dash__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.dash__row .platforms {
  width: auto;
  margin: 0;
  flex: 0 1 auto;
}

.pane .dash__play {
  position: static;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  width: min(20rem, 36%);
  height: 3.5rem;
  min-height: 3.5rem;
  font-size: 1.4rem;
  border-radius: 999px;
  background: #1f8f9a;
  border-color: rgba(186, 246, 255, 0.6);
  box-shadow: 0 0 18px rgba(62, 214, 230, 0.4);
}

.dash__play:hover {
  background: #27a2ae;
  transform: none;
}

.pane--account .hero__kicker {
  display: block;
  padding-left: 0.12em;
}

.account-sheet {
  width: 100%;
  margin: 0.15rem 0 0.85rem;
  padding: 0.35rem 0;
  border-radius: 0.85rem;
  border: 1px solid rgba(201, 184, 150, 0.28);
  background: rgba(6, 12, 20, 0.5);
}

.account-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.15rem;
  padding: 0.4rem 0.9rem;
  border-bottom: 1px solid rgba(201, 184, 150, 0.14);
}

.account-line:last-child {
  border-bottom: 0;
}

.account-line span {
  font-family: var(--font-copy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: #c9c2b2;
}

.account-line strong {
  font-family: var(--font-cta);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
  text-align: right;
  color: #f7f3ea;
}

.account-sheet__label {
  margin: 0 0 0.45rem;
  font-family: var(--font-copy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
  color: #c9c2b2;
}

.account-roster {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.account-char {
  display: grid;
  justify-items: end;
  gap: 0.12rem;
  text-align: right;
}

.account-char strong {
  font-family: var(--font-cta);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: #f7f3ea;
}

.account-char.is-online strong::before {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 8px rgba(61, 220, 132, 0.75);
  transform: translateY(-0.05rem);
}

.account-char span,
.account-roster__empty {
  margin: 0;
  font-family: var(--font-copy);
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: right;
  color: #d7d0c2;
}

.pane--account .stage__back {
  margin-top: 0.15rem;
}

.dock .stage__panel[data-stage-panel="profile"] {
  overflow-y: auto;
}

.pane--secure .board__row {
  min-height: 2.45rem;
  border-radius: 999px;
  background: rgba(6, 12, 20, 0.62);
}

.pane--secure .auth-form {
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.pane--secure .field {
  gap: 0.18rem;
}

.pane--secure .field input,
.pane--secure .btn,
.pane--secure .stage__back {
  height: 2.55rem;
  min-height: 2.55rem;
}

.pane--secure .stage__back {
  margin-top: 0.55rem;
}

.pane__menu {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.9rem;
  width: 100%;
}

.pane__menu button {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  column-gap: 0.75rem;
  width: 100%;
  height: 3rem;
  min-height: 3rem;
  margin: 0;
  padding: 0 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 184, 150, 0.38);
  background: #1c2c44;
  box-shadow: none;
  color: #f7f4ec;
  cursor: pointer;
  font-family: var(--font-cta);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.pane__menu button span {
  text-align: left;
}

.pane__menu button::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(247, 244, 236, 0.85);
  border-top: 2px solid rgba(247, 244, 236, 0.85);
  transform: rotate(45deg);
}

.pane__menu strong {
  font-family: var(--font-cta);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: none;
  color: #f7f4ec;
  white-space: nowrap;
}

.pane__menu button:hover {
  background: #243656;
  border-color: rgba(201, 184, 150, 0.55);
}

.pane__menu button:active {
  transform: none;
  box-shadow: none;
}

.pane .board__rows {
  margin-bottom: 0.85rem;
}

.pane .stage__back {
  margin: 0.9rem 0 0;
}

@media (max-width: 860px) {
  html,
  body.home {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.home {
    position: static;
    width: auto;
    display: block;
  }

  .home-screen {
    height: 100dvh;
    min-height: 100dvh;
    display: block;
  }

  .realm__facts {
    grid-template-columns: 1fr 1fr;
  }

  .dock {
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: 0;
    gap: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #070d16;
  }

  .dock .nav-bar {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    right: 0.55rem;
    z-index: 30;
  }

  .dock .nav-bar__inner {
    height: 3.15rem;
    border-radius: 0.85rem;
    background: rgba(24, 42, 68, 0.94);
    border-color: rgba(142, 184, 212, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  }

  .dock__stage {
    position: absolute;
    inset: 0;
    display: block;
  }

  .dock__art {
    position: absolute;
    inset: 0;
    border-radius: 0;
  }

  .dock__art-caption {
    display: none;
  }

  .dock__art::after {
    background: linear-gradient(180deg, rgba(5, 10, 18, 0.15) 0%, rgba(5, 10, 18, 0.2) 42%, rgba(5, 10, 18, 0.88) 100%);
  }

  .dock .stage {
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
    top: auto;
    height: auto;
    max-height: calc(100% - 5.2rem);
    border-radius: 1.2rem;
    background: rgba(8, 14, 24, 0.92);
    overflow: hidden;
  }

  .dock .stage__viewport {
    height: auto;
    max-height: inherit;
    overflow: hidden;
  }

  .dock .stage__track {
    display: block;
    height: auto;
    transform: none !important;
  }

  .dock .stage__panel {
    display: none;
    width: 100% !important;
    height: auto;
    max-height: calc(100dvh - 6.4rem);
    padding: 1.05rem 1rem 1.1rem;
    overflow: hidden;
    align-items: flex-start;
  }

  .dock .stage__panel.is-live {
    display: flex;
    overflow: hidden;
  }

  .dock .stage:has([data-stage-panel="profile"].is-live) .stage__panel {
    overflow-y: auto;
    max-height: calc(100dvh - 5.6rem);
    padding-left: 1.2rem;
    padding-top: 1.15rem;
  }

  .pane--account {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .dock__slide--throne {
    background-position: center 4.25rem;
    background-size: 240% auto;
  }

  .dock__slide--mobile {
    background-position: 70% top;
    background-size: cover;
  }

  .dock .stage:has([data-layout="home"].is-live) {
    background: linear-gradient(180deg, rgba(8, 14, 24, 0.12) 0%, rgba(8, 14, 24, 0.9) 26%, rgba(8, 14, 24, 0.96) 100%);
    border: 0;
  }

  .dock .stage:has([data-stage-panel="ready"].is-live) {
    overflow: visible;
    bottom: 0.2rem;
  }

  .dock .stage:has([data-stage-panel="ready"].is-live) .stage__viewport,
  .dock .stage:has([data-stage-panel="ready"].is-live) .stage__panel {
    overflow: visible;
  }

  .dock .stage:has([data-stage-panel="ready"].is-live) .stage__panel {
    padding-bottom: 1.35rem;
    padding-left: 1.15rem;
  }

  .pane--dash .hero__kicker,
  .pane--dash .hero__title,
  .pane--dash .hero__sub {
    width: 100%;
  }

  .pane .dash__play {
    width: 7.6rem;
    height: 2.55rem;
    min-height: 2.55rem;
    font-size: 1rem;
    box-shadow: 0 0 12px rgba(62, 214, 230, 0.55);
  }

  .dash__row {
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .dash__row .platforms {
    flex-wrap: nowrap;
    gap: 0.28rem;
  }

  .pane--dash .platforms li {
    padding: 0.32rem 0.42rem;
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .pane--pitch,
  .dock .stage__panel:not([data-layout="home"]) .pane {
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .pane--pitch .hero__title {
    font-size: 2.2rem;
  }

  .pane--pitch .hero__actions,
  .pane--pitch .hero__sub {
    max-width: none;
  }

  .pane .hero__title,
  .pane .hero__title--form,
  .pane .hero__title--name {
    font-size: 1.9rem;
  }
}

@media (max-width: 640px) {
  .realm__facts {
    grid-template-columns: 1fr;
  }

  .dock .nav-bar__inner {
    height: 3.15rem;
    padding: 0 0.35rem 0 0.6rem;
    gap: 0.55rem;
  }

  .dock .nav-left {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
  }

  .dock .nav-brand {
    width: auto;
    max-width: 11rem;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .dock .nav-brand img {
    position: static;
    top: auto;
    transform: none;
    height: 2.3rem;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
  }

  .dock .nav-right {
    gap: 0.4rem;
    flex: 0 0 auto;
    min-width: 0;
  }

  .dock .nav-ghost,
  .dock .nav-account__toggle,
  .dock .nav-play {
    height: 2.35rem;
    min-height: 2.35rem;
    padding: 0 0.72rem;
    border-radius: 0.5rem;
    font-size: 0.84rem;
    gap: 0.3rem;
  }

  .dock .nav-discord {
    width: 2.35rem;
    padding: 0;
  }

  .dock .nav-discord span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .dock .nav-account__toggle [data-account-name] {
    max-width: 4.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dock .nav-icon--lg {
    width: 18px;
    height: 18px;
  }

  .dock .nav-play .nav-icon {
    width: 23.4px;
    height: 12.9px;
  }
}

@media (max-height: 540px) {
  .dock {
    width: calc(100vw - 0.5rem);
    height: calc(100svh - 0.5rem);
    padding: 0.4rem;
    gap: 0.35rem;
    border-radius: 1rem;
  }

  .dock .nav-bar__inner {
    height: 3rem;
  }

  .dock .nav-brand img {
    height: 2.5rem;
  }

  .dock__stage {
    grid-template-columns: 0.72fr 1.28fr;
    grid-template-rows: minmax(0, 1fr);
    gap: 0.4rem;
  }

  .dock__art-caption,
  .pane .hero__sub,
  .pane .pane__meta,
  .pane .auth-form__hint {
    display: none;
  }

  .dock .stage__panel {
    padding: 0.55rem 0.75rem;
  }

  .pane .hero__kicker {
    font-size: 0.72rem;
    margin-bottom: 0.15rem;
  }

  .pane .hero__title,
  .pane .hero__title--form,
  .pane .hero__title--name {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
  }

  .pane .btn:not(.dash__play),
  .dock .field input,
  .pane__menu button,
  .stage__back {
    height: 2rem;
    min-height: 2rem;
  }

  .pane .btn,
  .pane__menu button,
  .pane__menu strong,
  .stage__back {
    font-size: 1rem;
  }
}

@media (max-width: 860px) and (max-height: 540px) {
  .dock {
    width: 100%;
    height: 100%;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .dock__stage {
    position: absolute;
    inset: 0;
    display: block;
  }

  .dock__slide--throne {
    background-size: cover;
    background-position: 68% 1.15rem;
  }

  .dock__slide--mobile {
    background-size: cover;
    background-position: 68% top;
  }

  .dock__art::after {
    background: linear-gradient(90deg, rgba(5, 10, 18, 0.78) 0%, rgba(5, 10, 18, 0.28) 38%, rgba(5, 10, 18, 0) 62%);
  }

  .dock .nav-bar {
    top: 0.35rem;
    left: 0.4rem;
    right: 0.4rem;
  }

  .dock .nav-bar__inner {
    height: 2.55rem;
    padding: 0 0.4rem 0 0.55rem;
    border-radius: 0.65rem;
    background: rgba(24, 42, 68, 0.94);
  }

  .dock .nav-right {
    gap: 0.35rem;
  }

  .dock .nav-ghost,
  .dock .nav-account__toggle,
  .dock .nav-play {
    height: 1.85rem;
    min-height: 1.85rem;
    padding: 0 0.7rem;
    border-radius: 0.45rem;
    font-size: 0.8rem;
    gap: 0.25rem;
  }

  .dock .nav-icon,
  .dock .nav-icon--lg {
    width: 14px;
    height: 14px;
  }

  .dock .nav-play .nav-icon {
    width: 18.2px;
    height: 10px;
  }

  .dock .stage:has([data-layout="home"].is-live),
  body.home.is-signed .dock .stage:has([data-layout="home"].is-live) {
    left: 0.5rem;
    right: auto;
    width: min(20rem, 52%);
    bottom: 0.4rem;
    top: auto;
    max-height: none;
    background: transparent;
    border: 0;
  }

  .dock .stage:has([data-stage-panel="ready"].is-live),
  body.home.is-signed .dock .stage:has([data-stage-panel="ready"].is-live) {
    left: 0.45rem;
    right: 0.45rem;
    width: auto;
    background: transparent;
    overflow: visible;
    border-radius: 0;
    bottom: 0;
  }

  .dock .stage:has([data-layout="home"].is-live) .stage__panel {
    padding: 0.1rem 0.15rem 0.15rem;
    max-height: none;
  }

  .dock .stage:has([data-stage-panel="ready"].is-live) .stage__viewport,
  .dock .stage:has([data-stage-panel="ready"].is-live) .stage__panel {
    overflow: visible;
    border-radius: 0;
  }

  .dock .stage:has([data-stage-panel="ready"].is-live) .stage__panel {
    padding: 0.45rem 0.7rem 1.2rem 0.7rem;
    max-height: none;
  }

  .pane--dash .hero__kicker,
  .pane--dash .hero__title,
  .pane--dash .hero__sub {
    width: min(18.5rem, 46%);
  }

  .pane--pitch .hero__title {
    font-size: 1.55rem;
    margin-bottom: 0.35rem;
  }

  .pane--pitch .hero__title::after {
    width: 4.5rem;
    margin-top: 0.35rem;
  }

  .pane--pitch:not(.pane--dash) .platforms {
    margin-bottom: 0.45rem;
  }

  .dash__row .platforms {
    margin: 0;
  }

  .pane--pitch .hero__actions--stack {
    flex-direction: row;
    gap: 0.4rem;
  }

  .pane--pitch .hero__actions .btn {
    flex: 1;
    min-width: 0;
    padding: 0 0.55rem;
    font-size: 0.95rem;
  }

  .pane--dash .hero__kicker,
  .pane--dash .hero__sub {
    display: block;
  }

  .pane--dash .hero__kicker {
    font-size: 0.68rem;
    margin-bottom: 0.12rem;
  }

  .pane--dash .hero__sub {
    font-size: 0.78rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
  }

  .pane--dash .hero__title,
  .pane--secure .hero__title {
    font-size: 1.45rem;
    margin-bottom: 0.3rem;
  }

  .dock .stage:has([data-stage-panel="profile"].is-live) .stage__viewport,
  .dock .stage:has([data-stage-panel="profile"].is-live) .stage__panel {
    overflow: visible;
  }

  .dock .stage:has([data-stage-panel="profile"].is-live) .stage__panel {
    padding: 0.35rem 0.55rem 0.3rem 0.85rem;
  }

  .pane--account .hero__title {
    font-size: 1.35rem;
    margin-bottom: 0.15rem;
  }

  .pane--account .hero__kicker {
    display: block;
    font-size: 0.68rem;
    margin-bottom: 0.12rem;
  }

  .account-line {
    min-height: 1.55rem;
    padding: 0.22rem 0.6rem;
  }

  .account-line strong {
    font-size: 0.95rem;
  }

  .account-char strong {
    font-size: 1.05rem;
  }

  .account-sheet {
    margin-bottom: 0.4rem;
    padding: 0.15rem 0;
  }

  .pane--account .stage__back {
    height: 1.7rem;
    min-height: 1.7rem;
    margin-top: 0.25rem;
  }

  .pane--secure .board__rows,
  .pane--secure .auth-form__hint,
  .pane--secure .hero__sub {
    display: none;
  }

  .pane--secure {
    padding-bottom: 0.15rem;
  }

  .pane--secure .hero__title::after {
    display: none;
  }

  .pane--secure .auth-form {
    gap: 0.15rem;
    margin-top: 0.2rem;
  }

  .pane--secure .field input,
  .pane--secure .btn,
  .pane--secure .stage__back {
    height: 1.5rem;
    min-height: 1.5rem;
  }

  .pane--secure .stage__back {
    margin-top: 0.3rem;
  }

  .pane .dash__play {
    width: min(12.5rem, 34%);
    height: 2.7rem;
    min-height: 2.7rem;
    font-size: 1.08rem;
  }

  .dash__row .platforms {
    gap: 0.4rem;
  }

  .pane--dash .platforms li {
    padding: 0.4rem 0.65rem;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .dock .stage:not(:has([data-layout="home"].is-live)) {
    left: auto;
    right: 0.4rem;
    width: min(22rem, 54%);
    top: 3rem;
    bottom: 0.35rem;
    height: auto;
    max-height: none;
    background: rgba(8, 14, 24, 0.94);
  }

  .dock .stage:not(:has([data-layout="home"].is-live)) .stage__panel {
    max-height: 100%;
    padding: 0.45rem 0.65rem;
  }

  .dock .stage:not(:has([data-layout="home"].is-live)) .hero__kicker,
  .dock .stage:not(:has([data-layout="home"].is-live)) .hero__sub,
  .dock .stage:not(:has([data-layout="home"].is-live)) .auth-form__hint {
    display: none;
  }

  .dock .stage:not(:has([data-layout="home"].is-live)) .hero__title {
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
  }

  .dock .stage:not(:has([data-layout="home"].is-live)) .auth-form,
  .dock .stage:not(:has([data-layout="home"].is-live)) .field {
    gap: 0.2rem;
  }

  .dock .stage:not(:has([data-layout="home"].is-live)) .field span {
    height: auto;
    line-height: 1;
  }

  .dock .stage:not(:has([data-layout="home"].is-live)) .field input,
  .dock .stage:not(:has([data-layout="home"].is-live)) .btn,
  .dock .stage:not(:has([data-layout="home"].is-live)) .stage__back {
    height: 1.7rem;
    min-height: 1.7rem;
  }

  .dock .stage:not(:has([data-layout="home"].is-live)) .stage__back,
  .dock .stage:not(:has([data-layout="home"].is-live)) .auth-modal__switch {
    margin-top: 0.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .pane--pitch > * {
    animation: pane-rise 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .pane--pitch > :nth-child(2) { animation-delay: 80ms; }
  .pane--pitch > :nth-child(3) { animation-delay: 150ms; }
  .pane--pitch > :nth-child(4) { animation-delay: 220ms; }
}

@keyframes pane-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.dock .stage:has([data-stage-panel="players"].is-live) {
  background: rgba(6, 10, 18, 0.86);
}

.dock .stage__panel[data-stage-panel="players"] {
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
}

.dock .pane--players {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  margin: 0;
}

.players-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.players-tools .hero__sub {
  width: auto;
  max-width: none;
  margin: 0;
  text-align: right;
}

.players-search {
  width: min(22rem, 100%);
  height: 2.45rem;
  min-height: 2.45rem;
  margin: 0;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 184, 150, 0.38);
  background: rgba(6, 12, 20, 0.72);
  color: #f7f3ea;
  font-family: var(--font-copy);
  font-size: 0.95rem;
}

.players-search:focus {
  outline: none;
  border-color: rgba(90, 239, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(90, 239, 255, 0.28);
}

.players-status,
.players-empty {
  margin: 0 0 0.45rem;
  font-family: var(--font-copy);
  font-size: 0.88rem;
  color: #d5d0c4;
}

.players-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 0.85rem;
  border: 1px solid rgba(201, 184, 150, 0.28);
  background: rgba(6, 12, 20, 0.55);
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 184, 150, 0.45) transparent;
}

.players-cols,
.player-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, 1.3fr) 9.4rem 5.4rem minmax(8rem, 1.15fr) 4.6rem minmax(7.2rem, auto);
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.85rem;
}

.players-cols {
  position: sticky;
  top: 0;
  z-index: 1;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  background: rgba(10, 16, 26, 0.96);
  font-family: var(--font-copy);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9c2b2;
}

.player-card {
  border-top: 1px solid rgba(201, 184, 150, 0.14);
}

.player-card:last-child {
  border-bottom: 0;
}

.player-name {
  display: block;
  font-family: var(--font-cta);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.1;
  color: #f7f3ea;
}

.player-card.is-online .player-name::before {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 8px rgba(61, 220, 132, 0.75);
  transform: translateY(-0.05rem);
}

.player-meta,
.player-place {
  display: block;
  margin-top: 0.12rem;
  font-family: var(--font-copy);
  font-size: 0.78rem;
  line-height: 1.3;
  color: #d7d0c2;
}

.player-place {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.player-place--unknown {
  color: #9aa8b8;
}

.player-flag {
  width: 16px;
  height: 12px;
  flex: none;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.player-clients {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.player-client {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
}

.player-client svg {
  width: 1.35rem;
  height: 1.35rem;
}

.player-client--unknown {
  color: #8ea0b4;
  font-size: 0.95rem;
}

.player-expand {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  width: 100%;
  height: 2rem;
  min-height: 2rem;
  margin: 0;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 184, 150, 0.32);
  background: rgba(255, 255, 255, 0.05);
  color: #d7f6fb;
  font-family: var(--font-copy);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.player-expand:disabled {
  color: #8ea0b4;
  cursor: default;
}

.player-expand__caret {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.player-card.is-open .player-expand__caret {
  transform: rotate(225deg) translateY(-1px);
}

.player-chars {
  display: grid;
  gap: 0.35rem;
  margin: 0 0.85rem 0.65rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(4, 9, 16, 0.55);
}

.player-char {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.player-char strong {
  font-family: var(--font-cta);
  font-size: 1.05rem;
  font-weight: 400;
  color: #f7f3ea;
}

.player-char.is-online strong::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 8px rgba(61, 220, 132, 0.75);
}

.player-char span {
  font-family: var(--font-copy);
  font-size: 0.82rem;
  font-weight: 600;
}

.pane--players .stage__back {
  flex: none;
  margin-top: 0.55rem;
}

@media (max-width: 860px) {
  .dock .stage:has([data-stage-panel="players"].is-live),
  body.home.is-signed .dock .stage:has([data-stage-panel="players"].is-live) {
    left: 0.45rem;
    right: 0.45rem;
    width: auto;
    top: auto;
    bottom: 0.35rem;
  }

  .dock .stage:has([data-stage-panel="players"].is-live) .stage__panel {
    overflow: hidden;
    max-height: calc(100dvh - 5.4rem);
  }

  .dock .pane--players {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 7.2rem);
  }

  .players-cols {
    display: none;
  }

  .player-row {
    grid-template-columns: 1fr auto;
    gap: 0.35rem 0.75rem;
  }

  .player-row .player-cell:nth-child(2),
  .player-row .player-cell:nth-child(3),
  .player-row .player-cell:nth-child(4) {
    grid-column: 1;
  }

  .player-row .player-cell[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.08rem;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c9c2b2;
  }

  .player-clients {
    justify-content: flex-start;
  }

  .player-expand {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
    width: auto;
  }
}

@media (max-width: 860px) and (max-height: 540px) {
  .dock .stage:has([data-stage-panel="players"].is-live),
  body.home.is-signed .dock .stage:has([data-stage-panel="players"].is-live) {
    left: 0.35rem;
    right: 0.35rem;
    width: auto;
    top: 2.8rem;
    bottom: 0.3rem;
  }
}
