@font-face { font-family: 'Inter'; src: url('/fonts/Inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --canvas: #0f0c10;
  --raised: #17131a;
  --raised-2: #1d1820;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f4eff3;
  --text-2: #c9c0c8;
  --muted: #8f8692;
  --pink: #e80495;
  --pink-soft: #ff7ac6;
  --pink-tint: rgba(232, 4, 149, .14);
  --good: #5fd38d;
  --good-tint: rgba(95, 211, 141, .12);
  --bad: #ff7a7a;
  --bad-tint: rgba(255, 122, 122, .12);
  --warn: #ffb35c;
  --ig: #9085e9;
  --yt: #e0602b;
  --tt: #1fb07d;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --sidebar: 248px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--canvas); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.num { font-variant-numeric: tabular-nums; }
a { color: var(--pink-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; color: inherit; }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--pink-soft); outline-offset: 2px; }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); border-radius: var(--r-sm); padding: 8px 14px; cursor: pointer; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: rgba(255, 255, 255, .08); }
.btn.primary { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn.primary:hover { background: #ff1aa8; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.btn:disabled { opacity: .55; cursor: default; }
.btn svg { width: 16px; height: 16px; flex: none; }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.input { position: relative; display: flex; align-items: center; }
.input svg.ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
input, textarea, select { width: 100%; background: rgba(0, 0, 0, .28); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input input { padding-left: 38px; }
.input .reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: 6px 8px; cursor: pointer; font-size: 12px; font-weight: 500; border-radius: 6px; }
.input .reveal:hover { color: var(--text); }
input:focus, textarea:focus, select:focus { border-color: rgba(232, 4, 149, .8); box-shadow: 0 0 0 3px rgba(232, 4, 149, .18); }
textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.msg { font-size: 13px; min-height: 18px; }
.msg.err { color: var(--bad); }
.msg.ok { color: var(--good); }

/* ---------- login ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.auth-frame { width: 100%; max-width: 1180px; min-height: min(660px, calc(100dvh - 48px)); display: grid; grid-template-columns: 1.15fr 1fr;
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #120e13; box-shadow: 0 50px 120px rgba(0, 0, 0, .6); }
.auth-brand { position: relative; overflow: hidden; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background:
    radial-gradient(80% 70% at 20% 110%, rgba(232, 4, 149, .75), transparent 60%),
    radial-gradient(70% 60% at 100% 0%, rgba(130, 50, 210, .6), transparent 60%),
    radial-gradient(50% 50% at 60% 50%, rgba(255, 111, 194, .18), transparent 70%), #1a0f1c; }
.auth-brand::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand .logo { height: 36px; width: auto; align-self: flex-start; }
.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #ffb3df; margin-bottom: 16px; }
.auth-brand h1 { font-size: clamp(44px, 5vw, 72px); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
.auth-brand h1 em { font-style: normal; background: linear-gradient(90deg, #ff8fd0, #c08bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-brand p { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.55; margin-top: 18px; max-width: 380px; }
.auth-brand .brand-foot { font-size: 12px; color: rgba(255, 255, 255, .6); margin: 0; }
.auth-form { display: grid; place-items: center; padding: 56px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h2 { font-size: 26px; font-weight: 650; letter-spacing: -.02em; margin-bottom: 6px; }
.auth-card .lead { color: var(--muted); margin-bottom: 28px; }
.auth-card .input input { height: 46px; border-radius: 10px; }
.auth-card .btn.primary { width: 100%; justify-content: center; height: 46px; font-size: 14px; font-weight: 600; margin-top: 8px; border-radius: 10px;
  background: linear-gradient(180deg, #f0189f, #d1037f); box-shadow: 0 8px 24px rgba(232, 4, 149, .35), inset 0 1px 0 rgba(255, 255, 255, .2); }
.auth-card .help { margin-top: 16px; color: var(--muted); font-size: 13px; }
.auth-card .secure { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.auth-card .secure svg { width: 14px; height: 14px; color: var(--good); flex: none; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus { -webkit-text-fill-color: var(--text); caret-color: var(--text); -webkit-box-shadow: 0 0 0 1000px #1b161c inset; transition: background-color 9999s; }
@media (max-width: 860px) {
  .auth { padding: 0; place-items: stretch; }
  .auth-frame { grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 0; border: 0; min-height: 100dvh; box-shadow: none; }
  .auth-brand { padding: 22px 20px 36px; gap: 48px; }
  .auth-brand h1 { font-size: 44px; }
  .auth-brand p { font-size: 14px; margin-top: 12px; }
  .auth-brand .brand-foot { display: none; }
  .auth-form { padding: 28px 20px 40px; place-items: start center; }
  .auth-card h2 { font-size: 22px; }
  .auth-card .lead { margin-bottom: 22px; }
  .auth-card input { font-size: 16px; }
}

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: linear-gradient(180deg, #141016, #110d12); padding: 20px 12px; }
.side .brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 20px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.side .brand img { height: 26px; }
.side .brand small { display: block; font-size: 11px; color: var(--muted); line-height: 1.2; }
.side .group { font-size: 11px; font-weight: 600; color: var(--muted); padding: 14px 10px 6px; letter-spacing: .02em; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-radius: var(--r-sm); padding: 8px 10px; color: var(--text-2); cursor: pointer; font-size: 13.5px; font-weight: 500; }
.nav button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.nav button.on { background: var(--pink-tint); color: #fff; box-shadow: inset 2px 0 0 var(--pink); }
.nav button svg { width: 16px; height: 16px; flex: none; opacity: .85; }
.nav .avatar { width: 22px; height: 22px; font-size: 10px; }
.nav .sub { margin-left: auto; font-size: 11px; color: var(--muted); }
.side .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px 4px; border-top: 1px solid var(--line); }
.side .me .who { min-width: 0; flex: 1; }
.side .me .who b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .me .who span { font-size: 11px; color: var(--muted); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none;
  background: linear-gradient(135deg, var(--pink), #8b2fd0); }
.icon-btn { background: none; border: 0; color: var(--muted); padding: 6px; border-radius: 6px; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.icon-btn svg { width: 16px; height: 16px; }

.main { min-width: 0; background:
  radial-gradient(60% 40% at 100% 0%, rgba(232, 4, 149, .10), transparent 70%),
  var(--canvas); }
.topbar { display: none; }
.page { max-width: 1180px; margin: 0 auto; padding: 28px 32px 56px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: 28px; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; display: flex; align-items: center; gap: 12px; }
.page-head .sub { color: var(--muted); margin-top: 4px; }
.page-head .tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 6px; cursor: pointer; color: var(--text-2); font-size: 13px; font-weight: 500; }
.seg button.on { background: var(--raised-2); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .4), inset 0 0 0 1px var(--line-strong); }

@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 20; left: 0; width: 280px; transform: translateX(-100%); transition: transform .2s ease; }
  .shell.menu-open .side { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .6); }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; background: rgba(15, 12, 16, .92); backdrop-filter: blur(10px); }
  .topbar img { height: 22px; }
  .page { padding: 20px 16px 48px; }
  .page-head h1 { font-size: 24px; }
}

/* ---------- surfaces ---------- */
.panel { background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: var(--r-md); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 0; }
.panel-head h3 { font-size: 14px; font-weight: 600; }
.panel-head .hint { font-size: 12px; color: var(--muted); }
.panel-body { padding: 16px 18px 18px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g-main { grid-template-columns: 1.7fr 1fr; }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .g3, .g-main { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .g4 { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* note from the team */
.note { position: relative; overflow: hidden; border-radius: var(--r-md); border: 1px solid rgba(232, 4, 149, .35); padding: 20px 22px 18px 22px;
  background: linear-gradient(115deg, rgba(232, 4, 149, .22), rgba(232, 4, 149, .06) 55%, rgba(255, 255, 255, .02)); }
.note .from { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.note .from img { height: 18px; }
.note .from span { font-size: 12px; color: #ffc2e6; }
.note h2 { font-size: 18px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 6px; }
.note p { color: #f6e5ef; max-width: 78ch; white-space: pre-line; line-height: 1.6; }

/* KPI tiles */
.kpi { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-height: 132px; }
.kpi .label { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.kpi .value { font-size: 28px; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.kpi .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.kpi svg.mini { width: 88px; height: 28px; flex: none; }
.delta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.delta.up { color: var(--good); background: var(--good-tint); }
.delta.down { color: var(--bad); background: var(--bad-tint); }
.delta.flat { color: var(--muted); background: rgba(255, 255, 255, .05); }
.kpi .ctx { font-size: 12px; color: var(--muted); }

/* main chart */
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: 260px; display: block; overflow: visible; }
.chart-wrap .axis text { fill: var(--muted); font-size: 11px; }
.chart-wrap .grid-line { stroke: rgba(255, 255, 255, .06); }
.tip { position: absolute; pointer-events: none; background: #221c25; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 8px 10px; font-size: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); white-space: nowrap; transform: translate(-50%, -110%); }
.tip b { display: block; font-size: 14px; }
.tip span { color: var(--muted); }
.chart-empty { height: 260px; display: grid; place-items: center; color: var(--muted); text-align: center; }

/* platform rows */
.prow { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prow:last-child { border-bottom: 0; padding-bottom: 0; }
.prow:first-child { padding-top: 0; }
.pname { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pname a { font-weight: 400; font-size: 12px; color: var(--muted); }
.pmark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.pstats { display: flex; gap: 18px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.pstats b { color: var(--text); font-weight: 600; font-size: 13px; margin-right: 4px; }
.pfoll { text-align: right; }
.pfoll b { display: block; font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.pfoll span { font-size: 12px; color: var(--muted); }

/* best post + plan */
.best { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.best .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--pink-soft); }
.best .tag svg { width: 14px; height: 14px; }
.best .t { font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; word-break: break-word; }
.best .v { font-size: 32px; font-weight: 650; letter-spacing: -.03em; }
.best .v small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.plan ol { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.plan li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--text-2); line-height: 1.5; }
.plan li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--pink-soft); background: var(--pink-tint); border: 1px solid rgba(232, 4, 149, .45); }
.empty { color: var(--muted); padding: 8px 0; }

/* tables */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); padding: 0 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th.r, .table td.r { text-align: right; }
.table td.cap { max-width: 380px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table tbody tr.click { cursor: pointer; }
.table tbody tr.click:hover td { background: rgba(255, 255, 255, .03); }
.table .sm { display: block; font-size: 12px; color: var(--muted); }
.table-wrap { overflow-x: auto; padding: 14px 6px 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.who-cell { display: flex; align-items: center; gap: 12px; }
.who-cell b { font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); white-space: nowrap; }
.pill.ok { color: var(--good); border-color: rgba(95, 211, 141, .3); background: var(--good-tint); }
.pill.err { color: var(--bad); border-color: rgba(255, 122, 122, .3); background: var(--bad-tint); }
.pill.warn { color: var(--warn); border-color: rgba(255, 179, 92, .3); background: rgba(255, 179, 92, .1); }
@media (max-width: 760px) { .table .hide-sm { display: none; } }

/* admin strip on creator page */
.admin-strip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; margin-bottom: 20px; border: 1px dashed rgba(232, 4, 149, .4); border-radius: var(--r-md); background: rgba(232, 4, 149, .05); }
.admin-strip .lbl { font-size: 12px; font-weight: 600; color: var(--pink-soft); margin-right: 4px; }
.admin-strip .msg { margin-left: 4px; }
.log-row { display: grid; grid-template-columns: 130px 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.log-row:last-child { border-bottom: 0; }
@media (max-width: 640px) { .log-row { grid-template-columns: 1fr; gap: 4px; } }

.footer-note { margin-top: 28px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(5, 3, 6, .7); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal .card { width: 100%; max-width: 460px; background: var(--raised); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); max-height: calc(100vh - 32px); overflow: auto; }
.modal h2 { font-size: 18px; font-weight: 650; margin-bottom: 4px; }
.modal .lead { color: var(--muted); margin-bottom: 18px; font-size: 13px; }
.modal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; align-items: center; }
.modal .actions .msg { margin-right: auto; }
.check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.check input { width: auto; }
.loading { padding: 80px 0; text-align: center; color: var(--muted); }
.skeleton { height: 132px; border-radius: var(--r-md); background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.06), rgba(255,255,255,.03)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* ---------- home ---------- */
.page { max-width: 1400px; }
.kicon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.kicon svg { width: 14px; height: 14px; }
.up-t { color: var(--good) !important; }
.down-t { color: var(--bad) !important; }
.mixbar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; margin: 4px 0 18px; background: rgba(255, 255, 255, .05); }
.mixbar span { display: block; height: 100%; min-width: 4px; }
.mixlist { display: flex; flex-direction: column; }
.mixlist > div { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mixlist > div:last-child { border-bottom: 0; padding-bottom: 0; }
.mixlist b { font-size: 16px; font-weight: 650; margin-right: 10px; }
.mixlist small { display: inline-block; min-width: 40px; text-align: right; color: var(--muted); font-size: 12px; }
.count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--pink); }
.att { display: flex; flex-direction: column; }
.att-row { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.att-row:first-child { padding-top: 0; }
.att-row:last-child { border-bottom: 0; padding-bottom: 0; }
.att-dot { width: 8px; height: 8px; border-radius: 50%; }
.att-dot.err { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-tint); }
.att-dot.warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(255, 179, 92, .12); }
.att-t { min-width: 0; }
.att-t b { display: block; font-weight: 600; font-size: 13.5px; }
.att-t span { font-size: 12.5px; color: var(--muted); }
.att-row .btn { padding: 6px 10px; font-size: 12px; }
.allgood { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.allgood svg { width: 22px; height: 22px; color: var(--good); flex: none; }
.allgood b { display: block; color: var(--text); font-weight: 600; }
.allgood span { font-size: 13px; color: var(--muted); }
.feed { display: flex; flex-direction: column; position: relative; }
.feed-row { display: grid; grid-template-columns: 10px 1fr; gap: 12px; padding: 9px 0; position: relative; }
.feed-row:first-child { padding-top: 0; }
.feed-row:not(:last-child)::before { content: ''; position: absolute; left: 4px; top: 18px; bottom: -6px; width: 1px; background: var(--line-strong); }
.feed-row:first-child:not(:last-child)::before { top: 9px; }
.feed-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; position: relative; z-index: 1; }
.feed-dot.ok { background: var(--good); }
.feed-dot.err { background: var(--bad); }
.feed-dot.fnote { background: var(--pink); }
.feed-row span { display: block; font-size: 13px; color: var(--text-2); }
.feed-row small { font-size: 12px; color: var(--muted); }

/* ---------- creator home (feature hub) ---------- */
.hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.hub-card { text-align: left; cursor: pointer; padding: 24px; display: flex; flex-direction: column; gap: 10px; color: inherit; font: inherit; transition: border-color .15s, background .15s; }
.hub-card:hover { border-color: rgba(232, 4, 149, .5); background: linear-gradient(180deg, rgba(232, 4, 149, .07), rgba(255, 255, 255, .015)); }
.hub-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.hub-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--pink-soft); background: var(--pink-tint); border: 1px solid rgba(232, 4, 149, .35); }
.hub-icon svg { width: 22px; height: 22px; }
.hub-open { font-size: 13px; font-weight: 600; color: var(--pink-soft); }
.hub-card h2 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.hub-card p { color: var(--text-2); max-width: 46ch; }
.hub-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.hub-stats span { display: block; font-size: 12px; color: var(--muted); }
.hub-stats b { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.hub-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.pill.pinkp { color: #ffc2e6; border-color: rgba(232, 4, 149, .45); background: var(--pink-tint); }
@media (max-width: 520px) { .hub { grid-template-columns: 1fr; } }

/* ---------- admin overview (option C) ---------- */
.ov-main { overflow: hidden; }
.ov-tiles { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.ov-tile { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-right: 1px solid var(--line); cursor: default; }
.ov-tile:last-child { border-right: 0; }
.ov-tile.can { cursor: pointer; }
.ov-tile.on { box-shadow: inset 0 -2px 0 var(--pink); background: linear-gradient(180deg, transparent, rgba(232, 4, 149, .07)); }
.ov-tile .l { font-size: 12.5px; color: var(--muted); }
.ov-tile b { font-size: 28px; font-weight: 650; letter-spacing: -.03em; line-height: 1.15; }
.ov-tile .f { font-size: 12px; color: var(--muted); }
.ov-chart { padding: 16px 20px 14px; }
.ov-legend { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.ov-legend button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 99px; cursor: pointer; }
.ov-legend button:hover { color: var(--text); }
.ov-legend button.on { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, .05); }
.ov-mix { display: flex; flex-direction: column; gap: 14px; }
.ov-mix .mx-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ov-mix .mx-row b { font-size: 15px; font-weight: 650; margin-right: 10px; }
.ov-mix .mx-row small { display: inline-block; min-width: 34px; text-align: right; color: var(--muted); font-size: 12px; }
.track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 6px; min-width: 4px; }
.count.zero { background: var(--good-tint); color: var(--good); }
.caught { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 0 6px; }
.caught > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--good-tint); color: var(--good); margin-bottom: 6px; }
.caught > span svg { width: 22px; height: 22px; }
.caught b { font-weight: 600; }
.caught small { color: var(--muted); font-size: 12.5px; max-width: 260px; }
.linkbtn { border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; padding: 0; }
.linkbtn:hover { color: var(--text); }
.avatar.lg { width: 38px; height: 38px; font-size: 14px; }
.table .big-n { font-size: 15px; font-weight: 650; }
.table td.spark { width: 120px; }
.table td.spark svg.mini { width: 100px; height: 28px; display: inline-block; vertical-align: middle; }
.table td.cap b { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { .ov-tile b { font-size: 24px; } }
@media (max-width: 760px) {
  .ov-tiles { grid-template-columns: 1fr 1fr; }
  .ov-tile { padding: 14px 16px; }
  .ov-tile:nth-child(2) { border-right: 0; }
  .ov-tile:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ov-tile b { font-size: 22px; }
  .ov-chart { padding: 14px 12px 10px; }
  .ov-legend { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px 8px; padding: 0 12px; }
  .ov-legend button { white-space: nowrap; flex: none; }
  .page-head .tools { width: 100%; }
  #ov-range { order: 3; }
}
