/* Permanent PKDEX display typography. Deliberately independent of the season. */
@font-face {
  font-family: 'PKDEX Display';
  src: url('/assets/fonts/LilitaOne-Regular.ttf') format('truetype');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root { --font-pkdex-display: 'PKDEX Display', 'Arial Rounded MT Bold', system-ui, sans-serif; }

/* Only marketing headings and primary action labels. Never body copy, prices,
   input fields, game data or the actual connection / mystery-gift codes. */
.creator-hero h1,
.creator-hero .hero-primary-cta span,
.creator-shell .step-title strong,
.memberships-shell h1,
.memberships-shell h2,
.memberships-shell .plan-btn,
.codes-page h1,
.codes-page h2,
.codes-page h3,
.codes-page .buy,
.codes-page .copy-code,
.codes-page .unlock > span,
.pkdex-gifts-page > main h1,
.pkdex-gifts-page > main h2,
.pkdex-gifts-page > main h3,
.pkdex-gifts-page [data-brand-action],
.pkdex-gifts-page [data-brand-label] {
  font-family: var(--font-pkdex-display) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-synthesis: none;
  letter-spacing: .005em;
}

.creator-hero h1,
.codes-page h1,
.pkdex-gifts-page > main h1,
.memberships-shell .hero-card h1 {
  line-height: 1.08;
  letter-spacing: .005em;
  text-shadow: 0 2px 0 rgb(3 10 24 / .35);
}

.memberships-shell .plan-btn,
.creator-hero .hero-primary-cta span,
.codes-page .copy-code,
.pkdex-gifts-page [data-brand-action] { font-size: 19px; }
.pkdex-gifts-page [data-brand-label] { font-size: 19px; line-height: 1.3; }

/* Scan-friendly plan cards: aligned actions without distributing the short
   free-plan list across the full height of the most detailed paid plan. */
.memberships-shell .plan-card { min-height: 0; }
.memberships-shell .plan-card ul { align-content: start; gap: 12px; }
.memberships-shell .plan-card .desc { min-height: 0; margin: 12px 0 18px; line-height: 1.5; }
.memberships-shell .membership-language-note { margin: -8px 0 24px; color: #b4c6dd; font-size: 12px; line-height: 1.6; }

/* Temporary Halloween skin. The approved event prototype has its own stronger
   18% pattern; other customer pages stay at 7%, behind all readable content.
   These isolated background contexts do not establish fixed-position bounds. */
html[data-site-season='halloween'] .pkdex-site-surface {
  position: relative;
  isolation: isolate;
}
html[data-site-season='halloween'] .pkdex-site-surface::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('/assets/seasonal/halloween/page-pattern.png') center 24px / 640px 640px repeat;
  opacity: .07;
}
html[data-site-season='halloween'] .site-nav {
  border-bottom-color: rgb(248 156 83 / .32);
}
html[data-site-season='halloween'] .creator-hero {
  box-shadow: inset 0 -1px 0 rgb(248 156 83 / .22);
}
/* Winter is decorative and scoped to approved pages; trade rooms are excluded
   by the shared policy until their separate design is approved. */
html[data-site-season='winter'] .pkdex-site-surface{position:relative;isolation:isolate}
html[data-site-season='winter'] .pkdex-site-surface::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:url('/assets/seasonal/winter/pattern.svg') center 24px/640px 640px repeat;opacity:.07}
html[data-site-season='winter'] .site-nav{border-bottom-color:rgb(151 205 228/.3)}
html[data-site-season='winter'] .creator-hero{box-shadow:inset 0 -1px 0 rgb(151 205 228/.22)}
@media(max-width:767px){html[data-site-season='winter'] .pkdex-site-surface::before{background-size:460px 460px}}

@media (max-width: 767px) {
  html[data-site-season='halloween'] .pkdex-site-surface::before { background-size: 460px 460px; }
  .pkdex-gifts-page [data-brand-label] { font-size: 17px; }
  .codes-page h1 { font-size: clamp(34px, 8.8vw, 48px); }
}
