/* ==========================================================================
   Let's Party in Bali — mobile-first, dark, neon.
   Design intent: the energy of the Instagram page, but a product that is
   fast and legible on a phone at 1am with one hand and bad signal.
   ========================================================================== */

:root {
  --bg:        #08070a;
  --bg-2:      #0e0c12;
  --bg-3:      #151220;
  --card:      rgba(255,255,255,.045);
  --card-hi:   rgba(255,255,255,.075);
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.18);

  --pink:      #ff2e93;
  --pink-2:    #ff69b8;
  --pink-dim:  rgba(255,46,147,.14);
  --pink-glow: rgba(255,46,147,.42);

  --text:      #f6f3f8;
  --muted:     #a79eb3;
  --muted-2:   #7d7489;

  --radius:    16px;
  --radius-sm: 10px;
  --pad:       18px;
  --maxw:      1120px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient neon wash — cheap, GPU-free, sets the mood immediately. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(78vw 52vh at 78% -6%, rgba(255,46,147,.20), transparent 62%),
    radial-gradient(70vw 46vh at 6% 8%,  rgba(120,60,255,.13), transparent 60%),
    radial-gradient(90vw 60vh at 50% 108%, rgba(255,46,147,.10), transparent 66%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

::selection { background: var(--pink); color: #fff; }

:focus-visible { outline: 2px solid var(--pink-2); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- header */

.site-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--pad); padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(8,7,10,.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line-2); }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-text b {
  font-size: 13px; font-weight: 900; font-style: italic; letter-spacing: .01em;
  white-space: nowrap;
}
.brand-text i {
  font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .22em;
  color: var(--pink); white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 11px; font-size: 13.5px; font-weight: 700; color: var(--muted);
  border-radius: 999px; white-space: nowrap;
}
.site-nav a.on, .site-nav a:hover { color: var(--text); background: var(--card-hi); }
.site-nav .ig-link { color: var(--pink); padding: 8px; display: grid; place-items: center; }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: 34px var(--pad) 26px;
  max-width: var(--maxw); margin: 0 auto;
  text-align: center;
}
.hero-glow {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 300px; max-width: 120vw;
  background: radial-gradient(closest-side, var(--pink-glow), transparent 72%);
  filter: blur(24px); pointer-events: none; opacity: .75;
}
/* --- club-light beams sweeping behind the hero --- */
.hero-beams {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 180vw; height: 460px; pointer-events: none; overflow: hidden;
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
}
.hero-beams i {
  position: absolute; top: -160px; left: 50%;
  width: 15vw; min-width: 90px; height: 620px;
  background: linear-gradient(180deg, rgba(255,46,147,.34), rgba(255,46,147,0) 72%);
  filter: blur(22px); transform-origin: 50% 0;
  animation: sweep 9s ease-in-out infinite alternate;
}
.hero-beams i:nth-child(2) {
  background: linear-gradient(180deg, rgba(150,80,255,.28), rgba(150,80,255,0) 72%);
  animation-duration: 12s; animation-delay: -3s;
}
.hero-beams i:nth-child(3) {
  background: linear-gradient(180deg, rgba(255,120,190,.22), rgba(255,120,190,0) 72%);
  animation-duration: 15s; animation-delay: -7s;
}
@keyframes sweep {
  from { transform: translateX(-50%) rotate(-32deg); }
  to   { transform: translateX(-50%) rotate(32deg); }
}

/* --- logo: entrance, breathing glow, two counter-rotating neon rings --- */
.hero-logo-wrap {
  position: relative; width: 128px; height: 128px; margin: 0 auto 20px;
  display: grid; place-items: center;
}
.hero-ring {
  position: absolute; inset: -11px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, var(--pink) 55deg, transparent 130deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  animation: spin 4.5s linear infinite, ringIn .9s .25s cubic-bezier(.2,.8,.3,1) both;
  opacity: .9;
}
.hero-ring-2 {
  inset: -20px;
  background: conic-gradient(from 180deg, transparent 0deg, rgba(255,255,255,.7) 32deg, transparent 90deg, transparent 360deg);
  animation: spin 7s linear infinite reverse, ringIn 1s .4s cubic-bezier(.2,.8,.3,1) both;
  opacity: .5;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ringIn { from { opacity: 0; scale: .82; } }

.hero-logo {
  position: relative;
  width: 128px; height: 128px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,46,147,.35), 0 14px 50px rgba(255,46,147,.28);
  animation:
    logoIn 1.05s cubic-bezier(.16,1,.3,1) both,
    breathe 5.5s ease-in-out 1.1s infinite;
}
@keyframes logoIn {
  0%   { opacity: 0; transform: scale(.62) rotate(-14deg); filter: blur(9px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,46,147,.35), 0 14px 50px rgba(255,46,147,.24); transform: scale(1); }
  50%      { box-shadow: 0 0 0 1px rgba(255,46,147,.6),  0 18px 70px rgba(255,46,147,.48); transform: scale(1.028); }
}

/* --- headline: per-word rise, then a light sweep across "in Bali." --- */
.hero-title {
  position: relative;
  font-size: clamp(30px, 8.6vw, 52px); font-weight: 900; font-style: italic;
  letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 12px;
  text-wrap: balance; /* stops "NIGHT" orphaning on narrow phones */
}
.hero-title .w {
  display: inline-block;
  animation: wordIn .72s cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(.42s + var(--i) * .085s);
}
@keyframes wordIn {
  from { opacity: 0; transform: translateY(26px) rotate(2.5deg); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.hero-title .shimmer {
  background: linear-gradient(100deg,
    var(--pink) 0%, var(--pink) 34%, #ffd9ec 47%, #fff 50%, #ffd9ec 53%, var(--pink-2) 66%, var(--pink) 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation:
    wordIn .72s cubic-bezier(.16,1,.3,1) calc(.42s + var(--i) * .085s) both,
    shine 5.5s ease-in-out 1.6s infinite;
}
@keyframes shine {
  0%, 62%, 100% { background-position: 100% 0; }
  86%           { background-position: 0% 0; }
}
.reveal {
  animation: wordIn .72s cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(.42s + var(--i) * .085s);
}
.hero-home .quiz { animation: wordIn .8s cubic-bezier(.16,1,.3,1) .92s both; }
.hero-title.small { font-size: clamp(26px, 7.4vw, 40px); }
.hero-kicker { color: var(--pink); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.hero-sub { position: relative; color: var(--muted); font-size: 15.5px; max-width: 34ch; margin: 0 auto; }
.hero-compact { padding-top: 22px; text-align: left; }
.hero-compact .hero-sub { margin: 8px 0 0; max-width: 56ch; }
.hero-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }

.crumb {
  display: inline-block; margin-bottom: 14px; color: var(--muted);
  font-size: 13.5px; font-weight: 700;
}
.crumb:hover { color: var(--pink); }

/* ------------------------------------------------------------------ quiz */

.quiz { margin-top: 26px; text-align: left; }
.quiz-step { animation: stepIn .32s cubic-bezier(.2,.7,.3,1) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.quiz-q {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px;
}
.quiz-q.big { font-size: clamp(21px, 5.6vw, 30px); }
.qn {
  flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--pink); color: #fff; font-size: 13px; font-weight: 900;
  box-shadow: 0 0 18px var(--pink-glow);
}
.quiz-opts { display: grid; gap: 10px; }
.opt, .chip {
  display: block; padding: 15px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.opt b, .chip b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.opt small, .chip small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; line-height: 1.4; }
.opt:hover, .chip:hover, .opt:active, .chip:active {
  border-color: var(--pink); background: var(--pink-dim); transform: translateY(-1px);
}
.opt-yes {
  border-color: rgba(255,46,147,.55);
  background: linear-gradient(180deg, rgba(255,46,147,.18), rgba(255,46,147,.06));
  box-shadow: 0 6px 30px rgba(255,46,147,.16);
}
.opt-yes b::after { content: " →"; color: var(--pink); }
.opt-quiet { background: transparent; }
.opt-quiet b { color: var(--muted); font-weight: 700; }

.chips { display: grid; gap: 9px; grid-template-columns: 1fr; }
.chip.on { border-color: var(--pink); background: var(--pink-dim); }
.chip-vibe { position: relative; padding-left: 52px; }
.chip-emoji { position: absolute; left: 15px; top: 14px; font-size: 21px; line-height: 1; }
.chip-any { border-style: dashed; }
.quiz-back {
  margin-top: 14px; padding: 8px 0; background: none; border: 0;
  color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.quiz-back:hover { color: var(--pink); }

/* --------------------------------------------------------------- results */

.results-head { max-width: var(--maxw); margin: 0 auto; padding: 22px var(--pad) 6px; }
.results-head h1 {
  font-size: clamp(25px, 7vw, 40px); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -.035em;
}
.results-head h1 span {
  background: linear-gradient(96deg, var(--pink), var(--pink-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.results-sub { color: var(--muted); margin-top: 10px; font-size: 14.5px; }
.results-filters, .filterbar {
  display: flex; gap: 8px; margin-top: 16px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.results-filters::-webkit-scrollbar, .filterbar::-webkit-scrollbar { display: none; }
.filter {
  flex: none; padding: 8px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--muted);
}
.filter.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.filter i { font-style: normal; color: var(--pink); font-size: 11.5px; margin-left: 5px; }
.filter:hover { color: var(--text); border-color: var(--line-2); }
.filter.on:hover { color: #fff; }

.relax {
  max-width: var(--maxw); margin: 14px auto 0; padding: 13px var(--pad);
  background: var(--pink-dim); border-left: 3px solid var(--pink);
  color: var(--text); font-size: 14px;
}
.relax b { color: var(--pink); }

/* ----------------------------------------------------------------- block */

.block { max-width: var(--maxw); margin: 0 auto; padding: 26px var(--pad) 6px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.block-head h2 {
  font-size: clamp(19px, 5vw, 26px); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -.03em;
}
.block-more { color: var(--pink); font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.block-count {
  padding: 3px 10px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); font-size: 12.5px; font-weight: 800; color: var(--muted);
}
.dot-live {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink); vertical-align: middle; margin-left: 6px;
  box-shadow: 0 0 0 0 var(--pink-glow); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,46,147,.6); }
  70%  { box-shadow: 0 0 0 11px rgba(255,46,147,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,46,147,0); }
}
.star-inline { color: var(--pink); font-style: normal; }

.prose { color: var(--muted); font-size: 15px; }
.prose h2 { color: var(--text); margin-bottom: 12px; }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--pink); font-weight: 700; }

/* ----------------------------------------------------------------- cards */

.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }

.card {
  position: relative;
  padding: 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.card:hover { border-color: var(--line-2); background: var(--card-hi); transform: translateY(-2px); }
.card-featured {
  border-color: rgba(255,46,147,.42);
  background: linear-gradient(180deg, rgba(255,46,147,.10), rgba(255,255,255,.03));
}
.card-featured:hover { border-color: var(--pink); }

/* --- image-backed cards ------------------------------------------------- */

.card-media {
  padding: 0; overflow: hidden; isolation: isolate;
  min-height: 232px; display: flex; flex-direction: column; justify-content: flex-end;
}
.card-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform .55s cubic-bezier(.2,.7,.3,1), filter .35s ease;
  filter: saturate(1.05);
}
.card-media:hover .card-bg { transform: scale(1.11); filter: saturate(1.2) brightness(1.06); }

/* The scrim is what keeps the text readable over any artwork or photo. */
.card-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,7,10,.20) 0%, rgba(8,7,10,.62) 42%, rgba(8,7,10,.93) 78%, rgba(8,7,10,.97) 100%);
}
.card-media.card-featured .card-scrim {
  background:
    linear-gradient(180deg, rgba(255,46,147,.16) 0%, rgba(8,7,10,.58) 40%, rgba(8,7,10,.93) 78%, rgba(8,7,10,.97) 100%);
}
.card-media .card-body { position: relative; z-index: 2; padding: 16px; }
.card-media .card-kicker { padding-right: 26px; }
.card-media .star { top: 14px; right: 15px; z-index: 3; }
.card-media .pill { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(0,0,0,.42); }
.card-media .pill-live { background: var(--pink); }
.card-media .card-title { text-shadow: 0 2px 14px rgba(0,0,0,.6); }

/* A thin neon edge that lights up on hover — the "jolt" the brand wants. */
.card-media::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  transition: box-shadow .25s ease;
}
.card-media:hover::after { box-shadow: inset 0 0 0 1px rgba(255,46,147,.55), inset 0 -60px 60px -50px rgba(255,46,147,.5); }

/* --- detail page hero image --------------------------------------------- */

.detail-cover {
  position: relative; margin: 0 var(--pad); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; max-height: 320px;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,7,10,.1) 40%, rgba(8,7,10,.82) 100%);
}
.star {
  position: absolute; top: 13px; right: 14px;
  color: var(--pink); font-size: 17px; line-height: 1;
  filter: drop-shadow(0 0 8px var(--pink-glow));
}

.card-kicker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; padding-right: 26px; }
.pill {
  padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .02em; background: rgba(255,255,255,.07); color: var(--muted);
  border: 1px solid var(--line); white-space: nowrap;
}
.pill-live { background: var(--pink); border-color: var(--pink); color: #fff; }
.pill-price { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.04em; }

.card-title { font-size: 19px; font-weight: 900; letter-spacing: -.025em; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-venue { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.card-venue a { color: var(--pink-2); font-weight: 700; position: relative; z-index: 1; }
.card-desc { color: var(--muted); font-size: 14px; margin-top: 9px; }

.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.tag {
  padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700;
  background: var(--pink-dim); color: var(--pink-2); border: 1px solid rgba(255,46,147,.24);
}
.tag-quiet { background: rgba(255,255,255,.05); color: var(--muted); border-color: var(--line); }
.tag-link:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }

.card-actions { display: flex; gap: 8px; margin-top: 13px; position: relative; z-index: 1; }

/* ------------------------------------------------------- live status row */

.card-live { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.live {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: -.01em;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--muted);
}
.live em { font-style: normal; font-weight: 600; opacity: .75; }
.live-open { color: #7ee2a8; border-color: rgba(74,222,128,.32); background: rgba(74,222,128,.10); }
.live-soon { color: #9fd0ff; border-color: rgba(80,160,255,.3);  background: rgba(80,160,255,.10); }
.live-warn { color: #ffcf70; border-color: rgba(255,170,0,.34);  background: rgba(255,170,0,.10); }
.live-off  { color: var(--muted-2); }
.live-live {
  color: #fff; border-color: var(--pink); background: var(--pink);
  box-shadow: 0 0 18px rgba(255,46,147,.4);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 2s infinite;
}
.live-ride { color: var(--muted); }
.live-ride::before { content: "🛵"; font-size: 11px; }
.live-crowd::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.crowd-dead   { color: #9aa0ad; }
.crowd-decent { color: #7ee2a8; border-color: rgba(74,222,128,.3); background: rgba(74,222,128,.09); }
.crowd-packed { color: var(--pink-2); border-color: rgba(255,46,147,.36); background: var(--pink-dim); }

.detail-head .card-live { margin-top: 14px; }

/* --------------------------------------------------------- phase banner */

.phase {
  max-width: var(--maxw); margin: 16px auto 0; padding: 12px var(--pad);
  color: var(--muted); font-size: 14px;
  border-left: 3px solid var(--pink); background: linear-gradient(90deg, var(--pink-dim), transparent 70%);
}
.phase b { color: var(--text); font-weight: 800; }
.phase-peak { border-left-color: var(--pink); }
.phase-day, .phase-late { border-left-color: var(--line-2); background: rgba(255,255,255,.03); }

.filter-label {
  flex: none; align-self: center; padding-right: 2px;
  font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2);
}

/* ------------------------------------------------------ crowd reporting */

.crowdbox {
  max-width: var(--maxw); margin: 22px auto 0; padding: 18px var(--pad);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,46,147,.05), transparent);
}
.crowd-q { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.crowd-q span { display: block; color: var(--muted); font-size: 13px; font-weight: 500; margin-top: 2px; }
.crowd-opts { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.crowd-btn {
  padding: 12px 10px; border-radius: 12px; cursor: pointer; text-align: center;
  background: var(--card); border: 1px solid var(--line); color: var(--text); font: inherit;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.crowd-btn b { display: block; font-size: 14px; font-weight: 800; }
.crowd-btn small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.crowd-btn:hover { border-color: var(--pink); background: var(--pink-dim); transform: translateY(-1px); }
.crowd-btn.on { border-color: var(--pink); background: var(--pink); color: #fff; }
.crowd-btn.on small { color: rgba(255,255,255,.8); }
.crowd-btn.small { padding: 9px 8px; font-size: 13px; font-weight: 700; }
.crowd-queue { margin-top: 14px; }
.crowd-done { color: #7ee2a8; font-weight: 800; font-size: 15px; }

/* ------------------------------------------------------------- plan bar */

.planbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 120;
  display: flex; align-items: center; gap: 10px;
  width: calc(100% - 28px); max-width: 460px;
  padding: 10px 10px 10px 16px; border-radius: 999px;
  background: rgba(14,12,18,.94); border: 1px solid rgba(255,46,147,.4);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0,0,0,.6);
  animation: planIn .3s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes planIn { from { opacity: 0; transform: translate(-50%, 22px); } }
.planbar-count {
  display: grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--pink); color: #fff; font-size: 13px; font-weight: 900;
}
.planbar-txt { flex: 1; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.planbar .btn { padding: 9px 15px; font-size: 13px; }
.planbar-clear { border: 0; background: none; color: var(--muted-2); padding: 9px 6px; }
.planbar-clear:hover { color: var(--pink); }
body:has(.planbar:not([hidden])) .site-foot { padding-bottom: 96px; }

.btn-save.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.save-ico { font-weight: 900; margin-right: 5px; }

/* ------------------------------------------------------------ plan page */

.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: plan; }
.plan-item {
  position: relative; display: flex; gap: 14px; padding: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.plan-n {
  flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--pink); color: #fff; font-size: 14px; font-weight: 900;
  box-shadow: 0 0 18px var(--pink-glow);
}
.plan-body { min-width: 0; flex: 1; }
.plan-body h3 { font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.plan-body h3 a:hover { color: var(--pink-2); }

/* ------------------------------------------------- returning visitor cta */

.comeback {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px; padding: 13px 16px; border-radius: var(--radius);
  border: 1px solid rgba(255,46,147,.4);
  background: linear-gradient(96deg, rgba(255,46,147,.16), rgba(255,46,147,.04));
  text-align: left;
}
.comeback:hover { border-color: var(--pink); }
.comeback-dot {
  flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--pink);
  animation: pulse 2s infinite;
}
.comeback-txt { flex: 1; min-width: 0; }
.comeback-txt b { display: block; font-size: 14.5px; font-weight: 800; }
.comeback-txt small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.comeback-go { color: var(--pink); font-size: 20px; font-weight: 900; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 800; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.975); }
.btn-primary {
  background: linear-gradient(96deg, var(--pink), #ff4fa4);
  color: #fff; box-shadow: 0 6px 24px rgba(255,46,147,.32);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(255,46,147,.5); }
.btn-ghost {
  background: rgba(255,255,255,.05); border-color: var(--line); color: var(--text);
  padding: 9px 15px; font-size: 13px;
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink-2); }

/* ----------------------------------------------------------------- areas */

.area-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.area-tile {
  padding: 15px 14px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.area-tile:hover { border-color: var(--pink); background: var(--pink-dim); transform: translateY(-2px); }
.area-tile b { display: block; font-size: 16.5px; font-weight: 900; letter-spacing: -.02em; }
.area-tile small { display: block; color: var(--pink-2); font-size: 12px; font-weight: 700; margin-top: 2px; }
.area-tile p { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.area-tile em {
  display: inline-block; margin-top: 9px; font-style: normal;
  font-size: 11.5px; font-weight: 800; color: var(--muted-2); letter-spacing: .04em; text-transform: uppercase;
}
.area-grid.big { grid-template-columns: 1fr; }

/* ---------------------------------------------------------------- detail */

.detail { max-width: var(--maxw); margin: 0 auto; }
.detail-head { padding: 22px var(--pad) 0; }
.detail-head h1 {
  font-size: clamp(27px, 7.4vw, 44px); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -.035em; margin-top: 6px;
}
.detail-kicker { color: var(--pink); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-top: 9px; }
.detail-blurb { color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 62ch; }
.badge-featured {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--pink); color: #fff; font-size: 11.5px; font-weight: 900;
  letter-spacing: .06em; text-transform: uppercase;
}
.warn {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(255,170,0,.10); border: 1px solid rgba(255,170,0,.32);
  color: #ffcf70; font-size: 14px; font-weight: 600;
}

.facts {
  display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr);
  max-width: var(--maxw); margin: 22px var(--pad) 0; width: auto;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.fact { padding: 13px 14px; background: var(--bg-2); }
.fact b {
  display: block; font-size: 10.5px; font-weight: 900; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px;
}
.fact span { font-size: 14.5px; font-weight: 700; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; }

/* ----------------------------------------------------------------- empty */

.empty { max-width: 520px; margin: 30px auto; padding: 34px var(--pad); text-align: center; }
.empty.tall { padding: 60px var(--pad); }
.empty-emoji { font-size: 44px; margin-bottom: 12px; }
.empty h1, .empty h2 { font-size: 26px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.empty p { color: var(--muted); margin-top: 10px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }

/* ------------------------------------------------------------ lead / cta */

.lead { padding: 34px var(--pad); margin-top: 34px; }
.lead-inner {
  max-width: 620px; margin: 0 auto; padding: 26px 22px; text-align: center;
  border-radius: 22px; border: 1px solid rgba(255,46,147,.3);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,46,147,.20), transparent 62%),
    var(--bg-2);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lead-eyebrow { color: var(--pink); font-size: 11.5px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.lead-title {
  font-size: clamp(22px, 6vw, 32px); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -.03em; margin: 9px 0 10px;
}
.lead-sub { color: var(--muted); font-size: 14.5px; max-width: 44ch; margin: 0 auto; }
.lead-form { display: grid; gap: 10px; margin-top: 20px; }
.lead-form input[type="text"] {
  width: 100%; padding: 14px 16px; border-radius: 999px;
  background: rgba(0,0,0,.4); border: 1px solid var(--line-2);
  color: var(--text); font: inherit; font-size: 16px; text-align: center;
}
.lead-form input::placeholder { color: var(--muted-2); }
.lead-form input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-dim); }
.lead-note { color: var(--muted-2); font-size: 12.5px; margin-top: 2px; }
.lead-note.ok { color: #4ade80; font-weight: 700; font-size: 14px; }
.lead-note.err { color: #ff8383; font-weight: 700; font-size: 14px; }
.lead.done .lead-form input, .lead.done .lead-form button { display: none; }

.ig-cta {
  max-width: var(--maxw); margin: 30px auto 0; padding: 20px var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,46,147,.06), transparent);
}
.ig-logo { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); }
.ig-cta h2 { font-size: 19px; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.025em; }
.ig-cta p { color: var(--muted); font-size: 14px; margin-top: 5px; }

/* ---------------------------------------------------------------- footer */

.site-foot {
  max-width: var(--maxw); margin: 40px auto 0;
  padding: 34px var(--pad) calc(34px + env(safe-area-inset-bottom));
  text-align: center; border-top: 1px solid var(--line);
}
.foot-brand img { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 12px; }
.foot-slogan { color: var(--pink); font-weight: 900; font-style: italic; font-size: 15px; text-transform: uppercase; letter-spacing: -.01em; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 20px; }
.foot-nav a { color: var(--muted); font-size: 13.5px; font-weight: 700; }
.foot-nav a:hover { color: var(--pink); }
.foot-note { color: var(--muted-2); font-size: 12px; max-width: 60ch; margin: 22px auto 0; line-height: 1.6; }
.foot-copy { color: var(--muted-2); font-size: 12px; margin-top: 14px; }

/* --------------------------------------------------------- toast (JS) */

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  z-index: 200; padding: 12px 20px; border-radius: 999px;
  background: var(--pink); color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 10px 40px rgba(255,46,147,.45);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------ breakpoints */

@media (min-width: 640px) {
  :root { --pad: 26px; }
  .quiz-opts { grid-template-columns: repeat(3, 1fr); }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid.big { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .lead-form { grid-template-columns: 1fr auto; align-items: center; }
  .lead-form input[type="text"] { text-align: left; }
  .lead-note { grid-column: 1 / -1; }
  .ig-cta { flex-direction: row; text-align: left; justify-content: space-between; }
  .ig-cta > div { flex: 1; }
}

@media (min-width: 960px) {
  .hero { padding-top: 52px; }
  .hero-logo { width: 152px; height: 152px; }
  .chips { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid.big { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(5, 1fr); }
}

body.anim-safe .hero-title .w,
body.anim-safe .reveal,
body.anim-safe .hero-logo,
body.anim-safe .hero-home .quiz { opacity: 1 !important; filter: none !important; }

@media (prefers-reduced-motion: reduce) {
  .hero-beams, .hero-ring { display: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Admin
   ========================================================================== */

.admin-login { display: grid; place-items: center; min-height: 100dvh; padding: 20px; }
.login-wrap { width: 100%; max-width: 360px; text-align: center; }
.login-logo { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; box-shadow: 0 0 40px var(--pink-glow); }
.login-wrap h1 { font-size: 30px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.login-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.login-wrap form { display: grid; gap: 10px; margin-top: 24px; }
.login-wrap input {
  padding: 13px 16px; border-radius: 12px; background: rgba(0,0,0,.4);
  border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 16px;
}
.login-wrap input:focus { outline: none; border-color: var(--pink); }
.login-error {
  margin-top: 16px; padding: 10px 14px; border-radius: 10px;
  background: rgba(255,60,60,.12); border: 1px solid rgba(255,60,60,.35);
  color: #ff9d9d; font-size: 13.5px; font-weight: 700;
}

.admin { max-width: 1320px; margin: 0 auto; padding: 0 16px 60px; }
.admin-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.admin-head h1 { font-size: 21px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.admin-head .who { color: var(--muted); font-size: 13px; }

.admin-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab {
  flex: none; padding: 9px 16px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); color: var(--muted);
  font-size: 13.5px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.admin-tab.on { background: var(--pink); border-color: var(--pink); color: #fff; }

.statgrid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-bottom: 22px; }
.stat { padding: 15px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font-size: 27px; font-weight: 900; letter-spacing: -.03em; color: var(--pink); }
.stat span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.toolbar input[type="search"], .toolbar select {
  padding: 9px 13px; border-radius: 10px; background: rgba(0,0,0,.35);
  border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 14px;
}
.toolbar input[type="search"] { flex: 1; min-width: 180px; }
.toolbar .spacer { flex: 1; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.admin-table th {
  text-align: left; padding: 11px 12px; background: var(--bg-3);
  font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: rgba(255,255,255,.025); }
.admin-table .name { font-weight: 800; }
.admin-table .muted { color: var(--muted); }
.row-off td { opacity: .45; }

.iconbtn {
  padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.06);
  border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.iconbtn:hover { border-color: var(--pink); color: var(--pink-2); }
.iconbtn.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.iconbtn.danger:hover { border-color: #ff5a5a; color: #ff8383; }
.rowacts { display: flex; gap: 5px; }

dialog.modal {
  width: min(680px, 94vw); max-height: 90dvh; padding: 0;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: var(--bg-2); color: var(--text);
}
dialog.modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }
.modal-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.modal-head h2 { font-size: 17px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.modal-body { padding: 18px 20px; overflow-y: auto; }
.modal-foot {
  position: sticky; bottom: 0;
  display: flex; gap: 9px; justify-content: flex-end;
  padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg-2);
}
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 13px; border-radius: 10px;
  background: rgba(0,0,0,.35); border: 1px solid var(--line-2);
  color: var(--text); font: inherit; font-size: 14.5px;
}
.field textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink); }
.field-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.field-hint { color: var(--muted-2); font-size: 12px; margin-top: 5px; }
.checkrow { display: flex; flex-wrap: wrap; gap: 7px; }
.checkrow label {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; cursor: pointer; text-transform: none; letter-spacing: 0; color: var(--text);
  margin-bottom: 0;
}
.checkrow label:has(input:checked) { background: var(--pink-dim); border-color: var(--pink); color: var(--pink-2); }
.checkrow input { width: auto; accent-color: var(--pink); }

.imgpick { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 9px; }
.imgprev {
  width: 148px; height: 92px; flex: none; border-radius: 10px; overflow: hidden;
  background: rgba(0,0,0,.4); border: 1px dashed var(--line-2);
  display: grid; place-items: center;
}
.imgprev img { width: 100%; height: 100%; object-fit: cover; }
.imgprev span { color: var(--muted-2); font-size: 12px; }
.imgpick-actions { display: flex; flex-direction: column; gap: 7px; }
.imgpick-actions .btn { justify-content: flex-start; }

/* ---------------------------------------------------------- admin: chart */

.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.seg-btn {
  padding: 7px 15px; border-radius: 999px; border: 0; background: transparent;
  color: var(--muted); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
}
.seg-btn.on { background: var(--pink); color: #fff; }

.mini-head { font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }

.chart-card {
  margin: 0 0 22px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
}
.chart-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.chart-title { font-size: 13.5px; font-weight: 800; color: var(--muted); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }

.chart-scroll { overflow-x: auto; scrollbar-width: thin; }
.chart { position: relative; min-height: 260px; }
.chart svg { display: block; }
.chart-tip {
  position: absolute; top: 4px; transform: translateX(-50%);
  padding: 9px 12px; border-radius: 10px; pointer-events: none; opacity: 0;
  background: rgba(8,7,10,.96); border: 1px solid var(--line-2);
  font-size: 12.5px; line-height: 1.6; white-space: nowrap;
  transition: opacity .12s ease; z-index: 5;
}
.chart-tip b { display: block; color: var(--text); font-size: 12px; margin-bottom: 3px; }
.chart-tip span { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.chart-tip span b { display: inline; margin: 0 0 0 auto; padding-left: 10px; color: var(--text); }

.chart-table { margin-top: 14px; }
.chart-table summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 700; padding: 6px 0; }
.chart-table summary:hover { color: var(--pink); }
.chart-table .table-wrap { margin-top: 10px; }
.chart-table .admin-table { min-width: 0; }

.split2 { display: grid; gap: 18px; grid-template-columns: 1fr; }

.funnel { display: grid; gap: 8px; }
.funnel-row { display: grid; grid-template-columns: 1fr; gap: 4px; align-items: center; }
.funnel-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.funnel-track { display: block; height: 12px; border-radius: 6px; background: rgba(255,255,255,.05); overflow: hidden; }
.funnel-track i { display: block; height: 100%; border-radius: 6px; transition: width .5s cubic-bezier(.2,.7,.3,1); }
.funnel-val { font-size: 14px; font-weight: 900; color: var(--text); }

/* ----------------------------------------------------------- admin: sync */

.sync-intro { max-width: 70ch; margin-bottom: 20px; }
.sync-intro p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.sync-intro b { color: var(--text); }

.plan { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.plan-origin { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.plan-origin b { color: var(--pink-2); }
.plan-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip-stat {
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--muted);
}
.chip-stat.add  { background: rgba(74,222,128,.12); border-color: rgba(74,222,128,.4); color: #7ee2a8; }
.chip-stat.upd  { background: var(--pink-dim); border-color: rgba(255,46,147,.4); color: var(--pink-2); }
.chip-stat.skip { background: rgba(255,170,0,.10); border-color: rgba(255,170,0,.32); color: #ffcf70; }

.plan-group { margin-top: 18px; }
.plan-group h3 {
  font-size: 11.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 8px;
}
.plan-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.plan-group li {
  padding: 8px 12px; border-radius: 9px; background: rgba(255,255,255,.03);
  border: 1px solid var(--line); font-size: 13.5px;
}
.plan-group li .muted { color: var(--muted-2); font-size: 12.5px; }

@media (min-width: 640px) {
  .statgrid { grid-template-columns: repeat(4, 1fr); }
  .split2 { grid-template-columns: 1fr 1fr; }
  .funnel-row { grid-template-columns: 230px 1fr 60px; gap: 14px; }
  .funnel-val { text-align: right; }
}
