:root{
  --brand:#ff4d6d; --brand2:#c026d3; --brand-grad:linear-gradient(135deg,#ff4d6d,#c026d3);
  --ink:#141019; --muted:#6b6472; --line:#eceaf0; --bg:#fbfafc; --card:#fff;
  --ok:#22c55e; --no:#64748b; --blue:#1e9bff; --shadow:0 8px 28px rgba(20,16,25,.12);
  --radius:18px; --tab-h:62px; --head-h:54px; --maxw:480px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:#efedf2;color:var(--ink);overscroll-behavior-y:none}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none}
img{display:block;max-width:100%}

.app{max-width:var(--maxw);margin:0 auto;min-height:100dvh;background:var(--bg);
  position:relative;display:flex;flex-direction:column;box-shadow:0 0 40px rgba(0,0,0,.08)}
.content{flex:1;overflow-y:auto;padding-bottom:calc(var(--tab-h) + env(safe-area-inset-bottom))}

/* ---- Header ---- */
.head{height:var(--head-h);position:sticky;top:0;z-index:20;background:var(--card);
  display:flex;align-items:center;justify-content:center;gap:10px;padding:0 14px;
  border-bottom:1px solid var(--line)}
.head .logo{font-weight:800;font-size:19px;background:var(--brand-grad);
  -webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:-.5px}
.head .left,.head .right{position:absolute;display:flex;align-items:center;gap:14px}
.head .left{left:14px}.head .right{right:14px}
.head .ico{width:24px;height:24px;color:var(--muted)}
.head .credits{display:flex;align-items:center;gap:5px;font-weight:700;font-size:14px;
  color:var(--brand);background:#fff0f3;padding:5px 10px;border-radius:20px}

/* ---- Tabbar ---- */
.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:var(--maxw);
  height:calc(var(--tab-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);
  background:var(--card);border-top:1px solid var(--line);display:flex;z-index:30}
.tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  color:var(--muted);font-size:10.5px;font-weight:600}
.tab svg{width:25px;height:25px;fill:currentColor}
.tab.on{color:var(--brand)}

/* ---- Umgebung grid ---- */
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}
.pcard{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:3/4;
  background:#ddd;box-shadow:var(--shadow);display:block}
.pcard img{width:100%;height:100%;object-fit:cover}
.pcard .grad{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.72) 0%,rgba(0,0,0,0) 45%)}
.pcard .meta{position:absolute;left:12px;right:12px;bottom:10px;color:#fff}
.pcard .nm{font-weight:700;font-size:16px;display:flex;align-items:center;gap:5px;text-shadow:0 1px 3px rgba(0,0,0,.4)}
.pcard .sub{font-size:12px;opacity:.95;display:flex;align-items:center;gap:4px;text-shadow:0 1px 3px rgba(0,0,0,.4)}
.badge-new{position:absolute;top:10px;left:10px;background:var(--blue);color:#fff;font-size:11px;
  font-weight:700;padding:3px 9px;border-radius:20px}
.pcard .online-dot{position:absolute;top:10px;left:10px;width:15px;height:15px;border-radius:50%;
  background:var(--ok);border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.35);z-index:2}
.pcard .liked-badge{position:absolute;top:8px;right:8px;width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:0 1px 5px rgba(0,0,0,.25)}
.pcard .liked-badge svg{width:21px;height:21px;fill:var(--ok)}
/* Avatar-Online-Punkt (Chats/Listen) */
.av-wrap{position:relative;flex:0 0 auto}
.av-wrap .online-dot{position:absolute;bottom:1px;right:1px;width:14px;height:14px;border-radius:50%;
  background:var(--ok);border:2.5px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.vrf{width:15px;height:15px;fill:var(--blue);background:#fff;border-radius:50%}
.dot{width:9px;height:9px;border-radius:50%;background:var(--ok);display:inline-block;box-shadow:0 0 0 2px #fff}

/* ---- Blur paywall ---- */
.locked img{filter:blur(16px) brightness(.9);transform:scale(1.1)}
.lock-ov{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:8px;color:#fff;text-align:center;padding:10px}
.lock-ov svg{width:30px;height:30px;fill:#fff;opacity:.95}
.lock-ov .t{font-size:12px;font-weight:600;opacity:.95}

/* ---- Section headers ---- */
.sec-h{font-weight:800;font-size:15px;padding:16px 14px 6px}
.subtabs{display:flex;gap:4px;padding:10px 12px 4px;position:sticky;top:0;background:var(--bg);z-index:5;border-bottom:1px solid var(--line)}
.subtabs button{flex:1;padding:9px;border-radius:12px;font-weight:700;font-size:13px;color:var(--muted)}
.subtabs button.on{background:var(--brand-grad);color:#fff}

/* ---- Promo card ---- */
.promo{grid-column:1/-1;border-radius:var(--radius);padding:18px;color:#fff;
  background:linear-gradient(135deg,#7b61ff,#ff4d6d);display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow)}
.promo b{font-size:16px}.promo p{margin:0;font-size:13px;opacity:.95}
.promo .btn{align-self:flex-start;background:#fff;color:#c026d3;font-weight:800;padding:9px 16px;border-radius:30px;font-size:13px}

/* ---- Match / swipe ---- */
.deck{position:relative;height:calc(100dvh - var(--head-h) - var(--tab-h) - 118px);margin:10px 12px 0;min-height:360px}
.swipe{position:absolute;inset:0;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);background:#222;
  will-change:transform;touch-action:pan-y}
.swipe img{width:100%;height:100%;object-fit:cover;pointer-events:none}
.swipe .grad{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,0) 42%)}
.swipe .meta{position:absolute;left:18px;right:18px;bottom:18px;color:#fff}
.swipe .nm{font-size:26px;font-weight:800;display:flex;align-items:center;gap:7px}
.swipe .sub{font-size:14px;opacity:.95;margin-top:2px}
.swipe .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.swipe .tag{background:rgba(255,255,255,.22);backdrop-filter:blur(4px);padding:4px 10px;border-radius:20px;font-size:12px}
.stamp{position:absolute;top:28px;font-size:30px;font-weight:900;border:4px solid;padding:4px 14px;
  border-radius:12px;opacity:0;transform:rotate(-12deg)}
.stamp.like{left:22px;color:var(--ok);border-color:var(--ok)}
.stamp.nope{right:22px;color:var(--brand);border-color:var(--brand);transform:rotate(12deg)}
.actions{display:flex;justify-content:center;align-items:center;gap:20px;padding:16px}
.act{width:60px;height:60px;border-radius:50%;background:#fff;box-shadow:var(--shadow);
  display:flex;align-items:center;justify-content:center;transition:transform .12s}
.act:active{transform:scale(.9)}
.act svg{width:28px;height:28px}
.act.no svg{fill:var(--no)} .act.msg{background:var(--blue)} .act.msg svg{fill:#fff;width:26px}
.act.like svg{fill:var(--ok)} .act.like{width:66px;height:66px} .act.like svg{width:32px;height:32px}
.deck-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:12px;color:var(--muted);text-align:center;padding:20px}

/* ---- Chats ---- */
.newm{display:flex;gap:14px;overflow-x:auto;padding:14px;scrollbar-width:none}
.newm::-webkit-scrollbar{display:none}
.newm .m{flex:0 0 auto;width:66px;text-align:center}
.newm .m .av{width:66px;height:66px;border-radius:50%;object-fit:cover;border:3px solid var(--brand);padding:2px}
.newm .m span{font-size:11px;display:block;margin-top:4px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.convo{display:flex;align-items:center;gap:12px;padding:11px 14px;border-bottom:1px solid var(--line)}
.convo .av{width:56px;height:56px;border-radius:50%;object-fit:cover}
.convo .mid{flex:1;min-width:0}
.convo .nm{font-weight:700;display:flex;align-items:center;gap:5px}
.convo .last{color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.convo .unread{background:var(--brand);color:#fff;font-size:11px;font-weight:700;min-width:20px;height:20px;
  border-radius:12px;display:flex;align-items:center;justify-content:center;padding:0 6px}

/* ---- Chat view ---- */
.chat-head{height:var(--head-h);position:sticky;top:0;z-index:20;background:var(--card);
  display:flex;align-items:center;gap:10px;padding:0 10px;border-bottom:1px solid var(--line)}
.chat-head .av{width:38px;height:38px;border-radius:50%;object-fit:cover}
.chat-head .nm{font-weight:700;display:flex;align-items:center;gap:5px}
.chat-head .bk{width:28px;height:28px;color:var(--ink)}
.msgs{display:flex;flex-direction:column;gap:8px;padding:14px;padding-bottom:84px}
.bub{max-width:76%;padding:9px 13px;border-radius:18px;font-size:14px;line-height:1.35}
.bub.me{align-self:flex-end;background:var(--brand-grad);color:#fff;border-bottom-right-radius:5px}
.bub.them{align-self:flex-start;background:#fff;border:1px solid var(--line);border-bottom-left-radius:5px}
.composer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:var(--maxw);
  background:var(--card);border-top:1px solid var(--line);padding:10px 12px;
  padding-bottom:calc(10px + env(safe-area-inset-bottom));display:flex;gap:8px;z-index:30}
.composer input{flex:1;border:1px solid var(--line);background:var(--bg);border-radius:24px;padding:11px 16px;font-size:15px;outline:none}
.composer button{width:44px;height:44px;border-radius:50%;background:var(--brand-grad);display:flex;align-items:center;justify-content:center}
.composer button svg{width:22px;height:22px;fill:#fff}

/* ---- Profile detail ---- */
.hero{position:relative}
.hero .ph{width:100%;aspect-ratio:3/4;object-fit:cover;background:#ddd}
.hero .count{position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.55);color:#fff;
  font-size:12px;padding:4px 10px;border-radius:20px;display:flex;gap:5px;align-items:center}
.hero-online{position:absolute;left:12px;top:12px;background:var(--ok);color:#fff;font-size:12px;
  font-weight:700;padding:4px 11px;border-radius:20px;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.liked-pill{display:inline-flex;align-items:center;gap:4px;background:#eafaf0;color:#15a05a;
  font-size:13px;font-weight:700;padding:3px 10px;border-radius:20px;vertical-align:middle}
.liked-pill svg{width:14px;height:14px;fill:#15a05a}
/* Swipe-Deck Online-Punkt */
.swipe .online-dot{position:absolute;top:16px;left:16px;width:16px;height:16px;border-radius:50%;
  background:var(--ok);border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.4);z-index:3}
.gallery{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.gallery::-webkit-scrollbar{display:none}
.gallery .ph{flex:0 0 100%;scroll-snap-align:start}
.pbody{padding:16px 16px 130px}
.pbody h1{font-size:23px;margin:0 0 2px;display:flex;align-items:center;gap:7px}
.pbody .loc{color:var(--muted);font-size:14px;margin-bottom:12px}
.intent-badge{display:inline-block;background:#f3eefe;color:#7b2ff7;font-weight:700;font-size:13px;padding:6px 13px;border-radius:20px;margin-bottom:12px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 16px}
.chip{display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;
  border-radius:20px;padding:7px 13px;font-size:14px}
.chip svg{width:16px;height:16px;fill:var(--muted)}
.htags{color:var(--ink);font-size:15px;line-height:1.9}
.htags b{color:var(--brand);font-weight:600}
.safety{text-align:center;color:var(--muted);font-size:13px;margin:22px 0 10px}
.safety-btns{display:flex;gap:12px;justify-content:center;margin-bottom:16px}
.safety-btns button{padding:9px 16px;border-radius:20px;font-weight:700;font-size:13px}
.b-report{background:#fff0f0;color:#e11d48}.b-block{background:#f1f5f9;color:#475569}
.detail-actions{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:var(--maxw);
  display:flex;justify-content:center;gap:18px;padding:12px;z-index:30;
  padding-bottom:calc(14px + env(safe-area-inset-bottom));
  background:linear-gradient(to top,var(--bg) 72%,transparent)}

/* ---- Forms / auth ---- */
.auth{max-width:var(--maxw);margin:0 auto;min-height:100dvh;background:var(--bg);
  display:flex;flex-direction:column;justify-content:center;padding:28px 22px}
.auth .brand{font-weight:900;font-size:40px;text-align:center;background:var(--brand-grad);
  -webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:-1.5px;margin-bottom:6px}
.auth .tag{text-align:center;color:var(--muted);margin-bottom:26px}
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:5px}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);background:#fff;
  border-radius:12px;padding:12px 14px;font-size:15px;outline:none}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand)}
.seek{display:flex;gap:8px;flex-wrap:wrap}
.seek label{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:20px;
  padding:8px 14px;font-size:14px;cursor:pointer;font-weight:600;color:var(--ink)}
.seek input{width:auto}
.btn-primary{width:100%;background:var(--brand-grad);color:#fff;font-weight:800;font-size:16px;
  padding:14px;border-radius:14px;margin-top:8px;box-shadow:var(--shadow)}
.btn-ghost{width:100%;text-align:center;padding:13px;color:var(--muted);font-weight:600;margin-top:4px}
.err{background:#fff0f0;color:#e11d48;padding:11px 14px;border-radius:12px;font-size:14px;margin-bottom:14px}

/* ---- Profile edit ---- */
.editgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px}
.editgrid .ph{aspect-ratio:3/4;border-radius:12px;object-fit:cover;background:#eee}
.editgrid .add{aspect-ratio:3/4;border-radius:12px;border:2px dashed var(--line);display:flex;
  align-items:center;justify-content:center;color:var(--muted);font-size:30px;background:#fff}
.save-bar{position:sticky;bottom:calc(var(--tab-h) + env(safe-area-inset-bottom));padding:12px 14px;
  background:linear-gradient(to top,var(--bg) 60%,transparent)}

/* ---- Premium ---- */
.prem{padding:26px 20px;text-align:center}
.prem .crown{font-size:46px}
.prem h1{font-size:26px;margin:8px 0}
.prem ul{list-style:none;padding:0;text-align:left;max-width:320px;margin:16px auto}
.prem li{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid var(--line);font-size:15px}
.prem li svg{width:22px;height:22px;fill:var(--ok);flex:0 0 auto}
.plans{display:flex;flex-direction:column;gap:10px;max-width:340px;margin:16px auto}
.plan{border:2px solid var(--line);border-radius:16px;padding:14px;display:flex;justify-content:space-between;align-items:center}
.plan.best{border-color:var(--brand);background:#fff5f7}
.plan b{font-size:16px}.plan .pr{font-weight:800;color:var(--brand)}

/* ---- Onboarding wizard ---- */
.wiz{max-width:var(--maxw);margin:0 auto;min-height:100dvh;background:var(--bg);
  display:flex;flex-direction:column;position:relative;overflow:hidden}
.wiz-prog{height:4px;background:var(--line);position:sticky;top:0;z-index:5}
.wiz-prog i{display:block;height:100%;width:0;background:var(--brand-grad);transition:width .35s ease;border-radius:0 3px 3px 0}
.wiz-top{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;min-height:52px}
.wiz-back{width:30px;height:30px;color:var(--muted);opacity:0;pointer-events:none;transition:.2s}
.wiz-back.on{opacity:1;pointer-events:auto}
.wiz-skip{color:var(--muted);font-weight:600;font-size:14px}
.steps{flex:1;position:relative}
.step{position:absolute;inset:0;display:flex;flex-direction:column;padding:10px 26px 26px;
  opacity:0;transform:translateX(40px);pointer-events:none;transition:opacity .35s,transform .35s;overflow-y:auto}
.step.on{opacity:1;transform:none;pointer-events:auto}
.step .emoji{font-size:44px;margin-bottom:6px}
.step h2{font-size:27px;font-weight:800;line-height:1.15;margin:0 0 8px;letter-spacing:-.5px}
.step .hint{color:var(--muted);font-size:15px;margin-bottom:22px;line-height:1.4}
.step input[type=text],.step input[type=email],.step input[type=password],.step input[type=date],.step textarea{
  width:100%;border:0;border-bottom:2px solid var(--line);background:transparent;
  font-size:22px;padding:10px 2px;outline:none;color:var(--ink)}
.step input:focus,.step textarea:focus{border-color:var(--brand)}
.step textarea{border:2px solid var(--line);border-radius:14px;font-size:17px;padding:14px;min-height:120px}
.opt-cards{display:flex;flex-direction:column;gap:12px}
.opt{display:flex;align-items:center;gap:14px;border:2px solid var(--line);background:var(--card);
  border-radius:16px;padding:16px 18px;font-size:17px;font-weight:600;cursor:pointer;transition:.15s}
.opt .ic{font-size:24px}
.opt.sel{border-color:var(--brand);background:#fff0f3;color:#c026d3}
.opt .ck{margin-left:auto;width:22px;height:22px;border-radius:50%;border:2px solid var(--line);flex:0 0 auto}
.opt.sel .ck{background:var(--brand-grad);border-color:transparent;position:relative}
.opt.sel .ck:after{content:'';position:absolute;left:7px;top:3px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.wiz-foot{padding:16px 26px calc(20px + env(safe-area-inset-bottom))}
.wiz-foot .btn-primary{margin:0}
.wiz-foot .btn-primary:disabled{opacity:.4}
.gps-btn{width:100%;border:2px solid var(--brand);color:#c026d3;background:#fff0f3;font-weight:800;
  font-size:16px;padding:15px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:14px}
.gps-btn svg{width:22px;height:22px;fill:currentColor}
.gps-ok{text-align:center;color:var(--ok);font-weight:700;padding:10px}
.age-pill{display:inline-block;background:#f3eefe;color:#7b2ff7;font-weight:700;padding:6px 14px;border-radius:20px;margin-top:14px}
.wiz-err{background:#fff0f0;color:#e11d48;padding:11px 14px;border-radius:12px;font-size:14px;margin-top:14px}
.wiz-photos{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-top:4px}
.wiz-photos .slot{aspect-ratio:3/4;border-radius:14px;border:2px dashed var(--line);display:flex;
  align-items:center;justify-content:center;color:var(--muted);font-size:28px;background:var(--card);overflow:hidden}
.wiz-photos .slot img{width:100%;height:100%;object-fit:cover}
.tagcloud{display:flex;flex-wrap:wrap;gap:9px}
.tagcloud .tg{border:2px solid var(--line);background:var(--card);border-radius:20px;padding:9px 15px;font-size:15px;font-weight:600;cursor:pointer}
.tagcloud .tg.sel{border-color:var(--brand);background:#fff0f3;color:#c026d3}

/* ---- City autocomplete ---- */
.ac-wrap{position:relative}
.ac-list{position:absolute;left:0;right:0;top:100%;background:var(--card);border:1px solid var(--line);
  border-radius:12px;margin-top:6px;box-shadow:var(--shadow);z-index:40;overflow:hidden;display:none}
.ac-list.on{display:block}
.ac-item{padding:12px 14px;font-size:15px;border-bottom:1px solid var(--line);cursor:pointer;display:flex;align-items:center;gap:10px}
.ac-item:last-child{border-bottom:0}
.ac-item:active,.ac-item.hl{background:#fff0f3}
.ac-item svg{width:16px;height:16px;fill:var(--brand);flex:0 0 auto}
.ac-empty{padding:12px 14px;color:var(--muted);font-size:14px}

/* ---- Icon button + bottom sheet ---- */
.ico-btn{display:flex;align-items:center;justify-content:center;padding:4px}
.sheet-bg{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:60;display:none;align-items:flex-end;
  justify-content:center}
.sheet-bg.on{display:flex}
.sheet{width:100%;max-width:var(--maxw);background:var(--card);border-radius:22px 22px 0 0;
  padding:10px 22px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px rgba(0,0,0,.2);
  animation:sheetUp .28s ease}
@keyframes sheetUp{from{transform:translateY(100%)}to{transform:none}}
.sheet-grip{width:40px;height:4px;border-radius:3px;background:var(--line);margin:4px auto 14px}
.sheet h3{margin:0 0 18px;font-size:19px;font-weight:800}
.set-row{margin-bottom:22px}
.set-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.set-head label{font-weight:700;font-size:15px}
.set-head span{color:var(--brand);font-weight:800;font-size:15px}
.set-hint{color:var(--muted);font-size:12px;margin-top:4px}
.dual{display:flex;flex-direction:column;gap:6px}
input[type=range]{width:100%;-webkit-appearance:none;appearance:none;height:6px;border-radius:5px;
  background:var(--line);outline:none}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;
  background:var(--brand-grad);box-shadow:0 2px 6px rgba(0,0,0,.25);cursor:pointer}
input[type=range]::-moz-range-thumb{width:24px;height:24px;border:0;border-radius:50%;background:#ff4d6d;cursor:pointer}

/* ---- Multi-select dropdown ---- */
.ms{position:relative}
.ms-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;
  border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px 14px;font-size:15px;color:var(--ink)}
.ms-toggle svg{width:20px;height:20px;fill:var(--muted);transition:transform .2s}
.ms.open .ms-toggle svg{transform:rotate(180deg)}
.ms-toggle .ms-label{text-align:left;color:var(--muted)}
.ms-toggle .ms-label.filled{color:var(--ink)}
.ms-panel{display:none;position:absolute;left:0;right:0;top:100%;margin-top:6px;background:#fff;
  border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);z-index:40;max-height:260px;overflow-y:auto}
.ms.open .ms-panel{display:block}
.ms-opt{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--line);font-size:15px;cursor:pointer}
.ms-opt:last-child{border-bottom:0}
.ms-opt input{width:18px;height:18px;accent-color:var(--brand)}
@media (prefers-color-scheme:dark){ .ms-toggle,.ms-panel{background:#2a2335} }

/* ---- Verify status banner ---- */
.vf-status{display:flex;align-items:center;gap:8px;margin:14px;padding:13px 16px;border-radius:14px;font-weight:700;font-size:14px}
.vf-status .vrf{width:18px;height:18px}
.vf-status.ok{background:#eafaf0;color:#15a05a}
.vf-status.pending{background:#fff7e6;color:#b7791f}
.vf-status.cta{background:var(--brand-grad);color:#fff;box-shadow:var(--shadow)}

/* ---- Verify camera page ---- */
.verify{padding:18px 20px 40px;text-align:center}
.vf-intro .vf-badge{font-size:46px}
.vf-intro h2{font-size:23px;margin:6px 0}
.vf-intro p,.vf-done p{color:var(--muted);font-size:15px;line-height:1.45;max-width:340px;margin:0 auto}
.vf-gesture{background:#f3eefe;color:#7b2ff7;border-radius:16px;padding:14px;margin:18px auto;max-width:360px}
.vf-gesture span{display:block;font-size:13px;opacity:.8}
.vf-gesture b{font-size:19px}
.vf-cam{position:relative;width:260px;height:340px;margin:0 auto 18px;border-radius:24px;overflow:hidden;background:#111}
.vf-cam video,.vf-cam img{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}
.vf-cam img{transform:none}
.vf-ring{position:absolute;inset:0;border:3px solid rgba(255,255,255,.55);border-radius:24px;pointer-events:none}
.vf-actions .btn-primary{max-width:360px;margin:0 auto}
.vf-actions .btn-ghost{max-width:360px;margin:0 auto}
.vf-done .vf-badge{font-size:46px}
.vf-done h2{font-size:23px;margin:6px 0}
.vf-done .btn-primary{max-width:320px;margin:18px auto 0}

/* ---- Toast ---- */
.toast{position:fixed;bottom:88px;left:50%;transform:translateX(-50%) translateY(20px);
  background:#141019;color:#fff;padding:11px 18px;border-radius:30px;font-size:14px;font-weight:600;
  opacity:0;pointer-events:none;transition:.25s;z-index:100;max-width:88%;text-align:center}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* ---- Match popup ---- */
.matchpop{position:fixed;inset:0;background:linear-gradient(135deg,rgba(255,77,109,.96),rgba(192,38,211,.96));
  z-index:200;display:none;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;padding:24px}
.matchpop.show{display:flex}
.matchpop h1{font-size:40px;margin:0 0 6px;font-weight:900}
.matchpop .ph{width:110px;height:110px;border-radius:50%;object-fit:cover;border:4px solid #fff;margin:14px}
.matchpop .avs{display:flex}
.matchpop .avs .ph:last-child{margin-left:-28px}
.matchpop .btn{margin-top:20px;background:#fff;color:var(--brand);font-weight:800;padding:14px 30px;border-radius:30px;font-size:16px}
.matchpop .later{margin-top:10px;color:#fff;opacity:.85;font-weight:600}

@media (prefers-color-scheme:dark){
  :root{--ink:#f4f1f7;--muted:#a79fb0;--line:#2a2530;--bg:#171320;--card:#211b2c}
  body{background:#0e0b14}
  .seek label,.chip,.field input,.field select,.field textarea,.bub.them{background:#2a2335}
  .promo .btn{color:#c026d3}
}
