/* ───────────────────────────────────────────────
   Megaphoon — TIDY layer (loaded last).
   Light grey paper, uppercase Inter headlines, violet → magenta accents, slab wave on home.
   Light is the default theme; dark keeps the same structure on graphite.
   ─────────────────────────────────────────────── */

/* ══ tokens ═══════════════════════════════════════ */
:root[data-theme="light"] {
  color-scheme: light;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --night-0: #D9D9DC; --night-1: #E3E3E6;
  --paper: #D9D9DC; --paper-2: #E6E6E9; --paper-hi: #F2F2F4;
  --ink: #0E0E11; --ink-2: rgba(14, 14, 17, .78); --ink-3: rgba(14, 14, 17, .5);
  --muted: rgba(14, 14, 17, .6); --dim: rgba(14, 14, 17, .44);
  --glass-1: rgba(255, 255, 255, .46); --glass-1-hover: rgba(255, 255, 255, .62); --glass-2: rgba(255, 255, 255, .6);
  --rim: rgba(14, 14, 17, .1); --rim-strong: rgba(14, 14, 17, .18);
  --glint: inset 0 1px 0 rgba(255, 255, 255, .85);
  --lift: 0 24px 50px -30px rgba(40, 24, 80, .35);
  --opaque: #F4F4F6; --well: rgba(14, 14, 17, .05); --glass-fallback: rgba(236, 236, 239, .97);
  --signal: #6C47E0; --signal-ink: #FFFFFF; --signal-deep: #4F2FC0; --signal-soft: rgba(108, 71, 224, .12);
  --magenta: #A8559F; --magenta-hi: #BC64B2;
  --smart: #6C47E0; --smart-soft: rgba(108, 71, 224, .12);
  --bg: var(--paper); --solid: rgba(255, 255, 255, .5); --card: rgba(255, 255, 255, .46);
  --line: rgba(14, 14, 17, .09); --line-2: rgba(14, 14, 17, .16);
  --accent: var(--signal); --accent-hi: #7D5BEA; --accent-soft: var(--signal-soft); --accent-text: #5232C8; --accent-2: #CFC2F7; --on-accent: #fff;
  --good: #1E8A55; --good-soft: rgba(30, 138, 85, .12);
  --g-fill: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .42));
  --g-fill-hi: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .58));
  --g-rim: rgba(14, 14, 17, .08); --g-rim-hi: rgba(14, 14, 17, .16); --g-top: rgba(255, 255, 255, .9);
  --g-shadow: 0 1px 2px rgba(20, 14, 40, .05), 0 16px 36px -24px rgba(40, 24, 80, .35);
  --night: #FFFFFF; --night-2: #F0EFF6;
}
:root[data-theme="dark"] {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --night-0: #111114; --night-1: #17171B; --paper: #111114; --paper-2: #1A1A1F; --paper-hi: #22222A;
  --ink: #EDEDF1; --ink-2: rgba(237, 237, 241, .8); --muted: rgba(237, 237, 241, .6); --dim: rgba(237, 237, 241, .42);
  --signal: #9B7BFF; --signal-ink: #120C24; --signal-deep: #6C47E0; --signal-soft: rgba(155, 123, 255, .16);
  --magenta: #C46BBA; --magenta-hi: #D47FCB; --smart: #9B7BFF; --smart-soft: rgba(155, 123, 255, .16);
  --bg: var(--paper); --accent: var(--signal); --accent-hi: #AE93FF; --accent-soft: var(--signal-soft); --accent-text: #B9A3FF; --accent-2: #4F2FC0; --on-accent: #fff;
}
html, :root[data-theme="light"] { background: var(--night-0); }
body { font-family: var(--font); }
:root[data-theme="light"] body::before, :root[data-theme="dark"] body::before {
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .22) 30%, transparent 40%, transparent 55%, rgba(255, 255, 255, .16) 62%, transparent 72%);
  filter: blur(30px); }
:root[data-theme="dark"] body::before { opacity: .12; }
:root[data-theme="light"] ::selection { background: rgba(108, 71, 224, .22); }
:root[data-theme="light"] :focus-visible { outline-color: rgba(108, 71, 224, .7); }
:root[data-theme="light"] :is(.stop, .topbar.scrolled) { background: rgba(217, 217, 220, .82) !important; }

/* buttons: violet primary, quiet ghost */
.btn-primary { background: var(--accent) !important; color: var(--on-accent) !important; border-radius: 999px; box-shadow: 0 10px 22px -14px rgba(108, 71, 224, .9) !important; }
.btn-primary:hover { background: var(--accent-hi) !important; }
:root[data-theme="light"] :is(.btn-ghost, .btn-glass) { background: rgba(255, 255, 255, .5); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rim); }

/* headlines speak TIDY: uppercase, regular weight, tight */
:is(.lx-sec-h h2, .lx-sec h2, .page-head h1, .hero-title, .pg-h1, .sec-h h2, .cv-head h1) { text-transform: uppercase; font-weight: 500; letter-spacing: -.012em; }

/* ══ header ═══════════════════════════════════════ */
.tdy-top { background: transparent; box-shadow: none !important; }
.tdy-top .topbar-in { min-height: 76px; gap: 20px; border-bottom: 1px solid var(--line-2); }
.tdy-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); flex: none; }
.tdy-brand b { font: 700 25px/1 var(--font); letter-spacing: -.03em; }
.tdy-brand span { font-size: 9.5px; line-height: 1.35; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-2); font-weight: 500; }
.tdy-nav { display: flex; gap: 6px; margin: 0 auto; }
.tdy-nav .dd { position: relative; }
.tdy-nav summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; cursor: pointer; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .02em; color: var(--ink); border-radius: 8px; user-select: none; }
.tdy-nav summary::-webkit-details-marker { display: none; }
.tdy-nav summary .ic { transition: transform .2s ease; opacity: .7; }
.tdy-nav .dd[open] summary .ic { transform: rotate(180deg); }
.tdy-nav summary:hover { background: rgba(14, 14, 17, .05); }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 280px; padding: 8px; border-radius: 16px; z-index: 80;
  background: var(--opaque); box-shadow: 0 0 0 1px var(--rim), 0 24px 50px -20px rgba(30, 20, 60, .35); animation: ddin .18s ease; }
@keyframes ddin { from { opacity: 0; transform: translate(-50%, -4px); } }
.dd-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 11px; color: var(--ink); text-decoration: none; }
.dd-menu a .ic { margin-top: 2px; color: var(--accent); flex: none; }
.dd-menu a span { display: grid; gap: 2px; }
.dd-menu a b { font-size: 13.5px; font-weight: 600; }
.dd-menu a small { font-size: 12px; color: var(--muted); }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--well); }
.tdy-link { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); text-decoration: none; padding: 8px 6px; }
.tdy-link:hover { color: var(--accent); }
.tdy-cta { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); text-decoration: none; white-space: nowrap; padding: 8px 2px; }
.tdy-cta span { padding: 0 4px; }
.tdy-cta:hover span { color: var(--accent); }
.tdy-top .actions { gap: 12px; }
:root[data-theme="dark"] .tdy-nav summary:hover { background: rgba(255, 255, 255, .06); }
@media (max-width: 1100px) { .tdy-brand span { display: none; } }
@media (max-width: 900px) {
  .tdy-nav { position: fixed; left: 12px; right: 12px; top: 84px; flex-direction: column; gap: 2px; padding: 10px; border-radius: 18px; z-index: 90; display: none;
    background: var(--opaque); box-shadow: 0 0 0 1px var(--rim), 0 30px 60px -20px rgba(30, 20, 60, .4); max-height: calc(100svh - 110px); overflow: auto; }
  .tdy-nav.open { display: flex; }
  .tdy-nav .dd-menu { position: static; transform: none; box-shadow: none; min-width: 0; padding: 0 0 6px; background: none; animation: none; }
  .tdy-nav .dd { width: 100%; } .tdy-nav summary { width: 100%; justify-content: space-between; }
}
@media (max-width: 440px) { .tdy-brand b { font-size: 21px; } .tdy-cta { font-size: 11.5px; } }

/* ══ home story ═════════════════════════════════════ */
.td-home main, .td-home { background: var(--paper); }
.td-count { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.td-count b { font-weight: 700; }
.td-hero { position: relative; min-height: calc(100svh - 77px); display: flex; flex-direction: column; overflow: hidden; }
.td-hero-in { padding-top: 26px; position: relative; z-index: 2; }
.td-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; margin-top: 28px; align-items: start; }
.td-h1 { margin: 0; font: 400 clamp(30px, 3.1vw, 46px)/1.08 var(--font); letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); }
.td-lede { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.td-live { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.td-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 4px rgba(168, 85, 159, .18); }
.td-switch { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 18px; border-radius: 999px; background: rgba(14, 14, 17, .06); }
.td-switch button { border: 0; background: none; padding: 6px 13px; border-radius: 999px; font: 600 11px/1 var(--font); text-transform: uppercase; letter-spacing: .03em; color: var(--muted); cursor: pointer; }
.td-switch button[aria-pressed="true"] { background: var(--paper-hi); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
:root[data-theme="dark"] .td-switch { background: rgba(255, 255, 255, .07); }
.td-wave { position: relative; flex: 1; min-height: 340px; margin-top: -40px; }
.td-wave canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s ease; }
.td-wave.ready canvas { opacity: 1; }
.td-wave.no-gl { background: linear-gradient(100deg, transparent 5%, #C04A72 20%, #D873B8 35%, #6F8FC9 50%, #9C4C8E 65%, #C9604F 80%, transparent 95%); -webkit-mask: linear-gradient(transparent 35%, #000 40% 62%, transparent 67%); mask: linear-gradient(transparent 35%, #000 40% 62%, transparent 67%); opacity: .8; }
.td-nums { position: absolute; inset: 0; pointer-events: none; }
.td-wave canvas { cursor: grab; -webkit-user-select: none; user-select: none; }
.wave-tip { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  background: rgba(14, 14, 17, .88); color: #fff; font: 600 12px/1 var(--font); box-shadow: 0 8px 20px -8px rgba(14, 14, 17, .5); }
.wave-tip[hidden] { display: none; }
.td-nums span { position: absolute; left: var(--x); top: var(--y); font-size: 8.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.td-hero-foot { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; text-align: center; padding-bottom: 70px; margin-top: -20px; }
.td-hero-foot p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.td-pill { display: inline-grid; place-items: center; min-width: 176px; height: 40px; padding: 0 26px; border-radius: 999px; text-decoration: none;
  font: 600 11px/1 var(--font); text-transform: uppercase; letter-spacing: .05em; color: #fff;
  background: linear-gradient(180deg, var(--magenta-hi), var(--magenta)); box-shadow: 0 12px 26px -14px rgba(168, 85, 159, .95), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .15s ease, filter .15s ease; }
.td-pill:hover { filter: brightness(1.06); transform: translateY(-1px); }
.td-pill:active { transform: translateY(1px) scale(.985); }
.td-scroll { position: absolute; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 22px; z-index: 2; display: inline-flex; gap: 10px; align-items: center;
  font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); text-decoration: none; }

/* soft window light across the paper */
.td-rays { position: absolute; inset: -10%; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0) 0 9%, rgba(255, 252, 240, .55) 12%, rgba(255, 255, 255, 0) 16% 22%);
  filter: blur(28px); mix-blend-mode: soft-light; animation: rays 18s ease-in-out infinite alternate; }
.td-rays.soft { opacity: .7; }
@keyframes rays { to { transform: translateX(4%); } }
:root[data-theme="dark"] .td-rays { opacity: .25; }

.td-link { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.td-link:hover { color: var(--accent); }

/* 002 split: a real screenshot of the cabinet on a tilted tray */
.td-split { position: relative; overflow: hidden; padding: 110px 0 120px; }
.td-split-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.td-split-copy h2 { margin: 120px 0 26px; font: 400 clamp(26px, 2.7vw, 40px)/1.12 var(--font); text-transform: uppercase; }
.td-split-copy > p:not(.td-count):not(.td-kicker) { margin: 0; max-width: 46ch; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.td-kicker { margin: 44px 0 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.td-ghost { display: inline-grid; place-items: center; height: 32px; padding: 0 16px; border-radius: 999px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.td-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.td-device { margin: 0 calc(-1 * var(--gutter) - 8vw) 0 0; perspective: 1800px; }
.td-tray2 { position: relative; width: 860px; max-width: 128%; padding: 16px; border-radius: 44px; transform-style: preserve-3d;
  transform: rotateX(42deg) rotateZ(-28deg) translateX(30px); transform-origin: 30% 50%; transition: transform .9s cubic-bezier(.2, .7, .2, 1);
  background: linear-gradient(150deg, #F8F8FA, #DEDEE3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 0 0 2px rgba(14, 14, 17, .06), -50px 80px 90px -40px rgba(40, 30, 70, .45); }
.td-device:hover .td-tray2 { transform: rotateX(30deg) rotateZ(-18deg) translateX(30px); }
.td-shot { display: block; width: 100%; height: auto; border-radius: 30px; box-shadow: 0 0 0 1px rgba(14, 14, 17, .08); }
.td-shot.t-violet { display: none; }
:root[data-tone="x-violet"] .td-shot.t-light { display: none; }
:root[data-tone="x-violet"] .td-shot.t-violet { display: block; }
:root[data-tone="x-violet"] .td-tray2 { background: linear-gradient(150deg, #E9E6F4, #C9C3DE); }

/* 003 payouts */
.td-pay { padding: 40px 0 120px; }
.td-pay-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 60px; margin-top: 40px; align-items: start; }
.td-pay-in h2 { margin: 0; font: 400 clamp(26px, 2.7vw, 40px)/1.12 var(--font); text-transform: uppercase; }
.td-facts { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line-2); }
.td-facts li { display: grid; grid-template-columns: 50px 1fr; gap: 2px 10px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.td-facts b { grid-row: span 2; font-size: 11px; font-weight: 700; color: var(--dim); padding-top: 3px; }
.td-facts span { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.td-facts small { font-size: 14px; color: var(--muted); line-height: 1.55; }
.td-pay-in .td-pill { justify-self: start; grid-column: 1; }

/* home: the sections that follow sit on the same paper */
.td-home .lx-sec { position: relative; }
.td-home .lx-sec-h h2 { font-weight: 400; }

@media (max-width: 1000px) {
  .td-hero-row, .td-split-in, .td-pay-in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .td-split-copy h2 { margin-top: 30px; }
  .td-device { margin: 10px calc(-1 * var(--gutter)) 0; overflow: hidden; padding: 30px 0 40px; }
  .td-tray2 { width: 108%; max-width: none; padding: 10px; border-radius: 30px; transform: rotateX(34deg) rotateZ(-20deg) translate(-2%, -4%); }
  .td-shot { border-radius: 20px; }
}
@media (max-width: 640px) {
  .td-hero { min-height: auto; }
  .td-wave { min-height: 300px; margin-top: 0; }
  .td-hero-foot { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .td-rays { animation: none; }
  .td-tray2 { transition: none; }
}

/* the home header sits on the paper, not on the old dark bar */
.td-home .topbar, .td-home .topbar.scrolled { background: rgba(217, 217, 220, .8) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
:root[data-theme="dark"] .td-home .topbar, :root[data-theme="dark"] .td-home .topbar.scrolled { background: rgba(17, 17, 20, .8) !important; }
.td-home .topbar :is(.tdy-nav summary, .tdy-link, .tdy-cta, .tdy-brand) { color: var(--ink); }
:root[data-theme="light"] .lx-home .topbar :is(.nav a, .icon-btn, .wordmark, .btn-glass) { color: var(--ink); }
.td-hero > .wrap { width: 100%; box-sizing: border-box; }
.nav-extra { display: none; }
@media (max-width: 900px) { .nav-extra { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 4px; border-top: 1px solid var(--line); margin-top: 6px; } }
@media (max-width: 520px) { .topbar .actions > .tgl3d { display: none; } }
.lx-home .lx-sec-h h2, .lx-home .lx-sec h2, .lx-cta h2 { font-family: var(--font) !important; font-weight: 400 !important; text-transform: uppercase; letter-spacing: -.01em; }
.lx-home .lx-cta .btn-primary { border-radius: 999px !important; font-family: var(--font) !important; font-size: 11px; letter-spacing: .05em; background: linear-gradient(180deg, var(--magenta-hi), var(--magenta)) !important; color: #fff !important; }

/* ══ CABINET (video 2): indigo sidebar, lavender workspace, gradient briefing ══ */
:root[data-theme="light"] .shell.vshell { --ws: #F4F3FA; background: var(--ws) !important; }
:root[data-theme="dark"] .shell.vshell { --ws: #121119; background: var(--ws) !important; }
:root[data-theme="light"] body:has(.vshell) { background: #F4F3FA; }
:root[data-theme="light"] body:has(.vshell)::before { opacity: 0; }
.vside { color: #fff; background: linear-gradient(180deg, #3B2CA6 0%, #2E2290 45%, #241A72 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 50px -30px rgba(36, 26, 114, .7) !important; }
:root[data-theme="dark"] .vside { background: linear-gradient(180deg, #2A2078 0%, #1F185C 50%, #18124A 100%) !important; }
.vside :is(.vs-word, .vs-who b, .vs-i[aria-current="page"], .vs-sync, .vs-sync .row b) { color: #fff !important; }
.vside :is(.vs-i, .vs-views a, .vs-sub a) { color: rgba(255, 255, 255, .74) !important; }
.vside :is(.vs-i, .vs-views a, .vs-sub a):hover { color: #fff !important; background: rgba(255, 255, 255, .08) !important; }
.vside .vs-i[aria-current="page"], .vside .vs-sub a[aria-current="page"] { background: rgba(255, 255, 255, .14) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1) !important; }
.vside .vs-i[aria-current="page"] .ic { color: #fff !important; filter: none !important; }
.vside :is(.vs-who small, .vs-sync small, .vs-meta, .vs-clear, .vs-chev, .vs-sync .row .t) { color: rgba(255, 255, 255, .58) !important; }
.vside .vs-label { text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .45) !important; }
.vside :is(.vs-acct, .vs-sync, .vs-btn) { background: rgba(255, 255, 255, .08) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1) !important; color: #fff; }
.vside .vs-ava { background: linear-gradient(140deg, #C59BFF, #7A55EC 55%, #E58BC6) !important; color: #fff; }
.vside .vs-ava .on { box-shadow: 0 0 0 2px #2E2290 !important; }
.vside .cnt { color: rgba(255, 255, 255, .7) !important; }
.vside .cnt.hot { background: #fff !important; color: #3B2CA6 !important; }
.vside .vs-views .cnt { background: #F5B544; color: #2A1B05 !important; font-weight: 700; }
.vside .vs-lc { color: #F5B544 !important; }
.vside .vs-sub { border-left-color: rgba(255, 255, 255, .14) !important; }
.vside .vs-sync .segs i { background: rgba(255, 255, 255, .16) !important; }
.vside .vs-sync .segs i.on { background: linear-gradient(90deg, #C59BFF, #fff) !important; }
.vside .vs-brand { color: #fff; }
.vside .tgl3d.vs-tgl { background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); }

/* top bar of the workspace */
.vshell .stop { background: color-mix(in srgb, var(--ws) 86%, transparent) !important; box-shadow: none !important; }
.vshell .gsearch { border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(30, 20, 80, .08), 0 6px 16px -12px rgba(30, 20, 80, .35); }
:root[data-theme="dark"] .vshell .gsearch { background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.vshell .gsearch .ic { color: var(--accent); }
.vshell .gsearch kbd { font-family: var(--font); }

/* cards on the lavender workspace are white */
:root[data-theme="light"] .vshell :is(.g1, .panel, .d-card, .kpi, .ccard, .task-card) { background: #fff !important; box-shadow: 0 0 0 1px rgba(30, 20, 80, .06), 0 10px 30px -22px rgba(30, 20, 80, .3) !important; }
.vshell :is(.g1, .panel, .d-card) { border-radius: 22px; }

/* greeting */
.dv-date { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--dim); }
.dv-head h1 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.02em; text-transform: none; }

/* briefing banner */
.brief { position: relative; overflow: hidden; isolation: isolate; margin: 0 0 18px; padding: 22px 24px 20px; border-radius: 24px; color: #fff;
  background: radial-gradient(60% 120% at 100% 0%, rgba(255, 170, 230, .9), transparent 60%), radial-gradient(40% 90% at 78% 110%, rgba(255, 214, 140, .75), transparent 60%),
    linear-gradient(100deg, #34259A 0%, #4A34C4 45%, #8E5BE0 75%, #D98AD8 100%);
  box-shadow: 0 24px 50px -30px rgba(52, 37, 154, .8), inset 0 1px 0 rgba(255, 255, 255, .2); }
.br-lab { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.br-orb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #E6B8FF 40%, #8E5BE0); box-shadow: 0 0 12px rgba(255, 220, 255, .8); }
.brief h2 { margin: 10px 0 16px; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.015em; text-transform: none; color: #fff; }
.brief h2 span { color: rgba(255, 255, 255, .72); }
.br-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.br-chip { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 16px; color: #fff; text-decoration: none; min-width: 0;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .15s; }
.br-chip:hover { background: rgba(255, 255, 255, .18); }
.br-ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.br-tx { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.br-tx b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-tx small { font-size: 11.5px; color: rgba(255, 255, 255, .7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-chip > .ic:last-child { opacity: .6; flex: none; }

/* needs your decision */
.dec .d-head { align-items: flex-start; }
.dec .d-head h2 { display: flex; align-items: center; gap: 8px; }
.d-sub { margin: 3px 0 0; font-size: 12px; color: var(--dim); }
.d-sub2 { margin-left: auto; font-size: 12px; color: var(--dim); }
.dec .d-n { margin: 0; background: var(--accent-soft); color: var(--accent-text); }
.dec .d-more { border: 0; box-shadow: none; color: var(--accent-text); font-weight: 600; }
.dec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dec-list li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .15s; }
.dec-list li:hover { background: rgba(108, 71, 224, .05); }
.dl-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #8E5BE0, #4A34C4); }
.dec-list li:nth-child(3n+2) .dl-ic { background: linear-gradient(140deg, #D98AD8, #A8559F); }
.dec-list li:nth-child(3n) .dl-ic { background: linear-gradient(140deg, #7F9CC8, #4A6CB0); }
.dl-tx { flex: 1; min-width: 0; display: grid; gap: 3px; }
.dl-tx b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-tx small { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); flex-wrap: wrap; }
.dl-tag { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 7px; display: inline-flex; align-items: center; gap: 5px; }
.dl-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.dl-tag.bad { color: #B8352F; background: rgba(184, 53, 47, .1); } .dl-tag.warn { color: #A0620A; background: rgba(245, 181, 68, .2); } .dl-tag.info { color: #1E8A55; background: rgba(30, 138, 85, .12); }
:root[data-theme="dark"] .dl-tag.bad { color: #FF9C95; } :root[data-theme="dark"] .dl-tag.warn { color: #F5C26A; } :root[data-theme="dark"] .dl-tag.info { color: #8FE3B5; }
.dl-btn { flex: none; min-width: 84px; height: 32px; padding: 0 16px; border-radius: 999px; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; text-decoration: none;
  color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .15s, transform .15s; }
.dl-btn:hover { background: var(--well); }
.dl-btn.go { color: #fff; background: linear-gradient(180deg, #7D5BEA, #6C47E0); box-shadow: 0 8px 18px -10px rgba(108, 71, 224, .9); }
.dl-btn.go:hover { filter: brightness(1.06); }
.dl-btn:active { transform: scale(.97); }

/* upcoming as «Today» */
.upc .u-date { background: var(--accent-soft) !important; box-shadow: none !important; }
.upc .u-date b { color: var(--accent-text) !important; }
.upc .upc-list li { position: relative; }

/* ⌘K: the search opens as a palette in the middle */
.vshell.cmdk .gsearch { position: fixed; z-index: 120; left: 50%; top: 14vh; width: min(640px, 92vw); height: 58px; transform: translateX(-50%); border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(30, 20, 80, .08), 0 40px 80px -30px rgba(30, 20, 80, .5); }
.vshell.cmdk .gsearch input { font-size: 15px; }
.vshell.cmdk .gs-res { border-radius: 0 0 20px 20px; }
.vshell.cmdk::after { content: ""; position: fixed; inset: 0; z-index: 110; background: rgba(60, 50, 110, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

@media (max-width: 960px) { .br-chips { grid-template-columns: minmax(0, 1fr); } .br-chip:nth-child(n+3) { display: none; } }
@media (max-width: 560px) { .dl-btn { min-width: 0; padding: 0 12px; } .dl-tx small { font-size: 11px; } .brief { padding: 18px; } }
:root[data-theme] .vshell .stop { background: color-mix(in srgb, var(--ws) 88%, transparent) !important; }
.vshell.cmdk .stop { z-index: 130; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: transparent !important; }
.vshell.cmdk .stop > :not(.gsearch) { visibility: hidden; }
.vshell.cmdk .gsearch { z-index: 131; }
.vshell.cmdk .gs-res:not([hidden]) { position: absolute; left: 0; right: 0; top: calc(100% + 6px); border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(30, 20, 80, .08), 0 30px 60px -24px rgba(30, 20, 80, .45); }
:root[data-theme="dark"] .vshell.cmdk .gs-res:not([hidden]) { background: #1C1A28; }

/* ══ public pages: TIDY headings, white cards on paper ══ */
.site-body:not(.td-home) main#main :is(h1, .h1) { text-transform: uppercase; font-weight: 400; letter-spacing: -.015em; }
.site-body:not(.td-home) main#main .lx-sec h2, .site-body main#main .cv-sec h2 { text-transform: none; }
:root[data-theme="light"] .site-body main#main :is(.g1, .panel, .task-card, .card, .sm-row, .cv-stats, .cv-posts a, .cv-cta) { background-color: rgba(255, 255, 255, .62); }
/* creator page: the CV column wears the cabinet indigo */
.cv-side { background: linear-gradient(180deg, #3B2CA6 0%, #2E2290 50%, #241A72 100%) !important; }
.cv-side .cv-photo { background: linear-gradient(160deg, rgba(255, 255, 255, .7), rgba(197, 155, 255, .45) 45%, rgba(255, 255, 255, .1)); }
.cv-side .cv-photo :is(img, span) { background: #2A2160; }
.cv-side .cv-bars i::before { background: linear-gradient(90deg, #C59BFF, #fff); box-shadow: 0 0 10px rgba(197, 155, 255, .6); }
.cv-side .cv-line .ic, .cv-side h3 b { color: #D9C7FF !important; }
.cv-role { background: #241A72; }
.cv-head h1 { font-weight: 500; }

/* ════════════════════════════════════════════════════════════════════
   TWO VERSIONS: data-tone="x-violet" (indigo + violet, the look above)
   and data-tone="light" (white, black capsules, pastel — the school-dashboard shots).
   Everything above is the Violet baseline; the Light version overrides it here.
   ════════════════════════════════════════════════════════════════════ */

/* switch: LIGHT (ice) ↔ VIOLET (glowing violet) */
:root[data-theme][data-tone="x-violet"] .tgl3d { background: linear-gradient(180deg, #3A2C8C, #261B66); box-shadow: 0 1px 0 rgba(255,255,255,.12), 0 6px 14px -8px rgba(36,26,114,.8); }
:root[data-theme][data-tone="x-violet"] .tg-track { background: radial-gradient(90% 140% at 70% 50%, rgba(214,120,255,.35), transparent 65%), #120B33;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.8), inset 0 -1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(200,140,255,.35); }
:root[data-theme][data-tone="x-violet"] .tg-dark { opacity: 1; transform: translateY(-50%); color: #F6E8FF; text-shadow: 0 0 4px #E2A8FF, 0 0 10px #B66BFF, 0 0 18px rgba(170,90,255,.75); }
:root[data-theme][data-tone="x-violet"] .tg-light { opacity: 0; transform: translate(-6px, -50%); }
:root[data-theme][data-tone="x-violet"] .tg-knob { left: calc((var(--h) - var(--k)) / 2); background: radial-gradient(circle at 35% 28%, #6E5BC9, #3A2C8C 55%, #241A66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -2px 3px rgba(0,0,0,.45), 0 3px 6px rgba(20,10,60,.6), 0 8px 14px -4px rgba(20,10,60,.6); }

/* Violet: public paper gets a lavender cast */
:root[data-tone="x-violet"] { --paper: #DCD8EB; --night-0: #DCD8EB; --paper-hi: #EEEBF7; }
:root[data-tone="x-violet"] .td-home .topbar, :root[data-tone="x-violet"] .td-home .topbar.scrolled { background: rgba(220, 216, 235, .82) !important; }

/* ── LIGHT version tokens ── */
:root[data-tone="light"] {
  --paper: #E4E4E2; --night-0: #E4E4E2; --paper-hi: #F5F5F3;
  --signal: #111113; --signal-deep: #000; --signal-soft: rgba(17, 17, 19, .07);
  --accent: #111113; --accent-hi: #2A2A2E; --accent-soft: rgba(17, 17, 19, .07); --accent-text: #111113; --accent-2: #DADAD8; --on-accent: #fff;
  --smart: #111113; --smart-soft: rgba(17, 17, 19, .07);
  --magenta: #111113; --magenta-hi: #2B2B2F;
  --p-lilac: #E7E3FB; --p-peach: #FCE7DA; --p-mint: #DDF5E8; --p-sky: #DDEFFB; --p-sand: #FBF0D6; --p-rose: #FBE0DE;
}
:root[data-tone="light"] .td-home .topbar, :root[data-tone="light"] .td-home .topbar.scrolled { background: rgba(228, 228, 226, .84) !important; }
:root[data-tone="light"] ::selection { background: rgba(17, 17, 19, .14); }
:root[data-tone="light"] :focus-visible { outline-color: rgba(17, 17, 19, .6); }
:root[data-tone="light"] .btn-primary { box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .7) !important; }
:root[data-tone="light"] .td-pill { background: #111113; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .7); }
:root[data-tone="light"] .td-live i { background: #111113; box-shadow: 0 0 0 4px rgba(17, 17, 19, .12); }
:root[data-tone="light"] .dd-menu a .ic { color: #111113; }
:root[data-tone="light"] .cv-side { background: linear-gradient(180deg, #232327 0%, #18181B 100%) !important; }
:root[data-tone="light"] .cv-side .cv-photo { background: linear-gradient(160deg, rgba(255,255,255,.7), rgba(255,255,255,.15)); }
:root[data-tone="light"] .cv-side .cv-bars i::before { background: linear-gradient(90deg, #BDBDC2, #fff); box-shadow: none; }
:root[data-tone="light"] .cv-side .cv-line .ic, :root[data-tone="light"] .cv-side h3 b { color: #fff !important; }
:root[data-tone="light"] .cv-role { background: #111113; }
:root[data-tone="light"] .cv-wave { opacity: .35; filter: grayscale(1); }

/* ── LIGHT cabinet: frosted light menu, white rounded workspace, black capsules ── */
:root[data-tone="light"] .shell.vshell { --ws: #FFFFFF; background: linear-gradient(160deg, #F2F0EC 0%, #ECE8F3 45%, #EAF0EC 100%) !important; }
:root[data-tone="light"] body:has(.vshell) { background: #ECEBEA; }
@media (min-width: 1101px) {
  :root[data-tone="light"] .vshell .smain { background: #fff; border-radius: 26px; margin: 10px 10px 10px 4px; min-height: calc(100vh - 20px);
    box-shadow: 0 0 0 1px rgba(17, 17, 19, .05), 0 30px 60px -40px rgba(17, 17, 19, .25); overflow: clip; }
}
:root[data-tone="light"] .vside { color: var(--ink); background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root[data-tone="light"] .vside :is(.vs-word, .vs-who b, .vs-brand, .vs-sync, .vs-sync .row b) { color: #111113 !important; }
:root[data-tone="light"] .vside :is(.vs-i, .vs-views a, .vs-sub a) { color: #2B2B2F !important; }
:root[data-tone="light"] .vside :is(.vs-i, .vs-views a, .vs-sub a):hover { color: #111113 !important; background: rgba(255, 255, 255, .55) !important; }
:root[data-tone="light"] .vside :is(.vs-i[aria-current="page"], .vs-sub a[aria-current="page"]) { background: #fff !important; color: #111113 !important;
  box-shadow: 0 1px 2px rgba(17, 17, 19, .06), 0 6px 16px -10px rgba(17, 17, 19, .25) !important; }
:root[data-tone="light"] .vside .vs-i[aria-current="page"] .ic { color: #111113 !important; }
:root[data-tone="light"] .vside .vs-i .ic { opacity: 1; }
:root[data-tone="light"] .vside :is(.vs-who small, .vs-sync small, .vs-meta, .vs-clear, .vs-chev, .vs-sync .row .t) { color: rgba(17, 17, 19, .5) !important; }
:root[data-tone="light"] .vside .vs-label { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 500; color: rgba(17, 17, 19, .42) !important; }
:root[data-tone="light"] .vside :is(.vs-acct, .vs-sync, .vs-btn) { background: rgba(255, 255, 255, .5) !important; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .06) !important; color: #111113; }
:root[data-tone="light"] .vside .vs-ava { background: #1E1E22 !important; color: #fff; border-radius: 12px; }
:root[data-tone="light"] .vside .vs-ava .on { box-shadow: 0 0 0 2px #F2F0EC !important; }
:root[data-tone="light"] .vside .cnt { color: rgba(17, 17, 19, .5) !important; }
:root[data-tone="light"] .vside .cnt.hot, :root[data-tone="light"] .vside .vs-views .cnt { background: #111113 !important; color: #fff !important; }
:root[data-tone="light"] .vside .vs-lc { color: #111113 !important; }
:root[data-tone="light"] .vside .vs-sub { border-left-color: rgba(17, 17, 19, .1) !important; }
:root[data-tone="light"] .vside .vs-sync .segs i { background: rgba(17, 17, 19, .1) !important; }
:root[data-tone="light"] .vside .vs-sync .segs i.on { background: #111113 !important; }
:root[data-tone="light"] .vside .tgl3d.vs-tgl { background: linear-gradient(180deg, #E9ECF2, #D4D9E1); }
:root[data-tone="light"] .vside .vs-views .dot { box-shadow: none; }

/* top bar: a hairline box with round icon buttons */
:root[data-tone="light"] .vshell .stop { background: rgba(255, 255, 255, .9) !important; }
:root[data-tone="light"] .vshell .gsearch { box-shadow: 0 0 0 1px rgba(17, 17, 19, .1); }
:root[data-tone="light"] .vshell .gsearch .ic { color: #111113; }
:root[data-tone="light"] .vshell .crumbs a { color: rgba(17, 17, 19, .45); }
:root[data-tone="light"] .vshell .crumbs b { color: #111113; }
:root[data-tone="light"] .vshell .stop .icon-btn { border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .1); background: #fff; }

/* flat white cards with hairlines */
:root[data-tone="light"] .vshell :is(.g1, .panel, .d-card, .kpi, .ccard, .task-card) { background: #fff !important; box-shadow: 0 0 0 1px rgba(17, 17, 19, .07) !important; }

/* briefing: pastel light instead of the indigo slab */
:root[data-tone="light"] .brief { color: #111113; background: radial-gradient(50% 120% at 100% 0%, var(--p-lilac), transparent 70%), radial-gradient(40% 100% at 70% 120%, var(--p-peach), transparent 70%),
  radial-gradient(40% 110% at 0% 100%, var(--p-mint), transparent 70%), #F7F6F3; box-shadow: 0 0 0 1px rgba(17, 17, 19, .06); }
:root[data-tone="light"] .brief h2 { color: #111113; }
:root[data-tone="light"] .brief h2 span, :root[data-tone="light"] .br-lab { color: rgba(17, 17, 19, .5); }
:root[data-tone="light"] .br-orb { background: #111113; box-shadow: none; }
:root[data-tone="light"] .br-chip { color: #111113; background: #fff; box-shadow: 0 0 0 1px rgba(17, 17, 19, .07), 0 8px 18px -14px rgba(17, 17, 19, .3); }
:root[data-tone="light"] .br-chip:hover { background: #FAFAF9; }
:root[data-tone="light"] .br-ic { background: var(--p-lilac); color: #111113; }
:root[data-tone="light"] .br-chip:nth-child(2) .br-ic { background: var(--p-peach); } :root[data-tone="light"] .br-chip:nth-child(3) .br-ic { background: var(--p-mint); }
:root[data-tone="light"] .br-tx small { color: rgba(17, 17, 19, .5); }

/* decision list: pastel squares, black capsule action */
:root[data-tone="light"] .dl-ic { background: var(--p-lilac); color: #3B2E8F; }
:root[data-tone="light"] .dec-list li:nth-child(3n+2) .dl-ic { background: var(--p-peach); color: #9A4A1C; }
:root[data-tone="light"] .dec-list li:nth-child(3n) .dl-ic { background: var(--p-mint); color: #1E7A4C; }
:root[data-tone="light"] .dec-list li:hover { background: #F7F7F5; }
:root[data-tone="light"] .dl-btn.go { background: #111113; box-shadow: none; }
:root[data-tone="light"] .dec .d-n { background: #111113; color: #fff; }
:root[data-tone="light"] .sugg { background: var(--p-lilac); box-shadow: none; }
:root[data-tone="light"] .sg-top { color: #3B2E8F; } :root[data-tone="light"] .sg-top b { color: #111113; }
:root[data-tone="light"] .upc .u-date { background: #F3F3F1 !important; }
:root[data-tone="light"] .upc .u-date b { color: #111113 !important; }
:root[data-tone="light"] .upc .upc-list li:first-child .u-date { background: #111113 !important; }
:root[data-tone="light"] .upc .upc-list li:first-child .u-date :is(b, small) { color: #fff !important; }
:root[data-tone="light"] .vtabs { background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .07), 0 16px 32px -18px rgba(17, 17, 19, .35); }
:root[data-tone="light"] .vtabs [aria-current="page"] .ic { color: #111113; }
:root[data-tone="light"] .vtabs .att { background: #111113; }
:root[data-tone="light"] .vshell.cmdk::after { background: rgba(230, 230, 228, .5); }

/* ══ SIGN IN / SIGN UP: sliding panel (creators and brands) ══ */
.as-page main#main { display: grid; }
.as-wrap { display: grid; justify-items: center; align-content: center; gap: 18px; min-height: calc(100svh - 160px); padding-top: 34px; padding-bottom: 50px; }
.as-roles { display: inline-flex; gap: 3px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--line); }
.as-roles button { display: inline-flex; align-items: center; justify-content: center; min-width: 118px; gap: 7px; border: 0; background: none; padding: 8px 18px; border-radius: 999px; cursor: pointer; font: 600 13px/1 var(--font); color: var(--muted); transition: background .2s, color .2s; }
.as-roles button[aria-pressed="true"] { background: var(--accent); color: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.as-card { --ov1: #2F57D6; --ov2: #3B2AA8; position: relative; width: min(920px, 100%); min-height: 560px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  border-radius: 28px; background: linear-gradient(150deg, #F7F7F8, #EEEEF1); box-shadow: 0 0 0 1px rgba(17, 17, 19, .05), 0 40px 80px -40px rgba(30, 24, 70, .45), 0 2px 4px rgba(17, 17, 19, .04); }
:root[data-tone="light"] .as-card { --ov1: #2B2B30; --ov2: #0E0E11; }
.as-pane { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 46px 52px; transition: opacity .45s ease, transform .6s cubic-bezier(.7, 0, .2, 1); }
.as-pane h1 { margin: 0 0 18px; font: 700 28px/1.1 var(--font); letter-spacing: -.02em; text-transform: none !important; color: var(--ink); }
.as-in { grid-column: 1; grid-row: 1; }
.as-up { grid-column: 2; grid-row: 1; }
.as-card[data-mode="in"] .as-up, .as-card[data-mode="up"] .as-in { opacity: 0; pointer-events: none; }
.as-card[data-mode="in"] .as-up { transform: translateX(-30px); }
.as-card[data-mode="up"] .as-in { transform: translateX(30px); }
.as-social { display: flex; gap: 12px; justify-content: center; margin-bottom: 12px; }
.as-soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); text-decoration: none; background: #fff;
  box-shadow: 0 0 0 1px rgba(17, 17, 19, .1), 0 4px 10px -6px rgba(17, 17, 19, .3); transition: transform .15s, box-shadow .15s; }
.as-soc:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--accent), 0 6px 14px -6px rgba(17, 17, 19, .35); }
.as-soc svg { width: 17px; height: 17px; }
.as-or { margin: 0 0 16px; font-size: 12.5px; color: var(--muted); }
.as-form { width: 100%; max-width: 320px; display: grid; gap: 10px; }
.as-form input:not([type=checkbox]):not([type=hidden]) { width: 100%; height: 44px; padding: 0 16px; border: 0; border-radius: 12px; font: 400 14px var(--font); color: var(--ink);
  background: rgba(17, 17, 19, .055); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s, background .15s; outline: none; }
.as-form input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft) !important; }
.as-form input::placeholder { color: rgba(17, 17, 19, .42); }
.as-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.as-two[hidden] { display: none; }
.as-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; margin: 2px 0 4px; }
.as-row a { color: var(--ink); }
.as-check { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; }
.as-check input { accent-color: var(--accent); width: 15px; height: 15px; }
.as-btn { justify-self: center; min-width: 160px; height: 44px; margin-top: 6px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 12.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, var(--ov1), var(--ov2)); box-shadow: 0 14px 26px -14px rgba(47, 87, 214, .9); transition: transform .15s, filter .15s; }
.as-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.as-btn:active { transform: translateY(1px) scale(.985); }
.as-err { display: flex; gap: 8px; align-items: flex-start; width: 100%; max-width: 320px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; text-align: left;
  font-size: 12.5px; line-height: 1.45; color: #9A2A24; background: rgba(184, 53, 47, .09); }
.as-err .ic { flex: none; margin-top: 1px; }
.as-more { margin-top: 12px; font-size: 12px; color: var(--muted); }
.as-up .pw-meter { display: block; height: 4px; margin: -4px 4px 0; border-radius: 4px; background: rgba(17, 17, 19, .08); overflow: hidden; }
.as-up .pw-meter i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.as-up .pw-hint { font-size: 11.5px; color: var(--muted); text-align: left; min-height: 0; margin: -4px 4px 0; }
.as-swap-m { display: none; }
/* the panel */
.as-over { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; overflow: hidden; z-index: 5; border-radius: 28px; transition: transform .7s cubic-bezier(.7, 0, .2, 1), border-radius .7s; }
.as-card[data-mode="up"] .as-over { transform: translateX(-100%); }
.as-track { position: absolute; inset: 0 auto 0 -100%; width: 200%; display: grid; grid-template-columns: 1fr 1fr; color: #fff;
  background: radial-gradient(60% 50% at 80% 10%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, var(--ov1) 0%, var(--ov2) 100%);
  transform: translateX(0); transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
.as-card[data-mode="up"] .as-track { transform: translateX(50%); }
.as-face { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 48px; transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
.as-face h2 { margin: 0 0 14px; font: 700 30px/1.1 var(--font); letter-spacing: -.02em; text-transform: none !important; color: #fff; }
.as-face p { margin: 0 0 24px; max-width: 290px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.as-face p[hidden] { display: none; }
.as-face-l { transform: translateX(-20%); } .as-card[data-mode="up"] .as-face-l { transform: none; }
.as-card[data-mode="up"] .as-face-r { transform: translateX(20%); }
.as-ghost { min-width: 150px; height: 42px; padding: 0 26px; border-radius: 999px; cursor: pointer; background: transparent; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .85); font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; transition: background .15s, color .15s; }
.as-ghost:hover { background: #fff; color: var(--ov2); }
.as-foot { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.as-foot a { color: var(--ink); }
@media (max-width: 760px) {
  .as-card { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .as-in, .as-up { grid-column: 1; grid-row: 1; padding: 34px 22px 26px; }
  .as-over { display: none; }
  .as-card[data-mode="in"] .as-up, .as-card[data-mode="up"] .as-in { display: none; }
  .as-pane { transform: none !important; opacity: 1 !important; }
  .as-swap-m { display: inline-block; margin-top: 18px; border: 0; background: none; font: 600 13px var(--font); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .as-pane h1 { font-size: 24px; }
}
/* panel ambience: broadcast rings and the ten networks on a slow orbit */
.as-track { background: transparent !important; }
.as-over { background: radial-gradient(60% 50% at 80% 10%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(135deg, var(--ov1) 0%, var(--ov2) 100%); }
.as-track { z-index: 1; }
.as-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.as-glow { position: absolute; width: 380px; height: 380px; left: 50%; top: 50%; margin: -190px 0 0 -190px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120, 140, 255, .32), transparent 70%); filter: blur(10px); animation: as-drift 14s ease-in-out infinite alternate; }
:root[data-tone="light"] .as-glow { background: radial-gradient(closest-side, rgba(255, 255, 255, .13), transparent 70%); }
.as-ring { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); opacity: 0; animation: as-wave 7.5s cubic-bezier(.2, .6, .3, 1) infinite; }
.as-ring:nth-of-type(3) { animation-delay: 2.5s; } .as-ring:nth-of-type(4) { animation-delay: 5s; }
.as-orb { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: as-spin 60s linear infinite; }
.as-orb i { position: absolute; left: 0; top: 0; transform: rotate(var(--a)) translateX(205px) rotate(calc(-1 * var(--a))); }
.as-orb b { display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(4px); animation: as-spin 60s linear infinite reverse; }
.as-orb b .ic { width: 15px; height: 15px; }
@keyframes as-wave { 0% { transform: scale(.35); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes as-spin { to { transform: rotate(360deg); } }
@keyframes as-drift { 0% { transform: translate(-40px, 30px) scale(.9); } 100% { transform: translate(50px, -40px) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .as-over, .as-track, .as-face, .as-pane { transition: none; } .as-ring, .as-orb, .as-orb b, .as-glow { animation: none; } .as-ring { opacity: .25; } }
.as-page main#main .as-pane h1 { font-weight: 700; letter-spacing: -.02em; }

/* ═══ HOME · HOW IT WORKS (stepper + stage), THE NETWORK (tabs), CREATORS, CAMPAIGNS ═══
   Demo loops (.hd-*) play only on the active step of the stage; with reduced motion they rest on a finished frame. */
.hx, .nx, .cx, .kx { --hw-hi: var(--signal); --hw-ok: #16A34A; }
.hx { padding: 110px 0 40px; }
.hx-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hx-side { position: sticky; top: 96px; }
.hx-h { margin: 14px 0 26px; font: 400 clamp(34px, 4.4vw, 62px)/.98 var(--font); text-transform: uppercase; letter-spacing: -.02em; }
.hx-tabs { display: inline-flex; gap: 22px; margin-bottom: 18px; border-bottom: 1px solid rgba(17, 17, 19, .12); }
.hx-tabs button { position: relative; padding: 0 0 12px; border: 0; background: none; cursor: pointer; font: 600 12.5px/1 var(--font);
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hx-tabs button[aria-pressed="true"] { color: var(--ink); }
.hx-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
:root[data-tone="x-violet"] .hx-tabs button[aria-pressed="true"]::after { background: var(--signal); }
.hx-tabs button:focus-visible { outline: 2px solid var(--hw-hi); outline-offset: 4px; }
.hx-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.hx-step { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px; width: 100%; padding: 18px 0 20px; border: 0;
  border-top: 1px solid rgba(17, 17, 19, .1); background: none; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.hx-n { font: 500 13px/1.5 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.hx-t b { display: block; font: 500 19px/1.3 var(--font); letter-spacing: -.01em; color: var(--muted); transition: color .3s; }
.hx-t small { display: block; max-height: 0; overflow: hidden; margin-top: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2);
  max-width: 44ch; opacity: 0; transition: max-height .45s ease, margin .45s ease, opacity .45s ease; }
.hx-step.on .hx-t b, .hx-step:hover .hx-t b { color: var(--ink); }
.hx-step.on .hx-n { color: var(--ink); }
.hx-step.on .hx-t small { max-height: 8em; margin-top: 6px; opacity: 1; }
.hx-bar { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--ink); }
:root[data-tone="x-violet"] .hx-bar { background: var(--signal); }
.hx-step.on .hx-bar { animation: hxBar var(--hx-ms, 5200ms) linear forwards; }
.hx-steps.paused .hx-step.on .hx-bar { animation-play-state: paused; }
.hx-steps.static .hx-step.on .hx-bar { animation: none; width: 100%; }
.hx-step:focus-visible { outline: 2px solid var(--hw-hi); outline-offset: 2px; }
@keyframes hxBar { to { width: 100%; } }
.hx-stage { position: relative; }
.hx-frame { position: relative; aspect-ratio: 5 / 4; border-radius: 30px; overflow: hidden;
  background: radial-gradient(70% 60% at 85% 0%, rgba(255, 255, 255, .9), transparent 60%), linear-gradient(160deg, #EAE6F6, #DCE4F3 60%, #E9E6EE);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 40px 80px -46px rgba(30, 24, 70, .55); }
:root[data-tone="light"] .hx-frame { background: radial-gradient(70% 60% at 85% 0%, rgba(255, 255, 255, .95), transparent 60%), linear-gradient(160deg, var(--p-lilac), var(--p-sky) 60%, var(--p-peach)); }
:root[data-tone="x-violet"] .hx-frame { background: radial-gradient(70% 60% at 85% 0%, rgba(255, 255, 255, .7), transparent 60%), linear-gradient(160deg, #D5CAF8, #E7E2F8 60%, #DCD3F6); }
.hx-dots { position: absolute; top: 18px; left: 22px; display: flex; gap: 6px; }
.hx-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(17, 17, 19, .14); }
.hx-demos { position: absolute; inset: 40px 0 0; }
.hx-demos[hidden] { display: none; }
.hx-demos .hd { position: absolute; inset: 0; padding: 0; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1); pointer-events: none; zoom: 1.45; }
.hx-demos .hd.on { opacity: 1; transform: none; }
.hx-demos .hd:not(.on) * { animation: none !important; }
.hx-stage:not(.in) .hd * { animation-play-state: paused !important; }
@media (max-width: 1100px) { .hx-demos .hd { zoom: 1.2; } }

/* the network */
.nx { padding: 90px 0 30px; }
.nx-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: 34px; }
.nx-head h2 { margin: 0; font: 400 clamp(32px, 4vw, 56px)/.98 var(--font); text-transform: uppercase; letter-spacing: -.02em; }
.nx-head p { margin: 0; max-width: 58ch; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.nx-tabs { display: flex; overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(17, 17, 19, .14); border-bottom: 1px solid rgba(17, 17, 19, .14); }
.nx-tabs::-webkit-scrollbar { display: none; }
.nx-tabs button { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 16px; border: 0; border-right: 1px solid rgba(17, 17, 19, .08);
  background: none; cursor: pointer; font: 600 13px/1 var(--font); color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.nx-tabs button:last-child { border-right: 0; }
.nx-tabs button .plat-ic { width: 24px; height: 24px; border-radius: 7px; }
.nx-tabs button small { font-weight: 500; color: var(--muted); }
.nx-tabs button:hover { background: rgba(255, 255, 255, .5); }
.nx-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.nx-tabs button[aria-selected="true"] small { color: rgba(255, 255, 255, .7); }
:root[data-tone="x-violet"] .nx-tabs button[aria-selected="true"] { background: var(--signal); }
.nx-tabs button:focus-visible { outline: 2px solid var(--hw-hi); outline-offset: -3px; }
.nx-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 30px 0 10px; animation: nxIn .4s ease; }
.nx-panel[hidden] { display: none; }
@keyframes nxIn { from { opacity: 0; transform: translateY(8px); } }
.nx-l { margin: 0 0 12px; font: 600 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nx-l + .nx-tags { margin-bottom: 26px; }
.nx-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.nx-tags li { padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .12); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.nx-tags.soft li { padding: 7px 12px; background: transparent; font-size: 12.5px; color: var(--ink-2); }
.nx-kv { margin: 0; display: grid; }
.nx-kv div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid rgba(17, 17, 19, .08); font-size: 13.5px; }
.nx-kv dt { color: var(--muted); }
.nx-kv dd { margin: 0; color: var(--ink); }
.nx-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* creators */
.cx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 20px; }
.cx-tabs a, .cx-tabs button, .kx-filter button { display: inline-flex; cursor: pointer; border: 0; background: transparent; font-family: inherit; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .12); }
.cx-tabs a.on, .cx-tabs [aria-selected=true], .kx-filter [aria-selected=true] { background: var(--ink); color: #fff; box-shadow: none; }
.cx-tabs a span, .cx-tabs button span { font-weight: 500; opacity: .7; }
.cx-tabs button:disabled { opacity: .4; cursor: default; }
.cx-tabs button:not(:disabled):not([aria-selected=true]):hover, .kx-filter button:not([aria-selected=true]):hover { background: rgba(255, 255, 255, .7); }
.cx-note { margin: -8px 0 16px; font-size: 13px; color: var(--muted); }
.cx-grid > li[hidden], .kx-card[hidden], .kx-group[hidden] { display: none; }
.kx-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 26px; }
.kx-filter button { align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .12); }
.kx-group + .kx-group { margin-top: 34px; }
.kx-gh { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.kx-gh span { font-weight: 500; color: var(--muted); }
.kx-card a { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; height: 100%; color: inherit; text-decoration: none; }
.kx-card:hover { background: rgba(255, 255, 255, .45); }
.kx-any { margin: 0 !important; padding: 3px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .12); }
.cx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cx-card { display: grid; gap: 12px; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 16px 34px -26px rgba(30, 24, 60, .4);
  color: var(--ink); text-decoration: none; }
.cx-ava { display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: hsl(var(--h) 45% 80%); font: 600 30px/1 var(--font); color: #fff; }
.cx-ava img { width: 100%; height: 100%; object-fit: cover; }
.cx-who b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-who small { font-size: 12.5px; color: var(--muted); }

/* campaigns */
.kx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(17, 17, 19, .12); border-left: 1px solid rgba(17, 17, 19, .12); }
.kx-card { padding: 22px 20px 18px; border-right: 1px solid rgba(17, 17, 19, .12); border-bottom: 1px solid rgba(17, 17, 19, .12); }
.kx-ic { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .1); color: var(--ink); }
.kx-card b { font-size: 15.5px; font-weight: 600; }
.kx-d { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.kx-nets { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.kx-nets .plat-ic { width: 24px; height: 24px; border-radius: 7px; }
.kx-nets small { margin-left: 2px; font-size: 11.5px; font-weight: 600; color: var(--muted); }

@media (max-width: 1000px) {
  .hx-grid, .nx-head, .nx-panel { grid-template-columns: minmax(0, 1fr); }
  .hx-side { position: static; }
  .cx-grid, .kx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hx { padding-top: 70px; }
  .hx-demos .hd { zoom: 1; }
  .hx-frame { aspect-ratio: auto; height: 280px; }
  .nx-tabs button span { display: none; }
  .nx-tabs button { padding: 12px 14px; }
  .nx-kv div { grid-template-columns: 110px minmax(0, 1fr); }
  .kx-grid { grid-template-columns: minmax(0, 1fr); }
  .cx-grid { gap: 10px; }
}

/* demos */
.hd { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: center; padding-top: 22px; }
.hd * { box-sizing: border-box; }
.hd-cur { position: absolute; z-index: 5; width: 20px; height: 20px; fill: #0E0E11; stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }
.hd-ck { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--hw-ok); color: #fff;
  font: 700 11px/20px var(--font); font-style: normal; text-align: center; box-shadow: 0 3px 8px rgba(22, 163, 74, .4); transform: scale(0); }
.hd u, .hd b:empty, .hd s { text-decoration: none; }

.hd-pk { flex-direction: column; gap: 10px; }
.pk-nets { display: flex; gap: 5px; }
.pk-net { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, .8); font: 600 10px/1 var(--font); color: #44444A; }
.pk-net .ic { width: 10px; height: 10px; }
.pk-net-on { background: #0E0E11; color: #fff; animation: pkNet 4.6s ease infinite; }
.pk-row { display: flex; gap: 8px; }
.pk-budget { display: flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 10px; background: #fff; font-size: 10px; color: #6B6B73; }
.pk-budget b { font-size: 13px; color: #0E0E11; }
@keyframes pkNet { 0%, 8% { transform: scale(.9); opacity: .4; } 16%, 100% { transform: none; opacity: 1; } }
.pk-t { position: relative; width: 92px; height: 64px; padding: 10px; border-radius: 12px; background: #fff; border: 1.5px solid rgba(14, 14, 17, .08);
  display: flex; flex-direction: column; gap: 6px; box-shadow: 0 4px 12px rgba(30, 24, 60, .06); }
.pk-t b { font: 700 10.5px/1.15 var(--font); color: #0E0E11; }
.pk-t u { display: block; height: 5px; border-radius: 3px; background: #ECEBF2; }
.pk-t u + u { width: 60%; }
.pk-on { animation: hdSel 4.6s ease infinite; }
.pk-on u { animation: hdSelBar 4.6s ease infinite; }
.hd-pk .hd-ck { animation: hdPop 4.6s ease infinite; }
.hd-pk .hd-cur { left: 50%; top: 50%; animation: pkCur 4.6s ease infinite; }

.hd-mt { flex-direction: column; gap: 12px; }
.mt-f { display: flex; gap: 6px; }
.mt-f span { padding: 5px 10px; border-radius: 999px; background: var(--hw-hi); color: #fff; font: 700 11px/1 var(--font); transform: scale(0); animation: hdChip 5s ease infinite; }
.mt-f span:nth-child(2) { animation-delay: .3s; } .mt-f span:nth-child(3) { animation-delay: .6s; }
.mt-r { display: flex; gap: 8px; }
.mt-c { position: relative; display: block; border-radius: 50%; }
.mt-c img { display: block; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(30, 24, 60, .15); }
.mt-c em { position: absolute; right: -6px; bottom: -4px; padding: 1px 4px; border-radius: 999px; background: #0E0E11; color: #fff; font: 700 8.5px/1.3 var(--font); font-style: normal; }
.mt-c.m { animation: hdMatch 5s ease infinite; }
.mt-c.x { animation: hdDim 5s ease infinite; }
.mt-c.m img { animation: hdRing 5s ease infinite; }
@keyframes hdRing { 0%, 32% { border-color: #fff; } 44%, 86% { border-color: var(--hw-hi); } 96%, 100% { border-color: #fff; } }

.hd-lv { gap: 14px; }
.lv-posts { display: flex; flex-direction: column; gap: 6px; }
.lv-p { display: flex; align-items: center; gap: 7px; width: 112px; height: 24px; padding: 0 7px; border-radius: 8px; background: #fff; border: 1px solid rgba(14, 14, 17, .07); opacity: 0; animation: lvIn 5s ease infinite; }
.lv-i { flex: none; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--hw-hi); color: #fff; }
.lv-i .ic { width: 9px; height: 9px; }
.lv-p b { flex: 1; height: 5px; border-radius: 3px; background: #ECEBF2; }
.lv-p em { font: 700 9px/1 var(--font); font-style: normal; color: var(--hw-ok); }
.lv-p:nth-child(2) { animation-delay: .08s; } .lv-p:nth-child(3) { animation-delay: .16s; }
.lv-ch { position: relative; width: 120px; height: 84px; padding: 24px 8px 6px; border-radius: 12px; background: #fff; border: 1px solid rgba(14, 14, 17, .07); box-shadow: 0 4px 12px rgba(30, 24, 60, .06); }
.lv-ch svg { display: block; width: 100%; height: 100%; }
.lv-l { fill: none; stroke: var(--hw-hi); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 140; stroke-dashoffset: 140; animation: lvLine 5s ease infinite; }
.lv-a { fill: var(--hw-hi); fill-opacity: .12; opacity: 0; animation: lvArea 5s ease infinite; }
.lv-live { position: absolute; top: 7px; left: 8px; display: flex; align-items: center; gap: 4px; font: 800 9px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #DC2626; }
.lv-live em { width: 6px; height: 6px; border-radius: 50%; background: #DC2626; animation: lvBlink 1s ease infinite; }

.hd-ap .ap-card { display: flex; flex-direction: column; gap: 7px; width: 170px; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid rgba(14, 14, 17, .07); box-shadow: 0 4px 12px rgba(30, 24, 60, .06); }
.ap-f { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: 7px; border: 1px solid rgba(14, 14, 17, .08); background: #F6F6FA; color: #0E0E11; }
.ap-l { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 6px; border-radius: 8px; background: #F6F6FA; opacity: 0; animation: apRow 5s ease infinite; animation-delay: calc(var(--d) * .35s); }
.ap-l .plat-ic { width: 18px; height: 18px; border-radius: 5px; }
.ap-ty { flex: 1; font: 600 10.5px/1 var(--font); color: #0E0E11; }
.ap-l .net-chip { height: 17px; padding: 0 5px 0 4px; font-size: 9.5px; }
@keyframes apRow { 0%, 4% { opacity: 0; transform: translateX(-10px); } 12%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.ap-b { display: grid; place-items: center; height: 26px; border-radius: 7px; background: #0E0E11; color: #fff; font: 700 11.5px/1 var(--font); animation: apPress 5s ease infinite; }
.ap-ok { position: absolute; left: 50%; top: 50%; margin: -2px 0 0 36px; padding: 6px 11px; border-radius: 999px; background: var(--hw-ok); color: #fff; font: 800 11.5px/1 var(--font);
  box-shadow: 0 6px 14px rgba(22, 163, 74, .35); transform: scale(0); animation: apOk 5s ease infinite; }
.hd-ap .hd-cur { left: 50%; top: 50%; animation: apCur 5s ease infinite; }

.hd-cl { flex-direction: column; gap: 7px; }
.cl-r { display: flex; align-items: center; gap: 8px; width: 200px; height: 36px; padding: 0 7px; border-radius: 10px; background: #fff; border: 1px solid rgba(14, 14, 17, .07); box-shadow: 0 4px 12px rgba(30, 24, 60, .06); }
.cl-dim { opacity: .55; }
.cl-r .plat-ic { flex: none; width: 22px; height: 22px; border-radius: 7px; }
.cl-lg { flex: none; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #7D5BEA, #4F2FC0); }
.cl-lg.g { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.cl-t { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cl-t b { display: block; height: 5px; width: 80%; border-radius: 3px; background: #0E0E11; opacity: .75; }
.cl-t s { display: block; height: 4px; width: 55%; border-radius: 3px; background: #ECEBF2; }
.cl-btn { position: relative; flex: none; width: 66px; height: 22px; border-radius: 6px; overflow: hidden; font: 800 10px/1 var(--font); }
.cl-btn span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 6px; }
.cl-a { background: #0E0E11; color: #fff; }
.cl-b { background: var(--hw-ok); color: #fff; opacity: 0; animation: clB 4.6s ease infinite; }
.hd-cl .hd-cur { left: 50%; top: 50%; animation: clCur 4.6s ease infinite; }

.hd-pd { flex-direction: column; gap: 8px; }
.pd-post { display: flex; align-items: center; gap: 8px; width: 200px; height: 38px; padding: 0 8px; border-radius: 10px; background: #fff; border: 1px solid rgba(14, 14, 17, .07); }
.pd-post img, .pd-av { flex: none; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--hw-hi); }
.pd-tag { padding: 3px 7px; border-radius: 999px; background: rgba(22, 163, 74, .12); color: var(--hw-ok); font: 800 9.5px/1 var(--font); }
.pd-toast { position: relative; display: flex; align-items: center; gap: 9px; width: 196px; padding: 9px 11px; border-radius: 12px; background: #0E0E11; color: #fff;
  box-shadow: 0 10px 22px rgba(12, 14, 22, .25); opacity: 0; animation: pdIn 4.8s ease infinite; }
.pd-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .14); }
.pd-toast b { display: block; font-size: 12px; }
.pd-toast small { font-size: 10.5px; opacity: .7; }
.hd-pd .hd-ck { animation: hdPop 4.8s ease infinite; }

@keyframes hdSel { 0%, 44% { border-color: rgba(14, 14, 17, .08); transform: none; } 50%, 86% { border-color: var(--hw-hi); transform: translateY(-4px); box-shadow: 0 10px 22px rgba(80, 50, 200, .25); } 94%, 100% { border-color: rgba(14, 14, 17, .08); transform: none; } }
@keyframes hdSelBar { 0%, 44% { background: #ECEBF2; } 50%, 86% { background: color-mix(in srgb, var(--hw-hi) 28%, #fff); } 94%, 100% { background: #ECEBF2; } }
@keyframes hdPop { 0%, 46% { transform: scale(0); } 52% { transform: scale(1.25); } 56%, 86% { transform: scale(1); } 92%, 100% { transform: scale(0); } }
@keyframes pkCur { 0% { transform: translate(70px, 40px); opacity: 0; } 10% { opacity: 1; } 38% { transform: translate(4px, 10px); } 44% { transform: translate(4px, 10px) scale(.8); } 50% { transform: translate(4px, 10px); } 80% { transform: translate(4px, 10px); opacity: 1; } 92%, 100% { transform: translate(30px, 40px); opacity: 0; } }
@keyframes hdChip { 0% { transform: scale(0); opacity: 0; } 8%, 84% { transform: scale(1); opacity: 1; } 94%, 100% { transform: scale(0); opacity: 0; } }
@keyframes hdDim { 0%, 30% { opacity: 1; filter: none; transform: none; } 42%, 86% { opacity: .28; filter: grayscale(1); transform: scale(.88); } 96%, 100% { opacity: 1; filter: none; transform: none; } }
@keyframes hdMatch { 0%, 32% { border-color: #fff; transform: none; } 44%, 86% { border-color: var(--hw-hi); transform: translateY(-4px); box-shadow: 0 8px 16px rgba(80, 50, 200, .3); } 96%, 100% { border-color: #fff; transform: none; } }
@keyframes lvIn { 0%, 6% { opacity: 0; transform: translateX(-14px); } 16%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes lvLine { 0%, 18% { stroke-dashoffset: 140; } 62%, 88% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes lvArea { 0%, 40% { opacity: 0; } 62%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes lvBlink { 50% { opacity: .25; } }
@keyframes apType { 0%, 6% { width: 0; } 34%, 90% { width: 11.2ch; } 96%, 100% { width: 0; } }
@keyframes apPress { 0%, 44% { transform: none; } 48% { transform: scale(.94); background: var(--hw-hi); } 54%, 90% { transform: none; background: var(--hw-hi); } 96%, 100% { background: #0E0E11; } }
@keyframes apOk { 0%, 52% { transform: scale(0) rotate(-8deg); } 58% { transform: scale(1.15) rotate(-4deg); } 62%, 90% { transform: scale(1) rotate(-4deg); } 96%, 100% { transform: scale(0); } }
@keyframes apCur { 0%, 20% { transform: translate(60px, 50px); opacity: 0; } 28% { opacity: 1; } 42% { transform: translate(0, 18px); } 46% { transform: translate(0, 18px) scale(.8); } 50% { transform: translate(0, 18px); } 84% { opacity: 1; } 94%, 100% { transform: translate(30px, 50px); opacity: 0; } }
@keyframes clB { 0%, 44% { opacity: 0; transform: scale(.8); } 50%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes clCur { 0% { transform: translate(20px, 60px); opacity: 0; } 10% { opacity: 1; } 36% { transform: translate(74px, -10px); } 42% { transform: translate(74px, -10px) scale(.8); } 48% { transform: translate(74px, -10px); } 82% { opacity: 1; } 92%, 100% { transform: translate(90px, 40px); opacity: 0; } }
@keyframes pdIn { 0%, 30% { opacity: 0; transform: translateY(14px) scale(.96); } 40%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hd * { animation-delay: -2.6s !important; animation-play-state: paused !important; }
  .hx-step .hx-bar { animation: none !important; } .hx-demos .hd, .hx-t small { transition: none; }
}

/* collapsed sidebar: group names become thin dividers in both tones (labels never spill out of the rail) */
.shell.vshell.panel-closed .vside .vs-label { display: block; height: 1px; margin: 12px 10px 8px; padding: 0; overflow: hidden; font-size: 0 !important; line-height: 0;
  color: transparent !important; background: rgba(255, 255, 255, .14); }
.shell.vshell.panel-closed .vside .vs-label > * { display: none; }
:root[data-tone="light"] .shell.vshell.panel-closed .vside .vs-label { background: rgba(17, 17, 19, .1); }

/* ═══ MULTI-NETWORK: per-network score chips, network icon colours ═══ */
.plat-ic.reddit { --pc: #FF8A5C; --pg: rgba(255,69,0,.42); }
.plat-ic.twitch { --pc: #C3A4FF; --pg: rgba(145,70,255,.5); }
.plat-ic.kick { --pc: #8CF58C; --pg: rgba(83,252,24,.4); }
:root[data-theme="light"] .plat-ic.reddit { --pc: #E5470D; --pg: rgba(255,69,0,.24); }
:root[data-theme="light"] .plat-ic.twitch { --pc: #7B3FE4; --pg: rgba(145,70,255,.26); }
:root[data-theme="light"] .plat-ic.kick { --pc: #1F9E1F; --pg: rgba(83,252,24,.28); }
.net-chips { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.net-chip { --nc: #111113; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px 0 5px; border-radius: 999px;
  background: color-mix(in srgb, var(--nc) 9%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nc) 20%, transparent);
  color: var(--nc); font: 700 11.5px/1 var(--font); white-space: nowrap; }
.net-chip .ic { width: 11px; height: 11px; }
.net-chip b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.net-chip.unconf { opacity: .62; }
.net-chip.unconf b { font-weight: 500; }
.net-chip.x { --nc: #111113; } .net-chip.telegram { --nc: #1F82B8; } .net-chip.youtube { --nc: #C4302B; } .net-chip.tiktok { --nc: #E1306C; }
.net-chip.instagram { --nc: #B8327E; } .net-chip.reddit { --nc: #E5470D; } .net-chip.discord { --nc: #5865F2; } .net-chip.twitch { --nc: #7B3FE4; }
.net-chip.kick { --nc: #1F9E1F; } .net-chip.linkedin { --nc: #0A66C2; }
.net-score { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11.5px/1.4 var(--font); }
.net-score.unconf { background: color-mix(in srgb, var(--ink) 30%, #fff); }
.stat-line { display: flex; align-items: center; gap: 6px; margin: 4px 0 8px; font-size: 12.5px; color: var(--muted); }
.stat-line.confirmed { color: var(--good, #16A34A); } .stat-line.rejected { color: var(--bad, #DC2626); }
.ns-tiles { list-style: none; margin: 4px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ns-t { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.ns-t.on { box-shadow: inset 0 0 0 2px var(--ink); }
.ns-t small { display: block; font-size: 11px; color: var(--muted); }
.ns-t b { font-size: 20px; line-height: 1; }
.ns-t.unconf b { color: var(--muted); }
.ns-t em { position: absolute; right: 6px; top: -7px; padding: 1px 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 600 9.5px/1.4 var(--font); font-style: normal; color: var(--muted); white-space: nowrap; }
.ns-add a { display: flex; align-items: center; gap: 6px; height: 100%; min-height: 46px; padding: 0 12px; border-radius: 14px; border: 1px dashed var(--line-2, rgba(0,0,0,.2)); color: var(--muted); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.ns-cap { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.cv-nets { margin-top: 10px; }
.vs-nets { display: flex; margin-top: 5px; }
.vs-nets .net-chip { height: 18px; padding: 0 6px 0 4px; font-size: 10.5px; }
.vside .vs-nets .net-chip { background: rgba(255, 255, 255, .14); box-shadow: none; color: #fff; }
.vside .vs-nets .net-chip b { color: #fff; }
:root[data-tone="light"] .vside .vs-nets .net-chip { background: color-mix(in srgb, var(--nc) 9%, #fff); color: var(--nc); }
:root[data-tone="light"] .vside .vs-nets .net-chip b { color: var(--ink); }
.shell.vshell.panel-closed .vs-nets { display: none; }

/* access request: network pickers (sliding card and /register?full=1) */
.as-up:has(.as-req) { padding: 34px 30px; justify-content: flex-start; }
.as-form.as-req { max-width: 400px; text-align: left; }
.rq-block { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 9px; }
.rq-block[hidden] { display: none; }
.rq-l { padding: 0; margin: 4px 0 2px; font: 600 13px/1.3 var(--font); color: var(--ink); }
.rq-l2 { width: 100%; font: 600 12px/1.3 var(--font); color: var(--muted); }
.rq-l2 small { font-weight: 400; }
.rq-nets { display: flex; flex-wrap: wrap; gap: 6px; }
.rq-net, .rq-chip { position: relative; cursor: pointer; }
.rq-net input, .rq-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rq-net span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px 0 9px; border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .12); font: 600 12.5px/1 var(--font); color: var(--ink-2); transition: background .15s, color .15s, box-shadow .15s; }
.rq-net span .ic { width: 14px; height: 14px; }
.rq-net input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
:root[data-tone="x-violet"] .rq-net input:checked + span { background: var(--signal); }
.rq-net input:focus-visible + span, .rq-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rq-rows { display: grid; gap: 7px; }
.rq-row { display: grid; grid-template-columns: 30px minmax(0, 1.4fr) minmax(0, 1fr); gap: 7px; align-items: center; }
.rq-row[hidden], .rq-fmts[hidden] { display: none; }
.rq-row .plat-ic { width: 30px; height: 30px; border-radius: 9px; }
.as-form .rq-row input:not([type=checkbox]) { height: 38px; padding: 0 12px; font-size: 13px; }
.rq-fmts { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(17, 17, 19, .035); }
.rq-fl { display: inline-flex; align-items: center; gap: 5px; margin-right: 2px; font: 700 11.5px/1 var(--font); color: var(--ink); }
.rq-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.rq-chip span { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .1);
  font: 500 12px/1 var(--font); color: var(--ink-2); transition: background .15s, color .15s; }
.rq-chip input:checked + span { background: color-mix(in srgb, var(--signal) 14%, #fff); box-shadow: inset 0 0 0 1px var(--signal); color: var(--ink); }
.rq-hint { margin: 0; font-size: 12px; color: var(--muted); }
.rq-hint[hidden] { display: none; }
.rq-hint.warn { color: #B42318; font-weight: 600; }
.rq-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rq-money { position: relative; display: block; }
.rq-money > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--muted); pointer-events: none; }
.as-form .rq-money input:not([type=checkbox]) { padding-left: 26px; }
.as-form textarea { width: 100%; min-height: 84px; padding: 11px 14px; border: 0; border-radius: 12px; resize: vertical; font: 400 13.5px/1.5 var(--font);
  color: var(--ink); background: rgba(17, 17, 19, .055); outline: none; }
.as-form textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.form-stack .rq-block input:not([type=checkbox]), .form-stack .rq-block textarea { width: 100%; }
@media (max-width: 760px) { .as-up:has(.as-req) { padding: 30px 18px 24px; } .rq-two { grid-template-columns: 1fr; } }
/* apply wizard: networks step */
.ap-nets { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 18px; }
.ap-net { margin-top: 14px; padding: 16px 18px 18px; border-radius: 18px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line); }
.ap-net[hidden] { display: none; }
.ap-net .wz-h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.ap-net .plat-ic { width: 26px; height: 26px; border-radius: 8px; }
.ap-net .drop.sm { min-height: 0; padding: 14px; }
.ap-net .drop.sm.full { grid-column: 1 / -1; }
.ft-socials { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.ft-socials .ft-soc { box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .12); }
/* brands menu: network picker first */
.dd-menu.dd-wide { min-width: 400px; }
.dd-cap { margin: 4px 10px 6px; font: 600 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dd-nets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid rgba(17, 17, 19, .08); }
.dd-menu .dd-nets a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 13px; font-weight: 600; }
.dd-nets .plat-ic { width: 24px; height: 24px; border-radius: 7px; }
@media (max-width: 900px) { .dd-menu.dd-wide { min-width: 0; } }
/* creators list */
.sx-nets { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.sx-nets a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .12); }
.sx-nets a span { font-weight: 500; opacity: .65; }
.sx-nets a.empty { opacity: .5; }
.sx-nets a[aria-current="page"] { background: var(--ink); color: #fff; box-shadow: none; opacity: 1; }
:root[data-tone="x-violet"] .sx-nets a[aria-current="page"] { background: var(--signal); }
.sx-sort { margin-bottom: 16px; }
.lr-n b.unconf { color: var(--muted); font-weight: 500; }
/* how it works page: scores and networks */
.way-nets { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 10px 0 4px; }
.way-nets > span:first-child { margin-right: 4px; font-size: 12px; color: var(--muted); }
.way-nets .plat-ic { width: 22px; height: 22px; border-radius: 7px; }
.sc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.sc-card { padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--line); }
.sc-card h3 { margin: 0 0 12px; font-size: 16px; }
.sc-parts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; }
.sc-parts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.sc-parts li span { font-weight: 600; font-size: 14px; }
.sc-parts li b { font-size: 15px; }
.sc-parts li small { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.net-table { display: grid; border-top: 1px solid var(--line); }
.net-table > div { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1.8fr; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.net-table > div:first-child { font-size: 12px; color: var(--muted); font-weight: 600; }
.net-table [role=cell]:first-child { display: flex; align-items: center; gap: 8px; }
.net-table .plat-ic { width: 26px; height: 26px; border-radius: 8px; }
@media (max-width: 760px) { .sc-grid { grid-template-columns: minmax(0, 1fr); } .net-table > div { grid-template-columns: 1fr 1fr; } .net-table > div > :nth-child(4) { grid-column: 1 / -1; } }
.nav .dd-nets a .ic { display: block; width: 13px; height: 13px; margin: 0; color: var(--pc, currentColor); }

/* brief: project accounts per network */
.bacc { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.bacc-empty { margin: 0; font-size: 13px; color: var(--muted); }
.bacc-row[hidden] { display: none; }
.bacc-row { display: grid; grid-template-columns: 26px 84px minmax(0, 1fr); align-items: center; gap: 10px; }
.bacc-row .plat-ic { width: 26px; height: 26px; border-radius: 8px; }
.bacc-n { font-size: 13px; font-weight: 600; }
@media (max-width: 560px) { .bacc-row { grid-template-columns: 26px minmax(0, 1fr); } .bacc-n { display: none; } }

/* account: active sessions */
.sess-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.sess { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.sess-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(17, 17, 19, .05); }
.sess-t b { display: block; font-size: 14px; font-weight: 600; }
.sess-t small { font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .sess { grid-template-columns: 34px minmax(0, 1fr); } .sess form { grid-column: 2; } }

/* switches: clear on / off, instant response (other input styles were painting over the track) */
label.switch input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(17, 17, 19, .16); box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .08); transition: background .12s ease; outline: none; }
label.switch input[type=checkbox]::after { top: 3px; left: 3px; width: 18px; height: 18px; transition: transform .12s ease; }
label.switch input[type=checkbox]:checked { background: var(--accent, #6d4aff); box-shadow: none; }
label.switch input[type=checkbox]:checked::after { transform: translateX(16px); }
label.switch input[type=checkbox]:focus:not(:focus-visible) { outline: none; box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .08); }
label.switch input[type=checkbox]:checked:focus:not(:focus-visible) { box-shadow: none; }
label.switch input[type=checkbox]:focus-visible { outline: 2px solid var(--accent, #6d4aff); outline-offset: 2px; }

/* account: social accounts list + one-line add */
.conn-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.conn { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.conn .plat-ic { width: 26px; height: 26px; border-radius: 8px; }
.conn-t b { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conn-t small { font-size: 12px; color: var(--muted); }
.conn form { margin: 0; }
.conn-add { display: grid; grid-template-columns: 160px minmax(0, 1fr) 150px auto; gap: 8px; align-items: center; }
.conn-add select, .conn-add input { margin: 0; }
.pw-form { max-width: 520px; }
@media (max-width: 640px) { .conn-add { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .conn-add input[name=handle] { grid-column: 1 / -1; order: 2; } .conn { grid-template-columns: 26px minmax(0, 1fr) auto; } .conn > .pill, .conn > small { display: none; } }

/* notifications popup at the bell */
.np { position: relative; display: inline-flex; }
.np-pane { position: absolute; right: 0; top: calc(100% + 10px); z-index: 80; width: 340px; max-width: calc(100vw - 24px); max-height: min(70vh, 520px); overflow: auto;
  border-radius: 18px; background: rgba(250, 250, 252, .86); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 24px 60px -24px rgba(30, 24, 60, .45), 0 0 0 1px rgba(17, 17, 19, .06); text-align: left; }
.np-pane[hidden] { display: none; }
.np-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid rgba(17, 17, 19, .08); }
.np-head b { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.np-read { border: 0; background: none; padding: 0; font: 600 12px/1 var(--font); color: var(--accent, #6d4aff); cursor: pointer; }
.np-list { list-style: none; margin: 0; padding: 6px; }
.np-list a { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.np-list a:hover { background: rgba(17, 17, 19, .04); }
.np-dot { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: transparent; }
.np-list .unread .np-dot { background: var(--accent, #6d4aff); }
.np-t span { display: block; font-size: 13px; line-height: 1.45; }
.np-list .unread .np-t span { font-weight: 600; }
.np-t small { font-size: 11.5px; color: var(--muted); }
.np-all { display: block; padding: 12px 16px; border-top: 1px solid rgba(17, 17, 19, .08); font-size: 12.5px; font-weight: 600; text-align: center; color: var(--ink-2); text-decoration: none; }
.np-empty { margin: 0; padding: 34px 16px 38px; font-size: 13px; color: var(--muted); text-align: center; }
:root[data-tone="x-violet"] .np-pane { background: rgba(246, 243, 255, .88); }
@media (max-width: 560px) { .np-pane { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; } }

/* creator earnings: dark balance card with claim */
.earn2 { position: relative; overflow: hidden; padding: 26px 26px 20px; border-radius: 22px; color: #eef0ff;
  background: radial-gradient(120% 140% at 100% 0%, #1d3a8a 0%, rgba(29, 58, 138, 0) 55%), linear-gradient(160deg, #0b1020 0%, #0e1630 60%, #0b1226 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 50px -30px rgba(10, 18, 50, .7); }
.earn2-glow { position: absolute; right: -80px; top: -60px; width: 340px; height: 340px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(140, 170, 255, .14), 0 0 0 40px rgba(140, 170, 255, .04), 0 0 0 80px rgba(140, 170, 255, .03); pointer-events: none; }
.earn2-top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; align-items: start; }
.earn2-l { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8fa2d6; }
.earn2-big { display: block; margin: 8px 0 6px; font-size: clamp(38px, 5vw, 54px); font-weight: 700; line-height: 1; color: #fff; }
.earn2-main small { font-size: 12.5px; color: #9aa6c8; }
.earn2-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.et2 { position: relative; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.et2 b { display: block; margin-top: 14px; font-size: 20px; color: #fff; }
.et2-ic { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .06); color: #b9c6ff; }
.et2-ic.t-mint { color: #7ee3c2; } .et2-ic.t-violet { color: #c4b2ff; } .et2-ic.t-blue { color: #8fc1ff; }
.earn2-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.earn2-w { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #d6dcf2; text-decoration: none; }
.earn2-w code { font-size: 12px; background: none; color: #fff; }
.earn2-copy { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #d6dcf2; cursor: pointer; }
.earn2-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 12px 11px 20px; border: 0; border-radius: 999px; background: #e9ebf3; color: #0b1020; font: 700 14px/1 var(--font); cursor: pointer; }
.earn2-btn .arr { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0b1020; color: #fff; }
.earn2-btn:disabled { opacity: .55; cursor: default; }
@media (max-width: 860px) { .earn2-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .earn2-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .earn2 { padding: 20px 16px 16px; } }

/* referral: three facts in a row */
.ref-how { list-style: none; margin: 16px 0 0; padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-radius: 18px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line); }
.ref-how li { display: flex; align-items: center; gap: 12px; }
.rh-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(17, 17, 19, .05); }
.rh-ic.t-blue { color: #2f6fdf; } .rh-ic.t-mint { color: #12a37a; } .rh-ic.t-gold { color: #b8860b; }
.ref-how b { display: block; font-size: 14px; } .ref-how em { font-style: normal; color: #2f6fdf; }
.ref-how small { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .ref-how { grid-template-columns: minmax(0, 1fr); } }

/* creator overview: money and offers at a glance */
.kpi4 { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.k4 { display: grid; align-content: start; gap: 6px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 14px 30px -24px rgba(30, 24, 60, .35); color: var(--ink); text-decoration: none; }
a.k4:hover { background: rgba(255, 255, 255, .8); }
.k4-l { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.k4 b { font-size: 26px; font-weight: 700; line-height: 1.1; }
.k4 small { font-size: 12px; color: var(--muted); }
.k4-claim { grid-template-columns: minmax(0, 1fr) auto; align-items: end; color: #eef0ff;
  background: radial-gradient(120% 160% at 100% 0%, #1d3a8a 0%, rgba(29, 58, 138, 0) 60%), linear-gradient(160deg, #0b1020, #0e1630); box-shadow: 0 16px 34px -24px rgba(10, 18, 50, .7); }
.k4-claim .k4-l { grid-column: 1 / -1; color: #8fa2d6; }
.k4-claim b { color: #fff; }
.k4-claim .btn { background: #e9ebf3; color: #0b1020; box-shadow: none; }
.k4-claim .btn:disabled { opacity: .5; }
.ccards.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .kpi4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kpi4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; } .k4-claim { grid-column: 1 / -1; } .k4 b { font-size: 21px; } .ccards.two { grid-template-columns: minmax(0, 1fr); } }
.dash-earnrow { margin-top: 16px; }
/* bell popup sits above page content; parent header blur makes nested blur transparent, so the panel is opaque */
.np-pane { background: #fbfbfd; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root[data-tone="x-violet"] .np-pane { background: #f7f4ff; }
.stop:has(.np-pane:not([hidden])), .tdy-top:has(.np-pane:not([hidden])) { z-index: 140; }

/* creator profile: networks */
.ed-nets { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.ed-nets a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.ed-nets a:hover { background: rgba(17, 17, 19, .04); }
.ed-nets .plat-ic { width: 22px; height: 22px; border-radius: 7px; }
.ed-nets .t { font-size: 13px; font-weight: 600; }
.ed-nets b { font-size: 15px; } .ed-nets b.unconf { color: var(--muted); }
.net-add { margin: 4px 0 16px; }
.net-add > select { max-width: 320px; }
.net-add-f { margin-top: 12px; padding: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 255, 255, .5); }
.net-add-f[hidden] { display: none; }
.net-card { padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 255, 255, .45); }
.net-card + .net-card { margin-top: 10px; }
.nc-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.nc-h h3 { margin: 0; font-size: 15px; }
.nc-h .plat-ic { width: 28px; height: 28px; border-radius: 9px; }
.nc-d { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.nc-d > summary { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2); list-style: none; }
.nc-d > summary::-webkit-details-marker { display: none; }
.nc-d[open] > summary { margin-bottom: 10px; }
.nc-prices .prow { display: grid; grid-template-columns: minmax(0, 1fr) 140px auto; gap: 8px; align-items: center; padding: 4px 0; border: 0; }
@media (max-width: 560px) { .nc-prices .prow { grid-template-columns: minmax(0, 1fr) 110px auto; } }

/* overview: one line about money instead of a second payouts page */
.money-line { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .07); color: var(--ink); text-decoration: none; font-size: 14px; }
.money-line .ml-go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink-2); }

/* phone/tablet drawer: solid panel above the tab bar, page dimmed behind it */
@media (max-width: 1100px) {
  :root[data-tone="light"] .vside { background: #f6f6f8 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 0 0 1px rgba(17, 17, 19, .06), 24px 0 60px -20px rgba(17, 17, 19, .35) !important; }
  .vside { z-index: 90 !important; padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important; }
  .shell.vshell.panel-open::after { content: ""; position: fixed; inset: 0; z-index: 85; background: rgba(17, 17, 19, .32); }
}

/* home: one idea, two paths */
.hm-hero { padding-bottom: 28px; }
.hm-h1 { margin: 0; }
.hm-lede { max-width: 46ch; margin-top: 18px; }
.hm-paths { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.hm-path { display: grid; grid-template-columns: 44px minmax(0, 1fr) 36px; align-items: center; gap: 16px; padding: 22px 22px; border-radius: 22px; text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 18px 40px -28px rgba(30, 24, 60, .45); transition: transform .15s ease, box-shadow .15s ease; }
.hm-path:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 24px 50px -28px rgba(30, 24, 60, .55); }
.hm-path.dark { color: #fff; background: linear-gradient(160deg, #15151b, #23202e); box-shadow: 0 18px 40px -26px rgba(17, 17, 19, .6); }
.hm-path-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(17, 17, 19, .06); }
.hm-path.dark .hm-path-ic { background: rgba(255, 255, 255, .1); }
.hm-path-t b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.hm-path-t small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; opacity: .72; }
.hm-path-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(17, 17, 19, .07); }
.hm-path.dark .hm-path-go { background: #fff; color: #15151b; }
.hm-steps h2, .hm-sub-h { margin: 0 0 18px; }
.hm-3 { list-style: none; counter-reset: hm; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hm-3 li { counter-increment: hm; display: grid; gap: 6px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85); }
.hm-3 li::before { content: counter(hm); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.hm-3 b { font-size: 15.5px; } .hm-3 span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.hm-formats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.hm-formats li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(17, 17, 19, .07); }
.hm-nets { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.hm-nets .plat-ic { width: 32px; height: 32px; border-radius: 10px; }
.hm-sub { padding-top: 40px; }
.hm-sub-h { font-size: clamp(34px, 5vw, 58px); line-height: 1.02; letter-spacing: -.02em; }
.hm-sub-p { max-width: 52ch; margin: 0 0 22px; font-size: 17px; color: var(--ink-2); }
.hm-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 760px) {
  .hm-paths, .hm-3 { grid-template-columns: minmax(0, 1fr); }
  .hm-path { padding: 18px 16px; grid-template-columns: 40px minmax(0, 1fr) 32px; gap: 12px; }
  .hm-path-t b { font-size: 18px; }
}

/* header: three plain links instead of dropdowns */
.tdy-nav .nav-top { display: inline-flex; align-items: center; padding: 10px 14px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-radius: 999px; }
.tdy-nav .nav-top:hover, .tdy-nav .nav-top[aria-current="page"] { background: rgba(17, 17, 19, .06); }
@media (max-width: 900px) { .tdy-nav.open .nav-top { display: flex; padding: 14px 4px; font-size: 15px; } }

/* ══ RANK: Bronze → Platinum (профиль и меню кабинета) ══ */
.rk-card { --rk: #A0703C; margin-top: 14px; padding: 12px 12px 10px; border-radius: 14px; background: color-mix(in srgb, var(--rk) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rk) 22%, transparent); }
.rk-silver { --rk: #7C8796; } .rk-gold { --rk: #B98A17; } .rk-platinum { --rk: #5A6FD6; }
.rk-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rk-badge { display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 var(--font); color: var(--rk); }
.rk-ladder { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 10px 0 0; padding: 0; }
.rk-ladder li { display: grid; gap: 4px; font-size: 10.5px; color: var(--muted); }
.rk-ladder li i { display: block; height: 4px; border-radius: 4px; background: rgba(17, 17, 19, .1); }
.rk-ladder li.on i { background: var(--rk); }
.rk-ladder li.cur span { color: var(--ink); font-weight: 700; }
.vs-rank { font-weight: 700; color: var(--rk, inherit); }
.vs-rank.rk-bronze { --rk: #A0703C; }
:root[data-tone="x-violet"] .vs-rank { color: inherit; }
.ed-nets li.ed-nets-empty { grid-column: 1 / -1; display: block; }
.ed-nets-empty a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }

/* кабинет бренда в оболочке приложения */
.app .mk-page { padding-left: 0; padding-right: 0; max-width: none; }
.app .mk-page > .pg-head { padding-top: 6px; }
.app .mk-page .h-sec { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.02em; text-transform: none; }
/* ссылки-кнопки внутри карточек не наследуют цвет обычных ссылок */
:root a.btn.btn-hot, :root a.btn.btn-primary { color: #fff; }
.app .page-head h1 { text-transform: none; font-weight: 700; letter-spacing: -.02em; }
