/* pop.css — Before You Pop™ shared visual identity
   Loaded AFTER each page's inline <style> so per-page rules still win on overlap.
   Adds: blue/pink/black/white + neon palette, step indicator, explain-before-asking
   block, large card pattern, footer-follow pattern. Doesn't remove anything. */

:root {
  /* ─── BYP global foundation tokens (added per global visual standard)
     TRUE BLACK background, WHITE body text. Pink + blue primaries. ─── */
  --byp-bg:        #000000;
  --byp-bg-deep:   #000000;
  --byp-text:      #FFFFFF;
  --byp-text-soft: rgba(255, 255, 255, 0.9);
  --byp-muted:     rgba(255, 255, 255, 0.78);
  --byp-neon-pink: #FF3366;
  --byp-neon-blue: #4DA8FF;
  --byp-neon-pink-glow: rgba(255, 51, 102, 0.55);
  --byp-neon-blue-glow: rgba(77, 168, 255, 0.55);
  --byp-violet:    #9B6BFF;
  --byp-lime:      #B6FF3D;
  --byp-gold:      #F0B429;

  /* LOCKED category tokens — these NEVER change across pages */
  --cat-love:      #FF3366;  /* LOVE = neon pink */
  --cat-comm:      #4DA8FF;  /* COMMUNICATION = electric blue */
  --cat-intimacy:  #9B6BFF;  /* INTIMACY = violet/purple */
  --cat-harmony:   #B6FF3D;  /* HARMONY = lime/green */

  /* Brand palette */
  --blue:      #2E6BFF;
  --pink:      #FF3D7F;
  --pink-hot:  #FF1B6B;
  --neon:      #6FF5FF;

  /* Ink (dark surfaces) */
  --ink:       #0A0A14;
  --ink-2:     #12121F;
  --ink-card:  #181830;

  /* Paper + neutrals */
  --paper:     #FFFFFF;
  --muted:     rgba(255, 255, 255, 0.78);
  --muted-2:   rgba(255, 255, 255, 0.55);
  --muted-3:   rgba(255, 255, 255, 0.35);

  /* Card accent borders */
  --border-pink:  rgba(255, 61, 127, 0.28);
  --border-blue:  rgba(46, 107, 255, 0.28);
  --border-soft:  rgba(255, 255, 255, 0.08);
  --border-card:  rgba(255, 255, 255, 0.07);

  /* ─── Neon-badge shared tokens (Phase: tile-artwork-redesign)
     Reference design: bold neon glyph on near-black card with neon
     pink + electric blue glow, white high-contrast text. Pages wire
     `--tile-accent` per tile (existing admin-set outline color) so the
     hero data + glyph both pulse in the same hue. ─── */
  --neon-pink:        #FF3366;
  --neon-blue:        #4DA8FF;
  --neon-pink-glow:   rgba(255, 51, 102, 0.55);
  --neon-blue-glow:   rgba(77, 168, 255, 0.55);
  --tile-radius:      16px;
  --tile-radius-lg:   20px;
  --tile-border:      1.5px solid var(--tile-accent, rgba(255, 255, 255, 0.10));
  --tile-shadow-blue: 0 0 22px rgba(77, 168, 255, 0.30),
                      inset 0 0 0 1px rgba(77, 168, 255, 0.10);
  --tile-bg:          #06060F;
}

/* ─── Step Indicator ───
   Four pills: Why Before You Pop? → Member Code → Before You Pop → Results.
   Active step uses --pink background. Completed steps strike through + muted.
   Future steps use --ink-2 border + muted text. */
.pop-step {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem auto 1.75rem;
  padding: 0;
  max-width: 520px;
  width: 100%;
}

.pop-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--ink-2);
  background: var(--ink-2);
  color: var(--muted-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pop-step-pill-num {
  font-size: 0.68rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

body.is-step-1 .pop-step-pill[data-step="1"],
body.is-step-2 .pop-step-pill[data-step="2"],
body.is-step-3 .pop-step-pill[data-step="3"],
body.is-step-4 .pop-step-pill[data-step="4"] {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--paper);
}

body.is-step-1 .pop-step-pill[data-step="1"] .pop-step-pill-num,
body.is-step-2 .pop-step-pill[data-step="2"] .pop-step-pill-num,
body.is-step-3 .pop-step-pill[data-step="3"] .pop-step-pill-num,
body.is-step-4 .pop-step-pill[data-step="4"] .pop-step-pill-num {
  background: rgba(255, 255, 255, 0.25);
  color: var(--paper);
}

body.is-step-2 .pop-step-pill[data-step="1"],
body.is-step-3 .pop-step-pill[data-step="1"],
body.is-step-3 .pop-step-pill[data-step="2"],
body.is-step-4 .pop-step-pill[data-step="1"],
body.is-step-4 .pop-step-pill[data-step="2"],
body.is-step-4 .pop-step-pill[data-step="3"] {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--muted-3);
  text-decoration: line-through;
}

body.is-step-2 .pop-step-pill[data-step="1"] .pop-step-pill-num,
body.is-step-3 .pop-step-pill[data-step="1"] .pop-step-pill-num,
body.is-step-3 .pop-step-pill[data-step="2"] .pop-step-pill-num,
body.is-step-4 .pop-step-pill[data-step="1"] .pop-step-pill-num,
body.is-step-4 .pop-step-pill[data-step="2"] .pop-step-pill-num,
body.is-step-4 .pop-step-pill[data-step="3"] .pop-step-pill-num {
  background: transparent;
  color: var(--muted-3);
}

.pop-step-pill:not([data-step]) { display: none; }

/* ─── Explain-before-asking block ───
   Three short, friendly lines naming the categories Before You Pop™ helps
   think through. Stacks single-column on mobile, becomes a 3-pill row
   once there's room. */
.pop-explain {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 520px;
  width: 100%;
  margin: 0 auto 1.75rem;
}

.pop-explain-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.pop-explain-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.pop-explain-dot.dot-pink { background: var(--pink); }
.pop-explain-dot.dot-blue { background: var(--blue); }
.pop-explain-dot.dot-neon { background: var(--neon); }

.pop-explain-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--paper);
  margin-right: 0.4rem;
}

@media (min-width: 600px) {
  .pop-explain {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .pop-explain-row {
    flex: 1 1 0;
    min-width: 140px;
  }
}

/* ─── Large card pattern ───
   Reusable full-width card with gradient border accent on hover/active. */
.pop-card {
  display: block;
  background: var(--ink-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  min-height: 64px;
  color: var(--paper);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.pop-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--blue) 100%);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

a.pop-card:hover { border-color: var(--border-pink); transform: translateY(-1px); }
a.pop-card:hover::before { opacity: 1; }

.pop-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.pop-card-sub {
  font-size: 0.85rem;
  color: var(--muted-2);
  line-height: 1.4;
}

.pop-card-arrow {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink);
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

a.pop-card:hover .pop-card-arrow { transform: translateY(-50%) translateX(2px); }

/* ─── Footer follow line ───
   One unobtrusive link in the footer instead of three emoji tiles. */
.pop-footer-follow {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--muted-2);
  padding: 1.25rem 1rem 0.5rem;
}

.pop-footer-follow a {
  color: var(--paper);
  text-decoration: none;
  margin: 0 0.4rem;
  font-weight: 500;
}

.pop-footer-follow a:hover { color: var(--pink); }

/* ─── BYP match entrance (Phase 3) ───
   Simplified 3-tile entry strip above the input section. Uses existing
   --pink / --blue / --neon / --ink / --ink-card / --paper / --muted-* tokens.
   Replaces the legacy rel-card grid + 4-step pill on /match. */
.match-hero-byp {
  text-align: center;
  padding: 2.25rem 1rem 0.5rem;
  max-width: 760px;
  margin: 0 auto;
}
.page-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.35rem;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--paper);
  max-width: 720px;
  margin: 0 auto;
}
.hero-sub {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: var(--muted-2);
  max-width: 480px;
  margin: 0.35rem auto 0;
  line-height: 1.45;
}
.hero-question {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--paper);
  margin: 1.5rem 0 0.6rem;
}
.byp-tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
}
@media (min-width: 600px) {
  .byp-tile-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.byp-tile {
  aspect-ratio: 1 / 1;
  min-height: 220px;
  background: var(--ink-card);
  border: 1.5px solid var(--border-pink);
  border-radius: 14px;
  color: var(--paper);
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.byp-tile:nth-child(2) { border-color: var(--border-blue); }
.byp-tile:nth-child(3) { border-color: rgba(111, 245, 255, 0.28); }
.byp-tile:hover {
  transform: translateY(-2px);
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 61, 127, 0.18);
}
.byp-tile-icon { font-size: 1.6rem; }
.byp-tile-title {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-align: center;
}
.byp-tile-sub {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: var(--muted-2);
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.35;
}
.byp-tile-aux {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: rgba(111, 245, 255, 0.75);
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.35;
  margin-top: 0.15rem;
}
.byp-key-notice {
  text-align: center;
  max-width: 520px;
  margin: 0.5rem auto 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}
.btn-byp-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1rem 1.5rem;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 14px;
  color: var(--paper);
  cursor: pointer;
  background: linear-gradient(135deg, var(--pink-hot), var(--blue));
  box-shadow: 0 6px 22px rgba(255, 61, 127, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn-byp-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(46, 107, 255, 0.32);
}
.btn-byp-cta:active { transform: translateY(0); }
.btn-byp-cta:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.pop-explain-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  text-align: center;
  margin: 1.5rem auto 0.75rem;
  max-width: 520px;
}
.match-hero-byp.hidden { display: none; }

/* ─── Mobile-only refinements ─── */
@media (max-width: 480px) {
  .pop-step { gap: 0.3rem; }
  .pop-step-pill { padding: 0.4rem 0.7rem; font-size: 0.72rem; min-height: 32px; }
  .pop-card { padding: 1.2rem 1.25rem; border-radius: 18px; }
  .pop-explain-row { padding: 0.6rem 0.85rem; font-size: 0.88rem; }
  .match-hero-byp { padding-top: 1.5rem; }
  .byp-tile { min-height: 180px; }
}

/* ── BYP FAQ toggle (collapsed by default; expands inline) ── */
.byp-faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  max-width: 640px;
  margin: 2rem auto 0.5rem;
  padding: 0.85rem 1.1rem;
  background: var(--ink-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.byp-faq-toggle:hover {
  border-color: var(--border-pink);
  background: rgba(255, 61, 127, 0.06);
}
.byp-faq-toggle-icon { font-size: 0.95rem; flex-shrink: 0; }
.byp-faq-toggle-text { flex: 1; text-align: left; }
.byp-faq-toggle-chev {
  font-size: 0.6rem;
  color: var(--muted-2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.byp-faq-body { margin: 0.5rem auto 0; max-width: 640px; }
.byp-faq-body[hidden] { display: none; }

/* ─── Neon-badge tile system (homepage standard)
   Applied across /home (Screen 2 tiles), /membership (package + perk
   cards), /match (relationship cards), /u/<profile> (banner pills +
   avatars). Drives the visual reference for every square/card in the
   product. Pages keep their own layout grid (column count, breakpoints,
   gap); this block only sets the per-card chrome. ─── */

.tile-neon {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--tile-radius);
  background: var(--tile-bg);
  border: var(--tile-border);
  box-shadow: none;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.13s ease, box-shadow 0.13s ease, border-color 0.2s ease;
}
.tile-neon[data-accent="blue"] {
  border-color: var(--neon-blue);
  box-shadow: var(--tile-shadow-blue);
}
.tile-neon[data-accent="gold"] {
  border-color: #F0B429;
  box-shadow: 0 0 22px rgba(240,180,41,0.30),
              inset 0 0 0 1px rgba(240,180,41,0.05);
}
.tile-neon.is-flat {
  aspect-ratio: auto;
  min-height: 92px;
}
.tile-neon:active { transform: scale(0.98); }

.tile-neon-art {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--tile-accent, rgba(255, 255, 255, 0.25)) 35%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, #1c1c3a 0%, #06060F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-neon-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile-neon-glyph {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 18%, 3.4rem);
  letter-spacing: 0.02em;
  color: var(--white);
  text-shadow:
    0 0 12px var(--tile-accent, rgba(255, 255, 255, 0.6)),
    0 0 28px color-mix(in srgb, var(--tile-accent, rgba(255, 255, 255, 0.6)) 70%, transparent);
  line-height: 1;
  text-align: center;
  padding: 0 0.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.tile-neon-glyph svg {
  width: 1.05em;
  height: 1.05em;
  fill: var(--white);
  filter:
    drop-shadow(0 0 8px var(--tile-accent, rgba(255, 255, 255, 0.6)))
    drop-shadow(0 0 18px color-mix(in srgb, var(--tile-accent, rgba(255, 255, 255, 0.6)) 70%, transparent));
}

.tile-neon-data {
  font-family: 'Space Mono', 'Space Grotesk', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tile-accent, var(--paper));
  text-shadow: 0 0 12px color-mix(in srgb, var(--tile-accent, var(--paper)) 60%, transparent);
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  line-height: 1.1;
  width: calc(100% - 1.6rem);
  margin: 0 auto;
  align-self: center;
}
.tile-neon-data.is-small { font-size: 1.05rem; }

/* Footer slot (title + desc + secondary dynamic). Matches existing
   .home-tile-* slot names so per-tile override hooks stay connected. */
.tile-neon-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 3px;
}
.tile-neon-desc {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile-neon-cta {
  margin-top: 4px;
  font-family: 'Space Mono', 'Space Grotesk', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tile-accent, var(--paper));
  text-shadow: 0 0 8px color-mix(in srgb, var(--tile-accent, var(--paper)) 60%, transparent);
}

/* Footer wrapper preserves the dark band under the artwork area. */
.tile-neon-body {
  flex: 0 0 auto;
  width: 100%;
  padding: 9px 10px 8px;
  background: rgba(6, 6, 15, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── Cross-page surface alignment ───
   Re-skin the /match rel-card and the /membership pkg / perk cards so
   they share the family above. Pages keep their own grid (column
   counts, breakpoints): this block only sets card chrome. */

.tile-neon-rel {
  background: var(--tile-bg);
  border: 1.5px solid var(--tile-accent, rgba(255, 255, 255, 0.10));
  border-radius: var(--tile-radius);
  box-shadow: 0 0 18px color-mix(in srgb, var(--tile-accent, var(--paper)) 30%, transparent);
  color: var(--paper);
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.85rem 0.35rem;
  text-align: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
}
.tile-neon-rel:hover {
  border-color: var(--tile-accent, var(--paper));
  background: color-mix(in srgb, var(--tile-accent, var(--paper)) 7%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--tile-accent, var(--paper)) 25%, transparent);
}
.tile-neon-rel.selected {
  border-color: var(--tile-accent, var(--paper));
  background: color-mix(in srgb, var(--tile-accent, var(--paper)) 12%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--tile-accent, var(--paper)) 30%, transparent),
              0 6px 20px color-mix(in srgb, var(--tile-accent, var(--paper)) 25%, transparent);
}
.tile-neon-rel:hover .tile-neon-rel-icon,
.tile-neon-rel.selected .tile-neon-rel-icon {
  transform: scale(1.1);
}
.tile-neon-rel-icon {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--paper);
  text-shadow: 0 0 8px var(--tile-accent, var(--paper)),
               0 0 18px color-mix(in srgb, var(--tile-accent, var(--paper)) 60%, transparent);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: transform 0.2s ease;
}
.tile-neon-rel-icon svg {
  width: 1.1em;
  height: 1.1em;
  fill: var(--paper);
  filter: drop-shadow(0 0 6px var(--tile-accent, var(--paper)));
}
.tile-neon-rel-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.04em;
  line-height: 1.15;
}

/* Membership pkg / perk alignment (same outline family as homepage). */
.tile-neon-pkg {
  background: var(--tile-bg);
  border: 1.5px solid var(--tile-accent, var(--paper));
  border-radius: var(--tile-radius-lg);
  box-shadow: 0 0 36px color-mix(in srgb, var(--tile-accent, var(--paper)) 22%, transparent);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}
.tile-neon-pkg:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px color-mix(in srgb, var(--tile-accent, var(--paper)) 32%, transparent);
}

.tile-neon-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--tile-accent, var(--paper)) 12%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--tile-accent, var(--paper)) 45%, transparent);
  color: var(--tile-accent, var(--paper));
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 0 12px var(--tile-accent, var(--paper)));
  text-shadow: 0 0 10px var(--tile-accent, var(--paper));
  flex-shrink: 0;
}

.tile-neon-perk {
  background: var(--tile-bg);
  border: 1.5px solid var(--tile-accent, rgba(255, 255, 255, 0.12));
  border-radius: var(--tile-radius);
  box-shadow: 0 0 18px color-mix(in srgb, var(--tile-accent, var(--paper)) 18%, transparent);
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--paper);
}

/* Profile banner pill updates — use shared neon glow tokens. */
.profile-banner-pill.member-number {
  box-shadow: 0 0 22px var(--neon-pink-glow),
              inset 0 0 0 1px rgba(255,255,255,0.15);
}
.profile-banner-pill.intent-pink {
  box-shadow: 0 0 16px var(--neon-pink-glow);
}
.profile-banner-pill.intent-blue {
  box-shadow: 0 0 16px var(--neon-blue-glow);
}

/* Avatar halo bump — uses shared neon-pink-glow token. */
.profile-avatar {
  box-shadow: 0 0 0 6px rgba(var(--blue-rgb),0.18),
              0 0 24px var(--neon-pink-glow),
              0 8px 32px rgba(0,0,0,0.5);
}
.avatar-placeholder {
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb),0.12),
              0 0 24px var(--neon-pink-glow),
              0 8px 32px rgba(0,0,0,0.4);
}

/* Access status (membership hero card) — same family alignment. */
.access-inner {
  box-shadow: 0 0 36px var(--neon-pink-glow);
  border-color: color-mix(in srgb, var(--pink) 45%, transparent);
}

@media (max-width: 600px) {
  .tile-neon-body { padding: 8px 9px; }
  .tile-neon-title { font-size: 0.72rem; }
  .tile-neon-desc { font-size: 0.68rem; }
  .tile-neon-data { font-size: 1.35rem; }
}

/* ═══════════════════════════════════════════════════════════════
   BYP global visual foundation layer
   Loaded after per-page inline <style> so per-page wins on overlap.
   Pure-black canvas, white body text, neon contrast for separation.
   ═══════════════════════════════════════════════════════════════ */

/* Wide-page wrapping utility. Caps stretching on huge monitors but never
   squeezes desktop content into a phone column. */
.byp-shell {
  max-width: min(1280px, 96vw);
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}
@media (min-width: 1100px) {
  .byp-shell {
    max-width: min(1280px, 95vw);
    padding-left: clamp(1.5rem, 3vw, 3rem);
    padding-right: clamp(1.5rem, 3vw, 3rem);
  }
}
@media (min-width: 701px) and (max-width: 1099px) {
  .byp-shell { max-width: 96vw; }
}
@media (max-width: 700px) {
  .byp-shell { max-width: 100%; padding-left: 0.9rem; padding-right: 0.9rem; }
}

/* Per-page wrapper so a page that forgets to set its own background still
   renders against pure black. */
html, body.byp-shell-page, body[class*="byp-shell"] {
  background-color: var(--byp-bg) !important;
  color: var(--byp-text) !important;
}

/* White-body reset: any page that opts in via .byp-text-default gets
   white child text by default, with --byp-muted for clearly secondary items. */
.byp-text-default :where(p, h1, h2, h3, h4, h5, h6, label, span, div, li, dt, dd, td, th, button, a) {
  color: var(--byp-text);
}
.byp-text-default :where(.timestamp, .muted, .meta, .sub, .tag, [data-secondary]) {
  color: var(--byp-muted);
}

/* Brand color tokens — exposed to inline style="" attributes via class hooks. */
.byp-pink   { color: var(--byp-neon-pink); }
.byp-blue   { color: var(--byp-neon-blue); }
.byp-violet { color: var(--byp-violet); }
.byp-lime   { color: var(--byp-lime); }
.byp-gold   { color: var(--byp-gold); }

/* Category token aliases — share category color across pages. */
.cat-love     { color: var(--cat-love); }
.cat-comm      { color: var(--cat-comm); }
.cat-intimacy  { color: var(--cat-intimacy); }
.cat-harmony   { color: var(--cat-harmony); }

/* Wordmark fallback — clean black-background wordmark when no /api/logo image. */
.byp-wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--byp-text);
  text-decoration: none;
  display: inline-block;
}

/* Nav layout helpers — prevent crushing on narrow desktop. */
[data-pz-nav], .pz-nav-link, .pz-account-btn { white-space: nowrap; }

/* True-black wins over the legacy ink-* defaults inside the foundation layer. */
.byp-shell-page .tile-neon,
.byp-shell-page :where(section, article, header, footer, main, aside) {
  background-color: transparent;
}
