/*
 * RF United public site. Abyss + Ocean.
 *
 * Near-black ground with no blue haze, one ocean blue for anything you can
 * press (white ink on it), sky blue for links, selection and the one accent
 * line per page. Gold lives only in the logo; the race colours only mark
 * races. Boards step up in tone instead of casting shadows.
 */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --abyss-950: #05070a;
  --abyss-900: #0b0f14;
  --abyss-850: #10161d;
  --abyss-800: #1a222c;
  --abyss-700: #26303c;
  --abyss-600: #34404e;

  --frost: #eef3f8;
  --ash: #9aa7b4;
  --ash-dim: #7f8c99;

  --ocean: #0b6fd6;
  --ocean-press: #095cb3;
  --sky: #6cc0ff;
  --ice: #cfeaff;

  --live: #4ade80;
  --bellato: #f5c518;
  --cora: #a45cf5;
  --accretia: #e2453b;

  --hairline: rgba(238, 243, 248, 0.07);
  --hairline-strong: rgba(238, 243, 248, 0.13);
  --sky-line: rgba(108, 192, 255, 0.5);

  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 3px;
  --shell: 1360px;
  --nav-h: 72px;

  /* Where the light sits, 0-100. Moved by landing.js with the pointer. */
  --lx: 38;

  --t-micro: 0.6875rem;
  --t-meta: 0.8125rem;
  --t-body: 1rem;
  --t-lead: 1.1875rem;
  --t-d-xs: clamp(1.0625rem, 0.98rem + 0.36vw, 1.3125rem);
  --t-d-sm: clamp(1.3125rem, 1.16rem + 0.66vw, 1.75rem);
  --t-d-md: clamp(1.625rem, 1.3rem + 1.4vw, 2.625rem);
  --t-d-lg: clamp(2rem, 1.5rem + 2.1vw, 3.5rem);
  --t-d-xl: clamp(2.25rem, 1.55rem + 3vw, 4.5rem);
}

/* ---- base ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scrollbar-color: var(--abyss-600) var(--abyss-950);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--abyss-950);
  color: var(--ash);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.7;
  font-weight: 420;
  font-stretch: 100%;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  caret-color: var(--sky);
}

img { display: block; max-width: 100%; }
p, dd, li { text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; color: var(--frost); text-wrap: balance; }
p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--sky); color: var(--abyss-950); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 2px; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--abyss-950); }
::-webkit-scrollbar-thumb { background: var(--abyss-700); border: 3px solid var(--abyss-950); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--abyss-600); }

.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lp-skip {
  position: fixed; top: 12px; left: 12px; z-index: 90;
  padding: 10px 16px; background: var(--ocean); color: #fff; border-radius: var(--radius);
  font-weight: 600; transform: translateY(-160%); transition: transform 200ms var(--ease);
}
.lp-skip:focus { transform: none; }

.lp-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .lp-shell { padding: 0 24px; } }
@media (min-width: 1024px) { .lp-shell { padding: 0 40px; } }

/* ---- type ---------------------------------------------------------------- */

.lp-display {
  font-family: var(--font);
  font-weight: 800;
  font-stretch: 118%;
  text-transform: uppercase;
  color: var(--frost);
}

.lp-label {
  font-size: var(--t-micro);
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
}

.lp-h1 { font-size: var(--t-d-xl); line-height: 0.94; letter-spacing: -0.02em; }
.lp-h2 { font-size: var(--t-d-lg); line-height: 0.98; letter-spacing: -0.015em; }
.lp-h3 { font-size: var(--t-d-sm); line-height: 1.12; }
.lp-h3-xl { font-size: var(--t-d-lg); line-height: 1; letter-spacing: -0.015em; }
.lp-h4 { font-size: var(--t-d-xs); line-height: 1.2; letter-spacing: 0.01em; }

.lp-lead { font-size: var(--t-lead); line-height: 1.6; color: var(--ash); max-width: 60ch; }
.lp-lead--bright { color: rgba(238, 243, 248, 0.86); }
.lp-muted { color: var(--ash); }

.lp-accent-line { display: block; color: var(--sky); }

.lp-link {
  color: var(--sky);
  text-decoration: underline;
  text-decoration-color: rgba(108, 192, 255, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 200ms var(--ease), text-decoration-color 200ms var(--ease);
}
.lp-link:hover { color: var(--frost); text-decoration-color: rgba(238, 243, 248, 0.6); }

.lp-num { font-variant-numeric: tabular-nums lining-nums; }

/* ---- surfaces ------------------------------------------------------------ */

.lp-board {
  position: relative;
  background: var(--abyss-900);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

/* Waterline: a 1px sky edge along the top of a featured board. */
.lp-waterline::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(108, 192, 255, 0.12) 8%, rgba(108, 192, 255, 0.85) 50%, rgba(108, 192, 255, 0.12) 92%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* ---- buttons ------------------------------------------------------------- */

.lp-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 2px;
  font-family: var(--font);
  font-size: var(--t-meta);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease), transform 120ms var(--ease);
}
.lp-btn i { font-size: 1.15em; line-height: 1; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn[disabled] { opacity: 0.45; pointer-events: none; }

.lp-btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--t-micro); }
.lp-btn--lg { min-height: 56px; padding: 0 28px; font-size: 0.875rem; }
/* A full-width button already fills its column, so it may wrap instead of
   pushing the column wider than a 320px phone. */
.lp-btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; }

.lp-btn--primary {
  background: var(--ocean);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 28px -16px rgba(0, 0, 0, 0.9);
}
.lp-btn--primary:hover { background: var(--ocean-press); }

/* The light that crosses the logo crosses the primary action too. */
.lp-btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%) no-repeat;
  background-size: 300% 100%;
  background-position: calc(var(--lx) * 1%) 50%;
  transition: background-position 600ms var(--ease);
}

.lp-btn--ghost {
  background: rgba(11, 15, 20, 0.82);
  color: var(--frost);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
}
.lp-btn--ghost:hover { background: var(--abyss-850); box-shadow: inset 0 0 0 1px var(--sky-line); }

.lp-btn--outline { color: var(--sky); box-shadow: inset 0 0 0 1px rgba(108, 192, 255, 0.55); }
.lp-btn--outline:hover { color: var(--frost); background: rgba(108, 192, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(108, 192, 255, 0.9); }

.lp-btn--chip { background: rgba(11, 15, 20, 0.7); color: var(--ash); box-shadow: inset 0 0 0 1px var(--hairline); }
.lp-btn--chip:hover { color: var(--frost); box-shadow: inset 0 0 0 1px var(--hairline-strong); }

.lp-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  color: var(--ash); font-size: 1.05rem;
  transition: color 200ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.lp-icon-btn:hover { color: var(--frost); background: var(--abyss-850); }
.lp-icon-btn--framed { width: 44px; height: 44px; box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.lp-icon-btn--framed:hover { box-shadow: inset 0 0 0 1px var(--sky-line); }

/* ---- logo ---------------------------------------------------------------- */

.lp-logo { display: inline-flex; align-items: center; gap: 12px; }
.lp-mark { position: relative; display: inline-block; aspect-ratio: 1040 / 806; flex-shrink: 0; height: 70px; }
.lp-logo--nav { gap: 9px; }
.lp-logo--nav .lp-mark { aspect-ratio: 414 / 612; height: 46px; }
/* UNITED beside the monogram, set like the lockup: wide heavy caps in sky. */
.lp-wordmark {
  font-size: 1.25rem; font-weight: 800; font-stretch: 125%; line-height: 1;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky);
  transform: translateY(1px);
}
@media (max-width: 359px) { .lp-wordmark { font-size: 1.0625rem; } }
.lp-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lp-mark-sheen {
  position: absolute; inset: 0;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.75) 48%, transparent 58%) no-repeat;
  background-size: 300% 100%;
  background-position: calc(var(--lx) * 1%) 50%;
  mix-blend-mode: soft-light;
  transition: background-position 600ms var(--ease);
}
/* Hero lockup: ignites in, floats, catches a passing light, and its stars
   twinkle. It no longer tilts toward the pointer (user, 2026-10-30). */
.lp-logo--hero { animation: lp-float 7s ease-in-out 1.6s infinite; }
.lp-logo--hero .lp-mark {
  height: auto; width: min(260px, 72vw);
  isolation: isolate;
  filter: drop-shadow(0 0 18px rgba(40, 130, 255, 0.35)) drop-shadow(0 12px 32px rgba(0, 0, 0, 0.55));
}
@media (min-width: 640px) { .lp-logo--hero .lp-mark { width: 340px; } }
@media (min-width: 1024px) { .lp-logo--hero .lp-mark { width: 400px; } }
.lp-logo--hero .lp-mark img { animation: lp-ignite 1400ms var(--ease) 150ms both; }

/* Aura: blue under the word, gold up the strokes, breathing. */
.lp-logo--hero .lp-mark::before {
  content: ""; position: absolute; z-index: -1; inset: -12% -8%;
  background:
    radial-gradient(42% 26% at 50% 54%, rgba(30, 120, 255, 0.42), transparent 70%),
    radial-gradient(22% 30% at 60% 26%, rgba(255, 186, 40, 0.26), transparent 70%);
  filter: blur(18px);
  animation: lp-aura 5s ease-in-out 1.4s infinite;
  pointer-events: none;
}

/* The pointer sheen becomes a timed sweep of light across the metal. */
.lp-logo--hero .lp-mark-sheen {
  background: linear-gradient(105deg, transparent 44%, rgba(220, 240, 255, 0.7) 50%, transparent 56%) no-repeat;
  background-size: 260% 100%;
  mix-blend-mode: screen;
  animation: lp-shine 6.5s ease-in-out 1.8s infinite;
}

.lp-glint {
  position: absolute; left: var(--gx); top: var(--gy);
  width: 18%; aspect-ratio: 1; translate: -50% -50%; scale: 0;
  background: radial-gradient(circle, #fff 0 5%, rgba(170, 220, 255, 0.8) 11%, transparent 26%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: lp-twinkle 5.5s ease-in-out calc(1.6s + var(--gd)) infinite;
}
.lp-glint::before,
.lp-glint::after {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 100%; height: 2px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.95) 50%, transparent);
}
.lp-glint::after { width: 2px; height: 100%; background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95) 50%, transparent); }

@keyframes lp-ignite {
  0% { opacity: 0; scale: 0.92; filter: brightness(2.6) saturate(0.3) blur(6px); }
  45% { opacity: 1; filter: brightness(1.6) saturate(0.8) blur(0); }
  100% { opacity: 1; scale: 1; filter: none; }
}
@keyframes lp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes lp-aura { 0%, 100% { opacity: 0.75; scale: 1; } 50% { opacity: 1; scale: 1.06; } }
@keyframes lp-shine { 0% { background-position: 120% 50%; } 40%, 100% { background-position: -20% 50%; } }
@keyframes lp-twinkle {
  0%, 70%, 100% { scale: 0; rotate: 0deg; opacity: 0; }
  80% { scale: 1; rotate: 45deg; opacity: 1; }
  90% { scale: 0.35; rotate: 90deg; opacity: 0.6; }
}
.lp-logo--footer .lp-mark { height: 104px; }

/* ---- nav ----------------------------------------------------------------- */

.lp-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.lp-nav.is-solid, .lp-nav.is-open {
  background: rgba(5, 7, 10, 0.92);
  box-shadow: inset 0 -1px 0 var(--hairline);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.lp-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.lp-nav-home { flex-shrink: 0; border-radius: var(--radius); transition: opacity 200ms var(--ease); }
.lp-nav-home:hover { opacity: 0.85; }

.lp-nav-links { display: none; }
.lp-nav-links ul { display: flex; align-items: center; gap: 4px; }
.lp-nav-links a {
  position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px;
  font-size: var(--t-micro); font-weight: 600; font-stretch: 108%; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ash); white-space: nowrap; transition: color 200ms var(--ease);
}
.lp-nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease);
}
/* Just past the desktop break the row is tight with the wordmark in it;
   the links close up a little. */
@media (min-width: 1100px) and (max-width: 1279px) {
  .lp-nav-row { gap: 16px; }
  .lp-nav-links ul { gap: 0; }
  .lp-nav-links a { padding: 0 10px; letter-spacing: 0.12em; }
  .lp-nav-links a::after { left: 10px; right: 10px; }
}
.lp-nav-links a:hover, .lp-nav-links a[aria-current] { color: var(--frost); }
.lp-nav-links a:hover::after, .lp-nav-links a[aria-current]::after { transform: scaleX(1); }

.lp-nav-actions { display: flex; align-items: center; gap: 6px; }
.lp-nav-social { display: none; align-items: center; }
.lp-nav-signin {
  white-space: nowrap;
  display: none; align-items: center; height: 40px; padding: 0 12px;
  font-size: var(--t-micro); font-weight: 600; font-stretch: 108%; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--frost); transition: color 200ms var(--ease);
}
.lp-nav-signin:hover { color: var(--sky); }
.lp-nav-cta { display: none; margin-left: 6px; }

.lp-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  color: var(--frost); font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  transition: box-shadow 200ms var(--ease);
}
.lp-menu-btn:hover { box-shadow: inset 0 0 0 1px var(--sky-line); }

@media (min-width: 640px) {
  .lp-nav-social { display: flex; }
  .lp-nav-signin, .lp-nav-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
  .lp-nav-links { display: block; }
  .lp-menu-btn { display: none; }
}

.lp-mobile {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  background: var(--abyss-950);
}
.js .lp-mobile:not([hidden]) { animation: lp-drop 420ms var(--ease) both; }
@keyframes lp-drop { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.lp-mobile-inner { display: flex; flex-direction: column; min-height: 100%; padding-top: 16px; padding-bottom: 24px; }
.lp-mobile-links li { border-bottom: 1px solid var(--abyss-800); }
.lp-mobile-links a {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 0;
  font-weight: 800; font-stretch: 118%; text-transform: uppercase; font-size: var(--t-d-sm); color: var(--frost);
}
.lp-mobile-links a i { color: var(--abyss-600); font-size: 1.1rem; transition: color 200ms var(--ease), transform 200ms var(--ease); }
.lp-mobile-links a:hover i { color: var(--sky); transform: translateX(3px); }
.lp-mobile-actions { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.lp-mobile-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-mobile-social { display: flex; gap: 8px; }
@media (min-width: 1100px) { .lp-mobile { display: none; } }

/* ---- hero ---------------------------------------------------------------- */

.lp-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background: var(--abyss-950);
}

/* The key art: the three races charging out of the dust on the right, the
   Accretia citadel dark on the left where the copy sits. It holds still -
   no pointer drift (user, 2026-10-30); the only motion is the load. */
.lp-hero-plate { position: absolute; inset: 0 0 auto 0; height: 58svh; z-index: -1; }
.lp-hero-plate img {
  width: 100%; height: 100%; object-fit: cover; object-position: 86% 30%;
  filter: saturate(0.95) contrast(1.04) brightness(0.92);
}
/* Fades: into black under the copy on phones; on wide screens a shade
   across the left for the copy, and the floor for the readout. */
.lp-hero-plate::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 7, 10, 0.7) 0%, transparent 22%),
    linear-gradient(to top, var(--abyss-950) 0%, rgba(5, 7, 10, 0.7) 24%, transparent 56%);
}
@media (min-width: 1024px) {
  .lp-hero-plate { inset: 0; height: auto; }
  .lp-hero-plate img { object-position: 78% 34%; }
  .lp-hero-plate::after {
    background:
      linear-gradient(to bottom, rgba(5, 7, 10, 0.72) 0%, transparent 16%),
      linear-gradient(to right, rgba(5, 7, 10, 0.9) 0%, rgba(5, 7, 10, 0.66) 28%, rgba(5, 7, 10, 0.14) 54%, transparent 64%),
      linear-gradient(to top, var(--abyss-950) 0%, rgba(5, 7, 10, 0.85) 14%, transparent 40%);
  }
}
/* Just past the desktop break the copy runs wide for the window; the art
   slides right so the fighters start after the title. */
@media (min-width: 1024px) and (max-width: 1279px) { .lp-hero-plate img { object-position: 58% 34%; } }
@media (min-width: 1600px) { .lp-hero-plate img { object-position: 74% 30%; } }

.lp-hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 44svh;
  padding-bottom: 24px;
}
@media (min-width: 1024px) { .lp-hero-body { padding-top: 120px; padding-bottom: 32px; } }

.lp-hero-copy { max-width: 46rem; }
.lp-hero-title {
  margin-top: 24px;
  font-size: clamp(2.5rem, 0.6rem + 5vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
}
@media (min-width: 1024px) { .lp-hero-title { margin-top: 32px; } }
.lp-hero-tagline { margin-top: 24px; max-width: 40ch; font-size: var(--t-lead); line-height: 1.55; color: rgba(238, 243, 248, 0.8); }
.lp-hero-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .lp-hero-actions { flex-direction: row; } }

/* Readout: live online, then the three races, then the client build. */
.lp-readout {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  background: rgba(5, 7, 10, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (min-width: 1024px) { .lp-readout { margin-top: 48px; flex-direction: row; align-items: stretch; } }

.lp-readout-online { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
@media (min-width: 640px) { .lp-readout-online { padding: 20px 28px; } }
@media (min-width: 1024px) { .lp-readout-online { min-width: 19rem; } }
.lp-readout-big { font-weight: 800; font-stretch: 118%; font-size: var(--t-d-sm); line-height: 1; color: var(--frost); font-variant-numeric: tabular-nums; }
.lp-readout-big--muted { color: var(--ash); }
.lp-readout-mid { font-weight: 800; font-stretch: 118%; font-size: var(--t-d-xs); line-height: 1; color: var(--frost); font-variant-numeric: tabular-nums; }
.lp-readout-caption { margin-top: 6px; color: var(--ash); }
.lp-readout-online .lp-readout-caption { color: var(--sky); }

.lp-readout-races {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--abyss-800);
}
@media (min-width: 1024px) { .lp-readout-races { border-top: 0; border-left: 1px solid var(--abyss-800); } }
.lp-readout-race { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
/* Three race cells share 320px on the smallest phones: tighten the label
   tracking so "Accretia" fits its third. */
@media (max-width: 399px) {
  .lp-readout-race { padding: 14px 10px; }
  .lp-readout-race .lp-readout-caption { letter-spacing: 0.06em; }
}
.lp-readout-race + .lp-readout-race { border-left: 1px solid var(--abyss-800); }
@media (min-width: 640px) { .lp-readout-race { flex-direction: row; align-items: center; gap: 12px; padding: 20px 24px; } }
.lp-readout-crest { width: 28px; height: 28px; }
@media (min-width: 640px) { .lp-readout-crest { width: 32px; height: 32px; } }

.lp-readout-meta { display: none; align-items: center; gap: 12px; padding: 0 28px; border-left: 1px solid var(--abyss-800); color: var(--ash); }
@media (min-width: 1280px) { .lp-readout-meta { display: flex; } }
.lp-sep { width: 1px; height: 12px; background: var(--abyss-600); }

/* Live dot: green means the zone server answered. */
.lp-live { position: relative; display: inline-flex; width: 10px; height: 10px; flex-shrink: 0; }
.lp-live::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); }
.lp-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(74, 222, 128, 0.5); animation: lp-ping 2.4s var(--ease) infinite; }
.lp-live.is-off::before { background: var(--abyss-600); }
.lp-live.is-off::after { display: none; }
@keyframes lp-ping { 0% { transform: scale(0.6); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* Entrance: the one authored load moment. Visible by default without JS. */
.js .lp-enter { animation: lp-rise 900ms var(--ease) both; animation-delay: calc(150ms + var(--i, 0) * 90ms); }
@keyframes lp-rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.js .lp-hero-plate img { animation: lp-plate 1800ms var(--ease) both; }
@keyframes lp-plate { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }

/* ---- sections ------------------------------------------------------------ */

.lp-section { padding: 96px 0; background: var(--abyss-950); }
@media (min-width: 1024px) { .lp-section { padding: 128px 0; } }
.lp-section--board { background: var(--abyss-900); }

.lp-section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 40px; }
@media (min-width: 768px) { .lp-section-head { margin-bottom: 56px; } }

/* ---- races --------------------------------------------------------------- */

.lp-race-bellato { --race: var(--bellato); }
.lp-race-cora { --race: var(--cora); }
.lp-race-accretia { --race: var(--accretia); }

.lp-crest {
  display: block; flex-shrink: 0;
  background: currentColor;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.lp-readout-race .lp-crest, .lp-race-name .lp-crest { color: var(--race); }

.lp-race-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .lp-race-tabs { gap: 12px; } }
.lp-race-tab {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px; text-align: center; border-radius: var(--radius);
  background: var(--abyss-900); box-shadow: inset 0 0 0 1px var(--hairline);
  transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
@media (min-width: 640px) { .lp-race-tab { flex-direction: row; gap: 16px; padding: 20px; text-align: left; } }
.lp-race-tab:hover { background: var(--abyss-850); }
.lp-race-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--sky); transform: scaleX(0); transition: transform 450ms var(--ease);
}
.lp-race-tab[aria-selected="true"] { background: var(--abyss-850); box-shadow: inset 0 0 0 1px var(--sky-line); }
.lp-race-tab[aria-selected="true"]::after { transform: scaleX(1); }
.lp-race-tab-crest { width: 36px; height: 36px; color: var(--ash); transform: scale(0.9); transition: color 300ms var(--ease), transform 300ms var(--ease); }
@media (min-width: 640px) { .lp-race-tab-crest { width: 44px; height: 44px; } }
.lp-race-tab:hover .lp-race-tab-crest { color: var(--frost); }
.lp-race-tab[aria-selected="true"] .lp-race-tab-crest { color: var(--race); transform: none; }
.lp-race-tab-text { min-width: 0; }
.lp-race-tab-name { display: block; font-weight: 800; font-stretch: 118%; text-transform: uppercase; font-size: 0.75rem; color: var(--ash); transition: color 300ms var(--ease); }
@media (min-width: 640px) { .lp-race-tab-name { font-size: var(--t-d-xs); } }
.lp-race-tab:hover .lp-race-tab-name, .lp-race-tab[aria-selected="true"] .lp-race-tab-name { color: var(--frost); }
.lp-race-tab-sub { display: none; margin-top: 4px; color: var(--ash); }
@media (min-width: 640px) { .lp-race-tab-sub { display: block; } }

.lp-race-stage { margin-top: 12px; display: grid; overflow: hidden; }
@media (min-width: 640px) { .lp-race-stage { margin-top: 16px; } }
@media (min-width: 1024px) { .lp-race-stage { min-height: 640px; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); } }
.js .lp-race-stage:not([data-active]) { display: none; }

.lp-race-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
@media (min-width: 1024px) { .lp-race-art { order: 2; aspect-ratio: auto; } }
.lp-race-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.06) brightness(0.82); }
.lp-race-art::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--race); opacity: 0.18; mix-blend-mode: color;
}
.lp-race-art::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--abyss-900) 0%, rgba(11, 15, 20, 0.2) 45%, transparent 70%);
}
@media (min-width: 1024px) {
  .lp-race-art::after { background: linear-gradient(to right, var(--abyss-900) 0%, rgba(11, 15, 20, 0.55) 22%, transparent 55%); }
}
.lp-race-art-caption { position: absolute; z-index: 3; right: 16px; top: 14px; color: rgba(238, 243, 248, 0.75); text-shadow: 0 1px 8px rgba(5, 7, 10, 0.9); }
@media (min-width: 1024px) { .lp-race-art-caption { right: 20px; top: 20px; } }

/* The race's own fighters, cut out and standing in front of their
   capital, facing the copy. Above the race wash, so they keep their own
   colours; a short dark shadow sits them on the art. */
.lp-race-art img.lp-race-figure {
  inset: auto 2% 0 auto; z-index: 2;
  width: auto; height: 82%; max-width: 96%;
  object-fit: contain; object-position: right bottom;
  filter: drop-shadow(0 18px 24px rgba(5, 7, 10, 0.6));
}
/* Sized per race to each cut's shape: the Bellato pair is wider than it
   is tall, the Accretia mech taller than it is wide. */
.lp-race-bellato .lp-race-art img.lp-race-figure { height: 76%; }
.lp-race-accretia .lp-race-art img.lp-race-figure { height: 84%; right: 0; }
@media (min-width: 1024px) {
  .lp-race-art img.lp-race-figure { height: 84%; right: 3%; }
  .lp-race-bellato .lp-race-art img.lp-race-figure { height: 72%; max-width: 92%; }
  .lp-race-accretia .lp-race-art img.lp-race-figure { height: 92%; right: 1%; }
}

.js .lp-race-stage[data-entered] .lp-race-art img:not(.lp-race-figure) { animation: lp-wipe 850ms var(--ease) both, lp-settle 1600ms var(--ease) both; }
/* The fighters arrive just behind the capital wipe. */
.js .lp-race-stage[data-entered] .lp-race-figure { animation: lp-charge 900ms var(--ease) 260ms both; }
@keyframes lp-charge { from { opacity: 0; translate: 48px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes lp-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes lp-settle { from { scale: 1.12; } to { scale: 1; } }
.js .lp-race-stage[data-entered] .lp-race-copy { animation: lp-rise 450ms var(--ease) both; }

.lp-race-copy { position: relative; display: flex; flex-direction: column; padding: 24px; }
@media (min-width: 640px) { .lp-race-copy { padding: 36px; } }
@media (min-width: 1024px) { .lp-race-copy { order: 1; padding: 48px; } }
.lp-race-name { display: flex; align-items: center; gap: 16px; }
.lp-race-name-crest { width: 48px; height: 48px; }
@media (min-width: 640px) { .lp-race-name-crest { width: 56px; height: 56px; } }
.lp-race-name .lp-label { margin-top: 8px; }
.lp-race-tagline { margin-top: 32px; font-weight: 700; font-size: var(--t-d-xs); line-height: 1.35; color: var(--frost); }
.lp-race-body { margin-top: 16px; max-width: 58ch; line-height: 1.75; }
.lp-race-signature { margin-top: 32px; padding: 20px; border-radius: var(--radius); background: rgba(5, 7, 10, 0.7); box-shadow: inset 0 0 0 1px var(--hairline); }
.lp-race-ink { color: var(--race); }
.lp-race-signature p + p { margin-top: 8px; font-size: var(--t-meta); line-height: 1.65; color: rgba(238, 243, 248, 0.86); }
.lp-race-trees { margin-top: 32px; display: grid; gap: 16px 32px; }
@media (min-width: 640px) { .lp-race-trees { grid-template-columns: 1fr 1fr; } }
.lp-race-trees div { padding-top: 12px; border-top: 1px solid var(--abyss-800); }
.lp-race-trees dt { color: var(--ash); }
.lp-race-trees dd { margin-top: 6px; font-size: var(--t-meta); line-height: 1.45; color: var(--frost); }

/* ---- novus --------------------------------------------------------------- */

.lp-novus { padding-bottom: 96px; background: var(--abyss-950); }
@media (min-width: 1024px) { .lp-novus { padding-bottom: 128px; } }
.lp-novus-band { position: relative; isolation: isolate; overflow: hidden; }
.lp-novus-band img { width: 100%; height: 360px; object-fit: cover; filter: saturate(0.85) contrast(1.06) brightness(0.8); }
@media (min-width: 640px) { .lp-novus-band img { height: 440px; } }
@media (min-width: 1024px) { .lp-novus-band img { height: 560px; } }
.lp-novus-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--abyss-950) 0%, rgba(5, 7, 10, 0.15) 30%, rgba(5, 7, 10, 0.4) 62%, var(--abyss-950) 100%);
}
.lp-novus-band-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 40px; }
@media (min-width: 1024px) { .lp-novus-band-copy { padding-bottom: 56px; } }
.lp-novus-band-copy .lp-lead { margin-top: 20px; max-width: 52ch; }
.lp-novus-maps { margin-top: 64px; }
@media (min-width: 1024px) { .lp-novus-maps { margin-top: 96px; } }

.lp-zones { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1024px) { .lp-zones { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; } }

.lp-zone-list li { border-top: 1px solid var(--abyss-800); }
.lp-zone-list li:last-child { border-bottom: 1px solid var(--abyss-800); }
.lp-zone {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 20px 0;
}
@media (min-width: 1024px) { .lp-zone { grid-template-columns: minmax(0, 1fr) auto; padding: 24px 0; } }
.lp-zone-thumb { width: 80px; height: 56px; object-fit: cover; border-radius: var(--radius); filter: saturate(0.82) brightness(0.85); align-self: start; }
@media (min-width: 1024px) { .lp-zone-thumb { display: none; } }
.lp-zone-name { display: block; font-weight: 800; font-stretch: 118%; text-transform: uppercase; font-size: var(--t-d-sm); line-height: 1.12; color: var(--frost); transition: color 300ms var(--ease); }
.lp-zone:hover .lp-zone-name, .lp-zone[aria-pressed="true"] .lp-zone-name { color: var(--sky); }
.lp-zone-meta { display: block; margin-top: 8px; color: var(--ash); }
.lp-zone-summary { display: block; margin-top: 12px; font-size: var(--t-meta); line-height: 1.65; color: var(--ash); }
@media (min-width: 1024px) { .lp-zone-summary { display: none; } }
.lp-zone-arrow { font-size: 1.1rem; color: var(--abyss-600); transform: translateX(-4px); transition: color 300ms var(--ease), transform 300ms var(--ease); align-self: center; }
.lp-zone:hover .lp-zone-arrow, .lp-zone[aria-pressed="true"] .lp-zone-arrow { color: var(--sky); transform: none; }

.lp-zone-preview { display: none; overflow: hidden; }
@media (min-width: 1024px) { .lp-zone-preview { display: block; position: sticky; top: 112px; } }
.lp-zone-slide { display: none; }
.lp-zone-slide[data-active] { display: block; }
.lp-zone-slide-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.lp-zone-slide-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.06) brightness(0.85); }
.lp-zone-slide-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--abyss-900) 0%, transparent 45%); }
.js .lp-zone-slide[data-entered] .lp-zone-slide-art img { animation: lp-fade-in 700ms var(--ease) both; }
.js .lp-zone-slide[data-entered] .lp-zone-slide-copy { animation: lp-rise 350ms var(--ease) both; }
@keyframes lp-fade-in { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
.lp-zone-slide-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; padding: 0 32px 32px; }
.lp-zone-slide-name { font-size: var(--t-d-xs); }
.lp-zone-slide-summary { margin-top: 10px; max-width: 56ch; line-height: 1.7; }
.lp-zone-slide-bosses { text-align: right; }
.lp-zone-slide-bosses ul { margin-top: 8px; display: grid; gap: 4px; }
.lp-zone-slide-bosses li { white-space: nowrap; font-size: var(--t-meta); color: var(--frost); }

/* ---- server -------------------------------------------------------------- */

.lp-rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--abyss-950); }
@media (min-width: 1024px) { .lp-rates { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lp-rate { display: flex; flex-direction: column-reverse; gap: 12px; padding: 32px 24px; }
@media (min-width: 640px) { .lp-rate { padding: 40px 32px; } }
.lp-rate:nth-child(even) { border-left: 1px solid var(--abyss-800); }
.lp-rate:nth-child(n + 3) { border-top: 1px solid var(--abyss-800); }
@media (min-width: 1024px) {
  .lp-rate:nth-child(n + 3) { border-top: 0; }
  .lp-rate + .lp-rate { border-left: 1px solid var(--abyss-800); }
}
.lp-rate dt { color: var(--ash); }
.lp-rate dd {
  font-weight: 800; font-stretch: 118%; color: var(--frost);
  font-size: clamp(2.75rem, 1.8rem + 3.6vw, 5.5rem); line-height: 0.85; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums lining-nums;
}
.lp-rate:first-child dd { color: var(--sky); }

.lp-server-grid { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 1024px) { .lp-server-grid { margin-top: 80px; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 64px; } }
.lp-server-grid--even { margin-top: 80px; }
@media (min-width: 1024px) { .lp-server-grid--even { margin-top: 112px; grid-template-columns: 1fr 1fr; } }

.lp-glance { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-glance > div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 20px; }
.lp-glance dt { color: var(--ash); }
.lp-glance dd { font-weight: 800; font-stretch: 118%; color: var(--frost); font-size: var(--t-d-md); line-height: 1; font-variant-numeric: tabular-nums; }
.lp-glance--lead { grid-column: span 2; }
.lp-glance--lead dd { color: var(--sky); }

.lp-details { margin-top: 24px; border-top: 1px solid var(--abyss-800); border-bottom: 1px solid var(--abyss-800); }
.lp-details div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; padding: 14px 0; }
.lp-details div + div { border-top: 1px solid var(--abyss-800); }
.lp-details dt { align-self: center; color: var(--ash); }
.lp-details dd { color: var(--frost); line-height: 1.45; }

.lp-systems { margin-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.lp-systems div { display: grid; gap: 8px; }
@media (min-width: 640px) { .lp-systems div { grid-template-columns: 11rem minmax(0, 1fr); gap: 24px; } }
.lp-systems dt { font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.4; color: var(--frost); }
.lp-systems dd { line-height: 1.7; }

.lp-rules { padding: 28px; }
@media (min-width: 640px) { .lp-rules { padding: 40px; } }
.lp-rules-note { margin-top: 12px; font-size: var(--t-meta); }
.lp-rules dl { margin-top: 32px; }
.lp-rules dl div { padding: 20px 0; }
.lp-rules dl div:first-child { padding-top: 0; }
.lp-rules dl div:last-child { padding-bottom: 0; }
.lp-rules dl div + div { border-top: 1px solid var(--abyss-800); }
.lp-rules dt { font-size: var(--t-lead); font-weight: 650; line-height: 1.35; color: var(--sky); }
.lp-rules dd { margin-top: 6px; line-height: 1.7; }

/* ---- system requirements ------------------------------------------------- */

.lp-specs { min-width: 0; }
.lp-table-wrap { overflow-x: auto; }
.lp-specs table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.lp-specs thead tr { border-bottom: 1px solid var(--abyss-700); }
.lp-specs thead th { padding: 0 24px 12px 0; font-weight: 600; }
.lp-specs thead th:first-child { width: 30%; }
@media (min-width: 640px) { .lp-specs thead th:first-child { width: 22%; } }
@media (max-width: 639px) {
  .lp-specs tbody th, .lp-specs thead .lp-label { letter-spacing: 0.08em; overflow-wrap: anywhere; }
  .lp-specs thead th { padding-right: 12px; }
  .lp-specs thead i { display: none; }
}
.lp-specs thead .lp-label { display: inline-flex; align-items: center; gap: 8px; color: var(--frost); }
.lp-specs thead i { color: var(--sky); font-size: 0.95rem; }
.lp-specs tbody tr { border-bottom: 1px solid var(--abyss-800); }
.lp-specs tbody th { padding: 16px 16px 16px 0; vertical-align: top; color: var(--ash); font-weight: 600; }
.lp-specs td { padding: 16px 16px 16px 0; vertical-align: top; font-size: var(--t-meta); line-height: 1.45; color: rgba(238, 243, 248, 0.86); }
.lp-specs td:last-child { color: var(--frost); }
@media (min-width: 640px) { .lp-specs td { font-size: var(--t-body); padding-right: 24px; } }

/* ---- close --------------------------------------------------------------- */

.lp-close { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0; background: var(--abyss-950); }
@media (min-width: 1024px) { .lp-close { padding: 144px 0; } }
.lp-close-plate { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: saturate(0.5) contrast(1.15) brightness(0.5); }
.lp-close::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, var(--abyss-950) 0%, rgba(5, 7, 10, 0.72) 30%, rgba(5, 7, 10, 0.84) 70%, var(--abyss-950) 100%);
}
/* The monogram pressed into the ground behind the close: no ink, only relief. */
.lp-close-emboss {
  display: none; position: absolute; z-index: -1; top: 50%; right: -96px; height: 130%; aspect-ratio: 414 / 612;
  transform: translateY(-50%);
  filter: drop-shadow(0 -1px 0 rgba(200, 230, 255, 0.08)) drop-shadow(0 2px 1px rgba(0, 0, 0, 0.85));
}
.lp-close-emboss > span {
  position: absolute; inset: 0;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(160deg, #141b23 0%, #0c1117 60%, #080b0f 100%);
}
@media (min-width: 1024px) { .lp-close-emboss { display: block; } }
@media (min-width: 1280px) { .lp-close-emboss { right: -40px; } }

.lp-close-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
@media (min-width: 1024px) { .lp-close-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; gap: 80px; } }
.lp-close-status { display: flex; align-items: center; gap: 12px; font-size: var(--t-meta); }
.lp-close-count { font-weight: 800; font-stretch: 118%; color: var(--frost); }
.lp-close-title { margin-top: 24px; font-size: clamp(3rem, 0.4rem + 6.2vw, 7rem); line-height: 0.88; letter-spacing: -0.03em; }
.lp-close-lead { margin-top: 28px; max-width: 46ch; }
.lp-close-cta { margin-top: 40px; width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
@media (min-width: 640px) { .lp-close-cta { width: auto; } }
.lp-mirrors { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lp-mirrors > span { flex-basis: 100%; margin-right: 8px; font-size: var(--t-meta); }
@media (min-width: 640px) { .lp-mirrors > span { flex-basis: auto; } }
.lp-close-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ash); }

.lp-steps { background: rgba(5, 7, 10, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lp-steps > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 24px; }
@media (min-width: 640px) { .lp-steps > li { gap: 28px; padding: 32px; } }
.lp-steps > li + li { border-top: 1px solid var(--abyss-800); }
.lp-step-num { width: 48px; font-weight: 800; font-stretch: 118%; font-size: var(--t-d-md); line-height: 1; color: var(--sky); font-variant-numeric: tabular-nums; }
.lp-steps p { margin-top: 8px; font-size: var(--t-meta); line-height: 1.65; }
.lp-step-actions { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.lp-step-actions .lp-link { font-size: var(--t-meta); }
.lp-steps-community { display: block !important; }
.lp-steps-community p { margin-top: 0; }

/* ---- footer -------------------------------------------------------------- */

.lp-footer { position: relative; background: var(--abyss-950); padding: 64px 0 40px; }
.lp-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(108, 192, 255, 0.12) 8%, rgba(108, 192, 255, 0.6) 50%, rgba(108, 192, 255, 0.12) 92%, transparent 100%);
}
@media (min-width: 1024px) { .lp-footer { padding: 80px 0 48px; } }
.lp-footer-grid { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; }
.lp-footer-brand { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  /* Brand, then one column per nav (Support only shows with a Discord link). */
  .lp-footer-grid { grid-template-columns: 1.5fr; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
  .lp-footer-brand { grid-column: auto; }
}
.lp-footer-brand p { margin-top: 24px; max-width: 36ch; line-height: 1.7; }
.lp-footer-social { margin-top: 24px; display: flex; gap: 8px; }
.lp-footer-head { color: var(--sky); }
.lp-footer nav ul { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.lp-footer nav a { display: inline-block; padding: 6px 0; color: var(--ash); transition: color 200ms var(--ease); }
.lp-footer nav a:hover { color: var(--frost); }
.lp-footer-legal { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--abyss-800); display: flex; flex-direction: column; gap: 12px; font-size: var(--t-meta); }
.lp-footer-legal p:last-child { max-width: 52ch; color: var(--ash-dim); }
@media (min-width: 640px) {
  .lp-footer-legal { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .lp-footer-legal p:last-child { text-align: right; }
}

/* ---- sign in ------------------------------------------------------------- */

.lp-auth { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 32px) 0 64px; overflow: hidden; }
.lp-auth-art { position: absolute; inset: 0; z-index: -1; }
.lp-auth-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; filter: saturate(0.9) brightness(0.55); }
.lp-auth-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--abyss-950) 0%, rgba(5, 7, 10, 0.88) 38%, rgba(5, 7, 10, 0.35) 100%),
    linear-gradient(to top, var(--abyss-950) 0%, transparent 40%);
}
.lp-auth-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 1024px) { .lp-auth-grid { grid-template-columns: minmax(0, 28rem) minmax(0, 1fr); gap: 96px; } }

.lp-auth-card { min-width: 0; padding: 28px 24px; background: rgba(11, 15, 20, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (min-width: 640px) { .lp-auth-card { padding: 40px; } }
.lp-auth-title { font-size: var(--t-d-lg); line-height: 1; letter-spacing: -0.015em; }
.lp-auth-lead { margin-top: 12px; line-height: 1.6; }

.lp-form { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.lp-field label { display: block; font-size: var(--t-meta); font-weight: 600; color: var(--frost); }
.lp-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lp-field-aside { font-size: var(--t-meta); }
.lp-input {
  position: relative; margin-top: 8px; display: flex; align-items: center;
  border-radius: var(--radius); background: var(--abyss-950);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  transition: box-shadow 200ms var(--ease);
}
.lp-input:hover { box-shadow: inset 0 0 0 1px rgba(238, 243, 248, 0.22); }
.lp-input:focus-within { box-shadow: inset 0 0 0 1px var(--sky), 0 0 0 3px rgba(108, 192, 255, 0.18); }
.lp-input > i { position: absolute; left: 16px; color: var(--ash); pointer-events: none; }
.lp-input input {
  width: 100%; height: 52px; padding: 0 48px 0 46px;
  background: transparent; border: 0; outline: 0; border-radius: var(--radius);
  color: var(--frost); font: inherit; font-size: 1rem;
}
.lp-input input::placeholder { color: var(--ash-dim); }
.lp-input input:-webkit-autofill { -webkit-text-fill-color: var(--frost); -webkit-box-shadow: 0 0 0 40px var(--abyss-950) inset; caret-color: var(--sky); }
.lp-reveal { position: absolute; right: 4px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ash); border-radius: var(--radius); transition: color 200ms var(--ease); }
.lp-reveal:hover { color: var(--frost); }
.cf-turnstile { min-height: 65px; }

.lp-auth-alt { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--abyss-800); }
.lp-auth-alt p { margin-bottom: 12px; font-size: var(--t-meta); }

.lp-auth-aside { display: none; }
@media (min-width: 1024px) { .lp-auth-aside { display: block; } }
.lp-auth-status { display: flex; align-items: center; gap: 12px; font-size: var(--t-meta); }
.lp-auth-status strong { font-weight: 800; font-stretch: 118%; color: var(--frost); }
.lp-auth-pitch { margin-top: 24px; font-size: clamp(2.5rem, 0.8rem + 4vw, 4.75rem); line-height: 0.92; letter-spacing: -0.025em; }
.lp-auth-back { margin-top: 32px; display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-meta); }

/* ---- create account -------------------------------------------------------
 * gamecp_register.php keeps its own markup (the rd-* classes it shares with
 * the panel); this block dresses it in the public site's tokens. Scoped to
 * .lp-register so the panel's own rd-* styles are never touched. */

/* Same composition as sign in: the board on the left over the MAU, the pitch
   on the right. The board is wider here because the form runs two fields to
   a row, and the page is taller, so the pitch pins while the form scrolls. */
.lp-auth-grid--wide { align-items: start; }
/* The register board is 40rem, so the pitch only has room beside it from
   1200px; between 1024 and 1199 the board stands alone over the art. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .lp-auth-grid--wide { grid-template-columns: minmax(0, 40rem); }
  .lp-page-aside { display: none; }
}
@media (min-width: 1200px) { .lp-auth-grid--wide { grid-template-columns: minmax(0, 40rem) minmax(0, 1fr); gap: 80px; } }
@media (min-width: 1280px) { .lp-auth-grid--wide { gap: 112px; } }
.lp-page { padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 88px)); }
.lp-page-body { min-width: 0; }
.lp-page-aside { position: sticky; top: calc(var(--nav-h) + 32px); padding-top: 40px; }

.lp-journey { margin-top: 40px; max-width: 30rem; }
.lp-journey li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px;
  padding: 16px 0; border-top: 1px solid var(--abyss-800);
}
.lp-journey li:last-child { border-bottom: 1px solid var(--abyss-800); }
.lp-journey-num { font-weight: 800; font-stretch: 118%; font-size: var(--t-d-xs); line-height: 1.3; color: var(--abyss-600); font-variant-numeric: tabular-nums; }
.lp-journey-title { font-weight: 700; font-stretch: 112%; font-size: var(--t-meta); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ash); line-height: 1.6; }
.lp-journey li p + p { margin-top: 2px; font-size: var(--t-meta); line-height: 1.55; color: var(--ash-dim); }
.lp-journey li.is-current .lp-journey-num { color: var(--sky); }
.lp-journey li.is-current .lp-journey-title { color: var(--frost); }
.lp-journey li.is-current p + p { color: var(--ash); }

/* Each register step is .rd-auth-solo > [.rd-auth-solo-head] + .rd-auth-card.
   The outer box becomes the board so the heading sits inside it, the way
   "Sign in" does; the inner card goes flat. */
.lp-register { width: 100%; }
.lp-register .rd-auth-solo {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(11, 15, 20, 0.92);
  box-shadow: inset 0 0 0 1px var(--hairline);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
@media (min-width: 640px) { .lp-register .rd-auth-solo { padding: 40px; } }
.lp-register .rd-auth-solo::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(108, 192, 255, 0.12) 8%, rgba(108, 192, 255, 0.85) 50%, rgba(108, 192, 255, 0.12) 92%, transparent 100%);
}
.lp-register .rd-auth-card { position: relative; }

.lp-register .rd-auth-solo-head { margin-bottom: 32px; }
.lp-register .rd-auth-brand-mark { display: none; }
.lp-register .rd-auth-solo-head h1,
.lp-register .rd-auth-solo-head h2 {
  font-weight: 800; font-stretch: 118%; text-transform: uppercase;
  font-size: var(--t-d-lg); line-height: 1; letter-spacing: -0.015em;
}
.lp-register .rd-auth-solo-head p { margin-top: 12px; line-height: 1.6; }

/* Terms: numbered the way the close numbers its steps. */
.lp-register .rd-terms-list { counter-reset: term; display: flex; flex-direction: column; }
/* The numeral is positioned, not a grid column: each term mixes text and
   <strong>, and a grid would turn every run into its own cell. */
.lp-register .rd-terms-list li {
  counter-increment: term;
  position: relative;
  padding: 16px 0 16px 44px; line-height: 1.65;
}
.lp-register .rd-terms-list li:first-child { padding-top: 0; }
.lp-register .rd-terms-list li + li { border-top: 1px solid var(--abyss-800); }
.lp-register .rd-terms-list li::before {
  content: counter(term);
  position: absolute; left: 0; top: 16px;
  font-weight: 800; font-stretch: 118%; font-size: var(--t-d-xs); line-height: 1.3; color: var(--sky);
  font-variant-numeric: tabular-nums;
}
.lp-register .rd-terms-list li:first-child::before { top: 0; }
.lp-register strong { color: var(--frost); font-weight: 650; }

.lp-register .rd-auth-note {
  margin-top: 24px; display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; border-radius: var(--radius);
  background: rgba(5, 7, 10, 0.7); box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: var(--t-meta); line-height: 1.6;
}
.lp-register .rd-auth-note:first-child { margin-top: 0; margin-bottom: 24px; }
.lp-register .rd-auth-note > i { color: var(--sky); font-size: 1rem; line-height: 1.5; }
.lp-register .rd-auth-note.rd-is-good > i { color: var(--live); }
.lp-register .rd-auth-welcome { margin-bottom: 24px; line-height: 1.7; }

.lp-register .rd-auth-errors {
  margin-bottom: 24px; padding: 16px 20px; border-radius: var(--radius);
  background: rgba(255, 138, 122, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 122, 0.35);
}
.lp-register .rd-auth-errors h4 { display: flex; align-items: center; gap: 10px; font-size: var(--t-body); font-weight: 650; color: var(--frost); }
.lp-register .rd-auth-errors h4 i { color: #ff8a7a; }
.lp-register .rd-auth-errors ul { margin-top: 10px; padding-left: 18px; list-style: disc; display: grid; gap: 4px; font-size: var(--t-meta); line-height: 1.55; color: #ffd2cb; }

/* Fields */
.lp-register form > .rd-field,
.lp-register form > .rd-field-grid { margin-top: 20px; }
.lp-register form > .rd-field:first-child,
.lp-register form > .rd-field-grid:first-child { margin-top: 0; }
.lp-register .rd-field-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .lp-register .rd-field-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
.lp-register .rd-field { min-width: 0; }
.lp-register .rd-field label { display: block; font-size: var(--t-meta); font-weight: 600; color: var(--frost); }
.lp-register .rd-input {
  position: relative; margin-top: 8px; display: flex; align-items: center;
  border-radius: var(--radius); background: var(--abyss-950);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  transition: box-shadow 200ms var(--ease);
}
.lp-register .rd-input:hover { box-shadow: inset 0 0 0 1px rgba(238, 243, 248, 0.22); }
.lp-register .rd-input:focus-within { box-shadow: inset 0 0 0 1px var(--sky), 0 0 0 3px rgba(108, 192, 255, 0.18); }
.lp-register .rd-input > i { position: absolute; left: 16px; color: var(--ash); pointer-events: none; }
.lp-register .rd-input input {
  width: 100%; height: 52px; padding: 0 16px 0 46px;
  background: transparent; border: 0; outline: 0; border-radius: var(--radius);
  color: var(--frost); font: inherit; font-size: 1rem;
}
.lp-register .rd-input-reveal input { padding-right: 52px; }
.lp-register .rd-input input::placeholder { color: var(--ash-dim); text-transform: none; }
.lp-register .rd-input input:disabled { color: var(--ash); }
.lp-register .rd-input input:-webkit-autofill { -webkit-text-fill-color: var(--frost); -webkit-box-shadow: 0 0 0 40px var(--abyss-950) inset; caret-color: var(--sky); }
.lp-register .rd-reveal {
  position: absolute; right: 4px; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ash); border-radius: var(--radius); transition: color 200ms var(--ease);
}
.lp-register .rd-reveal:hover { color: var(--frost); }
.lp-register .rd-field-hint { display: block; margin-top: 8px; font-size: var(--t-meta); line-height: 1.55; color: var(--ash); }
.lp-register .cf-turnstile { margin-top: 20px; }

/* Actions */
.lp-register .rd-form-actions { margin-top: 28px; display: flex; flex-direction: column-reverse; gap: 12px; }
@media (min-width: 640px) { .lp-register .rd-form-actions { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); } }
.lp-register .rd-form-actions:has(> :only-child) { display: flex; }

.lp-register .rd-cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 0; border-radius: 2px;
  font-family: var(--font); font-size: var(--t-meta); font-weight: 700; font-stretch: 112%;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease), transform 120ms var(--ease);
}
.lp-register .rd-cta i { font-size: 1.15em; line-height: 1; }
.lp-register .rd-cta:active { transform: translateY(1px); }
.lp-register .rd-cta[disabled] { opacity: 0.45; pointer-events: none; }
.lp-register .rd-cta-block { display: flex; width: 100%; white-space: normal; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; }
.lp-register .rd-cta-primary {
  background: var(--ocean); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 28px -16px rgba(0, 0, 0, 0.9);
}
.lp-register .rd-cta-primary:hover { background: var(--ocean-press); }
.lp-register .rd-cta-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%) no-repeat;
  background-size: 300% 100%; background-position: calc(var(--lx) * 1%) 50%;
  transition: background-position 600ms var(--ease);
}
.lp-register .rd-cta-ghost { background: rgba(5, 7, 10, 0.6); color: var(--frost); box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.lp-register .rd-cta-ghost:hover { background: var(--abyss-850); box-shadow: inset 0 0 0 1px var(--sky-line); }
.lp-register .rd-mt-10 { margin-top: 10px; }

.lp-register .rd-auth-divider { margin: 28px 0 16px; display: flex; align-items: center; gap: 16px; font-size: var(--t-meta); color: var(--ash); }
.lp-register .rd-auth-divider::before,
.lp-register .rd-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--abyss-800); }

/* Result screens: success, check your e-mail, unknown step. */
.lp-register .rd-auth-result { display: flex; flex-direction: column; align-items: flex-start; }
.lp-register .rd-auth-result-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--abyss-950); box-shadow: inset 0 0 0 1px var(--sky-line);
  color: var(--sky); font-size: 1.5rem;
}
.lp-register .rd-auth-result-mark.rd-is-alert { color: #ff8a7a; box-shadow: inset 0 0 0 1px rgba(255, 138, 122, 0.4); }
.lp-register .rd-auth-result h2 {
  margin-top: 24px; font-weight: 800; font-stretch: 118%; text-transform: uppercase;
  font-size: var(--t-d-md); line-height: 1.04; letter-spacing: -0.01em;
}
.lp-register .rd-auth-result p { margin-top: 12px; max-width: 52ch; line-height: 1.7; }
.lp-register .rd-auth-result .rd-auth-result-meta { display: flex; align-items: center; gap: 8px; font-size: var(--t-meta); color: var(--sky); }
.lp-register .rd-auth-result .rd-cta { margin-top: 28px; }

/* ---- guides: combinations.php and drops.php -------------------------------
 * Both open on the same head (map art graded down on the right, title with
 * the page's one sky line, a lead, then the page's tools) and then go their
 * own way: the combination list is a ledger of formulas, the drop tables run
 * map by map with the named spawns under each. */

.lp-guide [hidden] { display: none !important; }
.no-js .lp-js-only { display: none !important; }
.lp-mobile-links a[aria-current] { color: var(--sky); }

.lp-guide-head { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + 48px) 0 48px; background: var(--abyss-950); }
@media (min-width: 1024px) { .lp-guide-head { padding: calc(var(--nav-h) + 88px) 0 64px; } }
.lp-guide-head-art { position: absolute; z-index: -1; inset: 0 0 auto auto; width: 100%; height: 100%; }
.lp-guide-head-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
  filter: saturate(0.85) brightness(0.8);
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
@media (min-width: 1024px) {
  .lp-guide-head-art { width: 64%; }
  .lp-guide-head-art img {
    opacity: 0.85;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to bottom, #000 55%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to bottom, #000 55%, transparent 100%);
    mask-composite: intersect;
  }
}
.lp-guide-title { max-width: 14ch; }
.lp-guide-lead { margin-top: 24px; }
.lp-guide-tools { margin-top: 40px; display: grid; gap: 20px; }
.lp-guide-aside { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: var(--t-meta); }

/* Segmented filter: quiet chips; the pressed one takes the sky hairline and underline. */
.lp-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-seg-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px;
  border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(11, 15, 20, 0.82); color: var(--ash);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  font: inherit; font-size: var(--t-micro); font-weight: 600; font-stretch: 108%; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
}
.lp-seg-btn:hover { color: var(--frost); box-shadow: inset 0 0 0 1px rgba(238, 243, 248, 0.24); }
.lp-seg-btn[aria-pressed="true"] { color: var(--frost); background: var(--abyss-850); box-shadow: inset 0 0 0 1px var(--sky-line), inset 0 -2px 0 var(--sky); }
.lp-seg-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.lp-seg-count { color: var(--ash-dim); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.lp-seg-btn[aria-pressed="true"] .lp-seg-count { color: var(--sky); }

/* Pictures that open in the viewer. */
.lp-zoom { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #000; }
.lp-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.lp-zoom:hover img { transform: scale(1.04); }
.lp-zoom:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.lp-zoom-hint {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 2px; background: rgba(5, 7, 10, 0.78); color: var(--frost);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
  opacity: 0; transition: opacity 200ms var(--ease);
}
.lp-zoom:hover .lp-zoom-hint, .lp-zoom:focus-visible .lp-zoom-hint { opacity: 1; }
@media (hover: none) { .lp-zoom-hint { opacity: 1; } }

.lp-guide-empty { padding: 48px 0; text-align: center; color: var(--ash); }

/* ---- combination list ---- */

.lp-guide-list { padding: 8px 0 96px; }
@media (min-width: 1024px) { .lp-guide-list { padding-bottom: 128px; } }
.lp-recipes { display: grid; gap: 20px; }
.lp-recipe { display: grid; gap: 24px; padding: 16px; scroll-margin-top: calc(var(--nav-h) + 24px); }
@media (min-width: 640px) { .lp-recipe { padding: 24px; } }
@media (min-width: 1024px) {
  .lp-recipe { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 40px; padding: 28px; align-items: start; }
}
.lp-recipe-art { aspect-ratio: 16 / 9; }
.lp-recipe-art img { filter: saturate(0.92) brightness(0.92); }
.lp-recipe-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.lp-recipe-group { margin-top: 10px; color: var(--ash); }
.lp-odds { flex-shrink: 0; text-align: right; }
.lp-odds-num { font-weight: 800; font-stretch: 118%; font-size: var(--t-d-md); line-height: 1; color: var(--sky); }
.lp-odds-num--text { font-size: var(--t-d-xs); line-height: 1.2; text-transform: uppercase; color: var(--frost); }
.lp-odds-label { margin-top: 8px; color: var(--ash); }
/* Phones: the odds drop under the name and read as one line. */
@media (max-width: 639px) {
  .lp-recipe-head { flex-direction: column; gap: 12px; }
  .lp-odds { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 10px; text-align: left; }
  .lp-odds-label { margin-top: 0; }
}
.lp-recipe-summary { margin-top: 16px; max-width: 62ch; line-height: 1.7; color: var(--ash); }

/* The formula: the ingredients as a grid, then what they make. */
.lp-formula { margin-top: 24px; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.lp-ingredient {
  height: 100%;
  display: flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px;
  border-radius: var(--radius); background: var(--abyss-950); box-shadow: inset 0 0 0 1px var(--hairline);
  transition: box-shadow 200ms var(--ease), background-color 200ms var(--ease);
}
.lp-ingredient--link:hover { background: var(--abyss-850); box-shadow: inset 0 0 0 1px var(--sky-line); }
.lp-ingredient--link:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.lp-ingredient-icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 2px; background: #000; box-shadow: inset 0 0 0 1px var(--hairline); }
.lp-ingredient-icon img { width: 40px; height: 40px; object-fit: contain; }
.lp-ingredient-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.lp-ingredient-name { font-size: var(--t-meta); color: var(--frost); }
.lp-ingredient-qty { font-size: var(--t-meta); font-weight: 700; color: var(--sky); }
.lp-ingredient-where { margin-left: auto; color: var(--abyss-600); transition: color 200ms var(--ease); }
.lp-ingredient--link:hover .lp-ingredient-where { color: var(--sky); }
.lp-formula-result { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.lp-formula-result i { color: var(--sky); }
.lp-formula-result .lp-label { color: var(--ash); }
.lp-formula-result-name { font-weight: 800; font-stretch: 112%; font-size: var(--t-meta); letter-spacing: 0.06em; text-transform: uppercase; color: var(--frost); }
.lp-recipe-note { margin-top: 16px; font-size: var(--t-meta); color: var(--ash); }

/* Talic reference: one column per tier, the ladder left to right. */
.lp-talic-tiers { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .lp-talic-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lp-talic-tiers { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.lp-talic-tier { padding: 20px; border-radius: var(--radius); background: var(--abyss-950); box-shadow: inset 0 0 0 1px var(--hairline); }
.lp-talic-tier-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--abyss-800); }
.lp-talic-tier-head h3 { color: var(--frost); }
.lp-talic-rank { display: flex; gap: 3px; }
.lp-talic-rank i { width: 10px; height: 4px; border-radius: 1px; background: var(--abyss-700); }
.lp-talic-rank i.is-on { background: var(--sky); }
.lp-talic-tier ul { margin-top: 8px; }
.lp-talic-tier li { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.lp-talic-tier li + li { border-top: 1px solid rgba(238, 243, 248, 0.04); }
.lp-talic-tier img { flex-shrink: 0; width: 36px; height: 36px; border-radius: 2px; background: #000; box-shadow: inset 0 0 0 1px var(--hairline); }
.lp-talic-tier li > span { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.lp-talic-name { font-size: var(--t-meta); color: var(--frost); }
.lp-talic-el { font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); }

/* ---- drop information ---- */

.lp-guide-search { max-width: 520px; }
.lp-guide-search .lp-input { margin-top: 0; }
.lp-guide-search input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); cursor: pointer; }
.lp-guide-status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; font-size: var(--t-meta); color: var(--frost); }

.lp-guide-jump ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.lp-guide-jump ul::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .lp-guide-jump ul { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }
.lp-guide-jump a {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; white-space: nowrap;
  border-radius: 2px; background: rgba(11, 15, 20, 0.82); box-shadow: inset 0 0 0 1px var(--hairline-strong);
  transition: box-shadow 200ms var(--ease), background-color 200ms var(--ease), opacity 200ms var(--ease);
}
.lp-guide-jump a:hover { background: var(--abyss-850); box-shadow: inset 0 0 0 1px var(--sky-line); }
.lp-guide-jump a.is-empty { opacity: 0.4; }
.lp-guide-jump-name { font-size: var(--t-meta); font-weight: 700; color: var(--frost); }
.lp-guide-jump-band { font-size: var(--t-micro); color: var(--ash); }

.lp-dropzone { padding: 64px 0; border-top: 1px solid var(--abyss-800); scroll-margin-top: var(--nav-h); }
.lp-dropzone:nth-child(even) { background: var(--abyss-900); }
@media (min-width: 1024px) { .lp-dropzone { padding: 96px 0; } }
.lp-dropzone-top { display: grid; gap: 28px; }
@media (min-width: 1024px) {
  .lp-dropzone-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .lp-dropzone:nth-child(even) .lp-dropzone-art { order: 2; }
}
.lp-dropzone-art { aspect-ratio: 16 / 9; }
.lp-dropzone-art img { filter: saturate(0.9) brightness(0.88); }
.lp-dropzone-band { margin-top: 14px; color: var(--sky); }
.lp-dropzone-summary { margin-top: 16px; max-width: 60ch; line-height: 1.7; color: var(--ash); }
.lp-dropzone-sub { margin-top: 28px; color: var(--frost); }
.lp-dropzone-sub--bosses { margin-top: 48px; }

.lp-drop-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-drop-chips li {
  padding: 8px 12px; border-radius: 2px; font-size: var(--t-meta); color: var(--frost);
  background: var(--abyss-950); box-shadow: inset 0 0 0 1px var(--hairline-strong);
}
.lp-dropzone:nth-child(even) .lp-drop-chips li { background: var(--abyss-850); }
.lp-drop-chips li.is-hit { color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); background: rgba(108, 192, 255, 0.08); }

.lp-bosses { margin-top: 16px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .lp-bosses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lp-bosses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-boss { display: flex; flex-direction: column; overflow: hidden; }
.lp-dropzone:nth-child(even) .lp-boss { background: var(--abyss-950); }
/* Boss renders are cut out on black; contain keeps the whole creature. */
.lp-boss-art { aspect-ratio: 4 / 3; border-radius: 0; }
.lp-boss-art img { object-fit: contain; padding: 8px; }
.lp-boss-art--scene img { object-fit: cover; padding: 0; }
.lp-boss-body { flex: 1; padding: 18px 20px 20px; border-top: 1px solid var(--abyss-800); }
.lp-boss-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lp-boss-timer { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-meta); font-weight: 700; color: var(--sky); }
.lp-boss-timer i { font-size: 0.95em; }
.lp-boss-drops { margin-top: 14px; display: grid; gap: 6px; }
.lp-boss-drops li { position: relative; padding-left: 16px; font-size: var(--t-meta); line-height: 1.45; color: var(--ash); }
.lp-boss-drops li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 1px; background: var(--abyss-600); }
.lp-boss-drops li.is-hit { color: var(--sky); }
.lp-boss-drops li.is-hit::before { background: var(--sky); }

.lp-guide-foot { padding-top: 48px; padding-bottom: 96px; border-top: 1px solid var(--abyss-800); color: var(--ash); }

/* ---- image viewer (landing.js builds it once) ---- */

.lp-lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--frost);
}
.lp-lightbox::backdrop { background: rgba(5, 7, 10, 0.94); backdrop-filter: blur(6px); }
.lp-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lp-lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 72px 16px 96px; max-width: 100%; }
@media (min-width: 768px) { .lp-lightbox figure { padding: 72px 96px; } }
.lp-lightbox img { max-width: min(1280px, 100%); max-height: calc(100vh - 200px); object-fit: contain; border-radius: var(--radius); background: #000; }
.lp-lightbox figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: var(--t-meta); color: var(--ash); text-align: center; }
.lp-lightbox-count { font-variant-numeric: tabular-nums; color: var(--ash-dim); }
.lp-lightbox-btn {
  position: absolute; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 2px; cursor: pointer; font-size: 1.2rem;
  background: rgba(11, 15, 20, 0.82); color: var(--frost); box-shadow: inset 0 0 0 1px var(--hairline-strong);
  transition: box-shadow 200ms var(--ease), background-color 200ms var(--ease);
}
.lp-lightbox-btn:hover { background: var(--abyss-850); box-shadow: inset 0 0 0 1px var(--sky-line); }
.lp-lightbox-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.lp-lightbox-close { top: 16px; right: 16px; }
.lp-lightbox-prev, .lp-lightbox-next { bottom: 24px; }
.lp-lightbox-prev { left: calc(50% - 56px); }
.lp-lightbox-next { right: calc(50% - 56px); }
@media (min-width: 768px) {
  .lp-lightbox-prev, .lp-lightbox-next { bottom: auto; top: 50%; translate: 0 -50%; }
  .lp-lightbox-prev { left: 24px; }
  .lp-lightbox-next { right: 24px; }
}
.lp-lightbox-btn[hidden] { display: none; }

/* ---- motion off ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .lp-hero-plate img { transform: none; }
  .lp-zoom:hover img { transform: none; }
}
