:root{
  color-scheme:dark;
  --bg:#0a0710;
  --bg-soft:#0f0b16;
  --surface:#15111d;
  --surface-2:#1d1827;
  --surface-3:#272033;
  --text:#f7f3fa;
  --muted:#9891a3;
  --muted-2:#6f6879;
  --line:rgba(255,255,255,.085);
  --line-strong:rgba(255,255,255,.14);
  --pink:#ff3d68;
  --coral:#ff7659;
  --purple:#a158ff;
  --blue:#5ca8ff;
  --gold:#ffd98a;
  --green:#62dfae;
  --danger:#ff6b78;
  --safe-top:max(env(safe-area-inset-top),10px);
  --safe-bottom:max(env(safe-area-inset-bottom),10px);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}
html{scrollbar-width:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}
body{
  overscroll-behavior:none;
  background:
    radial-gradient(600px 280px at 8% -8%,rgba(255,61,104,.13),transparent 66%),
    radial-gradient(500px 280px at 92% 2%,rgba(92,168,255,.09),transparent 68%),
    var(--bg);
}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{color:inherit}
svg{display:block}
.hidden{display:none!important}

.boot,.gate{min-height:100dvh;display:grid;place-items:center;padding:24px}
.boot{gap:18px;align-content:center;background:radial-gradient(circle at 50% 40%,rgba(161,88,255,.23),transparent 43%)}
.brand-mark{width:54px;height:54px;display:inline-grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,var(--pink),var(--purple));color:#fff;font-weight:950;font-style:italic;box-shadow:0 16px 44px rgba(161,88,255,.33)}
.brand-mark.large{width:74px;height:74px;border-radius:25px;font-size:31px}
.loader{width:28px;height:28px;border:3px solid rgba(255,255,255,.12);border-top-color:var(--pink);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.gate{background:radial-gradient(circle at 50% 12%,rgba(255,61,104,.18),transparent 38%)}
.gate-card{text-align:center;max-width:390px}
.gate-card h1{font-size:30px;margin:24px 0 10px}
.gate-card p{color:var(--muted);line-height:1.55;margin:0 0 24px}
.trust-line,.version{font-size:11px;color:var(--muted-2);margin-top:20px;letter-spacing:.03em}

.primary-button,.secondary-button{
  border:0;border-radius:16px;min-height:52px;padding:0 22px;display:inline-flex;align-items:center;
  justify-content:center;text-decoration:none;font-weight:850;cursor:pointer
}
.primary-button{
  color:#fff;background:linear-gradient(135deg,var(--pink),#e94e83 48%,var(--purple));
  box-shadow:0 15px 34px -12px rgba(255,61,104,.6)
}
.primary-button:active{transform:translateY(1px) scale(.992)}
.primary-button:disabled{opacity:.55}
.secondary-button{background:var(--surface-2);border:1px solid var(--line)}
.wide{width:100%}

/* Onboarding keeps the old Vibe atmosphere without restoring legacy mechanics. */
.onboarding{
  min-height:100dvh;padding:calc(var(--safe-top) + 14px) 16px calc(var(--safe-bottom) + 24px);
  background:
    radial-gradient(440px 280px at 100% 0,rgba(161,88,255,.2),transparent 68%),
    radial-gradient(440px 320px at 0 35%,rgba(255,61,104,.1),transparent 68%),var(--bg)
}
.onboarding-card{max-width:520px;margin:auto}
.eyebrow{font-size:10px;letter-spacing:.17em;color:#bea9ff;font-weight:950}
.onboarding h1,.section-heading h1{font-size:30px;line-height:1.06;margin:8px 0}
.onboarding-card>p{color:var(--muted);line-height:1.5;margin:0 0 22px}
.photo-picker{
  width:138px;height:172px;border:1px dashed rgba(255,255,255,.26);border-radius:30px;
  background:linear-gradient(145deg,var(--surface-2),var(--surface));display:grid;place-items:center;
  align-content:center;gap:8px;margin:0 auto 22px;overflow:hidden;background-position:center;background-size:cover;
  cursor:pointer;box-shadow:0 22px 50px rgba(0,0,0,.24)
}
.photo-picker img{width:100%;height:100%;object-fit:cover;grid-area:1/1/3/2}
.photo-picker.has-photo span{opacity:0}
.photo-plus{font-size:32px;color:var(--pink)}
.photo-picker span:last-child{font-size:11px;color:var(--muted)}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.field{display:grid;gap:7px;margin-bottom:11px}
.field span{font-size:11px;font-weight:800;color:#c6becd;padding-left:3px}
.field input,.field select,.field textarea{
  width:100%;border:1px solid var(--line);background:rgba(21,17,29,.92);color:var(--text);
  border-radius:15px;padding:14px;outline:none
}
.field textarea{resize:none}
.field input:focus,.field select:focus,.field textarea:focus{border-color:rgba(255,61,104,.68);box-shadow:0 0 0 3px rgba(255,61,104,.08)}
.consent{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:12px;line-height:1.45;margin:8px 0}
.consent input{accent-color:var(--pink);width:18px;height:18px}
.primary-button.wide{margin-top:8px}

.main{
  min-height:100dvh;padding:calc(var(--safe-top) + 66px) 0 calc(var(--safe-bottom) + 82px);
  max-width:720px;margin:auto;position:relative
}
.topbar{
  position:fixed;z-index:30;top:0;left:50%;transform:translateX(-50%);width:min(100%,720px);
  height:calc(var(--safe-top) + 66px);padding:var(--safe-top) 14px 0;display:flex;align-items:center;
  justify-content:space-between;background:linear-gradient(180deg,rgba(10,7,16,.98) 70%,rgba(10,7,16,.78) 86%,transparent);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)
}
.brand{display:flex;align-items:center;position:relative;gap:7px;height:48px}
.brand-heart{color:var(--blue);font-size:23px;filter:drop-shadow(0 0 10px rgba(92,168,255,.45));animation:heartBeat 4.8s ease-in-out infinite}
.brand-word{
  font-size:25px;font-weight:950;letter-spacing:-.05em;
  background:linear-gradient(90deg,var(--pink),var(--coral),var(--gold),var(--purple),var(--blue),var(--pink));
  background-size:220% auto;-webkit-background-clip:text;background-clip:text;color:transparent;
  animation:brandShift 10s linear infinite
}
.brand small{position:absolute;left:31px;top:36px;font-size:6.5px;letter-spacing:.28em;color:#716979;font-weight:900;white-space:nowrap}
@keyframes brandShift{to{background-position:220% 50%}}
@keyframes heartBeat{0%,88%,100%{transform:scale(1)}92%{transform:scale(1.22)}96%{transform:scale(.98)}}
.top-actions{display:flex;gap:4px}
.icon-button{
  position:relative;width:43px;height:43px;border:1px solid transparent;border-radius:15px;background:transparent;
  display:grid;place-items:center;font-size:23px;cursor:pointer
}
.icon-button:active{background:var(--surface-2);transform:scale(.96)}
.top-action svg{width:21px;height:21px;fill:none;stroke:#c7bfce;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.badge{
  position:absolute;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:9px;
  background:linear-gradient(135deg,var(--pink),var(--coral));color:#fff;font-size:9px;font-style:normal;
  font-weight:900;box-shadow:0 4px 12px rgba(255,61,104,.38)
}
.top-actions .badge{right:0;top:0}

.view{display:none;min-height:calc(100dvh - 166px);animation:viewIn .22s ease both}
.view.active{display:block}
@keyframes viewIn{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:none}}
.view-kicker{height:33px;padding:2px 16px 4px;display:flex;align-items:center;justify-content:space-between}
.view-kicker>span{font-size:8.5px;letter-spacing:.16em;color:#777080;font-weight:900;display:flex;align-items:center;gap:7px}
.view-kicker i{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px rgba(98,223,174,.55)}
.view-kicker button{width:34px;height:30px;border:0;background:transparent;color:#88808f;font-size:18px}

.deck{
  height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 300px);min-height:390px;max-height:630px;
  margin:0 12px;position:relative;isolation:isolate
}
.deck:before,.deck:after{
  content:"";position:absolute;left:14px;right:14px;height:100%;border-radius:31px;background:#18131f;
  border:1px solid rgba(255,255,255,.05);z-index:-1
}
.deck:before{top:8px;left:20px;right:20px;opacity:.75}
.deck:after{top:15px;left:28px;right:28px;opacity:.42}
.person-card{
  position:absolute;inset:0;border:1px solid rgba(255,255,255,.09);border-radius:30px;overflow:hidden;
  background:var(--surface);box-shadow:0 28px 64px rgba(0,0,0,.46);cursor:pointer;text-align:left;padding:0;
  touch-action:pan-y;transition:transform .24s cubic-bezier(.22,.7,.24,1),opacity .2s ease;
  will-change:transform,opacity
}
.person-card .card-photo{width:100%;height:100%;display:block;object-fit:cover}
.person-card:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(8,6,12,.02) 28%,rgba(8,6,12,.14) 49%,rgba(8,6,12,.93) 100%);
  pointer-events:none
}
.person-card.is-dragging{transition:none;cursor:grabbing}
.person-card.swipe-leaving-left{transform:translate3d(-125%,18px,0) rotate(-15deg);opacity:0}
.person-card.swipe-leaving-right{transform:translate3d(125%,18px,0) rotate(15deg);opacity:0}
.swipe-stamp{
  position:absolute;z-index:4;top:34px;padding:8px 13px;border:3px solid;border-radius:12px;
  font-size:18px;font-weight:950;letter-spacing:.12em;opacity:0;pointer-events:none;
  text-shadow:0 2px 10px rgba(0,0,0,.45)
}
.swipe-stamp-like{left:24px;color:#68edb2;transform:rotate(-11deg)}
.swipe-stamp-pass{right:24px;color:#ff8b9b;transform:rotate(11deg)}
.person-card.drag-like .swipe-stamp-like,.person-card.drag-pass .swipe-stamp-pass{opacity:var(--swipe-alpha,0)}
.card-photo-count{
  position:absolute;z-index:3;right:14px;top:14px;padding:6px 9px;border-radius:999px;
  background:rgba(10,7,14,.58);border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  color:#fff;font-size:10px;font-weight:850
}
.card-info{
  position:absolute;z-index:2;left:14px;right:14px;bottom:14px;padding:14px 14px 13px;border-radius:21px;
  background:linear-gradient(145deg,rgba(24,15,29,.69),rgba(12,9,17,.52));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 16px 36px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(16px) saturate(1.15);-webkit-backdrop-filter:blur(16px) saturate(1.15)
}
.card-info:before{
  content:"";position:absolute;left:-10px;bottom:-10px;width:120px;height:80px;
  background:radial-gradient(circle,rgba(255,61,104,.18),transparent 70%);filter:blur(10px);z-index:-1
}
.card-name-row{display:flex;align-items:center;gap:9px;min-width:0}
.card-info h2{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:28px;letter-spacing:-.035em;margin:0;text-shadow:0 2px 13px rgba(0,0,0,.55)
}
.real-user-badge{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;
  background:rgba(92,168,255,.12);border:1px solid rgba(92,168,255,.2);
  color:#cce7ff;font-size:8px;font-weight:900;letter-spacing:.05em;text-transform:uppercase
}
.real-user-badge i{width:6px;height:6px;border-radius:50%;background:#5ca8ff;box-shadow:0 0 8px rgba(92,168,255,.8)}
.card-location{
  display:flex;align-items:center;gap:6px;margin:7px 0 0;color:#e4dfea;font-size:12px;font-weight:700
}
.card-location svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.card-bio{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  margin:9px 0 0;color:#d5cfda;font-size:12px;line-height:1.42;font-weight:500
}
.card-bio-empty{color:#8c8493;font-style:italic}
.card-interests{margin-top:10px}
.card-interests .chip{padding:6px 9px;background:rgba(255,255,255,.065);font-size:10px}
.chip-more{color:#d8b9ff}
.card-open-hint{display:block;margin-top:9px;color:#968da0;font-size:8.5px;font-weight:750;letter-spacing:.04em}
.chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}
.chip{
  padding:7px 10px;border-radius:12px;background:rgba(18,14,25,.58);border:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);font-size:11px;color:#f3eef7
}
.swipe-actions{height:96px;display:flex;align-items:center;justify-content:center;gap:4px;padding:5px 4px 3px}
.swipe-action-item{width:60px;min-width:0;display:grid;justify-items:center;align-content:center;gap:5px}
.swipe-action-item>span{
  max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#8e8695;font-size:8px;font-weight:800;letter-spacing:.01em
}
.round-button{
  border:1px solid var(--line-strong);border-radius:50%;background:linear-gradient(145deg,#19141f,#100d16);
  display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 26px rgba(0,0,0,.25);font-weight:300
}
.round-button:active{transform:scale(.92)}
.round-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.round-button.rewind,.round-button.card-message{width:45px;height:45px}
.round-button.pass,.round-button.card-profile{width:52px;height:52px}
.round-button.like{width:61px;height:61px}
.round-button.rewind{color:var(--gold)}
.round-button.pass{color:#ff94a3}
.round-button.like{
  color:#fff;border:0;background:linear-gradient(145deg,var(--pink),#e94e83 52%,var(--coral));
  box-shadow:0 14px 34px -8px rgba(255,61,104,.58)
}
.round-button.like svg{width:25px;height:25px;fill:currentColor;stroke:none}
.round-button.card-profile{color:#7db8ff;border-color:rgba(125,184,255,.22);background:rgba(125,184,255,.08)}
.round-button.card-message{color:#d1adff;border-color:rgba(209,173,255,.22);background:rgba(161,88,255,.09)}
.round-button.is-busy{opacity:.58;cursor:wait}
.round-button.is-busy svg{animation:actionPulse .6s ease-in-out infinite alternate}
@keyframes actionPulse{to{opacity:.25;transform:scale(.84)}}
.empty-state{height:calc(100dvh - 250px);display:grid;place-items:center;align-content:center;text-align:center;padding:24px}
.empty-state h2{margin:8px 0}
.empty-state p{max-width:300px;color:var(--muted);line-height:1.5}
.empty-icon{font-size:54px;color:#4f4759}

.section-heading{padding:21px 17px 12px;display:flex;justify-content:space-between;align-items:flex-end}
.section-heading h1{letter-spacing:-.04em}
.free-pill{
  margin-bottom:6px;padding:6px 9px;border:1px solid rgba(98,223,174,.24);border-radius:999px;
  color:#7ce5bd;background:rgba(98,223,174,.075);font-size:8px;letter-spacing:.12em;font-weight:950
}
.match-strip{display:flex;gap:12px;min-height:0;padding:0 15px 14px;overflow-x:auto;scrollbar-width:none}
.match-strip::-webkit-scrollbar{display:none}
.match-bubble{flex:0 0 62px;border:0;background:transparent;padding:0;display:grid;gap:6px;place-items:center}
.match-bubble span{position:relative;width:59px;height:59px;padding:2px;border-radius:21px;background:linear-gradient(145deg,var(--pink),var(--purple),var(--blue))}
.match-bubble img{width:100%;height:100%;border-radius:19px;object-fit:cover;border:2px solid var(--bg)}
.match-bubble b{max-width:64px;overflow:hidden;text-overflow:ellipsis;font-size:9.5px;font-weight:700;white-space:nowrap}
.match-bubble i{position:absolute;right:-2px;bottom:-2px;width:16px;height:16px;border:2px solid var(--bg);border-radius:50%;background:var(--pink);color:#fff;font-size:8px;font-style:normal;display:grid;place-items:center}
.chat-search{
  height:46px;margin:0 13px 8px;padding:0 14px;display:flex;align-items:center;gap:10px;border-radius:16px;
  background:var(--surface);border:1px solid var(--line)
}
.chat-search svg{width:18px;height:18px;fill:none;stroke:#746c7c;stroke-width:2;stroke-linecap:round}
.chat-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}
.chat-search input::placeholder{color:#756e7d}
.people-list{padding:0 12px}
.person-row{
  width:100%;border:1px solid transparent;border-bottom-color:var(--line);background:transparent;
  display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 6px;text-align:left;cursor:pointer
}
.person-row:active{background:rgba(255,255,255,.025);border-radius:17px}
.person-row img{width:58px;height:58px;border-radius:20px;object-fit:cover;background:var(--surface-2)}
.person-row h3{margin:0 0 5px;font-size:15px}
.person-row p{margin:0;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.row-meta{display:grid;justify-items:end;gap:7px;color:#716a78;font-size:10px}
.unread-dot{min-width:19px;height:19px;border-radius:10px;background:var(--pink);color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900}
.list-empty{padding:70px 30px;text-align:center;color:var(--muted);line-height:1.55}

/* Plus store */
.store-hero{
  margin:14px 12px 0;padding:28px 20px 22px;border:1px solid rgba(161,88,255,.22);border-radius:28px;
  text-align:center;overflow:hidden;position:relative;
  background:
    radial-gradient(250px 150px at 50% 0,rgba(161,88,255,.28),transparent 70%),
    linear-gradient(145deg,rgba(255,61,104,.08),rgba(92,168,255,.04)),var(--surface)
}
.store-hero:before,.store-hero:after{
  content:"";position:absolute;width:150px;height:150px;border-radius:50%;filter:blur(50px);pointer-events:none
}
.store-hero:before{left:-80px;bottom:-80px;background:rgba(255,61,104,.18)}
.store-hero:after{right:-90px;top:-90px;background:rgba(92,168,255,.18)}
.store-orb{
  width:74px;height:74px;margin:0 auto 15px;padding:1px;border-radius:26px;display:grid;place-items:center;
  background:linear-gradient(145deg,var(--gold),var(--pink),var(--purple));box-shadow:0 18px 42px -10px rgba(161,88,255,.72)
}
.store-orb span{width:70px;height:70px;border-radius:24px;display:grid;place-items:center;background:#171020;font-size:34px;color:var(--gold)}
.store-hero h1{font-size:27px;line-height:1.1;letter-spacing:-.04em;margin:9px 0}
.store-hero p{max-width:430px;margin:0 auto;color:var(--muted);font-size:12.5px;line-height:1.5}
.plus-price{margin:19px auto 15px;display:flex;justify-content:center;align-items:center;gap:13px}
.plus-price strong{font-size:34px;color:var(--gold);letter-spacing:-.05em}
.plus-price span{text-align:left;color:#aaa2af;font-size:10px;line-height:1.35}
.store-section{margin:22px 13px 0}
.store-section h2{font-size:19px;margin:0 0 12px}
.perk-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.perk-grid article{
  min-height:125px;padding:14px;border:1px solid var(--line);border-radius:19px;background:linear-gradient(145deg,var(--surface),#110e18);
  display:flex;flex-direction:column;align-items:flex-start
}
.perk-grid article>span{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:rgba(161,88,255,.12);color:#c09bff;font-size:18px}
.perk-grid b{font-size:12.5px;margin:10px 0 5px}
.perk-grid small{color:var(--muted);font-size:10px;line-height:1.35}
.gift-showcase{display:grid;grid-template-columns:1fr auto;gap:12px;padding:18px;border:1px solid var(--line);border-radius:21px;background:var(--surface)}
.gift-showcase h2{margin:5px 0}
.gift-showcase p{font-size:11px;line-height:1.45;color:var(--muted);margin:0}
.gift-bubbles{display:flex;align-items:center}
.gift-bubbles span{width:40px;height:40px;margin-left:-9px;border-radius:14px;background:var(--surface-3);border:1px solid var(--line-strong);display:grid;place-items:center;font-size:20px}
.gift-bubbles span:first-child{margin-left:0}
.store-trust{text-align:center;color:#6c6573;font-size:9px;padding:13px 12px 4px}

/* Likes and guests */
.activity-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:2px 13px 12px;padding:4px;background:var(--surface);border-radius:16px}
.activity-tabs button{min-height:42px;border:0;border-radius:13px;background:transparent;color:#817986;font-size:12px;font-weight:800}
.activity-tabs button.active{background:var(--surface-3);color:#fff;box-shadow:0 7px 20px rgba(0,0,0,.2)}
.activity-tabs b{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:5px;padding:0 5px;border-radius:9px;background:rgba(255,61,104,.14);color:#ff8aa4;font-size:9px}
.activity-list{padding:0 12px}
.activity-locked{
  min-height:410px;margin-top:5px;padding:32px 22px;border:1px solid rgba(161,88,255,.2);border-radius:26px;
  background:radial-gradient(230px 170px at 50% 0,rgba(161,88,255,.22),transparent 70%),var(--surface);
  display:grid;place-items:center;align-content:center;text-align:center
}
.locked-stack{height:104px;width:170px;position:relative;margin-bottom:20px}
.locked-stack span{position:absolute;width:70px;height:90px;border-radius:20px;background:linear-gradient(145deg,#32283f,#1c1725);border:1px solid var(--line-strong);filter:blur(1.5px)}
.locked-stack span:nth-child(1){left:8px;transform:rotate(-9deg)}
.locked-stack span:nth-child(2){right:8px;transform:rotate(9deg)}
.locked-stack span:nth-child(3){left:50px;transform:none;display:grid;place-items:center;font-size:28px;color:#d3b9ff;filter:none}
.activity-locked h2{margin:0 0 8px;font-size:24px}
.activity-locked p{max-width:300px;color:var(--muted);font-size:12px;line-height:1.5;margin:0 0 18px}
.activity-person{border-bottom-color:var(--line)}

/* Profile and menu */
.profile-summary{padding:27px 18px 8px;text-align:center;position:relative}
.profile-summary:before{
  content:"";position:absolute;left:50%;top:8px;transform:translateX(-50%);width:180px;height:150px;
  background:radial-gradient(circle,rgba(161,88,255,.18),transparent 68%);pointer-events:none
}
.profile-summary img{
  position:relative;width:120px;height:120px;border-radius:39px;object-fit:cover;border:3px solid rgba(255,255,255,.1);
  background:var(--surface);box-shadow:0 22px 50px rgba(0,0,0,.36)
}
.profile-summary h1{font-size:27px;letter-spacing:-.035em;margin:14px 0 4px}
.profile-summary p{margin:0;color:var(--muted);font-size:12px}
.profile-summary .chips{justify-content:center}
.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:19px 12px 12px;background:var(--surface);border:1px solid var(--line);border-radius:20px}
.profile-stats button{border:0;background:transparent;padding:16px 5px;display:grid;gap:3px}
.profile-stats button+button{border-left:1px solid var(--line)}
.profile-stats b{font-size:19px}
.profile-stats span{color:var(--muted);font-size:10px}
.plus-card{
  width:calc(100% - 24px);margin:0 12px 18px;padding:15px;border:1px solid rgba(255,217,138,.22);
  border-radius:20px;background:linear-gradient(135deg,rgba(161,88,255,.17),rgba(255,61,104,.11),rgba(255,217,138,.06));
  display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;text-align:left
}
.plus-gem{width:42px;height:42px;border-radius:15px;background:linear-gradient(145deg,var(--purple),var(--pink));display:grid;place-items:center;font-size:21px;color:var(--gold)}
.plus-card span:nth-child(2){display:grid;gap:4px}
.plus-card small{color:#aaa2b0;font-weight:400;font-size:10px}
.plus-card strong{color:var(--gold);font-size:15px}
.menu-heading{margin:16px 18px 8px;font-size:8px;letter-spacing:.16em;font-weight:950;color:#6f6877}
.settings-list{margin:0 12px;background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.settings-list button,.settings-list a{
  width:100%;min-height:58px;padding:0 14px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);
  display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;text-decoration:none;text-align:left
}
.settings-list button:last-child,.settings-list a:last-child{border-bottom:0}
.settings-list i{width:32px;height:32px;border-radius:11px;background:var(--surface-3);display:grid;place-items:center;color:#b9a5df;font-style:normal;font-size:15px}
.settings-list span{display:grid;gap:3px;font-size:13px;font-weight:700}
.settings-list small{color:var(--muted);font-size:9.5px;font-weight:400}
.settings-list b{color:#746d7e;font-size:21px}
.settings-list .danger-row{color:var(--danger)}
.settings-list .danger-row i{color:var(--danger);background:rgba(255,107,120,.08)}
.version{text-align:center;padding:0 0 18px}

/* Familiar five-item navigation. */
.bottom-nav{
  position:fixed;z-index:40;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,720px);
  height:calc(var(--safe-bottom) + 73px);padding:7px 8px var(--safe-bottom);display:grid;grid-template-columns:repeat(5,1fr);
  background:rgba(10,7,16,.94);backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%);
  border-top:1px solid var(--line)
}
.nav-item{position:relative;border:0;background:transparent;color:#696271;display:grid;place-items:center;align-content:center;gap:3px;min-width:0}
.nav-item>span{width:27px;height:27px;display:grid;place-items:center}
.nav-item svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nav-item>b{font-size:8.5px;letter-spacing:.01em}
.nav-item.active{color:#f5f1f8}
.nav-item.active>span{color:var(--pink);filter:drop-shadow(0 0 9px rgba(255,61,104,.3))}
.nav-item.active:after{content:"";position:absolute;bottom:0;width:18px;height:2px;border-radius:2px;background:var(--pink);box-shadow:0 0 9px rgba(255,61,104,.6)}
.nav-item .badge{right:calc(50% - 24px);top:1px}
.nav-feature>span{
  width:43px;height:43px;margin-top:-15px;border-radius:15px;background:linear-gradient(145deg,var(--purple),var(--pink));
  color:#fff;box-shadow:0 13px 27px -8px rgba(161,88,255,.7);transform:rotate(45deg)
}
.nav-feature>span svg{width:21px;height:21px;transform:rotate(-45deg)}
.nav-feature>b{margin-top:1px}
.nav-feature.active>span{color:#fff;filter:none;box-shadow:0 15px 30px -7px rgba(255,61,104,.72)}

/* Chat */
.chat-screen{
  position:fixed;z-index:60;inset:0;background:
    radial-gradient(420px 220px at 50% -5%,rgba(161,88,255,.1),transparent 70%),var(--bg);
  display:grid;grid-template-rows:calc(var(--safe-top) + 62px) minmax(0,1fr) auto auto
}
.chat-header{
  padding:var(--safe-top) 8px 0;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;
  border-bottom:1px solid var(--line);background:rgba(10,7,16,.9);backdrop-filter:blur(22px)
}
.chat-person{height:58px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:10px}
.chat-person img{width:40px;height:40px;border-radius:14px;object-fit:cover;border:1px solid var(--line-strong)}
.chat-person span{display:grid;text-align:left}
.chat-person b{font-size:14px}
.chat-person small{color:var(--muted);font-size:10px}
.messages{overflow-y:auto;padding:15px 11px 9px;display:flex;flex-direction:column;gap:7px}
.message{
  max-width:80%;padding:10px 12px;border-radius:18px 18px 18px 6px;background:var(--surface-2);
  border:1px solid rgba(255,255,255,.045);align-self:flex-start;overflow:hidden;box-shadow:0 6px 16px rgba(0,0,0,.12)
}
.message.mine{
  align-self:flex-end;border-radius:18px 18px 6px 18px;background:linear-gradient(135deg,#7f365f,#62458d);
  border-color:rgba(255,255,255,.08)
}
.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.38;font-size:13px}
.message time{display:block;text-align:right;color:rgba(255,255,255,.5);font-size:8.5px;margin-top:4px}
.typing-indicator{padding:3px 16px 5px;color:#a794ba;font-size:10px}
.composer{
  padding:8px 7px var(--safe-bottom);display:grid;grid-template-columns:38px 38px minmax(0,1fr) 38px 42px;
  align-items:end;gap:3px;border-top:1px solid var(--line);background:rgba(17,13,23,.97)
}
.composer textarea{min-height:41px;max-height:110px;padding:11px 12px;border:1px solid var(--line);border-radius:16px;background:#26202f;color:var(--text);resize:none;outline:none}
.send-button{width:38px;height:41px;border:0;border-radius:13px;background:transparent;display:grid;place-items:center;font-size:21px}
.send-button{width:42px;background:linear-gradient(145deg,var(--pink),var(--coral));color:#fff;box-shadow:0 8px 20px -8px rgba(255,61,104,.8)}

/* Sheets and dialogs */
.modal{position:fixed;z-index:100;inset:0;display:grid;align-items:end}
.modal-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.67);backdrop-filter:blur(6px)}
.modal-sheet{
  position:relative;z-index:1;width:min(100%,640px);max-height:89dvh;overflow:auto;margin:auto;
  background:linear-gradient(180deg,#1c1725,#14101c);border:1px solid var(--line-strong);border-bottom:0;
  border-radius:29px 29px 0 0;padding:27px 18px calc(var(--safe-bottom) + 18px);box-shadow:0 -24px 70px rgba(0,0,0,.58)
}
.modal-sheet:before{content:"";position:absolute;top:8px;left:50%;transform:translateX(-50%);width:38px;height:4px;border-radius:4px;background:#494052}
.modal-close{position:absolute;right:13px;top:14px;width:36px;height:36px;border:0;border-radius:13px;background:var(--surface-3);font-size:20px}
.modal-sheet h2{font-size:24px;margin:4px 42px 8px 0}
.modal-center{text-align:center}
.modal-sheet>div>p,.modal-copy{color:var(--muted);line-height:1.5}
.detail-photo{width:100%;max-height:50dvh;object-fit:cover;border-radius:23px;margin-top:10px}
.detail-title{font-size:28px;margin:15px 0 5px}
.detail-city{color:var(--muted);margin:0}
.detail-bio{line-height:1.5}
.modal-actions{display:grid;gap:9px;margin-top:18px}
.plain-button,.danger-button{width:100%;min-height:49px;border-radius:15px;border:1px solid var(--line);background:var(--surface-2)}
.center-link{display:grid;place-items:center;text-decoration:none}
.danger-button{color:var(--danger)}
.feature-list{display:grid;gap:9px;margin:18px 0}
.feature-item{display:flex;gap:10px;align-items:center;padding:13px;background:var(--surface-2);border:1px solid var(--line);border-radius:15px}
.feature-item b{color:var(--green)}
.gift-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:16px}
.gift-card{border:1px solid var(--line);background:var(--surface-2);border-radius:18px;padding:10px;display:grid;place-items:center;gap:6px}
.gift-card img{width:62px;height:62px;object-fit:contain}
.gift-card b{color:var(--gold)}
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.photo-tile{position:relative;aspect-ratio:.8;border-radius:15px;overflow:hidden;background:var(--surface-2)}
.photo-tile img{width:100%;height:100%;object-fit:cover}
.photo-tile button{position:absolute;width:28px;height:28px;border:0;border-radius:10px;background:rgba(10,8,15,.78)}
.photo-tile .make-main{left:5px;bottom:5px;width:auto;padding:0 7px;font-size:10px}
.photo-tile .remove-photo{right:5px;top:5px;color:var(--danger)}
.check-row{display:flex;align-items:center;justify-content:space-between;min-height:50px;border-bottom:1px solid var(--line)}
.check-row input{accent-color:var(--pink);width:20px;height:20px}
.report-reasons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}
.report-reasons label{padding:11px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2);font-size:12px}
.report-reasons input{accent-color:var(--pink)}
.toast{
  position:fixed;z-index:200;left:50%;bottom:calc(var(--safe-bottom) + 84px);transform:translateX(-50%);
  max-width:calc(100% - 32px);padding:12px 16px;border-radius:14px;background:#eee9f4;color:#18141e;
  font-size:12px;font-weight:800;box-shadow:0 12px 35px rgba(0,0,0,.38);text-align:center
}

@media(min-width:721px){
  body{background:#060409}
  #app{width:720px;min-height:100dvh;margin:auto;background:var(--bg);box-shadow:0 0 80px #000}
  .modal-sheet{border-radius:29px;margin-bottom:20px;border-bottom:1px solid var(--line-strong)}
}
@media(max-width:360px){
  .topbar{padding-left:11px;padding-right:7px}
  .brand-word{font-size:22px}
  .brand small{display:none}
  .top-action{width:39px}
  .deck{margin-left:8px;margin-right:8px}
  .card-info h2{font-size:27px}
  .swipe-actions{gap:14px}
  .nav-item>b{font-size:7.5px;white-space:nowrap}
  .composer{grid-template-columns:34px 34px minmax(0,1fr) 34px 39px}
  .send-button{width:39px}
  .gift-showcase{grid-template-columns:1fr}
}
@media(max-height:700px){
  .main{padding-top:calc(var(--safe-top) + 60px)}
  .topbar{height:calc(var(--safe-top) + 60px)}
  .deck{min-height:300px;height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 243px)}
  .view-kicker{height:27px}
  .swipe-actions{height:77px}
  .round-button.pass,.round-button.like{width:56px;height:56px}
  .onboarding{padding-top:12px}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}

/* Restored classic MiniApp shell from the last pre-simplification release. */
:root{
  --bg:#0a070e;
  --bg-soft:#0f0914;
  --surface:#17111c;
  --surface-2:#211727;
  --surface-3:#2a1d31;
  --text:#f3f1f7;
  --muted:#8e87a0;
  --muted-2:#625b6e;
  --line:rgba(255,255,255,.085);
  --line-strong:rgba(255,255,255,.14);
  --pink:#ff3d68;
  --coral:#ff7a59;
  --purple:#a158ff;
  --blue:#5ca8ff;
  --gold:#ffd98a;
  --green:#4ee39e;
}
html,body{background:#0a070e}
body{
  background:
    radial-gradient(430px 230px at 50% -70px,rgba(120,36,119,.34),transparent 72%),
    linear-gradient(180deg,#16091a 0,#0a070e 34%,#09060d 100%);
}
#app{position:relative;min-height:100dvh}

.age-gate{
  position:fixed;z-index:500;inset:0;padding:24px;display:grid;place-items:center;text-align:center;
  background:radial-gradient(360px 250px at 50% 24%,rgba(255,61,104,.12),transparent 70%),#0a070e;
  pointer-events:auto;touch-action:manipulation
}
.age-gate-card{width:min(100%,340px);position:relative;z-index:1}
.age-gate-icon{
  width:82px;height:82px;margin:0 auto 18px;border-radius:27px;display:grid;place-items:center;
  background:linear-gradient(145deg,#251329,#160d1c);border:1px solid rgba(255,61,104,.27);
  color:#ff7895;font-size:25px;font-weight:950;box-shadow:0 20px 50px rgba(0,0,0,.35)
}
.age-gate h1{margin:0 0 8px;font-size:24px}
.age-gate p{margin:0 auto 21px;color:var(--muted);font-size:13px;line-height:1.55;max-width:290px}
.age-gate .primary-button{
  min-width:210px;background:linear-gradient(135deg,var(--pink),var(--coral));
  position:relative;z-index:2;pointer-events:auto;touch-action:manipulation
}

.main{
  width:100%;max-width:720px;min-height:100dvh;margin:auto;
  padding:calc(var(--safe-top) + 62px) 0 calc(var(--safe-bottom) + 79px);
  overflow:hidden
}
.topbar.hdr{
  position:fixed;z-index:40;top:0;left:50%;transform:translateX(-50%);width:min(100%,720px);
  height:calc(var(--safe-top) + 62px);padding:var(--safe-top) 13px 0;
  display:block;background:linear-gradient(180deg,rgba(39,13,42,.98),rgba(31,11,35,.92) 78%,rgba(18,8,22,.76));
  border:0;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)
}
.hdr .bar{height:54px;display:flex;align-items:center;gap:5px;position:relative}
.hdr .brand.logo{height:48px;display:flex;align-items:center;gap:5px;padding:0 5px 0 1px;position:relative}
.hdr .brand.logo:after{
  content:"";position:absolute;left:1px;right:5px;bottom:1px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--blue),transparent)
}
.hdr .brand-heart.hrt{
  color:var(--blue);font-size:19px;filter:drop-shadow(0 0 8px rgba(92,168,255,.38));
  animation:classicHeart 4.5s ease-in-out infinite
}
.hdr .brand-word.vibe-text{
  font-size:19px;font-weight:950;letter-spacing:-.03em;
  background:linear-gradient(90deg,var(--pink),var(--coral),var(--gold),var(--purple),var(--blue),var(--pink));
  background-size:200% auto;background-clip:text;-webkit-background-clip:text;color:transparent;
  animation:classicVibe 10s linear infinite
}
@keyframes classicVibe{to{background-position:200% 50%}}
@keyframes classicHeart{0%,86%,100%{transform:scale(1)}91%{transform:scale(1.2)}95%{transform:scale(.98)}}
.hdr .icon-button.top-action{
  width:38px;height:38px;border:0;border-radius:12px;background:transparent;color:#bcb4c9
}
.hdr .icon-button.top-action:after{
  content:"";position:absolute;left:26%;right:26%;bottom:2px;height:2px;border-radius:2px;
  background:#8e87a0;opacity:.28
}
.hdr .top-action svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9}
.hdr .header-stars{
  margin-left:auto;height:36px;min-width:68px;padding:0 11px;border:1px solid rgba(94,200,255,.11);
  border-radius:13px;background:rgba(94,200,255,.075);color:#d7efff;display:flex;align-items:center;
  justify-content:center;gap:5px;font-size:11px;font-weight:900;position:relative
}
.hdr .header-stars:after{
  content:"";position:absolute;left:22%;right:22%;bottom:-1px;height:2px;border-radius:2px;background:#5ec8ff;opacity:.35
}
.hdr .header-stars svg{width:17px;height:17px;fill:var(--blue);stroke:none}
.hdr .badge{right:-1px;top:-1px}

.view{
  display:none;position:relative;min-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 141px);
  animation:classicView .18s ease both
}
.view.active{display:block}
@keyframes classicView{from{opacity:.55}to{opacity:1}}
#discoverView{height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 141px)}
#discoverView .deck{
  height:calc(100% - 88px);min-height:0;max-height:none;margin:8px 14px 0;position:relative
}
#discoverView .deck:not(.has-card):before,#discoverView .deck:not(.has-card):after{display:none}
#discoverView .deck:before,#discoverView .deck:after{border-radius:25px;background:#17101d}
.person-card{border-radius:26px}
.card-info{left:13px;right:13px;bottom:13px}
.card-info h2{font-size:27px}
.swipe-actions{height:88px;gap:3px}
.round-button.rewind,.round-button.card-message{width:43px;height:43px}
.round-button.pass,.round-button.card-profile{width:49px;height:49px}
.round-button.like{width:58px;height:58px}
.empty-state{
  position:absolute;inset:0;height:auto;padding:30px;display:flex;flex-direction:column;align-items:center;
  justify-content:center;text-align:center
}
.empty-state .flame-icon{width:58px;height:58px;color:var(--pink);margin:0 0 10px}
.empty-state .flame-icon svg{width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.empty-state h2{margin:0 0 8px;font-size:19px}
.empty-state p{margin:0;color:var(--muted);font-size:14px}
.secondary-button.compact{
  min-height:38px;margin-top:18px;padding:0 17px;border-radius:13px;background:rgba(255,255,255,.055);
  color:#bdb6c5;font-size:12px
}

#chatsView,#storeView,#likesView,#profileView{
  height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 141px);overflow-y:auto;scrollbar-width:none
}
#chatsView::-webkit-scrollbar,#storeView::-webkit-scrollbar,#likesView::-webkit-scrollbar,#profileView::-webkit-scrollbar{display:none}
#chatsView{padding-top:14px}
.match-strip{padding:0 16px 13px}
.chat-search{
  height:46px;margin:0 16px 8px;padding:0 15px;border-radius:14px;background:rgba(64,36,67,.42);
  border:1px solid rgba(255,255,255,.08)
}
.chat-search svg{stroke:#6cb3dc}
.chat-search input{font-size:13px}
.chat-free-note{padding:0 19px 7px;color:#6f687a;font-size:9px}
.people-list{padding:0 12px}
.person-row{padding:12px 7px;border-bottom-color:rgba(255,255,255,.065)}
.person-row img{border-radius:16px}
.list-empty{
  position:relative;padding:84px 28px;color:#8e87a0;font-size:14px;line-height:1.55
}
#chatsView .list-empty:before{
  content:"";display:block;width:52px;height:42px;margin:0 auto 12px;border:4px solid var(--pink);
  border-radius:50%;opacity:.9;transform:rotate(-8deg)
}

.classic-store-hero{
  margin:14px 16px 0;padding:23px 18px 20px;border-radius:22px;text-align:left;
  background:
    radial-gradient(190px 120px at 82% 16%,rgba(94,200,255,.14),transparent 70%),
    linear-gradient(135deg,rgba(53,38,81,.96),rgba(45,18,48,.96));
  border:1px solid rgba(94,200,255,.2)
}
.store-hero-label{font-size:9px;letter-spacing:.12em;font-weight:900;color:#c5bdce;margin-bottom:9px}
.classic-store-hero .store-orb{
  float:right;width:64px;height:64px;margin:-3px 0 8px 16px;border-radius:20px;
  background:linear-gradient(145deg,rgba(255,217,138,.2),rgba(161,88,255,.24));box-shadow:none
}
.classic-store-hero .store-orb span{
  width:58px;height:58px;border-radius:18px;background:rgba(16,10,22,.72);color:var(--gold);font-size:28px
}
.classic-store-hero h1{font-size:31px;margin:0 0 6px}
.classic-store-hero p{font-size:11px;margin:0;text-align:left;max-width:420px}
.classic-store-hero .plus-price{justify-content:flex-start;margin:17px 0 13px}
.classic-store-hero .plus-price strong{font-size:30px}
.classic-store-hero .primary-button{clear:both}
.store-section{margin:20px 16px 0}
.store-section h2{font-size:18px}
.perk-grid{gap:8px}
.perk-grid article{
  min-height:118px;border-radius:17px;background:linear-gradient(145deg,rgba(30,22,35,.96),rgba(19,14,24,.96))
}
.gift-showcase{border-radius:18px;background:rgba(30,22,35,.78)}

.section-heading{padding:20px 17px 12px}
.activity-tabs{margin:0 14px 12px;background:rgba(30,21,35,.94)}
.activity-tabs button.active{background:#35243d}
.activity-locked{margin:0 14px;border-radius:22px}

.profile-hero{position:relative;width:max-content;max-width:100%;margin:0 auto}
.profile-summary{padding:29px 22px 7px}
.profile-summary:before{top:4px;background:radial-gradient(circle,rgba(145,46,143,.2),transparent 69%)}
.profile-summary img{
  width:106px;height:106px;border-radius:28px;border:2px solid rgba(255,255,255,.11);
  box-shadow:0 18px 40px rgba(0,0,0,.34)
}
.profile-avatar-placeholder{
  position:relative;width:106px;height:106px;margin:0 auto;border-radius:28px;
  display:grid;place-items:center;background:rgba(22,15,28,.88);border:2px solid rgba(255,255,255,.11);
  color:#8f879b;font-size:51px;line-height:1
}
.profile-summary h1{font-size:23px;margin:14px 0 4px}
.profile-summary .chips{max-width:310px}
.profile-edit-shortcut{
  position:absolute;z-index:3;right:16px;top:28px;width:38px;height:38px;border:0;border-radius:12px;
  display:grid;place-items:center;background:linear-gradient(145deg,var(--pink),#ff6883);color:#fff;
  font-size:17px;box-shadow:0 8px 20px rgba(255,61,104,.35)
}
.profile-stats{
  margin:17px 17px 12px;border-radius:16px;background:rgba(29,21,34,.94)
}
.profile-stats button{padding:15px 4px}
.profile-stats b{font-size:17px;color:#ff7e9b}
.profile-stats button:nth-child(2) b{color:#69c7f2}
.profile-stats button:nth-child(3) b{color:#ffd98a}
.profile-stats span{text-transform:uppercase;font-size:8px;font-weight:800}
.plus-card{
  width:calc(100% - 34px);margin:0 17px 14px;border-radius:16px;background:rgba(33,23,39,.92)
}
.plus-gem{border-radius:12px;background:rgba(255,61,104,.13);color:#ff7894}
.menu-heading{margin:14px 21px 7px}
.settings-list{margin:0 17px;border-radius:16px;background:rgba(29,21,34,.94)}
.settings-list button,.settings-list a{min-height:58px}
.settings-list i{background:rgba(255,61,104,.09);color:#ff6f8d}

.bottom-nav.nav{
  position:fixed;z-index:50;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,720px);
  height:calc(var(--safe-bottom) + 79px);padding:7px 7px var(--safe-bottom);
  display:grid;grid-template-columns:repeat(5,1fr);background:rgba(15,10,19,.96);
  border-top:1px solid rgba(255,255,255,.07);box-shadow:0 -8px 28px rgba(0,0,0,.18);
  backdrop-filter:blur(22px) saturate(140%);-webkit-backdrop-filter:blur(22px) saturate(140%)
}
.bottom-nav .nav-item{
  position:relative;min-width:0;border:0;background:transparent;color:#8e87a0;display:flex;
  flex-direction:column;align-items:center;justify-content:center;gap:4px
}
.bottom-nav .nav-item>span{width:40px;height:40px;border-radius:13px;display:grid;place-items:center}
.bottom-nav .nav-item svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9}
.bottom-nav .nav-item>b{font-size:9px;font-weight:650;white-space:nowrap}
.bottom-nav .nav-item.active{color:#f4eff8}
.bottom-nav .nav-item.active>span{
  color:#fff;background:linear-gradient(145deg,var(--pink),#ff6682);
  box-shadow:0 8px 20px rgba(255,61,104,.34);filter:none;transform:translateY(-1px)
}
.bottom-nav .nav-item.active:after{display:none}
.bottom-nav .nav-item .badge{right:calc(50% - 23px);top:3px}
.bottom-nav .nav-item[data-view="store"] svg{fill:none}

.chat-screen{
  background:radial-gradient(380px 210px at 50% -5%,rgba(113,35,113,.2),transparent 70%),#0a070e
}
.chat-header{background:rgba(24,11,27,.94)}
.message{background:#211827}
.message.mine{background:linear-gradient(135deg,#7c315c,#69407f)}
.composer{background:rgba(19,12,23,.98)}
.composer textarea{background:#2a1d31}
.modal-sheet{background:linear-gradient(180deg,#211629,#130e18)}
.composer{
  grid-template-columns:minmax(0,1fr) 44px;
  padding-left:12px;padding-right:8px
}
.composer .send-button{grid-column:2}

@media(max-width:380px){
  .topbar.hdr{padding-left:10px;padding-right:10px}
  .hdr .bar{gap:3px}
  .hdr .icon-button.top-action{width:35px}
  .hdr .header-stars{min-width:61px;padding:0 8px}
  .bottom-nav .nav-item>b{font-size:8px}
  .swipe-action-item{width:56px}
  .swipe-action-item>span{max-width:56px;font-size:7.5px}
}
@media(max-height:700px){
  .main{padding-top:calc(var(--safe-top) + 58px)}
  .topbar.hdr{height:calc(var(--safe-top) + 58px)}
  #discoverView,#chatsView,#storeView,#likesView,#profileView{
    height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 137px)
  }
  #discoverView .deck{height:calc(100% - 76px)}
  .swipe-actions{height:72px}
  .round-button.rewind,.round-button.card-message{width:38px;height:38px}
  .round-button.pass,.round-button.card-profile{width:44px;height:44px}
  .round-button.like{width:51px;height:51px}
  .swipe-action-item{gap:3px}
  .card-info{padding:11px 12px}
  .card-info h2{font-size:23px}
  .card-bio{-webkit-line-clamp:1}
  .card-open-hint{display:none}
}
