/* ScrollMob — video-ad first.
   Dark studio look so videos and phones pop. Lime = attention (people who keep watching),
   version colors A–D are fixed per version everywhere (chips, chart lines, phones).
   Type: Bricolage Grotesque (display) + Instrument Sans (UI). */

:root {
  --bg: #0a0b10;
  --bg-2: #0f1118;
  --card: #151823;
  --card-2: #1c2030;
  --line: #262b3b;
  --line-2: #343a4f;
  --text: #f4f5fa;
  --text-2: #b9bcce;
  --text-3: #8a8ea4;
  --lime: #d7ff3b;
  --lime-ink: #0b0d05;
  --lime-soft: rgba(215, 255, 59, 0.12);
  --rec: #ff4d5e;
  --up: #3ddc97;
  --down: #ff8a65;
  --v1: #3987e5;
  --v2: #d95926;
  --v3: #199e70;
  --v4: #c98500;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --ui: 'Instrument Sans', system-ui, sans-serif;
  --wrap: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.hidden { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ---------- */
.topbar-wrap { position: sticky; top: 0; z-index: 30; background: rgba(10, 11, 16, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; gap: 16px; padding: 12px 24px; max-width: var(--wrap); margin: 0 auto; }
.logo { font: 800 21px/1 var(--display); letter-spacing: -0.02em; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 9px; }
.logo-dots { display: inline-grid; grid-template-columns: repeat(3, 6px); gap: 3px; }
.logo-dots i { width: 6px; height: 6px; border-radius: 50%; background: #4a4f66; }
.logo-dots i:nth-child(3), .logo-dots i:nth-child(5) { background: var(--lime); }
.topbar nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.wallet { display: flex; gap: 6px; margin-right: 6px; }
.chip {
  border: 1px solid var(--line-2); background: var(--card); border-radius: 999px; color: var(--text-2);
  padding: 6px 12px; font-size: 13.5px; white-space: nowrap; cursor: pointer;
}
.chip strong { color: var(--text); font-weight: 700; }
.chip.lime strong { color: var(--lime); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--line); object-fit: cover; }
.linkbtn { background: none; border: 0; color: var(--text-2); cursor: pointer; padding: 7px 10px; font-size: 14px; text-decoration: none; border-radius: 8px; white-space: nowrap; }
.linkbtn:hover, .linkbtn[aria-current="page"] { color: var(--text); background: var(--card); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line-2); background: var(--card-2); color: var(--text);
  padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; text-decoration: none; transition: transform .12s, background .15s, border-color .15s;
}
.btn:hover { border-color: #4a5068; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.btn.primary:hover { background: #e3ff6e; }
.btn.ghost { background: transparent; }
.btn.big { padding: 15px 26px; font-size: 16.5px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; }

.eyebrow { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.lime-t { color: var(--lime); }
.fineprint { color: var(--text-3); font-size: 13.5px; }
.error { color: var(--down); font-size: 14px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100;
  background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 500;
  box-shadow: 0 12px 40px rgba(0,0,0,.4); max-width: calc(100vw - 32px);
}

/* version identity chips */
.vchip { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font: 700 12.5px/1 var(--ui); color: #fff; flex: none; }
.vc0 { background: var(--v1); } .vc1 { background: var(--v2); } .vc2 { background: var(--v3); } .vc3 { background: var(--v4); } .vc4 { background: #d55181; } .vc5 { background: #008300; }

/* ================= LANDING ================= */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 380px at 78% 30%, rgba(215,255,59,.08), transparent 70%),
    radial-gradient(600px 400px at 10% 90%, rgba(57,135,229,.10), transparent 70%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 56px 24px 64px; max-width: var(--wrap); margin: 0 auto; }
.hero h1 { font: 800 clamp(40px, 5.6vw, 72px)/0.98 var(--display); letter-spacing: -0.035em; margin: 14px 0 20px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p.lead { font-size: 18.5px; color: var(--text-2); margin: 0 0 28px; max-width: 520px; }
.signin { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.signin .fineprint { width: 100%; margin-top: 4px; }
.metric-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.metric-strip span { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; color: var(--text-2); background: rgba(21,24,35,.6); }
.metric-strip span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: 1px; }

.band { padding: 80px 0; border-bottom: 1px solid var(--line); }
.band.alt { background: var(--bg-2); }
.band h2 { font: 800 clamp(30px, 3.6vw, 46px)/1.04 var(--display); letter-spacing: -0.03em; margin: 10px 0 14px; max-width: 760px; }
.band .sub { color: var(--text-2); font-size: 17.5px; max-width: 640px; margin: 0 0 40px; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps3 > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.steps3 > div::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font: 800 16px/1 var(--display); margin-bottom: 18px; }
.steps3 h3 { font: 700 21px/1.2 var(--display); margin: 0 0 8px; letter-spacing: -0.01em; }
.steps3 p { color: var(--text-2); margin: 0; }

.report-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; }
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.use { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.use .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--card-2); margin-bottom: 14px; }
.use h3 { margin: 0 0 6px; font: 700 18px/1.2 var(--display); }
.use p { margin: 0; color: var(--text-2); font-size: 15px; }
.use.feature { border-color: rgba(215,255,59,.45); background: linear-gradient(180deg, rgba(215,255,59,.07), var(--card) 60%); }
.use.feature .ico { background: var(--lime); }

.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.price .n { font: 800 34px/1 var(--display); letter-spacing: -0.02em; }
.price .l { color: var(--text-2); margin: 6px 0 0; font-size: 15px; }
.price.free { border-color: rgba(215,255,59,.45); }
.price.free .n { color: var(--lime); }
.cta-band { text-align: center; }
.cta-band h2 { margin: 0 auto 14px; }
.cta-band .sub { margin: 0 auto 28px; }
.cta-band .signin { justify-content: center; }
.foot { padding: 28px 0 40px; color: var(--text-3); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.foot a { color: var(--text-2); text-decoration: none; }

/* ================= APP PAGES ================= */
.page { max-width: var(--wrap); margin: 0 auto; padding: 36px 24px 80px; }
.page-title { font: 800 clamp(30px, 3.4vw, 42px)/1.05 var(--display); letter-spacing: -0.03em; margin: 0 0 8px; }
.page-sub { color: var(--text-2); margin: 0 0 28px; font-size: 16.5px; }
.page-sub a { color: var(--text); }
.crumb { display: inline-flex; gap: 6px; color: var(--text-3); text-decoration: none; font-size: 14px; margin-bottom: 14px; }
.crumb:hover { color: var(--text); }

/* new test */
.new-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.block { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 16px; }
.block-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.block-h h2 { font: 700 20px/1.2 var(--display); margin: 0; letter-spacing: -0.01em; }
.block-h p { margin: 0; color: var(--text-3); font-size: 14px; }
.block-h .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line-2); font: 700 13px/1 var(--ui); color: var(--text-2); align-self: center; }

.types { display: flex; flex-wrap: wrap; gap: 8px; }
.type {
  display: flex; align-items: center; gap: 10px; text-align: left;
  border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 14px; padding: 10px 14px; cursor: pointer;
}
.type svg { flex: none; color: var(--text-3); }
.type strong { display: block; font-size: 15px; }
.type .tx { display: block; }
.type .hint { display: block; font-size: 12.5px; color: var(--text-3); }
.type[aria-pressed="true"] { border-color: var(--lime); background: var(--lime-soft); }
.type[aria-pressed="true"] svg { color: var(--lime); }
.type.star { padding: 14px 18px; }
.type.star strong { font-size: 16.5px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); margin-left: 6px; vertical-align: 2px; }

.slots { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.slots.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.slot { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.slot-top { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; white-space: nowrap; min-width: 0; }
.slot-top button { margin-left: auto; background: none; border: 0; color: var(--text-3); cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 6px; border-radius: 6px; }
.slot-top button:hover { color: var(--down); }
.drop {
  position: relative; width: 100%; padding: 0; overflow: hidden; cursor: pointer;
  border: 1.5px dashed var(--line-2); background: var(--bg-2); border-radius: 18px;
  display: grid; place-items: center; color: var(--text-3); text-align: center;
  aspect-ratio: var(--ar, 9 / 16); transition: border-color .15s, background .15s;
}
.drop:hover, .slot.drag .drop { border-color: var(--lime); background: var(--lime-soft); }
.drop .empty-in { padding: 14px; display: grid; justify-items: center; gap: 8px; font-size: 13.5px; }
.drop .empty-in b { color: var(--text); font-size: 14.5px; }
.drop .plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--lime); }
.slot.filled .drop { border-style: solid; border-color: var(--line-2); background: #000; }
.drop video, .drop img { width: 100%; height: 100%; object-fit: cover; }
.drop .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.drop .replace { position: absolute; left: 8px; top: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 999px; opacity: 0; transition: opacity .15s; }
.drop:hover .replace { opacity: 1; }
.slot.add .drop { border-color: var(--line); }
.slot.add .slot-top { color: var(--text-3); }

.field { display: grid; gap: 5px; font-size: 13px; color: var(--text-3); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 9px 11px; font-size: 14.5px; color: var(--text);
}
.field textarea { min-height: 64px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #61667d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); }
.audience-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr 2fr; gap: 12px; }
.audience-grid.more { grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.more-target { margin-top: 16px; }
.more-target summary { cursor: pointer; color: var(--text-2); font-size: 14.5px; font-weight: 600; }
.checkfield { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-2); align-self: end; padding-bottom: 9px; }
.checkfield input { accent-color: var(--lime); width: 17px; height: 17px; }

.sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.size { text-align: left; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 16px; padding: 18px; cursor: pointer; display: grid; gap: 6px; }
.size[aria-pressed="true"] { border-color: var(--lime); background: var(--lime-soft); }
.size .n { font: 800 30px/1 var(--display); letter-spacing: -0.02em; }
.size .n small { font: 500 14px var(--ui); color: var(--text-3); margin-left: 6px; letter-spacing: 0; }
.size .d { color: var(--text-2); font-size: 14px; }
.cost { font-weight: 700; font-size: 14px; }
.cost.free { color: var(--lime); }
.fulltoggle { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14.5px; color: var(--text-2); cursor: pointer; }
.fulltoggle input { accent-color: var(--lime); margin-top: 4px; }

.summary { position: sticky; top: 84px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.summary h3 { font: 700 18px/1.2 var(--display); margin: 0 0 14px; }
.sum-thumbs { display: flex; gap: 6px; margin-bottom: 16px; }
.sum-thumbs > div { flex: 1; aspect-ratio: var(--ar, 9/16); max-width: 64px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; position: relative; }
.sum-thumbs video, .sum-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sum-thumbs .vchip { position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; font-size: 11px; border-radius: 5px; }
.sum-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; font-size: 14.5px; }
.sum-list li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.sum-list li span:first-child { color: var(--text-3); }
.sum-list li span:last-child { text-align: right; }
.sum-cost { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.sum-cost b { font: 800 24px/1 var(--display); }
.sum-cost b.free { color: var(--lime); }
#form-error { display: block; margin-top: 10px; }

/* ================= STAGE (CrowdSim) ================= */
.stage {
  position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line);
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(215,255,59,.06), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0) 0 0 / 22px 22px,
    #0d0f16;
  padding: 22px 22px 18px; color: var(--text); min-height: 380px;
}
.stage-head { position: relative; z-index: 4; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stage-count { font: 800 clamp(34px, 4.4vw, 52px)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stage-count small { display: block; font: 500 14px/1.3 var(--ui); color: var(--text-3); letter-spacing: 0; margin-top: 4px; }
.stage-phase { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.stage-phase .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 0 rgba(255,77,94,.6); animation: rec 1.4s infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgba(255,77,94,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,77,94,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,94,0); } }
.stage-bar { position: relative; z-index: 4; height: 3px; background: rgba(255,255,255,.07); border-radius: 3px; margin: 14px 0 20px; overflow: hidden; }
.stage-bar i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 3px; transition: width .6s ease; }

.feed { position: relative; z-index: 2; display: grid; gap: 18px; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); justify-content: center; }
.feed.vertical { grid-template-columns: repeat(var(--n), minmax(0, 210px)); gap: 22px; }
.fcard { position: relative; min-width: 0; transition: transform .2s; }
.fmedia { position: relative; overflow: hidden; background: #000; border-radius: 12px; }
.fmedia > img, .fmedia > video { width: 100%; height: 100%; object-fit: cover; }
.feed.youtube .fmedia { aspect-ratio: 16 / 9; }
.feed.shop .fmedia { aspect-ratio: 1; background: #fff; }
.feed.shop .fmedia > img { object-fit: contain; }
.feed.social .fmedia { aspect-ratio: 4 / 5; }

/* phone frame */
.feed.vertical .fmedia {
  aspect-ratio: 9 / 16; border-radius: 26px;
  box-shadow: 0 0 0 5px #05060a, 0 0 0 6.5px #2c3144, 0 22px 50px rgba(0,0,0,.55);
}
.phone-ui { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 10px 12px; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 18%, transparent 58%, rgba(0,0,0,.72)); }
.phone-top { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: rgba(255,255,255,.85); }
.phone-top .ptrack { flex: 1; height: 2.5px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; }
.phone-top .ptrack i { display: block; height: 100%; width: 0; background: #fff; }
.phone-notch { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 34%; height: 13px; background: #05060a; border-radius: 0 0 10px 10px; z-index: 2; }
.phone-bottom { display: grid; gap: 6px; }
.phone-bottom .who { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; }
.phone-bottom .who i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.85); }
.phone-bottom .who em { font-style: normal; font-weight: 500; opacity: .75; font-size: 10.5px; }
.phone-bottom .hl { font-size: 12.5px; line-height: 1.3; color: #fff; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.phone-bottom .cta { background: #fff; color: #000; font-weight: 700; font-size: 12px; text-align: center; padding: 7px 8px; border-radius: 8px; }

.fmeta { padding: 12px 2px 0; }
.flabel { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; }
.ftitle { font-size: 13px; color: var(--text-3); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 0; }
.feed.vertical .ftitle { display: none; }
.fprice { color: var(--text); font-weight: 700; }
.fbig { display: flex; align-items: baseline; gap: 7px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.fbig b { font: 800 30px/1 var(--display); letter-spacing: -0.02em; }
.fbig { flex-wrap: wrap; }
.fbig small { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.waffle { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin-top: 10px; max-width: 210px; }
.waffle i { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.06); transform: scale(.55); transition: background .35s ease, transform .35s cubic-bezier(.3,1.6,.5,1), box-shadow .35s; }
.waffle i.on { transform: scale(1); }
.waffle i.w { background: var(--lime); }
.waffle i.t { background: var(--lime); box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 3px #fff; transform: scale(.8); }
.waffle i.s { background: #474c62; }
.fsub { font-size: 13px; color: var(--text-3); margin-top: 8px; min-height: 1.4em; font-variant-numeric: tabular-nums; }
.fsub b { color: var(--text); font-weight: 600; }
.fcard.hit .fmedia { box-shadow: 0 0 0 5px #05060a, 0 0 0 7px var(--lime), 0 0 34px rgba(215,255,59,.35); }
.feed:not(.vertical) .fcard.hit .fmedia { box-shadow: 0 0 0 2px var(--lime), 0 0 28px rgba(215,255,59,.3); }
.fcard.winner .fmedia { box-shadow: 0 0 0 5px #05060a, 0 0 0 8px var(--lime), 0 0 50px rgba(215,255,59,.4); }
.feed:not(.vertical) .fcard.winner .fmedia { box-shadow: 0 0 0 3px var(--lime), 0 0 40px rgba(215,255,59,.35); }
.fcard.winner::before { content: 'Winner'; position: absolute; z-index: 5; top: -11px; left: 50%; transform: translateX(-50%); background: var(--lime); color: var(--lime-ink); font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

.legend { position: relative; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 16px; font-size: 13px; color: var(--text-3); }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; background: #474c62; vertical-align: -1px; }
.legend .l-watch::before { background: var(--lime); }
.legend .l-tap::before { background: var(--lime); box-shadow: 0 0 0 1.5px #0d0f16, 0 0 0 3px #fff; width: 8px; height: 8px; margin-left: 2px; }
.legend .l-note::before { display: none; }
.legend .l-note { color: #6b7088; }

.ticker { position: relative; margin: 22px auto 0; max-width: 620px; min-height: 64px; }
.ticker-in { position: absolute; inset: 0 0 auto 0; display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; padding: 11px 14px; animation: tkin .35s ease both; }
.ticker-in.out { animation: tkout .35s ease both; }
.tk-wait { color: var(--text-3); font-size: 14px; padding: 6px 2px; }
.tk-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line-2); font-weight: 700; color: var(--text); }
.tk-body { min-width: 0; }
.tk-who { font-size: 13px; color: var(--text-3); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.tk-who b { color: var(--text); font-weight: 600; }
.tk-tag { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.tk-tag.yes { background: var(--lime); color: var(--lime-ink); }
.tk-tag.no { background: #2f3446; color: var(--text-2); }
.tk-text { font-size: 15px; color: var(--text); margin-top: 2px; }
@keyframes tkin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tkout { from { opacity: 1; } to { opacity: 0; transform: translateY(-6px); } }

/* CSS mini-ads used by the landing demo */
.mini { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; font-family: var(--display); }
.mini .big { font-weight: 800; letter-spacing: -0.03em; line-height: .95; }
.mini-a { background: linear-gradient(160deg, #23263a, #121420); color: #c9ccdc; }
.mini-a .logo-m { font-size: 22px; font-weight: 700; letter-spacing: .3em; opacity: 0; animation: fadein 6s infinite; }
.mini-a .tag { font: 500 11px var(--ui); opacity: 0; margin-top: 8px; animation: fadein 6s 1.6s infinite; }
.mini-a .shoe { width: 46%; height: 12%; border-radius: 40px 60px 14px 14px; background: #6b7090; margin-top: 18px; opacity: 0; animation: fadein 6s 2.6s infinite; }
@keyframes fadein { 0%, 10% { opacity: 0; } 30%, 90% { opacity: 1; } 100% { opacity: 0; } }
.mini-b { background: #ff5a1f; color: #fff; }
.mini-b .big { font-size: 34px; animation: punch 1.2s infinite; }
.mini-b .shoe { width: 62%; height: 15%; border-radius: 50px 80px 16px 16px; background: #fff; margin: 18px 0 10px; animation: bounce .6s infinite alternate ease-in; box-shadow: 0 18px 0 -10px rgba(0,0,0,.25); }
.mini-b .sm { font: 600 11.5px var(--ui); background: #000; padding: 4px 8px; border-radius: 6px; }
@keyframes punch { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12) rotate(-2deg); } 30% { transform: scale(1); } }
@keyframes bounce { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-16px) rotate(4deg); } }
.mini-c { background: #e9ecf5; color: #1b1d2b; }
.mini-c .big { font-size: 40px; color: #e0262f; }
.mini-c .sm { font: 600 12px var(--ui); margin-top: 6px; }
.mini-c .shoe { width: 50%; height: 12%; border-radius: 40px 60px 14px 14px; background: #1b1d2b; margin-top: 16px; animation: slide 3s infinite ease-in-out; }
@keyframes slide { 0%, 100% { transform: translateX(-12px); } 50% { transform: translateX(12px); } }
.mini-t { background: #fff; color: #111; }

/* ================= RESULTS ================= */
.verdict-card + .hooklab { margin-top: -4px; }
.verdict-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: linear-gradient(120deg, rgba(215,255,59,.10), var(--card) 55%); border: 1px solid rgba(215,255,59,.35);
  border-radius: var(--r-lg); padding: 24px; margin: 22px 0 16px;
}
.verdict-thumb { width: 92px; aspect-ratio: var(--ar, 9/16); border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 3px var(--lime); }
.verdict-thumb video, .verdict-thumb img { width: 100%; height: 100%; object-fit: cover; }
.verdict { font: 800 clamp(26px, 3.2vw, 38px)/1.05 var(--display); letter-spacing: -0.03em; margin: 6px 0 8px; }
.verdict-sub { color: var(--text-2); margin: 0; max-width: 640px; }
.lift { text-align: right; font: 800 clamp(36px, 4.6vw, 56px)/1 var(--display); color: var(--lime); letter-spacing: -0.03em; }
.lift small { display: block; font: 500 13.5px/1.3 var(--ui); color: var(--text-2); letter-spacing: 0; margin-top: 6px; max-width: 180px; margin-left: auto; }
.callout { border: 1px solid var(--line-2); border-left: 3px solid var(--v4); background: var(--card); border-radius: 12px; padding: 14px 16px; color: var(--text-2); margin-bottom: 16px; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 16px; min-width: 0; }
.panel h3 { font: 700 20px/1.2 var(--display); margin: 0 0 4px; letter-spacing: -0.01em; }
.panel .ph-sub { color: var(--text-3); font-size: 14px; margin: 0 0 18px; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cols2 > .panel { margin-bottom: 0; }
.cols2 + * { margin-top: 16px; }

.score { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.score-wrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
.score th { text-align: right; font-size: 12.5px; color: var(--text-3); font-weight: 600; padding: 0 12px 10px; white-space: nowrap; }
.score th:first-child { text-align: left; padding-left: 0; }
.score td { text-align: right; padding: 12px; border-top: 1px solid var(--line); font-size: 16px; white-space: nowrap; }
.score td:first-child { text-align: left; padding-left: 0; }
.score td b { font: 800 19px/1 var(--display); letter-spacing: -0.01em; }
.score td small { display: block; font-size: 12px; color: var(--text-3); margin-top: 3px; }
.score tr.win td { background: rgba(215,255,59,.05); }
.score .best::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-left: 6px; vertical-align: 3px; }
.vcell { display: flex; align-items: center; gap: 12px; min-width: 170px; }
.vcell .th { width: 40px; aspect-ratio: var(--ar, 9/16); border-radius: 7px; overflow: hidden; background: #000; flex: none; }
.vcell .th video, .vcell .th img { width: 100%; height: 100%; object-fit: cover; }
.vcell .nm { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.tag-win { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--lime); color: var(--lime-ink); padding: 2px 7px; border-radius: 999px; }
.tag-ai { font-size: 11px; font-weight: 700; background: var(--card-2); border: 1px solid var(--line-2); color: var(--text-2); padding: 2px 7px; border-radius: 999px; }
.track { position: relative; height: 6px; background: var(--card-2); border-radius: 6px; margin-top: 8px; min-width: 120px; }
.track .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; }
.track .range { position: absolute; top: -3px; bottom: -3px; border-left: 1.5px solid var(--text-3); border-right: 1.5px solid var(--text-3); }

/* retention chart */
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 12px; font-size: 13.5px; color: var(--text-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend i { width: 16px; height: 2px; border-radius: 2px; display: inline-block; }
.chart { position: relative; width: 100%; height: 300px; }
.chart .ax { fill: var(--text-3); font: 12px var(--ui); }
.chart .ax.lime { fill: var(--lime); font-weight: 600; }
.chart .dl { fill: var(--text-2); font: 600 12.5px var(--ui); }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .tip {
  position: absolute; pointer-events: none; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 8px 10px; font-size: 13px; min-width: 150px; box-shadow: 0 10px 30px rgba(0,0,0,.4); opacity: 0; transition: opacity .1s; z-index: 2;
}
.chart .tip .t { color: var(--text-3); font-size: 12px; margin-bottom: 4px; }
.chart .tip div.r { display: flex; align-items: center; gap: 7px; justify-content: space-between; }
.chart .tip div.r span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.chart .tip div.r i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.chart .tip div.r b { font-variant-numeric: tabular-nums; }
.drops { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 16px; }
.drops > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--text-2); display: flex; gap: 10px; align-items: flex-start; }
.drops b { color: var(--text); }
.chart-table { margin-top: 10px; }
.chart-table summary { cursor: pointer; color: var(--text-3); font-size: 13.5px; }
.chart-table table { border-collapse: collapse; margin-top: 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.chart-table td, .chart-table th { padding: 4px 10px; border-bottom: 1px solid var(--line); text-align: right; }

.upsell, .optimize { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 16px; }
.upsell { background: var(--card); border: 1px solid var(--line-2); }
.optimize { background: linear-gradient(120deg, rgba(57,135,229,.18), var(--card) 60%); border: 1px solid rgba(57,135,229,.4); }
.upsell h3, .optimize h3 { font: 700 19px/1.2 var(--display); margin: 0 0 4px; }
.upsell p, .optimize p { margin: 0; color: var(--text-2); max-width: 640px; font-size: 15px; }

.why-v { padding: 14px 0; border-top: 1px solid var(--line); }
.why-v:first-of-type { border-top: 0; padding-top: 4px; }
.why-v .hd { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.why-v .hd span { color: var(--text-3); font-weight: 500; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.rchip { font-size: 13px; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; color: var(--text-2); }
.rchip.neg { border-style: dashed; }
.quote { font-size: 14px; color: var(--text-2); padding: 8px 12px; border-left: 2px solid var(--line-2); margin-top: 6px; }
.quote b { color: var(--text); font-weight: 600; }

.seg { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.seg th { text-align: right; font-weight: 600; color: var(--text-3); font-size: 12.5px; padding: 6px 8px; }
.seg th:first-child, .seg td:first-child { text-align: left; }
.seg td { text-align: right; padding: 7px 8px; border-top: 1px solid var(--line); color: var(--text-2); }
.seg td.best { color: var(--text); font-weight: 700; }
.seg tr.group td { color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding-top: 16px; border-top: 0; }

.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 14px; }
.insight-v { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.insight-v h4 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-size: 15.5px; }
.insight-v ul { margin: 4px 0 10px; padding-left: 18px; color: var(--text-2); font-size: 14.5px; }
.insight-v li { margin: 3px 0; }
.ins-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 700; margin-top: 8px; }
.ins-label.fix { color: var(--lime); }
.disclaimer { color: var(--text-3); font-size: 13.5px; margin: 20px 0; max-width: 820px; }

/* history */
.hist { display: grid; gap: 10px; }
.hitem { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; text-decoration: none; color: var(--text); }
.hitem:hover { border-color: var(--line-2); background: var(--card-2); }
.hthumbs { display: flex; gap: 4px; }
.hthumbs > div { width: 34px; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-3); }
.hthumbs img, .hthumbs video { width: 100%; height: 100%; object-fit: cover; }
.hstatus { color: var(--text-3); font-size: 13.5px; }
.hstatus.done { color: var(--text); font-weight: 600; }
.empty { text-align: center; padding: 60px 20px; color: var(--text-2); background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty .btn { margin-top: 10px; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.65); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal-box { position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; width: min(560px, 100%); }
.modal-box h2 { font: 800 28px/1.1 var(--display); margin: 0 0 8px; letter-spacing: -0.02em; }
.modal-box p { color: var(--text-2); }
.modal-x { position: absolute; right: 14px; top: 12px; background: none; border: 0; color: var(--text-3); font-size: 26px; cursor: pointer; line-height: 1; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.pack { border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 16px; padding: 16px 10px; cursor: pointer; text-align: center; position: relative; }
.pack:hover { border-color: var(--lime); }
.pack.popular { border-color: var(--lime); }
.pack.popular::before { content: 'Popular'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--lime); color: var(--lime-ink); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
.pack .c { font: 800 30px/1 var(--display); }
.pack .p { font-weight: 700; margin-top: 10px; font-size: 17px; }
.pack .e { color: var(--text-3); font-size: 13px; }


/* ================= HOOK LAB ================= */
.hooklab { border-radius: var(--r-lg); padding: 24px; margin-bottom: 16px; background: linear-gradient(120deg, rgba(215,255,59,.12), var(--card) 55%); border: 1px solid rgba(215,255,59,.4); }
.hooklab.flash { animation: hlflash 1.6s ease; }
@keyframes hlflash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px var(--lime), 0 0 40px rgba(215,255,59,.35); } }
.hl-head { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hl-head h3 { font: 800 24px/1.15 var(--display); margin: 6px 0 6px; letter-spacing: -0.02em; }
.hl-head p { margin: 0; color: var(--text-2); max-width: 680px; font-size: 15px; }
.hl-adv { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.hl-adv summary { cursor: pointer; color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.hl-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 12px; margin: 14px 0; }
.hl-recipes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hl-r { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-top: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 13.5px; color: var(--text-3); }
.hl-r b { display: block; color: var(--text); font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }
.hl-r input { accent-color: var(--lime); margin-top: 3px; width: 16px; height: 16px; flex: none; }
.hl-r.off { opacity: .5; cursor: not-allowed; }
.hk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.hk { display: flex; gap: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.hk.win { border-color: rgba(215,255,59,.55); }
.hk-th { width: 96px; flex: none; aspect-ratio: var(--ar, 9/16); border-radius: 12px; overflow: hidden; background: #000; align-self: flex-start; }
.hk-th video, .hk-th img { width: 100%; height: 100%; object-fit: cover; }
.hk-body { min-width: 0; display: grid; gap: 6px; align-content: start; }
.hk-body .nm { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 15px; }
.hk-body p { margin: 0; color: var(--text-2); font-size: 14px; }
.hk-body .btn { justify-self: start; padding: 8px 14px; font-size: 14px; margin-top: 4px; }
.hk-stat { font-size: 13.5px; color: var(--text-3); }
.hk-stat b { font: 800 20px/1 var(--display); color: var(--text); margin-right: 4px; }
.hk-stat .up { color: var(--up); font-weight: 700; margin-left: 6px; }
.hk-stat .down { color: var(--down); font-weight: 700; margin-left: 6px; }
@media (max-width: 760px) {
  .hl-grid, .hl-recipes { grid-template-columns: 1fr; }
}


.hl-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hl-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text-3); }
.hl-steps li b { display: block; color: var(--text-2); font-size: 14.5px; }
.hl-steps li small { font-size: 12.5px; }
.hl-steps .dot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line-2); font-weight: 700; font-size: 13px; }
.hl-steps li.now { border-color: var(--lime); }
.hl-steps li.now b { color: var(--text); }
.hl-steps li.now .dot { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); animation: hlpulse 1.4s infinite; }
.hl-steps li.done .dot { background: var(--up); color: #062; border-color: var(--up); }
@keyframes hlpulse { 50% { box-shadow: 0 0 0 6px rgba(215,255,59,.15); } }
.hl-diag { margin-top: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.hl-diag p { margin: 4px 0 0; color: var(--text); }
.hl-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; margin-top: 8px; }
.hl-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.hl-item b { color: var(--text); }
.hl-item em { font-style: normal; font-size: 12px; color: var(--text-3); margin-left: 4px; }
.hl-item em.ok { color: var(--up); font-weight: 700; }
.hl-item em.bad { color: var(--down); }
.hl-item .tag-ai { margin-right: 6px; }
.hl-item p { margin: 4px 0 0; color: var(--text-3); font-size: 13px; }
@media (max-width: 760px) { .hl-steps { grid-template-columns: 1fr 1fr; } }


.hl-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hl-ai { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.hl-ai input { accent-color: var(--lime); width: 16px; height: 16px; }
.hl-row-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.hl-unlock { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--lime-soft); border: 1px solid rgba(215,255,59,.4); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; color: var(--text-2); font-size: 14.5px; }
.hl-unlock b { color: var(--text); }
@media (max-width: 760px) { .hl-actions { align-items: stretch; } }


/* ================= RESULTS: ranking + collapsible extras ================= */
.rk-list { display: grid; gap: 10px; }
.rk { display: grid; grid-template-columns: 28px 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.rk.win { border-color: rgba(215,255,59,.55); background: linear-gradient(90deg, rgba(215,255,59,.07), var(--bg-2) 60%); }
.rk-pos { font: 800 20px/1 var(--display); color: var(--text-3); text-align: center; }
.rk.win .rk-pos { color: var(--lime); }
.rk-th { width: 64px; aspect-ratio: var(--ar, 9/16); border-radius: 10px; overflow: hidden; background: #000; }
.rk-th video, .rk-th img { width: 100%; height: 100%; object-fit: cover; }
.rk-main { min-width: 0; display: grid; gap: 8px; }
.rk-main .nm { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 15.5px; }
.rk-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.rk-s b { font: 800 20px/1 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.rk-s small { display: block; font-size: 12px; color: var(--text-3); margin-top: 3px; }
.rk-s small .up { color: var(--up); font-weight: 700; }
.rk-s small .down { color: var(--down); font-weight: 700; }
.rk-act .btn { padding: 9px 14px; font-size: 14px; white-space: nowrap; }
.verdict-why { margin: 10px 0 0; color: var(--text-2); font-size: 14.5px; max-width: 680px; }
.verdict-why b { color: var(--text); }
.more-panel { padding: 0; }
.more-panel > summary { cursor: pointer; padding: 18px 24px; font: 700 17px/1.2 var(--display); list-style: none; display: flex; justify-content: space-between; }
.more-panel > summary::-webkit-details-marker { display: none; }
.more-panel > summary::after { content: '+'; color: var(--lime); }
.more-panel[open] > summary::after { content: '–'; }
.more-panel > :not(summary) { margin: 0 24px 20px; }
.more-panel #replay-body { margin: 0 12px 12px; }
details.more { margin-top: 12px; }
details.more summary { cursor: pointer; color: var(--text-2); font-weight: 600; font-size: 14px; }
.hl-names { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hl-name { background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; }
.hl-name em { font-style: normal; color: var(--text-3); margin-left: 4px; font-size: 12.5px; }
.hl-name em.ok { color: var(--up); font-weight: 700; }
.hl-name em.bad { color: var(--down); }
@media (max-width: 900px) {
  .topbar .hide-sm, .wallet .chip.free-chip { display: none; }
  .topbar nav { gap: 2px; }
  .topbar .linkbtn { padding: 7px 8px; font-size: 13.5px; }
  .rk { grid-template-columns: 22px 52px minmax(0, 1fr); }
  .rk-th { width: 52px; }
  .rk-act { grid-column: 2 / -1; }
}


/* ================= VIDEO PLAYER ================= */
button.rk-th, button.verdict-thumb { position: relative; padding: 0; border: 0; cursor: pointer; display: block; }
.play-ic { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding-left: 3px; transition: transform .15s, background .15s; }
button.rk-th:hover .play-ic, button.verdict-thumb:hover .play-ic { transform: scale(1.12); background: var(--lime); color: var(--lime-ink); }
.rk-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pl-modal { align-items: center; }
.pl-box { position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px; width: min(1100px, 100%); max-height: calc(100vh - 32px); overflow: auto; }
.pl-tabs { display: flex; gap: 6px; margin-bottom: 16px; min-height: 8px; }
.pl-tabs button { background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text-2); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.pl-tabs button.on { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.pl-one { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 26px; align-items: start; }
.pl-phone { position: relative; aspect-ratio: var(--ar, 9/16); background: #000; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 5px #05060a, 0 0 0 6.5px #2c3144; max-height: calc(100vh - 140px); margin: 0 auto; }
.pl-phone video, .pl-phone img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.pl-side { display: grid; gap: 16px; align-content: start; }
.pl-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 18px; }
.pl-name.sm { font-size: 14px; margin-top: 10px; }
.pl-stats { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-3); font-size: 13px; }
.pl-stats b { display: block; font: 800 22px/1 var(--display); color: var(--text); margin-bottom: 3px; }
.pl-live { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.pl-big { font: 800 52px/1 var(--display); color: var(--lime); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pl-cap { color: var(--text-2); font-size: 14px; margin: 4px 0 12px; }
.pl-curve { width: 100%; height: 70px; display: block; }
.pl-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-pick button { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px 5px 6px; color: var(--text-2); cursor: pointer; font-size: 13.5px; }
.pl-pick button.on { border-color: var(--lime); color: var(--text); }
.pl-all-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.pl-grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.pl-cell { cursor: pointer; min-width: 0; }
.pl-phone.sm { border-radius: 16px; max-height: 60vh; }
.pl-pill { position: absolute; left: 8px; right: 8px; bottom: 8px; text-align: center; background: rgba(0,0,0,.72); color: var(--lime); font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 4px 6px; }
.pl-pill:empty { display: none; }
.pl-snd { position: absolute; right: 8px; top: 8px; background: rgba(0,0,0,.6); border-radius: 999px; padding: 2px 7px; font-size: 13px; }
@media (max-width: 760px) {
  .pl-one { grid-template-columns: 1fr; }
  .pl-phone { max-height: 60vh; }
  .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-box { padding: 16px; }
}


/* ================= HOOK LAB page + confirm ================= */
.hl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.hl-card { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.hl-card-th { width: 110px; flex: none; aspect-ratio: var(--ar, 9/16); border-radius: 14px; overflow: hidden; background: #000; align-self: flex-start; }
.hl-card-th video, .hl-card-th img { width: 100%; height: 100%; object-fit: cover; }
.hl-card-body { min-width: 0; display: grid; gap: 8px; align-content: start; }
.hl-card-top { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.hl-card-stat { color: var(--text-3); font-size: 13.5px; }
.hl-card-stat b { font: 800 24px/1 var(--display); color: var(--text); margin-right: 4px; }
.hl-card .hl-row-btns { justify-content: flex-start; margin-top: 4px; }
.hl-card .btn { padding: 9px 14px; font-size: 14px; }
.hl-costline { text-align: right; }
.hl-confirm h2 { margin-top: 6px; }
.hl-howto { margin: 14px 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-2); }
.hl-howto b { color: var(--text); }
.hl-time { display: flex; gap: 12px; align-items: flex-start; background: var(--lime-soft); border: 1px solid rgba(215,255,59,.35); border-radius: 14px; padding: 12px 14px; color: var(--text-2); font-size: 14.5px; }
.hl-time > span { font-size: 22px; line-height: 1; }
.hl-time b { color: var(--text); }
.hl-confirm-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hl-price { margin-right: auto; font: 800 22px/1 var(--display); color: var(--lime); }
@media (max-width: 760px) { .hl-costline { text-align: left; } .hl-card-th { width: 90px; } }


.play-ic.zoom { font-size: 16px; padding-left: 0; }
.vd-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }


.shared-fields { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.shared-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-top: 8px; }
@media (max-width: 640px) { .shared-grid { grid-template-columns: 1fr; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .new-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .audience-grid { grid-template-columns: 1fr 1fr 1fr; }
  .audience-grid .span2 { grid-column: span 3; }
  .uses, .pricing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 36px; }
  .steps3, .report-demo, .cols2 { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verdict-card { grid-template-columns: auto minmax(0, 1fr); }
  .lift { grid-column: 1 / -1; text-align: left; }
  .lift small { margin-left: 0; max-width: none; }
}
@media (max-width: 640px) {
  .wrap, .page { padding-left: 16px; padding-right: 16px; }
  .topbar { padding: 10px 16px; gap: 8px; }
  .wallet .chip.free-chip, .topbar .hide-sm, .topbar .nav-new { display: none; }
  .wallet { margin-right: 0; }
  .phone-bottom .who em { display: none; }
  .score td, .score th { padding-left: 8px; padding-right: 8px; }
  .score td:first-child, .score th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); padding-right: 10px; }
  .score tr.win td:first-child { background: #1a1e25; }
  .vcell { min-width: 0; gap: 8px; }
  .vcell .th { display: none; }
  .vcell .nm { font-size: 14px; }
  .band { padding: 56px 0; }
  .hero-in { padding: 28px 16px 44px; }
  .hero p.lead { font-size: 17px; }
  .uses, .pricing, .sizes { grid-template-columns: 1fr; }
  .audience-grid, .audience-grid.more { grid-template-columns: 1fr 1fr; }
  .audience-grid .span2 { grid-column: span 2; }
  .block, .panel { padding: 18px; }
  .stage { padding: 16px 12px 14px; }
  .feed, .feed.vertical { grid-template-columns: repeat(var(--nm, 2), minmax(0, 1fr)); gap: 14px; }
  .feed.vertical.cols-3 > .fcard:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
  .verdict-card { padding: 18px; gap: 16px; }
  .verdict-thumb { width: 64px; }
  .hitem { grid-template-columns: minmax(0, 1fr) auto; }
  .hitem .hthumbs { display: none; }
  .packs { grid-template-columns: 1fr; }
  .chart { height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- test types: grouped picker ---------- */
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.group {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px; min-width: 0;
  border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 16px; color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.group:hover { border-color: #4a5170; }
.group .g-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); color: var(--text-3); transition: background .15s, color .15s; }
.group .g-tx { min-width: 0; }
.group strong { display: block; font-size: 15.5px; line-height: 1.25; }
.group small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--text-3); margin-top: 2px; }
.group[aria-pressed="true"] { border-color: var(--lime); background: var(--lime-soft); }
.group[aria-pressed="true"] .g-ic { background: var(--lime); color: var(--lime-ink); }
.groups + .types { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.type { color: var(--text); font: inherit; }
@media (max-width: 900px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .group { padding: 12px; gap: 10px; } .group .g-ic { width: 34px; height: 34px; } .group small { display: none; } }

/* ---------- title tests: one image, several titles ---------- */
.tmode { display: grid; grid-template-columns: var(--imgw, 220px) minmax(0, 1fr); gap: 22px; align-items: start; }
.slot-top .muted { margin-left: 2px; font-weight: 500; font-size: 12.5px; color: var(--text-3); }
.slot-top .muted::before { content: '· '; }
.tlist { display: grid; gap: 10px; }
.tlist-h { font-weight: 600; font-size: 14.5px; }
.trow { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 5px 8px 5px 10px; transition: border-color .15s; }
.trow:focus-within { border-color: var(--lime); }
.trow input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: inherit; font-size: 15px; padding: 9px 2px; outline: none; }
.trow input::placeholder { color: #61667d; }
.tcount { flex: none; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.tdel { flex: none; background: none; border: 0; color: var(--text-3); font-size: 18px; line-height: 1; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.tdel:hover { color: var(--down); }
.tadd { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 12px; border: 1.5px dashed var(--line-2); background: none; color: var(--text-2); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .15s, color .15s; }
.tadd svg { width: 16px; height: 16px; color: var(--lime); }
.tadd:hover { border-color: var(--lime); color: var(--text); }
.tpreview-wrap { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.tpreview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.tpreview.books { grid-template-columns: repeat(4, minmax(0, 150px)); }
.tp-card { min-width: 0; }
.tp-img { position: relative; aspect-ratio: var(--ar); border-radius: 10px; overflow: hidden; background: var(--card-2); }
.tp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-img .vchip { position: absolute; left: 6px; top: 6px; width: 20px; height: 20px; font-size: 11px; border-radius: 6px; }
.tpreview.shop .tp-img { background: #fff; }
.tpreview.shop .tp-img img { object-fit: contain; }
.tp-ph { width: 100%; height: 100%; background: repeating-linear-gradient(135deg, var(--card-2) 0 8px, var(--bg-2) 8px 16px); }
.tp-title { margin-top: 8px; font-size: 13.5px; line-height: 1.35; font-weight: 600; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tp-empty { color: var(--text-3); font-weight: 500; }
.tp-price { display: block; font-weight: 700; font-size: 14px; margin-top: 3px; }
@media (max-width: 760px) {
  .tmode { grid-template-columns: 1fr; }
  .tmode .slot.one { max-width: min(100%, var(--imgw)); }
  .tpreview, .tpreview.books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- product picker ---------- */
.slot-fields { display: grid; gap: 6px; }
.slot-fields input { width: 100%; min-width: 0; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; color: var(--text); }
.slot-fields input:focus { outline: none; border-color: var(--lime); }
.slot-fields input::placeholder { color: #61667d; }
.pick-note { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.pick-note b { color: var(--text); }

/* summary: titles list */
.sum-titles { display: grid; gap: 8px; margin-bottom: 14px; }
.sum-titles > div { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); min-width: 0; }
.sum-titles > div > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum-titles em { color: var(--text-3); }

/* results: titles and prices */
.rk-text { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--text); overflow-wrap: anywhere; }
.rk-text::before, .rk-text::after { color: var(--text-3); }
.rk-text::before { content: '“'; } .rk-text::after { content: '”'; }
.rk-price { font-weight: 700; font-size: 14px; color: var(--text-2); padding: 1px 8px; border-radius: 999px; background: var(--card-2); }
.verdict-quote { font: 700 clamp(17px, 1.8vw, 21px)/1.3 var(--display); margin: 0 0 10px; max-width: 680px; overflow-wrap: anywhere; }
.verdict-quote::before, .verdict-quote::after { color: var(--lime); }
.verdict-quote::before { content: '“'; } .verdict-quote::after { content: '”'; }
.pl-quote { margin: 10px 0 0; font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.why-v .hd .hd-q { font-style: normal; color: var(--text-2); font-weight: 500; }

/* feeds for the new test types */
.feed.books .fmedia { aspect-ratio: 2 / 3; border-radius: 6px; }
.feed.apps .fmedia { aspect-ratio: 1; border-radius: 22%; }
.feed.appshots .fmedia { aspect-ratio: 9 / 19.5; border-radius: 20px; }
@media (min-width: 641px) {
  .feed.books { grid-template-columns: repeat(var(--n), minmax(0, 190px)); }
  .feed.apps { grid-template-columns: repeat(var(--n), minmax(0, 150px)); }
  .feed.appshots { grid-template-columns: repeat(var(--n), minmax(0, 180px)); }
}
.tp-img .vchip { box-shadow: 0 0 0 2px rgba(0,0,0,.35); }

/* platform tabs: 5 across, icon on top */
.groups { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.group { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 14px 13px; }
.groups + .types { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (max-width: 900px) { .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .group { flex-direction: row; align-items: center; padding: 10px 12px; }
  .group .g-ic { width: 34px; height: 34px; }
  .group small { display: none; }
}

/* Click Lab: when people tap */
.taps { display: grid; gap: 10px; margin-top: 4px; }
.tap-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.tap-row b { color: var(--text); }
.tap-tip { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--lime-soft); border: 1px solid rgba(215,255,59,.35); color: var(--text); font-size: 14.5px; }

/* real results from the user's own ads */
.real-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.real-row select { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 14.5px; color: var(--text); min-width: 220px; }

/* past uploads: compare a new video with an earlier one */
.past-pick { background: none; border: 0; padding: 2px 0; color: var(--text-3); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-align: center; }
.past-pick:hover { color: var(--lime); }
.past-tag { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.past-tip { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--lime-soft); border: 1px solid rgba(215,255,59,.35); font-size: 14px; color: var(--text-2); }
.past-tip b { color: var(--text); }
.past-box { max-width: 760px; width: calc(100vw - 32px); }
.past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-top: 14px; max-height: 60vh; overflow: auto; }
.past-item { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; cursor: pointer; text-align: left; color: var(--text); font: inherit; transition: border-color .15s; }
.past-item:hover { border-color: var(--lime); }
.past-th { position: relative; aspect-ratio: var(--ar, 9 / 16); border-radius: 10px; overflow: hidden; background: #000; }
.past-th video, .past-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.past-th .dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.72); color: #fff; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; }
.past-meta { margin-top: 8px; display: grid; gap: 2px; }
.past-meta b { font-size: 13.5px; }
.past-meta small { font-size: 12px; color: var(--text-3); }

/* live test: small media (tap to enlarge), and clear signs that the test is running */
.stage.compact .feed.vertical { grid-template-columns: repeat(var(--n), minmax(0, 210px)); }
.stage.compact .fmedia { width: 46%; max-width: 120px; margin: 0 auto; }
.stage.compact .feed:not(.vertical) .fmedia { width: 70%; max-width: 190px; }
.stage.compact .feed.vertical .fmedia { border-radius: 16px; box-shadow: 0 0 0 3px #05060a, 0 0 0 4px #2c3144, 0 12px 28px rgba(0,0,0,.5); }
.stage.compact .phone-ui, .stage.compact .phone-notch { display: none; }
.stage.compact .fcard .flabel, .stage.compact .fcard .ftitle { justify-content: center; text-align: center; }
.stage.compact .fmeta { display: flex; flex-direction: column; align-items: center; }
.stage.compact .waffle { margin-left: auto; margin-right: auto; width: 100%; }
.fmedia.zoomable { cursor: zoom-in; }
.fmedia.zoomable::after { content: '⤢'; position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; z-index: 3; }
.stage-phase .pjudged { color: var(--text-3); font-variant-numeric: tabular-nums; }
.stage-tip { position: relative; z-index: 4; margin: -8px 0 18px; font-size: 13px; color: var(--text-3); min-height: 18px; }
.stage-tip.in { animation: tipin .45s ease; }
@keyframes tipin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.stage.running .stage-bar i { background-image: linear-gradient(-45deg, rgba(11,13,5,.28) 25%, transparent 25%, transparent 50%, rgba(11,13,5,.28) 50%, rgba(11,13,5,.28) 75%, transparent 75%); background-size: 18px 18px; animation: barmove .9s linear infinite; min-width: 4%; }
@keyframes barmove { from { background-position: 0 0; } to { background-position: 18px 0; } }
.stage.running .waffle i:not(.on) { animation: waitpulse 1.8s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes waitpulse { 0%, 100% { background: rgba(255,255,255,.06); } 50% { background: rgba(215,255,59,.22); } }
.sim-zoom { position: fixed; inset: 0; z-index: 200; background: rgba(5,6,10,.86); display: grid; place-items: center; padding: 24px; backdrop-filter: blur(4px); animation: tipin .2s ease; }
.sim-zoom-box { display: grid; gap: 10px; justify-items: center; max-width: min(92vw, 900px); }
.sim-zoom-box video, .sim-zoom-box img { max-width: min(92vw, 900px); max-height: 82vh; border-radius: 14px; background: #000; display: block; }
.sim-zoom-box video { min-width: min(80vw, 320px); min-height: min(60vh, 420px); }
.sim-zoom-cap { color: var(--text-2); font-weight: 600; font-size: 14px; }
.sim-zoom-x { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-size: 22px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .stage.running .stage-bar i, .stage.running .waffle i:not(.on), .stage-tip.in { animation: none; } }

.stage-tip.warn { color: #ffcf6e; }
.stage-tip.warn::before { content: '⏳ '; }

/* platform tabs: 6 of them -> 3 per row (2 on phones) */
.groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- "What are you testing?" v3: big platform cards, small type chips ---------- */
.new-grid > div { min-width: 0; }
.plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.plat {
  display: flex; align-items: center; gap: 14px; padding: 16px; min-width: 0; text-align: left; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: 18px; background: var(--bg-2); color: var(--text); font: inherit; transition: border-color .15s, background .15s, transform .15s;
}
.plat:hover { border-color: #4a5170; transform: translateY(-1px); }
.plat-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--card-2); color: var(--text-2); transition: background .15s, color .15s; }
.plat-ic svg { width: 24px; height: 24px; }
.plat-tx { min-width: 0; }
.plat-tx strong { display: block; font: 700 17px/1.2 var(--display); letter-spacing: -.01em; }
.plat-tx small { display: block; margin-top: 3px; font-size: 13px; color: var(--text-3); line-height: 1.3; }
.plat[aria-selected="true"] { border-color: var(--lime); background: var(--lime-soft); }
.plat[aria-selected="true"] .plat-ic { background: var(--lime); color: var(--lime-ink); }
.subs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.subs { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.sub {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px;
  background: transparent; color: var(--text-2); font: 600 13.5px/1.2 var(--ui); cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.sub svg { width: 15px; height: 15px; flex: none; }
.sub:hover { border-color: #4a5170; color: var(--text); }
.sub[aria-pressed="true"] { border-color: var(--lime); background: var(--lime-soft); color: var(--text); }
.sub[aria-pressed="true"] svg { color: var(--lime); }
.sub-hint { font-size: 13px; color: var(--text-3); }
.boost-tip {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(90deg, rgba(215,255,59,.10), rgba(215,255,59,.03)); border: 1px dashed rgba(215,255,59,.45); color: var(--text-2); font-size: 14px;
}
.boost-tip b { color: var(--text); }
.boost-tip .bt-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); }
.boost-tip .bt-go { margin-left: auto; flex: none; font-weight: 700; color: var(--lime); }
.boost-tip:hover { border-style: solid; }
@media (max-width: 720px) {
  .plats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .plat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .plat-ic { width: 42px; height: 42px; border-radius: 12px; }
  .plat-tx strong { font-size: 16px; }
  .boost-tip { flex-wrap: wrap; }
  .boost-tip .bt-go { margin-left: 44px; }
}

/* where a Hook Booster result came from */
.src-badge { display: inline-flex; align-items: center; gap: 9px; margin: 2px 0 6px; padding: 8px 13px; border-radius: 12px; font-size: 14px; color: var(--text-2); border: 1px solid var(--line-2); background: var(--bg-2); }
.src-badge svg { flex: none; }
.src-badge b { color: var(--text); }
.src-badge.up svg { color: var(--lime); }
.src-badge.cmp svg { color: var(--v1); }
.tag-src { display: inline-block; margin-left: 2px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--text-3); border: 1px solid var(--line-2); }
.hooklab .eyebrow svg, .boost-hero .eyebrow svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }

/* ---------- Hook Booster page ---------- */
.boost-hero { max-width: 760px; }
.boost-hero .eyebrow { color: var(--lime); }
.boost-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.boost-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 7px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.boost-steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--text); font-size: 12px; }
.boost-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 18px; margin-top: 26px; align-items: start; }
.boost-grid > * { min-width: 0; }
.boost-drop {
  position: relative; aspect-ratio: 9 / 16; max-height: 540px; border-radius: 20px; border: 1.5px dashed var(--line-2); background: var(--bg-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px; cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s;
}
.boost-drop:hover, .boost-drop.over { border-color: var(--lime); background: var(--lime-soft); }
.boost-drop .plus { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--lime); }
.boost-drop b { font-size: 16px; }
.boost-drop small { color: var(--text-3); font-size: 13px; }
.boost-drop.has { border-style: solid; padding: 0; }
.boost-drop video { width: 100%; height: 100%; object-fit: cover; }
.boost-change { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: rgba(10,11,16,.75); color: var(--text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.boost-form { display: flex; flex-direction: column; gap: 14px; }
.boost-form .field-l { font-weight: 700; font-size: 15px; }
.boost-more summary { cursor: pointer; color: var(--text-2); font-size: 14.5px; font-weight: 600; }
.boost-fields { display: grid; gap: 12px; margin-top: 12px; }
.boost-form .btn svg { width: 17px; height: 17px; vertical-align: -3px; margin-right: 4px; }
.boost-form .fineprint { margin: 0; }
.boost-or { margin: 40px 0 14px; }
.boost-or h2 { font: 700 21px/1.2 var(--display); margin: 0; }
.boost-or p { margin: 4px 0 0; color: var(--text-3); font-size: 14px; }
.empty.small { padding: 18px; }
@media (max-width: 720px) {
  .boost-grid { grid-template-columns: minmax(0, 1fr); }
  .boost-drop { max-height: 420px; width: min(100%, 260px); margin: 0 auto; }
}

/* v3 polish */
.plat { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 16px 15px; }
.plat-ic { width: 44px; height: 44px; border-radius: 13px; }
.b-wide { width: 100%; justify-content: center; }
.boost-hero { max-width: none; }
.boost-hero .page-sub { max-width: 760px; }
@media (max-width: 720px) { .plat { gap: 10px; padding: 13px; } .plat-ic { width: 40px; height: 40px; } }

/* top switch: Compare versions | Video Hook Optimizer */
.modesw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 760px; margin: 0 0 26px; padding: 6px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.msw { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 15px; text-decoration: none; color: var(--text-2); border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s; min-width: 0; }
.msw:hover { background: var(--card); color: var(--text); }
.msw-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); color: var(--text-2); }
.msw-ic svg { width: 20px; height: 20px; }
.msw-tx { min-width: 0; }
.msw-tx strong { display: block; font: 700 16px/1.2 var(--display); color: var(--text); }
.msw-tx small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); line-height: 1.3; }
.msw[aria-selected="true"] { background: var(--card); border-color: var(--line-2); }
.msw[aria-selected="true"] .msw-ic { background: var(--text); color: var(--bg); }
.msw.opt .msw-ic { background: var(--lime); color: var(--lime-ink); }
.msw.opt { border-color: rgba(215,255,59,.35); background: linear-gradient(90deg, rgba(215,255,59,.10), rgba(215,255,59,.02)); }
.msw.opt[aria-selected="true"] { border-color: var(--lime); background: var(--lime-soft); }
.msw-new { position: absolute; top: 8px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font: 800 10.5px/1.4 var(--ui); letter-spacing: .04em; text-transform: uppercase; }
.msw.opt[aria-selected="true"] .msw-new { display: none; }
@media (max-width: 560px) {
  .modesw { gap: 6px; padding: 5px; margin-bottom: 20px; }
  .msw { flex-direction: column; align-items: flex-start; gap: 8px; padding: 11px; }
  .msw-ic { width: 34px; height: 34px; border-radius: 10px; }
  .msw-tx strong { font-size: 14.5px; }
  .msw-new { top: 9px; right: 9px; }
}

/* audience by region */
.where { margin-bottom: 16px; }
.where .field-l, .boost-form .field-l { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.areas { display: flex; flex-wrap: wrap; gap: 7px; }
.area {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text-2); font: 600 14px/1.2 var(--ui); cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.area:hover { border-color: #4a5170; color: var(--text); }
.area[aria-pressed="true"] { border-color: var(--lime); background: var(--lime-soft); color: var(--text); }
.area[aria-pressed="true"] svg { color: var(--lime); }
@media (max-width: 520px) { .area { padding: 7px 12px; font-size: 13.5px; } }

/* the job cards inside each platform: recommended first */
.acts-l { margin: 18px 0 8px; font-weight: 700; font-size: 14.5px; }
.acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.act {
  position: relative; display: flex; align-items: center; gap: 13px; min-width: 0; padding: 15px 16px; text-align: left; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--bg-2); color: var(--text); font: inherit; transition: border-color .15s, background .15s;
}
.act:hover { border-color: #4a5170; }
.act-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--card-2); color: var(--text-2); }
.act-ic svg { width: 21px; height: 21px; }
.act-tx { min-width: 0; padding-right: 8px; }
.act-tx strong { display: block; font: 700 16px/1.25 var(--display); }
.act-tx small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--text-3); }
.act-tag { position: absolute; top: -9px; left: 14px; padding: 2px 9px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font: 800 10.5px/1.5 var(--ui); letter-spacing: .04em; text-transform: uppercase; }
.act.main .act-ic { background: var(--lime); color: var(--lime-ink); }
.act[aria-pressed="true"] { border-color: var(--lime); background: var(--lime-soft); }
.act:not(.main)[aria-pressed="true"] .act-ic { background: var(--text); color: var(--bg); }
/* Hook Optimizer upload on the New test page */
.boost-one { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 20px; align-items: start; }
.boost-one .boost-drop { aspect-ratio: var(--ar, 9 / 16); max-height: 420px; }
.boost-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.boost-how { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.boost-how li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.boost-how li b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--lime); font-size: 12px; }
.boost-how strong { color: var(--text); font-weight: 600; }
#summary .btn svg { width: 17px; height: 17px; vertical-align: -3px; margin-right: 4px; }
@media (max-width: 720px) {
  .acts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .boost-one { grid-template-columns: minmax(0, 1fr); }
  .boost-one .boost-drop { width: min(100%, 240px); margin: 0 auto; }
}

/* improve-with-AI uploads (images, titles) */
.boost-one .boost-drop img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.boost-one .shared-fields { margin-top: 18px; }

/* two-line start button */
.btn-2l { flex-direction: column; gap: 1px; line-height: 1.2; padding-top: 12px; padding-bottom: 12px; }
.btn-2l .btn-sub { display: block; font-size: 12.5px; font-weight: 600; opacity: .7; }

/* ---------- live reactions while a test runs ---------- */
.freact { display: none; gap: 16px; justify-content: center; margin-top: 10px; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.freact span { display: inline-flex; align-items: center; gap: 4px; }
.freact b { color: var(--text); font-weight: 700; }
.freact svg { color: var(--text-3); }
.stage.running .freact { display: flex; }
.stage.running .fsub { display: none; }

/* accuracy self-check (testing mode) */
.selfcheck { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 6px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 14px; }
.selfcheck .fineprint { margin: 0; flex: 1; min-width: 220px; }

/* ---------- "AI is working" view ---------- */
.ws { position: relative; overflow: hidden; padding: 22px; }
.ws::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(215,255,59,.10), transparent 65%); pointer-events: none; animation: wsglow 6s ease-in-out infinite alternate; }
@keyframes wsglow { from { transform: translate(0, 0); } to { transform: translate(-60px, 40px); } }
.ws-top { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; }
.ws-media { position: relative; width: 150px; aspect-ratio: var(--ar, 9 / 16); max-height: 270px; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px rgba(0,0,0,.5); }
.ws-media.img { width: 190px; background: #fff; }
.ws-media video, .ws-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-media.img img { object-fit: contain; }
.ws-scan { position: absolute; left: 0; right: 0; top: -40%; height: 28%; background: linear-gradient(180deg, transparent, rgba(215,255,59,.10) 75%, rgba(215,255,59,.75) 98%, transparent); animation: wsscan 2.6s cubic-bezier(.45,.05,.55,.95) infinite; mix-blend-mode: screen; }
@keyframes wsscan { 0% { top: -40%; } 100% { top: 100%; } }
.ws.testing .ws-scan { display: none; }
.ws-corners i { position: absolute; width: 16px; height: 16px; border: 2.5px solid var(--lime); }
.ws-corners i:nth-child(1) { left: 8px; top: 8px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.ws-corners i:nth-child(2) { right: 8px; top: 8px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.ws-corners i:nth-child(3) { left: 8px; bottom: 8px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.ws-corners i:nth-child(4) { right: 8px; bottom: 8px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.ws-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.ws-live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(215,255,59,.6); animation: wslive 1.4s ease-out infinite; }
@keyframes wslive { to { box-shadow: 0 0 0 9px rgba(215,255,59,0); } }
.ws-msg { margin: 10px 0 16px; font: 700 26px/1.2 var(--display); letter-spacing: -.01em; min-height: 31px; }
.ws-msg.in { animation: wsmsg .5s ease; }
@keyframes wsmsg { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
.ws-bar { position: relative; height: 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.ws-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #a8d61f, var(--lime)); transition: width 1.2s ease; overflow: hidden; }
.ws-bar i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-100%); animation: wsshine 1.8s ease-in-out infinite; }
@keyframes wsshine { to { transform: translateX(100%); } }
.ws-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ws-pct { color: var(--text); font-weight: 700; }
.ws-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; }
.ws-steps.n2 { --n: 2; } .ws-steps.n3 { --n: 3; } .ws-steps.n4 { --n: 4; }
.ws-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-right: 12px; color: var(--text-3); }
.ws-steps li::before { content: ''; position: absolute; left: 30px; right: 4px; top: 13px; height: 2px; border-radius: 2px; background: var(--line-2); }
.ws-steps li:last-child::before { display: none; }
.ws-steps li.done::before { background: var(--lime); }
.ws-steps li.now::before { background: linear-gradient(90deg, var(--lime), var(--line-2)); background-size: 200% 100%; animation: wsline 1.6s linear infinite; }
@keyframes wsline { from { background-position: 100% 0; } to { background-position: 0 0; } }
.ws-dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); border: 1.5px solid var(--line-2); font-size: 12.5px; color: var(--text-2); }
.ws-dot svg { display: none; }
.ws-steps li.done .ws-dot { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.ws-steps li.done .ws-dot b { display: none; } .ws-steps li.done .ws-dot svg { display: block; }
.ws-steps li.now .ws-dot { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 0 0 rgba(215,255,59,.5); animation: wslive 1.6s ease-out infinite; }
.ws-step-tx b { display: block; font-size: 14px; color: var(--text-2); }
.ws-step-tx small { display: block; font-size: 12px; line-height: 1.35; margin-top: 2px; }
.ws-steps li.now .ws-step-tx b { color: var(--text); }
.ws-diag { position: relative; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border-left: 3px solid var(--lime); animation: wsmsg .5s ease; }
.ws-diag p { margin: 6px 0 0; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.ws-slots { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; margin-top: 20px; }
.ws-slots:empty { display: none; }
.ws-slot { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ws-slot-th { position: relative; aspect-ratio: var(--ar, 9 / 16); max-height: 190px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.ws-slot-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--text-3); font-weight: 800; font-size: 13px; transition: background .3s, color .3s; }
.ws-slot.making .ws-slot-th::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.07) 50%, transparent 70%); background-size: 220% 100%; animation: wsshimmer 1.5s linear infinite; }
@keyframes wsshimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.ws-slot.made .ws-slot-th, .ws-slot.kept .ws-slot-th { border-color: rgba(215,255,59,.55); background: linear-gradient(160deg, rgba(215,255,59,.16), var(--bg-2)); animation: wspop .45s cubic-bezier(.2,1.4,.4,1); }
.ws-slot.made .ws-slot-n, .ws-slot.kept .ws-slot-n { background: var(--lime); color: var(--lime-ink); }
.ws-slot.kept .ws-slot-th { box-shadow: 0 0 0 2px var(--lime); }
.ws-slot.drop { opacity: .5; }
.ws-slot.bad .ws-slot-th { border-color: rgba(255,138,101,.5); }
@keyframes wspop { 0% { transform: scale(.92); } 100% { transform: scale(1); } }
.ws-slot-tx b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-slot-tx small { display: block; font-size: 12px; color: var(--text-3); }
.ws-slot.kept small, .ws-slot.made small { color: var(--lime); }
.ws-slot.bad small { color: var(--down); }
.ws-foot { position: relative; margin: 18px 0 0; font-size: 13px; color: var(--text-3); }
.ws.testing { padding: 18px 22px; }
.ws.testing .ws-media { width: 96px; }
.ws.testing .ws-media.img { width: 120px; }
.ws.testing .ws-msg { font-size: 21px; margin: 8px 0 12px; }
@media (max-width: 720px) {
  .ws { padding: 18px; }
  .ws-top { grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: center; text-align: center; }
  .ws-main { width: 100%; text-align: left; }
  .ws-media { width: 132px; }
  .ws-media.img { width: 170px; }
  .ws-msg { font-size: 21px; min-height: 52px; }
  .ws-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ws-steps li { flex-direction: row; align-items: flex-start; gap: 12px; }
  .ws-steps li::before { left: 13px; right: auto; top: 30px; bottom: -12px; width: 2px; height: auto; }
  .ws-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ws::before, .ws-scan, .ws-live, .ws-bar i::after, .ws-steps li.now::before, .ws-steps li.now .ws-dot, .ws-slot.making .ws-slot-th::after { animation: none; }
}
.ws.testing .ws-slots { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ws.testing .ws-slot { flex-direction: row; align-items: center; gap: 10px; }
.ws.testing .ws-slot-th { width: 38px; flex: none; max-height: 56px; border-radius: 8px; }
.ws.testing .ws-slot-n { width: 22px; height: 22px; font-size: 11px; }

/* ---------- plans + credits ---------- */
.modal-box.bill { width: min(820px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.bill-sec { margin-top: 22px; }
.bill-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bill-h h3 { margin: 0; font: 700 17px/1.2 var(--ui); }
.bill-h span { color: var(--text-3); font-size: 13px; }
.bill .packs { margin-top: 12px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 16px; padding: 18px 14px 14px; }
.plan-card.popular { border-color: var(--lime); }
.plan-card.popular::before { content: 'Most popular'; position: absolute; top: -10px; left: 14px; background: var(--lime); color: var(--lime-ink); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
.plan-n { font-weight: 700; color: var(--text-2); }
.plan-p b { font: 800 30px/1 var(--display); }
.plan-p span { color: var(--text-3); font-size: 14px; margin-left: 2px; }
.plan-c { margin-top: 6px; }
.plan-e { color: var(--text-3); font-size: 13px; }
.plan-card .btn { margin-top: 10px; }
.bill-mine { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--lime-soft); box-shadow: inset 0 0 0 1px rgba(215,255,59,.35); }
.bill-mine.warn { background: rgba(255,90,60,.1); box-shadow: inset 0 0 0 1px rgba(255,90,60,.4); }
.bill-mine-t { font-weight: 700; }
.bill-mine-s { color: var(--text-2); font-size: 13.5px; margin-top: 2px; }
.bill-foot { margin-top: 18px; text-align: center; }
.plan-tag { margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-size: 11px; font-weight: 800; }
@media (max-width: 720px) {
  .plans { grid-template-columns: 1fr; }
  .bill-mine { flex-direction: column; align-items: stretch; }
  .modal-box.bill { padding: 22px 16px; }
  .bill .packs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .bill .pack { padding: 14px 6px; }
  .bill .pack .c { font-size: 24px; }
  .bill .pack .e { font-size: 12px; }
}
@media (max-width: 480px) {
  .topbar .plan-tag { display: none; }
}
@media (max-width: 420px) {
  #app-name { display: none; }
  .topbar .chip { padding: 6px 9px; font-size: 13px; }
  .topbar .linkbtn { padding: 6px 5px; font-size: 13px; }
}

/* ---------- privacy + terms pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 24px 20px; line-height: 1.6; }
.legal h1 { font: 800 clamp(36px, 5vw, 52px)/1 var(--display); letter-spacing: -0.03em; margin: 0 0 8px; }
.legal-date { color: var(--text-3); margin: 0 0 28px; }
.legal h2 { font: 700 21px/1.2 var(--display); margin: 30px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal b { color: var(--text); }
.legal a, .bill-foot a { color: var(--lime); }
.foot-links { display: inline-flex; gap: 16px; }
@media (max-width: 640px) { .legal { padding: 28px 16px 10px; } }

/* ---------- sign-in buttons ---------- */
.auth-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 260px; padding: 13px 22px; border-radius: 999px; border: 0; background: #fff; color: #1f1f1f; font: 600 16px/1 var(--ui); cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .12s, box-shadow .12s; }
.gbtn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.gbtn:disabled { opacity: .6; cursor: wait; transform: none; }
.gbtn.apple { background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
@media (max-width: 480px) { .gbtn { width: 100%; min-width: 0; } }

/* ---------- sign-in window + try-first ---------- */
.signin-box { width: min(440px, 100%); text-align: center; }
.signin-box .auth-btns { justify-content: center; margin: 18px 0 12px; }
.signin-page { max-width: 460px; margin: 40px auto; text-align: center; }
.signin-page .auth-btns { justify-content: center; margin: 18px 0; }
.gbtn.ghosty { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.gbtn.ghosty:hover { background: var(--card); }
.signin > .btn.big { text-decoration: none; }
