/* BlockDesk Growth — design tokens and components.
   Component anatomy (sizes, variants, focus ring) follows shadcn/ui (MIT),
   restyled as frosted glass. Icons: Lucide (ISC). Font: Geist (OFL). See CREDITS.md. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Status colours (shared by every palette) */
  --warn-bg: #FDF0D5;   --warn-fg: #8A4B00;
  --danger-bg: #FDECEA; --danger-fg: #B42318;
  --info-bg: #E8ECFB;   --info-fg: #3A4A8C;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-solid: rgba(255, 255, 255, 0.95);
  --glass-blur: 24px;
  --glass-border: rgba(var(--brand-rgb), 0.12);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-soft: 0 12px 40px -14px rgba(var(--brand-rgb), 0.16), 0 2px 6px rgba(15, 26, 20, 0.04);
  --shadow-lift: 0 20px 50px -16px rgba(var(--brand-rgb), 0.24), 0 3px 8px rgba(15, 26, 20, 0.05);

  /* Focus ring (shadcn: 3px ring at 50%) */
  --ring: 0 0 0 3px rgba(var(--brand-rgb), 0.35);

  /* Shape and type */
  --radius-sm: 4px;
  --radius-btn: 6px;
  --radius: 6px;
  --radius-lg: 14px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Neutral palette: white glass, ink actions, no brand hue. Every text pair passes WCAG AA. */
:root {
  /* Lilac glass (restored 2026-10-07): near-white page, faint sky + lilac glow, Apple-style glass buttons. */
  --bg: #F6F7F9; --fg: #1E1C30; --fg-muted: #57546E;
  /* Solid accent, used only where white text sits on it (checks, chips, progress): */
  --btn: #5B45C4; --btn-hover: #4F3BB0; --btn-fg: #FFFFFF;
  --btn-grad: linear-gradient(180deg, #6A55D3 0%, #5B45C4 100%);       /* white text 5.5:1 to 6.8:1 */
  --btn-grad-hover: linear-gradient(180deg, #5B45C4 0%, #4F3BB0 100%); /* 6.8:1 to 8.1:1 */
  --brand: #1E1C30; --brand-rgb: 30, 28, 48;
  --accent: #E8EBF0; --accent-hover: #DDE1E8; --accent-rgb: 214, 219, 227; --accent-soft: #F1F3F6; --accent-fg: #1B1E26;
  --check-bg: #5B45C4; --check-fg: #FFFFFF;
  --tint-1: #F4F5F8; --tint-2: #E1E4EA; --sample-body: #57546E;
  --tint-rgb: 124, 104, 214; /* lilac tint for glows, glass edges and shadows */
  --accent-ink: #5B45C4; /* deep lilac for labels and icons: 6.8:1 on white, 5.5:1 on glass over lilac */
  --glass-pill: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(240,235,255,.82) 100%);
  --glass-pill-strong: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(230,221,255,.9) 100%);
  --blob-1: #D3E7FF; --blob-2: #E6DDFF; --blob-3: #DCEFFF; --blob-4: #F0EAFF;
  /* Apple-style glass for the main button: lilac-tinted frosted fill, bright top edge, dark text */
  --glass-btn: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(226,216,255,.78) 100%);
  --glass-btn-hover: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(214,201,255,.88) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
::selection { background: var(--accent); color: var(--fg); }

/* Background shapes: glass needs colour behind it */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop span {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.85;
}
.backdrop span:nth-child(1) { width: 520px; height: 520px; top: -140px; left: -160px; background: var(--blob-1); }
.backdrop span:nth-child(2) { width: 420px; height: 420px; top: 30%; right: -140px; background: var(--blob-2); }
.backdrop span:nth-child(3) { width: 460px; height: 460px; bottom: -180px; left: 20%; background: var(--blob-3); opacity: 0.55; }
.backdrop span:nth-child(4) { width: 260px; height: 260px; top: 55%; left: -80px; background: var(--blob-4); }

/* Glass surface */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight), var(--shadow-soft);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .btn-glass, .input, .nav-sheet { background: var(--glass-solid) !important; }
}
/* Manual fallback preview (design-system toggle) */
.no-glass .glass, .no-glass .btn-glass, .no-glass .input, .no-glass .nav-sheet {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background: var(--glass-solid) !important;
}

/* Layout */
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.grid > * { min-width: 0; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Typography */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); margin: 0; }
.display { font-size: clamp(36px, 7vw, 60px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 650; margin: 0; }
.h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 650; margin: 0; }
.h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
.h3 { font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 600; margin: 0; }
.lead { font-size: 18px; color: var(--fg-muted); max-width: 60ch; margin: 0; }
.body { font-size: 16px; margin: 0; max-width: 65ch; }
.small { font-size: 14px; color: var(--fg-muted); margin: 0; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }

/* Icons */
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons — shadcn anatomy, Circle-style proportions: flat fill, 6px corners, bold label, 44px tall */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px;
  border-radius: var(--radius-btn); border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 650; letter-spacing: -0.02em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:active { transform: translateY(1px); }
.btn:hover { transform: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { --h: 52px; padding: 0 28px; font-size: 16px; }
.btn-icon { width: var(--h); padding: 0; }
.btn-block { width: 100%; height: auto; min-height: var(--h); white-space: normal; text-align: center; }

.btn-primary {
  background: var(--glass-btn); color: var(--fg); font-weight: 650;
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(var(--tint-rgb), .22),
              0 0 0 1px rgba(var(--tint-rgb), .34), 0 8px 22px -10px rgba(var(--tint-rgb), .65);
}
.btn-primary:hover { background: var(--glass-btn-hover); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(var(--tint-rgb), .28), 0 0 0 1px rgba(var(--tint-rgb), .48), 0 12px 26px -10px rgba(var(--tint-rgb), .75); }
.btn-primary:focus-visible { box-shadow: var(--ring), inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34); }
.btn-primary .icon { color: var(--accent-ink); }
.btn-primary .btn-chip { background: rgba(var(--tint-rgb), .16); color: var(--accent-ink); }

.btn-glass {
  background: var(--glass-bg-strong); color: var(--fg);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(var(--brand-rgb), .14); box-shadow: var(--glass-highlight);
}
.btn-glass:hover { background: #fff; border-color: rgba(var(--brand-rgb), .26); }

.btn-relaxed {
  background: var(--glass-pill); color: var(--fg); font-weight: 550;
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .16), 0 4px 12px -6px rgba(var(--tint-rgb), .35);
}
.btn-relaxed:hover { background: var(--glass-pill-strong); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .22), 0 6px 16px -6px rgba(var(--tint-rgb), .45); }
.btn-relaxed:focus-visible { box-shadow: var(--ring), inset 0 1px 0 #fff; }
.btn-soft { background: var(--accent); color: var(--accent-fg); }
.btn-soft:hover { background: var(--accent-hover); }

.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: rgba(var(--brand-rgb), .05); }

.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: rgba(var(--brand-rgb), .06); }

.btn-danger { background: var(--danger-bg); color: var(--danger-fg); border-color: rgba(180,35,24,.2); }
.btn-danger:hover { background: #FBDCD8; }

.btn-link { background: none; color: var(--brand); padding: 0 4px; height: auto; text-decoration: underline; text-underline-offset: 4px; border-radius: 6px; }

.btn .spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Inputs — shadcn anatomy: label, control, description, error (aria-invalid) */
.field { display: grid; gap: 8px; }
.label { font-size: 14px; font-weight: 550; }
.hint { font-size: 13px; color: var(--fg-muted); margin: 0; }
.error-text { font-size: 13px; color: var(--danger-fg); margin: 0; display: flex; gap: 6px; align-items: center; }
.error-text .icon { width: 15px; height: 15px; }
.input-wrap { position: relative; }
.input-wrap .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--fg-muted); pointer-events: none; }
.input-wrap .input { padding-left: 42px; }
.input {
  width: 100%; height: 48px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--fg);
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--brand-rgb), .18); border-radius: var(--radius);
  box-shadow: inset 0 1px 2px rgba(15,26,20,.04);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.input::placeholder { color: #6B7378; }
.input:hover { border-color: rgba(var(--brand-rgb), .32); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); background: #fff; }
.input[aria-invalid="true"] { border-color: var(--danger-fg); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.22); }
.input:disabled { opacity: .55; cursor: not-allowed; }

/* Checkbox (custom, native input kept for a11y) */
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 4px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.8); border: 1.5px solid rgba(var(--brand-rgb), .4);
  transition: background-color .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.check .box .icon { width: 14px; height: 14px; stroke-width: 3; color: var(--check-fg); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.check input:checked + .box { background: var(--check-bg); border-color: var(--check-bg); }
.check input:checked + .box .icon { opacity: 1; transform: scale(1); }
.check input:focus-visible + .box { box-shadow: var(--ring); }

/* Cards */
.card { border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 768px) { .card { padding: 28px; } }
.card-lift { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card-lift:hover { transform: translateY(-3px); box-shadow: var(--glass-highlight), var(--shadow-lift); }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-footer { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.icon-chip {
  width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center;
  background: linear-gradient(160deg, var(--tint-1), var(--tint-2)); color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.icon-chip .icon { width: 20px; height: 20px; }

/* Method list (sign-in methods with their own checks) */
.methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.method {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius);
  background: rgba(255,255,255,.55); border: 1px solid var(--glass-border);
}
.method .meta { flex: 1; min-width: 0; }
.method .meta strong { display: block; font-size: 15px; font-weight: 600; }
.method .meta span { font-size: 13px; line-height: 1.4; color: var(--fg-muted); display: block; }
.method .meta .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Badges — shadcn: pill, text-xs, font-medium */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 9px; border-radius: var(--radius-sm);
  font-size: 12.5px; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
  border: 1px solid transparent;
}
.badge .icon { width: 13px; height: 13px; stroke-width: 2.5; }
.badge-verified { background: var(--btn); color: var(--btn-fg); }
.badge-neutral { background: rgba(255,255,255,.7); color: var(--fg-muted); border-color: var(--glass-border); }
.badge-pending { background: var(--info-bg); color: var(--info-fg); }
.badge-review { background: var(--warn-bg); color: var(--warn-fg); }
.badge-hold { background: var(--danger-bg); color: var(--danger-fg); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Profile tile: rounded-square glass tile, check badge top-right when verified */
.tile {
  --size: 120px;
  position: relative; width: var(--size); height: var(--size);
  border-radius: calc(var(--size) * .2); padding: 6px;
}
.tile-photo {
  width: 100%; height: 100%; border-radius: calc(var(--size) * .15); overflow: hidden;
  display: grid; place-items: center; color: var(--brand);
  background: linear-gradient(150deg, var(--tint-1), var(--tint-2));
}
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile-photo .icon { width: 40%; height: 40%; stroke-width: 1.5; opacity: .7; }
.tile-check {
  position: absolute; top: -6px; right: -6px;
  width: calc(var(--size) * .28); height: calc(var(--size) * .28); min-width: 26px; min-height: 26px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--check-bg); color: var(--check-fg);
  border: 3px solid #fff; box-shadow: 0 4px 10px -2px rgba(var(--brand-rgb), .35);
}
.tile-check .icon { width: 55%; height: 55%; stroke-width: 3; }
.tile-sm { --size: 64px; }
.tile-lg { --size: 160px; }
/* Hidden variant: how the tile reads to anyone who isn't the owner */
.tile-private .tile-photo { position: relative; }
.tile-private .tile-photo::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(247,250,248,.55);
  -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
}
.tile-private .lock {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; color: var(--brand);
}
.tile-private .lock .icon { width: 30%; height: 30%; }
.sample-photo { width: 100%; height: 100%; background:
  radial-gradient(circle at 50% 38%, #F3D9C4 0 17%, transparent 17.5%),
  radial-gradient(ellipse at 50% 100%, var(--sample-body) 0 42%, transparent 42.5%),
  linear-gradient(160deg, var(--tint-1), var(--tint-2)); }

/* Navigation */
.nav {
  position: relative;
  margin: 0 auto; max-width: 1080px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; padding: 0 10px 0 18px; border-radius: 12px;
}
.nav-wrap { position: sticky; top: 12px; z-index: 30; margin-top: 12px; padding: 0 12px; }
[id] { scroll-margin-top: 96px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable-latin.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}
.wordmark { display: inline-flex; align-items: baseline; gap: .42em; font-family: "Montserrat", var(--font); color: var(--fg); line-height: 1; white-space: nowrap; }
.wordmark b { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.wordmark span { font-weight: 300; font-size: 13px; letter-spacing: .32em; }
.nav-links { display: none; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: var(--radius-btn);
  color: var(--fg-muted); text-decoration: none; font-size: 15px; font-weight: 500;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
/* Apple-style glass pill: white-to-lilac gradient, top highlight, soft tinted shadow */
.nav-links a:hover, .nav-links a[aria-current="page"], .nav-sheet a:hover, .nav-sheet a[aria-current="page"] {
  color: var(--fg);
  background: var(--glass-pill);
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  border-color: rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(var(--tint-rgb), .14),
              0 0 0 1px rgba(var(--tint-rgb), .14), 0 6px 16px -6px rgba(var(--tint-rgb), .38);
}
.nav-links a[aria-current="page"], .nav-sheet a[aria-current="page"] { background: var(--glass-pill-strong); font-weight: 550; }
.nav-links a:focus-visible, .brand:focus-visible, .tabs a:focus-visible { outline: none; box-shadow: var(--ring); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-actions .nav-auth { display: none; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-sheet {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  border-radius: var(--radius-lg); padding: 10px;
  background: #FFFFFF;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%); backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-highlight), var(--shadow-lift);
  animation: fade-down .25s var(--ease);
}
.nav-sheet[hidden] { display: none; }
.nav-sheet a { display: flex; align-items: center; height: 48px; padding: 0 14px; border-radius: var(--radius-btn); color: var(--fg); text-decoration: none; font-weight: 500; border: 1px solid transparent; transition: background .25s var(--ease), box-shadow .25s var(--ease); }
.nav-sheet .btn { width: 100%; margin-top: 8px; display: flex; }
.nav-sheet a.btn-primary { color: var(--fg); background: var(--glass-btn); }
@media (min-width: 820px) {
  .nav-links, .nav-actions .nav-auth { display: inline-flex; }
  .nav-toggle, .nav-sheet { display: none !important; }
}

/* Segmented tabs */
.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 8px; }
.tabs a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 4px;
  color: var(--fg-muted); text-decoration: none; font-size: 14px; font-weight: 550;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.tabs a:hover { color: var(--fg); }
.tabs a[aria-current="page"] { background: var(--glass-pill-strong); color: var(--fg); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .14), 0 6px 16px -6px rgba(var(--tint-rgb), .38); }

/* Alert / notice */
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); font-size: 14.5px; }
.notice .icon { margin-top: 2px; }
.notice-hold { background: var(--danger-bg); color: #7A1A12; }
.notice-ok { background: #fff; color: var(--fg); border: 1px solid rgba(var(--brand-rgb), .12); }

/* Motion */
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.reveal { animation: fade-up .6s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn:hover, .card-lift:hover { transform: none !important; }
}

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; }
.skip:focus { top: 16px; }

/* ---------- Site pages (home, placeholders) ---------- */
.page { padding-top: 44px; padding-bottom: 72px; }
@media (min-width: 768px) { .page { padding-top: 64px; } }

.hero-home { text-align: center; max-width: 920px; margin: 0 auto; display: grid; gap: 22px; justify-items: center; }
.kicker {
  display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: var(--radius-btn);
  font-size: 14px; font-weight: 550; color: var(--fg); line-height: 1.35;
  background: var(--glass-pill);
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .14), 0 6px 16px -8px rgba(var(--tint-rgb), .4);
}
.hero-split { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; } }
.hero-text { display: grid; gap: 18px; justify-items: start; }
.label-xs { margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-sub { margin: 0; font-size: clamp(17px, 1.5vw, 18px); line-height: 1.55; color: var(--fg-muted); max-width: 540px; }
.hero-preview { padding: 22px; display: grid; gap: 16px; align-self: center; }
@media (min-width: 768px) { .hero-preview { padding: 26px; } }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview-title { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 14px 14px 12px; border-radius: 12px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.95); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .08); }
.stat dd { margin: 0; font-size: clamp(24px, 2.6vw, 30px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; color: var(--fg); font-variant-numeric: tabular-nums; }
.stat dt { margin-top: 4px; font-size: 12.5px; color: var(--fg-muted); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; position: relative; }
.flow::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 17px; height: 1px; background: linear-gradient(90deg, rgba(var(--tint-rgb), .15), rgba(var(--tint-rgb), .45), rgba(var(--tint-rgb), .15)); }
.flow li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 12.5px; color: var(--fg-muted); }
.flow .offer-icon { width: 34px; height: 34px; border-radius: 10px; }
.flow .offer-icon .icon { width: 16px; height: 16px; }
.preview-note { margin: 0; font-size: 12.5px; color: var(--fg-muted); }
.headline .line { display: block; }
@media (min-width: 480px) { .headline .line { white-space: nowrap; } }
.headline { font-size: clamp(40px, 5.2vw, 60px); line-height: 0.99; letter-spacing: -0.04em; font-weight: 700; margin: 0; text-wrap: balance; }

.cta-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
@media (min-width: 768px) { .cta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 88px; } }
.cta-card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 28px; min-height: 240px; }
@media (min-width: 768px) { .cta-card { padding: 36px; min-height: 300px; } }
.cta-card .who { margin: 0; color: var(--accent-ink); }
.cta-card .question { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 650; margin: 0; text-wrap: balance; color: var(--fg); }
.cta-card .btn { align-self: flex-start; }

/* Premium glass: translucent fill, strong blur, gradient edge (bright top-left -> tint
   bottom-right), inner glow and a wide soft tinted shadow. Built from the existing glass tokens. */
.glass-lux {
  position: relative; isolation: isolate;
  background: linear-gradient(150deg, rgba(255,255,255,.74) 0%, rgba(255,255,255,.5) 55%, rgba(var(--tint-rgb), .08) 100%);
  -webkit-backdrop-filter: blur(30px) saturate(175%); backdrop-filter: blur(30px) saturate(175%);
  border: 1px solid transparent; border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 32px rgba(255,255,255,.45),
              0 30px 70px -30px rgba(var(--tint-rgb), .42), 0 2px 8px rgba(var(--brand-rgb), .04);
}
.glass-lux::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.7) 28%, rgba(var(--tint-rgb), .16) 62%, rgba(var(--tint-rgb), .38) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass-lux.card-lift:hover { box-shadow: inset 0 1px 0 #fff, inset 0 0 32px rgba(255,255,255,.5), 0 36px 80px -30px rgba(var(--tint-rgb), .5), 0 2px 8px rgba(var(--brand-rgb), .05); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass-lux { background: rgba(255,255,255,.95); } }
.no-glass .glass-lux { background: rgba(255,255,255,.95); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Light for the glass to refract: soft lilac/sky fields behind each lower section */
html:has(.glow-field), body:has(.glow-field) { overflow-x: clip; }
.glow-field { position: relative; }
.glow-field::before, .glow-field::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.glow-field::before { width: 55%; height: 70%; left: -6%; top: 8%; background: rgba(var(--tint-rgb), .18); }
.glow-field::after { width: 50%; height: 65%; right: -6%; bottom: 0; background: var(--blob-1); opacity: .95; }

.offer { margin-top: 64px; }
@media (min-width: 900px) { .offer { margin-top: 84px; } }
.offer-head { text-align: center; margin-bottom: 24px; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 650; margin: 0; color: var(--fg); text-wrap: balance; }
.offer-head .h1 { color: var(--fg); }
.offer-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.offer-panel { padding: 22px; }
@media (min-width: 768px) { .offer-panel { padding: 30px; } }
.offer-panel .label-xs { color: var(--accent-ink); margin: 0 2px 8px; }
.offer-panel .card-title { font-size: clamp(20px, 2vw, 24px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; margin: 0 2px 6px; color: var(--fg); }
.offer-panel .card-desc { font-size: 15.5px; line-height: 1.55; color: var(--fg-muted); margin: 0 2px 18px; max-width: 46ch; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.offer-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  font-size: 15.5px; line-height: 1.45; color: var(--fg);
  background: linear-gradient(150deg, rgba(255,255,255,.78), rgba(255,255,255,.52));
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid rgba(255,255,255,.95); border-radius: 14px;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .08), 0 8px 20px -14px rgba(var(--tint-rgb), .45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.offer-item:hover {
  transform: translateY(-2px); background: linear-gradient(150deg, #fff, rgba(255,255,255,.7));
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .14), 0 14px 28px -14px rgba(var(--tint-rgb), .55);
}
.offer-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center;
  color: var(--accent-ink); background: var(--glass-pill-strong);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(var(--tint-rgb), .14), 0 0 0 1px rgba(var(--tint-rgb), .14), 0 4px 10px -4px rgba(var(--tint-rgb), .45);
}
.offer-icon .icon { width: 18px; height: 18px; }
.offer-item strong { font-weight: 650; color: var(--fg); }
.live-dot { color: var(--accent-ink); animation: live-pulse 2.4s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 599px) {
  .offer-item { padding: 10px 12px; gap: 12px; font-size: 15px; align-items: flex-start; }
  .offer-item .offer-icon { width: 34px; height: 34px; border-radius: 10px; }
  .offer-item .offer-icon .icon { width: 16px; height: 16px; }
  .stat { padding: 12px 10px 10px; }
}

.site-footer { margin-top: 0; padding: 0 0 32px; }
.footer-bar { padding: 24px 24px; }
@media (min-width: 768px) { .footer-bar { padding: 26px 32px; } }
.site-footer .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer .family { margin: 6px 0 0; color: var(--fg-muted); }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.site-footer nav a { color: var(--fg-muted); text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 4px; }
.site-footer nav a:hover { color: var(--accent-ink); }
.site-footer a:focus-visible, .wordmark-link:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
.wordmark-link { text-decoration: none; }

.placeholder .eyebrow { color: var(--accent-ink); }
.placeholder { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 28px; display: grid; gap: 16px; justify-items: center; }
/* Keep the footer at the bottom on short pages */
body:has(.site-footer) { display: flex; flex-direction: column; }
body:has(.site-footer) main { flex: 1 0 auto; width: 100%; }

/* =====================================================================
   App pages: auth, campaign builder, live campaign, participants
   Reuses the colour tokens, .glass-lux, .offer-item tiles and .offer-icon.
   ===================================================================== */
.page-narrow { max-width: 880px; margin: 0 auto; }
.page-head { display: grid; gap: 10px; margin-bottom: 28px; }
.page-head .label-xs { color: var(--accent-ink); }
.page-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.muted { color: var(--fg-muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 550; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; border-radius: 4px; }
.link-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.stack-16 > * + * { margin-top: 16px; }

/* Role chooser: two glass choices; the unchosen one collapses away */
.roles { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.role-card {
  display: grid; gap: 10px; justify-items: start; text-align: left; width: 100%;
  padding: 26px; min-height: 180px; cursor: pointer; font: inherit; color: var(--fg);
  transition: opacity .35s var(--ease), transform .45s var(--ease), filter .35s var(--ease), max-height .45s var(--ease), padding .45s var(--ease);
}
.role-card:hover { transform: translateY(-2px); }
.role-card:focus-visible { outline: none; box-shadow: var(--ring), inset 0 1px 0 #fff; }
.role-card .role-name { font-size: clamp(22px, 2.6vw, 28px); font-weight: 650; letter-spacing: -0.025em; line-height: 1.15; }
.role-card .role-desc { font-size: 15px; color: var(--fg-muted); line-height: 1.5; }
.role-card .offer-icon { width: 44px; height: 44px; }
.role-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.roles.leaving .role-card:not(.is-chosen) { opacity: 0; transform: scale(.94); filter: blur(8px); pointer-events: none; }
.roles.chosen { grid-template-columns: minmax(0, 1fr); }
.roles.chosen .role-card:not(.is-chosen) { display: none; }
.roles.chosen .role-card.is-chosen { min-height: 0; cursor: default; transform: none; animation: settle .45s var(--ease) both; }
@keyframes settle { from { opacity: .4; transform: translateY(6px) scale(.985); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.roles.chosen .role-card.is-chosen .go, .roles.chosen .role-card.is-chosen .role-desc { display: none; }
.role-panel { margin-top: 16px; animation: fade-up .45s var(--ease) both; }
.role-panel[hidden] { display: none; }
.role-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Forms */
.form-card { padding: 24px; display: grid; gap: 18px; }
@media (min-width: 768px) { .form-card { padding: 30px; } }
.form-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.req { color: var(--accent-ink); }
.method-grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.method-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; text-align: left;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--fg); cursor: pointer;
  background: linear-gradient(150deg, rgba(255,255,255,.82), rgba(255,255,255,.56));
  border: 1px solid rgba(255,255,255,.95); border-radius: 12px;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .12), 0 6px 16px -12px rgba(var(--tint-rgb), .5);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.method-btn:hover { transform: translateY(-1px); }
.method-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.method-btn[aria-pressed="true"] { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px var(--accent-ink), 0 6px 16px -10px rgba(var(--tint-rgb), .6); }
.method-btn img, .method-btn .offer-icon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.method-btn small { display: block; font-size: 12.5px; font-weight: 500; color: var(--fg-muted); }
.method-btn .tick { margin-left: auto; color: var(--accent-ink); opacity: 0; }
.method-btn[aria-pressed="true"] .tick { opacity: 1; }
.form-error { display: none; margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--danger-bg); color: #7A1A12; font-size: 14px; }
.form-error.show { display: block; }
.form-ok { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid rgba(var(--tint-rgb), .3); font-size: 15px; }

/* Mock / demo labels */
.mock-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 650; letter-spacing: .02em;
  background: var(--warn-bg); color: var(--warn-fg); border: 1px solid rgba(138,75,0,.18); }
.demo-banner { position: fixed; z-index: 70; top: 84px; right: 16px; }

/* Switch (task toggles) */
.switch { position: relative; display: inline-flex; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { width: 44px; height: 26px; border-radius: 13px; background: rgba(var(--brand-rgb), .16); transition: background .2s var(--ease); position: relative; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--btn); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: var(--ring); }

/* Choice cards (radio / checkbox as glass tiles) */
.choices { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice .face {
  display: grid; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 12px;
  background: linear-gradient(150deg, rgba(255,255,255,.8), rgba(255,255,255,.54));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .12);
  transition: box-shadow .2s var(--ease);
}
.choice .face strong { font-size: 15px; font-weight: 650; }
.choice .face span { font-size: 13.5px; color: var(--fg-muted); line-height: 1.45; }
.choice input:checked + .face { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px var(--accent-ink), 0 8px 20px -14px rgba(var(--tint-rgb), .7); }
.choice input:focus-visible + .face { box-shadow: var(--ring); }

/* Campaign builder */
.builder { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .builder { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.steps-nav { list-style: none; margin: 0 0 16px; padding: 4px; display: flex; gap: 4px; overflow-x: auto; border-radius: 10px; scrollbar-width: none; }
.steps-nav button { flex-shrink: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--fg-muted); cursor: pointer; }
.steps-nav button .n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; background: rgba(var(--brand-rgb), .07); }
.steps-nav button[aria-current="step"] { background: var(--glass-pill-strong); color: var(--fg); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .16); }
.steps-nav button[aria-current="step"] .n { background: var(--btn); color: #fff; }
.steps-nav button.done .n { background: var(--accent-ink); color: #fff; }
.steps-nav button:focus-visible { outline: none; box-shadow: var(--ring); }
.step-panel { padding: 24px; display: grid; gap: 18px; }
@media (min-width: 768px) { .step-panel { padding: 30px; } }
.step-panel[hidden] { display: none; }
.step-title { font-size: clamp(20px, 2.2vw, 24px); font-weight: 650; letter-spacing: -0.02em; margin: 0; }
.step-actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.task-card { padding: 14px 16px; border-radius: 14px; display: grid; gap: 12px;
  background: linear-gradient(150deg, rgba(255,255,255,.8), rgba(255,255,255,.54)); border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .1); }
.task-head { display: flex; align-items: center; gap: 12px; }
.task-head .offer-icon { width: 38px; height: 38px; }
.task-head .t { flex: 1; min-width: 0; }
.task-head .t strong { display: block; font-size: 15px; }
.task-head .t span { font-size: 13px; color: var(--fg-muted); }
.task-body { display: grid; gap: 12px; padding-left: 50px; }
@media (max-width: 559px) { .task-body { padding-left: 0; } }
.task-body[hidden] { display: none; }
.verify-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--fg-muted); }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.8); color: var(--fg-muted); border: 1px solid rgba(var(--tint-rgb), .22); }
.chip-accent { color: var(--accent-ink); border-color: rgba(var(--tint-rgb), .4); background: var(--glass-pill-strong); }
.chip-todo { background: var(--warn-bg); color: var(--warn-fg); border-color: rgba(138,75,0,.2); }
.explain { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid rgba(var(--tint-rgb), .22); font-size: 14.5px; line-height: 1.55; }
.explain p { margin: 0; }
.explain p + p { margin-top: 8px; }
.preview-col { position: sticky; top: 92px; }
.camp-card { padding: 22px; display: grid; gap: 14px; }
.camp-top { display: flex; gap: 12px; align-items: center; }
.camp-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-weight: 700; font-size: 18px; color: var(--accent-ink); background: var(--glass-pill-strong); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .16); }
.camp-name { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; margin: 0; line-height: 1.2; word-break: break-word; }
.camp-sub { font-size: 13.5px; color: var(--fg-muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); }
.mini-list .offer-icon { width: 28px; height: 28px; border-radius: 8px; }
.mini-list .offer-icon .icon { width: 14px; height: 14px; }
.mini-empty { font-size: 13.5px; color: var(--fg-muted); padding: 8px 2px; }
.summary { display: grid; gap: 0; margin: 0; }
.summary > div { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid rgba(var(--brand-rgb), .08); }
.summary > div:first-child { border-top: 0; }
.summary dt { font-size: 13.5px; color: var(--fg-muted); }
.summary dd { margin: 0; font-size: 14.5px; font-weight: 550; }
.status-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.status-flow li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fg-muted); }
.status-flow li + li::before { content: "→"; color: rgba(var(--brand-rgb), .35); margin-right: 2px; }
.status-flow li[aria-current="step"] .chip { background: var(--btn-grad); color: #fff; border-color: transparent; }

/* Avatars (generated + presets) */
.avatar { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; overflow: hidden; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.95), 0 0 0 2px rgba(var(--tint-rgb), .18); }
.avatar svg { width: 100%; height: 100%; display: block; }
.avatar-sm { width: 32px; height: 32px; border-radius: 9px; }
.avatar-lg { width: 56px; height: 56px; border-radius: 16px; }

/* Live campaign page */
.camp-hero { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .camp-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; } }
.reward-line { display: flex; flex-wrap: wrap; gap: 8px; }
.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.counter { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.95); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .1); display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.counter dd { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; transition: color .3s; }
.counter dd.bump { color: var(--accent-ink); animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: translateY(4px); opacity: .4; } 100% { transform: none; opacity: 1; } }
.counter dt { margin-top: 4px; font-size: 12.5px; color: var(--fg-muted); }
.task-reward { margin-left: auto; flex-shrink: 0; }
.live-wrap { margin-top: 64px; }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.live-head h2 { margin: 0; }
.lanes { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lanes { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .lanes .lane-feed { grid-row: span 2; } }
.lane { padding: 18px; display: grid; gap: 12px; align-content: start; }
.lane-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; margin: 0; }
.lane-title .live-dot { width: 8px; height: 8px; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 520px; overflow: hidden; }
.lane:not(.lane-feed) .events { max-height: 300px; }
.event { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.4;
  background: linear-gradient(150deg, rgba(255,255,255,.84), rgba(255,255,255,.58)); border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .08); animation: slide-in .5s var(--ease) both; }
.event .who { font-weight: 650; }
.event .what { color: var(--fg-muted); }
.event time { margin-left: auto; font-size: 12px; color: var(--fg-muted); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.event.win { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .35), 0 8px 18px -12px rgba(var(--tint-rgb), .8); }
@keyframes slide-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 26px 12px; color: var(--fg-muted); font-size: 14.5px; }
.empty .offer-icon { width: 44px; height: 44px; }
.toasts { position: fixed; z-index: 65; right: 16px; bottom: 16px; display: grid; gap: 8px; width: min(340px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px;
  background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .2), 0 16px 36px -16px rgba(var(--tint-rgb), .7);
  animation: slide-in .4s var(--ease) both; }
.toast.out { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }

/* Spin wheel (animates a server-decided result only) */
.wheel-box { display: grid; gap: 14px; justify-items: center; padding: 22px; text-align: center; }
.wheel-wrap { position: relative; width: min(260px, 70vw); aspect-ratio: 1; }
.wheel { width: 100%; height: 100%; border-radius: 50%; transition: transform 4.2s cubic-bezier(.12,.8,.12,1); box-shadow: 0 0 0 6px rgba(255,255,255,.9), 0 0 0 7px rgba(var(--tint-rgb), .3), 0 20px 40px -20px rgba(var(--tint-rgb), .8); }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 20px solid var(--btn); filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)); }
.wheel-result { min-height: 24px; font-weight: 650; margin: 0; }

/* Participants (client view) */
.filters { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); padding: 18px; margin-bottom: 18px; }
@media (min-width: 720px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; } }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.people { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person { padding: 16px; display: grid; gap: 12px; border-radius: 16px;
  background: linear-gradient(150deg, rgba(255,255,255,.82), rgba(255,255,255,.56)); border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .1), 0 10px 24px -18px rgba(var(--tint-rgb), .6); }
.person-top { display: flex; align-items: center; gap: 12px; }
.person-top strong { font-size: 15.5px; display: block; }
.av-wrap { position: relative; display: inline-block; flex-shrink: 0; }
.person-top span { font-size: 13px; color: var(--fg-muted); }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.checks .chip .icon { width: 12px; height: 12px; stroke-width: 3; }
.result-count { font-size: 14px; color: var(--fg-muted); margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) {
  .wheel { transition: none; }
  .event, .toast, .role-panel { animation: none; }
}

/* ---------- Round 2 ---------- */
.chip-xs { height: 20px; padding: 0 7px; font-size: 11px; gap: 4px; }
.badge-chip { color: var(--fg); background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(253,236,229,.85)); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .22); }
.badge-chip .icon { width: 11px; height: 11px; stroke-width: 3; color: var(--accent-ink); }
.event .badges-inline { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 6px; vertical-align: middle; }
.form-beta { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 550; background: var(--warn-bg); color: var(--warn-fg); border: 1px solid rgba(138,75,0,.18); }
.beta-note { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; font-size: 12.5px; font-weight: 650; background: var(--warn-bg); color: var(--warn-fg); border: 1px solid rgba(138,75,0,.18); }
.btn .btn-chip { height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.22); }
.optional-wallet { border-radius: 12px; border: 1px dashed rgba(var(--tint-rgb), .45); padding: 12px 14px; }
.optional-wallet summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent-ink); border-radius: 4px; }
.optional-wallet summary:focus-visible { outline: none; box-shadow: var(--ring); }
.optional-wallet[open] summary { margin-bottom: 10px; }

/* Concierge banner + dialog */
.concierge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 18px 22px; margin-bottom: 20px; }
.concierge .txt { display: flex; gap: 14px; align-items: center; min-width: 0; flex: 1 1 320px; }
.concierge strong { display: block; font-size: 16.5px; letter-spacing: -0.01em; }
.concierge span.sub { font-size: 14px; color: var(--fg-muted); }
.concierge-inline { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; display: grid; gap: 10px; background: var(--glass-pill-strong); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .2); }
.concierge-inline p { margin: 0; font-size: 14.5px; }
dialog.dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: transparent; color: var(--fg); overflow: visible; }
dialog.dlg::backdrop { background: rgba(42,30,26,.32); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog.dlg .dlg-body { padding: 24px; max-height: calc(100dvh - 24px); overflow: auto; background: #FFFFFF; border-radius: 22px; box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .25), 0 30px 80px -30px rgba(var(--tint-rgb), .7); display: grid; gap: 16px; }
dialog.dlg[open] .dlg-body { animation: fade-up .3s var(--ease) both; }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dlg-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
textarea.input { height: auto; min-height: 110px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
html.dialog-open { overflow: hidden; }

/* Example banner (public sales demo) */
.example-strip { position: sticky; top: 84px; z-index: 25; margin: 0 auto 20px; max-width: 1080px; padding: 0 12px; }
.example-strip p { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 650; text-align: center;
  background: var(--warn-bg); color: var(--warn-fg); border: 1px solid rgba(138,75,0,.25); box-shadow: 0 10px 24px -14px rgba(138,75,0,.5); }

/* Prize split */
.split { display: grid; gap: 10px; }
.split-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; align-items: center; }
.split-bar { height: 10px; border-radius: 6px; background: rgba(var(--brand-rgb), .08); overflow: hidden; display: flex; }
.split-bar i { display: block; height: 100%; background: var(--btn-grad); }
.split-bar i + i { background: var(--blob-1); }
.premium { display: grid; gap: 10px; }

/* Badge filter chips (participants) */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { position: relative; }
.filter-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.filter-chip span { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--fg-muted); background: rgba(255,255,255,.75); border: 1px solid rgba(var(--tint-rgb), .25); }
.filter-chip input:checked + span { color: #fff; background: var(--btn-grad); border-color: transparent; }
.filter-chip input:focus-visible + span { box-shadow: var(--ring); }

/* Profile (mock) */
.profile-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .profile-grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); } }
.badge-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.badge-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.95); }
.badge-list li.off { opacity: .55; }
.badge-list p { margin: 2px 0 0; font-size: 13px; color: var(--fg-muted); }

.tile-photo > svg { width: 100%; height: 100%; display: block; }

/* Builder: one scrolling page with collapsible sections */
.builder-form { display: grid; gap: 20px; }
.sec { scroll-margin-top: 96px; }
.sec-head { margin: 0; }
.disclosure { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 4px 0; border: 0; background: none; font: inherit; color: var(--fg); text-align: left; cursor: pointer; border-radius: 8px; }
.disclosure:focus-visible { outline: none; box-shadow: var(--ring); }
.disclosure .chev { width: 20px; height: 20px; color: var(--accent-ink); transition: transform .25s var(--ease); flex-shrink: 0; }
.disclosure[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sec-body { display: grid; gap: 18px; margin-top: 18px; }
.step-panel.sec { gap: 0; }
.concierge:focus-visible, .concierge:focus { outline: none; box-shadow: var(--ring), var(--glass-highlight), var(--shadow-soft); }
.error-summary { padding: 14px 16px; border-radius: 12px; background: var(--danger-bg); color: #7A1A12; border: 1px solid rgba(180,35,24,.25); }
.error-summary:focus { outline: none; box-shadow: 0 0 0 3px rgba(180,35,24,.3); }
.error-summary-title { margin: 0 0 6px; font-weight: 700; font-size: 15px; }
.error-summary ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14.5px; }
.error-summary a { color: #7A1A12; font-weight: 600; }
@media (max-width: 999px) { .preview-col { position: static; } }

/* Builder wizard: one step at a time inside one glass card */
.wizard { padding: 22px; display: grid; gap: 20px; }
@media (min-width: 768px) { .wizard { padding: 30px; } }
.wiz-head { display: grid; gap: 10px; }
.wiz-label { margin: 0; font-size: 15px; font-weight: 650; color: var(--fg); line-height: 1.35; }
.wiz-label .wiz-num { color: var(--accent-ink); }
.wiz-bar { display: flex; gap: 4px; }
.wiz-seg { flex: 1 1 auto; min-width: max-content; padding: 4px 0 6px; border: 0; background: none; display: grid; gap: 6px; justify-items: center; border-radius: 6px; font: inherit; color: var(--fg-muted); }
.wiz-seg .seg-label { font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; letter-spacing: -0.01em; }
@media (min-width: 480px) { .wiz-seg .seg-label { font-size: 12.5px; } }
.wiz-seg .seg-bar { display: block; width: 100%; height: 6px; border-radius: 3px; background: rgba(var(--brand-rgb), .12); transition: background .25s var(--ease); }
.wiz-seg.done { color: var(--fg); }
.wiz-seg.done .seg-bar { background: var(--btn); }
.wiz-seg.current { color: var(--accent-ink); }
.wiz-seg.current .seg-label { font-weight: 750; }
.wiz-seg.current .seg-bar { background: var(--accent-ink); opacity: .55; }
.wiz-seg:disabled { cursor: default; }
.wiz-seg:not(:disabled) { cursor: pointer; }
.wiz-seg:not(:disabled):hover .seg-label { text-decoration: underline; text-underline-offset: 3px; }
.wiz-seg:not(:disabled):hover .seg-bar { background: var(--btn-hover); }
.wiz-seg:focus-visible { outline: none; box-shadow: var(--ring); }
.wiz-step { display: grid; gap: 18px; }
.wiz-step .step-title:focus { outline: none; }
.wiz-step .step-title:focus-visible { box-shadow: var(--ring); border-radius: 6px; }
.step-intro { background: var(--glass-pill-strong); }
.task-lead { margin: 0; font-size: 15px; font-weight: 550; }
.task-group { margin: 6px 0 -4px; font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.wizard + .concierge { margin-top: 20px; margin-bottom: 0; }

/* Builder top: heading beside the "Speak with us" card */
.builder-top { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: center; margin-bottom: 28px; }
.builder-top .page-head { margin-bottom: 0; }
@media (min-width: 900px) { .builder-top { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; } }
.concierge-card { align-content: start; }
.concierge-card .offer-icon { width: 40px; height: 40px; }
.concierge-card .preview-title { font-size: 19px; line-height: 1.3; }
.concierge-card-sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-muted); }
.concierge-card:focus { outline: none; }
.concierge-card:focus-visible { box-shadow: var(--ring), var(--glass-highlight), var(--shadow-soft); }

.panel-cta { margin-top: 20px; display: flex; }
@media (max-width: 559px) { .panel-cta .btn { width: 100%; } }

/* =========================== Campaigns browse =========================== */
.browse-head { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: end; margin-bottom: 18px; }
@media (min-width: 900px) { .browse-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.browse-head .counters { margin: 0; }

/* ticker */
.ticker { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; margin-bottom: 22px; min-width: 0; }
.ticker-label { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.ticker-window { flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick var(--tick-dur, 40s) linear infinite; }
.tick-list { display: flex; gap: 22px; margin: 0; padding: 0 22px 0 0; list-style: none; }
.tick { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; }
.tick strong { font-weight: 650; }
.tick span { color: var(--fg-muted); }
@keyframes tick { to { transform: translateX(-50%); } }
.is-paused .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-window { overflow-x: auto; } }
.ticker-empty { flex: 1; margin: 0; font-size: 14px; color: var(--fg-muted); }
.ticker .btn { flex-shrink: 0; }
@media (max-width: 599px) { .ticker .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; } .ticker .btn { width: var(--h); padding: 0; } .ticker-label .lbl { display: none; } }

/* layout */
.browse { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1100px) { .browse { grid-template-columns: minmax(0, 1fr) 340px; } }
.browse-main { display: grid; gap: 16px; min-width: 0; }
.tabs-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 10px; }
.seg button { height: 36px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--fg-muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--glass-pill-strong); color: var(--fg); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .2); }
.seg button:focus-visible { outline: none; box-shadow: var(--ring); }
.filters-box { padding: 6px 16px; }
.filters-box summary { cursor: pointer; padding: 10px 0; font-weight: 600; font-size: 14.5px; border-radius: 6px; display: flex; align-items: center; gap: 8px; }
.filters-box summary:focus-visible { outline: none; box-shadow: var(--ring); }
.filters-box .fgrid { display: grid; gap: 14px; padding: 4px 0 16px; }
.filters-box .fgroup p { margin: 0 0 8px; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
.filters-box .filter-chip span { height: 32px; font-size: 13px; }
.result-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-muted); min-height: 24px; }

/* cards */
.tile-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
main.browse-page { max-width: 1360px; }
.camp-tile { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 18px; color: var(--fg); text-decoration: none;
  background: linear-gradient(150deg, rgba(255,255,255,.82), rgba(255,255,255,.56));
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .12), 0 16px 34px -22px rgba(var(--tint-rgb), .6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.camp-tile:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .22), 0 22px 40px -22px rgba(var(--tint-rgb), .75); }
.camp-tile:focus-visible { outline: none; box-shadow: var(--ring), inset 0 1px 0 #fff; }
.tile-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tile-client { font-size: 13px; font-weight: 600; color: var(--fg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.status { flex-shrink: 0; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.status-open { background: var(--btn); color: #fff; }
.status-ending { background: var(--warn-bg); color: var(--warn-fg); }
.status-paid { background: #fff; color: var(--fg-muted); border: 1px solid rgba(var(--tint-rgb), .25); }
.tile-title { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -0.015em; }
.tile-desc { margin: 0; font-size: 14px; line-height: 1.45; color: var(--fg-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-reward { margin: 0; display: flex; gap: 6px; align-items: flex-start; font-size: 14.5px; font-weight: 650; }
.tile-reward .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--accent-ink); flex-shrink: 0; }
.tile-chips { display: flex; flex-wrap: wrap; gap: 5px; min-height: 20px; }
.tile-chips .chip .icon { width: 11px; height: 11px; }
.tile-tasks { display: flex; gap: 6px; flex-wrap: wrap; }
.task-ico { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--accent-ink); background: var(--glass-pill-strong); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .14); }
.task-ico .icon { width: 14px; height: 14px; }
.tile-progress .bar { height: 6px; border-radius: 3px; background: rgba(var(--brand-rgb), .08); overflow: hidden; }
.tile-progress .bar i { display: block; height: 100%; background: var(--btn-grad); border-radius: 3px; }
.tile-progress p { margin: 6px 0 0; display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--fg-muted); }

/* sidebar */
.browse-side { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1100px) { .browse-side { position: sticky; top: 92px; } }
.side-panel { padding: 16px; display: grid; gap: 12px; border-radius: 18px; }
.side-title { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-row { display: flex; align-items: center; gap: 10px; font-size: 14px; min-width: 0; }
.side-row .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-row .who small { display: block; font-size: 12px; color: var(--fg-muted); }
.side-row .amt { flex-shrink: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.event-row { animation: slide-in .45s var(--ease) both; }
.side-empty { margin: 0; font-size: 14px; color: var(--fg-muted); }
.big-empty { padding: 30px 20px; text-align: center; display: grid; gap: 10px; justify-items: center; border-radius: 20px; }
.big-empty h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.big-empty p { margin: 0; color: var(--fg-muted); max-width: 46ch; }
@media (prefers-reduced-motion: reduce) { .event-row { animation: none; } .camp-tile:hover { transform: none; } }

/* Profile (interactive sample) */
.badge-toggles li { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.badge-toggles strong { font-size: 14.5px; }
.qual-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qual-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .1); }
.qual-row strong { display: block; font-size: 14.5px; }
.qual-row .needs { font-size: 12.5px; color: var(--fg-muted); }
.qual-row .qual { font-size: 13px; font-weight: 650; color: var(--danger-fg); }
.qual-row.ok .qual { color: var(--accent-ink); }
.private-line { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--fg-muted); }
.private-line .icon { width: 14px; height: 14px; flex-shrink: 0; }
.full-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--glass-pill-strong); border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .45), 0 0 16px -2px rgba(var(--tint-rgb), .6); }
.full-chip .icon { width: 15px; height: 15px; }
/* "Fully Verified": bright light glass border with a soft lilac glow */
.profile-card.fully-verified { border: 2px solid rgba(255,255,255,1);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 2px rgba(var(--tint-rgb), .55), 0 0 36px -6px rgba(var(--tint-rgb), .75), 0 30px 70px -30px rgba(var(--tint-rgb), .5);
  animation: verified-glow 3.2s ease-in-out infinite; }
@keyframes verified-glow { 0%, 100% { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px rgba(var(--tint-rgb), .55), 0 0 30px -6px rgba(var(--tint-rgb), .6), 0 30px 70px -30px rgba(var(--tint-rgb), .5); }
  50% { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px rgba(var(--tint-rgb), .7), 0 0 44px -4px rgba(var(--tint-rgb), .85), 0 30px 70px -30px rgba(var(--tint-rgb), .5); } }
@media (prefers-reduced-motion: reduce) { .profile-card.fully-verified { animation: none; } }

/* Free-ticket wheel pop-up */
.wc { text-align: center; }
.wc .dlg-head { align-items: center; }
.wc-brand { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--accent-ink); }
.wc section { display: grid; gap: 14px; justify-items: center; }
.wc h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.wc h2:focus { outline: none; }
.wc p { margin: 0; }
.wc .wheel-wrap { width: min(240px, 62vw); }
.wc .btn-lg { width: 100%; max-width: 320px; }
.wc-hero { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--accent-ink); background: var(--glass-pill-strong); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .3), 0 10px 24px -10px rgba(var(--tint-rgb), .7); }
.wc-hero .icon { width: 28px; height: 28px; }
.wc-hero.soft { color: var(--fg-muted); }
.wc-label { font-size: 12.5px; font-weight: 650; color: var(--warn-fg); background: var(--warn-bg); padding: 4px 10px; border-radius: 6px; }
.wc-wallets { width: 100%; text-align: left; }
.wc-preview { display: grid; gap: 10px; justify-items: center; padding: 16px; border-radius: 14px; border: 1px dashed rgba(var(--tint-rgb), .45); width: 100%; }
/* free-ticket panel on campaign pages */
.ft-panel { display: grid; gap: 12px; align-content: start; }
.ft-progress { font-size: 14.5px; font-weight: 600; }
.task-done-btn { margin-left: auto; flex-shrink: 0; }
.offer-item.is-done .offer-icon { background: var(--btn-grad); color: #fff; }

/* ============================ Lottery (/lottery/) ============================
   Restyles the class names the ported lottery script renders, in lilac glass. */
.lottery { --gold: var(--accent-ink); --text-faint: var(--fg-muted); --lilac: var(--accent-ink); --green: var(--accent-ink); display: grid; gap: 22px; }
.lottery .tabular { font-variant-numeric: tabular-nums; }
.lottery .unit { font-size: .6em; color: var(--fg-muted); font-weight: 600; }
.btn-primary-glow { display: none; }
.lot-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px 8px 16px; border-radius: 14px; position: relative; }
.lot-wordmark { font-family: "Montserrat", var(--font); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; margin-right: auto; }
.lot-wordmark b { font-weight: 300; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; margin-left: 4px; }
.lot-nav-wrap { position: relative; }
.lot-sections { display: none; gap: 2px; }
.lot-sections a { display: inline-flex; align-items: center; height: 36px; padding: 0 10px; border-radius: 6px; font-size: 14px; font-weight: 550; color: var(--fg-muted); text-decoration: none; }
.lot-sections a:hover { color: var(--fg); background: var(--glass-pill); }
.lot-sections a:focus-visible { outline: none; box-shadow: var(--ring); }
#mobileNav.open { display: flex; flex-direction: column; position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 200px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .2), var(--shadow-lift); }
@media (min-width: 900px) { .lot-sections, #mobileNav.open { display: flex; flex-direction: row; position: static; box-shadow: none; background: none; padding: 0; min-width: 0; } .lot-menu { display: none; } }
.net-badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; font-size: 12.5px; font-weight: 650; color: var(--fg-muted); background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .18); }
.net-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-ink); }
.wallet-pill-wrap { position: relative; }
.wallet-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 8px; cursor: pointer; font-size: 13.5px; font-weight: 650; background: var(--glass-btn); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34); }
.wallet-pill .divider { width: 1px; height: 16px; background: rgba(var(--tint-rgb), .35); }
#walletDropdown { display: none; position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 170px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .2), var(--shadow-lift); }
#walletDropdown.open { display: block; }
.wallet-drop-item { display: block; width: 100%; text-align: left; height: 38px; padding: 0 10px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 14px; cursor: pointer; color: var(--fg); }
.wallet-drop-item:hover, .wallet-drop-item:focus-visible { background: var(--glass-pill); outline: none; }
.wallet-bar { display: none; font-size: 13px; font-weight: 650; color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; background: var(--glass-pill-strong); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .2); }
.wallet-bar.show { display: block; }
.notice-free { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; font-size: 15px; }
.lot-hero { text-align: center; padding: 28px 20px; display: grid; gap: 12px; justify-items: center; }
.round-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 650; background: var(--glass-pill-strong); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .25); }
.rp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); }
.jackpot { display: flex; align-items: baseline; gap: 10px; justify-content: center; }
.jackpot-amount { font-size: clamp(44px, 9vw, 76px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.jackpot-unit { font-size: 20px; font-weight: 650; color: var(--accent-ink); }
.jackpot-usd { color: var(--fg-muted); font-size: 15px; }
.countdown-row { display: flex; gap: 8px; }
.cd-cell { min-width: 64px; padding: 10px 8px; border-radius: 12px; background: rgba(255,255,255,.7); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .14); }
.cd-cell .num { font-size: 26px; font-weight: 700; }
.cd-cell .sub { font-size: 11.5px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: .08em; }
.draw-note { font-size: 13.5px; color: var(--fg-muted); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; font-size: 12.5px; color: var(--fg-muted); }
.trust-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(var(--tint-rgb), .6); }
.lot-stats { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
@media (min-width: 720px) { .lot-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lot-stats .counter dd { font-size: 22px; }
.lot-stats .sub { font-size: 12px; color: var(--fg-muted); order: -1; }
.claim-banner { align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 18px; box-shadow: 0 0 0 2px rgba(var(--tint-rgb), .45), 0 0 30px -6px rgba(var(--tint-rgb), .6); }
.cb-label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.cb-amount-row { display: flex; align-items: baseline; gap: 8px; }
.cb-amount { font-size: 32px; font-weight: 700; }
.cb-detail, .cb-usd { font-size: 13.5px; color: var(--fg-muted); }
.btn-gold, .claim-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: var(--radius-btn); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; color: var(--fg); background: var(--glass-btn); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .4), 0 8px 18px -10px rgba(var(--tint-rgb), .7); }
.btn-gold:hover, .claim-btn:hover { background: var(--glass-btn-hover); }
.btn-gold:focus-visible, .claim-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-gold:disabled, .claim-btn:disabled { opacity: .55; cursor: default; }
.lot-block { display: grid; gap: 0; scroll-margin-top: 96px; }
.lot-block > .section-title { margin-bottom: 14px; }
.lot-card { padding: 20px; border-radius: 18px; display: grid; gap: 14px; align-content: start; }
.lot-card h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.lot-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lot-connect { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 30px 20px; border-radius: 18px; }
.lot-connect h3 { margin: 0; }
.lot-connect p { margin: 0; color: var(--fg-muted); max-width: 46ch; }
.play-grid { gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .play-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.gp-get { align-content: center; }
.gp-get p { margin: 0; color: var(--fg-muted); }
.my-tickets-list, #myResultsList, #pastRoundsList, .bracket-results-list { display: grid; gap: 8px; }
.my-ticket-row, .mr-ticket { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .12); }
.my-ticket-row.won, .mr-row.won { box-shadow: 0 0 0 2px rgba(var(--tint-rgb), .55); }
.my-ticket-digits, .winning-digits { display: inline-flex; gap: 4px; }
.digit-chip { width: 28px; height: 32px; display: grid; place-items: center; border-radius: 7px; font-weight: 700; font-variant-numeric: tabular-nums; background: #fff; box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .25); }
.digit-chip.hit { background: var(--btn-grad); color: #fff; box-shadow: none; }
.my-ticket-status, .mr-verdict, .mr-meta { font-size: 12.5px; color: var(--fg-muted); }
.tickets-empty, .results-empty, .winning-empty { font-size: 14px; color: var(--fg-muted); }
.mr-row { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .12); }
.mr-head, .prr-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.mr-left, .prr-left { display: inline-flex; gap: 10px; align-items: baseline; }
.mr-round, .prr-round { font-weight: 700; }
.mr-num, .prr-num { font-variant-numeric: tabular-nums; letter-spacing: .12em; color: var(--accent-ink); font-weight: 650; }
.mr-summary { font-size: 14px; color: var(--fg-muted); }
.mr-summary.won { color: var(--accent-ink); font-weight: 650; }
.mr-tickets { display: grid; gap: 6px; }
.mr-ticket-info { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; }
.prize-tag { font-weight: 700; color: var(--accent-ink); }
.mr-connect { display: grid; gap: 10px; justify-items: start; }
.mr-connect p { margin: 0; color: var(--fg-muted); }
.how-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .how-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.how-step p { margin: 0; font-size: 14px; color: var(--fg-muted); }
.brackets-table { gap: 0; padding: 8px 16px; }
.bt-head, .bt-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; font-size: 14px; }
.bt-head { font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
.bt-row { border-top: 1px solid rgba(var(--brand-rgb), .07); }
.bt-name { display: inline-flex; gap: 10px; align-items: center; }
.bt-num { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; font-size: 12.5px; font-weight: 700; background: var(--glass-pill-strong); color: var(--accent-ink); }
.bt-head span:last-child { text-align: right; }
.bt-prize { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.winning-card { justify-items: center; text-align: center; margin: 14px 0; }
.win-digit { width: 44px; height: 54px; display: grid; place-items: center; border-radius: 10px; font-size: 26px; font-weight: 700; color: #fff; background: var(--btn-grad); animation: fade-up .5s var(--ease) both; }
.wmeta { font-size: 13px; color: var(--accent-ink); cursor: pointer; text-decoration: underline; }
.results-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-bottom: 14px; }
@media (min-width: 860px) { .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.br-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 8px 0; border-top: 1px solid rgba(var(--brand-rgb), .07); }
.br-row:first-child { border-top: 0; }
.past-round-row { border-radius: 12px; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .12); }
.prr-head { padding: 10px 12px; cursor: pointer; }
.prr-right { display: inline-flex; gap: 10px; color: var(--fg-muted); font-size: 13.5px; }
.prr-body { padding: 0 12px 12px; display: grid; gap: 6px; }
.prr-line { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--fg-muted); }
.prr-line .gold { color: var(--accent-ink); font-weight: 650; }
.lot-trust { gap: 8px; }
.nowallet-overlay, .mwa-overlay { display: none; position: fixed; inset: 0; z-index: 80; align-items: center; justify-content: center; padding: 16px; background: rgba(30,28,48,.32); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.nowallet-overlay.open, .mwa-overlay.show { display: flex; }
.nowallet-modal { position: relative; width: min(440px, 100%); display: grid; gap: 12px; padding: 24px; border-radius: 20px; background: #fff; }
.nowallet-close { position: absolute; top: 12px; right: 12px; }
.mwa-overlay { flex-direction: column; gap: 14px; color: var(--fg); }
.mwa-spinner { width: 44px; height: 44px; border: 3px solid rgba(var(--tint-rgb), .25); border-top-color: var(--accent-ink); border-radius: 50%; animation: spin .8s linear infinite; }
.mwa-text { text-align: center; font-weight: 650; background: #fff; padding: 10px 14px; border-radius: 10px; }
.lottery ~ .toast, .toast#toast { position: fixed; left: 50%; bottom: 20px; z-index: 90; transform: translateX(-50%) translateY(140%); padding: 10px 16px; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .3), var(--shadow-lift); transition: transform .3s var(--ease); }
.toast#toast.show { transform: translateX(-50%) translateY(0); }
.toast#toast:not(.show) { visibility: hidden; pointer-events: none; }
.toast#toast.error { color: var(--danger-fg); }

/* ===================== Client dashboard (/dashboard/) ===================== */
.dash { display: grid; gap: 20px; }
.dash-signedout { display: grid; gap: 12px; justify-items: start; }
.dash-empty { justify-items: start; text-align: left; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 22px; border-radius: 20px; }
.dash-empty strong { color: var(--fg); font-size: 16px; }
.dash-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .dash-grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } .dash-side { position: sticky; top: 148px; } }
@media (min-width: 1000px) { .dash .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dash .person-top > div { min-width: 0; }
.dash .person-top strong { overflow-wrap: anywhere; white-space: normal; }
.dash-side { display: grid; gap: 12px; padding: 20px; }
.dash-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dash-item { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; border: 1px solid transparent; background: rgba(255,255,255,.6); font: inherit; font-size: 14px; font-weight: 550; color: var(--fg); text-align: left; cursor: pointer; transition: background .2s var(--ease); }
.dash-item:hover { background: var(--glass-pill); }
.dash-item[aria-current="true"] { background: var(--glass-pill-strong); box-shadow: 0 0 0 2px rgba(var(--tint-rgb), .5); }
.dash-item:focus-visible { outline: none; box-shadow: var(--ring); }
.dash-item-title { min-width: 0; overflow-wrap: anywhere; }
.dash-detail .card { display: grid; gap: 10px; align-content: start; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash-head h2:focus { outline: none; }
.dash-stats { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dash-stat { padding: 18px; gap: 6px !important; align-content: start; }
.dash-stat p { margin: 0; }
.dash-big { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.dash-mid { font-size: 17px; font-weight: 650; overflow-wrap: anywhere; }
.dash .bar { height: 8px; border-radius: 4px; background: rgba(var(--brand-rgb), .08); overflow: hidden; }
.dash .bar i { display: block; height: 100%; width: 0; background: var(--btn-grad); border-radius: 4px; transition: width .5s var(--ease); }
.dash-two { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .dash-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dash-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dash-tasks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.dash-tasks .dash-task-name { flex: 1; min-width: 0; }
.dash-tasks .offer-icon { width: 32px; height: 32px; }
.dash-winners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dash-winners:empty { display: none; }
.winner { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 12px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .14); font-size: 14px; font-weight: 550; }
.chip-done { color: var(--accent-ink); }
.chip-done .icon { width: 11px; height: 11px; }
.status-draft, .status-ended { background: #fff; color: var(--fg-muted); border: 1px solid rgba(var(--tint-rgb), .25); }
.status-submitted { background: var(--warn-bg); color: var(--warn-fg); }
.status-approved { background: var(--glass-pill-strong); color: var(--accent-ink); border: 1px solid rgba(var(--tint-rgb), .35); }
.status-live { background: var(--btn); color: #fff; }

/* ===================== Referral partner (profile) ===================== */
.partner-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.partner-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.partner-form fieldset[disabled] .label { color: var(--fg-muted); }
.partner-locked { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 650; background: var(--glass-pill-strong); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .3); }
.partner-locked .icon { width: 14px; height: 14px; }
.ref-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ref-code code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; font-weight: 650; padding: 8px 12px; border-radius: 8px; background: var(--glass-pill-strong); color: var(--fg); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .25); overflow-wrap: anywhere; }
.partner-stats { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.partner-stats .counter dd { font-size: 20px; overflow-wrap: anywhere; }
.partner-rules { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--fg-muted); }
.ph { font-weight: 650; color: var(--warn-fg); background: var(--warn-bg); padding: 0 6px; border-radius: 5px; }
.partner-form fieldset[disabled] .btn, .partner-form fieldset[disabled] .check { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* ===================== Back link (every page except home) ===================== */
.back-link { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 10px; margin: -20px 0 18px; border-radius: var(--radius-btn); font-size: 13.5px; font-weight: 600; color: var(--fg); text-decoration: none; background: var(--glass-pill); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .2); transition: background .2s var(--ease); }
.back-link .icon { width: 16px; height: 16px; }
.back-link:hover { background: var(--glass-pill-strong); }
.back-link:focus-visible { outline: none; box-shadow: var(--ring); }
@media (min-width: 768px) { .back-link { margin-top: -36px; } }
.lottery .back-link, main > .back-link + .example-strip { margin-top: 0; }

/* ===================== Project logo (campaign tiles and pages) ===================== */
.tile-logo, .camp-logo-img { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--glass-pill-strong); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .25); font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.tile-logo img, .camp-logo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-top .status { margin-left: auto; }
.tile-client { color: var(--fg); font-weight: 650; font-size: 14px; }
.camp-logo-img { width: 56px; height: 56px; border-radius: 14px; font-size: 18px; }
.camp-company { margin: 0; font-size: 16px; font-weight: 650; }

/* ===================== Logo upload (client sign-up, admin) ===================== */
.logo-upload { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.logo-preview { width: 72px; height: 72px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--glass-pill); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .25); color: var(--accent-ink); }
.logo-preview img { width: 100%; height: 100%; object-fit: cover; }
.logo-preview .icon { width: 26px; height: 26px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-btn:has(input:focus-visible) { box-shadow: var(--ring); }

/* ===================== Top Earner gold star (on the picture) ===================== */
:root { --star-gold: #F5B700; --star-edge: #8A5A00; } /* edge 5.6:1 on white, so the star shape meets 3:1 */
.star-badge { position: absolute; top: -7px; right: -7px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 3px 8px -2px rgba(var(--brand-rgb), .35), 0 0 0 1px rgba(138,90,0,.25); }
.star-badge .icon { width: 17px; height: 17px; fill: var(--star-gold); stroke: var(--star-edge); stroke-width: 1.6; }
.tile .star-badge { width: calc(var(--size) * .26); height: calc(var(--size) * .26); min-width: 28px; min-height: 28px; top: -6px; right: -6px; }
.tile .star-badge .icon { width: 62%; height: 62%; }

/* ===================== Profile: referral partner card (left column) ===================== */
.profile-side { display: grid; gap: 20px; align-content: start; }
.partner-card { display: grid; gap: 14px; align-content: start; }
.role-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 650; color: #fff; background: var(--btn-grad); }
.role-pill .icon { width: 14px; height: 14px; }
.camp-logo-img .icon { width: 24px; height: 24px; }
.switch-row { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 550; }
.partner-rules-box summary { cursor: pointer; min-height: 24px; }
.partner-rules-box summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
.partner-rules-box[open] summary { margin-bottom: 8px; }
.partner-card .partner-stats .counter { padding: 12px; }
.partner-card .partner-stats dd { font-size: 18px; }
/* Long form buttons (label + "Beta opening soon" chip) wrap on phones instead of widening the card */
.form-card .btn-lg { flex-wrap: wrap; white-space: normal; height: auto; min-height: 52px; padding-top: 10px; padding-bottom: 10px; text-align: center; row-gap: 4px; }

/* ===================== Earnings (profile): pending / claimable / claimed ===================== */
.earnings { display: grid; gap: 14px; align-content: start; }
.earn-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 10px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .18); }
.earn-tabs button { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 7px; font: inherit; font-size: 14px; font-weight: 600; color: var(--fg); background: transparent; cursor: pointer; }
.earn-tabs button:hover { background: var(--glass-pill); }
.earn-tabs button[aria-pressed="true"] { background: var(--glass-btn); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .35); }
.earn-tabs button:focus-visible { outline: none; box-shadow: var(--ring); }
.earn-tabs .count { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; font-size: 12px; display: inline-grid; place-items: center; background: rgba(var(--tint-rgb), .16); color: var(--accent-ink); }
.earn-summary { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--glass-pill-strong); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .3); }
.earn-summary strong { font-size: 18px; overflow-wrap: anywhere; }
.earn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.earn-row { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.66); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .14); }
.earn-claimable { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px rgba(var(--tint-rgb), .45); }
.earn-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.earn-who { display: grid; min-width: 0; }
.earn-who strong { overflow-wrap: anywhere; }
.earn-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.earn-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--fg-muted); }
.earn-items li strong { color: var(--fg); text-align: right; overflow-wrap: anywhere; }
.earn-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.earn-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-muted); }
.earn-status .icon { width: 15px; height: 15px; color: var(--accent-ink); flex-shrink: 0; }
.earn-beta { font-size: 13.5px; }
.earn-tabs .count { background: #fff; box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .3); }

/* ===================== Grand Prize partners row, project review badges ===================== */
.gp-row { display: grid; gap: 12px; padding: 20px; border-radius: 20px; margin: 0 0 24px; }
.gp-row-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gp-row-head .section-title { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; }
.gp-row-head .section-title .icon { width: 20px; height: 20px; color: var(--accent-ink); }
.paid-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: #fff; color: var(--fg-muted); border: 1px solid rgba(var(--tint-rgb), .3); }
.gp-track { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .gp-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gp-track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gp-track:empty { display: none; }
.gp-chip { background: var(--btn-grad); color: #fff; border-color: transparent; }
.gp-chip .icon { color: #fff; }
.project-badge { background: var(--glass-pill-strong); color: var(--accent-ink); border-color: rgba(var(--tint-rgb), .4); font-weight: 650; }
.project-badge-gold .icon { fill: var(--star-gold); stroke: var(--star-edge); }
.ticket-cost { margin: 0; font-weight: 650; padding: 10px 14px; border-radius: 10px; background: var(--glass-pill-strong); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .3); }
.explain-list { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; }
.review-note { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 550; background: var(--warn-bg); color: var(--warn-fg); border: 1px solid rgba(138,75,0,.18); }
.pay-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pay-list:empty { display: none; }
.pay-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .14); }
.pay-row > div:first-child { display: grid; gap: 2px; min-width: 0; }
.pay-right { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-amt { font-weight: 650; }
.pay-state { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.pay-due { background: var(--warn-bg); color: var(--warn-fg); }
.pay-paid { background: #fff; color: var(--fg-muted); border: 1px solid rgba(var(--tint-rgb), .3); }
.pay-escrow { background: var(--glass-pill-strong); color: var(--accent-ink); border: 1px solid rgba(var(--tint-rgb), .35); }
.pay-jackpot { background: var(--btn); color: #fff; }
#pay-why summary { cursor: pointer; }
#pay-why summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }

/* ===================== Per-campaign wheel page ===================== */
.wheel-page { display: grid; gap: 20px; max-width: 880px; margin: 0 auto; }
.wheel-page [data-wp-main] { display: grid; gap: 20px; }
.wheel-page [data-wp-main][hidden] { display: none; }
.wp-head { display: grid; gap: 16px; grid-template-columns: auto minmax(0, 1fr); align-items: start; padding: 22px; border-radius: 20px; }
@media (min-width: 760px) { .wp-head { grid-template-columns: auto minmax(0, 1fr) auto; } }
.wp-logo { width: 64px; height: 64px; border-radius: 16px; font-size: 20px; }
.wp-title { display: grid; gap: 6px; min-width: 0; }
.wp-name { margin: 0; font-size: clamp(26px, 4vw, 36px); overflow-wrap: anywhere; }
.wp-campaign { margin: 0; color: var(--fg-muted); font-weight: 550; }
.wp-side { grid-column: 1 / -1; display: grid; gap: 8px; }
@media (min-width: 760px) { .wp-side { grid-column: auto; justify-items: end; text-align: right; } }
.wp-socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wp-socials[hidden] { display: none; }
.social-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: var(--radius-btn); font-size: 13.5px; font-weight: 600; color: var(--fg); text-decoration: none; background: var(--glass-pill); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .2); max-width: 100%; }
.social-link span { overflow-wrap: anywhere; }
.social-link .icon { width: 15px; height: 15px; color: var(--accent-ink); }
.social-link b { font-size: 13px; }
.social-link:hover { background: var(--glass-pill-strong); }
.social-link:focus-visible { outline: none; box-shadow: var(--ring); }
.wp-left { margin: 0; font-size: 13.5px; font-weight: 650; color: var(--accent-ink); }
.wp-gate { display: grid; gap: 12px; justify-items: start; padding: 24px; border-radius: 20px; }
.wp-gate .offer-icon { width: 44px; height: 44px; }
.wp-gate p { margin: 0; max-width: 60ch; }
.wp-ready { box-shadow: 0 0 0 2px rgba(var(--tint-rgb), .5), 0 0 30px -8px rgba(var(--tint-rgb), .6); }
.wp-missing { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wp-missing li { display: flex; align-items: center; gap: 8px; font-weight: 550; }
.wp-missing .icon { width: 16px; height: 16px; color: var(--warn-fg); flex-shrink: 0; }
.sample-controls { display: grid; gap: 10px; padding: 16px 18px; }
.wp-states { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 10px; }
.wp-states button { min-height: 36px; padding: 0 10px; border: 0; border-radius: 7px; font: inherit; font-size: 13px; font-weight: 600; color: var(--fg); background: transparent; cursor: pointer; }
.wp-states button[aria-pressed="true"] { background: var(--glass-btn); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .35); }
.wp-states button:focus-visible { outline: none; box-shadow: var(--ring); }

/* ===================== Project profile ===================== */
.project-page { display: grid; gap: 20px; max-width: 880px; margin: 0 auto; }
.pp-review { display: grid; gap: 12px; }
.pp-h3 { margin: 0 0 8px; font-size: 15px; }
.pp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.pp-list li { display: flex; align-items: center; gap: 8px; }
.pp-list .icon { width: 16px; height: 16px; flex-shrink: 0; }
.pp-yes .icon { color: var(--accent-ink); }
.pp-no .icon { color: var(--fg-muted); }
.pp-paid { margin: 0; }
.pp-camps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pp-camp { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .14); font-weight: 600; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; white-space: pre-wrap; }
.sim-out { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--fg); }
.sim-out:empty { display: none; }
.long-campaign { margin: 8px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 550; }

/* ===================== Airdrops ===================== */
.upgrade-note { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; background: var(--glass-pill); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .22); }
.upgrade-note .icon { width: 18px; height: 18px; color: var(--accent-ink); flex-shrink: 0; margin-top: 2px; }
.goal-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; color: var(--fg); text-decoration: none; font-size: 14px; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .25); }
.goal-link > .icon { width: 18px; height: 18px; color: var(--accent-ink); flex-shrink: 0; }
.goal-link:hover { background: var(--glass-pill-strong); }
.goal-link:focus-visible { outline: none; box-shadow: var(--ring); }
.mock-opt { position: relative; display: inline-flex; }
.mock-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.mock-opt span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 600; }
.mock-opt input:checked + span { background: var(--glass-btn); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .35); }
.mock-opt input:focus-visible + span { box-shadow: var(--ring); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.check-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.check-list li span { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.check-list li.ok span { background: var(--glass-pill-strong); color: var(--accent-ink); border: 1px solid rgba(var(--tint-rgb), .35); }
.check-list li.no span { background: var(--warn-bg); color: var(--warn-fg); }
.check-ok { color: var(--fg); font-weight: 550; }
.check-verdict { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; font-weight: 650; background: #fff; box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .3); }
.check-rejected { background: var(--danger-bg); color: var(--danger-fg); box-shadow: none; }
.fee-box { padding: 16px; border-radius: 14px; background: var(--glass-pill-strong); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .35); }
.fee-amt { margin: 0 0 4px; font-size: 26px; font-weight: 700; }
.rule-line { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 550; background: var(--warn-bg); color: var(--warn-fg); border: 1px solid rgba(138,75,0,.18); }
.rule-line a { color: inherit; }
.approval-line { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.approval-line .icon, .ad-approved .icon { width: 16px; height: 16px; color: var(--accent-ink); flex-shrink: 0; margin-top: 2px; }
.airdrop-card { cursor: default; }
.airdrop-card:hover { transform: none; }
.airdrop-card .tile-title { display: flex; align-items: center; gap: 8px; }
.airdrop-card .tile-title .icon { width: 18px; height: 18px; color: var(--accent-ink); }
.ad-approved { margin: 0; display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--fg-muted); }
.ad-time { margin: 0; display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 650; color: var(--accent-ink); }
.ad-time .icon { width: 15px; height: 15px; }
.ad-links { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-foot { display: grid; gap: 8px; justify-items: start; }
.status-ad-open { background: var(--btn); color: #fff; }
.status-ad-ending { background: var(--warn-bg); color: var(--warn-fg); }
.status-ad-filled, .status-ad-ended { background: #fff; color: var(--fg-muted); border: 1px solid rgba(var(--tint-rgb), .25); }
.dash-airdrops { display: grid; gap: 12px; margin-top: 20px; }
.ad-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ad-list:empty { display: none; }
.ad-row { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.66); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .14); }
.ad-acts:empty { display: none; }

/* =====================================================================
   Round 9: every page in the home page's look.
   Glass and ink only: no purple fills, no purple chips, no large purple text.
   Purple (--accent-ink) stays where home uses it: small caps labels, the small
   live dots and icons on pale glass squares. Glows are capped at home's levels
   (cards .42, tiles .45, primary glass buttons .65). None of these classes are
   used on the home page. Existing tokens only.
   ===================================================================== */

/* Chips, tags and status pills: pale glass, thin neutral border, ink text */
.chip { background: rgba(255,255,255,.8); color: var(--fg-muted); border-color: rgba(var(--brand-rgb), .12); }
.chip-accent, .project-badge, .chip-done { color: var(--fg); background: var(--glass-pill); border-color: rgba(var(--brand-rgb), .12); }
.badge-chip { color: var(--fg); background: rgba(255,255,255,.8); border: 1px solid rgba(var(--brand-rgb), .12); box-shadow: none; }
.badge-chip .icon, .chip-done .icon, .tile-chips .chip .icon, .checks .chip .icon { color: var(--fg); }
.paid-tag, .status-paid, .status-draft, .status-ended, .pay-paid, .status-ad-filled, .status-ad-ended { background: rgba(255,255,255,.8); color: var(--fg-muted); border: 1px solid rgba(var(--brand-rgb), .12); }
.status-approved, .pay-escrow, .check-list li.ok span { background: var(--glass-pill); color: var(--fg); border: 1px solid rgba(var(--brand-rgb), .12); }
.explain, .optional-wallet, .wc-preview { border-color: rgba(var(--brand-rgb), .12); }
.filter-chip span { border-color: rgba(var(--brand-rgb), .12); }

/* Special and live states: the home page's primary glass (white to pale lilac), ink text,
   a brighter white edge and home's soft lilac glow. No fills. */
.gp-chip, .role-pill, .status-live, .status-open, .status-ad-open, .pay-jackpot, .badge-verified,
.status-flow li[aria-current="step"] .chip, .filter-chip input:checked + span, .digit-chip.hit {
  background: var(--glass-btn); color: var(--fg); border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34), 0 4px 12px -6px rgba(var(--tint-rgb), .45); }
.gp-chip .icon, .role-pill .icon { color: var(--fg); }
.filter-chip input:checked + span { font-weight: 700; }
.filter-chip input:focus-visible + span { box-shadow: var(--ring), inset 0 1px 0 #fff; }
.full-chip { color: var(--fg); background: var(--glass-btn); border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34), 0 8px 22px -10px rgba(var(--tint-rgb), .65); }
.project-badge-gold { border-color: rgba(255,255,255,.95); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34), 0 4px 12px -6px rgba(var(--tint-rgb), .45); }

/* Grand Prize winning number tiles and step numbers: glass tiles, ink digits */
.win-digit { color: var(--fg); background: var(--glass-btn); border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34), 0 8px 22px -10px rgba(var(--tint-rgb), .65); }
.steps-nav button[aria-current="step"] .n, .steps-nav button.done .n { background: var(--glass-btn); color: var(--fg); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34); }
.bt-num { color: var(--fg); }
.offer-item.is-done .offer-icon { background: var(--glass-btn); color: var(--fg); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34), 0 4px 10px -4px rgba(var(--tint-rgb), .45); }
.tile-check { background: var(--glass-btn); color: var(--fg); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .34), 0 4px 10px -4px rgba(var(--tint-rgb), .45); }

/* Progress bars: soft ink on the glass track */
.dash .bar i, .tile-progress .bar i, .split-bar i:first-child { background: var(--fg-muted); }
.wiz-seg.done .seg-bar { background: var(--fg-muted); }
.wiz-seg.current .seg-bar { background: var(--fg-muted); opacity: .45; }
.wiz-seg:not(:disabled):hover .seg-bar { background: var(--fg); }

/* Controls: checked states in ink and glass */
.check input:checked + .box { background: #fff; border-color: var(--fg); }
.check .box .icon { color: var(--fg); }
.switch input:checked + .track { background: var(--fg-muted); }
.method-btn[aria-pressed="true"], .choice input:checked + .face, .dash-item[aria-current="true"] {
  background: var(--glass-btn); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34), 0 8px 22px -10px rgba(var(--tint-rgb), .65); }
.method-btn .tick { color: var(--fg); }
.wheel-pointer { border-top-color: var(--fg); }
.mwa-spinner { border-top-color: var(--fg-muted); }

/* Text: ink like home. Large numbers, links and amounts are never purple. */
.counter dd.bump, .jackpot-unit, .mr-num, .prr-num, .mr-summary.won, .prize-tag, .prr-line .gold, .wmeta,
.link-btn, .role-card .go, .req, .qual-row.ok .qual, .wc-brand, .wallet-bar, .ad-time, .wp-left,
.partner-locked, .earn-tabs .count, .optional-wallet summary, .cta-card .who, .wiz-seg.current { color: var(--fg); }
.wiz-label .wiz-num { color: var(--fg-muted); }
.lottery { --gold: var(--fg); --lilac: var(--fg); --green: var(--fg); }
.camp-logo, .tile-logo, .camp-logo-img { color: var(--fg); }

/* Icons not sitting on a glass square: ink */
.tile-reward .icon, .disclosure .chev, .earn-status .icon, .gp-row-head .section-title .icon, .social-link .icon,
.pp-yes .icon, .upgrade-note .icon, .goal-link > .icon, .approval-line .icon, .ad-approved .icon,
.airdrop-card .tile-title .icon { color: var(--fg); }

/* Dots: the small live dots keep purple; the separator dot is ink */
.trust-dot { background: rgba(var(--brand-rgb), .3); }

/* Glows and rings at home's strength */
.camp-tile { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .08), 0 8px 20px -14px rgba(var(--tint-rgb), .45); }
.camp-tile:hover { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .14), 0 14px 28px -14px rgba(var(--tint-rgb), .55); }
.camp-tile:focus-visible { box-shadow: var(--ring), inset 0 1px 0 #fff; }
.person { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .08), 0 8px 20px -14px rgba(var(--tint-rgb), .45); }
.event.win { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .14), 0 8px 20px -14px rgba(var(--tint-rgb), .45); }
.toast { box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .14), 0 8px 20px -14px rgba(var(--tint-rgb), .45); }
.method-btn { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .12), 0 8px 20px -14px rgba(var(--tint-rgb), .45); }
.method-btn:focus-visible, .choice input:focus-visible + .face, .dash-item:focus-visible { box-shadow: var(--ring); }
dialog.dlg .dlg-body { box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .14), 0 30px 70px -30px rgba(var(--tint-rgb), .42); }
.wc-hero { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .14), 0 4px 10px -4px rgba(var(--tint-rgb), .45); }
.wheel { box-shadow: 0 0 0 6px rgba(255,255,255,.9), 0 0 0 7px rgba(var(--tint-rgb), .14), 0 30px 70px -30px rgba(var(--tint-rgb), .42); }
.claim-banner, .wp-ready, .earn-claimable, .my-ticket-row.won, .mr-row.won {
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34), 0 8px 22px -10px rgba(var(--tint-rgb), .65); }
.btn-gold, .claim-btn { border-color: rgba(255,255,255,.95); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(var(--tint-rgb), .22), 0 0 0 1px rgba(var(--tint-rgb), .34), 0 8px 22px -10px rgba(var(--tint-rgb), .65); }
.btn-gold:focus-visible, .claim-btn:focus-visible { box-shadow: var(--ring), inset 0 1px 0 #fff; }
.counter { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .08); }
.avatar { box-shadow: 0 0 0 1px rgba(255,255,255,.95), 0 0 0 2px rgba(var(--tint-rgb), .14); }
/* "Fully Verified": brighter white edge and home's soft glow, gently pulsing between home's resting and hover levels */
.profile-card.fully-verified { border: 2px solid #fff; animation-name: verified-glow-home;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34), 0 8px 22px -10px rgba(var(--tint-rgb), .65), 0 30px 70px -30px rgba(var(--tint-rgb), .42); }
@keyframes verified-glow-home {
  0%, 100% { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .34), 0 8px 22px -10px rgba(var(--tint-rgb), .65), 0 30px 70px -30px rgba(var(--tint-rgb), .42); }
  50% { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .48), 0 12px 26px -10px rgba(var(--tint-rgb), .75), 0 30px 70px -30px rgba(var(--tint-rgb), .42); } }
@media (prefers-reduced-motion: reduce) { .profile-card.fully-verified { animation: none; } }
.btn-primary .btn-chip { color: var(--fg); }
/* "to be built" tags keep their yellow (meaning), after the neutral .chip above */
.chip-todo { background: var(--warn-bg); color: var(--warn-fg); border-color: rgba(138,75,0,.2); }

/* Profile (live): account overview with earned badges beside the name, badge status tiles and
   compact secondary cards. Built only from the existing tokens, .offer-icon, .stat and .concierge. */
.profile-identity { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.profile-avatar:empty { display: none; }
.profile-who { flex: 1 1 220px; min-width: 0; display: grid; gap: 4px; }
.profile-name { margin: 0; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; overflow-wrap: anywhere; }
.earned-badges { display: flex; flex-wrap: wrap; gap: 6px; }
/* Badges group: under the name on phones, a labelled shelf on the right from 760px. */
.profile-badges { flex: 1 1 100%; display: grid; gap: 8px; justify-items: start; }
@media (min-width: 760px) { .profile-badges { flex: 0 1 auto; margin-left: auto; justify-items: end; } .profile-badges .earned-badges { justify-content: flex-end; } }
/* Earned badges: each badge has its own look, shown to projects next to the username. */
.earned-badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 8px; font-size: 12.5px; font-weight: 650; white-space: nowrap; color: var(--fg); border: 1px solid rgba(255,255,255,.95); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .22), 0 6px 14px -8px rgba(var(--tint-rgb), .55); }
.earned-badge .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.earned-email { background: linear-gradient(180deg, #fff 0%, var(--blob-1) 100%); }
.earned-email .icon { color: var(--info-fg); }
.earned-wallet { background: var(--glass-pill-strong); }
.earned-wallet .icon { color: var(--accent-ink); }
.earned-bd { background: var(--btn-grad); color: var(--btn-fg); border-color: transparent; }
.earned-bd .icon { color: var(--btn-fg); }
.status-tiles { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(var(--tint-rgb), .14); display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.status-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.95); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .08); }
.status-tile .offer-icon { width: 34px; height: 34px; border-radius: 10px; }
.status-tile .offer-icon .icon { width: 16px; height: 16px; }
.status-tile strong { display: block; font-size: 14.5px; font-weight: 650; }
.status-tile .hint { display: block; line-height: 1.45; margin-top: 2px; }
@media (min-width: 760px) {
  .status-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-tile { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .status-tile .badge { grid-column: 1 / -1; justify-self: start; }
}
.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-campaigns summary { list-style: none; display: inline-block; }
.profile-campaigns summary::-webkit-details-marker { display: none; }
.profile-campaigns[open] summary { margin-bottom: 10px; }
.profile-compact { padding: 18px 20px; display: grid; gap: 8px; }
@media (min-width: 768px) { .profile-compact { padding: 20px 24px; } }
.profile-compact .card-header { align-items: center; }

/* Profile photo: the avatar is the upload button, with a small edit mark. */
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-photo { flex-shrink: 0; }
.profile-avatar-btn { position: relative; display: block; padding: 0; border: 0; background: none; border-radius: 16px; cursor: pointer; }
.profile-avatar-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.profile-avatar-btn:disabled { cursor: default; }
.profile-avatar-edit { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--accent-ink); background: var(--glass-pill-strong); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .22), 0 4px 10px -4px rgba(var(--tint-rgb), .45); }
.profile-avatar-edit .icon { width: 14px; height: 14px; }
.profile-edit-links { gap: 6px 16px; }
.profile-name-form { gap: 8px 10px; }
.profile-name-form .input { flex: 1 1 200px; min-width: 0; }
[data-profile-status]:empty { display: none; }

/* Partner application: one link per channel row and type-to-add chip groups (.filter-chip). */
.channel-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.channel-row .input { flex: 1 1 240px; min-width: 0; }
.pick-add { display: flex; gap: 8px; }
.pick-add .input { flex: 1 1 200px; min-width: 0; }

/* Admin inbox and two-factor card (same surface as the profile status tiles). */
.admin-sections { --gap: 20px; }
.review-list { display: grid; gap: 10px; }
.review-item { display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.95); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .08); }
.review-item .hint { overflow-wrap: anywhere; }
.review-item > .btn { justify-self: start; }
.admin-done summary { list-style: none; display: inline-block; cursor: pointer; }
.admin-done summary::-webkit-details-marker { display: none; }
.admin-done[open] summary { margin-bottom: 8px; }
.two-factor-qr { display: block; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .18); image-rendering: pixelated; }
.two-factor-key { margin: 0; overflow-wrap: anywhere; letter-spacing: .04em; }
.two-factor-backup { list-style: none; margin: 0; padding: 12px 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; border-radius: 12px; background: rgba(255,255,255,.62); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .12); }
.two-factor-ask { max-width: 520px; margin-bottom: 24px; }
.profile-compact > .btn { justify-self: start; }

/* Admin (desktop tool): wide page, side menu with waiting counts, one row per item. */
.container.admin-wide { max-width: 1480px; }
.admin-layout { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
.admin-nav { position: sticky; top: 100px; }
.admin-section { scroll-margin-top: 100px; }
.review-row { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) minmax(150px, auto); align-items: start; gap: 8px 20px; }
.review-info { display: grid; gap: 4px; min-width: 0; }
.review-actions { display: grid; gap: 6px; justify-items: start; }
.review-row > .input { align-self: start; }
.admin-done .stack { --gap: 6px; }
.review-done { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.review-done > span:first-child { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.admin-queue { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 160px auto; gap: 12px; align-items: end; }
.admin-queue > .row { flex-wrap: nowrap; }
@media (max-width: 959px) { .admin-layout, .review-row, .admin-queue { grid-template-columns: minmax(0, 1fr); } .admin-nav { position: static; } .admin-queue > .row { flex-wrap: wrap; } }

/* Partner directory: Media partners and Creators side by side, each partner with a type badge. */
.partner-columns { align-items: start; }
.partner-list { --gap: 10px; }
.partner-card { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.95); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(var(--tint-rgb), .08); }
.partner-card .hint { overflow-wrap: anywhere; }
.partner-name { font-weight: 650; font-size: 16px; }
.partner-media { background: linear-gradient(180deg, #fff 0%, var(--blob-1) 100%); }
.partner-media .icon { color: var(--info-fg); }
.partner-creator { background: var(--glass-pill-strong); }
.partner-creator .icon { color: var(--accent-ink); }

/* Admin: reversible decisions and photo moderation. */
.review-done { flex-wrap: wrap; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.photo-tile { display: grid; gap: 6px; justify-items: start; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.62); box-shadow: 0 0 0 1px rgba(var(--tint-rgb), .08); }
.photo-tile img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; display: block; }
.photo-tile .hint { overflow-wrap: anywhere; }

/* =====================================================================
   Liquid Glass (Edward's pick, 23 October 2026): "B Liquid Glass", Pearl / silver ribbon on the right,
   43% visibility, no softness. Taken from design-preview (variants.css and ribbon.js), using only
   the selected treatment. Typography, layout and colour tokens are unchanged. Plain class
   selectors at the end of the file, so hover states, focus rings and the no-glass fallback still win.
   ===================================================================== */
.backdrop { background: #eef0f8; }
.backdrop span { display: none; }
.backdrop::after { content: ""; position: absolute; inset: -35px; background: url("/assets/img/ribbon-pearl.svg") center / cover no-repeat; opacity: .43; pointer-events: none; }
.glow-field::before, .glow-field::after { display: none; }
.glass-lux, .nav {
  background: linear-gradient(150deg, rgba(255,255,255,.28), rgba(255,255,255,.06) 45%, rgba(255,255,255,.23));
  border: 1px solid rgba(255,255,255,.64);
  box-shadow: inset 2px 2px 2px rgba(255,255,255,.95), inset -2px -2px 3px rgba(255,255,255,.65), inset 0 0 9px rgba(255,255,255,.4), 0 22px 38px -22px rgba(47,39,80,.38);
  -webkit-backdrop-filter: blur(8px) saturate(125%); backdrop-filter: blur(8px) saturate(125%);
}
.glass-lux::before { background: linear-gradient(135deg, #fff, rgba(255,255,255,.05) 35%, rgba(255,255,255,.15) 65%, #fff); }
.nav { border-radius: 30px; }
.btn { border-radius: 999px; }
.btn-primary, .btn-relaxed {
  background: linear-gradient(160deg, rgba(255,255,255,.65), rgba(226,216,255,.4)); border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 1px rgba(255,255,255,.6), 0 4px 10px rgba(47,39,80,.1);
}
.offer-item, .status-tile, .stat, .review-item, .partner-card, .photo-tile { background: rgba(255,255,255,.24); border: 1px solid rgba(255,255,255,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.offer-icon { background: var(--glass-pill); box-shadow: var(--glass-highlight); }
/* Liquid lens (Chromium): site.js sets --optical-filter to an SVG displacement filter plus a light blur. */
.optical { -webkit-backdrop-filter: var(--optical-filter, blur(8px)) saturate(125%); backdrop-filter: var(--optical-filter, blur(8px)) saturate(125%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass-lux, .nav { background: rgba(255,255,255,.88); } }
.no-glass .glass-lux, .no-glass .nav { background: rgba(255,255,255,.95); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Partner logos: the partner's own picture, or their initials, in the directory, profile, apply form and admin. */
.partner-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.partner-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.partner-logo { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: rgba(var(--tint-rgb), .08); font-weight: 650; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
.partner-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.partner-logo-lg { width: 72px; height: 72px; border-radius: 16px; font-size: 22px; }
.partner-logo-pick { align-items: center; gap: 12px; }
.partner-logo-pick .partner-logo:empty { background: rgba(var(--tint-rgb), .06); box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .18); }
.review-logo { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; display: block; margin-bottom: 6px; }

/* Terms and Privacy: readable long-form text in one glass card. */
@media (min-width: 1100px) { .status-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.legal { max-width: 820px; gap: 0; }
.legal h2 { font-size: 19px; margin: 26px 0 8px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { line-height: 1.65; }
.legal p { margin: 0 0 10px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 4px; }
.legal .caps { text-transform: uppercase; font-size: 13.5px; letter-spacing: .01em; }

/* Sign-in link and admin page: a short neutral state while the session is checked (see early.js). */
html.auth-pending main > *, html.admin-pending main > * { display: none !important; }
html.auth-pending main::before, html.admin-pending main::before { display: block; padding: 120px 0; text-align: center; font-size: 18px; font-weight: 550; opacity: .7; }
html.auth-pending main::before { content: "Signing you in\2026"; }
html.admin-pending main::before { content: "Loading\2026"; }

/* Red BETA stamp beside the header logo (every page; the footer logo stays plain). */
.nav .brand::after { content: "BETA"; display: inline-block; padding: 3px 7px 2px; border: 1.5px solid #D92D20; border-radius: 6px; color: #D92D20; background: rgba(217,45,32,.06); font: 800 10.5px/1 var(--font); letter-spacing: .14em; transform: rotate(-6deg); margin-left: -2px; }

/* Campaign builder: scrolling to the card (e.g. the "Campaign submitted" message) keeps it clear of the floating header. */
.wizard { scroll-margin-top: 112px; }
