/* Athlete Narrative Creators — brand: black + fluorescent lime, angled AN mark.
   Type: Archivo. Headlines use the heavy, wide italic cut to echo the slant of the logo. */
:root {
  --bg: #000000;
  --surface: #111111;
  --surface-2: #1A1A1A;
  --line: #2A2A2A;
  --line-strong: #3A3A3A;
  --text: #F5F5F5;
  --muted: #A3A3A3;
  --lime: #CCFF00;
  --lime-hover: #B8E600;
  --lime-tint: rgba(204, 255, 0, .12);
  --on-lime: #000000;
  --orange: #FF8A3D;
  --orange-tint: rgba(255, 138, 61, .14);
  --green: #6EE7A0;
  --green-tint: rgba(110, 231, 160, .12);
  --amber: #FFC94D;
  --amber-tint: rgba(255, 201, 77, .13);
  --red: #FF6B7A;
  --red-tint: rgba(255, 107, 122, .13);
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sidebar: 248px;
  --mark: url('/img/an-mark.svg');
  box-sizing: border-box;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: inherit; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); }
[hidden] { display: none !important; }
img { max-width: 100%; }
a { color: var(--lime); text-underline-offset: 2px; }
a:hover { color: var(--lime-hover); }
::selection { background: var(--lime); color: var(--on-lime); }
:focus-visible { outline: 3px solid var(--lime); 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: -999px; top: 8px; background: var(--lime); color: var(--on-lime); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- type ---------- */
.display, .display-sm, .h1, .h2 { font-stretch: 115%; font-weight: 850; font-style: italic; letter-spacing: -0.02em; line-height: 1; margin: 0 0 .4em; }
.display { font-size: clamp(3rem, 11vw, 7.5rem); font-stretch: 125%; font-weight: 900; line-height: .9; letter-spacing: -0.035em; }
.display-sm { font-size: clamp(2.4rem, 7vw, 4.5rem); font-stretch: 125%; font-weight: 900; }
.h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.h3 { font-size: 1.15rem; font-weight: 750; font-stretch: 108%; margin: 0 0 .5em; letter-spacing: -0.005em; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.pre { white-space: pre-line; }
.break { word-break: break-all; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 2rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .85em; }
.hint { font-size: .875rem; color: var(--muted); margin: .25rem 0 1rem; }
code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 .3em; font-size: .88em; color: var(--text); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: .6em 1.15em; border-radius: var(--r-sm); border: 2px solid transparent; font: inherit; font-weight: 800; font-stretch: 108%; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-primary { background: var(--lime); color: var(--on-lime); }
.btn-primary:hover { background: var(--lime-hover); color: var(--on-lime); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-ghost-light { background: transparent; color: var(--text); border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: var(--lime); color: var(--lime); }
.btn-danger { background: transparent; color: var(--red); border-color: rgba(255,107,122,.45); }
.btn-danger:hover { background: var(--red-tint); color: var(--red); }
.btn-lg { min-height: 54px; padding: .8em 1.5em; font-size: 1.08rem; }
.btn-sm { min-height: 36px; padding: .35em .9em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 0; color: var(--lime); font: inherit; text-decoration: underline; cursor: pointer; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.icon-btn { width: 34px; height: 30px; border: 1px solid var(--line-strong); background: var(--surface-2); border-radius: var(--r-sm); cursor: pointer; font-size: 1rem; color: var(--text); }
.icon-btn:hover:not([disabled]) { border-color: var(--lime); color: var(--lime); }
.icon-btn[disabled] { opacity: .3; cursor: default; }

/* ---------- forms ---------- */
form label { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 1rem; }
form label small { display: block; font-weight: 400; color: var(--muted); margin-top: .3rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .7em .8em; min-height: 46px; font: inherit; font-weight: 400; font-size: 16px;
  color: var(--text); background: var(--surface-2); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
}
input::placeholder, textarea::placeholder { color: #6F6F6F; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--lime); outline: none; }
input:focus-visible, textarea:focus-visible, select:focus-visible { box-shadow: 0 0 0 3px var(--lime-tint); }
.check { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--lime); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 1.25rem; font-weight: 850; font-style: italic; font-stretch: 112%; margin-bottom: 1rem; padding: 0; }
.grid-2, .grid-3 { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 2fr 1fr 1.4fr; } }
.form-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-actions #next { margin-left: auto; }
.inline-form { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; }
.inline-form label { flex: 1 1 200px; margin-bottom: 0; }
.mono-area { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px !important; }
.tier-set { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1rem 0; margin-bottom: 1rem; }
.tier-set legend { font-size: 1rem; padding: 0 .4rem; margin-bottom: 0; }

/* ---------- notices / pills / badges ---------- */
.notice { padding: .85rem 1rem; border-radius: var(--r); margin: 0 0 1rem; border-left: 4px solid; }
.notice ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.notice-err { background: var(--red-tint); border-color: var(--red); }
.notice-ok { background: var(--green-tint); border-color: var(--green); }
.notice-warn { background: var(--amber-tint); border-color: var(--amber); }
.pill { display: inline-block; padding: .2em .7em; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; background: var(--surface-2); color: var(--muted); vertical-align: middle; }
.pill-due { background: var(--orange-tint); color: var(--orange); }
.pill-submitted { background: var(--lime-tint); color: var(--lime); }
.pill-approved { background: var(--green-tint); color: var(--green); }
.pill-changes_requested { background: var(--amber-tint); color: var(--amber); }
.pill-missed { background: var(--red-tint); color: var(--red); }
.badge { display: inline-block; padding: .25em .75em; border-radius: var(--r-sm); font-size: .8rem; font-weight: 850; font-style: italic; font-stretch: 115%; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); vertical-align: middle; }
.badge-standard { background: transparent; color: var(--lime); border-color: var(--lime); }
.badge-premium { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.badge-soft { background: var(--surface-2); color: var(--muted); border-color: var(--line); font-style: normal; font-stretch: 100%; font-weight: 650; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: .15em .6em; border-radius: var(--r-sm); background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); }
.tag-athlete_narrative_deal { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.tag-contest { background: var(--orange-tint); color: var(--orange); border-color: rgba(255,138,61,.4); }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; min-width: 60px; }
.progress span { display: block; height: 100%; background: var(--lime); border-radius: 999px; }
.disclaimer { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--line-strong); padding-left: .75rem; margin: 1rem 0; }

/* ---------- loading / empty ---------- */
.boot, .loading { display: flex; align-items: center; gap: .6rem; padding: 3rem 1.25rem; color: var(--muted); }
.boot { justify-content: center; min-height: 60vh; }
.spinner { width: 20px; height: 20px; border: 3px solid var(--line-strong); border-top-color: var(--lime); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 2.5rem 1rem; border: 2px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted); }
.empty h3 { color: var(--text); margin: 0 0 .3rem; }
#toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: grid; gap: .5rem; width: min(92vw, 420px); }
@media (min-width: 900px) { #toasts { bottom: 24px; } }
.toast { background: var(--lime); color: var(--on-lime); padding: .8rem 1rem; border-radius: var(--r); font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.5); animation: tin .2s ease-out; }
.toast-err { background: var(--red); color: #000; }
.toast.out { opacity: 0; transition: opacity .3s; }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); font-weight: 850; font-style: italic; font-stretch: 112%; }
.brand:hover { color: var(--text); }
/* The logo mark, drawn from the AN vector as a mask so it can take any color. The "AN" text inside stays for screen readers. */
.brand-mark { display: inline-block; width: 34px; height: 30px; flex: none; background: var(--lime); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; font-size: 0; color: transparent; }
.brand-name { font-size: 1rem; line-height: 1.1; }

/* ================= PUBLIC ================= */
.wrap { width: min(100% - 2.5rem, 1120px); margin-inline: auto; }
.wrap.narrow, .narrow { max-width: 760px; }
.page-pad { padding: 2.5rem 0 4rem; }
.pub-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem; padding-top: calc(.75rem + env(safe-area-inset-top, 0px)); background: rgba(0,0,0,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.pub-nav { display: flex; align-items: center; gap: 1rem; }
.pub-login { color: var(--text); text-decoration: none; font-weight: 650; }
.pub-login:hover { color: var(--lime); }
@media (max-width: 420px) { .pub-header .brand-name { display: none; } }

.hero { background: var(--bg); padding: clamp(3rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::after { /* the AN mark, oversized and cropped off the right edge */
  content: ''; position: absolute; right: -12%; top: 50%; width: min(78vw, 820px); aspect-ratio: 1133 / 1000; transform: translateY(-50%);
  background: var(--lime); opacity: .09; -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero .display { max-width: 12ch; margin-bottom: .35em; animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .display::after { content: ''; display: block; width: 1.2em; height: .12em; margin-top: .25em; background: var(--lime); transform: skewX(-24deg); }
.hero-sub { font-size: clamp(1.1rem, 2.4vw, 1.35rem); max-width: 46ch; color: #C9C9C9; margin: 0 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-fine { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.deal { display: grid; gap: 2.5rem; padding: clamp(3rem, 8vw, 5.5rem) 0; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem 2rem; }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefits li { border-top: 3px solid var(--lime); padding-top: .9rem; }
.benefits h3 { font-size: 1.3rem; font-weight: 850; font-style: italic; font-stretch: 115%; margin: 0 0 .35rem; }
.benefits p { margin: 0; color: var(--muted); }
.deal-give { background: var(--lime); color: var(--on-lime); border-radius: var(--r-lg); padding: 1.75rem; }
.deal-give p { color: #1A1F00; margin: 0; }
.scoreboard { display: flex; align-items: flex-end; gap: .75rem; margin: .25rem 0 1.25rem; }
.score-num { font-size: clamp(7rem, 20vw, 10rem); font-weight: 900; font-style: italic; font-stretch: 125%; line-height: .78; letter-spacing: -.05em; }
.score-unit { font-size: 1.5rem; font-weight: 850; font-style: italic; font-stretch: 118%; line-height: 1; padding-bottom: .35rem; }

.tiers-sec { background: var(--surface); padding: clamp(3rem, 8vw, 5.5rem) 0; border-block: 1px solid var(--line); }
.tiers { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 760px) { .tiers { grid-template-columns: 1fr 1fr; } }
.tier { border: 2px solid var(--line-strong); border-radius: var(--r-lg); padding: 1.75rem; background: var(--bg); }
.tier h3 { font-size: 1.8rem; font-weight: 900; font-style: italic; font-stretch: 122%; margin: 0; letter-spacing: -.02em; }
.tier-for { color: var(--muted); margin: .25rem 0 1.25rem; }
.tier { transition: border-color .2s ease, box-shadow .2s ease; }
.tier h3, .tier .tier-range { transition: color .2s ease; }
@media (hover: hover) {
  .tier:hover { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
  .tier:hover h3, .tier:hover .tier-range { color: var(--lime); }
}
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 1.75rem; margin-bottom: .6rem; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--lime); font-weight: 900; }

.how { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-size: 3.5rem; font-weight: 900; font-style: italic; font-stretch: 125%; color: var(--lime); line-height: 1; margin-bottom: .5rem; }
.steps h3 { font-size: 1.25rem; font-weight: 850; font-style: italic; font-stretch: 112%; margin: 0 0 .3rem; }
.steps p { margin: 0; color: var(--muted); }

.faq { padding: 0 0 clamp(3rem, 8vw, 5rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .25rem; top: .9rem; font-size: 1.5rem; font-weight: 400; color: var(--lime); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); max-width: 62ch; }
.final-cta { background: var(--lime); color: var(--on-lime); padding: clamp(3rem, 8vw, 5rem) 0; }
.final-cta .btn-primary { background: var(--on-lime); color: var(--lime); }
.final-cta .btn-primary:hover { background: #222; color: var(--lime); }
.pub-footer { background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); padding: 2.5rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: .75rem; justify-items: start; }
.pub-footer p { margin: 0; font-size: .9rem; }
.pub-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.pub-footer a { color: #C9C9C9; font-size: .9rem; }
.pub-footer a:hover { color: var(--lime); }
@media (min-width: 760px) { .pub-footer { padding-inline: max(1.25rem, calc((100% - 1120px) / 2)); } }

/* apply */
.stepper { list-style: none; display: flex; gap: .35rem; padding: 0; margin: 1.5rem 0 2rem; counter-reset: st; }
.stepper li { flex: 1; counter-increment: st; font-size: .75rem; font-weight: 700; color: var(--muted); padding-top: .55rem; border-top: 4px solid var(--line-strong); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper li.done { border-color: #5E7500; color: var(--text); }
.stepper li.current { border-color: var(--lime); color: var(--lime); }
@media (max-width: 560px) { .stepper li:not(.current) { font-size: 0; } .stepper li:not(.current)::before { content: counter(st); font-size: .75rem; } }
#apply-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 4vw, 2rem); }
.suggest { background: var(--lime-tint); border: 1px solid rgba(204,255,0,.3); padding: .85rem 1rem; border-radius: var(--r); font-size: .95rem; }
.agree-box { background: var(--surface-2); border-radius: var(--r); padding: 1rem 1.1rem; margin-bottom: 1.25rem; }
.agree-box p { margin: 0 0 .6rem; } .agree-box p:last-child { margin: 0; }

.auth-card { width: min(100% - 2.5rem, 440px); margin: clamp(2rem, 8vw, 5rem) auto 4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 5vw, 2.25rem); }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .92rem; margin: 1.25rem 0 0; }
.status-hero { margin-bottom: 2rem; }
.status-hero .pill { margin-bottom: .75rem; }

.summary { display: grid; margin: 0 0 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.summary > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.summary > div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); font-size: .9rem; }
.summary dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.summary.compact { background: transparent; border: 0; }
.summary.compact > div { padding: .35rem 0; }

.prose { max-width: 68ch; }
.prose h1, .prose h2, .prose h3 { font-stretch: 110%; font-weight: 850; font-style: italic; line-height: 1.2; margin: 1.6em 0 .5em; }
.prose h2 { font-size: 1.35rem; }
.prose p, .prose li { line-height: 1.7; }
.prose img { border-radius: var(--r); }
.prose blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--lime); color: var(--muted); }

/* ================= APP SHELL ================= */
.shell { min-height: 100vh; }
.sidebar { display: none; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: rgba(0,0,0,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: .7rem 1rem; padding-top: calc(.7rem + env(safe-area-inset-top, 0px)); }
.topbar .brand-name { font-size: .95rem; }
.area-tag { font-size: .75rem; font-weight: 800; padding: .2em .6em; border-radius: var(--r-sm); background: var(--lime); color: var(--on-lime); }
.main { padding: 1.5rem 1rem calc(96px + env(safe-area-inset-bottom, 0px)); outline: none; }
.bottombar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: rgba(10,10,10,.97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bottombar .nav-link { flex-direction: column; gap: 2px; padding: .5rem .25rem .45rem; font-size: .7rem; justify-content: center; border-radius: 0; color: var(--muted); }
.bottombar .nav-link .ico { width: 24px; height: 24px; }
.bottombar .nav-link.active { color: var(--lime); }
.bottombar .nav-link span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nav-link { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .7rem .85rem; border: 0; background: none; font: inherit; font-weight: 650; color: inherit; text-decoration: none; border-radius: var(--r-sm); cursor: pointer; text-align: left; min-height: 44px; }
.nav-link:hover { color: var(--text); }
.ico { width: 20px; height: 20px; flex: none; }
.sheet { position: fixed; inset: 0; z-index: 40; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line-strong); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: .75rem .75rem calc(1rem + env(safe-area-inset-bottom, 0px)); animation: up .2s ease-out; color: var(--text); }
.sheet-panel .nav-link.active { color: var(--on-lime); background: var(--lime); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.who { font-size: .8rem; color: var(--muted); padding: .5rem .85rem 0; overflow-wrap: anywhere; }

@media (min-width: 900px) {
  .topbar, .bottombar, .sheet { display: none !important; }
  .sidebar { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: var(--bg); border-right: 1px solid var(--line); color: #C9C9C9; padding: 1.25rem .85rem; overflow-y: auto; }
  .sidebar .brand { padding: 0 .35rem 1.25rem; }
  .sidebar .area-tag { align-self: flex-start; margin: -.5rem 0 1rem .4rem; }
  .sidebar nav { display: grid; gap: 2px; }
  .sidebar .nav-link:hover { background: var(--surface-2); color: var(--text); }
  .sidebar .nav-link.active { background: var(--lime); color: var(--on-lime); }
  .sidebar-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: 2px; }
  .main { margin-left: var(--sidebar); padding: 2.25rem clamp(1.5rem, 4vw, 3.5rem) 4rem; }
}

/* ---------- pages ---------- */
.page { max-width: 1080px; }
.page.narrow { max-width: 760px; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.page-head .h1 { margin: 0; }
.head-meta { display: flex; gap: .5rem; align-items: center; }
.back { display: inline-block; margin-bottom: 1rem; font-weight: 650; text-decoration: none; font-size: .92rem; }
.back::before { content: '‹ '; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; margin-bottom: 1rem; }
.card > :last-child { margin-bottom: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.card-head .h3 { margin: 0; }
.dash-grid { display: grid; gap: 1rem; }
.dash-grid .card { margin: 0; }
@media (min-width: 700px) { .dash-grid { grid-template-columns: 1fr 1fr; } .card-wide { grid-column: 1 / -1; } }
.card-ugc { border-width: 2px; border-color: var(--lime); }
.card-ugc.card-due { border-color: var(--orange); }
.card-ugc.card-changes_requested { border-color: var(--amber); }
.card-ugc.card-approved { border-color: var(--green); }
.big-stat { font-size: .95rem; color: var(--muted); margin-bottom: .6rem; }
.big-stat span { font-size: 2.6rem; font-weight: 900; font-style: italic; font-stretch: 122%; color: var(--lime); letter-spacing: -.03em; margin-right: .15rem; }
.event-when { font-weight: 800; font-stretch: 112%; color: var(--lime); margin: 0 0 .2rem; }
.list { list-style: none; padding: 0; margin: 0; }
.list li a { display: grid; padding: .7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.list li:last-child a { border-bottom: 0; }
.list-title { font-weight: 700; }
.list li a:hover .list-title { color: var(--lime); }

/* academy */
.academy-summary { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; font-size: .92rem; color: var(--muted); }
.academy-summary .progress { flex: 1; max-width: 360px; }
.phase { margin-bottom: 2rem; }
.phase-name { font-size: 1.05rem; font-weight: 850; font-style: italic; font-stretch: 118%; color: var(--lime); margin: 0 0 .6rem; }
.course-list { display: grid; gap: .6rem; }
.course-row { display: grid; gap: .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; text-decoration: none; color: inherit; }
.course-row:hover { border-color: var(--lime); color: inherit; }
.course-row h3 { margin: 0 0 .2rem; font-size: 1.1rem; font-weight: 750; }
.course-row p { margin: 0; color: var(--muted); font-size: .92rem; }
.course-prog { display: flex; align-items: center; gap: .6rem; }
.course-prog .progress { flex: 1; }
@media (min-width: 700px) { .course-row { grid-template-columns: 1fr 200px; align-items: center; } }
.lesson-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.lesson-list li a { display: flex; align-items: center; gap: .85rem; padding: .95rem 1rem; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.lesson-list li:last-child a { border-bottom: 0; }
.lesson-list li a:hover .lesson-title { color: var(--lime); }
.lesson-title { flex: 1; font-weight: 650; }
.check-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; font-size: .8rem; font-weight: 900; flex: none; }
.lesson-list li.done .check-dot { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); border-radius: var(--r); overflow: hidden; margin: 1rem 0 1.5rem; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-actions { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pager { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.pager .btn { max-width: 100%; white-space: normal; }

/* posts */
.history { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.history li { padding: .85rem 1rem; border-bottom: 1px solid var(--line); display: grid; gap: .25rem; }
.history li:last-child { border-bottom: 0; }
.history-main { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }

/* opportunities */
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.chip { padding: .45em 1em; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--text); text-decoration: none; font-weight: 650; font-size: .9rem; min-height: 38px; display: inline-flex; align-items: center; }
.chip:hover { border-color: var(--lime); color: var(--lime); }
.chip.on { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.opp-list { display: grid; gap: .75rem; }
@media (min-width: 700px) { .opp-list { grid-template-columns: 1fr 1fr; } }
.opp { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; text-decoration: none; color: inherit; }
.opp:hover { border-color: var(--lime); color: inherit; }
.opp .h3 { margin: .6rem 0 .2rem; }
.opp-top { display: flex; justify-content: space-between; gap: .5rem; }
.interest { margin-top: 1.5rem; }

/* live */
.event { display: flex; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; margin-bottom: .75rem; }
.event-date { flex: none; width: 58px; text-align: center; border-radius: var(--r-sm); background: var(--lime); color: var(--on-lime); padding: .45rem 0; align-self: flex-start; }
.ev-mon { display: block; font-size: .72rem; font-weight: 800; }
.ev-day { display: block; font-size: 1.6rem; font-weight: 900; font-style: italic; font-stretch: 120%; line-height: 1; }
.event-body h3 { margin: 0 0 .2rem; font-size: 1.1rem; }
.event-body p { margin: .35rem 0; }
.event-body .btn { margin-top: .5rem; }

/* profile */
.profile-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-empty { display: grid; place-items: center; background: var(--lime); color: var(--on-lime); font-weight: 900; font-style: italic; font-size: 1.6rem; }

/* admin */
.stats { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; text-decoration: none; color: inherit; display: grid; gap: .25rem; align-content: start; }
.stat:hover { border-color: var(--lime); color: inherit; }
.stat-n { font-size: 2.4rem; font-weight: 900; font-style: italic; font-stretch: 122%; line-height: 1; letter-spacing: -.03em; color: var(--lime); }
.stat-l { font-size: .85rem; color: var(--muted); }
.quick { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar input { flex: 1 1 240px; margin: 0; }
.toolbar select { flex: 0 1 180px; margin: 0; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .8rem; font-weight: 700; color: var(--muted); padding: .7rem .9rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr[data-href] { cursor: pointer; }
.table tr[data-href]:hover td { background: var(--surface-2); }
.table td a { color: inherit; text-decoration: none; }
.table td .progress { display: inline-block; width: 70px; vertical-align: middle; margin-right: .4rem; }
@media (max-width: 699px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; }
  .table tr { padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
  .table td { padding: .15rem 0; border: 0; }
  .table-wrap { overflow: visible; }
}
.admin-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.admin-list li { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.admin-list li:last-child { border-bottom: 0; }
.admin-item { flex: 1; display: grid; text-decoration: none; color: inherit; min-width: 0; }
.admin-item:hover strong { color: var(--lime); }
.order-btns { display: flex; flex-direction: column; gap: 3px; }
.review-list { display: grid; gap: 1rem; }
.review-list .card { margin: 0; }
.tabs { display: flex; gap: .25rem; margin-bottom: .5rem; }
.tab { padding: .45em 1em; border: 1.5px solid var(--line-strong); background: transparent; color: var(--text); border-radius: var(--r-sm); font: inherit; font-weight: 650; cursor: pointer; }
.tab.on { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.preview-box { min-height: 200px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); padding: 1rem; margin-bottom: 1rem; max-width: none; background: var(--surface-2); }

/* ---------- home page: example Instagram posts ---------- */
.feed { padding: 0 0 clamp(3rem, 8vw, 5.5rem); }
.feed-text { max-width: 640px; margin-bottom: 2rem; }
.feed-cards { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 420px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: thin; }
.feed-cards > * { scroll-snap-align: center; }
@media (min-width: 980px) { .feed-cards { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; overflow: visible; margin-inline: 0; padding-inline: 0; align-items: center; } }
.feed-cta { margin: 2rem 0 0; }
.ig-card { background: var(--bg); border: 1px solid #262626; border-radius: 8px; overflow: hidden; width: 100%; box-shadow: 0 0 0 1px rgba(204,255,0,.06), 0 30px 80px -30px rgba(204,255,0,.22); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #F5F5F5; }
.ig-head { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; }
.ig-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--lime); flex: none; }
.ig-avatar .brand-mark { width: 20px; height: 18px; }
.ig-handle { font-weight: 600; font-size: .9rem; }
.ig-more { margin-left: auto; font-size: .7rem; letter-spacing: .05em; }
.ig-actions { display: flex; gap: 1rem; padding: .7rem .8rem .35rem; }
.ig-actions svg { width: 25px; height: 25px; }
.ig-spacer { flex: 1; }
.ig-likes { margin: 0 .8rem .3rem; font-size: .9rem; font-weight: 600; }
.ig-caption { margin: 0 .8rem .15rem; font-size: .9rem; line-height: 1.4; }
.ig-caption strong { font-weight: 600; margin-right: .3rem; }
.ig-tags { margin: 0 .8rem .35rem; font-size: .9rem; color: #E0F1FF; }
.ig-comments { margin: 0 .8rem .2rem; font-size: .9rem; color: #A8A8A8; }
.ig-time { margin: 0 .8rem .9rem; font-size: .72rem; color: #A8A8A8; text-transform: uppercase; letter-spacing: .02em; }

/* The artwork: 4:5, scales with its own width via container units */
.post-art { position: relative; container-type: inline-size; aspect-ratio: 4 / 5; overflow: hidden; background: #000; isolation: isolate; font-family: var(--font); }
.post-photo { position: absolute; left: 0; width: 100cqw; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(.8); z-index: -2; }
.post-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 52%, rgba(0,0,0,.92) 80%, #000 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: auto, 22cqw 22cqw; }
.post-tele { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.post-tele path, .post-tele circle { fill: none; stroke: var(--lime); stroke-linecap: round; stroke-linejoin: round; }
.tele-arc { stroke-width: .75; stroke-dasharray: 2 1.6; }
.tele-head { stroke-width: .75; }
.tele-ring { stroke-width: 1.1; }
.tele-ring-2 { stroke-width: .45; opacity: .55; }
.tele-lead { stroke-width: .6; }
.tele-label { position: absolute; font-size: 4.6cqw; font-weight: 850; font-style: italic; font-stretch: 115%; color: var(--on-lime); background: var(--lime); padding: .35cqw 1.8cqw .5cqw; transform: skewX(-12deg); white-space: nowrap; line-height: 1.2; }
.post-top { position: absolute; top: 5cqw; left: 5cqw; }
.post-top .brand-mark { display: block; width: 8.5cqw; height: 7.5cqw; }
.post-copy { position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqw; }
.post-brand { position: absolute; right: 0; bottom: -.6cqw; margin: 0; font-size: 3.3cqw; font-weight: 850; font-style: italic; font-stretch: 112%; color: #fff; }
.post-head { margin: 0; font-size: 10.4cqw; line-height: .92; font-weight: 900; font-style: italic; font-stretch: 112%; letter-spacing: -.035em; color: #fff; }
.post-head::after { content: ''; display: block; width: 16cqw; height: 1.5cqw; margin: 2.6cqw 0 0; background: var(--lime); transform: skewX(-24deg); }

/* ---------- home page: fixed background photo ---------- */
/* A fixed layer (not background-attachment: fixed, which phones ignore) that stays put while the page scrolls over it. */
.page-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none;
  background: #000 url('/img/bg-runner.jpg') left center / cover no-repeat; }
.page-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,.1) 75%), linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 40%); }
@media (max-width: 760px) {
  .page-bg { background-position: 58% center; }
  .page-bg::after { background: linear-gradient(0deg, rgba(0,0,0,.92) 8%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.35) 100%); }
}
.hero.hero-photo, .land-body, .page-bg ~ * { position: relative; z-index: 1; }
.pub-footer { position: relative; z-index: 1; }
.hero.hero-photo { background: transparent; border-bottom: 0; min-height: calc(100svh - 64px); display: flex; align-items: center; }
.hero.hero-photo::after { display: none; }
.hero.hero-photo .hero-inner { width: auto; max-width: 1120px; margin-left: clamp(1.25rem, 5vw, 6rem); margin-right: 1.25rem; }
@media (min-width: 761px) {
  .hero.hero-photo .hero-sub { max-width: 46ch; }
}
.hero.hero-photo .hero-sub { color: #DADADA; }
/* Content scrolls over the photo on dark glass panels, so the photo stays visible behind it */
.land-body { background: linear-gradient(180deg, rgba(0,0,0,.55) 0, rgba(0,0,0,.78) 240px); }
.land-body .tiers-sec { background: rgba(17,17,17,.62); border-color: rgba(255,255,255,.08); }
.land-body .tier { background: rgba(0,0,0,.7); }
.land-body .ig-card { background: #000; }
@supports (backdrop-filter: blur(4px)) {
  .land-body { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
}

/* Mystery "brand post" in the middle of the feed */
.ig-mystery { border-color: rgba(204,255,0,.55); box-shadow: 0 0 0 1px rgba(204,255,0,.35), 0 30px 90px -25px rgba(204,255,0,.45); }
@media (min-width: 980px) { .ig-mystery { transform: scale(1.04); z-index: 1; } }
.ig-avatar-you { background: #111; color: var(--lime); font-weight: 900; font-style: italic; font-family: var(--font); font-size: 1.05rem; }
.ig-who-stack { display: grid; line-height: 1.2; }
.ig-sub { font-size: .75rem; color: #D0D0D0; }
.ig-redact { display: inline-block; background: #3A3A3A; color: transparent; border-radius: 3px; letter-spacing: .1em; }
.post-mystery { background: radial-gradient(circle at 50% 40%, rgba(204,255,0,.16), rgba(0,0,0,0) 55%), #070707; }
.post-mystery .post-shade { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 22cqw 22cqw; }
.mystery-q { position: absolute; left: 0; right: 0; top: 17cqw; text-align: center; font-size: 56cqw; line-height: 1; font-weight: 900; font-style: italic; font-stretch: 125%; color: var(--lime); text-shadow: 0 0 8cqw rgba(204,255,0,.35); }
.post-mystery .tele-ring { stroke-dasharray: 3 2; }

/* Tier cards: who goes where */
.tier-range { margin: 0 0 .4rem; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -.03em; color: var(--text); }
.tier-sub { margin: 1.25rem 0 .6rem; font-size: .8rem; font-weight: 800; color: var(--muted); letter-spacing: .02em; }
.tier .checks li { margin-bottom: .5rem; }

/* Creator dashboard: path banner + next steps */
.path-banner { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 1.4rem 1.5rem; margin-bottom: 1rem; background: var(--surface); border: 1px solid var(--line); }
.path-banner::after { content: ''; position: absolute; right: -2rem; top: 50%; width: 180px; aspect-ratio: 1133 / 1000; transform: translateY(-50%); background: var(--lime); opacity: .08; -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.path-premium { border-color: var(--lime); }
.path-tag { font-size: .85rem; color: var(--muted); font-weight: 650; }
.path-name { margin: .1rem 0 .5rem; font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1; font-weight: 900; font-style: italic; font-stretch: 122%; letter-spacing: -.02em; color: var(--lime); }
.path-text { margin: 0; max-width: 62ch; color: #D6D6D6; position: relative; z-index: 1; }
.steps-card .progress { margin-bottom: .5rem; }
.next-steps { list-style: none; margin: 0; padding: 0; }
.next-steps li { display: grid; grid-template-columns: auto 1fr; gap: .4rem .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.next-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.next-steps .btn, .step-soon { grid-column: 2; justify-self: start; }
@media (min-width: 640px) { .next-steps li { grid-template-columns: auto 1fr auto; } .next-steps .btn, .step-soon { grid-column: auto; } }
.step-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-style: italic; border: 2px solid var(--line-strong); color: var(--text); flex: none; }
.step-body { display: grid; gap: .15rem; }
.next-steps li.is-done .step-num { background: var(--lime); border-color: var(--lime); color: var(--on-lime); font-style: normal; }
.next-steps li.is-done strong { color: var(--muted); }

/* Lesson worksheets + My plan */
.worksheet { margin-top: 2rem; border-color: rgba(204,255,0,.45); }
.worksheet .card-head a { text-decoration: none; }
.plan-group { margin-bottom: 2rem; }
.plan-list { display: grid; gap: .6rem; }
.plan-item { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: var(--r); padding: .9rem 1.1rem; }
.plan-item.is-empty { border-left-color: var(--line-strong); }
.plan-item h3 { margin: 0 0 .35rem; font-size: 1rem; font-weight: 750; }
.plan-item p { margin: 0 0 .4rem; }
.ws-edit { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1rem .5rem; margin: 0 0 1rem; }
.ws-edit legend { font-size: 1rem; padding: 0 .4rem; margin-bottom: 0; }
.ws-row { border: 1px solid var(--line); border-radius: var(--r-sm); padding: .9rem .9rem .9rem; margin-bottom: .75rem; background: var(--surface-2); }
.ws-row label { margin-bottom: .75rem; }

/* AI coach feedback */
.coach { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--lime-tint); border: 1px solid rgba(204,255,0,.35); }
.coach p { margin: .5rem 0 0; line-height: 1.6; }
.coach-head { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.coach-head .brand-mark { width: 22px; height: 20px; }
.coach-head .muted { margin-left: auto; }
.coach-loading { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.coach-note { background: var(--surface-2); border-color: var(--line); color: var(--muted); }
.worksheet .btn-row { align-items: center; }

/* Creator DNA */
.dna-sec { scroll-margin-top: 80px; }
.dna-sec .card-head .h3 { display: flex; align-items: center; gap: .6rem; }
.dna-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-weight: 900; font-style: italic; font-size: .9rem; }
.dna-q { margin: 1.1rem 0; }
.dna-label { margin: 0 0 .5rem; font-weight: 650; font-size: .95rem; }
.opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt { position: relative; cursor: pointer; margin: 0 !important; font-weight: 500 !important; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; min-height: 40px; padding: .45em .95em; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface-2); color: var(--text); font-size: .9rem; transition: background .15s, border-color .15s, color .15s; }
.opt:hover span { border-color: var(--lime); }
.opt input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--on-lime); font-weight: 700; }
.opt input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.scale { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.opts-scale .opt span { width: 44px; justify-content: center; padding: 0; font-weight: 800; }

/* Lesson "For you" section */
.foryou { margin-top: 1.75rem; border-color: rgba(204,255,0,.55); background: linear-gradient(180deg, rgba(204,255,0,.08), rgba(204,255,0,0) 60%), var(--surface); }
.foryou .prose { margin-top: .6rem; }
.foryou .prose p:first-child { margin-top: 0; }
.foryou-loading { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.foryou-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; }
.foryou-note p { margin: .2rem 0 0; }
.prose h2 { font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose strong { color: #fff; }

/* In-site community */
.community { max-width: 1080px; }
.cm-rules { margin: -.5rem 0 1rem; color: var(--muted); }
.cm-rules summary { cursor: pointer; font-weight: 650; font-size: .9rem; }
.cm-rules .checks { margin-top: .75rem; color: var(--text); font-size: .92rem; }
.cm { display: grid; gap: 1rem; }
@media (min-width: 900px) { .cm { grid-template-columns: 210px 1fr; align-items: start; } }
.cm-channels { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
@media (min-width: 900px) { .cm-channels { flex-direction: column; overflow: visible; position: sticky; top: 1rem; } }
.cm-ch { display: flex; align-items: center; gap: .3rem; white-space: nowrap; padding: .5rem .75rem; border-radius: var(--r-sm); color: var(--muted); text-decoration: none; font-weight: 650; background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 900px) { .cm-ch { background: transparent; border-color: transparent; } }
.cm-ch:hover { color: var(--text); background: var(--surface-2); }
.cm-ch.on { color: var(--on-lime); background: var(--lime); border-color: var(--lime); }
.cm-hash { opacity: .6; font-weight: 800; }
.cm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-left: auto; }
.cm-ch.on .cm-dot { display: none; }
.cm-room { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: calc(100dvh - 330px); min-height: 380px; }
@media (min-width: 900px) { .cm-room { height: calc(100dvh - 230px); min-height: 460px; } }
.cm-head { padding: .9rem 1.1rem .7rem; border-bottom: 1px solid var(--line); }
.cm-head .h3 { margin: 0; }
.cm-head p { margin: .25rem 0 0; }
.cm-pinned:empty { display: none; }
.cm-pinned { padding: .5rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--lime-tint); font-size: .9rem; }
.cm-pinned summary { cursor: pointer; font-weight: 700; }
.cm-list { flex: 1; overflow-y: auto; padding: .5rem 0 1rem; overscroll-behavior: contain; }
.cm-more { text-align: center; padding: .5rem; }
.cm-empty { padding: 1rem; }
.cm-msg { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: .75rem; padding: .55rem 1.1rem .15rem; }
.cm-msg.compact { padding-top: .1rem; }
.cm-msg:hover { background: rgba(255,255,255,.025); }
.cm-msg.is-pinned { box-shadow: inset 3px 0 0 var(--lime); }
.cm-av { width: 40px; height: 40px; }
.cm-av img, .cm-av span { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--surface-2); color: var(--lime); font-weight: 900; font-style: italic; border: 1px solid var(--line-strong); }
.cm-msg.compact .cm-av { height: 0; }
.cm-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; line-height: 1.2; }
.cm-meta .badge { font-size: .68rem; padding: .15em .5em; }
.cm-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; margin-top: .15rem; }
.cm-text a { color: var(--lime); }
.cm-reacts { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin-top: .3rem; min-height: 4px; }
.cm-react { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: inherit; font-size: .82rem; cursor: pointer; }
.cm-react.mine { border-color: var(--lime); background: var(--lime-tint); }
.cm-picker { display: none; gap: .1rem; }
.cm-msg:hover .cm-picker, .cm-msg:focus-within .cm-picker { display: inline-flex; }
@media (hover: none) { .cm-picker { display: inline-flex; opacity: .55; } }
.cm-pick { border: 0; background: none; cursor: pointer; font-size: 1rem; padding: .1rem .2rem; border-radius: 6px; }
.cm-pick:hover { background: var(--surface-2); }
.cm-tools { position: absolute; top: .3rem; right: .8rem; display: none; gap: .25rem; }
.cm-msg:hover .cm-tools, .cm-msg:focus-within .cm-tools { display: flex; }
@media (hover: none) { .cm-tools { position: static; display: flex; grid-column: 2; margin-top: .15rem; } }
.cm-tool { border: 1px solid var(--line-strong); background: var(--bg); color: var(--muted); border-radius: var(--r-sm); font: inherit; font-size: .75rem; padding: .15rem .5rem; cursor: pointer; }
.cm-tool:hover { color: var(--text); border-color: var(--lime); }
.cm-compose { display: flex; gap: .5rem; align-items: flex-end; padding: .7rem; border-top: 1px solid var(--line); background: var(--bg); }
.cm-compose textarea { margin: 0; min-height: 44px; max-height: 180px; resize: none; line-height: 1.4; }
.cm-locked { margin: 0; padding: .9rem 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* Announcement banner */
#banner:empty { display: none; }
.announce { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; background: var(--lime); color: var(--on-lime); border-radius: var(--r); padding: .75rem .9rem .75rem 1.1rem; margin: 0 0 1.25rem; max-width: 1080px; }
.announce-text { display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: baseline; min-width: 0; }
.announce-text strong { font-weight: 850; font-style: italic; font-stretch: 112%; }
.announce-text span { font-size: .92rem; }
.announce-actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.announce-go { background: var(--on-lime); color: var(--lime); }
.announce-go:hover { background: #222; color: var(--lime); }
.announce-x { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.12); color: var(--on-lime); font-size: .9rem; cursor: pointer; }
.announce-x:hover { background: rgba(0,0,0,.25); }
.announce.preview { margin: .5rem 0 1rem; }

/* This week */
.week-top { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.streak { text-align: center; padding: .6rem 1rem; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.streak-n { display: block; font-size: 2.4rem; line-height: 1; font-weight: 900; font-style: italic; font-stretch: 122%; color: var(--lime); }
.ideas { display: grid; gap: .75rem; margin-bottom: 1rem; }
.ideas .card { margin: 0; }
.idea-top { display: flex; gap: .75rem; align-items: flex-start; }
.idea-top h3 { margin: 0; font-size: 1.05rem; }
.idea-top p { margin: .15rem 0 0; }
.idea-hook { margin: .8rem 0 .4rem; padding: .6rem .8rem; border-left: 3px solid var(--lime); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-weight: 650; }
.idea-hook .small { display: block; font-weight: 500; margin-bottom: .1rem; }
.idea.is-done { opacity: .75; }
.idea.is-done .step-num { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.log-form { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }

/* Progress, levels, badges */
.level-card { border-color: rgba(204,255,0,.45); }
.level-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: .6rem; }
.level-top p { margin: 0; }
.level-name { font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1; font-weight: 900; font-style: italic; font-stretch: 122%; color: var(--lime); }
.level-pts { color: var(--muted); }
.level-pts span { font-size: 1.6rem; font-weight: 900; font-style: italic; color: var(--text); }
.point-rules { list-style: none; padding: 0; margin: .5rem 0 0; font-size: .88rem; }
.point-rules li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.mini-stats { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.mini-stats strong { color: var(--lime); font-size: 1.1rem; margin-right: .25rem; }
.chart svg { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .35rem; vertical-align: middle; }
.badges { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .75rem; }
.bdg { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; border: 1.5px dashed var(--line-strong); color: #6F6F6F; font-size: .85rem; font-weight: 650; }
.bdg span { font-weight: 900; }
.bdg.earned { border-style: solid; border-color: var(--lime); color: var(--text); background: var(--lime-tint); }
.bdg.earned span { color: var(--lime); }
.bdg.special { background: var(--lime); color: var(--on-lime); }
.bdg.special span { color: var(--on-lime); }

/* AN post brief + calendar */
.brief { display: grid; gap: .6rem; margin: .5rem 0 1rem; }
.brief p { margin: 0; }
.brief .small.muted { display: block; font-weight: 600; }
.brief-topic { padding: .6rem .8rem; background: var(--surface-2); border-left: 3px solid var(--lime); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-weight: 700; }
.brief-personal { padding: .6rem .8rem; background: var(--lime-tint); border-radius: var(--r-sm); }
.an-week { margin-bottom: 1rem; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { font-size: .75rem; color: var(--muted); font-weight: 700; text-align: center; padding: .2rem 0; }
.cal-day { min-height: 84px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .3rem; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-day.today { border-color: var(--lime); }
.cal-num { font-size: .75rem; font-weight: 800; color: var(--muted); }
.cal-day.today .cal-num { color: var(--lime); }
.cal-item { display: block; font-size: .72rem; font-weight: 700; padding: .12rem .35rem; border-radius: 4px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 699px) { .cal-day { min-height: 58px; padding: .2rem; } .cal-item { font-size: .62rem; padding: .08rem .2rem; } }
.an-note { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.an-note .h3 { font-size: 1rem; }

/* On/off switch */
.switch { display: flex !important; align-items: flex-start; gap: .85rem; cursor: pointer; font-weight: 500 !important; margin: 0 !important; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { flex: none; width: 50px; height: 28px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .2s; margin-top: 2px; }
.switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + .switch-ui { background: var(--lime); }
.switch input:checked + .switch-ui::after { transform: translateX(22px); background: #000; }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--lime); outline-offset: 2px; }
.collab-toggle { border-color: rgba(204,255,0,.4); }

/* Collab matches */
.match-list { display: grid; gap: .75rem; }
@media (min-width: 700px) { .match-list { grid-template-columns: 1fr 1fr; } }
.match-list .card { margin: 0; }
.match-top { display: flex; gap: .75rem; align-items: center; margin-bottom: .5rem; }
.match-top p { margin: .1rem 0 0; }
.cl-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; flex: none; background: var(--surface-2); color: var(--lime); font-weight: 900; font-style: italic; border: 1px solid var(--line-strong); }
.reasons { list-style: none; padding: 0; margin: .25rem 0 .6rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.reasons li { font-size: .78rem; padding: .2rem .6rem; border-radius: 999px; background: var(--lime-tint); color: var(--lime); font-weight: 650; }
.match p.small { margin: .25rem 0; }
.ask-form { margin-top: .5rem; }
.thread { height: calc(100dvh - 380px); min-height: 360px; }

/* Challenges + featured */
.challenge-card { border-color: rgba(204,255,0,.45); }
.challenge-title { margin: .1rem 0 .6rem; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; font-style: italic; font-stretch: 118%; line-height: 1.05; }
.challenge-mini h2 { margin: .1rem 0 .7rem; }
.featured { background: linear-gradient(120deg, rgba(204,255,0,.14), rgba(204,255,0,0) 60%), var(--surface); border-color: var(--lime); }
.featured-tag { margin: 0 0 .6rem; font-size: .8rem; font-weight: 800; color: var(--lime); }
.featured-name { font-size: 1.15rem; }
.featured-headline { font-weight: 800; font-style: italic; }
.match-alert { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.1rem; margin-bottom: 1rem; border-radius: var(--r); border: 1px solid var(--lime); background: var(--lime-tint); color: var(--text); text-decoration: none; }
.match-alert span { color: var(--lime); font-weight: 700; }
.match-alert:hover { color: var(--text); background: rgba(204,255,0,.2); }

/* Library */
.lib-grid { display: grid; gap: .75rem; }
@media (min-width: 700px) { .lib-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lib-grid { grid-template-columns: repeat(3, 1fr); } }
.lib-grid .card { margin: 0; display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.lib-item h2 { margin: .2rem 0 0; }
.lib-item .btn { margin-top: auto; }

/* NIL score + verified channels */
.nil-card { border-color: rgba(204,255,0,.5); }
.nil-top { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.nil-score { font-size: clamp(3.2rem, 9vw, 4.6rem); line-height: .9; font-weight: 900; font-style: italic; font-stretch: 125%; color: var(--lime); }
.nil-top .muted { max-width: 34ch; padding-bottom: .4rem; }
.nil-bars { display: grid; gap: .8rem; margin-bottom: 1rem; }
@media (min-width: 700px) { .nil-bars { grid-template-columns: repeat(3, 1fr); } }
.nil-bar-top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .3rem; }
.nil-bar .progress { margin-bottom: .25rem; }
.channel-list { display: grid; gap: .6rem; margin-top: 1rem; }
.channel { padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); }
.channel-top { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.channel-top .pill { margin-left: auto; }
.channel-stats { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .5rem; font-size: .9rem; color: var(--muted); }
.channel-stats strong { color: var(--text); font-size: 1.05rem; }
.channel p { margin: .4rem 0 0; }

/* ---------- content review ---------- */
.rv-dash { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--text); border-color: rgba(204,255,0,.45); background: linear-gradient(135deg, var(--lime-tint), var(--surface) 60%); }
.rv-dash:hover { color: var(--text); border-color: var(--lime); }
.rv-dash-empty { border-color: var(--line); background: var(--surface); }
.rv-dash-tag { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--lime); }
.rv-dash-cta { color: var(--lime); font-weight: 700; font-size: .9rem; }
.rv-headline { font-size: 1.2rem; font-weight: 750; line-height: 1.35; margin: .2rem 0 .4rem; }
.rv-head-card { border-color: rgba(204,255,0,.45); background: var(--lime-tint); }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.rv-list li { display: flex; flex-direction: column; gap: .15rem; padding-left: .9rem; border-left: 3px solid var(--line-strong); }
.rv-list.good li { border-left-color: var(--green); }
.rv-list.bad li { border-left-color: var(--orange); }
.rv-last li { border-left: 0; padding-left: 0; display: block; }
.rv-last li .muted { display: block; margin-top: .15rem; }
.rv-good h2 { color: var(--green); }
.rv-bad h2 { color: var(--orange); }
.dash-grid + section, .rv-posts { margin-top: 1rem; }
.rv-posts { display: grid; gap: 1rem; margin-bottom: 1rem; }
.rv-post { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem; }
.rv-post p { margin: .25rem 0; }
.rv-cover { display: block; width: 110px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.rv-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-cover.noimg { background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--line) 10px 20px); }
.rv-post-top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.rv-post-title { font-weight: 700; }
.rv-try { background: var(--lime-tint); border-radius: var(--r-sm); padding: .5rem .7rem; }
.rv-try span { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--lime); }
.perf { display: inline-block; font-size: .8rem; font-weight: 800; padding: .15rem .55rem; border-radius: 999px; }
.perf-up { background: var(--green-tint); color: var(--green); }
.perf-down { background: var(--orange-tint); color: var(--orange); }
.perf-even { background: var(--surface-2); color: var(--muted); }
.rv-exps { display: grid; gap: .9rem; margin-top: .75rem; }
.rv-exp { display: flex; gap: .85rem; align-items: flex-start; }
.rv-exp h4 { margin: .2rem 0 .25rem; font-size: 1rem; }
.rv-exp p { margin: .2rem 0; }
.rv-exp-card { border-color: rgba(204,255,0,.45); }
.rv-check { margin-top: 1.5rem; }
.rv-admin details { margin-top: .5rem; }
.rv-admin summary { cursor: pointer; color: var(--lime); font-weight: 700; }
.rv-admin-body { margin-top: 1rem; }
@media (max-width: 520px) { .rv-post { grid-template-columns: 72px 1fr; gap: .75rem; padding: .85rem; } .rv-cover { width: 72px; } }

/* ---------- collab list header ---------- */
.collab-listhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin-bottom: 1rem; }
.collab-listhead p { margin: 0; }
.chips-sm { margin: 0; align-items: center; }
.chips-sm .chip { font-size: .85rem; padding: .25rem .8rem; min-height: 32px; }

/* ---------- Creator DNA: unanswered questions ---------- */
.dna-missing ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.dna-missing a { color: var(--text); }
.dna-q.is-missing { border-left: 3px solid var(--amber); padding-left: .85rem; }
.dna-q.is-missing .dna-label::after { content: 'Needs an answer'; margin-left: .5rem; font-size: .75rem; font-weight: 800; color: var(--amber); background: var(--amber-tint); padding: .1rem .5rem; border-radius: 999px; white-space: nowrap; }

/* ---------- Creator DNA: per-section progress ---------- */
.dna-sec.is-partial { border-color: var(--amber); box-shadow: inset 4px 0 0 var(--amber); }
.dna-sec.is-complete { border-color: rgba(110, 231, 160, .45); }
.sec-status-wrap { margin: -.25rem 0 .75rem; }
.sec-status { display: flex; align-items: center; gap: .75rem; }
.sec-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.sec-bar span { display: block; height: 100%; background: var(--lime); border-radius: inherit; transition: width .3s; }
.dna-sec.is-partial .sec-bar span { background: var(--amber); }
.dna-sec.is-complete .sec-bar span { background: var(--green); }
.sec-pct { font-weight: 850; font-size: 1.05rem; min-width: 3.2em; text-align: right; }
.dna-sec.is-partial .sec-pct { color: var(--amber); }
.dna-sec.is-complete .sec-pct { color: var(--green); }
.sec-note { display: block; margin-top: .4rem; font-size: .875rem; color: var(--muted); }
.sec-note.ok { color: var(--green); font-weight: 700; }
a.sec-note.warn { color: var(--amber); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dna-chip .chip-pct { margin-left: .45rem; font-size: .8rem; font-weight: 850; padding: .05rem .45rem; border-radius: 999px; background: var(--surface-2); }
.dna-chip.is-complete { border-color: var(--green); }
.dna-chip.is-complete .chip-pct { background: var(--green-tint); color: var(--green); }
.dna-chip.is-partial { border-color: var(--amber); }
.dna-chip.is-partial .chip-pct { background: var(--amber-tint); color: var(--amber); }

/* ---------- guided start: locks, journey, build progress ---------- */
.locked-page { text-align: center; padding: 2rem 1.25rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.locked-page .lead { margin: 0 auto; }
.lock-badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-tint); color: var(--lime); }
.lock-badge svg { width: 26px; height: 26px; }
.journey-next { display: flex; flex-direction: column; gap: .2rem; padding: .85rem 1rem; border-radius: var(--r); background: var(--surface-2); max-width: 460px; }
.journey { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.journey-step { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.journey-step.is-current { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime) inset; }
.journey-step.is-next { opacity: .6; }
.journey-step.is-done .step-num { background: var(--green); border-color: var(--green); color: #000; font-style: normal; }
.journey-step.is-current .step-num { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.journey-body { display: flex; flex-direction: column; gap: .3rem; flex: 1; min-width: 0; }
.journey-body .sec-status { margin-top: .35rem; }
.journey-cta { margin-top: .5rem; }
.journey-notice { background: var(--lime-tint); border-color: rgba(204,255,0,.4); }
.build-card { border-color: rgba(204,255,0,.45); margin-top: .75rem; }
.build-card .sec-bar span { background: var(--lime); }
.course-row.is-locked { opacity: .5; cursor: not-allowed; }
.course-row.is-locked:hover { border-color: var(--line); }
.course-row.is-current { border-color: var(--lime); }
.lock-tag { font-size: .8rem; font-weight: 700; color: var(--muted); }
.lesson-list li.is-locked .lesson-locked { display: flex; align-items: center; gap: .85rem; padding: .95rem 1rem; border-bottom: 1px solid var(--line); opacity: .55; flex-wrap: wrap; }
.lesson-list li.is-locked .check-dot { border-style: dashed; font-size: .7rem; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.unlocked-card { border-color: var(--green); background: var(--green-tint); margin-top: 1rem; }
.dna-done { border-color: var(--green); }
.dna-done .h3 { color: var(--green); }
.ok-text { color: var(--green); font-weight: 700; }
.dna-built { margin: -.25rem 0 1rem; }

/* ---------- worksheet: Help me answer ---------- */
.ws-q { margin-bottom: 1.1rem; }
.ws-q > label { margin-bottom: .4rem; }
.ws-help { border: 1px dashed rgba(204,255,0,.4); border-radius: var(--r); padding: .55rem .8rem; background: rgba(204,255,0,.04); }
.ws-help[open] { border-style: solid; }
.ws-help summary { cursor: pointer; font-weight: 750; color: var(--lime); display: flex; align-items: center; gap: .5rem; list-style: none; }
.ws-help summary::-webkit-details-marker { display: none; }
.ws-help summary .brand-mark { transform: scale(.8); }
.ws-help summary::after { content: '▾'; margin-left: auto; font-size: .8rem; }
.ws-help[open] summary::after { content: '▴'; }
.ws-opts { display: grid; gap: .65rem; margin-top: .6rem; }
.ws-opt { border: 1px solid var(--line); border-radius: var(--r); padding: .75rem .85rem; background: var(--surface-2); }
.ws-opt p { margin: 0 0 .6rem; }
.ws-opt.is-rec { border-color: var(--lime); }
.ws-rec { display: inline-block; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; color: var(--on-lime); background: var(--lime); padding: .15rem .55rem; border-radius: 999px; margin-bottom: .4rem; }
.ws-why { color: var(--muted); margin: 0 0 .5rem !important; }

/* ---------- 6-section creator menu, section tabs, padlocks ---------- */
.bottombar-6 { grid-template-columns: none; }
.bottombar-6 .nav-link { font-size: .64rem; padding-left: .1rem; padding-right: .1rem; position: relative; }
.topbar-actions { display: flex; gap: .25rem; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn .ico { width: 20px; height: 20px; }
.subtabs { display: flex; gap: .35rem; flex-wrap: wrap; margin: 0 0 1.5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.subtab { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: .92rem; text-decoration: none; border: 1.5px solid transparent; }
.subtab:hover { color: var(--text); border-color: var(--line-strong); }
.subtab.on { color: var(--on-lime); background: var(--lime); }
.subtab.is-locked { color: #6f6f6f; }
.subtab.is-locked.on { background: var(--surface-2); color: var(--muted); }
.nav-link.is-locked { opacity: 1; color: #6f6f6f; position: relative; }
.nav-link.is-locked .ico { opacity: .55; }
/* the padlock */
.lock-pin { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--amber-tint); color: var(--amber); flex: none; margin-left: auto; cursor: help; }
.subtab .lock-pin { margin-left: 0; }
.lock-pin svg { width: 13px; height: 13px; }
.bottombar .lock-pin { position: absolute; top: 4px; right: calc(50% - 22px); width: 16px; height: 16px; }
.bottombar .lock-pin svg { width: 10px; height: 10px; }
/* the bubble: shows on hover or keyboard focus (tap on phones opens the locked page, which explains the same thing) */
.lock-tip { display: none; position: absolute; z-index: 60; top: calc(100% + 8px); right: -8px; width: 240px; padding: .7rem .8rem; border-radius: var(--r); background: #1c1c1c; border: 1px solid var(--amber); box-shadow: 0 10px 30px rgba(0,0,0,.6); color: var(--text); font-size: .82rem; font-weight: 500; line-height: 1.4; text-align: left; white-space: normal; cursor: default; }
.lock-tip strong { display: block; color: var(--amber); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.lock-tip-bar { display: block; height: 5px; border-radius: 999px; background: var(--surface-2); margin: .5rem 0 .3rem; overflow: hidden; }
.lock-tip-bar span { display: block; height: 100%; background: var(--amber); border-radius: inherit; }
.lock-tip-prog { display: block; color: var(--muted); font-size: .76rem; }
.lock-pin:hover .lock-tip, .lock-pin:focus .lock-tip, .lock-pin:focus-within .lock-tip,
.nav-link.is-locked:hover .lock-tip, .subtab.is-locked:hover .lock-tip, .course-row.is-locked:hover .lock-tip { display: block; }
.sidebar .lock-tip { right: 0; }
.bottombar .lock-tip { display: none !important; }
.course-row.is-locked { opacity: .6; cursor: pointer; }
.course-row .lock-tag { display: inline-flex; align-items: center; gap: .45rem; }
.course-row .lock-tag .lock-pin { margin: 0; }
.unlock-line { margin: .35rem 0 0; font-size: .8rem; font-weight: 700; color: var(--amber); }
.unlock-card { border-color: rgba(255,201,77,.45); }
.unlock-next { display: grid; gap: .6rem; align-items: center; }
.unlock-next > div:first-child { display: flex; flex-direction: column; gap: .15rem; }
.unlock-next .sec-bar span { background: var(--amber); }
.unlock-next .sec-pct { color: var(--amber); }
.unlock-next .btn { justify-self: start; }
.unlock-later { list-style: none; margin: 1rem 0 0; padding: .75rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .45rem; }
.unlock-later li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; flex-wrap: wrap; }
.unlock-later li span:first-child::before { content: '🔒 '; }
.sidebar .nav-link.is-locked .lock-pin { position: static; }
.sidebar .nav-link.is-locked:hover, .sidebar .nav-link.is-locked:focus-within { z-index: 70; }
.sidebar .nav-link.is-locked .lock-tip { left: .5rem; right: .5rem; width: auto; top: calc(100% - 2px); }
.journey-next .sec-status { width: 100%; min-width: 240px; }

/* ---------- Library: images & videos ---------- */
.chip-count { margin-left: .35rem; font-size: .75rem; opacity: .7; }
.media-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.media-grid > .empty { grid-column: 1 / -1; }
.media-item { margin: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.media-prev { aspect-ratio: 4 / 5; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.media-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-prev video { width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
.media-ph { font-size: 2.2rem; opacity: .5; }
.media-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.media-body .h3 { margin: 0; font-size: 1rem; }
.media-body p { margin: 0; }
.media-foot { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.lib-form-top { display: flex; gap: 1rem; align-items: flex-start; }
.lib-form-top .grid-2 { flex: 1; }
.lib-thumb { width: 72px; height: 90px; border-radius: var(--r-sm); background: var(--surface-2); overflow: hidden; display: grid; place-items: center; font-size: 1.6rem; flex: none; }
.lib-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .media-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; } .media-body { padding: .7rem; } .media-foot { flex-direction: column; align-items: stretch; } .media-foot .btn { width: 100%; } }
.event-focus { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: var(--r); }
.rsvp-on { border-color: var(--green) !important; color: var(--green) !important; }

/* ---------- This week: Post these next! ---------- */
.post-next { position: relative; overflow: hidden; margin: 0 0 1rem; padding: 1.4rem 1.4rem 1.2rem; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--lime) 0%, #b6f000 100%); color: var(--on-lime); }
.post-next::after { content: ''; position: absolute; right: -40px; top: -30px; width: 180px; height: 180%; background: rgba(0,0,0,.08); transform: skewX(-18deg); }
.post-next-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; position: relative; z-index: 1; }
.post-next-title { margin: 0; font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 900; font-style: italic; font-stretch: 120%; letter-spacing: -.02em; line-height: 1; }
.post-next-count { font-weight: 850; background: #000; color: var(--lime); padding: .3rem .75rem; border-radius: 999px; font-size: .9rem; }
.post-next-sub { margin: .6rem 0 0; font-weight: 600; max-width: 60ch; position: relative; z-index: 1; }
.idea { position: relative; }
.idea.is-next { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime) inset; }
.next-tag { position: absolute; top: -10px; right: 14px; background: var(--lime); color: var(--on-lime); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .6rem; border-radius: 999px; }

/* ---------- nudge pop-up ---------- */
.nudge { position: fixed; z-index: 80; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); left: 16px; max-width: 380px; margin-left: auto; background: #151515; border: 1.5px solid var(--lime); border-radius: var(--r-lg); padding: .9rem 1rem .85rem; box-shadow: 0 18px 50px rgba(0,0,0,.7), 0 0 0 4px rgba(204,255,0,.08); transform: translateY(16px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.nudge.in { transform: none; opacity: 1; }
.nudge.out { transform: translateY(16px); opacity: 0; }
@media (min-width: 900px) { .nudge { left: auto; right: 24px; bottom: 24px; width: 360px; } }
.nudge-main { display: flex; gap: .8rem; align-items: flex-start; color: var(--text); text-decoration: none; padding-right: 1.5rem; }
.nudge-main:hover { color: var(--text); }
.nudge-icon { font-size: 1.6rem; line-height: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--lime-tint); flex: none; }
.nudge-body { display: flex; flex-direction: column; gap: .2rem; }
.nudge-body strong { font-size: 1rem; line-height: 1.25; }
.nudge-body span { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.nudge-actions { display: flex; align-items: center; gap: .9rem; margin-top: .75rem; padding-left: calc(44px + .8rem); }
.nudge-x { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; border: 0; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; border-radius: 50%; }
.nudge-x:hover { color: var(--text); background: var(--surface-2); }
@media (prefers-reduced-motion: reduce) { .nudge { transition: none; } }

/* =====================================================================
   VISUAL LAYER: jersey numbers, creator card, banners, covers, rings,
   level plate, celebrations, grain + glows, entrance animations
   ===================================================================== */
.jersey { font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -.045em; line-height: .85; font-variant-numeric: tabular-nums; }
.big-stat span.jersey { font-size: 3rem; }

/* film grain + stadium-light glow (fixed, never blocks clicks) */
body::after { content: ''; position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.shell-creator::before { content: ''; position: fixed; top: -25vh; right: -15vw; width: 70vw; height: 70vh; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(204,255,0,.075), rgba(204,255,0,0)); }
.shell-creator::after { content: ''; position: fixed; bottom: -30vh; left: 10vw; width: 60vw; height: 60vh; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(255,255,255,.035), rgba(255,255,255,0)); }
.shell-creator .main { position: relative; z-index: 1; }

/* entrance + progress animations (turned off by the reduced-motion rule at the top) */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes fillin { from { width: 0; } }
@keyframes ringin { from { stroke-dasharray: 0 999; } }
#view > .page > * { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
#view > .page > *:nth-child(2) { animation-delay: .04s; } #view > .page > *:nth-child(3) { animation-delay: .08s; }
#view > .page > *:nth-child(4) { animation-delay: .12s; } #view > .page > *:nth-child(5) { animation-delay: .16s; }
#view > .page > *:nth-child(n+6) { animation-delay: .2s; }
.progress > span, .sec-bar > span, .lp-bar > span, .tc-bar-t > span { animation: fillin .9s cubic-bezier(.2,.7,.2,1) both .15s; }

/* ---------- avatars ---------- */
.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; border: 2px solid var(--lime); background: var(--surface-2); }
.av-empty { background: var(--lime); color: var(--on-lime); font-weight: 900; font-style: italic; font-size: .95rem; font-stretch: 115%; }
.av-sm { width: 30px; height: 30px; font-size: .75rem; border-width: 1.5px; }
.av-lg { width: 64px; height: 64px; font-size: 1.5rem; }
.topbar-me { display: inline-flex; align-items: center; margin-right: .25rem; text-decoration: none; }
.me-chip { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; padding: .55rem .6rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s; }
.me-chip:hover { border-color: var(--lime); color: var(--text); }
.me-chip-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.me-chip-t strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-chip-t span { font-size: .72rem; color: var(--lime); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: .15rem; }
.entry-who { display: inline-flex; align-items: center; gap: .5rem; }
.entry-who .cl-av { width: 30px; height: 30px; font-size: .8rem; }

/* ---------- creator trading card ---------- */
.tcard { position: relative; width: 100%; max-width: 300px; background: #060606; border: 2px solid var(--lime); border-radius: 16px; overflow: hidden; font-family: var(--font); color: var(--text);
  box-shadow: 0 0 0 4px #000, 0 0 0 5px rgba(204,255,0,.3), 0 30px 70px -25px rgba(204,255,0,.45); }
.tc-photo { position: relative; aspect-ratio: 1 / 1.02; background: radial-gradient(circle at 30% 20%, #242424, #070707 70%); background-size: cover; background-position: center 22%; }
.tc-photo[style] { background-image: var(--photo); }
.tc-photo::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(204,255,0,.05) 0 2px, transparent 2px 16px); }
.tc-photo[style]::before { background: none; }
.tc-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 52%, #060606 97%); }
.tc-initials { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; font-size: 6rem; font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--lime); }
.tc-mark { position: absolute; top: 12px; left: 12px; z-index: 2; width: 34px; height: 30px; background: var(--lime); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; font-size: 0; }
.tc-tier { position: absolute; top: 14px; right: 12px; z-index: 2; font-size: .64rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; padding: .25rem .55rem; border-radius: 999px; border: 1.5px solid var(--lime); color: var(--lime); background: rgba(0,0,0,.55); }
.tier-premium .tc-tier { background: var(--lime); color: #000; }
.tc-stripe { position: absolute; z-index: 2; right: -14px; bottom: 26px; width: 120px; height: 12px; background: var(--lime); transform: skewX(-32deg); box-shadow: -26px 18px 0 -3px rgba(204,255,0,.45); }
.tc-nil { position: absolute; z-index: 2; left: 14px; bottom: 6px; display: flex; flex-direction: column; }
.tc-nil-n { font-size: 3.6rem; line-height: .82; font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -.05em; color: var(--lime); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.tc-nil-l { font-size: .62rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-top: .2rem; }
.tc-body { padding: .7rem 1rem 1rem; }
.tc-name { margin: 0; font-size: 1.35rem; line-height: 1; font-weight: 900; font-style: italic; font-stretch: 118%; text-transform: uppercase; letter-spacing: -.01em; overflow-wrap: anywhere; }
.tc-sub { margin: .3rem 0 .75rem; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tc-sub span { color: #6f6f6f; }
.tc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #222; border-bottom: 1px solid #222; }
.tc-stats > div { padding: .5rem 0; display: flex; flex-direction: column; gap: .1rem; }
.tc-stats > div + div { padding-left: .6rem; border-left: 1px solid #222; }
.tc-k { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tc-v { font-size: 1.05rem; font-weight: 900; font-style: italic; font-stretch: 115%; }
.tc-bars { display: grid; gap: .35rem; margin: .7rem 0 .75rem; }
.tc-bar { display: grid; grid-template-columns: 78px 1fr 24px; align-items: center; gap: .5rem; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tc-bar-t { height: 5px; border-radius: 999px; background: #222; overflow: hidden; }
.tc-bar-t span { display: block; height: 100%; background: var(--lime); border-radius: inherit; }
.tc-bar-v { text-align: right; color: var(--text); }
.tc-foot { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tc-lvl { color: var(--text); }
.tc-lvl b { font-size: 1.05rem; font-style: italic; font-stretch: 125%; color: var(--lime); margin-right: .3rem; letter-spacing: -.03em; }

/* card + actions block */
.card-block { display: grid; gap: 1.25rem; justify-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 1rem; }
.card-block-side { text-align: center; max-width: 42ch; }
.card-block-side .btn-row { justify-content: center; }
@media (min-width: 720px) {
  .card-block { grid-template-columns: 300px 1fr; justify-items: start; align-items: center; }
  .card-block-side { text-align: left; }
  .card-block-side .btn-row { justify-content: flex-start; }
}
.file-btn { cursor: pointer; }
.file-btn.is-busy { opacity: .6; pointer-events: none; }
.card-msg:empty, [data-card-msg]:empty { display: none; }

/* ---------- dashboard hero ---------- */
.dash-hero { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
.dash-hero-card { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.dash-hero-card .card-actions { justify-content: center; margin: .6rem 0 0; }
.dash-hero-card .card-msg { margin: 0; text-align: center; max-width: 300px; }
.dash-hero-side { display: grid; gap: 1rem; align-content: start; }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 1rem .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem .75rem; }
.path-chip { display: inline-block; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .7rem; border-radius: 999px; border: 1.5px solid var(--lime); color: var(--lime); }
.path-chip.path-premium { background: var(--lime); color: #000; }
.level-link { display: block; text-decoration: none; color: inherit; }
.level-link:hover { color: inherit; }
.level-link:hover .level-plate { border-color: var(--lime); }
@media (min-width: 900px) { .dash-hero { grid-template-columns: 300px 1fr; align-items: start; } }

/* rings, dial, flame */
.ring, .dial, .flame { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ring svg { width: 88px; height: 88px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #232323; stroke-width: 9; }
.ring-fg { fill: none; stroke: var(--lime); stroke-width: 9; stroke-linecap: round; animation: ringin 1.1s cubic-bezier(.2,.7,.2,1) both .1s; filter: drop-shadow(0 0 6px rgba(204,255,0,.35)); }
.ring-full .ring-fg { stroke: var(--lime); }
.ring-v { position: absolute; top: 0; left: 0; right: 0; height: 88px; display: grid; place-items: center; font-size: 1.35rem; color: var(--text); }
.ring-full .ring-v { color: var(--lime); }
.ring-l { margin-top: .45rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ring-s { font-size: .72rem; color: #6f6f6f; }
.dial svg { width: 124px; height: 72px; margin-top: 8px; }
.dial-bg { fill: none; stroke: #232323; stroke-width: 10; stroke-linecap: round; }
.dial-fg { fill: none; stroke: var(--lime); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 200; animation: dialin 1.2s cubic-bezier(.2,.7,.2,1) both .15s; filter: drop-shadow(0 0 6px rgba(204,255,0,.35)); }
@keyframes dialin { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
.dial-dot { fill: #fff; }
.dial-v { position: absolute; top: 44px; left: 0; right: 0; font-size: 1.6rem; color: var(--lime); }
.dial .ring-l { margin-top: .2rem; }
.flame svg { width: 64px; height: 80px; margin-top: 4px; }
.flame-o { fill: #262626; }
.flame-i { fill: #3a3a3a; }
.flame.hot .flame-o { fill: var(--orange); filter: drop-shadow(0 0 10px rgba(255,138,61,.5)); }
.flame.hot .flame-i { fill: var(--amber); }
.flame.blaze svg { animation: flicker 1.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes flicker { 0%,100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.04,.97) rotate(-1.5deg); } 60% { transform: scale(.97,1.04) rotate(1.5deg); } }
.flame-v { position: absolute; top: 44px; left: 0; right: 0; font-size: 1.5rem; color: var(--muted); }
.flame.hot .flame-v { color: #000; }
.streak-card .flame, .week-top .flame { align-items: flex-start; }
.week-top .flame { align-items: center; }
.streak-card .flame .flame-v { left: 0; right: auto; width: 64px; }

/* level plate: the level printed like the back of a jersey */
.level-plate { position: relative; overflow: hidden; display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.25rem; border-radius: var(--r-lg); border: 1px solid var(--line); transition: border-color .15s;
  background: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1.5px) 0 0 / 7px 7px, var(--surface); }
.level-plate::after { content: ''; position: absolute; right: -30px; top: 0; bottom: 0; width: 90px; background: var(--lime); transform: skewX(-24deg); opacity: .08; }
.lp-num { font-size: clamp(4rem, 12vw, 5.5rem); color: var(--lime); text-shadow: 0 0 30px rgba(204,255,0,.25); }
.lp-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.lp-kicker { font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.lp-name { font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: .01em; }
.lp-bar { display: block; height: 4px; background: #262626; border-radius: 999px; overflow: hidden; margin: .45rem 0 .2rem; max-width: 360px; }
.lp-bar span { display: block; height: 100%; background: var(--lime); border-radius: inherit; }
.lp-next { font-size: .8rem; color: var(--muted); }
.level-card .level-plate { border: 0; padding: 0 0 .75rem; background: none; }
.level-card .level-plate::after { display: none; }

/* ---------- section banners ---------- */
.sec-banner { position: relative; overflow: hidden; isolation: isolate; min-height: 128px; border-radius: var(--r-lg); margin: 0 0 1rem; border: 1px solid var(--line); background: #050505; }
.sec-banner::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--img) center 38% / cover no-repeat; filter: grayscale(1) contrast(1.15) brightness(.75); }
.sec-banner.own::before { background-position: center 25%; }
.sec-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #000 8%, rgba(0,0,0,.65) 45%, rgba(0,0,0,.1) 100%), linear-gradient(0deg, rgba(204,255,0,.12), rgba(204,255,0,.12)); mix-blend-mode: normal; }
.sb-stripe { position: absolute; right: 9%; top: -20%; width: 34px; height: 140%; background: var(--lime); transform: skewX(-26deg); opacity: .9; }
.sb-stripe-2 { right: calc(9% + 52px); width: 12px; opacity: .5; }
.sb-text { position: absolute; left: 1.25rem; bottom: 1rem; right: 30%; display: flex; flex-direction: column; }
.sb-kicker { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; color: var(--lime); }
.sb-title { font-size: clamp(2rem, 6vw, 3.4rem); line-height: .9; font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -.035em; text-transform: uppercase; }
@media (min-width: 900px) { .sec-banner { min-height: 150px; } .sb-text { left: 1.75rem; bottom: 1.25rem; } }
.sec-banner + .subtabs { margin-top: 0; }

/* ---------- course covers ---------- */
.cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate; background: #070707; container-type: inline-size; color: var(--text); }
.cover-pattern { position: absolute; inset: 0; z-index: -1; }
.cover-p1 .cover-pattern { background: repeating-linear-gradient(115deg, rgba(204,255,0,.07) 0 2px, transparent 2px 14px); }
.cover-p2 .cover-pattern { background: radial-gradient(circle, rgba(204,255,0,.16) 1.4px, transparent 2px) 0 0 / 14px 14px; }
.cover-p3 .cover-pattern { background: linear-gradient(rgba(204,255,0,.07) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(204,255,0,.07) 1px, transparent 1px) 0 0 / 22px 22px; }
.cover-p4 .cover-pattern { background: repeating-linear-gradient(45deg, rgba(204,255,0,.06) 0 2px, transparent 2px 16px), repeating-linear-gradient(-45deg, rgba(204,255,0,.06) 0 2px, transparent 2px 16px); }
.cover-p5 .cover-pattern { background: repeating-radial-gradient(circle at 85% 110%, rgba(204,255,0,.09) 0 2px, transparent 2px 18px); }
.cover-stripe { position: absolute; z-index: -1; right: 4%; top: -10%; width: 22%; height: 130%; background: var(--lime); transform: skewX(-24deg); }
.cover-p2 .cover-stripe { width: 9%; right: 16%; box-shadow: 3.2cqw 0 0 -0.6cqw rgba(204,255,0,.5); }
.cover-p3 .cover-stripe { width: 14%; right: 10%; }
.cover-p4 .cover-stripe { width: 30%; right: -6%; }
.cover-p5 .cover-stripe { width: 6%; right: 22%; box-shadow: 6cqw 0 0 0 var(--lime); }
.cover-num { position: absolute; left: 5%; top: -2%; font-size: 40cqw; line-height: .9; font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: max(1.5px, .35cqw) rgba(204,255,0,.5); }
.cover-text { position: absolute; left: 6%; right: 36%; text-shadow: 0 1px 10px rgba(0,0,0,.7); bottom: 7%; display: flex; flex-direction: column; gap: .35em; }
.cover-phase { font-size: max(.62rem, 3.4cqw); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--lime); }
.cover-title { font-size: max(.9rem, 6.2cqw); line-height: .95; font-weight: 900; font-style: italic; font-stretch: 118%; letter-spacing: -.02em; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cover-mark { position: absolute; right: 5%; top: 7%; font-size: max(.7rem, 5cqw); font-weight: 900; font-style: italic; font-stretch: 125%; color: #000; }
.cover-p6 { background: var(--lime); color: #000; }
.cover-p6 .cover-pattern { background: repeating-linear-gradient(115deg, rgba(0,0,0,.08) 0 2px, transparent 2px 14px); }
.cover-p6 .cover-stripe { background: #000; }
.cover-p6 .cover-num { -webkit-text-stroke-color: rgba(0,0,0,.45); }
.cover-p6 .cover-phase { color: #000; }
.cover-p6 .cover-text { text-shadow: none; }
.cover-p6 .cover-mark { color: var(--lime); }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.course-tile { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: inherit; transition: transform .18s, border-color .18s, box-shadow .18s; }
.course-tile:hover { color: inherit; border-color: var(--lime); transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(204,255,0,.4); }
.tile-cover { position: relative; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.tile-cover .cover { border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; }
.course-tile .next-tag { top: 10px; left: 10px; right: auto; }
.tile-done { position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #000; font-weight: 900; }
.tile-lock { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); border-radius: inherit; }
.tile-lock .lock-pin { margin: 0; width: 46px; height: 46px; background: rgba(0,0,0,.7); border: 1.5px solid var(--amber); }
.tile-lock .lock-pin svg { width: 22px; height: 22px; }
.tile-lock .lock-tip { top: calc(100% + 6px); right: 50%; transform: translateX(50%); }
.course-tile.is-locked:hover .lock-tip { display: block; }
.course-tile.is-locked .cover { filter: grayscale(1) brightness(.45); }
.course-tile.is-locked:hover { transform: none; box-shadow: none; border-color: var(--line-strong); }
.course-tile.is-current { border-color: var(--lime); }
.course-tile.is-done .cover::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.tile-body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tile-desc { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-body .course-prog { display: flex; align-items: center; gap: .6rem; margin-top: auto; }
.tile-body .course-prog .progress { flex: 1; }
.tile-body .lock-tag { margin-top: auto; color: var(--amber); font-weight: 700; }
.tile-body .unlock-line { margin: 0; }
.course-hero { margin: .75rem 0 1.25rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.course-hero .cover { aspect-ratio: 21 / 8; }
.course-hero .cover-num { font-size: 22cqw; }
.course-hero .cover-title { font-size: max(1.05rem, 3.8cqw); }
.course-hero .cover-phase { font-size: max(.65rem, 1.6cqw); }
.course-hero .cover-mark { font-size: max(.8rem, 3cqw); }
.course-hero .cover-text { right: 40%; }

/* ---------- featured creator ---------- */
.featured-who { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.featured-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--lime); box-shadow: 0 0 0 4px #000, 0 0 24px rgba(204,255,0,.35); flex: none; }
.featured-photo-empty { display: grid; place-items: center; background: var(--lime); color: #000; font-size: 2.2rem; font-weight: 900; font-style: italic; }
.featured-name { font-size: 1.5rem; font-weight: 900; font-style: italic; font-stretch: 118%; text-transform: uppercase; line-height: 1; }
.featured.has-embed { display: grid; gap: 1.25rem; }
.post-embed { border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); aspect-ratio: 16 / 9; width: 100%; }
.post-embed-tall { aspect-ratio: auto; height: 560px; max-width: 380px; justify-self: center; background: #fff; }
.post-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 900px) { .featured.has-embed { grid-template-columns: 1fr minmax(300px, 380px); align-items: start; } }

/* ---------- empty states ---------- */
.empty { border: 1px solid var(--line); background: radial-gradient(circle at 50% 0%, rgba(204,255,0,.06), transparent 60%), var(--surface); }
.empty-art { display: block; width: 150px; height: auto; margin: 0 auto .9rem; }

/* ---------- celebrations ---------- */
.celebrate { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 1.5rem; background: rgba(0,0,0,.84); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.celebrate.in { opacity: 1; }
.celebrate.out { opacity: 0; }
.cel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cel-box { position: relative; text-align: center; max-width: 460px; transform: scale(.9); transition: transform .35s cubic-bezier(.2,1.4,.4,1); }
.celebrate.in .cel-box { transform: scale(1); }
.cel-lock { width: 96px; height: 116px; color: var(--lime); margin: 0 auto .5rem; display: block; filter: drop-shadow(0 0 24px rgba(204,255,0,.5)); overflow: visible; }
.cel-shackle { transform-box: fill-box; transform-origin: 100% 100%; animation: shackle .7s cubic-bezier(.3,1.6,.5,1) .35s both; }
@keyframes shackle { to { transform: translate(8px, -16px) rotate(28deg); } }
.cel-body { transform-box: fill-box; transform-origin: 50% 100%; animation: thud .45s ease-out .3s both; }
@keyframes thud { 0% { transform: scale(1); } 40% { transform: scale(1.12, .9); } 100% { transform: scale(1); } }
.cel-big { display: block; font-size: 8rem; color: var(--lime); text-shadow: 0 0 40px rgba(204,255,0,.4); animation: pop .5s cubic-bezier(.2,1.5,.4,1) .15s both; }
.cel-check { width: 110px; height: 110px; margin: 0 auto .75rem; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #000; font-size: 3.6rem; font-weight: 900; text-shadow: none; box-shadow: 0 0 50px rgba(204,255,0,.45); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.cel-kicker { margin: 0 0 .3rem; font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); }
.cel-title { margin: 0 0 .6rem; font-size: clamp(2rem, 7vw, 3.2rem); line-height: .95; font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -.03em; text-transform: uppercase; }
.cel-text { color: #cfcfcf; margin: 0 auto 1.25rem; max-width: 38ch; }
.cel-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.card-block-side [data-avatar-remove] { margin-top: .6rem; }

/* ---------- review ask ---------- */
.reviews-card { border-color: rgba(204,255,0,.35); }
.review-list { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .5rem; }
.review-list li { display: grid; grid-template-columns: auto 1fr; gap: .4rem .75rem; align-items: center; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.review-list .step-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-tint); color: var(--lime); font-weight: 900; }
.review-list li.is-done .step-num { background: var(--lime); color: #000; }
.review-main { display: flex; flex-direction: column; min-width: 0; }
.review-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.review-form { grid-column: 1 / -1; }
.review-form label { margin: .25rem 0 0; }
@media (min-width: 640px) { .review-list li { grid-template-columns: auto 1fr auto; } .review-actions { grid-column: auto; } }
.step-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.step-dialog::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.step-dialog .reviews-card { margin: 0; max-height: calc(100vh - 48px); overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.step-dialog .review-list li { grid-template-columns: auto 1fr; }
.step-dialog .review-actions { grid-column: 1 / -1; }
.dialog-x { position: absolute; top: -14px; right: -10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.dialog-x:hover { border-color: var(--lime); color: var(--lime); }
.review-howto { margin: .6rem 0 .2rem; padding-left: 1.3rem; display: grid; gap: .3rem; color: var(--text); }
.review-howto strong { color: var(--lime); }

/* steps that were done but need doing again (new session, new month, new lessons…) */
.next-steps li.is-due .step-num { background: var(--red); border-color: var(--red); color: #000; font-style: normal; font-weight: 900; }
.next-steps li.is-due strong { color: var(--red); }
.next-steps li.is-due .step-body .small { color: #ffc2c8; }
.btn-due { background: var(--red); color: #000; }
.btn-due:hover { background: #ff8a96; color: #000; }
.due-text { color: var(--red); font-weight: 700; }

/* ---------- account standing (warnings / frozen) ---------- */
.comply { border-radius: var(--r-lg); padding: 1rem 1.15rem; margin: 0 0 1rem; border: 1.5px solid; }
.comply-frozen { border-color: var(--red); background: linear-gradient(120deg, rgba(255,107,122,.2), rgba(255,107,122,.06)), var(--surface); }
.comply-warn { border-color: var(--red); background: var(--red-tint); }
.comply-note { border-color: var(--line-strong); background: var(--surface); }
.comply-head { display: flex; gap: .8rem; align-items: flex-start; }
.comply-head strong { display: block; font-size: 1.05rem; font-weight: 850; }
.comply-frozen .comply-head strong, .comply-warn .comply-head strong { color: var(--red); }
.comply-head p { margin: .15rem 0 0; color: var(--text); font-size: .92rem; }
.comply-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--red); color: #000; font-size: 1.05rem; }
.comply-note .comply-icon { background: var(--surface-2); color: var(--lime); border: 1px solid var(--line-strong); font-size: .95rem; }
.comply-list { list-style: none; margin: .75rem 0 0; padding: 0 0 0 calc(34px + .8rem); display: grid; gap: .4rem; }
.comply-list li { display: flex; flex-direction: column; }
.comply-list a { font-weight: 800; color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.comply-note .comply-list a { text-decoration-color: var(--lime); }
.comply-list span { font-size: .82rem; color: var(--muted); }
#comply:empty { display: none; }
.journey-btn { margin-top: .6rem; align-self: flex-start; }
/* admin daily report */
.report-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.report-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; }
.report-stat b { display: block; font-size: 2rem; line-height: 1; font-weight: 900; font-style: italic; font-stretch: 122%; }
.report-stat span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.report-stat.is-red b { color: var(--red); } .report-stat.is-amber b { color: var(--amber); } .report-stat.is-lime b { color: var(--lime); }
.report-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.report-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .85rem 1rem; display: grid; gap: .5rem; }
.report-item.is-frozen { border-color: rgba(255,107,122,.55); }
.report-item.is-warning { border-color: rgba(255,201,77,.5); }
.report-top { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; align-items: baseline; }
.report-top a { font-weight: 800; }
.report-missing { margin: 0; padding-left: 1.1rem; font-size: .88rem; color: var(--muted); }
.report-missing strong { color: var(--text); font-weight: 700; }
.report-actions { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.pill-frozen { background: var(--red-tint); color: var(--red); border: 1px solid rgba(255,107,122,.45); }
.pill-warning { background: var(--amber-tint); color: var(--amber); border: 1px solid rgba(255,201,77,.45); }
.collab-card { border-color: rgba(204,255,0,.45); }
.collab-steps { margin: .25rem 0 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.collab-steps strong { color: var(--lime); }

/* ---------- High School Athlete pathway ---------- */
.tc-cert { position: absolute; z-index: 3; top: 50px; right: 12px; display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .6rem .3rem .35rem; border-radius: 999px; background: var(--lime); color: #000; font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(0,0,0,.5); transform: rotate(-4deg); }
.tc-cert b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #000; color: var(--lime); font-size: .7rem; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; gap: 2px; }
.seg-b { border: 0; background: none; color: var(--muted); font: inherit; font-size: .82rem; font-weight: 800; padding: .35rem .8rem; border-radius: 999px; cursor: pointer; }
.seg-b.on { background: var(--lime); color: #000; }
.quickcheck { border-color: rgba(204,255,0,.4); }
.qc-q { border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; margin: 0 0 .75rem; }
.qc-q legend { float: left; width: 100%; padding: 0; margin: 0 0 .5rem; font-size: 1.02rem; line-height: 1.35; font-weight: 800; font-style: normal; text-transform: none; letter-spacing: 0; font-stretch: 100%; }
.qc-q legend + * { clear: both; }
.qc-q.is-right { border-color: rgba(110,231,160,.6); background: var(--green-tint); }
.qc-q.is-wrong { border-color: rgba(255,107,122,.6); background: var(--red-tint); }
.qc-opt { display: flex; align-items: flex-start; gap: .6rem; padding: .6rem .5rem; min-height: 44px; border-radius: var(--r-sm); cursor: pointer; font-weight: 500; margin: 0; }
.qc-opt:hover { background: var(--surface-2); }
.qc-opt input { margin-top: .25rem; accent-color: var(--lime); width: 18px; height: 18px; flex: none; }
.qc-opt.is-answer { color: var(--green); font-weight: 700; }
.qc-why { margin: .4rem 0 0; font-size: .88rem; }
.exam-cat { display: block; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--lime); margin-bottom: .2rem; }
.exam-result { text-align: center; }
.exam-result.is-pass { border-color: var(--lime); }
.exam-result.is-fail { border-color: rgba(255,107,122,.6); }
.exam-score { font-size: 5rem; color: var(--lime); margin: 0; }
.exam-result.is-fail .exam-score { color: var(--red); }
.exam-result .btn-row { justify-content: center; }
.exam-review { border-top: 1px solid var(--line); padding: .7rem 0; }
.exam-review p { margin: .2rem 0; }
.cert-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.cert-steps li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.cert-steps li > div { display: flex; flex-direction: column; gap: .2rem; }
.cert-steps li.is-done .step-num { background: var(--lime); border-color: var(--lime); color: #000; }
.cert-steps li.is-current .step-num { border-color: var(--lime); color: var(--lime); }
.cert-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 1.6rem 1.5rem; margin-bottom: 1rem; background: radial-gradient(circle at 85% 0%, rgba(204,255,0,.16), transparent 55%), #060606; border: 2px solid var(--lime); box-shadow: 0 30px 70px -30px rgba(204,255,0,.45); }
.cert-stripe { position: absolute; right: 8%; top: -20%; width: 40px; height: 140%; background: var(--lime); transform: skewX(-24deg); opacity: .9; box-shadow: 30px 0 0 -14px rgba(204,255,0,.45); }
.cert-kicker { margin: 0; font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.cert-title { margin: .2rem 0 .4rem; font-size: clamp(2.4rem, 8vw, 3.6rem); line-height: .9; font-weight: 900; font-style: italic; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.03em; }
.cert-name { margin: 0 0 1rem; font-size: 1.2rem; font-weight: 800; }
.cert-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .75rem; margin: 0; position: relative; }
.cert-meta dt { font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.cert-meta dd { margin: .1rem 0 0; font-weight: 800; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .06em; }
.copy-row { display: flex; gap: .5rem; align-items: center; }
.copy-row input { flex: 1; min-width: 0; }
.badge-img { display: block; max-width: 100%; height: auto; margin: .3rem 0 .8rem; }
.mt-s { margin-top: .5rem; }
.nil-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .8rem .45rem .45rem; border-radius: 999px; background: #000; border: 1.5px solid var(--lime); }
.nil-badge-check { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #000; font-weight: 900; }
.nil-badge-t { display: flex; flex-direction: column; line-height: 1.15; }
.nil-badge-t strong { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.nil-badge-t span { font-size: .72rem; color: var(--muted); }
.nil-badge.is-expired { border-color: var(--line-strong); }
.nil-badge.is-expired .nil-badge-check { background: var(--amber); }
.verify-status { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: var(--r-lg); margin: 1rem 0 1.25rem; border: 2px solid; }
.verify-status.is-active { border-color: var(--lime); background: var(--lime-tint); }
.verify-status.is-inactive { border-color: var(--amber); background: var(--amber-tint); }
.verify-status strong { display: block; font-size: 1.15rem; }
.verify-status span { font-size: .9rem; color: var(--muted); }
.verify-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 1.5rem; font-weight: 900; background: var(--lime); color: #000; }
.is-inactive .verify-icon { background: var(--amber); }
.verify-name { margin-bottom: .2rem; }
.verify-meta { margin: 0 0 1.25rem; }
.cert-mini { border-color: rgba(204,255,0,.4); }
.path-chip.path-hs { background: var(--lime); color: #000; }
.path-pick { display: grid; gap: .9rem; margin: .5rem 0 1rem; }
@media (min-width: 640px) { .path-pick { grid-template-columns: 1fr 1fr; } }
.path-opt { position: relative; display: block; border: 2px solid var(--line-strong); border-radius: var(--r-lg); padding: 1.1rem 1.1rem 1rem; cursor: pointer; background: var(--surface); margin: 0; font-weight: 400; }
.path-opt:hover { border-color: var(--lime); }
.path-opt input { position: absolute; opacity: 0; }
.path-opt:has(input:checked) { border-color: var(--lime); background: var(--lime-tint); }
.path-opt strong { display: block; font-size: 1.2rem; font-weight: 900; font-style: italic; font-stretch: 115%; text-transform: uppercase; margin-bottom: .3rem; }
.path-opt span { color: var(--muted); font-size: .92rem; }
.path-opt .path-tag-s { display: inline-block; margin-bottom: .45rem; font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.parent-box { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 1rem; background: var(--surface-2); }
.hs-sec { margin: 4rem auto; }
.hs-card { display: grid; gap: 2rem; align-items: center; border: 2px solid var(--lime); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.6rem); background: radial-gradient(circle at 90% 10%, rgba(204,255,0,.16), transparent 55%), var(--surface); }
@media (min-width: 860px) { .hs-card { grid-template-columns: 1fr 260px; } }
.hs-kicker { margin: 0 0 .4rem; font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.hs-badge { justify-self: center; width: 230px; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .3rem; background: #000; border: 3px solid var(--lime); box-shadow: 0 0 0 10px rgba(204,255,0,.08), 0 30px 70px -20px rgba(204,255,0,.5); transform: rotate(-6deg); }
.hs-badge-check { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #000; font-size: 1.8rem; font-weight: 900; }
.hs-badge strong { font-size: 2rem; line-height: .9; font-weight: 900; font-style: italic; font-stretch: 125%; text-transform: uppercase; }
.hs-badge span:last-child { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.badge-hs { background: var(--lime); color: #000; font-weight: 900; }
.qz-opt { display: flex; align-items: center; gap: .5rem; margin: 0 0 .4rem; }
.qz-opt input[type=radio] { width: 20px; height: 20px; accent-color: var(--lime); flex: none; }
.qz-opt input:not([type]) { flex: 1; }
.cm-hs { font-size: .6rem; font-weight: 900; background: var(--lime); color: #000; border-radius: 4px; padding: 0 .3rem; margin-right: .3rem; vertical-align: 2px; }

/* phone polish: bigger tap targets for text-style buttons */
@media (max-width: 640px) {
  .btn-link { min-height: 40px; padding: .4rem .2rem; display: inline-flex; align-items: center; }
}

/* ================= E-SIGNATURES ================= */
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: .35rem; }
.doc-box { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); margin: 1rem 0 1.25rem; overflow: hidden; }
.doc-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.doc-title { margin: 0; font-size: 1.1rem; font-weight: 850; font-style: italic; }
.doc-ver { font-size: .78rem; color: var(--muted); font-weight: 700; }
.doc-body { max-height: min(56vh, 520px); overflow-y: auto; padding: .4rem 1.1rem 1rem; max-width: none; font-size: .95rem; overscroll-behavior: contain; }
.doc-body:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.doc-body h2 { font-size: 1.02rem; font-style: normal; font-stretch: 100%; margin: 1.2em 0 .35em; }
.doc-body p, .doc-body li { line-height: 1.6; }
.doc-body ul { padding-left: 1.2rem; }
.doc-details { margin: 1rem 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.doc-details > summary { cursor: pointer; padding: .9rem 1rem; font-weight: 800; min-height: 44px; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.doc-details[open] > summary { border-bottom: 1px solid var(--line); }
.doc-details .doc-box { margin: .75rem; }
.sign-steps { padding-left: 1.2rem; color: var(--muted); }
.sign-card { border-color: rgba(204,255,0,.45); }
.sign-card .h3 { margin-top: 0; }
.sign-fields { margin: .5rem 0 1rem; }
.sig-pad-wrap { margin: .9rem 0 1rem; }
.sig-pad-head { display: flex; justify-content: space-between; align-items: center; font-weight: 650; margin-bottom: .35rem; }
.sig-pad-box { position: relative; background: #fff; border-radius: var(--r); border: 2px dashed #9a9a9a; overflow: hidden; }
.sig-pad { display: block; width: 100%; aspect-ratio: 3 / 1; min-height: 120px; max-height: 220px; touch-action: none; cursor: crosshair; color: #0a0a0a; }
.sig-pad-line { position: absolute; left: 6%; right: 6%; bottom: 24%; border-bottom: 1.5px solid #bbb; pointer-events: none; }
.sig-pad-line span { position: absolute; left: -2px; bottom: 2px; color: #999; font-weight: 700; }
.sig-pad-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9a9a9a; font-size: .95rem; pointer-events: none; transition: opacity .2s; }
.sig-pad-box.has-ink .sig-pad-hint { opacity: 0; }
.sig-pad-box.has-ink { border-style: solid; border-color: var(--lime); }
.sig-pad-box.is-off { opacity: .35; pointer-events: none; }
.sig-typed-opt { margin-top: .5rem; }
.esign-disclosure { margin: .25rem 0 0; font-size: .88rem; color: var(--muted); }
.esign-disclosure summary { cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; }
.esign-disclosure p { margin: .3rem 0 0; line-height: 1.55; }
.sig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem; margin-bottom: 1.25rem; }
.sig-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; }
.sig-role { font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.sig-art { background: #fff; color: #0a0a0a; border-radius: var(--r-sm); margin: .5rem 0; height: 84px; display: flex; align-items: center; padding: 0 .6rem; overflow: hidden; }
.sig-svg { height: 100%; width: 100%; }
.sig-typed { font-family: 'Brush Script MT', 'Segoe Script', 'Snell Roundhand', cursive; font-size: 2rem; }
.sig-name { font-weight: 800; }
.sig-meta { font-size: .82rem; color: var(--muted); }
.sig-pending { border-style: dashed; }
.agree-list { display: grid; gap: .6rem; margin: 1rem 0 1.25rem; }
.agree-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; }
.agree-row > div:first-child { flex: 1 1 220px; display: flex; flex-direction: column; }
.parent-wait { border-color: rgba(255,200,80,.45); }
.audit td, .audit th { font-size: .85rem; }
.hash { word-break: break-all; font-size: .78rem; }
.plain-list { padding-left: 1.1rem; }
.sig-status { display: grid; gap: .5rem; }
.sig-status-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; font-size: .92rem; }
.sig-status-row .grow { flex: 1 1 200px; }
@media print {
  html, body, .pub, main, .shell, .main { background: #fff !important; color: #000 !important; }
  .signed-record, .signed-record * { color: #000 !important; text-shadow: none !important; }
  .signed-record code { background: #f3f3f3 !important; }
  .doc-box, .sig-block { break-inside: avoid-page; }
  .doc-box { break-inside: auto; }
  .pub-header, .pub-footer, .no-print, .topbar, .sidebar, .bottombar, #banner, .grain, .glow { display: none !important; }
  .signed-record { padding: 0 !important; max-width: none !important; }
  .doc-box, .sig-block, .table-wrap { background: #fff !important; border-color: #ccc !important; color: #000 !important; }
  .doc-head { background: #f3f3f3 !important; }
  .doc-body { max-height: none !important; overflow: visible !important; color: #000 !important; }
  .sig-role, .eyebrow { color: #000 !important; }
  .muted, .sig-meta, .doc-ver { color: #444 !important; }
  .sig-art { border: 1px solid #ddd; }
  a { color: #000 !important; }
}

/* ================= MEMBER DIRECTORY ================= */
.dir-filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem; margin-bottom: 1rem; }
.dir-filters input[type=search] { margin: 0 0 .75rem; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem .75rem; }
.dir-grid label { margin: 0; font-size: .82rem; color: var(--muted); font-weight: 700; }
.dir-grid select { margin-top: .25rem; min-height: 42px; }
.dir-grid .dir-sortlabel { grid-column: span 2; }
.dir-sort { display: flex; gap: .4rem; align-items: stretch; margin-top: .25rem; }
.dir-sort select { margin: 0; flex: 1 1 auto; min-width: 0; }
.dir-sort .btn { white-space: nowrap; min-height: 42px; }
.dir-actions { margin-top: .75rem; justify-content: flex-end; }
.th-sort { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; white-space: nowrap; min-height: 32px; }
.th-sort:hover, .th-sort.on { color: var(--lime); }
.dir-score { font-size: 1.35rem; font-weight: 900; font-style: italic; color: var(--lime); }
.dir-table td { vertical-align: top; }
.dir-k { display: none; }
.bad-text { color: var(--red, #ff6b7a); }
@media (max-width: 699px) {
  .dir-grid { grid-template-columns: 1fr 1fr; }
  .dir-grid label:last-child, .dir-grid .dir-sortlabel { grid-column: 1 / -1; }
  .dir-table td { display: grid !important; grid-template-columns: 110px 1fr; gap: .5rem; align-items: start; }
  .dir-table td:first-child { display: block !important; margin-bottom: .35rem; }
  .dir-k { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }
  .dir-table td > .dir-k + * { min-width: 0; }
}
.dir-table .pill { white-space: normal; margin-bottom: .2rem; }

/* reviews: pick your phone first */
.phone-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .75rem; }
.phone-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-height: 96px; padding: 1rem; border-radius: var(--r); border: 1.5px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: inherit; cursor: pointer; }
.phone-opt strong { font-size: 1.15rem; font-style: italic; font-weight: 850; }
.phone-opt:hover, .phone-opt:focus-visible { border-color: var(--lime); }
.phone-opt:disabled { opacity: .6; cursor: progress; }
.phone-line { margin: 0 0 .5rem; }

/* ---------- team media (chat, announcements, lessons, messages) ---------- */
.mx-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: .5rem 0 1rem; }
.mx-grid:has(> .mx-item:only-child) { grid-template-columns: minmax(0, 520px); }
.mx-item { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.mx-item img { display: block; width: 100%; max-height: 420px; object-fit: cover; }
.mx-item video { display: block; width: 100%; max-height: 420px; background: #000; }
.mx-item figcaption { font-size: .82rem; color: var(--muted); padding: .45rem .65rem; }
.mx-video .video, .mx-video iframe { margin: 0; }
.cm-media.mx-grid, .dm-media.mx-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 260px)); margin: .4rem 0 .2rem; }
.lesson-media { margin: 0 0 1.5rem; }
.media-picker { flex-basis: 100%; display: grid; gap: .4rem; }
.media-picked { display: grid; gap: .4rem; }
.media-picked:empty { display: none; }
.media-chip { display: flex; align-items: center; gap: .6rem; padding: .4rem .5rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); min-width: 0; }
.media-chip img, .media-chip-ico { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex: none; display: grid; place-items: center; background: #000; color: var(--lime); }
.media-chip-main { flex: 1; min-width: 0; display: grid; gap: .25rem; }
.media-chip-main .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-chip .media-cap { margin: 0; padding: .35rem .5rem; font-size: .85rem; min-height: 0; }
.media-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.media-add { cursor: pointer; }
.field { display: grid; gap: .4rem; margin: 0 0 1rem; }
.field > .label { font-weight: 650; font-size: .92rem; }
.cm-compose { flex-wrap: wrap; }
.cm-compose textarea { flex: 1 1 200px; }
.cm-compose .media-picker { order: 3; }
.announce-more { flex-basis: 100%; }
.announce-more .mx-item { background: rgba(0,0,0,.85); border-color: rgba(0,0,0,.3); }
.announce-more figcaption { color: #ddd; }
.announce .announce-view { background: rgba(0,0,0,.1); color: #000; border: 1px solid rgba(0,0,0,.35); }
.announce .announce-view:hover { background: rgba(0,0,0,.2); color: #000; }
.team-roles { margin: 0 0 .9rem; padding-left: 1.1rem; color: var(--muted); }
.team-roles li { margin: .2rem 0; }

/* ---------- nav counters ---------- */
.nav-link, .subtab { position: relative; }
.nav-count { min-width: 9px; height: 9px; border-radius: 999px; background: var(--orange); color: #000; font-size: .68rem; font-weight: 800; line-height: 1; display: inline-grid; place-items: center; margin-left: auto; }
.nav-count:not(:empty) { min-width: 20px; height: 20px; padding: 0 .35rem; }
.subtab .nav-count { margin-left: .4rem; vertical-align: middle; }
.bottombar .nav-count { position: absolute; top: 6px; left: calc(50% + 6px); margin: 0; }

/* ---------- direct messages ---------- */
.dm-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.dm-list { display: flex; flex-direction: column; gap: .8rem; padding: 1rem; overflow-y: auto; max-height: min(62vh, 640px); min-height: 220px; }
.dm-empty { margin: auto; text-align: center; }
.dm-msg { display: flex; gap: .55rem; align-items: flex-end; max-width: 86%; }
.dm-msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.dm-av { width: 32px; height: 32px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); color: var(--lime); font-weight: 900; border: 1px solid var(--line-strong); font-size: .85rem; }
.dm-av img { width: 100%; height: 100%; object-fit: cover; }
.dm-bubble { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: .55rem .8rem; min-width: 0; }
.dm-msg.mine .dm-bubble { background: var(--lime-tint); border-color: rgba(204,255,0,.35); border-radius: 14px 14px 4px 14px; }
.dm-meta { display: flex; flex-wrap: wrap; gap: .2rem .5rem; align-items: center; font-size: .82rem; margin-bottom: .15rem; }
.dm-text { overflow-wrap: anywhere; }
.dm-compose { border-top: 1px solid var(--line); padding: .75rem; display: grid; gap: .5rem; background: var(--bg); }
.dm-compose textarea { margin: 0; resize: vertical; min-height: 64px; }
.dm-send { display: flex; justify-content: flex-end; }
.dm-note { margin: 0; }
.dm-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1rem; align-items: start; }
.dm-threads { padding: 0; overflow: hidden; max-height: 75vh; overflow-y: auto; }
.dm-thread-list { list-style: none; margin: 0; padding: 0; }
.dm-thread-list a { display: grid; gap: .1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; position: relative; }
.dm-thread-list a:hover { background: var(--surface-2); }
.dm-thread-list a.on { background: var(--lime-tint); box-shadow: inset 3px 0 0 var(--lime); }
.dm-dot { position: absolute; top: .95rem; right: 1rem; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.dm-thread { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
.dm-thread > .empty { margin: auto; padding: 2rem; }
.dm-head { padding: .85rem 1rem; border-bottom: 1px solid var(--line); display: grid; gap: .1rem; }
.dm-head .h3 { margin: 0; }
.dm-back { display: none; }
.dm-who { display: flex; align-items: center; gap: .55rem; }
@media (max-width: 860px) {
  .dm-layout { grid-template-columns: minmax(0, 1fr); }
  .dm-team.has-thread .dm-threads { display: none; }
  .dm-team:not(.has-thread) .dm-thread { display: none; }
  .dm-back { display: inline-flex; margin: 0 0 .25rem; }
  .dm-list { max-height: 58vh; }
  .dm-msg { max-width: 94%; }
}

/* ---------- Ask widget ---------- */
.ask-fab { position: fixed; z-index: 40; right: 1rem; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: .4rem; height: 48px; padding: 0 1.1rem 0 .55rem; border-radius: 999px; border: 0; background: var(--lime); color: var(--on-lime); font: inherit; font-weight: 850; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.ask-fab > span:first-child { width: 34px; height: 34px; border-radius: 50%; background: #000; color: var(--lime); display: grid; place-items: center; font-size: 1.05rem; font-weight: 900; }
.ask-fab:hover { background: var(--lime-hover); }
.ask-badge { position: absolute; top: -3px; right: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 2px solid #000; }
.ask-panel { position: fixed; z-index: 41; right: 1rem; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: min(400px, calc(100vw - 2rem)); height: min(600px, calc(100dvh - 110px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: 0 18px 60px rgba(0,0,0,.6); overflow: hidden; }
.ask-panel[hidden] { display: none; }
.ask-open .ask-fab { display: none; }
.ask-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: #000; }
.ask-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text); cursor: pointer; }
.ask-log { flex: 1; overflow-y: auto; padding: 1rem; display: grid; gap: 1rem; align-content: start; }
.ask-hello p { margin: 0 0 .75rem; }
.ask-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.ask-chip { border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: .45rem .8rem; font: inherit; font-size: .85rem; cursor: pointer; text-align: left; }
.ask-chip:hover { border-color: var(--lime); }
.ask-turn { display: grid; gap: .45rem; }
.ask-q { justify-self: end; max-width: 88%; background: var(--lime); color: var(--on-lime); padding: .5rem .8rem; border-radius: 14px 14px 4px 14px; font-weight: 600; overflow-wrap: anywhere; }
.ask-a { max-width: 94%; background: var(--surface-2); border: 1px solid var(--line); padding: .55rem .85rem; border-radius: 14px 14px 14px 4px; font-size: .94rem; overflow-wrap: anywhere; }
.ask-a p { margin: 0 0 .4rem; } .ask-a p:last-child { margin: 0; }
.ask-a ul { margin: .2rem 0 .4rem; padding-left: 1.1rem; } .ask-a li { margin: .15rem 0; }
.ask-who { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .25rem; }
.ask-team { border-color: rgba(204,255,0,.45); background: var(--lime-tint); }
.ask-err { border-color: rgba(255,138,61,.4); background: var(--orange-tint); }
.ask-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; font-size: .85rem; }
.ask-tools [data-help] { border: 1px solid var(--line-strong); background: none; border-radius: 999px; width: 34px; height: 30px; cursor: pointer; }
.ask-tools [data-help]:hover { border-color: var(--lime); }
.ask-note { margin: 0; font-size: .82rem; color: var(--muted); }
.ask-typing { display: inline-flex; gap: 4px; width: max-content; }
.ask-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: askdot 1s infinite ease-in-out; }
.ask-typing span:nth-child(2) { animation-delay: .15s; } .ask-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes askdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ask-typing span { animation: none; } }
.ask-compose { display: flex; gap: .5rem; align-items: flex-end; padding: .65rem; border-top: 1px solid var(--line); }
.ask-compose textarea { flex: 1; margin: 0; min-height: 44px; max-height: 120px; resize: none; }
.ask-foot { margin: 0; padding: 0 .9rem .6rem; font-size: .72rem; color: var(--muted); }
@media (min-width: 700px) { .ask-fab, .ask-panel { bottom: 1.25rem; right: 1.25rem; } }
@media (max-width: 520px) {
  .ask-fab { height: 44px; padding: 0 .9rem 0 .45rem; }
  .ask-panel { right: 0; left: 0; bottom: 0; width: 100%; height: calc(100dvh - 56px); border-radius: var(--r-lg) var(--r-lg) 0 0; z-index: 60; }
  .ask-compose { padding-bottom: calc(.65rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- questions admin ---------- */
.qa-q { font-size: 1.05rem; font-weight: 650; margin: .2rem 0 .6rem; }
.qa-save[hidden] { display: none; }
.qa-bank-meta { margin-bottom: .5rem; }
.lm-course .admin-list { margin-top: .5rem; }
@media print { .ask { display: none !important; } }

/* ---------- member discount code ---------- */
.code-card { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; flex-wrap: wrap; border-color: rgba(204,255,0,.45); }
.code-main { flex: 1 1 260px; min-width: 0; }
.code-main .h3 { margin: 0 0 .2rem; }
.code-main > p { margin: 0 0 .7rem; }
.code-box { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.code-text { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.45rem; font-weight: 800; letter-spacing: .08em; color: var(--lime); background: #000; border: 1px dashed var(--lime); border-radius: var(--r-sm); padding: .35rem .8rem; user-select: all; overflow-wrap: anywhere; }
.code-note { margin: .6rem 0 0; color: var(--muted); }
.code-qr { margin: 0; text-align: center; flex: none; }
.code-qr img { width: 140px; height: 140px; object-fit: contain; background: #fff; border-radius: var(--r-sm); padding: 6px; display: block; }
.code-qr figcaption { margin-top: .3rem; }
.code-fields { border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem .4rem; margin: 0 0 1rem; }
.code-fields legend { font-weight: 700; padding: 0 .35rem; }
.code-fields .req { color: var(--orange); font-weight: 600; font-size: .85rem; }
.code-qr-admin { display: flex; align-items: center; gap: .9rem; margin: 0 0 .8rem; flex-wrap: wrap; }
.code-qr-admin img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: var(--r-sm); padding: 4px; }
@media (max-width: 520px) { .code-card { flex-direction: column; align-items: stretch; } .code-main { flex: none; } .code-qr { align-self: center; } }

/* ---------- post idea of the day ---------- */
.idea-card { border-color: rgba(204,255,0,.45); }
.idea-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.idea-top .h3 { margin: 0; }
.idea-title { margin: .6rem 0 .5rem; }
.idea-hook { background: #000; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .6rem .8rem; margin: 0 0 .6rem; display: grid; gap: .3rem; }
.idea-hook p { margin: 0; font-weight: 700; color: var(--lime); }
.idea-hook .btn { justify-self: start; }


/* ---------- Performance dashboard (js/views/performance.js) ---------- */
:root { --pf-apple: #CCFF00; --pf-stripe: #A9BCDA; --pf-google: #6A7D9E; }
.pf .pf-cap { margin: -.35rem 0 .9rem; }
.pf-sync { margin: -.5rem 0 1rem; }
.pf-stats { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 1rem; }
.pf-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; display: grid; gap: .2rem; align-content: start; min-width: 0; }
.pf-stats .pf-stat:first-child { border-color: rgba(204,255,0,.45); }
.pf-stat-n { font-size: 2rem; font-weight: 900; font-style: italic; font-stretch: 118%; line-height: 1.05; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pf-stats .pf-stat:first-child .pf-stat-n { color: var(--lime); }
.pf-sub { font-size: .8rem; color: var(--muted); }
.pf-delta { font-size: .78rem; font-weight: 700; color: var(--muted); }
.pf-up { color: var(--green); }
.pf-down { color: var(--red); }
.pf-mini { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-bottom: 1rem; }
.pf-mini .pf-stat { padding: .75rem; background: var(--surface-2); }
.pf-mini .pf-stat-n { font-size: 1.5rem; }
.pf-grid2 { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pf-grid2 { grid-template-columns: 1fr 1fr; } }
.pf-grid2 > .card { min-width: 0; }
.pf-legend { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .82rem; color: var(--muted); }
.pf-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.pf-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.pf-chart-scroll { overflow-x: auto; }
.pf-chart { width: 100%; min-width: 520px; height: auto; display: block; }
.pf-chart text { fill: var(--muted); font-family: var(--font); font-size: 11px; font-variant-numeric: tabular-nums; }
.pf-chart .pf-grid { stroke: var(--line); stroke-width: 1; }
.pf-chart .pf-axis { stroke: var(--line-strong); stroke-width: 1; }
.pf-chart .pf-hit:hover { fill: rgba(255,255,255,.04); }
.pf-details { margin-top: .75rem; }
.pf-details summary { cursor: pointer; font-size: .88rem; color: var(--muted); font-weight: 650; }
.pf-details[open] summary { margin-bottom: .6rem; }
.pf-num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-table td, .pf-table th { white-space: nowrap; }
.pf-funnel { display: grid; gap: .55rem; margin-bottom: 1.1rem; }
.pf-step { display: grid; grid-template-columns: minmax(130px, 190px) 1fr auto; gap: .75rem; align-items: center; }
.pf-step-l { font-size: .9rem; line-height: 1.2; }
.pf-step-l small, .pf-step-v small { display: block; font-size: .74rem; color: var(--muted); }
.pf-track { height: 18px; background: var(--surface-2); border-radius: 4px; }
.pf-bar { height: 100%; background: var(--lime); border-radius: 4px; }
.pf-step-v { text-align: right; min-width: 104px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .pf-step { grid-template-columns: 1fr auto; } .pf-track { grid-column: 1 / -1; grid-row: 2; } }
.pf-cohort td.pf-heat { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.pf-cohort td.pf-na { text-align: center; color: var(--muted); }
.pf-switch { margin: 0 !important; font-size: .9rem; }
.pf-spend-form { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pf-form-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pf-form-row { grid-template-columns: 1fr 1.4fr 1fr 1.6fr; } }
.pf-sub-h { margin-top: .5rem; }
.pf-link { margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.code-link { margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; color: var(--muted); }

/* ---------- Performance: analysis popups + summary (2026-10-06) ---------- */
.pf-stat-n { font-size: clamp(1.5rem, 2.3vw, 2rem); white-space: nowrap; overflow-wrap: normal; }
.pf-stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.pf-has-ins { cursor: help; transition: border-color .15s; }
.pf-has-ins:hover, .pf-has-ins:focus-visible, .pf-has-ins[aria-expanded="true"] { border-color: var(--lime); }
.pf-i { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 10px; font-weight: 800; font-style: normal; line-height: 1; vertical-align: 1px; opacity: .75; }
.pf-ib { display: inline-flex; align-items: center; gap: .35rem; background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 650; padding: .25rem .7rem; cursor: help; margin-right: auto; margin-left: .25rem; }
.pf-ib:hover, .pf-ib:focus-visible, .pf-ib[aria-expanded="true"] { border-color: var(--lime); color: var(--lime); }
.pf-pop { position: absolute; z-index: 60; background: #0b0b0b; border: 1px solid var(--lime); border-radius: var(--r); padding: .9rem 1rem; box-shadow: 0 12px 32px rgba(0,0,0,.6); font-size: .9rem; line-height: 1.45; }
.pf-pop-h { font-weight: 850; font-style: italic; font-stretch: 112%; margin-bottom: .5rem; color: var(--lime); }
.pf-pop-row { margin-bottom: .55rem; }
.pf-pop-row p { margin: .1rem 0 0; }
.pf-pop-k { font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pf-pop-src { margin: .4rem 0 0; font-size: .75rem; color: var(--muted); }
.pf-summary { border-color: rgba(204,255,0,.45); }
.pf-headline { font-size: 1.1rem; font-weight: 750; margin: 0 0 .8rem; max-width: 70ch; }
.pf-findings { margin: 0 0 .6rem; padding-left: 1.3rem; display: grid; gap: .7rem; }
.pf-findings li::marker { color: var(--lime); font-weight: 900; }
.pf-findings p { margin: .15rem 0 0; max-width: 75ch; }
.pf-action { color: var(--text); }
.pf-action span { color: var(--lime); font-weight: 800; }
.pf-spin { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: .4rem; }

/* ---------- Performance: creator search + sort (2026-10-06) ---------- */
.pf-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 .75rem; }
.pf-search { flex: 1 1 240px; max-width: 360px; }
.pf-search input { width: 100%; }
.pf-sort { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; font: inherit; color: inherit; white-space: nowrap; }
.pf-sort:hover, .pf-sort:focus-visible { color: var(--lime); }
.pf-sort:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 3px; }
.pf-sort-i::after { content: '↕'; opacity: .35; font-size: .8em; }
th[aria-sort="ascending"] .pf-sort-i::after { content: '▲'; opacity: 1; color: var(--lime); }
th[aria-sort="descending"] .pf-sort-i::after { content: '▼'; opacity: 1; color: var(--lime); }
th[aria-sort="ascending"] .pf-sort, th[aria-sort="descending"] .pf-sort { color: var(--lime); }
.pf-table td:first-child a { white-space: nowrap; }

/* ---------- Performance: customer journey + collapsible summary (2026-10-06b) ---------- */
.pf-sec-h { margin: 1.75rem 0 .75rem; font-style: italic; font-stretch: 112%; }
.pf-journey-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.pf-journey-head .pf-sec-h { margin-bottom: .5rem; }
.pf-jgrid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); counter-reset: none; }
.pf-jstep { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; display: grid; gap: .3rem; align-content: start; min-width: 0; cursor: help; transition: border-color .15s; }
.pf-jstep:hover, .pf-jstep:focus-visible, .pf-jstep[aria-expanded="true"] { border-color: var(--lime); outline: none; }
.pf-jstep-top { display: flex; align-items: center; gap: .55rem; }
.pf-jstep-n { flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-weight: 900; font-size: .85rem; font-style: italic; }
.pf-jstep .pf-stat-n { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.pf-jstep .pf-sub { line-height: 1.35; }
.pf-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.pf-chip { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .02em; padding: .18rem .55rem; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.pf-chip-below { color: var(--red); background: var(--red-tint); }
.pf-chip-in { color: var(--lime); background: var(--lime-tint); }
.pf-chip-above { color: var(--green); background: var(--green-tint); }
.pf-chip-none { color: var(--muted); background: transparent; border-style: dashed; }
.pf-chip-opp { color: var(--amber); background: var(--amber-tint); }
.pf-pop-status { margin: 0 0 .5rem; }
.pf-bench-src { margin-top: .75rem; line-height: 1.5; }
.pf-bench-src a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.pf-bench-src a:hover { color: var(--lime); }
details.pf-summary { padding: 0; }
details.pf-summary > :not(summary) { margin-left: 1rem; margin-right: 1rem; }
details.pf-summary > :last-child { margin-bottom: 1rem; }
.pf-sum-head { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; padding: 1rem; border-radius: var(--r); }
.pf-sum-head::-webkit-details-marker { display: none; }
.pf-sum-head:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.pf-sum-t { font-weight: 850; font-style: italic; font-stretch: 112%; font-size: 1.1rem; }
.pf-sum-hl { flex: 1 1 300px; color: var(--text); font-weight: 600; }
.pf-sum-more { margin-left: auto; font-size: .8rem; font-weight: 800; color: var(--lime); white-space: nowrap; }
.pf-sum-more::after { content: 'Show details ▾'; }
details[open] .pf-sum-more::after { content: 'Hide ▴'; }

/* ---------- Performance: loss chips (2026-10-06c) ---------- */
.pf-chip-good { color: var(--green); background: var(--green-tint); }
.pf-chip-bad { color: var(--red); background: var(--red-tint); }
.pf-jstep-wide { grid-column: 1 / -1; }
.pf-jstep-wide .pf-jstep-top { flex-wrap: wrap; }
.pf-jstep-wide .pf-jstep-top .pf-delta { margin-left: auto; }
.pf-loss { display: grid; gap: 1rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: .35rem; }
.pf-loss-col { display: grid; gap: .25rem; align-content: start; min-width: 0; padding-top: .6rem; border-top: 1px solid var(--line); }
.pf-loss-k { font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pf-loss-r { font-weight: 700; color: var(--text); }
.pf-chip { white-space: normal; }

/* ---------- Performance: simpler journey cards + folded details (2026-10-06d) ---------- */
.pf-jgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pf-jstep { border-left-width: 4px; }
.pf-jstep[data-tone="good"] { border-left-color: var(--green); }
.pf-jstep[data-tone="bad"] { border-left-color: var(--red); }
.pf-jstep[data-tone="none"] { border-left-color: var(--line-strong); border-left-style: dashed; }
.pf-jstep[data-tone="none"] .pf-stat-n { color: var(--muted); font-size: 1.3rem; }
.pf-jline { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.pf-legend-tones { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.pf-legend-tones i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: .4rem; }
.pf-legend-tones i:first-child { margin-left: 0; }
.pf-tone-good { background: var(--green); } .pf-tone-bad { background: var(--red); } .pf-tone-none { border: 1px dashed var(--muted); }
.pf-more { margin-top: 1.5rem; }
.pf-more-head { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pf-more-head::-webkit-details-marker { display: none; }
.pf-more-head > span:first-child { font-weight: 850; font-style: italic; color: var(--lime); }
.pf-more-head > span:first-child::after { content: ' ▾'; }
.pf-more[open] .pf-more-head > span:first-child::after { content: ' ▴'; }
.pf-more-head:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.pf-pop { box-sizing: border-box; max-width: calc(100vw - 24px); }

/* ---------- Performance: funnel picture (2026-10-06e) ---------- */
.pf-ftop { font-size: 1.05rem; margin: 0 0 1rem; max-width: 80ch; }
.pf-ftop strong { color: var(--lime); }
.pf-funnel-grid { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pf-funnel-h { margin: 0 0 .5rem; font-style: italic; font-weight: 850; }
.pf-fstep { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: .75rem; }
.pf-fband-wrap { display: flex; justify-content: center; }
.pf-fband { height: 46px; }
.pf-fband-1 { background: var(--lime); }
.pf-fband-2 { background: color-mix(in oklab, var(--lime) 75%, #000); }
.pf-fband-3 { background: color-mix(in oklab, var(--lime) 55%, #000); }
.pf-fband-4 { background: color-mix(in oklab, var(--lime) 40%, #000); }
.pf-fband-ghost { background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 6px, var(--line) 6px, var(--line) 12px); }
.pf-flabel { display: grid; gap: .05rem; min-width: 0; }
.pf-fnum { font-size: 1.35rem; font-weight: 900; font-style: italic; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pf-fname { font-weight: 700; }
.pf-fnote { font-size: .8rem; color: var(--muted); }
.pf-fstep-missing .pf-fnum, .pf-fstep-missing .pf-fname { color: var(--muted); }
.pf-fleak { display: flex; gap: .5rem; align-items: baseline; margin: .2rem 0 .2rem 4%; font-size: .85rem; color: var(--muted); }
.pf-fleak strong { color: var(--text); }
.pf-fleak-arrow { font-weight: 900; font-size: 1rem; }
.pf-fleak[data-tone="bad"] .pf-fleak-arrow, .pf-fleak[data-tone="bad"] strong { color: var(--red); }
.pf-fleak[data-tone="good"] .pf-fleak-arrow, .pf-fleak[data-tone="good"] strong { color: var(--green); }
@media (max-width: 520px) { .pf-fstep { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } .pf-fband { height: 38px; } }

/* ---------- Performance: channels + sort menu (2026-10-07) ---------- */
.pf-sortsel { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 700; color: var(--muted); }
.pf-sortsel select { min-width: 170px; }
.pf-dir { background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font: inherit; font-size: .8rem; font-weight: 700; padding: .35rem .8rem; cursor: pointer; white-space: nowrap; }
.pf-dir::before { content: '⇅ '; color: var(--lime); }
.pf-dir:hover, .pf-dir:focus-visible { border-color: var(--lime); color: var(--lime); }
.pf-chbars { display: grid; gap: .45rem; margin: 0 0 1rem; }
.pf-chrow { display: grid; grid-template-columns: minmax(140px, 30%) 1fr auto; align-items: center; gap: .75rem; }
.pf-chname { font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; }
.pf-chbar-wrap { height: 14px; background: rgba(255,255,255,.06); border-radius: 999px; overflow: hidden; }
.pf-chbar { display: block; height: 100%; border-radius: 999px; background: var(--muted); }
.pf-chbar.k-organic, .pf-kind.k-organic { background: #A9BCDA; }
.pf-chbar.k-creator, .pf-kind.k-creator { background: var(--lime); }
.pf-chbar.k-social, .pf-kind.k-social { background: #FF9F43; }
.pf-chval { white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 90px; text-align: right; }
.pf-kind { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 800; color: #0b0b0b; white-space: nowrap; }
#app-subs .notice { margin-top: .5rem; }
@media (max-width: 640px) {
  .pf-chrow { grid-template-columns: 1fr auto; }
  .pf-chbar-wrap { grid-column: 1 / -1; grid-row: 2; }
  .pf-sortsel select { min-width: 0; }
}

/* ---------- Performance: channel picker (2026-10-07b) ---------- */
.pf-chpick { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: .85rem; color: var(--lime); }
.pf-chpick select { min-width: 220px; font-weight: 700; border-color: var(--lime); }
.pf-funnels .card-head { flex-wrap: wrap; row-gap: .5rem; }
.pf-fhint { flex-basis: 100%; }
.pf-fside p { margin: 0 0 .8rem; max-width: 46ch; }
.pf-chrow[data-ch] { cursor: pointer; border-radius: 8px; padding: .2rem .35rem; margin: 0 -.35rem; transition: background .15s, opacity .15s; }
.pf-chrow[data-ch]:hover, .pf-chrow[data-ch]:focus-visible { background: rgba(255,255,255,.05); outline: none; }
.pf-chrow-on { background: rgba(204,255,0,.08); box-shadow: inset 3px 0 0 var(--lime); }
.pf-chrow-dim { opacity: .45; }
.pf-chsum { margin-bottom: 1rem; }
@media (max-width: 640px) { .pf-chpick { width: 100%; } .pf-chpick select { flex: 1; min-width: 0; } }

/* ---------- Performance: one funnel picture (2026-10-07c) ---------- */
.pf-onefunnel-wrap { overflow-x: auto; margin: .25rem 0 0; }
.pf-onefunnel { display: block; width: 100%; min-width: 760px; height: auto; font-family: inherit; }
.pf-of-num { font-size: 30px; font-weight: 900; font-style: italic; fill: #0b0b0b; }
.pf-of-in { font-size: 13px; font-weight: 700; fill: #0b0b0b; }
.pf-of-name { font-size: 18px; font-weight: 800; fill: var(--text, #fff); }
.pf-of-sub { font-size: 13px; fill: var(--muted, #9a9a9a); }
.pf-of-leak { font-size: 16px; font-weight: 800; }
.pf-of-note { font-size: 13px; fill: var(--muted, #9a9a9a); }
.pf-of-rev { font-size: 20px; font-weight: 900; fill: var(--lime, #CCFF00); }
.pf-of-ghost { font-size: 15px; font-weight: 700; fill: var(--muted, #9a9a9a); }
.pf-of-guide { stroke: var(--line-strong, #333); stroke-width: 1; stroke-dasharray: 2 4; }

.pf-of-big { font-size: 34px; font-weight: 900; font-style: italic; fill: var(--text, #fff); }

/* ---------- Performance: two-lane funnel (2026-10-07d) ---------- */
.pf-twolane { min-width: 860px; }
.pf-of-lane { font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.pf-of-step { font-size: 12px; font-weight: 900; letter-spacing: .1em; fill: #fff; }
.pf-of-big2 { font-size: 28px; font-weight: 900; font-style: italic; fill: var(--text, #fff); }
.pf-of-dim { fill: var(--muted, #9a9a9a); }
.pf-of-leak2 { font-size: 15px; font-weight: 800; }

/* ---------- Performance: growth plan (2026-10-07e) ---------- */
.pf-gp { border-color: rgba(204,255,0,.45); }
.pf-gp-goal { margin: .25rem 0 1rem; }
.pf-gp-goal p { margin: .5rem 0 0; }
.pf-gp-bar { display: block; height: 10px; min-width: 90px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; margin-top: .35rem; }
.pf-gp-bar > span { display: block; height: 100%; min-width: 2px; background: var(--lime); border-radius: 999px; }
.pf-gp-next { border: 1px solid var(--lime); border-radius: var(--r, 12px); padding: .75rem 1rem; margin: 0 0 1rem; background: rgba(204,255,0,.06); }
.pf-gp-k { display: block; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: .2rem; }
.pf-gp-table td:last-child { width: 28%; }
.pf-gp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.pf-gp-steps li { border: 1px solid var(--line-strong, #333); border-left-width: 4px; border-radius: 10px; padding: .6rem .85rem; }
.pf-gp-steps li[data-s="done"] { border-left-color: #7CFFB2; }
.pf-gp-steps li[data-s="behind"] { border-left-color: #FF9F43; }
.pf-gp-steps li[data-s="todo"] { border-left-color: #FF6B6B; }
.pf-gp-steps p { margin: .25rem 0 0; }
.pf-gp-st { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.pf-gp-chip { font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: .12rem .55rem; border-radius: 999px; color: #0b0b0b; }
.pf-gp-chip[data-s="done"] { background: #7CFFB2; }
.pf-gp-chip[data-s="behind"] { background: #FF9F43; }
.pf-gp-chip[data-s="todo"] { background: #FF6B6B; }

/* ---------- Performance: growth plan folds (2026-10-07f) ---------- */
.pf-gp-sum { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; }
.pf-gp-sum::-webkit-details-marker { display: none; }
.pf-gp-title { font-size: 1.15rem; font-weight: 850; }
.pf-gp-mini { color: var(--muted); font-size: .9rem; flex: 1; }
.pf-gp-tog { color: var(--lime); font-weight: 800; white-space: nowrap; }
.pf-gp-tog::after { content: 'Show ▾'; }
.pf-gp[open] .pf-gp-tog::after { content: 'Hide ▴'; }
.pf-gp-sum:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 6px; }
.pf-gp-cap { margin: .75rem 0 .5rem; }

/* ---------- Admin sidebar groups (2026-10-07f) ---------- */
.nav-group { margin: .15rem 0; }
.nav-group > summary { list-style: none; cursor: pointer; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: '▸'; margin-left: auto; opacity: .6; transition: transform .15s; }
.nav-group[open] > summary::after { transform: rotate(90deg); }
.nav-group-items { padding-left: .9rem; border-left: 1px solid var(--line-strong, #333); margin-left: 1.1rem; }
.nav-group-items .nav-link { font-size: .92em; }
.nav-sep { height: 1px; background: var(--line-strong, #333); margin: .5rem .75rem; opacity: .6; }

/* ---------- Creators: code + app link column (2026-10-07) ---------- */
.dir-code { display: inline-block; font-weight: 800; letter-spacing: .04em; padding: .1rem .45rem; border-radius: 6px; background: rgba(204,255,0,.12); color: var(--lime); }
.dir-copy { margin-top: .3rem; white-space: nowrap; }

/* ---------- App link shown first (2026-10-07) ---------- */
.code-linkbox { flex-wrap: wrap; }
.code-url { font-size: .95rem; letter-spacing: 0; word-break: break-all; }
.code-sub { margin-top: 1rem; }
.dir-link { display: inline-block; max-width: 260px; word-break: break-all; color: var(--muted); margin-top: .25rem; }

/* pf16: clickable next steps, DNA list boxes, Account info form */
.step-click.has-target { cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.next-steps li.step-click.has-target:hover { background: rgba(255,255,255,.03); }
.next-steps li.step-click.has-target:hover strong, .journey-step.step-click.has-target:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.journey-step.step-click.has-target:hover { border-color: var(--lime); }
.journey-step.is-next.has-target:hover { opacity: .85; }
.journey-btn { margin-top: .6rem; align-self: flex-start; }
.dna-help { margin: -.2rem 0 .5rem; }
.dna-list { margin: 0; padding-left: 1.6rem; display: grid; gap: .5rem; max-width: 26rem; }
.dna-list li::marker { color: var(--muted); font-weight: 700; }
.dna-list input { width: 100%; }
.info-form fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; min-width: 0; }
.info-form legend { font-size: 1rem; font-style: normal; font-stretch: normal; font-weight: 800; margin-bottom: .6rem; padding: 0; }
.info-grid { display: grid; gap: .2rem 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .info-grid { grid-template-columns: 1fr 1fr; } }

/* pf17: Recruiting */
.rc-log-form { display: grid; gap: .6rem 1rem; grid-template-columns: 1fr; align-items: end; }
.rc-log-form h2 { margin: 0; }
.rc-log-form label { margin: 0; }
@media (min-width: 860px) { .rc-log-form { grid-template-columns: 1.6fr 1fr 1fr .8fr auto; } }
.rc-funnel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0 0 1.25rem; }
@media (min-width: 720px) { .rc-funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rc-funnel { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.rc-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: .9rem 1rem; display: flex; flex-direction: column; gap: .15rem; position: relative; }
.rc-tile-n { font-size: 2rem; font-weight: 900; font-style: italic; line-height: 1.05; color: var(--lime); }
.rc-tile-l { font-weight: 750; }
.rc-tile-r { font-size: .85rem; font-weight: 700; }
.rc-table td, .rc-table th { white-space: nowrap; }
.rc-pipe td:first-child { white-space: normal; min-width: 12rem; }
.rc-pipe tr[data-href] { cursor: pointer; }
.rc-sec { margin: 1.5rem 0; }
.rc-calls { margin-bottom: 1rem; }
.rc-need { border-color: var(--amber); }
.rc-call-list { list-style: none; margin: 0; padding: 0; }
.rc-call { display: grid; grid-template-columns: 1fr; gap: .4rem 1rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.rc-call:last-child { border-bottom: 0; }
@media (min-width: 720px) { .rc-call { grid-template-columns: 13rem 1fr auto; } }
.rc-call-when, .rc-call-who { display: flex; flex-direction: column; }
.rc-call-act { margin: 0; }
.rc-inline { display: flex; gap: .6rem; flex-wrap: wrap; }
.rc-inline input { flex: 1 1 16rem; }
.rc-grid { display: grid; gap: .2rem 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rc-grid { grid-template-columns: 1fr 1fr; } .rc-span { grid-column: 1 / -1; } }
.rc-next { border-color: var(--lime); }
.rc-appts, .rc-notes { list-style: none; margin: 0; padding: 0; }
.rc-appt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.rc-appt:last-child { border-bottom: 0; }
.rc-appt .btn-row { margin: 0; align-items: center; }
.rc-notes { margin-top: 1rem; }
.rc-notes li { padding: .7rem 0; border-top: 1px solid var(--line); }
.rc-notes p { margin: 0 0 .2rem; }
#note-form textarea { margin-bottom: .5rem; }
.rc-details summary { cursor: pointer; margin: 0; }
.rc-details[open] summary { margin-bottom: 1rem; }
.warn-text { color: var(--amber); font-weight: 700; }

/* pf18: team calendar */
.rc-cal-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: .8rem; }
.rc-cal-bar .btn-row { margin: 0; }
.rc-cal-scroll { max-height: 640px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-md, 12px); }
.rc-cal-grid { display: grid; grid-template-columns: 3.6rem repeat(var(--cols), minmax(9rem, 1fr)); min-width: calc(3.6rem + var(--cols) * 9rem); }
.rc-cal-col { border-left: 1px solid var(--line); min-width: 0; }
.rc-cal-times { border-left: 0; }
.rc-cal-head { position: sticky; top: 0; z-index: 3; background: var(--surface); padding: .55rem .6rem; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; min-height: 3.2rem; }
.rc-cal-allday { min-height: 1.6rem; padding: .2rem; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .15rem; }
.rc-cal-allday span { font-size: .72rem; background: var(--line-strong, #333); border-radius: 4px; padding: .05rem .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-cal-body { position: relative; background-image: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 44px); }
.rc-cal-times .rc-cal-body { background-image: none; }
.rc-cal-times .rc-cal-body span { position: absolute; right: .45rem; transform: translateY(-.45em); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.rc-cal-times .rc-cal-body span:first-child { transform: none; }
.rc-ev { position: absolute; z-index: 1; overflow: hidden; border-radius: 6px; padding: .15rem .35rem; font-size: .72rem; line-height: 1.25; background: #2a3442; border-left: 3px solid #7aa7ff; color: var(--text); display: flex; flex-direction: column; }
.rc-ev strong { font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-ev span { color: var(--muted); white-space: nowrap; }
.rc-ev.is-free { opacity: .55; }
.rc-ev.is-ours { background: rgba(204,255,0,.16); border-left-color: var(--lime); }
.rc-ev-new { z-index: 2; background: transparent; border: 2px dashed var(--lime); }
.rc-ev-new.is-clash { border-color: var(--red); }
.rc-ev-new.is-clash strong { color: var(--red); }
.rc-cal-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--red); z-index: 2; }
.rc-cal-off { position: absolute; inset: .6rem; margin: 0; color: var(--muted); }
.rc-cal-mini { margin-top: 1.2rem; }
.rc-cal-mini .rc-cal-scroll { max-height: 420px; }
.rc-ev.is-short { justify-content: center; }
.rc-ev.is-short span { display: none; }
.rc-ev.is-drag { cursor: grab; touch-action: none; user-select: none; }
.rc-ev.is-drag:hover { box-shadow: 0 0 0 1px var(--lime); }
.rc-ev.is-dragging { opacity: .35; }
.rc-ev.is-saving { opacity: .5; pointer-events: none; }
.rc-ev-ghost { z-index: 4; background: #3a4a06; border: 2px solid var(--lime); pointer-events: none; cursor: grabbing; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.rc-ev-ghost span { color: var(--text); }

/* pf19: admin creator snapshot */
.page.narrow.sn-page { max-width: 1120px; }
.sn-tile.is-text .sn-v { font-size: 1.15rem; }
.sn { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 960px) { .sn { grid-template-columns: 300px 1fr; align-items: start; } }
.sn-card { display: flex; justify-content: center; }
.sn-side { display: grid; gap: 1rem; min-width: 0; }
.sn-side .card { margin: 0; }
.sn-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-bottom: .9rem; }
.sn-tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .sn-tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sn-tile { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .8rem; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.sn-v { font-size: 1.55rem; font-weight: 900; font-style: italic; line-height: 1.1; color: var(--lime); overflow-wrap: anywhere; }
.sn-l { font-weight: 750; font-size: .85rem; }
.sn-s { font-size: .78rem; color: var(--muted); }
.sn-up { color: var(--green); }
.sn-down { color: var(--red); }
.sn-v .sn-up, .sn-v .sn-down { color: inherit; }
.sn-v .sn-down { color: var(--red); }
.sn-table { margin-bottom: .8rem; }
.sn-table td, .sn-table th { white-space: nowrap; }
.sn-h { font-size: 1rem; margin: .4rem 0 .6rem; }
.rc-follow { display: grid; grid-template-columns: 1fr 9.5rem; gap: .6rem; align-items: end; }
.rc-need-set { border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem .2rem; margin: 0 0 .6rem; }
.rc-need-set legend { font-size: .95rem; font-style: normal; font-stretch: normal; font-weight: 800; padding: 0 .35rem; margin: 0; }
.sn-tiles { grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); }
.rc-dialog { width: min(720px, calc(100vw - 32px)); }
.rc-book { margin: 0; max-height: calc(100vh - 48px); overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.rc-book .rc-sub { font-size: 1rem; margin: 1rem 0 .4rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.rc-cal-body.is-slot { cursor: copy; }
.rc-slot-hint { position: absolute; left: 2px; right: 2px; z-index: 0; border: 1px dashed var(--lime); border-radius: 6px; background: rgba(204,255,0,.08); color: var(--lime); font-size: .72rem; font-weight: 750; padding: .1rem .35rem; pointer-events: none; overflow: hidden; white-space: nowrap; }

/* ===================== pf20: Today, Deals, media kit, 4-tab menu, alerts ===================== */
/* menu: 4 tabs, subtabs scroll sideways on phones, slimmer section banners */
.bottombar-4 .nav-link { font-size: .72rem; position: relative; }
@media (max-width: 699px) {
  .subtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; -webkit-overflow-scrolling: touch; }
  .subtabs::-webkit-scrollbar { display: none; }
  .subtab { flex: none; }
  .sec-banner { min-height: 76px; border-radius: var(--r); }
  .sb-text { bottom: .7rem; left: 1rem; }
  .sb-title { font-size: 1.9rem; }
  .sb-kicker { font-size: .62rem; }
}

/* ---------- Today ---------- */
.td-page { max-width: 1080px; }
.td-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.td-head .h1 { margin: 0; }
.td-date { margin: 0 0 .25rem; color: var(--lime); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.td-score { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .8rem .45rem .5rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; flex: none; }
.td-score:hover { border-color: var(--lime); color: var(--text); }
.td-score-n { display: flex; flex-direction: column; line-height: 1; }
.td-score-v { font-size: 1.55rem; color: var(--lime); }
.td-score-l { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: .15rem; }
.td-delta { font-size: .78rem; font-weight: 800; }
.td-delta.up { color: var(--green); } .td-delta.down { color: var(--red); }
.td-grid { display: grid; gap: 1rem; }
@media (min-width: 980px) { .td-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } .td-side { position: sticky; top: 1rem; } }
.td-card { padding: 1.1rem 1.1rem .6rem; border-color: var(--line-strong); }
.td-card.is-perfect { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 10px 40px rgba(204,255,0,.08); }
.td-top { display: flex; align-items: center; gap: .9rem; margin-bottom: .6rem; }
.td-ring { position: relative; width: 64px; height: 64px; flex: none; }
.td-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.td-ring .ring-bg, .td-ring .ring-fg { stroke-width: 7; }
.td-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.1rem; }
.td-top-t { flex: 1; min-width: 0; }
.td-h { margin: 0; font-size: 1.6rem; font-weight: 900; font-style: italic; font-stretch: 120%; letter-spacing: -.02em; line-height: 1; }
.td-top-t p { margin: .25rem 0 0; }
.td-streak { display: flex; align-items: center; gap: .35rem; padding: .35rem .65rem; border-radius: var(--r); background: var(--surface-2); color: var(--muted); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; }
.td-streak .jersey { font-size: 1.6rem; color: var(--text); }
.td-streak.hot { background: var(--orange-tint); color: var(--orange); }
.td-streak.hot .jersey { color: var(--orange); }
.td-list { list-style: none; margin: 0; padding: 0; }
.td-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .8rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.td-check { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); color: var(--muted); }
.td-check svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.td-item.is-next .td-check { border-color: var(--lime); color: var(--lime); }
.td-item.is-done .td-check { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.td-item.is-done .td-check svg { stroke-width: 3; }
.td-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.td-title { font-size: 1.02rem; line-height: 1.3; }
.td-item.is-done .td-title { color: var(--muted); }
.td-sub { color: var(--muted); font-size: .88rem; }
.td-idea { margin: .45rem 0 .1rem; padding: .7rem .8rem; border-radius: var(--r); background: var(--surface-2); border-left: 3px solid var(--lime); }
.td-hook { margin: 0 0 .35rem; font-weight: 700; }
.td-hook span { display: block; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--lime); margin-bottom: .15rem; }
.td-how { margin: 0; font-size: .9rem; color: #d6d6d6; }
.td-meta { margin: .3rem 0 0; font-size: .78rem; color: var(--muted); }
.td-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; align-items: center; }
.td-log { flex-basis: 100%; }
.td-log-form { margin-top: .35rem; }
.td-log-form label { font-size: .88rem; }
.td-q { margin: .2rem -1.1rem 0; padding: 1rem 1.1rem 1.1rem; border-top: 1px dashed var(--line-strong); background: linear-gradient(180deg, rgba(204,255,0,.04), transparent 70%); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.td-q-head { display: flex; justify-content: space-between; align-items: center; }
.td-q-k { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: var(--lime); }
.td-q-label { font-weight: 700; margin: .35rem 0 .6rem; }
.td-q .btn { margin-top: .6rem; }
.td-q input, .td-q textarea { margin-bottom: 0; }
.td-q-why { margin: .6rem 0 0; }
.opt-btn { display: inline-flex; align-items: center; min-height: 40px; padding: .45em .95em; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; }
.opt-btn:hover { border-color: var(--lime); color: var(--lime); }
.opts-scale .opt-btn { width: 44px; justify-content: center; padding: 0; font-weight: 800; }
.td-alerts { border-style: dashed; }
.td-alerts-head { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .6rem; }
.td-alerts-head > div { display: flex; flex-direction: column; gap: .15rem; }
.td-bell { font-size: 1.4rem; line-height: 1; }
.ios-steps { margin: .2rem 0 0; padding-left: 1.3rem; font-size: .92rem; }
.ios-steps li { margin: .25rem 0; }
.ios-share { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border: 1.5px solid currentColor; border-radius: 4px; font-size: .8em; vertical-align: -.15em; }
.td-deal .card-head { margin-bottom: .55rem; }
.td-deal-bar { display: grid; grid-auto-flow: column; gap: 4px; margin-bottom: .8rem; }
.td-deal-bar span { height: 6px; border-radius: 3px; background: var(--surface-2); }
.td-deal-bar span.on { background: var(--lime); }
.td-rate { display: flex; flex-direction: column; margin: 0 0 .8rem; }
.td-rate strong { font-size: 1.7rem; font-weight: 900; font-style: italic; font-stretch: 120%; letter-spacing: -.02em; color: var(--lime); line-height: 1.1; }
.td-deal-next { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem; border-radius: var(--r); background: var(--surface-2); }
.td-deal-next > div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.td-more { display: inline-block; margin-top: .75rem; font-size: .88rem; font-weight: 700; text-decoration: none; }
.td-week-row { display: flex; align-items: center; gap: 1rem; }
.td-week-row > div:first-child { display: flex; flex-direction: column; }
.td-week-v { font-size: 2rem; } .td-week-v small { font-size: 1rem; color: var(--muted); }
.td-week-bars { flex: 1; display: grid; grid-auto-flow: column; gap: 4px; }
.td-week-bars span { height: 26px; border-radius: 4px; background: var(--surface-2); }
.td-week-bars span.on { background: var(--lime); }
.td-setup h2 { margin-bottom: .4rem; }
.td-setup-list { list-style: none; margin: 0; padding: 0; }
.td-setup-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.td-setup-list li > div { display: flex; flex-direction: column; gap: .1rem; }
@media (max-width: 520px) {
  .td-head { flex-direction: column; align-items: flex-start; }
  .td-head .h1 { font-size: 1.85rem; }
  .td-score { align-self: stretch; justify-content: flex-start; }
  .td-card { padding: 1rem .9rem .5rem; margin-inline: -.25rem; }
  .td-q { margin-inline: -.9rem; padding-inline: .9rem; }
  .td-item { grid-template-columns: 34px minmax(0, 1fr); gap: .65rem; }
  .td-check { width: 34px; height: 34px; }
  .td-check svg { width: 17px; height: 17px; }
  .td-h { font-size: 1.4rem; }
  .td-ring { width: 54px; height: 54px; }
}

/* ---------- Deals ---------- */
.deal-path { list-style: none; margin: 0; padding: 0; }
.deal-path li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); }
.deal-path li:first-child { border-top: 0; }
.dp-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .85rem; border: 2px solid var(--line-strong); color: var(--muted); }
.deal-path li.is-done .dp-dot { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.deal-path li.is-done strong { color: var(--muted); }
.dp-body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
@media (max-width: 520px) { .deal-path li { grid-template-columns: 30px minmax(0, 1fr); } .deal-path li .btn { grid-column: 2; justify-self: start; } }
.rate-rows { display: grid; gap: .6rem; }
.rate-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .75rem; padding: .75rem .9rem; border-radius: var(--r); background: var(--surface-2); }
.rate-row p { grid-column: 1 / -1; margin: 0; }
.rate-v { font-size: 1.35rem; font-weight: 900; font-style: italic; font-stretch: 115%; color: var(--lime); }
.rate-tips { margin-top: .8rem; }
.rate-tips summary { cursor: pointer; font-weight: 700; font-size: .9rem; }
.rate-tips ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.deal-locked { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; padding: .9rem; border-radius: var(--r); background: var(--surface-2); border: 1px dashed var(--line-strong); }

/* ---------- public media kit ---------- */
.kit { max-width: 900px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.kit-head { display: flex; align-items: center; gap: 1.1rem; margin: .5rem 0 1.5rem; }
.av-xl { width: 96px; height: 96px; font-size: 2rem; border-width: 3px; }
.kit-k { margin: 0 0 .35rem; color: var(--lime); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.kit-name { margin: 0; }
.kit-sub { margin: .35rem 0 0; color: var(--muted); }
.kit-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: 1.25rem; }
@media (min-width: 700px) { .kit-stats { grid-template-columns: repeat(4, 1fr); } .kit-grid { grid-template-columns: repeat(3, 1fr); } }
.kit-stats > div { display: flex; flex-direction: column; padding: 1rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.kit-v { font-size: 2rem; font-weight: 900; font-style: italic; font-stretch: 120%; color: var(--lime); line-height: 1; }
.kit-l { margin-top: .35rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kit-sec { margin-bottom: 1.25rem; }
.kit-grid { display: grid; gap: 1rem; }
.kit-grid .kit-sec { padding: 1rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin: 0; }
.kit-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0; }
.kit-chip { padding: .2rem .65rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); font-size: .82rem; }
.kit-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.kit-foot p { flex-basis: 100%; margin: 0; }
@media print {
  .pub-header, .pub-footer, .kit-foot .btn, .notice { display: none !important; }
  body, html, .kit-stats > div, .kit-grid .kit-sec, .table-wrap { background: #fff !important; color: #000 !important; }
  .kit-v, .kit-k { color: #000 !important; }
  .kit-chip { background: #fff; border-color: #999; }
}

/* ---------- Creator DNA: essentials first, the rest folded ---------- */
.dna-ess { border-color: var(--lime); }
.dna-ess.is-done { border-color: var(--line); }
.dna-ess > summary, .dna-sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .75rem; }
.dna-ess > summary::-webkit-details-marker, .dna-sec > summary::-webkit-details-marker { display: none; }
.dna-ess > summary { flex-wrap: wrap; }
.dna-ess > summary strong { font-size: 1.1rem; flex: 1; }
.dna-ess-k { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; color: var(--lime); flex-basis: 100%; }
.dna-ess[open] > summary { margin-bottom: .5rem; }
.dna-ess .dna-q.is-missing { border-left: 3px solid var(--red); padding-left: .7rem; }
.dna-deeper { margin-top: 1.5rem; }
.dna-deeper-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.dna-deeper-head .h3 { margin: 0; }
.dna-deeper-head .academy-summary { margin: 0; flex: 1; max-width: 340px; }
.dna-sec { padding: 1rem 1.1rem; }
.dna-sec > summary .dna-num { flex: none; }
.dna-sec-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dna-sec[open] > summary { margin-bottom: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.dna-sec .sec-note { white-space: nowrap; }

/* ---------- Progress, Account ---------- */
.pg-sub { margin-top: 1.75rem; }

/* ---------- admin: creator engagement ---------- */
.eg-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 760px) { .eg-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.eg-tile { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .9rem; border-radius: var(--r); background: var(--surface-2); }
.eg-v { font-size: 1.6rem; font-weight: 900; font-style: italic; font-stretch: 115%; color: var(--lime); line-height: 1.05; }
.eg-l { font-weight: 700; font-size: .88rem; }
.eg-chart { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; align-items: end; height: 120px; margin: 1rem 0 .5rem; }
.eg-col { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 4px; }
.eg-bar { position: relative; width: 100%; min-height: 3px; border-radius: 4px 4px 0 0; background: var(--line-strong); display: flex; align-items: flex-end; overflow: hidden; }
.eg-bar-p { width: 100%; background: var(--lime); }
.eg-d { font-size: .68rem; color: var(--muted); }
.td-q .opt-btn, .td-q .opt span { min-height: 34px; padding: .3em .8em; font-size: .85rem; }
.td-q .opts { gap: .35rem; }

/* ---------- application received / junk warning ---------- */
.applied-card { position: relative; padding: 28px 24px 22px; text-align: left; }
.applied-tick { width: 52px; height: 52px; border-radius: 50%; background: var(--lime); color: #000; font-weight: 900; font-size: 28px; display: grid; place-items: center; margin-bottom: 12px; }
.applied-card .h2 { margin: 0 0 8px; }
.applied-card .junk-note { margin: 14px 0 18px; }
.junk-note { line-height: 1.5; }
.junk-wrap { margin: 18px 0; }
.junk-wrap summary { cursor: pointer; font-weight: 700; margin-bottom: 8px; }

/* ---------- full logo: AN mark + ATHLETE / NARRATIVE wordmark (matches the brand lockup) ---------- */
.full-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.full-logo .brand-mark { width: 50px; height: 44px; background: #fff; }
.full-logo-words { display: flex; flex-direction: column; align-items: stretch; text-transform: uppercase; line-height: 1; }
.full-logo-words span:first-child { font-weight: 800; font-size: 1.55rem; letter-spacing: .14em; }
.full-logo-words span:last-child { font-weight: 600; font-size: .78rem; letter-spacing: .52em; margin-top: 4px; }
.full-logo-sm { gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); opacity: .85; }
.full-logo-sm .brand-mark { width: 28px; height: 25px; }
.full-logo-sm .full-logo-words span:first-child { font-size: .9rem; }
.full-logo-sm .full-logo-words span:last-child { font-size: .46rem; margin-top: 2px; }
.pub-footer .full-logo { margin-bottom: 10px; }
.archived-rooms summary { cursor: pointer; }
.archived-room { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.archived-room:first-of-type { margin-top: 10px; }
.team-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.team-actions { display: inline-flex; align-items: center; gap: 8px; }
.team-inactive { opacity: .6; }
.collab-find .inline-form { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.collab-find .inline-form input { flex: 1 1 220px; min-width: 0; }
.match-sm { padding: 14px 16px; }
.cm-collab { margin-left: 6px; font-size: .78rem; color: var(--lime); text-decoration: none; opacity: .85; }
.cm-collab:hover { text-decoration: underline; opacity: 1; }

/* ---------- Performance: daily KPIs chart ---------- */
.pfk-controls { display: grid; gap: .6rem; margin: .25rem 0 1rem; }
.pfk-controls .chip { cursor: pointer; font: inherit; }
.pfk-custom { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; }
.pfk-custom label { display: grid; gap: .2rem; font-size: .8rem; }
.pfk-custom input { min-width: 0; }
.pfk-row2 { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; }
.pfk-m i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.pfk-m:not(.on) i { opacity: .35; }
.pfk-unit { display: inline-flex; gap: .4rem; align-items: center; font-size: .82rem; }
.pfk-unit select { width: auto; padding: .3rem 1.8rem .3rem .6rem; }
.pfk-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pfk-chart { width: 100%; height: auto; display: block; }
.pfk-ch-t { font-size: 15px; font-weight: 800; fill: var(--text); }
.pfk-ch-s { font-size: 12px; fill: var(--muted); }
.pfk-ch-ax { font-size: 11px; fill: #8A8A8A; }
.pfk-ch-v { font-size: 11px; fill: #cfcfcf; font-weight: 700; }
.pfk-ch-na { font-size: 16px; fill: #555; }
.pfk-legend { margin-top: .4rem; }
.pfk-wrap { margin-top: .5rem; }
.pfk-table th[scope="row"] { position: sticky; left: 0; background: var(--surface); z-index: 1; text-align: left; white-space: nowrap; }
.pfk-table td strong { display: block; font-size: 1rem; }
.pfk-sub { display: block; font-size: .72rem; color: var(--muted); white-space: nowrap; }
.pfk-today td, .pfk-today th { background: rgba(204,255,0,.06); }
.pfk-today th[scope="row"] { background: #12140a; }
.pfk-defs { margin: .5rem 0 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.pfk-m.on { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.pfk-m.on i { opacity: 1; }
.pfk-m:not(.on) { color: var(--muted); }
.pfk-legend-row { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .85rem; margin: .25rem 0 .5rem; }
.pfk-legend-row i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.pfk-scroll { position: relative; }
.pfk-in { font-size: 11.5px; font-weight: 800; fill: #0b0b0b; pointer-events: none; }
.pfk-hit { cursor: pointer; }
.pfk-hit.on { fill: rgba(255,255,255,.05); }
.pfk-tip { position: absolute; z-index: 5; min-width: 230px; max-width: 290px; background: #0d0d0d; border: 1px solid var(--line-strong); border-radius: 10px; padding: .65rem .75rem; box-shadow: 0 12px 30px rgba(0,0,0,.6); font-size: .82rem; pointer-events: none; }
.pfk-tip-h { font-weight: 800; margin-bottom: .4rem; }
.pfk-tip-r { display: grid; grid-template-columns: 12px 1fr auto; gap: .45rem; align-items: center; margin-top: .3rem; }
.pfk-tip-r i { width: 10px; height: 10px; border-radius: 2px; }
.pfk-tip-r b { font-size: .95rem; }
.pfk-tip-s { color: var(--muted); font-size: .74rem; margin: .1rem 0 0 1.25rem; line-height: 1.35; }
.pfk-tip-x { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .4rem; color: var(--muted); font-size: .76rem; }
.pfk-tip-x b { color: var(--text); }

/* ---------- guided tour ---------- */
.tour { position: fixed; inset: 0; z-index: 1000; }
.tour-hole { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(0,0,0,.72); outline: 2px solid var(--lime); outline-offset: 2px; transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; pointer-events: none; }
.tour-card { position: fixed; z-index: 2; width: min(360px, calc(100vw - 24px)); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 24px 60px rgba(0,0,0,.6); transition: left .25s ease, top .25s ease; }
.tour-card.tour-center { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(420px, calc(100vw - 24px)); }
.tour-card.tour-sheet { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); width: auto; }
.tour-card.tour-busy { opacity: .6; }
.tour-top { display: flex; justify-content: space-between; align-items: center; }
.tour-step { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.tour-x { background: none; border: 0; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 2px; }
.tour-x:hover { color: var(--text); }
.tour-t { font-size: 1.15rem; margin: .45rem 0 .35rem; }
.tour-b { margin: 0 0 .9rem; color: var(--text-2, #d6d6d6); line-height: 1.5; font-size: .95rem; }
.tour-dots { display: flex; gap: 5px; margin-bottom: .9rem; }
.tour-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.tour-dots span.past { background: rgba(204,255,0,.45); }
.tour-dots span.on { background: var(--lime); width: 18px; border-radius: 4px; }
.tour-btns { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tour-card-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .tour-hole, .tour-card { transition: none; } }
.tour-req { color: var(--muted); margin: -.4rem 0 .9rem; }
.pfk-rates { display: flex; flex-wrap: wrap; align-items: stretch; gap: .6rem; margin: .1rem 0 .4rem; }
.pfk-rate { flex: 1 1 150px; display: grid; gap: .1rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .85rem; }
.pfk-rate-v { font-size: 1.6rem; font-weight: 900; line-height: 1.1; }
.pfk-rate-l { font-weight: 700; font-size: .88rem; }
.pfk-rate-h { color: var(--muted); font-size: .74rem; }
.pfk-rate-key { border-color: rgba(204,255,0,.45); }
.pfk-rate-key .pfk-rate-v { color: var(--lime); }
.pfk-arrow { align-self: center; color: var(--muted); font-size: 1.2rem; }
.pfk-sep { flex: 0 0 1px; background: var(--line); margin: 0 .2rem; }
.pfk-rate-note { margin: 0 0 .8rem; }
@media (max-width: 640px) { .pfk-arrow, .pfk-sep { display: none; } .pfk-rate { flex-basis: calc(50% - .3rem); } }
.pfk-pct { display: block; font-size: .85rem; color: var(--text); margin-top: .15rem; }
.pfk-pct b { font-size: 1.15rem; font-weight: 900; color: var(--lime); margin-right: .15rem; }
.pfk-key { border-color: rgba(204,255,0,.35); }
.pfk-src { display: flex; flex-wrap: wrap; gap: .15rem .7rem; margin-top: .35rem; font-size: .78rem; color: var(--muted); }
.pfk-src b { color: var(--text); font-weight: 800; }
.pfk-src-h { flex-basis: 100%; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; }
/* Captain area + group messages */
.cap-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin: 1rem 0; }
.cap-action { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: var(--text); padding: 1rem; transition: border-color .15s; }
.cap-action:hover, .cap-action:focus-visible { border-color: #CCFF00; }
.cap-action strong { font-size: 1rem; }
.cap-company { margin: 1rem 0; }
.cap-mine .card-head { align-items: center; }
.bc-who { border: 0; padding: 0; margin: 0 0 1rem; }
.bc-who legend { margin-bottom: .5rem; }
.bc-group { margin: .8rem 0; }
.bc-group-h { font-weight: 700; font-size: .85rem; margin-bottom: .35rem; }
.bc-results { list-style: none; padding: 0; margin: .5rem 0; }
.bc-results li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.bc-picked { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0; }
.bc-pick { display: inline-flex; align-items: center; gap: .3rem; background: #1a1a1a; border: 1px solid var(--line-strong); border-radius: 999px; padding: .2rem .35rem .2rem .7rem; font-size: .85rem; }
.bc-pick .btn-link { font-size: 1.05rem; line-height: 1; padding: 0 .3rem; }
.bc-count { margin: .5rem 0 1rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #0f0f0f; }
.bc-count-n strong { font-size: 1.3rem; color: #CCFF00; }
.bc-list ul { margin: .5rem 0 0; padding-left: 1.1rem; max-height: 260px; overflow: auto; }
.bc-list li { padding: .15rem 0; }
.bc-who .chip .muted, .bc-group .chip .muted { margin-left: .4rem; font-weight: 600; }
.bc-who .chip.on .muted, .bc-group .chip.on .muted { color: rgba(0,0,0,.6); }
