/* Centhead design system. One stylesheet for the marketing site, the member app and the embeddable widget.
   No inline styles anywhere (strict CSP): everything is a class or an SVG attribute. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/fraunces-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-2: #f4efe7;
  --line: #e9e2d6;
  --line-strong: #d3c9b8;
  --ink: #16181d;
  --text: #2a2d34;
  --muted: #646b76;
  --subtle: #8e94a0;
  --brand: #16181d;
  --brand-ink: #fbf8f3;
  --brand-hover: #2b2f38;
  --accent: #f08a4b;
  --accent-strong: #b4510f;
  --accent-bg: #fdebdd;
  --pos: #0a7a4a;
  --pos-bg: #e4f4ea;
  --warn: #8f5a00;
  --warn-bg: #fdf1d9;
  --neg: #b42318;
  --neg-bg: #fdecea;
  --info: #2457d6;
  --info-bg: #e9efff;
  --c-platform: #f08a4b;
  --c-app: #5b8def;
  --c-you: #2fbf84;
  --shadow-sm: 0 1px 2px rgba(22, 24, 29, 0.06);
  --shadow: 0 1px 2px rgba(22, 24, 29, 0.05), 0 10px 28px rgba(60, 40, 10, 0.08);
  --shadow-lg: 0 2px 4px rgba(22, 24, 29, 0.06), 0 28px 60px rgba(60, 40, 10, 0.16);
  --r-sm: 8px; --r: 12px; --r-lg: 20px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #13110f;
  --surface: #1b1815;
  --surface-2: #23201b;
  --line: #2e2922;
  --line-strong: #40382d;
  --ink: #f6f1e9;
  --text: #ddd6cb;
  --muted: #a39b8c;
  --subtle: #7d7567;
  --brand: #f6f1e9;
  --brand-ink: #16181d;
  --brand-hover: #ffffff;
  --accent: #f5a06b;
  --accent-strong: #f5a06b;
  --accent-bg: rgba(240, 138, 75, 0.14);
  --pos: #4fd39a;
  --pos-bg: rgba(79, 211, 154, 0.12);
  --warn: #f2b45a;
  --warn-bg: rgba(245, 184, 75, 0.12);
  --neg: #ff8f84;
  --neg-bg: rgba(255, 107, 94, 0.12);
  --info: #8fb0ff;
  --info-bg: rgba(91, 141, 239, 0.14);
  --shadow-sm: none;
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.025), 0 14px 34px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #13110f; --surface: #1b1815; --surface-2: #23201b; --line: #2e2922; --line-strong: #40382d;
    --ink: #f6f1e9; --text: #ddd6cb; --muted: #a39b8c; --subtle: #7d7567; --brand: #f6f1e9; --brand-ink: #16181d; --brand-hover: #ffffff;
    --accent: #f5a06b; --accent-strong: #f5a06b; --accent-bg: rgba(240, 138, 75, 0.14);
    --pos: #4fd39a; --pos-bg: rgba(79, 211, 154, 0.12); --warn: #f2b45a; --warn-bg: rgba(245, 184, 75, 0.12);
    --neg: #ff8f84; --neg-bg: rgba(255, 107, 94, 0.12); --info: #8fb0ff; --info-bg: rgba(91, 141, 239, 0.14);
    --shadow-sm: none; --shadow: 0 0 0 1px rgba(255, 255, 255, 0.025), 0 14px 34px rgba(0, 0, 0, 0.4); --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.55 var(--font); font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
h1, h2, .display { font-family: var(--display); font-optical-sizing: auto; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; }
h4 { font-size: 0.95rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
code, .mono { font-family: var(--mono); font-size: 0.9em; }
:focus-visible { outline: 2px solid var(--info); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 38%, transparent); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum", "cv11"; }
.muted { color: var(--muted); } .subtle { color: var(--subtle); }
.pos { color: var(--pos); } .neg { color: var(--neg); } .warn { color: var(--warn); }
.small { font-size: 0.86rem; } .xs { font-size: 0.78rem; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; } .ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.right { text-align: right; } .center { text-align: center; } .w-full { width: 100%; }

/* ------------------------------------------------------------------ layout helpers */
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row.nowrap { flex-wrap: nowrap; }
.spread { justify-content: space-between; }
.grow { flex: 1 1 0; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-2 { gap: 8px; } .stack-4 { gap: 20px; } .stack-6 { gap: 32px; }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 20px; } .mt-6 { margin-top: 32px; } .mt-8 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 20px; }

/* ------------------------------------------------------------------ surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.card.pad-sm { padding: 16px; } .card.flat { box-shadow: none; } .card.raised { box-shadow: var(--shadow); }
.card-title { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 20px 0; }
.alert { display: flex; gap: 12px; padding: 12px 14px; border-radius: var(--r); border: 1px solid transparent; font-size: 0.9rem; }
.alert svg { flex: none; margin-top: 2px; }
.alert.info { background: var(--info-bg); color: var(--info); } .alert.warn { background: var(--warn-bg); color: var(--warn); }
.alert.error { background: var(--neg-bg); color: var(--neg); } .alert.success { background: var(--pos-bg); color: var(--pos); }
.alert strong { color: inherit; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); line-height: 1.5; white-space: nowrap; }
.badge.pos { background: var(--pos-bg); color: var(--pos); border-color: transparent; } .badge.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.badge.neg { background: var(--neg-bg); color: var(--neg); border-color: transparent; } .badge.info { background: var(--info-bg); color: var(--info); border-color: transparent; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 15px; height: 15px; } .icon.lg { width: 22px; height: 22px; } .icon.xl { width: 28px; height: 28px; }
.icon-chip { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); flex: none; }
.icon-chip.green { background: var(--pos-bg); color: var(--pos); border-color: transparent; } .icon-chip.blue { background: var(--info-bg); color: var(--info); border-color: transparent; } .icon-chip.amber { background: var(--warn-bg); color: var(--warn); border-color: transparent; }

/* ------------------------------------------------------------------ buttons & forms */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 0.92rem; line-height: 1; padding: 11px 16px; min-height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; transition: background 0.15s, border-color 0.15s, transform 0.08s, box-shadow 0.15s; white-space: nowrap; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.green, .btn.accent { background: var(--accent); border-color: var(--accent); color: #1b1208; }
.btn.green:hover, .btn.accent:hover { filter: brightness(0.96); background: var(--accent); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn.danger { color: var(--neg); border-color: color-mix(in srgb, var(--neg) 35%, var(--line)); }
.btn.danger:hover { background: var(--neg-bg); }
.btn.lg { min-height: 50px; padding: 14px 24px; font-size: 1rem; border-radius: 12px; }
.btn.sm { min-height: 32px; padding: 7px 12px; font-size: 0.84rem; border-radius: 8px; }
.btn.block { width: 100%; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
label.lbl { display: block; font-weight: 600; font-size: 0.86rem; color: var(--ink); margin-bottom: 6px; }
.hint { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.field-error { color: var(--neg); font-size: 0.84rem; min-height: 1.2em; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; min-height: 42px; transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--subtle); }
input:hover, textarea:hover, select:hover { border-color: var(--subtle); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--info); box-shadow: 0 0 0 3px color-mix(in srgb, var(--info) 22%, transparent); }
textarea { min-height: 96px; resize: vertical; font-size: 0.95rem; line-height: 1.5; }
textarea.mono { font-family: var(--mono); font-size: 0.85rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; cursor: pointer; font-weight: 450; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
input[type="range"] { width: 100%; accent-color: var(--ink); }
.switch { position: relative; display: inline-flex; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; background: var(--line-strong); border-radius: 999px; transition: background 0.15s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.15s; box-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.switch input:checked + i { background: var(--pos); } .switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--info); outline-offset: 2px; }
.input-group { display: flex; } .input-group input { border-top-right-radius: 0; border-bottom-right-radius: 0; } .input-group .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { appearance: none; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 0.86rem; color: var(--muted); padding: 7px 14px; border-radius: 8px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ------------------------------------------------------------------ data display */
.stat .k { font-size: 0.8rem; font-weight: 550; color: var(--muted); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.stat .v { font-size: 1.85rem; font-weight: 680; letter-spacing: -0.025em; color: var(--ink); line-height: 1.1; }
.stat .v .dim { color: var(--subtle); font-weight: 560; }
.stat .s { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.table-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { text-align: left; font-size: 0.76rem; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; }
.empty { text-align: center; padding: 32px 16px; color: var(--muted); }
.empty .icon-chip { margin: 0 auto 12px; }
.progress { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width 0.4s ease; }
.splitbar { display: block; width: 100%; height: 12px; border-radius: 999px; overflow: hidden; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.84rem; color: var(--muted); margin-top: 10px; }
.legend b { color: var(--ink); font-weight: 650; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.dot.p { background: var(--c-platform); } .dot.a { background: var(--c-app); } .dot.y { background: var(--c-you); }
.chart { width: 100%; height: 180px; }
.chart .bar { fill: var(--accent); } .chart .bar.zero { fill: var(--line); } .chart .bar:hover { fill: var(--pos); }
.chart text { fill: var(--subtle); font-size: 10px; font-family: var(--font); }
.chart .grid line { stroke: var(--line); stroke-dasharray: 2 4; }
.ring { position: relative; width: 84px; height: 84px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .track { stroke: var(--surface-2); } .ring .fill { stroke: var(--accent); transition: stroke-dashoffset 0.6s ease; }
.ring .label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ring .label b { font-size: 1.25rem; color: var(--ink); }
.feed { display: flex; flex-direction: column; }
.feed .item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.feed .item:last-child { border-bottom: 0; }
.feed .meta { font-size: 0.8rem; color: var(--muted); }
.achv { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.achv.locked .icon-chip { opacity: 0.55; } .achv.locked { background: transparent; }
.achv h4 { margin: 0 0 2px; } .achv p { margin: 0; font-size: 0.82rem; color: var(--muted); }
.code { font-family: var(--mono); font-size: 0.82rem; line-height: 1.6; background: #16181d; color: #e8e2d6; border-radius: var(--r); padding: 16px; overflow-x: auto; white-space: pre; border: 1px solid #2b2f38; }
.code .c { color: #8c8577; } .code .k { color: #f5a06b; } .code .s { color: #9bd7b0; }
.kbd { font-family: var(--mono); font-size: 0.8em; background: var(--surface-2); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }
.copyable { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 8px 8px 12px; font-family: var(--mono); font-size: 0.85rem; }
.copyable span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; min-height: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; width: 100%; background: var(--ink); color: var(--bg); padding: 12px 14px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 0.9rem; animation: rise 0.2s ease-out; }
.toast.bad { background: var(--neg); color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.modal-back { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(8, 17, 26, 0.55); padding: 20px; animation: fade 0.15s; }
.modal { width: min(520px, 100%); max-height: 90vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); animation: rise 0.2s ease-out; }
@keyframes fade { from { opacity: 0; } }

/* ------------------------------------------------------------------ split / receipt */
.receipt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.receipt header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px dashed var(--line-strong); font-size: 0.82rem; color: var(--muted); }
.receipt .lines { padding: 6px 18px 4px; }
.receipt .ln { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.receipt .ln:last-child { border-bottom: 0; }
.receipt .ln .lbl2 { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.receipt .total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; background: var(--surface-2); border-top: 1px dashed var(--line-strong); }
.receipt .total b { font-size: 1.5rem; color: var(--pos); letter-spacing: -0.02em; }

/* ------------------------------------------------------------------ marketing site */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-optical-sizing: auto; font-weight: 650; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 550; font-size: 0.92rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--accent-bg); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--accent-strong); background: var(--accent-bg); padding: 5px 12px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 34em; margin: 20px 0 28px; }
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 0.9rem; font-weight: 550; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--pos); }
.feature h3 { margin: 14px 0 6px; } .feature p { color: var(--muted); margin: 0; }
.step-num { font-size: 0.8rem; font-weight: 700; color: var(--accent-strong); letter-spacing: 0.06em; text-transform: uppercase; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 46em; }
.cta-band { background: #16181d; color: #fbf8f3; border-radius: 28px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fbf8f3; } .cta-band p { color: rgba(251, 248, 243, 0.72); max-width: 34em; margin: 12px auto 24px; }
.cta-band .btn.primary { background: var(--accent); border-color: var(--accent); color: #1b1208; }
.prose { max-width: 46em; } .prose h2 { font-size: 1.5rem; margin: 40px 0 12px; } .prose h3 { margin: 28px 0 8px; } .prose li { margin-bottom: 6px; } .prose p, .prose li { color: var(--text); }
.prose table { margin: 16px 0 24px; }
.page-head { padding: 56px 0 24px; } .page-head p { color: var(--muted); font-size: 1.15rem; max-width: 40em; margin-top: 12px; }
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 32px; color: var(--muted); font-size: 0.88rem; }
.footer h4 { color: var(--ink); margin-bottom: 12px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer a { color: var(--muted); } .footer a:hover { color: var(--ink); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.banner { background: var(--warn-bg); color: var(--warn); text-align: center; font-size: 0.84rem; font-weight: 600; padding: 8px 16px; border-bottom: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(420px, calc(100vw - 32px)); }

/* ------------------------------------------------------------------ member app shell */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; }
.side .brand { padding: 4px 8px 18px; }
.side a.item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-weight: 550; font-size: 0.93rem; }
.side a.item:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.side a.item[aria-current="page"] { background: var(--accent-bg); color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); }
.side .sep { height: 1px; background: var(--line); margin: 10px 4px; }
.side .grow { flex: 1; }
.side .who { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; font-size: 0.86rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #1b1208; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; flex: none; }
.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 28px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 1.05rem; letter-spacing: -0.01em; font-weight: 650; }
.content { padding: 28px; max-width: 1120px; }
.page-title { margin-bottom: 24px; } .page-title h2 { font-size: 1.6rem; } .page-title p { color: var(--muted); margin: 6px 0 0; }
.tabbar { display: none; }
.balance-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 650; color: var(--ink); font-size: 0.9rem; }
.balance-chip small { color: var(--muted); font-weight: 500; }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: #16181d; color: #fbf8f3; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side { --bg: #16181d; --surface: #1d2027; --surface-2: #23262e; --line: #2c303a; --line-strong: #3a3f4b; --ink: #fbf8f3; --text: #ddd6cb; --muted: #a8a193; --accent: #f5a06b; --pos: #4fd39a; --shadow: none; color-scheme: dark; }
.auth-side h2 { color: #fbf8f3; font-size: 2.1rem; max-width: 14em; } .auth-side p { color: rgba(251, 248, 243, 0.7); }
.auth-side .brand { color: #fbf8f3; }
.auth-main { display: grid; place-items: center; padding: 32px 24px; }
.auth-card { width: min(420px, 100%); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; } .pw-meter i { height: 4px; border-radius: 4px; background: var(--line-strong); } .pw-meter i.on { background: var(--pos); } .pw-meter i.mid { background: var(--warn); }
.qr { background: #fff; padding: 12px; border-radius: 12px; width: fit-content; border: 1px solid var(--line); }

/* ------------------------------------------------------------------ watch player */
.stage { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; min-height: 220px; background: #16181d; isolation: isolate; border: 1px solid var(--line); }
.stage canvas, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage .idle { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 8px; padding: 24px; z-index: 2; background: radial-gradient(900px 340px at 50% -10%, rgba(240, 138, 75, 0.22), transparent 62%), #16181d; color: #f3ede3; }
.stage .idle h3 { color: #f4f7fa; font-size: 1.35rem; } .stage .idle p { color: #9fb0c3; max-width: 28em; margin: 0 0 12px; font-size: 0.95rem; }
.stage .adcopy { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; z-index: 3; background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent); color: #fff; }
.stage .adcopy .brandline { font-weight: 700; font-size: 1.1rem; } .stage .adcopy .tagline { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.stage .tag { position: absolute; top: 12px; left: 12px; z-index: 3; font-size: 0.7rem; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); color: #fff; letter-spacing: 0.05em; }
.stage .timer { position: absolute; top: 10px; right: 12px; z-index: 3; width: 44px; height: 44px; }
.ring-bg { stroke: rgba(255, 255, 255, 0.22); } .ring-fg { stroke: var(--accent); transition: stroke-dashoffset 0.25s linear; }
.stage .pause { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; text-align: center; background: rgba(7, 18, 28, 0.88); color: #fff; padding: 20px; gap: 4px; }
.stage .presence { position: absolute; inset: 0; z-index: 6; background: rgba(7, 18, 28, 0.9); color: #fff; }
.presence .msg { position: absolute; top: 18px; left: 0; right: 0; text-align: center; font-weight: 650; }
.presence .btn { position: absolute; transform: translate(-50%, -50%); }
.presence .bar { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--c-platform); }
.ticker { text-align: center; padding: 18px 8px 4px; }
.ticker .amount { font-size: clamp(2rem, 6vw, 3rem); font-weight: 720; letter-spacing: -0.035em; color: var(--pos); line-height: 1; }
.ticker .amount .frac { font-size: 0.55em; opacity: 0.7; font-weight: 600; }
.ticker .sub { color: var(--muted); font-size: 0.86rem; margin-top: 8px; }
@keyframes pop { 0% { transform: scale(0.94); opacity: 0.4; } 100% { transform: scale(1); opacity: 1; } }
.pop { animation: pop 0.35s ease-out; }
.floaty { position: absolute; font-weight: 700; color: var(--accent); pointer-events: none; z-index: 9; animation: floatup 1.3s ease-out forwards; }
@keyframes floatup { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-48px); opacity: 0; } }

/* ------------------------------------------------------------------ embed widget */
body.embed { background: transparent; }
body.embed .content, body.embed .wrap { padding: 0; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .hero-grid, .cols-2, .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 40px; } .hero-grid { gap: 36px; }
  .auth-side { display: none; }
  .nav-links { display: none; } .menu-btn { display: inline-flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .topbar { padding: 0 16px; } .content { padding: 20px 16px 96px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 0.68rem; font-weight: 600; color: var(--muted); padding: 6px 2px; border-radius: 8px; }
  .tabbar a:hover { text-decoration: none; } .tabbar a[aria-current="page"] { color: var(--accent-strong); }
  .section { padding: 52px 0; } .cta-band { padding: 40px 20px; }
}
@media (max-width: 560px) {
  .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); }
  .wrap { padding: 0 16px; } .card { padding: 18px; }
  .hide-sm { display: none !important; }
}
@media (min-width: 961px) { .only-sm { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
@media print { .nav, .side, .tabbar, .footer, .cookie, .banner { display: none !important; } body { background: #fff; } }

/* split bar segments (SVG fills via classes) */
.splitbar .sp-p { fill: var(--c-platform); } .splitbar .sp-a { fill: var(--c-app); } .splitbar .sp-y { fill: var(--c-you); }
.ink { color: var(--ink); }
.page-skel { height: 320px; }
.link-btn { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: var(--info); cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ml { margin-left: 8px; }
.qr-box { width: 168px; height: 168px; } .qr-box svg { width: 100%; height: 100%; }
.stat-skel { height: 64px; }
.wall-frame { width: 100%; height: 720px; border: 0; border-radius: var(--r); background: var(--surface-2); }
.tick { width: 24px; height: 24px; border-radius: 50%; }
.auth-h { font-size: 1.75rem; }
.auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; color: color-mix(in srgb, #fbf8f3 78%, transparent); }
.auth-points li { display: flex; gap: 10px; align-items: center; } .auth-points svg { color: var(--accent); }
.auth-receipt { background: color-mix(in srgb, #fbf8f3 8%, transparent); border-color: color-mix(in srgb, #fbf8f3 16%, transparent); box-shadow: none; color: #fbf8f3; }
.auth-receipt header { border-color: color-mix(in srgb, #fbf8f3 24%, transparent); color: color-mix(in srgb, #fbf8f3 64%, transparent); }
.auth-receipt .ln { border-color: color-mix(in srgb, #fbf8f3 14%, transparent); } .auth-receipt .lbl2 { color: color-mix(in srgb, #fbf8f3 70%, transparent); }
.auth-receipt .total { background: transparent; border-color: color-mix(in srgb, #fbf8f3 24%, transparent); } .auth-receipt .total b { color: var(--accent); } .auth-receipt .muted { color: color-mix(in srgb, #fbf8f3 64%, transparent); }
.auth-receipt .badge { background: transparent; color: inherit; border-color: color-mix(in srgb, #fbf8f3 24%, transparent); }
.verify-skel { min-height: 56px; }
.prog { min-width: 140px; }
a.way { color: inherit; border-radius: 10px; } a.way:hover { background: var(--surface-2); text-decoration: none; }
.earn-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
.overview-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.pad-sm { padding: 12px; }
@media (max-width: 960px) { .earn-grid, .overview-grid { grid-template-columns: minmax(0, 1fr); } }
.stats-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 22px 28px; margin-top: 8px; }
@media (max-width: 700px) { .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc input[type="number"] { max-width: 200px; }
.page-head .eyebrow { margin-bottom: 16px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.mb-4 { margin-bottom: 20px; }

.creative { position: absolute; inset: 0; background: #07121c; }
.creative img, .creative video { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage .adcopy .adbody { color: rgba(255, 255, 255, 0.7); font-size: 0.84rem; margin-top: 2px; }
.visit-box { margin-top: 10px; align-items: center; } .visit-box .xs { color: #9fb0c3; max-width: 30em; }
.drop { display: grid; place-items: center; gap: 6px; text-align: center; padding: 22px; border: 1.5px dashed var(--line-strong); border-radius: var(--r); background: var(--surface-2); color: var(--muted); cursor: pointer; }
.drop:hover { border-color: var(--subtle); }
.drop img, .drop video { max-height: 140px; border-radius: 8px; }
.ad-preview { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #07121c; border: 1px solid var(--line); }
.ad-preview .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-preview .copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.78), transparent); }
.ad-preview .copy b { display: block; font-size: 1.05rem; } .ad-preview .copy span { font-size: 0.85rem; color: rgba(255,255,255,.75); }
.ad-preview .chip { position: absolute; top: 10px; left: 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: .05em; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; }
.campaign-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .campaign-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.modal.modal-wide { width: min(880px, 100%); }
.campaign-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 960px) { .campaign-split { grid-template-columns: minmax(0, 1fr); } }

.consent-list li { margin-bottom: 4px; color: var(--text); }

.bell-wrap { position: relative; }
.bell { position: relative; }
.bell-badge { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--neg); color: #fff; font-size: 0.65rem; font-weight: 700; line-height: 16px; text-align: center; }
.popover { position: absolute; right: 0; top: calc(100% + 8px); width: min(380px, 92vw); max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 8px 16px 12px; z-index: 60; }
.pop-head { padding: 10px 0 6px; border-bottom: 1px solid var(--line); }
.notif { display: block; border-radius: 8px; color: inherit; } .notif:hover { text-decoration: none; background: var(--surface-2); }
.notif.unread { box-shadow: inset 3px 0 0 var(--accent); padding-left: 10px; }
.poll-option { justify-content: flex-start; text-align: left; white-space: normal; min-height: 48px; font-weight: 550; }
.poll-q { font-size: 1.35rem; margin: 6px 0 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
textarea.plain { font-family: var(--font); font-size: 0.95rem; }

/* ---------- v2 marketing components ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 780px; height: 780px; right: -260px; top: -300px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 66%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 .under { position: relative; white-space: nowrap; }
.hero h1 .under::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.16em; background: var(--accent); opacity: 0.45; border-radius: 4px; z-index: -1; }
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.audience a.card { color: inherit; display: flex; flex-direction: column; gap: 6px; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.audience a.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.audience .go { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--accent-strong); display: inline-flex; align-items: center; gap: 6px; }
.catch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.catch > div { padding: 28px; border-right: 1px solid var(--line); } .catch > div:last-child { border-right: 0; }
.catch .n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--accent); font-weight: 600; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento > .card { grid-column: span 2; display: flex; flex-direction: column; gap: 4px; }
.bento > .card.wide { grid-column: span 3; }
.bento > .card.hero-card { grid-column: span 4; background: #16181d; border-color: #16181d; color: #e8e2d6; }
.bento > .card.hero-card h3, .bento > .card.hero-card .ink { color: #fbf8f3; } .bento > .card.hero-card p { color: #b6ad9d; }
.bento .tag { align-self: flex-start; margin-top: auto; padding-top: 12px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { background: var(--surface-2); font-size: 0.78rem; }
.compare td:first-child { font-weight: 600; color: var(--ink); width: 34%; }
.compare .yes { color: var(--pos); font-weight: 600; }
.hero-visual { position: relative; }
.hero-visual .receipt { transform: rotate(-1.2deg); }
.coin { position: absolute; width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffc79e, var(--accent) 55%, #c9622a); box-shadow: 0 8px 20px rgba(180, 81, 15, 0.35); display: grid; place-items: center; color: #7a3306; font-family: var(--display); font-weight: 700; font-size: 1.5rem; animation: bob 5s ease-in-out infinite; }
.coin.c1 { right: -14px; top: -26px; } .coin.c2 { left: -22px; bottom: 36px; width: 52px; height: 52px; font-size: 1.1rem; animation-delay: -2s; } .coin.c3 { right: 36px; bottom: -28px; width: 40px; height: 40px; font-size: 0.9rem; animation-delay: -3.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-9px) rotate(5deg); } }
.cycle { position: relative; min-height: 238px; }
.cycle .receipt { position: absolute; inset: 0 0 auto 0; opacity: 0; animation: cycle 12s infinite; }
.cycle .receipt:nth-child(1) { animation-delay: 0s; } .cycle .receipt:nth-child(2) { animation-delay: 4s; } .cycle .receipt:nth-child(3) { animation-delay: 8s; }
@keyframes cycle { 0% { opacity: 0; transform: translateY(10px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .cycle .receipt { animation: none; opacity: 0; } .cycle .receipt:first-child { opacity: 1; } .coin { animation: none; } }
@media (max-width: 960px) { .audience, .catch { grid-template-columns: minmax(0, 1fr); } .catch > div { border-right: 0; border-bottom: 1px solid var(--line); } .catch > div:last-child { border-bottom: 0; } .bento { grid-template-columns: minmax(0, 1fr); } .bento > .card, .bento > .card.wide, .bento > .card.hero-card { grid-column: auto; } .coin.c1 { right: 6px; } .coin.c2 { left: 0; } }
.ledger-note { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }

/* ------------------------------------------------------------------ tasks, creators */
.task-card { align-content: start; }
.task-card h3 { font-size: 1.05rem; }
.proof-img { display: block; max-width: min(100%, 420px); max-height: 320px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); object-fit: contain; }
.wrap-pre { white-space: pre-wrap; word-break: break-word; margin: 0; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; max-height: 220px; overflow: auto; }
.input-group .addon { display: inline-flex; align-items: center; padding: 0 12px; background: var(--surface-2); border: 1px solid var(--line-strong); border-right: 0; border-radius: 10px 0 0 10px; color: var(--muted); font-size: 0.86rem; white-space: nowrap; }
.input-group .addon + input { border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 10px; border-bottom-right-radius: 10px; }
.mt-5 { margin-top: 24px; }
.icon-chip.red { background: var(--neg-bg); color: var(--neg); border-color: transparent; }
.seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.avatar.xl { width: 64px; height: 64px; font-size: 1.6rem; flex: none; }
.creator-head { padding-bottom: 8px; }
.creator-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.creator-head .row { gap: 16px; align-items: center; flex-wrap: nowrap; }

.dl-card .btn { justify-content: space-between; flex-wrap: wrap; text-align: left; height: auto; padding-top: 10px; padding-bottom: 10px; }
.dl-card .btn > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.dl-card.dl-here { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.dl-card .row .badge { margin-left: auto; }
.code { overflow-x: auto; }
.nav-links a { white-space: nowrap; padding: 8px 10px; }
@media (max-width: 1140px) {
  .nav-links { display: none; } .menu-btn { display: inline-flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
}
