/* =====================================================================
   MEMBER PROOF section (Nov 12 2026): Option D mix of Percent Gainer B + Maria Wendt (D-03).
   Star score pill → video testimonials in a right-to-left ticker (data-marquee) → 5-star review
   cards, each with that member's own community or social post inside → "What our members did
   in week 1" box → button. Sits in the white zone under the hero video.
   Lives in the funnel (not the skin), so a skin re-apply never wipes it. Colours come from the
   brand tokens, so it works on any brand kit and in both light and dark modes.
   Everything marked .km-sample is placeholder until real member reviews, videos and posts are in.
   ===================================================================== */
.km { --km-star: #E8B730; }
.km .wide { max-width: 72rem; }
.km-sample {
  display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.35rem; border-radius: 4px; vertical-align: middle;
  font-family: var(--ui); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; color: #B42318;
  border: 1px solid rgba(180, 35, 24, 0.35);
}
.km-stars { color: var(--km-star); letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }

/* Score pill */
.km-score {
  display: inline-flex; align-items: center; gap: 0.75rem; margin: 0 auto; padding: 0.6rem 1.15rem;
  border-radius: 9999px; background: var(--card); box-shadow: var(--card-shadow); text-align: left;
}
.km-score b { font-family: var(--display); font-size: 1.65rem; letter-spacing: -0.04em; color: var(--ink); }
.km-score p { margin: 0.15rem 0 0; font-size: 0.8rem; font-weight: 600; color: var(--soft); }
.skin .km h2 { margin-top: 1.1rem; }

/* Video ticker: tall 9:16 cards, scrolls right to left (motion.js marquee), pauses on touch */
.km-vids { list-style: none; padding: 0; margin: 1.75rem calc(-1 * var(--gutter)) 0; display: flex; gap: 0.75rem; overflow: hidden; }
.km-vids .marquee-track > *, .km-vids > li { width: clamp(12rem, 22vw, 15rem); flex: 0 0 auto; }
.km-vid {
  position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 30%, #2a3a8a, #0B1452 70%);
}
.km-vid::before { /* head */
  content: ""; position: absolute; left: 50%; bottom: 36%; width: 36%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: rgba(255, 255, 255, 0.22);
}
.km-vid::after { /* shoulders */
  content: ""; position: absolute; left: 15%; right: 15%; bottom: 0; height: 34%; border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, 0.22);
}
.km-vid .play { position: relative; z-index: 2; width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; }
.km-chip, .km-len {
  position: absolute; z-index: 2; background: rgba(0, 0, 0, 0.55); color: #fff; font-family: var(--ui); font-weight: 600;
}
.km-chip { left: 0.6rem; bottom: 0.6rem; font-size: 0.78rem; padding: 0.25rem 0.6rem; border-radius: 9999px; }
.km-len { right: 0.6rem; top: 0.6rem; font-size: 0.7rem; padding: 0.2rem 0.45rem; border-radius: 6px; }
.km-hint { margin: 0.75rem 0 0; font-size: 0.8rem; font-weight: 600; color: var(--soft); }

/* Review cards with the member's post inside */
.km-reviews { display: grid; gap: 1rem; margin-top: 1.75rem; text-align: left; }
@media (min-width: 60rem) { .km-reviews { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.km-card { background: var(--card); box-shadow: var(--card-shadow); border-radius: 18px; padding: 1.1rem; }
.km-who { display: flex; align-items: center; gap: 0.65rem; }
.km-av { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.km-who div { flex: 1; min-width: 0; }
.skin .km-who p { margin: 0; }
.km-name { font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.skin .km-meta { font-size: 0.8rem; color: var(--soft); }
.km-check { flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; background: var(--signal); color: var(--signal-ink); }
.km-card .km-stars { margin-top: 0.75rem; }
.skin .km-card > p.km-text { margin: 0.35rem 0 0; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.skin .km-src { margin: 1rem 0 0.45rem; font-family: var(--ui); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kicker); }

/* Post styles: a dark chat post (Discord-like) and a light social post. Real posts will be screenshots (img). */
.km-post { border-radius: 12px; padding: 0.7rem; font-family: var(--ui); }
.km-post svg { display: block; width: 100%; height: auto; margin-top: 0.5rem; border-radius: 8px; }
.km-post img { display: block; width: 100%; height: auto; border-radius: 12px; }
.km-chat { background: #313338; color: #dbdee1; }
.km-chat .km-row { display: flex; gap: 0.55rem; }
.km-chat .km-pav { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; }
.km-chat .km-row > div { flex: 1; min-width: 0; }
.skin .km-chat p { margin: 0; color: #dbdee1; font-size: 0.82rem; line-height: 1.4; }
.km-chat .km-user { font-weight: 700; }
.km-chat time { color: #949ba4; font-size: 0.68rem; margin-left: 0.25rem; }
.km-chat .km-react { display: inline-block; margin-top: 0.45rem; background: #3b3d44; border-radius: 8px; padding: 0.1rem 0.45rem; font-size: 0.72rem; }
.km-social { background: #fff; color: #0A0A0F; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.km-social .km-row { display: flex; gap: 0.55rem; align-items: center; }
.km-social .km-pav { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; }
.skin .km-social p { margin: 0; color: #0A0A0F; font-size: 0.85rem; line-height: 1.4; }
.skin .km-social .km-handle { color: #5B6273; font-size: 0.74rem; }
.skin .km-social .km-body { margin-top: 0.5rem; }
.skin .km-social .km-stats { margin-top: 0.5rem; color: #5B6273; font-size: 0.74rem; }

/* "What our members did in week 1" box (Maria Wendt results box) */
.km-wins { max-width: 40rem; margin: 1.5rem auto 0; padding: 1.1rem 1.1rem 0.4rem; border-radius: 18px; text-align: left; background: var(--card); box-shadow: inset 0 0 0 2px var(--signal); }
.skin .km-wins h3 { margin: 0 0 0.75rem; font-family: var(--display); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kicker); }
.skin .km-wins p { margin: 0 0 0.7rem; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.km-wins .km-tick { color: #15803D; font-weight: 800; }
.km .actions { margin-top: 1.75rem; }
