/* ==========================================================================
   THE PACK VAULT — production finish
   --------------------------------------------------------------------------
   Loaded last on every route and deliberately left outside the cascade
   layers, so it settles the visual system without editing the generated
   bundles beneath it. Nothing here changes markup contracts, routes, odds,
   copy or mechanics: it owns type, colour, surface, spacing and motion.

   Voices
     · Grotesk (Space Grotesk, OFL)  — everything a person reads, and headlines.
     · Stamp   (Bebas Neue, OFL)     — foil-stamp labels, tier numerals, eyebrows.
   Materials
     · Warm black canvas, tonal surfaces, one true gold. Hairlines survive only
       where they are load-bearing (a control edge, a legal rule).
   ========================================================================== */

/* Space Grotesk, subset to Latin and served as one small woff2 so the entry
   route can use the reading face without the 134 KB variable TTF. */
@font-face {
  font-family: "PV Grotesk";
  src: url("/assets/fonts/pv-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --pf-canvas: #080808;
  --pf-surface: #111213;
  --pf-surface-2: #18191a;
  --pf-surface-3: #222426;
  --pf-ink: #f4f1ea;
  --pf-text: #cfceca;
  --pf-muted: #aaa9a2;
  --pf-dim: #91928f;
  --pf-gold: #d9b55c;
  --pf-gold-2: #f1d485;
  --pf-gold-3: #a98a3b;
  --pf-gold-ink: #17130a;
  --pf-foil: linear-gradient(135deg, #b8933f 0%, #f1d485 30%, #d9b55c 52%, #f8e6ad 70%, #a98a3b 100%);
  --pf-line: #292b2c;
  --pf-line-strong: #3a3d3f;
  --pf-success: #6fcf9a;
  --pf-danger: #e98a8f;
  --pf-sans: "PV Grotesk", "Helvetica Neue", Arial, sans-serif;
  --pf-stamp: "Pack Vault Condensed", "Bebas Neue", "DIN Condensed", "Arial Narrow", sans-serif;
  --pf-radius: 6px;
  --pf-radius-card: 10px;
  --pf-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8);
  --pf-ease: cubic-bezier(.2, .7, .2, 1);

  /* Bridge the older token names so every legacy component inherits the palette. */
  --bg: var(--pf-canvas);
  --panel: var(--pf-surface);
  --panel2: var(--pf-surface-2);
  --text: var(--pf-ink);
  --muted: var(--pf-muted);
  --gold: var(--pf-gold);
  --gold2: var(--pf-gold-2);
  --line: var(--pf-line);
  --line2: var(--pf-line-strong);
  --pv-canvas: var(--pf-canvas);
  --pv-surface-1: var(--pf-surface);
  --pv-surface-2: var(--pf-surface-2);
  --pv-surface-3: var(--pf-surface-3);
  --pv-surface-glass: rgba(17, 18, 19, .98);
  --pv-text-strong: var(--pf-ink);
  --pv-text: var(--pf-text);
  --pv-text-muted: var(--pf-muted);
  --pv-text-dim: var(--pf-dim);
  --pv-line: var(--pf-line);
  --pv-line-strong: var(--pf-line-strong);
  --pv-brass: var(--pf-gold);
  --pv-brass-hover: var(--pf-gold-2);
  --pv-brass-ink: var(--pf-gold-ink);
  --pv-font: var(--pf-sans);
  --pv-display: var(--pf-sans);
  --pv-ui: var(--pf-sans);
  --pvr-text: var(--pf-sans);
  --pvr-display: var(--pf-stamp);
  --pvr-ink: var(--pf-ink);
  --pvr-ink-dim: var(--pf-muted);
  --pvr-ink-mute: var(--pf-dim);
  --pv-radius-control: var(--pf-radius);
  --pv-radius-card: 16px;
  --pv-ring: 0 0 0 3px rgba(217, 181, 92, .2);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html {
  background: var(--pf-canvas);
  scrollbar-color: #2a2722 var(--pf-canvas);
}

body {
  background: var(--pf-canvas);
  color: var(--pf-text);
  font-family: var(--pf-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(217, 181, 92, .38); color: #fff; }
::placeholder { color: var(--pf-dim); opacity: 1; }

.shell,
.modal,
.toast,
.shell :is(button, input, select, textarea, summary),
.modal :is(button, input, select, textarea, summary) {
  font-family: var(--pf-sans);
}

.shell :is(h1, h2, h3, h4),
.modal :is(h1, h2, h3, h4) {
  margin: 0;
  color: var(--pf-ink);
  font-family: var(--pf-sans);
  font-weight: 600;
  letter-spacing: -.028em;
  text-wrap: balance;
}

.shell h1 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.036em; }
.shell h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; }
.shell h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.015em; }
.shell h4 { font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.modal h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; }
.modal h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.015em; }

.shell p { color: inherit; }
.shell small { color: var(--pf-muted); }
.shell strong, .shell b { font-weight: 600; }
.shell code, .modal code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .92em; }

/* The stamp role: one legible treatment for every small tracked label. */
.shell :is(.eyebrow, .storefront-eyebrow, .pvh-kicker, .pvh-eyebrow, .metric-label, .nav-label,
  .passport-kicker, .marketplace-history-kicker, .pv-landing-eyebrow, .pack-series, .leader-feature-rank,
  .market-filter > span, .checkout-pack-copy > span, .pool-count, .status-note, .referral-heading small),
.modal :is(.eyebrow, .checkout-pack-copy > span, .auth-field-label > small) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--pf-gold);
  font-family: var(--pf-stamp);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.shell :is(.eyebrow, .storefront-eyebrow)::before,
.shell :is(.eyebrow, .storefront-eyebrow)::after { content: none; }
.shell .pack-series { margin-bottom: 6px; color: var(--pf-muted); }
.shell .rarity {
  font-family: var(--pf-stamp);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Atmosphere — one quiet vault light on every route, instead of a different
   watermark per mode. The vending and entry routes own their own stage.
   -------------------------------------------------------------------------- */
.shell { --pv-art-opacity: 0; --pv-page-max: 1400px; }

/* The interface is a clean digital surface; texture belongs to the actual
   collectible, not a repeated noise layer across the page. */
.shell:not(.shell--home, .shell--landing)::before,
.shell:not(.shell--home, .shell--landing)::after {
  content: none;
}

.shell .content {
  padding: calc(var(--top) + 34px) clamp(18px, 3.4vw, 56px) clamp(56px, 6vw, 88px);
}

.shell--home .content { padding: 0; }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.shell .topbar {
  gap: 10px;
  padding-inline: clamp(16px, 2.4vw, 36px);
  background: linear-gradient(180deg, rgba(10, 9, 8, .95) 0%, rgba(10, 9, 8, .72) 58%, rgba(10, 9, 8, 0) 100%);
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.shell.is-scrolled .topbar {
  background: rgba(10, 9, 8, .84);
  box-shadow: 0 1px 0 rgba(255, 246, 220, .06);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.shell .brand { gap: 12px; }

.shell .brand-mark,
.boot-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--pf-foil);
  color: var(--pf-gold-ink);
  font-family: var(--pf-stamp);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -1px 0 rgba(0, 0, 0, .25),
    0 8px 18px -8px rgba(217, 181, 92, .65);
}

.shell .brand-name {
  color: var(--pf-ink);
  font-family: var(--pf-stamp);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .18em;
}

.shell .topnav { gap: 2px; margin-left: clamp(8px, 1.6vw, 28px); }

.shell .topnav .nav-link,
.shell .topnav-more > summary {
  min-height: 40px;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--pf-muted);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -.005em;
}

.shell .topnav .nav-link:hover,
.shell .topnav-more > summary:hover { background: rgba(255, 246, 220, .06); color: var(--pf-ink); }
.shell .topnav .nav-link.is-active { background: rgba(217, 181, 92, .12); color: var(--pf-gold-2); }
.shell .topnav .nav-link::after { display: none; }
.shell .topnav-more.is-active > summary { color: var(--pf-gold-2); }

.shell .topnav-menu {
  border-radius: 16px;
  background: #14120f;
  padding: 10px;
  box-shadow: 0 0 0 1px rgba(255, 246, 220, .07), 0 30px 70px -20px rgba(0, 0, 0, .9);
}

.shell .topnav-menu-group + .topnav-menu-group { border-top: 0; margin-top: 4px; }
.shell .topnav-menu .nav-label { margin: 0; padding: 6px 10px 8px; color: var(--pf-gold); }
.shell .topnav-menu .nav-link { border-radius: 10px; color: var(--pf-text); }
.shell .topnav-menu .nav-link.is-active { box-shadow: none; background: rgba(217, 181, 92, .1); color: var(--pf-gold-2); }

.shell .top-signin { color: var(--pf-ink); font-weight: 500; }
.shell .top-signin:hover { color: var(--pf-gold-2); }

.shell .balance-pill {
  border: 0;
  border-radius: 999px;
  background: rgba(217, 181, 92, .1);
  padding: 0 16px;
  color: var(--pf-gold-2);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.shell .avatar-button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--pf-surface-3);
  color: var(--pf-gold-2);
  font-family: var(--pf-stamp);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .08em;
  box-shadow: inset 0 0 0 1px rgba(217, 181, 92, .35);
}

.shell .topbar > .gold-button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: linear-gradient(180deg, #edd18a 0%, #d8b459 55%, #caa347 100%);
  color: var(--pf-gold-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 10px 22px -12px rgba(217, 181, 92, .7);
}

.shell .top-wallet-button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, .06);
  color: var(--pf-ink);
  font-weight: 500;
}

.shell .top-wallet-button:hover { background: rgba(255, 246, 220, .1); }

.shell .mobile-menu i,
.shell .mobile-menu i::before,
.shell .mobile-menu i::after { background: var(--pf-ink); }

/* Drawer (phone navigation) */
.shell .nav-drawer {
  background: #0f0e0c;
  box-shadow: 0 0 0 1px rgba(255, 246, 220, .06), 30px 0 80px rgba(0, 0, 0, .6);
}

.shell .nav-drawer .nav-link {
  min-height: 46px;
  border-radius: 12px;
  color: var(--pf-text);
  font-size: 15px;
  font-weight: 500;
}

.shell .nav-drawer .nav-link:hover { background: rgba(255, 246, 220, .05); color: var(--pf-ink); }
.shell .nav-drawer .nav-link.is-active { background: rgba(217, 181, 92, .12); color: var(--pf-gold-2); }
.shell .nav-drawer .nav-label { margin: 18px 0 6px; }
.shell .side-status { color: var(--pf-dim); font-size: 12px; }
.shell .side-status .status-copy { color: inherit; }

/* --------------------------------------------------------------------------
   Controls
   -------------------------------------------------------------------------- */
.shell :is(.gold-button, .commerce-button, .pv-entry-primary, .reward-claim.gold-button),
.modal :is(.gold-button, .commerce-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: var(--pf-radius);
  padding: 0 20px;
  background: var(--pf-gold);
  color: var(--pf-gold-ink);
  font-family: var(--pf-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: transform .18s var(--pf-ease), box-shadow .18s var(--pf-ease), filter .18s var(--pf-ease), opacity .18s ease;
}

.shell :is(.gold-button, .commerce-button, .pv-entry-primary):hover:not(:disabled),
.modal :is(.gold-button, .commerce-button):hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 5px 16px #0003;
}

.shell :is(.gold-button, .commerce-button, .pv-entry-primary):active:not(:disabled),
.modal :is(.gold-button, .commerce-button):active:not(:disabled) { transform: translateY(0); filter: brightness(.97); }

.shell :is(.gold-button, .commerce-button, .pv-entry-primary):disabled,
.modal :is(.gold-button, .commerce-button):disabled { opacity: .42; filter: saturate(.5); box-shadow: none; transform: none; }

.shell .outline-button,
.modal .outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid rgba(255, 246, 220, .13);
  border-radius: var(--pf-radius);
  padding: 0 18px;
  background: rgba(255, 246, 220, .035);
  color: var(--pf-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s var(--pf-ease);
}

.shell .outline-button:hover:not(:disabled),
.modal .outline-button:hover:not(:disabled) {
  border-color: rgba(217, 181, 92, .45);
  background: rgba(217, 181, 92, .07);
  color: var(--pf-gold-2);
  transform: translateY(-1px);
}

.shell :is(.button-text, .ghost-button),
.modal :is(.button-text, .ghost-button) {
  min-height: 44px;
  border: 0;
  border-radius: var(--pf-radius);
  background: transparent;
  color: var(--pf-gold-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.shell :is(.button-text, .ghost-button):hover,
.modal :is(.button-text, .ghost-button):hover { background: rgba(217, 181, 92, .08); color: var(--pf-gold-2); }
.shell .danger-text, .modal .danger-text { color: var(--pf-danger); }
.shell .danger-text:hover, .modal .danger-text:hover { background: rgba(233, 138, 143, .1); color: #f4b3b7; }

.shell .danger-button,
.modal .danger-button {
  border: 0;
  border-radius: var(--pf-radius);
  background: rgba(233, 138, 143, .1);
  color: #f2a9ad;
}

.shell .field,
.modal .field,
.shell :where(input, select, textarea).field,
.modal :where(input, select, textarea).field {
  min-height: 48px;
  border: 1px solid rgba(255, 246, 220, .1);
  border-radius: var(--pf-radius);
  background: rgba(255, 246, 220, .04);
  padding: 11px 14px;
  color: var(--pf-ink);
  font-family: var(--pf-sans);
  font-size: 15px;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.shell .field:hover, .modal .field:hover { border-color: rgba(255, 246, 220, .2); }
.shell .field:focus, .modal .field:focus {
  border-color: var(--pf-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 181, 92, .18);
}

.modal .form label,
.shell .form label {
  display: grid;
  gap: 7px;
  color: var(--pf-muted);
  font-size: 13px;
  font-weight: 500;
}

.modal .auth-field-label, .shell .auth-field-label { display: flex; align-items: baseline; gap: 8px; }
.modal .form-hint, .shell .form-hint { color: var(--pf-dim); font-size: 12px; line-height: 1.4; }

.shell :is(a, button, summary, [tabindex]):focus-visible,
.modal :is(a, button, summary):focus-visible {
  outline: 2px solid var(--pf-gold-2);
  outline-offset: 3px;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Page structure
   -------------------------------------------------------------------------- */
.shell :is(.page-head, .storefront-page-head) {
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
  padding-bottom: 0;
  border: 0;
}

.shell .page-sub {
  max-width: 60ch;
  margin: 12px 0 0;
  color: var(--pf-muted);
  font-size: 16px;
  line-height: 1.55;
}

.shell .page-head-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.shell .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  border: 0;
}

.shell .section-head p { margin: 6px 0 0; color: var(--pf-muted); font-size: 14px; }
.shell .section-head > span:last-child { color: var(--pf-muted); font-size: 13px; }

.shell .demo-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-top: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pf-dim);
  font-size: 12.5px;
  box-shadow: none;
}

.shell .demo-notice strong {
  color: var(--pf-muted);
  font-family: var(--pf-stamp);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* The router waits for data and styles; ready pages are immediately legible.
   Keep motion inside the pack experience, not on every account/filter refresh. */
.shell .content > .page { animation: none; }

/* --------------------------------------------------------------------------
   Modals, toasts, boot
   -------------------------------------------------------------------------- */
.modal-backdrop {
  background: rgba(6, 5, 4, .74);
  -webkit-backdrop-filter: blur(18px) saturate(.85);
  backdrop-filter: blur(18px) saturate(.85);
}

.modal {
  border: 0;
  border-radius: 22px;
  background: #131210;
  color: var(--pf-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 220, .07),
    0 0 0 1px rgba(255, 246, 220, .05),
    0 50px 120px -30px rgba(0, 0, 0, .9);
}

.modal .modal-head { align-items: start; gap: 16px; margin-bottom: 18px; }
.modal .modal-head .eyebrow { margin-bottom: 8px; }

.modal .close-button {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 246, 220, .06);
  color: var(--pf-text);
  font-size: 20px;
  line-height: 1;
}

.modal .close-button:hover { background: rgba(255, 246, 220, .12); color: var(--pf-ink); }

.modal .auth-intent-note { color: var(--pf-muted); font-size: 14px; }

.modal .auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 18px;
  padding: 4px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 246, 220, .05);
}

.modal .auth-tabs [role="tab"] {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--pf-muted);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  cursor: pointer;
}

.modal .auth-tabs [role="tab"]:hover { color: var(--pf-ink); }
.modal .auth-tabs [role="tab"].is-active,
.modal .auth-tabs [role="tab"][aria-selected="true"] {
  background: var(--pf-surface-3);
  color: var(--pf-ink);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 246, 220, .06);
}

.modal .auth-tabs [role="tab"]::after { display: none; }

.modal .auth-email-panel > summary {
  color: var(--pf-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.modal .auth-fast-heading strong { color: var(--pf-ink); font-weight: 600; }
.modal .auth-fast-heading small { color: var(--pf-muted); }
.modal .auth-wallet-divider { color: var(--pf-dim); }
.modal .auth-wallet-note { color: var(--pf-dim); font-size: 12px; }
.modal .open-note { color: var(--pf-dim); font-size: 12.5px; line-height: 1.45; }

.modal .auth-phantom-button {
  border: 1px solid rgba(255, 246, 220, .12);
  border-radius: var(--pf-radius);
  background: rgba(255, 246, 220, .035);
  color: var(--pf-ink);
}

.modal .auth-phantom-button:hover { border-color: rgba(217, 181, 92, .45); background: rgba(217, 181, 92, .07); }

/* Checkout review */
.modal .checkout-pack {
  border: 0;
  border-radius: 16px;
  background: rgba(255, 246, 220, .04);
  padding: 12px 14px;
}

.modal .checkout-pack-art {
  border-radius: 12px;
  background: radial-gradient(70% 60% at 50% 40%, rgba(217, 181, 92, .16), transparent 72%);
}

.modal .checkout-pack-copy h3 { font-size: 17px; }
.modal .checkout-pack-copy p { color: var(--pf-muted); font-size: 13px; }
.modal .checkout-pack-price small { color: var(--pf-muted); font-size: 12px; }
.modal .checkout-pack-price strong { color: var(--pf-ink); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }

.modal .checkout-quantity legend { color: var(--pf-ink); font-weight: 600; }
.modal .checkout-quantity-stepper {
  border: 0;
  border-radius: 12px;
  background: rgba(255, 246, 220, .05);
}

.modal .checkout-quantity-stepper button { border: 0; background: transparent; color: var(--pf-ink); }
.modal .checkout-quantity-stepper button:hover:not(:disabled) { background: rgba(255, 246, 220, .06); }
.modal .checkout-quantity-stepper output strong { color: var(--pf-ink); font-family: var(--pf-sans); }
.modal .checkout-quantity-stepper output span { color: var(--pf-muted); font-family: var(--pf-stamp); letter-spacing: .16em; }
.modal :is(.checkout-quantity-limit, .checkout-reference-repeat, .checkout-legal) { color: var(--pf-muted); font-size: 13px; line-height: 1.5; }

.modal .checkout-ledger { border: 0; border-radius: 14px; background: rgba(255, 246, 220, .04); padding: 12px 14px; }
.modal .checkout-ledger span { color: var(--pf-muted); font-size: 12.5px; }
.modal .checkout-ledger strong { color: var(--pf-ink); font-variant-numeric: tabular-nums; }
.modal .checkout-commit-status > span { background: rgba(111, 207, 154, .14); color: var(--pf-success); }
.modal .checkout-commit-status strong { color: var(--pf-ink); }
.modal .checkout-commit-status small { color: var(--pf-muted); }

.modal .checkout-disclosure > summary { color: var(--pf-text); font-weight: 500; cursor: pointer; }
.modal .checkout-disclosure-body { color: var(--pf-muted); font-size: 13.5px; }
.modal .checkout-odds span { border: 0; border-radius: 10px; background: rgba(255, 246, 220, .05); color: var(--pf-text); }
.modal .checkout-odds span b { color: var(--pf-ink); }
.modal .checkout-commitment { border: 0; background: rgba(255, 246, 220, .04); border-radius: 10px; }

.modal .checkout-actions { border: 0; background: transparent; }
.modal .checkout-alert { border: 0; border-radius: 12px; background: rgba(233, 138, 143, .1); color: #f2a9ad; }

/* Listing / sell-back reviews share the same surfaces */
.modal .listing-review__card, .modal .listing-settlement, .modal .listing-price-input,
.modal .profile-settings-preview {
  border: 0;
  border-radius: 14px;
  background: rgba(255, 246, 220, .04);
}

.modal .listing-settlement dt { color: var(--pf-muted); }
.modal .listing-settlement dd { color: var(--pf-ink); font-variant-numeric: tabular-nums; }
.modal .listing-actions { border: 0; }

.toast {
  border: 0;
  border-left: 3px solid var(--pf-gold);
  border-radius: 14px;
  background: #1a1712;
  color: var(--pf-ink);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .06), 0 30px 60px -20px rgba(0, 0, 0, .9);
}

.toast.success { border-left-color: var(--pf-success); }
.toast.error { border-left-color: var(--pf-danger); }
.toast b, .toast strong { color: var(--pf-ink); }
.toast span, .toast p { color: var(--pf-text); }

.boot-screen { background: var(--pf-canvas); }
.boot-mark { width: 72px; height: 72px; border-radius: 20px; font-size: 32px; }
.boot-screen p {
  color: var(--pf-muted);
  font-family: var(--pf-stamp);
  font-size: 13px;
  letter-spacing: .26em;
}

/* --------------------------------------------------------------------------
   Site footer — the production signal every route was missing.
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 5vw, 64px) clamp(18px, 3.4vw, 56px) 36px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .42));
  color: var(--pf-muted);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(4, minmax(0, .7fr));
  gap: 32px;
  width: 100%;
  max-width: var(--pv-page-max, 1400px);
  margin: 0 auto;
}

.site-footer-brand { display: grid; gap: 16px; align-content: start; }
.site-footer-brand .brand { text-decoration: none; }
.site-footer-brand p { max-width: 34ch; margin: 0; color: var(--pf-muted); font-size: 13.5px; line-height: 1.55; }

.site-footer-col { display: grid; gap: 4px; align-content: start; }
.site-footer-col h4 {
  margin: 4px 0 8px;
  color: var(--pf-gold);
  font-family: var(--pf-stamp);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.site-footer-col a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: var(--pf-text);
  font-size: 14px;
  text-decoration: none;
  transition: color .15s ease;
}

.site-footer-col a:hover { color: var(--pf-gold-2); }

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  width: 100%;
  max-width: var(--pv-page-max, 1400px);
  margin: 40px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 246, 220, .07);
  color: var(--pf-dim);
  font-size: 12.5px;
  line-height: 1.5;
}

.shell--landing .site-footer { padding-top: 24px; }

@media (max-width: 960px) {
  .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .site-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .site-footer-legal { flex-direction: column; }
}

/* ==========================================================================
   Tier materials — one custom property, read by every product surface.
   ========================================================================== */
.shell [data-pack-tier="1"], .modal [data-pack-tier="1"] { --pf-tier: #c09c7b; }
.shell [data-pack-tier="2"], .modal [data-pack-tier="2"] { --pf-tier: #cbd0cd; }
.shell [data-pack-tier="3"], .modal [data-pack-tier="3"] { --pf-tier: #e5e2d9; }
.shell [data-pack-tier="4"], .modal [data-pack-tier="4"] { --pf-tier: #8caa96; }
.shell [data-pack-tier="5"], .modal [data-pack-tier="5"] { --pf-tier: #a6bac6; }
.shell [data-pack-tier="6"], .modal [data-pack-tier="6"] { --pf-tier: #decb98; }

/* The entry route is authored exclusively in landing-product.css. */

/* ==========================================================================
   Vending room — the machine keeps its tested DOM; the room gets its finish.
   ========================================================================== */
.shell--home { background: var(--pf-canvas); }
.shell--home .topbar { border-bottom: 0; }

.shell--home .pvh-hero.pvh-vending-stage { background: var(--pf-canvas); }
.shell--home .pvh-hero.pvh-vending-stage::before {
  background:
    radial-gradient(52% 46% at 40% 44%, rgba(217, 181, 92, .07), transparent 70%),
    linear-gradient(180deg, #0c0b09, #080706 80%);
}

.shell--home .pvh-kicker {
  color: var(--pf-gold);
  font-family: var(--pf-stamp);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .22em;
}

.shell--home .pvh-hero h1 {
  color: var(--pf-ink);
  font-family: var(--pf-sans);
  font-size: clamp(36px, 3.4vw, 50px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.036em;
}

.shell--home .pvh-sub-lead { color: var(--pf-ink); font-size: 15px; font-weight: 600; }
.shell--home .pvh-sub-detail { color: var(--pf-muted); font-size: 13.5px; }
.shell--home .pvh-sub::before { background: linear-gradient(180deg, var(--pf-gold), rgba(217, 181, 92, .18)); }

.shell--home .pvh-secondary,
.shell--home .pvh-actions .pvh-secondary {
  border: 0;
  border-radius: 999px;
  padding: 0 4px;
  color: var(--pf-gold-2);
  font-size: 13.5px;
  font-weight: 500;
}

.shell--home .pvh-secondary span { color: inherit; }
.shell--home .pvh-secondary:hover { color: var(--pf-ink); }

.shell--home .pvh-vending-hero .machine-visual {
  border: 0;
  border-radius: 24px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 246, 220, .05);
}

.shell--home .machine-drop-status,
.shell--home .machine-stage-label {
  font-family: var(--pf-stamp);
  letter-spacing: .2em;
}

/* Transaction deck */
.shell--home .machine-digital-ui.machine-control-deck {
  border: 0;
  border-radius: 24px;
  background: #14120f;
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .06), 0 30px 60px -30px rgba(0, 0, 0, .9);
}

.shell--home .machine-control-deck .machine-digital-head { border: 0; }
.shell--home .machine-control-deck .machine-digital-head span,
.shell--home .machine-control-deck .machine-digital-head strong {
  color: var(--pf-muted);
  font-family: var(--pf-stamp);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.shell--home .machine-control-deck .machine-digital-head strong { color: var(--pf-gold-2); }
.shell--home .machine-control-deck .machine-console-led { background: var(--pf-success); box-shadow: 0 0 10px rgba(111, 207, 154, .8); }

.shell--home .machine-control-deck .machine-digital-readout { border: 0; }
.shell--home .machine-control-deck .machine-digital-readout span {
  color: var(--pf-muted);
  font-family: var(--pf-stamp);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.shell--home .machine-control-deck .machine-digital-readout strong {
  color: var(--pf-ink);
  font-family: var(--pf-sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.shell--home .machine-control-deck .machine-digital-product > h2 {
  color: var(--pf-ink);
  font-family: var(--pf-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.shell--home .machine-control-deck .machine-digital-product dt {
  color: var(--pf-muted);
  font-family: var(--pf-stamp);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.shell--home .machine-control-deck .machine-digital-product dd { color: var(--pf-text); font-size: 13.5px; }

.shell--home .machine-digital-tier.machine-price-slide {
  border: 1px solid rgba(255, 246, 220, .08);
  border-radius: 16px;
  background: rgba(255, 246, 220, .03);
  color: var(--pf-text);
  box-shadow: none;
}

.shell--home .machine-digital-tier.machine-price-slide.is-active {
  border-color: rgba(217, 181, 92, .55);
  background: rgba(217, 181, 92, .09);
  box-shadow: 0 0 0 3px rgba(217, 181, 92, .12);
}

.shell--home .machine-control-deck .machine-digital-tier.machine-price-slide > span {
  color: var(--pf-gold);
  font-family: var(--pf-stamp);
  font-size: 12px;
  letter-spacing: .18em;
}

.shell--home .machine-control-deck .machine-digital-tier.machine-price-slide > b {
  color: var(--pf-ink);
  font-family: var(--pf-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.03em;
  text-transform: none;
}

.shell--home .machine-control-deck .machine-digital-tier.machine-price-slide > small { color: var(--pf-muted); font-family: var(--pf-sans); font-size: 11px; letter-spacing: 0; text-transform: none; }
.shell--home .machine-control-deck .machine-digital-tier.machine-price-slide > i { color: var(--pf-dim); font-size: 11px; }

.shell--home .machine-price-arrow {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, .05);
  color: var(--pf-ink);
}

.shell--home .machine-price-arrow:hover:not(:disabled) { background: rgba(217, 181, 92, .14); color: var(--pf-gold-2); }
.shell--home .machine-price-meta span { color: var(--pf-dim); font-size: 11.5px; }

.shell--home .machine-digital-vend {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #edd18a 0%, #d8b459 55%, #caa347 100%);
  color: var(--pf-gold-ink);
  font-family: var(--pf-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  text-transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 14px 30px -12px rgba(217, 181, 92, .7);
}

.shell--home .machine-digital-vend:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }

.shell--home .pvh-hero-evidence { border: 0; }
.shell--home .pvh-hero-evidence div { border: 0; }
.shell--home .pvh-hero-evidence dt { color: var(--pf-ink); font-size: 14px; font-weight: 600; }
.shell--home .pvh-hero-evidence dd { color: var(--pf-muted); font-size: 13px; }

/* Recorded pulls */
.shell--home .pv-ticker-head p,
.shell--home .pv-ticker .pvh-eyebrow { color: var(--pf-gold); font-family: var(--pf-stamp); font-size: 13px; letter-spacing: .22em; }
.shell--home .pv-ticker h2 { font-family: var(--pf-sans); font-weight: 600; letter-spacing: -.03em; }

.shell--home .pv-ticker-tabs {
  gap: 4px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, .05);
}

.shell--home .pv-ticker-tabs button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pf-muted);
  font-weight: 500;
}

.shell--home .pv-ticker-tabs button[aria-pressed="true"],
.shell--home .pv-ticker-tabs button.is-active {
  background: linear-gradient(180deg, #edd18a, #d8b459);
  color: var(--pf-gold-ink);
}

.shell--home .pv-tick-card { color: var(--pf-ink); font-weight: 600; }
.shell--home .pv-tick-meta { color: var(--pf-gold); font-family: var(--pf-stamp); letter-spacing: .16em; }
.shell--home .pv-tick-user, .shell--home .pv-tick-from { color: var(--pf-muted); }
.shell--home .pv-ticker-note { color: var(--pf-dim); }

/* Compare before you open */
.shell--home .pvh-section-head > div > p,
.shell--home .pvh-proof > div > p {
  color: var(--pf-gold);
  font-family: var(--pf-stamp);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.shell--home .pvh-section-head h2,
.shell--home .pvh-pool h2,
.shell--home .pvh-proof h2 {
  color: var(--pf-ink);
  font-family: var(--pf-sans);
  font-weight: 600;
  letter-spacing: -.032em;
}

.shell--home .pvh-section-head > span { color: var(--pf-muted); font-size: 13px; }

.shell--home .pvh-live-card {
  border: 0;
  border-radius: 24px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05), var(--pf-shadow);
  transition: transform .3s var(--pf-ease), box-shadow .3s var(--pf-ease);
}

.shell--home .pvh-live-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .08), 0 44px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(217, 181, 92, .16);
}

.shell--home .pvh-live-art {
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(62% 56% at 50% 46%, color-mix(in srgb, var(--pf-tier, var(--pf-gold)) 6%, transparent), transparent 72%),
    linear-gradient(180deg, #17150f, #0f0e0c);
}

.shell--home .pvh-live-art > span {
  color: var(--pf-gold);
  font-family: var(--pf-stamp);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.shell--home .pvh-live-art img { filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .6)); transition: transform .35s var(--pf-ease); }
.shell--home .pvh-live-card:hover .pvh-live-art img { transform: translateY(-4px) scale(1.03); }

.shell--home .pvh-live-copy > p { color: var(--pf-muted); font-family: var(--pf-sans); font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.shell--home .pvh-live-copy h3 { font-family: var(--pf-sans); font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.shell--home .pvh-live-copy h3 a { color: var(--pf-ink); }
.shell--home .pvh-live-copy dl div { border: 0; }
.shell--home .pvh-live-copy dt { color: var(--pf-muted); font-size: 13px; }
.shell--home .pvh-live-copy dd { color: var(--pf-ink); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }

.shell--home .pvh-live-rail-nav button {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, .06);
  color: var(--pf-ink);
}

.shell--home .pvh-swipe-hint, .shell--home .pvh-live-position { color: var(--pf-dim); }

/* Odds ledger */
.shell--home .pvh-pool-row { border: 0; }
.shell--home .pvh-pool-row b { color: var(--pf-ink); font-size: 15px; font-weight: 600; }
.shell--home .pvh-pool-row span { color: var(--pf-muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.shell--home .pvh-pool-row i { color: var(--pf-gold-2); font-size: 15px; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.shell--home .pvh-pool-meta, .shell--home .pvh-pool-note { color: var(--pf-muted); font-size: 13.5px; }
.shell--home .pvh-pool-link { color: var(--pf-gold-2); font-weight: 500; }

.shell--home .pvh-proof {
  border: 0;
  border-radius: 24px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell--home .pvh-proof > div > span { color: var(--pf-muted); }
.shell--home .pvh-proof details summary { color: var(--pf-text); }
.shell--home .pvh-proof details p { color: var(--pf-muted); }

/* ==========================================================================
   Catalogue, products and cards
   ========================================================================== */
.shell .pack-grid,
.shell .market-grid,
.shell .vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 18px;
}

.shell .market-grid,
.shell .vault-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }

.shell .pack-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 0;
  border-radius: var(--pf-radius-card);
  background: var(--pf-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05), var(--pf-shadow);
  transition: transform .3s var(--pf-ease), box-shadow .3s var(--pf-ease);
}

.shell .pack-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .08), 0 44px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(217, 181, 92, .16);
}

.shell .pack-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: clamp(250px, 21vw, 300px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 22px 22px 18px;
}

.shell .pack-art::after { content: none; }
.shell .pack-art img { width: auto; max-width: 100%; max-height: 100%; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .65)); transition: transform .35s var(--pf-ease); }
.shell .pack-card:hover .pack-art img { transform: translateY(-4px) scale(1.03); }

.shell .pack-tier-stamp,
.shell .pack-showroom .pack-tier-stamp {
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.shell .pack-tier-stamp span { color: var(--pf-gold); font-family: var(--pf-stamp); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.shell .pack-tier-stamp b { color: var(--pf-muted); font-family: var(--pf-sans); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }

.shell .pack-body {
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 0;
  padding: 18px 20px 20px;
}

.shell .pack-card h2, .shell .pack-card h3 { font-size: 20px; line-height: 1.15; }
.shell .pack-value-band { color: var(--pf-muted); font-size: 13px; }

.shell .pack-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 0;
  border: 0;
}

.shell .pack-meta .price { display: grid; gap: 2px; color: var(--pf-ink); font-family: var(--pf-sans); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.shell .pack-meta .price small { color: var(--pf-muted); font-family: var(--pf-stamp); font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.shell .pack-meta .stock { color: var(--pf-muted); font-size: 12.5px; }
.shell .pack-link-label { margin-top: 10px; color: var(--pf-gold-2); font-size: 13.5px; font-weight: 500; }
.shell .pack-link-label i { display: inline-block; font-style: normal; transition: transform .2s var(--pf-ease); }
.shell .pack-card:hover .pack-link-label i { transform: translateX(3px); }
.shell .pack-card.is-unavailable { opacity: .7; }
.shell .future-pack-mark { color: var(--pf-muted); font-family: var(--pf-stamp); }
.shell .tier-disclosure { color: var(--pf-muted); font-size: 13.5px; border-color: rgba(217, 181, 92, .35); }

/* Pack catalogue: compare complete tiers, not a sequence of oversized posters.
   This owner is restricted to /packs; shared pack cards keep their own layout. */
.shell .pack-showroom .page-head { margin-bottom: 22px; }
.shell .pack-showroom .page-head h1 { font-size: clamp(34px, 3.4vw, 48px); }
.shell .pack-showroom .page-sub { max-width: 780px; }
.shell .pack-showroom .section-head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.shell .pack-showroom .section-head h2 { font-size: 24px; }
.shell .pack-showroom .pack-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shell .pack-showroom .pack-card { grid-template-columns: 164px minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: 14px; padding: 16px; min-height: 278px; border: 1px solid var(--pf-line); border-radius: 6px; background: var(--pf-surface); box-shadow: none; }
.shell .pack-showroom .pack-card:hover { transform: none; border-color: var(--pf-gold); box-shadow: none; }
.shell .pack-showroom .pack-card:focus-visible { outline: 2px solid var(--pf-gold); outline-offset: 3px; }
.shell .pack-showroom .pack-catalog-grid .pack-art { height: 246px; padding: 0; aspect-ratio: auto; overflow: visible; background: transparent; }
.shell .pack-showroom .pack-art img, .shell .pack-showroom .pack-card:hover .pack-art img { display: block; width: 164px; height: 246px; max-width: 100%; object-fit: contain; transform: none; transition: none; filter: drop-shadow(0 10px 12px #0006); }
.shell .pack-showroom .pack-catalog-grid .pack-body { align-content: center; min-width: 0; min-height: 0; padding: 0; gap: 7px; }
.shell .pack-showroom .pack-series { color: var(--pf-muted); font-size: 11px; }
.shell .pack-showroom .pack-card h2 { margin: 0; font-size: 23px; line-height: 1.15; overflow-wrap: anywhere; }
.shell .pack-showroom .pack-value-band { margin: 0; color: var(--pf-muted); font-size: 12px; line-height: 1.5; }
.shell .pack-showroom .pack-meta { display: grid; align-items: start; justify-content: start; justify-items: start; gap: 7px; margin-top: 4px; text-align: left; }
.shell .pack-showroom .pack-meta .price { font-size: 23px; }
.shell .pack-showroom .pack-meta .price small { font-size: 10px; }
.shell .pack-showroom .pack-meta .stock { font-size: 11px; }
.shell .pack-showroom .pack-link-label { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 0; font-size: 12px; }
.shell .pack-showroom .pack-catalog-section + .pack-catalog-section { margin-top: 32px; }
@media (min-width: 761px) and (max-width: 1200px) {
  .shell .pack-showroom .pack-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell .pack-showroom .page-head { margin-bottom: 20px; }
  .shell .pack-showroom .page-sub { font-size: 13px; line-height: 1.55; }
  .shell .pack-showroom .section-head h2 { font-size: 22px; }
  .shell .pack-showroom .pack-catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .shell .pack-showroom .pack-card { grid-template-columns: 144px minmax(0, 1fr); gap: 12px; padding: 12px; min-height: 242px; }
  .shell .pack-showroom .pack-catalog-grid .pack-art { height: 216px; }
  .shell .pack-showroom .pack-art img, .shell .pack-showroom .pack-card:hover .pack-art img { width: 144px; height: 216px; }
  .shell .pack-showroom .pack-card h2 { font-size: 21px; }
  .shell .pack-showroom .pack-value-band { font-size: 11px; }
}
@media (max-width: 360px) {
  .shell .pack-showroom .pack-card { grid-template-columns: 130px minmax(0, 1fr); gap: 8px; padding: 10px; }
  .shell .pack-showroom .pack-art img, .shell .pack-showroom .pack-card:hover .pack-art img { width: 130px; height: 195px; }
  .shell .pack-showroom .pack-card h2 { font-size: 18px; }
}

/* Product detail */
.shell .detail-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--pf-muted); font-size: 13.5px; text-decoration: none; }
.shell .detail-back:hover { color: var(--pf-gold-2); }

.shell .detail-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 520px;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background:
    radial-gradient(58% 50% at 50% 44%, color-mix(in srgb, var(--pf-tier, var(--pf-gold)) 7%, transparent), transparent 70%),
    linear-gradient(180deg, #17150f, #0d0c0a);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05), var(--pf-shadow);
}

.shell .detail-art::after {
  content: none;
}

.shell .detail-art img,
.shell .detail-art .pv-graded-slab { max-width: min(100%, 440px); filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .7)); }
.shell .detail-copy .eyebrow { margin-bottom: 14px; }
.shell .detail-copy h1 { font-size: clamp(34px, 3.4vw, 48px); }

.shell .pack-band-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0;
  padding: 14px 0;
  border: 0;
  box-shadow: 0 1px 0 rgba(255, 246, 220, .07), 0 -1px 0 rgba(255, 246, 220, .07);
}

.shell .pack-band-line span { color: var(--pf-ink); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.shell .pack-band-line small { color: var(--pf-muted); font-family: var(--pf-stamp); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }

.shell .open-box, .shell .pack-snapshot, .shell .opening-details {
  border: 0;
  border-radius: 20px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .pack-snapshot-head h2 { font-size: 20px; }
.shell .pack-snapshot-grid > div { border: 0; }
.shell .pack-snapshot-grid strong, .shell .pack-snapshot-grid b { color: var(--pf-ink); font-size: 18px; font-weight: 600; }
.shell .pack-snapshot-grid span, .shell .pack-snapshot-grid small, .shell .pack-snapshot-note { color: var(--pf-muted); }
.shell .pack-distribution-head p { color: var(--pf-muted); }
.shell .odds-row b, .shell .odds-row strong { color: var(--pf-ink); }
.shell .odds-track { background: rgba(255, 246, 220, .07); border-radius: 999px; overflow: hidden; }
.shell .odds-track > * { background: linear-gradient(90deg, var(--pf-gold-3), var(--pf-gold-2)); border-radius: 999px; }
.shell .pool-category { border: 0; }
.shell .item-facts { border: 0; border-radius: 18px; background: var(--pf-surface); }
.shell .item-facts dt { color: var(--pf-muted); }
.shell .item-facts dd { color: var(--pf-ink); }

/* Slab cards */
.shell :is(.market-card, .vault-card) {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 0;
  border-radius: var(--pf-radius-card);
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05), var(--pf-shadow);
  transition: transform .3s var(--pf-ease), box-shadow .3s var(--pf-ease);
}

.shell :is(.market-card, .vault-card):hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .08), 0 44px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(217, 181, 92, .16);
}

.shell .item-art {
  display: grid;
  place-items: center;
  height: clamp(300px, 24vw, 360px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(217, 181, 92, .15), transparent 70%),
    linear-gradient(180deg, #17150f, #0f0e0c);
  padding: 22px;
  text-decoration: none;
}

.shell .item-art .pv-graded-slab { filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .65)); transition: transform .35s var(--pf-ease); }
.shell :is(.market-card, .vault-card):hover .item-art .pv-graded-slab { transform: translateY(-4px) scale(1.03); }

.shell .item-body { display: grid; gap: 6px; align-content: start; padding: 18px 20px 20px; }
.shell .item-body :is(h2, h3) { font-size: 17px; line-height: 1.3; letter-spacing: -.015em; }
.shell .item-title-link { color: var(--pf-ink); text-decoration: none; }
.shell .item-title-link:hover { color: var(--pf-gold-2); }
.shell .item-sub { color: var(--pf-muted); font-size: 13px; }

.shell .inventory-provenance-note {
  margin: 4px 0 0;
  border: 0;
  border-left: 2px solid var(--pf-gold);
  border-radius: 0 8px 8px 0;
  background: rgba(217, 181, 92, .06);
  padding: 6px 10px;
  color: var(--pf-gold-2);
  font-size: 12px;
  line-height: 1.4;
}

.shell .ownership-actions { display: grid; gap: 8px; margin-top: 10px; }
.shell .ownership-actions .outline-button, .shell .ownership-actions .button-text { width: 100%; }
.shell .ownership-restriction { color: var(--pf-dim); font-size: 12px; line-height: 1.45; }
.shell .market-action { display: grid; gap: 10px; margin-top: 10px; padding-top: 0; border: 0; }
.shell .listing-price { display: grid; gap: 2px; }
.shell .listing-price span { color: var(--pf-muted); font-family: var(--pf-stamp); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.shell .listing-price strong { color: var(--pf-ink); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.shell .listing-price small { color: var(--pf-muted); font-size: 12px; }
.shell .pool-card-data { display: flex; gap: 18px; margin-top: 6px; }
.shell .pool-card-data small { color: var(--pf-muted); font-size: 11.5px; }
.shell .pool-card-data strong, .shell .pool-card-data b { color: var(--pf-ink); font-size: 14px; font-weight: 600; }

/* Marketplace command bar and filters */
.shell .marketplace-command { border: 0; box-shadow: none; }
.shell .marketplace-command p { color: var(--pf-muted); font-size: 13.5px; }

.shell .marketplace-mode-tabs {
  gap: 4px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 246, 220, .05);
  padding: 4px;
  box-shadow: none;
}

.shell .marketplace-mode-tabs a {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--pf-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
}

.shell .marketplace-mode-tabs a:hover { color: var(--pf-ink); }
.shell .marketplace-mode-tabs a[aria-current="page"] {
  background: var(--pf-surface-3);
  color: var(--pf-ink);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 246, 220, .06);
}

.shell .marketplace-mode-tabs a b {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, .08);
  padding: 1px 7px;
  color: var(--pf-muted);
  font-size: 11px;
  font-weight: 600;
}

.shell .marketplace-mode-tabs a[aria-current="page"] b { background: rgba(217, 181, 92, .16); color: var(--pf-gold-2); }

.shell .marketplace-filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin: 0 0 28px;
  border: 0;
  border-radius: 20px;
  background: var(--pf-surface);
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .market-filter { display: grid; gap: 8px; }
.shell .market-filter > span { margin: 0; font-size: 12px; }
.shell .market-filter-actions { display: flex; align-items: center; gap: 12px; }
.shell .market-filter-actions a { color: var(--pf-muted); font-size: 13px; }
.shell .marketplace-results-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.shell .marketplace-results-head h2 { font-size: 24px; }
.shell .marketplace-results-head span { color: var(--pf-muted); font-size: 13px; }
.shell .marketplace-test-note { border: 0; border-left: 2px solid var(--pf-gold); border-radius: 0 10px 10px 0; background: rgba(217, 181, 92, .06); color: var(--pf-text); }

.shell .storefront-empty,
.shell .empty,
.shell .empty-state,
.shell .protocol-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 0;
  border-radius: 24px;
  background: var(--pf-surface);
  padding: clamp(40px, 6vw, 72px) 24px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .storefront-empty > span[aria-hidden] {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border: 0;
  border-radius: 14px;
  background: var(--pf-foil);
  color: var(--pf-gold-ink);
  font-family: var(--pf-stamp);
  font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 30px -12px rgba(217, 181, 92, .7);
}

.shell :is(.storefront-empty, .empty, .empty-state) h2 { font-size: 26px; }
.shell :is(.storefront-empty, .empty, .empty-state) p { max-width: 46ch; margin: 0; color: var(--pf-muted); }

/* Vault */
.shell .vault-summary-ledger,
.shell .vault-control-band,
.shell .vault-summary-actions { border: 0; box-shadow: none; }

.shell .vault-summary-ledger > * {
  border: 0;
  border-radius: 18px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .vault-summary-ledger strong, .shell .vault-summary-ledger dd { color: var(--pf-ink); font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.shell .vault-summary-ledger small, .shell .vault-summary-ledger p { color: var(--pf-muted); }
.shell .vault-summary-note { color: var(--pf-muted); }
.shell .vault-select-menu { border: 0; border-radius: 14px; background: #16140f; box-shadow: 0 0 0 1px rgba(255, 246, 220, .07), 0 30px 60px -20px rgba(0, 0, 0, .9); }
.shell .vault-batch-review { border: 0; border-radius: 24px; background: var(--pf-surface); box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05); }

/* ==========================================================================
   Ledger routes — leaderboard, activity, rewards, profile, wallets
   ========================================================================== */
.shell .leader-period-tabs {
  gap: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, .05);
  padding: 4px;
}

.shell .leader-period-tabs a,
.shell .leader-period-tabs button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pf-muted);
  font-weight: 500;
  text-decoration: none;
}

.shell .leader-period-tabs :is(a, button)[aria-current="page"],
.shell .leader-period-tabs :is(a, button).is-active,
.shell .leader-period-tabs :is(a, button)[aria-pressed="true"] {
  background: var(--pf-surface-3);
  color: var(--pf-ink);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .8);
}

.shell .leader-spotlight { gap: 14px; }

.shell .leader-feature {
  border: 0;
  border-radius: 24px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05), var(--pf-shadow);
}

.shell .leader-feature--1 {
  background: radial-gradient(90% 70% at 10% 0%, rgba(217, 181, 92, .2), transparent 60%), var(--pf-surface);
  box-shadow: inset 0 0 0 1px rgba(217, 181, 92, .28), var(--pf-shadow);
}

.shell .leader-feature-rank { margin: 0; color: var(--pf-gold); }
.shell .leader-feature .collector, .shell .leader-feature h2, .shell .leader-feature h3 { color: var(--pf-ink); font-size: 20px; font-weight: 600; }
.shell .leader-feature-summary { color: var(--pf-muted); }
.shell .leader-stat strong, .shell .leader-stat b { color: var(--pf-gold-2); font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.shell .leader-avatar {
  border: 0;
  border-radius: 999px;
  background: var(--pf-surface-3);
  color: var(--pf-gold-2);
  font-family: var(--pf-stamp);
  font-size: 15px;
  letter-spacing: .06em;
  box-shadow: inset 0 0 0 1px rgba(217, 181, 92, .3);
}

.shell .leaderboard-panel {
  border: 0;
  border-radius: 24px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .leader-row { border: 0; border-radius: 12px; transition: background-color .15s ease; }
.shell .leader-row:not(.leader-row--head):hover { background: rgba(255, 246, 220, .04); }
.shell .leader-row--head { color: var(--pf-muted); font-family: var(--pf-stamp); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.shell .leader-row .rank { color: var(--pf-gold); font-family: var(--pf-stamp); font-size: 18px; letter-spacing: .04em; }
.shell .leader-row .collector { color: var(--pf-ink); font-weight: 500; }
.shell .leader-row strong, .shell .leader-row b { color: var(--pf-ink); font-variant-numeric: tabular-nums; }
.shell .leader-row small { color: var(--pf-muted); }

.shell .feed {
  display: grid;
  gap: 2px;
  border: 0;
  border-radius: 22px;
  background: var(--pf-surface);
  padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .feed-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 10px 14px;
  color: var(--pf-text);
  font-size: 14px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.shell .feed-row:hover { background: rgba(255, 246, 220, .045); }
.shell .feed-image { width: 40px; height: 52px; border-radius: 6px; background: #1a1814; object-fit: cover; }
.shell .feed-copy b { color: var(--pf-gold-2); font-weight: 600; }
.shell .feed-time { color: var(--pf-dim); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Rewards */
.shell .rewards-overview { gap: 18px; }

.shell .passport-card {
  border: 0;
  border-radius: 26px;
  background:
    radial-gradient(80% 60% at 12% 0%, rgba(217, 181, 92, .2), transparent 60%),
    var(--pf-surface);
  box-shadow: inset 0 0 0 1px rgba(217, 181, 92, .18), var(--pf-shadow);
}

.shell .passport-card::before, .shell .passport-card::after { display: none; }
.shell .passport-kicker { color: var(--pf-gold); }
.shell .passport-head h2 { font-size: clamp(26px, 2.6vw, 34px); }
.shell .passport-seal {
  border: 0;
  background: var(--pf-foil);
  color: var(--pf-gold-ink);
  font-family: var(--pf-stamp);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 30px -12px rgba(217, 181, 92, .7);
}

.shell .passport-identity span, .shell .passport-rank span, .shell .passport-progress-copy span {
  color: var(--pf-muted);
  font-family: var(--pf-stamp);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.shell .passport-points { color: var(--pf-gold-2); font-size: clamp(48px, 5vw, 68px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.shell .passport-progress { background: rgba(255, 246, 220, .08); border-radius: 999px; overflow: hidden; }
.shell .passport-progress > * { background: linear-gradient(90deg, var(--pf-gold-3), var(--pf-gold-2)); border-radius: 999px; }
.shell .passport-progress-note { color: var(--pf-muted); }
.shell .passport-rank { border: 0; }
.shell .passport-rank > div { border: 0; }
.shell .passport-rank strong { color: var(--pf-ink); }

.shell .referral-card {
  border: 0;
  border-radius: 26px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .referral-code { border: 0; border-radius: 8px; background: rgba(217, 181, 92, .12); color: var(--pf-gold-2); font-family: var(--pf-stamp); letter-spacing: .14em; }
.shell .referral-link { border: 0; border-radius: 12px; background: rgba(255, 246, 220, .05); }
.shell .referral-counts > div { border: 0; }
.shell .referral-counts strong { color: var(--pf-ink); font-size: 26px; font-weight: 600; }
.shell .referral-counts span, .shell .referral-reward small, .shell .referral-growth-head span { color: var(--pf-muted); }
.shell .referral-reward strong { color: var(--pf-gold-2); }
.shell .referral-growth-track { background: rgba(255, 246, 220, .08); }

.shell .reward-milestone {
  border: 0;
  border-radius: 18px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .reward-milestone.is-locked { opacity: .78; }
.shell .milestone-level {
  border: 0;
  border-radius: 999px;
  background: var(--pf-surface-3);
  color: var(--pf-gold-2);
  font-family: var(--pf-stamp);
  font-size: 16px;
  letter-spacing: .06em;
  box-shadow: inset 0 0 0 1px rgba(217, 181, 92, .28);
}

.shell .milestone-heading { font-size: 18px; }
.shell .milestone-status { border: 0; border-radius: 999px; background: rgba(255, 246, 220, .08); color: var(--pf-muted); font-family: var(--pf-stamp); font-size: 11px; letter-spacing: .16em; }
.shell .milestone-copy, .shell .milestone-count { color: var(--pf-muted); }
.shell .milestone-copy strong { color: var(--pf-gold-2); }
.shell .rank-ladder-panel { border: 0; border-radius: 18px; background: var(--pf-surface); box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05); }
.shell .rank-ladder-panel summary { color: var(--pf-ink); font-weight: 600; }
.shell .rewards-disclosure strong { color: var(--pf-gold); }

/* Profile */
.shell .metrics { gap: 12px; border: 0; background: transparent; box-shadow: none; }
.shell .metric.card, .shell .metric {
  border: 0;
  border-radius: 18px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .metric-label { margin-bottom: 8px; color: var(--pf-muted); font-size: 11px; }
.shell .metric-value { color: var(--pf-ink); font-size: 26px; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }

.shell .profile-practice,
.shell .collector-achievements,
.shell .profile-practice-achievements > * {
  border: 0;
  border-radius: 22px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .profile-practice-achievements > * { border-radius: 16px; background: rgba(255, 246, 220, .03); }
.shell .profile-practice-overview > div { border: 0; }
.shell .profile-practice-total strong, .shell .profile-practice-tickets strong { color: var(--pf-ink); font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.shell .profile-practice-next strong { color: var(--pf-ink); }
.shell .profile-practice-track { background: rgba(255, 246, 220, .08); border-radius: 999px; overflow: hidden; }
.shell .profile-practice-track > * { background: linear-gradient(90deg, var(--pf-gold-3), var(--pf-gold-2)); }
.shell .profile-achievement-mark { border: 0; border-radius: 999px; background: var(--pf-surface-3); color: var(--pf-gold-2); font-family: var(--pf-stamp); letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(217, 181, 92, .28); }

.shell .ledger {
  display: grid;
  gap: 2px;
  border: 0;
  border-radius: 22px;
  background: var(--pf-surface);
  padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .ledger-row { border: 0; border-radius: 12px; padding: 12px 14px; transition: background-color .15s ease; }
.shell .ledger-row:hover { background: rgba(255, 246, 220, .04); }
.shell .ledger-row .feed-time { color: var(--pf-dim); }

/* Wallets and protocol labs */
.shell .protocol-stop,
.shell .wallet-account-hub,
.shell .wallet-ledger-panel,
.shell .lending-disclosure,
.shell .protocol-card {
  border: 0;
  border-radius: 22px;
  background: var(--pf-surface);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05);
}

.shell .protocol-section-head h2 { font-size: 24px; }
.shell .wallet-chain-row { border: 0; border-radius: 14px; }
.shell .wallet-chain-row:hover { background: rgba(255, 246, 220, .04); }
.shell .wallet-chain-mark, .shell .chain-mark { border: 0; background: var(--pf-surface-3); color: var(--pf-gold-2); font-family: var(--pf-stamp); letter-spacing: .06em; }
.shell .wallet-status-pill { border: 0; border-radius: 999px; background: rgba(255, 246, 220, .08); color: var(--pf-muted); font-family: var(--pf-stamp); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.shell .wallet-status-pill.is-ready { background: rgba(111, 207, 154, .14); color: var(--pf-success); }

/* Account gates */
.shell .gate-panel { border: 0; border-radius: 26px; background: var(--pf-surface); box-shadow: inset 0 1px 0 rgba(255, 246, 220, .05); }
.shell .gate-panel .boot-mark { width: 60px; height: 60px; border-radius: 18px; font-size: 26px; }
.shell .gate-panel h2 { font-size: clamp(26px, 2.8vw, 34px); }
.shell .gate-panel p, .shell .account-gate-intro { color: var(--pf-muted); }
.shell .gate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.shell .gate-steps > * { border: 0; border-radius: 16px; background: rgba(255, 246, 220, .03); }

/* Chat launcher */
body .pv-chat-tab {
  background: #1a1712;
  color: var(--pf-ink);
  box-shadow: -14px 0 34px rgba(0, 0, 0, .55), inset 1px 0 0 rgba(255, 246, 220, .08);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .shell .marketplace-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .shell .marketplace-filters .market-filter--search { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .shell:not(.shell--home, .shell--landing) .content { padding: calc(var(--top) + 22px) 16px 48px; }
  .shell h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .shell h2 { font-size: clamp(24px, 6.6vw, 30px); }
  .shell :is(.page-head, .storefront-page-head) { flex-direction: column; align-items: start; gap: 14px; }
  .shell .page-sub { font-size: 15px; }
  .shell .marketplace-filters { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .shell .market-filter-actions { justify-content: space-between; }
  .shell .market-filter-actions .gold-button { flex: 1; }
  .shell .pack-grid, .shell .market-grid, .shell .vault-grid { gap: 12px; }
  .shell .pack-grid { grid-template-columns: minmax(0, 1fr); }
  .shell .market-grid, .shell .vault-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell .pack-art { height: clamp(220px, 60vw, 300px); }
  .shell .item-art { height: clamp(220px, 52vw, 300px); padding: 14px; }
  .shell .item-body { padding: 12px 12px 14px; }
  .shell .pack-body { padding: 14px 16px 16px; }
  .shell .detail-art { min-height: 380px; border-radius: 20px; }
  .shell .feed-row { grid-template-columns: 36px minmax(0, 1fr); font-size: 13.5px; }
  .shell .feed-time { grid-column: 2; }
  .shell .feed-image { width: 36px; height: 46px; }
  .shell--home .machine-control-deck .machine-digital-readout strong { font-size: 24px; }
  .modal { border-radius: 20px; }
}

@media (max-width: 480px) {
  .shell .market-grid, .shell .vault-grid { grid-template-columns: minmax(0, 1fr); }
  .shell .item-art { height: clamp(260px, 72vw, 340px); }
}

@media (prefers-reduced-motion: reduce) {
  .shell *, .modal *, .site-footer * { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (forced-colors: active) {
  .shell .pack-card, .shell :is(.market-card, .vault-card), .shell .pv-entry-tier.is-selected { outline: 1px solid CanvasText; }
}

/* --------------------------------------------------------------------------
   Second pass
   -------------------------------------------------------------------------- */
/* The odds link keeps a breath before its arrow. */
.shell--landing .pv-entry-odds span,
.shell .pvh-secondary span,
.shell .pvh-pool-link span { margin-left: 6px; }

/* The catalogue stamp names the tier only; the value range already lives in
   the card body, and doubling it collided with the wider pouches. */
.shell .pack-tier-stamp b { display: none; }

/* Ownership notes read as a sentence, not a centred column. */
.shell .ownership-actions { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
.shell .ownership-restriction { max-width: none; text-align: left; }

/* Balance history: amount and time keep their own columns at any width. */
.shell .ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 18px;
}

.shell .ledger-row > :last-child { justify-self: end; }

/* A withheld leaderboard is one panel, not a panel with a second card inside. */
.shell .leaderboard-panel .storefront-empty {
  border-radius: 0;
  background: transparent;
  padding: 28px 24px 40px;
  box-shadow: none;
}

.shell .leaderboard-panel > header { border: 0; }
.shell .leaderboard-panel > header span {
  color: var(--pf-gold);
  font-family: var(--pf-stamp);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.shell .leaderboard-panel > header h2 { font-size: clamp(22px, 2.2vw, 30px); }
.shell .leaderboard-panel > header small { color: var(--pf-muted); }

/* Compact top bars keep the base sheet's decisions about what to hide. */
@media (max-width: 620px) {
  .shell .topbar > [data-action="auth-register"] { display: none; }
}

.shell--vending .vending-hero .hero-actions > .gold-button { display: none; }

/* Keep the base sheet's small-screen decisions where this sheet forced a display. */
@media (max-width: 600px) {
  .shell .topbar .outline-button { display: none; }
}

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .shell--home .pvh-kicker { display: none; }
}

/* Lending keeps its own workspace sheet; only its headings join the house face. */
.shell .lending-lab :is(h1, h2, h3),
.shell .lending-lab .lending-summary-total,
.shell .protocol-page :is(h1, h2, h3) {
  font-family: var(--pf-sans);
  font-weight: 600;
  letter-spacing: -.03em;
}

/* Protocol empty states are one centred column. */
.shell .protocol-empty {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.shell .protocol-empty strong { color: var(--pf-ink); font-size: 16px; font-weight: 600; }
.shell .protocol-empty p, .shell .protocol-empty span { max-width: 46ch; margin: 0; color: var(--pf-muted); font-size: 13.5px; line-height: 1.5; }
.shell .protocol-empty .outline-button { justify-self: center; }
.shell .protocol-empty--compact { border: 0; }

/* Header controls stay full touch targets at every width. */
.shell .top-wallet-button,
.shell .topbar > .gold-button,
.shell .balance-pill,
.shell .avatar-button { min-height: 44px; }

.shell .avatar-button { width: 44px; height: 44px; }

@media (max-width: 760px) {
  .shell .section-head { flex-direction: column; align-items: start; gap: 8px; text-align: left; }
  .shell .section-head > span:last-child { margin-top: 2px; }
}

/* "More" menu group names use the same stamp voice as every other label. */
.shell .topnav-menu-group > span {
  display: block;
  padding: 6px 10px 8px;
  color: var(--pf-gold);
  font-family: var(--pf-stamp);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Gold actions carry a one-pixel darker lower lip: it is the edge that makes
   the button read as a pressed object, and the entry contract expects it. */
.shell :is(.gold-button, .commerce-button, .pv-entry-primary, .machine-digital-vend, .reward-claim.gold-button),
.modal :is(.gold-button, .commerce-button),
.shell.shell--landing .pv-entry-primary,
.shell .topbar > .gold-button {
  border-bottom: 1px solid #a98a3b;
}

/* ==========================================================================
   Real brand — the official PV monogram replaces every drawn "PV" mark.
   ========================================================================== */
.shell .brand-mark,
.boot-mark,
.shell .gate-panel .boot-mark,
.shell .storefront-empty > span[aria-hidden],
.shell .route-pending-mark,
.shell .future-pack-mark,
.legendary-pull-mark {
  width: 38px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: url("/assets/brand/pv-monogram-96.png") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5));
}

.shell .future-pack-mark b,
.shell .future-pack-mark small,
.legendary-pull-mark { font-size: 0; }

/* Keep the transient loading mark crisp at 2× without making a 92KB
   display asset compete with the application on a cold mobile connection. */
.boot-mark { width: 48px; height: 43px; background-image: url("/assets/brand/pv-monogram-96.png"); animation: none; }
.shell .gate-panel .boot-mark { width: 54px; height: 48px; background-image: url("/assets/brand/pv-monogram-320.png"); animation: none; }
@media (max-width: 600px) {
  .shell .gate-panel .boot-mark { width: 46px; height: 41px; }
}
.shell .storefront-empty > span[aria-hidden] { width: 58px; height: 52px; margin-bottom: 10px; background-image: url("/assets/brand/pv-monogram-320.png"); }
.shell .future-pack-mark { width: 96px; height: 86px; background-image: url("/assets/brand/pv-monogram-320.png"); opacity: .55; }

.shell .brand-name {
  color: var(--pf-ink);
  font-family: var(--pf-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
}

.shell .passport-seal {
  border: 0;
  background: url("/assets/brand/pv-icon-180.png") center / cover no-repeat;
  color: transparent;
  font-size: 0;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .8);
}

.site-footer-brand .brand-mark { width: 44px; height: 40px; background-image: url("/assets/brand/pv-monogram-320.png"); }
.site-footer-tagline { margin: 0 !important; color: var(--pf-gold-2) !important; font-size: 14px !important; font-weight: 600; letter-spacing: .04em; }
.site-footer-handle { color: var(--pf-muted); font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Quieter voice. Labels drop the shouting: sentence case, the reading face,
   and gold only where it names something. Uppercase survives on the cabinet
   and on tier numerals, where it is part of the object.
   -------------------------------------------------------------------------- */
.shell :is(.eyebrow, .storefront-eyebrow, .pvh-kicker, .pvh-eyebrow, .metric-label, .nav-label,
  .passport-kicker, .marketplace-history-kicker, .pv-landing-eyebrow, .pack-series, .leader-feature-rank,
  .market-filter > span, .checkout-pack-copy > span, .pool-count, .status-note, .referral-heading small),
.modal :is(.eyebrow, .checkout-pack-copy > span, .auth-field-label > small),
.shell .topnav-menu-group > span,
.shell .topnav-menu .nav-label,
.shell--landing .pv-landing-eyebrow,
.shell--landing .pv-entry-tiers legend,
.shell--landing .pv-entry-selection > p,
.shell--home .pvh-kicker,
.shell--home .pvh-section-head > div > p,
.shell--home .pvh-proof > div > p,
.shell--home .pv-ticker-head p,
.shell--home .pv-ticker .pvh-eyebrow,
.shell--home .pv-tick-meta,
.shell--home .pvh-live-art > span,
.shell--home .pvh-live-copy > p,
.shell .pack-tier-stamp span,
.shell .pack-meta .price small,
.shell .listing-price span,
.shell .pack-band-line small,
.shell .leader-row--head,
.shell .leaderboard-panel > header span,
.shell .passport-identity span, .shell .passport-rank span, .shell .passport-progress-copy span,
.shell .milestone-status,
.shell .wallet-status-pill,
.shell .demo-notice strong,
.site-footer-col h4,
.boot-screen p {
  font-family: var(--pf-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
}

.shell .pack-tier-stamp span,
.shell .leader-row--head,
.shell .passport-identity span, .shell .passport-rank span, .shell .passport-progress-copy span,
.shell .pack-meta .price small,
.shell .listing-price span,
.shell .pack-band-line small,
.shell .milestone-status,
.shell .wallet-status-pill { font-size: 12px; color: var(--pf-muted); }

/* The short loading message and off-screen skip link must not pull display
   fonts ahead of the application on a cold mobile connection. The completed
   site retains its Grotesk and foil-stamp typography. */
.boot-screen,
.boot-screen .boot-mark,
.boot-screen p,
body > .skip-link {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.shell :is(.eyebrow, .storefront-eyebrow, .pvh-kicker, .pvh-eyebrow, .passport-kicker, .pv-landing-eyebrow),
.shell--home .pvh-section-head > div > p,
.shell--home .pvh-proof > div > p,
.site-footer-col h4 { color: var(--pf-gold); }

.shell--landing .pv-landing-eyebrow { margin-bottom: 14px; letter-spacing: .02em; }
.shell--landing .pv-entry-tiers legend { color: var(--pf-muted); margin-bottom: 6px; }
.shell--landing .pv-entry-selection > p { color: var(--pf-muted); }
.shell--landing .pv-entry-selection > p span { color: var(--pf-gold-2); }
.shell--home .machine-control-deck .machine-digital-head span,
.shell--home .machine-control-deck .machine-digital-head strong,
.shell--home .machine-control-deck .machine-digital-readout span,
.shell--home .machine-control-deck .machine-digital-product dt,
.shell--home .machine-price-meta span {
  font-family: var(--pf-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
}

.shell--home .machine-control-deck .machine-digital-head strong { color: var(--pf-success); }

/* Flatter, calmer actions: no glow, one solid gold, one darker lower edge. */
.shell :is(.gold-button, .commerce-button, .pv-entry-primary, .reward-claim.gold-button),
.modal :is(.gold-button, .commerce-button),
.shell--home .machine-digital-vend,
.shell .topbar > .gold-button {
  background: #dcb85c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}

.shell :is(.gold-button, .commerce-button, .pv-entry-primary):hover:not(:disabled),
.modal :is(.gold-button, .commerce-button):hover:not(:disabled),
.shell--home .machine-digital-vend:hover:not(:disabled) {
  background: #e7c66c;
  filter: none;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 10px 22px -14px rgba(0, 0, 0, .8);
}

/* Cards lift without a glowing ring. */
.shell .pack-card:hover,
.shell :is(.market-card, .vault-card):hover,
.shell--home .pvh-live-card:hover {
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .08), 0 40px 70px -30px rgba(0, 0, 0, .95);
}

/* The homepage background is authored in landing-product.css. */

/* Restore the illustrated opening-room backdrop behind the live cabinet. */
.shell--home .pvh-vending-hero .machine-visual::before {
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, .04) 0%,
      rgba(0, 0, 0, .08) 18%,
      rgba(0, 0, 0, .92) 34%,
      #000 40%,
      #000 60%,
      rgba(0, 0, 0, .92) 66%,
      rgba(0, 0, 0, .08) 82%,
      rgba(0, 0, 0, .04) 100%),
    url("/assets/backgrounds/pack-vault-landing-poster-desktop-v1.jpg") center 38% / cover no-repeat;
  opacity: 1;
  filter: saturate(.98) brightness(1.13) contrast(1.02);
  transform: scale(1.018);
}

/* Legibility: the quietest text still clears 4:1 on the canvas. */
:root { --pf-dim: #7a766c; }

/* ==========================================================================
   The real machine — photography of the cabinet the brand is built around.
   ========================================================================== */
.shell--home .pvh-real {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(100%, 1320px);
  margin-inline: auto;
  padding-inline: var(--pvh-gutter, clamp(22px, 4.6vw, 72px));
}

.shell--home .pvh-real-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  background: #0f0e0c;
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .06), 0 40px 80px -30px rgba(0, 0, 0, .95);
}

.shell--home .pvh-real-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(.92) contrast(1.04);
}

.shell--home .pvh-real-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55));
  pointer-events: none;
}

.shell--home .pvh-real-copy { display: grid; gap: 14px; max-width: 46ch; }
.shell--home .pvh-real-copy > p { margin: 0; color: var(--pf-gold); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.shell--home .pvh-real-copy h2 { margin: 0; font-family: var(--pf-sans); font-size: clamp(30px, 3vw, 44px); font-weight: 600; letter-spacing: -.032em; line-height: 1.04; }
.shell--home .pvh-real-copy > span { color: var(--pf-text); font-size: 16px; line-height: 1.55; }
.shell--home .pvh-real-copy > strong { color: var(--pf-gold-2); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.shell--home .pvh-real-copy > small { color: var(--pf-muted); font-size: 14px; }

@media (max-width: 860px) {
  .shell--home .pvh-real { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .shell--home .pvh-real-photo { order: -1; aspect-ratio: 5 / 4; }
  .shell--home .pvh-real-photo img { object-position: 50% 30%; }
  .shell--home .pvh-real-copy { max-width: none; }
}

.shell--home .pvh-real-photo img { object-position: 50% 6%; }
.shell--home .pvh-real-copy h2::first-letter { font: inherit; color: inherit; float: none; margin: 0; padding: 0; }
@media (max-width: 860px) {
  .shell--home .pvh-real-photo img { object-position: 50% 8%; }
}

/* The off-canvas drawer paints no shadow into the page while it is closed. */
.shell .nav-drawer { box-shadow: 0 0 0 1px rgba(255, 246, 220, .06); }
.shell.menu-open .nav-drawer { box-shadow: 0 0 0 1px rgba(255, 246, 220, .06), 30px 0 80px rgba(0, 0, 0, .6); }

/* ==========================================================================
   Vending delivery — the collection bay, drop status and custody handoff.
   ========================================================================== */
.shell--home .machine-drop-status {
  border: 0;
  border-radius: 999px;
  background: rgba(10, 9, 8, .78);
  color: var(--pf-ink);
  box-shadow: 0 0 0 1px rgba(255, 246, 220, .08), 0 16px 30px -18px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--pf-sans);
  letter-spacing: .04em;
}

.shell--home .machine-drop-status span { color: var(--pf-gold); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; }
.shell--home .machine-drop-status b { color: var(--pf-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }

.shell--home .machine-collect-dock {
  border: 0;
  border-radius: 18px;
  background: rgba(12, 11, 9, .86);
  box-shadow: 0 0 0 1px rgba(217, 181, 92, .3), 0 30px 60px -24px rgba(0, 0, 0, .95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.shell--home .machine-collect-dock > span {
  color: var(--pf-gold);
  font-family: var(--pf-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
}

.shell--home .machine-collect-dock > small { color: var(--pf-muted); font-family: var(--pf-sans); font-size: 11.5px; letter-spacing: 0; text-transform: none; }

.shell--home .machine-collect-button {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid #a98a3b;
  border-radius: 12px;
  background: #dcb85c;
  color: var(--pf-gold-ink);
  font-family: var(--pf-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}

.shell--home .machine-collect-button:hover:not(:disabled) { background: #e7c66c; transform: translateY(-1px); }
.shell--home .machine-collect-button i { font-style: normal; }

@media (prefers-reduced-motion: no-preference) {
  .shell--home .machine-wrap[data-machine-state="collect-ready" i] .machine-collect-dock,
  .shell--home .machine-wrap[data-machine-state="awaiting-collection" i] .machine-collect-dock { animation: pf-dock-in .5s var(--pf-ease) both; }
  @keyframes pf-dock-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

.pack-collection-handoff {
  font-family: var(--pf-sans);
}

.pack-collection-handoff__content {
  border: 0;
  border-radius: 24px;
  background: #131210;
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, .07), 0 0 0 1px rgba(217, 181, 92, .22), 0 50px 120px -30px rgba(0, 0, 0, .95);
}

.pack-collection-handoff__content > span { color: var(--pf-gold); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; }
.pack-collection-handoff__content strong { color: var(--pf-ink); font-family: var(--pf-sans); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.pack-collection-handoff__content small { color: var(--pf-muted); font-size: 13px; letter-spacing: 0; text-transform: none; }
