:root {
  --bg: #0e0d16; --bg2: #13121d; --card: #1d1b2b; --card2: #262338; --line: #2b2840;
  --text: #ffffff; --muted: #8e8aa8; --pink: #ff2d78; --pink2: #ff4d8d; --purple: #b51ee6; --violet: #7c3aed;
  --grad: linear-gradient(100deg, #6d28d9 0%, #c026d3 55%, #ec2d6f 100%); --gold: #fbbf24; --green: #22c55e; --red: #ff3b5c; --blue: #3b82f6;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Roboto', 'Hind Siliguri', system-ui, -apple-system, sans-serif; }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; color: inherit; background: none; }
input, select, textarea { font: inherit; color: var(--text); background: var(--card2); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; width: 100%; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--pink); }
svg.ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative; padding-bottom: 84px; }
.hidden { display: none !important; }

.btn { background: var(--pink); color: #fff; padding: 13px 20px; border-radius: 999px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn.block { width: 100%; }
.btn.purple { background: var(--purple); }
.btn.grad { background: var(--grad); }
.btn.ghost { background: var(--card2); border: 1px solid var(--line); font-weight: 500; }
.btn.white { background: #fff; color: var(--pink); }
.btn.green { background: var(--green); }
.btn.red { background: var(--red); }
.btn.sm { padding: 7px 14px; font-size: 13px; }
.btn:disabled { opacity: .45; }

/* header with tabs (Hot / Party / Match) */
.hdr { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 16px 18px 10px; background: rgba(14,13,22,.94); backdrop-filter: blur(12px); }
.hdr .tab { font-size: 18px; font-weight: 700; color: #6f6b8c; position: relative; padding-bottom: 8px; white-space: nowrap; flex-shrink: 0; }
.hdr .tab.on { color: #fff; font-size: 24px; }
.hdr .tab.on::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 24px; height: 4px; border-radius: 4px; background: var(--pink); }
.hdr .grow { flex: 1; }
.hdr .ib { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.gemchip { background: #6d28d9; border-radius: 999px; padding: 7px 13px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(14,13,22,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 19px; margin: 0; flex: 1; }
.back { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--card); }

/* bottom nav */
.nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; display: flex; background: #15141f; border-top: 1px solid #222033; z-index: 30; padding-bottom: env(safe-area-inset-bottom); }
.nav a { flex: 1; text-align: center; padding: 10px 0 9px; font-size: 13px; color: #77738f; position: relative; }
.nav a svg.ico { width: 28px; height: 28px; display: block; margin: 0 auto 3px; }
.nav a.active { color: #fff; }
.nav a.active svg.ico { fill: #fff; stroke: #fff; }
.nav a[data-r="me"].active svg.ico { fill: none; }
.nav .badge { position: absolute; top: 3px; left: calc(50% + 4px); }
.badge { background: var(--pink); color: #fff; border-radius: 999px; font-size: 11px; padding: 2px 7px; font-weight: 700; min-width: 20px; text-align: center; display: inline-block; }

.page { padding: 4px 16px 16px; }
h2 { font-size: 19px; margin: 18px 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px; margin-bottom: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 10px; }
.empty { text-align: center; color: var(--muted); padding: 50px 10px; }

/* host cards */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hcard { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 0.72; background: #23213a; cursor: pointer; }
.hcard img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hcard .noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #6c6889; }
.hcard .noimg svg.ico { width: 46px; height: 46px; fill: #6c6889; stroke: none; }
.hcard .shade { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(transparent, rgba(10,9,18,.85)); }
.st { position: absolute; top: 12px; left: 12px; background: rgba(10,9,18,.75); border-radius: 999px; padding: 5px 11px 5px 9px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.st i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }
.st.live { background: var(--red); } .st.live i { background: #fff; }
.st.busy i { background: #f97316; } .st.offline i { background: #777; }
.vbadge { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; background: #3fa9f5; color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; border: 2px solid #b8e2ff; box-shadow: 0 0 10px rgba(63,169,245,.7); }
.hcard .info { position: absolute; left: 14px; bottom: 16px; right: 80px; }
.hcard .name { font-weight: 700; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agep { display: inline-flex; align-items: center; gap: 4px; background: var(--pink); border-radius: 999px; padding: 2px 9px; font-size: 13px; font-weight: 700; margin-top: 6px; }
.agep::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #c8102e; }
.agep.male { background: var(--blue); } .agep.male::before { background: #1d4ed8; }
.xgem { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #a16207; background: rgba(161,98,7,.25); color: var(--gold); font-size: 12px; font-weight: 700; border-radius: 8px; padding: 3px 8px; margin-bottom: 6px; }
.callbtn { position: absolute; right: 12px; bottom: 14px; width: 62px; height: 62px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px rgba(255,45,120,.45), 0 0 24px rgba(255,45,120,.8); color: var(--pink); }
.callbtn svg.ico { width: 28px; height: 28px; fill: var(--pink); stroke: var(--pink); }
.fab { position: fixed; right: max(16px, calc(50% - 224px)); bottom: 96px; z-index: 25; background: var(--pink); border-radius: 22px; padding: 16px 24px; font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 26px rgba(255,45,120,.45); }

.av { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: #2a2742; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; overflow: hidden; color: #8e8aa8; }
.av svg.ico { width: 55%; height: 55%; fill: #75719a; stroke: none; }
.av.lg { width: 96px; height: 96px; font-size: 36px; }
.av.xl { width: 110px; height: 110px; }
.av.sm { width: 34px; height: 34px; font-size: 13px; }
.avw { position: relative; display: inline-block; flex-shrink: 0; }
.avw .on { position: absolute; right: 2px; bottom: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--green); border: 2px solid var(--bg); }
.avw .frm { position: absolute; right: -4px; top: -6px; font-size: 20px; }
.avw.ring > .av { box-shadow: 0 0 0 3px var(--gold); }
.lvp { display: inline-flex; align-items: center; gap: 3px; border-radius: 999px; padding: 1px 7px; font-size: 11px; font-weight: 700; color: #fff; vertical-align: middle; }
.vipp { display: inline-flex; align-items: center; gap: 3px; border-radius: 6px; padding: 1px 6px; font-size: 11px; font-weight: 800; color: #1a1a1a; vertical-align: middle; }
.vt { color: #3fa9f5; font-weight: 900; }

/* auth */
.auth { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 26px; background: radial-gradient(circle at 50% 0%, #3b1a5c 0%, var(--bg) 60%); }
.auth .hero { text-align: center; margin-bottom: 28px; }
.auth .logo-ic { width: 84px; height: 84px; border-radius: 26px; margin: 0 auto 12px; display: block; box-shadow: 0 10px 40px rgba(236,45,111,.45); }
.auth h1 { margin: 6px 0; font-size: 30px; }
.seg { display: flex; background: var(--card); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.seg button { flex: 1; padding: 11px; border-radius: 999px; color: var(--muted); font-weight: 700; }
.seg button.active { background: var(--pink); color: #fff; }
.genders { display: flex; gap: 10px; }
.genders label { flex: 1; text-align: center; background: var(--card2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; font-weight: 600; }
.genders input { display: none; }
.genders label:has(input:checked) { border-color: var(--pink); background: rgba(255,45,120,.15); }

/* ad */
.ad-banner { display: block; border-radius: 20px; overflow: hidden; margin-bottom: 14px; position: relative; }
.ad-banner img { width: 100%; display: block; max-height: 140px; object-fit: cover; }
.ad-banner .lbl { position: absolute; top: 8px; right: 10px; font-size: 10px; background: rgba(0,0,0,.6); padding: 2px 6px; border-radius: 6px; }

/* messages */
.mtabs { display: flex; align-items: center; gap: 14px; padding: 16px 18px 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(14,13,22,.95); z-index: 20; }
.mtabs .t { font-size: 20px; font-weight: 600; color: #77738f; white-space: nowrap; }
.mtabs .t.on { color: #fff; font-size: 26px; font-weight: 700; }
.mtabs .t.on::after { content: '•'; color: var(--pink); margin-left: 4px; }
.mtabs .rb { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mrow { display: flex; align-items: center; gap: 14px; padding: 12px 18px; }
.mrow .txt { flex: 1; min-width: 0; border-bottom: 1px solid var(--line); padding: 6px 0 16px; }
.mrow .nm { font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; }
.mrow .nm small { font-weight: 400; color: var(--muted); font-size: 14px; }
.mrow .pv { color: #b9b5d0; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; justify-content: space-between; gap: 8px; }
.mrow .pv .vc { color: #8b7cf6; }
.msgs { padding: 12px 16px 96px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 20px; margin: 5px 0; word-wrap: break-word; background: var(--card2); width: fit-content; }
.bubble.me { margin-left: auto; background: var(--pink); }
.bubble.call { background: transparent; border: 1px solid var(--line); color: #a99cff; font-size: 14px; margin-left: auto; margin-right: auto; }
.compose { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg2); border-top: 1px solid var(--line); z-index: 40; }
.compose input { border-radius: 999px; }

/* me page */
.mehead { display: flex; gap: 16px; align-items: center; padding: 18px 16px 6px; }
.mehead .av { border: 3px solid #3a3756; }
.mehead h1 { margin: 0 0 8px; font-size: 24px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chp { border-radius: 999px; padding: 4px 11px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.chp.blue { background: #1d6fe0; } .chp.pinkc { background: #db2777; } .chp.green { background: #0f7a5c; } .chp.dark { background: var(--card2); color: var(--muted); }
.likes { display: flex; padding: 18px 0 14px; }
.likes a { flex: 1; text-align: center; }
.likes a + a { border-left: 1px solid var(--line); }
.likes b { display: block; font-size: 26px; }
.likes span { color: var(--muted); font-size: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.gcard { border-radius: 24px; padding: 18px; background: linear-gradient(140deg, #3a1b52, #24163a); border: 1px solid #4a2a6a; display: flex; justify-content: space-between; align-items: center; min-height: 110px; }
.gcard .l { color: #cfc7e6; font-size: 17px; font-weight: 600; }
.gcard .v { font-size: 30px; font-weight: 800; margin-top: 14px; }
.gcard .ic { font-size: 40px; }
.coin { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; color: #b45309; font-weight: 900; font-size: 24px; }
.hostc { border-radius: 26px; padding: 18px; background: linear-gradient(100deg, #5b21b6 0%, #9d27b0 50%, #e11d64 100%); display: flex; align-items: center; gap: 14px; margin-bottom: 14px; box-shadow: 0 8px 30px rgba(225,29,100,.35); }
.hostc .hi { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.hostc b { font-size: 20px; }
.hostc p { margin: 4px 0 0; opacity: .85; font-size: 14px; }
.promo { border-radius: 24px; padding: 18px; background: linear-gradient(140deg, #2c1842, #1d1530); border: 1px solid #4a2a6a; display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.promo .off { background: var(--gold); color: #1a1a1a; font-weight: 800; border-radius: 10px; padding: 6px 12px; white-space: nowrap; }
.mgrid { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px 8px 10px; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 18px; margin-bottom: 18px; }
.mgrid a { text-align: center; font-size: 14px; font-weight: 500; }
.mgrid .ci { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.logout { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--red); font-weight: 700; font-size: 18px; padding: 10px; width: 100%; }

/* wallet / tiles */
.balance { background: var(--grad); border-radius: 26px; padding: 24px; text-align: center; margin: 8px 0 16px; }
.balance .num { font-size: 42px; font-weight: 800; }
.pkg { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 8px; text-align: center; cursor: pointer; position: relative; }
.pkg:hover { border-color: var(--pink); }
.pkg .d { font-size: 20px; font-weight: 800; }
.pkg .p { color: var(--gold); font-weight: 700; margin-top: 4px; }
.pkg .b { font-size: 11px; color: var(--green); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.status { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--card2); text-transform: capitalize; }
.status.completed, .status.paid, .status.ended, .status.approved, .status.verified { color: var(--green); }
.status.pending, .status.ringing { color: var(--gold); }
.status.rejected, .status.missed, .status.cancelled { color: var(--red); }
.pm { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.pm.sel { border-color: var(--pink); background: rgba(255,45,120,.08); }
.pm .lg { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; overflow: hidden; }
.pm .lg img { width: 100%; height: 100%; object-fit: cover; }
.day { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 4px; text-align: center; }
.day.done { opacity: .5; }
.day.today { border-color: var(--pink); box-shadow: 0 0 14px rgba(255,45,120,.4); }
.day .i { font-size: 26px; }
.day.big { grid-column: span 2; }
.vipc { border-radius: 22px; padding: 18px; margin-bottom: 12px; color: #1a1a1a; }
.vipc ul { margin: 10px 0 14px; padding-left: 18px; }
.item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 8px; text-align: center; }
.item .i { font-size: 36px; height: 46px; display: flex; align-items: center; justify-content: center; }
.item .i img { max-height: 46px; }
.item.eq { border-color: var(--pink); }
.prog { height: 10px; background: var(--card2); border-radius: 99px; overflow: hidden; }
.prog > div { height: 100%; background: var(--grad); }
.rankrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rankrow .pos { width: 30px; text-align: center; font-weight: 800; color: var(--muted); }
.stat { background: var(--card2); border-radius: 18px; padding: 14px; }
.stat .v { font-size: 20px; font-weight: 800; }
.stat .l { font-size: 12px; color: var(--muted); }
.menu a, .menu button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 15px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.tabsx { display: flex; gap: 8px; margin: 4px 0 14px; overflow-x: auto; }
.tabsx button { background: var(--card); color: var(--muted); padding: 8px 16px; border-radius: 999px; white-space: nowrap; font-weight: 600; }
.tabsx button.on { background: var(--pink); color: #fff; }

/* match */
.mcard { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: .72; background: #23213a; margin-top: 6px; }
.mcard img { width: 100%; height: 100%; object-fit: cover; }
.mcard .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 22px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.mbtns { display: flex; justify-content: center; gap: 36px; margin: 18px 0; }
.mbtns button { width: 70px; height: 70px; border-radius: 50%; font-size: 30px; display: flex; align-items: center; justify-content: center; }
.mbtns .no { background: var(--card2); }
.mbtns .yes { background: var(--pink); box-shadow: 0 0 24px rgba(255,45,120,.7); }

/* party list */
.prow { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 14px; margin-bottom: 12px; cursor: pointer; }
.prow .faces { display: flex; }
.prow .faces .av { width: 30px; height: 30px; margin-left: -8px; border: 2px solid var(--card); }

/* modal / sheet */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--bg2); width: 100%; max-width: 480px; border-radius: 26px 26px 0 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); max-height: 90vh; overflow-y: auto; animation: up .2s ease; border-top: 1px solid var(--line); }
.overlay.center { align-items: center; padding: 16px; }
.overlay.center .sheet { border-radius: 26px; border: 1px solid var(--line); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gift { background: var(--card); border: 1px solid transparent; border-radius: 16px; padding: 10px 4px; text-align: center; cursor: pointer; position: relative; }
.gift.sel { border-color: var(--pink); background: rgba(255,45,120,.12); }
.gift .i { font-size: 30px; }
.gift .n { font-size: 11px; }
.gift .pr { font-size: 11px; color: var(--gold); }
.mycoins { font-weight: 700; }
.chip { background: var(--card2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 14px; display: inline-flex; gap: 4px; align-items: center; }

/* stage (live + call + party) */
.stage { position: fixed; inset: 0; background: #000; z-index: 50; display: flex; justify-content: center; }
.stage .inner { position: relative; width: 100%; max-width: 480px; height: 100%; overflow: hidden; }
.stage video.main { width: 100%; height: 100%; object-fit: cover; background: #111; }
.stage video.pip { position: absolute; top: 74px; right: 12px; width: 110px; height: 150px; object-fit: cover; border-radius: 16px; border: 2px solid rgba(255,255,255,.4); background: #222; z-index: 3; }
.mirror { transform: scaleX(-1); }
.stage .top { position: absolute; top: 0; left: 0; right: 0; padding: 14px; display: flex; align-items: center; gap: 10px; background: linear-gradient(rgba(0,0,0,.6), transparent); z-index: 4; }
.stage .pill { background: rgba(0,0,0,.5); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: #fff; }
.stage .bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 12px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.75)); z-index: 4; }
.stage .controls { display: flex; justify-content: center; gap: 14px; align-items: center; }
.round { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.round.red { background: var(--red); }
.round.green { background: var(--green); }
.round.grad { background: var(--pink); }
.round.off { background: rgba(255,255,255,.5); }
.chatlog { max-height: 30vh; overflow-y: auto; margin-bottom: 8px; mask-image: linear-gradient(transparent, #000 25%); -webkit-mask-image: linear-gradient(transparent, #000 25%); }
.chatlog div { font-size: 14px; margin: 4px 0; text-shadow: 0 1px 2px #000; }
.chatlog b { color: var(--gold); }
.chatlog .sys { color: #c4bfe0; font-size: 12px; }
.chatbar { display: flex; gap: 8px; align-items: center; }
.chatbar input { background: rgba(255,255,255,.15); border: 0; border-radius: 999px; }
.gift-fly { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); z-index: 10; text-align: center; pointer-events: none; animation: fly 2.6s ease forwards; }
.gift-fly .i { font-size: 96px; filter: drop-shadow(0 6px 20px rgba(255,45,120,.7)); }
.gift-fly .t { background: rgba(0,0,0,.6); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
@keyframes fly { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.4); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } 30% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -110%) scale(.9); } }
.waiting { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; z-index: 2; text-align: center; padding: 20px; background: radial-gradient(circle at 50% 35%, #3b1a5c, #0e0d16 70%); }
.pulse { animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.party-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 20%, #4c1d95 0%, #1a0f2e 55%, #0e0d16 100%); }
.seats { position: absolute; top: 90px; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 18px; padding: 0 14px; z-index: 3; }
.seat { text-align: center; cursor: pointer; font-size: 12px; }
.seat .sc { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; background: rgba(255,255,255,.08); border: 2px dashed rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #bdb6dc; }
.seat .sc .av { width: 100%; height: 100%; }
.seat:not(.empty) .sc { border: 2px solid var(--pink); }
.seat .sc.own { border-color: var(--gold); box-shadow: 0 0 16px rgba(251,191,36,.5); }
.seat span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.notice { position: absolute; top: 330px; left: 16px; right: 16px; z-index: 3; background: rgba(0,0,0,.4); border-radius: 14px; padding: 10px 14px; font-size: 13px; color: #d9d4f0; }

.incoming { position: fixed; inset: 0; z-index: 200; background: radial-gradient(circle at 50% 30%, #6d28d9, #0e0d16 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); background: var(--card2); border: 1px solid var(--line); padding: 11px 18px; border-radius: 16px; z-index: 300; max-width: 90%; box-shadow: 0 8px 30px rgba(0,0,0,.5); animation: up .2s; }

/* Screenshot / recording guard */
body.noshot { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body.noshot input, body.noshot textarea { -webkit-user-select: text; user-select: text; }
body.noshot img, body.noshot video { -webkit-user-drag: none; pointer-events: auto; }
body.shield #app, body.shield #stage, body.shield .overlay { filter: blur(28px) brightness(.4); }
body.shield::after { content: '🔒 Hello Dating'; position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: #fff; z-index: 9999; pointer-events: none; }
.wmark { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; display: flex; flex-wrap: wrap; align-content: space-around; justify-content: space-around; transform: rotate(-24deg) scale(1.4); opacity: .13; animation: wmove 18s linear infinite alternate; }
.wmark span { color: #fff; font-size: 14px; font-weight: 700; padding: 22px 18px; white-space: nowrap; text-shadow: 0 0 2px #000; }
@keyframes wmove { from { translate: -4% -3%; } to { translate: 4% 3%; } }
@media print { body.noshot * { display: none !important; } body.noshot::before { content: 'Print allowed na'; display: block; } }

/* lucky gift tag */
.gift .lucky { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg,#22c55e,#eab308); color: #111; font-size: 9px; font-weight: 900; padding: 1px 6px; border-radius: 6px; }
/* voice call screen */
.waiting.voice .av.lg { width: 130px; height: 130px; }
/* PK battle bar */
.pkbar { position: absolute; top: 64px; left: 10px; right: 10px; z-index: 6; background: rgba(0,0,0,.55); border-radius: 14px; padding: 8px; backdrop-filter: blur(6px); }
.pkn { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.pkn span { display: flex; align-items: center; gap: 5px; max-width: 38%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pkn .av.sm { width: 24px; height: 24px; }
.pkn b { background: #fde047; color: #111; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.pkm { display: flex; height: 22px; border-radius: 999px; overflow: hidden; font-size: 12px; font-weight: 800; }
.pkm .pa { background: linear-gradient(90deg,#ff2d78,#f472b6); display: flex; align-items: center; padding-left: 10px; transition: width .5s; }
.pkm .pb { flex: 1; background: linear-gradient(90deg,#60a5fa,#2563eb); display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; }
.pkres { text-align: center; font-size: 20px; font-weight: 900; padding: 8px; }
/* profile gallery + my photos */
.gallery { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scroll-snap-type: x mandatory; }
.gallery img { width: 120px; height: 160px; object-fit: cover; border-radius: 14px; flex-shrink: 0; scroll-snap-align: start; cursor: zoom-in; }
.phbox { position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: var(--card); display: flex; align-items: center; justify-content: center; }
.phbox img { width: 100%; height: 100%; object-fit: cover; }
.phbox .status { position: absolute; left: 6px; bottom: 6px; }
.phbox .x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; border: 0; }
.phbox.add { font-size: 40px; color: var(--muted); border: 2px dashed #3a3754; cursor: pointer; }
/* auto payment buttons */
.pm.auto { width: 100%; border: 1px solid #2f6f5e; background: rgba(16,185,129,.08); color: inherit; font: inherit; }
/* lucky spin wheel */
.wheelw { position: relative; width: min(84vw, 330px); aspect-ratio: 1; margin: 18px auto 0; }
.wheel { width: 100%; height: 100%; border-radius: 50%; border: 6px solid #fde047; box-shadow: 0 0 30px rgba(255,45,120,.5), inset 0 0 20px rgba(0,0,0,.4); position: relative; overflow: hidden; }
.wheel .wl { position: absolute; left: 50%; top: 0; width: 0; height: 50%; transform-origin: bottom center; }
.wheel .wl span { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 800; text-align: center; line-height: 1.2; text-shadow: 0 1px 3px rgba(0,0,0,.6); white-space: nowrap; }
.wheelw .pin { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 30px; color: #fde047; z-index: 2; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.wheelw .hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: #1d1b2b; border: 4px solid #fde047; display: flex; align-items: center; justify-content: center; font-size: 28px; }

/* ---- v4: random call, chat media, tasks, moments, top list, rating, gifts, quick recharge ---- */
.randbar { display: flex; align-items: center; gap: 8px; padding: 14px; margin-bottom: 14px; border-radius: 18px; background: linear-gradient(100deg, #7c3aed, #ff2d78); }
.randbar .small { opacity: .9; }
.hcard .stars { position: absolute; top: 40px; left: 10px; background: rgba(0,0,0,.55); border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.compose .cbtn { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; font-size: 19px; cursor: pointer; border: 0; color: inherit; }
.compose .cbtn.on { background: var(--red, #ef4444); width: auto; padding: 0 12px; border-radius: 21px; font-size: 14px; }
.bubble.media { padding: 4px; background: transparent; }
.bubble.media img { max-width: 220px; max-height: 280px; border-radius: 14px; display: block; cursor: zoom-in; }
.bubble.media audio { width: 230px; height: 40px; }
.task { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.task .ti { font-size: 28px; width: 42px; text-align: center; }
.task .prog { margin: 8px 0 4px; }
.task .tr { text-align: center; min-width: 78px; }
.task .rw { color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.task.claimed { opacity: .6; }
.mpost { background: var(--card); border-radius: 16px; padding: 12px; margin: 10px 0 16px; display: flex; flex-direction: column; gap: 8px; }
.mpost textarea { background: transparent; border: 0; resize: none; }
.moment { background: var(--card); border-radius: 18px; padding: 12px; margin-bottom: 14px; position: relative; }
.moment p { margin: 10px 0; white-space: pre-wrap; word-break: break-word; }
.moment img:not(.av) { width: 100%; border-radius: 14px; margin-top: 6px; max-height: 480px; object-fit: cover; cursor: zoom-in; }
.moment .mact { display: flex; gap: 8px; margin-top: 10px; }
.moment .mact button { background: #22202f; border: 0; color: inherit; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.moment .mact button.on { background: rgba(255,45,120,.18); }
.moment .mdel { position: absolute; top: 12px; right: 12px; background: none; border: 0; cursor: pointer; font-size: 16px; }
.clist { max-height: 50vh; overflow: auto; }
.podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 8px; margin: 18px 0; }
.podium .pd { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; border-radius: 18px 18px 6px 6px; padding: 10px 4px 14px; min-width: 0; }
.podium .pd b { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium .pd span { color: var(--gold); font-size: 12px; font-weight: 700; }
.podium .p1 { background: linear-gradient(180deg, rgba(245,158,11,.35), rgba(245,158,11,.05)); padding-top: 4px; }
.podium .p2 { background: linear-gradient(180deg, rgba(148,163,184,.3), rgba(148,163,184,.05)); }
.podium .p3 { background: linear-gradient(180deg, rgba(180,83,9,.3), rgba(180,83,9,.05)); }
.podium .crown { font-size: 24px; }
.starsel { display: flex; justify-content: center; gap: 6px; }
.starsel button { background: none; border: 0; font-size: 38px; color: #444; cursor: pointer; }
.starsel button.on { color: #fbbf24; }
.combo { background: #22202f; border: 1px solid transparent; color: inherit; border-radius: 999px; padding: 5px 12px; font-weight: 700; cursor: pointer; }
.combo.on { border-color: var(--pink); background: rgba(255,45,120,.15); }
.cx { color: #fde047; }
.biggift { position: fixed; inset: 0; z-index: 120; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(255,45,120,.35), transparent 65%); animation: bgfade 3.6s ease forwards; }
.biggift .bi { font-size: 150px; animation: bigpop 3.6s ease forwards; filter: drop-shadow(0 10px 40px rgba(255,200,0,.7)); }
.biggift .bt { background: rgba(0,0,0,.65); border-radius: 999px; padding: 8px 18px; font-size: 17px; margin-top: 10px; }
.biggift .burst { position: absolute; width: 0; height: 0; }
.biggift .burst i { position: absolute; font-style: normal; font-size: 30px; transform: rotate(var(--a)) translateY(0); animation: burst 1.8s ease-out forwards; }
@keyframes bigpop { 0% { transform: scale(.2); opacity: 0; } 15% { transform: scale(1.25); opacity: 1; } 25% { transform: scale(1); } 85% { opacity: 1; } 100% { transform: scale(1.5) translateY(-60px); opacity: 0; } }
@keyframes burst { 0% { transform: rotate(var(--a)) translateY(0); opacity: 1; } 100% { transform: rotate(var(--a)) translateY(-46vmin); opacity: 0; } }
@keyframes bgfade { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.lowbal { position: absolute; left: 12px; right: 12px; top: 64px; z-index: 12; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 16px; background: rgba(120,20,40,.92); }
body > .lowbal { position: fixed; z-index: 90; }
.lowbal .lbx { background: none; border: 0; color: #fff; font-size: 16px; cursor: pointer; }
.pill.free { background: #16a34a !important; }
.firstr { display: flex; align-items: center; gap: 10px; font-size: 28px; padding: 12px 14px; margin: 12px 0; border-radius: 16px; background: linear-gradient(100deg, #b45309, #db2777); }
.firstr b { font-size: 16px; } .firstr .small { font-size: 13px; }
.pkg .fr { color: #4ade80; font-size: 12px; font-weight: 700; }
.promo-in { display: flex; gap: 8px; margin: 12px 0; }
.promo-in input { flex: 1; text-transform: uppercase; }
.toast.tap { cursor: pointer; pointer-events: auto; }
.qlinks { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.qlinks a { flex-shrink: 0; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.promo-in input::placeholder { text-transform: none; }

/* ---- v5: diamond rain, family, schedule ---- */
.rain { position: absolute; inset: 0; z-index: 9; overflow: hidden; }
.rain .rtitle { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.65); padding: 6px 14px; border-radius: 999px; font-weight: 700; white-space: nowrap; font-size: 14px; }
.rain .drop { position: absolute; top: -60px; font-size: 40px; background: none; border: 0; cursor: pointer; animation: drop linear infinite; filter: drop-shadow(0 4px 10px rgba(250,204,21,.6)); padding: 6px; }
.rain .drop.got { animation: none; top: 40%; color: #fde047; font-weight: 800; font-size: 26px; }
@keyframes drop { 0% { transform: translateY(0) rotate(-10deg); } 100% { transform: translateY(110vh) rotate(15deg); } }
.famhero { display: flex; align-items: center; gap: 12px; padding: 16px; margin: 10px 0; border-radius: 18px; background: linear-gradient(100deg, #1e3a8a, #7c3aed); }
.famchat { background: var(--card); border-radius: 16px; padding: 10px; max-height: 300px; overflow-y: auto; }
.fmsg { display: flex; gap: 8px; align-items: flex-end; margin: 6px 0; }
.fmsg.me { justify-content: flex-end; }
.fmsg .bubble { margin: 2px 0; max-width: 240px; }
.emo { font-size: 26px; cursor: pointer; }
.emo input { display: none; }
.emo:has(input:checked) { background: rgba(255,45,120,.2); border-radius: 10px; }
.sched { margin-top: 10px; font-size: 14px; color: #c4b5fd; }
.list-item .pos { width: 22px; text-align: center; font-weight: 800; color: var(--gold); }
