/* sveradefense.online -- Dark Torn-Paper Field Ledger UI/UX (2026-11-27)
   Zero external fonts, zero inline styles (strict CSP style-src 'self'; img-src 'self' data:).
   Signature Svera Defense Field Ledger Palette:
     Ledger Desk Charcoal #0c0b09 / #13110e / #181511, Exposed Paper Fibre #54493b,
     Warm Parchment Ink #ece3d0 / #bfb39c, Aged Kraft #c8b892, Wax Seal Crimson #c84732,
     ASTRIS Jade Clearance #3cbfa6, Svera Gold Foil #e6b84d. */

@font-face { font-family: "Staatliches"; src: url("fonts/staatliches.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/courierprime.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/courierprime-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  /* Warm Charcoal Ledger Desk & Dark Torn Parchment Stock */
  --desk-deep: #080705;
  --basin: #0c0b09;
  --basin-2: #13110e;
  --hull: #191612;
  --hull-2: #211d17;
  --hull-3: #2a241d;
  --paper-well: #100e0b;

  /* Hand-Inked Rules & Deckled Paper Fibre Rims */
  --line: #302920;
  --line-bright: #4d4235;
  --fibre: #524637;
  --fibre-hi: #74644f;
  --rule-faint: rgba(216, 204, 180, .055);

  /* High-Contrast Warm Paper Inks (WCAG AA+) */
  --ink: #ece3d0;
  --ink-dim: #c2b69f;
  --ink-muted: #988b74;

  /* ASTRIS Jade Clearance Stamp */
  --astris: #3cbfa6;
  --astris-bright: #68e5cd;
  --astris-deep: #227365;
  --astris-glow: rgba(60, 191, 166, .16);

  /* Svera Gold Foil */
  --gold: #e6b84d;
  --gold-bright: #fbe29a;
  --gold-deep: #826120;
  --gold-glow: rgba(230, 184, 77, .20);

  /* Dried Wax-Seal Crimson */
  --seal: #c84732;
  --seal-bright: #df5b44;
  --seal-dark: #8c2e1f;

  /* Aged Kraft Slip & Masking Tape */
  --kraft: #c8b892;
  --kraft-2: #b09e75;
  --kraft-light: #ddd1b3;
  --kraft-ink: #221b12;
  --tape: rgba(216, 200, 158, .24);

  /* Semantic Status & Rarity Inks */
  --warn: #e5ad48;
  --ok: #4cc994;
  --err: #ef8370;
  --r-common: #a89f91;
  --r-uncommon: #4cc98f;
  --r-rare: #59a6e8;
  --r-epic: #c27cf2;
  --r-legendary: #f2be49;

  /* Typography & Layout */
  --display: "Staatliches", "Arial Narrow", Impact, sans-serif;
  --text: "Courier Prime", "Courier New", Courier, monospace;
  --wrap: 1240px;
  --radius: 2px;

  /* Organic Hand-Torn Paper Polygons (fixed px depth via calc() -> crisp at every width/height!) */
  --tear-a: polygon(
    0px 3px, 5% 1px, 11% 4px, 18% 1px, 26% 3px, 34% 0px, 43% 4px, 52% 1px, 61% 3px, 70% 1px, 79% 4px, 88% 1px, 95% 3px, calc(100% - 2px) 1px,
    100% 7%, calc(100% - 3px) 16%, 100% 27%, calc(100% - 2px) 39%, 100% 51%, calc(100% - 4px) 63%, 100% 75%, calc(100% - 2px) 87%, 100% calc(100% - 3px),
    94% calc(100% - 1px), 86% calc(100% - 4px), 77% calc(100% - 1px), 68% calc(100% - 3px), 59% 100%, 49% calc(100% - 4px), 39% calc(100% - 1px), 29% calc(100% - 3px), 19% calc(100% - 1px), 10% calc(100% - 4px), 3% calc(100% - 1px), 1px calc(100% - 4px),
    3px 88%, 0px 76%, 3px 63%, 1px 50%, 4px 37%, 0px 24%, 3px 13%
  );
  --tear-b: polygon(
    2px 1px, 8% 4px, 16% 1px, 24% 3px, 33% 1px, 42% 4px, 51% 0px, 60% 3px, 69% 1px, 77% 4px, 86% 1px, 94% 3px, 100% 2px,
    calc(100% - 3px) 12%, 100% 24%, calc(100% - 2px) 36%, 100% 49%, calc(100% - 3px) 62%, 100% 74%, calc(100% - 4px) 86%, calc(100% - 1px) calc(100% - 2px),
    92% calc(100% - 4px), 83% calc(100% - 1px), 74% calc(100% - 3px), 64% calc(100% - 1px), 55% calc(100% - 4px), 45% 100%, 35% calc(100% - 3px), 25% calc(100% - 1px), 15% calc(100% - 4px), 6% calc(100% - 1px), 0px calc(100% - 3px),
    2px 85%, 0px 72%, 4px 58%, 1px 44%, 3px 31%, 0px 18%, 2px 8%
  );
  --tear-c: polygon(
    0px 2px, 7% 0px, 14% 4px, 22% 1px, 31% 4px, 40% 1px, 49% 3px, 58% 0px, 67% 4px, 76% 1px, 85% 3px, 93% 1px, calc(100% - 1px) 4px,
    100% 14%, calc(100% - 4px) 26%, 100% 39%, calc(100% - 2px) 53%, 100% 66%, calc(100% - 3px) 79%, 100% 91%, calc(100% - 2px) calc(100% - 1px),
    91% calc(100% - 3px), 82% 100%, 72% calc(100% - 4px), 62% calc(100% - 1px), 52% calc(100% - 3px), 42% calc(100% - 1px), 32% calc(100% - 4px), 22% calc(100% - 1px), 12% calc(100% - 3px), 4% 100%, 1px calc(100% - 3px),
    4px 86%, 0px 73%, 2px 60%, 0px 46%, 3px 32%, 1px 19%
  );
  --tear-strip: polygon(
    0px 2px, 6% 0px, 14% 3px, 23% 1px, 32% 3px, 42% 0px, 52% 2px, 63% 0px, 73% 3px, 84% 1px, 93% 3px, 100% 1px,
    calc(100% - 2px) 34%, 100% 68%, calc(100% - 1px) calc(100% - 2px),
    92% 100%, 82% calc(100% - 3px), 71% calc(100% - 1px), 60% calc(100% - 3px), 49% 100%, 38% calc(100% - 3px), 27% calc(100% - 1px), 16% calc(100% - 3px), 6% 100%, 0px calc(100% - 2px),
    2px 66%, 0px 32%
  );
  --tear-sm: polygon(
    0px 2px, 12% 0px, 26% 3px, 41% 1px, 57% 3px, 73% 0px, 88% 3px, 100% 1px,
    calc(100% - 2px) 28%, 100% 58%, calc(100% - 2px) 84%, 100% calc(100% - 2px),
    86% calc(100% - 1px), 70% calc(100% - 3px), 53% calc(100% - 1px), 36% calc(100% - 3px), 19% 100%, 4% calc(100% - 2px), 0px calc(100% - 3px),
    2px 72%, 0px 42%, 2px 16%
  );
  --tear-card: polygon(
    1px 2px, 9% 0px, 19% 3px, 30% 1px, 42% 3px, 54% 0px, 66% 3px, 78% 1px, 89% 3px, calc(100% - 1px) 1px,
    100% 18%, calc(100% - 3px) 38%, 100% 58%, calc(100% - 2px) 78%, 100% calc(100% - 2px),
    90% calc(100% - 1px), 79% calc(100% - 3px), 67% 100%, 55% calc(100% - 3px), 43% calc(100% - 1px), 31% calc(100% - 3px), 19% 100%, 8% calc(100% - 3px), 0px calc(100% - 1px),
    2px 79%, 0px 57%, 3px 36%, 0px 16%
  );

  /* Drop-Shadow Depths for Floating Torn Paper */
  --shadow-sheet: drop-shadow(0 14px 24px rgba(0, 0, 0, .64)) drop-shadow(0 2px 5px rgba(0, 0, 0, .52));
  --shadow-card: drop-shadow(0 10px 18px rgba(0, 0, 0, .56)) drop-shadow(0 2px 4px rgba(0, 0, 0, .44));
  --shadow-lift: drop-shadow(0 16px 26px rgba(0, 0, 0, .68)) drop-shadow(0 4px 8px rgba(0, 0, 0, .5));
  --shadow-sm: drop-shadow(0 6px 11px rgba(0, 0, 0, .50));

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--desk-deep);
}
body {
  margin: 0;
  color: var(--ink);
  font: 400 16px/1.62 var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background-color: var(--basin);
  background-image:
    url("img/paper-grain.svg"),
    repeating-linear-gradient(92deg, rgba(0, 0, 0, .16) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(88deg, rgba(216, 200, 158, .022) 0 3px, transparent 3px 13px),
    radial-gradient(125% 85% at 50% -8%, #201a13 0%, var(--basin) 46%, var(--desk-deep) 100%);
  background-attachment: scroll, fixed, fixed, fixed;
}
main { flex: 1 0 auto; position: relative; }
img { max-width: 100%; display: block; }
a {
  color: var(--astris);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
a:hover { color: var(--astris-bright); }
::selection { background: var(--seal); color: #fbf2df; }
:focus-visible { outline: 2px solid var(--astris-bright); outline-offset: 3px; }
code {
  font-family: var(--text);
  font-size: .92em;
  color: var(--kraft-light);
  background: rgba(200, 184, 146, .11);
  border: 1px dashed rgba(200, 184, 146, .28);
  padding: 1px 6px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 60;
  background: var(--hull-2); color: var(--ink); padding: 8px 14px;
  border: 1px solid var(--astris);
}
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.num, .mono { font-family: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  margin: 0;
  letter-spacing: .03em;
  color: var(--ink);
}
h1 { font-size: clamp(44px, 6.8vw, 86px); }
h2 { font-size: clamp(32px, 4vw, 50px); }
h3 { font-size: 26px; }
h4 { font-size: 20px; }
h1 .num, h2 .num, h3 .num { font-weight: 700; font-size: .78em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.lede { font-size: 17.5px; max-width: 42em; color: #ddd2bc; line-height: 1.65; }
.dim { color: var(--ink-dim); }
.muted { color: var(--ink-muted); }
.small { font-size: 13.5px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 18px; }
.text-ok { color: var(--ok); }
.text-warn { color: var(--warn); }
.text-err { color: var(--err); }
.text-astris { color: var(--astris); }
.text-gold { color: var(--gold); }
.strike { text-decoration: line-through; color: var(--ink-muted); font-size: .85em; margin-right: 6px; }

/* Field-Ledger File Stamp Eyebrows */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--astris); margin-bottom: 10px;
  padding: 2px 0;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 1px; transform: rotate(45deg);
  background: var(--astris);
  box-shadow: 0 0 8px rgba(60, 191, 166, .55);
}
.eyebrow.gold .dot { background: var(--gold); box-shadow: 0 0 8px rgba(230, 184, 77, .55); }

/* ---------- Sticky Ledger Header (with Subtle Torn Underside Edge) ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background:
    url("img/paper-grain.svg"),
    linear-gradient(180deg, rgba(16, 14, 11, .97) 0%, rgba(12, 10, 8, .94) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px dashed rgba(116, 100, 79, .42);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .55);
}
.top::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -7px; height: 8px;
  background: url("img/torn-edge-nav.svg") left top / 960px 8px repeat-x;
  pointer-events: none;
}
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; position: relative; z-index: 1; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #f3ead6; text-decoration: none;
  font: 26px/1 var(--display); letter-spacing: .07em; white-space: nowrap;
}
.brand svg {
  width: 22px; height: 22px; color: var(--astris); flex: none;
  filter: drop-shadow(0 0 6px rgba(60, 191, 166, .35));
}
.brand:hover { color: #fff8e8; }
.nav { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.nav a {
  color: var(--ink-dim); text-decoration: none; font-size: 13.5px;
  white-space: nowrap; letter-spacing: .03em; padding: 4px 2px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover { text-decoration: underline; text-decoration-style: dotted; text-decoration-color: var(--fibre-hi); text-underline-offset: 5px; }
.nav a[aria-current="page"] { position: relative; text-decoration: none; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -5px; height: 2px;
  background: linear-gradient(90deg, var(--seal), var(--astris));
}
.nav .nav-coins {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-bright);
  border: 1.5px dashed var(--gold-deep);
  background: linear-gradient(180deg, rgba(230, 184, 77, .16), rgba(130, 97, 32, .10));
  padding: 4px 11px; border-radius: 2px; font-weight: 700; font-size: 13px;
}
.nav .nav-coins:hover { border-color: var(--gold); border-style: solid; background: rgba(230, 184, 77, .24); color: #fff5cf; text-decoration: none; }
.nav .nav-coins::after { display: none; }
.coin-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff3bf, #e6b84d 55%, #8f6312);
  box-shadow: 0 0 7px rgba(230, 184, 77, .65); flex: none;
}
.nav .who {
  color: var(--kraft-light);
  border: 1.5px solid var(--fibre);
  padding: 4px 12px; border-radius: 2px;
  background: rgba(33, 29, 23, .85);
  font-size: 13px; letter-spacing: .04em;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
}
.nav .who:hover { border-color: var(--astris); color: var(--astris-bright); text-decoration: none; }
.nav .who::after { display: none; }

.menu { display: none; margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer;
  border: 1.5px solid var(--fibre); padding: 6px 13px; font-size: 14px;
  font-family: var(--display); letter-spacing: .09em; text-transform: uppercase;
  color: var(--kraft-light); border-radius: 2px; background: rgba(25, 22, 18, .9);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--seal); color: var(--ink); background: rgba(200, 71, 50, .18); }
.menu .panel {
  position: absolute; left: 0; right: 0; top: 64px;
  background: url("img/paper-grain.svg"), var(--hull);
  border-bottom: 2px dashed var(--fibre-hi);
  padding: 8px 22px 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .80);
}
.menu .panel a {
  display: block; padding: 11px 0;
  border-bottom: 1px dashed var(--line-bright);
  color: var(--ink); text-decoration: none;
}
.menu .panel a:last-child { border-bottom: 0; }
.menu .panel a:hover { color: var(--astris-bright); }

/* ---------- Tactile Stamped Field-Manual Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 22px;
  font: 21px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: 2px; background: none; color: var(--ink);
  transition: transform .13s cubic-bezier(.2, .9, .3, 1.3), background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translate(-1px, -2px); }
.btn:active { transform: translate(1px, 1px); }

.btn-claim {
  background: linear-gradient(180deg, #4ad0b7 0%, #2ea68f 100%);
  border-color: #16594d;
  color: #061c17;
  box-shadow: 3px 3px 0 rgba(10, 44, 38, .9), 0 8px 20px rgba(60, 191, 166, .20);
}
.btn-claim:hover {
  background: linear-gradient(180deg, #62e3cb 0%, #39b89f 100%);
  color: #041511;
  box-shadow: 4px 5px 0 rgba(10, 44, 38, .92), 0 12px 26px rgba(60, 191, 166, .32);
}

.btn-gold {
  background: linear-gradient(180deg, #f3ca65 0%, #c89428 100%);
  border-color: #6b4c10;
  color: #1b1203;
  box-shadow: 3px 3px 0 rgba(62, 43, 8, .9), 0 8px 20px rgba(230, 184, 77, .22);
}
.btn-gold:hover {
  background: linear-gradient(180deg, #fce28f 0%, #dea636 100%);
  color: #140d02;
  box-shadow: 4px 5px 0 rgba(62, 43, 8, .92), 0 12px 28px rgba(230, 184, 77, .34);
}

.btn-seal {
  background: linear-gradient(180deg, #d6543d 0%, #a53421 100%);
  border-color: #6b1f13;
  color: #fbf0dc;
  box-shadow: 3px 3px 0 rgba(70, 20, 12, .92), 0 8px 20px rgba(200, 71, 50, .24);
}
.btn-seal:hover {
  background: linear-gradient(180deg, #e5634b 0%, #bb3e29 100%);
  color: #fff6e6;
  box-shadow: 4px 5px 0 rgba(70, 20, 12, .95), 0 12px 26px rgba(200, 71, 50, .34);
}

.btn-line {
  border-color: var(--fibre-hi);
  color: var(--ink);
  background: rgba(25, 22, 18, .85);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .55);
}
.btn-line:hover {
  border-color: var(--astris);
  color: var(--astris-bright);
  background: rgba(34, 42, 38, .92);
  box-shadow: 4px 5px 0 rgba(0, 0, 0, .62);
}

.btn-line-gold {
  border-color: var(--gold-deep);
  color: var(--gold-bright);
  background: rgba(54, 41, 16, .35);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .55);
}
.btn-line-gold:hover {
  border-color: var(--gold);
  background: rgba(230, 184, 77, .18);
  color: #fff5d1;
}

.btn-quiet {
  border: 1.5px dashed var(--fibre);
  color: var(--ink-dim);
  background: rgba(16, 14, 11, .55);
  font-size: 18px; min-height: 38px; padding: 7px 14px;
}
.btn-quiet:hover {
  color: var(--ink); border-color: var(--kraft); border-style: solid;
  background: rgba(33, 29, 23, .9);
}

.btn-sm { font-size: 16.5px; min-height: 35px; padding: 5px 13px; }

.btn-google {
  width: 100%;
  background: linear-gradient(180deg, #f7f1e3 0%, #eae0ca 100%);
  color: #1f1912;
  border-color: #bfb08a;
  font-family: var(--text);
  font-size: 15.5px; font-weight: 700;
  letter-spacing: .01em; text-transform: none;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .55);
}
.btn-google:hover { background: #fdf9ef; color: #120e09; box-shadow: 4px 5px 0 rgba(0, 0, 0, .62); }

.btn-danger {
  border: 1.5px solid #8a3426;
  color: #f4a495;
  background: rgba(200, 71, 50, .10);
  font-size: 18px; min-height: 38px; padding: 7px 14px;
}
.btn-danger:hover { border-color: var(--seal-bright); background: rgba(200, 71, 50, .24); color: #ffd9d1; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .48; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: none; }
.btn .num { font-size: .82em; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; align-items: center; }

/* ---------- Hero Section (Warm Sepia-Charcoal Atmospheric Dispatch + Torn Bottom Edge) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 0; }
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 18px; z-index: 3;
  background: url("img/torn-edge-alt-top.svg") left bottom / 960px 18px repeat-x;
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0;
  background: #0b0a08 url("img/hero-tower.jpg") center 35% / cover no-repeat;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .34; pointer-events: none;
  filter: sepia(.20) saturate(.82) contrast(1.06);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    url("img/paper-grain.svg"),
    radial-gradient(ellipse 75% 65% at 76% 42%, rgba(200, 184, 146, .11), transparent 65%),
    radial-gradient(ellipse 60% 55% at 22% 35%, rgba(60, 191, 166, .08), transparent 60%),
    linear-gradient(90deg, rgba(12, 11, 9, .95) 0%, rgba(15, 13, 10, .82) 50%, rgba(12, 11, 9, .46) 100%),
    linear-gradient(0deg, rgba(12, 11, 9, .95) 0%, rgba(12, 11, 9, .18) 38%, rgba(12, 11, 9, .24) 100%);
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  gap: 52px; align-items: center; padding-top: 72px; padding-bottom: 92px;
}
.hero h1 {
  margin: 12px 0 18px; color: #f4ecda;
  text-shadow: 0 6px 28px rgba(0, 0, 0, .72), 0 1px 0 rgba(0, 0, 0, .8);
}
.hero .from {
  color: var(--astris); font-size: 13.5px; display: flex; align-items: center; gap: 8px;
  letter-spacing: .1em; text-transform: uppercase;
}
.hero .from svg { width: 16px; height: 16px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  background: rgba(25, 22, 18, .90);
  border: 1px dashed var(--fibre-hi);
  color: var(--kraft-light);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .4);
}
.pill.signed {
  border: 1.5px solid var(--astris-deep);
  color: var(--astris-bright);
  background: rgba(24, 62, 55, .42);
}
.pill.gold {
  border: 1.5px solid var(--gold-deep);
  color: var(--gold-bright);
  background: rgba(94, 68, 20, .34);
  transform: rotate(-.7deg);
}
.pill .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

.clock {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px dashed var(--fibre);
  max-width: 36em; font-size: 14px; color: var(--ink-dim);
}
.clock strong {
  display: block; font-size: 26px; color: var(--kraft-light);
  font-weight: 700; letter-spacing: .03em; margin-top: 3px;
}
.clock.closed strong { color: var(--warn); }

/* ---------- Live Telemetry Ledger Strip ---------- */
.telemetry {
  position: relative;
  background: url("img/paper-grain.svg"), var(--basin-2);
  border-bottom: 0;
  padding: 6px 0 22px;
}
.telemetry::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 18px; z-index: 2;
  background: url("img/torn-edge-gold-top.svg") left bottom / 960px 18px repeat-x;
  pointer-events: none;
}
.telemetry-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px dashed var(--line-bright);
  border-bottom: 1px dashed rgba(116, 100, 79, .24);
}
.tele-cell { padding: 17px 20px; border-right: 1px dashed var(--line-bright); }
.tele-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.tele-val { font: 700 22px/1.2 var(--text); color: var(--kraft-light); margin-top: 4px; }
.tele-sub { font-size: 12.5px; color: var(--ink-dim); margin-top: 2px; }

/* ---------- The ASTRIS Veteran Card (Hand-Torn Aged Kraft Clearance Slip + Masking Tape!) ---------- */
.card-astris {
  position: relative; isolation: isolate;
  width: 100%; max-width: 440px; aspect-ratio: 1.586 / 1; margin-left: auto;
  background: transparent;
  color: var(--kraft-ink);
  padding: 24px 24px 18px;
  transform: rotate(-2.2deg);
  display: grid; grid-template-rows: auto 1fr auto;
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, .74)) drop-shadow(0 4px 8px rgba(0, 0, 0, .55));
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.25), filter .25s ease;
}
.card-astris:hover {
  transform: rotate(-.8deg) translateY(-4px);
  filter: drop-shadow(0 32px 46px rgba(0, 0, 0, .82)) drop-shadow(0 0 18px rgba(60, 191, 166, .20));
}
/* Torn aged kraft sheet backing */
.card-astris::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, #165e53 0%, #3cbfa6 52%, #165e53 100%) 0 0 / 100% 10px no-repeat,
    url("img/paper-grain.svg"),
    repeating-linear-gradient(0deg, rgba(34, 27, 18, .055) 0 1px, transparent 1px 5px),
    radial-gradient(135% 115% at 15% 10%, #dfd3b5 0%, #c6b58c 54%, #a6946b 100%);
  clip-path: var(--tear-card);
  box-shadow: inset 0 0 36px rgba(84, 62, 26, .28), inset 0 0 0 1px rgba(255, 248, 226, .35);
}
/* Translucent masking-tape tabs holding the top corners */
.card-astris::after {
  content: ""; position: absolute; inset: -12px 0 auto 0; height: 28px; z-index: 4; pointer-events: none;
  background:
    url("img/masking-tape.svg") 18px 0 / 74px 22px no-repeat,
    url("img/masking-tape.svg") calc(100% - 18px) 1px / 74px 22px no-repeat;
  opacity: .92;
}
/* .band is painted cleanly inside the torn ::before so edges stay ragged */
.card-astris .band { display: none; }
.card-astris header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.card-astris .co { display: flex; align-items: center; gap: 8px; font: 24px/1 var(--display); letter-spacing: .12em; color: #123c36; }
.card-astris .co svg { width: 22px; height: 22px; color: var(--astris-deep); }
.card-astris .kind { font: 700 11.5px/1.25 var(--text); text-align: right; color: #473926; text-transform: uppercase; letter-spacing: .04em; }
.card-astris .fields {
  display: grid; grid-template-columns: 1fr auto; align-content: end; gap: 4px 16px;
  margin-top: 10px; padding-bottom: 8px;
  border-bottom: 1px dashed rgba(34, 27, 18, .28);
}
.card-astris .label { font-size: 10.5px; color: #544530; text-transform: uppercase; letter-spacing: .1em; }
.card-astris .value { font: 700 24px/1.1 var(--text); letter-spacing: -.01em; color: #1a140d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-astris .value.blank { color: rgba(26, 20, 13, .40); }
.card-astris .no { font: 700 23px/1 var(--text); color: #1a140d; text-align: right; }
.card-astris footer { display: flex; justify-content: space-between; align-items: end; font-size: 11px; color: #4d3e2b; margin-top: 8px; }
.card-astris .stamp {
  position: absolute; right: 18px; top: 39%; transform: rotate(-11deg);
  border: 3px solid var(--seal); color: var(--seal);
  padding: 4px 12px 2px; font: 34px/1 var(--display); letter-spacing: .09em; opacity: .90; border-radius: 3px;
  mix-blend-mode: multiply;
  box-shadow: inset 0 0 0 1px rgba(200, 71, 50, .38);
}
.card-astris .stamp.pending { border-style: dashed; color: rgba(168, 53, 38, .62); border-color: rgba(168, 53, 38, .62); }

@media (prefers-reduced-motion: no-preference) {
  .card-astris.issue { animation: issue .85s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes issue { from { transform: rotate(-7deg) translateY(24px); opacity: 0; } to { transform: rotate(-2.2deg); opacity: 1; } }
  .card-astris.issue .stamp { animation: stamp .35s .7s ease-out both; }
  @keyframes stamp { from { transform: rotate(-11deg) scale(1.55); opacity: 0; } to { transform: rotate(-11deg) scale(1); opacity: .90; } }
}

/* ---------- Layered Torn-Edge Sections ---------- */
.sec {
  position: relative;
  padding: 84px 0;
  border-bottom: 1px dashed rgba(82, 70, 55, .36);
}
.sec > .wrap { position: relative; z-index: 2; }
.sec.alt-bg {
  background:
    url("img/paper-grain.svg"),
    linear-gradient(180deg, rgba(22, 19, 15, .96) 0%, #13110e 100%);
  border-bottom: 0;
}
.sec.alt-bg::before {
  content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 18px; z-index: 2;
  background: url("img/torn-edge-alt-top.svg") left top / 960px 18px repeat-x;
  pointer-events: none;
}
.sec.alt-bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 18px; z-index: 2;
  background: url("img/torn-edge-alt-bot.svg") left top / 960px 18px repeat-x;
  pointer-events: none;
}
.sec.gold-bg {
  background:
    url("img/paper-grain.svg"),
    radial-gradient(ellipse 68% 58% at 84% 18%, rgba(230, 184, 77, .12), transparent 64%),
    linear-gradient(180deg, #14110c 0%, #110e0a 100%);
  border-bottom: 0;
}
.sec.gold-bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 18px; z-index: 2;
  background: url("img/torn-edge-gold-bot.svg") left top / 960px 18px repeat-x;
  pointer-events: none;
}
.sec > .wrap > h2 { margin-bottom: 12px; }
.sec .intro { max-width: 44em; color: var(--ink-dim); margin-bottom: 32px; }

/* ---------- Shared Dual-Layer Torn Dark Charcoal Paper Sheet System ----------
   ::before = exposed deckled paper-fibre rim (inset: -2px, z-index: -2)
   ::after  = dark charcoal parchment body with grain + faint ledger rules (inset: 0, z-index: -1)
   parent   = isolation: isolate + filter: drop-shadow() casting exact torn silhouette shadow! */
.sheet,
.tier-card,
.pack-card,
.spot-card,
.dl-box,
.bp-hero,
.wallet-bar,
.banner,
.kpi {
  position: relative;
  isolation: isolate;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.sheet::before,
.tier-card::before,
.pack-card::before,
.spot-card::before,
.dl-box::before,
.bp-hero::before,
.wallet-bar::before,
.banner::before,
.kpi::before {
  content: "";
  position: absolute; inset: -2px; z-index: -2; pointer-events: none;
  background: linear-gradient(148deg, var(--fibre-hi) 0%, var(--fibre) 45%, #342c22 100%);
  clip-path: var(--tear-a);
  transition: background .18s ease;
}

.sheet::after,
.tier-card::after,
.pack-card::after,
.spot-card::after,
.dl-box::after,
.bp-hero::after,
.wallet-bar::after,
.banner::after,
.kpi::after {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--hull);
  background-image:
    url("img/paper-grain.svg"),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule-faint) 31px 32px),
    radial-gradient(140% 110% at 12% 0%, #221e18 0%, var(--hull) 52%, #13110d 100%);
  clip-path: var(--tear-a);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, .44);
}

/* Alternate tear silhouettes across sibling cards so no two neighbors share identical edges */
.sheet:nth-of-type(3n+2)::before, .sheet:nth-of-type(3n+2)::after,
.tier-card:nth-child(3n+2)::before, .tier-card:nth-child(3n+2)::after,
.pack-card:nth-child(3n+2)::before, .pack-card:nth-child(3n+2)::after,
.kpi:nth-child(3n+2)::before, .kpi:nth-child(3n+2)::after { clip-path: var(--tear-b); }

.sheet:nth-of-type(3n)::before, .sheet:nth-of-type(3n)::after,
.tier-card:nth-child(3n)::before, .tier-card:nth-child(3n)::after,
.pack-card:nth-child(3n)::before, .pack-card:nth-child(3n)::after,
.kpi:nth-child(3n)::before, .kpi:nth-child(3n)::after { clip-path: var(--tear-c); }

/* ---------- AAA Editions Grid & Comparison Matrix ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.edition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier-card {
  padding: 26px 21px 22px;
  display: flex; flex-direction: column;
  filter: var(--shadow-card);
  transition: transform .18s cubic-bezier(.2, .9, .3, 1.25);
}
.tier-card > .btn { margin-top: auto; width: 100%; }
.tier-card > p.small { margin-bottom: 14px; }
.tier-card::after {
  background-color: var(--hull);
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule-faint) 31px 32px),
    radial-gradient(140% 110% at 15% 0%, #221e18 0%, var(--hull) 56%, #13100d 100%);
  background-position: calc(100% - 5px) 5px, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
}
.tier-card:hover { transform: translateY(-3px); }
.tier-card:hover::before { background: linear-gradient(148deg, var(--kraft) 0%, var(--fibre-hi) 60%, #44392b 100%); }

.tier-card.featured { filter: var(--shadow-lift); }
.tier-card.featured::before { background: linear-gradient(155deg, var(--astris) 0%, var(--astris-deep) 44%, var(--fibre) 82%, #332c23 100%); }
.tier-card.featured::after {
  background-color: #161816;
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    linear-gradient(180deg, rgba(60, 191, 166, .16) 0%, rgba(25, 22, 18, 0) 46%),
    radial-gradient(140% 110% at 15% 0%, #1d2420 0%, var(--hull) 56%, #13110d 100%);
  background-position: calc(100% - 5px) 5px, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
}

.tier-card.founder { filter: var(--shadow-lift); }
.tier-card.founder::before { background: linear-gradient(155deg, var(--gold) 0%, var(--gold-deep) 46%, var(--fibre) 84%, #382e1d 100%); }
.tier-card.founder::after {
  background-color: #191611;
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    linear-gradient(180deg, rgba(230, 184, 77, .17) 0%, rgba(25, 22, 18, 0) 48%),
    radial-gradient(140% 110% at 15% 0%, #262015 0%, var(--hull) 56%, #13100c 100%);
  background-position: calc(100% - 5px) 5px, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
}

/* Stamped Tag Chips */
.tier-tag {
  display: inline-block; align-self: flex-start;
  font-family: var(--display); font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px 2px; border-radius: 2px;
  border: 1.5px solid var(--fibre-hi); color: var(--kraft-light);
  background: rgba(16, 14, 11, .55);
  box-shadow: inset 0 0 0 1px rgba(200, 184, 146, .14);
  transform: rotate(-1.5deg);
  margin-bottom: 13px;
}
.tier-card.featured .tier-tag {
  border-color: var(--astris); color: var(--astris-bright);
  background: rgba(60, 191, 166, .13);
  box-shadow: inset 0 0 0 1px rgba(60, 191, 166, .25);
}
.tier-card.founder .tier-tag {
  border-color: var(--gold); color: var(--gold-bright);
  background: rgba(230, 184, 77, .14);
  box-shadow: inset 0 0 0 1px rgba(230, 184, 77, .28);
}
.tier-price { font: 700 37px/1 var(--text); color: #f6eedc; margin: 10px 0 8px; }
.tier-price small { font-size: 13px; font-weight: 400; color: var(--ink-dim); margin-left: 5px; }
.tier-list { list-style: none; padding: 0; margin: 14px 0 20px; font-size: 13.5px; color: var(--ink-dim); flex: 1; }
.tier-list li { padding: 7px 0 7px 19px; position: relative; border-top: 1px dashed rgba(116, 100, 79, .38); }
.tier-list li::before { content: "✓"; position: absolute; left: 1px; color: var(--astris); font-weight: 700; font-size: 12.5px; }
.tier-card.founder .tier-list li::before { color: var(--gold); }

/* Comparison Matrix Ledger Sheet */
.compare-wrap {
  overflow-x: auto; margin-top: 30px;
  border: 1.5px solid var(--fibre);
  border-top: 3px solid var(--kraft);
  border-radius: 2px;
  background: url("img/paper-grain.svg"), linear-gradient(180deg, #1b1713 0%, #14110e 100%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .58);
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px dashed var(--line-bright); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 700; color: var(--ink); }
.compare-table thead th {
  background: rgba(12, 10, 8, .72);
  border-bottom: 2px solid var(--fibre-hi);
  font-family: var(--display); font-size: 19px; letter-spacing: .05em; color: var(--ink);
}
.compare-table tbody tr:hover td { background: rgba(216, 200, 158, .045); }
.compare-table thead th.col-astris { color: var(--astris-bright); }
.compare-table thead th.col-founder { color: var(--gold-bright); }
.compare-table .chk { color: var(--ok); font-weight: 700; }
.compare-table .chk-gold { color: var(--gold-bright); font-weight: 700; }
.compare-table .no-chk { color: var(--ink-muted); }

/* ---------- Theatres of Operation & Arsenal Feature Grid (Taped Field Recon Prints on Torn Cardstock) ---------- */
.theatre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.theatre-card {
  position: relative; isolation: isolate; margin: 0;
  padding: 9px 9px 7px;
  background: transparent; border: 0; cursor: pointer;
  filter: var(--shadow-card);
  transition: transform .2s cubic-bezier(.2, .9, .3, 1.25);
}
.theatre-card::before {
  content: ""; position: absolute; inset: -2px; z-index: -2; pointer-events: none;
  background: linear-gradient(148deg, var(--fibre-hi) 0%, var(--fibre) 55%, #30281f 100%);
  clip-path: var(--tear-a);
  transition: background .18s ease;
}
.theatre-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/paper-grain.svg"), linear-gradient(180deg, #211d17 0%, #15120e 100%);
  clip-path: var(--tear-a);
}
.theatre-card:nth-child(3n+2)::before, .theatre-card:nth-child(3n+2)::after { clip-path: var(--tear-b); }
.theatre-card:nth-child(3n)::before, .theatre-card:nth-child(3n)::after { clip-path: var(--tear-c); }
.theatre-card:hover { transform: translateY(-3px); }
.theatre-card:hover::before { background: linear-gradient(148deg, var(--astris-bright) 0%, var(--astris) 50%, var(--astris-deep) 100%); }
.theatre-card img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center;
  border: 1px solid rgba(216, 200, 158, .22);
  transition: filter .25s ease;
}
.theatre-card:hover img { filter: brightness(1.06) contrast(1.04); }
.theatre-card figcaption {
  padding: 13px 10px 8px;
  background: transparent;
  border-top: 1px dashed rgba(116, 100, 79, .38);
  margin-top: 8px;
}
.theatre-meta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--astris); margin-bottom: 4px; }
.theatre-card h3 { font-size: 24px; margin-bottom: 4px; color: var(--ink); }
.theatre-card p { font-size: 13.5px; color: var(--ink-dim); margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.feature-card {
  position: relative; isolation: isolate;
  padding: 8px 8px 6px;
  background: transparent; border: 0;
  display: flex; flex-direction: column;
  filter: var(--shadow-card);
  transition: transform .18s ease;
}
.feature-card::before {
  content: ""; position: absolute; inset: -2px; z-index: -2; pointer-events: none;
  background: linear-gradient(150deg, var(--fibre-hi), var(--fibre) 60%, #30281f);
  clip-path: var(--tear-b);
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/paper-grain.svg"), linear-gradient(180deg, #201c16 0%, #15120e 100%);
  clip-path: var(--tear-b);
}
.feature-card:nth-child(even)::before, .feature-card:nth-child(even)::after { clip-path: var(--tear-c); }
.feature-card:hover { transform: translateY(-2px); }
.feature-card:hover::before { background: linear-gradient(150deg, var(--kraft), var(--fibre-hi)); }
.feature-card img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center;
  border: 1px solid rgba(216, 200, 158, .20);
}
.feature-card .fc-body { padding: 12px 9px 7px; }
.feature-card h3 { font-size: 21px; margin-bottom: 6px; color: var(--ink); }
.feature-card p { font-size: 13px; color: var(--ink-dim); margin: 0; }

/* ---------- Spotlight Banner (Season 1 + Svera Coins on Home) ---------- */
.spotlight-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.spot-card {
  padding: 30px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  filter: var(--shadow-sheet);
}
.spot-card.pass-spot::before {
  background: linear-gradient(145deg, var(--astris) 0%, var(--astris-deep) 40%, var(--fibre) 78%, #342d24 100%);
  clip-path: var(--tear-a);
}
.spot-card.pass-spot::after {
  background-color: #161815;
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule-faint) 31px 32px),
    linear-gradient(145deg, rgba(60, 191, 166, .16) 0%, rgba(25, 22, 18, 0) 48%),
    radial-gradient(140% 110% at 12% 0%, #1c231f 0%, var(--hull) 58%, #13110d 100%);
  background-position: calc(100% - 6px) 6px, 0 0, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto, auto;
  background-repeat: no-repeat, repeat, repeat, no-repeat, no-repeat;
  clip-path: var(--tear-a);
}
.spot-card.coins-spot::before {
  background: linear-gradient(145deg, var(--gold) 0%, var(--gold-deep) 44%, var(--fibre) 80%, #382e1f 100%);
  clip-path: var(--tear-b);
}
.spot-card.coins-spot::after {
  background-color: #191611;
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule-faint) 31px 32px),
    linear-gradient(145deg, rgba(230, 184, 77, .17) 0%, rgba(25, 22, 18, 0) 50%),
    radial-gradient(140% 110% at 12% 0%, #261f14 0%, var(--hull) 58%, #13100c 100%);
  background-position: calc(100% - 6px) 6px, 0 0, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto, auto;
  background-repeat: no-repeat, repeat, repeat, no-repeat, no-repeat;
  clip-path: var(--tear-b);
}
.spot-swatch-row { display: flex; gap: 10px; margin: 18px 0 4px; flex-wrap: wrap; }
.mini-swatch {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 2px;
  background: rgba(12, 11, 9, .82); border: 1px dashed var(--fibre-hi); font-size: 12px;
  letter-spacing: .06em; color: var(--kraft-light);
}
.mini-chip { width: 18px; height: 18px; border-radius: 2px; border: 1px solid rgba(236, 227, 208, .28); flex: none; }

/* ---------- Store / Armory / Coins / Battle Pass UI ---------- */
.wallet-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px 18px 26px; margin: 22px 0;
  filter: var(--shadow-card);
}
.wallet-bar::before {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 35%, var(--fibre-hi) 75%, #3a3126 100%);
  clip-path: var(--tear-strip);
}
.wallet-bar::after {
  background-color: var(--hull);
  background-image:
    linear-gradient(90deg, var(--gold) 0 5px, transparent 5px),
    url("img/paper-grain.svg"),
    linear-gradient(90deg, rgba(46, 36, 18, .92) 0%, rgba(25, 22, 18, .98) 52%, rgba(20, 18, 14, 1) 100%);
  clip-path: var(--tear-strip);
}
.wallet-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.ws-item { display: flex; flex-direction: column; }
.ws-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.ws-val { font: 700 24px/1.15 var(--text); color: var(--gold-bright); display: inline-flex; align-items: center; gap: 8px; }
.ws-val.jade { color: var(--astris-bright); }

/* Dossier Folder Index Tabs */
.store-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  border-bottom: 2px dashed var(--line-bright);
  padding-bottom: 13px; margin: 26px 0 22px;
}
.tab-btn {
  background: url("img/paper-grain.svg"), var(--hull);
  border: 1.5px solid var(--fibre);
  border-bottom-style: dashed;
  color: var(--ink-dim);
  padding: 9px 14px; border-radius: 2px; cursor: pointer;
  font: 18px/1 var(--display); letter-spacing: .045em; text-transform: uppercase;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
  transition: border-color .15s ease, color .15s ease, background-color .15s ease, transform .12s ease;
}
.tab-btn:hover { border-color: var(--kraft); color: var(--ink); transform: translateY(-1px); }
.tab-btn.active {
  border-color: var(--astris); border-style: solid;
  color: #051c17;
  background: linear-gradient(180deg, #4ad0b7 0%, #32ab94 100%);
  box-shadow: 3px 3px 0 rgba(10, 44, 38, .9);
}
.tab-btn.gold-tab.active {
  border-color: var(--gold); border-style: solid;
  color: #1c1303;
  background: linear-gradient(180deg, #f3ca65 0%, #ca9629 100%);
  box-shadow: 3px 3px 0 rgba(62, 43, 8, .9);
}

.store-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.rarity-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.r-pill {
  padding: 5px 11px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em;
  border: 1.5px dashed var(--fibre); background: rgba(25, 22, 18, .9); color: var(--ink-dim);
  border-radius: 2px; cursor: pointer; font-family: var(--text);
  transition: border-color .14s ease, color .14s ease, background-color .14s ease;
}
.r-pill:hover { color: var(--ink); border-color: var(--kraft); }
.r-pill.active { border-style: solid; border-color: var(--astris); color: var(--astris-bright); background: rgba(60, 191, 166, .14); }
.r-pill.r-legendary.active { border-color: var(--r-legendary); color: var(--r-legendary); background: rgba(242, 190, 73, .14); }
.r-pill.r-epic.active { border-color: var(--r-epic); color: var(--r-epic); background: rgba(194, 124, 242, .14); }
.r-pill.r-rare.active { border-color: var(--r-rare); color: var(--r-rare); background: rgba(89, 166, 232, .14); }
.r-pill.r-uncommon.active { border-color: var(--r-uncommon); color: var(--r-uncommon); background: rgba(76, 201, 143, .14); }

/* Bundle Showcase (Torn Dossier Cards with Darkroom Contact Print) */
.bundle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.bundle-card {
  position: relative; isolation: isolate;
  padding: 9px;
  background: transparent; border: 0;
  display: grid; grid-template-columns: 215px 1fr;
  filter: var(--shadow-card);
  transition: transform .18s cubic-bezier(.2, .9, .3, 1.25);
}
.bundle-card::before {
  content: ""; position: absolute; inset: -2px; z-index: -2; pointer-events: none;
  background: linear-gradient(150deg, var(--gold-deep) 0%, var(--fibre-hi) 48%, #342c22 100%);
  clip-path: var(--tear-a);
  transition: background .18s ease;
}
.bundle-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    url("img/paper-grain.svg"),
    repeating-linear-gradient(180deg, transparent 0 29px, var(--rule-faint) 29px 30px),
    radial-gradient(140% 110% at 15% 0%, #221d16 0%, var(--hull) 60%, #13100c 100%);
  clip-path: var(--tear-a);
}
.bundle-card:nth-child(even)::before, .bundle-card:nth-child(even)::after { clip-path: var(--tear-b); }
.bundle-card:hover { transform: translateY(-3px); }
.bundle-card:hover::before { background: linear-gradient(150deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-deep) 100%); }
.bundle-media {
  position: relative; min-height: 210px; background: #0a0907; overflow: hidden;
  border: 1px solid rgba(216, 200, 158, .22);
}
.bundle-media img { width: 100%; height: 100%; object-fit: cover; }
.bundle-media .b-tag {
  position: absolute; top: 10px; left: 10px; padding: 3px 9px;
  font-family: var(--display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(14, 12, 9, .92); border: 1.5px solid var(--gold); color: var(--gold-bright);
  border-radius: 2px; transform: rotate(-2deg);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .55);
}
.bundle-body { padding: 14px 16px 12px 18px; display: flex; flex-direction: column; justify-content: space-between; }
.bundle-items { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.bundle-chip {
  font-size: 11.5px; padding: 3px 8px; border-radius: 2px;
  background: rgba(12, 11, 9, .78); border: 1px dashed var(--fibre); color: var(--ink-dim);
}
.bundle-chip.owned { border-style: solid; border-color: var(--astris-deep); color: var(--astris-bright); background: rgba(34, 115, 101, .20); }
.bundle-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Armory Item Cards (Torn Specimen Cards with Mounted Finish Swatch) */
.item-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.item-card {
  position: relative; isolation: isolate;
  padding: 8px 8px 6px;
  background: transparent; border: 0;
  display: flex; flex-direction: column; cursor: pointer;
  filter: var(--shadow-sm);
  transition: transform .16s cubic-bezier(.2, .9, .3, 1.25);
}
.item-card::before {
  content: ""; position: absolute; inset: -2px; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, var(--fibre-hi) 0%, var(--fibre) 55%, #30281f 100%);
  clip-path: var(--tear-sm);
}
.item-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/paper-grain.svg"), linear-gradient(180deg, #211d17 0%, var(--hull) 58%, #13100d 100%);
  clip-path: var(--tear-sm);
}
.item-card:nth-child(3n+2)::before, .item-card:nth-child(3n+2)::after { clip-path: var(--tear-b); }
.item-card:nth-child(3n)::before, .item-card:nth-child(3n)::after { clip-path: var(--tear-c); }
.item-card:hover { transform: translateY(-3px); filter: var(--shadow-card); }
.item-card.r-common::before { background: linear-gradient(180deg, var(--r-common) 0%, var(--fibre) 32%, #30281f 100%); }
.item-card.r-uncommon::before { background: linear-gradient(180deg, var(--r-uncommon) 0%, var(--fibre) 36%, #30281f 100%); }
.item-card.r-rare::before { background: linear-gradient(180deg, var(--r-rare) 0%, var(--fibre) 36%, #30281f 100%); }
.item-card.r-epic::before { background: linear-gradient(180deg, var(--r-epic) 0%, var(--fibre) 36%, #30281f 100%); }
.item-card.r-legendary::before { background: linear-gradient(180deg, var(--r-legendary) 0%, #8e6c24 38%, #3c3121 100%); }
.item-card.owned::after {
  background-color: #161816;
  background-image:
    url("img/paper-grain.svg"),
    linear-gradient(180deg, rgba(60, 191, 166, .16) 0%, var(--hull) 48%, #13110d 100%);
}

.item-swatch {
  height: 96px; position: relative; overflow: hidden;
  border: 1px solid rgba(216, 200, 158, .22);
  border-top: 3px solid var(--fibre-hi);
  display: flex; align-items: flex-end; justify-content: space-between; padding: 8px 9px;
}
.item-card.r-common .item-swatch { border-top-color: var(--r-common); }
.item-card.r-uncommon .item-swatch { border-top-color: var(--r-uncommon); }
.item-card.r-rare .item-swatch { border-top-color: var(--r-rare); }
.item-card.r-epic .item-swatch { border-top-color: var(--r-epic); }
.item-card.r-legendary .item-swatch { border-top-color: var(--r-legendary); }

.swatch-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 2px;
  background: rgba(12, 11, 9, .88); border: 1px solid rgba(236, 227, 208, .20);
}
.swatch-badge.anim { border-color: var(--gold); color: var(--gold-bright); }
.swatch-badge.owned-b { border-color: var(--ok); color: var(--ok); }
.swatch-badge.eq-b { border-color: var(--astris-bright); color: #051c17; background: var(--astris-bright); }
.swatch-badge.mastery-b { border-color: var(--gold-deep); color: var(--gold-bright); }

.item-body { padding: 11px 8px 7px; display: flex; flex-direction: column; flex: 1; }
.item-meta { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 5px; }
.rar-common { color: var(--r-common); }
.rar-uncommon { color: var(--r-uncommon); }
.rar-rare { color: var(--r-rare); }
.rar-epic { color: var(--r-epic); }
.rar-legendary { color: var(--r-legendary); }
.item-name { font: 21px/1.08 var(--display); color: var(--ink); margin-bottom: 6px; }
.item-desc { font-size: 12.5px; color: var(--ink-dim); flex: 1; margin-bottom: 11px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 9px; border-top: 1px dashed rgba(116, 100, 79, .45); }
.price-sc { font: 700 17px/1 var(--text); color: var(--gold-bright); display: inline-flex; align-items: center; gap: 6px; }

/* Pure-CSS Weapon Finish, Watch, Charm & Dossier Swatches (Zero inline style!) */
.sw-aurora { background: linear-gradient(125deg, #0d1d30 0%, #24c6b0 30%, #6d5ce8 62%, #e668b8 85%, #0c1824 100%); background-size: 200% 200%; animation: sheen 6s ease infinite; }
.sw-molten { background: radial-gradient(circle at 30% 45%, #ff8c24 0%, #c82c12 36%, #240c08 75%, #100807 100%); background-size: 150% 150%; animation: sheen 4.5s ease infinite; }
.sw-plasma { background: repeating-linear-gradient(45deg, rgba(64, 240, 224, .34) 0 4px, transparent 4px 14px), linear-gradient(135deg, #081c2c, #18688c, #07131e); }
.sw-heartbeat { background: linear-gradient(90deg, #10141c 0%, #171d29 42%, #e63950 50%, #171d29 58%, #10141c 100%); background-size: 200% 100%; animation: sheen 3.2s linear infinite; }
.sw-deadsignal { background: linear-gradient(90deg, #c9c9c9 0 14%, #e8d23a 14% 28%, #3bc9c9 28% 42%, #39b84a 42% 56%, #b842b8 56% 70%, #cc3636 70% 84%, #2b4bc9 84% 100%); opacity: .82; }
.sw-static { background: repeating-linear-gradient(0deg, rgba(255,255,255,.14) 0 2px, rgba(0,0,0,.35) 2px 4px), radial-gradient(circle at 60% 40%, #5f7a88, #141e26); }
.sw-wildstyle { background: linear-gradient(120deg, #e84855 0%, #f9c80e 35%, #3cbfa6 68%, #4d5ce8 100%); }
.sw-magma { background: repeating-linear-gradient(135deg, #1b1615 0 12px, #cf3f17 12px 15px, #f79d2a 15px 17px, #1b1615 17px 28px); }
.sw-neongrid { background: linear-gradient(rgba(60, 220, 200, .28) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, rgba(60, 220, 200, .28) 1px, transparent 1px) 0 0 / 16px 16px, #081224; }
.sw-damascus { background: repeating-radial-gradient(circle at 20% 50%, #27323c 0 5px, #586a7a 5px 8px, #1a232b 8px 14px); }
.sw-carbon { background: repeating-linear-gradient(45deg, #1d242b 0 6px, #2b343e 6px 12px), #14191e; }
.sw-tiger { background: repeating-linear-gradient(115deg, #273822 0 14px, #131910 14px 20px, #4d5e37 20px 28px, #2f2a1d 28px 34px); }
.sw-arctic { background: linear-gradient(135deg, #dbe4ea 0%, #99abb8 48%, #e9eff2 72%, #6d7f8d 100%); }
.sw-urban { background: repeating-conic-gradient(#343e47 0% 25%, #56636f 0% 50%, #1f262d 0% 75%, #7b8894 0% 100%) 0 0 / 24px 24px; }
.sw-digital { background: repeating-conic-gradient(#243429 0% 25%, #3f5542 0% 50%, #1a231c 0% 75%, #5c6e51 0% 100%) 0 0 / 18px 18px; }
.sw-woodland { background: radial-gradient(circle at 25% 35%, #4a5d34 0 28%, transparent 29%), radial-gradient(circle at 75% 60%, #5c4932 0 32%, transparent 33%), #22301b; }
.sw-desert { background: radial-gradient(circle at 30% 40%, #c9b288 0 30%, transparent 31%), radial-gradient(circle at 75% 55%, #8f744e 0 34%, transparent 35%), #a89066; }
.sw-lattice { background: repeating-linear-gradient(60deg, rgba(160, 185, 200, .2) 0 2px, transparent 2px 12px), repeating-linear-gradient(-60deg, rgba(160, 185, 200, .2) 0 2px, transparent 2px 12px), #0f161d; }
.sw-gold { background: linear-gradient(135deg, #755312 0%, #f5d376 45%, #b8861e 65%, #fae49b 100%); }
.sw-rosegold { background: linear-gradient(135deg, #6e3d36 0%, #e8a798 48%, #a66257 72%, #f5c8bc 100%); }
.sw-obsidian { background: linear-gradient(135deg, #0b0e12 0%, #242930 42%, #d4a438 50%, #11151b 58%, #07090d 100%); }
.sw-diamond { background: linear-gradient(135deg, #98b4c9 0%, #eef7ff 32%, #7da4c2 52%, #ffffff 74%, #6a8ea8 100%); }
.sw-watch-gold { background: radial-gradient(circle at 50% 50%, #f2d480 0 28%, #9e731e 31%, #181410 42%, #0c0e12 100%); }
.sw-watch-astris { background: radial-gradient(circle at 50% 50%, #3cbfa6 0 26%, #134a41 32%, #192632 45%, #09121a 100%); }
.sw-watch-trench { background: radial-gradient(circle at 50% 50%, #d2c5a8 0 26%, #665842 33%, #2b2118 45%, #120e0a 100%); }
.sw-watch-diver { background: radial-gradient(circle at 50% 50%, #1e629c 0 27%, #9ab4c7 33%, #14222f 44%, #091119 100%); }
.sw-watch-operator { background: radial-gradient(circle at 50% 50%, #4d5d44 0 27%, #8a7c5c 33%, #1e241d 45%, #0e130e 100%); }
.sw-watch-bund { background: radial-gradient(circle at 50% 50%, #b8834a 0 26%, #5e3c1f 34%, #2e1d10 46%, #120b06 100%); }
.sw-watch-steel { background: radial-gradient(circle at 50% 50%, #cfd9e0 0 26%, #5c6e7c 33%, #1f2b35 45%, #0d141b 100%); }
.sw-charm-brass { background: linear-gradient(135deg, #2b2214, #b88e3a 52%, #241b0f); }
.sw-charm-crimson { background: linear-gradient(135deg, #2b0f12, #c83e32 52%, #1a090b); }
.sw-charm-steel { background: linear-gradient(135deg, #182028, #788b9c 52%, #11181f); }
.sw-apparel-common { background: linear-gradient(135deg, #1b242c, #344350 55%, #141c24); }
.sw-apparel-uncommon { background: linear-gradient(135deg, #162620, #2f5946 55%, #101d18); }
.sw-apparel-rare { background: linear-gradient(135deg, #132236, #285687 55%, #0d1826); }
.sw-apparel-epic { background: linear-gradient(135deg, #241633, #663894 55%, #170e21); }
.sw-apparel-legendary { background: linear-gradient(135deg, #2b200d, #9e7422 55%, #1a1307); }
.sw-dossier-frame-common { background: linear-gradient(135deg, #3c3424, #877654); }
.sw-dossier-frame-uncommon { background: linear-gradient(135deg, #15283d, #366da3); }
.sw-dossier-frame-rare { background: repeating-linear-gradient(0deg, #0d1115 0 8px, #2b323b 8px 14px, #c84732 14px 16px); }
.sw-dossier-frame-epic { background: linear-gradient(135deg, #113832, #3cbfa6 50%, #1a2d40); }
.sw-dossier-frame-legendary { background: linear-gradient(135deg, #332917, #c2a769 50%, #1b3632); }
.sw-dossier-title-common, .sw-dossier-plate-common, .sw-dossier-badge-common, .sw-dossier-flair-common, .sw-dossier-tag-common { background: linear-gradient(135deg, #15212b, #2c3e4d); }
.sw-dossier-title-uncommon, .sw-dossier-plate-uncommon, .sw-dossier-badge-uncommon, .sw-dossier-flair-uncommon, .sw-dossier-tag-uncommon { background: linear-gradient(135deg, #122922, #266b52); }
.sw-dossier-title-rare, .sw-dossier-plate-rare, .sw-dossier-badge-rare, .sw-dossier-flair-rare, .sw-dossier-tag-rare { background: linear-gradient(135deg, #12243b, #2a63a8); }
.sw-dossier-title-epic, .sw-dossier-plate-epic, .sw-dossier-badge-epic, .sw-dossier-flair-epic, .sw-dossier-tag-epic { background: linear-gradient(135deg, #291638, #7b42b8); }
.sw-dossier-title-legendary, .sw-dossier-plate-legendary, .sw-dossier-badge-legendary, .sw-dossier-flair-legendary, .sw-dossier-tag-legendary { background: linear-gradient(135deg, #30220c, #c48f26); }

@keyframes sheen {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Inspect Modal (Torn Dark Field Slip Dialog) */
dialog.inspect-dlg {
  max-width: 548px; width: calc(100% - 28px); padding: 9px; overflow: visible;
  background: transparent; border: 0;
  filter: var(--shadow-sheet);
}
dialog.inspect-dlg::before {
  content: ""; position: absolute; inset: -2px; z-index: -2; pointer-events: none;
  background: linear-gradient(148deg, var(--kraft) 0%, var(--fibre-hi) 50%, #342c22 100%);
  clip-path: var(--tear-a);
}
dialog.inspect-dlg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/paper-grain.svg"), linear-gradient(180deg, #221d17 0%, var(--hull) 100%);
  clip-path: var(--tear-a);
}
dialog.inspect-dlg .insp-head {
  height: 148px; position: relative;
  border: 1px solid rgba(216, 200, 158, .24);
  display: flex; align-items: flex-end; padding: 14px 18px;
}
dialog.inspect-dlg .insp-body { padding: 20px 18px 18px; }
dialog.inspect-dlg .insp-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
dialog.inspect-dlg .insp-mat { font-size: 12px; color: var(--ink-muted); margin-top: 8px; }

/* ---------- Svera Coins Packs Grid (Torn Vault Slips) ---------- */
.pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 20px; }
.pack-card {
  padding: 25px 21px 22px;
  display: flex; flex-direction: column;
  filter: var(--shadow-card);
  transition: transform .18s cubic-bezier(.2, .9, .3, 1.25);
}
.pack-card > p.small { margin-bottom: 8px; }
.pack-card > .pack-price { margin-top: auto; padding-top: 12px; }
.pack-card > .btn { width: 100%; }
.pack-card::after {
  background-color: var(--hull);
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule-faint) 31px 32px),
    radial-gradient(140% 110% at 15% 0%, #221e18 0%, var(--hull) 58%, #13100c 100%);
  background-position: calc(100% - 5px) 5px, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
}
.pack-card:hover { transform: translateY(-3px); }
.pack-card:hover::before { background: linear-gradient(150deg, var(--gold) 0%, var(--gold-deep) 55%, var(--fibre) 100%); }

.pack-card.mega-vault { filter: var(--shadow-lift); }
.pack-card.mega-vault::before {
  background: linear-gradient(150deg, var(--gold-bright) 0%, var(--gold) 40%, var(--gold-deep) 78%, #473718 100%);
}
.pack-card.mega-vault::after {
  background-color: #1b1710;
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    radial-gradient(circle at 80% 10%, rgba(230, 184, 77, .22), transparent 56%),
    linear-gradient(180deg, rgba(230, 184, 77, .17) 0%, rgba(25, 22, 18, 0) 54%),
    radial-gradient(140% 110% at 15% 0%, #272013 0%, var(--hull) 60%, #13100b 100%);
  background-position: calc(100% - 5px) 5px, 0 0, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto, auto;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat, no-repeat;
}
.pack-tag {
  align-self: flex-start;
  font-family: var(--display); font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px 2px; border-radius: 2px;
  border: 1.5px solid var(--fibre-hi); color: var(--kraft-light);
  background: rgba(14, 12, 9, .62);
  transform: rotate(-1.6deg);
  margin-bottom: 14px;
}
.pack-card.mega-vault .pack-tag {
  border-color: var(--gold); color: #1b1203; background: var(--gold);
  box-shadow: 2px 2px 0 rgba(70, 48, 8, .75);
}
.pack-coins { font: 700 35px/1 var(--text); color: var(--gold-bright); display: flex; align-items: center; gap: 9px; margin: 6px 0; }
.pack-coins .sc-u { font-size: 16px; color: var(--gold); }
.pack-sub { font: 22px/1.1 var(--display); color: var(--ink); margin-bottom: 8px; }
.pack-price { font: 700 28px/1 var(--text); color: #f6eedc; margin: 14px 0 12px; }
.pack-price small { font-size: 13px; color: var(--ink-dim); font-weight: 400; }

/* ---------- Battle Pass 50-Tier Dual Track ---------- */
.bp-hero {
  padding: 32px 30px;
  display: grid; grid-template-columns: 1.25fr .85fr; gap: 28px; align-items: center;
  filter: var(--shadow-sheet);
}
.bp-hero::before {
  background: linear-gradient(140deg, var(--gold) 0%, var(--astris-deep) 46%, var(--fibre-hi) 100%);
  clip-path: var(--tear-a);
}
.bp-hero::after {
  background-color: #16130f;
  background-image:
    url("img/paper-grain.svg"),
    radial-gradient(ellipse 65% 75% at 86% 24%, rgba(230, 184, 77, .14), transparent 64%),
    radial-gradient(ellipse 65% 75% at 18% 20%, rgba(60, 191, 166, .13), transparent 64%),
    linear-gradient(135deg, #1d1914 0%, #14110e 78%);
  clip-path: var(--tear-a);
}
.bp-progress {
  width: 100%; height: 12px; margin-top: 10px; appearance: none;
  border: 1.5px solid var(--fibre-hi); border-radius: 2px;
  background: var(--paper-well); overflow: hidden;
}
.bp-progress::-webkit-progress-bar { background: var(--paper-well); }
.bp-progress::-webkit-progress-value { background: linear-gradient(90deg, var(--astris), var(--gold)); }
.bp-progress::-moz-progress-bar { background: linear-gradient(90deg, var(--astris), var(--gold)); }

.bp-upgrades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.bp-tier-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 18px; }
.bp-tier {
  position: relative; isolation: isolate;
  padding: 5px;
  background: transparent; border: 0;
  display: flex; flex-direction: column;
  filter: var(--shadow-sm);
}
.bp-tier::before {
  content: ""; position: absolute; inset: -1.5px; z-index: -2; pointer-events: none;
  background: linear-gradient(160deg, var(--fibre-hi), var(--fibre) 65%, #2f281f);
  clip-path: var(--tear-sm);
}
.bp-tier::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/paper-grain.svg"), linear-gradient(180deg, #1f1b16 0%, #15120e 100%);
  clip-path: var(--tear-sm);
}
.bp-tier.milestone::before { background: linear-gradient(160deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep)); }
.bp-tier.reached::before { background: linear-gradient(160deg, var(--astris-bright), var(--astris) 50%, var(--astris-deep)); }
.bp-tier-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 9px;
  background: rgba(12, 11, 9, .78);
  border-bottom: 1px dashed var(--line-bright);
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
}
.bp-tier.milestone .bp-tier-head { background: rgba(130, 97, 32, .26); color: var(--gold-bright); }
.bp-slot { padding: 9px 9px; font-size: 12.5px; border-bottom: 1px dashed rgba(116, 100, 79, .35); flex: 1; }
.bp-slot:last-child { border-bottom: 0; }
.bp-slot .track-lbl { display: block; font-size: 9.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 3px; }
.bp-slot.prem { background: rgba(230, 184, 77, .06); }
.bp-slot.prem .track-lbl { color: var(--gold); }
.bp-slot.prem.locked { opacity: .72; }
.bp-slot b { display: block; color: var(--ink); font-size: 12.5px; line-height: 1.32; }
.bp-slot.prem b { color: var(--gold-bright); }
.bp-slot .empty { color: var(--ink-muted); font-size: 11.5px; }

/* ---------- Roadmap / Trailer / Game / Shots / News / Download / Footer ---------- */
.dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px dashed var(--fibre-hi); }
.dates li { position: relative; padding: 26px 26px 6px 0; }
.dates li::before {
  content: ""; position: absolute; top: -8px; left: 0; width: 13px; height: 13px;
  background: var(--hull); border: 2px solid var(--kraft); transform: rotate(45deg);
}
.dates li.now::before {
  background: var(--seal); border-color: #f3b5a7;
  box-shadow: 0 0 12px rgba(200, 71, 50, .65);
}
.dates time { display: block; font: 700 30px/1 var(--text); color: var(--kraft-light); margin-bottom: 10px; }
.dates h3 { color: var(--astris); margin-bottom: 8px; }
.dates li.now h3 { color: var(--ink); }

.trailer {
  position: relative; aspect-ratio: 16 / 9;
  background: #0a0907 url("img/corridor.jpg") center / cover no-repeat;
  border: 2px solid var(--fibre-hi); overflow: hidden; border-radius: 2px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .6);
}
.trailer::after { content: ""; position: absolute; inset: 0; background: rgba(12, 10, 8, .64); }
.trailer .slate { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; padding: 20px; }
.trailer .slate h3 { font-size: clamp(32px, 5vw, 60px); }
.trailer .slate p { color: var(--ink-dim); margin: 10px 0 0; }
.trailer iframe, .trailer video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }

.game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.modes { list-style: none; padding: 0; margin: 20px 0 0; }
.modes li {
  padding: 13px 0;
  border-top: 1px dashed var(--line-bright);
  display: grid; grid-template-columns: 8.5em 1fr; gap: 14px;
}
.modes li:last-child { border-bottom: 1px dashed var(--line-bright); }
.modes b { font: 23px/1.1 var(--display); letter-spacing: .04em; font-weight: 400; color: var(--kraft-light); }

.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 40px; }
.shots figure {
  margin: 0; position: relative; background: var(--hull); overflow: hidden;
  border: 1.5px solid var(--fibre); border-radius: 2px; cursor: pointer;
  padding: 6px; box-shadow: 0 12px 24px rgba(0, 0, 0, .52);
}
.shots figure:hover { border-color: var(--astris); }
.shots figure:hover img { transform: scale(1.03); }
.shots figure:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.shots figure:nth-child(2), .shots figure:nth-child(3) { grid-column: span 2; }
.shots figure:nth-child(4), .shots figure:nth-child(5) { grid-column: span 3; }
.shots img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform .35s ease; }
.shots figcaption {
  position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 22px 14px 10px; font-size: 13px; color: var(--ink);
  background: linear-gradient(0deg, rgba(12, 10, 8, .92), rgba(12, 10, 8, 0));
}

dialog.lightbox {
  max-width: min(1160px, calc(100vw - 32px)); width: auto; padding: 14px;
  background: url("img/paper-grain.svg"), var(--hull);
  border: 2px solid var(--fibre-hi);
  box-shadow: 0 28px 64px rgba(0, 0, 0, .85);
}
dialog.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border: 1px solid rgba(216, 200, 158, .26); }
dialog.lightbox .lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 14px; }

.news { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.news .ver { font: 700 60px/1 var(--text); color: var(--kraft-light); letter-spacing: -.02em; }
.news .ver small { display: block; font-size: 14.5px; font-weight: 400; color: var(--ink-dim); letter-spacing: 0; margin-top: 10px; }
.news .notes p { border-left: 2px dashed var(--fibre-hi); padding-left: 16px; font-size: 15px; color: var(--ink-dim); }
.news .notes p:first-child { border-left: 3px solid var(--astris); color: var(--ink); }
.news .notes .head { display: block; font: 22px/1.15 var(--display); font-weight: 400; letter-spacing: .04em; color: var(--ink); margin-bottom: 4px; }

.dl { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.dl-box { padding: 30px 28px; filter: var(--shadow-sheet); }
.dl-box::before { background: linear-gradient(148deg, var(--astris) 0%, var(--astris-deep) 35%, var(--fibre-hi) 72%, #342c22 100%); clip-path: var(--tear-b); }
.dl-box::after {
  background-color: var(--hull);
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule-faint) 31px 32px),
    radial-gradient(140% 110% at 15% 0%, #211d17 0%, var(--hull) 58%, #13100d 100%);
  background-position: calc(100% - 6px) 6px, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
  clip-path: var(--tear-b);
}
.trust-strip {
  display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; margin-top: 18px;
  background: rgba(24, 62, 55, .26);
  border: 1.5px dashed var(--astris-deep);
  border-left: 3px solid var(--astris);
  border-radius: 2px;
  font-size: 13px; color: #c7ece4;
}
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 22px; font-size: 14.5px; }
.facts dt { color: var(--ink-muted); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; padding-top: 2px; }
.facts dd { margin: 0; color: var(--ink); }
.comm { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.comm p { max-width: 38em; margin: 0; }

/* Footer: Underside of the Dark Desk with Torn Paper Edge Above It */
.foot {
  position: relative;
  padding: 58px 0 56px;
  font-size: 13.5px; color: var(--ink-dim);
  background: url("img/paper-grain.svg"), var(--desk-deep);
  border-top: 0;
  margin-top: 18px;
}
.foot::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -21px; height: 22px; z-index: 2;
  background: url("img/torn-edge-footer.svg") left top / 960px 22px repeat-x;
  pointer-events: none;
}
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h2 { font-size: 20px; color: var(--kraft-light); margin-bottom: 8px; letter-spacing: .06em; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 5px 0; }
.foot a { color: var(--ink-dim); text-decoration: none; }
.foot a:hover { color: var(--astris-bright); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.rating {
  display: inline-flex; gap: 10px; align-items: center;
  border: 2px solid var(--seal); padding: 7px 12px; margin-top: 10px;
  color: var(--ink); background: rgba(200, 71, 50, .09);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(200, 71, 50, .3);
}
.rating b { font: 22px/1 var(--display); font-weight: 400; color: var(--seal-bright); letter-spacing: .06em; }

/* ---------- Forms, Account, Redeem, Login, Signup, Admin & Legal Pages ---------- */
.page { padding: 50px 0 88px; }
.page .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: start; }
.page.single .wrap { grid-template-columns: minmax(0, 700px); justify-content: center; }
.page.wide .wrap { grid-template-columns: minmax(0, 1fr); }
.page h1 { font-size: clamp(38px, 5.2vw, 64px); margin-bottom: 12px; }

/* Torn Ledger Field Sheets */
.sheet {
  padding: 28px 28px 26px;
  filter: var(--shadow-sheet);
}
.sheet::after {
  background-color: var(--hull);
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule-faint) 31px 32px),
    radial-gradient(140% 110% at 12% 0%, #211d17 0%, var(--hull) 55%, #13100d 100%);
  background-position: calc(100% - 6px) 6px, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
}
.sheet.highlight::before {
  background: linear-gradient(148deg, var(--astris) 0%, var(--astris-deep) 40%, var(--fibre) 78%, #332c23 100%);
}
.sheet.highlight::after {
  background-color: #161816;
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    linear-gradient(180deg, rgba(60, 191, 166, .15) 0%, rgba(25, 22, 18, 0) 44%),
    radial-gradient(140% 110% at 12% 0%, #1d231f 0%, var(--hull) 58%, #13110d 100%);
  background-position: calc(100% - 6px) 6px, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
}
.sheet.gold-sheet::before {
  background: linear-gradient(148deg, var(--gold) 0%, var(--gold-deep) 44%, var(--fibre) 80%, #3a3020 100%);
}
.sheet.gold-sheet::after {
  background-color: #191611;
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    linear-gradient(180deg, rgba(230, 184, 77, .15) 0%, rgba(25, 22, 18, 0) 48%),
    radial-gradient(140% 110% at 12% 0%, #241f15 0%, var(--hull) 58%, #13100c 100%);
  background-position: calc(100% - 6px) 6px, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
}
.sheet.admin-sheet::before {
  background: linear-gradient(148deg, var(--seal) 0%, var(--gold-deep) 55%, var(--fibre) 100%);
}
.sheet.admin-sheet::after {
  background-color: #191511;
  background-image:
    url("img/paper-corner-staple.svg"),
    url("img/paper-grain.svg"),
    linear-gradient(180deg, rgba(224, 170, 69, .14) 0%, rgba(25, 22, 18, 0) 45%),
    radial-gradient(140% 110% at 12% 0%, #241c15 0%, var(--hull) 58%, #13100c 100%);
  background-position: calc(100% - 6px) 6px, 0 0, 0 0, 0 0;
  background-size: 32px 32px, 256px 256px, auto, auto;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
}
.sheet + .sheet { margin-top: 22px; }
.sheet h2 {
  font-size: 29px; margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(116, 100, 79, .40);
}

/* Typewriter Ink-Well Form Controls */
.field { margin: 0 0 16px; }
.field label {
  display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 6px; color: var(--kraft-light);
}
.field input[type="text"], .field input[type="email"], .field input[type="password"],
.field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 9px 13px;
  font: 15.5px/1.3 var(--text); color: var(--ink);
  background: var(--paper-well);
  border: 1px solid var(--fibre);
  border-bottom: 2px solid var(--fibre-hi);
  border-radius: 2px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input.key-input {
  font-size: 17px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  color: var(--kraft-light); border-style: dashed; border-bottom-style: solid;
}
.tier-card .field input.key-input { font-size: 13px; letter-spacing: .02em; padding: 9px 10px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--astris); border-style: solid; outline: none;
  background: #14120e;
  box-shadow: 0 0 0 2px rgba(60, 191, 166, .24), inset 0 2px 6px rgba(0, 0, 0, .4);
}
.field input[aria-invalid="true"] { border-color: var(--seal-bright); }
.field .hint { font-size: 12.5px; color: var(--ink-dim); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14.5px; margin: 0 0 14px; cursor: pointer; }
.check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--astris); }
.msg { min-height: 1.5em; font-size: 14px; margin: 10px 0 0; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }
.alt { font-size: 14px; color: var(--ink-dim); margin-top: 14px; }
.status { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; margin: 14px 0 0; font-size: 14.5px; }
.status dt { color: var(--ink-muted); text-transform: uppercase; font-size: 11.5px; letter-spacing: .1em; padding-top: 2px; }
.status dd { margin: 0; overflow-wrap: anywhere; }

/* Tilted Rubber-Stamp Status Badges */
.badge {
  display: inline-block;
  font-family: var(--display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 9px 1px;
  border: 1.5px solid var(--fibre-hi); border-radius: 2px;
  margin-left: 7px; vertical-align: middle;
  color: var(--kraft-light); background: rgba(16, 14, 11, .65);
  box-shadow: inset 0 0 0 1px rgba(200, 184, 146, .16);
  transform: rotate(-1.2deg);
}
.badge.good { border-color: var(--astris); color: var(--astris-bright); background: rgba(60, 191, 166, .14); box-shadow: inset 0 0 0 1px rgba(60, 191, 166, .24); }
.badge.gold { border-color: var(--gold); color: var(--gold-bright); background: rgba(230, 184, 77, .14); box-shadow: inset 0 0 0 1px rgba(230, 184, 77, .26); }
.badge.todo { border-color: var(--warn); color: var(--warn); background: rgba(229, 173, 72, .11); }
.badge.bad { border-color: var(--seal); color: #f69a89; background: rgba(200, 71, 50, .17); box-shadow: inset 0 0 0 1px rgba(200, 71, 50, .28); }

.side .card-astris { margin: 10px auto 0; }
@media (min-width: 901px) { .page .side { position: sticky; top: 90px; } }
.side p { max-width: 32em; }

/* Torn Mini-Field-Slip Notices & Banners */
.banner {
  padding: 14px 18px 14px 22px; margin: 0 0 20px; font-size: 14.5px;
  filter: var(--shadow-sm);
}
.banner::before {
  background: linear-gradient(90deg, var(--astris) 0%, var(--fibre-hi) 45%, #342c22 100%);
  clip-path: var(--tear-strip);
}
.banner::after {
  background-color: var(--hull);
  background-image:
    linear-gradient(90deg, var(--astris) 0 4px, transparent 4px),
    url("img/paper-grain.svg"),
    linear-gradient(90deg, rgba(30, 44, 40, .95) 0%, var(--hull) 45%);
  clip-path: var(--tear-strip);
}
.banner.warn::before { background: linear-gradient(90deg, var(--warn) 0%, var(--fibre-hi) 45%, #342c22 100%); }
.banner.warn::after {
  background-color: var(--hull);
  background-image:
    linear-gradient(90deg, var(--warn) 0 4px, transparent 4px),
    url("img/paper-grain.svg"),
    linear-gradient(90deg, rgba(52, 40, 20, .95) 0%, var(--hull) 45%);
}
.banner.gold::before { background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 45%, var(--fibre) 100%); }
.banner.gold::after {
  background-color: var(--hull);
  background-image:
    linear-gradient(90deg, var(--gold) 0 4px, transparent 4px),
    url("img/paper-grain.svg"),
    linear-gradient(90deg, rgba(56, 43, 18, .95) 0%, var(--hull) 50%);
}
.banner.err::before { background: linear-gradient(90deg, var(--seal-bright) 0%, var(--seal-dark) 50%, #3a231e 100%); }
.banner.err::after {
  background-color: var(--hull);
  background-image:
    linear-gradient(90deg, var(--seal) 0 4px, transparent 4px),
    url("img/paper-grain.svg"),
    linear-gradient(90deg, rgba(58, 24, 19, .95) 0%, var(--hull) 50%);
}

.sheet details summary { cursor: pointer; color: var(--astris); margin-top: 14px; font-size: 15px; }
.sheet details[open] summary { color: var(--kraft-light); }
.sheet ul { padding-left: 20px; }

/* Standard Modal Dialogs */
dialog {
  background: url("img/paper-grain.svg"), var(--hull);
  color: var(--ink);
  border: 2px solid var(--fibre-hi);
  padding: 26px; max-width: 460px; width: calc(100% - 32px); border-radius: 2px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .82);
}
dialog::backdrop { background: rgba(7, 6, 4, .84); backdrop-filter: blur(3px); }

/* ---------- Admin & Double-Entry Ledger KPIs & Tables ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 20px; }
.kpi-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 20px; }
.kpi {
  padding: 18px 17px;
  filter: var(--shadow-sm);
}
.kpi::before { clip-path: var(--tear-sm); }
.kpi::after {
  clip-path: var(--tear-sm);
  background: url("img/paper-grain.svg"), radial-gradient(140% 110% at 15% 0%, #241f18 0%, #16130f 100%);
}
.kpi-n { font: 700 30px/1 var(--text); color: var(--ink); }
.kpi-l { font-size: 11px; text-transform: uppercase; letter-spacing: .11em; color: var(--ink-muted); margin-top: 7px; }

.mint-output {
  background: var(--paper-well);
  border: 1.5px dashed var(--astris-deep);
  padding: 16px; border-radius: 2px;
  font: 700 15px/1.8 var(--text); color: var(--astris-bright);
  white-space: pre-wrap; word-break: break-all;
  margin-top: 14px; max-height: 280px; overflow: auto;
}
.table-wrap { overflow-x: auto; margin-top: 14px; border: 1px dashed var(--line-bright); border-radius: 2px; background: rgba(12, 11, 9, .45); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px dashed var(--line-bright); white-space: nowrap; }
.data-table th {
  color: var(--kraft-light); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em;
  background: rgba(12, 10, 8, .72); border-bottom: 2px solid var(--fibre);
}
.data-table tr:hover td { background: rgba(216, 200, 158, .05); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.filter-bar input[type="text"], .filter-bar select {
  min-height: 38px; padding: 6px 12px; background: var(--paper-well);
  border: 1px solid var(--fibre); border-bottom: 2px solid var(--fibre-hi);
  color: var(--ink); font: 14px var(--text); border-radius: 2px;
}
.filter-bar input[type="text"]:focus, .filter-bar select:focus { border-color: var(--astris); outline: none; }
.filter-bar input[type="text"] { min-width: 230px; }
.device-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-top: 1px dashed var(--line-bright); font-size: 14px;
}

.legal { max-width: 48em; }
.legal h1 { margin-bottom: 10px; }
.legal h2 { font-size: 30px; margin: 34px 0 10px; color: var(--astris); border-bottom: 1px dashed var(--line-bright); padding-bottom: 6px; }
.legal .draft {
  border: 1.5px dashed var(--gold-deep); border-left: 3px solid var(--warn);
  color: var(--warn); padding: 12px 15px; font-size: 14.5px; margin: 18px 0 26px;
  background: rgba(229, 173, 72, .08);
}
.legal li { margin: 6px 0; }

/* ---------- Responsive (1440px Desktop -> Tablet -> 390px Mobile, Zero Horizontal Overflow) ---------- */
@media (max-width: 1140px) {
  .nav { display: none; }
  .menu { display: block; }
  .edition-grid, .pack-grid, .feature-grid, .item-grid { grid-template-columns: repeat(2, 1fr); }
  .bp-tier-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero .wrap, .game, .news, .dl, .page .wrap, .spotlight-grid, .bp-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tier-grid, .theatre-grid, .bp-upgrades-grid { grid-template-columns: minmax(0, 1fr); }
  .bundle-grid { grid-template-columns: minmax(0, 1fr); }
  .telemetry-grid, .kpi-grid, .kpi-grid-4, .form-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-astris { margin: 0 auto; max-width: 400px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .page.card-first .side { order: -1; }
  .page.card-first .side p { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 62px; }
  .sec { padding: 58px 0; }
  .edition-grid, .pack-grid, .feature-grid, .item-grid, .bp-tier-grid { grid-template-columns: 1fr; }
  .bundle-card { grid-template-columns: 1fr; }
  .dates { grid-template-columns: 1fr; border-top: 0; border-left: 2px dashed var(--fibre-hi); padding-left: 22px; }
  .dates li { padding: 0 0 26px 0; }
  .dates li::before { top: 6px; left: -30px; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots figure:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .shots figure:nth-child(1) { grid-column: span 2; }
  .modes li { grid-template-columns: 1fr; gap: 2px; }
  .form-grid, .form-grid-4 { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
  .sheet, .spot-card, .dl-box, .bp-hero { padding: 20px 18px; }
  .wallet-bar { padding: 16px 16px 16px 20px; }
  .filter-bar input[type="text"] { min-width: 0; width: 100%; }
  .telemetry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tele-cell { padding: 14px 12px; }
  .card-astris { max-width: 100%; padding: 18px 18px 14px; transform: rotate(-1.2deg); }
  .card-astris .value { font-size: 19px; }
  .card-astris .no { font-size: 18px; }
  .card-astris .stamp { font-size: 26px; right: 14px; }
  .btn { font-size: 19px; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .hero-video { display: none; }
}
