
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
:root{
  --bg:#0F1B2D; --surface:#16253B; --surface-2:#1C2E48; --line:#2C3D57;
  --ink:#F2F5FA; --muted:#9FB0C8; --soft:#D4DCE8;
  --accent:#FF6A13; --accent-ink:#FFFFFF; --accent-soft:rgba(255,106,19,.14);
  --ok:#4CC38A; --ok-soft:rgba(76,195,138,.14);
  --warn:#F5B041; --warn-soft:rgba(245,176,65,.14);
  --high:#FF8A3D; --high-soft:rgba(255,138,61,.15);
  --danger:#FF5C4D; --danger-soft:rgba(255,92,77,.15);
  --shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.25);
  --f:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color-scheme:dark;
}
html,body{height:100%;margin:0}
body{background:var(--bg);color:var(--ink);font-family:var(--f);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}
button{font:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
strong{font-weight:700}
a{color:var(--soft)}

/* ---------- CHAT ---------- */
.app{height:100%;display:flex;flex-direction:column;max-width:600px;margin:0 auto;background:var(--bg)}
.top{flex:none;display:flex;align-items:center;gap:12px;padding:12px max(16px,env(safe-area-inset-right,0px)) 12px max(16px,env(safe-area-inset-left,0px));border-bottom:1px solid var(--line);background:var(--surface)}
.ava{flex:none;width:40px;height:40px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;overflow:hidden}
.ava img{width:100%;height:100%;object-fit:cover;display:block}
.ava-t{font-weight:800;font-size:17px;line-height:1}.ava.sm .ava-t{font-size:13px}
.ava svg{width:22px;height:22px}
.ava.sm{width:30px;height:30px}.ava.sm svg{width:17px;height:17px}
.who{flex:1;min-width:0}
.who b{display:block;font-weight:800;font-size:15px;letter-spacing:-.01em}
.who span{font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:6px}
.who span::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ok)}
.qprog{flex:none;text-align:right;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.qprog .dots{display:flex;gap:4px;margin-top:4px;justify-content:flex-end}
.qprog .dots i{width:12px;height:4px;border-radius:2px;background:var(--surface-2);transition:background .3s}
.qprog .dots i.on{background:var(--accent)}

.thread{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:6px;padding:18px max(16px,env(safe-area-inset-right,0px)) 12px max(16px,env(safe-area-inset-left,0px));scroll-behavior:smooth}
.sysnote{align-self:center;font-size:12px;color:var(--muted);background:var(--surface-2);padding:5px 12px;border-radius:99px;margin-bottom:8px;text-align:center}
.row{display:flex;gap:8px;align-items:flex-end;animation:rise .25s ease-out}
.row.user{justify-content:flex-end;margin-top:6px}
.row.gap{margin-top:10px}
.row .slot{width:30px;flex:none}
.bubble{max-width:84%;min-width:0;padding:10px 14px;border-radius:18px;white-space:pre-wrap;overflow-wrap:anywhere}
.bot .bubble{background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:6px;box-shadow:var(--shadow)}
.user .bubble{background:var(--accent);color:var(--accent-ink);border-bottom-right-radius:6px;font-weight:600}
.bubble.wide{max-width:100%;flex:1;white-space:normal;padding:16px}
.typing{display:inline-flex;gap:4px;padding:4px 2px}
.typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);opacity:.4;animation:blink 1.1s infinite}
.typing i:nth-child(2){animation-delay:.18s}.typing i:nth-child(3){animation-delay:.36s}
.caret::after{content:"";display:inline-block;width:2px;height:1em;background:var(--accent);margin-left:2px;vertical-align:-2px;animation:caret .8s steps(1) infinite}
@keyframes blink{0%,60%,100%{opacity:.35;transform:none}30%{opacity:1;transform:translateY(-3px)}}
@keyframes caret{50%{opacity:0}}
@keyframes rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.tray{flex:none;padding:10px max(16px,env(safe-area-inset-right,0px)) calc(14px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));border-top:1px solid var(--line);background:var(--surface);display:flex;gap:10px;flex-wrap:wrap;min-height:72px;align-items:center}
.tray.stack{flex-direction:column;align-items:stretch}
.tray.stack .opt{flex:0 0 auto}
.tray .idle{flex:1;color:var(--muted);font-size:14px;text-align:center}
.opt{flex:1 1 120px;min-height:48px;padding:12px 16px;border-radius:14px;border:1.5px solid var(--accent);background:transparent;color:var(--ink);font-weight:700;transition:transform .1s,background .15s;animation:rise .25s ease-out}
.opt.primary{background:var(--accent);color:var(--accent-ink)}
.opt.quiet{border-color:var(--line);color:var(--muted);font-weight:500;font-size:14px}
.opt:active{transform:scale(.97)}
@media (hover:hover){.opt:hover{background:var(--accent-soft)}.opt.primary:hover{background:var(--accent);filter:brightness(1.08)}}
.consent{font-size:13px;line-height:1.45;color:var(--muted);text-align:center;margin:2px 4px 0}
.consent a{color:var(--soft)}

/* analysis + report */
.think h4,.report h4{margin:0;font-weight:800;font-size:15px;display:flex;align-items:center;gap:10px}
.think h4 .pct{margin-left:auto;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums}
.pulse{width:10px;height:10px;border-radius:50%;background:var(--accent);animation:pulse 1.4s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 55%,transparent)}100%{box-shadow:0 0 0 12px transparent}}
.curve{width:100%;height:auto;display:block;margin:12px 0 4px}
.curve .grid{stroke:var(--line);stroke-width:1}
.curve .night{fill:color-mix(in srgb,var(--ink) 5%,transparent)}
.curve .norm{fill:none;stroke:var(--muted);stroke-width:2;stroke-dasharray:4 5}
.curve .mine{fill:none;stroke:var(--accent);stroke-width:3;stroke-linecap:round}
.curve text{fill:var(--muted);font:11px var(--f)}
.legend{display:flex;gap:14px;font-size:12px;color:var(--muted);flex-wrap:wrap}
.legend span::before{content:"";display:inline-block;width:14px;height:3px;margin-right:6px;vertical-align:middle;background:var(--accent);border-radius:2px}
.legend span.n::before{background:repeating-linear-gradient(90deg,var(--muted) 0 4px,transparent 4px 8px)}
.illus{font-size:11.5px;color:var(--muted);margin:4px 0 10px;opacity:.85}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:14px}
.steps li{display:flex;gap:10px;align-items:center;color:var(--muted);transition:color .3s}
.steps li i{flex:none;width:18px;height:18px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center}
.steps li.run{color:var(--ink)}
.steps li.run i{border-color:var(--accent);border-top-color:transparent;animation:spin .7s linear infinite}
.steps li.done{color:var(--ink)}
.steps li.done i{background:var(--accent);border-color:var(--accent)}
.steps li.done i::after{content:"";width:5px;height:9px;border:solid var(--accent-ink);border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}
@keyframes spin{to{transform:rotate(360deg)}}
.bar{height:6px;border-radius:3px;background:var(--surface-2);margin-top:14px;overflow:hidden}
.bar span{display:block;height:100%;width:0;background:var(--accent);transition:width .4s ease}

.t-ok{--tone:var(--ok);--tone-soft:var(--ok-soft)}
.t-warn{--tone:var(--warn);--tone-soft:var(--warn-soft)}
.t-high{--tone:var(--high);--tone-soft:var(--high-soft)}
.t-danger{--tone:var(--danger);--tone-soft:var(--danger-soft)}
.rep-top{display:flex;gap:16px;align-items:center;margin:12px 0}
.score{font-weight:900;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.score b{font-size:52px;color:var(--tone)}.score span{font-size:22px;color:var(--muted)}
.seg{display:flex;gap:4px;margin-top:8px}
.seg i{width:22px;height:8px;border-radius:4px;background:var(--surface-2)}
.seg i.on{background:var(--tone)}
.pill{display:inline-block;font-size:13px;font-weight:700;padding:4px 10px;border-radius:99px;background:var(--tone-soft);color:var(--tone)}
.type{margin:0 0 12px;padding:12px 14px;border-radius:12px;background:var(--surface-2);border-left:3px solid var(--accent)}
.type small{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700}
.type b{display:block;font-size:17px;margin-top:2px}
.type p{margin:4px 0 0;font-size:14px;color:var(--soft)}
.verdict{margin:0 0 12px;white-space:pre-wrap}
.sym{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.sym li{display:grid;grid-template-columns:28px 1fr;gap:8px;padding:10px 12px;border-radius:12px;background:var(--surface-2);animation:rise .3s ease-out both}
.sym li .ic{font-size:18px;line-height:1.3}
.sym li b{display:block;font-size:14px}
.sym li p{margin:2px 0 0;font-size:14px;color:var(--soft)}
.sym li.hit{background:var(--tone-soft)}
.sym li.hit b{color:var(--tone)}
.sym li.test{background:var(--accent-soft)}
.sym li.test b{color:var(--accent)}
.sym li.clear{padding:8px 12px}
.sym li.clear b{font-weight:500;color:var(--muted)}

/* email card (variant B) */
.mail h4{margin:0 0 6px;font-weight:800;font-size:16px}
.mail p{margin:0 0 12px;color:var(--soft);font-size:15px}
.mail form{display:flex;gap:8px;flex-wrap:wrap}
.mail input{flex:1 1 200px;min-height:48px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);color:var(--ink);padding:0 14px;font:inherit}
.mail button{min-height:48px;border:0;border-radius:12px;background:var(--accent);color:var(--accent-ink);font-weight:800;padding:0 18px}
.mail small{display:block;margin-top:8px;font-size:12px;color:var(--muted)}

/* ---------- SALES ---------- */
.sales{height:100%;overflow-y:auto;background:var(--bg)}
.s-wrap{max-width:640px;margin:0 auto;padding:0 max(16px,env(safe-area-inset-right,0px)) 130px max(16px,env(safe-area-inset-left,0px))}
.s-nav{display:flex;justify-content:space-between;align-items:center;padding-block:14px}
.link{background:none;border:0;color:var(--accent);font-weight:700;padding:6px 0}
.hero{padding-block:18px 8px}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--tone)}
.hero h1{font-weight:900;font-size:clamp(30px,7.5vw,42px);line-height:1.05;margin:10px 0 12px;letter-spacing:-.035em;text-wrap:balance}
.hero p{margin:0;color:var(--soft);font-size:17px;max-width:60ch}
.hero .seg i{width:36px;height:10px;border-radius:5px}
.sec{margin-top:40px}
.sec h2{font-weight:900;font-size:24px;line-height:1.15;margin:0 0 14px;letter-spacing:-.02em;text-wrap:balance}
.sec>p{margin:0 0 14px;max-width:62ch;color:var(--soft)}
.decode{display:grid;gap:12px}
.dcard{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow)}
.dcard header{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.dcard header .ic{font-size:22px}
.dcard header b{font-weight:800;font-size:16px}
.dcard header .pill{margin-left:auto}
.dcard p{margin:0 0 8px;color:var(--soft)}
.dcard .fix{margin:0;font-size:14px;color:var(--accent);font-weight:700}
.timeline{list-style:none;margin:0;padding:0}
.timeline li{display:grid;grid-template-columns:22px 1fr;gap:14px;padding-bottom:20px;position:relative}
.timeline li::before{content:"";position:absolute;left:10px;top:20px;bottom:0;width:2px;background:var(--line)}
.timeline li:last-child::before{display:none}
.timeline .dot{width:22px;height:22px;border-radius:50%;border:5px solid var(--bg);box-shadow:0 0 0 2px var(--accent);background:var(--accent);margin-top:1px}
.timeline b{font-weight:800;font-size:15px}
.timeline p{margin:4px 0 0;color:var(--soft)}

.offer{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow)}
.offer-top{display:grid;grid-template-columns:132px 1fr;gap:20px;align-items:center}
@media (max-width:440px){.offer-top{grid-template-columns:1fr}.cover{margin:0 auto}}
.cover{width:132px;max-width:100%;border-radius:6px;box-shadow:0 18px 40px rgba(0,0,0,.5);transform:rotate(-3deg);display:block}
.offer h3{font-weight:900;font-size:24px;line-height:1.1;margin:0 0 8px;letter-spacing:-.02em}
.offer h3 span{color:var(--accent)}
.offer-top p{margin:0;color:var(--soft)}
.start{margin-top:18px;padding:14px;border-radius:14px;background:var(--accent-soft)}
.start b{display:block;margin-bottom:4px}
.start p{margin:0;font-size:15px;color:var(--soft)}
.days{list-style:none;margin:18px 0 0;padding:0;display:grid}
.days li{display:grid;grid-template-columns:68px 1fr;gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:15px}
.days li span{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:2px}
.days li.mine span{color:var(--accent)}
.days li.mine{font-weight:700}
.gets{margin:16px 0 0;padding:0 0 0 18px;color:var(--soft);font-size:15px;display:grid;gap:4px}
.price{display:flex;align-items:baseline;gap:12px;margin:22px 0 12px;flex-wrap:wrap}
.price b{font-size:44px;font-weight:900;letter-spacing:-.03em}
.price span{color:var(--muted);font-size:15px}
.buy{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;border:0;border-radius:16px;background:var(--accent);color:var(--accent-ink);font-weight:800;font-size:17px;text-decoration:none;transition:transform .1s,filter .15s}
.buy:active{transform:scale(.98)}
@media (hover:hover){.buy:hover{filter:brightness(1.08)}}
.guar{font-size:13px;color:var(--muted);text-align:center;margin:10px 0 0}
.notfor{margin-top:16px;font-size:13px;color:var(--muted)}
.fine{font-size:12px;color:var(--muted);margin-top:36px;text-align:center;line-height:1.5}
.sticky{position:fixed;left:0;right:0;bottom:0;z-index:5;background:var(--surface);border-top:1px solid var(--line);padding:10px max(16px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));transform:translateY(110%);transition:transform .3s ease}
.sticky.show{transform:none}
.sticky .in{max-width:640px;margin:0 auto;display:flex;gap:12px;align-items:center}
.sticky .in div{flex:1;min-width:0;font-size:14px;line-height:1.25}
.sticky .in div b{display:block;font-size:15px}
.sticky .buy{width:auto;min-height:48px;padding:0 20px;font-size:16px}
.toast{position:fixed;left:50%;bottom:calc(90px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);opacity:0;z-index:9;background:var(--ink);color:var(--bg);padding:12px 18px;border-radius:12px;font-size:14px;transition:.25s;pointer-events:none;max-width:calc(100% - 32px);text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ===== components from the mechanics showcase ===== */
/* games */
.game{border-radius:16px;padding:14px;background:var(--surface-2)}
.dicewrap{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;align-items:center}
.dicebox{width:110px;height:110px;display:grid;place-items:center}
.die{width:96px;height:96px}
.die rect{fill:var(--surface);stroke:var(--line);stroke-width:2}
.die circle{fill:var(--ink)}
.dicebox.rolling .die{animation:shake .18s linear infinite}
@keyframes shake{0%{transform:rotate(-14deg) translateY(-3px)}50%{transform:rotate(12deg) translateY(2px)}100%{transform:rotate(-14deg) translateY(-3px)}}
.odds{list-style:none;margin:0;padding:0;display:grid;gap:5px;font-size:13.5px}
.odds li{display:grid;grid-template-columns:44px 1fr;gap:8px;padding:5px 8px;border-radius:8px}
.odds li b{color:var(--muted);font-variant-numeric:tabular-nums}
.odds li.hit{background:var(--warn-soft);color:var(--warn);font-weight:600}
.odds li.hit b{color:var(--warn)}
.wheelwrap{position:relative;width:min(260px,100%);margin:0 auto}
.wheel{width:100%;height:auto;display:block;transform:rotate(0deg)}
.wheel .seg{stroke:var(--surface);stroke-width:.8}
.wheel .s0{fill:var(--accent)}.wheel .s1{fill:var(--warn)}.wheel .s2{fill:var(--accent)}.wheel .s3{fill:var(--danger)}
.wheel text{fill:#fff;font:600 4.6px var(--f);text-anchor:middle;dominant-baseline:middle}
.wheel .hub{fill:var(--surface);stroke:var(--line)}
.pointer{position:absolute;left:50%;top:-6px;width:0;height:0;border-left:11px solid transparent;border-right:11px solid transparent;border-top:20px solid var(--ink);transform:translateX(-50%);z-index:2}
.scratch{position:relative;height:120px;border-radius:12px;overflow:hidden;background:var(--warn-soft)}
.scratch .under{position:absolute;inset:0;display:grid;place-content:center;text-align:center;gap:4px}
.scratch .under b{font-family:var(--f);font-size:26px;color:var(--warn)}
.scratch .under span{font-size:13.5px;color:var(--muted)}
.scratch canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}
/* tiers + proof */
.tiers{display:grid;gap:12px}
.tier{position:relative;background:var(--surface);border:1.5px solid var(--line);border-radius:16px;padding:16px}
.tier.hot{border-color:var(--accent);box-shadow:var(--shadow)}
.tier .badge{position:absolute;top:-10px;right:14px;background:var(--accent);color:var(--accent-ink);font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 9px;border-radius:99px}
.tier h4{margin:0 0 4px;font-family:var(--f);font-weight:500;font-size:16px}
.tier p{margin:0;color:var(--muted);font-size:14px}
.tier .tp{display:flex;align-items:baseline;gap:10px;margin:10px 0}
.tier .tp b{font-family:var(--f);font-size:26px}
.tier .tp small{color:var(--muted)}
.buy.alt{background:var(--surface);color:var(--accent);border:1.5px solid var(--accent);min-height:46px}
.proof{display:flex;gap:10px;align-items:center;margin-top:18px;padding:10px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--line);font-size:14px}
.dotlive{flex:none;width:9px;height:9px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 0 var(--ok);animation:pulse 1.6s infinite}

/* new mechanics */
.voice{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center}
.voice .play{width:44px;height:44px;border-radius:50%;border:0;background:var(--accent);color:var(--accent-ink);font-size:16px}
.voice .wave{display:flex;align-items:center;gap:2px;height:30px}
.voice .wave i{flex:1;background:var(--line);border-radius:2px;min-width:2px}
.voice .wave i.on{background:var(--accent)}
.voice .dur{font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.voice-meta{font-size:12px;color:var(--muted);margin-bottom:8px}
.voice-tr{margin-top:10px;font-size:14px;color:var(--ink);border-top:1px solid var(--line);padding-top:10px}
.pv{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}
.pv img{width:100%;border-radius:8px;border:1px solid var(--line);display:block;box-shadow:var(--shadow);cursor:zoom-in}
.pv-cap{font-size:12.5px;color:var(--muted);margin-top:8px}
.rcard{border-radius:16px;padding:16px;border:1.5px solid var(--line);background:var(--surface)}
.rcard .ic{font-size:30px}
.rcard h4{margin:6px 0 4px;font-family:var(--f);font-weight:500;font-size:16px}
.rcard p{margin:0;color:var(--muted);font-size:14px}
.rcard.guarantee{border-color:var(--ok);background:var(--ok-soft)}
.rcard.guarantee h4{color:var(--ok)}
.rcard .link{display:block;margin-top:10px;padding:9px 12px;border-radius:10px;background:var(--surface-2);font:13px ui-monospace,Menlo,monospace;color:var(--ink);word-break:break-all}
.rcard .msg{margin-top:8px;font-size:13px;color:var(--muted);font-style:italic}
.gifts{display:grid;gap:8px;margin-top:10px}
.gift{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;text-align:left;border:1.5px solid var(--line);border-radius:12px;background:var(--surface);padding:10px 12px;color:var(--ink)}
.gift .ic{font-size:24px}
.gift b{display:block;font-size:14.5px}
.gift small{color:var(--muted);font-size:12.5px}
.gift[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft)}
.revs{display:grid;gap:10px}
.rev{background:var(--surface);border:1px dashed var(--muted);border-radius:14px;padding:14px}
.rev header{display:flex;gap:10px;align-items:center;margin-bottom:6px}
.rev .av{width:36px;height:36px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;font-weight:700;color:var(--muted)}
.rev b{font-size:14px}
.rev small{display:block;color:var(--muted);font-size:12px}
.rev p{margin:0;color:var(--muted);font-style:italic;font-size:14px}
.rev-note{font-size:12px;font-weight:600;color:var(--accent);background:var(--accent-soft);border-radius:8px;padding:6px 10px;margin-bottom:10px;display:inline-block}
.cmp{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px}
.cmp .tg{display:flex;gap:6px;margin-bottom:6px}
.cmp .tg button{flex:1;border:1.5px solid var(--line);background:var(--surface);border-radius:10px;padding:8px;font-weight:600;color:var(--muted)}
.cmp .tg button[aria-pressed="true"]{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
.cmp svg{width:100%;height:auto;display:block}
.cmp .mine{fill:none;stroke:var(--warn);stroke-width:3;stroke-linecap:round;transition:d .9s ease}
.cmp.after .mine{stroke:var(--accent)}
.cmp .norm{fill:none;stroke:var(--muted);stroke-width:2;stroke-dasharray:4 5}
.cmp .grid{stroke:var(--line)}
.cmp text{fill:var(--muted);font:11px var(--f)}
.cmp p{margin:6px 0 0;font-size:14px}
.exitsim{position:absolute;left:12px;bottom:12px;z-index:28;border:0;border-radius:99px;background:var(--danger);color:#fff;font-weight:700;font-size:13px;padding:9px 14px;box-shadow:var(--shadow);animation:rise .3s ease-out}
.exitm{position:absolute;inset:0;z-index:45;background:rgba(10,20,15,.55);display:grid;place-items:end center;padding:12px;animation:rise .2s ease-out}
.exitm .sheet{width:100%;background:var(--surface);border-radius:18px;padding:18px;display:grid;gap:10px}
.exitm h4{margin:0;font-family:var(--f);font-weight:500;font-size:17px}
.exitm p{margin:0;color:var(--muted);font-size:14px}
.exitm .opt{flex:none}
.flash{animation:flash 1.2s ease-in-out 3}
@keyframes flash{50%{box-shadow:0 0 0 4px var(--warn);border-color:var(--warn)}}
.freebox{display:grid;gap:8px}
.freebox .demo{font-size:12px;color:var(--accent);font-weight:600}
.app .modal{position:absolute;z-index:50}
.inrow{display:flex;gap:8px;width:100%}
.inrow input{flex:1;min-width:0;border:1.5px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--bg)}
.inrow .opt{flex:none}
.segs{display:flex;gap:3px;margin-top:8px}
.segs i{width:18px;height:8px;border-radius:4px;background:var(--surface-2)}
.segs i.on{background:var(--tone)}
.typebox{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:12px;border-radius:12px;border:1.5px solid var(--accent);background:var(--accent-soft);margin-bottom:12px}
.typebox .ic{font-size:24px;line-height:1.2}
.typebox small{display:block;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);font-weight:600}
.typebox b{display:block;font-family:var(--f);font-weight:500;font-size:15px;margin:2px 0}
.typebox p{margin:0;font-size:14px}
.modal{position:fixed;inset:0;z-index:50;background:rgba(10,20,15,.55);display:grid;place-items:center;padding:16px;animation:rise .2s ease-out}
.statline{align-self:stretch;display:flex;gap:10px;align-items:center;margin:6px 0;padding:10px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--line);font-size:13.5px;animation:rise .3s ease-out}
.faql{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px}
.faql h2{margin-bottom:4px}
.fl-sub{margin:0 0 10px;color:var(--muted);font-size:14px}
.fl-thread{display:grid;gap:6px;margin-bottom:10px}
.fl-u{justify-self:end;max-width:85%;background:var(--accent);color:var(--accent-ink);padding:8px 12px;border-radius:14px 14px 4px 14px;font-size:14px;animation:rise .25s ease-out}
.fl-b{justify-self:start;max-width:92%;background:var(--surface-2);padding:9px 12px;border-radius:14px 14px 14px 4px;font-size:14px;animation:rise .25s ease-out}
.fl-qs{display:grid;gap:6px;margin-bottom:12px}
.fl-q{text-align:left;border:1.5px solid var(--line);background:var(--bg);border-radius:12px;padding:10px 12px;font-weight:600;font-size:14px;color:var(--ink)}
.fl-q:hover{border-color:var(--accent)}
.sgame{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px}
.sgame h2{margin-bottom:4px}
.sgame .game{margin-bottom:12px}
.sg-res{margin-bottom:12px}
.sgame .buy[disabled]{opacity:.6}
.typebox{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:12px;border-radius:12px;border:1.5px solid var(--accent);background:var(--accent-soft);margin-bottom:12px}
.typebox .ic{font-size:24px;line-height:1.2}
.typebox small{display:block;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);font-weight:600}
.typebox b{display:block;font-family:var(--f-display);font-weight:500;font-size:15px;margin:2px 0}
.typebox p{margin:0;font-size:14px}

.inrow{display:flex;gap:8px;width:100%}
.inrow input{flex:1;min-width:0;border:1.5px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--bg)}
.inrow .opt{flex:none}
/* ---------- engine shell ---------- */
.fe{position:relative;height:100%;overflow:hidden}
.fe .app{height:100%}
.fe .sales{position:absolute;inset:0;z-index:4}
.fe .modal{position:fixed;inset:0;z-index:50;background:rgba(5,10,20,.7);display:grid;place-items:center;padding:16px}
.fe .modal img{max-height:92vh;max-width:100%;border-radius:8px}
.fe .inline-sales{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.fe .s-wrap.inl{padding:0;max-width:none}
.fe .s-wrap.inl .hero,.fe .s-wrap.inl .sec{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px;margin:0 0 10px}
.fe .s-wrap.inl .fine{margin:6px 4px}
.fe .exitm{position:fixed;inset:0;z-index:45;background:rgba(5,10,20,.6);display:grid;place-items:end center;padding:12px}
.fe .exitm .sheet{width:100%;max-width:520px;background:var(--surface);border-radius:18px;padding:18px;display:grid;gap:10px}
.fe .illus{margin:6px 0 0;font-size:12px;color:var(--muted)}
.fe .price s{color:var(--muted);font-weight:600;margin-left:4px}
.fe .wheel .s2{fill:#5B7BD5}

/* the site cart keeps the shop colours (it lives outside the chat) */
.cart,.cart-fab,.cart-veil{--navy:#0F1B2D;--orange:var(--accent,#FF6A13);--orange-dark:color-mix(in srgb,var(--accent,#FF6A13) 82%,#000);--orange-soft:color-mix(in srgb,var(--accent,#FF6A13) 10%,#fff);--ink:#1A2230;--muted:#5B6575;--line:#E3E6EB;--paper:#FFFFFF;--bg:#F6F7F9;color:var(--ink);font-size:16px;line-height:1.5}
.cart *{box-sizing:border-box}

/* larger text (theme.size = large): everything inside scales, layout stays the same */
.fe.fe-big .top,.fe.fe-big .thread,.fe.fe-big .tray,.fe.fe-big .sales > *,.fe.fe-big .sticky .in{zoom:1.12}

.offer-top:not(:has(> img)){grid-template-columns:1fr}

/* funnel page: no cart button in the chat before the sales part */
html.fe-page:not(.fe-cart-on) .cart-fab{display:none !important}

/* page previews on the sales page */
.pv.pv-s{grid-template-columns:repeat(3,1fr);margin-top:12px}
.spv p{margin:6px 0 0;color:var(--soft)}

/* offer: 'see what is below' hint under the headline */
.nextz{display:block;margin:18px 0 4px;padding:10px 0;background:none;border:0;color:var(--accent,var(--orange));font:inherit;font-size:16px;font-weight:700;text-align:left;cursor:pointer}
.nextz span{display:inline-block;animation:nextz 1.6s ease-in-out infinite}
@keyframes nextz{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}
@media (prefers-reduced-motion:reduce){.nextz span{animation:none}}

.tray [hidden],.sticky [hidden]{display:none!important}
