/* ==========================================================================
   home.css — IOZITCG home page (T5 layout, slimmed in T10).

   Loaded on index.html only, so every rule here is page-scoped: it may restyle
   the shared footer / product-card markup for this page without touching the
   other 130 pages. Palette + content: data/brand.json (ink #021c25, page
   #0d1f27, stage #10262f, card #132932, gold #f5cd62 / #dbb75a / #fbbc34).

   brand.css owns the site-wide skin and is not edited. Known *global* issues
   that belong in brand.css are listed in the T10 report instead of patched here.

   T10 goals: no long scroll (1440 ≤ 3200px, 390 ≤ 6000px), and the dark skin
   must not paint over the light product plates / footer seams.
   ========================================================================== */

/* ---- anchors under the sticky header (header 73px, 61px once scrolled) --- */
.home-anchor { scroll-margin-top: 88px; }
@media (min-width: 1024px) { .home-anchor { scroll-margin-top: 92px; } }

/* ---- brand buttons (the reference build only ships blue/orange ones) ---- */
.btn-gold {
  color: #021c25;
  background: linear-gradient(118deg, #fbbc34 0%, #f5cd62 54%, #dbb75a 100%);
  box-shadow: 0 1px 2px rgba(2, 28, 37, .35), 0 12px 26px -14px rgba(245, 205, 98, .75);
}
.btn-gold:hover:not(:active) {
  filter: saturate(1.05) brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(2, 28, 37, .3), 0 16px 32px -14px rgba(245, 205, 98, .85);
}
.btn-gold:active { transform: translateY(0); }

.btn-outline-gold {
  color: #f5cd62;
  background: rgba(245, 205, 98, .06);
  box-shadow: inset 0 0 0 1px rgba(245, 205, 98, .45);
}
.btn-outline-gold:hover:not(:active) {
  color: #ffdd8a;
  background: rgba(245, 205, 98, .14);
  box-shadow: inset 0 0 0 1px rgba(245, 205, 98, .72);
}

/* gold eyebrow: label colour + the dash (site.css defaults to the blue primary) */
.home-eyebrow { --eyebrow-color: #f5cd62; }
.home-eyebrow::before { background: linear-gradient(90deg, #f5cd62, #fbbc34); }

/* keyboard focus is gold on this page, never the reference blue */
.home-hero .btn:focus-visible,
.home-panel .btn:focus-visible,
.home-link:focus-visible,
.home-member__cta:focus-visible,
.home-rail__btn:focus-visible,
.home-news__submit:focus-visible {
  outline: 2px solid #f5cd62;
  outline-offset: 2px;
}

/* ---- section shells ----------------------------------------------------
   padding cut ~40% against the T5 build (56/64/72/80 → 32/36/40/44) ------- */
.home-section { padding-top: 2rem; padding-bottom: 2.25rem; }
@media (min-width: 1024px) { .home-section { padding-top: 2.5rem; padding-bottom: 2.75rem; } }
.home-section--stage { background-color: #10262f; }
.home-section--page { background-color: #0d1f27; }
.home-section--how { padding-top: 0; }
/* the footer's torn edge is pulled 40px up into this section, so leave ~10px
   of breathing room under the newsletter panel and nothing more */
.home-section--last { padding-bottom: 3rem; }
@media (min-width: 1024px) { .home-section--last { padding-bottom: 3.25rem; } }

.home-section__title { font-size: 1.5rem; line-height: 1.06; margin-top: .5rem; }
@media (min-width: 1024px) { .home-section__title { font-size: 2.125rem; } }

.home-section__head { margin-bottom: 1rem; }
.home-section__split { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 768px) {
  .home-section__split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2.5rem; }
}
.home-section__aside { max-width: 26rem; font-size: .875rem; line-height: 1.6; }

/* ---- shared brand starfield (replaces ink-stage's blue/orange glows) ---- */
.home-hero.ink-stage,
.home-panel.ink-stage,
.home-news.ink-stage {
  background-color: #021c25;
  background-image:
    radial-gradient(60% 55% at 50% -6%, rgba(32, 68, 78, .5) 0%, rgba(2, 28, 37, 0) 72%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='400'%3E%3Ccircle cx='58' cy='88' r='1' fill='%23fff' fill-opacity='.6'/%3E%3Ccircle cx='109' cy='256' r='.8' fill='%23f5cd62' fill-opacity='.6'/%3E%3Ccircle cx='154' cy='48' r='.8' fill='%23fff' fill-opacity='.5'/%3E%3Ccircle cx='198' cy='164' r='1.3' fill='%23ffe9b0' fill-opacity='.8'/%3E%3Ccircle cx='243' cy='312' r='.8' fill='%23fff' fill-opacity='.4'/%3E%3Ccircle cx='294' cy='76' r='.8' fill='%23fff' fill-opacity='.55'/%3E%3Ccircle cx='339' cy='224' r='1' fill='%23f5cd62' fill-opacity='.65'/%3E%3Ccircle cx='390' cy='36' r='.8' fill='%23fff' fill-opacity='.5'/%3E%3Ccircle cx='435' cy='280' r='.8' fill='%23fff' fill-opacity='.4'/%3E%3Ccircle cx='474' cy='120' r='1.3' fill='%23ffe9b0' fill-opacity='.85'/%3E%3Ccircle cx='518' cy='336' r='.8' fill='%23fff' fill-opacity='.45'/%3E%3Ccircle cx='563' cy='192' r='.8' fill='%23f5cd62' fill-opacity='.55'/%3E%3Ccircle cx='602' cy='64' r='1' fill='%23fff' fill-opacity='.7'/%3E%3Ccircle cx='30' cy='372' r='.8' fill='%23fff' fill-opacity='.5'/%3E%3Ccircle cx='372' cy='380' r='1' fill='%23fff' fill-opacity='.5'/%3E%3Ccircle cx='620' cy='300' r='.8' fill='%23f5cd62' fill-opacity='.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat;
  background-size: auto, 640px 400px;
}

/* ---- hero -------------------------------------------------------------- */
.home-hero { padding-bottom: 0; }
.home-hero__glow {
  background:
    radial-gradient(34% 26% at 82% -8%, rgba(251, 188, 52, .2), rgba(251, 188, 52, 0) 68%),
    radial-gradient(46% 40% at 50% 108%, rgba(32, 68, 78, .45), rgba(32, 68, 78, 0) 72%);
}
.home-hero__inner { padding-top: 1.5rem; padding-bottom: 2.75rem; }
@media (min-width: 1024px) { .home-hero__inner { padding-top: 2rem; padding-bottom: 3rem; } }

/* copy left, "2 live rooms / 8 hosts" facts right — the facts fill the space
   the headline does not, instead of adding a row of their own */
.home-hero__top { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 1024px) {
  .home-hero__top { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2.5rem; }
}
.home-hero__head { max-width: 44rem; }
.home-hero__title { font-size: 2.25rem; line-height: 1.04; margin-top: .75rem; }
@media (min-width: 640px) { .home-hero__title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .home-hero__title { font-size: 3.25rem; } }

.home-shine {
  color: transparent;
  background-image: linear-gradient(92deg, #fbbc34 0%, #f5cd62 44%, #fff2c8 68%, #f5cd62 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-hero__lede { max-width: 40rem; margin-top: .75rem; font-size: .9375rem; line-height: 1.6; }
@media (min-width: 1024px) { .home-hero__lede { font-size: 1.0625rem; } }

.home-hero__ctas { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.25rem; }
.home-hero__ctas .btn { padding: .7rem 1.15rem; font-size: .875rem; border-radius: .7rem; }

.home-hero__facts {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; padding: 0;
  font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72); list-style: none;
}
@media (min-width: 1024px) {
  .home-hero__facts { flex-direction: column; align-items: flex-end; gap: .5rem; text-align: right; }
}
.home-fact { display: inline-flex; align-items: center; gap: .5rem; }
.home-fact__dot {
  width: .375rem; height: .375rem; border-radius: 9999px;
  background: #f5cd62; box-shadow: 0 0 0 3px rgba(245, 205, 98, .16); flex: none;
}
.home-fact:first-child .home-fact__dot {
  background: #ff4438; box-shadow: 0 0 0 3px rgba(255, 68, 56, .18);
}

/* hero sawtooth divider: the tear takes the colour of the next section */
.home-hero__tear { color: #10262f; }

/* ---- live rooms -------------------------------------------------------- */
.home-live { margin-top: 1.5rem; }
.home-live__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin-bottom: .625rem; }
.home-live__title { font-size: 1.0625rem; line-height: 1.2; }
@media (min-width: 1024px) { .home-live__title { font-size: 1.25rem; } }
.home-live__note { margin: 0; font-size: .75rem; line-height: 1.5; }

/* two rooms side by side from 1024 up, stacked below */
.home-live__rooms { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
@media (min-width: 1024px) { .home-live__rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }

.live-room {
  border-radius: 1rem; padding: .625rem;
  background: linear-gradient(180deg, rgba(19, 41, 50, .94) 0%, rgba(13, 31, 39, .94) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 26px 60px -44px rgba(251, 188, 52, .55);
}
.live-room__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .625rem;
  padding: 0 .125rem .5rem;
}
.live-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .22rem .45rem; border-radius: .375rem;
  background: #e23b2e; color: #fff;
  font-size: .5625rem; font-weight: 800; letter-spacing: .16em; line-height: 1;
}
.live-badge__dot {
  width: .3125rem; height: .3125rem; border-radius: 9999px; background: #fff; flex: none;
}
.live-platform {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .625rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #f5cd62;
}
.live-platform__icon { flex: none; }
.live-handle {
  font-size: .75rem; font-weight: 600; color: #fff; text-decoration: none;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.live-room__cta { margin-left: auto; padding: .4rem .7rem; font-size: .75rem; border-radius: .5rem; }
@media (max-width: 639px) {
  .live-room__cta { margin-left: 0; width: 100%; padding: .5rem .7rem; }
}

/* host = one compact row: avatar, name, shift time on a single line */
.live-hosts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .375rem;
}
@media (min-width: 640px) and (max-width: 1023px) { .live-hosts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.live-host {
  display: flex; align-items: center; gap: .5rem; min-width: 0;
  padding: .3125rem .4375rem; border-radius: .625rem; background: #132932;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.live-host__avatar {
  display: block; flex: none;
  width: 1.75rem; height: 1.75rem; border-radius: 9999px; object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(245, 205, 98, .35);
}
@media (min-width: 1024px) { .live-host__avatar { width: 2rem; height: 2rem; } }
.live-host__meta { display: flex; align-items: baseline; gap: .375rem; min-width: 0; }
.live-host__name {
  font-size: .75rem; font-weight: 700; line-height: 1.2; color: #fff;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.live-host__time {
  font-size: .5625rem; line-height: 1.2; color: rgba(255, 255, 255, .6);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
@media (min-width: 480px) { .live-host__time { font-size: .625rem; } }

/* ---- popular-products rail --------------------------------------------- */
.home-section__actions { flex: none; }
.home-link { color: rgba(255, 255, 255, .88); }
.home-link:hover { color: #f5cd62; background-color: rgba(245, 205, 98, .08); }

.home-rail { position: relative; }
.home-rail__track { scroll-padding-inline: 0; }
/* The cards injected by build.py carry no width of their own (the PLP grid sizes
   them), so in a flex row they shrank to ~130px and every title/price clipped.
   Give the rail real cards + a real horizontal scroll. */
.home-rail__track > * { flex: 0 0 auto; width: 12.5rem; }
@media (min-width: 640px) { .home-rail__track > * { width: 14rem; } }
@media (min-width: 1024px) { .home-rail__track > * { width: 15rem; } }
.home-rail__btn {
  width: 2.25rem; height: 2.25rem; border-radius: 9999px; padding: 0;
  color: rgba(255, 255, 255, .82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.home-rail__btn:hover {
  color: #f5cd62; background-color: rgba(245, 205, 98, .08);
  box-shadow: inset 0 0 0 1px rgba(245, 205, 98, .55);
}

/* the light product plate is a deliberate light surface on the dark page:
   give it a visible 1px boundary so it is not a hard white cut-out --------- */
.home-rail__track .card {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 34px -24px rgba(0, 0, 0, .85);
}
/* type-chip: keep it inside the plate (it used to run past the rounded right
   edge and get clipped, losing its cap and border) */
.home-rail__track .card > .top-3 { right: .75rem; width: auto; }
.home-rail__track .type-chip { max-width: 100%; }
/* set-code: wrap to two lines instead of truncating to "Sealed Produ…", and
   drop brand.css's backdrop blur — the pill is translucent, so the blur smeared
   a grey ghost rectangle across the product photo underneath it. */
.home-rail__track .set-code {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(11, 26, 32, .075);
}
.home-rail__track .set-code .truncate {
  white-space: normal; text-overflow: clip;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}

/* ---- cards (trust + memberships) -------------------------------------- */
.home-card {
  display: flex; flex-direction: column; padding: 1rem; border-radius: 1rem;
  background: linear-gradient(180deg, rgba(19, 41, 50, .96) 0%, rgba(13, 31, 39, .96) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
}
.home-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: .625rem; flex: none;
  color: #f5cd62; background: rgba(245, 205, 98, .1);
  box-shadow: inset 0 0 0 1px rgba(245, 205, 98, .3);
}
.home-card__title { margin-top: .625rem; font-size: .9375rem; line-height: 1.3; }
.home-card__body { margin-top: .25rem; font-size: .8125rem; line-height: 1.5; }

.home-trust__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; margin-top: 1rem;
}
@media (min-width: 768px) { .home-trust__grid { gap: .875rem; } }
@media (min-width: 1024px) { .home-trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }

/* ---- how it works — one horizontal strip, not four big cards ----------- */
.home-panel { border-radius: 1.25rem; padding: 1.25rem; }
@media (min-width: 1024px) { .home-panel { padding: 1.75rem 2rem; } }
.home-panel__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: .875rem 1.5rem;
}
.home-panel__intro { max-width: 34rem; }
.home-panel__title { font-size: 1.25rem; line-height: 1.1; margin-top: .5rem; }
@media (min-width: 1024px) { .home-panel__title { font-size: 1.75rem; } }
.home-panel__ctas { display: flex; flex-wrap: wrap; gap: .5rem; }
.home-panel__ctas .btn { padding: .6rem 1rem; font-size: .8125rem; border-radius: .625rem; }

.home-steps {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem 1.5rem;
}
@media (min-width: 640px) { .home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .home-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }

.home-step {
  display: flex; align-items: flex-start; gap: .5rem;
  padding-top: .75rem; border-top: 1px solid rgba(255, 255, 255, .12);
}
.home-step__num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 1.375rem; height: 1.375rem; border-radius: 9999px;
  font-size: .625rem; font-weight: 800; color: #021c25;
  background: linear-gradient(118deg, #fbbc34, #f5cd62 62%, #dbb75a);
}
.home-step__text { min-width: 0; }
.home-step__title { font-size: .875rem; line-height: 1.25; }
.home-step__body { margin-top: .2rem; font-size: .75rem; line-height: 1.5; }
@media (min-width: 1024px) { .home-step__body { font-size: .8125rem; } }

/* ---- memberships — 4 tiers, one row ----------------------------------- */
.home-members {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; margin-top: 1rem;
}
@media (min-width: 1024px) { .home-members { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .875rem; } }

.home-member { padding: .875rem; }
@media (min-width: 1024px) { .home-member { padding: 1rem; } }
.home-member__head { display: flex; align-items: center; gap: .5rem; }
.home-member__disc {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 1.5rem; height: 1.5rem; border-radius: 9999px;
  font-size: .6875rem; font-weight: 800; color: #021c25;
  background-color: transparent; /* the tier glyph below paints the badge */
}
.home-member__tier { font-size: .9375rem; line-height: 1.2; letter-spacing: -.01em; }
.home-member__price { display: flex; align-items: baseline; gap: .25rem; margin-top: .5rem; }
.home-member__amount {
  font-size: 1.375rem; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: #f5cd62; font-variant-numeric: tabular-nums;
}
.home-member__per { font-size: .6875rem; color: rgba(255, 255, 255, .6); }
.home-member__benefit {
  margin-top: .5rem; font-size: .75rem; line-height: 1.45; color: rgba(255, 255, 255, .82);
}
.home-member__cta {
  margin-top: .75rem; padding: .5rem .75rem; font-size: .75rem; border-radius: .5rem;
  width: 100%;
}

/* ---- newsletter (runs into the footer CTA band) ----------------------- */
.home-news { border-radius: 1.25rem; padding: 1.25rem; }
@media (min-width: 1024px) { .home-news { padding: 1.5rem 2rem; } }
@media (min-width: 1024px) {
  .home-news__inner {
    display: grid; align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: 2rem;
  }
  .home-news__action { width: 100%; justify-self: end; }
}
.home-news__title { font-size: 1.25rem; line-height: 1.15; margin-top: .5rem; }
@media (min-width: 1024px) { .home-news__title { font-size: 1.625rem; } }
.home-news__body { margin-top: .25rem; font-size: .875rem; line-height: 1.55; }
.home-news__form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .875rem; }
@media (min-width: 1024px) { .home-news__form { margin-top: 0; } }
/* brand.css styles bare `input` with a (0,2,1) selector, so the field rules are
   scoped through `.home-news` to keep hover / focus / placeholder on-brand. */
.home-news .home-news__input {
  flex: 1 1 12rem; min-width: 0;
  padding: .65rem .875rem; border-radius: .625rem;
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff; background: rgba(255, 255, 255, .06); font-size: .875rem;
}
.home-news .home-news__input:hover { border-color: rgba(255, 255, 255, .38); }
.home-news .home-news__input::placeholder { color: rgba(255, 255, 255, .58); }
.home-news .home-news__input:focus {
  outline: none;
  border-color: rgba(245, 205, 98, .75);
  box-shadow: 0 0 0 3px rgba(245, 205, 98, .2);
}
.home-news .home-news__input:focus-visible {
  outline: 2px solid rgba(245, 205, 98, .9);
  outline-offset: 2px;
}
.home-news__submit { padding: .65rem 1.15rem; font-size: .875rem; border-radius: .625rem; }
/* stacked form on small phones: flex-basis must not become a tall input */
@media (max-width: 479px) {
  .home-news__form { flex-direction: column; }
  .home-news__form .home-news__input { flex: none; width: 100%; }
  .home-news__form .home-news__submit { width: 100%; }
}

/* ---- demo notice (memberships + newsletter) ---------------------------- */
.home-demo-note {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem;
  padding: .4rem .7rem; border-radius: .5rem;
  font-size: .75rem; font-weight: 600; line-height: 1.3; color: #f5cd62;
  background: rgba(245, 205, 98, .1); box-shadow: inset 0 0 0 1px rgba(245, 205, 98, .35);
}
.home-demo-note::before {
  content: ""; width: .375rem; height: .375rem; border-radius: 9999px; background: #f5cd62; flex: none;
}
.home-demo-note[hidden] { display: none; }

/* ---- footer: close the sawtooth seam + tighten the CTA band ------------
   The jag is filled #021c25 (brand.css) and the band underneath used .ink-stage's
   radial gradient (#12333f at the top), so the teeth sat on a lighter slab and
   read as a seam. Flattening the band to the jag colour merges the two. The
   footer markup is shared, so this is scoped to `footer` here and applies to
   index.html only. ------------------------------------------------------ */
footer .ink-stage {
  background-color: #021c25;
  background-image: none;
}
footer .pt-14 { padding-top: 2rem; }
footer .pb-10 { padding-bottom: 1.5rem; }
footer .pb-12 { padding-bottom: 1.5rem; }
footer .py-12 { padding-top: 1.75rem; padding-bottom: 1.75rem; }

/* ---- small screens ---------------------------------------------------- */
@media (max-width: 400px) {
  .home-hero__title { font-size: 2rem; }
  .home-hero__facts { font-size: .5625rem; letter-spacing: .12em; }
  .live-room { padding: .5rem; }
  .home-member { padding: .75rem; }
  .home-member__amount { font-size: 1.25rem; }
  .home-card { padding: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__ctas .btn:hover,
  .btn-gold:hover:not(:active) { transform: none; }
  .home-fact__dot,
  .live-badge__dot { animation: none !important; }
}


/* --- tiers carry the same marks as /membership/ ------------------------- */
.home-member__disc {
  width: 26px; height: 26px; border-radius: 999px;
  border: 2px solid var(--tier-colour, #f5cd62);
  background-repeat: no-repeat; background-position: center; background-size: 14px 14px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tier-colour) 16%, transparent);
  flex: 0 0 auto;
}
.home-member[data-membership-tier="Standard"] .home-member__disc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='7.5' fill='none' stroke='%237d8798' stroke-width='2.8'/%3E%3C/svg%3E");
}
.home-member[data-membership-tier="Bronze"] .home-member__disc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cd7f32' d='M12 3.4l8.6 8.6-8.6 8.6L3.4 12z'/%3E%3C/svg%3E");
}
.home-member[data-membership-tier="Silver"] .home-member__disc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c9ccd1' d='M12 3.8l8.7 15.9H3.3z'/%3E%3C/svg%3E");
  background-size: 12px 12px;
}
.home-member[data-membership-tier="Gold"] .home-member__disc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5cd62' d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5-5.8-3.1-5.8 3.1 1.1-6.5L2.6 9.4l6.5-.9z'/%3E%3C/svg%3E");
  background-size: 16px 16px;
}
.home-member__gift {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: 0.4rem; row-gap: 0.1rem;
  margin-top: 0.4rem; font-size: 0.8125rem; font-weight: 600;
  color: #f5cd62;
}
.home-member__gift > span[aria-hidden] { grid-row: span 2; }

/* the gift line on a membership card is the hook: keep the promise readable
   without letting it wrap into two heavy lines */
.home-member__gift { flex-wrap: wrap; }
.home-member__gift-note {
  grid-column: 2;
  color: color-mix(in srgb, #f5cd62 70%, #ffffff);
  font-weight: 500;
  font-size: 0.75rem;
}

/* --- weekly host roster (fed by data/schedule.json) --------------------- */
.live-week {
  display: grid;
  gap: 0.35rem;
  padding: 0.7rem 0.15rem 0.2rem;
  font-size: 0.75rem;
}
.live-week__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.live-week__label { font-weight: 700; color: #fff; }
.live-week__range { color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
.live-week__days,
.live-week__row { display: grid; grid-template-columns: 5.2rem repeat(7, minmax(0, 1fr)); gap: 0.2rem; align-items: center; }
.live-week__day { text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 0.6875rem; line-height: 1.2; }
.live-week__day b { display: block; color: #fff; font-size: 0.75rem; font-weight: 700; }
.live-week__slot { color: var(--color-primary, #f5cd62); font-weight: 700; font-variant-numeric: tabular-nums; }
.live-week__cell {
  text-align: center; padding: 0.15rem 0.1rem; border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.live-week__cell.is-off { color: rgba(255, 255, 255, 0.25); background: transparent; }
@media (max-width: 640px) {
  .live-week { font-size: 0.6875rem; }
  .live-week__days, .live-week__row { grid-template-columns: 3.9rem repeat(7, minmax(0, 1fr)); }
}

/* weekly roster keeps the avatar cards; the times just change every week */
.live-week-cap {
  margin: 0.65rem 0 0.15rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-primary, #f5cd62) 70%, #ffffff);
}
.live-hosts--weekly { margin-top: 0.35rem; }
.live-hosts--weekly .live-host__time { display: block; font-size: 0.6875rem; line-height: 1.35; }
.live-host__avatar--initials {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 2rem; height: 2rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff; font-weight: 700; font-size: 0.8125rem;
}

/* weekly roster cards: name on the first line, each shift range under it */
.live-hosts--weekly .live-host { align-items: flex-start; }
.live-hosts--weekly .live-host__meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
}
.live-hosts--weekly .live-host__name { font-size: 0.75rem; }
.live-hosts--weekly .live-host__time {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .live-hosts--weekly { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
