/* ==========================================================================
   Tantra Online: Kathana X — the hall.
   Gold on ink; no cards, no glass, no gradients doing the work of a composition.
   ========================================================================== */

@font-face {
  font-family: 'Marcellus';
  src: url('./assets/fonts/marcellus-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  src: url('./assets/fonts/alegreya-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  src: url('./assets/fonts/alegreya-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  src: url('./assets/fonts/alegreya-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0906;
  --ink-2: #100d09;
  --ink-3: #17120c;
  --bone: #ece2cf;
  --bone-2: #e3d7c0;
  --bone-3: #d6c8ad;
  --gold: #c9a24d;
  --gold-2: #e6c987;
  --gold-dim: rgba(201, 162, 77, 0.34);
  --gold-faint: rgba(201, 162, 77, 0.14);
  --rust: #8e3b22;
  --muted: #9a8f7c;
  --muted-dark: #6d6354;
  --line: rgba(201, 162, 77, 0.26);
  --line-dark: rgba(11, 9, 6, 0.16);
  --max: 1440px;
  --gutter: clamp(20px, 5vw, 80px);
  --display: 'Marcellus', 'Times New Roman', serif;
  --body: 'Alegreya Sans', 'Helvetica Neue', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 4px;
}

.section-bone :focus-visible {
  outline-color: var(--rust);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: none;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-bone .eyebrow {
  color: var(--rust);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 28px;
  border: 1px solid var(--gold-dim);
  background: transparent;
  color: var(--bone);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.btn:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--ink);
}
.btn-quiet {
  border-color: rgba(236, 226, 207, 0.18);
  color: rgba(236, 226, 207, 0.82);
}
.section-bone .btn-quiet {
  border-color: rgba(11, 9, 6, 0.22);
  color: var(--ink);
}
.section-bone .btn-quiet:hover {
  border-color: var(--rust);
  color: var(--rust);
}
.btn-block {
  width: 100%;
}
.arrow {
  font-size: 14px;
  line-height: 1;
}

/* --- header -------------------------------------------------------------- */

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2));
  height: 84px;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
.top.scrolled {
  background: rgba(11, 9, 6, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 34px;
  align-self: center;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(201, 162, 77, 0.22));
}
.brand-word {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.16em;
  color: var(--bone);
}
.brand-tag {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(236, 226, 207, 0.6);
  padding: 6px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.nav a:hover {
  color: var(--bone);
}
.nav a:hover::after {
  transform: scaleX(1);
}
.top-cta {
  padding: 12px 20px;
  font-size: 9px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(236, 226, 207, 0.16);
  background: transparent;
  color: rgba(236, 226, 207, 0.76);
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.account-trigger svg {
  width: 14px;
  height: 14px;
}
.account-trigger:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}
.account-trigger.signed-in {
  border-color: rgba(201, 162, 77, 0.4);
  color: var(--gold-2);
}
.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  opacity: 0.85;
}
.nav-play {
  display: none;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-bars,
.nav-bars::before,
.nav-bars::after {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--bone);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-bars {
  position: relative;
  margin: 0 auto;
}
.nav-bars::before,
.nav-bars::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-bars::before {
  top: -7px;
}
.nav-bars::after {
  top: 7px;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  padding: 130px var(--gutter) 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 52% 62% at 74% 48%, rgba(201, 162, 77, 0.15), transparent 64%),
    radial-gradient(ellipse 38% 46% at 12% 6%, rgba(142, 59, 34, 0.09), transparent 60%),
    var(--ink);
}
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.rail-left {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(236, 226, 207, 0.26);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.hero-copy {
  max-width: 660px;
}
.hero h1 {
  margin: 26px 0 28px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.015em;
  color: var(--bone);
}
.hero-x {
  display: inline-block;
  color: var(--gold-2);
  letter-spacing: 0.01em;
}
.hero-sub {
  max-width: 50ch;
  color: rgba(236, 226, 207, 0.68);
  font-size: clamp(1.02rem, 1.15vw, 1.22rem);
  line-height: 1.66;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

/* the stage */
.hero-stage {
  width: 100%;
  max-width: 780px;
  justify-self: end;
  display: flex;
  flex-direction: column;
}
.stage-panel {
  position: relative;
  height: clamp(500px, 64vh, 760px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(201, 162, 77, 0.12), transparent 66%),
    linear-gradient(180deg, #0e0b07, #070503);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.stage-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(11, 9, 6, 0.35);
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
}
.live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.28;
  }
}
.stage-frame {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.stage-arch {
  position: absolute;
  inset: 6% 9% 3%;
  border: 1px solid rgba(201, 162, 77, 0.34);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  pointer-events: none;
}
.stage-arch i {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(201, 162, 77, 0.16);
  border-radius: inherit;
}
.stage-arch::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 162, 77, 0.3), transparent 70%);
}
.stage-arch::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -4px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
}
.stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
  z-index: 2;
}
.stage-ready .stage {
  opacity: 1;
}
.stage-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--gold);
  transition: opacity 0.8s ease;
}
.stage-ready .stage-placeholder {
  opacity: 0;
}
.stage-mark {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}
.stage-placeholder p {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.stage-placeholder small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.stage-fallback {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px;
  text-align: center;
  background: var(--ink);
  color: var(--muted);
  font-size: 14px;
}
.stage-failed .stage-fallback {
  display: flex;
}
.stage-failed .stage {
  opacity: 0;
}
.stage-caption {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 18px;
  padding: 14px 18px 15px;
  border-top: 1px solid var(--line);
  background: rgba(11, 9, 6, 0.5);
}
.cap-pair {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--bone);
}
.cap-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}
.cap-weapons {
  grid-column: 1 / -1;
  display: flex;
  gap: 20px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.cap-weapons span::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 8px;
  background: var(--gold-dim);
  vertical-align: middle;
}

/* bloodline tabs */
.bloodline-tabs {
  display: flex;
}
.bloodline-tabs button {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 13px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: rgba(11, 9, 6, 0.4);
  color: var(--muted);
  font-family: var(--body);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.bloodline-tabs button:last-child {
  border-right: 0;
}
.bloodline-tabs button:hover {
  color: var(--bone);
  background: rgba(201, 162, 77, 0.05);
}
.bloodline-tabs button[aria-selected='true'] {
  color: var(--gold-2);
  background: rgba(201, 162, 77, 0.08);
  box-shadow: inset 0 1px 0 var(--gold);
}
.tab-no {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
}
.tab-name {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
}
.hero-tabs {
  border: 1px solid var(--line);
  border-top: 0;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  z-index: 3;
}
.scroll-cue i {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--gold-dim), transparent);
}

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

.section,
.hero {
  scroll-margin-top: 90px;
}

.section {
  position: relative;
  padding: clamp(90px, 12vw, 170px) var(--gutter);
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.head {
  margin-bottom: clamp(48px, 6vw, 90px);
}
.head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}
.head h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.012em;
  color: inherit;
}
.head-note {
  max-width: 46ch;
  justify-self: end;
  font-size: 17px;
  line-height: 1.66;
  color: var(--muted);
}
.section-bone .head-note {
  color: rgba(11, 9, 6, 0.64);
}

/* proof */
.section-proof {
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.shot-frame {
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(236, 226, 207, 0.02);
}
.shot-frame img {
  width: 100%;
  height: auto;
}
.shot figcaption {
  display: flex;
  gap: 14px;
  padding-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.fig-no {
  flex: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 3px;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(50px, 6vw, 80px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-strip div {
  padding-right: 20px;
  border-right: 1px solid rgba(201, 162, 77, 0.16);
}
.proof-strip div:last-child {
  border-right: 0;
  padding-left: 20px;
}
.proof-strip div:not(:first-child) {
  padding-left: 20px;
}
.proof-strip dt {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.proof-strip dd {
  margin-top: 5px;
  font-size: 14px;
  color: var(--bone);
}

/* bone */
.section-bone {
  background: var(--bone);
  color: var(--ink);
  border-top: 1px solid rgba(11, 9, 6, 0.12);
  border-bottom: 1px solid rgba(11, 9, 6, 0.12);
}

/* bloodlines */
.section-tabs {
  border-bottom: 1px solid rgba(11, 9, 6, 0.2);
  margin-bottom: clamp(40px, 5vw, 70px);
}
.section-tabs button {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 20px 14px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: rgba(11, 9, 6, 0.48);
  font-family: var(--body);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.section-tabs button:hover {
  color: var(--ink);
}
.section-tabs button[aria-selected='true'] {
  color: var(--ink);
  border-bottom-color: var(--rust);
}
.section-tabs .tab-no {
  color: rgba(142, 59, 34, 0.55);
}
.section-tabs button[aria-selected='true'] .tab-no {
  color: var(--rust);
}
.section-tabs .tab-name {
  font-size: 11px;
  letter-spacing: 0.12em;
}
.bloodline-feature {
  display: grid;
  transition: opacity 0.35s ease;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: stretch;
}
.bloodline-feature.swapping {
  opacity: 0.32;
}
.feature-kicker {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 18px;
}
.feature-copy h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 5.2vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.feature-copy h3 span {
  color: var(--rust);
}
.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 50px);
  padding-top: 30px;
  border-top: 1px solid rgba(11, 9, 6, 0.18);
}
.feature-pair h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.1;
}
.sex {
  display: block;
  margin-top: 6px;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.role {
  margin: 14px 0 16px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}
.feature-pair article > p:not(.role) {
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(11, 9, 6, 0.72);
}
.feature-pair dl {
  margin-top: 24px;
}
.feature-pair dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid rgba(11, 9, 6, 0.12);
}
.feature-pair dt {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.feature-pair dd {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.feature-plate {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding-left: clamp(24px, 3vw, 44px);
  border-left: 1px solid rgba(11, 9, 6, 0.18);
  overflow: hidden;
}
.plate-no {
  position: absolute;
  top: -0.12em;
  right: -0.04em;
  font-family: var(--display);
  font-size: clamp(9rem, 15vw, 15rem);
  line-height: 0.8;
  color: rgba(11, 9, 6, 0.055);
  pointer-events: none;
}
.plate-class {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
}
.plate-weapons {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(11, 9, 6, 0.18);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
}
.tribe-index {
  list-style: none;
  margin: clamp(60px, 7vw, 90px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(30px, 5vw, 70px);
  border-top: 1px solid rgba(11, 9, 6, 0.18);
}
.tribe-index li {
  display: grid;
  grid-template-columns: 28px 1.2fr 0.6fr 0.8fr 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(11, 9, 6, 0.12);
  font-size: 13px;
}
.idx-no {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted-dark);
}
.idx-name {
  font-family: var(--display);
  font-size: 1.15rem;
}
.idx-sex {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.idx-class {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}
.idx-weapon {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: right;
  color: var(--ink);
}

/* ladder */
.bands {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(11, 9, 6, 0.18);
}
.band {
  display: grid;
  grid-template-columns: 46px 1.05fr 0.85fr 0.75fr 1.55fr;
  gap: 20px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(11, 9, 6, 0.13);
  transition: background 0.35s, padding 0.35s;
}
.band:hover {
  background: rgba(11, 9, 6, 0.028);
  padding-left: 14px;
}
.band-no {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--rust);
}
.band-name {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1;
}
.band-range {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(11, 9, 6, 0.7);
}
.band-wing {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}
.band-note {
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(11, 9, 6, 0.64);
}
.forge {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(30px, 5vw, 70px);
  margin-top: clamp(60px, 7vw, 90px);
  padding-top: 28px;
  border-top: 1px solid rgba(11, 9, 6, 0.18);
}
.forge-head p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted-dark);
  max-width: 30ch;
}
.forge-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid rgba(11, 9, 6, 0.12);
}
.forge-row li {
  padding: 6px 18px 10px;
  border-right: 1px solid rgba(11, 9, 6, 0.12);
}
.forge-name {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.2;
}
.forge-range {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
}

/* world */
.section-world {
  background:
    radial-gradient(ellipse 46% 38% at 82% 12%, rgba(142, 59, 34, 0.1), transparent 62%),
    var(--ink);
}
.codex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  padding-top: 46px;
  border-top: 1px solid var(--line);
}
.codex-col h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1;
}
.codex-note {
  margin: 10px 0 28px;
  font-size: 13px;
  color: var(--muted);
  max-width: 40ch;
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rows li {
  display: grid;
  grid-template-columns: 28px 1fr 1.5fr;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(201, 162, 77, 0.16);
}
.row-no {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--gold-dim);
}
.rows b {
  font-weight: 500;
  font-size: 15px;
  color: var(--bone);
}
.rows li > span:last-child {
  font-size: 12px;
  text-align: right;
  color: var(--muted);
}
.codex-foot {
  margin-top: 24px;
  font-size: 12px;
  font-style: italic;
  color: var(--gold);
}
.pull {
  margin: clamp(70px, 10vw, 140px) auto 0;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  text-align: center;
  max-width: 900px;
}
.pull p {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.pull cite {
  display: block;
  margin-top: 18px;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* gods */
.section-gods {
  border-top: 1px solid var(--line);
}
.roster {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.roster li {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 26px 24px 28px;
  border-right: 1px solid var(--line);
  transition: background 0.35s;
}
.roster li:last-child {
  border-right: 0;
}
.roster li:hover {
  background: rgba(201, 162, 77, 0.035);
}
.roster img,
.god-sigil {
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  image-rendering: pixelated;
}
.roster img {
  filter: drop-shadow(0 0 14px rgba(201, 162, 77, 0.18));
}
.god-sigil {
  border: 1px solid #b07ad6;
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(176, 122, 214, 0.35);
}
.god-name {
  margin-top: auto;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
}
.god-epithet {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.god-favour {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.note {
  margin-top: 26px;
  max-width: 74ch;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* play */
.play-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.panel {
  border: 1px solid rgba(11, 9, 6, 0.22);
  background: rgba(255, 255, 255, 0.16);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(11, 9, 6, 0.18);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.panel-note {
  color: var(--muted-dark);
}
.panel-body {
  padding: 26px 20px 22px;
}
.panel-body .panel-note {
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 6px;
}
.form label {
  display: block;
  margin: 18px 0 8px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.form input,
.form select {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid rgba(11, 9, 6, 0.3);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}
.form input::placeholder {
  color: rgba(11, 9, 6, 0.34);
}
.form select {
  appearance: none;
  padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238e3b22' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
.form input:focus,
.form select:focus {
  border-bottom-color: var(--rust);
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form .btn-block {
  margin-top: 28px;
}
.feedback {
  min-height: 20px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-dark);
}
.feedback.error {
  color: var(--rust);
}
.feedback.success {
  color: #2f5d3a;
}
.play-side {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.door {
  position: relative;
  display: block;
  padding: 32px 30px 34px;
  border: 1px solid rgba(11, 9, 6, 0.22);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.door:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.door-kicker {
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  transition: color 0.4s;
}
.door:hover .door-kicker {
  color: var(--gold);
}
.door-word {
  display: block;
  margin: 10px 0 16px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  line-height: 0.95;
}
.door-arrow {
  position: absolute;
  right: 26px;
  bottom: 20px;
  font-size: 26px;
  line-height: 1;
  color: var(--rust);
  transition: color 0.4s, transform 0.4s;
}
.door:hover .door-arrow {
  color: var(--gold);
  transform: translate(3px, -3px);
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(11, 9, 6, 0.18);
}
.facts li {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(11, 9, 6, 0.12);
  font-size: 13px;
}
.facts b {
  font-weight: 500;
  color: var(--ink);
}
.facts span {
  text-align: right;
  color: var(--muted-dark);
}

/* footer */
.foot {
  padding: 60px var(--gutter) 38px;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: 30px 50px;
  align-items: start;
}
.foot-brand {
  display: block;
  width: 150px;
}
.foot-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5));
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-self: end;
}
.foot-nav a {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s;
}
.foot-nav a:hover {
  color: var(--gold);
}
.legal {
  grid-column: 1 / -1;
  max-width: 82ch;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(236, 226, 207, 0.4);
}
.foot-line {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* --- crossplay ----------------------------------------------------------- */

.section-devices {
  overflow: hidden;
}

.devices-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(52px, 7vw, 104px);
}
.devices-head h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.devices-head h2 span {
  color: var(--rust);
}
.devices-lede {
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.15vw, 1.22rem);
  line-height: 1.66;
  color: rgba(11, 9, 6, 0.66);
}

.device-stage {
  position: relative;
}
.device-cluster {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: clamp(10px, 2vw, 26px);
}
.device-slot {
  position: relative;
  flex: none;
  transform: rotate(var(--tilt, 0deg));
  transform-origin: 50% 100%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.device-slot:hover {
  transform: rotate(0deg) translateY(-8px);
}
.device-slot .device {
  transform: scale(var(--s, 1));
  transform-origin: 0 0;
  filter: drop-shadow(0 30px 34px rgba(35, 22, 6, 0.24));
}
.slot-tablet {
  --s: 0.62;
  --tilt: -1.6deg;
  z-index: 2;
  width: calc(560px * var(--s));
  height: calc(778px * var(--s));
  margin-right: -34px;
}
.slot-desktop {
  --s: 0.8;
  z-index: 1;
  width: calc(740px * var(--s));
  height: calc(444px * var(--s));
}
.slot-phone {
  --s: 0.55;
  --tilt: 1.6deg;
  z-index: 3;
  width: calc(428px * var(--s));
  height: calc(868px * var(--s));
  margin-left: -30px;
}

.device-screen {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.device-screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.screen-hud {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  font-family: var(--body);
}
.screen-hud::before {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.55);
}
.screen-hud::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(3, 2, 1, 0.78), rgba(3, 2, 1, 0));
}
.screen-region {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.screen-party {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 7px;
}
.screen-plate {
  display: grid;
  gap: 3px;
}
.screen-name {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.device .screen-name,
.device .screen-name b {
  display: inline;
}
.screen-name b {
  color: var(--gold-2);
  font-weight: 500;
}
.screen-bar {
  display: block;
  height: 2px;
  background: rgba(236, 226, 207, 0.18);
  overflow: hidden;
}
.screen-bar i {
  display: block;
  width: var(--hp, 80%);
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-2));
}
.slot-tablet .screen-region {
  top: 26px;
  left: 26px;
  font-size: 13px;
}
.slot-tablet .screen-party {
  left: 26px;
  right: 26px;
  bottom: 26px;
  gap: 8px;
}
.slot-tablet .screen-name {
  font-size: 14px;
}
.slot-tablet .screen-bar {
  height: 3px;
}
.slot-phone .screen-region {
  top: 38px;
  left: 26px;
  font-size: 14px;
}
.slot-phone .screen-party {
  left: 26px;
  right: 26px;
  bottom: 42px;
}
.slot-phone .screen-name {
  font-size: 15px;
}
.slot-phone .screen-bar {
  height: 3px;
}

.device-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 44px);
  margin-top: clamp(38px, 5vw, 64px);
  border-top: 1px solid rgba(11, 9, 6, 0.14);
}
.device-legend > div {
  display: grid;
  gap: 3px;
  padding-top: 15px;
}
.legend-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}
.legend-head svg {
  width: 15px;
  height: 15px;
  color: var(--rust);
}
.legend-os {
  font-size: 13px;
  color: rgba(11, 9, 6, 0.58);
}

.crossplay-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(46px, 6vw, 84px);
  padding-top: clamp(28px, 4vw, 46px);
  border-top: 1px solid rgba(11, 9, 6, 0.14);
  list-style: none;
}
.crossplay-points li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.point-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(142, 59, 34, 0.34);
  color: var(--rust);
}
.point-icon svg {
  width: 17px;
  height: 17px;
}
.crossplay-points b {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.crossplay-points p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(11, 9, 6, 0.62);
}

.device-stage.reveal .device-slot {
  opacity: 0;
  transform: translateY(26px) rotate(var(--tilt, 0deg));
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.device-stage.reveal.in .device-slot {
  opacity: 1;
  transform: translateY(0) rotate(var(--tilt, 0deg));
}
.device-stage.reveal.in .slot-desktop {
  transition-delay: 0.02s;
}
.device-stage.reveal.in .slot-tablet {
  transition-delay: 0.14s;
}
.device-stage.reveal.in .slot-phone {
  transition-delay: 0.24s;
}
.device-stage.reveal.in .device-slot:hover {
  transform: translateY(-8px) rotate(0deg);
}

@media (max-width: 1180px) {
  .devices-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .devices-lede {
    max-width: 60ch;
  }
  .slot-tablet {
    --s: 0.54;
    margin-right: -24px;
  }
  .slot-desktop {
    --s: 0.68;
  }
  .slot-phone {
    --s: 0.48;
    margin-left: -22px;
  }
}

@media (max-width: 1000px) {
  .slot-tablet {
    --s: 0.48;
    margin-right: -18px;
  }
  .slot-desktop {
    --s: 0.62;
  }
  .slot-phone {
    --s: 0.43;
    margin-left: -16px;
  }
  .crossplay-points {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .crossplay-points li {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(11, 9, 6, 0.1);
  }
  .crossplay-points li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .devices-head h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
  .device-cluster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: end;
    row-gap: 28px;
    padding-top: 0;
  }
  .slot-desktop {
    --s: 0.43;
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .slot-tablet {
    --s: 0.38;
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    margin-right: -18px;
  }
  .slot-phone {
    --s: 0.34;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-left: -18px;
  }
  .device-legend {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .device-legend > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(11, 9, 6, 0.1);
  }
  .device-legend > div:last-child {
    border-bottom: 0;
  }
  .legend-os {
    font-size: 12px;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .device-slot {
    transition: none;
  }
  .device-stage.reveal .device-slot {
    opacity: 1;
    transform: rotate(var(--tilt, 0deg));
    transition: none;
  }
}

/* --- world ---------------------------------------------------------------- */

.section-world {
  background:
    radial-gradient(ellipse 48% 42% at 78% 4%, rgba(201, 162, 77, 0.1), transparent 64%),
    var(--ink);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.world-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 70px);
}
.world-head h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.012em;
  color: var(--bone);
}
.world-head h2 span {
  color: var(--gold-2);
}
.world-lede {
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.15vw, 1.22rem);
  line-height: 1.66;
  color: rgba(236, 226, 207, 0.66);
}

.chapters {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 80px);
  padding: clamp(30px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
  transition: background 0.4s;
}
.chapter:last-child {
  border-bottom: 1px solid var(--line);
}
.chapter:hover {
  background: radial-gradient(ellipse 62% 100% at 0 50%, rgba(201, 162, 77, 0.045), transparent 70%);
}
.chapter-copy {
  max-width: 62ch;
}
.chapter-no {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
}
.chapter h3 {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.1;
  color: var(--bone);
  transition: color 0.3s;
}
.chapter:hover h3 {
  color: var(--gold-2);
}
.chapter-tag {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.chapter p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(236, 226, 207, 0.64);
}
.chapter-art {
  align-self: center;
}
.art-note {
  margin-top: 12px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.tribe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.tribe-grid li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(11, 9, 6, 0.92);
}
.tribe-grid b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 14px;
  color: var(--bone);
}
.tribe-grid span {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.tier-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 162, 77, 0.14);
}
.tier-list span {
  font-family: var(--display);
  font-size: 16px;
  color: var(--bone);
}
.tier-list b {
  font-family: var(--body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.stone-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stone-grid li {
  display: grid;
  gap: 5px;
  justify-items: center;
  text-align: center;
}
.stone-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.stone-grid b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 12px;
  color: var(--bone);
}
.stone-grid span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--gold-2);
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gear-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.decades {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.decades li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(201, 162, 77, 0.12);
}
.decades span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.decades i {
  position: relative;
  flex: 1;
  max-width: 180px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--gold-dim) 0 1px, transparent 1px 10%);
}
.decades i::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold-2);
  transform: translateY(-50%) rotate(45deg);
}

.war-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.war-list li {
  display: grid;
  gap: 3px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(201, 162, 77, 0.14);
}
.war-list b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  color: var(--bone);
}
.war-list span {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.title-bands {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.title-bands li {
  display: grid;
  place-items: center;
  padding: 18px 4px;
  background: rgba(11, 9, 6, 0.92);
  box-shadow: inset 0 2px 0 rgba(236, 226, 207, 0.12);
}
.title-bands li:nth-child(2) {
  box-shadow: inset 0 2px 0 rgba(236, 226, 207, 0.28);
}
.title-bands li:nth-child(3) {
  box-shadow: inset 0 2px 0 var(--gold-dim);
}
.title-bands li:nth-child(4) {
  box-shadow: inset 0 2px 0 var(--gold);
}
.title-bands li:nth-child(5) {
  box-shadow: inset 0 2px 0 var(--gold-2);
}
.title-bands span {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}
.title-bands li:nth-child(2) span {
  color: var(--bone-3);
}
.title-bands li:nth-child(3) span {
  color: var(--gold);
}
.title-bands li:nth-child(4) span {
  color: var(--gold-2);
}
.title-bands li:nth-child(5) span {
  color: var(--gold-2);
}

@media (max-width: 1180px) {
  .world-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .world-lede {
    max-width: 62ch;
  }
  .chapter {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }
}

@media (max-width: 900px) {
  .chapter {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .chapter-art {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .world-head h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
  .chapter {
    padding: 32px 0;
  }
  .stone-grid b {
    font-size: 10px;
  }
}

/* --- reveal -------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.hero-copy .reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.hero-copy .reveal:nth-child(2) {
  transition-delay: 0.14s;
}
.hero-copy .reveal:nth-child(3) {
  transition-delay: 0.24s;
}
.hero-copy .reveal:nth-child(4) {
  transition-delay: 0.34s;
}
.hero-copy .reveal:nth-child(5) {
  transition-delay: 0.44s;
}

/* --- responsive ---------------------------------------------------------- */

@media (max-width: 1180px) {
  .rail-left {
    display: none;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 5.2vw, 4.6rem);
  }
}

@media (max-width: 1000px) {
  .hero {
    min-height: auto;
    padding-top: 150px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-stage {
    max-width: 760px;
    justify-self: start;
  }
  .stage-panel {
    height: clamp(520px, 82vw, 760px);
  }
  .head-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .head-note {
    justify-self: start;
    max-width: 60ch;
  }
  .bloodline-feature {
    grid-template-columns: 1fr;
  }
  .feature-plate {
    min-height: 0;
    padding: 30px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(11, 9, 6, 0.18);
  }
  .plate-no {
    top: -0.3em;
    right: 0;
    font-size: clamp(7rem, 22vw, 11rem);
  }
  .forge {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .play-grid {
    grid-template-columns: 1fr;
  }
  .roster {
    grid-template-columns: 1fr 1fr;
  }
  .roster li:nth-child(2) {
    border-right: 0;
  }
  .roster li:nth-child(1),
  .roster li:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .top {
    height: 72px;
  }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 12px var(--gutter) 22px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(201, 162, 77, 0.12);
    font-size: 11px;
  }
  .nav a::after {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-play {
    display: block;
    margin-top: 6px;
    padding: 14px 0 10px;
    border-bottom: 0 !important;
    color: var(--gold) !important;
    font-size: 11px;
  }
  .top-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
  .hero {
    padding: 110px var(--gutter) 60px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
  }
  .hero-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-tabs button:nth-child(2) {
    border-right: 0;
  }
  .hero-tabs button:nth-child(1),
  .hero-tabs button:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .scroll-cue {
    display: none;
  }
  .section {
    padding: 80px var(--gutter);
  }
  .head h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
  .shots {
    grid-template-columns: 1fr;
  }
  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }
  .proof-strip div {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 162, 77, 0.12);
  }
  .proof-strip div:not(:first-child) {
    padding-left: 0;
  }
  .proof-strip div:last-child {
    padding-left: 0;
    border-bottom: 0;
  }
  .section-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .section-tabs button {
    padding: 12px 10px;
  }
  .section-tabs button:nth-child(2) {
    border-right: 0;
  }
  .feature-pair {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .tribe-index {
    grid-template-columns: 1fr;
  }
  .tribe-index li {
    grid-template-columns: 24px 1.2fr 0.6fr 0.8fr 1fr;
    gap: 8px;
  }
  .band {
    grid-template-columns: 24px 1fr auto;
    gap: 6px 14px;
    padding: 18px 0;
  }
  .band-no {
    grid-row: 1 / span 2;
  }
  .band-name {
    grid-column: 2;
  }
  .band-range {
    grid-column: 3;
    text-align: right;
  }
  .band-wing {
    grid-column: 2;
  }
  .band-note {
    grid-column: 2 / -1;
    grid-row: 3;
    margin-top: 4px;
  }
  .forge-row {
    grid-template-columns: 1fr 1fr;
    border-left: 0;
  }
  .forge-row li {
    border-bottom: 1px solid rgba(11, 9, 6, 0.12);
  }
  .codex {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .rows li {
    grid-template-columns: 24px 1fr;
  }
  .rows li > span:last-child {
    grid-column: 2;
    text-align: left;
  }
  .roster {
    grid-template-columns: 1fr;
  }
  .roster li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .roster li:last-child {
    border-bottom: 0;
  }
  .roster img,
  .god-sigil {
    margin-bottom: 16px;
  }
  .play-side {
    gap: 24px;
  }
  .foot-inner {
    grid-template-columns: 1fr;
  }
  .foot-nav {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .actions .btn {
    width: 100%;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .brand-tag {
    display: none;
  }
  .showcase-crest {
    width: 46px;
    margin-bottom: 16px;
  }
  .stage-panel {
    height: 500px;
  }
  .stage-caption {
    padding: 12px 14px 13px;
  }
  .cap-pair {
    font-size: 14px;
  }
  .pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .facts li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .facts span {
    text-align: left;
  }
}

@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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

.hero-video {
  min-height: 100svh;
  padding: 0;
  align-items: flex-end;
  justify-content: center;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1) brightness(0.9);
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 74% 64% at 50% 44%, rgba(11, 9, 6, 0) 24%, rgba(11, 9, 6, 0.38) 68%, rgba(11, 9, 6, 0.9) 100%),
    linear-gradient(180deg, rgba(11, 9, 6, 0.86) 0%, rgba(11, 9, 6, 0.3) 18%, rgba(11, 9, 6, 0.08) 38%, rgba(11, 9, 6, 0.32) 55%, rgba(11, 9, 6, 0.68) 70%, rgba(11, 9, 6, 0.93) 86%, rgba(11, 9, 6, 0.99) 100%);
}
.hero-veil::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(201, 162, 77, 0.08), transparent 36%, rgba(142, 59, 34, 0.1));
  mix-blend-mode: soft-light;
}

.hero-screen {
  position: relative;
  z-index: 2;
  width: min(100%, 780px);
  padding: 0 var(--gutter) clamp(56px, 9vh, 104px);
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
.hero-screen::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(1120px, 110%);
  height: 156%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 55% 48% at 50% 58%, rgba(11, 9, 6, 0.72), rgba(11, 9, 6, 0.3) 52%, transparent 76%);
  pointer-events: none;
}
.hero-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.95), 0 0 22px rgba(0, 0, 0, 0.6);
}
.hero-kicker::before,
.hero-kicker::after {
  content: '';
  flex: none;
  width: 26px;
  height: 1px;
  background: rgba(230, 201, 135, 0.6);
}
.hero-tagline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  line-height: 1.05;
  color: var(--bone);
  text-shadow: 0 2px 36px rgba(0, 0, 0, 0.95);
}
.hero-screen-actions {
  margin-top: 8px;
}
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(242, 215, 154, 0.9);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
  transition: color 0.3s;
}
.hero-scroll i {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.hero-scroll:hover {
  color: var(--gold-2);
}

/* --- showcase ------------------------------------------------------------ */

.section-showcase {
  background:
    radial-gradient(ellipse 48% 44% at 74% 4%, rgba(201, 162, 77, 0.1), transparent 64%),
    var(--ink);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 72px);
}
.showcase-crest {
  display: block;
  width: 56px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(201, 162, 77, 0.26));
}
.showcase-crest img {
  display: block;
  width: 100%;
  height: auto;
}
.showcase-head h2 {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.012em;
  color: var(--bone);
}
.showcase-head h2 span {
  color: var(--gold-2);
}
.showcase-lede {
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.15vw, 1.22rem);
  line-height: 1.66;
  color: rgba(236, 226, 207, 0.66);
}
.showcase-stage {
  max-width: 940px;
  width: 100%;
  margin: 0 auto;
  justify-self: center;
}
.showcase-stage .stage-panel {
  height: clamp(560px, 70vh, 820px);
}

@media (max-width: 1180px) {
  .showcase-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .showcase-lede {
    max-width: 60ch;
  }
  .showcase-stage {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .showcase-head h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
  .hero-video {
    min-height: 100svh;
    padding: 0;
  }
  .hero-screen {
    padding-bottom: 44px;
  }
  .showcase-stage .stage-panel {
    height: clamp(520px, 72vw, 700px);
  }
}

@media (max-width: 480px) {
  .hero-screen {
    gap: 14px;
    padding-bottom: 36px;
  }
  .hero-kicker {
    gap: 0;
    font-size: 9px;
    letter-spacing: 0.16em;
  }
  .hero-kicker::before,
  .hero-kicker::after {
    display: none;
  }
  .hero-tagline {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }
  .hero-screen-actions {
    width: 100%;
  }
  .hero-screen-actions .btn {
    width: 100%;
  }
}

/* --- account panel ------------------------------------------------------- */

body.account-open {
  overflow: hidden;
}

.account-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(ellipse 90% 28% at 82% 0%, rgba(201, 162, 77, 0.13), transparent 62%),
    linear-gradient(180deg, #0e0b07, #070503);
  color: var(--bone);
  box-shadow: -40px 0 120px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.account-panel:not([open]) {
  display: none;
}
.account-panel[open] {
  display: flex;
  flex-direction: column;
  animation: account-in 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.account-panel::backdrop {
  background: rgba(5, 4, 2, 0.62);
  backdrop-filter: blur(4px);
}
@keyframes account-in {
  from {
    transform: translateX(34px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.account-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 26px 20px;
  border-bottom: 1px solid var(--line);
}
.account-head .eyebrow {
  font-size: 9px;
}
.account-head h2 {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--bone);
}
.account-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.account-close svg {
  width: 16px;
  height: 16px;
}
.account-close:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}
.account-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 26px 34px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.account-view[hidden] {
  display: none;
}
.account-lede {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(236, 226, 207, 0.64);
}
.account-form {
  display: grid;
  gap: 14px;
}
.account-field {
  display: grid;
  gap: 6px;
}
.account-field label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.account-field input {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(236, 226, 207, 0.16);
  background: rgba(0, 0, 0, 0.24);
  color: var(--bone);
  font-family: var(--body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.account-field input::placeholder {
  color: rgba(236, 226, 207, 0.32);
}
.account-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 162, 77, 0.24);
}
.account-feedback {
  min-height: 1.2em;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gold-2);
}
.account-feedback.error {
  color: #d98a72;
}
.account-alt {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.account-alt a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
}
.account-alt a:hover {
  color: var(--bone);
}
.account-who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.account-seal {
  width: 44px;
  height: 44px;
  flex: none;
  filter: drop-shadow(0 0 14px rgba(201, 162, 77, 0.22));
}
.account-seal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.account-who-copy {
  display: grid;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.account-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.account-who strong {
  overflow: hidden;
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  color: var(--bone);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-signout {
  padding: 4px 0;
  border: 0;
  background: none;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.account-signout:hover {
  color: var(--gold-2);
}
.taney-wallet {
  margin-top: 20px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(201, 162, 77, 0.11), transparent 70%),
    rgba(0, 0, 0, 0.18);
}
.taney-wallet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.taney-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.taney-note {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.taney-amount {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 3.4rem);
  line-height: 1;
  color: var(--bone);
}
.taney-amount > span:first-child {
  font-size: 0.5em;
  color: var(--gold-2);
}
.taney-amount > span:last-child {
  font-variant-numeric: tabular-nums;
}
.taney-amount em {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.3em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.taney-spend {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(236, 226, 207, 0.46);
}
.topup {
  margin-top: 24px;
}
.topup-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.topup-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  color: var(--bone);
}
.topup-head span {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.taney-packs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.taney-pack {
  position: relative;
  cursor: pointer;
}
.taney-pack input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.taney-pack span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(236, 226, 207, 0.14);
  background: rgba(0, 0, 0, 0.18);
  transition: border-color 0.3s, background 0.3s;
}
.taney-pack b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: var(--bone);
}
.taney-pack i {
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.taney-pack:hover span {
  border-color: rgba(201, 162, 77, 0.5);
}
.taney-pack input:checked + span {
  border-color: var(--gold);
  background: rgba(201, 162, 77, 0.1);
  box-shadow: inset 0 1px 0 var(--gold);
}
.taney-pack input:checked + span b {
  color: var(--gold-2);
}
.taney-pack input:focus-visible + span {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.account-panel .btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.account-launch {
  margin-top: 18px;
  border-color: rgba(201, 162, 77, 0.55);
  color: var(--gold-2);
}
.account-launch:hover {
  border-color: var(--gold-2);
  color: var(--bone);
}
.account-dev {
  margin: 18px 0 0;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(236, 226, 207, 0.34);
}

@media (max-width: 520px) {
  .account-panel {
    width: 100vw;
    border-left: 0;
  }
  .account-head {
    padding: 20px 20px 16px;
  }
  .account-scroll {
    padding: 20px 20px 28px;
  }
  .account-trigger {
    gap: 6px;
    padding: 10px 12px;
    font-size: 8px;
  }
}
