/* ============================================================================
 * VN69 EDITION EXCLUSIVE STYLES (v80 — Single Clean Header, X Gate, Right-Rail Hostess)
 * Scoped 100% under body.vn69-edition so vnshow-vip / vnchich-vip stay untouched.
 * Preserves 60FPS Anti-iOS-Player <canvas> (#shortv-canvas & #cinema-canvas).
 * ============================================================================ */

body.vn69-edition #view-lobby,
body.vn69-edition #floating-companion,
body.vn69-edition #viproom-hostess-dock,
body.vn69-edition #tt-btn-hostess-profile,
body.vn69-edition #btn-open-hostess-modal,
body.vn69-edition [data-exp-mode="lobby"],
body.vn69-edition [data-exp-mode="viproom"] {
  display: none !important;
}

/* Integrated Single Top Navigation (ResizeObserver updates --nav-h automatically) */
body.vn69-edition #top-nav {
  height: auto !important;
  min-height: 46px !important;
  flex-wrap: wrap !important;
  padding: calc(max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px)) + 6px) 10px 6px !important;
  gap: 6px !important;
  background: rgba(8, 10, 18, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.vn69-edition #top-nav .mode-seg {
  display: none !important;
}

/* Always show Nhận VIP button cleanly */
body.vn69-edition #btn-open-vip-modal {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.2), rgba(217, 119, 6, 0.28)) !important;
  border-color: rgba(245, 185, 66, 0.5) !important;
  color: #fde68a !important;
  font-weight: 800 !important;
}

body.vn69-edition #top-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Header Action Button on Same Row as Settings (Logged out: Đăng nhập | Logged in: 18+ Toggle) */
.vn69-header-action-btn {
  appearance: none;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.vn69-header-action-btn.is-guest-login {
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.24), rgba(37, 99, 235, 0.3));
  color: #e0f2fe;
}

.vn69-header-action-btn.is-adult-off {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.vn69-header-action-btn.is-adult-on {
  border: 1px solid rgba(244, 63, 94, 0.72);
  background: linear-gradient(135deg, #f43f5e, #d946ef);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(244, 63, 94, 0.45);
}

@media (max-width: 640px) {
  body.vn69-edition #top-nav .nav-right {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    flex-wrap: nowrap !important;
    gap: 6px;
  }
  body.vn69-edition #sound-status-text,
  body.vn69-edition .settings-nav-label {
    display: none !important;
  }
  body.vn69-edition .vn69-header-action-btn {
    height: 30px;
    padding: 0 10px !important;
    font-size: 11px !important;
    box-sizing: border-box;
  }
}

/* Keep .shortv-top-tabs flush at the top of #platform-shortv (since #view-workspace already starts below --nav-h) */
body.vn69-edition #shortv-top-tabs {
  top: 8px !important;
}

/* Strict Clean Mode: Hide ALL adult channels, badges, and tags in BOTH Shortv & Cinema */
body.vn69-edition.vn69-clean-active #shortv-top-tabs .tt-live-tv-badge,
body.vn69-edition.vn69-clean-active #shortv-top-tabs [data-tt-feed="sugar baby"],
body.vn69-edition.vn69-clean-active #shortv-top-tabs [data-tt-feed="ntr"],
body.vn69-edition.vn69-clean-active #shortv-top-tabs [data-tt-feed="việt nam"],
body.vn69-edition.vn69-clean-active #shortv-top-tabs [data-tt-feed="x18"],
body.vn69-edition.vn69-clean-active #search-sheet-tabs [data-s-tab="livestream"],
body.vn69-edition.vn69-clean-active #search-sheet-tabs [data-s-tab="main"],
body.vn69-edition.vn69-clean-active #search-sheet-tabs [data-s-tab="vip"],
body.vn69-edition.vn69-clean-active #search-sheet-tabs [data-s-tab="zo3x"],
body.vn69-edition.vn69-clean-active .yt-server-filter,
body.vn69-edition.vn69-clean-active #yt-chips-bar .yt-chip:not([data-tag="all"]):not([data-tag="newest"]):not([data-tag="hot"]):not([data-tag="most-viewed"]):not([data-tag="hot-trend"]):not([data-vn69-clean-chip]) {
  display: none !important;
}

body.vn69-edition.vn69-clean-active .yt-channel-avatar {
  font-size: 0 !important;
}
body.vn69-edition.vn69-clean-active .yt-channel-avatar::after {
  content: '🎬';
  font-size: 16px;
}

/* ============================================================================
 * TIKTOK-STYLE RIGHT-RAIL HOSTESS AVATAR + X-STYLE SENSITIVE GATE
 * ============================================================================ */
.vn69-rail-hostess-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  cursor: pointer;
}

.vn69-rail-avatar-box {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ec4899;
  background: #0f172a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65), 0 0 14px rgba(236, 72, 153, 0.45);
  overflow: visible;
}

.vn69-ch-main-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.vn69-ch-mini-stack {
  position: absolute;
  left: -4px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #090d16;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
}

.vn69-ch-online-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #090d16;
}

.vn69-ch-unread-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #ec4899);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #090d16;
}

.vn69-ch-unread-badge.hidden {
  display: none !important;
}

.vn69-rail-label {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #fbcfe8 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

/* Cinema-only Messenger dock (Hidden automatically whenever Shortv is visible or any modal/sheet is open) */
.vn69-cinema-chat-fab {
  pointer-events: auto;
  position: fixed;
  right: 14px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  border-radius: 999px;
  border: 1.5px solid rgba(236, 72, 153, 0.65);
  background: rgba(12, 16, 28, 0.92);
  color: #fdf2f8;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px 6px 6px;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.vn69-cinema-chat-fab img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

body.vn69-edition.platform-cinema .vn69-cinema-chat-fab,
body.vn69-edition:has(#platform-cinema.active) .vn69-cinema-chat-fab {
  display: inline-flex;
}

body.vn69-edition:has(.modal-backdrop:not(.hidden)) .vn69-cinema-chat-fab,
body.vn69-edition.split-sheet-open .vn69-cinema-chat-fab,
.vn69-cinema-chat-fab.hidden-when-open {
  display: none !important;
}

/* X (Twitter) Style Sensitive Content Gate (Every 15 Swipes When Logged Out) */
.vn69-x-gate-backdrop {
  pointer-events: auto;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h, 52px);
  bottom: 0;
  z-index: 2350;
  background: rgba(5, 7, 13, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.vn69-x-gate-backdrop.hidden {
  display: none !important;
}

.vn69-x-gate-card {
  width: min(350px, 100%);
  background: rgba(15, 20, 32, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 22px 20px 18px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.vn69-x-gate-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.vn69-x-gate-card h4 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
}

.vn69-x-gate-card p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
  color: #94a3b8;
}

.vn69-x-gate-login-btn {
  width: 100%;
  appearance: none;
  border: none;
  border-radius: 999px;
  background: #eff3f4;
  color: #0f1419;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 16px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.vn69-x-gate-login-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.vn69-x-gate-skip-btn {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.vn69-messenger-root {
  position: fixed;
  z-index: 2400;
  pointer-events: none;
  inset: 0;
}

/* Luxury Frosted Messenger Window */
.vn69-messenger-window {
  pointer-events: auto;
  position: fixed;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  width: min(392px, calc(100vw - 16px));
  height: min(550px, calc(100dvh - var(--nav-h, 88px) - 24px));
  background: linear-gradient(168deg, rgba(16, 20, 36, 0.96), rgba(8, 10, 19, 0.985));
  border: 1px solid rgba(236, 72, 153, 0.36);
  border-radius: 24px;
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
}

@media (max-width: 640px) {
  .vn69-messenger-window {
    right: 8px;
    left: 8px;
    width: auto;
  }
}

.vn69-messenger-window.hidden {
  display: none !important;
}

/* Chat View vs Live Phone Call View inside window */
.vn69-messenger-window.in-call .vn69-chat-stage {
  display: none !important;
}
.vn69-messenger-window:not(.in-call) .vn69-call-stage {
  display: none !important;
}

.vn69-chat-stage,
.vn69-call-stage {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Top Avatar Heads Strip */
.vn69-heads-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 8px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.vn69-heads-strip::-webkit-scrollbar {
  display: none;
}

.vn69-head-tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 52px;
  position: relative;
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 700;
}

.vn69-head-avatar-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  transition: all 0.18s ease;
}

.vn69-head-tab.active .vn69-head-avatar-ring {
  border-color: #ec4899;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.6);
  transform: translateY(-1px) scale(1.04);
}

.vn69-head-tab.active {
  color: #fdf2f8;
}

.vn69-head-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.vn69-head-group-icon {
  font-size: 19px;
}

.vn69-head-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0f172a;
}

.vn69-head-badge {
  position: absolute;
  top: -3px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header with Call Button */
.vn69-win-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.vn69-win-title-col {
  min-width: 0;
  flex: 1;
}

.vn69-win-title-col strong {
  display: block;
  font-size: 13.5px;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vn69-win-title-col span {
  display: block;
  font-size: 11px;
  color: #34d399;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vn69-win-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.vn69-win-call-btn {
  appearance: none;
  border: 1px solid rgba(52, 211, 153, 0.5);
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.42);
  transition: transform 0.15s ease;
}

.vn69-win-call-btn:active {
  transform: scale(0.95);
}

.vn69-win-close-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.vn69-messages-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
}

.vn69-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  max-width: 90%;
}

.vn69-msg-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.vn69-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
  border: 1.5px solid rgba(236, 72, 153, 0.55);
}

.vn69-msg-bubble {
  padding: 9px 13px;
  border-radius: 17px;
  font-size: 13px;
  line-height: 1.5;
  color: #f1f5f9;
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  word-break: break-word;
}

.vn69-msg-row.ai .vn69-msg-bubble {
  border-bottom-left-radius: 5px;
}

.vn69-msg-row.user .vn69-msg-bubble {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #ffffff;
  border: none;
  border-bottom-right-radius: 5px;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
}

.vn69-msg-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.vn69-msg-sender {
  font-size: 10.5px;
  font-weight: 800;
  color: #f472b6;
}

.vn69-msg-voice-btn {
  appearance: none;
  border: 1px solid rgba(244, 114, 182, 0.36);
  background: rgba(244, 114, 182, 0.14);
  color: #fbcfe8;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.16s ease;
}

.vn69-msg-voice-btn.playing {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #34d399;
  color: #ffffff;
}

.vn69-rec-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}

.vn69-rec-btn {
  appearance: none;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background: rgba(15, 23, 42, 0.88);
  color: #bae6fd;
  font-size: 11.5px;
  font-weight: 600;
  text-align: left;
  padding: 6px 9px;
  border-radius: 10px;
  cursor: pointer;
}

.vn69-chips-row {
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.vn69-chips-row::-webkit-scrollbar {
  display: none;
}

.vn69-quick-chip {
  appearance: none;
  border: 1px solid rgba(236, 72, 153, 0.34);
  background: rgba(236, 72, 153, 0.11);
  color: #fbcfe8;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
}

.vn69-input-form {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(9, 12, 22, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.vn69-input-form input {
  flex: 1;
  min-width: 0;
  background: rgba(30, 41, 59, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 13px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.vn69-input-form button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0 15px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}

.vn69-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #cbd5e1;
}

.vn69-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.vn69-typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f472b6;
  display: inline-block;
  animation: vn69TypingBounce 1.1s infinite ease-in-out;
}
.vn69-typing-dots i:nth-child(2) { animation-delay: 0.16s; }
.vn69-typing-dots i:nth-child(3) { animation-delay: 0.32s; }

@keyframes vn69TypingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* ============================================================================
 * LIVE VOICE CALL STAGE (📞 Đàm thoại trực tiếp KorvaTTS 44.1kHz)
 * ============================================================================ */
.vn69-call-stage {
  background:
    radial-gradient(circle at 50% 28%, rgba(236, 72, 153, 0.24), transparent 58%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.16), transparent 55%),
    linear-gradient(180deg, #0b1020, #060811);
  justify-content: space-between;
}

.vn69-call-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 12px 6px;
}

.vn69-call-back-btn,
.vn69-call-speaker-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.vn69-call-switch-strip {
  display: flex;
  gap: 5px;
  padding: 4px 12px 6px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}
.vn69-call-switch-strip::-webkit-scrollbar { display: none; }

.vn69-call-girl-pill {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 3px 9px 3px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.vn69-call-girl-pill img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.vn69-call-girl-pill.active {
  border-color: #34d399;
  background: rgba(16, 185, 129, 0.2);
  color: #ecfdf5;
}

.vn69-call-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  text-align: center;
  min-height: 0;
}

.vn69-call-avatar-aura {
  position: relative;
  width: 126px;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.vn69-call-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(236, 72, 153, 0.45);
  animation: vn69CallIdlePulse 2.4s infinite ease-out;
  pointer-events: none;
}

.vn69-call-ring.ring-2 {
  animation-delay: 0.8s;
}

.vn69-call-avatar-aura.is-speaking .vn69-call-ring {
  border-color: rgba(52, 211, 153, 0.8);
  animation: vn69CallSpeakWave 0.85s infinite ease-out;
}

.vn69-call-avatar-aura.is-speaking .vn69-call-ring.ring-2 {
  animation-delay: 0.28s;
}

@keyframes vn69CallIdlePulse {
  0% { transform: scale(0.95); opacity: 0.75; }
  100% { transform: scale(1.38); opacity: 0; }
}

@keyframes vn69CallSpeakWave {
  0% { transform: scale(0.98); opacity: 0.95; }
  100% { transform: scale(1.52); opacity: 0; }
}

.vn69-call-visual-img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid #ec4899;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 24px rgba(236, 72, 153, 0.45);
  position: relative;
  z-index: 2;
}

.vn69-call-avatar-aura.is-speaking .vn69-call-visual-img {
  border-color: #34d399;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.75), 0 0 28px rgba(52, 211, 153, 0.65);
}

.vn69-call-name {
  font-size: 16px;
  font-weight: 800;
  color: #f8fafc;
}

.vn69-call-status {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: #34d399;
}

.vn69-call-caption {
  margin-top: 8px;
  width: 100%;
  max-height: 76px;
  overflow-y: auto;
  padding: 8px 11px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 12.2px;
  line-height: 1.42;
}

.vn69-call-deck {
  padding: 6px 10px calc(env(safe-area-inset-bottom, 0px) + 10px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: rgba(6, 8, 16, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vn69-call-quick-form {
  display: flex;
  gap: 6px;
}

.vn69-call-quick-form input {
  flex: 1;
  min-width: 0;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  outline: none;
}

.vn69-call-quick-form button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(236, 72, 153, 0.85);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.vn69-call-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.vn69-call-mic-btn {
  flex: 1;
  appearance: none;
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: linear-gradient(135deg, #0284c7, #6366f1);
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.vn69-call-mic-btn.listening {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-color: #fca5a5;
  animation: vn69PulseGlow 1.1s infinite ease-in-out;
}

.vn69-call-hangup-btn {
  appearance: none;
  border: none;
  background: linear-gradient(135deg, #ef4444, #be123c);
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45);
}

.vn69-call-tier-badge {
  appearance: none;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  margin-top: 2px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.vn69-call-tier-badge.is-unlocked {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.48);
  color: #6ee7b7;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.18);
}

.vn69-call-tier-badge.is-locked {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.48);
  color: #fde68a;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.18);
}

.vn69-call-tier-badge:active {
  transform: scale(0.96);
}
