/* ═══════════════════════════════════════════
   NeoYug Gift Shop — Design System CSS
   Direction A: "Sacred Library"
   ═══════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ── */
:root {
  --ny-bg: #FAF9F6;
  --ny-paper: #FFFFFF;
  --ny-ink: #2A2A2A;
  --ny-ink-light: #888888;
  --ny-ink-faint: #C8C8C8;
  --ny-accent: #8D22C3;
  --ny-accent-faint: rgba(141,34,195,0.12);
  --ny-warm: #E96F46;
  --ny-warm-faint: rgba(233,111,70,0.1);
  --ny-peach: #FFD4C6;
  --ny-deep-purple: #261A48;

  /* Inherit the active theme's typography. The Gift Shop intentionally does not
     ship its own web-font; both tokens resolve to whatever the theme sets on the
     surrounding page, so plugin content matches the rest of the site. */
  --ny-font-heading: inherit;
  --ny-font-body: inherit;

  --ny-radius-sm: 8px;
  --ny-radius-md: 12px;
  --ny-radius-lg: 16px;
  --ny-radius-xl: 20px;
  --ny-radius-pill: 40px;

  --ny-shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --ny-shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --ny-shadow-lg: 0 12px 40px rgba(0,0,0,0.18);
  --ny-shadow-glow: 0 0 28px rgba(141,34,195,0.4);

  --ny-container: 1280px;
  --ny-pad: 48px;
  --ny-pad-mobile: 24px;

  /* Height of the site's fixed/overlay header. The breadcrumb paints a band of
     its own colour this tall above itself so the overlay header sits on a
     seamless colour match instead of breaking over the text. 101px is the
     desktop fallback; gift-shop.js overwrites it with the real measured header
     height at runtime (and 0 when the header is in-flow / not an overlay). */
  --ny-header-h: 101px;
}

/* ── 2. RESET & BASE ──
   Scoped to .ny-root. Every shortcode/template wraps its output in
   .ny-root, so this reset never touches the host theme. The plugin's
   own canvas template adds body.neoyug-gs (see additions block at end). */
.ny-root, .ny-root *, .ny-root *::before, .ny-root *::after { box-sizing: border-box; }
.ny-root *, .ny-root *::before, .ny-root *::after { margin: 0; padding: 0; }
.ny-root {
  font-family: var(--ny-font-heading);
  color: var(--ny-ink);
  background: var(--ny-bg);
  line-height: 1.3;
  /* The theme may set text-transform (e.g. uppercase) on body/buttons; that is
     an inherited property, so reset it here and let the plugin's own eyebrow
     labels opt back into uppercase explicitly. */
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
.ny-root img { max-width: 100%; display: block; }
.ny-root a { color: inherit; text-decoration: none; }
/* Breathing room between the theme header and the plugin's first band (the hub
   hero or an inner-page breadcrumb). gift-shop.js raises this at runtime when the
   theme uses a fixed/absolute (overlay) header, so the content clears it. The
   deep-purple background keeps the theme's white header text legible (the cream
   page background underneath used to wash it out) and matches the breadcrumb /
   hero band directly below. The inner .ny-root wrapper repaints content cream. */
.ny-root--canvas { padding-top: 28px; background: var(--ny-deep-purple); }
/* When the canvas carries a breadcrumb, the breadcrumb paints its own
   header-clearance band (in its own section colour). Collapse the canvas
   baseline so a deep-purple strip never stacks above that band — even before
   gift-shop.js runs. (JS also sets this inline for overlay headers.) */
.ny-root--canvas:has(.ny-breadcrumb) { padding-top: 0; }
/* Theme override guard: never let hover/focus re-add underlines on any link, button, tab, chip, or CTA. */
.ny-root a,
.ny-root a:hover,
.ny-root a:focus,
.ny-root a:active,
.ny-root button,
.ny-root button:hover,
.ny-root button:focus,
.ny-root button:active,
.ny-root .ny-btn:hover,
.ny-root .ny-btn:focus,
.ny-root .ny-btn:active,
.ny-root .ny-card:hover,
.ny-root .ny-card:hover *,
.ny-root .oracle-spread__locked-button:hover,
.ny-root .oracle-spread__locked-button:focus { text-decoration: none !important; }
.ny-root button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; text-transform: none; }
/* Higher-specificity guard: themes often uppercase buttons via a content-wrapper
   selector (e.g. .entry-content button), which ties .ny-root button on specificity.
   These win outright so the CTAs and quiz answers stay in their authored case. */
.ny-root .ny-btn, .ny-root .ny-answer { text-transform: none; }
.ny-root ul, .ny-root ol { list-style: none; }

/* ── 3. TYPOGRAPHY ── */
.ny-label {
  font-family: var(--ny-font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ny-ink-light);
}
.ny-label--accent { color: var(--ny-accent); }
.ny-label--peach { color: var(--ny-peach); }
.ny-label--white { color: rgba(255,255,255,0.5); }

.ny-heading-xl { font-size: 44px; font-weight: 700; line-height: 1.15; }
.ny-heading-lg { font-size: 36px; font-weight: 700; line-height: 1.15; }
.ny-heading-md { font-size: 24px; font-weight: 700; line-height: 1.2; }
.ny-heading-sm { font-size: 18px; font-weight: 700; line-height: 1.25; }

/* Body copy. --ny-body is fluid so paragraph text scales smoothly from a
   comfortable ~15px on phones up to 16px on wide screens; --ny-body-sm gets a
   gentle flat bump for readability. Hierarchy (labels, meta, captions, titles)
   is unchanged. */
.ny-body { font-family: var(--ny-font-body); font-size: clamp(15px, 0.9rem + 0.25vw, 16px); line-height: 1.6; }
.ny-body-sm { font-family: var(--ny-font-body); font-size: 13px; line-height: 1.55; }
.ny-body-xs { font-family: var(--ny-font-body); font-size: 10px; line-height: 1.4; }
.ny-caption { font-family: var(--ny-font-body); font-size: 9px; }

/* ── 4. LAYOUT ── */
.ny-container {
  max-width: var(--ny-container);
  margin: 0 auto;
  padding-left: var(--ny-pad);
  padding-right: var(--ny-pad);
}
.ny-section { padding: 40px 0; }
.ny-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ny-section__title { margin-top: 4px; }
.ny-section__link {
  font-family: var(--ny-font-body);
  font-size: 13px;
  color: var(--ny-accent);
  white-space: nowrap;
  transition: opacity 0.2s;
}
.ny-section__link:hover { opacity: 0.7; }

/* Oracle section header is a centered stack (eyebrow → title → caption), per the
   wireframe — overrides the generic space-between row layout above. */
.ny-section--oracle .ny-section__head {
  display: block;
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ── 5. HEADER ── */
.ny-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 40px;
  background: var(--ny-deep-purple);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ny-header__logo {
  font-family: var(--ny-font-body);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.ny-header__nav { display: flex; align-items: center; gap: 20px; }
.ny-header__nav a {
  font-family: var(--ny-font-body);
  font-size: 13px;
  color: var(--ny-ink-light);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.ny-header__nav a:hover { color: #fff; }
.ny-header__nav a.is-active {
  color: var(--ny-warm);
  font-weight: 700;
  border-bottom: 2px solid var(--ny-warm);
}
.ny-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.ny-header__hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.6);
  border-radius: 1px;
  transition: 0.3s;
}
.ny-header__hamburger span:last-child { width: 14px; }

/* Mobile menu overlay */
.ny-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 48px;
  background: var(--ny-deep-purple);
  z-index: 99;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
}
.ny-mobile-menu.is-open { display: flex; }
.ny-mobile-menu a {
  font-family: var(--ny-font-body);
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ny-mobile-menu a.is-active { color: var(--ny-warm); font-weight: 600; }

/* ── 6. FOOTER ── */
.ny-footer {
  background: var(--ny-ink);
  padding: 40px;
  display: flex;
  gap: 40px;
}
.ny-footer__brand { flex: 1; }
.ny-footer__brand-name {
  font-family: var(--ny-font-body);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}
.ny-footer__tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  margin-top: 8px;
}
.ny-footer__columns { display: flex; gap: 40px; }
.ny-footer__col { display: flex; flex-direction: column; gap: 6px; }
.ny-footer__col-title {
  font-family: var(--ny-font-body);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
}
.ny-footer__col a {
  font-family: var(--ny-font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.ny-footer__col a:hover { color: rgba(255,255,255,0.5); }

/* ── 7. BUTTONS ── */
.ny-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--ny-radius-pill);
  font-family: var(--ny-font-heading);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--ny-ink-faint);
  color: var(--ny-ink);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.ny-btn:hover { transform: translateY(-1px); box-shadow: var(--ny-shadow-sm); }

.ny-root .ny-btn--filled { background: var(--ny-accent, #8D22C3) !important; color: #fff !important; border-color: var(--ny-accent, #8D22C3) !important; }
.ny-btn--filled:hover { opacity: 0.9; box-shadow: 0 4px 16px rgba(141,34,195,0.3); }

.ny-root .ny-btn--warm { background: var(--ny-warm, #E96F46) !important; color: #fff !important; border-color: var(--ny-warm, #E96F46) !important; }
.ny-btn--warm:hover { box-shadow: 0 4px 16px rgba(233,111,70,0.3); }

.ny-root .ny-btn--outline { border: 2px solid var(--ny-accent, #8D22C3); color: var(--ny-accent, #8D22C3); }
.ny-root .ny-btn--outline-white { border: 2px solid rgba(255,255,255,0.3); color: #fff; }

.ny-btn--sm { padding: 6px 14px; font-size: 13px; }
.ny-btn--block { width: 100%; }
.ny-btn--hero { border-radius: 500px; padding: 14px 40px; box-shadow: 0 20px 28px rgba(0,0,0,0.2); }

/* ── 8. FORMS ── */
.ny-input {
  width: 100%;
  height: 36px;
  border-radius: var(--ny-radius-pill);
  background: var(--ny-bg);
  border: 1.5px solid var(--ny-ink-faint);
  padding: 0 14px;
  font-family: var(--ny-font-body);
  font-size: 12px;
  color: var(--ny-ink);
  outline: none;
  transition: border-color 0.2s;
}
.ny-input::placeholder { color: var(--ny-ink-light); }
.ny-input:focus { border-color: var(--ny-accent); }

/* Phone input with country code */
.ny-phone-input { display: flex; width: 100%; }
.ny-phone-input__code {
  height: 36px;
  border-radius: var(--ny-radius-pill) 0 0 var(--ny-radius-pill);
  background: var(--ny-bg);
  border: 1.5px solid var(--ny-ink-faint);
  border-right: none;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 4px;
  flex-shrink: 0;
  cursor: pointer;
  font-family: var(--ny-font-body);
  font-size: 12px;
  color: var(--ny-ink);
}
.ny-phone-input__code-arrow { font-size: 8px; color: var(--ny-ink-light); }
.ny-phone-input__number {
  flex: 1;
  height: 36px;
  border-radius: 0 var(--ny-radius-pill) var(--ny-radius-pill) 0;
  background: var(--ny-bg);
  border: 1.5px solid var(--ny-ink-faint);
  padding: 0 12px;
  font-family: var(--ny-font-body);
  font-size: 12px;
  color: var(--ny-ink);
  outline: none;
}
.ny-phone-input__number::placeholder { color: var(--ny-ink-light); }
.ny-phone-input__number:focus { border-color: var(--ny-accent); }

.ny-form { display: flex; flex-direction: column; gap: 10px; }
.ny-form--inline { flex-direction: row; align-items: center; gap: 8px; }
.ny-form__note {
  font-family: var(--ny-font-body);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 4px;
}

/* ── 9. CARDS ── */
.ny-card-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.ny-card-row::-webkit-scrollbar { display: none; }

.ny-card {
  flex-shrink: 0;
  width: 240px;
  border-radius: var(--ny-radius-md);
  background: var(--ny-paper);
  border: 1.5px solid var(--ny-ink-faint);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  scroll-snap-align: start;
  cursor: pointer;
}
.ny-card:hover { transform: translateY(-4px); box-shadow: var(--ny-shadow-md); }

.ny-card__cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Cover variants */
.ny-card__cover--quiz {
  background: repeating-linear-gradient(45deg, var(--ny-ink-faint), var(--ny-ink-faint) 1px, transparent 1px, transparent 8px),
              linear-gradient(180deg, var(--ny-accent-faint) 0%, var(--ny-paper) 100%);
}
.ny-card__cover--audio {
  background: linear-gradient(135deg, var(--ny-deep-purple), rgba(95,67,171,0.7));
}
.ny-card__cover--guide {
  background: linear-gradient(135deg, var(--ny-deep-purple), rgba(141,34,195,0.6));
}
.ny-card__cover-icon {
  font-size: 28px;
  color: var(--ny-accent);
  opacity: 0.4;
}
.ny-card__cover-icon--light {
  color: rgba(255,255,255,0.5);
  opacity: 1;
}

/* Play button on audio cards */
.ny-card__play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  transition: all 0.25s;
}
.ny-card:hover .ny-card__play { background: rgba(255,255,255,0.2); }

/* Card tags — now sit in the card body (one row), not over the cover image. */
.ny-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.ny-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--ny-font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ny-tag--cat { background: var(--ny-accent-faint); color: var(--ny-accent); font-size: 8px; padding: 3px 8px; letter-spacing: 0.04em; }
.ny-tag--popular { background: var(--ny-warm-faint); color: var(--ny-warm); font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.ny-tag--new { background: var(--ny-accent-faint); color: var(--ny-accent); }
.ny-tag--cat-dark { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); font-size: 11px; padding: 4px 9px; }

/* Card body */
.ny-card__body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.ny-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  /* Reserve two lines so every card keeps a consistent height, but allow up to
     three before clamping so normal titles are never abbreviated. */
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ny-card__meta {
  font-family: var(--ny-font-body);
  font-size: 9px;
  color: var(--ny-ink-light);
  margin-top: 6px;
}

/* Foot row: category badge (or meta) on the left, CTA pill on the right —
   both pinned to the bottom of the body on a single line. */
.ny-card__foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ny-card__foot .ny-tag,
.ny-card__foot .ny-card__meta { flex-shrink: 0; white-space: nowrap; margin-top: 0; }
.ny-card__foot-spacer { flex: 1; }

/* Compact orange CTA pill — same family as the go-deeper button. The whole card
   is the click target; this is a visual affordance, not an interactive element. */
.ny-card__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ny-warm);
  color: #fff;
  font-family: var(--ny-font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.ny-card:hover .ny-card__cta { background: #d65e36; }
.ny-card__cta-arrow { transition: transform 0.2s ease; }
.ny-card:hover .ny-card__cta-arrow { transform: translateX(2px); }

/* ── 10. CATEGORY TABS ── */
.ny-tabs {
  display: flex;
  justify-content: center;
  padding: 32px var(--ny-pad) 0;
}
.ny-tabs__track {
  display: flex;
  gap: 8px;
  background: var(--ny-paper);
  border-radius: var(--ny-radius-pill);
  padding: 4px;
  border: 1.5px solid var(--ny-ink-faint);
}
.ny-tabs__item {
  padding: 8px 20px;
  border-radius: var(--ny-radius-pill);
  font-family: var(--ny-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--ny-ink-light);
  cursor: pointer;
  transition: all 0.25s ease;
}
.ny-tabs__item.is-active {
  background: var(--ny-accent);
  color: #fff;
  font-weight: 600;
}
.ny-tabs__item:not(.is-active):hover { background: var(--ny-accent-faint); }

/* Sub-tabs (filter chips) */
.ny-chips { display: flex; gap: 12px; margin-bottom: 20px; }
.ny-chip {
  padding: 6px 16px;
  border-radius: var(--ny-radius-pill);
  border: 1.5px solid var(--ny-ink-faint);
  background: transparent;
  font-family: var(--ny-font-heading);
  font-size: 13px;
  color: var(--ny-ink-light);
  cursor: pointer;
  transition: all 0.2s;
}
.ny-chip.is-active {
  border-color: var(--ny-accent);
  background: var(--ny-accent-faint);
  color: var(--ny-accent);
}

/* ── 11. HERO ── */
.ny-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgb(38,26,72) 25%, rgba(48,34,86,0) 100%),
              linear-gradient(rgb(233,111,70) 23%, rgb(255,255,255) 98%);
  padding-bottom: 48px;
}
.ny-hero__texture {
  position: absolute;
  inset: 0;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.ny-hero__texture--a {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 2px, transparent 2px, transparent 16px);
}
.ny-hero__texture--b {
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 2px, transparent 2px, transparent 16px);
}
.ny-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
  gap: 20px;
  text-align: center;
}
.ny-hero__title { color: #fff; max-width: 660px; }
.ny-hero__subtitle {
  color: rgba(255,255,255,0.75);
  max-width: 500px;
}

/* Hero video area */
.ny-hero__media {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 48px));
  margin: 40px auto 0;
  border-radius: var(--ny-radius-xl);
  overflow: hidden;
  height: 380px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.035), rgba(255,255,255,0.035) 1px, transparent 1px, transparent 12px),
    linear-gradient(165deg, var(--ny-deep-purple) 0%, #3a2a63 100%);
  border: 1.5px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 60px rgba(20,12,46,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ny-hero__play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.ny-hero__play-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}
.ny-hero__play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 14px solid rgba(255,255,255,0.6);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}

/* Hero media: poster facade, inline player, and image fallback. Each fills the
   framed .ny-hero__media box (which already clips with overflow:hidden). */
.ny-hero__video,
.ny-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ny-hero__video {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ny-hero__video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,12,46,0.10) 0%, rgba(20,12,46,0.34) 100%);
  z-index: 1;
  pointer-events: none;
}
.ny-hero__poster,
.ny-hero__poster img,
.ny-hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ny-hero__video .ny-hero__play-btn {
  position: relative;
  z-index: 2;
}
.ny-hero__media.is-playing {
  background: #000;
}
.ny-hero__media video,
.ny-hero__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

/* ── 12. LEAD-GEN STRIP ── */
.ny-lead-strip {
  margin: 0;
  padding: 26px 32px;
  border-radius: var(--ny-radius-lg);
  background: linear-gradient(135deg, var(--ny-deep-purple), var(--ny-accent));
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ny-lead-strip__text { min-width: 0; }
.ny-lead-strip__title { font-size: 18px; font-weight: 700; color: #fff; }
.ny-lead-strip__subtitle {
  font-family: var(--ny-font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-top: 5px;
  max-width: 620px;
}
.ny-lead-strip__form { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; align-items: center; max-width: none; }

/* ── 13. ORACLE SECTION ── */
.ny-oracle {
  padding: 48px 0 36px;
  background: linear-gradient(180deg, var(--ny-deep-purple) 0%, rgba(38,26,72,0.88) 100%);
  text-align: center;
}
.ny-oracle__fan {
  position: relative;
  height: 340px;
  margin-top: 32px;
}
.ny-oracle__card {
  position: absolute;
  bottom: 20px;
  width: 82px;
  height: 124px;
  border-radius: 10px;
  background: var(--ny-deep-purple) url(../images/oracle-card-front.jpg) center/cover no-repeat;
  border: 1.5px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-origin: bottom center;
}
.ny-oracle__card-symbol { display: none; }
.ny-oracle__card:hover {
  transform: var(--card-transform) translateY(-8px) !important;
  box-shadow: 0 0 24px rgba(141,34,195,0.5), 0 8px 24px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.5);
  z-index: 20 !important;
}
.ny-oracle__card-symbol {
  font-size: 22px;
  color: rgba(255,255,255,0.18);
  user-select: none;
}

/* ── 14. LETTERS SECTION ── */
.ny-letters {
  padding: 48px 0;
  background: linear-gradient(var(--ny-warm-faint), transparent);
  text-align: center;
}
.ny-letters__card {
  width: 260px;
  aspect-ratio: 1 / 1.414;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ny-warm), #c44520);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(233,111,70,0.35);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 28px auto 0;
}
.ny-letters__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(233,111,70,0.4);
}
.ny-root .ny-letters__card--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: rgba(255,255,255,0.4);
}
.ny-letters__seal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255,255,255,0.5);
}

/* ── 15. PAGE HEADER (grid pages) ── */
.ny-page-header {
  background: linear-gradient(135deg, var(--ny-deep-purple), rgba(95,67,171,0.85));
  padding: 48px var(--ny-pad) 40px;
}
.ny-page-header--warm {
  background: linear-gradient(135deg, var(--ny-warm), #c44520);
}
/* Item count badge in the hero. Hidden on desktop (the filter bar shows the
   count there); revealed on mobile, where the inline filter-bar count would be
   squeezed by the scrolling chip row. Populated by JS from the filter count. */
.ny-page-header__count { display: none; }

/* ── 16. FILTER BAR ── */
.ny-filter-bar {
  padding: 20px var(--ny-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ny-ink-faint);
}
.ny-filter-bar__chips { display: flex; gap: 8px; }
.ny-filter-bar__count {
  font-family: var(--ny-font-body);
  font-size: 11px;
  color: var(--ny-ink-light);
}

/* ── 17. CARD GRID ── */
.ny-card-grid {
  display: grid;
  /* Smaller cards: ~200px columns on desktop (more per row), collapsing to a
     single ~full-width card on phones. Card aspect ratio (3:4 cover) is preserved
     since only the column width changes. */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 18px;
  padding: 32px var(--ny-pad);
}
.ny-card-grid .ny-card { width: auto; }
/* Always pack incomplete rows to the left and let each card fill its track,
   so a partial final row never spreads across the width (defends against
   theme grid overrides on the live site). */
.ny-root .ny-card-grid { justify-content: start; }
.ny-root .ny-card-grid > * { justify-self: stretch; }

/* ── 18. QUIZ FLOW ── */
.ny-quiz-split { display: flex; min-height: 640px; }
.ny-quiz-split__visual {
  width: 370px;
  flex-shrink: 0;
  background: linear-gradient(160deg, var(--ny-deep-purple), var(--ny-accent));
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ny-quiz-split__question {
  flex: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ny-quiz-progress { height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden; }
.ny-quiz-progress__fill { height: 100%; background: var(--ny-warm); border-radius: 2px; transition: width 0.5s ease; }
.ny-quiz-dots { display: flex; gap: 6px; margin-top: 12px; }
.ny-quiz-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ny-font-body);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}
.ny-quiz-dot--done { background: var(--ny-warm); }
.ny-quiz-dot--active { background: rgba(255,255,255,0.3); }
.ny-quiz-dot--pending { background: rgba(255,255,255,0.1); }

.ny-quiz-question__num { display: block; margin-bottom: 12px; }

.ny-answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.ny-root .ny-answer {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--ny-paper, #fff);
  /* `.ny-root button { border: none }` (line ~71) outranks a bare `.ny-answer`,
     so the resting card outline gets stripped. Force it like .ny-btn--filled. */
  border: 2px solid var(--ny-ink-faint, #C8C8C8) !important;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  /* The theme centres button text; keep answers left-aligned (letter, then copy). */
  justify-content: flex-start;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.ny-root .ny-answer__text { flex: 1 1 auto; text-align: left; }
.ny-root .ny-answer:hover { border-color: var(--ny-accent, #8D22C3) !important; background: var(--ny-accent-faint, rgba(141,34,195,0.12)); }
.ny-root .ny-answer.is-selected { border-color: var(--ny-accent, #8D22C3) !important; background: var(--ny-accent-faint, rgba(141,34,195,0.12)); }
.ny-answer__letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ny-ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--ny-font-body);
  font-size: 10px;
  font-weight: 700;
  color: var(--ny-ink-light);
}
.ny-answer.is-selected .ny-answer__letter { background: var(--ny-accent); color: #fff; }

/* ── 19. SPOTIFY EMBED ── */
.ny-spotify {
  background: #121212;
  border-radius: var(--ny-radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255,255,255,0.07);
}
.ny-spotify__cover {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  color: rgba(255,255,255,0.12);
}
.ny-spotify__progress {
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
  margin: 16px 0 4px;
}
.ny-spotify__progress-fill { width: 35%; height: 100%; background: #1DB954; border-radius: 2px; }
.ny-spotify__play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1DB954;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ── 20. LEAD MODAL ── */
.ny-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38,26,72,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Sit above site chrome (WP admin bar, sticky theme header, floating chat
     widgets) so an opened gate is never visually buried behind them. */
  z-index: 2147483000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.ny-modal-overlay.is-open { opacity: 1; pointer-events: all; }
.ny-modal {
  width: 480px;
  max-width: 90vw;
  background: var(--ny-paper);
  border-radius: var(--ny-radius-xl);
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.ny-modal-overlay.is-open .ny-modal { transform: translateY(0); }
.ny-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ny-ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ny-ink-light);
  cursor: pointer;
  transition: background 0.2s;
}
.ny-modal__close:hover { background: var(--ny-ink-light); color: #fff; }
.ny-modal__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ny-accent-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--ny-accent);
  margin-bottom: 16px;
}

/* ── 21. SKELETON LOADING ── */
.ny-skeleton {
  background: linear-gradient(90deg, var(--ny-ink-faint) 25%, rgba(200,200,200,0.5) 50%, var(--ny-ink-faint) 75%);
  background-size: 200% 100%;
  animation: ny-shimmer 1.5s infinite ease-in-out;
  border-radius: var(--ny-radius-md);
}
@keyframes ny-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ── 22. EMPTY / ERROR STATES ── */
.ny-state {
  padding: 56px 48px;
  text-align: center;
  background: var(--ny-paper);
  border-radius: var(--ny-radius-lg);
  border: 1.5px solid var(--ny-ink-faint);
}
.ny-state--error { background: rgba(233,111,70,0.04); border-color: rgba(233,111,70,0.3); }
.ny-state__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}
.ny-state__icon--empty { background: var(--ny-accent-faint); color: var(--ny-accent); }
.ny-state__icon--error { background: var(--ny-warm-faint); color: var(--ny-warm); }

/* ── 23. IMAGE PLACEHOLDER ── */
.ny-img-placeholder {
  background: repeating-linear-gradient(45deg, var(--ny-ink-faint), var(--ny-ink-faint) 1px, transparent 1px, transparent 8px);
  border: 1.5px solid var(--ny-ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ny-font-body);
  font-size: 11px;
  color: var(--ny-ink-light);
  border-radius: var(--ny-radius-sm);
}

/* ── 24. LETTER READING ── */
.ny-letter-body { max-width: 700px; margin: 0 auto; padding: 56px var(--ny-pad); }
.ny-letter-body p {
  font-family: var(--ny-font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ny-ink);
  opacity: 0.85;
  margin-bottom: 24px;
}
.ny-letter-pullquote {
  border-left: 4px solid var(--ny-warm);
  padding: 18px 28px;
  margin: 32px 0;
  background: var(--ny-warm-faint);
  border-radius: 0 var(--ny-radius-md) var(--ny-radius-md) 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ny-warm);
  line-height: 1.45;
  font-style: italic;
}
.ny-letter-pullquote--accent {
  border-left: none;
  background: var(--ny-accent-faint);
  border-radius: var(--ny-radius-md);
  color: var(--ny-accent);
  font-size: 18px;
  text-align: center;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile < 768px
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --ny-pad: 24px; }

  .ny-root--canvas { padding-top: 20px; }

  /* Header */
  .ny-header { height: 48px; padding: 0 16px; }
  .ny-header__logo { font-size: 14px; }
  .ny-header__nav { display: none; }
  .ny-header__hamburger { display: flex; }

  /* Hero */
  .ny-hero__content { padding-top: 48px; gap: 12px; padding-left: 24px; padding-right: 24px; }
  .ny-hero__title { font-size: 28px; }
  .ny-hero__subtitle { font-size: 14.5px; }
  .ny-hero__media { height: 180px; margin: 20px 24px 0; border-radius: 14px; }
  .ny-hero__play-btn { width: 40px; height: 40px; }
  .ny-hero__play-btn::after { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }

  /* Tabs */
  .ny-tabs { padding: 20px 24px 0; }
  .ny-tabs__track { gap: 6px; padding: 3px; overflow-x: auto; }
  .ny-tabs__item { padding: 6px 14px; font-size: 11px; flex-shrink: 0; }

  /* Sections */
  .ny-section { padding: 24px 0; }
  .ny-section__link { font-size: 11px; }

  /* Cards */
  .ny-card { width: 160px; border-radius: 12px; }
  .ny-card__cover-icon { font-size: 22px; }
  .ny-card__play { width: 30px; height: 30px; font-size: 11px; }
  .ny-card__body { padding: 8px 10px 10px; }
  .ny-card__title { font-size: 14px; }
  .ny-card__meta { font-size: 8px; margin-top: 4px; }
  .ny-card__foot { padding-top: 8px; gap: 6px; }
  .ny-card__cta { font-size: 10px; padding: 5px 9px; }
  .ny-tag { font-size: 11px; padding: 4px 9px; }
  .ny-tag--cat { font-size: 8px; }

  /* Card grid */
  .ny-card-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px var(--ny-pad-mobile); }

  /* Lead strip */
  .ny-lead-strip {
    margin: 0;
    padding: 22px 20px;
  }
  .ny-lead-strip__form { max-width: 100%; }
  .ny-lead-strip__form .ny-input,
  .ny-lead-strip__form .ny-phone-input,
  .ny-lead-strip__form .ny-btn { flex-basis: 100%; width: 100%; }

  /* 16px stops iOS Safari from auto-zooming (and visually shifting) the page when
     a field — including the country-code select — gets focus on a phone. */
  .ny-root .ny-input,
  .ny-root .ny-phone-input__code,
  .ny-root .ny-phone-input__number { font-size: 16px; }
  .ny-root .ny-phone-input__code { padding-right: 28px; }

  /* Oracle */
  .ny-oracle { padding: 24px 0 0; }
  .ny-oracle__fan { height: 220px; margin-top: 18px; }
  .ny-oracle__card { width: 58px; height: 86px; border-radius: 8px; }
  .ny-oracle__card-symbol { font-size: 14px; }

  /* Letters */
  .ny-letters__card { width: 190px; aspect-ratio: 1 / 1.414; border-radius: 16px; }
  .ny-letters__seal { width: 44px; height: 44px; font-size: 20px; }

  /* Footer */
  .ny-footer { flex-direction: column; gap: 16px; padding: 24px 16px; }
  .ny-footer__columns { gap: 24px; }

  /* Filter bar */
  .ny-filter-bar { padding: 14px var(--ny-pad); }
  .ny-filter-bar__chips { overflow-x: auto; gap: 6px; }
  .ny-chip { padding: 5px 12px; font-size: 10px; flex-shrink: 0; }

  /* Quiz split */
  .ny-quiz-split { flex-direction: column; }
  .ny-quiz-split__visual { width: 100%; padding: 16px 24px 20px; }
  .ny-quiz-split__question { padding: 24px; }
  .ny-answer-grid { grid-template-columns: 1fr; }

  /* Page header */
  .ny-page-header { padding: 32px var(--ny-pad); }
  .ny-page-header .ny-heading-lg { font-size: 26px; }
  .ny-page-header__count:not(:empty) {
    display: inline-block;
    margin-top: 16px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--ny-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
  }
  /* The inline count is moved to the hero on mobile to avoid the chip-row squeeze. */
  .ny-filter-bar__count { display: none; }

  /* Modal */
  .ny-modal-overlay { align-items: flex-end; }
  .ny-modal {
    width: 100%;
    max-width: 100%;
    border-radius: var(--ny-radius-xl) var(--ny-radius-xl) 0 0;
    padding: 32px 24px 36px;
  }

  /* Heading sizes */
  .ny-heading-xl { font-size: 28px; }
  .ny-heading-lg { font-size: 26px; }
  .ny-heading-md { font-size: 20px; }
  .ny-heading-sm { font-size: 15px; }
}

/* ── Utility ── */
.ny-text-center { text-align: center; }
.ny-text-white { color: #fff; }
.ny-text-white-70 { color: rgba(255,255,255,0.7); }
.ny-text-white-50 { color: rgba(255,255,255,0.5); }
.ny-text-white-30 { color: rgba(255,255,255,0.3); }
.ny-text-accent { color: var(--ny-accent); }
.ny-text-warm { color: var(--ny-warm); }
.ny-text-muted { color: var(--ny-ink-light); }
.ny-mt-4 { margin-top: 4px; }
.ny-mt-8 { margin-top: 8px; }
.ny-mt-12 { margin-top: 12px; }
.ny-mt-16 { margin-top: 16px; }
.ny-mt-24 { margin-top: 24px; }
.ny-mt-32 { margin-top: 32px; }
.ny-mb-8 { margin-bottom: 8px; }
.ny-mb-16 { margin-bottom: 16px; }
.ny-gap-8 { gap: 8px; }
.ny-gap-12 { gap: 12px; }
.ny-flex { display: flex; }
.ny-flex-col { flex-direction: column; }
.ny-items-center { align-items: center; }
.ny-justify-center { justify-content: center; }
.ny-justify-between { justify-content: space-between; }

/* ═══════════════════════════════════════════════════════════
   ── 20. PLUGIN ADDITIONS ──
   Rules below are NOT in the delivered prototype styles.css.
   They cover: full-page canvas chrome, the native <select>
   country-code control, the real Spotify iframe, inline-form
   flow (prototype used hard-coded inline widths), JS runtime
   states, and the detail-page <style> blocks lifted verbatim
   from each detail screen so single templates render identically.
   ═══════════════════════════════════════════════════════════ */

/* — The Gift Shop renders inside the theme's chrome, so the page background is
   left to the theme. body.neoyug-gs remains on plugin pages purely as a hook for
   any site-specific overrides; the plugin no longer paints the full viewport. — */

/* — Native <select> country code: strip native chrome, draw caret — */
select.ny-phone-input__code {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath d='M0 0h8L4 6z' fill='%23888888'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
}
select.ny-phone-input__code:focus { border-color: var(--ny-accent); outline: none; }

/* — Real Spotify iframe (helper swaps in when a URL is set) — */
.ny-root .ny-spotify-embed { width: 100% !important; max-width: none !important; min-height: 152px; border: 0; display: block; }
.ny-spotify-embed-wrap { width: 100%; max-width: none; }

/* — Inline lead-strip form: size flex children without inline widths — */
.ny-form--inline { flex-wrap: wrap; }
.ny-form--inline .ny-input { width: auto; flex: 1 1 180px; min-width: 0; }
.ny-form--inline .ny-phone-input { width: auto; flex: 1 1 200px; min-width: 0; }
.ny-form--inline .ny-btn { margin-top: 0; flex: 0 0 auto; white-space: nowrap; }
/* Error sits under the row (absolute) so it can't force the CTA to wrap. */
.ny-form--inline { position: relative; }
.ny-form--inline .ny-form__error { position: absolute; top: 100%; left: 0; right: 0; margin-top: 6px; }

/* Desktop: keep the whole lead strip on one row — Name, Email, phone, CTA.
   Inputs shrink to share the width so the button never wraps below. */
@media (min-width: 769px) {
  .ny-lead-strip__form.ny-form--inline { flex-wrap: nowrap; }
  .ny-lead-strip__form.ny-form--inline .ny-input { flex: 1 1 0; min-width: 0; }
  .ny-lead-strip__form.ny-form--inline .ny-phone-input { flex: 1.35 1 0; min-width: 0; }
}

/* Lead-strip fields: enforce the pill radius (the live theme/Elementor input reset
   was squaring the Name/Email corners) and give the phone number a little room
   before Claim Gift. */
.ny-root .ny-input { border-radius: var(--ny-radius-pill) !important; }
.ny-root .ny-phone-input__code { border-radius: var(--ny-radius-pill) 0 0 var(--ny-radius-pill) !important; }
.ny-root .ny-phone-input__number { border-radius: 0 var(--ny-radius-pill) var(--ny-radius-pill) 0 !important; }
.ny-lead-strip__form.ny-form--inline .ny-phone-input { flex: 1.25 1 210px; }
.ny-lead-strip__form.ny-form--inline .ny-btn { margin-left: 8px; }

/* — Form runtime states (driven by gift-shop.js) — */
.ny-form.is-submitting .ny-btn { opacity: 0.6; pointer-events: none; }
.ny-input.has-error,
.ny-phone-input__number.has-error { border-color: var(--ny-warm); }
.ny-form__success {
  font-family: var(--ny-font-body); font-size: 13px; line-height: 1.6;
  color: var(--ny-accent); text-align: center; padding: 12px 0;
}

/* — Reveal animation (gate → reading, intro → result) — */
@keyframes ny-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ny-anim-fade { animation: ny-fade-up 0.5s ease both; }

/* — Oracle reading body (populated by oracle.js) — */
.ny-oracle-reading__text p {
  font-family: var(--ny-font-body); font-size: 12px; line-height: 1.8;
  color: var(--ny-ink); opacity: 0.85; margin-top: 16px;
}
.ny-oracle-reading__text p:first-child { margin-top: 24px; }
.ny-oracle-reading__quote {
  border-left: 3px solid var(--ny-accent);
  padding: 14px 20px; margin: 24px 0;
  background: var(--ny-accent-faint); border-radius: 0 10px 10px 0;
}
.ny-oracle-reading__quote p {
  font-size: 16px; font-weight: 700; color: var(--ny-accent);
  font-style: italic; line-height: 1.45; margin: 0;
}
.ny-oracle-reading__prompt {
  font-family: var(--ny-font-body); font-size: 12px; line-height: 1.8;
  color: var(--ny-ink); opacity: 0.85; margin-top: 8px;
}
.ny-oracle-card-mini { width: 130px; height: 173px; }

/* ─────────────────────────────────────────────
   DETAIL-PAGE STYLES (verbatim from prototype detail screens)
   ───────────────────────────────────────────── */

/* — Quiz detail — */
.ny-quiz-step { display: none !important; }
.ny-quiz-step.is-active { display: block !important; }
/* ── Quiz intro hero (card + title + meta + CTA), per Quiz Detail design ── */
.ny-quiz-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ny-accent), #6B1FA0 40%, var(--ny-deep-purple));
}
.ny-quiz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 1px, transparent 1px, transparent 14px);
}
.ny-quiz-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--ny-container);
  margin: 0 auto;
  padding: 56px var(--ny-pad);
}
.ny-quiz-hero__card {
  width: 300px;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  border-radius: var(--ny-radius-md);
  border: 1.5px solid rgba(255,255,255,0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(200,200,200,0.12), rgba(200,200,200,0.12) 1px, transparent 1px, transparent 8px),
    linear-gradient(180deg, rgba(141,34,195,0.15), rgba(255,255,255,0.03));
}
.ny-quiz-hero__card span {
  font-family: var(--ny-font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  text-align: center;
  padding: 16px;
}
.ny-quiz-hero__text { flex: 1; min-width: 0; }
.ny-quiz-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ny-quiz-hero__tag-cat { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
/* On the dark hero the default light-on-light tag fills vanish; give the
   POPULAR and NEW badges solid, legible colours. */
.ny-quiz-hero__tags .ny-tag--popular { background: rgba(233,111,70,0.95); color: #fff; }
.ny-quiz-hero__tags .ny-tag--new { background: rgba(141,34,195,0.6); color: #fff; }
.ny-quiz-hero__title {
  font-family: var(--ny-font-heading);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  max-width: 800px;
}
.ny-quiz-hero__desc {
  font-family: var(--ny-font-body);
  font-size: 15.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 800px;
}
.ny-quiz-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.ny-quiz-hero__meta-item { font-family: var(--ny-font-body); font-size: 13.5px; color: rgba(255,255,255,0.4); }
.ny-quiz-hero__meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.ny-quiz-hero__cta { margin-top: 32px; }
.ny-quiz-hero__desc p { margin: 0 0 0.6em; }
.ny-quiz-hero__desc p:last-child { margin-bottom: 0; }

/* ── "Before You Begin" panel below the hero ── */
.ny-quiz-before { max-width: var(--ny-container); margin: 0 auto; padding: 48px var(--ny-pad); }
.ny-quiz-before__label {
  font-family: var(--ny-font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ny-accent);
  margin-bottom: 10px;
}
.ny-quiz-before__heading { font-family: var(--ny-font-heading); font-size: 22px; font-weight: 700; color: var(--ny-ink); }
.ny-quiz-before__text { font-family: var(--ny-font-body); font-size: 15.5px; line-height: 1.75; color: var(--ny-ink-light); margin-top: 12px; max-width: 600px; }
.ny-quiz-before__note { display: flex; align-items: center; gap: 6px; font-family: var(--ny-font-body); font-size: 12px; color: var(--ny-ink-light); margin-top: 20px; }
.ny-quiz-before__note svg { flex-shrink: 0; opacity: 0.5; }
/* Result hero — archetype card (left) + result info (right) */
.ny-quiz-result-hero { position: relative; display: flex; align-items: stretch; overflow: hidden; background: linear-gradient(160deg, var(--ny-accent), #6B1FA0 40%, var(--ny-deep-purple)); }
.ny-quiz-result-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 1px, transparent 1px, transparent 14px); }
.ny-quiz-result-hero__image { width: 360px; flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 0; }
.ny-quiz-result-hero__card { width: 300px; aspect-ratio: 3 / 4; border-radius: var(--ny-radius-md); border: 1.5px solid rgba(255,255,255,0.15); box-shadow: 0 12px 40px rgba(0,0,0,0.3); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, rgba(200,200,200,0.12), rgba(200,200,200,0.12) 1px, transparent 1px, transparent 8px), linear-gradient(180deg, rgba(141,34,195,0.15), rgba(255,255,255,0.03)); }
.ny-quiz-result-hero__card-ph { font-family: var(--ny-font-body); font-size: 11px; color: rgba(255,255,255,0.25); text-align: center; padding: 20px; line-height: 1.6; }
.ny-quiz-result-hero__content { flex: 1; position: relative; padding: 56px 56px 56px 0; display: flex; flex-direction: column; justify-content: center; }
.ny-quiz-result-hero__eyebrow { font-family: var(--ny-font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); }
.ny-quiz-result-hero__title { font-family: var(--ny-font-heading); font-size: 52px; font-weight: 700; color: #fff; line-height: 1.08; margin-top: 12px; }
.ny-quiz-result-hero__subtitle { font-family: var(--ny-font-body); font-size: 16px; font-weight: 500; color: var(--ny-peach); margin-top: 10px; }
.ny-quiz-result-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* About your result */
.ny-quiz-result-about { max-width: var(--ny-container); margin: 0 auto; padding: 56px var(--ny-pad) 48px; }
.ny-quiz-result-about__label { font-family: var(--ny-font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ny-accent); margin-bottom: 12px; }
.ny-quiz-result-about__heading { font-family: var(--ny-font-heading); font-size: 28px; font-weight: 700; color: var(--ny-ink); line-height: 1.2; }
.ny-quiz-result-about__text { font-family: var(--ny-font-body); font-size: 17px; line-height: 1.75; color: var(--ny-ink-light); margin-top: 16px; max-width: 720px; }
.ny-quiz-result-about__text p { margin: 0 0 14px; }
.ny-quiz-result-about__text p:last-child { margin-bottom: 0; }
.ny-quiz-result-about__text ul,
.ny-quiz-result-about__text ol { margin: 0 0 16px; padding-left: 22px; }
.ny-quiz-result-about__text li { margin: 0 0 8px; padding-left: 4px; }
.ny-quiz-result-about__text li:last-child { margin-bottom: 0; }
.ny-quiz-result-about__text ul li::marker { color: var(--ny-accent); }
.ny-quiz-result-about__text strong { color: var(--ny-ink); font-weight: 600; }
.ny-quiz-result-about__text h3,
.ny-quiz-result-about__text h4 { font-family: var(--ny-font-heading); color: var(--ny-ink); font-weight: 700; line-height: 1.3; margin: 24px 0 10px; }
.ny-quiz-result-about__text h3 { font-size: 21px; }
.ny-quiz-result-about__text h4 { font-size: 18px; }
.ny-quiz-result-about__text a { color: var(--ny-accent); text-decoration: underline; }
.ny-quiz-result-about__text blockquote { margin: 0 0 16px; padding: 6px 0 6px 16px; border-left: 3px solid var(--ny-accent); color: var(--ny-ink); font-style: italic; }

/* Divider */
.ny-quiz-result-divider { max-width: var(--ny-container); margin: 0 auto; padding: 0 var(--ny-pad); }
.ny-quiz-result-divider hr { border: none; height: 1px; background: var(--ny-ink-faint); }

/* Suggested quizzes */
.ny-quiz-result-quizzes { max-width: var(--ny-container); margin: 0 auto; padding: 40px var(--ny-pad) 64px; }
.ny-quiz-result-quizzes__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ny-quiz-result-quizzes__label { font-family: var(--ny-font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ny-accent); }
.ny-quiz-result-quizzes__title { font-family: var(--ny-font-heading); font-size: 24px; font-weight: 700; color: var(--ny-ink); margin-top: 4px; }
.ny-quiz-result-quizzes__link { font-family: var(--ny-font-body); font-size: 13px; color: var(--ny-accent); white-space: nowrap; transition: opacity 0.2s; }
.ny-quiz-result-quizzes__link:hover { opacity: 0.7; }

.ny-quiz-result-cards { display: grid; grid-template-columns: repeat(3, 200px); gap: 16px; }
/* The related quizzes now reuse the shared .ny-card-grid (so the cards match the
   see-all quiz cards exactly). The section already provides side padding, so drop
   the grid's own padding to keep the cards aligned with the section heading. */
.ny-quiz-result-quizzes .ny-card-grid { padding: 0; }
.ny-quiz-result-card { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; background: var(--ny-paper); border: 1.5px solid var(--ny-ink-faint); border-radius: var(--ny-radius-lg); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.ny-quiz-result-card:hover { transform: translateY(-4px); box-shadow: var(--ny-shadow-md); border-color: rgba(141,34,195,0.25); }
.ny-quiz-result-card__cover { aspect-ratio: 3 / 4; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ny-quiz-result-card__cover--1 { background: linear-gradient(135deg, var(--ny-deep-purple), rgba(141,34,195,0.7)); }
.ny-quiz-result-card__cover--2 { background: linear-gradient(135deg, #1a3a4a, #2a6a5a); }
.ny-quiz-result-card__cover--3 { background: linear-gradient(135deg, var(--ny-warm), #c44520); }
.ny-quiz-result-card__cover-pattern { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 1px, transparent 1px, transparent 10px); }
.ny-quiz-result-card__cover-icon { position: relative; z-index: 1; font-size: 32px; color: rgba(255,255,255,0.15); }
.ny-quiz-result-card__cover-tag { position: absolute; top: 12px; left: 12px; z-index: 1; }
.ny-quiz-result-card__body { flex: 1; display: flex; flex-direction: column; padding: 12px 14px 14px; }
.ny-quiz-result-card__title { font-family: var(--ny-font-heading); font-size: 13px; font-weight: 700; color: var(--ny-ink); line-height: 1.2; margin-top: 4px; }
.ny-quiz-result-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; font-family: var(--ny-font-body); font-size: 9px; color: var(--ny-ink-light); }
.ny-quiz-result-card__arrow { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--ny-ink-faint); display: flex; align-items: center; justify-content: center; color: var(--ny-accent); font-size: 11px; transition: all 0.25s; }
.ny-quiz-result-card:hover .ny-quiz-result-card__arrow { background: var(--ny-accent); border-color: var(--ny-accent); color: #fff; }
@media (max-width: 768px) {
  .ny-quiz-hero__inner { flex-direction: column; align-items: center; text-align: center; gap: 24px; padding: 32px var(--ny-pad-mobile) 40px; }
  .ny-quiz-hero__card { width: 250px; }
  .ny-quiz-hero__title { font-size: 28px; }
  .ny-quiz-hero__tags { justify-content: center; }
  .ny-quiz-hero__desc { max-width: 100%; }
  .ny-quiz-hero__meta { justify-content: center; }
  .ny-quiz-before { padding: 32px var(--ny-pad-mobile); }
  .ny-quiz-result-hero { flex-direction: column; align-items: center; }
  .ny-quiz-result-hero__image { width: 100%; padding: 32px 0 0; justify-content: center; }
  .ny-quiz-result-hero__card { width: 250px; margin: 0 auto; }
  .ny-quiz-result-hero__content { padding: 28px var(--ny-pad-mobile) 40px; text-align: center; align-items: center; }
  .ny-quiz-result-hero__title { font-size: 34px; }
  .ny-quiz-result-hero__subtitle { font-size: 15px; }
  .ny-quiz-result-hero__actions { flex-direction: column; gap: 10px; margin-top: 28px; width: 100%; }
  .ny-quiz-result-hero__actions .ny-btn { width: 100%; justify-content: center; }
  .ny-quiz-result-about { padding: 36px var(--ny-pad-mobile) 32px; }
  .ny-quiz-result-about__heading { font-size: 22px; }
  .ny-quiz-result-about__text { font-size: 15.5px; }
  .ny-quiz-result-divider { padding: 0 var(--ny-pad-mobile); }
  .ny-quiz-result-quizzes { padding: 28px var(--ny-pad-mobile) 48px; }
  /* Show two cards across; any extras scroll horizontally (snap carousel). */
  .ny-quiz-result-cards {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .ny-quiz-result-cards::-webkit-scrollbar { display: none; }
  .ny-quiz-result-cards > .ny-quiz-result-card {
    flex: 0 0 calc(50% - 6px);
    scroll-snap-align: start;
  }
}

/* — Audio detail — */
.ny-audio-hero { background: linear-gradient(135deg, var(--ny-deep-purple), rgba(95,67,171,0.8)); padding: 52px var(--ny-pad); display: flex; gap: 48px; align-items: center; }
.ny-audio-hero__cover { width: 300px; height: 300px; flex-shrink: 0; border-radius: 16px; }
.ny-audio-body { padding: 36px var(--ny-pad) 0; }
.ny-audio-more { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.ny-audio-more::-webkit-scrollbar { display: none; }
.ny-audio-more-card { width: 130px; flex-shrink: 0; border-radius: var(--ny-radius-md); overflow: hidden; border: 1.5px solid var(--ny-ink-faint); }
.ny-audio-more-card:hover { box-shadow: var(--ny-shadow-sm); }
@media (max-width: 768px) {
  .ny-audio-hero { flex-direction: column; padding: 32px var(--ny-pad) 28px; text-align: center; gap: 16px; }
  .ny-audio-hero__cover { width: 250px; height: 250px; margin: 0 auto; }
  .ny-audio-more-card { width: 100px; }
}

/* — Guide detail — */
.ny-guide-hero { background: linear-gradient(135deg, var(--ny-deep-purple), rgba(141,34,195,0.75)); padding: 52px var(--ny-pad); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.ny-guide-hero__cover { width: 300px; height: 400px; flex-shrink: 0; border-radius: 10px; }
.ny-guide-hero__info { flex: 1 1 260px; min-width: 0; }
.ny-guide-about { padding: 44px var(--ny-pad); }
.ny-guide-sidebar { width: 360px; flex-shrink: 0; background: var(--ny-paper); border-radius: var(--ny-radius-lg); border: 1.5px solid var(--ny-ink-faint); padding: 28px 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.18); }
@media (max-width: 768px) {
  .ny-guide-hero { padding: 32px var(--ny-pad); gap: 16px; justify-content: center; }
  .ny-guide-hero__cover { width: 250px; height: 333px; }
  .ny-guide-hero h1 { font-size: 20px; }
  .ny-guide-sidebar { width: 100%; }
  .ny-guide-about { padding: 24px; }
}

/* ── LETTER (REMEMBRANCE) READING PAGE (single gift_letter) ── */

/* Centered dramatic hero (warm). */
.ny-root .letter-hero {
  background: linear-gradient(180deg, var(--ny-warm), #c44520);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 30px 48px 52px;
}
.ny-root .letter-hero__texture {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.015), rgba(255,255,255,0.015) 1px, transparent 1px, transparent 14px);
  pointer-events: none;
}
.ny-root .letter-hero__glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,111,70,0.25) 0%, transparent 70%);
  pointer-events: none;
}
/* Letter card — A4 / 1:1.414. */
.ny-root .letter-hero__card {
  width: 300px; aspect-ratio: 1 / 1.414; border-radius: 14px;
  background: linear-gradient(135deg, var(--ny-warm), #c44520);
  border: 2px solid rgba(255,255,255,0.2);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; position: relative; overflow: hidden;
  box-shadow: 0 16px 48px rgba(233,111,70,0.4);
}
.ny-root .letter-hero__card--image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.ny-root .letter-hero__card-pattern {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 1px, transparent 1px, transparent 12px);
}
.ny-root .letter-hero__card-symbol { font-size: 54px; color: rgba(255,255,255,0.15); position: relative; z-index: 1; }
.ny-root .letter-hero__card-bottom {
  /* Overlay removed: the card art stands on its own. The theme/title still
     appear in the info column beside the card, so the painted scrim was
     redundant (and on art that already carries a title, doubled it up). */
  display: none;
}
.ny-root .letter-hero__card-name { font-family: var(--ny-font-heading); font-size: 16px; font-weight: 700; color: #fff; }
.ny-root .letter-hero__card-keys { font-family: var(--ny-font-body); font-size: 10px; color: rgba(255,255,255,0.55); margin-top: 2px; }

.ny-root .letter-hero__info { position: relative; margin-top: 24px; }
.ny-root .letter-hero__eyebrow { font-family: var(--ny-font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.35); }
.ny-root .letter-hero__category {
  display: inline-block; margin-top: 8px; padding: 4px 14px;
  border-radius: var(--ny-radius-pill);
  background: rgba(255,255,255,0.08);
  font-family: var(--ny-font-body); font-size: 11px; font-weight: 600; color: var(--ny-peach);
}
.ny-root .letter-hero__title { font-family: var(--ny-font-heading); font-size: 48px; font-weight: 700; color: #fff; line-height: 1.08; margin: 12px auto 0; max-width: 880px; }
.ny-root .letter-hero__subtitle { font-family: var(--ny-font-body); font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.45); margin: 8px auto 0; max-width: 540px; }

/* Letter body — renders the editor content. */
.ny-root .letter-body { max-width: var(--ny-container); margin: 0 auto; padding: 48px var(--ny-pad) 24px; }
.ny-root .letter-body__salutation { font-family: var(--ny-font-body); font-size: 20px; font-weight: 700; color: var(--ny-warm); font-style: italic; margin-bottom: 28px; }
.ny-root .letter-body p { font-family: var(--ny-font-body); font-size: 15px; line-height: 1.85; color: var(--ny-ink); opacity: 0.82; max-width: 640px; }
.ny-root .letter-body p + p { margin-top: 18px; }

/* Pullquotes — author a blockquote in the letter to get this treatment. */
.ny-root .letter-pullquote,
.ny-root .letter-body blockquote {
  border-left: 3px solid var(--ny-warm);
  padding: 16px 22px; margin: 28px 0;
  background: var(--ny-warm-faint);
  border-radius: 0 10px 10px 0; max-width: 640px;
}
.ny-root .letter-pullquote p,
.ny-root .letter-body blockquote p {
  font-family: var(--ny-font-heading); font-size: 17px; font-weight: 700;
  color: var(--ny-warm); font-style: italic; line-height: 1.45; opacity: 1; max-width: none; margin: 0;
}
.ny-root .letter-pullquote--accent,
.ny-root .letter-body blockquote.is-accent { border-left-color: var(--ny-accent); background: var(--ny-accent-faint); }
.ny-root .letter-pullquote--accent p,
.ny-root .letter-body blockquote.is-accent p { color: var(--ny-accent); }

/* Signature. */
.ny-root .letter-signature { padding-top: 28px; border-top: 1px solid var(--ny-ink-faint); margin-top: 36px; max-width: 640px; }
.ny-root .letter-signature__closing { font-family: var(--ny-font-body); font-size: 22px; font-weight: 700; color: var(--ny-warm); font-style: italic; }
.ny-root .letter-signature__name { font-family: var(--ny-font-body); font-size: 16px; color: var(--ny-ink-light); margin-top: 6px; }
.ny-root .letter-signature__motto { font-family: var(--ny-font-body); font-size: 12px; color: var(--ny-ink-faint); font-style: italic; margin-top: 4px; }

/* Divider + bottom actions. */
.ny-root .letter-divider { max-width: var(--ny-container); margin: 0 auto; padding: 0 var(--ny-pad); }
.ny-root .letter-divider hr { border: none; height: 1px; background: var(--ny-ink-faint); margin: 16px 0; }
.ny-root .letter-bottom { max-width: var(--ny-container); margin: 0 auto; padding: 24px var(--ny-pad) 64px; display: flex; gap: 12px; }

@media (max-width: 768px) {
  .ny-root .letter-hero { padding: 36px 24px 40px; }
  .ny-root .letter-hero__card { width: 250px; }
  .ny-root .letter-hero__title { font-size: 32px; }
  .ny-root .letter-body { padding: 32px var(--ny-pad) 20px; }
  .ny-root .letter-bottom { flex-direction: column; padding: 20px var(--ny-pad) 48px; }
  .ny-root .letter-bottom .ny-btn { width: 100%; justify-content: center; }
}

/* — Oracle page (single-card flow) — */
.ny-oracle-page { min-height: 100vh; display: flex; flex-direction: column; }
.ny-oracle-reading { max-width: 800px; margin: 0 auto; padding: 0 var(--ny-pad) 48px; }
.ny-oracle-reading__inner { display: flex; gap: 32px; align-items: flex-start; }
.ny-oracle-reading__card {
  width: 160px; height: 240px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ny-accent), var(--ny-deep-purple));
  border: 2px solid rgba(255,255,255,0.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 12px 40px rgba(141,34,195,0.5);
}
.ny-oracle-reading__body { flex: 1; }
.ny-oracle-gate { max-width: 440px; margin: 0 auto; }
.ny-flip-card { perspective: 800px; cursor: pointer; }
.ny-flip-card__inner {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d; position: relative;
}
.ny-flip-card.is-flipped .ny-flip-card__inner { transform: rotateY(180deg); }
.ny-flip-card__front, .ny-flip-card__back {
  backface-visibility: hidden; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  border-radius: 16px;
}
.ny-flip-card__back { transform: rotateY(180deg); }
@media (max-width: 768px) {
  .ny-oracle-reading__inner { flex-direction: column; align-items: center; }
  .ny-oracle-reading__card { width: 120px; height: 160px; }
}

/* ── Inline full-letter reveal (hub Letters section) ───────────────────── */
.ny-letter-reveal-body { font-family: var(--ny-font-body); color: var(--ny-ink-light); font-size: 16.5px; line-height: 1.85; }
.ny-letter-reveal-body p { margin-bottom: 1.15em; }
.ny-letter-reveal-body p:last-child { margin-bottom: 0; }
.ny-letter-reveal-body em { font-style: italic; }
.ny-letter-reveal-body strong { font-weight: 700; color: var(--ny-ink); }
.ny-letter-reveal-body h2,
.ny-letter-reveal-body h3,
.ny-letter-reveal-body h4 { font-family: var(--ny-font-heading); color: var(--ny-ink); margin: 1.2em 0 0.5em; line-height: 1.3; }
.ny-letter-reveal-body blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 3px solid var(--ny-warm); font-style: italic; color: var(--ny-ink); }

/* ── Breadcrumb (all non-main plugin pages) ── */
.ny-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px var(--ny-pad);
  /* Header-clearance band: extend the strip UP by the header height. Because the
     background gradient below fills the whole padding-box in one continuous
     paint, this band is always exactly the same colour as the breadcrumb — for
     every section variant — with no seam. The overlay header lands on this band
     and the crumb text sits just under it. */
  padding-top: calc(var(--ny-header-h) + 14px);
  background: linear-gradient(135deg, var(--ny-deep-purple), rgba(141,34,195,0.75));
  font-family: var(--ny-font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
/* Per-section fills so the strip color-matches the banner directly beneath it. */
.ny-breadcrumb--letter { background: linear-gradient(135deg, var(--ny-warm), #c44520); }
.ny-breadcrumb--audio  { background: linear-gradient(135deg, var(--ny-deep-purple), rgba(95,67,171,0.8)); }
.ny-breadcrumb--quiz   { background: linear-gradient(160deg, var(--ny-deep-purple), var(--ny-accent)); }
.ny-breadcrumb__home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ny-breadcrumb__home:hover { opacity: 0.7; }
.ny-breadcrumb__arrow { font-size: 14px; line-height: 1; }
.ny-breadcrumb__sep { color: rgba(255,255,255,0.45); }
.ny-breadcrumb__current {
  color: #fff;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60vw;
}
@media (max-width: 768px) {
  .ny-breadcrumb {
    padding: 12px var(--ny-pad-mobile);
    /* Re-assert the band (the shorthand above just reset padding-top). On mobile
       gift-shop.js feeds --ny-header-h the shorter mobile header height. */
    padding-top: calc(var(--ny-header-h) + 12px);
    font-size: 12px;
  }
}

/* ── Audio grid: inline Spotify reveal (Healing Frequencies page) ── */
.ny-card[role="button"] { cursor: pointer; }
.ny-audio-grid { align-items: stretch; }
.ny-audio-item { min-width: 0; }
.ny-audio-item__player { display: none; }
.ny-audio-item__player-inner { width: 100%; }
.ny-root .ny-spotify-embed { display: block; width: 100% !important; max-width: none !important; }

/* Playing card highlight (the card stays in place in the grid). */
.ny-audio-item.is-playing .ny-card { box-shadow: 0 0 0 2px var(--ny-accent), var(--ny-shadow-md); }

/* Full-width Spotify player row, dropped in beneath the clicked card's row.
   Every other card in that row stays exactly where it is. */
.ny-audio-player-row {
  grid-column: 1 / -1;
  width: 100%;
  padding: 2px 0 6px;
  animation: ny-audio-playerin 0.3s ease both;
}
.ny-audio-player-row__inner {
  background: var(--ny-paper, #fff);
  border: 1px solid rgba(38, 26, 72, 0.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 34px rgba(38, 26, 72, 0.07);
}
@keyframes ny-audio-playerin {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .ny-audio-player-row__inner { padding: 10px; }
}

/* ── Hub Healing Frequencies: tap a card → Spotify reveals inline below the
   horizontal row. Returning/unlocked visitors skip the modal entirely, so the
   playlist opens in one tap without leaving the main page. ── */
.ny-hub-audio { display: block; }
.ny-hub-audio .ny-card-row .ny-audio-item { flex: 0 0 auto; min-width: 0; }
.ny-hub-audio .ny-audio-item.is-playing .ny-card {
  box-shadow: 0 0 0 2px var(--ny-accent), var(--ny-shadow-md);
}
.ny-hub-audio__player {
  margin-top: 16px;
  animation: ny-audio-playerin 0.3s ease both;
}
.ny-hub-audio__player[hidden] { display: none; }
.ny-hub-audio__player-inner {
  background: var(--ny-paper, #fff);
  border: 1px solid rgba(38, 26, 72, 0.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 34px rgba(38, 26, 72, 0.07);
  /* Span the full width of the card row above it (matching the /audio page's
     .ny-audio-player-row__inner). Previously capped at 680px, which left the
     player narrower than the row when opened. */
  width: 100%;
  max-width: none;
}
@media (max-width: 768px) {
  .ny-hub-audio__player-inner { padding: 10px; }
}

/* ════════════════════════════════════════════════════════════════════
   Oracle fan spread — ported from the v2 build (premium overlapping fan,
   particle field, ambient light, flip-on-pick, reveal modal). The fan
   geometry is positioned inline by oracle.js; CSS handles faces + chrome.
   ════════════════════════════════════════════════════════════════════ */
.oracle-spread__subtitle {
  color: rgba(255,255,255,0.62);
  font-family: var(--ny-font-body);
  font-size: 14px;
  margin-top: 10px;
}
.oracle-spread__wrapper { position: relative; margin-top: 6px; min-height: 400px; }
.oracle-spread__particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.oracle-spread__stage { position: relative; min-height: 380px; z-index: 2; }
.oracle-spread__loading {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  color: rgba(255,255,255,0.5); font-family: var(--ny-font-body); font-size: 13px;
}
.oracle-spread__loading-shimmer {
  width: 120px; height: 160px; border-radius: 12px;
  background: linear-gradient(110deg, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.05) 70%);
  background-size: 220% 100%; animation: ny-oracle-shimmer 1.4s ease-in-out infinite;
}
@keyframes ny-oracle-shimmer { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.oracle-spread__empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; color: rgba(255,255,255,0.7); font-family: var(--ny-font-body); padding: 24px;
}

/* Fan cards (positioned inline by JS; CSS owns the 3D flip + faces). */
.oracle-spread__card { position: absolute; perspective: 1000px; }
.oracle-spread__card:focus-visible { outline: 2px solid #f6b82e; outline-offset: 4px; border-radius: 14px; }
.oracle-spread__card-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.6s cubic-bezier(0.4,0.2,0.2,1); transform-style: preserve-3d;
}
.oracle-spread__card.is-flipped .oracle-spread__card-inner { transform: rotateY(180deg); }
.oracle-spread__card-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 14px; overflow: hidden; border: 1.5px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center; background: #030725;
}
.oracle-spread__card-face--front { transform: rotateY(180deg); background: var(--ny-paper); }
.oracle-spread__card-face svg { width: 100%; height: 100%; display: block; }
.oracle-spread__card-face img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hover affordance (class-driven by oracle.js, no animated blur/box-shadow):
   a soft warm bloom behind the lifted card, faded purely via opacity, plus a
   gentle dim on the rest of the deck so the chosen card reads as forward. */
.oracle-spread__card::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 152%; height: 152%; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side,
    rgba(233,111,70,0.50), rgba(141,34,195,0.22) 55%, transparent 72%);
  opacity: 0; transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1);
}
.oracle-spread__card.is-hovered::before { opacity: 1; }
.oracle-spread__card .oracle-spread__card-inner {
  transition: opacity 0.34s ease, transform 0.6s cubic-bezier(0.4,0.2,0.2,1);
}
.oracle-spread__card.is-dimmed .oracle-spread__card-inner { opacity: 0.86; }
.oracle-spread__card.is-hovered .oracle-spread__card-face { box-shadow: 0 16px 30px rgba(0,0,0,0.34); }
@media (prefers-reduced-motion: reduce) {
  .oracle-spread__card,
  .oracle-spread__card::before,
  .oracle-spread__card .oracle-spread__card-inner { transition-duration: 0.01ms !important; }
}

/* ── Picked oracle card (inline): fan fades out, chosen card shown blurred with
   its name + a lead-gate CTA. Revealing happens on the card's own page. ── */
.oracle-spread__stage { transition: opacity 0.4s ease; }
.oracle-spread__wrapper { transition: min-height 0.4s ease; }
.oracle-spread__wrapper.is-picking { min-height: 560px; }
.oracle-spread__wrapper.is-picking .oracle-spread__stage { opacity: 0; pointer-events: none; }
.oracle-spread__wrapper.is-picking .oracle-spread__particles { opacity: 0.5; }

.oracle-pick {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 16px;
  text-align: center;
}
.oracle-spread__wrapper.is-picking .oracle-pick { display: flex; }
.oracle-pick__card {
  position: relative;
  width: 260px;
  aspect-ratio: 1 / 1.414;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(246, 184, 46, 0.55);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45), 0 0 26px rgba(246, 184, 46, 0.22);
  background: #07124a;
  animation: ny-pick-in 0.55s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}
.oracle-pick__media { position: absolute; inset: 0; }
.oracle-pick__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(11px) saturate(1.06);
  transform: scale(1.14); /* hides the blurred edge bleed */
}
.oracle-pick__media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(38,26,72,0.16), rgba(7,18,74,0.62));
}
/* Known visitor (details already captured): no gate, so show the card clear —
   drop the blur, the darkening wash and the sparkle shroud. */
.oracle-pick__card.is-clear .oracle-pick__media img { filter: none; transform: scale(1.02); }
.oracle-pick__card.is-clear .oracle-pick__media::after { display: none; }
.oracle-pick__card.is-clear .oracle-pick__shroud { display: none; }
.oracle-pick__shroud {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 34px;
  color: rgba(255, 213, 99, 0.92);
  text-shadow: 0 0 18px rgba(246, 184, 46, 0.6);
  pointer-events: none;
}
.oracle-pick__name {
  font-family: var(--ny-font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
}
.ny-root .oracle-pick__cta {
  min-width: 220px;
  margin: 0;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: var(--ny-font-heading);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(233,111,70,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ny-root .oracle-pick__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(233,111,70,0.5); }
.ny-root .oracle-pick__again {
  background: none; border: 0; padding: 4px 8px;
  font-family: var(--ny-font-body); font-size: 12.5px;
  color: #ffffff !important;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; transition: opacity 0.2s ease;
}
.ny-root .oracle-pick__again:hover { opacity: 0.75; }
@keyframes ny-pick-in {
  0%   { opacity: 0; transform: rotateY(-78deg) scale(0.9); }
  100% { opacity: 1; transform: rotateY(0deg) scale(1); }
}
@media (max-width: 768px) {
  .oracle-spread__wrapper.is-picking { min-height: 440px; }
  .oracle-pick { gap: 16px; }
  .oracle-pick__card { width: 190px; }
  .oracle-pick__name { font-size: 21px; }
}

/* Locked (picked) card — card image on top, name + reveal CTA stacked below it. */
.oracle-spread__stage.is-locked {
  display: flex; align-items: center; justify-content: center; min-height: 460px;
}
.oracle-spread__locked-card {
  width: 244px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  animation: ny-oracle-rise 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes ny-oracle-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.oracle-spread__locked-media {
  position: relative; width: 244px; height: 325px;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 26px 64px rgba(0,0,0,0.5), 0 0 44px rgba(246,184,46,0.18);
}
.oracle-spread__locked-media img { width: 100%; height: 100%; object-fit: cover; }
.oracle-spread__locked-media svg { width: 100%; height: 100%; }
.oracle-spread__locked-overlay {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.oracle-spread__locked-title {
  font-family: var(--ny-font-heading); font-size: 21px; font-weight: 700; color: #fff; text-align: center;
}
.ny-root .oracle-spread__locked-button {
  appearance: none; border: none; cursor: pointer; padding: 12px 26px; border-radius: 999px;
  background: var(--ny-warm) !important; color: #fff !important;
  font-family: var(--ny-font-heading); font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(233,111,70,0.4); transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
}
.ny-root .oracle-spread__locked-button:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(233,111,70,0.5); text-decoration: none !important; }

/* Reveal modal — the reading (card image above, interpretation below). */
body.oracle-modal-open { overflow: hidden; }
.oracle-spread__reveal-modal {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.oracle-spread__reveal-modal.is-open { opacity: 1; pointer-events: auto; }
.oracle-spread__reveal-backdrop { position: absolute; inset: 0; background: rgba(3,7,37,0.88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.oracle-spread__reveal-inner {
  position: relative; z-index: 1; width: 100%; max-width: 620px; max-height: 90vh; overflow-y: auto;
  background: var(--ny-paper); border-radius: var(--ny-radius-xl, 22px); box-shadow: 0 30px 90px rgba(0,0,0,0.5);
  transform: translateY(16px) scale(0.98); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.oracle-spread__reveal-modal.is-open .oracle-spread__reveal-inner { transform: translateY(0) scale(1); }
.oracle-spread__reveal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: none; cursor: pointer; background: rgba(38,26,72,0.08); color: var(--ny-ink);
  font-size: 20px; line-height: 1; z-index: 3;
}
.oracle-spread__reveal-close:hover { background: rgba(38,26,72,0.16); }
.oracle-spread__reveal-card-wrap { display: flex; justify-content: center; padding: 46px 40px 0; }
.oracle-spread__reveal-card { display: flex; flex-direction: column; align-items: center; width: 100%; }
.oracle-spread__reveal-card-front {
  width: 184px; height: 245px; border-radius: 16px; overflow: hidden; background: #030725;
  border: 1.5px solid rgba(38,26,72,0.12); box-shadow: 0 18px 44px rgba(0,0,0,0.28); flex: 0 0 auto;
}
.oracle-spread__reveal-card-front img,
.oracle-spread__reveal-card-front svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.oracle-spread__reveal-card-back { width: 100%; }
.oracle-spread__reveal-content { padding: 22px 44px 44px; text-align: center; }
.oracle-spread__reveal-title {
  font-family: var(--ny-font-heading); font-size: 30px; font-weight: 700; color: var(--ny-ink); margin-top: 10px;
}
.oracle-spread__reveal-keywords { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 4px; }
.oracle-spread__reveal-keyword {
  font-family: var(--ny-font-body); font-size: 12px; font-weight: 600; color: var(--ny-accent);
  background: rgba(141,34,195,0.08); border-radius: 999px; padding: 5px 12px;
}
.oracle-spread__reveal-text {
  font-family: var(--ny-font-body); font-size: 16.5px; line-height: 1.75;
  color: var(--ny-ink-soft, #3a3a3a); text-align: left; margin-top: 20px;
}
.oracle-spread__reveal-text p { margin: 0 0 1em; }

@media (max-width: 768px) {
  .oracle-spread__wrapper { min-height: 350px; }
  .oracle-spread__stage { min-height: 330px; }
  .oracle-spread__reveal-card-wrap { padding: 34px 24px 0; }
  .oracle-spread__reveal-content { padding: 18px 24px 32px; }
  .oracle-spread__reveal-title { font-size: 24px; }
  .oracle-spread__reveal-card-front { width: 150px; height: 200px; }
}

/* ── Oracle reveal modal: gate → unlock → reading phases ── */
/* Card pane: the chosen card, centred. Becomes a full-bleed blurred backdrop
   while the lead gate is showing, then settles back to a normal card once the
   reading is unlocked. */
.oracle-reveal__cardpane { display: flex; justify-content: center; padding: 44px 40px 0; }
.oracle-spread__reveal-card-front { transition: filter 0.5s ease, transform 0.5s ease; }
/* Gate: the card keeps its natural 3:4 size, blurred, as a centred backdrop
   behind the form. The form is in normal flow and sets the modal height, so the
   card is never stretched and the modal never needs to scroll. */
.oracle-spread__reveal-modal.phase-gate .oracle-reveal__cardpane {
  position: absolute; inset: 0; padding: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: inherit;
}
.oracle-spread__reveal-modal.phase-gate .oracle-spread__reveal-card-front {
  filter: blur(13px) brightness(0.96);
}

/* Gate / CTA / reading are shown one phase at a time. */
.oracle-reveal__gate,
.oracle-reveal__cta,
.oracle-spread__reveal-modal [data-oracle-reading] { display: none; }
.oracle-spread__reveal-modal.phase-gate .oracle-reveal__gate { display: flex; }
.oracle-spread__reveal-modal.phase-unlocked .oracle-reveal__cta { display: flex; }
.oracle-spread__reveal-modal.phase-revealed [data-oracle-reading] { display: block; animation: ny-oracle-readingin 0.5s ease both; }
@keyframes ny-oracle-readingin {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Gate: frosted lead-form panel over the blurred card. In normal flow so it
   sets the modal height. */
.oracle-reveal__gate { position: relative; z-index: 1; flex-direction: column; align-items: center; justify-content: center; padding: 30px 26px; }
.oracle-reveal__gate-panel {
  width: 100%; max-width: 360px; text-align: center;
  background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.6); border-radius: 18px; padding: 26px 24px;
  box-shadow: 0 18px 50px rgba(38,26,72,0.22);
}
.oracle-reveal__gate-title { font-family: var(--ny-font-heading); font-size: 22px; font-weight: 700; color: var(--ny-ink); margin-top: 6px; }
.oracle-reveal__gate-desc { font-family: var(--ny-font-body); font-size: 13.5px; line-height: 1.5; color: var(--ny-ink-light); margin: 8px auto 0; max-width: 300px; }
.oracle-reveal__gate-panel .ny-form { margin-top: 16px; text-align: left; }

/* Unlock: revealed card name + "Reveal The Meaning" CTA. */
.oracle-reveal__cta { flex-direction: column; align-items: center; gap: 14px; padding: 24px 40px 8px; text-align: center; }
.oracle-spread__reveal-card-name { font-family: var(--ny-font-heading); font-size: 26px; font-weight: 700; color: var(--ny-ink); }
.ny-root .oracle-reveal__cta-btn {
  appearance: none; border: none; cursor: pointer; padding: 13px 30px; border-radius: 999px;
  background: var(--ny-warm) !important; color: #fff !important;
  font-family: var(--ny-font-heading); font-size: 15.5px; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(233,111,70,0.4); transition: transform 0.2s, box-shadow 0.2s;
}
.ny-root .oracle-reveal__cta-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(233,111,70,0.5); }

/* Optional newsletter consent checkbox (oracle gate form). */
.ny-form__consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-family: var(--ny-font-body); font-size: 12.5px; line-height: 1.4; color: var(--ny-ink-light); cursor: pointer; }
.ny-form__consent input { margin-top: 2px; accent-color: var(--ny-accent); flex-shrink: 0; }

@media (max-width: 768px) {
  .oracle-reveal__gate { padding: 18px; }
  .oracle-reveal__gate-panel { padding: 22px 18px; }
  .oracle-spread__reveal-card-name { font-size: 22px; }
}

/* ── ORACLE CARD READING PAGE (single gift_oracle) ── */

/* Centered dramatic hero: the card + title + keywords + actions. */
.ny-root .oracle-hero {
  background: linear-gradient(180deg, var(--ny-deep-purple), #1a1230);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 56px 48px 52px;
}
.ny-root .oracle-hero__texture {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.015), rgba(255,255,255,0.015) 1px, transparent 1px, transparent 14px);
  pointer-events: none;
}
.ny-root .oracle-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141,34,195,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Oracle card — 1:1.414, matching the quiz / letter cards. */
.ny-root .oracle-hero__card {
  width: 300px;
  aspect-ratio: 1 / 1.414;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ny-accent), var(--ny-deep-purple));
  border: 2px solid rgba(255,255,255,0.2);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(141,34,195,0.45);
}
/* When the card has real cover art, paint it as the card background. */
.ny-root .oracle-hero__card--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ny-root .oracle-hero__card-pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 1px, transparent 1px, transparent 12px);
}
.ny-root .oracle-hero__card-symbol { font-size: 60px; color: rgba(255,255,255,0.12); position: relative; z-index: 1; }
.ny-root .oracle-hero__card-bottom {
  /* Overlay removed: the title + keywords already sit in the info column beside
     the card, and on art that bakes in its own name this scrim doubled it up. */
  display: none;
}
.ny-root .oracle-hero__card-name { font-family: var(--ny-font-heading); font-size: 18px; font-weight: 700; color: #fff; }
.ny-root .oracle-hero__card-keys { font-family: var(--ny-font-body); font-size: 10px; color: rgba(255,255,255,0.55); margin-top: 2px; }

.ny-root .oracle-hero__info { position: relative; margin-top: 28px; }
.ny-root .oracle-hero__eyebrow {
  font-family: var(--ny-font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}
.ny-root .oracle-hero__title { font-family: var(--ny-font-heading); font-size: 52px; font-weight: 700; color: #fff; line-height: 1.08; margin: 8px 0 0; }
.ny-root .oracle-hero__keywords { font-family: var(--ny-font-body); font-size: 14px; font-weight: 500; color: var(--ny-peach); margin-top: 8px; }
.ny-root .oracle-hero__actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }

/* Reading section. */
.ny-root .oracle-reading { max-width: var(--ny-container); margin: 0 auto; padding: 48px var(--ny-pad) 24px; }
.ny-root .oracle-reading__label {
  display: block;
  font-family: var(--ny-font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ny-accent);
}
.ny-root .oracle-reading__text {
  font-family: var(--ny-font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ny-ink);
  opacity: 0.82;
  margin-top: 16px;
  max-width: 640px;
}
.ny-root .oracle-reading__text p { margin: 0 0 16px; }
.ny-root .oracle-reading__text p:last-child { margin-bottom: 0; }

/* Pullquote. */
.ny-root .oracle-pullquote {
  border-left: 3px solid var(--ny-accent);
  padding: 16px 22px;
  margin: 28px 0;
  background: var(--ny-accent-faint);
  border-radius: 0 10px 10px 0;
  max-width: 640px;
}
.ny-root .oracle-pullquote p { font-family: var(--ny-font-heading); font-size: 17px; font-weight: 700; color: var(--ny-accent); font-style: italic; line-height: 1.45; margin: 0; }

/* Reflection prompt. */
.ny-root .oracle-reflection { margin-top: 28px; max-width: 640px; }
.ny-root .oracle-reflection__text { font-family: var(--ny-font-body); font-size: 14px; line-height: 1.75; color: var(--ny-ink); opacity: 0.75; margin-top: 8px; }
.ny-root .oracle-reflection__text p { margin: 0 0 12px; }
.ny-root .oracle-reflection__text p:last-child { margin-bottom: 0; }

/* Affirmation. */
.ny-root .oracle-affirmation {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--ny-warm-faint);
  border-radius: var(--ny-radius-md);
  border: 1.5px solid rgba(233,111,70,0.15);
  max-width: 640px;
}
.ny-root .oracle-affirmation__label { display: block; font-family: var(--ny-font-body); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ny-warm); }
.ny-root .oracle-affirmation__text { font-family: var(--ny-font-heading); font-size: 16px; font-weight: 700; color: var(--ny-warm); margin: 8px 0 0; line-height: 1.4; }

/* Divider. */
.ny-root .oracle-divider { max-width: var(--ny-container); margin: 0 auto; padding: 0 var(--ny-pad); }
.ny-root .oracle-divider hr { border: none; height: 1px; background: var(--ny-ink-faint); margin: 16px 0; }

/* Bottom actions. */
.ny-root .oracle-bottom { max-width: var(--ny-container); margin: 0 auto; padding: 24px var(--ny-pad) 64px; display: flex; gap: 12px; }

@media (max-width: 768px) {
  .ny-root .oracle-hero { padding: 36px 24px 40px; }
  .ny-root .oracle-hero__card { width: 250px; }
  .ny-root .oracle-hero__title { font-size: 34px; }
  .ny-root .oracle-hero__actions { flex-direction: column; align-items: center; gap: 10px; }
  .ny-root .oracle-hero__actions .ny-btn { width: 240px; justify-content: center; }
  .ny-root .oracle-reading { padding: 32px var(--ny-pad) 20px; }
  .ny-root .oracle-bottom { flex-direction: column; padding: 20px var(--ny-pad) 48px; }
  .ny-root .oracle-bottom .ny-btn { width: 100%; justify-content: center; }
}

/* ── Desktop reading column (oracle reading + remembrance letter) ──
   On wide screens the reading text was capped at 640px inside a 1280px section,
   so it hugged the left with a large empty band on the right. Centre the column
   and let it run wider, with slightly larger type, for a more comfortable read.
   Scoped to desktop only — phones/tablets keep the existing sizes. */
@media (min-width: 992px) {
  /* Oracle reading */
  .ny-root .oracle-reading { max-width: 860px; }
  .ny-root .oracle-reading__text { max-width: none; font-size: 16.5px; line-height: 1.85; }
  .ny-root .oracle-reading__text p { margin-bottom: 18px; }
  .ny-root .oracle-pullquote,
  .ny-root .oracle-reflection,
  .ny-root .oracle-affirmation { max-width: none; }
  .ny-root .oracle-pullquote p { font-size: 19px; }
  .ny-root .oracle-reflection__text { font-size: 15px; }
  .ny-root .oracle-affirmation__text { font-size: 17px; }
  /* Keep the divider + bottom actions aligned with the narrower column. */
  .ny-root .oracle-divider,
  .ny-root .oracle-bottom { max-width: 860px; }

  /* Remembrance letter body */
  .ny-root .letter-body { max-width: 860px; }
  .ny-root .letter-body p { max-width: none; font-size: 16.5px; line-height: 1.9; }
  .ny-root .letter-divider,
  .ny-root .letter-bottom { max-width: 860px; }
}

/* Mobile: Claim Gift spans full width and aligns with the inputs (the inline
   8px left offset is desktop-only). */
@media (max-width: 768px) {
  .ny-lead-strip__form.ny-form--inline .ny-btn { margin-left: 0; width: 100%; }
}

/* Mobile: keep the oracle fan from overflowing the viewport. */
.oracle-spread__wrapper { overflow-x: clip; }
.ny-section--oracle { overflow-x: clip; }

/* ═══════════════════════════════════════════
   TAKE THIS FURTHER — cross-sell at the foot of every freebie result.
   Mirrors .ny-quiz-result-quizzes (section) and reuses .ny-card (card sizing)
   so it stays identical to the gift-shop quiz cards.
   ═══════════════════════════════════════════ */
.ny-gd__divider { max-width: var(--ny-container); margin: 0 auto; padding: 0 var(--ny-pad); }
.ny-gd__divider hr { border: none; height: 1px; background: var(--ny-ink-faint); }

.ny-gd { max-width: var(--ny-container); margin: 0 auto; padding: 40px var(--ny-pad) 64px; }
.ny-gd__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ny-gd__eyebrow { font-family: var(--ny-font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ny-accent); }
.ny-gd__title { font-family: var(--ny-font-heading); font-size: 24px; font-weight: 700; color: var(--ny-ink); margin-top: 4px; line-height: 1.2; }
.ny-gd__viewall { font-family: var(--ny-font-body); font-size: 13px; color: var(--ny-accent); white-space: nowrap; transition: opacity 0.2s; }
.ny-gd__viewall:hover { opacity: 0.7; }

/* Grid: 5 cards per row on desktop, wrapping, LEFT aligned so the cards line up
   with the section heading above them. --ny-gd-cols steps the column count down;
   cards flex between 190px and --ny-gd-card-max. */
.ny-gd__grid {
  --ny-gd-cols: 5;
  --ny-gd-card-max: 220px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 18px;
  max-width: calc(var(--ny-gd-cols) * var(--ny-gd-card-max) + (var(--ny-gd-cols) - 1) * 18px);
  margin: 0;
  padding: 16px 4px 38px;
}
@media (max-width: 1200px) { .ny-gd__grid { --ny-gd-cols: 4; } }
@media (max-width: 980px)  { .ny-gd__grid { --ny-gd-cols: 3; } }
@media (max-width: 700px)  { .ny-gd__grid { --ny-gd-cols: 2; } }

/* ── Card ───────────────────────────────────────────────────────────────────
   Split card: 4:5 image on top, white text panel below (matches the program
   and masterclass cards). Compact 160px width for a light scroll row. */
.ny-gd-card {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 190px;
  width: auto;
  max-width: var(--ny-gd-card-max);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid rgba(38, 26, 72, 0.12);
  box-shadow: 0 4px 18px rgba(20, 12, 40, 0.06);
  text-decoration: none;
  color: #261A48;
  transition: transform 0.28s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.28s ease;
  transform-origin: center;
}
.ny-gd-card:hover {
  transform: translateY(-5px);
  z-index: 5;
  box-shadow: 0 16px 30px -16px rgba(20, 12, 40, 0.34);
}

/* 4:5 image on top. */
.ny-gd-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.ny-gd-card__media--placeholder {
  background: linear-gradient(150deg, #261A48 0%, #442D80 60%, #8D22C3 100%);
}
.ny-gd-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* White text panel below the image. */
.ny-gd-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 11px 13px 13px;
}
.ny-gd-card__title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  height: calc(2 * 1.25em);
  color: #261A48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: balance;
}

/* Purple pill CTA, pinned to the bottom of the panel. Price folded in. */
.ny-gd-card__foot { margin-top: auto; padding-top: 11px; display: flex; }
.ny-gd-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #8D22C3;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.ny-gd-card:hover .ny-gd-card__btn { background: #7a1ba8; }
.ny-gd-card__btn-sep { opacity: 0.65; }
.ny-gd-card__btn-price { white-space: nowrap; }

@media (max-width: 768px) {
  .ny-gd { padding: 28px var(--ny-pad-mobile) 48px; }
  .ny-gd__divider { padding: 0 var(--ny-pad-mobile); }
  .ny-gd__grid { gap: 14px; padding: 14px 0 30px; }
  .ny-gd-card { flex: 1 1 140px; width: auto; max-width: none; }
}

/* Category-scoped CTA colour (v3.22.1).
   Purple call-to-action pill for Quizzes, Healing Frequencies and the Reading
   Room only. Scoped by the card's own cover variant (quiz / audio / guide) so
   Oracle and Remembrance Letters, which use their own interactive CTAs rather
   than .ny-card__cta, stay untouched, and the base orange pill rule is intact. */
.ny-root .ny-card:has(.ny-card__cover--quiz)  .ny-card__cta,
.ny-root .ny-card:has(.ny-card__cover--audio) .ny-card__cta,
.ny-root .ny-card:has(.ny-card__cover--guide) .ny-card__cta { background: var(--ny-accent); }
.ny-root .ny-card:has(.ny-card__cover--quiz):hover  .ny-card__cta,
.ny-root .ny-card:has(.ny-card__cover--audio):hover .ny-card__cta,
.ny-root .ny-card:has(.ny-card__cover--guide):hover .ny-card__cta { background: #7a1ba8; }
