/* Inter, self-hosted — no visitor data leaves the site for fonts */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/inter-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('/fonts/inter-latin-900-normal.woff2') format('woff2'); }
/* Geist — vidform.ai's font */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: block; src: url('/fonts/geist-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: block; src: url('/fonts/geist-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: block; src: url('/fonts/geist-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 700; font-display: block; src: url('/fonts/geist-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 800; font-display: block; src: url('/fonts/geist-latin-800-normal.woff2') format('woff2'); }

:root {
  --bg: #ffffff;               /* clean white page (matches landing) */
  --card: #ffffff;
  --card-2: #f5f6f8;           /* neutral light surface */
  --border: #ededf0;           /* neutral light border */
  --border-soft: #f2f2f4;
  --border-hover: #d9dce1;
  --text: #1d1d1f;             /* near-black (matches landing) */
  --muted: #6e6e73;            /* neutral gray */
  --faint: #9a9aa2;
  /* accent (friendly blue). token names kept as --green* so components inherit */
  --green: #3b82f6;
  --green-strong: #2563eb;     /* button hover */
  --green-bright: #2563eb;     /* emphasis text on white */
  --green-soft: #eff4ff;
  --green-ink: #ffffff;        /* text on the accent */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 6px 20px -8px rgba(30, 58, 138, 0.14);
  --red: #dc2626;
  --red-soft: rgba(220, 38, 38, 0.08);
  --amber: #b45309;
  --amber-soft: rgba(180, 83, 9, 0.09);
  --r-card: 14px;
  --r-input: 9px;
  --mono: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  /* vidform.ai type scale + easing (extracted from their CSS) */
  --text-display: clamp(2.25rem, 1.23rem + 4.2vw, 4rem);
  --text-heading: clamp(1.9rem, 1.2rem + 2.3vw, 3rem);
  --text-lede: clamp(1rem, 0.94rem + 0.23vw, 1.0625rem);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* vidform.ai signature motion */
@keyframes reveal { from { opacity: 0; filter: blur(3px); transform: translateY(8px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes rd-rise { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }
.js .sr { opacity: 0; transform: translateY(14px); }
.js .sr.in { animation: reveal 0.6s var(--ease-spring) forwards; }
.rise { opacity: 0; animation: rd-rise 0.6s var(--ease-spring) forwards; }
@media (prefers-reduced-motion: reduce) { .sr, .rise { opacity: 1 !important; transform: none !important; animation: none !important; } }

* { box-sizing: border-box; }

::selection { background: var(--green); color: var(--green-ink); }

body {
  margin: 0;
  font-family: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  letter-spacing: -0.011em;
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { letter-spacing: -0.02em; }

/* ---------- floating watermark icons ---------- */
.bg-icons { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-icons img { position: absolute; width: 34px; opacity: 0.05; filter: grayscale(1); }
.bg-icons img:nth-child(1)  { top: 6%;  left: 4%;  transform: rotate(-12deg); }
.bg-icons img:nth-child(2)  { top: 14%; left: 88%; width: 44px; transform: rotate(9deg); }
.bg-icons img:nth-child(3)  { top: 30%; left: 12%; width: 26px; transform: rotate(6deg); }
.bg-icons img:nth-child(4)  { top: 44%; left: 92%; transform: rotate(-8deg); }
.bg-icons img:nth-child(5)  { top: 60%; left: 3%;  width: 40px; transform: rotate(14deg); }
.bg-icons img:nth-child(6)  { top: 74%; left: 85%; width: 30px; transform: rotate(-15deg); }
.bg-icons img:nth-child(7)  { top: 88%; left: 10%; transform: rotate(8deg); }
.bg-icons img:nth-child(8)  { top: 8%;  left: 55%; width: 24px; transform: rotate(-5deg); }
.bg-icons img:nth-child(9)  { top: 90%; left: 60%; width: 38px; transform: rotate(12deg); }
.bg-icons img:nth-child(10) { top: 48%; left: 45%; width: 22px; transform: rotate(-10deg); }

.wrap { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 0 20px 90px; }
.wrap.narrow { max-width: 640px; }

/* ---------- header ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 40px; }
.topbar.center { justify-content: center; }
.logo {
  font-size: 21px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center; gap: 11px;
  transition: opacity 0.15s;
}
.logo:hover { opacity: 0.82; }
.logo-mark { height: 25px; width: auto; display: block; }
.logo-mark.lg { height: 46px; }
.logo-mark.sm { height: 14px; }
.topbar .sub { color: var(--muted); font-size: 13.5px; font-weight: 500; }

.brand-footer {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 44px; color: var(--muted); font-size: 12.5px; opacity: 0.5;
}
.brand-footer b { color: var(--text); font-weight: 700; letter-spacing: -0.02em; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 0 0 38px; }
.hero h1 { font-size: 44px; font-weight: 800; margin: 0 0 14px; line-height: 1.08; }
.hero p { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 auto; line-height: 1.65; }

/* ---------- cards ---------- */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 18px; }
.card h2 { margin: 0 0 4px; font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.card h2 .sect-ico { opacity: 0.85; }
.card .hint { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; line-height: 1.55; }

/* ---------- floating-label fields ---------- */
.field { position: relative; margin-top: 22px; }
.field > label {
  position: absolute; top: -8px; left: 14px; z-index: 1;
  background: var(--card); padding: 0 7px;
  font-size: 12px; font-weight: 500; color: var(--muted);
}
.field input[type="text"], .field input[type="number"], .field input[type="email"],
.field input[type="password"], .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-input);
  color: var(--text);
  padding: 15px 16px;
  font: inherit; font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18); }
.field textarea { resize: vertical; min-height: 76px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input[type="file"] { width: 100%; color: var(--muted); font-size: 13.5px; padding: 12px 8px; }

.row { display: flex; gap: 14px; }
.row > * { flex: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: var(--green-ink);
  border: 1px solid transparent; border-radius: 9px;
  padding: 12px 20px; font: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em;
  cursor: pointer; text-decoration: none;
  transition: box-shadow 0.16s, transform 0.05s, opacity 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--green-strong); box-shadow: 0 6px 16px -6px rgba(59, 130, 246, 0.45); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); font-weight: 600; box-shadow: var(--shadow-sm); }
.btn.ghost:hover { background: var(--card-2); box-shadow: var(--shadow-sm); border-color: var(--border-hover); }
.btn.light { background: #fff; color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn.light:hover { background: var(--card-2); box-shadow: var(--shadow-sm); border-color: var(--border-hover); }
.btn.danger { background: var(--red-soft); color: var(--red); font-weight: 600; }
.btn.danger:hover { background: rgba(226, 100, 95, 0.25); box-shadow: none; }
.btn.small { padding: 9px 15px; font-size: 13.5px; border-radius: 9px; }
.btn.block { width: 100%; margin-top: 22px; }

.icon-btn { background: none; border: none; color: var(--red); font-size: 17px; cursor: pointer; padding: 6px; }

/* ---------- pills ---------- */
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  flex: 1; min-width: 130px; text-align: center; padding: 13px 10px; border-radius: var(--r-input);
  border: 1px solid var(--border); background: transparent;
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: all 0.15s;
}
.pill.active { border-color: var(--green); color: var(--green-bright); background: var(--green-soft); }

/* ---------- badges & messages ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.badge.live, .badge.approved { background: var(--green-soft); color: var(--green-bright); }
.badge.draft, .badge.pending { background: var(--amber-soft); color: var(--amber); }
.badge.rejected { background: var(--red-soft); color: var(--red); }
.badge.points { background: var(--card-2); color: var(--text); border: 1px solid var(--border-soft); }

.msg { border-radius: var(--r-input); padding: 12px 15px; font-size: 13.5px; margin-top: 16px; display: none; }
.msg.err { display: block; background: var(--red-soft); color: var(--red); }
.msg.ok { display: block; background: var(--green-soft); color: var(--green-bright); }

.muted { color: var(--muted); }
.spacer { flex: 1; }
.empty { color: var(--muted); font-size: 14px; text-align: center; padding: 30px 0; }

/* ---------- builder task rows ---------- */
.task-row { border: 1px solid var(--border-soft); background: var(--card-2); border-radius: 13px; padding: 20px; margin-top: 18px; }
.task-row .num-line { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.task-row .num-line .n { font-weight: 800; font-size: 15px; }
.task-row .field > label { background: var(--card-2); }
.add-action {
  width: 100%; margin-top: 18px; padding: 16px;
  border: 1.5px dashed var(--border); border-radius: var(--r-input);
  background: none; color: var(--text); font: inherit; font-size: 14.5px; font-weight: 600;
  cursor: pointer;
}
.add-action:hover { border-color: var(--muted); }
.alloc { margin-top: 16px; font-size: 13.5px; font-weight: 600; }
.alloc.good { color: var(--green-bright); }
.alloc.badly { color: var(--amber); }

/* ---------- campaign list ---------- */
.section-title { font-size: 20px; font-weight: 800; margin: 44px 0 16px; }
.campaign-item {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--border); border-radius: 13px;
  padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, transform 0.15s;
}
.campaign-item:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.campaign-item .info { flex: 1; min-width: 180px; }
.campaign-item .name { font-weight: 700; font-size: 15.5px; margin-bottom: 3px; }
.campaign-item .meta { color: var(--muted); font-size: 13px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- manage ---------- */
.page-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.page-head h1 { font-size: 30px; font-weight: 800; margin: 0; }
.back { color: var(--muted); text-decoration: none; font-size: 13.5px; display: inline-block; margin-bottom: 14px; }
.back:hover { color: var(--text); }

.stats { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.stat { background: var(--card); border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px 20px; min-width: 118px; }
.stat .num { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat .lbl { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; }

.share { display: flex; gap: 10px; align-items: center; margin: 16px 0 26px; flex-wrap: wrap; }
.share input { flex: 1; min-width: 220px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; color: var(--muted); padding: 13px 18px; font: inherit; font-size: 13.5px; }

.manage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .manage-grid { grid-template-columns: 1fr; } }

.task-item { border: 1px solid var(--border-soft); background: var(--card-2); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.task-item .top { display: flex; align-items: center; gap: 10px; }
.task-item .plat-chip { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.task-item .plat-chip img { width: 15px; }
.task-item .title { font-weight: 600; flex: 1; }
.task-item .desc { color: var(--muted); font-size: 13.5px; margin-top: 8px; line-height: 1.55; white-space: pre-wrap; }
.task-item .proof { color: var(--muted); font-size: 12px; margin-top: 8px; }
.task-item .field > label { background: var(--card-2); }

.sub-item { border: 1px solid var(--border-soft); background: var(--card-2); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.sub-item .top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sub-item .who { font-weight: 700; }
.sub-item .task-ref { color: var(--muted); font-size: 13px; }
.shots { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.shots a { position: relative; display: block; }
.shots a img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border-soft); display: block; }
.shot-mark { position: absolute; top: -6px; right: -6px; font-size: 14px; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
.target-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.sub-actions { display: flex; gap: 8px; }
.filter-tabs { display: flex; gap: 8px; margin-bottom: 16px; }

/* ---------- participant unlock card ---------- */
.unlock-card { text-align: center; padding: 34px 30px 30px; }
.unlock-card h1 { font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.unlock-card .subtitle { color: var(--muted); font-size: 15.5px; margin: 0 0 26px; }

.action-btn {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%; margin-top: 14px; padding: 17px 18px;
  border: none; border-radius: 18px;
  font: inherit; font-size: 16px; font-weight: 700; color: #fff;
  cursor: pointer; text-align: center;
  transition: filter 0.15s, opacity 0.15s;
}
.action-btn:hover { filter: brightness(1.12); }
.action-btn img { width: 19px; }
.action-btn .state { font-size: 14px; opacity: 0.9; }
.action-btn.done { opacity: 0.55; }

.action-panel {
  display: none; text-align: left;
  border: 1px solid var(--border-soft); border-top: none;
  border-radius: 0 0 18px 18px; margin: -10px 6px 0; padding: 20px 18px 18px;
  background: var(--card-2);
}
.action-panel.open { display: block; }
.action-panel .desc { color: var(--text); font-size: 14.5px; line-height: 1.65; margin: 0 0 6px; white-space: pre-wrap; }
.action-panel .req { font-size: 12.5px; color: var(--muted); margin: 10px 0 8px; }
.action-panel input[type="file"] { width: 100%; color: var(--muted); font-size: 13px; }
input[type="file"]::file-selector-button {
  background: var(--card); color: var(--text); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 15px; margin-right: 10px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600;
}

.unlock-progress { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 2px 8px; }
.unlock-progress .lbl { font-size: 15px; font-weight: 600; }
.unlock-progress .count { font-size: 14.5px; font-weight: 800; color: var(--green-bright); }
.track { height: 5px; background: var(--card-2); border-radius: 999px; overflow: hidden; display: flex; }
.track .fill { background: var(--green); border-radius: 999px; transition: width 0.4s ease; }
.track .fill.pend { background: var(--amber); opacity: 0.55; }

.unlock-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 18px; padding: 18px;
  border: none; border-radius: 18px;
  background: var(--card-2); color: var(--muted);
  font: inherit; font-size: 16.5px; font-weight: 800;
  cursor: not-allowed; text-decoration: none;
}
.unlock-btn.ready { background: var(--green); color: var(--green-ink); cursor: pointer; box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.45); }
.unlock-btn.ready:hover { background: var(--green-strong); box-shadow: 0 10px 26px -6px rgba(59, 130, 246, 0.55); }
.unlock-note { color: var(--muted); font-size: 12.5px; margin-top: 12px; }

.or-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--muted); font-size: 12.5px; }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.setting-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.setting-row:last-of-type { border-bottom: none; }
.setting-row .s-ico { font-size: 18px; flex: none; }
.setting-row .s-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.setting-row .s-body b { font-weight: 700; font-size: 14.5px; }
.setting-row .hint { margin: 0; }
code { background: var(--card-2); border: 1px solid var(--border-soft); border-radius: 5px; padding: 1px 6px; font-size: 12.5px; }

/* big Discord CTA in the campaign builder */
.discord-cta {
  width: 100%;
  background: #5865f2; color: #fff;
  border-radius: 14px; padding: 17px;
  font-size: 15.5px; font-weight: 800;
}
.discord-cta:hover { box-shadow: 0 0 26px rgba(88, 101, 242, 0.45); }
.discord-cta img { width: 20px; }

.role-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.role-chip {
  padding: 8px 15px; border: 1px solid var(--border); border-radius: 999px;
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted);
  transition: all 0.15s;
}
.role-chip::before { content: '●'; margin-right: 7px; color: var(--role-color, var(--muted)); }
.role-chip:hover { border-color: var(--muted); }
.role-chip.active { border-color: var(--green); color: var(--green-bright); background: var(--green-soft); }

.join-inline { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.join-inline input { flex: 1; background: transparent; border: 1px solid var(--border); border-radius: 999px; color: var(--text); padding: 13px 20px; font: inherit; font-size: 14.5px; }
.join-inline input:focus { outline: none; border-color: var(--green); }

.banner { background: var(--amber-soft); color: var(--amber); border-radius: var(--r-input); padding: 13px 17px; font-size: 13.5px; margin-bottom: 18px; text-align: center; }

/* ---------- phrase copy-boxes ---------- */
.copy-line {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); background: var(--bg);
  border-radius: var(--r-input);
  padding: 11px 14px; margin: 10px 0;
  text-align: left;
}
.copy-line .cl-ico { font-size: 17px; flex: none; }
.copy-line .cl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.copy-line .cl-label { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.copy-line .cl-value { font-size: 14.5px; font-weight: 700; word-break: break-word; }
.copy-line .cl-copy { flex: none; }

/* ---------- eyebrow (mono label) ---------- */
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); display: block; }

/* ---------- landing ---------- */
.landing-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; padding: 56px 0 58px; }
.lh-copy .eyebrow { margin-bottom: 16px; }
.landing-hero h1 { font-size: 46px; font-weight: 700; margin: 0; line-height: 1.1; letter-spacing: -0.032em; }
.landing-hero h1 .neon { color: inherit; }
.landing-hero .lh-sub { color: var(--muted); font-size: 16.5px; max-width: 46ch; margin: 20px 0 30px; line-height: 1.6; }
.lh-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lh-trust { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.lh-trust::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: none; }
.btn.cta { padding: 15px 26px; font-size: 15.5px; }

/* product preview card */
.product-card { background: linear-gradient(180deg, var(--card), #0e1013); border: 1px solid var(--border); border-radius: 18px; padding: 13px; box-shadow: 0 40px 80px -44px rgba(0,0,0,0.85); }
.pc-top { display: flex; align-items: center; gap: 7px; padding: 5px 7px 12px; }
.pc-top .d { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.pc-top .u { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.pc-body { background: var(--bg); border: 1px solid var(--border-soft); border-radius: 11px; padding: 15px; }
.pc-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.pc-h b { font-size: 14px; }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 13px; }
.pc-stat { background: var(--card-2); border: 1px solid var(--border-soft); border-radius: 9px; padding: 10px 11px; }
.pc-stat .n { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pc-stat .l { font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 3px; }
.pc-prog-l { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.pc-prog-l b { color: var(--green-bright); font-family: var(--mono); }
.pc-track { height: 6px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.pc-track i { display: block; height: 100%; width: 70%; border-radius: 999px; background: linear-gradient(90deg, var(--green-bright), var(--green)); }
.pc-task { display: flex; align-items: center; gap: 10px; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--border-soft); font-size: 12.5px; }
.pc-task .ic { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); flex: none; margin: 0 5px; }
.pc-task .ck { margin-left: auto; color: var(--green); }
.pc-task .pend { margin-left: auto; color: var(--amber); font-family: var(--mono); font-size: 10px; }

/* ---- centered hero + staggered card cluster (Lattice-style layout) ---- */
.landing-hero.centered { display: block; text-align: center; padding: 54px 0 20px; }
.landing-hero.centered .eyebrow { margin: 0 0 16px; }
.landing-hero.centered h1 { font-size: 56px; max-width: 15ch; margin: 0 auto; }
.landing-hero.centered .lh-sub { margin: 22px auto 30px; }
.landing-hero.centered .lh-cta { justify-content: center; }
.landing-hero.centered .lh-trust { justify-content: center; }

.hero-cluster { position: relative; width: 100%; max-width: 820px; margin: 50px auto 0; padding-bottom: 24px; }
.hc-card { background: var(--card); border: 1px solid var(--border); border-radius: 15px; padding: 16px; }
.hc-side { position: absolute; top: 34px; width: 232px; box-shadow: 0 24px 44px -24px rgba(16, 24, 40, 0.18); }
.hc-side.left  { left: 0;  transform: rotate(-2.2deg); z-index: 1; }
.hc-side.right { right: 0; top: 148px; transform: rotate(2.2deg); z-index: 1; }
.hc-center { position: relative; z-index: 3; width: min(360px, 84%); margin: 0 auto; padding: 1px; border-radius: 15px;
  background: var(--border);
  box-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.18); }
.hc-center .inner { background: var(--card); border-radius: 14px; padding: 18px; }

.hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hc-head b { font-size: 13px; }
.mini-chip { font-size: 11px; font-weight: 500; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 3px 9px; }
.spark { width: 100%; height: 86px; display: block; }
.hc-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 8.5px; color: var(--faint); margin-top: 9px; letter-spacing: 0.04em; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 86px; padding-top: 6px; }
.bars span { flex: 1; background: var(--card-2); border-radius: 4px 4px 0 0; }
.bars span.hi { background: linear-gradient(180deg, var(--green), var(--green-bright)); }

@media (max-width: 860px) {
  .hero-cluster { width: 100%; max-width: 380px; margin: 38px auto 0; padding-bottom: 0; display: flex; flex-direction: column; align-items: center; }
  .hc-side, .hc-center { position: static; width: 100%; margin: 0 0 14px; transform: none !important; top: auto; }
  .landing-hero.centered { padding: 40px 0 10px; }
  .landing-hero.centered h1 { font-size: 36px; }
}

/* features */
.landing-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 40px; }
.landing-features .card + .card { margin-top: 0; }
@media (max-width: 800px) { .landing-features { grid-template-columns: 1fr; } }
.feat { text-align: left; padding: 24px; transition: border-color 0.18s, transform 0.18s; }
.feat:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.feat .f-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--green-soft); border: 1px solid rgba(59, 130, 246, 0.2); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat .f-ico svg { width: 21px; height: 21px; }
.feat h3 { margin: 0 0 8px; font-size: 16px; }
.feat p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.landing-cta { text-align: center; padding: 48px 26px; }
.landing-cta h2 { margin: 0; font-size: 26px; letter-spacing: -0.02em; }

@media (max-width: 820px) {
  .landing-hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .landing-hero h1 { font-size: 38px; }
}

/* ---------- creator dashboard ---------- */
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 40px 0 16px; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(142px, 1fr)); gap: 12px; }
.kpi { background: var(--card); border: 1px solid var(--border); border-radius: 13px; padding: 15px 17px; box-shadow: var(--shadow-sm); }
.kpi .k-lbl { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.kpi .k-num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi.attn { border-color: rgba(229, 176, 74, 0.45); }
.kpi.attn .k-num { color: var(--amber); }

.activity-card { margin-top: 12px; }
.activity-card .bars { height: 68px; gap: 10px; }
.activity-card .bars span { background: var(--card-2); }
.activity-card .bars span:last-child { background: linear-gradient(180deg, var(--green), var(--green-bright)); }

.analytics-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-bottom: 12px; transition: border-color 0.15s, box-shadow 0.15s; box-shadow: var(--shadow-sm); }
.analytics-card:hover { border-color: var(--border-hover); }
.ac-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.ac-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.funnel { display: flex; align-items: stretch; gap: 8px; }
.funnel .fstep { flex: 1; background: var(--card-2); border: 1px solid var(--border-soft); border-radius: 10px; padding: 12px 14px; }
.funnel .fstep .fn { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.funnel .fstep.hit .fn { color: var(--green-bright); }
.funnel .fstep .fl { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.funnel .arrow { align-self: center; color: var(--faint); font-size: 15px; flex: none; }
.ac-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.ac-foot .sep { color: var(--faint); }
.ac-foot .conv { color: var(--text); font-weight: 600; }

@media (max-width: 560px) {
  .funnel { flex-direction: column; }
  .funnel .arrow { transform: rotate(90deg); }
}

/* ============ vidform-style landing ============ */
.vf-body { background: #ffffff; }
.vf-page { max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; }

/* flat top nav — matches vidform */
.vf-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1180px; margin: 0 auto; padding: 20px 4px; background: transparent; }
.vf-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: #1d1d1f; text-decoration: none; }
.vf-logo img { width: 24px; height: 24px; display: block; }
.vf-navlinks { display: flex; gap: 2px; justify-self: center; }
.vf-navlinks a { color: #1d1d1f; font-size: 14.5px; font-weight: 500; text-decoration: none; padding: 7px 13px; border-radius: 8px; transition: .15s; }
.vf-navlinks a:hover { background: #f2f3f5; }
.vf-navcta { display: flex; align-items: center; gap: 6px; justify-self: end; }
.vf-signin { color: #1d1d1f; font-size: 14.5px; font-weight: 500; text-decoration: none; padding: 8px 12px; }
.vf-signin:hover { opacity: .65; }
.vf-trybtn { display: inline-flex; align-items: center; gap: 3px; background: var(--green); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; padding: 9px 15px; border-radius: 8px; transition: background .15s, transform .05s; white-space: nowrap; }
.vf-trybtn:hover { background: var(--green-strong); }
.vf-trybtn:active { transform: translateY(1px); }
.vf-arrow { font-size: 15px; line-height: 1; margin-left: 1px; }

/* hero — vidform typography, exact */
.vf-hero { position: relative; margin: 96px auto 120px; padding: 0 20px; text-align: center; max-width: 760px; }
.vf-hero h1 { color: #1d1d1f; font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.04em; margin: 0 auto; max-width: 17ch; text-wrap: balance; }
.vf-hero p { color: #6e6e73; font-size: 17px; font-weight: 400; line-height: 1.5; max-width: 42ch; margin: 20px auto 0; }
.vf-hero-cta { display: flex; gap: 12px; justify-content: center; align-items: center; margin: 34px 0 0; flex-wrap: wrap; }
.vf-hero-cta .vf-trybtn.big { font-size: 15px; padding: 11px 20px; }
.vf-ghostbtn { display: inline-flex; align-items: center; background: #fff; color: #1d1d1f; border: 1px solid #d9dce1; font-size: 15px; font-weight: 500; padding: 11px 20px; border-radius: 8px; text-decoration: none; transition: border-color .16s var(--ease-out), background .16s var(--ease-out); }
.vf-ghostbtn:hover { border-color: #b8bdc6; background: #fafafa; }
.vf-proof { display: flex; gap: 26px; justify-content: center; align-items: center; margin: 40px 0 0; flex-wrap: wrap; }
.vf-proof-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.vf-proof-item svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.vf-proof-item b { color: var(--text); font-weight: 600; }

.vf-window { width: min(760px, 100%); margin: 48px auto 0; background: #fff; border-radius: 16px 16px 0 0;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.6), 0 40px 70px -24px rgba(15,23,42,0.4); overflow: hidden; text-align: left; }
.vf-window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); background: #fbfcfe; }
.vf-window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #e2e6ee; flex: none; }
.vf-window-url { margin: 0 auto; font-size: 12px; color: var(--faint); background: var(--card-2); border-radius: 7px; padding: 4px 14px; }
.vf-window-body { padding: 22px 24px 26px; }

/* text link — the quiet secondary action (focal point: one primary button) */
.vf-textlink { color: var(--green-strong); font-size: 15px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.vf-textlink:hover { text-decoration: underline; }

/* honest lead — replaces the fabricated-stat card */
.vf-lead { margin: 84px auto 0; max-width: 680px; text-align: center; }
.vf-lead p { font-size: 20px; line-height: 1.55; color: #1d1d1f; font-weight: 500; letter-spacing: -0.01em; margin: 0; }

.vf-section { text-align: center; margin: 110px auto 0; max-width: 980px; }
.vf-section h2 { font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 0; color: #1d1d1f; text-wrap: balance; }
.vf-section-sub { font-size: 17px; color: #6e6e73; line-height: 1.55; margin: 16px auto 0; max-width: 52ch; }
.vf-pills { display: inline-flex; gap: 4px; margin: 28px 0 0; background: #f2f3f5; border: 1px solid #ededf0; border-radius: 10px; padding: 4px; }
.vf-pill { border: none; background: transparent; font: inherit; font-size: 14px; font-weight: 500; color: #6e6e73; padding: 8px 16px; border-radius: 7px; cursor: pointer; transition: .15s; }
.vf-pill.active { background: #fff; color: #1d1d1f; box-shadow: 0 1px 2px rgba(15,23,42,0.08); }
.vf-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; text-align: left; }
.vf-card { background: #fff; border: 1px solid #ededf0; border-radius: 16px; padding: 26px; box-shadow: 0 1px 2px rgba(15,23,42,0.04); transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out); }
.vf-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -16px rgba(15,23,42,0.22); }
.vf-card-ico { width: 44px; height: 44px; border-radius: 11px; background: #eff4ff; color: var(--green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.vf-card-ico svg { width: 22px; height: 22px; }
.vf-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 9px; color: #1d1d1f; }
.vf-card p { font-size: 14.5px; color: #6e6e73; line-height: 1.6; margin: 0; }

.vf-cta { text-align: center; margin: 110px auto 0; max-width: 720px; background: #fafafa; border: 1px solid #ededf0; border-radius: 24px; padding: 56px 32px; }
.vf-cta h2 { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; margin: 0; color: #1d1d1f; }
.vf-cta p { font-size: 16.5px; color: #6e6e73; margin: 12px 0 26px; }
.vf-cta .vf-trybtn.big { font-size: 15px; padding: 11px 20px; }

.vf-footer { margin: 80px auto 0; background: #fafafa; border: 1px solid #ededf0; border-bottom: none; border-radius: 28px 28px 0 0; padding: 48px 48px 52px; display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 32px; }
.vf-foot-brand .vf-logo { font-size: 16px; color: #1d1d1f; }
.vf-foot-brand .vf-logo img { width: 20px; height: 20px; }
.vf-foot-tag { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: #1d1d1f; margin: 20px 0 10px; }
.vf-foot-sub { font-size: 14px; color: #6e6e73; line-height: 1.55; max-width: 34ch; margin: 0; }
.vf-foot-col h4 { font-size: 14px; font-weight: 600; color: #1d1d1f; margin: 2px 0 16px; }
.vf-foot-col a { display: block; font-size: 14px; color: #6e6e73; text-decoration: none; margin-bottom: 12px; transition: color .15s; }
.vf-foot-col a:hover { color: #1d1d1f; }
@media (max-width: 680px) { .vf-footer { grid-template-columns: 1fr 1fr; padding: 36px 28px; } .vf-foot-brand { grid-column: 1 / -1; } }

@media (max-width: 820px) {
  .vf-navlinks { display: none; }
  .vf-hero { margin: 56px auto 72px; padding: 0 16px; }
  .vf-lead { margin-top: 64px; }
  .vf-lead p { font-size: 18px; }
  .vf-section { margin-top: 80px; }
  .vf-section h2 { font-size: 30px; }
  .vf-cta { margin-top: 80px; }
  .vf-features { grid-template-columns: 1fr; }
}

/* ============ dashboard app shell (BizLink-style) ============ */
.app-body-bg { background: var(--bg); }
.app { display: flex; min-height: 100vh; max-width: 1380px; margin: 0 auto; }

.side { width: 238px; flex: none; display: flex; flex-direction: column; padding: 22px 16px; border-right: 1px solid var(--border); position: sticky; top: 0; height: 100vh; background: var(--card); }
.side-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; padding: 4px 8px 20px; }
.side-logo img { width: 24px; height: 24px; display: block; }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: .13s; }
.side-nav a svg { width: 18px; height: 18px; flex: none; }
.side-nav a:hover { background: var(--card-2); color: var(--text); }
.side-nav a.active { background: var(--green-soft); color: var(--green-bright); font-weight: 600; }
.side-foot { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--border-soft); font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.side-foot img { width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.side-foot a { color: var(--muted); }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; gap: 16px; padding: 15px 28px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(246,248,252,0.85); backdrop-filter: blur(10px); z-index: 5; }
.app-search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 9px 13px; color: var(--muted); }
.app-search svg { width: 17px; height: 17px; flex: none; }
.app-search input { flex: 1; border: none; outline: none; background: none; font: inherit; font-size: 14px; color: var(--text); }
.app-search input::placeholder { color: var(--faint); }
.app-top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
#new-campaign-btn { font-size: 14px; padding: 10px 16px; }
#new-campaign-btn .plus { margin-right: 3px; }
.app-content { padding: 26px 28px 60px; }
.app-content .dash-head { margin-top: 32px; }

@media (max-width: 860px) {
  .side { display: none; }
  .app-top { padding: 12px 16px; }
  .app-content { padding: 20px 16px 50px; }
}

/* focused "create campaign" view */
#builder { max-width: 680px; margin: 0 auto; }
.builder-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; padding: 6px 0; margin-bottom: 10px; }
.builder-back svg { width: 17px; height: 17px; }
.builder-back:hover { color: var(--text); }
.builder-head { margin: 2px 0 24px; }
.builder-head h1 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.builder-head p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 9px 0 0; max-width: 52ch; }

/* ---------- prose (privacy page) ---------- */
.prose h1 { font-size: 26px; margin: 0 0 6px; }
.prose h2 { font-size: 16px; margin: 26px 0 8px; }
.prose p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0 0 10px; }
.prose p b { color: var(--text); }
.brand-footer a { color: var(--muted); }
.brand-footer a:hover { color: var(--text); }

/* ---------- discord setup ---------- */
details { margin: 4px 0 6px; }
details summary { cursor: pointer; font-size: 13.5px; color: var(--muted); font-weight: 600; }
details summary:hover { color: var(--text); }
details ol { color: var(--muted); font-size: 13.5px; line-height: 1.75; padding-left: 20px; margin: 12px 0 4px; }
details a, .hint a { color: var(--green-bright); }
details b { color: var(--text); }

/* ============ campaign wizard (typeform-style, one question per screen) ============ */
.wiz { max-width: 640px; margin: 0 auto; min-height: calc(100vh - 170px); display: flex; flex-direction: column; }
.wiz-top { display: flex; align-items: center; gap: 14px; padding: 2px 0 26px; }
.wiz-progress { flex: 1; height: 5px; border-radius: 999px; background: var(--border); overflow: hidden; }
.wiz-progress i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--green-strong)); transition: width .45s var(--ease-spring); }
.wiz-count { font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.wiz-exit { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: 14px; cursor: pointer; display: grid; place-items: center; transition: all .18s var(--ease-out); flex: none; }
.wiz-exit:hover { background: var(--card-2); color: var(--text); }

.wiz-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 6px 0 36px; }
.wiz-anim > .wiz-q { animation: reveal .5s var(--ease-spring) both; }
.wiz-anim > .wiz-sub { animation: reveal .5s var(--ease-spring) .06s both; }
.wiz-anim > .wiz-text, .wiz-anim > .wiz-file, .wiz-anim > .wiz-review, .wiz-anim > .wiz-discord, .wiz-anim > .wiz-adv { animation: reveal .5s var(--ease-spring) .13s both; }
.wiz-anim > .wiz-note { animation: reveal .5s var(--ease-spring) .22s both; }
.wiz-opt { animation: reveal .46s var(--ease-spring) both; }
.wiz-opts .wiz-opt:nth-child(1) { animation-delay: .12s; }
.wiz-opts .wiz-opt:nth-child(2) { animation-delay: .17s; }
.wiz-opts .wiz-opt:nth-child(3) { animation-delay: .22s; }
.wiz-opts .wiz-opt:nth-child(4) { animation-delay: .27s; }
.wiz-opts .wiz-opt:nth-child(5) { animation-delay: .32s; }
.wiz-opts .wiz-opt:nth-child(6) { animation-delay: .37s; }
@media (prefers-reduced-motion: reduce) { .wiz-anim > *, .wiz-opt { animation: none !important; } }
.wiz-q { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 600; letter-spacing: -0.028em; line-height: 1.14; color: var(--text); margin: 0; text-wrap: balance; }
.wiz-sub { font-size: 15.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.wiz-note { display: flex; gap: 11px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; background: var(--green-soft); border: 1px solid #dbe6ff; border-radius: 13px; }
.wiz-note-ico { font-size: 16px; line-height: 1.55; flex: none; }
.wiz-note div { font-size: 13.5px; line-height: 1.6; color: #4b5563; }
.wiz-note b { color: var(--text); font-weight: 600; }

.wiz-text { width: 100%; margin-top: 26px; border: none; border-bottom: 2px solid var(--border); background: transparent; font-family: inherit; font-size: 22px; font-weight: 500; color: var(--text); padding: 10px 2px; outline: none; transition: border-color .2s var(--ease-out); }
.wiz-text::placeholder { color: var(--faint); font-weight: 400; }
.wiz-text:focus { border-color: var(--green); }
.wiz-area { resize: none; min-height: 96px; border: 2px solid var(--border); border-radius: 14px; padding: 14px 16px; font-size: 18px; font-weight: 400; }
.wiz-num { max-width: 190px; }

.wiz-opts { display: flex; flex-direction: column; gap: 11px; margin-top: 28px; }
.wiz-opt { display: flex; align-items: center; gap: 14px; text-align: left; padding: 15px 16px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--card); cursor: pointer; transition: all .16s var(--ease-out); font-family: inherit; }
.wiz-opt:hover { border-color: var(--green); background: var(--green-soft); transform: translateY(-1px); }
.wiz-opt.active { border-color: var(--green); background: var(--green-soft); }
.wiz-key { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--border); background: var(--card-2); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--muted); flex: none; }
.wiz-opt:hover .wiz-key, .wiz-opt.active .wiz-key { border-color: var(--green); color: var(--green-strong); background: #fff; }
.wiz-key-ico svg { width: 17px; height: 17px; display: block; }
/* brand-colored logo chip (platforms, Discord, Telegram) — keeps its brand color when active */
.wiz-logo { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; flex: none; overflow: hidden; }
.wiz-logo img { display: block; }
.wiz-opt-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.wiz-opt-label { font-size: 16px; font-weight: 600; color: var(--text); }
.wiz-opt-desc { font-size: 13px; color: var(--muted); }
.wiz-tick { margin-left: auto; color: var(--green-strong); font-weight: 700; opacity: 0; transition: opacity .15s; }
.wiz-opt.active .wiz-tick { opacity: 1; }

.wiz-file { display: flex; align-items: center; gap: 13px; margin-top: 26px; padding: 18px; border: 2px dashed var(--border); border-radius: 14px; cursor: pointer; transition: all .18s var(--ease-out); }
.wiz-file:hover { border-color: var(--green); background: var(--green-soft); }
.wiz-file-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--green-soft); color: var(--green-strong); display: grid; place-items: center; font-size: 17px; flex: none; }
.wiz-file-text { font-size: 15px; font-weight: 500; color: var(--text); word-break: break-word; }
.wiz-discord { margin-top: 24px; }
.wiz-discord .field { margin: 0; }

.wiz-review { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.wiz-rev-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.wiz-rev-l { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); width: 88px; flex: none; padding-top: 2px; }
.wiz-rev-v { flex: 1; font-size: 15px; color: var(--text); line-height: 1.45; word-break: break-word; min-width: 0; }
.wiz-rev-sub { color: var(--muted); font-size: 13px; }
.wiz-rev-edit { flex: none; border: none; background: none; color: var(--green-strong); font-family: inherit; font-weight: 600; font-size: 13px; cursor: pointer; padding: 2px 4px; }
.wiz-rev-edit:hover { text-decoration: underline; }

.wiz-adv { margin-top: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 0 16px; }
.wiz-adv > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); padding: 15px 0; list-style: none; display: flex; align-items: center; gap: 8px; }
.wiz-adv > summary::-webkit-details-marker { display: none; }
.wiz-adv-ico { width: 15px; height: 15px; flex: none; }

/* inline SVG icon sizing (replaced the old emoji glyphs) */
.wiz-tick { display: grid; place-items: center; }
.wiz-tick svg { width: 18px; height: 18px; }
.wiz-file-ico svg { width: 20px; height: 20px; display: block; }
.wiz-note-ico svg { width: 16px; height: 16px; display: block; }
.wiz-refresh svg { width: 15px; height: 15px; display: block; }
#new-campaign-btn .plus { display: inline-flex; align-items: center; }
#new-campaign-btn .plus svg { width: 15px; height: 15px; display: block; }
.wiz-exit svg { width: 16px; height: 16px; }
.btn-ico { width: 15px; height: 15px; vertical-align: -3px; margin-right: 2px; }
.state svg { width: 15px; height: 15px; display: block; }
.badge-ico { width: 13px; height: 13px; flex: none; }
.shot-mark svg { width: 13px; height: 13px; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.7)); }
.wiz-adv[open] > summary { color: var(--text); border-bottom: 1px solid var(--border); }
.wiz-adv-body { padding: 16px 0; display: flex; flex-direction: column; gap: 18px; }
.wiz-adv-task { display: flex; flex-direction: column; gap: 12px; }
.wiz-adv-name { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.wiz-adv-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text); }
.wiz-adv-row span { flex: 1; }
.wiz-adv-row input { width: 76px; border: 1.5px solid var(--border); border-radius: 9px; padding: 8px 10px; font-family: inherit; font-size: 14px; text-align: center; color: var(--text); background: #fff; flex: none; }
.wiz-adv-row input:focus { border-color: var(--green); outline: none; }
.wiz-adv-row.full { flex-direction: column; align-items: stretch; gap: 7px; }
.wiz-adv-row.full input { width: 100%; text-align: left; }

.wiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); position: sticky; bottom: 0; background: var(--bg); }
.wiz-back { display: inline-flex; align-items: center; gap: 6px; border: none; background: none; color: var(--muted); font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; padding: 8px; }
.wiz-back svg { width: 16px; height: 16px; }
.wiz-back:hover { color: var(--text); }
.wiz-foot-right { display: flex; align-items: center; gap: 14px; }
.wiz-next { display: inline-flex; align-items: center; gap: 8px; border: none; border-radius: 999px; background: var(--green); color: var(--green-ink); font-family: inherit; font-weight: 600; font-size: 15px; padding: 12px 24px; cursor: pointer; transition: all .18s var(--ease-out); }
.wiz-next:hover { background: var(--green-strong); transform: translateY(-1px); box-shadow: 0 10px 22px -10px var(--green); }
.wiz-next.go { background: var(--green-strong); }
.wiz-enter { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 5px; background: rgba(255,255,255,0.22); font-size: 11px; }
.wiz-enterhint { font-size: 12.5px; color: var(--faint); }
.wiz-enterhint b { color: var(--muted); font-weight: 600; }

@media (max-width: 680px) {
  .wiz { min-height: calc(100vh - 120px); }
  .wiz-enterhint { display: none !important; }
  .wiz-rev-row { flex-wrap: wrap; }
}

/* ============ split-screen auth gate (vidform-style) ============ */
.auth-split { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-left { display: flex; align-items: center; justify-content: center; padding: 40px 24px; overflow: auto; }
.auth-card { width: 100%; max-width: 372px; text-align: center; animation: reveal .5s var(--ease-spring) both; }
.auth-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: #1d1d1f; text-decoration: none; margin-bottom: 30px; }
.auth-logo img { width: 24px; height: 24px; display: block; }
.auth-title { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; color: #1d1d1f; margin: 0; }
.auth-sub { font-size: 15px; color: #6e6e73; margin: 8px 0 28px; line-height: 1.5; }
.auth-oauth { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 16px; margin-bottom: 11px; border: 1px solid #dcdfe4; border-radius: 10px; background: #fff; color: #1d1d1f; font-family: inherit; font-size: 14.5px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.auth-oauth:hover { background: #fafafa; border-color: #c7ccd4; }
.auth-oauth:last-child { margin-bottom: 0; }
.auth-oauth img, .auth-oauth svg { display: block; }
.auth-terms { font-size: 12px; color: #9a9aa2; line-height: 1.5; margin: 15px 0 0; }
.auth-terms a { color: #6e6e73; text-decoration: underline; }
.auth-terms a:hover { color: #1d1d1f; }
.auth-back { width: 100%; margin-top: 12px; background: none; border: none; color: #6e6e73; font-family: inherit; font-size: 13px; cursor: pointer; }
.auth-back:hover { color: #1d1d1f; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #9a9aa2; font-size: 12.5px; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: #ededf0; }
.auth-form { text-align: left; }
.auth-form .field { margin-bottom: 14px; }
.auth-form label { display: block; font-size: 13px; font-weight: 500; color: #44474d; margin-bottom: 6px; }
.auth-form input { width: 100%; padding: 11px 13px; border: 1px solid #dcdfe4; border-radius: 10px; font-family: inherit; font-size: 14.5px; color: #1d1d1f; background: #fff; transition: border-color .15s; }
.auth-form input::placeholder { color: #9a9aa2; }
.auth-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(59,130,246,0.12); }
.auth-submit { width: 100%; padding: 12px 16px; border: none; border-radius: 10px; background: var(--green); color: #fff; font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .15s; margin-top: 4px; }
.auth-submit:hover { background: var(--green-strong); }
.auth-submit.ghost { background: #fff; color: #1d1d1f; border: 1px solid #dcdfe4; }
.auth-submit.ghost:hover { background: #fafafa; }
.auth-toggle { font-size: 13.5px; color: #6e6e73; margin: 18px 0 0; }
.auth-toggle a { color: var(--green-strong); font-weight: 600; text-decoration: none; }
.auth-toggle a:hover { text-decoration: underline; }
.auth-owner { margin-top: 20px; text-align: left; border-top: 1px solid #ededf0; padding-top: 16px; }
.auth-owner summary { cursor: pointer; font-size: 13px; color: #6e6e73; list-style: none; }
.auth-owner summary::-webkit-details-marker { display: none; }
.auth-owner summary:hover { color: #1d1d1f; }
.auth-foot { margin-top: 22px; font-size: 12px; }
.auth-foot a { color: #9a9aa2; text-decoration: none; }
.auth-foot a:hover { color: #6e6e73; }

.auth-right { position: relative; overflow: hidden; display: flex; align-items: center; padding: 56px; background: linear-gradient(152deg, #60a5fa 0%, #3b82f6 44%, #1e40af 100%); }
.auth-right::before { content: ''; position: absolute; inset: -12% -8%; filter: blur(38px); background: repeating-linear-gradient(90deg, #1d4ed8 0%, #3b82f6 9%, #93c5fd 16%, #eff6ff 21%, #60a5fa 28%, #2563eb 38%, #1e40af 46%); pointer-events: none; }
.auth-right::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,27,74,0.05), rgba(11,27,74,0.45)); pointer-events: none; }
.auth-right-inner { position: relative; z-index: 1; color: #fff; animation: reveal .6s var(--ease-spring) .1s both; }
.auth-right-inner h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
.auth-right-inner p { font-size: 16.5px; line-height: 1.5; color: rgba(255,255,255,0.9); margin: 22px 0 0; max-width: 38ch; }

@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-right { display: none; }
}

/* ============ vidform-style polish pass (type weights, wordmark, backdrops) ============ */
.logo, .side-logo, .auth-logo { font-weight: 600; letter-spacing: -0.03em; }
.logo { font-size: 19px; gap: 9px; }
.logo-mark { border-radius: 6px; }
.hero h1, .page-head h1, .unlock-card h1, .section-title, .card h2, .prose h1 { font-weight: 600; letter-spacing: -0.03em; }
.kpi .k-num, .stat .num, .funnel .fstep .fn, .pc-stat .n { font-weight: 600; letter-spacing: -0.03em; }
.campaign-item .name, .ac-name, .sub-item .who, .setting-row .s-body b, .task-row .num-line .n { font-weight: 600; }
.unlock-progress .count, .unlock-btn, .action-btn, .discord-cta { font-weight: 600; }
.btn { border-radius: 8px; font-weight: 500; }
.btn.small { border-radius: 8px; }
.btn.ghost, .btn.light { font-weight: 500; }
.badge { font-weight: 600; letter-spacing: 0.03em; }
.back { display: inline-flex; align-items: center; gap: 4px; }
.back svg { width: 15px; height: 15px; }
.kpi, .analytics-card, .campaign-item, .card { border-radius: 16px; }
.side-nav a { border-radius: 8px; }
.side-nav a.active { background: var(--card-2); color: var(--text); font-weight: 500; }
.side-nav a.active svg { color: var(--green-strong); }
.app-top { background: rgba(255,255,255,0.8); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }
.app-search { border-radius: 8px; background: var(--card-2); border-color: transparent; }
.app-search:focus-within { background: #fff; border-color: var(--green); box-shadow: 0 0 0 3px rgba(59,130,246,0.14); }

/* participant page: soft blue streak backdrop behind the unlock card */
.soft-bg { position: relative; }
.soft-bg::before { content: ''; position: fixed; inset: -10% -8% auto -8%; height: 78vh; z-index: 0; pointer-events: none; filter: blur(42px); opacity: .55;
  background: repeating-linear-gradient(90deg, #2563eb 0%, #60a5fa 6%, #dbeafe 11%, #eff6ff 14%, #93c5fd 19%, #3b82f6 25%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, transparent 100%); }
.soft-bg .unlock-card { border-radius: 22px; border-color: transparent; box-shadow: 0 0 0 1px rgba(15,23,42,0.05), 0 30px 70px -28px rgba(11,27,74,0.4); }
.soft-bg .action-btn { border-radius: 14px; }
.soft-bg .unlock-btn { border-radius: 14px; }
.soft-bg .brand-footer { opacity: .75; }

.msg:empty { display: none !important; }

/* full-colour platform app icons: one size, one corner radius */
.plat-logo { display: block; flex: none; border-radius: 27%; object-fit: cover; }
.task-item .plat-logo { width: 30px; height: 30px; }
.wiz-logo .plat-logo { width: 28px; height: 28px; }

/* Next button: greyed until the step has an answer */
.wiz-next.dim, .wiz-next.dim:hover { background: #e9eaee; color: #a3a6ad; box-shadow: none; transform: none; cursor: not-allowed; }

/* search-phrase step: looks like the platform's own search bar */
.wiz-search { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 9px 9px 9px 14px; background: #fff; border: 1.5px solid var(--border-hover); border-radius: 999px; box-shadow: 0 10px 30px -14px rgba(15,23,42,0.22); cursor: text; transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out); animation: reveal .5s var(--ease-spring) .13s both; }
.wiz-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(59,130,246,0.14), 0 10px 30px -14px rgba(15,23,42,0.22); }
.wiz-search-input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font: inherit; font-size: 19px; font-weight: 500; color: var(--text); padding: 6px 0; }
.wiz-search-input::placeholder { color: var(--faint); font-weight: 400; }
.wiz-search-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; flex: none; }
.wiz-search-btn svg { width: 18px; height: 18px; }
.wiz-search-cap { margin: 12px 0 0 16px; font-size: 13px; color: var(--muted); animation: reveal .5s var(--ease-spring) .2s both; }

/* comment step: mock comment section that mirrors what the creator types */
.wiz-cmt { margin-top: 22px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 6px 16px 8px; box-shadow: 0 10px 30px -18px rgba(15,23,42,0.22); animation: reveal .5s var(--ease-spring) .18s both; }
.wiz-cmt-head { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.wiz-cmt-head b { font-weight: 600; }
.wiz-cmt-head span { margin-left: auto; font-size: 12.5px; color: var(--faint); }
.wiz-cmt-row { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; }
.wiz-cmt-av { width: 32px; height: 32px; border-radius: 50%; background: var(--card-2); flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; }
.wiz-cmt-row.me { margin: 0 -8px; padding: 11px 8px; background: var(--green-soft); border-radius: 12px; }
.wiz-cmt-row.me .wiz-cmt-av { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.wiz-cmt-body { flex: 1; min-width: 0; }
.wiz-cmt-body b { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.wiz-cmt-body b em { font-style: normal; font-weight: 400; color: var(--green-strong); font-size: 12px; margin-left: 6px; }
.wiz-cmt-body p { margin: 2px 0 3px; font-size: 14.5px; line-height: 1.4; color: var(--text); min-height: 1.4em; word-break: break-word; }
.wiz-cmt-body small { font-size: 12px; color: var(--faint); }
.wiz-cmt-row.sk .wiz-cmt-body i { display: block; height: 9px; border-radius: 99px; background: var(--card-2); margin: 4px 0 8px; }
.wiz-cmt-heart { width: 16px; height: 16px; color: var(--faint); flex: none; margin-top: 8px; }

.wiz-adv-row textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 9px; padding: 9px 11px; font-family: inherit; font-size: 14px; color: var(--text); background: #fff; resize: vertical; }
.wiz-adv-row textarea:focus { border-color: var(--green); outline: none; }

.wiz-logos { display: inline-flex; flex: none; }
.wiz-logos .plat-logo + .plat-logo { margin-left: -8px; box-shadow: 0 0 0 2px #fff; }

/* ============ one button/shape language: rounded rectangles (matches the landing CTA) ============ */
.wiz-next { border-radius: 10px; background: #0a0a0b; color: #fff; font-weight: 500; font-size: 15.5px; height: 44px; padding: 0 18px 0 20px; gap: 6px; }
.wiz-next:hover { background: #26262a; transform: none; box-shadow: none; }
.wiz-next.go { background: #0a0a0b; }
.wiz-next.go:hover { background: #26262a; }
.wiz-next svg { width: 15px; height: 15px; flex: none; }
.wiz-exit { border-radius: 9px; }
.wiz-search { border-radius: 14px; padding: 8px 8px 8px 14px; }
.wiz-search-btn { border-radius: 9px; width: 40px; height: 40px; }
.share input, .join-inline input { border-radius: 10px; }
input[type="file"]::file-selector-button { border-radius: 8px; }
.role-chip { border-radius: 8px; }
.badge { border-radius: 6px; }
.btn.cta, .unlock-btn, .action-btn, .soft-bg .action-btn, .soft-bg .unlock-btn { border-radius: 12px; }
.wiz-opt, .wiz-file, .wiz-rev-row, .wiz-adv, .wiz-area { border-radius: 12px; }

/* comment step: five example comments, labelled as AI-generated */
.wiz-cmt-head .wiz-cmt-ai { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--green-strong); background: var(--green-soft); border-radius: 6px; padding: 4px 8px; }
.wiz-cmt-ai svg { width: 13px; height: 13px; }
.wiz-cmt-row { padding: 9px 0; }
.wiz-cmt-row + .wiz-cmt-row { border-top: 1px solid var(--border-soft); }
.wiz-cmt-body p { font-size: 14px; margin: 1px 0 0; }
.wiz-cmt-foot { border-top: 1px solid var(--border-soft); padding: 9px 0 4px; font-size: 12px; color: var(--faint); }
.wiz-cmt-head .wiz-logos { margin-left: 0; }

/* comment step v3: social-app style comment sheet, light mode */
.wiz-cmt { padding: 0; overflow: hidden; border-radius: 16px; }
.wiz-cmt-head { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.wiz-cmt-list { padding: 8px 16px 4px; }
.wiz-cmt-row, .wiz-cmt-row + .wiz-cmt-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: none; }
.wiz-cmt-av { width: 36px; height: 36px; font-size: 14px; }
.wiz-cmt-body p { margin: 0; font-size: 14.5px; line-height: 1.38; color: var(--text); }
.wiz-cmt-body p b { display: inline; font-size: 14.5px; font-weight: 600; margin-right: 3px; }
.wiz-cmt-meta { display: flex; gap: 14px; margin-top: 6px; font-size: 12.5px; font-weight: 500; color: #8a8d93; }
.wiz-cmt-replies { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 12.5px; font-weight: 500; color: #8a8d93; }
.wiz-cmt-replies i { width: 26px; height: 1px; background: #c9ccd2; }
.wiz-cmt-heart { width: 14px; height: 14px; color: #8a8d93; margin-top: 6px; }
.wiz-cmt-actions { display: flex; align-items: center; gap: 16px; padding: 12px 16px 8px; border-top: 1px solid var(--border); color: var(--text); }
.wiz-cmt-actions svg { width: 23px; height: 23px; flex: none; }
.wiz-cmt-actions .wiz-cmt-save { margin-left: auto; }
.wiz-cmt-likes { padding: 0 16px 12px; }
.wiz-cmt-likes b { display: block; font-size: 14.5px; font-weight: 600; }
.wiz-cmt-likes span { font-size: 12px; color: #8a8d93; }
.wiz-cmt-add { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 14.5px; color: #8a8d93; }
.wiz-cmt-add svg { width: 24px; height: 24px; color: var(--text); flex: none; }
.wiz-cmt-add span { flex: 1; }
.wiz-cmt-add b { font-weight: 600; color: #a9c5fb; }
.wiz-cmt-foot { border-top: none; padding: 10px 4px 0; }

.wiz-restart { border: none; background: none; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--muted); cursor: pointer; padding: 6px 4px; border-radius: 6px; flex: none; }
.wiz-restart:hover { color: var(--text); text-decoration: underline; }

/* ---- no layout jump on refresh ---- */
html.wiz-open #dash-overview, html.wiz-open .app-content .dash-head, html.wiz-open #campaign-list, html.wiz-open #owner-settings, html.wiz-open #new-campaign-btn, html.wiz-open #banners { display: none !important; }
html.wiz-open #builder { display: block !important; }
.wiz-mode #banners { display: none; }
#dash-overview:empty { min-height: 260px; }

/* wizard controls live in the top bar; progress is a thin line under it */
.wiz-ctl { display: none; align-items: center; gap: 12px; }
.app-top > .wiz-progress { display: none; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 0; background: transparent; flex: none; }
.app-top > .wiz-progress i { border-radius: 0 3px 3px 0; }
.wiz-mode .wiz-ctl, html.wiz-open .wiz-ctl { display: flex; }
.wiz-mode .app-top > .wiz-progress, html.wiz-open .app-top > .wiz-progress { display: block; }
.wiz-mode .app-search, html.wiz-open .app-search { visibility: hidden; }
.wiz-mode .app-content, html.wiz-open .app-content { padding-top: 8px; }
.wiz { min-height: calc(100vh - 120px); }
.wiz-count { min-width: 0; }
@media (max-width: 680px) { .wiz { min-height: calc(100vh - 100px); } .wiz-mode .app-search { display: none; } }

/* slim "generated by AI" box sitting on top of the comment card */
.wiz-cmt-aibar { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 22px; padding: 7px 12px; font-size: 12.5px; font-weight: 500; color: var(--green-strong); background: var(--green-soft); border: 1px solid #dbe6ff; border-radius: 10px; animation: reveal .5s var(--ease-spring) .15s both; }
.wiz-cmt-aibar svg { width: 13px; height: 13px; flex: none; }
.wiz-cmt.wiz-cmt-joined { margin-top: 8px; }
.wiz-mode .app-content, html.wiz-open .app-content { padding-top: 26px; }

/* ============ wizard: combined search + comment step with live simulation ============ */
.wiz.wiz-wide { max-width: 940px; }
.wiz-wide .wiz-stage { justify-content: flex-start; padding-top: 0; }
.sim-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; animation: reveal .5s var(--ease-spring) .1s both; }
.sim-field > span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.sim-field > span svg { width: 13px; height: 13px; }
.sim-field .wiz-text { margin-top: 2px; font-size: 18px; padding: 8px 2px; }

.sim { margin-top: 20px; border: 1px solid var(--border); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(15,23,42,0.3); animation: reveal .55s var(--ease-spring) .18s both; }
.sim-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: #fbfbfc; }
.sim-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 13px; background: #f1f2f4; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.sim-search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.sim-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim-search span.ph { color: var(--faint); font-weight: 400; }
.sim-search i { width: 1.5px; height: 17px; background: var(--green); margin-left: -6px; animation: tk-caret 1s steps(1) infinite; flex: none; }
@keyframes tk-caret { 50% { opacity: 0; } }
.sim-bar > b { font-size: 14px; font-weight: 600; color: #e11d48; flex: none; }
.sim-body { display: grid; grid-template-columns: 236px 1fr; height: 392px; }

.sim-video { position: relative; margin: 12px 0 12px 12px; border-radius: 14px; overflow: hidden; background: #0e1016; color: #fff; }
.sim-video-art { position: absolute; inset: 0; background: linear-gradient(160deg, #1e3a8a, #111827 55%, #0b1020); }
.sim-video-art span { position: absolute; border-radius: 50%; filter: blur(26px); opacity: .75; animation: sim-float 9s ease-in-out infinite alternate; }
.sim-video-art span:nth-child(1) { width: 150px; height: 150px; left: -30px; top: 30px; background: #3b82f6; }
.sim-video-art span:nth-child(2) { width: 130px; height: 130px; right: -40px; top: 130px; background: #a855f7; animation-delay: -3s; }
.sim-video-art span:nth-child(3) { width: 120px; height: 120px; left: 30px; bottom: -10px; background: #f97316; animation-delay: -6s; }
@keyframes sim-float { to { transform: translate(18px, -26px) scale(1.15); } }
.sim-play { position: absolute; left: 50%; top: 44%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(6px); display: grid; place-items: center; }
.sim-play svg { width: 20px; height: 20px; margin-left: 3px; }
.sim-video-side { position: absolute; right: 8px; bottom: 74px; display: flex; flex-direction: column; gap: 13px; align-items: center; }
.sim-video-side span { display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: .9; }
.sim-video-side svg { width: 22px; height: 22px; }
.sim-video-side small { font-size: 10px; font-weight: 600; }
.sim-video-side span.on svg { fill: #fff; }
.sim-video-cap { position: absolute; left: 12px; right: 46px; bottom: 16px; }
.sim-video-cap b { font-size: 12.5px; font-weight: 600; }
.sim-video-cap p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.3; opacity: .92; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.sim-video-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.25); }
.sim-video-prog i { display: block; height: 100%; background: #fff; animation: sim-prog 12s linear infinite; }
@keyframes sim-prog { from { width: 0; } to { width: 100%; } }

.sim-side { display: flex; flex-direction: column; min-width: 0; }
.sim-side-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px 8px; font-size: 14.5px; }
.sim-side-head b { font-weight: 600; }
.sim-ai { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--green-strong); background: var(--green-soft); border: 1px solid #dbe6ff; border-radius: 7px; padding: 3px 8px; }
.sim-ai svg { width: 12px; height: 12px; }
.sim-cmts { flex: 1; min-height: 0; overflow: hidden; padding: 0 16px; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.sim-cmts .wiz-cmt-row { padding: 8px 0; }
.sim-cmts .wiz-cmt-av { width: 30px; height: 30px; font-size: 12.5px; }
.sim-cmts .wiz-cmt-body p, .sim-cmts .wiz-cmt-body p b { font-size: 13.5px; }
.sim-cmts .wiz-cmt-meta { margin-top: 4px; font-size: 11.5px; }
.sim-sk i { display: block; height: 8px; border-radius: 99px; margin: 6px 0; background: linear-gradient(90deg, var(--card-2) 25%, #e9ebef 50%, var(--card-2) 75%); background-size: 200% 100%; animation: sim-shim 1.6s linear infinite; }
@keyframes sim-shim { to { background-position: -200% 0; } }
.sim-note { font-size: 12px; color: var(--green-strong); padding: 4px 0 10px 42px; }
.sim-side .wiz-cmt-add { padding: 10px 16px; font-size: 13.5px; }
.sim-side .wiz-cmt-add svg { width: 21px; height: 21px; }

.sim-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 12.5px; color: var(--faint); }
.sim-alt { border: none; background: none; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--muted); cursor: pointer; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; flex: none; }
.sim-alt:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .sim-video-art span, .sim-video-prog i, .sim-sk i, .sim-search i { animation: none; } }
@media (max-width: 720px) {
  .sim-fields { grid-template-columns: 1fr; gap: 14px; }
  .sim-body { grid-template-columns: 1fr; height: auto; }
  .sim-video { height: 260px; margin: 12px; }
  .sim-cmts { max-height: 280px; }
  .sim-foot { flex-direction: column; align-items: flex-start; }
}

/* simulation fills the remaining height of the screen */
.sim-body { grid-template-columns: auto 1fr; height: clamp(300px, calc(100vh - 452px), 640px); }
.sim-video { height: calc(100% - 24px); aspect-ratio: 9 / 16; }
.wiz-wide .wiz-stage { padding-bottom: 16px; }
.wiz-sub .sim-alt { font-size: inherit; padding: 0; margin-left: 2px; }
@media (max-width: 720px) { .sim-body { grid-template-columns: 1fr; height: auto; } .sim-video { height: 260px; aspect-ratio: auto; } }
.sim-body { --simh: clamp(300px, calc(100vh - 452px), 640px); height: var(--simh); grid-template-columns: calc((var(--simh) - 24px) * 0.5625 + 12px) 1fr; }
.sim-video { height: auto; aspect-ratio: auto; }
@media (max-width: 720px) { .sim-body { grid-template-columns: 1fr; height: auto; } .sim-video { height: 260px; } }
.sim-body { grid-template-rows: minmax(0, 1fr); }
.sim-side { min-height: 0; overflow: hidden; }
.sim-video { min-height: 0; }
.wiz-mode .app-content, html.wiz-open .app-content { padding-bottom: 0; }
.wiz { min-height: calc(100vh - 94px); }
.sim-side-head .sim-ai { margin-left: 2px; }

/* comments enter one by one */
@keyframes sim-cmt-in { from { opacity: 0; transform: translateY(10px) scale(0.985); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
.sim-cmts .wiz-cmt-row, .sim-cmts .sim-note { animation: sim-cmt-in .5s var(--ease-spring) both; }
.sim-cmts .wiz-cmt-row:nth-child(1) { animation-delay: .32s; }
.sim-cmts .wiz-cmt-row:nth-child(2) { animation-delay: .44s; }
.sim-cmts .wiz-cmt-row:nth-child(3) { animation-delay: .56s; }
.sim-cmts .wiz-cmt-row:nth-child(4) { animation-delay: .68s; }
.sim-cmts .wiz-cmt-row:nth-child(5) { animation-delay: .80s; }
.sim-cmts .sim-note { animation-delay: .92s; }
.sim-cmts[data-mode="typed"] .wiz-cmt-row:nth-child(1) { animation-delay: 0s; }
.sim-cmts[data-mode="typed"] .wiz-cmt-row:nth-child(2) { animation-delay: .10s; }
.sim-cmts[data-mode="typed"] .wiz-cmt-row:nth-child(3) { animation-delay: .20s; }
.sim-cmts[data-mode="typed"] .wiz-cmt-row:nth-child(4) { animation-delay: .30s; }
.sim-cmts[data-mode="typed"] .wiz-cmt-row:nth-child(5) { animation-delay: .40s; }
.sim-cmts[data-mode="typed"] .sim-note { animation-delay: .5s; }
@media (prefers-reduced-motion: reduce) { .sim-cmts .wiz-cmt-row, .sim-cmts .sim-note { animation: none; } }

/* option that isn't available yet */
.wiz-opt.soon { cursor: default; }
.wiz-opt.soon:hover { border-color: var(--border); background: #fff; transform: none; box-shadow: none; }
.wiz-opt.soon .wiz-logo, .wiz-opt.soon .wiz-opt-label, .wiz-opt.soon .wiz-opt-desc { opacity: .55; }
.wiz-opt.soon .wiz-tick { display: none; }
.wiz-soon { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--card-2); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; vertical-align: 1px; }
.wiz-opt.soon .wiz-opt-label .wiz-soon { opacity: 1; }

/* ============ wizard v2: quieter, flatter, less templated ============ */
/* motion: one short fade, no blur, no per-item cascade */
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wiz-anim > .wiz-q, .wiz-anim > .wiz-sub, .wiz-anim > .wiz-text, .wiz-anim > .wiz-file, .wiz-anim > .wiz-review, .wiz-anim > .wiz-discord, .wiz-anim > .wiz-adv, .wiz-anim > .wiz-note, .wiz-anim > .wiz-opts { animation: reveal .28s ease-out both; animation-delay: 0s; }
.wiz-anim > .wiz-opts, .wiz-anim > .wiz-text, .wiz-anim > .wiz-review { animation-delay: .05s; }
.wiz-opts .wiz-opt { animation: none; }

/* question sits at a fixed spot near the top instead of floating mid-screen */
.wiz-stage { justify-content: flex-start; padding-top: clamp(20px, 9vh, 96px); }
.wiz-wide .wiz-stage { padding-top: 0; }
.wiz-q { font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.85rem); letter-spacing: -0.022em; line-height: 1.2; }
.wiz-sub { font-size: 15px; margin-top: 8px; }

/* options: one grouped list with hairlines, not a stack of cards */
.wiz-opts { gap: 0; margin-top: 24px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.wiz-opt { border: 0; border-radius: 0; background: transparent; padding: 14px 16px; gap: 13px; transition: background .12s; }
.wiz-opt + .wiz-opt { border-top: 1px solid var(--border); }
.wiz-opt:hover { background: #f6f6f7; transform: none; border-color: var(--border); }
.wiz-opt.active { background: #f6f6f7; border-color: var(--border); }
.wiz-opt-label { font-size: 15.5px; font-weight: 500; }
.wiz-opt-desc { font-size: 13.5px; }
/* bare line icons, no chip */
.wiz-opt .wiz-key, .wiz-opt:hover .wiz-key, .wiz-opt.active .wiz-key { width: 22px; height: 22px; border: 0; background: none; color: var(--text); border-radius: 0; }
.wiz-key-ico svg { width: 20px; height: 20px; stroke-width: 1.75; }
.wiz-logo, .wiz-logo .plat-logo { width: 26px; height: 26px; }
/* a real radio / checkbox on the right instead of a tick that pops in */
.wiz-tick { opacity: 1; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c9c9cf; color: transparent; flex: none; transition: background .12s, border-color .12s; }
.wiz-opt.wiz-multi .wiz-tick { border-radius: 5px; }
.wiz-tick svg { width: 12px; height: 12px; stroke-width: 3; }
.wiz-opt.active .wiz-tick { background: #0a0a0b; border-color: #0a0a0b; color: #fff; }
.wiz-opt.soon:hover { background: transparent; }
.wiz-opt.soon .wiz-key { opacity: .5; }

/* text fields: a plain bordered field, black focus */
.wiz-text { margin-top: 22px; border: 1px solid #d5d5da; border-radius: 10px; background: #fff; font-size: 17px; font-weight: 400; padding: 12px 14px; transition: border-color .12s, box-shadow .12s; }
.wiz-text:focus { border-color: #0a0a0b; box-shadow: 0 0 0 3px rgba(10,10,11,0.08); }
.sim-field .wiz-text { margin-top: 6px; font-size: 16px; padding: 10px 12px; }
.sim-field > span { font-weight: 500; color: var(--text); }
.sim-field > span svg { display: none; }
.wiz-area { border-width: 1px; border-color: #d5d5da; border-radius: 10px; font-size: 16px; }
.wiz-area:focus, .wiz-adv-row input:focus, .wiz-adv-row textarea:focus { border-color: #0a0a0b; }
.wiz-adv-row input, .wiz-adv-row textarea { border-width: 1px; border-color: #d5d5da; }
.wiz-search { border-width: 1px; }
.wiz-file { border: 1px dashed #c9c9cf; }
.wiz-file:hover { border-color: #0a0a0b; background: #f6f6f7; }
.wiz-file-ico { background: none; color: var(--text); width: 24px; height: 24px; }

/* review: one grouped list as well */
.wiz-review { gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.wiz-rev-row { border: 0; border-radius: 0; background: transparent; }
.wiz-rev-row + .wiz-rev-row { border-top: 1px solid var(--border); }
.wiz-rev-l, .wiz-adv-name { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; }
.wiz-rev-edit { color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.wiz-adv { border-radius: 12px; }

/* simulation: drop the glow and the blue "AI" pill */
.sim { box-shadow: none; border-radius: 14px; }
.sim-ai { color: var(--muted); background: none; border: 0; padding: 0; font-weight: 400; font-size: 12.5px; }
.sim-ai svg { display: none; }
.sim-ai::before { content: "·"; margin-right: 6px; }
.sim-note { color: var(--muted); }
.sim-search i { background: var(--text); }
.wiz-back { font-weight: 500; }

/* no browser spinner arrows on number fields */
.wiz input[type=number]::-webkit-outer-spin-button, .wiz input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wiz input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.wiz-num { max-width: 110px; }

/* real clip in the simulation */
.sim-video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sim-video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55)); pointer-events: none; }
.sim-video-side, .sim-video-cap { text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.sim-video-prog i { animation-duration: 9.87s; }

.wiz-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; color: #fff; background: #0a0a0b; border-radius: 6px; padding: 2px 7px; vertical-align: 1px; }

/* "Generated by AI": glowing pill with the sparkle */
.sim-ai { position: relative; display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding: 4px 10px 4px 8px; font-size: 12px; font-weight: 600; color: #fff; border: 0; border-radius: 999px; background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6); background-size: 300% 100%; animation: sim-ai-flow 5s linear infinite; box-shadow: 0 0 0 1px rgba(255,255,255,0.25) inset, 0 2px 14px rgba(139,92,246,0.5), 0 0 22px rgba(59,130,246,0.35); }
.sim-ai::before { content: none; }
.sim-ai svg { display: block; width: 12px; height: 12px; fill: currentColor; animation: sim-ai-twinkle 2.2s ease-in-out infinite; }
@keyframes sim-ai-flow { to { background-position: -300% 0; } }
@keyframes sim-ai-twinkle { 50% { transform: scale(0.8) rotate(12deg); opacity: .75; } }
@media (prefers-reduced-motion: reduce) { .sim-ai, .sim-ai svg { animation: none; } }

/* "Generated by AI": Everygen-style glossy button, in purple */
.sim-ai { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; height: 26px; margin-left: 6px; padding: 0 10px 0 8px; font-size: 12.5px; font-weight: 500; color: #fff; border: 0; border-radius: 8px; animation: none;
  background: linear-gradient(rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 22%), radial-gradient(120% 90% at 30% 0%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 55%), linear-gradient(0deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 30%), linear-gradient(rgb(91,33,214) 0%, rgb(147,92,255) 100%);
  box-shadow: inset 0 -1.5px 2px 0 rgba(214,190,255,0.85), inset 0 0 10px 0 rgba(147,92,255,0.85), inset 0 0 8px 0 rgba(147,92,255,0.85), 0 2px 6px 0 rgba(160,117,255,0.12); }
.sim-ai::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .15s cubic-bezier(0.25, 1, 0.5, 1); margin: 0;
  background: linear-gradient(rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 24%), radial-gradient(120% 95% at 30% 0%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 58%), linear-gradient(0deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 32%), linear-gradient(rgb(104,48,235) 9%, rgb(170,120,255) 100%); }
.sim-ai:hover::before { opacity: 1; }
.sim-ai svg { display: block; width: 13px; height: 13px; fill: currentColor; animation: none; }

/* calmer focus on text fields: no ring, just a slightly darker border */
.wiz-text:focus, .wiz-area:focus, .wiz-adv-row input:focus, .wiz-adv-row textarea:focus { border-color: #a1a1aa; box-shadow: none; outline: none; }

/* "Generated by AI": purple fading to a lighter pink, with soft effects */
.sim-ai { background: linear-gradient(rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 26%), radial-gradient(120% 90% at 30% 0%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 55%), linear-gradient(0deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 30%), linear-gradient(100deg, rgb(104,48,235) 0%, rgb(158,96,250) 52%, rgb(240,150,214) 100%);
  box-shadow: inset 0 -1.5px 2px 0 rgba(255,214,240,0.7), inset 0 0 8px 0 rgba(190,130,255,0.55), 0 1px 2px rgba(104,48,235,0.18), 0 4px 14px -4px rgba(214,120,220,0.45); }
.sim-ai::before { background: linear-gradient(rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 26%), linear-gradient(100deg, rgb(120,66,242) 0%, rgb(176,116,252) 52%, rgb(246,170,224) 100%); }
/* a soft sheen that drifts across every few seconds */
.sim-ai::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 34%; z-index: -1; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,0.32), rgba(255,255,255,0)); filter: blur(3px); animation: sim-ai-sheen 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes sim-ai-sheen { 0%, 62% { transform: translateX(0); } 100% { transform: translateX(520%); } }
@media (prefers-reduced-motion: reduce) { .sim-ai::after { animation: none; display: none; } }

/* no fake typing cursor in the mock search bar */
.sim-search i { display: none; }

/* exit X: no box */
.wiz-exit, .wiz-exit:hover { border: 0; background: none; box-shadow: none; }
.wiz-exit { color: var(--muted); }
.wiz-exit:hover { color: var(--text); }

/* AI button sheen: steady, continuous loop (no pause, constant speed) */
.sim-ai::after { animation: sim-ai-sweep 3.2s linear infinite; }
@keyframes sim-ai-sweep { from { transform: translateX(0); } to { transform: translateX(520%); } }

/* AI button: liquid light — soft blobs of lightness drifting on looping curved paths */
.sim-ai::after { inset: -60% -10%; left: -10%; width: auto; filter: blur(5px); mix-blend-mode: soft-light; opacity: .95;
  background:
    radial-gradient(closest-side, rgba(255,255,255,0.95), rgba(255,255,255,0) 100%) 0 0 / 46% 70% no-repeat,
    radial-gradient(closest-side, rgba(255,220,245,0.9), rgba(255,255,255,0) 100%) 0 0 / 38% 60% no-repeat,
    radial-gradient(closest-side, rgba(255,255,255,0.7), rgba(255,255,255,0) 100%) 0 0 / 30% 52% no-repeat;
  animation: sim-ai-liquid 9s linear infinite; }
@keyframes sim-ai-liquid {
  0%   { background-position: -10% 20%, 110% 80%, 40% 110%; }
  20%  { background-position: 25% 85%, 80% 15%, 70% 40%; }
  40%  { background-position: 60% 25%, 45% 90%, 100% 75%; }
  60%  { background-position: 95% 80%, 15% 30%, 60% 5%; }
  80%  { background-position: 50% 10%, 60% 60%, 15% 60%; }
  100% { background-position: -10% 20%, 110% 80%, 40% 110%; }
}

/* AI button: the purple→pink gradient slowly slides back and forth (same colours, shifting balance) */
.sim-ai { background-size: auto, auto, auto, 190% 100%; background-repeat: no-repeat; animation: sim-ai-shift 7s ease-in-out infinite alternate; }
@keyframes sim-ai-shift { from { background-position: 0 0, 0 0, 0 0, 0% 0; } to { background-position: 0 0, 0 0, 0 0, 100% 0; } }
@media (prefers-reduced-motion: reduce) { .sim-ai { animation: none; } }

/* ---- wheel picker (How many comments?) ---- */
.wheel { --rh: 46px; position: relative; width: 190px; margin-top: 24px; border: 1px solid var(--border); border-radius: 16px; background: #fff; overflow: hidden; animation: reveal .28s ease-out .05s both; }
.wheel-scroll { height: calc(var(--rh) * 3); overflow-y: auto; scroll-snap-type: y mandatory; padding: var(--rh) 0; scrollbar-width: none; outline: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); }
.wheel-scroll::-webkit-scrollbar { display: none; }
.wheel-row { display: flex; align-items: center; width: 100%; height: var(--rh); scroll-snap-align: center; border: 0; background: none; padding: 0 16px 0 34px; font: inherit; cursor: pointer; gap: 14px; }
/* ruler ticks: a long one on each number, short ones between */
.wheel-row i { position: relative; width: 22px; height: 100%; flex: none; background: linear-gradient(#c9c9cf, #c9c9cf) left center / 14px 1.5px no-repeat, linear-gradient(#dcdce0, #dcdce0) left calc(50% - 11.5px) / 8px 1px no-repeat, linear-gradient(#dcdce0, #dcdce0) left calc(50% + 11.5px) / 8px 1px no-repeat; }
.wheel-row.on i { background: linear-gradient(#0a0a0b, #0a0a0b) left center / 20px 2px no-repeat, linear-gradient(#dcdce0, #dcdce0) left calc(50% - 11.5px) / 8px 1px no-repeat, linear-gradient(#dcdce0, #dcdce0) left calc(50% + 11.5px) / 8px 1px no-repeat; }
.wheel-row span { flex: 1; text-align: center; height: 34px; line-height: 34px; border-radius: 9px; font-size: 18px; font-weight: 500; color: #a1a1aa; font-variant-numeric: tabular-nums; transition: color .15s, background .15s, font-size .15s; }
.wheel-row.on span { background: #f1f1f3; color: var(--text); font-size: 22px; font-weight: 600; }
.wheel-ptr { position: absolute; left: 14px; top: calc(var(--rh) * 1.5); width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; border-left: 9px solid var(--green); border-right: 0; z-index: 2; pointer-events: none; }
.wheel-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.wheel-foot b { min-width: 34px; text-align: center; padding: 3px 0; border: 1px solid var(--border); border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

/* wheel: no card outline, draggable */
.wheel { border: 0; border-radius: 0; background: none; width: 170px; }
.wheel-scroll { cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.wheel-scroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.wheel-scroll.dragging .wheel-row { cursor: grabbing; }
.wheel-row { cursor: grab; padding-left: 26px; }
.wheel-ptr { left: 4px; }

/* ============ sidebar: Everygen-style placement and sizing ============ */
.app { max-width: none; margin: 0; }
.app-content { width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; }
.side { width: 264px; padding: 0 8px 10px; background: #fcfcfd; border-right: 1px solid rgba(0,0,0,0.08); }
.side-logo { height: 56px; padding: 0 6px; gap: 10px; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; flex: none; }
.side-logo img { width: 22px; height: 22px; }
.side-nav { gap: 2px; }
.side-nav a { height: 32px; padding: 0 6px; gap: 8px; border-radius: 8px; font-size: 14px; font-weight: 400; letter-spacing: -0.01em; color: #3f434b; transition: background .12s; }
.side-nav a svg { width: 20px; height: 20px; color: #0c0c0c; stroke-width: 1.5; }
.side-nav a:hover { background: #f1f2f4; color: #3f434b; }
.side-nav a.active { background: #e9eaed; color: #3f434b; font-weight: 400; }
.side-nav a.active svg { color: #0c0c0c; }
.side-foot { border-top: 0; padding: 0 6px; min-height: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; letter-spacing: -0.01em; color: #70747e; line-height: 1.4; }
.side-foot a { color: #3f434b; }
.app-top { height: 56px; padding-top: 0; padding-bottom: 0; }

/* ============ review: editable in place ============ */
.rv { margin-top: 22px; display: flex; flex-direction: column; gap: 22px; animation: reveal .28s ease-out .05s both; }
.rv-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.rv-link { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 500; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; flex: none; }
.rv-in { width: 100%; border: 1px solid #d5d5da; border-radius: 10px; background: #fff; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--text); outline: none; transition: border-color .12s; resize: vertical; }
.rv-in:focus { border-color: #a1a1aa; }
.rv-in[readonly] { background: #f6f6f7; color: var(--muted); }
.rv-in::placeholder { color: var(--faint); }
.rv-num { width: 90px; text-align: center; }
.rv-f { display: block; margin-top: 12px; }
.rv-f > span { display: block; margin-bottom: 6px; font-size: 13px; color: var(--text); }
.rv-f.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rv-f.row > span { margin: 0; }
.rv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.rv-task { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.rv-task > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rv-task b { font-size: 15px; font-weight: 500; }
.rv-task div span { font-size: 13px; color: var(--muted); }
.rv-static { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 14.5px; }
.rv-hint { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.rv-seg { display: inline-flex; padding: 3px; gap: 2px; background: #f1f1f3; border-radius: 10px; flex: none; }
.rv-seg button { border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 6px 12px; border-radius: 7px; cursor: pointer; min-width: 34px; transition: background .12s, color .12s; }
.rv-seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.rv-seg button:disabled { cursor: default; }
.rv-adv { margin-top: 22px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.rv-adv > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; font-size: 14.5px; font-weight: 500; }
.rv-adv > summary::-webkit-details-marker { display: none; }
.rv-adv > summary span { display: inline-flex; align-items: center; gap: 8px; }
.rv-adv > summary svg { width: 15px; height: 15px; color: #7c3aed; }
.rv-adv > summary small { font-size: 13px; font-weight: 400; color: var(--muted); }
.rv-adv[open] > summary { border-bottom: 1px solid var(--border); }
.rv-adv-body { padding: 4px 16px 18px; }
@media (max-width: 640px) { .rv-grid { grid-template-columns: 1fr; } .rv-f.row { flex-direction: column; align-items: flex-start; } .rv-adv > summary small { display: none; } }

/* country of participants on the manage page */
.sub-country { font-size: 13px; color: var(--muted); }
.geo { border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: #fff; }
.geo-h { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.geo-row { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 13.5px; }
.geo-name { width: 170px; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.geo-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.geo-bar i { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.geo-n { width: 76px; flex: none; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ============ link page: editor + public page ============ */
.lp-title { font-size: 15px; font-weight: 500; }
.lp-open { font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.lp { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; max-width: 980px; margin: 0 auto; padding-top: 12px; }
.lp-handle { display: flex; align-items: center; border: 1px solid #d5d5da; border-radius: 10px; background: #fff; overflow: hidden; }
.lp-handle i { font-style: normal; padding: 0 0 0 12px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.lp-handle .rv-in { border: 0; padding-left: 1px; border-radius: 0; }
.lp-row { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.lp-row-in { flex: 1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; min-width: 0; }
.lp-row-btns { display: flex; gap: 2px; flex: none; }
.lp-row-btns button { width: 28px; height: 28px; border: 0; background: none; border-radius: 7px; color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; }
.lp-row-btns button:hover:not(:disabled) { background: #f1f1f3; color: var(--text); }
.lp-row-btns button:disabled { opacity: .3; cursor: default; }
.lp-add { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.lp-add select { width: auto; max-width: 260px; font-size: 13.5px; padding: 7px 10px; }
.lp-prev { position: sticky; top: 84px; }
.lp-phone { border: 1px solid var(--border); border-radius: 30px; height: 580px; overflow: auto; background: #fff; scrollbar-width: none; }
.lp-phone[data-theme="dark"] { background: #0e0e10; }
.lp-phone[data-theme="blue"] { background: #eef4ff; }
.bio-body { margin: 0; min-height: 100vh; background: #fff; }
.bio-body[data-theme="dark"] { background: #0e0e10; }
.bio-body[data-theme="blue"] { background: #eef4ff; }
.bio { --fg: #1d1d1f; --mut: #6e6e73; --card: #f4f4f5; --card-h: #ececee; max-width: 480px; margin: 0 auto; padding: 56px 20px 32px; text-align: center; color: var(--fg); }
[data-theme="dark"] .bio { --fg: #f5f5f7; --mut: #a1a1aa; --card: #1c1c1f; --card-h: #26262a; }
[data-theme="blue"] .bio { --fg: #0b2a5b; --mut: #4a6a9c; --card: #fff; --card-h: #f7faff; }
.lp-phone .bio { padding-top: 40px; }
.bio-av { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 600; background: var(--fg); color: var(--card); }
.bio-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.bio-handle { font-size: 14px; color: var(--mut); margin-top: 2px; }
.bio-text { font-size: 15px; line-height: 1.45; color: var(--mut); margin: 12px auto 0; max-width: 360px; white-space: pre-wrap; word-break: break-word; }
.bio-links { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.bio-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; border-radius: 14px; background: var(--card); color: var(--fg); text-decoration: none; font-size: 15px; font-weight: 500; text-align: left; transition: background .12s, transform .12s; }
a.bio-link[href]:hover { background: var(--card-h); transform: translateY(-1px); }
.bio-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bio-link svg { width: 16px; height: 16px; flex: none; color: var(--mut); }
.bio-empty { padding: 22px; border: 1px dashed var(--mut); border-radius: 14px; font-size: 14px; color: var(--mut); opacity: .7; }
.bio-foot { display: inline-block; margin-top: 34px; font-size: 12.5px; color: var(--mut); text-decoration: none; }
@media (max-width: 900px) { .lp { grid-template-columns: 1fr; } .lp-prev { position: static; } .lp-row-in { grid-template-columns: 1fr; } }

/* ---- extra like / follow tasks ---- */
.ex { margin-top: 22px; animation: reveal .28s ease-out .05s both; }
.ex-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ex-row .rv-in { flex: 1; min-width: 0; }
.ex-logo { width: 24px; height: 24px; flex: none; display: grid; place-items: center; }
.ex-del { width: 28px; height: 28px; border: 0; background: none; border-radius: 7px; color: var(--muted); cursor: pointer; flex: none; }
.ex-del:hover { background: #f1f1f3; color: var(--text); }
.ex-add { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 14px; border: 1px dashed #c9c9cf; border-radius: 12px; background: none; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--text); cursor: pointer; }
.ex-add:hover { border-color: #0a0a0b; background: #f6f6f7; }
.ex-add span { font-size: 13px; font-weight: 400; color: var(--muted); }
.rv-list { border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.rv-list > div { display: flex; gap: 12px; padding: 10px 14px; font-size: 14px; }
.rv-list > div + div { border-top: 1px solid var(--border); }
.rv-list b { width: 54px; flex: none; font-weight: 500; }
.rv-list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.rv-mut { color: var(--muted); }
@media (max-width: 640px) { .ex-row { flex-wrap: wrap; } .ex-row .rv-in { flex-basis: 100%; order: 3; } }

/* sidebar item that isn't available yet */
.side-nav a.side-soon, .side-nav a.side-soon:hover { background: none; color: #a1a1aa; cursor: default; pointer-events: none; }
.side-nav a.side-soon svg { color: #b4b4bb; }
.side-soon-tag { margin-left: auto; font-size: 11px; font-weight: 500; color: #8b8b93; background: #eeeef0; border-radius: 6px; padding: 1px 6px; }

.ex-skip { margin-top: 10px; }

/* AI comment settings: looks openable (chevron + hover) and animates open */
.rv-adv { overflow: hidden; interpolate-size: allow-keywords; }
.rv-adv > summary { transition: background .12s; user-select: none; }
.rv-adv > summary:hover { background: #f6f6f7; }
.rv-adv > summary small { margin-left: auto; }
.rv-adv > summary::after { content: ""; width: 8px; height: 8px; flex: none; margin: -4px 4px 0 4px; border-right: 1.75px solid #6e6e73; border-bottom: 1.75px solid #6e6e73; transform: rotate(45deg); transition: transform .25s ease, margin .25s ease; }
.rv-adv[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.rv-adv::details-content { block-size: 0; overflow: hidden; transition: block-size .3s cubic-bezier(0.25, 1, 0.5, 1), content-visibility .3s allow-discrete; }
.rv-adv[open]::details-content { block-size: auto; }
.rv-adv[open] > .rv-adv-body { animation: rv-adv-in .3s ease-out both; }
@keyframes rv-adv-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rv-adv::details-content { transition: none; } .rv-adv[open] > .rv-adv-body { animation: none; } }

/* more example comments + full script */
.rv-examples { margin-top: 14px; }
.rv-exh { font-size: 13px; margin-bottom: 6px; }
.rv-exrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rv-exrow .rv-in { flex: 1; min-width: 0; }
.rv-examples .rv-hint { margin-top: 6px; }
.rv-f > span em { font-style: normal; color: var(--muted); margin-left: 6px; }
.rv-script { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; line-height: 1.5; min-height: 180px; }

/* ============ dashboard v2 ============ */
@keyframes dz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dz-in { animation: dz-in .45s cubic-bezier(0.25, 1, 0.5, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
#dash-overview:empty { min-height: 320px; }
.app-content .dash-head { display: none; }
.dz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 4px 0 18px; }
.dz-head h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.025em; }
.dz-head span { font-size: 13.5px; color: var(--muted); }
.dz-lbl { font-size: 13px; color: var(--muted); }
.dz-num { margin-top: 6px; font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--text); }
.dz-num.sm { font-size: 26px; }
.dz-sub { margin-top: 6px; font-size: 12.5px; color: var(--faint); }
.dz-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; }
.dz-kpi { padding: 18px 20px; }
.dz-kpi + .dz-kpi { border-left: 1px solid var(--border); }
.dz-kpi.attn .dz-num { color: #c2410c; }
.dz-kpi.attn .dz-sub { color: #c2410c; }
.dz-chart { margin-top: 14px; border: 1px solid var(--border); border-radius: 14px; background: #fff; padding: 18px 20px 14px; }
.dz-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; height: 150px; margin-top: 12px; }
.dz-bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; min-width: 0; height: 100%; }
.dz-bar b { font-size: 11.5px; font-weight: 500; color: var(--muted); text-align: center; height: 16px; font-variant-numeric: tabular-nums; }
.dz-bar i { display: block; border-radius: 6px 6px 2px 2px; background: #e4e4e8; transform-origin: bottom; animation: dz-grow .6s cubic-bezier(0.25, 1, 0.5, 1) both; animation-delay: calc(260ms + var(--d, 0ms)); transition: background .12s; }
.dz-bar::after { content: ""; display: block; height: 1px; background: var(--border); }
.dz-bar:hover i { background: #cfcfd6; }
.dz-bar.today i { background: var(--green); }
.dz-bar span { order: 3; margin-top: 8px; text-align: center; font-size: 11.5px; color: var(--faint); }
@keyframes dz-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
#campaign-list { margin-top: 28px; }
.dz-list { border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; }
.dz-row { display: flex; align-items: center; gap: 24px; padding: 16px 20px; transition: background .12s; }
.dz-row + .dz-row { border-top: 1px solid var(--border); }
.dz-row:hover { background: #fafafb; }
.dz-row-main { flex: 1; min-width: 0; }
.dz-name { display: block; font-size: 15.5px; font-weight: 500; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.dz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.dz-status { display: inline-flex; align-items: center; gap: 6px; }
.dz-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c9c9cf; }
.dz-status.live { color: #15803d; }
.dz-status.live::before { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.18); }
.dz-pend { color: #c2410c; font-weight: 500; }
.dz-stats { display: flex; gap: 28px; flex: none; }
.dz-stats div { display: flex; flex-direction: column; min-width: 62px; }
.dz-stats b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.dz-stats span { font-size: 12px; color: var(--faint); }
.dz-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.dz-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--text); text-decoration: none; transition: background .12s, border-color .12s; }
.dz-btn:hover { background: #f6f6f7; border-color: #c9c9cf; }
.dz-ico { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; border-radius: 8px; color: var(--muted); cursor: pointer; transition: background .12s, color .12s; }
.dz-ico svg { width: 16px; height: 16px; }
.dz-ico:hover { background: #f1f1f3; color: var(--text); }
.dz-ico.del:hover { background: #fef2f2; color: #dc2626; }
.dz-empty { border: 1px dashed #c9c9cf; border-radius: 14px; padding: 36px 20px; text-align: center; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1040px) { .dz-row { flex-wrap: wrap; gap: 14px; } .dz-row-main { flex-basis: 100%; } .dz-stats { flex: 1; } }
@media (max-width: 680px) { .dz-kpis { grid-template-columns: 1fr 1fr; } .dz-kpi:nth-child(3) { border-left: 0; } .dz-kpi:nth-child(n+3) { border-top: 1px solid var(--border); } .dz-stats { gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .dz-in, .dz-bar i { animation: none; } }

/* account row in the sidebar: name + gear; sign out / delete live in the gear menu */
.acct { position: relative; display: flex; align-items: center; gap: 9px; width: 100%; min-width: 0; }
.acct-pic { width: 26px; height: 26px; border-radius: 50%; flex: none; object-fit: cover; }
.acct-ini { display: grid; place-items: center; background: #ececef; color: #3f3f46; font-size: 12px; font-weight: 600; }
.acct-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--text); }
.acct-gear { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 0; background: none; border-radius: 8px; color: var(--muted); cursor: pointer; transition: background .12s, color .12s; }
.acct-gear svg { width: 17px; height: 17px; }
.acct-gear:hover, .acct-gear[aria-expanded="true"] { background: #ececef; color: var(--text); }
.acct-menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); padding: 5px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,0.10); animation: acct-pop .16s ease-out both; transform-origin: bottom right; z-index: 30; }
.acct-menu[hidden] { display: none; }
.acct-menu a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--text); text-decoration: none; }
.acct-menu a:hover { background: #f4f4f5; }
.acct-menu a.danger { color: #dc2626; }
.acct-menu a.danger:hover { background: #fef2f2; }
@keyframes acct-pop { from { opacity: 0; transform: translateY(4px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ============ manage page v2 ============ */
.mg { padding-top: 22px; }
.mg-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 14px; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.mg-back svg { width: 15px; height: 15px; }
.mg-back:hover { color: var(--text); }
.mg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mg-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mg-title h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.025em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-title .dz-status { font-size: 13.5px; color: var(--muted); flex: none; }
.mg-title .dz-status.live { color: #15803d; }
.mg-desc { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.mg-desc:empty { display: none; }
.mg-pub { height: 38px; padding: 0 18px; border: 1px solid #0a0a0b; border-radius: 10px; background: #0a0a0b; color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; flex: none; transition: background .12s, transform .1s; }
.mg-pub:hover { background: #27272a; }
.mg-pub:active { transform: scale(0.98); }
.mg-pub.ghost { background: #fff; color: var(--text); border-color: var(--border); }
.mg-pub.ghost:hover { background: #f6f6f7; }
.mg-pub.sm { height: 32px; padding: 0 14px; border-radius: 8px; font-size: 13.5px; }
.mg-share { display: flex; gap: 8px; margin: 18px 0 14px; }
.mg-share input { flex: 1; min-width: 0; height: 38px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font: inherit; font-size: 13.5px; color: var(--muted); outline: none; }
.mg-share .dz-btn { height: 38px; padding: 0 14px; border-radius: 10px; cursor: pointer; font-family: inherit; }
.mg-reward { margin-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.mg-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.mg-panel { border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; }
.mg-ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); min-height: 58px; }
.mg-ph h2 { margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.mg-hint { font-size: 13px; color: var(--muted); }
.mg-empty { padding: 44px 18px; text-align: center; font-size: 14px; color: var(--muted); }
.mg-task { padding: 14px 18px; }
.mg-task + .mg-task { border-top: 1px solid var(--border); }
.mg-task-top { display: flex; align-items: center; gap: 12px; }
.mg-task-top > img, .mg-task-top > svg, .mg-task-top > span:first-child { flex: none; }
.mg-task-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mg-task-t b { font-size: 14.5px; font-weight: 500; }
.mg-task-t span { font-size: 12.5px; color: var(--muted); }
.mg-task-desc { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.mg-kvs { margin-top: 12px; border-radius: 10px; background: #f6f6f7; padding: 4px 12px; }
.mg-kv { display: flex; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.mg-kv + .mg-kv { border-top: 1px solid #e9e9ec; }
.mg-kv span { width: 68px; flex: none; color: var(--muted); }
.mg-kv b { font-weight: 500; min-width: 0; word-break: break-word; }
.mg-kv a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.mg-add { border-top: 1px solid var(--border); interpolate-size: allow-keywords; }
.mg-add > summary { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; user-select: none; transition: background .12s; }
.mg-add > summary::-webkit-details-marker { display: none; }
.mg-add > summary:hover { background: #fafafb; }
.mg-add > summary svg { width: 16px; height: 16px; transition: transform .2s ease; }
.mg-add[open] > summary svg { transform: rotate(45deg); }
.mg-add::details-content { block-size: 0; overflow: hidden; transition: block-size .3s cubic-bezier(0.25, 1, 0.5, 1), content-visibility .3s allow-discrete; }
.mg-add[open]::details-content { block-size: auto; }
.mg-add form { padding: 4px 18px 18px; }
.mg-add form .btn.block { background: #0a0a0b; border-color: #0a0a0b; color: #fff; box-shadow: none; }
.mg #sub-list .geo { margin: 0; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: none; }
.mg-sub { padding: 14px 18px; }
.mg-sub + .mg-sub, .geo + .mg-sub { border-top: 1px solid var(--border); }
.mg-sub-top { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
.mg-sub-top .who { font-weight: 500; }
.mg-sub-top .task-ref { font-size: 13px; color: var(--muted); }
.mg-sub-top .spacer { flex: 1; }
.mg-st { font-size: 12.5px; font-weight: 500; text-transform: capitalize; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.mg-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c9c9cf; }
.mg-st.pending { color: #c2410c; } .mg-st.pending::before { background: #f97316; }
.mg-st.approved { color: #15803d; } .mg-st.approved::before { background: #22c55e; }
.mg-st.rejected { color: #dc2626; } .mg-st.rejected::before { background: #ef4444; }
.mg-sub .sub-actions { display: flex; gap: 8px; margin-top: 12px; }
.mg-sub .sub-actions .dz-btn { cursor: pointer; font-family: inherit; }
.mg .msg:empty { display: none; }
@media (max-width: 980px) { .mg-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .mg-share { flex-wrap: wrap; } .mg-share input { flex-basis: 100%; } .mg-head { flex-wrap: wrap; } }

.geo + .mg-empty { border-top: 0; }

/* variability slider */
.rv-var { display: block; }
.rv-var-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rv-var-top em { font-style: normal; font-size: 13px; color: var(--muted); }
.rv-var input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 8px 0 2px; background: none; cursor: pointer; }
.rv-var input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, #0a0a0b var(--p, 50%), #e4e4e8 var(--p, 50%)); }
.rv-var input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: #e4e4e8; }
.rv-var input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: #0a0a0b; }
.rv-var input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #fff; border: 1px solid #c9c9cf; box-shadow: 0 1px 3px rgba(0,0,0,0.14); transition: transform .1s; }
.rv-var input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid #c9c9cf; box-shadow: 0 1px 3px rgba(0,0,0,0.14); }
.rv-var input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.rv-var input[type=range]:focus-visible { outline: none; }
.rv-var input[type=range]:focus-visible::-webkit-slider-thumb { border-color: #0a0a0b; }
.rv-var-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); }

/* review page: small buttons instead of underlined text links; reward shown as a card */
.rv-link { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 500; color: var(--text); text-decoration: none; transition: background .12s, border-color .12s; }
.rv-link:hover { background: #f4f4f5; border-color: #c9c9cf; }
.rv-link:active { transform: scale(0.98); }
.rv-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #f1f1f3; color: #0a0a0b; }
.rv-ico svg { width: 17px; height: 17px; }
.rv-task + .rv-f, .rv-task + .rv-static { margin-top: 12px; }
#rv-exadd { margin-top: 2px; }

/* review rows: label on top, control full width underneath (no more label far left / control far right) */
.rv-f.row { display: block; }
.rv-f.row > span { display: block; margin: 0 0 6px; }
.rv-f.row .rv-seg { display: flex; width: 100%; }
.rv-f.row .rv-seg button { flex: 1; padding: 8px 6px; }
.rv-f.row .rv-num { width: 100%; text-align: left; }

/* ---- review page: hover cues ---- */
.rv-click { cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.rv-click:hover { border-color: #b9b9c0; background: #fafafb; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transform: translateY(-1px); }
.rv-click:active { transform: translateY(0) scale(0.995); box-shadow: none; }
.rv-click:focus-visible { outline: 2px solid #0a0a0b; outline-offset: 2px; }
.rv-click .rv-link { transition: background .15s, border-color .15s, color .15s; }
.rv-click:hover .rv-link { background: #0a0a0b; border-color: #0a0a0b; color: #fff; }
.rv-seg button:not(.on):not(:disabled):hover { color: var(--text); background: rgba(255,255,255,0.6); }
.rv-seg button:not(:disabled):active { transform: scale(0.96); }
.rv-seg button { transition: background .12s, color .12s, transform .1s, box-shadow .12s; }
.rv-in { transition: border-color .15s, box-shadow .15s; }
.rv-in:hover:not(:focus):not([readonly]) { border-color: #c2c2c9; }
.ex-add { transition: border-color .15s, background .15s, transform .1s; }
.ex-add:active { transform: scale(0.995); }

/* ---- AI comment settings: the AI button's purple-to-pink, toned down for a box ---- */
.rv-adv { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, rgba(104,48,235,0.55) 0%, rgba(158,96,250,0.4) 52%, rgba(240,150,214,0.65) 100%) border-box; background-size: auto, 190% 100%; animation: rv-ai-border 7s ease-in-out infinite alternate; transition: box-shadow .2s; }
@keyframes rv-ai-border { from { background-position: 0 0, 0% 0; } to { background-position: 0 0, 100% 0; } }
.rv-adv:hover { box-shadow: 0 4px 20px rgba(140,80,245,0.13); }
.rv-adv > summary { position: relative; background: linear-gradient(100deg, rgba(104,48,235,0.055), rgba(158,96,250,0.035) 52%, rgba(240,150,214,0.07)); transition: background .2s; }
.rv-adv > summary:hover { background: linear-gradient(100deg, rgba(104,48,235,0.10), rgba(158,96,250,0.07) 52%, rgba(240,150,214,0.13)); }
.rv-adv[open] > summary { border-bottom-color: rgba(158,96,250,0.22); }
.rv-adv > summary span svg { box-sizing: content-box; width: 13px; height: 13px; padding: 6px; border-radius: 8px; color: #fff; fill: currentColor; stroke: none;
  background: linear-gradient(rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 40%), linear-gradient(100deg, rgb(104,48,235) 0%, rgb(158,96,250) 52%, rgb(240,150,214) 100%); background-size: auto, 190% 100%; animation: rv-ai-border 7s ease-in-out infinite alternate;
  box-shadow: 0 1px 4px rgba(120,66,242,0.35); transition: transform .2s, box-shadow .2s; }
.rv-adv > summary:hover span svg { transform: scale(1.06) rotate(-4deg); box-shadow: 0 2px 10px rgba(120,66,242,0.45); }
.rv-adv > summary::after { border-color: #8b5cf6; }
@media (prefers-reduced-motion: reduce) { .rv-adv, .rv-adv > summary span svg { animation: none; } .rv-click:hover { transform: none; } }

/* wizard: no counter / start over / close in the top bar */
.wiz-ctl { display: none !important; }

/* ---- AI comment settings v3: the bar IS the AI button (same glossy purple-to-pink, liquid light), opening a plain panel ---- */
.rv-adv, .rv-adv:hover { border: 0; background: none; animation: none; box-shadow: none; overflow: visible; }
.rv-adv > summary, .rv-adv > summary:hover { position: relative; isolation: isolate; overflow: hidden; border: 0; border-radius: 13px; padding: 15px 16px; color: #fff;
  background: linear-gradient(rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 26%), radial-gradient(120% 90% at 30% 0%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 55%), linear-gradient(0deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 30%), linear-gradient(100deg, rgb(104,48,235) 0%, rgb(158,96,250) 52%, rgb(240,150,214) 100%);
  background-size: auto, auto, auto, 190% 100%; background-repeat: no-repeat; animation: sim-ai-shift 7s ease-in-out infinite alternate;
  box-shadow: inset 0 -1.5px 2px 0 rgba(255,214,240,0.7), inset 0 0 10px 0 rgba(190,130,255,0.55), 0 1px 2px rgba(104,48,235,0.18), 0 6px 18px -6px rgba(214,120,220,0.5);
  transition: transform .18s cubic-bezier(0.25, 1, 0.5, 1), box-shadow .18s, filter .18s; }
.rv-adv > summary:hover { transform: translateY(-1px); filter: brightness(1.06);
  box-shadow: inset 0 -1.5px 2px 0 rgba(255,214,240,0.8), inset 0 0 10px 0 rgba(190,130,255,0.6), 0 2px 4px rgba(104,48,235,0.2), 0 10px 26px -6px rgba(214,120,220,0.65); }
.rv-adv > summary:active { transform: scale(0.995); }
.rv-adv > summary::before { content: ""; position: absolute; inset: -60% -10%; z-index: -1; pointer-events: none; filter: blur(9px); mix-blend-mode: soft-light; opacity: .95;
  background:
    radial-gradient(closest-side, rgba(255,255,255,0.95), rgba(255,255,255,0) 100%) 0 0 / 30% 70% no-repeat,
    radial-gradient(closest-side, rgba(255,220,245,0.9), rgba(255,255,255,0) 100%) 0 0 / 24% 60% no-repeat,
    radial-gradient(closest-side, rgba(255,255,255,0.7), rgba(255,255,255,0) 100%) 0 0 / 20% 52% no-repeat;
  animation: sim-ai-liquid 14s linear infinite; }
.rv-adv > summary span { font-weight: 500; text-shadow: 0 1px 1px rgba(60,20,150,0.25); }
.rv-adv > summary span svg, .rv-adv > summary:hover span svg { box-sizing: border-box; width: 16px; height: 16px; padding: 0; border-radius: 0; background: none; box-shadow: none; animation: none; color: #fff; fill: currentColor; stroke: none; transform: none; }
.rv-adv > summary small { color: rgba(255,255,255,0.82); }
.rv-adv > summary::after { border-color: #fff; }
.rv-adv[open] > summary { border-bottom: 0; }
.rv-adv-body { margin-top: 8px; padding: 6px 16px 18px; border: 1px solid var(--border); border-radius: 13px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .rv-adv > summary { animation: none; } .rv-adv > summary::before { animation: none; } }

.rv-var-top > span { font-size: 13px; margin: 0; }

/* calmer card hover: just a faint tint, no lift, no dark edge, no black button */
.rv-click:hover { border-color: var(--border); background: #f8f8f9; box-shadow: none; transform: none; }
.rv-click:active { transform: none; background: #f3f3f5; }
.rv-click:hover .rv-link { background: #fff; border-color: #c9c9cf; color: var(--text); }
/* AI settings now sits inside the page, right under the task */
.rv .rv-adv { margin: -6px 0 22px; }
.rv .rv-adv { margin: -8px 0 0; }

/* AI settings bar: hover is only a slight brighten; no lift, no bigger glow */
.rv-adv > summary:hover { transform: none; filter: brightness(1.035);
  box-shadow: inset 0 -1.5px 2px 0 rgba(255,214,240,0.7), inset 0 0 10px 0 rgba(190,130,255,0.55), 0 1px 2px rgba(104,48,235,0.18), 0 6px 18px -6px rgba(214,120,220,0.5); }
.rv-adv > summary:active { transform: none; filter: brightness(0.98); }

/* AI settings open: bar and panel join into one block */
.rv-adv[open] > summary, .rv-adv[open] > summary:hover { border-radius: 13px 13px 0 0;
  box-shadow: inset 0 -1.5px 2px 0 rgba(255,214,240,0.7), inset 0 0 10px 0 rgba(190,130,255,0.55); }
.rv-adv[open] .rv-adv-body { margin-top: 0; border-top: 0; border-radius: 0 0 13px 13px; border-color: rgba(158,96,250,0.28); padding-top: 14px; }

/* AI settings: JS animates the panel; corners ease instead of snapping */
.rv-adv::details-content, .rv-adv[open]::details-content { block-size: auto; transition: none; }
.rv-adv[open] > .rv-adv-body { animation: none; }
.rv-adv > summary, .rv-adv[open] > summary, .rv-adv > summary:hover, .rv-adv[open] > summary:hover {
  border-radius: 13px;
  box-shadow: inset 0 -1.5px 2px 0 rgba(255,214,240,0.7), inset 0 0 10px 0 rgba(190,130,255,0.55), 0 1px 2px rgba(104,48,235,0.18), 0 6px 18px -6px rgba(214,120,220,0.5);
  transition: border-radius .16s ease .16s, box-shadow .2s ease .12s, filter .18s; }
.rv-adv.expanded > summary, .rv-adv.expanded > summary:hover {
  border-radius: 13px 13px 0 0;
  box-shadow: inset 0 -1.5px 2px 0 rgba(255,214,240,0.7), inset 0 0 10px 0 rgba(190,130,255,0.55), 0 0 0 rgba(104,48,235,0), 0 0 0 -6px rgba(214,120,220,0);
  transition: border-radius .14s ease, box-shadow .14s ease, filter .18s; }
.rv-adv > summary::after, .rv-adv[open] > summary::after { transform: rotate(45deg); margin-top: -4px; transition: transform .3s cubic-bezier(0.25, 1, 0.5, 1), margin .3s; }
.rv-adv.expanded > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.rv-adv .rv-adv-body { margin-top: 0; border-top: 0; border-radius: 0 0 13px 13px; border-color: rgba(158,96,250,0.28); padding-top: 14px; }

/* AI settings v4: corners never change. The bar stays fully rounded and the panel tucks up behind it. */
.rv-adv > summary, .rv-adv[open] > summary, .rv-adv.expanded > summary,
.rv-adv > summary:hover, .rv-adv[open] > summary:hover, .rv-adv.expanded > summary:hover { border-radius: 13px; z-index: 1; transition: box-shadow .35s ease, filter .18s; }
.rv-adv.expanded > summary, .rv-adv.expanded > summary:hover {
  box-shadow: inset 0 -1.5px 2px 0 rgba(255,214,240,0.7), inset 0 0 10px 0 rgba(190,130,255,0.55), 0 1px 2px rgba(104,48,235,0.16), 0 3px 8px -4px rgba(140,80,245,0.3); }
.rv-adv .rv-adv-body { position: relative; z-index: 0; margin-top: -13px; padding-top: 27px; border-top: 1px solid rgba(158,96,250,0.28); border-radius: 0 0 13px 13px; }

/* segmented options: hover only darkens the text, no background that looks half-selected */
.rv-seg button:not(.on):not(:disabled):hover { background: none; color: var(--text); }

.mg-actions { display: flex; gap: 8px; flex: none; }
.mg-edit { height: 38px; padding: 0 16px; border-radius: 10px; }
.mg-task .wiz-logos { display: inline-flex; flex: none; }
.mg-kv-meta b { font-weight: 400; color: var(--muted); }

/* ============ participant page v2 ============ */
.cp-body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #f4f4f6; color: var(--text); font-family: inherit; }
.cp-body .bg-icons { display: none; }
.cp-top { width: 100%; max-width: 1000px; margin: 0 auto; padding: 22px 24px 0; box-sizing: border-box; }
.cp-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.cp-logo img { width: 24px; height: 24px; }
.cp-wrap { flex: 1; width: 100%; max-width: 1000px; margin: 0 auto; padding: 28px 24px 40px; box-sizing: border-box; }
.cp-foot { padding: 0 0 28px; text-align: center; font-size: 12.5px; color: var(--faint); }
.cp-foot a { color: var(--muted); }
.cp-loading { height: 380px; border-radius: 20px; background: linear-gradient(90deg, #ececef, #f6f6f7, #ececef); background-size: 200% 100%; animation: cp-shimmer 1.2s linear infinite; }
@keyframes cp-shimmer { to { background-position: -200% 0; } }
.cp-banner { margin-bottom: 14px; padding: 11px 16px; border-radius: 12px; background: #fff7ed; color: #9a3412; font-size: 14px; }
.cp-error { padding: 40px; text-align: center; color: var(--muted); }

.cp-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 32px; border: 1px solid #e7e7ea; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 12px 40px -18px rgba(0,0,0,0.12); }
.cp-in { animation: dz-in .5s cubic-bezier(0.25, 1, 0.5, 1) both; }
.cp-info { min-width: 0; }
.cp-title-row { display: flex; align-items: flex-start; gap: 14px; }
.cp-title-row h1 { flex: 1; margin: 0; font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; word-break: break-word; }
.cp-share { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid #e7e7ea; border-radius: 10px; background: #fff; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.cp-share svg { width: 17px; height: 17px; }
.cp-share:hover { color: var(--text); border-color: #cfcfd5; }
.cp-share.copied { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding-bottom: 20px; border-bottom: 1px solid #ededf0; }
.cp-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; background: #f4f4f6; font-size: 13px; color: var(--muted); }
.cp-chip svg { width: 14px; height: 14px; }
.cp-chip b { color: var(--text); font-weight: 600; }
.cp-desc { margin: 20px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.cp-desc b { color: var(--text); font-weight: 600; }

.cp-steps { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cp-progress { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.cp-bars { display: flex; gap: 5px; }
.cp-bars i { width: 28px; height: 4px; border-radius: 4px; background: #e4e4e8; transition: background .3s; }
.cp-bars i.half { background: #fdba74; }
.cp-bars i.on { background: #0a0a0b; }

.cp-step { animation: dz-in .4s cubic-bezier(0.25, 1, 0.5, 1) both; animation-delay: calc(120ms + var(--i, 0) * 60ms); }
.cp-btn { position: relative; width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 48px; border: 0; border-radius: 12px; color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: filter .15s, transform .1s, opacity .2s; }
.cp-btn:hover { filter: brightness(1.08); }
.cp-btn:active { transform: scale(0.99); }
.cp-btn-ico { display: grid; place-items: center; }
.cp-btn-ico img { display: block; width: 18px; height: 18px; }
.cp-btn-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-tag { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.22); }
.cp-tag svg { width: 14px; height: 14px; }
.cp-step.done .cp-btn { opacity: .5; }
.cp-step.done .cp-btn:hover { opacity: .7; }

.cp-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(0.25, 1, 0.5, 1); }
.cp-step.open .cp-panel { grid-template-rows: 1fr; }
.cp-panel-in { overflow: hidden; min-height: 0; }
.cp-panel-in > :first-child { margin-top: 12px; }
.cp-panel-in > :last-child { margin-bottom: 8px; }
.cp-how { margin: 12px 0 0; padding: 0 0 0 20px; font-size: 14px; color: var(--text); }
.cp-how li { margin-bottom: 12px; padding-left: 4px; }
.cp-how li::marker { color: var(--faint); font-weight: 500; }
.cp-copy { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 9px 9px 9px 12px; border: 1px solid #ececef; border-radius: 10px; background: #fafafb; }
.cp-copy > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cp-copy span { font-size: 11.5px; color: var(--faint); }
.cp-copy b { font-size: 14px; font-weight: 500; word-break: break-word; }
.cp-copy .cl-copy { flex: none; height: 30px; padding: 0 12px; border: 1px solid #e4e4e8; border-radius: 8px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: var(--text); cursor: pointer; }
.cp-copy .cl-copy:hover { border-color: #c9c9cf; }
.cp-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.cp-hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.cp-links { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.cp-link { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #ececef; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; transition: border-color .15s, background .15s; }
.cp-link:hover { border-color: #c9c9cf; background: #fafafb; }
.cp-link svg { width: 15px; height: 15px; flex: none; }
.cp-link span { min-width: 0; margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; font-size: 12.5px; color: var(--faint); }
.cp-up { margin-top: 4px; }
.cp-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px; border: 1.5px dashed #d4d4d9; border-radius: 12px; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.cp-drop:hover { border-color: #a1a1aa; background: #fafafb; }
.cp-drop.ready { border-color: #22c55e; border-style: solid; background: #f0fdf4; }
.cp-drop svg { width: 20px; height: 20px; color: var(--muted); }
.cp-drop-t { font-size: 14px; font-weight: 500; }
.cp-drop-n { font-size: 12.5px; color: var(--faint); }
.cp-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cp-send { width: 100%; height: 42px; margin-top: 8px; border: 0; border-radius: 10px; background: #0a0a0b; color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s, opacity .15s; }
.cp-send:hover { background: #27272a; }
.cp-send:disabled { opacity: .35; cursor: default; background: #0a0a0b; }
.cp-state { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.cp-state svg { width: 16px; height: 16px; flex: none; }
.cp-state.ok { background: #f0fdf4; color: #15803d; }
.cp-state.wait { background: #fff7ed; color: #c2410c; }
.cp-state.bad { background: #fef2f2; color: #b91c1c; font-weight: 400; }

.cp-unlock { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 50px; margin-top: 10px; border: 0; border-radius: 12px; background: #ededf0; color: #a1a1aa; font: inherit; font-size: 15px; font-weight: 600; cursor: default; transition: background .2s, color .2s, transform .1s; }
.cp-unlock svg { width: 17px; height: 17px; }
.cp-unlock.ready { background: #0a0a0b; color: #fff; cursor: pointer; box-shadow: 0 6px 20px -8px rgba(0,0,0,0.5); }
.cp-unlock.ready:hover { background: #27272a; }
.cp-unlock.ready:active { transform: scale(0.99); }
.cp-unlock-note { margin: 2px 0 0; text-align: center; font-size: 12.5px; color: var(--faint); }

@media (max-width: 820px) {
  .cp-card { grid-template-columns: 1fr; gap: 26px; padding: 22px; }
  .cp-title-row h1 { font-size: 25px; }
  .cp-wrap { padding: 18px 14px 32px; }
}
@media (prefers-reduced-motion: reduce) { .cp-in, .cp-step { animation: none; } .cp-panel { transition: none; } }

.cp-body { font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; }
.cp-body button, .cp-body input { font-family: inherit; }

/* participant page v3: one vertical column */
.cp-top, .cp-wrap { max-width: 520px; }
.cp-card { display: flex; flex-direction: column; gap: 22px; padding: 28px 26px 22px; }
.cp-info { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 40px 0; }
.cp-info h1 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; word-break: break-word; }
.cp-info .cp-share { position: absolute; top: 0; right: 0; }
.cp-chips { justify-content: center; margin-top: 12px; padding-bottom: 0; border-bottom: 0; }
.cp-desc { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; }
.cp-steps { padding-top: 20px; border-top: 1px solid #ededf0; }
@media (max-width: 820px) {
  .cp-card { gap: 20px; padding: 22px 16px 18px; }
  .cp-info h1 { font-size: 23px; }
  .cp-wrap { padding: 16px 12px 28px; }
  .cp-top { padding: 18px 16px 0; }
}
@media (max-width: 380px) { .cp-btn { padding: 0 40px; font-size: 14.5px; } }

/* comment step with a platform picker */
.cp-btn-multi { background: #0a0a0b; }
.cp-stack { display: inline-flex; }
.cp-stack .plat-logo { width: 20px; height: 20px; border-radius: 6px; box-shadow: 0 0 0 2px #0a0a0b; }
.cp-stack .plat-logo + .plat-logo { margin-left: -6px; }
.cp-pick-h { margin: 14px 0 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.cp-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.cp-pick-o { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 8px; border: 1px solid #e4e4e8; border-radius: 10px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.cp-pick-o .plat-logo { width: 18px; height: 18px; border-radius: 5px; }
.cp-pick-o:hover { border-color: #c9c9cf; }
.cp-pick-o.on { border-color: #0a0a0b; box-shadow: inset 0 0 0 1px #0a0a0b; background: #fafafb; }
.cp-step { animation: none; }
.cp-in .cp-step { animation: dz-in .4s cubic-bezier(0.25, 1, 0.5, 1) both; animation-delay: calc(120ms + var(--i, 0) * 60ms); }
.cp-stack { gap: 3px; }
.cp-stack .plat-logo { width: 18px; height: 18px; border-radius: 5px; box-shadow: none; }
.cp-stack .plat-logo + .plat-logo { margin-left: 0; }

/* comment step v2: search bar + comment list */
.cp-lead { margin: 16px 0 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.cp-panel-in > .cp-lead:first-child { margin-top: 14px; }
.cp-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid #e7e7ea; border-radius: 12px; background: #fff; font-size: 15px; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.cp-search svg { width: 17px; height: 17px; flex: none; color: #8b8b93; }
.cp-search span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-cmts { display: flex; flex-direction: column; gap: 6px; }
.cp-cmt { padding: 10px 13px; border: 1px solid #ececef; border-radius: 10px; background: #fafafb; font-size: 14px; line-height: 1.45; color: var(--text); word-break: break-word; cursor: pointer; transition: border-color .15s, background .15s; }
.cp-search:hover, .cp-cmt:hover { border-color: #d4d4d9; }
.cp-search.copied, .cp-cmt.copied { border-color: #bbf7d0; background: #f0fdf4; }
.cp-pick + .cp-lead { margin-top: 14px; }

/* share pill */
.cp-info .cp-share { width: auto; height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 0 11px 0 9px; border: 0; border-radius: 8px; background: #f4f4f6; color: var(--muted); font: inherit; font-size: 13px; font-weight: 500; }
.cp-info .cp-share svg { width: 14px; height: 14px; }
.cp-info .cp-share:hover { background: #ececef; color: var(--text); }
.cp-info .cp-share.copied { background: #f0fdf4; color: #15803d; }
.cp-info { padding-left: 76px; padding-right: 76px; }
@media (max-width: 480px) { .cp-info { padding: 40px 0 0; } }

/* manage: copy link with icon */
.mg-copy { display: inline-flex; align-items: center; gap: 7px; }
.mg-copy svg { width: 15px; height: 15px; flex: none; }
.mg-copy.copied { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; }
.cp-drop.bad { border-color: #fca5a5; border-style: solid; background: #fef2f2; }
.cp-drop.bad .cp-drop-n { color: #b91c1c; }

/* manage: tasks only, full width */
.mg-grid.mg-one { grid-template-columns: 1fr; }

/* status pill (replaces the glowing dot) */
.dz-status, .mg-title .dz-status { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; background: #f1f1f3; color: #6b6b73; font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1; }
.dz-status::before { width: 5px; height: 5px; background: #a1a1aa; box-shadow: none; }
.dz-status.live, .mg-title .dz-status.live { background: #edf3ec; color: #346538; }
.dz-status.live::before { background: #3f8f4a; box-shadow: none; }

/* delete icon: red on hover */
.dz-ico.del { transition: color .15s, background .15s, border-color .15s; }
.dz-ico.del:hover, .dz-ico.del:focus-visible { color: #dc2626; background: #fef2f2; border-color: #fecaca; }

/* dashboard: Campaigns section title */
.dz-sec { display: flex; align-items: center; gap: 8px; margin: 34px 0 12px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--text); }
.dz-sec span { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: #f1f1f3; font-size: 12px; font-weight: 500; color: var(--muted); }

/* AI settings: preview comments */
.rv-prev { margin-top: 4px; padding: 14px; border: 1px solid #ececef; border-radius: 12px; background: #fff; }
.rv-prev-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv-prev-top b { display: block; font-size: 14px; font-weight: 600; }
.rv-prev-top small { font-size: 12.5px; color: var(--muted); }
.rv-prev-btn { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 34px; padding: 0 13px; border: 0; border-radius: 9px; background: #0a0a0b; color: #fff; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .15s, opacity .15s; }
.rv-prev-btn svg { width: 14px; height: 14px; }
.rv-prev-btn:hover { background: #27272a; }
.rv-prev-btn.busy { opacity: .55; cursor: progress; }
.rv-prev-list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; counter-reset: pv; }
.rv-prev-list li { padding: 9px 12px; border-radius: 9px; background: #f7f7f8; font-size: 14px; line-height: 1.45; }
.rv-prev-err { margin: 12px 0 0; font-size: 13.5px; color: #b91c1c; }
.rv-prev-load { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.rv-prev-load i { display: block; height: 36px; border-radius: 9px; background: linear-gradient(90deg, #f1f1f3, #f8f8f9, #f1f1f3); background-size: 200% 100%; animation: cp-shimmer 1.2s linear infinite; }
.rv-prev-load i:nth-child(2) { width: 82%; } .rv-prev-load i:nth-child(3) { width: 91%; } .rv-prev-load i:nth-child(4) { width: 70%; }
.cp-cmt-load { display: flex; flex-direction: column; gap: 6px; }
.cp-cmt-load i { display: block; height: 40px; border-radius: 10px; background: linear-gradient(90deg, #f1f1f3, #f8f8f9, #f1f1f3); background-size: 200% 100%; animation: cp-shimmer 1.2s linear infinite; }
.cp-cmt-load span { margin-top: 2px; font-size: 12.5px; color: var(--faint); }
.ex-kind { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 11px; border-radius: 8px; background: #f1f1f3; font-size: 13px; font-weight: 500; color: var(--muted); }
.rv-seg button:disabled { color: #c4c4ca; cursor: not-allowed; background: transparent; }
.rv-seg button:disabled:hover { color: #c4c4ca; }

/* dashboard: Campaigns | Tasks side by side */
.dz-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 34px; }
.dz-split .dz-sec { margin: 0 0 12px; }
.dz-split .dz-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; }
.dz-split .dz-stats { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 28px; }
.dz-split .dz-actions { grid-column: 2; grid-row: 1; }
.dz-logos { display: inline-flex; gap: 3px; }
.dz-logos .plat-logo { width: 18px; height: 18px; border-radius: 5px; }
.dz-empty-sm { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; border: 1px dashed #dcdce0; border-radius: 14px; }
.dz-empty-sm b { font-size: 14.5px; font-weight: 600; }
.dz-empty-sm span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.dz-empty-sm .dz-btn { margin-top: 8px; }
@media (max-width: 1100px) { .dz-split { grid-template-columns: 1fr; } }

/* status: just a word, no dot or chip */
.dz-status, .mg-title .dz-status { display: inline; height: auto; padding: 0; background: none; border-radius: 0; font-size: inherit; font-weight: 500; color: var(--muted); }
.dz-status::before, .dz-status.live::before { content: none; }
.dz-status.live, .mg-title .dz-status.live { background: none; color: #346538; }

/* guest (not signed in yet) building their first link */
.auth-back { align-self: flex-start; background: none; border: 0; padding: 0; margin: 0 0 18px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.auth-back:hover { color: var(--text); }

.guest-login { width: 100%; justify-content: center; }

/* sidebar: contact button */
.side-contact { margin: auto 0 10px; display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border: 1px solid var(--border-soft, #ececf0); border-radius: 10px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--text, #141414); cursor: pointer; text-align: left; }
.side-contact:hover { background: #f6f7f9; }
.side-contact svg { width: 16px; height: 16px; color: #6b6b73; flex: none; }
.side-contact + .side-foot { margin-top: 0; }
/* contact modal */
.ct-ov { position: fixed; inset: 0; z-index: 200; background: rgba(15,17,23,0.38); display: grid; place-items: center; padding: 20px; }
.ct-card { position: relative; width: min(440px, 100%); background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 24px 60px -20px rgba(15,23,42,0.35); }
.ct-card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.ct-sub { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: #6b6b73; }
.ct-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; font-size: 20px; color: #8a8a93; cursor: pointer; }
.ct-x:hover { background: #f4f4f6; }
.ct-l { display: block; font-size: 13px; font-weight: 500; color: #3b3b45; margin-bottom: 12px; }
.ct-l input, .ct-l textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #e4e4e8; border-radius: 10px; font: inherit; font-size: 14px; resize: vertical; box-sizing: border-box; }
.ct-l input:focus, .ct-l textarea:focus { outline: none; border-color: #2f6fe8; box-shadow: 0 0 0 3px rgba(47,111,232,0.12); }
.ct-err { min-height: 18px; margin: 0 0 8px; font-size: 13px; color: #b42318; }
.ct-send { width: 100%; justify-content: center; position: static; height: auto; padding: 11px; font-size: 14.5px; color: #fff; background: #141414; }
.ct-card .ct-send.ct-x { position: static; width: 100%; height: auto; font-size: 14.5px; color: #fff; background: #141414; }
/* owner: messages */
.owner-msgs { margin-bottom: 14px; }
.owner-msgs-h { display: flex; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.owner-msg { padding: 12px 0; border-top: 1px solid #f0f0f3; }
.owner-msg-h { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6b6b73; }
.owner-msg-h span { margin-left: auto; font-size: 12px; color: #a1a1aa; }
.owner-msg-b { margin-top: 6px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; color: #2b2b30; }
.side-contact { text-decoration: none; box-sizing: border-box; }

/* sign-in panel: the landing page's moving glass, text on the white at the top */
.auth-right { background: #fff; align-items: flex-start; padding: 96px 56px 56px; }
.auth-right::before, .auth-right::after { content: none; }
.auth-glass { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: blur(5px); transform: scale(1.03); }
.auth-right-inner { color: #141414; }
.auth-right-inner p { color: #3b3b45; }

/* wizard: less empty space above the question */
.wiz-stage { padding-top: clamp(8px, 3.5vh, 36px); }
.wiz-wide .wiz-stage { padding-top: 0; }

/* review: budget and visibility side by side */
.rv-pair { display: flex; flex-wrap: wrap; gap: 0 32px; align-items: flex-start; }
.rv-pair > .rv-sec { flex: 0 0 auto; min-width: 0; }

/* referrals page */
#ref-view { max-width: 640px; }
.ref-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 6px; }
.ref-sub { color: var(--text-2, #6b6b73); margin: 0 0 22px; font-size: 14.5px; }
.ref-link { display: flex; gap: 8px; }
.ref-link input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid var(--border-soft, #e6e6ea); border-radius: 10px; background: #f7f7f9; font: inherit; font-size: 14px; color: var(--text, #141414); }
.ref-link .dz-btn { height: 42px; padding: 0 18px; white-space: nowrap; }
.ref-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 12px; }
.ref-stats div { border: 1px solid var(--border-soft, #ececf0); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.ref-stats b { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.ref-stats span { font-size: 13px; color: var(--text-2, #6b6b73); }
.ref-note { font-size: 13px; color: var(--text-2, #6b6b73); margin: 0 0 26px; }
.ref-h { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.ref-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border-soft, #ececf0); border-radius: 12px; }
.ref-list li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; }
.ref-list li + li { border-top: 1px solid var(--border-soft, #ececf0); }
.ref-list time { margin-left: auto; color: var(--text-2, #6b6b73); font-size: 13px; }
.ref-av { width: 26px; height: 26px; border-radius: 50%; background: #eef2ff; color: #2f5fd0; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
/* sidebar: Discord sits right above "Get in contact"; hidden until an invite link is set */
.side-discord { margin-bottom: 6px; }
.side-discord svg { color: #5865F2; }
.side-discord[href=""] { display: none; }
.side-discord:not([href=""]) + .side-contact { margin-top: 0; }

/* sidebar bottom group: Referrals, Discord, Get in contact */
.side-bottom { margin: auto 0 10px; display: flex; flex-direction: column; gap: 6px; }
.side-bottom .side-contact { margin: 0; }
.side-bottom + .side-foot { margin-top: 0; }
.side-bottom .side-contact.active { background: #f0f1f4; border-color: #e3e4e8; }

/* softer label tag (e.g. "For creators") */
.wiz-tag.soft { background: #eaf1ff; color: #2457d6; font-weight: 600; }
