/* All Your Gyms — iD dark theme */
:root {
  --bg: #0E0F11;
  --surface: #17181B;
  --surface-2: #26282D;
  --surface-3: #30333A;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #F8F6F2;
  --text-2: #C8C3BA;
  --text-3: #9A9EA6;
  --green: #F0A93B;
  --green-hover: #F7C46E;
  --green-dim: rgba(240, 169, 59, 0.12);
  --green-ink: #0E0F11;
  --forest: #7A4BC2;
  --silver: #EFEBE4;

  --font: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 180ms var(--ease);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--text-base); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100dvh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--green); color: var(--green-ink); padding: 8px 12px; border-radius: var(--r-sm); z-index: 100; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.muted { color: var(--text-2); }
.eyebrow { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.h2 { font-size: var(--text-xl); font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; }
.fineprint { font-size: var(--text-xs); color: var(--text-3); margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: var(--text-sm); text-decoration: none; white-space: nowrap;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
}
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 38px; padding: 0 16px; }
.btn--primary { background: var(--green); color: var(--green-ink); }
.btn--primary:hover { background: var(--green-hover); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--block { width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(14, 15, 17, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header__inner { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand__by { font-size: 0.75rem; color: var(--text-3); font-weight: 600; }
.brand__by b { color: var(--green); }
.nav { display: flex; gap: 4px; }
.nav__link { padding: 8px 12px; border-radius: 999px; font-size: var(--text-sm); font-weight: 600; color: var(--text-2); text-decoration: none; transition: color var(--t), background var(--t); }
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--text); background: var(--surface-2); }
.header__actions { margin-left: auto; display: flex; gap: 8px; position: relative; }

/* Feed intro */
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: clamp(28px, 5vw, 48px) 0 24px; flex-wrap: wrap; }
.intro__title { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; max-width: 20ch; }
.intro__sub { color: var(--text-2); margin-top: 8px; font-size: var(--text-base); }
.intro__count { color: var(--text-3); }
.founding-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--green-dim); border: 1px solid rgba(240, 169, 59, 0.3); color: var(--text); text-decoration: none; font-size: var(--text-sm); transition: border-color var(--t); }
.founding-pill:hover { border-color: var(--green); }
.founding-pill b { color: var(--green); }
.founding-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(240, 169, 59, 0.18); }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; background: none; border: 0; padding: 12px 14px; min-height: 44px; font-weight: 600; font-size: var(--text-sm); color: var(--text-2); white-space: nowrap; transition: color var(--t); }
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); }
.tab.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--green); border-radius: 2px; }

/* Controls */
.controls { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 20px; }
.search { position: relative; display: block; max-width: 520px; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; min-height: 44px; padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: var(--text-base); transition: border-color var(--t); }
.search input::placeholder { color: var(--text-3); }
.search input:focus { outline: none; border-color: var(--green); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--text-2); font-size: var(--text-sm); font-weight: 600; transition: all var(--t); }
.chip:hover { color: var(--text); border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: var(--green-ink); }

/* Grid + cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 16px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--t); animation: rise 420ms var(--ease) both; }
.card:hover { border-color: var(--border-strong); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__btn { position: absolute; inset: 0; border: 0; padding: 0; background: none; display: grid; place-items: center; }
.player__btn:hover img { transform: scale(1.03); }
.player__play { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: rgba(8, 9, 11, 0.72); border: 2px solid var(--green); display: grid; place-items: center; transition: transform var(--t), background var(--t); }
.player__play svg { width: 20px; height: 20px; fill: var(--green); margin-left: 3px; }
.player__btn:hover .player__play { transform: scale(1.08); background: var(--green); }
.player__btn:hover .player__play svg { fill: var(--green-ink); }
.player__cat { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(8, 9, 11, 0.78); font-size: var(--text-xs); font-weight: 700; color: var(--text); }
.card__body { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 0.9375rem; font-weight: 650; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.byline { display: flex; align-items: center; gap: 8px; min-width: 0; }
.avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 0.6875rem; font-weight: 800; color: var(--green-ink); background: var(--green); }
.avatar--pro { background: var(--silver); }
.avatar--brand { background: var(--text); }
.avatar--media { background: var(--forest); color: var(--text); }
.byline__name { font-size: var(--text-sm); font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; white-space: nowrap; border: 1px solid var(--border-strong); color: var(--text-2); }
.badge--pro { color: var(--silver); border-color: rgba(239, 235, 228, 0.35); }
.badge--brand { color: var(--text); }
.badge--creator { color: var(--green); border-color: rgba(240, 169, 59, 0.35); }
.badge svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.star { margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--text-3); transition: color var(--t); }
.star svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.star:hover { color: var(--text); }
.star.is-on { color: var(--green); }
.star.is-on svg { fill: currentColor; }
.meta { font-size: var(--text-xs); color: var(--text-3); font-variant-numeric: tabular-nums; }
.actions { display: flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.act { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 999px; border: 0; background: none; color: var(--text-2); font-size: var(--text-xs); font-weight: 700; font-variant-numeric: tabular-nums; transition: color var(--t), background var(--t); }
.act:hover { color: var(--text); background: var(--surface-2); }
.act svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.act.is-on { color: var(--green); }
.act.is-on svg { fill: currentColor; }
.act--push { margin-left: auto; }
.card.is-open .comments { display: block; }

/* Channels */
.ch-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; animation: rise 420ms var(--ease) both; }
.ch-card__top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ch-card .avatar { width: 44px; height: 44px; font-size: var(--text-sm); }
.ch-card__name { font-weight: 700; font-size: var(--text-base); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-card__stats { display: flex; gap: 16px; font-size: var(--text-xs); color: var(--text-3); }
.ch-card__stats b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.ch-card__links { display: flex; gap: 8px; }
.ch-card__links .btn { flex: 1; min-height: 38px; }

.empty { text-align: center; padding: 64px 16px; color: var(--text-2); }
.empty svg { width: 48px; height: 48px; fill: none; stroke: var(--text-3); stroke-width: 2; margin: 0 auto 12px; }
.empty__title { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.more { display: flex; justify-content: center; padding: 8px 0 56px; }

/* Join hero */
.hero { position: relative; min-height: clamp(420px, 62vh, 600px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 15, 17, 0.96) 0%, rgba(14, 15, 17, 0.82) 38%, rgba(14, 15, 17, 0.1) 72%), linear-gradient(0deg, rgba(14, 15, 17, 0.9), transparent 40%); }
.hero__inner { position: relative; padding-top: 48px; padding-bottom: 48px; }
.hero__title { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.hero__sub { margin-top: 16px; max-width: 46ch; color: var(--text-2); font-size: var(--text-lg); }
.hero__ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero { align-items: flex-end; }
  .hero__img { object-position: 78% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(14, 15, 17, 0.98) 30%, rgba(14, 15, 17, 0.55) 70%, rgba(14, 15, 17, 0.2)); }
}

/* Founding */
.founding { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-top: 48px; padding: clamp(20px, 4vw, 32px); border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(240, 169, 59, 0.1), rgba(122, 75, 194, 0.08)); border: 1px solid rgba(240, 169, 59, 0.25); }
.founding__copy p:not(.eyebrow) { margin-top: 10px; color: var(--text-2); max-width: 52ch; }
.meter__row { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--text-2); margin-bottom: 8px; }
.meter__row b { color: var(--text); font-variant-numeric: tabular-nums; }
.meter { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.meter__split { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 16px; font-size: var(--text-sm); color: var(--text-2); flex-wrap: wrap; }
.meter__split b { color: var(--text); }
@media (max-width: 760px) { .founding { grid-template-columns: 1fr; gap: 20px; } }

/* Pricing */
.section { padding: 64px 0 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.section__head .muted { margin-top: 8px; max-width: 52ch; }
.toggles { display: flex; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.seg__btn { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: var(--text-sm); font-weight: 650; display: inline-flex; align-items: center; gap: 6px; transition: all var(--t); }
.seg__btn:hover { color: var(--text); }
.seg__btn.is-active { background: var(--surface-3); color: var(--text); }
.save { font-size: 0.6875rem; color: var(--green); font-weight: 700; }
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tiers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tiers, .tiers--3 { grid-template-columns: 1fr; } }
.tier { position: relative; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; animation: rise 420ms var(--ease) both; }
.tier--free { border-color: rgba(240, 169, 59, 0.45); }
.tier__name { font-weight: 750; font-size: var(--text-lg); }
.tier__range { font-size: var(--text-sm); color: var(--text-2); }
.tier__price { margin-top: 12px; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier__price small { font-size: var(--text-sm); font-weight: 600; color: var(--text-3); letter-spacing: 0; }
.tier__note { font-size: var(--text-xs); color: var(--text-3); min-height: 1.2em; }
.tier__list { list-style: none; padding: 12px 0 0; margin: 8px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; font-size: var(--text-sm); color: var(--text-2); }
.tier__list li { display: flex; gap: 8px; }
.tier__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--green); }
.tier__tag { position: absolute; top: -10px; right: 14px; padding: 2px 10px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-size: 0.6875rem; font-weight: 800; }

/* Boost */
.boost { margin-top: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: clamp(20px, 4vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.boost__main p:not(.eyebrow) { margin-top: 10px; color: var(--text-2); max-width: 58ch; }
.split { display: flex; height: 44px; border-radius: var(--r-md); overflow: hidden; font-size: var(--text-sm); font-weight: 750; }
.split__a { background: var(--green); color: var(--green-ink); display: flex; align-items: center; padding-left: 14px; }
.split__b { background: var(--surface-3); color: var(--text-2); display: flex; align-items: center; justify-content: center; }
@media (max-width: 760px) { .boost { grid-template-columns: 1fr; gap: 20px; } }

/* Rules */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.rule { padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--border); }
.rule svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.rule h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: 6px; }
.rule p { font-size: var(--text-sm); color: var(--text-2); }

/* Apply */
.apply { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: 80px; }
@media (max-width: 860px) { .apply { grid-template-columns: 1fr; } }
.apply__intro .muted { margin-top: 10px; max-width: 46ch; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: var(--text-sm); }
.steps li::before { content: counter(s); width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green-dim); color: var(--green); font-weight: 800; font-size: var(--text-xs); }
.steps b { color: var(--text); }
.form, .success { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: var(--text-sm); font-weight: 650; color: var(--text); padding: 0; margin-bottom: 0; }
fieldset.field legend { margin-bottom: 6px; }
.field input, .field select { min-height: 44px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--bg); font-size: var(--text-base); transition: border-color var(--t); width: 100%; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3B0A8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); }
.field.has-error input { border-color: #FF6B6B; }
.field__err { display: none; font-size: var(--text-xs); color: #FF8A8A; }
.field.has-error .field__err { display: block; }
.radios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .radios { grid-template-columns: 1fr 1fr; } }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 6px 10px; border-radius: var(--r-md); border: 1px solid var(--border-strong); font-size: var(--text-sm); font-weight: 600; color: var(--text-2); transition: all var(--t); }
.radio input:checked + span { border-color: var(--green); color: var(--text); background: var(--green-dim); }
.radio input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); color: var(--text-2); cursor: pointer; min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.tier-result { border-radius: var(--r-md); padding: 14px 16px; background: var(--surface-2); border: 1px dashed var(--border-strong); font-size: var(--text-sm); color: var(--text-2); }
.tier-result b { color: var(--text); }
.tier-result .price { color: var(--green); font-weight: 800; }
.success { align-items: flex-start; }
.success svg { width: 48px; height: 48px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success p { color: var(--text-2); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; margin-top: 24px; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; font-size: var(--text-sm); }
.footer__name { font-weight: 800; }
.footer__nav { display: flex; gap: 16px; font-size: var(--text-sm); }
.footer__nav a { color: var(--text-2); text-decoration: none; }
.footer__nav a:hover { color: var(--green); }
.footer__meta { margin-left: auto; font-size: var(--text-xs); color: var(--text-3); }

/* Toast */
.toasts { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 80; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text); padding: 10px 16px; border-radius: 999px; font-size: var(--text-sm); font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); animation: toast 2600ms var(--ease) both; }
@keyframes toast { 0% { opacity: 0; transform: translateY(8px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

[hidden] { display: none !important; }

@media (max-width: 720px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(16px, 4vw, 32px)); padding: 0 clamp(16px, 4vw, 32px); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .nav { display: none; }
  .header__inner { gap: 12px; }
  .intro { align-items: flex-start; }
}
.signin__short { display: none; }
@media (max-width: 480px) {
  .signin__long { display: none; } .signin__short { display: inline; }
  .brand__name { white-space: nowrap; } .brand { gap: 8px; } .brand__mark { width: 32px; height: 32px; }
  .header__inner { gap: 8px; } .header__actions { gap: 6px; }
  .header__actions .btn--sm { padding-left: 11px; padding-right: 11px; font-size: 13px; white-space: nowrap; }
}
/* Smallest phones: keep both buttons and show just the logo mark */
@media (max-width: 370px) { .brand__text { display: none; } }
@media (max-width: 900px) and (min-width: 721px) { .signin__long { display: none; } .signin__short { display: inline; } .nav__link { padding-left: 10px; padding-right: 10px; } .nav__link[data-route=join] { display: none; } }
.nav__link { white-space: nowrap; }
.header__inner { min-width: 0; } .header__actions { flex: none; } .brand { min-width: 0; }
.signin__perks { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.signin__perks li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 14px; line-height: 1.45; }
.signin__perks li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.check--box { padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.02); }
.check--box.is-attn { border-color: var(--green); background: var(--green-dim); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Shorts & Reels */
.rail { margin-bottom: 28px; }
.rail__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rail__title { font-size: var(--text-lg); font-weight: 750; }
.rail__all { background: none; border: 0; color: var(--green); font-weight: 700; font-size: var(--text-sm); min-height: 36px; padding: 0 4px; }
.rail__all:hover { text-decoration: underline; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.rail__track .short { scroll-snap-align: start; }
.grid--shorts { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .grid--shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { .grid--shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid--shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rail__track { grid-auto-columns: 160px; } }
.player--tall { aspect-ratio: 9 / 16; }
.player__pf { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(8, 9, 11, 0.78); display: grid; place-items: center; color: var(--text); }
.pf { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.pf .pf-fill, .pf-fill { fill: currentColor; stroke: none; }
.short .player__play { width: 46px; height: 46px; }
.short__body { padding: 10px 12px 8px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.short__title { font-size: var(--text-sm); font-weight: 650; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.short__by { font-size: var(--text-xs); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.short__acts { display: flex; margin-top: auto; padding-top: 4px; }
.short .act { padding: 0 8px; }
.avatar--host { background: none; }
.avatar { position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--surface-2, #1a2420); }
.avatar--pic { color: transparent; }
.founding-pill__left { font-weight: 700; color: var(--green); }
.founding-pill__left::before { content: "· "; color: var(--text-3); font-weight: 400; }
.founding__meter #places-left, .founding__meter .meter__split b { transition: opacity 200ms ease; }
.founding__meter:not(.is-loaded) #places-left, .founding__meter:not(.is-loaded) .meter__split b { opacity: 0; }
.founding__meter:not(.is-loaded) .meter span { width: 0 !important; }
.avatar--host svg { width: 100%; height: 100%; }
.badge--host { color: var(--green); border-color: rgba(240, 169, 59, 0.35); }
.btn--icon { flex: 0 0 44px !important; padding: 0; }
.btn--icon .pf { width: 18px; height: 18px; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--text-3); font-weight: 600; }
.field .input-prefix input { padding-left: 30px; }
.field__hint { font-size: var(--text-xs); color: var(--text-3); margin-top: -6px; }

/* Legal pages */
.legal { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-top: clamp(32px, 5vw, 56px); padding-bottom: 80px; align-items: start; }
@media (max-width: 820px) { .legal { grid-template-columns: 1fr; } }
.legal__nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 820px) { .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; } }
.legal__nav a { padding: 8px 12px; border-radius: var(--r-md); color: var(--text-2); text-decoration: none; font-size: var(--text-sm); font-weight: 600; }
@media (max-width: 820px) { .legal__nav a { border: 1px solid var(--border-strong); border-radius: 999px; } }
.legal__nav a:hover { color: var(--text); background: var(--surface-2); }
.legal__nav a.is-active { color: var(--text); background: var(--surface-2); box-shadow: inset 2px 0 0 var(--green); }
.prose { max-width: 72ch; color: var(--text-2); }
.prose h1 { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1.15; }
.legal__meta { font-size: var(--text-sm); color: var(--text-3); margin: 8px 0 24px; }
.prose h2 { font-size: var(--text-lg); font-weight: 750; color: var(--text); margin: 36px 0 10px; scroll-margin-top: 88px; }
.prose h3 { font-size: var(--text-base); font-weight: 700; color: var(--text); margin: 20px 0 6px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose b { color: var(--text); font-weight: 650; }
.prose a { color: var(--green); text-underline-offset: 3px; }
.prose a:hover { color: var(--green-hover); }
.table-wrap { overflow-x: auto; margin: 4px 0 16px; border: 1px solid var(--border); border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); background: var(--surface); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.form__legal { margin-top: 0; text-align: center; }
.form__legal a, .footer__meta a { color: var(--text-2); }
.footer__meta { max-width: 46ch; text-align: right; }
@media (max-width: 720px) { .footer__meta { margin-left: 0; text-align: left; } }

/* Cookie banner + modal */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px clamp(12px, 3vw, 24px) calc(12px + env(safe-area-inset-bottom)); animation: slideup 380ms var(--ease) both; }
@keyframes slideup { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie__inner { max-width: var(--max); margin: 0 auto; display: flex; gap: 24px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5); }
.cookie__copy { flex: 1; font-size: var(--text-sm); color: var(--text-2); }
.cookie__title { font-weight: 750; color: var(--text); font-size: var(--text-base); margin-bottom: 4px; }
.cookie__copy a { color: var(--green); }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
@media (max-width: 900px) { .cookie__inner { flex-direction: column; align-items: stretch; gap: 14px; } .cookie__actions { display: grid; grid-template-columns: 1fr 1fr; } .cookie__actions .btn--ghost { grid-column: 1 / -1; } }
@media (max-width: 400px) { .cookie__actions { grid-template-columns: 1fr; } }
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); animation: fade 200ms ease both; }
@keyframes fade { from { opacity: 0; } }
.modal__panel { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); animation: rise 300ms var(--ease) both; }
.modal__panel:focus { outline: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal__title { font-size: var(--text-lg); font-weight: 750; }
.modal__x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--text-2); display: grid; place-items: center; }
.modal__x:hover { background: var(--surface-2); color: var(--text); }
.modal__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal__intro { font-size: var(--text-sm); color: var(--text-2); margin: 6px 0 16px; }
.pref { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--border); }
.pref__text { font-size: var(--text-sm); color: var(--text-2); }
.pref__name { display: block; font-weight: 700; color: var(--text); font-size: var(--text-base); margin-bottom: 2px; }
.pref__always { flex: none; font-size: var(--text-xs); font-weight: 700; color: var(--green); padding-top: 4px; }
.switch { position: relative; flex: none; width: 48px; height: 28px; margin-top: 2px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-strong); transition: background var(--t); pointer-events: none; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-2); transition: transform var(--t), background var(--t); }
.switch input:checked + span { background: var(--green); border-color: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--green-ink); }
.switch input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.modal__actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); }
@media (max-width: 480px) { .modal__actions .btn { flex: 1 1 100%; } }
body.no-scroll { overflow: hidden; }
.footer__btn, .linkbtn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer__btn { color: var(--text-2); font-size: var(--text-sm); }
.footer__btn:hover { color: var(--green); }
.linkbtn { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-size: 0.85em; background: var(--surface-2); padding: 1px 6px; border-radius: 4px; color: var(--text); }
/* Click-to-play gate */
.gate { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 14px; text-align: center; background: rgba(8, 9, 11, 0.9); backdrop-filter: blur(4px); font-size: var(--text-sm); color: var(--text); animation: fade 160ms ease both; }
.gate__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.short .gate { font-size: var(--text-xs); }
.short .gate .btn { min-height: 34px; padding: 0 12px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: 0.6; cursor: wait; }

.modal__panel--sm { width: min(440px, 100%); display: flex; flex-direction: column; gap: 14px; }
.modal__panel--sm .modal__intro { margin: 0; }
.gsi { min-height: 44px; display: flex; justify-content: center; }
.field__hint a { color: var(--text-2); }

/* ---------- Pricing v2 ---------- */
.tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.tiers--1 { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
@media (max-width: 700px) { .tiers--2 { grid-template-columns: 1fr; } }
.tier--soon { border-style: dashed; }
.tier--soon .tier__price { color: var(--text-2); font-size: 1.5rem; }
a.byline__name { text-decoration: none; }
a.byline__name:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Proof block */
.proof { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: clamp(20px, 4vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.proof__main p:not(.eyebrow) { margin: 10px 0 20px; color: var(--text-2); max-width: 52ch; }
.proof__steps { list-style: none; counter-reset: p; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.proof__steps li { counter-increment: p; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.proof__steps li::before { content: counter(p); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green-dim); color: var(--green); font-weight: 800; font-size: var(--text-xs); }
.proof__steps b { font-size: var(--text-base); }
.proof__steps span { font-size: var(--text-sm); color: var(--text-2); }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Audience ---------- */
.aud { padding-top: 40px; padding-bottom: 80px; }
.aud__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.aud__head .intro__title { max-width: 22ch; }
.aud__notice { margin-top: 24px; padding: 14px 18px; border-radius: var(--r-md); background: var(--green-dim); border: 1px solid rgba(240, 169, 59, 0.3); font-size: var(--text-sm); color: var(--text-2); }
.aud__notice b { color: var(--text); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.kpi__label { font-size: var(--text-sm); color: var(--text-2); font-weight: 600; }
.kpi__value { margin-top: 8px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi__note { margin-top: 8px; font-size: var(--text-xs); color: var(--text-3); }
.aud__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 12px; }
.aud__grid--cta { grid-template-columns: 1fr 1fr; margin-top: 48px; }
@media (max-width: 860px) { .aud__grid, .aud__grid--cta { grid-template-columns: 1fr; } }
.panel { padding: clamp(18px, 3vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.panel--accent { background: linear-gradient(135deg, rgba(240, 169, 59, 0.1), rgba(122, 75, 194, 0.08)); border-color: rgba(240, 169, 59, 0.25); }
.panel .btn { align-self: flex-start; }
.panel .hero__ctas { margin-top: 4px; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.panel__title { font-size: var(--text-base); font-weight: 700; }
.panel__sub { font-size: var(--text-xs); color: var(--text-3); }
.panel__empty { font-size: var(--text-sm); color: var(--text-3); margin: auto; text-align: center; }
.bars { height: 200px; display: flex; align-items: flex-end; gap: 4px; padding-top: 8px; border-bottom: 1px solid var(--border); }
.bar { flex: 1; min-width: 3px; background: var(--green); border-radius: 3px 3px 0 0; opacity: 0.85; transition: opacity var(--t); }
.bar:hover { opacity: 1; }
.bar { position: relative; max-width: 28px; }
.bars { justify-content: space-between; padding-top: 22px; }
.bar--zero { background: var(--border); opacity: 1; }
.bar__val { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--text); }
.bars__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--text-2); }
.toplist { list-style: none; counter-reset: t; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1; }
.toplist li:not(.panel__empty) { counter-increment: t; display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: var(--text-sm); }
.toplist li:not(.panel__empty)::before { content: counter(t); width: 20px; color: var(--text-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.toplist__name { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toplist__val { color: var(--text-2); font-variant-numeric: tabular-nums; }
.numlist { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); font-size: var(--text-sm); }
.numlist b { color: var(--text); }
.aud__how { max-width: 80ch; margin-top: 24px; }
.footer__nav { flex-wrap: wrap; row-gap: 10px; }
.footer__nav a, .footer__btn { white-space: nowrap; }

.card.is-linked { outline: 2px solid var(--green); outline-offset: 4px; border-radius: var(--r-lg); }

.reel-ph { position: absolute; inset: 0; display: block; background: radial-gradient(120% 80% at 20% 0%, #2a1f3d 0%, transparent 60%), radial-gradient(120% 80% at 100% 100%, #3d1f2a 0%, transparent 55%), var(--surface-2, #17201A); }

.controls__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: var(--surface-2, #17201A); border: 1px solid var(--border-strong); }
.seg__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: all var(--t); }
.seg__btn:hover { color: var(--text); }
.seg__btn.is-active { background: var(--green); color: var(--green-ink); }
/* Green outline on hover for the feed's filter buttons, matching the brand green */
@media (hover: hover) {
  .chip:not(.is-active):hover { box-shadow: 0 0 0 1px var(--green), 0 0 12px rgba(240, 169, 59, .18); background: var(--green-dim); }
  #platform .seg__btn:not(.is-active):hover { box-shadow: inset 0 0 0 1px var(--green); }
  .tab:not(.is-active):hover::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--green); opacity: .45; border-radius: 2px; }
}
.seg__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.seg__btn svg .pf-fill { fill: currentColor; stroke: none; }
.seg__btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 720px) {
  .controls__row { flex-direction: column; align-items: stretch; }
  .seg { align-self: flex-start; }
}

/* Sponsored banners: a continuously scrolling strip of sponsor panels */
.grid:has(.ad) { grid-auto-flow: row dense; }
.ad { grid-column: 1 / -1; position: relative; min-width: 0; animation: rise 420ms var(--ease) both; }
.ad__viewport { overflow: hidden; border-radius: var(--r-lg); }
.ad--strip.is-moving .ad__viewport { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
.ad__track { display: flex; gap: 14px; width: max-content; }
.ad__group { display: flex; gap: 14px; flex: none; }
.ad--strip.is-moving .ad__track { animation: adstrip var(--dur, 30s) linear infinite; will-change: transform; }
@keyframes adstrip { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--shift, 50%))); } }
.ad--strip.is-paused .ad__track, .ad--strip.is-held .ad__track, .ad--strip:not(.is-visible) .ad__track { animation-play-state: paused; }
@media (hover: hover) { .ad--strip:hover .ad__track { animation-play-state: paused; } }
.ad--strip:focus-within .ad__track { animation-play-state: paused; }

/* One panel */
.ad__slide { position: relative; flex: none; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px;
  width: clamp(272px, 44vw, 520px); min-height: 260px; padding: 22px 22px 22px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  color: inherit; text-decoration: none; background: var(--surface); border: 1px solid var(--border); }
.ad--page .ad__slide { min-height: 240px; }
.ad__copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ad__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3, #7C8A82); }
.ad__headline { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.2; font-weight: 800; color: var(--text); text-wrap: balance; }
.ad__brand { text-transform: none; letter-spacing: .02em; }
.ad__text { color: var(--text-2); font-size: var(--text-sm); line-height: 1.45; max-width: 46ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ad__cta { flex: none; pointer-events: none; }
.ad__slide:hover .ad__cta { filter: brightness(1.08); }
.ad__slide:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

/* Words only */
.ad__slide--text { background: radial-gradient(120% 160% at 100% 0%, rgba(240, 169, 59, .16), transparent 55%), var(--surface-2, #17201A); }

/* Photo with words: picture behind the headline, text and button */
.ad__bg, .ad__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ad__bg { z-index: -2; }
.ad__bg img { display: block; object-fit: cover; object-position: center 60%; transition: transform 600ms var(--ease); }
.ad__slide--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 9, 11, .05) 0%, rgba(8, 9, 11, .5) 38%, rgba(8, 9, 11, .92) 100%); }
.ad__slide--photo:hover .ad__bg img { transform: scale(1.03); }
.ad__slide--photo .ad__label { color: #C9D3CD; }
.ad__slide--photo .ad__headline { color: #F2F5F3; }
.ad__slide--photo .ad__text { color: #DCE3DF; }

/* Picture only (the artwork already has its words) */
.ad__slide--img { justify-content: flex-start; padding: 0; }
.ad__slide--img .ad__label { position: absolute; top: 10px; left: 10px; background: rgba(8, 9, 11, .78); color: #F2F5F3; padding: 3px 9px; border-radius: 999px; }

/* Pause / play */
.ad__pause { position: absolute; right: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 10px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(8, 9, 11, .78); color: #F2F5F3; font: 600 12px/1 var(--font); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ad__pause:hover { background: rgba(8, 9, 11, .92); }
.ad__pause:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.ad__pause-icon { width: 10px; height: 10px; flex: none; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.ad__pause[aria-pressed="true"] .ad__pause-icon { background: currentColor; clip-path: polygon(10% 0, 100% 50%, 10% 100%); }

@media (max-width: 640px) {
  .ad__slide { width: min(82vw, 340px); min-height: 300px; padding: 20px 18px; }
  .ad--page .ad__slide { min-height: 280px; }
  .ad__bg img { object-position: center 70%; }
}

/* Visitors who prefer less motion: no movement, swipe or scroll the panels by hand */
@media (prefers-reduced-motion: reduce) {
  .ad__viewport { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .ad__slide { scroll-snap-align: start; }
  .ad__bg img { transition: none; }
}

/* Page banners: top and bottom of every page */
.page-ad[hidden] { display: none; }
.page-ad--top { margin-top: clamp(20px, 4vw, 32px); margin-bottom: clamp(4px, 1vw, 8px); }
.page-ad--bottom { margin-top: clamp(32px, 5vw, 48px); margin-bottom: clamp(32px, 5vw, 56px); }
.aud .page-ad--top { margin: 4px 0 clamp(20px, 3vw, 28px); }
.page-ad .ad { animation: none; }

.oneoffs { margin-top: 12px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.oneoffs__title { font-weight: 700; margin: 0 0 8px; display: flex; gap: 10px; align-items: baseline; }
.oneoffs__title span { font-weight: 500; font-size: var(--text-xs); color: var(--text-3); }
.oneoffs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; font-size: var(--text-sm); color: var(--text-2); }
.oneoffs li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.oneoffs li b { color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) { .oneoffs ul { grid-template-columns: 1fr; } }

/* Email-code sign-in */
.or-rule { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--text-3); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 650; }
.or-rule::before, .or-rule::after { content: ""; flex: 1; height: 1px; background: var(--border-strong); }
.email-signin { margin-bottom: 14px; }
.email-signin .field { gap: 8px; }
.email-signin .btn { margin-top: 4px; }
.email-signin #es-code { letter-spacing: 0.4em; font-size: var(--text-lg); font-weight: 700; text-align: center; }
.email-signin .field__err.is-on { display: block; }
.es-links { margin-top: 2px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; }

/* Phone fixes: keep legal pages and the category chips inside the screen */
.legal > * { min-width: 0; }
.prose { overflow-wrap: anywhere; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }
.chips { min-width: 0; max-width: 100%; }

/* Signed-in account menu */
.account { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 240px; max-width: min(320px, calc(100vw - 24px)); padding: 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); display: grid; gap: 12px; animation: rise 180ms var(--ease) both; }
.account__who { margin: 0; display: grid; gap: 2px; min-width: 0; }
.account__name { font-weight: 700; color: var(--text); }
.account__email { font-size: var(--text-sm); color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account__out { justify-self: start; }
.account__out:hover { border-color: var(--green); }

/* A video the channel has made private, removed or blocked from other sites */
.player__gone { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 18px; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(240, 169, 59, .08), transparent 60%), #280A41; }
.player__gone-title { margin: 0; font-weight: 800; color: var(--text); font-size: clamp(.95rem, .9rem + .3vw, 1.1rem); }
.player__gone-text { margin: 0 0 6px; color: var(--text-2); font-size: var(--text-sm); max-width: 34ch; }
.player__gone-links { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.player__gone .btn:hover { border-color: var(--green); }

/* ---------- Comments ---------- */
.comments { display: none; padding: 14px 16px 16px; border-top: 1px solid var(--border); background: var(--surface-2); }
.comments--modal { display: block; padding: 0; border: 0; background: none; }
#cm-modal { z-index: 94; }   /* the sign-in pop-up opens on top of it */
.modal__panel--cm { width: min(520px, 100%); display: flex; flex-direction: column; gap: 4px; }
.cm__video { margin: 2px 0 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm__note { font-size: var(--text-sm); color: var(--text-2); margin: 0 0 12px; }
.cm__list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 14px; max-height: 420px; overflow-y: auto; overscroll-behavior: contain; }
.comments--modal .cm__list { max-height: 50dvh; }
.cm { display: flex; gap: 10px; align-items: flex-start; }
.cm__av { width: 32px; height: 32px; flex: none; font-size: 11px; }
.cm__main { min-width: 0; flex: 1; }
.cm__head { display: flex; gap: 8px; align-items: baseline; margin: 0 0 2px; font-size: var(--text-sm); }
.cm__name { font-weight: 700; color: var(--text); }
.cm__ago { color: var(--text-3); font-size: var(--text-xs); }
.cm__text { margin: 0; font-size: var(--text-sm); color: var(--text); line-height: 1.5; overflow-wrap: anywhere; }
.cm__act { border: 0; background: none; padding: 4px 0; margin-top: 2px; color: var(--text-3); font: inherit; font-size: var(--text-xs); font-weight: 700; cursor: pointer; }
.cm__act:hover { color: var(--text); }
.cm__act:disabled { cursor: default; color: var(--text-3); }
.cm__more { display: block; margin: 0 0 10px; }
.cm__form { display: flex; flex-direction: column; gap: 8px; }
.cm__form textarea, .cm__name-in { width: 100%; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: var(--text-sm); resize: vertical; min-height: 44px; transition: border-color var(--t); }
.cm__form textarea { min-height: 64px; }
.cm__form textarea:focus, .cm__name-in:focus { outline: none; border-color: var(--green); }
.cm__row { display: flex; align-items: center; gap: 12px; }
.cm__count { font-size: var(--text-xs); color: var(--text-3); font-variant-numeric: tabular-nums; }
.cm__rules { font-size: var(--text-xs); color: var(--text-2); margin-left: auto; }
.cm__err { margin: 0; min-height: 0; font-size: var(--text-xs); color: var(--text-2); }
.cm__err:empty { display: none; }
.cm__signin p { font-size: var(--text-sm); color: var(--text-2); margin-bottom: 10px; }

/* ---- rolling banner (brands with "ticker" set) ---- */
.ticker { overflow: hidden; background: var(--forest); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ticker__track { display: flex; flex-direction: row; width: max-content; animation: tick 60s linear infinite; }
.ticker__track > * { flex: none; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__item { white-space: nowrap; padding: 9px 28px; font-size: .875rem; color: #fff; text-decoration: none; border-right: 1px solid rgba(255, 255, 255, .18); }
.ticker__item b { color: var(--green); font-weight: 700; }
.ticker__item span { margin-left: 6px; }
@keyframes tick { to { transform: translateX(-50%); } }
/* bottom rolling banner: standard space, just above the footer on every page */
.ticker--bottom { background: var(--surface-2); border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 0; }
.ticker--bottom .ticker__track { animation-duration: 70s; }
.ticker--bottom .ticker__item { color: var(--text-2); }
.ticker--bottom .ticker__item b { color: var(--text); }
.ticker__item--ad b { color: #fff; }
.ticker--bottom .ticker__item--ad b { color: var(--green); }
.ticker__sp { font-style: normal; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; margin-right: 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; vertical-align: 1px; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---- club map (brands with a <slug>.clubs.json file) ---- */
.clubs { display: grid; grid-template-columns: 1fr 360px; gap: 20px; margin: 24px 0 64px; }
.clubs__map { height: 600px; border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; background: var(--surface); }
.clubs__map .leaflet-tile-pane { filter: invert(1) hue-rotate(195deg) saturate(.55) brightness(.85) contrast(.95); }
.clubs__side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 12px; max-height: 600px; }
.clubs__legend { display: flex; gap: 16px; font-size: .8125rem; color: var(--text-2); }
.clubs__legend span { display: flex; align-items: center; gap: 6px; }
.clubs__search { background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); border-radius: 999px; padding: 10px 14px; font: inherit; }
.clubs__list { list-style: none; margin: 0; padding: 0; overflow: auto; display: flex; flex-direction: column; }
.club { display: flex; gap: 10px; padding: 12px 4px; border-bottom: 1px solid var(--border); cursor: pointer; border-radius: 6px; }
.club:hover, .club:focus-visible { background: var(--surface-2); outline: none; }
.club[hidden] { display: none; }
.club div { display: flex; flex-direction: column; gap: 2px; font-size: .8125rem; color: var(--text-2); }
.club b { color: var(--text); font-size: .9375rem; }
.club__claim { color: var(--green); font-weight: 600; text-decoration: none; margin-top: 2px; }
.club__claim:hover { text-decoration: underline; }
.club__nolinks { display: block; color: var(--muted, #5B6B80); font-size: .85em; margin-top: 2px; }
.pin { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--forest); border: 2px solid #fff; margin-top: 4px; display: inline-block; }
.pin--partner { width: 16px; height: 16px; background: var(--green); border-color: var(--forest); }
.mpin { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--forest); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.mpin--partner { width: 30px; height: 30px; background: var(--green); border: 4px solid var(--forest); }
.leaflet-container { font-family: var(--font); }
.leaflet-container { position: relative; z-index: 0; isolation: isolate; }   /* keeps map panes (z-index 400+) under the header, cookie banner and pop-ups */
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface-2); color: var(--text); }
.leaflet-popup-content a { color: var(--green); }
.club-fields[hidden], .form__row[hidden] { display: none; }
.listclub { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.listclub__tiers { list-style: none; margin: 20px 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.listclub__tiers li { display: flex; gap: 12px; align-items: flex-start; }
.listclub__tiers li div { display: flex; flex-direction: column; gap: 2px; color: var(--text-2); font-size: var(--text-sm); }
.listclub__stat { margin: 0 0 20px; padding: 12px 14px; border-left: 3px solid var(--green); background: color-mix(in srgb, var(--text) 5%, transparent); border-radius: 0 8px 8px 0; color: var(--text-2); font-size: var(--text-sm); }
.listclub__stat b { color: var(--text); font-weight: 700; }
.listclub__tiers li b { color: var(--text); font-size: 1rem; }
.listclub__tiers a { color: var(--green); }
.listclub__map { height: 420px; }
@media (max-width: 900px) { .clubs, .listclub { grid-template-columns: 1fr; } .clubs__map { height: 420px; } .listclub__map { height: 340px; } }

/* ---- section links under the header on phones ---- */
.mnav { display: none; }
@media (max-width: 720px) {
  .mnav { display: flex; gap: 4px; overflow-x: auto; padding: 8px clamp(16px, 4vw, 32px); background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 64px; z-index: 49; scrollbar-width: none; }
  .mnav .nav__link { white-space: nowrap; }
}

/* ---- "From <platform>" strip on the feed: our own content, above the videos ---- */
/* own:css:start */
.own { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 4px 0 8px; }
.own__card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.own__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.own__title { font-size: 1.125rem; line-height: 1.3; font-weight: 700; color: var(--text); }
.own__text, .own__tip p { color: var(--text-2); font-size: .9375rem; line-height: 1.5; }
.own__tipt { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.own__tip[hidden] { display: none; }
.own__next { align-self: flex-start; margin-top: auto; color: var(--green); font-weight: 600; }
.own__cta { align-self: flex-start; margin-top: auto; }
.page-ad--feed.page-ad--top { margin-top: 20px; margin-bottom: 8px; }
.page-ad--feed.page-ad--bottom { margin-top: 28px; margin-bottom: 8px; }
@media (max-width: 640px) {
  .own { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(16px, 4vw, 32px); margin: 0 calc(-1 * clamp(16px, 4vw, 32px)); padding: 0 clamp(16px, 4vw, 32px) 4px; scrollbar-width: none; }
  .own::-webkit-scrollbar { display: none; }
  .own__card { flex: 0 0 86%; scroll-snap-align: start; padding: 18px; }
}
/* own:css:end */
/* ---- Find a club: highlighted wherever it appears ---- */
.pin-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.nav__link--hl { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: var(--forest); box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); animation: hlpulse 2.4s ease-out 1.2s 3; }
.nav__link--hl:hover { color: #fff; filter: brightness(1.08); }
.nav__link--hl.is-active { color: #fff; background: var(--forest); box-shadow: inset 0 0 0 2px var(--green); }
@keyframes hlpulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.intro__club { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 16px; border-radius: 999px; background: var(--forest); color: #fff; text-decoration: none; font-size: .9375rem; }
.intro__club b { font-weight: 700; }
.intro__club .pin-ic { width: 18px; height: 18px; color: var(--green); }
.intro__club-n { opacity: .85; margin-left: 4px; }
.intro__club:hover { filter: brightness(1.08); }
.own__card--clubs { grid-column: span 2; background: linear-gradient(135deg, var(--forest), rgba(240, 169, 59, .14) 140%); border-color: transparent; color: #fff; overflow: hidden; }
.own__card--clubs::after { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .07); pointer-events: none; }
.own__card--clubs .own__title { font-size: 1.5rem; color: #fff; }
.own__card--clubs .own__text { color: rgba(255, 255, 255, .85); max-width: 46ch; }
.own__badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .22); color: var(--green); font-size: .8125rem; font-weight: 700; }
.own__form { display: flex; gap: 8px; margin-top: 8px; max-width: 480px; position: relative; z-index: 1; }
.own__form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 0; background: #fff; color: #0B1A2E; font: inherit; font-size: 1rem; }
.own__form .btn { height: 46px; padding: 0 20px; }
@media (max-width: 860px) { .own__card--clubs { grid-column: auto; } }
@media (max-width: 640px) { .nav__link--hl { padding: 8px 10px; } .intro__club { font-size: .875rem; } .own__form .btn { padding: 0 14px; } .own__form input { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .nav__link--hl { animation: none; } }
