/* AllTheMuse — landing page (Track 9: Netflix-style discovery).
   10-section restructure. Mobile-first, light + dark via design tokens.
   Reused (not restyled): .btn variants, .mcard, .state system (components.css),
   .m-reveal etc (motion.css), .rarity-badge base below (ported from home.css
   since the homepage no longer loads it). */

/* Page canvas (styles.css is not loaded on the landing page) */
body { background: var(--bg); color: var(--ink); font-family: var(--font); }

/* Launch Week banner (rendered by landing.js only while the window is live) */
.launch-banner { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; text-align: center; padding: 0.65rem 1.25rem; background: var(--purple-ink, #5b4bc4); color: #fff; font-size: 0.92rem; }
.launch-banner strong { font-weight: 700; }
.launch-banner-cta { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ================= Premium minimalist type system ================= */
/* System sans everywhere — luxury through restraint, spacing, precision. */
:root { --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif; }

/* ================= 1. Hero — featured Muse deck =================
   Stacked, not cinematic: full-body avatar on top (never cropped, never
   darkened), words underneath. No text over the image, no shade filter. */
.hero-cine {
  position: relative;
  /* Tall enough for a full body + the words underneath. */
  height: clamp(560px, 78svh, 740px);
  margin: 12px 12px 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface-2);
  isolation: isolate;
}
.hero-deck { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity .9s ease; pointer-events: none; z-index: 0;
}
.hero-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide-media {
  flex: 1 1 auto; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 26px 26px 0;
}
.hero-slide-media img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block;
  border-radius: 20px;
}
.hero-slide-body { padding: 18px 26px 48px; }
.hero-cine-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--purple-ink, var(--purple));
  margin: 0 0 10px;
}
.hero-cine-title {
  margin: 0 0 10px; color: var(--ink);
  font-size: clamp(30px, 6.5vw, 46px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.04;
}
.hero-cine-tag {
  margin: 0 0 16px; max-width: 52ch;
  font-size: 15px; line-height: 1.55;
  color: var(--muted);
}
.hero-cine-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 14px; color: var(--muted);
}
.hero-cine-creator b { color: var(--purple-ink, var(--purple)); font-weight: 700; }
.hero-cine-pers { color: var(--ink); font-weight: 600; }
.hero-cine-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-glass {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff; backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.24); }
/* Swipe-only hero: arrows removed 2026-10-12 for a cleaner, Netflix-style deck. */
.hero-details-link {
  color: var(--ink); font-weight: 600; font-size: 15px;
  text-decoration: none; border-bottom: 1px solid var(--faint, rgba(0,0,0,.2));
  padding-bottom: 2px; margin-left: 6px; white-space: nowrap;
}
.hero-details-link:hover { border-bottom-color: var(--ink); }
.hero-deck-ui {
  position: absolute; z-index: 3;
  left: 50%; transform: translateX(-50%); bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.hero-dots { display: flex; align-items: center; gap: 7px; max-width: 60vw; overflow: hidden; }
.hero-dot {
  flex: none; width: 24px; height: 4px; border: 0; border-radius: 2px;
  background: rgba(0,0,0,.16); cursor: pointer; padding: 0;
  transition: background .3s ease, width .3s ease;
}
html[data-theme="dark"] .hero-dot { background: rgba(255,255,255,.22); }
.hero-dot:hover { background: rgba(0,0,0,.32); }
html[data-theme="dark"] .hero-dot:hover { background: rgba(255,255,255,.4); }
.hero-dot.active { background: var(--purple); width: 34px; }
html.m-reduced-motion .hero-slide { transition: none; }
@media (max-width: 640px) {
  .hero-slide-media { padding: 20px 18px 0; }
  .hero-slide-body { padding: 14px 20px 44px; }
  .hero-deck-ui { bottom: 14px; }
  .hero-dot { width: 16px; }
  .hero-dot.active { width: 24px; }
}

/* ================= Section shell ================= */
.lsec { padding: 44px 0 8px; }
.lsec[hidden] { display: none; }
.lsec-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.lsec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.lsec-kicker {
  margin: 0 0 8px; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}
.lsec-title {
  margin: 0;
  font-size: clamp(20px, 3.4vw, 26px);
  font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.1;
}
.lsec-sub { margin: 10px 0 0; color: var(--muted); font-size: 15px; max-width: 60ch; line-height: 1.6; }
.lsec-link {
  flex: none; font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; padding-bottom: 2px; white-space: nowrap;
  transition: color .2s ease;
}
.lsec-link:hover { color: var(--purple-ink, var(--purple)); text-decoration: none; }

/* ---- Homepage intro redesign (2026-10-30, Mohamed's order): the wall
   paragraph becomes two short lines, a stat-chip row, a 3-step strip and
   a 2×2 guide-card grid. Card language matches the shop/offer strip
   (.pricing-strip-inner, injected by app.js offerStyles): var(--surface)
   + 1px solid var(--line) + var(--r-lg); chips reuse the offer price
   pill's purple tint (rgba(109,94,246,.10) / .35 border). ---- */
.intro-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.intro-chip {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35;
  background: rgba(109, 94, 246, .10);
  border: 1px solid rgba(109, 94, 246, .35);
  border-radius: var(--r-pill); padding: 6px 12px;
}
.intro-chip strong { font-weight: 800; color: var(--purple-deep); font-variant-numeric: tabular-nums; }
.intro-steps {
  list-style: none; margin: 16px 0 0; padding: 12px 14px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.intro-step {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.intro-step-n {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--purple-deep); color: #fff; font-size: 12.5px; font-weight: 800;
}
.intro-guides-label {
  margin: 22px 0 10px; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}
.intro-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.intro-guide-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 13px 14px; text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.intro-guide-card:hover { border-color: var(--purple); box-shadow: var(--sh-sm); text-decoration: none; }
.intro-guide-card:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.intro-guide-name { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--purple-deep); }
.intro-guide-arrow { flex: none; font-size: 20px; line-height: 1; font-weight: 700; color: var(--purple); }

/* ================= Horizontal rows ================= */
.lrow {
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  padding: 6px 20px 22px; margin: 0 -20px;
  /* mandatory (was proximity, 2026-10-29): proximity let rows come to
     rest mid-card — a sliver hanging off one edge, a cut card and dead
     space on the other (Mohamed's Divine Twenty shot). Mandatory snap
     always settles a card flush at the content margin. */
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lrow::-webkit-scrollbar { display: none; }
.lrow > * { scroll-snap-align: start; flex: 0 0 auto; }
.lrow .lcard { width: 168px; }
.lrow .lskel { width: 168px; height: 330px; border-radius: 18px; }
@media (min-width: 700px) {
  .lrow .lcard { width: 204px; }
  .lrow .lskel { width: 204px; height: 368px; }
}
/* Phone carousel read (2026-10-29): at phone widths the 168px card
   made 2 x 168 + 14 gap = exactly the 350px content width of a 390px
   screen, so rows rested with NO peek of the next card (read as a
   static grid) and any small scroll parked them mid-card. Cards now
   size off the viewport: one full card + a clean ~56px peek at any
   phone width, first card flush at the content margin. */
@media (max-width: 479px) {
  .lrow .lcard { width: calc(100vw - 90px); }
  .lrow .lskel { width: calc(100vw - 90px); height: auto; aspect-ratio: 168 / 351; }
}

/* ================= Muse cards (Pokémon-card style, landing only) =================
   Framed full-avatar picture on top with rarity badge, then name / creator /
   pills / action buttons below. Rows stay Netflix-style swipe.
   The shared .mcard product card is untouched. */
.lcard {
  position: relative; flex: 0 0 auto;
  display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  /* Was var(--card, #fff): --card is defined nowhere, so the card was
     hard-white in BOTH themes while its text tokens (--ink/--muted)
     flip light in dark mode -> pale text on white. --surface flips
     with the theme (#fff light / #16161c dark), keeping full contrast. */
  background: var(--surface, #fff);
  box-shadow: var(--sh-sm);
  transition: transform .38s var(--ease-spring), box-shadow .38s ease;
}
.lcard-hit { display: block; text-decoration: none; }
.lcard-hit:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 14px; }
.lcard-media { display: block; position: relative; aspect-ratio: 1; background: var(--surface-2); }
/* Full-body rule (2026-10-18, Mohamed): the avatar is ALWAYS shown
   whole — full body, full outfit, head to feet, nothing cropped by the
   frame. Lab art arrives in mixed ratios (1600x1600 dominant, some 2:3 /
   1:2 portraits), so card art uses `contain` over the card's surface-2
   tone: square art still fills the frame edge-to-edge, and portrait art
   shows the complete figure with soft side bands instead of cropped legs. */
/* Full-picture rule (2026-10-18, Mohamed): the ENTIRE picture sits inside
   its box — whole character, outfit and scene, nothing cut off. Inset with
   padding over the backdrop tone; never cover, never stretch. */
.lcard-img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; display: block; padding: 6%; box-sizing: border-box; }
.lcard-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: #3a3a42;
  box-shadow: 0 2px 10px rgba(0,0,0,.14);
}
.lcard-body {
  display: flex; flex-direction: column; gap: 8px;
  padding: 13px 14px 14px;
  flex: 1;
}
/* Universal card spec (Item 2B): name is ONE line, always — a long
   name ellipsizes instead of growing the card. */
.lcard-name {
  font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25;
  color: var(--ink); text-decoration: none;
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lcard-name:hover { color: var(--purple-ink, var(--purple)); }
.lcard-creator { margin: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard-creator b { color: var(--purple-ink, var(--purple)); font-weight: 700; }
/* ONE meta row, fixed height: collection text + match (plain text),
   the price pill (the card's only pill), edition text right-aligned. */
.lcard-pills { display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; height: 32px; overflow: hidden; }
.lcard-actions { margin-top: auto; }
.lcard-pill {
  font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
}
.lcard-pill b { font-weight: 800; }
.lcard-pill-free, .lcard-pill-owned { background: #e2f6e9; color: #1d9d5b; }
/* Item 2B declutter + FIX A: the collection name is plain text on
   its own fixed-height line (full card width — it always fits);
   the meta row below holds only the price pill + edition text. */
.lcard-meta { display: flex; gap: 8px; align-items: center; height: 18px; overflow: hidden; }
.lcard-collection { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted, #6e6e73); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard-match { font-size: 0.72rem; color: var(--muted, #6e6e73); flex: 0 0 auto; margin-left: auto; }
.lcard-pill { flex: 0 0 auto; }
.lcard-edition { margin-left: auto; font-size: 0.7rem; font-weight: 600; color: var(--muted, #6e6e73); font-variant-numeric: tabular-nums; white-space: nowrap; align-self: center; flex: 0 0 auto; }
.lcard-edition--low { color: #7a4d05; }
.lcard-edition--soldout { color: var(--ink, #1d1d1f); font-weight: 800; }
.lcard-pill-coins { background: #efe9fd; color: #7a5af8; display: inline-flex; align-items: center; gap: 5px; }
.lcard-pill-coins .coin-img { width: 13px; height: 13px; aspect-ratio: 1 / 1; object-fit: contain; flex: 0 0 auto; vertical-align: middle; }
.lcard-pill-match { background: #e9f1ff; color: #2e6be6; text-transform: none; letter-spacing: 0; font-size: 12px; }
html[data-theme="dark"] .lcard-pill { background: rgba(255,255,255,.09); color: var(--muted); }
html[data-theme="dark"] .lcard-pill-free, html[data-theme="dark"] .lcard-pill-owned { background: rgba(80,220,140,.16); color: #8fe3ae; }
html[data-theme="dark"] .lcard-pill-coins { background: rgba(150,120,255,.18); color: #c9bfff; }
html[data-theme="dark"] .lcard-pill-match { background: rgba(120,160,255,.16); color: #8fb8ff; }
.lcard-foot { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.lcard-actions { display: flex; gap: 8px; margin-top: 2px; }
.lcard-btn {
  flex: 1 1 0; text-align: center;
  font-size: 13.5px; font-weight: 800;
  padding: 11px 8px; border-radius: 12px;
  cursor: pointer; text-decoration: none; border: 0;
  transition: transform .18s ease, filter .18s ease;
}
.lcard-btn:active { transform: scale(.97); }
.lcard-collect { background: var(--purple); color: #fff; }
.lcard-collect:hover { filter: brightness(1.06); }
.lcard-details { background: var(--surface-2); color: var(--ink); }
html[data-theme="dark"] .lcard-details { background: rgba(255,255,255,.09); }
.lcard-details:hover { filter: brightness(.97); }
@media (hover: hover) and (pointer: fine) {
  .lcard:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 48px rgba(0,0,0,.20); z-index: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .lcard { transition: none; }
}
/* Skeleton shimmer for rows */
.lskel {
  border-radius: 18px;
  background: linear-gradient(90deg, var(--skel-base, #ececf1) 25%, var(--skel-hi, #f7f7fa) 50%, var(--skel-base, #ececf1) 75%);
  background-size: 200% 100%;
  animation: lskel-shimmer 1.8s ease-in-out infinite;
}
@keyframes lskel-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .lskel { animation: none; } }

/* ================= 3. Trending Now — Top 10 ================= */
.top10-cell { display: flex; align-items: flex-end; }
.top10-num {
  font-size: clamp(104px, 22vw, 168px);
  font-weight: 900; line-height: .78;
  color: transparent;
  -webkit-text-stroke: 3px var(--muted);
  margin: 0 -16px 4px 0;
  user-select: none; flex: none;
}
@supports not (-webkit-text-stroke: 1px #000) {
  .top10-num { color: var(--faint); }
}

/* ================= Promo / quiz cards ================= */
/* Promo / quiz cards — same geometry as the .lcard siblings in its
   row (2026-10-29): this card was a fixed 240px wide with a 76px
   centered thumbnail and a 300px min-height, so in Continue Exploring
   it rendered as a half-width block with a tiny picture, a big empty
   middle and text running past the fold (Mohamed's shot). Now it is
   a normal card: row-card width, full-width square art on top like
   .lcard-media, left-aligned text below, natural height so every
   line shows. Width steps mirror .lrow .lcard exactly. */
.lpromo {
  width: 168px; box-sizing: border-box;
  border: 1.5px dashed var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 0 0 16px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: stretch;
  text-align: left; gap: 8px;
}
.lpromo-art { width: 100%; aspect-ratio: 1; height: auto; border-radius: 0; object-fit: contain; background: var(--surface-2); display: block; }
.lpromo h3 { margin: 6px 16px 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.lpromo p { margin: 0 16px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.lpromo .btn { margin: 8px 16px 0; align-self: flex-start; }
@media (min-width: 700px) { .lpromo { width: 204px; } }
@media (max-width: 479px) { .lpromo { width: calc(100vw - 90px); } }

/* ================= 4. New This Hour ================= */
.lab-note { display: inline-flex; align-items: center; gap: 8px; }
.lab-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-ink, #1a9e54);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green-ink, #1a9e54) 18%, transparent);
}

/* ================= 6. Legendary Collection ================= */
.legend-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 28px;
  background: linear-gradient(120deg, #171226 0%, #241b3f 55%, #171226 100%);
  color: #fff; padding: clamp(24px, 4vw, 44px);
  margin-bottom: 4px;
}
.legend-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 220px at 85% 0%, rgba(214,178,94,.22), transparent 70%);
}
.legend-kicker {
  margin: 0 0 10px; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #d8b25e;
}
.legend-title { margin: 0 0 10px; font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -.025em; }
.legend-sub { margin: 0 0 6px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.6; max-width: 62ch; }
.legend-rule { margin: 10px 0 20px; color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.6; max-width: 70ch; }

/* ================= 7. Personality rows ================= */
.pers-row { margin-bottom: 30px; }
.pers-row:last-child { margin-bottom: 0; }
.pers-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pers-title { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); text-transform: capitalize; }
.pers-count { font-size: 13px; color: var(--faint); font-weight: 600; white-space: nowrap; }
.pers-sub { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); font-style: italic; }

/* ================= 8. Muse of the Day ================= */
.moment {
  display: grid; gap: 26px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 28px; padding: clamp(20px, 4vw, 40px);
  position: relative; overflow: hidden;
}
.moment::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 240px at 12% 0%, var(--purple-soft), transparent 70%);
}
.moment-media { position: relative; }
.moment-media img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  border-radius: 20px; display: block; background: var(--surface-2);
  padding: 6%; box-sizing: border-box;
}
.moment-media .rarity-badge { position: absolute; left: 14px; bottom: 14px; }
.moment-body { position: relative; min-width: 0; }
.moment-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--purple-ink, var(--purple));
  margin: 0 0 12px;
}
.moment-name { margin: 0 0 8px; font-size: clamp(30px, 5.2vw, 44px); font-weight: 800; letter-spacing: -.025em; color: var(--ink); line-height: 1.06; }
.moment-desc { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 52ch; }
.moment-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.moment-count-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.moment-count-label { font-size: 12px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.moment-count {
  font-size: clamp(34px, 7vw, 54px); font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1;
}
.moment-note { margin: 10px 0 0; font-size: 13px; color: var(--faint); }
.moment-price { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.moment-price strong { color: var(--ink); }
.moment-price s { opacity: 0.65; }
.moment-price .coin-img { vertical-align: -3px; }
@media (min-width: 900px) {
  .moment { grid-template-columns: minmax(300px, 430px) 1fr; align-items: center; gap: 40px; }
}

/* Claim celebration overlay (ported from home.css) */
.celebrate-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 8, 20, 0.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.celebrate-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 34px 30px; text-align: center;
  max-width: 380px; width: 100%;
  box-shadow: var(--sh-lg, 0 24px 70px rgba(0,0,0,.25));
  animation: celebratePop 0.45s var(--ease-spring, cubic-bezier(.2,1.4,.4,1));
}
@keyframes celebratePop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.celebrate-card img { width: 120px; height: 120px; border-radius: var(--r-xl); object-fit: contain; background: var(--surface-2); margin: 0 auto 1.1rem; display: block; }
.celebrate-card h3 { margin: 0.4rem 0 0.5rem; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--ink); }
.celebrate-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 1.4rem; }
.no-scroll { overflow: hidden; }

/* ================= 9. Live Community ================= */
.comm-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 26px;
}
.comm-stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px 12px; text-align: center;
}
.comm-stat b {
  display: block; font-size: clamp(26px, 6vw, 40px);
  font-weight: 800; letter-spacing: -.02em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.comm-stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 560px) { .comm-stats { gap: 8px; } .comm-stat { padding: 14px 6px; } }

/* ---- Muse Intelligence Engine panel (absorbed; styles ported from the
   former inline INTEL-ENGINE block — assets/intel.js render unchanged) ---- */
.intel-eye {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple); margin-right: 8px;
  box-shadow: 0 0 0 4px var(--purple-soft);
  vertical-align: 1px;
}
.intel-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .intel-cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.intel-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-sm);
}
.intel-card-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}
.intel-big { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.intel-card-sub { color: var(--muted); font-size: 13px; margin: 4px 0 14px; }
.intel-card-foot { color: var(--faint); font-size: 12px; margin: 12px 0 0; }
.intel-delta { font-size: 13px; font-weight: 700; color: var(--green-ink, #1a9e54); margin: 10px 0 0; }
.intel-trends, .intel-coll { list-style: none; margin: 0; padding: 0; }
.intel-trend-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.intel-trend-row:last-child { border-bottom: 0; }
.intel-trend-tag { font-weight: 700; color: var(--ink); font-size: 15px; }
.intel-trend-delta { font-size: 13px; font-weight: 600; white-space: nowrap; }
.intel-trend-delta.up { color: var(--green-ink, #1a9e54); }
.intel-trend-delta.down { color: var(--muted); }
.intel-trend-delta.flat { color: var(--faint); }
.intel-coll-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.intel-coll-row:last-child { border-bottom: 0; }
.intel-coll-rank {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--surface-2); color: var(--muted);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.intel-coll-img { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; flex: none; background: var(--surface-2); }
.intel-coll-name { font-weight: 600; color: var(--ink); font-size: 14px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.intel-coll-n { font-size: 12px; color: var(--muted); white-space: nowrap; }
.intel-bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; margin-top: 6px; }
.intel-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.intel-bar { width: 100%; max-width: 34px; border-radius: 6px; background: var(--purple-soft); position: relative; }
.intel-bar::after { content: ""; position: absolute; inset: 0; border-radius: 6px; background: var(--purple); opacity: 0.55; }
.intel-bar-day { font-size: 10px; color: var(--faint); font-weight: 600; }
.intel-pers { margin-top: 14px; }
.intel-pers-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.intel-pers-chip {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 14px; font-size: 13px;
}
.intel-pers-name { font-weight: 700; color: var(--ink); text-transform: capitalize; }
.intel-pers-n { color: var(--muted); font-size: 12px; }
.intel-listening {
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg);
  padding: 28px 22px; text-align: center; max-width: 560px; margin: 0 auto;
}
.intel-listening p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.intel-gen { margin-top: 22px; }
.intel-gen-sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.intel-gen-track { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.intel-gen-card {
  flex: 0 0 150px; scroll-snap-align: start; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 10px; display: flex; flex-direction: column; gap: 6px;
}
.intel-gen-img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: var(--surface-2); padding: 5%; box-sizing: border-box; }
.intel-gen-name { font-weight: 700; font-size: 13px; color: var(--ink); line-height: 1.3; }
.intel-gen-meta { font-size: 11px; color: var(--faint); }
.intel-updated { margin-top: 18px; text-align: center; font-size: 12px; color: var(--faint); }
.intel-sk { border-radius: 8px; background: linear-gradient(90deg, var(--skel-base, #ececf1) 25%, var(--skel-hi, #f7f7fa) 50%, var(--skel-base, #ececf1) 75%); background-size: 200% 100%; animation: lskel-shimmer 1.8s ease-in-out infinite; }
.intel-sk-line { height: 16px; margin: 8px 0; }
.intel-sk-line.short { width: 60%; }

/* ================= 10. Your Collection ================= */
.vault-band {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 28px; padding: clamp(24px, 4vw, 44px);
  text-align: center;
}
.vault-band h2 { margin: 0 0 12px; font-size: clamp(26px, 4.8vw, 38px); font-weight: 800; letter-spacing: -.025em; color: var(--ink); line-height: 1.08; }
.vault-band p { margin: 0 auto 22px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 46ch; }
.vault-band .btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ================= Rarity badge (ported from home.css) ================= */
.rarity-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.42rem 0.95rem; border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; line-height: 1;
}
.rarity-badge--common   { background: var(--rarity-common-bg); color: var(--rarity-common-ink); }
.rarity-badge--rare     { background: var(--rarity-rare-bg); color: var(--rarity-rare-ink); }
.rarity-badge--legendary{ background: var(--rarity-legendary-bg); color: var(--rarity-legendary-ink); box-shadow: var(--rarity-legendary-glow); }
.rarity-badge--epic     { background: var(--rarity-epic-bg); color: var(--rarity-epic-ink); }
.rarity-badge--mythic   { background: var(--rarity-mythic-bg); color: var(--rarity-mythic-ink); box-shadow: var(--rarity-mythic-glow); }
.rarity-badge--divine   { background: var(--rarity-divine-bg); color: var(--rarity-divine-ink); box-shadow: var(--rarity-divine-glow); }

/* Section-state blocks should not stretch full width inside rows */
.lrow .state { flex: 0 0 auto; width: min(420px, 86vw); text-align: center; }

/* ============================================================
   Five UI gaps — global search, front door, bell, collectors
   ============================================================ */

/* ---------- Global search band ---------- */
.search-band { padding: 18px 0 6px; }
.search-box {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 0 18px; min-height: 56px;
  box-shadow: var(--shadow);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.search-box:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--purple-glow), var(--shadow);
}
.search-icon { width: 20px; height: 20px; color: var(--faint); flex: 0 0 auto; }
#global-search {
  flex: 1; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px; color: var(--ink);
  min-height: 54px;
}
#global-search::placeholder { color: var(--faint); }
#global-search::-webkit-search-cancel-button { cursor: pointer; }
.search-kbd {
  font: inherit; font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 4px 8px; white-space: nowrap;
}
.search-results {
  position: absolute; left: 20px; right: 20px; z-index: 120;
  max-width: 1280px; margin: 8px auto 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; max-height: 60vh; overflow-y: auto;
}
.search-band .lsec-inner { position: relative; }
.sr-label {
  margin: 0; padding: 12px 18px 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint);
}
.sr-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px; text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--line);
}
.sr-row:first-of-type { border-top: 0; }
.sr-row:hover, .sr-row.is-active { background: var(--surface-2); }
.sr-thumb {
  width: 48px; height: 48px; border-radius: 14px; overflow: hidden;
  background: var(--bg-soft); flex: 0 0 auto;
}
.sr-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sr-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sr-meta b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.sr-sub { font-size: 13px; color: var(--muted); text-transform: capitalize; }
.sr-go { color: var(--faint); font-size: 18px; }
.sr-all {
  display: block; padding: 12px 18px; text-align: center;
  font-size: 14px; font-weight: 700; color: var(--purple-ink);
  text-decoration: none; border-top: 1px solid var(--line);
}
.sr-empty { padding: 22px 18px; text-align: center; }
.sr-empty-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.sr-empty-sub { margin: 0 0 10px; font-size: 14px; color: var(--muted); }

/* ---------- Front door welcome band ---------- */
.home-activity { padding: 14px 16px 0; text-align: center; }
.home-activity-line { font-size: 0.86rem; color: var(--muted, #6e6e73); margin: 0; font-variant-numeric: tabular-nums; }
.home-streak { padding: 8px 16px 0; text-align: center; }
.home-streak-line { font-size: 0.9rem; font-weight: 650; color: var(--ink, #1d1d1f); text-decoration: none; }
.frontdoor { padding: 26px 0 6px; }
.frontdoor-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--purple-soft), var(--surface));
  border: 1px solid var(--line); border-radius: 24px;
  padding: 26px 28px; box-shadow: var(--shadow);
}
.frontdoor-kicker {
  margin: 0 0 6px; font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--purple-ink);
}
.frontdoor-title {
  margin: 0 0 6px; font-size: clamp(22px, 4vw, 30px);
  font-weight: 800; letter-spacing: -.025em; color: var(--ink);
}
.frontdoor-sub { margin: 0; font-size: 15px; color: var(--muted); max-width: 52ch; }
.frontdoor-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn-text {
  background: transparent; border: 0; color: var(--muted);
  font-weight: 600; min-height: 44px; padding: 0 12px; cursor: pointer;
  border-radius: 12px;
}
.btn-text:hover { color: var(--ink); background: var(--surface-2); }

/* ---------- Quiet hero link ---------- */
.hero-cine-quiet { margin: 14px 0 0; font-size: 14px; }
.hero-cine-quiet a {
  color: rgba(255,255,255,.82); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px;
}
.hero-cine-quiet a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- Drop alerts bell ---------- */
.nav-bell-wrap { position: relative; }
.nav-bell {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer;
  transition: transform .25s var(--ease-spring, cubic-bezier(.2,1.4,.4,1)), box-shadow .25s ease;
}
.nav-bell:hover { box-shadow: var(--shadow); }
.nav-bell:active { transform: scale(.94); }
.nav-bell svg { width: 20px; height: 20px; }
.nav-bell-dot {
  position: absolute; top: 9px; right: 10px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--purple);
  border: 2px solid var(--surface);
}
.nav-bell-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 300;
  width: min(340px, 86vw); max-height: 60vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 8px;
}
.dbell-head {
  margin: 0; padding: 10px 12px 6px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint);
}
.dbell-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  text-decoration: none; color: var(--ink);
}
.dbell-row:hover { background: var(--surface-2); }
.dbell-thumb {
  width: 44px; height: 44px; border-radius: 12px; overflow: hidden;
  background: var(--bg-soft); flex: 0 0 auto;
}
.dbell-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dbell-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dbell-meta b { font-size: 14px; font-weight: 700; }
.dbell-sub { font-size: 12px; color: var(--muted); text-transform: capitalize; }
.dbell-all {
  display: block; padding: 10px; text-align: center; border-radius: 12px;
  font-size: 14px; font-weight: 700; color: var(--purple-ink); text-decoration: none;
}
.dbell-all:hover { background: var(--surface-2); }
.dbell-empty { margin: 0; padding: 18px 12px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- Collectors with faces ---------- */
.collectors-strip { margin-top: 22px; }
.collectors-label {
  margin: 0 0 12px; font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}
.collectors-row {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: thin;
}
.collector-chip {
  display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px 8px 8px;
  text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease-spring, cubic-bezier(.2,1.4,.4,1)), box-shadow .25s ease;
}
.collector-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.collector-face {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
}
.collector-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.collector-meta b { font-size: 13px; font-weight: 700; }
.collector-meta span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.collectors-empty {
  margin: 0; text-align: center; font-size: 15px; color: var(--muted);
  padding: 18px; border: 1px dashed var(--line); border-radius: var(--r-lg);
}

/* Guides strip (homepage → blog link mesh) */
.guides-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.guides-list a {
  display: block; padding: 14px 18px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 15.5px; text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.guides-list a:hover { border-color: var(--purple); transform: translateY(-1px); text-decoration: none; }
@media (min-width: 720px) { .guides-list { grid-template-columns: 1fr 1fr; } }

/* Facts block (GEO — quotable atomic statements) */
.facts-lede { margin: 20px 0 0; font-size: 16.5px; line-height: 1.65; color: var(--ink); max-width: 68ch; }
.facts-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.facts-list li {
  padding: 14px 18px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface);
  font-size: 15.5px; line-height: 1.55; color: var(--ink);
}

/* Standing join banner (served markup) */
#atm-join-banner{display:flex;align-items:center;justify-content:center;gap:.9rem;flex-wrap:wrap;background:linear-gradient(90deg,#efeaff,#fff3d9);border-bottom:1px solid var(--line);padding:.55rem 1rem;font-size:.92rem;text-align:center;color:#241f31}
#atm-join-banner .btn{flex:0 0 auto}
