/* PeptiMedia creator hub. Phone first, TikTok energy. No eyebrow labels.
   Themes: light is the default, dark is the original black and hot pink. The server writes
   <html data-theme="light|dark|auto"> from the theme cookie (src/theme.ts); auto follows the device.
   Every colour is a token below: change a theme here, nowhere else. */
:root {
  /* The same in both themes: the brand and the art that always sits on pink or on a photo. */
  --pink: #d1105a;
  --pink-hot: #ff2d7a;
  --cyan: #25f4ee;
  --gold: #ffc85c;
  --violet: #5b2bd8;
  --pink-rgb: 209 16 90;
  --hot-rgb: 255 45 122;
  --violet-rgb: 91 43 216;
  --ember-rgb: 255 120 60;
  --white-rgb: 255 255 255;
  --scrim-rgb: 22 19 28;
  --on-accent: #fff;
  --on-cyan: #06201f;
  --on-gold: #2a1a00;
  --on-bad: #2a0000;
  --btn-grad: linear-gradient(135deg, #e3156a, var(--pink) 55%, #b80c4f);
  --art-plum: #5a0d3d;
  --art-wine: #4b0a2e;
  --art-deep: #1f1027;
  --art-ticket: #2a0f24;
  --art-navy: #1d1440;
  --art-teal: #0b3b44;
  --art-night: #16131c;
  --art-cap: #1b1622;
  --art-rose: #ff7aa8;
  --art-mint: #7af8f4;
  --art-ember: #ff8a3d;
  --confetti-1: #ff2d7a;
  --confetti-2: #d1105a;
  --confetti-3: #25f4ee;
  --confetti-4: #ffc85c;
  --confetti-5: #ff7aa8;
  --radius: 24px;
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  /* Light (the default) */
  color-scheme: light;
  --ink: #fdf6f9;
  --ink-2: #ffffff;
  --card: #ffffff;
  --card-2: #fff7fa;
  --text: #1e1024;
  --muted: #67566e;
  --fg-rgb: 43 16 38;
  --line: rgb(43 16 38 / 0.11);
  --pink-text: #c20e54;
  --pink-soft-text: #a8114c;
  --cyan-text: #07736f;
  --gold-text: #7d4700;
  --bad-text: #b42318;
  --cyan-rgb: 0 184 178;
  --gold-rgb: 240 160 20;
  --bad-rgb: 220 50 50;
  --shade-rgb: 70 20 50;
  --shade-k: 0.3;
  --glow-k: 0.3;
  --glow: 0 8px 24px rgb(var(--pink-rgb) / 0.26), 0 0 0 1px rgb(var(--hot-rgb) / 0.18);
  --bg-glow: #ffdcea;
  --bg-glow-2: #ffe3ee;
  --frame: rgb(255 255 255 / 0.84);
  --bar: rgb(255 255 255 / 0.92);
  --rail-bg: rgb(255 255 255 / 0.86);
  --tile-glass: rgb(255 255 255 / 0.78);
  --side-glass: rgb(255 255 255 / 0.9);
  --stage-end: rgb(255 255 255 / 0.96);
  --scrim: rgb(40 12 30 / 0.4);
  --placeholder: #7d6c84;
  --check-border: #b8a6bf;
  --terms-text: #3a2c40;
  --plus-mid: #1e1024;
  --plus-ink: #fff;
  --silver: #6e6b80;
  --bronze: #9a4f1c;
  --hook-1: #ffffff;
  --hook-2: #fff4f8;
  --thumb-1: #ffd6e6;
  --thumb-2: #f3e6ff;
  --rail-on: var(--text);
  --chip-btn-ink: var(--pink-text);
  --kcol-bg: #f8eef3;
  --confetti-3: #0fc9c2;
  --confetti-4: #f2a20c;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #16131c;
  --ink-2: #1d1825;
  --card: #241e2e;
  --card-2: #2c2538;
  --text: #f7f3fa;
  --muted: #a99fb6;
  --fg-rgb: 255 255 255;
  --line: rgb(255 255 255 / 0.08);
  --pink-text: #ff2d7a;
  --pink-soft-text: #ffb4c8;
  --cyan-text: #25f4ee;
  --gold-text: #ffc85c;
  --bad-text: #ff9b9b;
  --cyan-rgb: 37 244 238;
  --gold-rgb: 255 200 92;
  --bad-rgb: 255 107 107;
  --shade-rgb: 0 0 0;
  --shade-k: 1;
  --glow-k: 1;
  --glow: 0 0 28px rgb(var(--pink-rgb) / 0.55), 0 0 2px rgb(var(--hot-rgb) / 0.9);
  --bg-glow: #3a0f2a;
  --bg-glow-2: #2a0d22;
  --frame: rgb(22 19 28 / 0.72);
  --bar: rgb(14 12 18 / 0.88);
  --rail-bg: rgb(14 12 18 / 0.72);
  --tile-glass: rgb(14 12 18 / 0.58);
  --side-glass: rgb(36 30 46 / 0.82);
  --stage-end: rgb(36 30 46 / 0.92);
  --scrim: rgb(5 3 8 / 0.6);
  --placeholder: #8c839a;
  --check-border: #5b5168;
  --terms-text: #ddd5e6;
  --plus-mid: #fff;
  --plus-ink: #111;
  --silver: #d9d9e3;
  --bronze: #e0915a;
  --hook-1: #120f17;
  --hook-2: #0b0a0f;
  --thumb-1: #3a1230;
  --thumb-2: #16131c;
  --rail-on: #fff;
  --chip-btn-ink: #fff;
  --kcol-bg: #1d1825;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    color-scheme: dark;
    --ink: #16131c;
    --ink-2: #1d1825;
    --card: #241e2e;
    --card-2: #2c2538;
    --text: #f7f3fa;
    --muted: #a99fb6;
    --fg-rgb: 255 255 255;
    --line: rgb(255 255 255 / 0.08);
    --pink-text: #ff2d7a;
    --pink-soft-text: #ffb4c8;
    --cyan-text: #25f4ee;
    --gold-text: #ffc85c;
    --bad-text: #ff9b9b;
    --cyan-rgb: 37 244 238;
    --gold-rgb: 255 200 92;
    --bad-rgb: 255 107 107;
    --shade-rgb: 0 0 0;
    --shade-k: 1;
    --glow-k: 1;
    --glow: 0 0 28px rgb(var(--pink-rgb) / 0.55), 0 0 2px rgb(var(--hot-rgb) / 0.9);
    --bg-glow: #3a0f2a;
    --bg-glow-2: #2a0d22;
    --frame: rgb(22 19 28 / 0.72);
    --bar: rgb(14 12 18 / 0.88);
    --rail-bg: rgb(14 12 18 / 0.72);
    --tile-glass: rgb(14 12 18 / 0.58);
    --side-glass: rgb(36 30 46 / 0.82);
    --stage-end: rgb(36 30 46 / 0.92);
    --scrim: rgb(5 3 8 / 0.6);
    --placeholder: #8c839a;
    --check-border: #5b5168;
    --terms-text: #ddd5e6;
    --plus-mid: #fff;
    --plus-ink: #111;
    --silver: #d9d9e3;
    --bronze: #e0915a;
    --hook-1: #120f17;
    --hook-2: #0b0a0f;
    --thumb-1: #3a1230;
    --thumb-2: #16131c;
    --rail-on: #fff;
    --chip-btn-ink: #fff;
  --kcol-bg: #1d1825;
  }
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.32s; animation-timing-function: var(--spring); }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: radial-gradient(120% 60% at 50% -10%, var(--bg-glow) 0%, var(--ink) 55%) fixed, var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .big { font-family: var(--head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); max-width: 14ch; }
h2 { font-size: 1.7rem; max-width: 18ch; }
h3 { font-size: 1.25rem; }
p { margin: 0; text-wrap: pretty; }
.center, .center p { text-align: center; text-wrap: balance; }
.center h1, .center h2, .center p { margin-left: auto; margin-right: auto; }
.lede { color: var(--muted); font-size: 1.05rem; max-width: 34ch; text-wrap: balance; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
a { color: var(--pink-text); }
.pink { color: var(--pink-text); text-shadow: 0 0 24px rgb(var(--hot-rgb) / calc(0.5 * var(--glow-k))); }

/* The phone column. On desktop it floats like a device. */
.app { max-width: 460px; margin: 0 auto; min-height: 100dvh; padding: 18px 16px 190px; position: relative; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 720px) {
  body { padding: 32px 0; }
  .app { min-height: calc(100dvh - 64px); border-radius: 40px; background: var(--frame); border: 1px solid var(--line); box-shadow: 0 30px 80px rgb(var(--shade-rgb) / calc(0.5 * var(--shade-k))); padding: 26px 22px 120px; overflow: hidden; }
  .app.wide { max-width: 1100px; }
}
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 10px; align-items: center; }
.spacer { flex: 1; }

/* Top bar */
.top { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.brand { font-family: var(--head); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.brand i { width: 26px; height: 26px; border-radius: 9px; background: linear-gradient(135deg, var(--pink-hot), var(--pink)); box-shadow: var(--glow); display: inline-block; position: relative; }
.brand i::after { content: ""; position: absolute; inset: 7px 9px 7px 10px; background: var(--on-accent); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.top form { margin: 0; }
.top .link-btn { white-space: nowrap; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.875rem; cursor: pointer; padding: 8px; }

/* Story-style progress, one segment per onboarding step */
.story { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.story span { height: 4px; border-radius: 4px; background: rgb(var(--fg-rgb) / 0.14); overflow: hidden; position: relative; }
.story span.done { background: var(--text); }
.story span.now::after { content: ""; position: absolute; inset: 0; width: 55%; background: var(--pink-hot); box-shadow: var(--glow); border-radius: 4px; animation: fill 1.6s var(--spring) both; }
@keyframes fill { from { width: 0; } }

/* Buttons: big pills that press like glass */
.btn { appearance: none; border: 0; border-radius: 999px; min-height: 58px; padding: 0 26px; font: 700 1.05rem/1 var(--body); color: var(--on-accent); background: var(--btn-grad); box-shadow: var(--glow); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; width: 100%; transition: transform 0.35s var(--spring), box-shadow 0.35s var(--spring), opacity 0.2s; }
.btn:active { transform: scale(0.96); }
.btn.ghost { color: var(--text); background: rgb(var(--fg-rgb) / 0.07); box-shadow: none; border: 1px solid var(--line); }
.btn.small { min-height: 42px; font-size: 0.92rem; padding: 0 18px; width: auto; }
.btn[disabled] { opacity: 0.45; cursor: default; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--ink) 60%, transparent); z-index: 5; }
.sticky-cta > * { max-width: 428px; margin: 0 auto; }
@media (min-width: 720px) { .sticky-cta { position: sticky; background: none; padding: 0; margin-top: auto; } }

/* Fields */
label.field { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 0.92rem; }
.input, select.input { appearance: none; width: 100%; min-height: 56px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 500 1rem var(--body); padding: 0 18px; transition: border-color 0.2s, box-shadow 0.3s var(--spring); }
.input:focus { outline: none; border-color: var(--pink-text); box-shadow: 0 0 0 4px rgb(var(--hot-rgb) / 0.18); }
.input::placeholder { color: var(--placeholder); }
.prefix { position: relative; }
.prefix > b { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.prefix > .input { padding-left: 38px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 10px; }

/* Platform tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile span { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 16px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line); font-weight: 700; cursor: pointer; transition: transform 0.35s var(--spring), border-color 0.2s, box-shadow 0.3s; }
.tile span svg { width: 28px; height: 28px; }
.tile input:checked + span { border-color: var(--pink-text); box-shadow: var(--glow); transform: scale(1.02); }
.tile input:focus-visible + span { outline: 2px solid var(--cyan); }

/* Checks */
.check { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-weight: 600; cursor: pointer; }
.check input { appearance: none; width: 26px; height: 26px; border-radius: 9px; border: 2px solid var(--check-border); flex: none; display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; margin: 0; }
.check input:checked { background: var(--pink); border-color: var(--pink-text); box-shadow: var(--glow); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 3px solid var(--on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }

.alert { padding: 14px 16px; border-radius: 18px; background: rgb(var(--pink-rgb) / 0.14); border: 1px solid rgb(var(--hot-rgb) / 0.4); font-weight: 600; }
.note { padding: 16px; border-radius: 20px; background: rgb(var(--cyan-rgb) / 0.08); border: 1px dashed rgb(var(--cyan-rgb) / 0.45); }
.note a { color: var(--cyan-text); word-break: break-all; font-weight: 700; }

/* Cards */
.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; overflow: hidden; }
.card.glow { border-color: rgb(var(--hot-rgb) / 0.45); box-shadow: 0 0 40px rgb(var(--pink-rgb) / 0.25); }

/* Hero */
.hero { display: flex; flex-direction: column; gap: 18px; padding-top: 20px; }
.phones { position: relative; height: 230px; margin: 4px 0 6px; }
.phones .ph { position: absolute; width: 132px; height: 220px; border-radius: 26px; border: 2px solid rgb(var(--fg-rgb) / 0.12); box-shadow: 0 20px 50px rgb(var(--shade-rgb) / calc(0.5 * var(--shade-k))); overflow: hidden; }
.phones .ph::after { content: ""; position: absolute; left: 12px; right: 30px; bottom: 16px; height: 8px; border-radius: 6px; background: rgb(var(--fg-rgb) / 0.7); box-shadow: 0 -16px 0 -1px rgb(var(--fg-rgb) / 0.35); }
.phones .a { left: 50%; transform: translateX(-50%) rotate(0deg); z-index: 3; background: linear-gradient(160deg, var(--pink-hot), var(--art-plum) 70%); box-shadow: var(--glow), 0 20px 50px rgb(var(--shade-rgb) / calc(0.5 * var(--shade-k))); animation: bob 5s ease-in-out infinite; }
.phones .b { left: calc(50% - 150px); top: 22px; transform: rotate(-10deg); background: linear-gradient(160deg, var(--violet), var(--art-navy)); }
.phones .c { left: calc(50% + 18px); top: 22px; transform: rotate(10deg); background: linear-gradient(160deg, var(--cyan), var(--art-teal)); }
.phones .heart { position: absolute; right: 14px; top: 90px; width: 22px; height: 22px; z-index: 4; }
@keyframes bob { 50% { transform: translateX(-50%) translateY(-8px); } }
.chips { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px; justify-content: center; }
.chip { padding: 8px 14px; border-radius: 999px; background: rgb(var(--fg-rgb) / 0.07); border: 1px solid var(--line); font-weight: 600; font-size: 0.875rem; }

/* Quiz deck: one card on top, the rest peeking behind */
.deck { position: relative; min-height: 430px; }
.q { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 16px; transition: transform 0.55s var(--spring), opacity 0.4s; }
.js .q { transform: translateY(calc(var(--i) * 12px)) scale(calc(1 - var(--i) * 0.05)); z-index: calc(10 - var(--i)); }
.js .q:not(.top-card) .opts { visibility: hidden; }
.js .q.gone { transform: translateX(130%) rotate(16deg); opacity: 0; pointer-events: none; }
.no-js .deck { min-height: 0; display: flex; flex-direction: column; gap: 16px; }
.no-js .q { position: relative; }
.q .num { font-family: var(--head); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--pink-text); text-shadow: 0 0 30px rgb(var(--hot-rgb) / calc(0.55 * var(--glow-k))); }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; padding: 15px 16px; border-radius: 16px; background: rgb(var(--fg-rgb) / 0.06); border: 1.5px solid var(--line); font-weight: 600; cursor: pointer; transition: transform 0.3s var(--spring), border-color 0.2s, background 0.2s; }
.opt span:active { transform: scale(0.97); }
.opt input:checked + span { border-color: var(--pink-text); background: rgb(var(--pink-rgb) / 0.18); }
.opt.right span { border-color: var(--cyan-text) !important; background: rgb(var(--cyan-rgb) / 0.14) !important; }
.opt.wrong span { border-color: var(--bad) !important; animation: shake 0.4s; }
.hint { color: var(--muted); font-size: 0.92rem; min-height: 1.4em; text-wrap: balance; }
.q.wrong-answered .hint { color: var(--pink-soft-text); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.score { font-family: var(--head); font-weight: 800; font-size: 1rem; }

/* Product carousel: swipe sideways */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 6px 16px 14px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.prod { scroll-snap-align: center; border-radius: 28px; padding: 18px; background: var(--card); border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: border-color 0.2s, box-shadow 0.3s; }
.prod:has(input:checked) { border-color: var(--pink-text); box-shadow: var(--glow); }
.vial-art { height: 170px; border-radius: 20px; display: grid; place-items: center; position: relative; overflow: hidden; }
.vial { width: 54px; height: 120px; border-radius: 12px 12px 16px 16px; background: linear-gradient(90deg, rgb(var(--fg-rgb) / 0.85), rgb(var(--fg-rgb) / 0.45) 40%, rgb(var(--fg-rgb) / 0.8)); box-shadow: 0 16px 30px rgb(var(--shade-rgb) / calc(0.35 * var(--shade-k))); position: relative; }
.vial::before { content: ""; position: absolute; left: 6px; right: 6px; top: -18px; height: 22px; border-radius: 6px; background: var(--art-cap); }
.vial::after { content: ""; position: absolute; left: 0; right: 0; top: 42px; height: 40px; background: rgb(var(--scrim-rgb) / 0.85); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: rgb(var(--fg-rgb) / 0.05); font-weight: 700; cursor: pointer; transition: transform 0.3s var(--spring); }
.size input:checked + span { background: var(--pink); color: var(--on-accent); border-color: var(--pink-text); box-shadow: var(--glow); transform: scale(1.05); }
.size input:focus-visible + span { outline: 2px solid var(--cyan); }

/* Waiting orb */
.orb-wrap { display: grid; place-items: center; height: 260px; position: relative; }
.orb { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--art-rose), var(--pink) 45%, var(--art-wine) 80%); box-shadow: 0 0 80px rgb(var(--pink-rgb) / 0.7); animation: breathe 2.6s ease-in-out infinite; }
.orb-wrap::before, .orb-wrap::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 2px solid rgb(var(--hot-rgb) / 0.5); animation: ring 2.6s ease-out infinite; }
.orb-wrap::after { animation-delay: 1.3s; }
@keyframes breathe { 50% { transform: scale(1.08); } }
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
.steps-done { display: flex; flex-direction: column; gap: 10px; }
.steps-done div { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.steps-done b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--cyan-rgb) / 0.15); color: var(--cyan-text); font-size: 0.85rem; flex: none; }
.steps-done .wait b { background: rgb(var(--hot-rgb) / 0.15); color: var(--pink-text); }

/* Code and link */
.code-big { font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 10.5vw, 3.2rem); letter-spacing: 0; line-height: 1; white-space: nowrap; }
.copyrow { display: flex; gap: 10px; align-items: center; padding: 10px 10px 10px 16px; border-radius: 18px; background: rgb(var(--shade-rgb) / calc(0.3 * var(--shade-k))); border: 1px solid var(--line); }
.copyrow code { flex: 1; font: 600 0.9rem var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy.done { background: var(--cyan); color: var(--on-cyan); box-shadow: 0 0 24px rgb(var(--cyan-rgb) / 0.5); }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: drop 2.4s var(--spring) forwards; }
@keyframes drop { to { transform: translateY(110vh) rotate(540deg); opacity: 0.2; } }

/* Home */
.hello { display: flex; align-items: center; gap: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--pink-hot), var(--violet)); color: var(--on-accent); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.2rem; box-shadow: var(--glow); flex: none; }
.lvl-chip { padding: 6px 12px; border-radius: 999px; background: rgb(var(--gold-rgb) / 0.12); color: var(--gold-text); font-weight: 700; font-size: 0.85rem; border: 1px solid rgb(var(--gold-rgb) / 0.35); }
.mission { min-height: 300px; display: flex; flex-direction: column; gap: 14px; justify-content: flex-end; background: linear-gradient(170deg, rgb(var(--hot-rgb) / 0.95), var(--art-plum) 55%, var(--art-deep)); color: var(--on-accent); border: 0; box-shadow: var(--glow); }
.mission::before { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgb(var(--white-rgb) / 0.1); }
.mission .tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgb(var(--shade-rgb) / calc(0.3 * var(--shade-k))); font-weight: 700; font-size: 0.85rem; }
.mission h2 { font-size: 2rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat .big { font-size: 3rem; }
.flame { width: 34px; height: 34px; filter: drop-shadow(0 0 12px rgb(var(--ember-rgb) / 0.7)); }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.levels div { display: flex; flex-direction: column; gap: 6px; font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.levels div::before { content: ""; height: 8px; border-radius: 8px; background: rgb(var(--fg-rgb) / 0.12); }
.levels .on { color: var(--gold-text); }
.levels .on::before { background: linear-gradient(90deg, var(--gold), var(--art-ember)); box-shadow: 0 0 14px rgb(var(--gold-rgb) / 0.6); }
.live-btn { min-height: 76px; font-size: 1.3rem; font-family: var(--head); font-weight: 800; letter-spacing: -0.01em; }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--on-accent); box-shadow: 0 0 0 4px rgb(var(--white-rgb) / 0.25); animation: breathe 1.4s infinite; }
.soon { font-size: 0.8rem; font-weight: 600; opacity: 0.8; }

/* Bottom tab bar */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bar); backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
.tabs nav { max-width: 428px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.tabs a, .tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 0.7rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.tabs .on { color: var(--text); }
.tabs svg { width: 24px; height: 24px; }
.tabs .plus { width: 52px; height: 36px; border-radius: 12px; background: linear-gradient(90deg, var(--cyan) 0 12%, var(--plus-mid) 12% 88%, var(--pink-hot) 88%); display: grid; place-items: center; color: var(--plus-ink); font-size: 1.6rem; font-weight: 800; margin: 0 auto; }
@media (min-width: 720px) { .tabs { position: absolute; border-radius: 0 0 40px 40px; } }

/* Team */
.board { display: grid; gap: 16px; }
@media (min-width: 900px) { .board { grid-template-columns: repeat(5, 1fr); align-items: start; } }
.col h3 { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.col h3 .big { font-size: 1.6rem; color: var(--pink-text); }
.person { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin-bottom: 10px; }
.person .who { display: flex; gap: 10px; align-items: center; }
.person .avatar { width: 36px; height: 36px; font-size: 0.95rem; box-shadow: none; }
.person form { display: flex; gap: 8px; margin: 0; }
.person select.input { min-height: 42px; border-radius: 12px; font-size: 0.9rem; padding: 0 12px; }
.empty { color: var(--muted); font-size: 0.9rem; padding: 14px; border-radius: 18px; border: 1px dashed var(--line); }
.mock-flag { padding: 4px 10px; border-radius: 999px; background: rgb(var(--gold-rgb) / 0.12); color: var(--gold-text); font-size: 0.8rem; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Store terms: the store's exact words, scrollable */
.terms { max-height: 46vh; overflow-y: auto; white-space: pre-wrap; padding: 18px; border-radius: 20px; background: rgb(var(--shade-rgb) / calc(0.3 * var(--shade-k))); border: 1px solid var(--line); font-size: 0.92rem; line-height: 1.55; color: var(--terms-text); }
.terms:focus { outline: 2px solid var(--pink-hot); }

/* Build 3 */
.levels .cur::before { background: linear-gradient(90deg, var(--gold) var(--p, 0%), rgb(var(--fg-rgb) / 0.12) var(--p, 0%)); }
.flame { opacity: 0.45; filter: grayscale(0.6); }
.flame.lit { opacity: 1; filter: drop-shadow(0 0 12px rgb(var(--ember-rgb) / 0.7)); animation: flicker 1.8s ease-in-out infinite; }
@keyframes flicker { 50% { transform: scale(1.08) rotate(-3deg); } }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(var(--fg-rgb) / 0.06); border: 1px solid var(--line); }
.seg a { text-align: center; padding: 10px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; text-decoration: none; transition: background 0.3s var(--spring), color 0.2s; }
.seg a.on { background: var(--pink); color: var(--on-accent); box-shadow: var(--glow); }
.app.wide .seg { max-width: 460px; }

.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vgrid.team { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.vtile { display: flex; flex-direction: column; gap: 6px; }
.vthumb { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; display: block; background: linear-gradient(160deg, var(--thumb-1), var(--thumb-2)); border: 1px solid var(--line); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vthumb.styled { background: linear-gradient(160deg, var(--pink-hot), var(--violet) 60%, var(--art-night)); }
.vthumb.styled::after { content: ""; position: absolute; left: 50%; top: 45%; width: 0; height: 0; border-left: 22px solid rgb(var(--white-rgb) / 0.9); border-top: 14px solid transparent; border-bottom: 14px solid transparent; transform: translate(-40%, -50%); }
.vplat { position: absolute; left: 8px; top: 8px; width: 26px; height: 26px; border-radius: 8px; background: rgb(var(--scrim-rgb) / 0.55); color: var(--on-accent); display: grid; place-items: center; }
.vplat svg { width: 16px; height: 16px; }
.vviral { position: absolute; right: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-weight: 800; font-size: 0.75rem; }
.vstatus { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 5px 8px; border-radius: 10px; font-size: 0.75rem; font-weight: 700; text-align: center; background: rgb(var(--scrim-rgb) / 0.6); color: var(--on-accent); backdrop-filter: blur(6px); }
.vtile.verified .vstatus { background: rgb(var(--cyan-rgb) / 0.85); color: var(--on-cyan); }
.vtile.rejected .vthumb { opacity: 0.5; }
.vtile.rejected .vstatus { background: rgb(var(--bad-rgb) / 0.85); color: var(--on-bad); }
.acts { display: flex; gap: 6px; }
.acts form { margin: 0; flex: 1; }
.acts .btn { width: 100%; }

.rules { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rules li { padding-left: 18px; position: relative; color: var(--muted); text-wrap: pretty; }
.rules li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink-hot); box-shadow: var(--glow); }
.rules b { color: var(--text); }
.upload { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 18px; border: 1.5px dashed rgb(var(--hot-rgb) / 0.55); background: rgb(var(--pink-rgb) / 0.08); font-weight: 700; cursor: pointer; position: relative; }
.upload svg { width: 28px; height: 28px; flex: none; color: var(--pink-text); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lrow, .lrow2 { display: flex; gap: 12px; align-items: center; }
.lrow { padding: 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.lshot { width: 48px; height: 64px; border-radius: 10px; overflow: hidden; flex: none; background: var(--card-2); }
.lshot img { width: 100%; height: 100%; object-fit: cover; }
.pill { padding: 5px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: rgb(var(--fg-rgb) / 0.08); white-space: nowrap; }
.pill.approved, .pill.verified, .pill.payable { background: rgb(var(--cyan-rgb) / 0.15); color: var(--cyan-text); }
.pill.rejected { background: rgb(var(--bad-rgb) / 0.15); color: var(--bad-text); }
.ledger { display: flex; flex-direction: column; gap: 12px; }
.plusamt { color: var(--cyan-text); font-family: var(--head); font-size: 1.1rem; }

.money-hero .big { font-size: clamp(3rem, 15vw, 4.2rem); color: var(--text); text-shadow: 0 0 30px rgb(var(--hot-rgb) / calc(0.6 * var(--glow-k))); }
.stat .big[data-money] { font-size: 2.2rem; }
.payday { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.payday .days { display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 12px; border-radius: 20px; background: rgb(var(--pink-rgb) / 0.15); border: 1px solid rgb(var(--hot-rgb) / 0.4); }
.payday .days .big { font-size: 2.6rem; color: var(--pink-text); }
.toast { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 20; padding: 12px 20px; border-radius: 999px; background: var(--cyan); color: var(--on-cyan); font-weight: 800; white-space: nowrap; box-shadow: 0 0 30px rgb(var(--cyan-rgb) / 0.6); animation: toast 3.2s var(--spring) forwards; }
@keyframes toast { 0% { transform: translate(-50%, -80px); } 12%, 85% { transform: translate(-50%, 0); } 100% { transform: translate(-50%, -80px); opacity: 0; } }

.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.badge { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 18px; background: rgb(var(--fg-rgb) / 0.04); border: 1px solid var(--line); opacity: 0.55; }
.badge.got { opacity: 1; border-color: rgb(var(--gold-rgb) / 0.5); background: rgb(var(--gold-rgb) / 0.08); box-shadow: 0 0 24px rgb(var(--gold-rgb) / 0.15); }
.bico { font-size: 1.5rem; color: var(--gold-text); line-height: 1; }

.nudge { padding: 14px 16px; border-radius: 18px; background: linear-gradient(90deg, rgb(var(--pink-rgb) / 0.25), rgb(var(--violet-rgb) / 0.25)); border: 1px solid rgb(var(--hot-rgb) / 0.45); font-weight: 600; text-align: center; text-wrap: balance; }
.nudge b { font-family: var(--head); font-size: 1.3rem; color: var(--pink-text); }
.nudge.win { background: rgb(var(--gold-rgb) / 0.12); border-color: rgb(var(--gold-rgb) / 0.5); }
.podium { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: end; margin-top: 8px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0; }
.pod strong { font-size: 0.85rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .avatar { width: 56px; height: 56px; }
.pod.p1 .avatar { width: 72px; height: 72px; font-size: 1.6rem; }
.pod .crown svg { width: 26px; height: 26px; }
.pod.p1 .crown { color: var(--gold-text); filter: drop-shadow(0 0 10px rgb(var(--gold-rgb) / 0.8)); }
.pod.p2 .crown { color: var(--silver); }
.pod.p3 .crown { color: var(--bronze); }
.pod .step { width: 100%; border-radius: 16px 16px 6px 6px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); font-family: var(--head); font-weight: 800; font-size: 1.6rem; display: grid; place-items: center; margin-top: 6px; }
.pod.p1 .step { height: 96px; background: linear-gradient(180deg, rgb(var(--hot-rgb) / 0.6), var(--card)); box-shadow: var(--glow); }
.pod.p2 .step { height: 70px; }
.pod.p3 .step { height: 52px; }
.mvp { gap: 12px; }
.mvp svg { width: 30px; height: 30px; color: var(--gold-text); flex: none; }
.board-list { display: flex; flex-direction: column; gap: 8px; }
.brow { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.brow .avatar { width: 38px; height: 38px; font-size: 1rem; box-shadow: none; }
.brow .rk { width: 22px; font-family: var(--head); font-weight: 800; color: var(--muted); text-align: center; }
.brow.me { border-color: var(--pink-text); box-shadow: var(--glow); }
.table { display: flex; flex-direction: column; gap: 6px; }
.trow { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
@media (min-width: 720px) { .trow { grid-template-columns: 1.1fr 2fr 2fr 0.7fr; align-items: center; gap: 12px; } .trow b { text-align: right; } }

/* Warm-up quiz: progress bar, bursts, the "You're in" screen */
.qbar { height: 10px; border-radius: 10px; background: rgb(var(--fg-rgb) / 0.1); overflow: hidden; }
.qbar span { display: block; height: 100%; width: var(--done, 0%); border-radius: 10px; background: linear-gradient(90deg, var(--pink), var(--pink-hot)); box-shadow: var(--glow); transition: width 0.6s var(--spring); }
.no-js .qbar { display: none; }
.burst { position: fixed; width: 0; height: 0; pointer-events: none; z-index: 30; }
.burst i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; box-shadow: 0 0 12px currentColor; border-radius: 50%; animation: pop 0.8s var(--spring) forwards; }
@keyframes pop { 0% { transform: translate(0, 0) scale(1.2); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(0.2); opacity: 0; } }
.opt span { text-wrap: balance; }
.opt.right span { transform: scale(1.03); box-shadow: 0 0 28px rgb(var(--cyan-rgb) / 0.45); }
.q.wrong-answered .hint { color: var(--pink-soft-text); font-weight: 600; }
.ready { padding-top: 40px; gap: 18px; }
.ready-burst { width: 170px; height: 170px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgb(var(--hot-rgb) / 0.55), rgb(var(--pink-rgb) / 0.15) 60%, transparent 70%); animation: readyPop 0.9s var(--spring) both, breathe 2.6s 0.9s ease-in-out infinite; }
.ready-burst span { font-size: 5.5rem; line-height: 1; }
.ready-title { font-size: clamp(3rem, 15vw, 4.6rem); margin: 0 auto; }
@keyframes readyPop { from { transform: scale(0.3) rotate(-20deg); opacity: 0; } }

/* Build 4: team admin */
.app.wide { max-width: 1400px; }
.tnav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 2px 4px; }
.tnav::-webkit-scrollbar { display: none; }
.tnav a { flex: none; padding: 9px 16px; border-radius: 999px; color: var(--muted); font-weight: 700; text-decoration: none; background: rgb(var(--fg-rgb) / 0.05); border: 1px solid var(--line); }
.tnav a.on { background: var(--pink); color: var(--on-accent); border-color: var(--pink-text); box-shadow: var(--glow); }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters .input { min-height: 44px; border-radius: 14px; font-size: 0.92rem; }
.filters input[type="search"] { grid-column: 1 / -1; }
@media (min-width: 900px) { .filters { grid-template-columns: 2fr 1fr 1fr 1fr auto auto; } .filters input[type="search"] { grid-column: auto; } }
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .kanban { grid-auto-columns: 272px; margin: 0; padding-left: 0; padding-right: 0; } }
.kcol { scroll-snap-align: start; background: var(--kcol-bg); border: 1px solid var(--line); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 8px; align-self: start; max-height: 74vh; overflow-y: auto; }
.kcol h3 { display: flex; align-items: baseline; gap: 8px; font-size: 1.05rem; position: sticky; top: -12px; background: var(--kcol-bg); padding: 4px 0 6px; z-index: 1; }
.kcol h3 .big { font-size: 1.3rem; color: var(--pink-text); }
.kcol.quiet h3 .big { color: var(--gold-text); }
.kcol.removed { opacity: 0.75; }
.pcard { display: flex; flex-direction: column; gap: 5px; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform 0.3s var(--spring), border-color 0.2s; }
.pcard:hover { border-color: rgb(var(--hot-rgb) / 0.5); transform: translateY(-2px); }
.pcard .who { display: flex; gap: 10px; align-items: center; }
.pcard .who svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.pcard .avatar { width: 34px; height: 34px; font-size: 0.9rem; box-shadow: none; }
.min { min-width: 0; }
.min strong, .min h2 { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next { font-size: 0.85rem; font-weight: 700; color: var(--pink-text); }
.kcol.quiet .next { color: var(--gold-text); }

.drawer-wrap { position: fixed; inset: 0; z-index: 40; display: flex; justify-content: flex-end; }
.scrim { position: absolute; inset: 0; background: var(--scrim); backdrop-filter: blur(4px); }
.drawer { position: relative; width: min(560px, 100%); height: 100%; overflow-y: auto; background: var(--ink-2); border-left: 1px solid var(--line); padding: 20px 18px 60px; display: flex; flex-direction: column; gap: 14px; animation: slideIn 0.4s var(--spring); box-shadow: -30px 0 80px rgb(var(--shade-rgb) / calc(0.5 * var(--shade-k))); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer .row { gap: 12px; }
.chips.left { display: flex; flex-wrap: wrap; justify-content: flex-start; }
.chip.warn { background: rgb(var(--gold-rgb) / 0.15); color: var(--gold-text); border-color: rgb(var(--gold-rgb) / 0.4); }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.dgrid p { overflow-wrap: break-word; font-size: 0.92rem; }
.nowrap { white-space: nowrap; }
.track { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.dstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dstats div { display: flex; flex-direction: column; padding: 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.dstats .big { font-size: 1.25rem; }
.dactions { display: flex; flex-wrap: wrap; gap: 8px; }
form.inline { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
form.inline .input { min-height: 42px; border-radius: 12px; font-size: 0.9rem; padding: 0 12px; width: auto; flex: 1; min-width: 140px; }
.btn.danger { background: rgb(var(--bad-rgb) / 0.15); color: var(--bad-text); box-shadow: none; border: 1px solid rgb(var(--bad-rgb) / 0.4); }
.input.area { min-height: 84px; padding: 12px 16px; resize: vertical; font-family: var(--body); }
.input.area.tall { min-height: 180px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid rgb(var(--hot-rgb) / 0.35); display: flex; flex-direction: column; gap: 12px; }
.timeline li { display: flex; flex-direction: column; gap: 2px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink-hot); box-shadow: var(--glow); }
.mini { display: flex; flex-wrap: wrap; gap: 6px; }
.mini a { text-decoration: none; color: inherit; }
.trow.ship, .trow.pay, .trow.quiet { align-items: center; }
@media (min-width: 720px) {
  .trow.ship { grid-template-columns: 28px 1fr 1fr 2.2fr 1.2fr; }
  .trow.pay { grid-template-columns: 1.4fr 1.2fr 1fr 0.7fr 1.8fr; }
  .trow.quiet { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.trow input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--pink); }
.trow .who { display: flex; gap: 10px; align-items: center; }
.trow .avatar { width: 34px; height: 34px; font-size: 0.9rem; box-shadow: none; }
.trow .big { font-size: 1.4rem; color: var(--gold-text); }
.trow.quiet.removal .big { color: var(--bad-text); }
b.bad { color: var(--bad-text); font-weight: 600; font-size: 0.85rem; }

/* Include bonuses switch (billing per store) */
@media (min-width: 720px) { .trow.bill { grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr 0.7fr; } }
.switch-form { gap: 10px; flex-wrap: nowrap; }
.switch { appearance: none; border: 0; width: 46px; height: 28px; border-radius: 999px; background: rgb(var(--fg-rgb) / 0.14); position: relative; cursor: pointer; flex: none; transition: background 0.3s var(--spring); }
.switch i { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--on-accent); transition: transform 0.35s var(--spring); }
.switch.on { background: var(--pink); box-shadow: var(--glow); }
.switch.on i { transform: translateX(18px); }
.switch:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Team stat cards: money fits at 375px */
.app.wide .stat .big { font-size: clamp(1.9rem, 8.5vw, 3rem); overflow-wrap: anywhere; }

/* Build 5: platforms and payout method on the apply form. Fields show only for ticked platforms (no JS needed). */
.field-title { font-weight: 700; font-size: 0.95rem; text-wrap: balance; }
.tiles.four { grid-template-columns: 1fr 1fr; }
@media (min-width: 420px) { .tiles.four { grid-template-columns: repeat(4, 1fr); } .tiles.four .tile span { align-items: center; text-align: center; padding: 14px 8px; font-size: 0.9rem; } }
.pf { display: none; grid-template-columns: 1.4fr 1fr; gap: 12px; padding: 12px; border-radius: 20px; background: rgb(var(--pink-rgb) / 0.07); border: 1px solid rgb(var(--hot-rgb) / 0.25); animation: pfIn 0.35s var(--spring); }
@keyframes pfIn { from { opacity: 0; transform: translateY(-6px); } }
.apply:has(input[name="platforms"][value="tiktok"]:checked) .pf[data-for="tiktok"],
.apply:has(input[name="platforms"][value="instagram"]:checked) .pf[data-for="instagram"],
.apply:has(input[name="platforms"][value="youtube"]:checked) .pf[data-for="youtube"],
.apply:has(input[name="platforms"][value="facebook"]:checked) .pf[data-for="facebook"] { display: grid; }
.pay-bank { display: none; }
.apply:has(input[name="payout_method"][value="bank"]:checked) .pay-bank { display: block; }
.apply:has(input[name="payout_method"][value="bank"]:checked) .pay-paypal { display: none; }
.dgrid .wide { grid-column: 1 / -1; }
.picons { display: flex; gap: 4px; }
.picons svg { width: 16px; height: 16px; color: var(--muted); }
.payout-form .pay-bank { display: none; }
.payout-form:has(input[name="payout_method"][value="bank"]:checked) .pay-bank { display: block; }
.payout-form:has(input[name="payout_method"][value="bank"]:checked) .pay-paypal { display: none; }
@media (min-width: 720px) { .trow.track { grid-template-columns: 1.3fr 1fr 1fr 1.2fr 1.4fr; } }
.trow.track.overdue { border-color: rgb(var(--bad-rgb) / 0.4); }
.warn-num { color: var(--bad-text); }
details.card summary { cursor: pointer; }
.money-part { font-size: 1.4rem; margin-top: 6px; }
pre.code { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgb(var(--shade-rgb) / calc(0.35 * var(--shade-k))); border: 1px solid var(--line); overflow-x: auto; font-size: 0.85rem; }
.suggest { border-color: rgb(var(--gold-rgb) / 0.4); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hello a.avatar { text-decoration: none; color: var(--on-accent); }
@media (min-width: 720px) { .trow.pod { grid-template-columns: 1.4fr 1.4fr 0.8fr 0.8fr; } }
ol.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
code.podcode { font: 700 1rem var(--body); padding: 4px 10px; border-radius: 8px; background: rgb(var(--shade-rgb) / calc(0.4 * var(--shade-k))); border: 1px solid var(--line); }
details.confirm { display: inline-block; }
details.confirm summary { list-style: none; cursor: pointer; }
details.confirm summary::-webkit-details-marker { display: none; }
details.confirm[open] > div { margin-top: 8px; padding: 12px; border-radius: 14px; background: rgb(var(--bad-rgb) / 0.08); border: 1px solid rgb(var(--bad-rgb) / 0.35); }

/* UI/UX review fixes */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.tabs a, .tabs span { font-size: 0.75rem; }
.tile span { position: relative; }
.tile input:checked + span::after { content: "✓"; position: absolute; top: 8px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--pink); color: var(--on-accent); font-size: 0.8rem; font-weight: 800; display: grid; place-items: center; box-shadow: var(--glow); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; }
.btn.light { background: var(--on-accent); color: var(--art-cap); box-shadow: none; }
.mission-tag { display: block; font-family: var(--body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; opacity: 0.85; margin-bottom: 4px; }
.ship-card { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.ship-card.done { border-color: rgb(var(--cyan-rgb) / 0.45); }
.ship-card > div { flex: 1; min-width: 0; }
.ship-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 12px rgb(var(--gold-rgb) / 0.6); }
.ship-dot.moving { background: var(--pink-hot); animation: breathe 1.4s infinite; box-shadow: var(--glow); }
.ship-card.done .ship-dot { background: var(--cyan); box-shadow: 0 0 12px rgb(var(--cyan-rgb) / 0.6); }
.rule-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.rule-card { display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; border-radius: 16px; background: rgb(var(--pink-rgb) / 0.12); border: 1px solid rgb(var(--hot-rgb) / 0.35); text-align: center; }
.rule-card b { font-family: var(--head); font-size: 1rem; line-height: 1.1; text-wrap: balance; }
.rule-card span { font-size: 0.78rem; color: var(--muted); text-wrap: balance; }
.vreason { font-size: 0.78rem; color: var(--pink-soft-text); line-height: 1.3; text-wrap: balance; }
form.reject { display: flex; flex-direction: column; gap: 6px; margin: 0; }
form.reject .input { min-height: 38px; border-radius: 10px; font-size: 0.8rem; padding: 0 8px; }
.acts { flex-wrap: wrap; }
.trow.noaddr { opacity: 0.6; }

/* Cloudflare Turnstile (only when its keys are set) */
.cf-turnstile { min-height: 65px; }

/* Hooks library (/hooks): a TikTok-style vertical swipe feed */
.fchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; scroll-snap-type: x proximity; }
.fchips::-webkit-scrollbar { display: none; }
.fchip { flex: none; scroll-snap-align: start; padding: 9px 14px; border-radius: 999px; background: rgb(var(--fg-rgb) / 0.07); border: 1px solid var(--line); font-weight: 700; font-size: 0.85rem; color: var(--text); text-decoration: none; white-space: nowrap; }
.fchip.on { background: var(--btn-grad); color: var(--on-accent); border-color: transparent; box-shadow: var(--glow); }
.hookfeed { height: min(66dvh, 560px); overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; border-radius: var(--radius); scrollbar-width: none; display: flex; flex-direction: column; gap: 14px; }
.hookfeed::-webkit-scrollbar { display: none; }
.hookfeed:focus-visible { outline: 2px solid var(--pink-hot); outline-offset: 3px; }
.hookcard { flex: none; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; gap: 18px; padding: 22px 20px; border-radius: var(--radius); border: 1px solid rgb(var(--hot-rgb) / 0.4); background: radial-gradient(120% 70% at 100% 0%, rgb(var(--hot-rgb) / 0.28), transparent 60%), linear-gradient(180deg, var(--hook-1), var(--hook-2)); box-shadow: 0 0 40px rgb(var(--pink-rgb) / 0.2); }
.hookline { font-size: clamp(1.6rem, 7vw, 2.1rem); max-width: 20ch; text-wrap: balance; }
.hookline::before { content: "\201C"; color: var(--pink-text); }
.hookline::after { content: "\201D"; color: var(--pink-text); }
.beats { margin: 0; padding: 0; list-style: none; counter-reset: beat; display: grid; gap: 10px; flex: 1; align-content: start; }
.beats li { counter-increment: beat; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; line-height: 1.4; text-wrap: pretty; }
.beats li::before { content: counter(beat); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; background: rgb(var(--hot-rgb) / 0.18); color: var(--pink-text); }
.hookcard .btn { margin-top: auto; }
.hook-rule { max-width: 40ch; margin: 0 auto; text-wrap: balance; }
.hooks-cta { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.hooks-cta h3 { margin-bottom: 4px; }
.hooks-cta .go { margin-left: auto; font-size: 2rem; color: var(--pink-text); }
.hooks-link { align-self: flex-start; }
.hookrow.off { opacity: 0.55; }
.terms-banner { text-decoration: none; color: var(--text); border-color: rgb(var(--hot-rgb) / 0.5); }

/* Hub v2: game rules and challenges (team), challenges on home (creators). */
.rules-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .rules-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.rule-card h3, .ch-row h3 { text-wrap: balance; }
.rule-fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; transition: opacity 0.2s; }
.rule-card:has(input[name="mode"][value="global"]:checked) .rule-fields { opacity: 0.4; pointer-events: none; }
.rows-grid { display: grid; gap: 8px; align-items: center; }
.rows-grid.two-col { grid-template-columns: 1fr 1fr; }
.rows-grid.three-col { grid-template-columns: 1fr 1fr 1fr; }
.rows-grid .input { min-width: 0; }
.rows-grid .place { font-weight: 800; color: var(--pink-text); padding-left: 6px; }
.scope-seg { display: flex; flex-wrap: wrap; border-radius: 22px; }
.scope-seg a { flex: 1 1 auto; }
.app.wide .scope-seg { max-width: none; }
.lrow2.change p { margin: 2px 0 0; }
.row.gap { gap: 8px; }
.btn.danger { color: var(--bad-text); border-color: rgb(var(--bad-rgb) / 0.4); }
#new .win-join, #new .store-picks { display: none; }
#new:has(input[name="window_kind"][value="join"]:checked) .win-join { display: grid; }
#new:has(input[name="window_kind"][value="join"]:checked) .win-dates { display: none; }
#new:has(input[name="scope"][value="some"]:checked) .store-picks { display: flex; }
.challenge-list { display: grid; gap: 12px; }
@media (min-width: 900px) { .challenge-list { grid-template-columns: 1fr 1fr; } }
.ch-row.ended, .ch-row.paused { opacity: 0.7; }
.challenges h3 { margin: 0; }
.challenge { display: grid; gap: 8px; }
.challenge p { margin: 0; text-wrap: pretty; }
.no-js .challenge .qbar { display: block; }
.challenge.done { border-color: rgb(var(--cyan-rgb) / 0.35); }
.challenge.done .qbar span { background: linear-gradient(90deg, var(--cyan), var(--art-mint)); }
.rule-card, #new { text-align: left; }
.rule-fields .two { align-items: end; }
.hello > div { min-width: 0; }
.hello h3 { overflow-wrap: anywhere; }
.challenge > * { min-width: 0; }

/* Hub v2 part 2: plan and own code. */
.plans { display: grid; gap: 10px; }
@media (min-width: 420px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan-tile { position: relative; }
.plan-tile input { position: absolute; opacity: 0; pointer-events: none; }
.plan-tile span { display: grid; gap: 4px; padding: 16px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line); cursor: pointer; transition: transform 0.35s var(--spring), border-color 0.2s, box-shadow 0.3s; height: 100%; box-sizing: border-box; }
.plan-tile b { font-family: "Bricolage Grotesque", sans-serif; font-size: 2.2rem; line-height: 1; color: var(--pink-text); }
.plan-tile strong { font-size: 0.95rem; text-wrap: balance; }
.plan-tile input:checked + span { border-color: var(--pink-text); box-shadow: var(--glow); transform: scale(1.02); }
.plan-tile input:focus-visible + span { outline: 2px solid var(--cyan); }
.plan-tile input:disabled + span { opacity: 0.55; cursor: not-allowed; }
.code-field { display: grid; gap: 6px; }
.code-input { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.code-state { margin: 0; min-height: 1.3em; color: var(--muted); }
.code-state.ok { color: var(--cyan-text); }
.code-state.ok::before { content: "✓ "; }
.code-state.bad { color: var(--bad-text); }
.code-ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.code-ideas:empty { display: none; }
.chip-btn { font: inherit; font-weight: 800; letter-spacing: 0.04em; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--pink-hot); background: rgb(var(--hot-rgb) / 0.12); color: var(--chip-btn-ink); cursor: pointer; }
.chip-btn:hover, .chip-btn:focus-visible { background: var(--pink); color: var(--on-accent); }

/* Desktop world (hub v2 part 3, owner 20 Nov 2026). Phones (and tablets under 1024px) keep the app exactly
   as it was: the wrappers below vanish into the layout and the desktop-only parts are hidden. */
.world-main, .home-grid, .money-cols, .money-col, .ranks-cols, .ranks-col { display: contents; }
.rail, .world-side, .d-only { display: none; }

@media (min-width: 1024px) {
  :root { --rail: 248px; }
  body:has(.app.world) {
    padding: 0;
    background:
      radial-gradient(55% 45% at 85% -10%, rgb(var(--hot-rgb) / 0.3), transparent 60%),
      radial-gradient(40% 40% at 10% 110%, rgb(var(--cyan-rgb) / 0.1), transparent 60%),
      radial-gradient(120% 80% at 50% -20%, var(--bg-glow-2) 0%, var(--ink) 60%) fixed,
      var(--ink);
    background-attachment: fixed;
  }
  .app.world { max-width: none; margin: 0; min-height: 100dvh; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; padding: 32px 40px 64px calc(var(--rail) + 40px); display: grid; grid-template-columns: minmax(0, 1180px); justify-content: center; align-content: start; gap: 22px; }
  .app.world.has-side { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 32px; justify-content: stretch; }
  .app.world > .top, .app.world > .tabs { display: none; }
  .world-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; grid-column: 1; grid-row: 1; }
  .world-side { display: flex; flex-direction: column; gap: 18px; grid-column: 2; grid-row: 1; position: sticky; top: 32px; align-self: start; max-height: calc(100dvh - 64px); overflow: auto; scrollbar-width: none; }
  .d-only { display: block; }
  .m-only { display: none !important; }

  /* Left rail */
  .rail { display: flex; flex-direction: column; gap: 22px; position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail); padding: 28px 18px; background: var(--rail-bg); backdrop-filter: blur(20px); border-right: 1px solid var(--line); z-index: 6; }
  .rail .brand { padding: 0 10px; }
  .rail-links { display: flex; flex-direction: column; gap: 4px; }
  .rail-links a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; color: var(--muted); font-weight: 700; text-decoration: none; transition: background 0.2s, color 0.2s, transform 0.3s var(--spring); }
  .rail-links a:hover { background: rgb(var(--fg-rgb) / 0.05); color: var(--text); transform: translateX(3px); }
  .rail-links a.on { background: linear-gradient(90deg, rgb(var(--hot-rgb) / 0.28), rgb(var(--hot-rgb) / 0.06)); color: var(--rail-on); box-shadow: inset 3px 0 0 var(--pink-hot); }
  .rail-links svg { width: 22px; height: 22px; flex: none; }
  .rail-add { gap: 10px; }
  .rail-add .plus { width: 30px; height: 22px; border-radius: 7px; background: linear-gradient(90deg, var(--cyan) 0 14%, var(--plus-mid) 14% 86%, var(--pink-hot) 86%); color: var(--plus-ink); display: grid; place-items: center; font-weight: 800; }
  .rail-out { margin: auto 0 0; padding: 0 10px; }

  /* Home stage */
  .stage { display: grid; gap: 24px; position: relative; overflow: hidden; border-radius: 34px; padding: 30px; background: linear-gradient(135deg, rgb(var(--hot-rgb) / 0.24), rgb(var(--violet-rgb) / 0.12) 55%, var(--stage-end)); border: 1px solid rgb(var(--hot-rgb) / 0.35); box-shadow: 0 30px 80px rgb(var(--shade-rgb) / calc(0.45 * var(--shade-k))), var(--glow); }
  .stage > :not(.stage-orbs) { position: relative; }
  .stage-orbs i { position: absolute; border-radius: 50%; filter: blur(46px); opacity: 0.5; animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
  .stage-orbs i:nth-child(1) { width: 340px; height: 340px; right: -90px; top: -140px; background: var(--pink-hot); }
  .stage-orbs i:nth-child(2) { width: 220px; height: 220px; left: 30%; bottom: -150px; background: var(--cyan); opacity: 0.22; animation-duration: 20s; }
  .stage-orbs i:nth-child(3) { width: 180px; height: 180px; left: -60px; top: 20%; background: var(--violet); opacity: 0.35; animation-duration: 24s; }
  @keyframes drift { to { transform: translate(-40px, 30px) scale(1.12); } }
  .stage-who { display: flex; align-items: center; gap: 18px; }
  .stage-who .min { min-width: 0; }
  .stage-who p { overflow-wrap: anywhere; }
  .stage-avatar { width: 78px; height: 78px; font-size: 2.1rem; text-decoration: none; color: var(--on-accent); }
  .stage-hi { font-size: clamp(2.6rem, 3.6vw, 3.8rem); max-width: none; }
  .stage-row { display: grid; grid-template-columns: 1.15fr 1fr 1.15fr; gap: 16px; }
  .stage-tile { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 24px; background: var(--tile-glass); border: 1px solid var(--line); backdrop-filter: blur(10px); min-width: 0; }
  .stage-big { font-family: var(--head); font-weight: 800; font-size: 2.7rem; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
  .stage-big small { font-size: 1.1rem; color: var(--muted); letter-spacing: 0; }
  .stage-mid { font-family: var(--head); font-weight: 800; font-size: 1.7rem; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
  .gold { color: var(--gold-text); text-shadow: 0 0 26px rgb(var(--gold-rgb) / calc(0.45 * var(--glow-k))); }
  .stage-flame { width: 46px; height: 46px; }
  .xpbar { height: 12px; border-radius: 12px; background: rgb(var(--fg-rgb) / 0.1); overflow: hidden; }
  .xpbar span { display: block; height: 100%; width: var(--p, 0%); border-radius: 12px; background: linear-gradient(90deg, var(--gold), var(--art-ember)); box-shadow: 0 0 16px rgb(var(--gold-rgb) / 0.6); animation: fill 1.2s var(--spring); }
  .xpbar.pink span { background: linear-gradient(90deg, var(--pink), var(--pink-hot)); box-shadow: var(--glow); }
  .stage-levels { display: flex; flex-wrap: wrap; gap: 6px; }
  .stage-levels span { padding: 3px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: var(--muted); background: rgb(var(--fg-rgb) / 0.06); }
  .stage-levels span.on { color: var(--gold-text); background: rgb(var(--gold-rgb) / 0.12); }
  .week-dots { display: flex; gap: 8px; flex-wrap: wrap; }
  .week-dots i { width: 24px; height: 24px; border-radius: 8px; background: rgb(var(--fg-rgb) / 0.1); }
  .week-dots i.on { background: linear-gradient(160deg, var(--gold), var(--pink-hot)); box-shadow: 0 0 14px rgb(var(--ember-rgb) / 0.6); }

  /* Home grid under the stage */
  .home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 20px; align-items: stretch; }
  .home-grid > .ship-card, .home-grid > .challenges, .home-grid > .badges-card, .home-grid > .confirm-card { grid-column: 1 / -1; }
  .home-grid > .challenges { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
  .home-grid > .challenges h3 { grid-column: 1 / -1; }
  .home-grid .mission { min-height: 0; }
  .home-grid .live-btn { align-self: stretch; min-height: 100%; border-radius: var(--radius); }
  .badges-card .badges { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

  /* Side panels */
  .side-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 24px; background: var(--side-glass); border: 1px solid var(--line); backdrop-filter: blur(10px); }
  .side-live.flash .side-card { animation: sideFlash 0.8s var(--spring); }
  @keyframes sideFlash { 30% { border-color: rgb(var(--hot-rgb) / 0.6); } }
  .live-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.75rem; font-weight: 800; color: var(--pink-text); }
  .live-tag .live-dot { width: 8px; height: 8px; background: var(--pink-hot); box-shadow: 0 0 0 3px rgb(var(--hot-rgb) / 0.25); }
  .side-board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
  .side-board li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: rgb(var(--fg-rgb) / 0.03); min-width: 0; }
  .side-board li.me { box-shadow: inset 0 0 0 1.5px var(--pink-hot), var(--glow); }
  .side-board .rk { width: 20px; flex: none; text-align: center; font-family: var(--head); font-weight: 800; color: var(--muted); }
  .side-board .rk.r1 { color: var(--gold-text); }
  .side-board .rk.r2 { color: var(--silver); }
  .side-board .rk.r3 { color: var(--bronze); }
  .side-board .avatar { width: 30px; height: 30px; font-size: 0.85rem; box-shadow: none; }
  .side-board strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9rem; }
  .side-board b { font-size: 0.85rem; white-space: nowrap; }
  .side-me { color: var(--pink-text); font-weight: 700; }
  .feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .feed li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
  .feed p { font-size: 0.88rem; overflow-wrap: anywhere; text-wrap: pretty; }
  .feed-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgb(var(--hot-rgb) / 0.15); color: var(--pink-text); }
  .feed-ico.live { background: rgb(var(--cyan-rgb) / 0.12); color: var(--cyan-text); }
  .feed-ico.challenge { background: rgb(var(--gold-rgb) / 0.12); color: var(--gold-text); }
  .feed-ico svg { width: 16px; height: 16px; }

  /* The money, video and rank screens use the width */
  .world-main .seg { max-width: 460px; }
  .world-main .vgrid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
  .world-main > form#add, .world-main > .hooks-link { max-width: 760px; }
  .money-cols, .ranks-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
  .money-col, .ranks-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .money-col .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ranks-col .podium { margin-top: 30px; }
}
@media (min-width: 1024px) { .stack.d-only { display: flex; } }
/* A code can be 20 characters: it breaks rather than running out of its card. */
.code-big { white-space: normal; overflow-wrap: anywhere; }
.code-big.long { font-size: clamp(1.5rem, 6.4vw, 2.3rem); }
/* 1024 to 1279px: an icon rail and a narrower side panel, so the stage keeps its room. */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --rail: 84px; }
  .app.world { padding: 24px 24px 56px calc(var(--rail) + 24px); }
  .app.world.has-side { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 24px; }
  .world-side { top: 24px; max-height: calc(100dvh - 48px); }
  .rail { padding: 24px 12px; align-items: center; }
  .rail .brand { font-size: 0; gap: 0; padding: 0; }
  .rail-links a { justify-content: center; padding: 12px; }
  .rail-links a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .rail-links a:hover { transform: none; }
  .rail-add { font-size: 0; width: 56px; height: 56px; min-height: 0; padding: 0; gap: 0; border-radius: 18px; }
  .rail-out { padding: 0; }
  .rail-out .link-btn { font-size: 0.7rem; white-space: nowrap; }
  .rail-add .plus { font-size: 1.2rem; width: 34px; height: 26px; }
  .stage { padding: 24px; gap: 20px; }
  .stage-hi { font-size: 2.4rem; }
  .stage-avatar { width: 64px; height: 64px; font-size: 1.7rem; }
  .stage-row { grid-template-columns: 1fr 1fr; }
  .stage-row .chal-tile { grid-column: 1 / -1; }
  .stage-big { font-size: 2.2rem; }
}
/* In the sandbox its pink bar sits on top: the rail and the side panel start below it. */
@media (min-width: 1024px) {
  body.sandbox .rail { top: 48px; }
  body.sandbox .world-side { top: 72px; max-height: calc(100dvh - 96px); }
}

/* ------------------------------------------------------------------------------------------
   Onboarding v3 (owner, 20 Nov 2026): welcome story, agreement, details, product picker.
   Colours only through tokens, so the light theme can follow later. */
:root {
  --glass: rgb(var(--fg-rgb) / 0.06);
  --glass-2: rgb(var(--fg-rgb) / 0.1);
  --on-pink: var(--on-accent);
  --pink-soft: rgb(var(--hot-rgb) / 0.14);
  --label-bg: #fbfaf7;
  --label-ink: #121016;
  --label-muted: #6b6474;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The welcome story: full bleed, one screen per slide, swipe sideways. */
.app.bare { max-width: none; padding: 0; gap: 0; min-height: 100dvh; }
@media (min-width: 720px) {
  body:has(.app.bare) { padding: 0; }
  .app.bare { min-height: 100dvh; border-radius: 0; background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; }
}
.ws { height: 100dvh; width: 100%; min-width: 0; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.ws-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.ws-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; padding: 0 16px 6px; }
.ws-bars span { height: 4px; border-radius: 4px; background: var(--glass-2); overflow: hidden; }
.ws-bars i { display: block; height: 100%; width: 0; background: var(--text); border-radius: 4px; transition: width 0.5s var(--spring); }
.ws-bars span.done i, .ws-bars span.now i { width: 100%; }
.ws-bars span.now i { background: var(--pink-hot); box-shadow: var(--glow); }
.no-js .ws-bars { display: none; }
.ws-track { flex: 1; min-height: 0; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; outline: none; }
.ws-track::-webkit-scrollbar { display: none; }
.ws-slide { scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 6px 16px calc(18px + env(safe-area-inset-bottom)); }
.ws-copy { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ws-copy h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); max-width: 11ch; }
.ws-copy h2 { font-size: clamp(2rem, 8.6vw, 3rem); max-width: 13ch; }
.ws-copy .lede { max-width: 36ch; }
.ws-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; position: sticky; bottom: 0; background: linear-gradient(to top, var(--ink) 70%, transparent); }
.ws-next span { font-size: 1.4rem; line-height: 0; }
.ws-art { order: -1; position: relative; height: clamp(120px, 26dvh, 240px); flex: none; display: grid; place-items: center; }
.ws-copy .chips { justify-content: start; grid-template-columns: repeat(2, max-content); }
.ws-copy .chip { display: inline-flex; gap: 6px; align-items: center; }
.ws-copy .chip svg { width: 16px; height: 16px; }
.ws-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ws-list li { padding: 9px 13px; font-size: 0.94rem; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); color: var(--muted); text-wrap: pretty; }
.ws-list li b { color: var(--text); }
.earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.earn { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.earn b { font-family: var(--head); font-size: 1.6rem; line-height: 1.05; color: var(--pink-text); text-shadow: 0 0 20px rgb(var(--hot-rgb) / calc(0.4 * var(--glow-k))); }
.earn strong { font-size: 0.92rem; }
.earn span { font-size: 0.8rem; color: var(--muted); text-wrap: pretty; }
.vip { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 22px; background: linear-gradient(135deg, var(--pink-soft), var(--glass)); border: 1.5px solid var(--pink-hot); box-shadow: var(--glow); }
.vip b { font-family: var(--head); font-size: 2.1rem; color: var(--gold-text); }
.vip span { text-wrap: pretty; }
.ws-arrows { display: none; }

/* Art for each slide, all CSS. Final states are visible without animation (reduced motion). */
.art-glow { position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--hot-rgb) / 0.35), transparent); filter: blur(18px); z-index: -1; }
.art-phones { position: relative; width: 300px; height: 100%; transform: scale(0.82); transform-origin: center; }
.art-phones .ph { position: absolute; top: 4%; width: 120px; height: 200px; border-radius: 24px; border: 2px solid var(--glass-2); box-shadow: 0 20px 50px rgb(var(--shade-rgb) / calc(0.5 * var(--shade-k))); }
.art-phones .a { left: 90px; z-index: 3; background: linear-gradient(160deg, var(--pink-hot), var(--art-plum) 70%); box-shadow: var(--glow); animation: wsBob 5s ease-in-out infinite; }
.art-phones .b { left: 0; top: 14%; transform: rotate(-10deg); background: linear-gradient(160deg, var(--violet), var(--art-navy)); }
.art-phones .c { left: 180px; top: 14%; transform: rotate(10deg); background: linear-gradient(160deg, var(--cyan), var(--art-teal)); }
.ph-heart svg { position: absolute; right: 12px; top: 80px; width: 24px; height: 24px; animation: wsBeat 1.6s ease-in-out infinite; }
@keyframes wsBob { 50% { transform: translateY(-10px); } }
@keyframes wsBeat { 20% { transform: scale(1.25); } 40% { transform: scale(1); } }
.art-chat { display: flex; flex-direction: column; gap: 6px; width: min(320px, 100%); font-size: 0.8rem; }
.art-chat .bub:nth-child(3) { display: none; }
.bub { padding: 10px 14px; border-radius: 18px; max-width: 86%; text-wrap: pretty; animation: wsPop 0.5s var(--spring) backwards; }
.bub b { display: block; font-size: 0.72rem; color: var(--pink-text); margin-bottom: 2px; }
.bub.in { background: var(--card-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bub.out { align-self: flex-end; background: linear-gradient(135deg, var(--pink-hot), var(--pink)); color: var(--on-pink); border-bottom-right-radius: 6px; }
.bub:nth-child(2) { animation-delay: 0.5s; }
.bub:nth-child(3) { animation-delay: 1s; }
@keyframes wsPop { from { opacity: 0; transform: translateY(10px) scale(0.92); } }
.art-coins { display: grid; grid-template-columns: repeat(4, auto); gap: 14px; font-size: clamp(2.4rem, 11vw, 3.6rem); }
.art-coins span { animation: wsFloat 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgb(var(--shade-rgb) / calc(0.4 * var(--shade-k)))); }
.art-coins span:nth-child(2n) { animation-delay: -1.6s; }
@keyframes wsFloat { 50% { transform: translateY(-14px) rotate(-6deg); } }
.art-group { width: min(320px, 100%); padding: 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem; box-shadow: 0 20px 50px rgb(var(--shade-rgb) / calc(0.4 * var(--shade-k))); }
.grp-head { display: flex; gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.grp-head i { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--pink-hot), var(--violet)); }
.grp-head div { display: flex; flex-direction: column; }
.grp-head span { font-size: 0.75rem; color: var(--muted); }
.grp-msg { padding: 8px 12px; border-radius: 14px; background: var(--glass); animation: wsPop 0.5s var(--spring) backwards; }
.grp-msg b { color: var(--cyan-text); margin-right: 6px; }
.grp-msg.bot b { color: var(--pink-text); }
.grp-msg:nth-child(3) { animation-delay: 0.4s; }
.grp-msg:nth-child(4) { animation-delay: 0.8s; }
.art-ticket { perspective: 700px; }
.ticket { width: 230px; height: 140px; border-radius: 22px; padding: 18px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--art-ticket), var(--pink) 60%, var(--pink-hot)); box-shadow: var(--glow), 0 24px 60px rgb(var(--shade-rgb) / calc(0.5 * var(--shade-k))); display: flex; flex-direction: column; justify-content: space-between; color: var(--on-pink); transform: rotate(-6deg); animation: wsTilt 6s ease-in-out infinite; }
.ticket span { color: var(--on-accent); font-weight: 700; font-size: 0.85rem; opacity: 0.85; }
.ticket b { font-family: var(--head); font-size: 3.2rem; line-height: 1; color: var(--gold); }
.ticket i { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(var(--white-rgb) / 0.35) 45%, transparent 60%); transform: translateX(-100%); animation: wsShine 3.5s ease-in-out infinite; }
@keyframes wsTilt { 50% { transform: rotate(-2deg) translateY(-6px); } }
@keyframes wsShine { 60%, 100% { transform: translateX(100%); } }
.art-burst span { font-size: clamp(4rem, 20vw, 6rem); display: block; animation: wsSpin 7s linear infinite; filter: drop-shadow(0 0 24px rgb(var(--gold-rgb) / 0.6)); }
@keyframes wsSpin { to { transform: rotate(360deg); } }

/* Entrance animations, only when motion is welcome and app.js runs. */
@media (prefers-reduced-motion: no-preference) {
  .js .ws-slide:not(.on) .ws-in { opacity: 0; }
  .js .ws-slide.on .ws-in { animation: wsIn 0.7s var(--spring) backwards; animation-delay: calc(var(--d, 0) * 80ms); }
}
@keyframes wsIn { from { opacity: 0; transform: translateY(18px); } }

@media (min-height: 760px) { .art-chat .bub:nth-child(3) { display: block; } }
@media (min-width: 720px) {
  .ws-top, .ws-bars { padding-left: 32px; padding-right: 32px; }
  .ws-slide { padding: 20px 32px 32px; }
}
@media (min-width: 1024px) {
  .ws { max-width: 1320px; margin: 0 auto; }
  .ws-top { padding: 26px 56px 14px; }
  .ws-bars { padding: 0 56px 10px; max-width: 520px; }
  .ws-slide { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 56px; padding: 24px 96px 48px; overflow-x: hidden; overflow-y: auto; }
  .ws-art { order: 0; height: min(62dvh, 520px); }
  .art-phones { transform: scale(1.1); }
  .art-chat, .art-group { width: 400px; font-size: 1rem; }
  .ticket { transform: rotate(-6deg) scale(1.4); }
  .art-coins { font-size: 5rem; gap: 26px; }
  .ws-copy { justify-content: center; flex: none; }
  .ws-copy h1 { font-size: clamp(3.6rem, 5.4vw, 5.2rem); }
  .ws-copy h2 { font-size: clamp(3rem, 4.4vw, 4.2rem); }
  .ws-copy .lede { font-size: 1.2rem; }
  .ws-cta { margin-top: 10px; flex-direction: row; max-width: 520px; }
  .ws-cta .btn { width: auto; flex: 1; }
  .earn-grid { grid-template-columns: repeat(3, 1fr); }
  .ws-arrows { display: flex; justify-content: space-between; position: absolute; left: 20px; right: 20px; top: 50%; pointer-events: none; }
  .no-js .ws-arrows { display: none; }
  .ws-arrow { pointer-events: auto; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background 0.2s, opacity 0.2s; }
  .ws-arrow:hover { background: var(--pink); color: var(--on-accent); }
  .ws-arrow[disabled] { opacity: 0.25; cursor: default; }
}

@media (min-width: 1024px) and (max-width: 1279px) { .ws-slide { padding-left: 72px; padding-right: 72px; gap: 32px; } .earn-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .art-phones { transform: scale(1.35); } }

/* Agreement */
.agreement { gap: 12px; }
.ag-sec { padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.ag-sec h3 { font-size: 1.1rem; }
.ag-sec ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.ag-sec li { text-wrap: pretty; }

/* Details form */
.dstep h2 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; max-width: none; }
.dnum { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem; background: linear-gradient(135deg, var(--pink-hot), var(--pink)); color: var(--on-pink); box-shadow: var(--glow); }

/* Product picker: the full list as a grid. */
.picker { display: flex; flex-direction: column; gap: 12px; }
.picker-tools { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 0; z-index: 4; padding: 8px 0; background: linear-gradient(var(--ink) 75%, transparent); }
.search-field .input { width: 100%; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row .chip-btn { flex: none; letter-spacing: 0; font-weight: 700; border-color: var(--line); background: var(--glass); }
.chip-row .chip-btn.on { background: var(--pink); color: var(--on-accent); border-color: var(--pink-text); box-shadow: var(--glow); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pcard { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 12px; border-radius: 22px; background: var(--card); border: 1.5px solid var(--line); transition: border-color 0.2s, box-shadow 0.3s, transform 0.35s var(--spring); animation: wsPop 0.45s var(--spring) backwards; animation-delay: calc(var(--i, 0) * 30ms); }
.pcard[hidden] { display: none; }
.pcard:has(input:checked) { border-color: var(--pink-text); box-shadow: var(--glow); transform: translateY(-2px); }
.pcard h3 { font-size: 1rem; line-height: 1.15; min-height: 2.3em; text-wrap: balance; }
.pvial { height: 120px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, var(--h1), var(--h2)); overflow: hidden; }
.pvial .vial { transform: scale(0.78); }
.pvial .vial span { position: absolute; left: 0; right: 0; top: 50px; z-index: 1; text-align: center; font-size: 0.55rem; font-weight: 800; color: var(--on-pink); letter-spacing: 0.02em; padding: 0 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pcard .sizes { gap: 6px; }
.pcard .size span { padding: 8px 12px; font-size: 0.85rem; }
.pick-now { align-self: center; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--pink-hot); }
.pick-now:empty { display: none; }
.ship-to { max-width: 560px; }
.reward-card { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.reward-card .gift { font-size: 2.2rem; }
.reward-card .go { margin-left: auto; font-size: 2rem; color: var(--pink-text); }
@media (min-width: 720px) { .chip-row { margin: 0; padding: 0; flex-wrap: wrap; } .pgrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }

/* Store list extras: photos and stock. */
.pvial.photo { background: var(--card-2); }
.pvial.photo img { width: 100%; height: 100%; object-fit: contain; }
.size.out span { opacity: 0.45; text-decoration: line-through; cursor: not-allowed; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.1; }
.size.out small { font-size: 0.65rem; text-decoration: none; }
.pcard.sold { opacity: 0.55; }

/* Address confirm: printed like a shipping label. */
.label-card { padding: 20px 22px; border-radius: 16px; background: var(--label-bg); color: var(--label-ink); border: 2px dashed var(--pink-hot); box-shadow: 0 18px 40px rgb(var(--shade-rgb) / calc(0.4 * var(--shade-k))); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.label-card .label-what { font-family: var(--body); font-size: 0.8rem; font-weight: 700; color: var(--label-muted); margin-bottom: 10px; }
.label-card address { font-style: normal; display: flex; flex-direction: column; gap: 2px; font-size: 1.05rem; font-weight: 700; text-transform: uppercase; overflow-wrap: anywhere; }
.alert.warn { background: rgb(var(--gold-rgb) / 0.12); border-color: rgb(var(--gold-rgb) / 0.5); color: var(--gold-text); }

/* Team: applications */
.app-list { display: grid; gap: 12px; }
@media (min-width: 900px) { .app-list { grid-template-columns: 1fr 1fr; } }
.app-handles { display: flex; flex-wrap: wrap; gap: 8px; }
.app-handles .chip { color: var(--text); text-decoration: none; }
.app-handles .chip:hover { border-color: var(--pink-text); }
.app-row.flagged { border-color: rgb(var(--gold-rgb) / 0.45); }
.app-row details summary { cursor: pointer; color: var(--muted); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.04em; }
.faster .code-big { font-size: 2.2rem; }
.trow.mgr { display: grid; gap: 12px; align-items: start; }
.mgr-nums { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.mgr-nums b { font-family: var(--head); font-size: 1.2rem; color: var(--pink-text); }
@media (min-width: 900px) { .trow.mgr { grid-template-columns: 1fr 1.6fr 1.2fr 1.2fr; } }
.pill.warn { background: rgb(var(--gold-rgb) / 0.15); color: var(--gold-text); border-color: rgb(var(--gold-rgb) / 0.4); }

/* Theme switch (src/theme.ts): sun, moon, phone. The current one is lit from data-theme, so no JS is needed. */
.theme-pick { display: inline-flex; gap: 2px; padding: 3px; margin: 0; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); flex: none; }
.theme-pick button { appearance: none; border: 0; background: none; color: var(--muted); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background 0.25s var(--spring), color 0.2s; }
.theme-pick svg { width: 17px; height: 17px; }
.theme-pick button:hover { color: var(--text); }
.theme-pick button:focus-visible { outline: 2px solid var(--pink-text); outline-offset: 1px; }
:root:not([data-theme]) .theme-pick [value="light"],
:root[data-theme="light"] .theme-pick [value="light"],
:root[data-theme="dark"] .theme-pick [value="dark"],
:root[data-theme="auto"] .theme-pick [value="auto"] { background: var(--pink); color: var(--on-accent); box-shadow: var(--glow); }
.rail-theme { align-self: flex-start; margin-left: 8px; }
/* The narrow rail (1024 to 1279px): the switch stands upright. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .rail-theme { flex-direction: column; align-self: center; margin-left: 0; }
}

/* Campaign lander (/go/<slug>): one punchy page, phone first. Colours from the theme tokens only. */
.drop { display: flex; flex-direction: column; gap: 22px; padding-bottom: 96px; max-width: 720px; margin: 0 auto; width: 100%; }
.drop-hero { gap: 14px; padding-top: 12px; align-items: center; }
.drop-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 10vw, 4rem); text-wrap: balance; }
.drop-hero .lede { max-width: 38ch; text-wrap: balance; }
.drop-clock { display: flex; gap: 10px; justify-content: center; }
.drop-clock span { min-width: 76px; padding: 12px 8px 10px; border-radius: 18px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: var(--glow); }
.drop-clock b { font: 800 2rem/1 var(--head); font-variant-numeric: tabular-nums; color: var(--pink-text); }
.drop-clock small { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.drop-cta { max-width: 360px; }
.drop-closed { max-width: 420px; gap: 10px; }
.drop-closed h2, .drop-faq h2, .drop-terms h2 { text-wrap: balance; }
.drop-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.drop-steps li { display: flex; gap: 14px; align-items: flex-start; }
.drop-steps h3 { font-size: 1.25rem; margin-bottom: 4px; }
.drop-steps p { text-wrap: pretty; }
.drop-num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 1.2rem/1 var(--head); color: var(--on-accent); background: var(--btn-grad); }
.drop-faq { gap: 10px; }
.drop-faq details { padding: 16px 18px; }
.drop-faq summary { cursor: pointer; list-style: none; }
.drop-faq summary::-webkit-details-marker { display: none; }
.drop-faq summary::after { content: "+"; float: right; color: var(--pink-text); font-weight: 800; }
.drop-faq details[open] summary::after { content: "–"; }
.drop-faq p { margin-top: 8px; text-wrap: pretty; }
.drop-terms h2 { font-family: var(--body); font-size: 0.95rem; margin-bottom: 6px; }
.drop-terms ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.drop-terms li { text-wrap: pretty; }
@media (min-width: 720px) {
  .drop-steps { grid-template-columns: repeat(3, 1fr); }
  .drop-steps li { flex-direction: column; }
  .drop-sticky { display: none; }
  .drop { padding-bottom: 32px; }
}
.drop-due { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: rgb(var(--pink-rgb) / 0.12); color: var(--pink-text); font-size: 0.95rem; }
.drop-control, .drop-soon { display: flex; gap: 14px; align-items: flex-start; }
.drop-control > span { font-size: 1.8rem; line-height: 1; }
.drop-control p, .drop-soon p { text-wrap: pretty; }
.drop-soon { flex-direction: column; gap: 6px; border-color: rgb(var(--pink-rgb) / 0.4); }
.drop-soon p { font-weight: 600; }
