/* SultryCall — warm, low-light "after dark" theme.
   Palette: deep aubergine base, rose-to-ember glow for actions, soft gold for
   value/earnings. Not black; not cream. One glow moment: the call button. */
:root {
  --wine-900: #150913;
  --wine-850: #1d0d19;
  --wine-800: #26101f;
  --wine-700: #331627;
  --wine-600: #432032;
  --line: rgba(255, 210, 225, 0.12);
  --line-strong: rgba(255, 210, 225, 0.22);

  --rose: #ff5f8d;
  --rose-deep: #e23f72;
  --ember: #ff8a5c;
  --gold: #f3c57a;
  --gold-deep: #d7a24f;
  --mint: #67e0b0;
  --danger: #ff6b6b;

  --text: #fbeef2;
  --muted: #caa7b5;
  --faint: #9b7e8c;

  --grad-hot: linear-gradient(135deg, #ff6b8b 0%, #ff8a5c 100%);
  --grad-gold: linear-gradient(135deg, #f3c57a 0%, #d7a24f 100%);
  --glow-rose: 0 10px 40px -8px rgba(255, 95, 141, 0.55);

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-full: 999px;
  --shell-max: 480px;
  --tabbar-h: 66px;
  --ff: "Tajawal", system-ui, "Segoe UI", sans-serif;
  --ff-display: "Fraunces", "Tajawal", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: var(--ff);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, #3a1526 0%, transparent 60%),
    radial-gradient(800px 500px at 90% 20%, rgba(255,138,92,0.08) 0%, transparent 55%),
    var(--wine-900);
  background-attachment: fixed;
  line-height: 1.55;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: 1rem; color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- App shell: a phone-width column centered on larger screens ---------- */
#app {
  max-width: var(--shell-max);
  margin: 0 auto;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(37,16,31,0.4), rgba(21,9,19,0.6));
}
@media (min-width: 540px) {
  #app { box-shadow: 0 0 80px rgba(0,0,0,0.5); border-inline: 1px solid var(--line); }
}
.screen { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: calc(var(--tabbar-h) + 20px); }
.pad { padding: 18px 16px; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.2; font-weight: 800; }
.display { font-family: var(--ff-display); font-weight: 600; font-style: italic; letter-spacing: -0.01em; }
.wordmark { font-family: var(--ff-display); font-style: italic; font-weight: 600; font-size: 1.5rem; background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-lg { font-size: 1.6rem; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 0.86rem; }
.center { text-align: center; }

/* ---------- Top bar ---------- */
.topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(21,9,19,0.92), rgba(21,9,19,0.72));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .title { font-weight: 800; font-size: 1.15rem; }
.topbar .spacer { flex: 1; }
.coin-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(243,197,122,0.12); color: var(--gold);
  border: 1px solid rgba(243,197,122,0.3); padding: 6px 12px; border-radius: var(--r-full);
  font-weight: 700; font-size: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: var(--r-full); padding: 13px 22px;
  font-weight: 700; cursor: pointer; transition: transform .12s ease, filter .12s ease, background .12s;
  background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--line-strong);
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-hot { background: var(--grad-hot); color: #2a0b16; border: none; box-shadow: var(--glow-rose); }
.btn-gold { background: var(--grad-gold); color: #3a2706; border: none; }
.btn-ghost { background: transparent; }
.btn-danger { background: rgba(255,107,107,0.14); color: #ff9c9c; border-color: rgba(255,107,107,0.3); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.input, textarea.input, select.input {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong);
  border-radius: var(--r-md); padding: 13px 14px; color: var(--text); outline: none;
  transition: border-color .15s, background .15s;
}
.input:focus { border-color: var(--rose); background: rgba(255,95,141,0.06); }
.input::placeholder { color: var(--faint); }
textarea.input { resize: vertical; min-height: 84px; }

.seg { display: flex; gap: 8px; }
.seg button {
  flex: 1; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04); cursor: pointer; font-weight: 700; color: var(--muted);
}
.seg button.on { background: var(--grad-hot); color: #2a0b16; border-color: transparent; }

/* scroll-wheel date picker */
.wheel-head { display: flex; gap: 8px; margin-bottom: 4px; }
.wheel-head span { flex: 1; text-align: center; font-size: 0.78rem; color: var(--faint); font-weight: 700; }
.wheel { position: relative; display: flex; gap: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; }
.wheel-col { flex: 1; height: 220px; overflow-y: scroll; scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; text-align: center; direction: ltr; }
.wheel-col::-webkit-scrollbar { display: none; }
.wheel-item { height: 44px; line-height: 44px; scroll-snap-align: center; font-size: 1.1rem; color: var(--faint); font-variant-numeric: tabular-nums; cursor: pointer; transition: color .12s, transform .12s; }
.wheel-item.sel { color: var(--text); font-weight: 800; font-size: 1.4rem; transform: scale(1.06); }
.wheel-band { position: absolute; left: 0; right: 0; top: 88px; height: 44px; pointer-events: none; border-top: 2px solid var(--rose); border-bottom: 2px solid var(--rose); background: rgba(255,95,141,0.1); border-radius: 6px; }

/* ---------- Cards & lists ---------- */
.card { background: rgba(255,255,255,0.045); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.card + .card { margin-top: 12px; }
.row { display: flex; align-items: center; gap: 12px; }
.avatar { width: 52px; height: 52px; border-radius: var(--r-full); object-fit: cover; background: var(--wine-600); flex: none; }
.avatar.lg { width: 84px; height: 84px; }
.avatar.xl { width: 120px; height: 120px; }
.badge { font-size: 0.72rem; padding: 3px 9px; border-radius: var(--r-full); font-weight: 700; }
.badge-online { background: rgba(103,224,176,0.16); color: var(--mint); }
.badge-prem { background: var(--grad-gold); color: #3a2706; }
.dot-online { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(103,224,176,0.2); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.person {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4;
  background: var(--wine-700); border: 1px solid var(--line); cursor: pointer;
}
.person img { width: 100%; height: 100%; object-fit: cover; }
.person .meta { position: absolute; inset-inline: 0; bottom: 0; padding: 28px 12px 10px; background: linear-gradient(0deg, rgba(10,4,8,0.9), transparent); }
.person .meta .n { font-weight: 800; }
.person .rate { position: absolute; top: 8px; inset-inline-start: 8px; background: rgba(21,9,19,0.7); color: var(--gold); font-size: 0.75rem; padding: 3px 8px; border-radius: var(--r-full); font-weight: 700; }
.person .live { position: absolute; top: 8px; inset-inline-end: 8px; }

/* ---------- Bottom tab bar ---------- */
.tabbar {
  position: sticky; bottom: 0; z-index: 30; height: var(--tabbar-h);
  display: flex; align-items: stretch;
  background: linear-gradient(180deg, rgba(21,9,19,0.72), rgba(21,9,19,0.96));
  backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--faint); font-size: 0.68rem; font-weight: 600; position: relative; }
.tabbar a.on { color: var(--rose); }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar .nb { position: absolute; top: 8px; inset-inline-end: 24%; background: var(--rose); color: #fff; font-size: 0.6rem; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 4px; }

/* ---------- Home: full-viewport, no scroll ---------- */
.home-fill { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 10px 14px; min-height: 0; overflow: hidden; }
.home-stage { position: relative; flex: 1; min-height: 60px; display: flex; flex-direction: column; }
.home-preview { flex: 1; width: 100%; min-height: 0; object-fit: cover; border-radius: 22px; background: #160a12; }
.home-cta-wrap { display: flex; justify-content: center; margin-top: -58px; z-index: 3; pointer-events: none; }
.home-cta-wrap .callbtn { pointer-events: auto; }
.callbtn.home-cta { width: 116px; height: 116px; font-size: 1.05rem; margin: 0; box-shadow: 0 8px 24px rgba(0,0,0,.45), var(--glow-rose); }
.callbtn.home-cta span { font-size: 0.72rem; }
.callbtn.busy { animation: none; }
.filter-card { background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.gfilter { display: flex; gap: 8px; }
.gchip { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px; border-radius: 13px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); color: var(--muted); cursor: pointer; font-weight: 700; }
.gchip.on { background: var(--grad-hot); color: #2a0b16; border-color: transparent; }
.gchip-cost { font-size: 0.74rem; font-weight: 800; display: inline-flex; align-items: center; gap: 3px; }
.gchip-cost.free { color: var(--mint); }
.cfilter { width: 100%; margin-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 13px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); color: var(--text); cursor: pointer; font-weight: 600; }
.cost-chip { display: inline-flex; align-items: center; gap: 3px; color: var(--gold); font-weight: 800; }

/* ---------- Call button (the one glow moment) ---------- */
.callbtn {
  width: 190px; height: 190px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad-hot); color: #2a0b16; font-weight: 800; font-size: 1.3rem;
  display: grid; place-items: center; gap: 4px; margin: 10px auto;
  box-shadow: 0 0 0 0 rgba(255,95,141,0.5); animation: pulse 2.4s infinite;
}
.callbtn span { font-size: 0.85rem; font-weight: 600; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,95,141,0.45); }
  70% { box-shadow: 0 0 0 28px rgba(255,95,141,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,95,141,0); }
}
@media (prefers-reduced-motion: reduce) { .callbtn { animation: none; } }

/* ---------- Video call ---------- */
.callscreen { position: fixed; inset: 0; z-index: 100; background: #0a0409; display: flex; flex-direction: column; }
.callscreen .remote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #160a12; }
.callscreen .local { position: absolute; top: 16px; inset-inline-end: 16px; width: 104px; height: 150px; border-radius: var(--r-md); object-fit: cover; border: 2px solid rgba(255,255,255,0.35); z-index: 3; background:#000; }
.callscreen .chrome { position: relative; z-index: 4; display: flex; flex-direction: column; height: 100%; pointer-events: none; }
.callscreen .chrome > * { pointer-events: auto; }
.call-top { display: flex; align-items: center; gap: 10px; padding: 16px; background: linear-gradient(180deg, rgba(0,0,0,0.6), transparent); }
.call-top .n { font-weight: 800; }
.call-spacer { flex: 1; }
.call-cost { background: rgba(0,0,0,0.5); border: 1px solid var(--line); color: var(--gold); padding: 6px 12px; border-radius: var(--r-full); font-weight: 700; font-size: 0.85rem; }
.call-bottom { margin-top: auto; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom,0)); background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent); }
.call-actions { display: flex; align-items: center; justify-content: center; gap: 14px; }
.circle-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.12); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.circle-btn svg { width: 24px; height: 24px; }
.circle-btn.end { width: 68px; height: 68px; background: var(--danger); border: none; }
.circle-btn.next { background: var(--grad-hot); color: #2a0b16; border: none; font-size: 1.4rem; font-weight: 800; }
.addfriend-btn { background: var(--grad-hot); color: #2a0b16; border: none; border-radius: var(--r-full); padding: 7px 14px; font-weight: 800; font-size: 0.85rem; cursor: pointer; white-space: nowrap; }
.call-status { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; z-index: 2; }
.call-countdown { position: absolute; top: 72px; inset-inline: 0; z-index: 7; display: flex; align-items: center; justify-content: center; gap: 2px; background: rgba(226,63,114,0.9); color: #fff; padding: 8px 14px; font-weight: 700; width: fit-content; margin: 0 auto; border-radius: 999px; animation: cdpulse 1s infinite; }
@keyframes cdpulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .call-countdown { animation: none; } }

/* incoming call sheet */
.incoming { position: fixed; inset: 0; z-index: 200; background: rgba(10,4,8,0.85); backdrop-filter: blur(10px); display: grid; place-items: center; }
.incoming .box { text-align: center; padding: 30px; }
.ring-ava { animation: ring 1.1s infinite; }
@keyframes ring { 0%,100% { box-shadow: 0 0 0 0 rgba(255,95,141,0.5);} 50% { box-shadow: 0 0 0 20px rgba(255,95,141,0);} }

/* gift tray */
.gift-tray { position: absolute; inset-inline: 0; bottom: 0; z-index: 10; background: rgba(21,9,19,0.97); border-top: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 16px; transform: translateY(110%); transition: transform .25s ease; }
.gift-tray.open { transform: translateY(0); }
.gift-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.gift { text-align: center; padding: 10px 4px; border-radius: var(--r-md); background: rgba(255,255,255,0.05); border: 1px solid var(--line); cursor: pointer; }
.gift .ic { font-size: 1.8rem; }
.gift .p { color: var(--gold); font-size: 0.78rem; font-weight: 700; }
.gift-fly { position: absolute; left: 50%; bottom: 120px; font-size: 3rem; z-index: 40; animation: fly 1.6s ease forwards; }
/* big gift celebration */
.gift-big { position: absolute; inset: 0; z-index: 45; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.gift-big-ic { font-size: 7rem; animation: giftPop 2.6s cubic-bezier(.2,.8,.2,1) forwards; filter: drop-shadow(0 0 30px rgba(245,166,35,.8)); }
.gift-big-label { margin-top: 10px; font-weight: 800; font-size: 1.2rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); animation: fadeInOut 2.6s ease forwards; }
.gift-sparks { position: absolute; inset: 0; z-index: 44; pointer-events: none; }
.gift-sparks span { position: absolute; bottom: -40px; font-size: 1.8rem; animation: spark 2.6s ease-out forwards; }
@keyframes giftPop { 0% { transform: scale(0) rotate(-20deg); opacity: 0; } 20% { transform: scale(1.3) rotate(8deg); opacity: 1; } 45% { transform: scale(1) rotate(0); } 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes spark { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-90vh) scale(1.1); opacity: 0; } }
@keyframes fadeInOut { 0%,100% { opacity: 0; } 20%,80% { opacity: 1; } }
/* VIP badge */
.vip-badge { display: inline-flex; align-items: center; gap: 2px; font-size: .72rem; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: linear-gradient(90deg,#f5a623,#ffce6b); color: #3a2706; margin-inline-start: 4px; vertical-align: middle; }
@keyframes fly { 0% { transform: translate(-50%,0) scale(0.4); opacity: 0; } 25% { opacity: 1; transform: translate(-50%,-40px) scale(1.2);} 100% { transform: translate(-50%,-220px) scale(1); opacity: 0; } }

/* chat overlay in call */
.call-chat { position: absolute; inset-inline: 0; bottom: 92px; z-index: 6; padding: 0 16px; display: flex; flex-direction: column; gap: 6px; max-height: 40%; overflow-y: auto; }
.chat-bubble { max-width: 75%; padding: 7px 12px; border-radius: 14px; font-size: 0.9rem; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }
.chat-bubble.me { align-self: flex-end; background: var(--rose-deep); }

/* ---------- Messages ---------- */
.conv { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.conv .txt { flex: 1; min-width: 0; }
.conv .last { color: var(--muted); font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread { flex: 1; display: flex; flex-direction: column; }
.thread .msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bub { max-width: 80%; padding: 7px 11px 5px; border-radius: 16px 16px 16px 5px; word-break: break-word; display: flex; flex-direction: column; }
.bub.me { align-self: flex-end; background: linear-gradient(135deg,#1f7a56,#2e9e71); color: #eafff5; border-radius: 16px 16px 5px 16px; }
.bub.them { align-self: flex-start; background: rgba(255,255,255,0.08); }
.bub-t2 { line-height: 1.45; white-space: pre-wrap; }
.bub-time { font-size: .62rem; opacity: .7; text-align: end; margin-top: 2px; }
.composer { display: flex; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); background: var(--wine-850); align-items: flex-end; }
.composer .input, .composer .btn { flex-shrink: 0; }
.composer .chat-ta { flex: 1; border-radius: 20px; resize: none; line-height: 1.4; min-height: 44px; height: 44px; max-height: 120px; overflow-y: auto; padding: 11px 14px; box-sizing: border-box; }
.composer .input { border-radius: var(--r-full); }

/* ---------- Wallet / Earnings ---------- */
.stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.stat { background: rgba(255,255,255,0.045); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 10px; text-align: center; }
.stat .v { font-size: 1.25rem; font-weight: 800; }
.stat .v.gold { color: var(--gold); }
.stat .k { font-size: 0.72rem; color: var(--faint); }
.pkg { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; background: rgba(255,255,255,0.03); }
.pkg.feat { border-color: var(--gold); background: rgba(243,197,122,0.07); }
.pkg .coins { font-weight: 800; font-size: 1.1rem; }
.pkg .price { margin-inline-start: auto; font-weight: 800; color: var(--gold); }
.level-bar { height: 10px; border-radius: var(--r-full); background: rgba(255,255,255,0.08); overflow: hidden; }
.level-bar > i { display: block; height: 100%; background: var(--grad-gold); }

/* ---------- Misc ---------- */
.toast-wrap { position: fixed; top: 16px; inset-inline: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { background: rgba(21,9,19,0.96); border: 1px solid var(--line-strong); padding: 11px 18px; border-radius: var(--r-full); font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.4); max-width: 90%; }
.toast.err { border-color: rgba(255,107,107,0.5); color: #ffb3b3; }
.toast.ok { border-color: rgba(103,224,176,0.5); color: var(--mint); }

.sheet-backdrop { position: fixed; inset: 0; z-index: 300; background: rgba(10,4,8,0.7); backdrop-filter: blur(6px); display: flex; align-items: flex-end; }
.sheet { width: 100%; max-width: var(--shell-max); margin: 0 auto; background: var(--wine-850); border-radius: var(--r-lg) var(--r-lg) 0 0; border: 1px solid var(--line); padding: 20px 16px calc(20px + env(safe-area-inset-bottom,0)); max-height: 86dvh; overflow-y: auto; }
.sheet h3 { margin-bottom: 14px; }

/* notifications opt-in prompt */
.push-prompt { position: fixed; inset-inline: 12px; bottom: calc(var(--tabbar-h) + 12px); z-index: 60; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 12px 12px; border-radius: 16px; background: rgba(42,11,22,.97); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.45); animation: pushIn .3s ease; }
.push-ic { font-size: 1.6rem; }
.push-txt { flex: 1; font-size: .85rem; line-height: 1.4; }
.push-txt div { color: var(--faint); }
.push-x { background: none; border: 0; color: var(--faint); font-size: 1rem; cursor: pointer; padding: 4px; }
@keyframes pushIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.push-modal { position: fixed; inset: 0; z-index: 400; background: rgba(10,4,8,.72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: pushIn .25s ease; }
.push-card { width: 100%; max-width: 360px; text-align: center; padding: 26px 22px 16px; border-radius: 22px; background: linear-gradient(180deg,#3a1526,#1f0a14); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.push-card h3 { margin: 6px 0 6px; font-size: 1.25rem; }
.push-card p { margin-bottom: 16px; line-height: 1.6; }
.push-bell { font-size: 3rem; animation: bellRing 1.4s ease 0.3s 2; display: inline-block; }
.push-later { margin-top: 10px; background: none; border: 0; color: var(--faint); font-size: .9rem; cursor: pointer; padding: 6px; }
@keyframes bellRing { 0%,100% { transform: rotate(0); } 15% { transform: rotate(18deg); } 30% { transform: rotate(-16deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } }
/* crypto pay guide */
.pay-guide .pg-step { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pay-guide .pg-n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--grad-hot, #e0457b); color: #2a0b16; }
.pay-guide .pg-tip { margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(245,166,35,.5); background: rgba(245,166,35,.06); font-size: .85rem; line-height: 1.6; }

/* in-call "finding next" overlay */
.next-search { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; background: rgba(26,7,16,.82); backdrop-filter: blur(6px); }
/* Next button locked during the first 5s of a call (shows the countdown). */
.circle-btn.next.locked { opacity: .45; font-weight: 800; cursor: not-allowed; }

/* admin: pager, sort toolbar, presence dot, support bubbles */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 16px 0 6px; }
.pager .btn { min-width: 84px; }
/* admin: sort toolbar, presence dot, support bubbles */
.sort-bar { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; }
.sort-chip { white-space: nowrap; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--faint); font-weight: 700; cursor: pointer; font-size: .85rem; }
.sort-chip.on { background: var(--grad-hot, #e0457b); color: #2a0b16; border-color: transparent; }
.on-dot { position: absolute; bottom: 0; inset-inline-end: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--mint, #67e0b0); border: 2px solid var(--wine-850, #2a0b16); }
.adm-bubble { max-width: 75%; align-self: flex-start; background: rgba(255,255,255,.08); padding: 8px 12px 4px; border-radius: 14px 14px 14px 4px; }
.adm-bubble.me { align-self: flex-end; background: linear-gradient(135deg,#1f7a56,#2e9e71); color: #eafff5; border-radius: 14px 14px 4px 14px; }
.adm-bubble-t { font-size: .62rem; opacity: .7; text-align: end; margin-top: 2px; }

/* lucky wheel */
.wheel-wrap { position: relative; width: 260px; height: 260px; margin: 10px auto; }
.wheel-disc { width: 260px; height: 260px; border-radius: 50%; position: relative; border: 6px solid var(--gold, #f5a623); box-shadow: 0 10px 30px rgba(0,0,0,.4); transform: rotate(0deg); }
.wheel-label { position: absolute; top: 50%; left: 50%; width: 0; height: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .9rem; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.wheel-label span { display: inline-block; white-space: nowrap; }
.wheel-pointer { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); color: var(--gold, #f5a623); font-size: 1.8rem; z-index: 3; filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
.wheel-hub { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--wine-850, #2a0b16); display: grid; place-items: center; z-index: 2; border: 3px solid var(--gold, #f5a623); }
.wheel-prizes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.wheel-chip { background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px 10px; font-size: .8rem; display: inline-flex; align-items: center; gap: 4px; }

/* floating support button */
.support-fab { position: fixed; inset-inline-end: 16px; bottom: 82px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: none; background: var(--grad-hot, #e0457b); color: #2a0b16; font-size: 1.5rem; box-shadow: 0 6px 18px rgba(0,0,0,.4); cursor: pointer; display: grid; place-items: center; }
.online-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--mint, #67e0b0); }
.online-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint, #67e0b0); box-shadow: 0 0 0 0 rgba(103,224,176,.6); animation: pulseDot 1.6s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(103,224,176,.5); } 70% { box-shadow: 0 0 0 8px rgba(103,224,176,0); } 100% { box-shadow: 0 0 0 0 rgba(103,224,176,0); } }

/* lobby + emoji */
.lobby-wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.room-tabs { display: flex; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.room-tab { flex: 1; padding: 9px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--faint); font-weight: 700; cursor: pointer; font-size: .9rem; }
.room-tab.on { background: var(--hot, #e0457b); color: #fff; border-color: transparent; }
.fixed-screen { height: 100dvh; max-height: 100dvh; overflow: hidden; }
.lobby-stack { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; }
.lobby-msgs { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.lobby-msgs > :first-child { margin-top: auto; } /* few messages → they sit at the bottom, by the composer */
.new-pill { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none; transition: all .25s; border: none; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .8rem; font-weight: 700; background: var(--rose); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.4); cursor: pointer; z-index: 5; }
.new-pill.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.lobby-row { display: flex; gap: 8px; align-items: flex-end; }
.lobby-row.mine { flex-direction: row-reverse; }
.lobby-bubble { max-width: 76%; padding: 6px 10px 4px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,0.08); position: relative; }
.lobby-row.mine .lobby-bubble { background: linear-gradient(135deg,#1f7a56,#2e9e71); color: #eafff5; border-radius: 14px 14px 4px 14px; }
.lobby-name { font-size: .72rem; font-weight: 700; color: var(--gold); margin-bottom: 2px; }
.lobby-text { line-height: 1.5; word-break: break-word; white-space: pre-wrap; }
.lobby-time { font-size: .62rem; opacity: .7; text-align: end; margin-top: 2px; }
.lobby-row.mine .avatar { display: none; }
.emoji-btn { background: transparent; border: none; font-size: 1.4rem; cursor: pointer; padding: 0 4px; }
.emoji-tray { position: absolute; bottom: 58px; inset-inline-start: 8px; right: 8px; background: var(--wine-800); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 8px; display: flex; flex-wrap: wrap; gap: 4px; max-height: 180px; overflow-y: auto; z-index: 40; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.emoji { font-size: 1.5rem; cursor: pointer; padding: 3px; border-radius: 8px; }
.emoji:hover { background: rgba(255,255,255,0.1); }

.empty { text-align: center; padding: 60px 20px; color: var(--faint); }
.empty .ic { font-size: 3rem; margin-bottom: 10px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.15); border-top-color: var(--rose); animation: spin 0.8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: var(--r-full); background: rgba(255,255,255,0.06); border: 1px solid var(--line); font-size: 0.82rem; cursor: pointer; }
.chip.on { background: var(--grad-hot); color: #2a0b16; border: none; }
.link { color: var(--rose); cursor: pointer; }
.warn-box { background: rgba(243,197,122,0.1); border: 1px solid rgba(243,197,122,0.3); border-radius: var(--r-md); padding: 12px 14px; font-size: 0.88rem; color: #f3d9a8; }

/* ---------- Voice rooms (المجالس) ---------- */
.vr-intro { padding: 14px; background: linear-gradient(135deg, rgba(255,77,141,.16), rgba(245,166,35,.10)); }
.room-card { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 10px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid var(--line); cursor: pointer; }
.room-card:active { transform: scale(.99); }
.room-av { position: relative; flex-shrink: 0; }
.room-av img { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; }
.room-live { position: absolute; bottom: -4px; inset-inline-start: 50%; transform: translateX(-50%); font-size: .6rem; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: var(--rose); color: #fff; }
[dir=rtl] .room-live { transform: translateX(50%); }
.room-info { flex: 1; min-width: 0; }
.room-title { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-topic { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-host { font-size: .78rem; margin-top: 2px; color: var(--muted); }
.room-meta { text-align: end; font-size: .8rem; font-weight: 700; flex-shrink: 0; }

.vr-screen { height: 100dvh; max-height: 100dvh; overflow: hidden; position: relative; background: radial-gradient(120% 60% at 50% 0%, rgba(255,77,141,.18), transparent 70%), var(--wine-900); }
.vr-head { gap: 8px; }
.vr-title { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vr-topic { font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vr-count { font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.07); flex-shrink: 0; }
.vr-stage { flex: none; padding: 8px 12px 6px; border-bottom: 1px solid var(--line); }
.vr-top { display: flex; gap: 8px; align-items: center; font-size: .72rem; overflow-x: auto; white-space: nowrap; min-height: 18px; margin-bottom: 6px; scrollbar-width: none; }
.vr-topu { color: var(--gold); font-weight: 700; }
.vr-seats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; }
.vr-seat { text-align: center; cursor: pointer; min-width: 0; }
.vr-av { position: relative; width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; background: rgba(255,255,255,.06); border: 2px dashed var(--line-strong); display: flex; align-items: center; justify-content: center; transition: box-shadow .15s; }
.vr-seat:not(.free) .vr-av { border: 2px solid rgba(255,255,255,.18); }
.vr-seat.host .vr-av { border-color: var(--gold); }
.vr-seat.me .vr-av { border-color: var(--rose); }
.vr-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.vr-plus { font-size: 1.3rem; color: var(--muted); }
.vr-mic { position: absolute; bottom: -4px; inset-inline-end: -4px; font-size: .7rem; width: 20px; height: 20px; border-radius: 50%; background: var(--wine-800); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.vr-crown { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: .9rem; }
.vr-seat.speaking .vr-av { box-shadow: 0 0 0 3px rgba(60,220,160,.85), 0 0 18px rgba(60,220,160,.6); animation: vrPulse .7s ease-in-out infinite alternate; }
@keyframes vrPulse { from { transform: scale(1); } to { transform: scale(1.06); } }
.vr-name { font-size: .72rem; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.vr-listeners { display: flex; align-items: center; gap: 4px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; min-height: 26px; }
.vr-lis { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; cursor: pointer; border: 1px solid var(--line); }
.vr-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.vr-controls { display: flex; gap: 6px; flex-wrap: wrap; }
.vr-audio-chip { font: inherit; font-size: .74rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text); cursor: pointer; }
.vr-audio-chip:disabled { cursor: default; opacity: .85; }
.vr-chat { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.vr-sys { align-self: center; max-width: 92%; text-align: center; font-size: .75rem; color: var(--muted); background: rgba(255,255,255,.05); padding: 4px 10px; border-radius: 999px; }
.vr-sys.gift { color: var(--gold); background: rgba(245,166,35,.1); }
.vr-fx { position: absolute; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.gift-big.legendary .gift-big-ic { font-size: 9rem; filter: drop-shadow(0 0 40px rgba(255,206,107,1)); }
.vr-banner { position: absolute; top: 64px; left: 0; right: 0; z-index: 46; display: flex; justify-content: center; pointer-events: none; opacity: 0; transform: translateY(-14px); transition: all .35s ease; }
.vr-banner.show { opacity: 1; transform: none; }
.vr-banner-in { max-width: 92%; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .85rem; background: rgba(0,0,0,.6); border: 1px solid var(--line-strong); }
.vr-banner-in.vip { background: linear-gradient(90deg,#f5a623,#ff4d8d); color: #fff; }
.vr-banner-in.gold { background: var(--grad-gold); color: #3a2706; }
.vr-usr { display: flex; gap: 12px; align-items: center; }
.vr-pick { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.vr-pick-u { font: inherit; background: none; border: none; color: var(--text); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .75rem; }
.vr-pick-u img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
@media (max-width: 360px) { .vr-av { width: 50px; height: 50px; } }

.install-chip { font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; border: 1px solid rgba(255,77,141,.5); background: rgba(255,77,141,.12); color: var(--text); animation: chipGlow 2.4s ease-in-out infinite; }
@keyframes chipGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(255,77,141,0); } 50% { box-shadow: 0 0 14px 2px rgba(255,77,141,.35); } }

/* ---- voice rooms v2: heat, combos, reactions, games ---- */
.vr-chat > :first-child { margin-top: auto; }
.vr-heat { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; cursor: pointer; }
.vr-heat-lv { font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: linear-gradient(90deg,#ff8a5b,#ff4d8d); color: #fff; flex-shrink: 0; }
.vr-heat-bar { flex: 1; height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; position: relative; }
.vr-heat-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#ffce6b,#ff8a5b,#ff4d8d); box-shadow: 0 0 12px rgba(255,120,90,.7); transition: width .8s cubic-bezier(.2,.8,.2,1); position: relative; }
.vr-heat-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent); animation: heatShine 2.2s linear infinite; }
@keyframes heatShine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.vr-heat-num { font-size: .68rem; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.vr-heat.lv4 .vr-heat-lv, .vr-heat.lv5 .vr-heat-lv, .vr-heat.lv6 .vr-heat-lv, .vr-heat.lv7 .vr-heat-lv { background: var(--grad-gold); color: #3a2706; box-shadow: 0 0 12px rgba(255,206,107,.6); }
.vr-charm { font-size: .62rem; color: var(--faint); margin-top: 1px; }
.vr-charm.on { color: #ff9cc2; font-weight: 700; }
.vr-seat.picked .vr-av { animation: seatPick .5s ease-in-out 4; box-shadow: 0 0 0 3px var(--gold), 0 0 22px rgba(255,206,107,.8); }
@keyframes seatPick { 50% { transform: scale(1.15); } }
.vr-gift-cta { animation: chipGlow 2.4s ease-in-out infinite; }

.vr-reacts { display: flex; gap: 4px; padding: 6px 10px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); flex: none; }
.vr-react-btn { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.05); font-size: 1.15rem; cursor: pointer; display: grid; place-items: center; transition: transform .1s; }
.vr-react-btn:active { transform: scale(.85); }
.vr-game-btn { margin-inline-start: auto; background: rgba(126,232,200,.12); border-color: rgba(126,232,200,.35); }
.vr-gift-btn { background: var(--grad-gold); border: none; animation: chipGlow 2.4s ease-in-out infinite; }
.vr-float { position: absolute; font-size: 1.9rem; transform: translate(-50%,0); animation: vrFloat 1.8s ease-out forwards; pointer-events: none; }
@keyframes vrFloat { 0% { opacity: 0; transform: translate(-50%,10px) scale(.5); } 15% { opacity: 1; transform: translate(-50%,-10px) scale(1.2); } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)),-120px) scale(1); } }

.vr-gs-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.vr-gs-bal { color: var(--gold); font-weight: 800; }
.vr-to { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 8px; scrollbar-width: none; }
.vr-to-c { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; font: inherit; font-size: .7rem; color: var(--muted); background: none; border: none; cursor: pointer; max-width: 64px; }
.vr-to-c img, .vr-to-all { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid transparent; display: grid; place-items: center; font-size: 1.3rem; background: rgba(255,255,255,.06); }
.vr-to-c span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 64px; }
.vr-to-c.on img, .vr-to-c.on .vr-to-all { border-color: var(--gold); box-shadow: 0 0 12px rgba(255,206,107,.6); }
.vr-to-c.on { color: var(--text); font-weight: 700; }
.vr-gift-grid .gift { position: relative; transition: transform .1s; }
.vr-gift-grid .gift:active { transform: scale(.93); }
.vr-gift-grid .gift .gn { font-size: .66rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vr-gift-grid .gift.rare { border-color: rgba(185,140,255,.45); background: rgba(185,140,255,.08); }
.vr-gift-grid .gift.legend { border-color: rgba(255,206,107,.6); background: linear-gradient(160deg,rgba(255,206,107,.16),rgba(255,77,141,.10)); }

.vr-combo-wrap { position: absolute; inset-inline-end: 14px; bottom: 150px; z-index: 47; }
.vr-combo { position: relative; width: 72px; height: 72px; border-radius: 50%; border: none; cursor: pointer; background: var(--grad-gold); box-shadow: 0 8px 26px rgba(255,170,60,.55); display: flex; flex-direction: column; align-items: center; justify-content: center; animation: comboIn .25s ease-out; }
.vr-combo:active { transform: scale(.9); }
.vr-combo-ic { font-size: 1.6rem; line-height: 1; }
.vr-combo-x { font-weight: 900; color: #3a2706; font-size: .9rem; }
.vr-combo-ring { position: absolute; inset: -5px; border-radius: 50%; border: 3px solid rgba(255,77,141,.9); border-top-color: transparent; animation: comboRing 4.5s linear forwards; }
@keyframes comboRing { from { transform: rotate(0); opacity: 1; } to { transform: rotate(1080deg); opacity: .2; } }
@keyframes comboIn { from { transform: scale(.4); opacity: 0; } }
.vr-combo-show { position: absolute; top: 34%; inset-inline-start: 16px; display: flex; align-items: center; gap: 6px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,206,107,.5); animation: comboPop .35s cubic-bezier(.2,1.6,.4,1); }
.vr-combo-show span { font-size: 1.8rem; }
.vr-combo-show b { font-size: 1.7rem; font-style: italic; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vr-combo-show small { color: var(--muted); font-size: .7rem; }
.vr-combo-show.hot b { background: linear-gradient(90deg,#ff4d8d,#ffce6b); -webkit-background-clip: text; background-clip: text; }
@keyframes comboPop { from { transform: scale(1.8); opacity: 0; } }

.vr-game { align-self: center; display: flex; align-items: center; gap: 10px; max-width: 92%; padding: 8px 14px; border-radius: 16px; background: linear-gradient(135deg,rgba(126,232,200,.12),rgba(185,140,255,.12)); border: 1px solid rgba(126,232,200,.3); }
.vr-game.spin { border-color: rgba(255,206,107,.5); background: linear-gradient(135deg,rgba(255,206,107,.14),rgba(255,77,141,.12)); }
.vr-game-ic { font-size: 1.5rem; }
.vr-game-main { font-size: 1.35rem; font-weight: 900; letter-spacing: 2px; }
.vr-game-sub { font-size: .76rem; color: var(--muted); }
.vr-game.rolling .vr-game-main { filter: blur(.5px); opacity: .8; }
.vr-game.landed .vr-game-main { animation: comboPop .35s cubic-bezier(.2,1.6,.4,1); }
.vr-gms { display: grid; gap: 8px; }
.vr-gm { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); font: inherit; text-align: start; cursor: pointer; }
.vr-gm-ic { font-size: 1.8rem; }
.vr-gm-t { display: flex; flex-direction: column; font-size: .85rem; }

.vr-lvl { position: absolute; top: 30%; left: 0; right: 0; text-align: center; z-index: 48; animation: comboPop .5s cubic-bezier(.2,1.6,.4,1); pointer-events: none; }
.vr-lvl-t { font-size: 2rem; font-weight: 900; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(255,170,60,.8)); }
.vr-lvl-s { color: #fff; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.vr-fireworks { position: absolute; inset: 0; z-index: 47; pointer-events: none; }
.vr-fireworks span { position: absolute; width: 6px; height: 6px; border-radius: 50%; opacity: 0; animation: fwBurst 1.3s ease-out forwards; box-shadow: 0 0 8px currentColor; }
@keyframes fwBurst { 0% { opacity: 1; transform: translate(0,0) scale(1); } 100% { opacity: 0; transform: translate(var(--tx),calc(var(--ty) + 30px)) scale(.4); } }
@media (prefers-reduced-motion: reduce) { .vr-heat-fill::after, .vr-gift-btn, .vr-gift-cta, .install-chip { animation: none; } }

.room-gifts { color: var(--gold); font-weight: 800; }
.room-card.top { border-color: rgba(255,206,107,.55); background: linear-gradient(135deg, rgba(255,206,107,.12), rgba(255,77,141,.08)); box-shadow: 0 0 18px rgba(255,206,107,.15); }

/* ---- notification center ---- */
.bell-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line); text-decoration: none; font-size: 1.05rem; margin-inline-end: 8px; flex-shrink: 0; }
.bell-nb { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--rose); color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--wine-900); animation: comboIn .25s ease-out; }
.notif-push { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; border-color: rgba(255,77,141,.4); background: linear-gradient(135deg, rgba(255,77,141,.12), rgba(245,166,35,.08)); }
.notif-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--r-md); text-decoration: none; color: var(--text); border: 1px solid transparent; margin-bottom: 6px; position: relative; }
.notif-row:hover { background: rgba(255,255,255,.04); }
.notif-row.unread { background: rgba(255,77,141,.07); border-color: rgba(255,77,141,.22); }
.notif-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; background: rgba(255,255,255,.07); flex-shrink: 0; }
.notif-ic.k-call, .notif-ic.k-missed { background: rgba(126,232,200,.15); }
.notif-ic.k-money, .notif-ic.k-kyc { background: rgba(255,206,107,.16); }
.notif-ic.k-admin { background: rgba(185,140,255,.16); }
.notif-tx { flex: 1; min-width: 0; }
.notif-title { font-weight: 700; font-size: .92rem; }
.notif-body { color: var(--muted); font-size: .84rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.notif-time { color: var(--faint); font-size: .72rem; margin-top: 3px; }
.notif-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); margin-top: 6px; flex-shrink: 0; }

/* ---- incoming call (global) ---- */
.in-call-ring { z-index: 200; background: radial-gradient(120% 80% at 50% 30%, rgba(126,232,200,.18), rgba(10,4,8,.92) 70%); backdrop-filter: blur(6px); }
.ring-waves { position: relative; width: 120px; height: 120px; margin: 0 auto 16px; display: grid; place-items: center; }
.ring-waves::before, .ring-waves::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(126,232,200,.6); animation: ringWave 1.8s ease-out infinite; }
.ring-waves::after { animation-delay: .9s; }
.ring-waves img { position: relative; margin: 0 !important; }
@keyframes ringWave { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ring-act { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.ring-answer { animation: answerPulse 1.2s ease-in-out infinite; }
@keyframes answerPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(126,232,200,.6); } 50% { box-shadow: 0 0 0 14px rgba(126,232,200,0); } }

/* ---- shared profile sheet ---- */
.tap { cursor: pointer; }
.lobby-name.tap:hover, .vr-topu.tap:hover, .title.tap:hover { text-decoration: underline; }
.pf { text-align: center; }
.pf-ava { position: relative; width: 104px; height: 104px; margin: 0 auto 10px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--rose), var(--gold)); }
.pf-ava.vip { background: var(--grad-gold); box-shadow: 0 0 24px rgba(255,206,107,.45); }
.pf-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--wine-800); }
.pf-online { position: absolute; bottom: 6px; inset-inline-end: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--mint, #67e0b0); border: 3px solid var(--wine-800); }
.pf-name { margin: 4px 0 2px; font-size: 1.35rem; }
.pf-sub { color: var(--muted); font-size: .88rem; }
.pf-on { color: var(--mint, #67e0b0); }
.pf .vip-badge { margin-top: 6px; }
.pf-bio { margin: 10px auto 0; max-width: 320px; color: var(--text); font-size: .92rem; line-height: 1.6; }
.pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 10px; }
.pf-stats > div { padding: 10px 4px; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.pf-stats b { font-size: 1.05rem; color: var(--gold); }
.pf-stats span { font-size: .7rem; color: var(--muted); }
.pf-wall { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pf-wall span { font-size: 1.4rem; display: inline-flex; align-items: baseline; gap: 1px; }
.pf-wall small { font-size: .62rem; color: var(--muted); }
.pf-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pf-act { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text); font: inherit; font-size: .74rem; font-weight: 700; cursor: pointer; transition: transform .1s; }
.pf-act:active { transform: scale(.94); }
.pf-ic { font-size: 1.35rem; }
.pf-act.done { border-color: rgba(126,232,200,.45); background: rgba(126,232,200,.1); }
.pf-act.gift { border: none; background: var(--grad-gold); color: #3a2706; animation: chipGlow 2.4s ease-in-out infinite; }
.pf-foot { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.gift-overlay { position: fixed; inset: 0; z-index: 300; pointer-events: none; overflow: hidden; }
.ret-table { width: 100%; border-collapse: collapse; font-size: .82rem; min-width: 520px; }
.ret-table th, .ret-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.ret-table th { color: var(--muted); font-weight: 700; font-size: .74rem; }
.ret-table tr:first-child th:first-child, .ret-table td:first-child { text-align: start; color: var(--muted); }

/* ---- verified tick + women card ---- */
.verified-tick { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-inline-start: 5px; border-radius: 50%; background: #3b9cff; color: #fff; font-size: .62rem; font-weight: 900; vertical-align: middle; box-shadow: 0 0 0 2px rgba(59,156,255,.25); }
.women-card { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; border-color: rgba(255,206,107,.45); background: linear-gradient(135deg, rgba(255,206,107,.12), rgba(255,77,141,.1)); }
.wc-ic { font-size: 1.8rem; }
.wc-x { position: absolute; top: 6px; inset-inline-end: 8px; background: none; border: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.wait-hint { margin-top: 12px; display: grid; gap: 8px; justify-items: center; text-align: center; font-size: .82rem; animation: comboIn .3s ease-out; }
.no-crypto { margin: 10px 0; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid rgba(126,232,200,.4); background: rgba(126,232,200,.08); }
.no-crypto summary { cursor: pointer; font-weight: 800; margin-bottom: 6px; }

/* ---- rooms list ranking ---- */
.room-card { position: relative; animation: cardIn .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
.room-rank { position: absolute; top: -8px; inset-inline-start: -6px; font-size: 1.3rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); z-index: 2; }
.room-flames { font-size: .8rem; letter-spacing: -2px; }
.room-pk { font-size: .72rem; font-weight: 900; color: #fff; background: linear-gradient(90deg,#ff3d6e,#4d7bff); padding: 2px 8px; border-radius: 999px; animation: chipGlow 1.6s ease-in-out infinite; }
.room-card.pk-live { border-color: rgba(120,140,255,.55); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* ---- PK battle ---- */
.vr-pk { margin: 2px 0 10px; padding: 8px; border-radius: 16px; background: linear-gradient(90deg, rgba(255,61,110,.16), rgba(77,123,255,.16)); border: 1px solid rgba(255,255,255,.12); animation: comboIn .35s ease-out; }
.vr-pk-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 6px; position: relative; }
.vr-pk-vs { font-weight: 900; font-size: .8rem; letter-spacing: 1px; background: linear-gradient(90deg,#ff3d6e,#4d7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vr-pk-time { font-variant-numeric: tabular-nums; font-weight: 800; font-size: .8rem; padding: 1px 8px; border-radius: 999px; background: rgba(0,0,0,.35); }
.vr-pk-stop { position: absolute; inset-inline-end: 0; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--muted); border-radius: 8px; width: 26px; height: 22px; font-size: .6rem; cursor: pointer; }
.vr-pk-row { display: flex; align-items: center; gap: 6px; }
.vr-pk-side { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 12px; border: none; color: var(--text); font: inherit; cursor: pointer; transition: transform .12s; }
.vr-pk-side:active { transform: scale(.96); }
.vr-pk-side.a { background: rgba(255,61,110,.22); }
.vr-pk-side.b { background: rgba(77,123,255,.22); flex-direction: row-reverse; text-align: end; }
.vr-pk-side img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.vr-pk-n { flex: 1; min-width: 0; font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vr-pk-side b { font-size: .85rem; }
.vr-pk-side small { display: none; }
.vr-pk-mid { font-weight: 900; font-size: .8rem; color: var(--gold); text-shadow: 0 0 10px rgba(255,206,107,.8); }
.vr-pk-bar { position: relative; display: flex; height: 8px; margin-top: 7px; border-radius: 999px; overflow: hidden; background: #4d7bff; }
.vr-pk-fa { background: linear-gradient(90deg,#ff3d6e,#ff7aa0); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.vr-pk-fb { flex: 1; background: linear-gradient(90deg,#6a92ff,#4d7bff); }
.vr-pk-spark { position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; margin-inline-start: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px rgba(255,255,255,.9); transition: inset-inline-start .8s cubic-bezier(.2,.8,.2,1); }
.vr-pk-crown { position: absolute; top: -10px; inset-inline-end: -6px; font-size: .95rem; animation: crownBob 1.6s ease-in-out infinite; }
@keyframes crownBob { 50% { transform: translateY(-3px) rotate(-8deg); } }
.vr-pick-u.on img { outline: 3px solid var(--gold); outline-offset: 2px; }
.vr-gm.host { border-color: rgba(255,206,107,.35); background: rgba(255,206,107,.07); }
.vr-pk-result { position: absolute; top: 24%; left: 50%; transform: translateX(-50%); z-index: 49; text-align: center; padding: 18px 26px; border-radius: 22px; background: rgba(10,4,8,.78); border: 1px solid rgba(255,206,107,.5); box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: comboPop .5s cubic-bezier(.2,1.6,.4,1); min-width: 220px; }
.vr-pkr-crown { font-size: 2.4rem; animation: crownBob 1.2s ease-in-out infinite; }
.vr-pkr-av { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); box-shadow: 0 0 26px rgba(255,206,107,.7); }
.vr-pkr-t { font-weight: 900; font-size: 1.15rem; margin-top: 6px; }
.vr-pkr-s { color: var(--muted); font-variant-numeric: tabular-nums; }
.vr-pkr-mvp { margin-top: 8px; color: var(--gold); font-weight: 700; font-size: .85rem; }

/* ---- quick challenges ---- */
.vr-ch { position: absolute; top: 30%; left: 50%; transform: translateX(-50%); z-index: 49; width: min(320px, 90%); text-align: center; padding: 16px; border-radius: 22px; background: rgba(10,4,8,.85); border: 1px solid rgba(126,232,200,.45); box-shadow: 0 20px 60px rgba(0,0,0,.6); pointer-events: auto; animation: comboPop .4s cubic-bezier(.2,1.6,.4,1); }
.vr-ch.done.me { border-color: var(--gold); box-shadow: 0 0 40px rgba(255,206,107,.45); }
.vr-ch-t { font-weight: 900; font-size: 1.1rem; margin-bottom: 4px; }
.vr-ch-timer { color: var(--gold); font-variant-numeric: tabular-nums; }
.vr-ch-btn { margin-top: 14px; width: 150px; height: 150px; border-radius: 50%; border: none; font: inherit; font-weight: 900; font-size: 1.05rem; color: #fff; cursor: pointer; transition: transform .08s, background .15s; -webkit-tap-highlight-color: transparent; }
.vr-ch-btn.wait { background: radial-gradient(circle at 35% 30%, #ff7a8f, #b3203f); box-shadow: 0 0 0 6px rgba(255,61,110,.18); }
.vr-ch-btn.go { background: radial-gradient(circle at 35% 30%, #8dffcf, #12a873); box-shadow: 0 0 0 8px rgba(126,232,200,.25), 0 0 40px rgba(126,232,200,.7); animation: goPulse .5s ease-in-out infinite alternate; }
.vr-ch-btn.early { background: #555; animation: none; }
.vr-ch-btn.hit { transform: scale(.9); }
@keyframes goPulse { to { transform: scale(1.06); } }
.vr-ch-in { width: 110px; text-align: center; font-size: 1.2rem; font-weight: 800; }
.vr-ch-prize { margin-top: 8px; font-size: 1.4rem; font-weight: 900; color: var(--gold); animation: comboPop .5s cubic-bezier(.2,1.6,.4,1); }

/* ================= motion layer ================= */
.has-rpl { overflow: hidden; }
.rpl { position: absolute; border-radius: 50%; background: currentColor; opacity: .18; transform: scale(0); pointer-events: none; animation: rpl .6s ease-out forwards; }
@keyframes rpl { to { transform: scale(1); opacity: 0; } }
.btn { transition: transform .12s cubic-bezier(.2,.8,.2,1), box-shadow .2s, filter .2s, background .2s; }
.btn:active:not(:disabled) { transform: scale(.95); }
@media (hover: hover) { .btn:hover:not(:disabled) { filter: brightness(1.08); } .btn-hot:hover:not(:disabled) { box-shadow: 0 8px 28px rgba(255,77,141,.45); } }
.btn-hot { position: relative; overflow: hidden; }
.btn-hot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.8s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.page-in { animation: pageIn .32s cubic-bezier(.2,.8,.2,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }
.rv { opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rv-d, 0ms); }
.rv.rv-in { opacity: 1; transform: none; }
.topbar { transition: box-shadow .25s, background .25s, backdrop-filter .25s; }
.topbar.lifted { box-shadow: 0 8px 24px rgba(0,0,0,.35); backdrop-filter: blur(10px); }
.tabbar a { transition: color .2s, transform .15s; }
.tabbar a.on svg, .tabbar a.on > span:first-child { animation: tabPop .35s cubic-bezier(.2,1.6,.4,1); }
.tabbar a.on::before { content: ''; position: absolute; top: 4px; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-hot); box-shadow: 0 0 10px rgba(255,77,141,.7); animation: comboIn .3s ease-out; }
@keyframes tabPop { 40% { transform: translateY(-3px) scale(1.15); } }
.toast { animation: toastIn .45s cubic-bezier(.2,1.5,.4,1); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px) scale(.9); } }
.sheet { animation-timing-function: cubic-bezier(.2,.9,.2,1) !important; }
.coin-pill { transition: transform .2s; }
.coin-pill:active { transform: scale(.94); }

/* confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 400; overflow: hidden; }
.confetti span { position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px; animation-name: cfFall; animation-timing-function: cubic-bezier(.25,.5,.4,1); animation-fill-mode: forwards; opacity: 0; }
.confetti .cf-e { width: auto; height: auto; font-size: 1.4rem; }
@keyframes cfFall { 0% { opacity: 1; transform: translate(0,0) rotate(0); } 100% { opacity: 0.9; transform: translate(var(--dx), 105vh) rotate(var(--rot)); } }

/* wheel */
.wheel-lights { position: absolute; inset: -14px; pointer-events: none; z-index: 1; }
.wheel-lights span { position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: #ffe08a; box-shadow: 0 0 10px #ffce6b; transform: rotate(var(--a)) translateY(calc(-50% - 50vw)) ; }
.wheel-wrap { position: relative; }
.wheel-lights span { transform: rotate(var(--a)) translateY(-142px); opacity: .55; }
.wheel-wrap.spinning .wheel-lights span { animation: chase .96s linear infinite; animation-delay: var(--d); }
.wheel-wrap.won .wheel-lights span { animation: blink .3s steps(2) infinite; opacity: 1; }
.wheel-wrap.won .wheel-disc { box-shadow: 0 0 60px rgba(255,206,107,.7); }
@keyframes chase { 0%, 100% { opacity: .3; } 10% { opacity: 1; box-shadow: 0 0 16px #fff2c4; } }
@keyframes blink { 50% { opacity: .2; } }
.wheel-win { display: inline-block; font-weight: 900; animation: comboPop .5s cubic-bezier(.2,1.6,.4,1); }
.wheel-win.big { font-size: 1.4rem; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---- between calls ---- */
.next-flash { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 260; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 999px; background: rgba(20,8,14,.92); border: 1px solid var(--line-strong); box-shadow: 0 12px 34px rgba(0,0,0,.5); backdrop-filter: blur(8px); animation: toastIn .45s cubic-bezier(.2,1.5,.4,1); max-width: calc(100% - 32px); transition: opacity .4s, transform .4s; }
.next-flash.out { opacity: 0; transform: translateX(-50%) translateY(-14px); }
.next-flash img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.nf-tx { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.nf-tx b { font-size: .86rem; }
.nf-tx span { font-size: .74rem; color: var(--muted); }

/* ================= search scene (waiting for a match) ================= */
.search-scene { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; z-index: 2; opacity: 0; transform: scale(.98); transition: opacity .38s ease, transform .38s ease; container-type: size; --rs: min(140px, 26cqh); }
.ss-col { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: min(10px, 2.5cqh); padding: 18px 14px 104px; }
.search-scene.on { opacity: 1; transform: none; }
.search-scene.off { opacity: 0; transform: scale(1.02); }
.ss-bg { position: absolute; inset: 0; background: var(--ss-base); }
.ss-bg i { position: absolute; width: 70%; height: 70%; border-radius: 50%; filter: blur(48px); opacity: .75; animation: blob 12s ease-in-out infinite alternate; }
.ss-bg i:nth-child(1) { background: var(--ss-a); top: -15%; left: -15%; }
.ss-bg i:nth-child(2) { background: var(--ss-b); bottom: -20%; right: -15%; animation-duration: 15s; animation-delay: -4s; }
.ss-bg i:nth-child(3) { background: var(--ss-c); top: 30%; left: 30%; width: 45%; height: 45%; animation-duration: 10s; animation-delay: -7s; }
@keyframes blob { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(12%, 8%) scale(1.15); } 100% { transform: translate(-8%, 14%) scale(.92); } }
.ss-stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.7), transparent), radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 10% 70%, rgba(255,255,255,.5), transparent), radial-gradient(1.5px 1.5px at 60% 50%, rgba(255,255,255,.5), transparent); animation: twinkle 4s ease-in-out infinite alternate; opacity: .6; }
@keyframes twinkle { to { opacity: .2; } }
.theme-aurora { --ss-base: linear-gradient(160deg,#0b1a2a,#1a0b24); --ss-a: #1fd1a5; --ss-b: #7a5cff; --ss-c: #ff4d8d; }
.theme-sunset { --ss-base: linear-gradient(160deg,#2a0b16,#3a1606); --ss-a: #ff6a3d; --ss-b: #ff2e7e; --ss-c: #ffcc4d; }
.theme-ocean  { --ss-base: linear-gradient(160deg,#04121f,#062a3a); --ss-a: #00b4d8; --ss-b: #0077ff; --ss-c: #48e5c2; }
.theme-galaxy { --ss-base: linear-gradient(160deg,#0a0618,#1b0630); --ss-a: #9b5cff; --ss-b: #ff4dd2; --ss-c: #4d7bff; }
.ss-center { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ss-radar { position: relative; width: var(--rs); height: var(--rs); display: grid; place-items: center; margin-bottom: calc(var(--rs) * .16); }
.ss-radar > span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: radar 2.7s cubic-bezier(.2,.6,.3,1) infinite; }
.ss-radar > span:nth-child(2) { animation-delay: .9s; }
.ss-radar > span:nth-child(3) { animation-delay: 1.8s; }
@keyframes radar { from { transform: scale(.45); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.ss-me { position: relative; width: calc(var(--rs) * .48); height: calc(var(--rs) * .48); border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 10px 30px rgba(0,0,0,.45); animation: mePulse 1.8s ease-in-out infinite; z-index: 2; }
@keyframes mePulse { 50% { transform: scale(1.06); } }
.ss-orbit { position: absolute; inset: 0; animation: orbit 14s linear infinite; }
.ss-orbit b { position: absolute; top: 50%; left: 50%; width: calc(var(--rs) * .2); height: calc(var(--rs) * .2); margin: calc(var(--rs) * -.1); display: grid; place-items: center; font-size: 1.05rem; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); transform: rotate(calc(var(--k) * 45deg)) translateY(calc(var(--rs) * -.62)) rotate(calc(var(--k) * -45deg)); font-size: calc(var(--rs) * .1); }
@keyframes orbit { to { transform: rotate(360deg); } }
.ss-orbit b { animation: counter 14s linear infinite; }
@keyframes counter { from { transform: rotate(calc(var(--k) * 45deg)) translateY(calc(var(--rs) * -.62)) rotate(calc(var(--k) * -45deg)); } to { transform: rotate(calc(var(--k) * 45deg)) translateY(calc(var(--rs) * -.62)) rotate(calc(var(--k) * -45deg - 360deg)); } }
.ss-title { font-size: clamp(.95rem, 5cqh, 1.15rem); font-weight: 800; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.ss-dots i { font-style: normal; animation: dot 1.2s infinite; opacity: .2; }
.ss-dots i:nth-child(2) { animation-delay: .2s; } .ss-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 40% { opacity: 1; } }
.ss-sub { font-size: .82rem; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.ss-tips { position: relative; width: 100%; max-width: 420px; height: 54px; flex: none; }
.ss-tip { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 16px; background: rgba(10,4,12,.45); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); color: #fff; text-decoration: none; font-size: .82rem; line-height: 1.45; animation: ssTipIn .5s cubic-bezier(.2,.9,.2,1) both; transition: opacity .45s, transform .45s; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.ss-tip.out { opacity: 0; transform: translateY(-14px) scale(.97); }
.ss-tip-ic { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; font-size: 1.25rem; border-radius: 12px; background: rgba(255,255,255,.14); }
.ss-tip-tx { flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ss-tip-go { font-size: 1.3rem; opacity: .7; }
[dir=ltr] .ss-tip-go { transform: scaleX(-1); }
@keyframes ssTipIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.search-scene .wait-hint { position: absolute; top: 12px; left: 12px; right: 12px; margin: 0; padding: 8px; border-radius: 14px; background: rgba(10,4,12,.5); backdrop-filter: blur(8px); color: #fff; }
.callbtn.busy { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; background: rgba(20,8,16,.75); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); }
.cta-ring { position: absolute; inset: -5px; border-radius: 50%; border: 3px solid transparent; border-top-color: #fff; border-right-color: var(--rose); animation: spin 1s linear infinite; }
.cta-x { font-size: 1.4rem; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.callbtn.home-cta.busy { width: 84px; height: 84px; margin-top: 16px; transition: width .3s cubic-bezier(.2,.8,.2,1), height .3s cubic-bezier(.2,.8,.2,1), margin .3s; }
.callbtn.home-cta.busy span { font-size: .66rem; }
.callbtn.home-cta.busy .cta-x { font-size: 1.15rem; }
.notif-help { margin-top: 16px; font-size: .86rem; }
.notif-help summary { cursor: pointer; font-weight: 700; }
.notif-help ol { margin: 10px 0 0; padding-inline-start: 20px; line-height: 1.9; color: var(--muted); }

/* ---------- landing (visitors) ---------- */
.ld-screen { background: #14080f; }
.ld { position: relative; min-height: 100dvh; overflow-x: hidden; overflow-y: auto; height: 100dvh; color: #fff; }
.ld-bg { position: absolute; inset: 0 0 auto 0; height: 620px; background: linear-gradient(165deg, #0b1a2a, #1a0b24 55%, #14080f); overflow: hidden; pointer-events: none; }
.ld-bg i { position: absolute; border-radius: 50%; filter: blur(55px); opacity: .7; animation: ldFloat 14s ease-in-out infinite alternate; }
.ld-bg i:nth-child(1) { width: 300px; height: 300px; background: #7a5cff; top: -70px; left: -90px; }
.ld-bg i:nth-child(2) { width: 280px; height: 280px; background: #ff4d8d; top: 170px; right: -120px; animation-duration: 18s; animation-direction: alternate-reverse; }
.ld-bg i:nth-child(3) { width: 240px; height: 240px; background: #1fd1a5; top: 330px; left: -110px; opacity: .4; animation-duration: 22s; }
.ld-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #14080f 96%); }
@keyframes ldFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.18); } }
.ld-in { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; padding: 0 0 calc(18px + env(safe-area-inset-bottom)); }
.ld-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(14px + env(safe-area-inset-top)) 16px 0; }
.ld-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; color: #ff8ab4; font-family: Georgia, serif; font-style: italic; }
.ld-brand img { border-radius: 9px; }
.ld-login { font: inherit; font-size: .8rem; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); padding: 7px 13px; border-radius: 99px; cursor: pointer; }
.ld-hero { text-align: center; padding: 18px 20px 0; }
.ld-hero b { display: block; font-size: clamp(1.45rem, 6.6vw, 1.75rem); font-weight: 800; line-height: 1.4; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.ld-hero span { display: block; color: rgba(255,255,255,.82); font-size: .92rem; margin-top: 6px; }
.ld-radar { position: relative; width: 236px; height: 236px; margin: 12px auto 0; display: grid; place-items: center; }
.ld-radar u { position: absolute; inset: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: ldPing 3s ease-out infinite; }
.ld-radar u:nth-child(2) { animation-delay: 1s; } .ld-radar u:nth-child(3) { animation-delay: 2s; }
@keyframes ldPing { from { transform: scale(.8); opacity: .8; } to { transform: scale(1.75); opacity: 0; } }
.ld-orbit { position: absolute; inset: 0; animation: ldSpin 26s linear infinite; pointer-events: none; }
.ld-orbit em { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px; font-style: normal; transform: rotate(calc(var(--k) * 60deg)) translateY(-108px); }
.ld-orbit em span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); font-size: 1.1rem; animation: ldSpin 26s linear infinite reverse; transform-origin: center; }
.ld-orbit em:nth-child(1) span { rotate: 0deg; } .ld-orbit em:nth-child(2) span { rotate: -60deg; } .ld-orbit em:nth-child(3) span { rotate: -120deg; }
.ld-orbit em:nth-child(4) span { rotate: -180deg; } .ld-orbit em:nth-child(5) span { rotate: -240deg; } .ld-orbit em:nth-child(6) span { rotate: -300deg; }
@keyframes ldSpin { to { transform: rotate(360deg); } }
.ld-go { position: relative; z-index: 2; width: 148px; height: 148px; border-radius: 50%; border: 0; cursor: pointer; font: inherit; color: #fff; font-weight: 800;
  background: linear-gradient(135deg, #ff4d8d, #ff8a5b); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 0 0 10px rgba(255,77,141,.2), 0 18px 44px rgba(255,77,141,.55); animation: ldBeat 1.9s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.ld-go .p { font-size: 2.5rem; line-height: 1; } .ld-go .tx { font-size: 1.2rem; }
.ld-go .f { font-size: .7rem; font-weight: 700; background: rgba(0,0,0,.22); padding: 2px 10px; border-radius: 99px; margin-top: 3px; }
.ld-go:active { transform: scale(.95); animation: none; }
.ld-go.busy { animation: none; opacity: .85; pointer-events: none; }
.ld-go.busy .p { animation: ldSpin .9s linear infinite; }
@keyframes ldBeat { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255,77,141,.2), 0 18px 44px rgba(255,77,141,.55); } 50% { transform: scale(1.055); box-shadow: 0 0 0 18px rgba(255,77,141,.1), 0 22px 54px rgba(255,77,141,.7); } }
.ld-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding: 0 10px; }
.ld-steps div { font-size: .76rem; font-weight: 700; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); padding: 6px 10px; border-radius: 99px; white-space: nowrap; }
.ld-steps em { font-style: normal; display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #ffce6b; color: #3a2706; font-size: .66rem; font-family: Arial, sans-serif; margin-inline-end: 5px; }
.ld-live { margin: 13px 14px 0; border-radius: 18px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); padding: 11px 13px; cursor: pointer; animation: comboIn .35s ease-out; }
.ld-live:active { background: rgba(255,255,255,.09); }
.ld-lh { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; font-weight: 800; margin-bottom: 4px; }
.ld-open { font-size: .74rem; font-weight: 700; color: #ff8ab4; }
.ld-badge { font-size: .66rem; font-weight: 800; color: #fff; background: #ff3b5c; padding: 2px 9px; border-radius: 99px; font-family: Arial, sans-serif; animation: ldBlink 1.6s ease-in-out infinite; }
@keyframes ldBlink { 50% { opacity: .55; } }
.ld-msg { display: flex; gap: 8px; align-items: flex-start; margin-top: 7px; font-size: .82rem; animation: comboIn .35s ease-out backwards; animation-delay: calc(var(--i) * 90ms); }
.ld-av { flex: none; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #2a1420; }
.ld-bub { background: rgba(255,255,255,.08); padding: 5px 10px; border-radius: 12px; line-height: 1.55; min-width: 0; overflow-wrap: anywhere; }
.ld-bub b { color: #ff8ab4; font-size: .76rem; }
.ld-bub small { color: rgba(255,255,255,.45); font-size: .68rem; margin-inline-start: 7px; white-space: nowrap; }
.ld-room { border-color: rgba(255,206,107,.4); background: linear-gradient(135deg, rgba(255,206,107,.12), rgba(255,77,141,.08)); }
.ld-room-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.ld-stack { display: flex; flex: none; } .ld-stack .ld-av { width: 32px; height: 32px; border: 2px solid #1b0d14; margin-inline-start: -10px; } .ld-stack .ld-av:first-child { margin: 0; }
.ld-room-info { flex: 1; min-width: 0; display: grid; }
.ld-room-info strong { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-room-info small { color: rgba(255,255,255,.7); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-enter { flex: none; font-size: .8rem; font-weight: 800; color: #3a2706; background: #ffce6b; padding: 7px 13px; border-radius: 99px; }
.ld-foot { text-align: center; font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 16px; padding: 0 16px; line-height: 2; }
.ld-foot a { color: inherit; text-decoration: underline; }
.ld-links button { font: inherit; font-size: .7rem; color: inherit; background: none; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; padding: 1px 8px; margin-inline-start: 5px; cursor: pointer; }
.ld-links button.on { color: #fff; border-color: #ff8ab4; }
@media (max-height: 700px) { .ld-radar { width: 200px; height: 200px; } .ld-go { width: 128px; height: 128px; } .ld-orbit em { transform: rotate(calc(var(--k) * 60deg)) translateY(-92px); } .ld-hero { padding-top: 10px; } }
@media (prefers-reduced-motion: reduce) { .ld-bg i, .ld-radar u, .ld-orbit, .ld-orbit em span, .ld-go, .ld-badge { animation: none; } }

/* guests listening in a voice room + the single suggested room */
.vr-guestbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wait-room { display: flex !important; align-items: center; gap: 10px; text-decoration: none; color: inherit; text-align: start; padding: 9px 11px; border-radius: 16px; background: rgba(10,4,12,.55); border: 1px solid rgba(255,206,107,.45); }
.wait-room .avatar { width: 38px; height: 38px; flex: none; }
.wr-info { flex: 1; min-width: 0; display: grid; }
.wr-info small { color: rgba(255,255,255,.75); font-size: .72rem; }
.wr-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; }

/* ---------- live video broadcast ---------- */
.vr-video { position: relative; margin: 0 auto 8px; width: 100%; max-width: 420px; aspect-ratio: 4 / 3; max-height: 38dvh; border-radius: 18px; overflow: hidden; background: #0c0508; border: 1px solid var(--line); }
.vr-video-el { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.vr-video-el.mirror { transform: scaleX(-1); }
.vr-video-off { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 14px; font-size: .85rem; background: radial-gradient(80% 80% at 50% 40%, rgba(255,77,141,.18), transparent 70%); }
.vr-video-off .avatar { width: 72px; height: 72px; }
.vr-video-badge { position: absolute; top: 10px; inset-inline-start: 10px; font-size: .68rem; font-weight: 800; color: #fff; background: #ff3b5c; padding: 2px 10px; border-radius: 99px; font-family: Arial, sans-serif; animation: ldBlink 1.6s ease-in-out infinite; }
.vr-video-btns { position: absolute; bottom: 10px; inset-inline-end: 10px; display: flex; gap: 6px; }
.vr-video-btns .btn-ghost { background: rgba(0,0,0,.45); }
/* In a broadcast the seats are a compact co-host strip under the video. */
.vr-screen.live .vr-seats { grid-template-columns: repeat(8, 1fr); gap: 4px; }
.vr-screen.live .vr-seat .vr-av { width: 36px; height: 36px; }
.vr-screen.live .vr-seat .vr-name { font-size: .58rem; }
.vr-screen.live .vr-seat .vr-charm, .vr-screen.live .vr-heat { display: none; }
.room-card.cam-live { border-color: #ff3b5c; box-shadow: 0 0 0 1px rgba(255,59,92,.35), 0 8px 26px rgba(255,59,92,.18); }
.room-live.cam { background: #ff3b5c; white-space: nowrap; }

/* ===== Monkey-style modes: ⚡ quick calls, swipe, interests, 👯 duo ===== */
.mode-seg { margin: 0 0 4px; }
.mode-seg button { padding: 9px 6px; font-weight: 800; font-size: 0.88rem; }
.mode-hint { text-align: center; font-size: 0.8rem; margin: 0 0 6px; }
.mode-tags { color: var(--gold); text-decoration: none; }

.quick-timer { background: rgba(0,0,0,0.55); border: 1px solid var(--line-strong); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1rem; }
.quick-timer.low { background: rgba(226,63,114,0.92); border-color: transparent; animation: cdpulse 1s infinite; }
.extend-wrap { display: flex; justify-content: center; padding: 0 16px 10px; margin-top: auto; }
.extend-btn { display: flex; align-items: center; gap: 10px; border: none; cursor: pointer; padding: 10px 22px 10px 12px; border-radius: 999px; background: var(--mint); color: #062b1e; font-weight: 800; font-size: 0.95rem; box-shadow: 0 6px 24px rgba(103,224,176,0.35); transition: transform .15s; }
.extend-btn b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.15); font-size: 1.5rem; line-height: 1; }
.extend-btn:active { transform: scale(0.96); }
.extend-btn.urge { animation: extendUrge 0.9s ease-in-out infinite; }
.extend-btn.peer-voted { background: var(--gold); color: #2b1d05; animation: extendUrge 0.6s ease-in-out infinite; }
.extend-btn.voted { background: rgba(255,255,255,0.16); color: var(--text); box-shadow: none; animation: none; }
.extend-btn:disabled { opacity: 0.5; animation: none; }
@keyframes extendUrge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.extend-flash { position: absolute; top: 40%; inset-inline: 0; margin: 0 auto; width: fit-content; z-index: 8; background: var(--mint); color: #062b1e; padding: 10px 20px; border-radius: 999px; font-weight: 800; animation: extendFlash 1.6s ease-out forwards; pointer-events: none; }
@keyframes extendFlash { 0% { opacity: 0; transform: scale(.7); } 15% { opacity: 1; transform: scale(1.05); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px); } }
.shared-chip { align-self: center; margin: 4px 16px 0; background: rgba(0,0,0,0.55); border: 1px solid var(--line-strong); padding: 6px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; max-width: calc(100% - 32px); }
.callscreen.quick .local { width: 92px; height: 132px; top: 70px; }
.swipe-hint { position: absolute; inset: auto 0 34%; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,0.6); pointer-events: none; animation: extendFlash 3.2s ease-out forwards; }
.swipe-hint .sh-hand { font-size: 2.2rem; animation: swipeHand 1.1s ease-in-out infinite; }
@keyframes swipeHand { 0% { transform: translate(0, 20px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(0, -40px); opacity: 0; } }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { border: 1px solid var(--line-strong); background: rgba(255,255,255,0.05); color: var(--text); border-radius: 999px; padding: 5px 11px; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.tag.on { background: var(--grad-hot); color: #2a0b16; border-color: transparent; }
.tag.add { border-style: dashed; color: var(--gold); }
span.tag { cursor: default; }

.duo-panel strong { display: block; }
.duo-pair { display: flex; }
.duo-pair .avatar { width: 40px; height: 40px; border: 2px solid var(--bg, #0a0409); }
.duo-pair .avatar + .avatar { margin-inline-start: -12px; }
.duo-friends { display: grid; gap: 8px; margin-top: 10px; max-height: 210px; overflow-y: auto; }
.duo-friend { display: flex; align-items: center; gap: 10px; }
.duo-friend .avatar { width: 34px; height: 34px; }
.duo-friend span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }

.duoscreen { background: #0a0409; }
.duo-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: #000; }
.duo-tile { position: relative; overflow: hidden; background: #160a12; cursor: pointer; }
.duo-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.duo-tile.me video { transform: scaleX(-1); }
.duo-tile.me, .duo-tile.mine { box-shadow: inset 0 0 0 3px rgba(103,224,176,0.75); }
.duo-tile.connecting::after { content: ''; position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.25); border-top-color: #fff; animation: spin 0.9s linear infinite; }
.duo-label { position: absolute; inset-inline-start: 8px; bottom: 8px; display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,0.55); padding: 3px 9px 3px 3px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; max-width: calc(100% - 16px); }
.duo-label .avatar { width: 22px; height: 22px; }
.duo-label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duo-top { position: absolute; top: 0; inset-inline: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: linear-gradient(180deg, rgba(0,0,0,0.6), transparent); pointer-events: none; }
.duo-badge { font-weight: 800; }
.duo-bottom { position: absolute; bottom: 0; inset-inline: 0; z-index: 5; padding: 0 0 16px; background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent); }
.duo-bottom .call-actions { display: flex; justify-content: center; align-items: center; gap: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 380px) { .duo-bottom .circle-btn { width: 48px; height: 48px; } .duo-bottom .circle-btn.end { width: 58px; height: 58px; } }
.chrome .extend-wrap + .call-bottom { margin-top: 0; padding-top: 6px; }
.duo-friend { padding-inline-end: 60px; } /* keep clear of the floating support button */
.duo-grid .duo-tile:nth-child(n+3) .duo-label { bottom: auto; top: 8px; } /* bottom row: clear of the controls */

/* ===== Home: camera-first stage (mode switch + start float over the preview) ===== */
.home-fill { gap: 8px; padding: 8px 12px 10px; }
.home-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: none; padding: 1px 0; }
.home-chips::-webkit-scrollbar { display: none; }
.home-chips:empty { display: none; }
.promo-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.05); color: var(--text); font: inherit; font-weight: 700; font-size: 0.82rem; text-decoration: none; cursor: pointer; white-space: nowrap; }
.promo-chip.gold { background: linear-gradient(135deg, #f6d08f, #e9a94f); color: #2b1d05; border-color: transparent; box-shadow: 0 4px 14px rgba(243,197,122,0.28); }
.promo-chip.hot { border-color: rgba(255,107,139,0.55); color: #ffc2cf; }
.guest-bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 14px; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); font-size: 0.85rem; }
.guest-bar.out { border-color: rgba(255,107,107,0.5); background: rgba(255,107,107,0.08); }
.guest-bar .faint { font-size: 0.76rem; }

.home-stage { flex: 1; min-height: 0; position: relative; border-radius: 26px; overflow: hidden; background: radial-gradient(120% 80% at 50% 30%, #2a1220, #12070e); box-shadow: 0 10px 40px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.06); }
.home-stage .home-preview { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.stage-top { position: absolute; top: 0; inset-inline: 0; z-index: 3; padding: 12px 12px 28px; display: flex; flex-direction: column; align-items: center; gap: 7px; background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent); transition: opacity .25s; }
.home-stage.searching .stage-top, .home-stage.searching .stage-chips, .home-stage.searching .swipe-cue { opacity: 0; pointer-events: none; }
.mode-seg { display: flex; gap: 3px; padding: 4px; margin: 0; border-radius: 999px; background: rgba(10,4,9,0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.14); }
.mode-seg button { flex: none; border: none; background: transparent; color: rgba(255,255,255,0.78); font: inherit; font-weight: 800; font-size: 0.86rem; padding: 8px 15px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.mode-seg button.on { background: var(--grad-hot); color: #2a0b16; box-shadow: 0 4px 14px rgba(255,107,139,0.35); }
.mode-hint { font-size: 0.78rem; line-height: 1.45; color: rgba(255,255,255,0.88); text-shadow: 0 1px 6px rgba(0,0,0,0.75); text-align: center; max-width: 92%; margin: 0; }
.stage-bottom { position: absolute; bottom: 0; inset-inline: 0; z-index: 3; padding: 48px 14px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: linear-gradient(0deg, rgba(0,0,0,0.62), transparent); pointer-events: none; }
.stage-bottom.home-cta-wrap { margin-top: 0; }
.stage-bottom > * { pointer-events: auto; }
.stage-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; transition: opacity .25s; }
.stage-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(10,4,9,0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.16); color: #fff; font: inherit; font-weight: 700; font-size: 0.84rem; cursor: pointer; text-decoration: none; }
.stage-chip.on { border-color: rgba(255,107,139,0.85); box-shadow: 0 0 0 3px rgba(255,107,139,0.18); }
.fc-ic svg { width: 16px; height: 16px; display: block; }
.fc-cost { font-size: 0.76rem; font-weight: 800; color: var(--gold); display: inline-flex; align-items: center; gap: 3px; }
.fc-cost.free { color: var(--mint); }
.swipe-cue { font-size: 0.72rem; color: rgba(255,255,255,0.72); font-weight: 700; animation: cueBob 2.2s ease-in-out infinite; transition: opacity .25s; }
@keyframes cueBob { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-4px); opacity: 1; } }
.duo-bottom-wrap { max-height: 74%; padding-top: 56px; }
.duo-bottom-wrap .duo-panel { width: 100%; min-height: 0; overflow-y: auto; background: rgba(14,6,12,0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; }
.duo-bottom-wrap .duo-friends { max-height: none; }
.duo-bottom-wrap .duo-friend { padding-inline-end: 0; }
@media (prefers-reduced-motion: reduce) { .swipe-cue, .extend-btn.urge, .extend-btn.peer-voted { animation: none; } }
/* Small polish: chips never wrap, the support button stays out of the way. */
.chip { white-space: nowrap; flex: none; }
.btn-sm { white-space: nowrap; }
.support-fab { width: 46px; height: 46px; font-size: 1.3rem; opacity: 0.94; }
.pad { padding-bottom: 84px; }
.empty .empty-cta { margin-top: 14px; display: inline-flex; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .swipe-cue { display: none; } } /* no swiping with a mouse */
.callbtn.busy { color: #fff; }  /* ✕ / cancel were dark-on-dark */
.home-stage.searching .swipe-cue { visibility: hidden; animation: none; }
/* Polish after a review with a realistic camera feed. */
.callbtn.home-cta { align-content: center; gap: 3px; }
.home-chips { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 28px), transparent 100%); padding-inline: 6px; }
.duo-tile.me, .duo-tile.mine { box-shadow: none; }
.duo-tile.me::before, .duo-tile.mine::before { content: ''; position: absolute; inset: 0; z-index: 1; border: 3px solid rgba(103,224,176,0.85); pointer-events: none; }
.circle-btn.end svg { width: 30px; height: 30px; }
.callscreen .circle-btn:not(.end):not(.next) { background: rgba(18,8,14,0.5); border-color: rgba(255,255,255,0.28); color: #fff; } /* stay readable over bright video */

/* women's earnings card on home */
.wec { display: flex; gap: 12px; align-items: flex-start; margin: 10px 12px 0; padding: 12px 14px; border-radius: 18px; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, rgba(246,208,143,.16), rgba(255,107,139,.12)); border: 1px solid rgba(246,208,143,.45); }
.wec-ic { font-size: 1.9rem; line-height: 1; }
.wec-tx { display: grid; gap: 4px; min-width: 0; }
.wec-tx strong { font-size: .98rem; }
.wec-tx .faint { font-size: .8rem; line-height: 1.6; }
.wec-nums { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; margin-top: 2px; }
.wec-nums b { color: #f6d08f; }
