:root {
  --bg-dark: #060609;
  --bg-card: rgba(14, 15, 22, 0.88);
  --bg-glass: rgba(12, 14, 22, 0.78);
  --border-glass: rgba(255, 255, 255, 0.08);
  --pink: #ff2a5f;
  --cyan: #38bdf8;
  --gold: #f5c451;
  --gold-soft: rgba(245, 196, 81, 0.16);
  --purple: #a855f7;
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --nav-h: 52px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100vw;
  height: 100%;
  overflow: hidden;
  overflow-x: hidden !important;
  overscroll-behavior: none;
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
}

button, input, select, textarea {
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.005em;
}

/* =========================================================================
   TOP NAVIGATION BAR (Luxury Obsidian & Champagne Gold Executive Header)
   ========================================================================= */
#top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
  height: var(--nav-h);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px;
  background: rgba(6, 6, 10, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-left, .nav-center, .nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(245, 196, 81, 0.08));
  border: 1px solid rgba(245, 196, 81, 0.32);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.brand-pill:hover {
  border-color: rgba(245, 196, 81, 0.65);
  box-shadow: 0 0 18px rgba(245, 196, 81, 0.18);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5c451;
  box-shadow: 0 0 10px #f5c451;
}

.sub-badge {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 5px;
  background: linear-gradient(135deg, #f5c451, #d4af37);
  color: #09090d;
  font-weight: 900;
}

.mode-seg {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px;
}

.mode-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mode-btn:hover {
  color: #e2e8f0;
}

.mode-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.platform-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}

.plat-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.plat-btn.active[data-platform="shortv"] {
  background: linear-gradient(135deg, #ff2a5f, #db2777);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 42, 95, 0.35);
}

.plat-btn.active[data-platform="cinema"] {
  background: linear-gradient(135deg, #f5c451, #d97706);
  color: #08080c;
  box-shadow: 0 2px 12px rgba(245, 196, 81, 0.32);
}

.plat-count {
  font-size: 9.5px;
  font-weight: 800;
  opacity: 0.85;
  padding: 1px 5px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.22);
}

.glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.glass-btn:hover {
  border-color: rgba(245, 196, 81, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-hostess-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff2a5f;
  box-shadow: 0 0 6px #ff2a5f;
}

.sound-btn.muted {
  border-color: rgba(245, 196, 81, 0.5);
  color: var(--gold);
}

/* =========================================================================
   EXPERIENCE VIEWS CONTAINER
   ========================================================================= */
.exp-view {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  overflow: hidden;
}

.exp-view.active {
  display: block;
}

/* =========================================================================
   MODE 1: PENTHOUSE LOUNGE WELCOME STAGE (Luxury Redesign)
   ========================================================================= */
#view-lobby {
  overflow-y: auto;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.lobby-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 196, 81, 0.12), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(255, 42, 95, 0.14), transparent 50%),
    url('./assets/bg_bar_club_2d.jpg') center/cover no-repeat;
  filter: brightness(0.32) contrast(1.08) saturate(1.1);
  z-index: -2;
  pointer-events: none;
}

.lobby-container {
  max-width: 1180px;
  width: 100%;
  min-height: calc(100dvh - var(--nav-h));
  margin: 0 auto;
  padding: 22px 18px 36px;
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  box-sizing: border-box;
}

.lobby-hostess-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(16, 17, 26, 0.72) 0%, rgba(10, 10, 16, 0.92) 100%);
  border: 1px solid rgba(245, 196, 81, 0.22);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lobby-welcome-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ios-shield-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.08);
  border: 1px solid rgba(245, 196, 81, 0.28);
  color: #f5c451;
  margin-bottom: 8px;
  max-width: 95%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.stage-live-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  flex-shrink: 0;
}

.stage-sep {
  opacity: 0.45;
  flex-shrink: 0;
}

.hostess-figure-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: pan-y;
  box-sizing: border-box;
  overflow: hidden;
}

.hostess-figure-wrap:active {
  cursor: grabbing;
}

#lobby-hostess-canvas {
  width: auto;
  height: 100%;
  max-width: 52%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin-left: 2%;
  margin-right: auto;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.75));
}

/* =========================================================================
   INTERACTIVE MOUTH SPEECH BUBBLE (Comic Dialogue Balloon with Left Tail)
   ========================================================================= */
.mouth-speech-bubble {
  position: absolute;
  top: 22px;
  left: 46%;
  right: 10px;
  max-width: 225px;
  background: linear-gradient(165deg, rgba(16, 18, 28, 0.94) 0%, rgba(9, 10, 16, 0.96) 100%);
  border: 1px solid rgba(245, 196, 81, 0.45);
  border-radius: 4px 18px 18px 18px;
  padding: 10px 12px 10px 13px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 24px rgba(245, 196, 81, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 15;
  pointer-events: auto;
  animation: mouthBubbleFloat 4s ease-in-out infinite;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@keyframes mouthBubbleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.mouth-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.mouth-bubble-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f5c451;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-bubble-voice {
  border: none;
  background: rgba(245, 196, 81, 0.12);
  color: #fde047;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-bubble-voice:hover {
  background: rgba(245, 196, 81, 0.3);
  transform: scale(1.1);
}

.mouth-bubble-text {
  font-size: 12px;
  line-height: 1.45;
  color: #f8fafc;
  margin: 0;
  word-break: break-word;
}

/* Comic dialogue tail pointing left directly toward hostess mouth */
.mouth-bubble-tail {
  position: absolute;
  top: 16px;
  left: -9px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid rgba(16, 18, 28, 0.95);
  filter: drop-shadow(-2px 1px 1px rgba(245, 196, 81, 0.35));
}

.mouth-bubble-tail::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -9px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 10px solid rgba(245, 196, 81, 0.45);
  z-index: -1;
}

.lobby-genre-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 6px;
  scrollbar-width: none;
  animation: fadeInGenre 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lobby-genre-chips::-webkit-scrollbar {
  display: none;
}

@keyframes fadeInGenre {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.genre-chip {
  background: rgba(245, 196, 81, 0.1) !important;
  border-color: rgba(245, 196, 81, 0.35) !important;
  color: #fef08a !important;
}

.genre-chip:hover {
  background: rgba(245, 196, 81, 0.25) !important;
  border-color: #f5c451 !important;
  color: #fff !important;
}

/* Right Lobby Welcome Card — Luxury Obsidian Glass */
.hostess-speech-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: linear-gradient(165deg, rgba(16, 17, 26, 0.9) 0%, rgba(9, 10, 15, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.speech-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.speech-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f5c451;
  box-shadow: 0 0 20px rgba(245, 196, 81, 0.32);
}

.speech-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f5c451;
  background: rgba(245, 196, 81, 0.12);
  border: 1px solid rgba(245, 196, 81, 0.35);
  padding: 3px 9px;
  border-radius: 99px;
  margin-bottom: 5px;
}

.speech-header h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.btn-replay-voice {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-replay-voice:hover {
  border-color: rgba(245, 196, 81, 0.5);
  color: #f5c451;
}

.speech-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid #f5c451;
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 12px;
}

/* =========================================================================
   INTERACTIVE AI HOSTESS CONCIERGE & CHAT LOUNGE (v24)
   ========================================================================= */
.lobby-ai-chat-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0 !important;
}

.lobby-chat-messages {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 196, 81, 0.3) transparent;
}

.lobby-chat-messages::-webkit-scrollbar {
  width: 4px;
}

.lobby-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(245, 196, 81, 0.3);
  border-radius: 4px;
}

.lobby-chat-msg {
  display: flex;
  gap: 10px;
  animation: fadeInMsg 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hostess-bubble .msg-avatar-wrap img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #f5c451;
  box-shadow: 0 0 10px rgba(245, 196, 81, 0.35);
}

.user-bubble {
  flex-direction: row-reverse;
}

.user-bubble .msg-avatar-wrap img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #38bdf8;
}

.msg-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.msg-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.msg-author-row strong {
  font-size: 12.5px;
  color: #fde68a;
  font-weight: 700;
}

.user-bubble .msg-author-row {
  justify-content: flex-end;
}

.user-bubble .msg-author-row strong {
  color: #38bdf8;
}

.ai-live-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #4ade80;
  padding: 1px 6px;
  border-radius: 99px;
}

.user-bubble .user-text {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-right: 3px solid #38bdf8;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  color: #f1f5f9;
  line-height: 1.5;
  margin-bottom: 4px;
}

/* Recommended Video Previews in Chat */
.lobby-rec-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.lobby-rec-card {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 196, 81, 0.22);
  border-radius: 12px;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.lobby-rec-card:hover {
  background: rgba(245, 196, 81, 0.12);
  border-color: rgba(245, 196, 81, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.lobby-rec-thumb-box {
  position: relative;
  width: 58px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

.lobby-rec-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lobby-rec-dur {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 8.5px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 1px 4px;
  border-radius: 4px;
}

.lobby-rec-info {
  flex: 1;
  min-width: 0;
}

.lobby-rec-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 3px;
}

.lobby-rec-meta {
  font-size: 10px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lobby-rec-meta .srv-tag {
  color: #f5c451;
  font-weight: 700;
}

/* Suggested Format Actions */
.lobby-format-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.format-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.16), rgba(255, 42, 95, 0.16));
  border: 1px solid rgba(245, 196, 81, 0.4);
  color: #fef08a;
  cursor: pointer;
  transition: all 0.18s ease;
}

.format-action-btn:hover {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.28), rgba(255, 42, 95, 0.28));
  border-color: rgba(245, 196, 81, 0.7);
  transform: translateY(-1px);
  color: #fff;
}

/* Quick Chips Bar */
.lobby-chat-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 6px;
  scrollbar-width: none;
}

.lobby-chat-chips::-webkit-scrollbar {
  display: none;
}

.chips-hint {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

.chat-chip {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.chat-chip:hover {
  background: rgba(245, 196, 81, 0.15);
  border-color: rgba(245, 196, 81, 0.4);
  color: #fde68a;
}

/* Chat Input Bar — Modern AI Composer Box (Bottom-Docked with Model Selector & + Topic Popover) */
.lobby-chat-form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  background: rgba(14, 15, 24, 0.95);
  border: 1px solid rgba(245, 196, 81, 0.32);
  border-radius: 16px;
  padding: 9px 10px 7px 12px;
  margin-bottom: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lobby-chat-form:focus-within {
  border-color: rgba(245, 196, 81, 0.68);
  box-shadow: 0 0 16px rgba(245, 196, 81, 0.18);
}

.composer-input-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.lobby-chat-input {
  flex: 1;
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.4;
  outline: none;
  font-family: inherit;
}

.lobby-chat-input::placeholder {
  color: #94a3b8;
  font-size: 12.5px;
}

.composer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 2px;
}

.composer-tools-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.composer-plus-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.composer-plus-btn:hover,
.composer-plus-btn.active {
  background: rgba(245, 196, 81, 0.18);
  border-color: rgba(245, 196, 81, 0.55);
  color: #fde047;
}

.composer-model-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.composer-model-btn:hover,
.composer-model-btn.active {
  background: rgba(245, 196, 81, 0.14);
  border-color: rgba(245, 196, 81, 0.48);
  color: #fff;
}

.composer-model-btn img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #f5c451;
  flex-shrink: 0;
}

.composer-model-btn .cm-name {
  color: #f8fafc;
  font-weight: 700;
}

.composer-model-btn .cm-tier {
  color: #94a3b8;
  font-weight: 500;
  font-size: 11px;
}

.composer-model-btn .cm-caret {
  color: #94a3b8;
  font-size: 10px;
  margin-left: 1px;
  transition: transform 0.18s ease;
}

.composer-model-btn.active .cm-caret {
  transform: rotate(180deg);
  color: #fde047;
}

/* Upward Popover Menus (AI Model Selector Style per Image 3) */
.composer-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  max-width: min(320px, 92vw);
  background: #181922;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.5);
  z-index: 95;
  animation: fadeInGenre 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-header {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  padding: 5px 10px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 4px;
}

.cp-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cp-model-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 7px 10px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: #e2e8f0;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cp-model-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cp-model-item.active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.cp-model-item img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(245, 196, 81, 0.5);
  flex-shrink: 0;
}

.cp-model-info {
  flex: 1;
  min-width: 0;
}

.cp-model-name {
  font-weight: 700;
  color: #f8fafc;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-model-name small {
  font-weight: 500;
  color: #94a3b8;
  font-size: 11px;
  margin-left: 4px;
}

.cp-model-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  flex-shrink: 0;
}

.cp-model-badge.new {
  background: rgba(245, 196, 81, 0.2);
  color: #fde047;
}

.cp-model-check {
  font-size: 13px;
  font-weight: 800;
  color: #fde047;
  opacity: 0;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.cp-model-item.active .cp-model-check {
  opacity: 1;
}

.cp-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
}

.lobby-chat-submit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #f5c451, #e11d48);
  color: #0f172a;
  border: none;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.lobby-chat-submit:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.lobby-chat-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ai-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: #f5c451;
  font-size: 11.5px;
  font-weight: 600;
}

.ai-typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f5c451;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

.hostess-mini-roster {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.roster-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.roster-avatars {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.roster-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.roster-item img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.roster-item.active {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.18), rgba(255, 42, 95, 0.18));
  border-color: rgba(245, 196, 81, 0.55);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Primary Launch Cards — Executive Action Rows */
.lobby-launch-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.launch-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.launch-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(245, 196, 81, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.shortv-launch {
  background: linear-gradient(135deg, rgba(255, 42, 95, 0.16), rgba(15, 17, 26, 0.85));
  border-color: rgba(255, 42, 95, 0.35);
}

.cinema-launch {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.14), rgba(15, 17, 26, 0.85));
  border-color: rgba(245, 196, 81, 0.3);
}

.viproom-launch {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(15, 17, 26, 0.85));
  border-color: rgba(168, 85, 247, 0.3);
}

.launch-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f5c451;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shortv-launch .launch-icon {
  color: #ff2a5f;
  background: rgba(255, 42, 95, 0.14);
  border-color: rgba(255, 42, 95, 0.3);
}

.launch-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.launch-info strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.launch-info span {
  font-size: 11.5px;
  color: #94a3b8;
}

.launch-arrow {
  font-size: 22px;
  font-weight: 400;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.launch-card:hover .launch-arrow {
  transform: translateX(3px);
  color: #f5c451;
}

.lobby-quick-tags {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.quick-tag-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
}

.quick-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tag-pill.tier1 {
  border-color: rgba(245, 196, 81, 0.25);
  background: rgba(245, 196, 81, 0.07);
  color: #fde68a;
}

.tag-pill:hover {
  border-color: rgba(245, 196, 81, 0.6);
  background: rgba(245, 196, 81, 0.16);
  color: #fff;
}

/* =========================================================================
   MODE 2 ("app") & MODE 3 ("viproom") WORKSPACE
   ========================================================================= */
#view-workspace {
  background: #050509;
}

.viproom-environment {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* By default in Mode 2 ("app"), hide the left VIP Room dock & expand device frame 100% */
.viproom-hostess-dock {
  display: none;
}

.device-stage-frame {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* When Mode 3 ("viproom") is active: show 2.5D Penthouse Room + Hostess Dock + Giant Device Frame */
body.exp-mode-viproom #view-workspace {
  background:
    radial-gradient(circle at 20% 30%, rgba(254, 44, 85, 0.25), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.25), transparent 55%),
    url('./assets/bg_bar_club_2d.jpg') center/cover no-repeat;
}

body.exp-mode-viproom .viproom-environment {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 18px;
  gap: 20px;
  align-items: center;
}

body.exp-mode-viproom .viproom-hostess-dock {
  display: flex;
  width: 340px;
  flex-shrink: 0;
  height: 100%;
  max-height: 760px;
}

body.exp-mode-viproom .device-stage-frame {
  border-radius: 28px;
  border: 4px solid rgba(250, 204, 21, 0.55);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(254, 44, 85, 0.3);
  background: #000;
  max-height: calc(100dvh - var(--nav-h) - 28px);
}

body.exp-mode-viproom #floating-companion {
  display: none !important;
}

.viproom-hostess-card {
  width: 100%;
  background: rgba(12, 15, 28, 0.86);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 24px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.viproom-hostess-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vip-room-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(250, 204, 21, 0.16);
  padding: 3px 8px;
  border-radius: 99px;
}

.viproom-canvas-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  cursor: grab;
}

#viproom-hostess-canvas {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.viproom-speech-bubble {
  font-size: 12px;
  line-height: 1.45;
  color: #fef08a;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.viproom-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.vip-ctrl-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}

.vip-ctrl-btn.primary {
  background: linear-gradient(135deg, #fe2c55, #db2777);
  border-color: #f43f5e;
}

.vip-ctrl-btn.pink {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

/* =========================================================================
   PLATFORM PANELS (Shortv vs Cinema)
   ========================================================================= */
.platform-panel {
  width: 100%;
  height: 100%;
  display: none;
  position: relative;
}

.platform-panel.active {
  display: flex;
  flex-direction: column;
}

/* =========================================================================
   PLATFORM A: SHORTV VERTICAL SWIPE CANVAS + SPLIT-SCREEN SHEETS
   ========================================================================= */
#platform-shortv {
  background: #000;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.shortv-top-tabs {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 540px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
}

.tt-live-tv-badge {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 6px;
  border-radius: 5px;
  letter-spacing: 0.4px;
  cursor: pointer;
  flex-shrink: 0;
}

.tt-tabs-scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 4px;
}

.tt-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.tt-tab {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 0;
  position: relative;
}

.tt-tab.active {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.tt-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15%;
  right: 15%;
  height: 3px;
  border-radius: 3px;
  background: #fff;
}

.tt-search-trigger {
  border: none;
  background: transparent;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shortv-canvas-container {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  max-width: 540px;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
  touch-action: none;
  transform: translate3d(var(--stage-shift-x, 0px), 0, 0);
  transition: height 0.28s cubic-bezier(0.22, 1, 0.36, 1), flex-basis 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#platform-shortv.discover-drawer-dragging .shortv-canvas-container,
#platform-shortv .tt-split-sheet-host.is-discover-drawer.is-dragging {
  transition: none !important;
}

/* =========================================================================
   SPLIT-SCREEN AUTO-SHRINK VIDEO MODE (Images 1, 2, 4, 5)
   When any sheet opens, video shrinks to top ~33% and keeps playing!
   ========================================================================= */
#platform-shortv.split-sheet-active .shortv-top-tabs,
#platform-shortv.split-sheet-active .shortv-right-rail,
#platform-shortv.split-sheet-active .shortv-bottom-info,
#platform-shortv.split-sheet-active .tt-bottom-comment-bar,
#platform-shortv.split-sheet-active .tt-nav-arrows {
  display: none !important;
}

#platform-shortv.split-sheet-active .shortv-canvas-container {
  flex: 0 0 33%;
  height: 33%;
  max-height: 33%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.split-sheet-open #floating-companion {
  display: none !important;
}

.tt-split-top-hint {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 28;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: #e2e8f0;
}

.tt-split-top-hint button {
  border: none;
  background: rgba(254, 44, 85, 0.85);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  cursor: pointer;
}

#shortv-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.tt-pause-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.86);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
}

.tt-loading-pill {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(37, 244, 238, 0.4);
  color: var(--cyan);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.spinner-ring {
  width: 12px;
  height: 12px;
  border: 2px solid var(--cyan);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Shortv Right Action Rail (Image 3 — Crisp Icons, Music Disc Removed) */
.shortv-right-rail {
  position: absolute;
  right: 10px;
  bottom: 52px;
  z-index: 26;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tt-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.avatar-action {
  position: relative;
  margin-bottom: 6px;
}

.avatar-action img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}

.follow-plus {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fe2c55;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.65));
  transition: transform 0.15s, color 0.15s;
}

.tt-action-icon.liked {
  color: #fe2c55;
}

.tt-action-count {
  font-size: 11.5px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

/* Shortv Bottom Info + Contextual Search Bar (Image 3) */
.shortv-bottom-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 12px 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.38) 65%, rgba(0, 0, 0, 0) 100%);
  pointer-events: auto;
}

.tt-template-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(30, 32, 40, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
}

.tt-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 60px;
}

.tt-author-row strong {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.tt-more-desc-btn {
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  cursor: pointer;
}

.tt-video-title {
  font-size: 13.5px;
  line-height: 1.38;
  color: #f8fafc;
  padding-right: 62px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.tt-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-right: 60px;
}

.tt-tag-chip {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: none;
  padding: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.tt-tag-chip:hover {
  color: var(--cyan);
}

/* CONTEXTUAL SEARCH BAR (Image 3: "🔍 Tìm kiếm · da cừu lau kính   Xem thêm >") */
.tt-contextual-search-bar {
  margin-top: 3px;
  margin-left: -12px;
  margin-right: -12px;
  padding: 8px 14px;
  background: rgba(22, 24, 35, 0.94);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  width: calc(100% + 24px);
  text-align: left;
}

.ctx-search-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  font-size: 12.5px;
}

.ctx-search-prefix {
  color: #cbd5e1;
  white-space: nowrap;
}

.ctx-search-kw {
  color: #fff;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ctx-search-more {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  flex-shrink: 0;
}

.tt-scrubber-wrap {
  margin-left: -12px;
  margin-right: -12px;
  width: calc(100% + 24px);
  line-height: 0;
}

#tt-scrubber {
  width: 100%;
  height: 3px;
  accent-color: #fe2c55;
  cursor: pointer;
  margin: 0;
}

/* VERY BOTTOM DOCKED COMMENT INPUT BAR (Plan v28: Sleek Compact 38px Bar Cleanly Above Bottom Menu) */
.tt-bottom-comment-bar {
  width: 100%;
  max-width: 540px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(10, 12, 20, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 30;
}

.tt-bottom-user-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.tt-bottom-user-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-bottom-comment-form {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 2px 3px 2px 10px;
  height: 28px;
  min-width: 0;
}

.tt-bottom-comment-form input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 11.5px;
  outline: none;
  min-width: 0;
}

.tt-bottom-comment-form input::placeholder {
  color: #94a3b8;
}

.tt-bottom-send-btn {
  border: none;
  background: #fe2c55;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.tt-bottom-icon-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.tt-bottom-icon-btn svg {
  width: 14px;
  height: 14px;
}

.tt-nav-arrows {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.4;
  transition: opacity 0.22s ease;
}

.tt-nav-arrows:hover,
.tt-nav-arrows:focus-within,
.tt-nav-arrows.is-active {
  opacity: 0.7;
}

.tt-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

/* =========================================================================
   PLATFORM B: CINEMA VIP CINEMA & GRID
   ========================================================================= */
#platform-cinema {
  background: #0f0f0f;
  overflow-y: auto;
}

.yt-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 10px;
  padding: 10px 16px;
  background: #141414;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yt-search-box {
  flex: 1;
  min-width: 240px;
  max-width: 560px;
  display: flex;
  background: #222;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.yt-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
}

.yt-search-btn {
  border: none;
  background: #333;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 0 16px;
  cursor: pointer;
}

.yt-server-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.yt-server-filter::-webkit-scrollbar {
  display: none;
}

.yt-srv-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #222;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px !important;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  line-height: 1.3;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.yt-srv-btn:hover {
  background: #2d2d2d;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.yt-srv-btn.active {
  background: #ef4444;
  border-color: #f87171;
  color: #fff;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.28);
}

.yt-srv-btn[data-srv="zo3x"]:not(.active) {
  border-color: rgba(245, 196, 81, 0.35);
  color: #fde68a;
}

.yt-chips-scroll {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 40px;
  gap: 7px;
  padding: 7px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.yt-chips-scroll::-webkit-scrollbar {
  display: none;
}

.yt-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.07);
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  padding: 5px 12px;
  border-radius: 999px !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.yt-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
}

.yt-chip.active {
  background: #f1f5f9;
  border-color: #ffffff;
  color: #0f0f0f;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.18);
}

.yt-main-layout {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 16px 80px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
}

.yt-player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
}

/* Canvas Fullscreen Mode (100% iOS-safe, never calls native video fullscreen!) */
.yt-player-box.canvas-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100dvw !important;
  height: 100dvh !important;
  aspect-ratio: auto !important;
  z-index: 9999 !important;
  border-radius: 0 !important;
}

#cinema-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.yt-custom-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.94) 100%);
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 25;
}

#yt-scrubber.yt-scrubber {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34) !important;
  accent-color: #ff5722;
  cursor: pointer;
  margin: 0;
}

#yt-scrubber.yt-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50%;
  background: #ff5722 !important;
  border: none !important;
  box-shadow: 0 0 8px rgba(255, 87, 34, 0.85) !important;
  cursor: pointer;
}

.yt-ctrl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
}

.yt-ctrl-left,
.yt-ctrl-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yt-icon-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: #ffffff;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.yt-icon-btn:hover,
.yt-icon-btn:active {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.06);
}

.yt-icon-btn.active {
  color: #ff5722;
  background: rgba(255, 87, 34, 0.16);
}

.yt-time-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-left: 2px;
}

/* Gear Settings Popover Menu (Image 3 style) */
.yt-settings-popover {
  position: absolute;
  bottom: calc(100% - 4px);
  right: 12px;
  width: 238px;
  background: rgba(18, 18, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 40;
}

.yt-sp-row {
  appearance: none;
  border: none;
  background: transparent;
  color: #f8fafc;
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.14s ease;
}

.yt-sp-row:hover,
.yt-sp-row:active {
  background: rgba(255, 255, 255, 0.1);
}

.yt-sp-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.yt-sp-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.yt-sp-arrow {
  font-size: 16px;
  line-height: 1;
  color: #cbd5e1;
}

.yt-video-meta {
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yt-video-meta h2 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.yt-video-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.yt-channel-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yt-channel-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fe2c55, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.yt-channel-info strong {
  display: block;
  font-size: 13.5px;
}

.yt-channel-info span {
  font-size: 11.5px;
  color: var(--text-sub);
}

.yt-action-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.yt-pill-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #272727;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.yt-pill-btn.gold {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(244, 63, 94, 0.25));
  border-color: var(--gold);
  color: #fef08a;
}

.yt-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yt-hostess-reaction-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(254, 44, 85, 0.14), rgba(168, 85, 247, 0.14));
  border: 1px solid rgba(254, 44, 85, 0.4);
  border-radius: 14px;
  padding: 10px 14px;
}

.yt-hostess-reaction-bar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  object-fit: cover;
}

.yt-reaction-content {
  flex: 1;
}

.yt-reaction-name {
  font-size: 12px;
  color: #fda4af;
  margin-bottom: 2px;
}

.yt-reaction-content p {
  font-size: 12.5px;
  color: #fef08a;
  line-height: 1.4;
}

.yt-reaction-btn {
  border: 1px solid var(--pink);
  background: rgba(254, 44, 85, 0.25);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

/* Cinema Video Grid */
.yt-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.yt-grid-header h3 {
  font-size: 14px;
  font-weight: 800;
}

.yt-refresh-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #222;
  color: #fff;
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.yt-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.yt-card {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: auto 260px;
  transition: transform 0.16s, border-color 0.16s;
}

.yt-card:hover, .yt-card.playing {
  transform: translateY(-2px);
  border-color: var(--pink);
}

.yt-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.yt-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-card-dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.yt-card-srv {
  position: absolute;
  left: 6px;
  top: 6px;
  background: rgba(254, 44, 85, 0.86);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.yt-card-body {
  padding: 9px 10px;
}

.yt-card-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #f1f5f9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 5px;
}

.yt-card-meta {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

/* =========================================================================
   ADAPTIVE 3-STATE LOBBY & PEEK-A-BOO HOSTESS ("Ló đầu lén lén nói")
   ========================================================================= */
.btn-hide-stage-split {
  margin-left: auto;
  border: 1px solid rgba(254, 44, 85, 0.45);
  background: rgba(254, 44, 85, 0.16);
  color: #fecdd3;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  cursor: pointer;
}

/* Mode 2 & 3: Chat-Only & Split-View (Viewport-Locked Height: Top bar & Bottom Composer NEVER move, only #lobby-chat-messages scrolls!) */
@media (min-width: 769px) {
  #view-lobby:has(.mode-chat-only),
  #view-lobby:has(.mode-split-view) {
    overflow: hidden !important;
  }
}

/* Mobile-Only Below-the-Fold Discovery Footer: Hidden on PC (>768px), visible below the fold on Mobile (<=768px) */
.lobby-mobile-below-fold {
  display: none !important;
}

@media (max-width: 768px) {
  #view-lobby {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .lobby-mobile-below-fold {
    display: block !important;
    width: 100%;
    max-width: 100vw;
    padding: 4px 8px calc(env(safe-area-inset-bottom, 12px) + 18px);
    box-sizing: border-box;
  }

  .mbf-card {
    background: linear-gradient(180deg, rgba(16, 18, 28, 0.95) 0%, rgba(9, 10, 16, 0.98) 100%);
    border: 1px solid rgba(245, 196, 81, 0.24);
    border-radius: 20px;
    padding: 14px 12px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.72);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mbf-section-title {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 9px;
  }

  .mbf-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .mbf-tag-pill {
    appearance: none;
    background: rgba(245, 196, 81, 0.09);
    border: 1px solid rgba(245, 196, 81, 0.36);
    color: #fde68a;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.16s ease;
  }

  .mbf-tag-pill:active,
  .mbf-tag-pill:hover {
    background: rgba(245, 196, 81, 0.22);
    border-color: #f5c451;
    color: #fff;
    transform: translateY(-1px);
  }

  .mbf-portals-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 11px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mbf-portal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mbf-portal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 12.5px;
    font-weight: 700;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.16s ease;
  }

  .mbf-portal-btn.shortv {
    background: linear-gradient(135deg, rgba(255, 42, 95, 0.18), rgba(255, 42, 95, 0.06));
    border-color: rgba(255, 42, 95, 0.38);
  }

  .mbf-portal-btn.cinema {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0.05));
    border-color: rgba(56, 189, 248, 0.34);
  }

  .mbf-portal-btn.viproom {
    background: linear-gradient(135deg, rgba(245, 196, 81, 0.18), rgba(245, 196, 81, 0.06));
    border-color: rgba(245, 196, 81, 0.38);
    color: #fde68a;
  }

  .mbf-portal-btn.baronline {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(255, 42, 95, 0.08));
    border-color: rgba(168, 85, 247, 0.38);
  }

  .mbf-portal-btn:active {
    transform: scale(0.98);
  }
}

.lobby-container.mode-chat-only {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

.lobby-container.mode-chat-only .lobby-hostess-stage,
.lobby-container.mode-chat-only .lobby-launch-grid {
  display: none !important;
}

.lobby-container.mode-chat-only .lobby-welcome-panel,
.lobby-container.mode-split-view .lobby-welcome-panel {
  flex: 1 1 0% !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.lobby-container.mode-chat-only .hostess-speech-card,
.lobby-container.mode-split-view .hostess-speech-card {
  flex: 1 1 0% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  padding-bottom: 10px !important;
  overflow: hidden !important;
}

.lobby-container.mode-chat-only .lobby-ai-chat-box,
.lobby-container.mode-split-view .lobby-ai-chat-box {
  flex: 1 1 0% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
}

.lobby-container.mode-chat-only #lobby-chat-messages,
.lobby-container.mode-split-view #lobby-chat-messages {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: 6px !important;
}

.lobby-container.mode-chat-only #lobby-peek-hostess,
.lobby-container.mode-chat-only #lobby-genre-chips,
.lobby-container.mode-chat-only #lobby-chat-chips,
.lobby-container.mode-chat-only .lobby-chat-form,
.lobby-container.mode-split-view #lobby-genre-chips,
.lobby-container.mode-split-view #lobby-chat-chips,
.lobby-container.mode-split-view .lobby-chat-form {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
}

.lobby-container.mode-chat-only #lobby-genre-chips,
.lobby-container.mode-chat-only #lobby-chat-chips,
.lobby-container.mode-split-view #lobby-genre-chips,
.lobby-container.mode-split-view #lobby-chat-chips {
  margin-top: auto !important;
}

/* Mode 3: Split-View (Hostess on Left + Chat on Right) */
.lobby-container.mode-split-view {
  display: grid !important;
  grid-template-columns: minmax(145px, 40%) minmax(0, 60%) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: stretch !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.lobby-container.mode-split-view .lobby-launch-grid {
  display: none !important;
}

.lobby-container.mode-split-view .btn-hide-stage-split {
  display: inline-flex !important;
}

/* Compact Single-Line Peek-a-boo Hostess Bar (Zero duplicate text!) */
.peek-hostess-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.14) 0%, rgba(15, 17, 26, 0.92) 60%);
  border: 1px solid rgba(245, 196, 81, 0.35);
  border-radius: 99px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.peek-hostess-bar:hover {
  border-color: rgba(245, 196, 81, 0.75);
}

.peek-head-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #f5c451;
  background: #0d0f18;
  flex-shrink: 0;
  transform: translateX(-6px) rotate(-6deg) scale(0.94);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.peek-head-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Active Peeking-Speaking State: Head pops out playfully when she speaks, then tucks back! */
.peek-hostess-bar.peeking-speaking {
  border-color: #f5c451;
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.25);
}

.peek-hostess-bar.peeking-speaking .peek-head-wrap {
  transform: translateX(3px) rotate(8deg) scale(1.14);
  box-shadow: 0 0 14px rgba(245, 196, 81, 0.8);
}

.peek-speech-wrap {
  flex: 1;
  min-width: 0;
}

.peek-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.peek-top-row strong {
  font-size: 12px;
  color: #fde047;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.peek-action-badge {
  border: none;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #fe2c55, #db2777);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  cursor: pointer;
}

.peek-close-chat-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 99px;
  white-space: nowrap;
  cursor: pointer;
}

.peek-speech-text {
  display: none !important;
}

/* =========================================================================
   FLOATING HOSTESS BOT CHAT 80% DRAWER (Below "Quà" Badge on #view-app)
   ========================================================================= */
.floating-companion {
  position: fixed;
  left: 50%;
  top: auto;
  bottom: 10px;
  transform: translateX(-50%);
  width: min(920px, 96vw);
  height: 80dvh;
  max-height: 80vh;
  z-index: 120;
  background: linear-gradient(165deg, rgba(13, 15, 25, 0.96) 0%, rgba(8, 9, 15, 0.98) 100%);
  border: 1px solid rgba(245, 196, 81, 0.42);
  border-radius: 24px;
  padding: 12px 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.88), 0 0 32px rgba(254, 44, 85, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  transition: opacity 0.22s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Minimized Circular Avatar Bubble (Hidden when expanded) */
.fc-minimized-bubble {
  display: none;
}

/* When .minimized in Short Video mode: sits right below the "Quà" badge (#tt-lucky-coin-widget) on the top-left! */
.floating-companion.minimized {
  left: var(--fc-min-left, 11px) !important;
  top: var(--fc-min-top, calc(var(--nav-h, 52px) + 114px)) !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 52px !important;
  height: 52px !important;
  max-height: 52px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* When .minimized in Cinema mode: dock at bottom-right so it NEVER covers "Toàn Mạng VnChich" filter pills! */
body.platform-cinema .floating-companion.minimized,
#view-workspace:has(#platform-cinema.active) .floating-companion.minimized {
  left: auto !important;
  top: auto !important;
  right: 14px !important;
  bottom: 18px !important;
}

.floating-companion.minimized .fc-header,
.floating-companion.minimized .fc-bot-body {
  display: none !important;
}

.floating-companion.minimized .fc-minimized-bubble {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fe2c55;
  background: #0b0d19;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 14px rgba(254, 44, 85, 0.55);
  position: relative;
  cursor: pointer;
  padding: 0;
}

.fc-minimized-bubble img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.fc-bubble-live-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #090a12;
  box-shadow: 0 0 6px #4ade80;
}

.fc-bubble-expand-tag {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #fe2c55, #db2777);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.fc-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fc-header-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #f5c451;
}

.fc-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  display: block;
}

.fc-sub-badge {
  font-size: 10px;
  color: #4ade80;
  font-weight: 700;
  display: block;
}

.fc-mini-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.fc-action-pill {
  border: 1px solid rgba(245, 196, 81, 0.4);
  background: rgba(245, 196, 81, 0.12);
  color: #fde047;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 99px;
  cursor: pointer;
}

.fc-collapse-btn {
  border: 1px solid rgba(254, 44, 85, 0.5);
  background: linear-gradient(135deg, #fe2c55, #e11d48);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(254, 44, 85, 0.35);
}

.fc-bot-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(180px, 38%) minmax(0, 62%);
  grid-template-rows: minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
}

/* When in chat-only mode inside the 80% Bot Chat drawer: hide fc-stage */
.fc-bot-body.fc-mode-chat {
  grid-template-columns: minmax(0, 1fr) !important;
}

.fc-bot-body.fc-mode-chat .fc-stage {
  display: none !important;
}

.fc-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: radial-gradient(circle at 50% 35%, rgba(244, 63, 94, 0.16), rgba(9, 10, 16, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

#fc-hostess-canvas {
  width: auto !important;
  height: 95% !important;
  max-width: 92% !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block;
}

.fc-bubble {
  display: none !important;
}

.fc-chat-panel {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 8px;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.fc-chat-messages {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px;
  padding-right: 4px;
}

#fc-peek-hostess,
#fc-genre-chips,
#fc-chat-chips,
#fc-chat-form {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
}

#fc-genre-chips,
#fc-chat-chips {
  margin-top: auto !important;
}

/* =========================================================================
   MODALS & TOAST
   ========================================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#modal-auth {
  z-index: 2147483644;
}

.modal-backdrop.hidden, .hidden {
  display: none !important;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  max-height: 86dvh;
  overflow-y: auto;
  background: #111526;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 800;
}

.modal-header p {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
}

.modal-close {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

.modal-section-label {
  font-size: 12px;
  font-weight: 800;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.modal-hostess-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-hostess-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.modal-hostess-card.active {
  border-color: var(--pink);
  background: rgba(254, 44, 85, 0.18);
}

.modal-hostess-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.modal-angle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.modal-angle-btn {
  text-align: left;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.modal-angle-btn.active {
  border-color: var(--cyan);
  background: rgba(37, 244, 238, 0.16);
}

.modal-angle-btn strong {
  font-size: 12px;
}

.modal-angle-btn span {
  font-size: 10.5px;
  color: var(--text-sub);
}

.comments-list {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.comment-row {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 9px 12px;
  border-radius: 12px;
}

.comment-row img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-row strong {
  font-size: 12px;
  color: #fda4af;
}

.comment-row p {
  font-size: 12.5px;
  color: #f1f5f9;
  margin-top: 2px;
}

.comment-input-row {
  display: flex;
  gap: 8px;
}

.comment-input-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  font-size: 13px;
}

.comment-input-row button {
  border: none;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
}

.toast-box {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 56px);
  left: 50%;
  transform: translate(-50%, -12px) scale(0.97);
  opacity: 0;
  z-index: 1000001;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: min(92vw, 392px);
  padding: 9px 14px 9px 13px;
  border-radius: 12px;
  background: rgba(11, 14, 24, 0.92);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #f8fafc;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-box.has-sub,
.wp2d-toast.has-sub {
  align-items: flex-start;
}
.toast-box::before,
.wp2d-toast::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--toast-accent, #38bdf8);
}
.toast-box.is-show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.toast-box.is-dragging,
.wp2d-toast.is-dragging {
  transition: none !important;
  cursor: grabbing;
}
.toast-box.hidden { display: none !important; }
.toast-box .toast-ico,
.wp2d-toast .toast-ico {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--toast-accent, #38bdf8);
  background: var(--toast-accent-bg, rgba(56, 189, 248, 0.14));
}
.toast-box .toast-copy,
.wp2d-toast .toast-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
.toast-box .toast-title,
.wp2d-toast .toast-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.32;
  letter-spacing: 0.005em;
  word-break: break-word;
}
.toast-box .toast-sub,
.wp2d-toast .toast-sub {
  font-size: 11px;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.35;
  word-break: break-word;
}
.toast-box[data-tone="success"],
.wp2d-toast[data-tone="success"] { --toast-accent: #34d399; --toast-accent-bg: rgba(52, 211, 153, 0.14); }
.toast-box[data-tone="warn"],
.wp2d-toast[data-tone="warn"] { --toast-accent: #fbbf24; --toast-accent-bg: rgba(251, 191, 36, 0.15); }
.toast-box[data-tone="error"],
.wp2d-toast[data-tone="error"] { --toast-accent: #fb7185; --toast-accent-bg: rgba(251, 113, 133, 0.15); }
.toast-box[data-tone="info"],
.wp2d-toast[data-tone="info"] { --toast-accent: #38bdf8; --toast-accent-bg: rgba(56, 189, 248, 0.14); }

/* =========================================================================
   MOBILE RESPONSIVE (iPhone / iPad / Android Portrait & Sảnh Lounge Overhaul)
   ========================================================================= */
@media (max-width: 960px) {
  .lobby-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    gap: 14px;
    padding: 10px 10px 40px;
  }

  .lobby-hostess-stage,
  .lobby-welcome-panel,
  .hostess-speech-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .hostess-figure-wrap {
    height: 260px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .yt-main-layout {
    grid-template-columns: 1fr;
  }

  /* Legacy horizontal mobile squish removed in Plan v18 — see M1 Full-Screen Lounge rules below */

  .floating-companion:not(.minimized) {
    width: 96vw !important;
    height: 80dvh !important;
    max-height: 80vh !important;
    left: 50% !important;
    top: auto !important;
    bottom: 8px !important;
    transform: translateX(-50%) !important;
    padding: 10px;
  }

  .fc-bot-body {
    grid-template-columns: minmax(112px, 34%) minmax(0, 66%);
    gap: 8px;
  }

  .fc-bot-body:not(.fc-mode-chat) #fc-chat-form .cm-tier {
    display: none !important;
  }

  .fc-bot-body:not(.fc-mode-chat) #fc-chat-form .composer-model-btn {
    padding: 4px 8px !important;
    font-size: 11px !important;
  }

  .fc-bot-body:not(.fc-mode-chat) #fc-chat-form .composer-send-btn {
    padding: 5px 10px !important;
    font-size: 11px !important;
  }

  .tt-nav-arrows {
    display: flex !important;
    left: 8px;
  }
}

@media (max-width: 640px) {
  #top-nav {
    height: auto;
    min-height: 46px;
    flex-wrap: wrap;
    padding: 5px 8px;
    gap: 4px;
  }

  .sub-badge,
  .plat-count {
    display: none;
  }

  .brand-pill {
    font-size: 11px;
    padding: 4px 8px;
  }

  .mode-btn {
    font-size: 10px;
    padding: 4px 6px;
  }

  .plat-btn {
    font-size: 10.5px;
    padding: 4px 8px;
  }

  .glass-btn {
    font-size: 10px;
    padding: 4px 7px;
  }

  /* --- Sảnh Lounge Mobile Overhaul (v34: Viewport-Locked Chat Scroll + Bottom-Docked AI Composer) --- */
  .lobby-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-height: calc(100dvh - var(--nav-h, 48px)) !important;
    box-sizing: border-box !important;
    padding: 6px 8px calc(env(safe-area-inset-bottom, 8px) + 8px) !important;
    gap: 8px !important;
    overflow-x: hidden !important;
  }

  .lobby-container:not(.mode-chat-only):not(.mode-split-view) .lobby-welcome-panel {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  .lobby-container:not(.mode-chat-only):not(.mode-split-view) .hostess-speech-card {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 12px 12px 10px !important;
  }

  .lobby-container:not(.mode-chat-only):not(.mode-split-view) .lobby-ai-chat-box {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  .lobby-container.mode-chat-only {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
  }

  .lobby-container.mode-split-view {
    display: grid !important;
    grid-template-columns: minmax(128px, 40%) minmax(0, 60%) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: stretch !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
  }

  .lobby-hostess-stage {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px 10px 12px;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .ios-shield-banner {
    font-size: 9px;
    padding: 3px 10px;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    max-width: 96%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: auto;
    margin-right: auto;
  }

  .hostess-figure-wrap {
    flex: 1 1 auto !important;
    min-height: 290px;
    height: 310px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box !important;
  }

  .lobby-container.mode-split-view .hostess-figure-wrap {
    height: 250px;
  }

  .lobby-container.mode-split-view .mouth-speech-bubble {
    display: none !important;
  }

  .lobby-container.mode-split-view #lobby-hostess-canvas {
    max-width: 92% !important;
    margin: 0 auto !important;
  }

  #lobby-hostess-canvas {
    width: auto !important;
    height: 100% !important;
    max-width: 50% !important;
    max-height: 100% !important;
    object-fit: contain;
    display: block;
    margin-left: 2% !important;
    margin-right: auto !important;
  }

  .mouth-speech-bubble {
    top: 12px;
    left: 46%;
    right: 8px;
    max-width: 210px;
    padding: 8px 10px;
    border-radius: 4px 14px 14px 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.75);
  }

  .mouth-bubble-tag {
    font-size: 9px;
  }

  .btn-bubble-voice {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .mouth-bubble-text {
    font-size: 11px;
    line-height: 1.38;
  }

  .mouth-bubble-tail {
    top: 14px;
    left: -8px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 9px solid rgba(16, 18, 28, 0.95);
    border-left: none;
  }

  .lobby-genre-chips {
    gap: 5px;
    padding: 2px 0 4px;
  }

  /* Hostess Card & AI Concierge on Mobile */
  .lobby-welcome-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .hostess-speech-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px 10px 10px !important;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
    box-sizing: border-box !important;
  }

  .speech-header {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    box-sizing: border-box !important;
  }

  .speech-avatar {
    width: 44px;
    height: 44px;
    border-width: 1.5px;
    flex-shrink: 0;
  }

  .speech-header > div {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .speech-badge {
    font-size: 8.5px;
    padding: 2px 7px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
  }

  .speech-header h1 {
    font-size: 15px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
  }

  .btn-replay-voice {
    font-size: 10px;
    padding: 5px 9px;
    flex-shrink: 0;
  }

  .speech-text {
    font-size: 12.5px;
    line-height: 1.55;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    word-break: break-word;
    box-sizing: border-box !important;
  }

  .lobby-ai-chat-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 8px;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  .lobby-chat-messages {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: 200px;
    gap: 8px;
    box-sizing: border-box !important;
  }

  .hostess-bubble .msg-avatar-wrap img {
    width: 30px;
    height: 30px;
  }

  .user-bubble .msg-avatar-wrap img {
    width: 28px;
    height: 28px;
  }

  .msg-content {
    min-width: 0;
    flex: 1;
  }

  .msg-author-row strong {
    font-size: 11.5px;
  }

  .user-bubble .user-text {
    font-size: 12px;
    padding: 7px 11px;
    border-radius: 12px;
    word-break: break-word;
  }

  /* Swipable Horizontal Video Previews */
  .lobby-rec-videos {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 6px;
    padding: 2px 2px 6px;
    scrollbar-width: none;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .lobby-rec-videos::-webkit-scrollbar {
    display: none;
  }

  .lobby-rec-card {
    flex: 0 0 215px;
    min-width: 215px;
    max-width: 235px;
    scroll-snap-align: start;
    padding: 5px 7px;
    border-radius: 10px;
    box-sizing: border-box !important;
  }

  .lobby-rec-thumb-box {
    width: 52px;
    height: 38px;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .lobby-rec-info {
    min-width: 0;
    flex: 1;
  }

  .lobby-rec-title {
    font-size: 11px;
    line-height: 1.25;
  }

  .lobby-rec-meta {
    font-size: 9.5px;
  }

  /* Format Actions on Mobile */
  .lobby-format-actions {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 5px;
    margin-top: 4px;
    margin-bottom: 6px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    scrollbar-width: none;
    box-sizing: border-box !important;
  }

  .lobby-format-actions::-webkit-scrollbar {
    display: none;
  }

  .format-action-btn {
    flex-shrink: 0;
    font-size: 10px;
    padding: 5px 9px;
    white-space: nowrap;
  }

  /* Quick Chips on Mobile */
  .lobby-chat-chips {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 0 4px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box !important;
  }

  .chips-hint {
    font-size: 10px;
    flex-shrink: 0;
  }

  .chat-chip {
    font-size: 10px;
    padding: 4px 9px;
    flex-shrink: 0;
  }

  /* Chat Form & Input on Mobile (AI Composer Box docked at bottom, Prevent iOS Auto-Zoom) */
  .lobby-chat-form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 9px 10px 7px 11px !important;
    border-radius: 15px !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  .lobby-chat-input {
    font-size: 16px !important; /* iOS Safari minimum without triggering auto-zoom */
    transform-origin: left top;
    min-width: 0;
    flex: 1;
  }

  .lobby-chat-input::placeholder {
    font-size: 12.5px;
  }

  .lobby-chat-submit {
    font-size: 11.5px;
    padding: 6px 12px;
    border-radius: 999px;
    flex-shrink: 0;
  }

  /* Mini Roster on Mobile */
  .hostess-mini-roster {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    box-sizing: border-box !important;
  }

  .roster-label {
    font-size: 10px;
  }

  .roster-avatars {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 6px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box !important;
  }

  .roster-avatars::-webkit-scrollbar {
    display: none;
  }

  .roster-item {
    font-size: 10.5px;
    padding: 3px 8px 3px 3px;
    gap: 5px;
    flex-shrink: 0;
  }

  .roster-item img {
    width: 24px;
    height: 24px;
  }

  /* Launch Cards on Mobile */
  .lobby-launch-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 8px;
    margin-bottom: 14px;
    box-sizing: border-box !important;
  }

  .launch-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px 12px;
    border-radius: 14px;
    gap: 10px;
    box-sizing: border-box !important;
  }

  .launch-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .launch-icon svg {
    width: 18px;
    height: 18px;
  }

  .launch-info {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .launch-info strong {
    font-size: 12.5px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .launch-info span {
    font-size: 10px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .launch-arrow {
    font-size: 16px;
    flex-shrink: 0;
  }

  /* Quick Tags on Mobile */
  .lobby-quick-tags {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-top: 10px;
    box-sizing: border-box !important;
  }

  .quick-tag-title {
    font-size: 9.5px;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
  }

  .quick-tag-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 5px;
    padding-bottom: 4px;
    scrollbar-width: none;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .quick-tag-list::-webkit-scrollbar {
    display: none;
  }

  .tag-pill {
    flex-shrink: 0;
    font-size: 10px;
    padding: 4px 9px;
  }
}

@media (max-width: 390px) {
  .hostess-figure-wrap {
    height: 195px;
  }

  .launch-info span {
    max-width: 170px;
  }
}

.search-res-thumb img,
.yt-card-thumb img,
.desc-pick-row img {
  color: transparent;
}

/* =========================================================================
   SPLIT-SCREEN SLIDE-UP BOTTOM SHEETS (Images 1, 2, 4, 5)
   ========================================================================= */
.tt-split-sheet-host {
  width: 100%;
  max-width: 540px;
  flex: 1 1 67%;
  height: 67%;
  background: #0f0f0f;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 35;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.75);
}

.split-sheet-panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0f0f0f;
  color: #f1f5f9;
}

.sheet-drag-bar {
  width: 100%;
  padding: 8px 0 4px;
  display: flex;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.sheet-drag-bar span {
  width: 38px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.sheet-top-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 14px 10px;
  flex-shrink: 0;
}

.sheet-main-title {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}

.sheet-close-btn,
.sheet-info-btn {
  border: none;
  background: transparent;
  color: #e2e8f0;
  font-size: 19px;
  line-height: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.sheet-close-btn:hover,
.sheet-info-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sheet-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 14px 18px;
}

/* -------------------------------------------------------------------------
   SHEET 1: DESCRIPTION, 3-COLUMN STATS & CURATED PICKS (Images 1 & 2)
   ------------------------------------------------------------------------- */
.desc-channel-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.desc-channel-row img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.desc-channel-row strong {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}

.desc-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 8px 0 14px;
  margin-bottom: 10px;
}

.desc-stat-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.desc-stat-col strong {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.desc-stat-col span {
  font-size: 11.5px;
  color: #94a3b8;
}

.desc-content-card {
  background: #212124;
  border-radius: 14px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.desc-card-lead {
  font-size: 13px;
  line-height: 1.45;
  color: #f1f5f9;
  margin: 0;
}

.desc-links-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #e2e8f0;
}

.desc-links-block p {
  margin: 0;
  word-break: break-word;
}

.desc-links-block a {
  color: #3ea6ff;
  text-decoration: none;
  font-weight: 600;
}

.desc-picks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.desc-picks-header strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.desc-picks-header span {
  font-size: 11.5px;
  color: #94a3b8;
}

.desc-picks-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.desc-pick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.15s;
}

.desc-pick-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.desc-pick-row img {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  background: #111;
}

.desc-pick-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.desc-pick-info strong {
  font-size: 12.5px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desc-pick-info span {
  font-size: 12px;
  color: #3ea6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desc-hashtags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}

.desc-hashtag-link {
  border: none;
  background: transparent;
  color: #3ea6ff;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

/* -------------------------------------------------------------------------
   SHEET 2: SPLIT-SCREEN LIVE SEARCH (Image 4)
   ------------------------------------------------------------------------- */
#sheet-search {
  background: #121216;
}

.search-sheet-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 8px;
  flex-shrink: 0;
}

.search-sheet-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #23242b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px 10px;
  color: #cbd5e1;
}

.search-sheet-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 13.5px;
  outline: none;
  min-width: 0;
}

.search-clear-btn {
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-more-dots {
  border: none;
  background: #fe2c55;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
}

.search-sheet-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.search-sheet-tabs::-webkit-scrollbar {
  display: none;
}

.s-tab-pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.s-tab-item {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 700;
  padding: 5px 0;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}

.s-tab-item.active {
  color: #fff;
}

.s-tab-item.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
}

/* Shortv Red-Cyan Dual Dot Loader (Image 4) */
.shortv-dual-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 28px 0;
}

.shortv-dual-loader .dot-red,
.shortv-dual-loader .dot-cyan {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  animation: ttBounce 0.8s infinite alternate ease-in-out;
}

.shortv-dual-loader .dot-red {
  background: #fe2c55;
}

.shortv-dual-loader .dot-cyan {
  background: #25f4ee;
  animation-delay: 0.4s;
}

@keyframes ttBounce {
  0% { transform: translateX(-4px) scale(0.9); }
  100% { transform: translateX(4px) scale(1.1); }
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-top: 8px;
}

.search-res-card {
  background: #1b1c24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.search-res-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
}

.search-res-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.search-res-thumb span {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
}

.search-res-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-res-body strong {
  font-size: 12px;
  line-height: 1.35;
  color: #f1f5f9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-res-meta {
  font-size: 10.5px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

/* =========================================================================
   TIKTOK-STYLE FULL-HEIGHT SLIDE-FROM-RIGHT DISCOVER DRAWER & 3-COLUMN GRID
   ========================================================================= */
#platform-shortv .tt-split-sheet-host.is-discover-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 540px;
  height: 100% !important;
  flex: none !important;
  border-radius: 0;
  z-index: 44;
  background: #0a0a0e;
  box-sizing: border-box;
  padding-top: var(--discover-nav-offset, 0px);
  box-shadow: -14px 0 38px rgba(0, 0, 0, 0.85);
  transform: translate3d(calc(-50% + var(--discover-x, 100%)), 0, 0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
  touch-action: pan-y;
}

body.nav-layout-app.nav-top-glass #platform-shortv .tt-split-sheet-host.is-discover-drawer {
  padding-top: var(--discover-nav-offset, calc(var(--nav-h, 46px) + env(safe-area-inset-top, 0px)));
}

body.discover-drawer-active:not(.exp-mode-lobby):not(.platform-cinema):not(.exp-mode-viproom) #top-nav {
  background: #0a0a0e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

@media (min-width: 541px) {
  #platform-shortv .tt-split-sheet-host.is-discover-drawer {
    opacity: var(--discover-alpha, 1);
  }
}

.tt-split-sheet-host.is-discover-drawer #sheet-search {
  background: #0a0a0e;
}

.tt-split-sheet-host.is-discover-drawer #sheet-search .sheet-drag-bar {
  display: none;
}

.tt-split-sheet-host.is-discover-drawer #sheet-search .search-sheet-header {
  padding-top: 8px;
  padding-bottom: 6px;
}

.tt-split-sheet-host.is-discover-drawer #search-sheet-body {
  padding: 0 2px calc(32px + env(safe-area-inset-bottom, 0px));
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

#discover-sheet-pagination {
  margin: 12px 8px 6px;
}

.discover-ctx-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.discover-ctx-bar::-webkit-scrollbar {
  display: none;
}

.discover-ctx-lead {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
}

.discover-ctx-lead img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(254, 44, 85, 0.7);
}

.discover-ctx-chips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.discover-ctx-chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.discover-ctx-chip.active,
.discover-ctx-chip:hover {
  border-color: #fe2c55;
  color: #fff;
  background: rgba(254, 44, 85, 0.18);
}

.search-results-grid.is-discover-3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  padding-top: 2px;
}

.discover-card-3col {
  position: relative;
  aspect-ratio: 9 / 14;
  background: #14151e;
  overflow: hidden;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.discover-card-3col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.discover-card-3col::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.discover-views-badge {
  position: absolute;
  left: 5px;
  bottom: 4px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.discover-duration-badge {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.55);
  padding: 1px 4px;
  border-radius: 3px;
  pointer-events: none;
}

.discover-just-watched {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   SHEET 3: SPLIT-SCREEN COMMENTS ("Nổi bật nhất / Mới nhất" — Image 5)
   ------------------------------------------------------------------------- */
.comments-header-row {
  align-items: center;
  padding-bottom: 6px;
}

.cmt-count-sub {
  font-size: 13.5px;
  font-weight: 600;
  color: #94a3b8;
}

.comments-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.comments-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 10px;
  flex-shrink: 0;
}

.cmt-sort-pill {
  border: none;
  background: #27272a;
  color: #e4e4e7;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 8px;
  cursor: pointer;
}

.cmt-sort-pill.active {
  background: #f4f4f5;
  color: #09090b;
}

.cmt-user-status {
  margin-left: auto;
  font-size: 11px;
  color: #94a3b8;
}

.cmt-user-status button {
  border: 1px solid rgba(254, 44, 85, 0.5);
  background: rgba(254, 44, 85, 0.15);
  color: #fecdd3;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 99px;
  cursor: pointer;
}

.comments-guideline-banner {
  background: #212124;
  color: #a1a1aa;
  font-size: 11.5px;
  line-height: 1.4;
  padding: 8px 14px;
  flex-shrink: 0;
}

.guideline-link-btn {
  border: none;
  background: transparent;
  color: #3ea6ff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.comments-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
}

.yt-style-comment-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.yt-cmt-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #27272a;
}

.yt-cmt-main {
  flex: 1;
  min-width: 0;
}

.yt-cmt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}

.yt-cmt-handle {
  font-size: 11.5px;
  color: #a1a1aa;
  font-weight: 600;
}

.yt-cmt-text {
  font-size: 13.5px;
  line-height: 1.42;
  color: #f4f4f5;
  margin: 0 0 7px;
  word-break: break-word;
}

.yt-cmt-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.yt-cmt-act-btn {
  border: none;
  background: transparent;
  color: #d4d4d8;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.yt-cmt-act-btn.liked {
  color: #fe2c55;
  font-weight: 700;
}

.yt-cmt-hostess-heart {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yt-cmt-hostess-heart img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.yt-cmt-hostess-heart span {
  position: absolute;
  right: -4px;
  bottom: -3px;
  font-size: 9px;
}

.sheet-comment-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f0f0f;
  flex-shrink: 0;
}

.sheet-cmt-input-pill {
  flex: 1;
  display: flex;
  align-items: center;
  background: #27272a;
  border-radius: 999px;
  padding: 4px 5px 4px 14px;
  height: 38px;
}

.sheet-cmt-input-pill input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  outline: none;
  min-width: 0;
}

.sheet-cmt-submit-btn {
  border: none;
  background: #fe2c55;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.sheet-heart-coin-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #27272a;
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   MODAL: QUICK LOGIN / REGISTER ANTI-SPAM (#modal-auth)
   ------------------------------------------------------------------------- */
.auth-modal-card {
  max-width: 440px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.auth-tab-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px;
  border-radius: 10px;
  cursor: pointer;
}

.auth-tab-btn.active {
  background: rgba(254, 44, 85, 0.22);
  border-color: #fe2c55;
  color: #fff;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.auth-field label {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
}

.auth-field input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 9px 12px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
}

.auth-field input:focus {
  border-color: var(--cyan);
}

.auth-avatar-picker {
  display: flex;
  gap: 10px;
}

.avatar-pick-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 0;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.avatar-pick-btn.active {
  border-color: #fe2c55;
  box-shadow: 0 0 12px rgba(254, 44, 85, 0.6);
}

.avatar-pick-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-error-msg {
  font-size: 12px;
  color: #fda4af;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  padding: 8px 10px;
  border-radius: 8px;
  margin: 0;
}

.auth-submit-btn {
  border: none;
  background: linear-gradient(135deg, #fe2c55, #db2777);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 11px 16px;
  border-radius: 11px;
  cursor: pointer;
}

.auth-logged-in-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
  border-radius: 12px;
}

.auth-profile-card img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
}

.auth-profile-card strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.auth-profile-card span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}

.auth-verified-badge {
  color: #4ade80 !important;
  font-weight: 700;
  margin-top: 2px;
}

.auth-rules-box {
  background: rgba(37, 244, 238, 0.08);
  border: 1px solid rgba(37, 244, 238, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: #e2e8f0;
}

.auth-rules-box ul {
  margin: 6px 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-logged-actions {
  display: flex;
  gap: 8px;
}

.auth-logged-actions .auth-submit-btn {
  flex: 1;
}

.auth-logout-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fda4af;
  font-size: 12.5px;
  font-weight: 700;
  padding: 0 14px;
  border-radius: 11px;
  cursor: pointer;
}


/* =========================================================================
   SETTINGS MODAL & HOSTESS INTERACTIVE GUIDE (?v=6)
   ========================================================================= */
.settings-modal-card {
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
}

.settings-hostess-guide-card {
  background: linear-gradient(135deg, rgba(254, 44, 85, 0.16), rgba(37, 244, 238, 0.1));
  border: 1px solid rgba(254, 44, 85, 0.45);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
}

.shg-top {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.shg-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fe2c55;
  flex-shrink: 0;
}

.shg-bubble-wrap {
  flex: 1;
  min-width: 0;
}

.shg-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.shg-title-row strong {
  font-size: 13px;
  color: #fde047;
}

.shg-speak-btn {
  border: 1px solid rgba(37, 244, 238, 0.4);
  background: rgba(37, 244, 238, 0.12);
  color: #25f4ee;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
}

.shg-speech {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #f8fafc;
}

.shg-guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.shg-chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.shg-chip:hover,
.shg-chip.active {
  border-color: #25f4ee;
  background: rgba(37, 244, 238, 0.18);
  color: #fff;
  box-shadow: 0 0 12px rgba(37, 244, 238, 0.35);
}

.settings-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  padding: 12px;
  margin-bottom: 12px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.settings-highlight-pulse {
  border-color: #fde047 !important;
  box-shadow: 0 0 18px rgba(253, 224, 71, 0.5) !important;
}

.settings-sec-title {
  font-size: 13px;
  font-weight: 800;
  color: #25f4ee;
  margin-bottom: 8px;
}

.settings-sec-sub {
  margin: 0;
  font-size: 11.5px;
  color: #94a3b8;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-row-info {
  flex: 1;
  min-width: 170px;
}

.settings-row-info strong {
  display: block;
  font-size: 12.5px;
  color: #f1f5f9;
}

.settings-row-info span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.settings-seg {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  padding: 2px;
  gap: 2px;
}

.seg-opt {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 7px;
  cursor: pointer;
}

.seg-opt.active {
  background: #fe2c55;
  color: #fff;
}

.settings-inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ios-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  cursor: pointer;
}

.settings-mini-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fde047;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
}

.settings-sec-header-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.secret-drawer-arrow {
  font-size: 11.5px;
  font-weight: 800;
  color: #fde047;
  background: rgba(253, 224, 71, 0.14);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.settings-secret-body {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.secret-card {
  background: rgba(10, 12, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  padding: 10px;
  transition: all 0.25s ease;
}

.secret-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.secret-card-head strong {
  display: block;
  font-size: 12.5px;
  color: #fde047;
  margin-bottom: 3px;
}

.secret-card-head p {
  margin: 0;
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
}

.secret-pin-controls {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pin-config-row,
.vip-code-input-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.pin-config-row label {
  font-size: 11.5px;
  color: #e2e8f0;
}

.pin-config-row input,
.pin-config-row select,
.vip-code-input-row input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  padding: 6px 9px;
  font-size: 12px;
}

.vip-code-input-row {
  margin-top: 8px;
}

.vip-code-input-row input {
  flex: 1;
  min-width: 160px;
}

.settings-action-btn {
  border: none;
  background: linear-gradient(135deg, #fe2c55, #db2777);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
}

.settings-test-btn {
  border: 1px solid rgba(37, 244, 238, 0.45);
  background: rgba(37, 244, 238, 0.14);
  color: #25f4ee;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
}

.vip-unlocked-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.vip-badge-pill {
  background: rgba(253, 224, 71, 0.16);
  border: 1px solid rgba(253, 224, 71, 0.55);
  color: #fde047;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

/* =========================================================================
   CALCULATOR DISGUISE OVERLAY (BOSS KEY / PRIVACY PIN)
   ========================================================================= */
.pin-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.calc-disguise-box {
  width: 100%;
  max-width: 340px;
  background: #000;
  border: 1px solid #262626;
  border-radius: 28px;
  padding: 18px 16px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
}

.calc-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #52525b;
  margin-bottom: 8px;
}

.calc-display {
  text-align: right;
  font-size: 46px;
  font-weight: 300;
  color: #fff;
  padding: 18px 8px 14px;
  min-height: 82px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}

.calc-key {
  height: 64px;
  border-radius: 999px;
  border: none;
  background: #333333;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.12s ease;
}

.calc-key:active {
  filter: brightness(1.35);
}

.calc-key.fn {
  background: #a5a5a5;
  color: #000;
}

.calc-key.op,
.calc-key.eq {
  background: #ff9f0a;
  color: #fff;
}

.calc-key.zero {
  grid-column: span 2;
  text-align: left;
  padding-left: 26px;
}

@media (max-width: 680px) {
  .settings-nav-label {
    display: none;
  }
}


/* =========================================================================
   FIX SELECT DROPDOWN OPTIONS & SUPPORTER PICKER (?v=7)
   ========================================================================= */
select,
.pin-config-row select {
  color-scheme: dark;
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

select option,
.pin-config-row select option {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  padding: 8px;
}

.supporter-picker {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px !important;
  width: 100%;
}

.supporter-picker .avatar-pick-btn {
  width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  padding: 6px 2px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.supporter-picker .avatar-pick-btn img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.supporter-picker .avatar-pick-btn span {
  font-size: 9.8px;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.supporter-picker .avatar-pick-btn.active {
  background: rgba(254, 44, 85, 0.18);
  border-color: #fe2c55;
}

.supporter-picker .avatar-pick-btn.active span {
  color: #fde047;
}

/* Streamlined VIP / Profile Help Pills, 6-Digit Password Eye & Web3 Login */
.vn-title-help-row,
.vn-label-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.vn-label-row {
  justify-content: space-between;
}

.vn-help-pill {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px 2px 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.vn-help-pill:hover,
.vn-help-pill.is-open {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.52);
  color: #e0f2fe;
}

.vn-help-q {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 10px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vn-help-pill.is-open .vn-help-q {
  background: #38bdf8;
  color: #082f49;
}

.vn-help-body {
  margin: 4px 0 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: #cbd5e1;
  font-size: 11.5px;
  line-height: 1.48;
}

.pin-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.pin-input-wrap input {
  width: 100%;
  padding-right: 42px !important;
  letter-spacing: 0.18em;
}

.pin-eye-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  width: 30px;
  height: 28px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-eye-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.vn-inline-eye-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 12px;
  cursor: pointer;
  margin-left: 4px;
  vertical-align: middle;
}

.vn-auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 11px;
  margin: 4px 0 2px;
}

.vn-auth-divider::before,
.vn-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.vn-web3-login-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vn-web3-login-btn {
  flex: 1;
  appearance: none;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.34));
  color: #fef3c7;
  font-size: 12.5px;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vn-web3-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
}

.vn-withdraw-compact-box {
  margin-top: 10px;
  padding: 9px 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 10px;
}

/* =========================================================================
   PWA-ONLY INSTALL GATE & 5-SECOND COUNTDOWN AD INTERSTITIAL (?v=8)
   ========================================================================= */
.pwa-install-gate {
  position: fixed;
  inset: 0;
  z-index: 98000;
  background: radial-gradient(circle at top, #1e1b4b 0%, #090a14 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
}

.pwa-gate-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(254, 44, 85, 0.45);
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9), 0 0 30px rgba(254, 44, 85, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pwa-gate-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
  z-index: 10;
}

.pwa-gate-close-btn:hover {
  background: rgba(254, 44, 85, 0.35);
  border-color: #fe2c55;
  color: #fff;
  transform: scale(1.08);
}

.pwa-gate-badge {
  align-self: flex-start;
  background: rgba(253, 224, 71, 0.14);
  border: 1px solid rgba(253, 224, 71, 0.5);
  color: #fde047;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.pwa-gate-hero {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pwa-gate-avatar {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid #fe2c55;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(254, 44, 85, 0.4);
}

.pwa-gate-hero h2 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 4px;
}

.pwa-gate-hero p {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

.pwa-gate-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pwa-step-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 11px 13px;
}

.pwa-step-box strong {
  display: block;
  font-size: 13px;
  color: #25f4ee;
  margin-bottom: 4px;
}

.pwa-step-box p {
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.45;
  margin: 0;
}

.pwa-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pwa-install-primary-btn {
  border: none;
  background: linear-gradient(135deg, #fe2c55, #db2777);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 16px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(254, 44, 85, 0.45);
}

.pwa-open-web-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 12px;
}

/* 5-Second Countdown Ad Network Compliant Interstitial Modal */
.ad-interstitial-overlay {
  position: fixed;
  inset: 0;
  z-index: 95000;
  background: rgba(4, 6, 14, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ad-interstitial-card {
  width: 100%;
  max-width: 420px;
  background: #111629;
  border: 1px solid rgba(253, 224, 71, 0.4);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ad-interstitial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ad-sponsor-tag {
  font-size: 11px;
  font-weight: 800;
  color: #fde047;
  background: rgba(253, 224, 71, 0.14);
  padding: 4px 10px;
  border-radius: 999px;
}

.ad-skip-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.ad-skip-btn.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.ad-skip-btn.ready {
  background: #22c55e;
  border-color: #4ade80;
  color: #052e16;
}

.ad-banner-slot {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-native-promo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ad-native-promo img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #fde047;
  flex-shrink: 0;
}

.ad-native-promo strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
}

.ad-native-promo p {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
  margin: 0;
}

.ad-open-tab-btn {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
}

/* =========================================================================
   VIP CLUB MODAL, 50-SLOT PROMO (6868 / VIP2026) & VNCHICHVIP.TOP STARS (?v=9)
   ========================================================================= */
.vip-nav-btn {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(234, 88, 12, 0.25)) !important;
  border-color: rgba(253, 224, 71, 0.65) !important;
  color: #fde047 !important;
  font-weight: 800 !important;
}

.vip-nav-btn.is-vip-active {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #090a10 !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.55);
}

.vip-club-modal-card {
  max-width: 780px !important;
  background: #12101e !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

.vip-modal-main-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px;
  border-radius: 14px;
}

.vip-main-tab-btn {
  border: 1px solid transparent;
  background: transparent;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 6px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: all 0.15s ease;
}

.vip-main-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(254, 44, 85, 0.22));
  border-color: rgba(253, 224, 71, 0.55);
  color: #fde047;
}

.vip-active-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(234, 179, 8, 0.18));
  border: 1px solid rgba(74, 222, 128, 0.55);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.vas-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vas-crown {
  font-size: 24px;
}

.vas-left strong {
  display: block;
  font-size: 13.5px;
  color: #fde047;
}

.vas-left span {
  font-size: 11.5px;
  color: #bbf7d0;
}

.vas-expire-pill {
  background: #22c55e;
  color: #052e16;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 50-Slot 1-Month Free VIP Promo Box (6868 & VIP2026) */
.vip-promo-50-box {
  background: linear-gradient(145deg, rgba(24, 20, 34, 0.95), rgba(14, 14, 22, 0.98));
  border: 1px solid rgba(245, 196, 81, 0.32);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vp50-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.vp50-badge {
  background: rgba(245, 196, 81, 0.14);
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: #f5c451;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
}

.vp50-slots {
  font-size: 11px;
  font-weight: 700;
  color: #fde68a;
}

.vip-promo-50-box h4 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.vip-promo-50-box p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 12px;
}

.vp50-input-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.vp50-input-row input {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: rgba(6, 7, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  color: #f5c451;
  font-size: 12.5px;
  font-weight: 800;
}

.vp50-claim-btn {
  flex-shrink: 0;
  border: none;
  background: linear-gradient(135deg, #f5c451, #d97706);
  color: #09090d;
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(245, 196, 81, 0.28);
}

.vp50-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.vp50-pill {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.vp50-pill:hover {
  border-color: rgba(245, 196, 81, 0.5);
  color: #f5c451;
}

/* 2-SUBTAB SWITCHER & CLEAR MONEY TRANSPARENCY NOTICES (v82) */
.vip-subtabs-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  margin-bottom: 14px;
  background: rgba(9, 11, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.vip-subtab-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 8px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  line-height: 1.2;
  transition: all 0.16s ease;
}

.vip-subtab-btn.active {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(245, 158, 11, 0.14));
  border-color: rgba(250, 204, 21, 0.55);
  color: #fef08a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

.vip-subtab-badge {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: #6ee7b7;
}

.vip-money-notice-card {
  margin: 0 0 12px;
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.5;
  color: #e2e8f0;
}

.vip-money-notice-card.is-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.11), rgba(217, 119, 6, 0.08));
  border: 1px solid rgba(251, 191, 36, 0.38);
}

.vip-money-notice-card.is-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.vmn-head {
  font-weight: 800;
  font-size: 12.2px;
  margin-bottom: 4px;
  color: #fde68a;
}

.vip-money-notice-card.is-emerald .vmn-head {
  color: #34d399;
}

.vmn-text {
  margin: 0 0 9px;
  color: #f1f5f9;
}

.vmn-bullets {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.8px;
}

.vmn-switch-btn {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(52, 211, 153, 0.55);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.28));
  color: #a7f3d0;
  font-size: 11.8px;
  font-weight: 800;
  padding: 8px 11px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.vmn-switch-btn:hover {
  filter: brightness(1.12);
}

.vmn-switch-btn:active {
  transform: scale(0.98);
}

/* VNCHICHVIP.TOP Telegram Stars Section */
.vnchichvip-stars-section,
.vnc-stars-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vstars-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}

.vstars-head-title-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.vstars-section-head strong {
  font-size: 13.5px;
  color: #fde047;
  white-space: nowrap;
}

.vstars-sync-dot {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}

.vstars-portal-link {
  flex-shrink: 0;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8 !important;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

/* Founder Pass Hero Card (Redesigned v82 Flagship Layout — No Broken Columns) */
.founder-nft-card {
  background: radial-gradient(circle at top right, rgba(234, 179, 8, 0.18), transparent 55%),
              linear-gradient(145deg, #1f1930 0%, #100e1b 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.55);
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.f-nft-top-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.f-badge-cyan {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.22), rgba(161, 98, 7, 0.28));
  border: 1px solid rgba(250, 204, 21, 0.65);
  color: #fef08a;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.2);
}

.f-badge-fire {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.28), rgba(185, 28, 28, 0.32));
  border: 1px solid rgba(248, 113, 113, 0.55);
  color: #fecaca;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.22);
}

.f-nft-body {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.f-nft-art-wrap {
  width: 112px;
  aspect-ratio: 896 / 1200;
  border-radius: 13px;
  overflow: hidden;
  border: 2px solid #facc15;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.38);
  background: #0f0d1a;
}

.f-nft-art-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.f-nft-art-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.f-nft-serial {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(30, 27, 75, 0.95));
  border: 1px solid rgba(250, 204, 21, 0.65);
  color: #fde047;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.f-nft-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f-nft-title-row h4 {
  font-size: 14.5px;
  font-weight: 900;
  background: linear-gradient(90deg, #fef08a, #facc15, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1.25;
}

.f-nft-perk-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.f-nft-perk-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 6px;
  font-size: 11.8px;
  color: #e2e8f0;
  line-height: 1.4;
}

.f-nft-ico {
  font-size: 12.5px;
  line-height: 1.3;
}

.f-nft-txt {
  display: block;
  min-width: 0;
}

.f-nft-perk-list li b {
  color: #fde047;
  font-weight: 800;
}

.f-nft-progress-box {
  background: rgba(9, 10, 18, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 7px 10px;
}

.f-nft-prog-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #cbd5e1;
  margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
}

.f-nft-prog-row strong {
  color: #facc15;
  font-weight: 800;
  white-space: nowrap;
}

.f-nft-prog-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.f-nft-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #facc15 0%, #f97316 55%, #ef4444 100%);
  border-radius: 99px;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.7);
  transition: width 0.5s ease;
}

.f-nft-web3-note {
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-size: 11.2px;
  line-height: 1.45;
  color: #cbd5e1;
}

.f-nft-web3-note b {
  color: #7dd3fc;
}

.f-nft-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(250, 204, 21, 0.18);
  flex-wrap: wrap;
}

.f-nft-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.f-nft-price-main {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.f-star-ico {
  font-size: 18px;
  line-height: 1;
}

.f-nft-price-main strong {
  font-size: 21px;
  font-weight: 900;
  color: #facc15;
  line-height: 1.05;
  text-shadow: 0 2px 10px rgba(250, 204, 21, 0.35);
}

.f-nft-price-sub {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
}

.f-nft-actions-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 170px;
}

.f-nft-buy-btn {
  width: 100%;
  border: 1px solid rgba(254, 240, 138, 0.65);
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #ea580c 100%);
  color: #090a10;
  font-size: 12.5px;
  font-weight: 900;
  padding: 9px 14px;
  border-radius: 11px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.42);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.f-nft-buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.6);
}

.f-nft-crypto-btn {
  width: 100%;
  border: 1px solid rgba(52, 211, 153, 0.48);
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  font-size: 11.5px;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .f-nft-art-wrap {
    width: 96px;
  }
  .f-nft-actions-col {
    min-width: 100%;
  }
}

/* PHÒNG TRƯNG BÀY BỘ SƯU TẬP NFT ĐÃ ĐÚC SẴN (PRE-MINTED SHOWCASE) */
.nft-showcase-section {
  background: linear-gradient(145deg, rgba(16, 20, 34, 0.96), rgba(9, 11, 20, 0.98));
  border: 1px solid rgba(250, 204, 21, 0.28);
  border-radius: 16px;
  padding: 12px;
}

.nft-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.nft-showcase-head strong {
  display: block;
  font-size: 13px;
  color: #fef08a;
}

.nft-showcase-head span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

.nft-showcase-link {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde047;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nft-showcase-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.nft-showcase-rail::-webkit-scrollbar {
  height: 4px;
}

.nft-showcase-rail::-webkit-scrollbar-thumb {
  background: rgba(250, 204, 21, 0.35);
  border-radius: 99px;
}

.nft-sc-card {
  flex: 0 0 132px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.nft-sc-card.is-genesis {
  border-color: rgba(56, 189, 248, 0.45);
}

.nft-sc-card.is-mythic {
  border-color: rgba(250, 204, 21, 0.65);
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.18);
}

.nft-sc-card:hover {
  transform: translateY(-2px);
}

.nft-sc-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #090b12;
  overflow: hidden;
}

.nft-sc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nft-sc-serial {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(9, 11, 20, 0.88);
  border: 1px solid rgba(250, 204, 21, 0.55);
  color: #fde047;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.nft-sc-status {
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
}

.nft-sc-status.sale {
  background: rgba(16, 185, 129, 0.9);
  color: #042f2e;
}

.nft-sc-status.auction {
  background: rgba(245, 158, 11, 0.92);
  color: #1c1917;
}

.nft-sc-meta {
  padding: 7px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nft-sc-tier {
  font-size: 9.5px;
  font-weight: 800;
  color: #7dd3fc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nft-sc-meta strong {
  font-size: 11px;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nft-sc-meta small {
  font-size: 9.5px;
  color: #facc15;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* VIP Nickname NFT Upgrade Box & Vivi 18+ VIP Badge */
.auth-pin-meta {
  font-size: 11px;
  color: #fde047;
  margin-top: 4px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.auth-nft-upgrade-box {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.85), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.anu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.anu-head strong {
  font-size: 13px;
  color: #fde047;
}

.anu-tag {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  white-space: nowrap;
}

.auth-nft-upgrade-box p {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.42;
  margin: 0 0 10px;
}

.anu-mint-btn {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #090a10;
  font-weight: 900;
  font-size: 12.5px;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.cp-model-badge.vip-only-tag {
  background: linear-gradient(135deg, #facc15, #ea580c) !important;
  color: #090a10 !important;
  font-weight: 900 !important;
}

/* 4-Column Plans Grid (50 ⭐ | 100 ⭐ | 200 ⭐ | 600 ⭐) */
.vstars-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.vstar-plan-card {
  background: #171528;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 13px 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.vstar-plan-card.hot {
  background: linear-gradient(180deg, #25172e 0%, #171528 100%);
  border: 1.5px solid #f97316;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.22);
}

.vstar-plan-card.gold {
  border: 1px solid rgba(250, 204, 21, 0.45);
}

.vp-hot-ribbon {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ea580c, #db2777);
  color: #fff;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.vp-head {
  text-align: center;
  margin-bottom: 8px;
}

.vp-head strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
}

.vp-head span {
  font-size: 11px;
  color: #94a3b8;
}

.vp-head .hot-sub {
  color: #fde047;
  font-weight: 800;
  font-size: 10px;
}

.vp-head .gold-sub {
  color: #facc15;
  font-weight: 800;
  font-size: 10px;
}

.vp-price {
  text-align: center;
  margin-bottom: 10px;
}

.vp-price strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: #facc15;
}

.vp-price span {
  font-size: 10.5px;
  color: #64748b;
}

.vp-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.vp-buy-btn {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #252338;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 8px;
  border-radius: 10px;
  cursor: pointer;
}

.vp-buy-btn.hot-btn {
  border: none;
  background: linear-gradient(90deg, #f97316, #ec4899);
  color: #fff;
}

.vp-buy-btn.gold-btn {
  border: none;
  background: linear-gradient(90deg, #facc15, #eab308);
  color: #090a10;
}

/* OAuth Quick Buttons inside Dynamic Auth Mount */
.oauth-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.oauth-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
}

.oauth-btn.telegram {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border-color: #38bdf8;
}

.oauth-btn.google {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.ad-vip-upsell-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}

.ad-claim-vip-btn {
  width: 100%;
  border: 1px solid rgba(253, 224, 71, 0.55);
  background: rgba(254, 44, 85, 0.2);
  color: #fde047;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.ad-star-vip-btn {
  width: 100%;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(2, 132, 199, 0.2);
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .vstars-plans-grid {
    grid-template-columns: 1fr 1fr;
  }
  .oauth-quick-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================================
   V12 LUXURY UPGRADE: MICRO-ANIMATIONS, GIFT BOUTIQUE, LEADERBOARD,
   VIP COMMENTS, PROFILE CARDS & PREMIUM PLAYER SKIN
   ========================================================================= */

@keyframes luxFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes luxShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes luxPulseGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(245, 196, 81, 0.25), inset 0 0 8px rgba(245, 196, 81, 0.15);
    border-color: rgba(245, 196, 81, 0.45);
  }
  50% {
    box-shadow: 0 0 22px rgba(245, 196, 81, 0.55), inset 0 0 14px rgba(245, 196, 81, 0.3);
    border-color: rgba(245, 196, 81, 0.85);
  }
}

@keyframes luxHeartBurst {
  0% { transform: scale(1); }
  40% { transform: scale(1.38); }
  75% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

@keyframes giftBannerSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px) scale(0.9);
  }
  15% {
    opacity: 1;
    transform: translateX(0) scale(1.03);
  }
  25% {
    transform: translateX(0) scale(1);
  }
  85% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
  }
}

/* Smooth entrance for Split Sheets & Modals */
.split-sheet-panel:not(.hidden) {
  animation: luxFadeSlideUp 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(9, 10, 16, 0.88);
  border-top: 1px solid rgba(245, 196, 81, 0.22);
  box-shadow: 0 -10px 44px rgba(0, 0, 0, 0.65);
}

.modal-backdrop:not(.hidden) .modal-card {
  animation: luxFadeSlideUp 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Right Rail Gift Icon Glow */
.gift-action-item .gift-glow-icon {
  color: #f5c451;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.24) 0%, rgba(255, 42, 95, 0.14) 100%);
  border: 1px solid rgba(245, 196, 81, 0.45);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: luxPulseGlow 2.6s infinite ease-in-out;
}

.tt-action-item.liked #tt-like-icon svg {
  color: #ff2a5f;
  fill: #ff2a5f;
  animation: luxHeartBurst 0.35s ease;
}

/* Live Luxury Gift Banner on Video Overlay */
.tt-live-gift-banner {
  position: absolute;
  top: 66px;
  left: 14px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(12, 12, 20, 0.92), rgba(45, 22, 38, 0.92));
  border: 1px solid rgba(245, 196, 81, 0.65);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 196, 81, 0.25);
  pointer-events: none;
  animation: giftBannerSlideIn 3.6s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

.lgb-icon {
  font-size: 26px;
  filter: drop-shadow(0 2px 8px rgba(245, 196, 81, 0.5));
}

.lgb-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.lgb-info strong {
  font-size: 12.5px;
  color: #f5c451;
  font-weight: 800;
}

.lgb-info span {
  font-size: 11.5px;
  color: #f8fafc;
}

.lgb-combo {
  font-size: 15px;
  font-weight: 900;
  font-style: italic;
  color: #fde047;
  text-shadow: 0 0 10px rgba(245, 196, 81, 0.8);
  padding-left: 4px;
}

/* 2x Speed Pill & Double-Tap Seek Feedback */
.tt-speed-2x-pill {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 46;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(8, 8, 14, 0.86);
  border: 1px solid rgba(245, 196, 81, 0.55);
  color: #f5c451;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.tt-seek-feedback {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 44;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(10, 12, 20, 0.92);
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: #f5c451;
  font-size: 11.5px;
  font-weight: 800;
  pointer-events: none;
  animation: luxHeartBurst 0.45s ease;
}

.tt-seek-feedback.left { left: 26px; }
.tt-seek-feedback.right { right: 68px; }

/* Premium Gradient Scrubber Bar & Time Tooltip */
.tt-scrubber-wrap {
  position: relative;
  width: 100%;
  padding: 6px 0 2px;
}

.tt-scrubber-tooltip {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(8, 8, 14, 0.92);
  border: 1px solid rgba(245, 196, 81, 0.5);
  color: #f5c451;
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
  white-space: nowrap;
}

#tt-scrubber, #yt-scrubber {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5c451 0%, #ff2a5f 50%, rgba(255, 255, 255, 0.22) 100%);
  outline: none;
  transition: height 0.15s ease;
}

#tt-scrubber:hover, #yt-scrubber:hover {
  height: 6px;
}

#tt-scrubber::-webkit-slider-thumb, #yt-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f5c451;
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(245, 196, 81, 0.85);
  cursor: pointer;
}

/* Luxury Gift Boutique Sheet */
.gift-sheet-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gift-sheet-sub {
  font-size: 11.5px;
  color: #94a3b8;
}

.gift-rank-link-btn {
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.18), rgba(245, 196, 81, 0.06));
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: #f5c451;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}

.gift-hostess-banner {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.1), rgba(255, 42, 95, 0.08));
  border: 1px solid rgba(245, 196, 81, 0.25);
}

.gift-hostess-banner img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f5c451;
}

.ghb-text strong {
  display: block;
  font-size: 12.5px;
  color: #f5c451;
  margin-bottom: 2px;
}

.ghb-text p {
  font-size: 11.5px;
  color: #e2e8f0;
  line-height: 1.35;
}

.luxury-gifts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 12px;
}

.lux-gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px 11px;
  border-radius: 14px;
  background: rgba(18, 20, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.lux-gift-card:hover, .lux-gift-card:active {
  transform: translateY(-2px);
  border-color: rgba(245, 196, 81, 0.65);
  box-shadow: 0 8px 22px rgba(245, 196, 81, 0.16);
}

.lux-gift-card.gold-tier {
  background: linear-gradient(160deg, rgba(35, 28, 14, 0.85), rgba(16, 18, 28, 0.9));
  border-color: rgba(245, 196, 81, 0.32);
}

.lux-gift-card.diamond-tier {
  background: linear-gradient(160deg, rgba(12, 32, 46, 0.85), rgba(16, 18, 28, 0.9));
  border-color: rgba(56, 189, 248, 0.35);
}

.lux-gift-card.penthouse-tier {
  background: linear-gradient(160deg, rgba(46, 14, 28, 0.88), rgba(28, 20, 10, 0.92));
  border-color: rgba(245, 196, 81, 0.55);
  animation: luxPulseGlow 3s infinite ease-in-out;
}

.lgc-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.lgc-badge.free { background: rgba(34, 197, 94, 0.22); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.4); }
.lgc-badge.pink { background: rgba(255, 42, 95, 0.22); color: #fda4af; border: 1px solid rgba(255, 42, 95, 0.4); }
.lgc-badge.gold { background: rgba(245, 196, 81, 0.22); color: #fde047; border: 1px solid rgba(245, 196, 81, 0.45); }
.lgc-badge.royal { background: rgba(168, 85, 247, 0.25); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.45); }
.lgc-badge.cyan { background: rgba(56, 189, 248, 0.22); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.45); }
.lgc-badge.fire { background: linear-gradient(90deg, #ff2a5f, #f5c451); color: #09090b; }

.lgc-icon {
  font-size: 30px;
  margin-bottom: 5px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.lgc-name {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.lgc-desc {
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 6px;
  text-align: center;
}

.lgc-price {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.16);
  border: 1px solid rgba(245, 196, 81, 0.35);
  color: #f5c451;
  font-size: 11px;
  font-weight: 800;
}

.gift-sheet-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: #cbd5e1;
}

.gsf-vip-btn {
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5c451, #d97706);
  color: #09090b;
  font-size: 11.5px;
  font-weight: 900;
  border: none;
  cursor: pointer;
}

/* Leaderboard Sheet Styling */
.lb-pool-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.16), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(245, 196, 81, 0.4);
}

.lb-pool-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 0.04em;
}

.lb-pool-val {
  font-size: 18px;
  font-weight: 900;
  color: #f5c451;
}

.lb-pool-right {
  text-align: right;
  font-size: 11px;
  color: #94a3b8;
}

.lb-pool-right strong {
  display: block;
  font-size: 13.5px;
  color: #38bdf8;
}

.leaderboard-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lb-row-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(17, 19, 30, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.lb-row-card:hover {
  border-color: rgba(245, 196, 81, 0.45);
  transform: translateX(2px);
}

.lb-row-card.rank-1 {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.18), rgba(20, 18, 28, 0.92));
  border-color: rgba(245, 196, 81, 0.55);
}

.lb-row-card.rank-2 {
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.12), rgba(20, 18, 28, 0.92));
  border-color: rgba(226, 232, 240, 0.35);
}

.lb-row-card.rank-3 {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(20, 18, 28, 0.92));
  border-color: rgba(217, 119, 6, 0.4);
}

.lb-rank-num {
  width: 28px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  color: #94a3b8;
}

.lb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 196, 81, 0.5);
}

.lb-user-info {
  flex: 1;
  min-width: 0;
}

.lb-user-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lb-user-top strong {
  font-size: 13px;
  color: #fff;
}

.lb-user-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.16);
  border: 1px solid rgba(245, 196, 81, 0.38);
  color: #f5c451;
}

.lb-user-sub {
  font-size: 11px;
  color: #94a3b8;
}

.lb-stars-col {
  text-align: right;
}

.lb-stars-col strong {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
  color: #f5c451;
}

.lb-stars-col span {
  font-size: 10.5px;
  color: #94a3b8;
}

/* Enhanced VIP Comments with Shimmer Badges & Pin Indicator */
.yt-style-comment-item.vip-comment-highlight {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.07), rgba(15, 17, 26, 0.65));
  border: 1px solid rgba(245, 196, 81, 0.24);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.cmt-pinned-banner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: #f5c451;
  margin-bottom: 4px;
}

.cmt-vip-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1.5px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(90deg, rgba(245, 196, 81, 0.22), rgba(255, 42, 95, 0.2), rgba(245, 196, 81, 0.22));
  background-size: 200% 100%;
  animation: luxShimmer 4s infinite linear;
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: #fde047;
}

.cmt-reply-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  margin-right: 4px;
}

.yt-cmt-avatar {
  cursor: pointer;
  transition: transform 0.15s ease;
}

.yt-cmt-avatar:hover {
  transform: scale(1.08);
}

/* Luxury VIP Profile Modal Card */
.luxury-profile-modal-card {
  max-width: 390px;
  padding: 24px 20px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(165deg, rgba(16, 18, 28, 0.96), rgba(8, 9, 15, 0.98));
  border: 1px solid rgba(245, 196, 81, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 196, 81, 0.15);
}

.profile-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
}

.lp-header-glow {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 120px;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.lp-avatar-ring {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 10px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #f5c451, #ff2a5f, #38bdf8);
}

.lp-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #09090b;
}

.lp-rank-pill {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: #f5c451;
  color: #09090b;
  font-size: 9.5px;
  font-weight: 900;
  white-space: nowrap;
}

.lp-display-name {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 2px;
}

.lp-handle {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.lp-main-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.16);
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: #f5c451;
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 16px;
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.lp-stat-box {
  padding: 9px 4px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.lp-stat-box strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #f5c451;
}

.lp-stat-box span {
  font-size: 10px;
  color: #94a3b8;
}

.lp-honors-section {
  text-align: left;
  margin-bottom: 16px;
}

.lp-honors-title {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #cbd5e1;
  margin-bottom: 7px;
}

.lp-honors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lp-honor-tag {
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 196, 81, 0.28);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
}

.lp-actions-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lp-btn-gift {
  padding: 10px;
  border-radius: 11px;
  background: rgba(255, 42, 95, 0.18);
  border: 1px solid rgba(255, 42, 95, 0.45);
  color: #fda4af;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lp-btn-vip {
  padding: 10px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f5c451, #d97706);
  border: none;
  color: #09090b;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

/* =========================================================================
   V13 LUXURY UPGRADE: LANDSCAPE MODE, LONG-PRESS MENU, BOOKMARK, STREAK & WHEEL
   ========================================================================= */

/* 1. Top-Left Floating Lucky Coin Widget (Image 1 & 2) */
.tt-lucky-coin-widget,
#tt-lucky-coin-widget,
#btn-open-vnc-ledger {
  display: none !important;
}

.tt-lucky-coin-widget {
  position: absolute;
  top: 56px;
  left: 14px;
  z-index: 26;
  width: 44px;
  height: 48px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.25s ease;
}
.tt-lucky-coin-widget:hover {
  transform: scale(1.08);
}
.tt-lucky-coin-widget .lcw-ring {
  position: absolute;
  top: 0;
  left: 1px;
  transform: rotate(-90deg);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6));
}
.tt-lucky-coin-widget .lcw-coin-core {
  position: relative;
  z-index: 2;
  margin-top: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: luxPulseGlow 2.6s infinite ease-in-out;
  border-radius: 50%;
}
.tt-lucky-coin-widget .lcw-badge {
  position: relative;
  z-index: 3;
  margin-top: -4px;
  background: linear-gradient(135deg, #ff5e2b, #f5c451);
  color: #090a0f;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* 2. Floating Center Landscape Pill for 16:9 Videos (Image 1) */
.tt-landscape-pill {
  position: absolute;
  left: 50%;
  top: 66%;
  transform: translate(-50%, -50%);
  z-index: 25;
  background: rgba(18, 20, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease;
}
.tt-landscape-pill:hover,
.tt-landscape-pill:active {
  background: rgba(245, 196, 81, 0.22);
  border-color: #f5c451;
  transform: translate(-50%, -50%) scale(1.04);
}

/* 3. Floating Restore Pill for Clear Display Mode / Landscape Mode */
.tt-restore-clean-btn {
  position: absolute;
  bottom: 36px;
  right: 16px;
  z-index: 48;
  background: rgba(14, 16, 24, 0.94);
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: #f5c451;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
}

/* Clear Display Mode & Landscape Rotated States (Keep Scrubber Bar & Landscape Pill visible!) */
#platform-shortv.tt-clear-display .shortv-top-tabs,
#platform-shortv.tt-clear-display .shortv-right-rail,
#platform-shortv.tt-clear-display .tt-lucky-coin-widget,
#platform-shortv.tt-clear-display .tt-nav-arrows,
#platform-shortv.tt-clear-display .tt-live-gift-banner,
body.tt-clear-display-active #floating-companion {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.22s ease;
}

#platform-shortv.tt-clear-display .tt-bottom-comment-bar,
#platform-shortv.tt-landscape-rotated .tt-bottom-comment-bar {
  display: none !important;
}

#platform-shortv.tt-clear-display .shortv-bottom-info,
#platform-shortv.tt-landscape-rotated .shortv-bottom-info {
  background: transparent !important;
  pointer-events: none !important;
  padding: 0 12px 6px !important;
}

#platform-shortv.tt-clear-display .shortv-bottom-info .tt-template-pill,
#platform-shortv.tt-clear-display .shortv-bottom-info .tt-author-row,
#platform-shortv.tt-clear-display .shortv-bottom-info .tt-video-title,
#platform-shortv.tt-clear-display .shortv-bottom-info .tt-tags-row,
#platform-shortv.tt-clear-display .shortv-bottom-info .tt-contextual-search-bar,
#platform-shortv.tt-landscape-rotated .shortv-bottom-info .tt-template-pill,
#platform-shortv.tt-landscape-rotated .shortv-bottom-info .tt-author-row,
#platform-shortv.tt-landscape-rotated .shortv-bottom-info .tt-video-title,
#platform-shortv.tt-landscape-rotated .shortv-bottom-info .tt-tags-row,
#platform-shortv.tt-landscape-rotated .shortv-bottom-info .tt-contextual-search-bar {
  display: none !important;
}

.tt-scrubber-time-row {
  display: none;
}

#platform-shortv.tt-clear-display .shortv-bottom-info .tt-scrubber-time-row,
#platform-shortv.tt-landscape-rotated .shortv-bottom-info .tt-scrubber-time-row {
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 5px;
  pointer-events: none;
}

#tt-clear-time-display {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(8, 10, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

#platform-shortv.tt-clear-display .shortv-bottom-info .tt-scrubber-wrap,
#platform-shortv.tt-landscape-rotated .shortv-bottom-info .tt-scrubber-wrap {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  padding: 6px 0 4px !important;
  z-index: 54 !important;
}

#platform-shortv.tt-clear-display #tt-scrubber,
#platform-shortv.tt-landscape-rotated #tt-scrubber {
  height: 5px !important;
}

#platform-shortv.tt-clear-display .tt-restore-clean-btn {
  opacity: 0.38;
  transform: scale(0.88);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#platform-shortv.tt-clear-display .tt-restore-clean-btn:hover,
#platform-shortv.tt-clear-display .tt-restore-clean-btn:active {
  opacity: 0.95;
  transform: scale(1);
}

#platform-shortv.tt-landscape-rotated .tt-lucky-coin-widget,
#platform-shortv.tt-landscape-rotated .tt-landscape-pill,
#platform-shortv.tt-landscape-rotated .tt-nav-arrows {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 4. Bookmark / Favorite Active State on Right Rail (Image 5) */
#tt-btn-desc-sheet.bookmarked .tt-action-icon {
  color: #f5c451 !important;
  filter: drop-shadow(0 0 10px rgba(245, 196, 81, 0.7));
  animation: luxHeartBurst 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#tt-btn-desc-sheet.bookmarked .tt-action-count {
  color: #f5c451;
  font-weight: 700;
}

/* 5. Long-Press Quick Control Menu (Image 2 Style) */
.quick-menu-sheet {
  background: rgba(16, 18, 26, 0.96) !important;
}
.qm-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 16px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.qm-header-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}
.qm-close-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.qm-close-btn:hover {
  background: rgba(244, 63, 94, 0.28);
  border-color: rgba(244, 63, 94, 0.5);
}
.qm-sheet-body {
  padding: 8px 14px 20px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qm-card-group {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.qm-row {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 13px 16px;
  color: #f3f4f8;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: background 0.15s ease;
}
.qm-row:last-child {
  border-bottom: none;
}
.qm-action-btn {
  cursor: pointer;
}
.qm-action-btn:hover,
.qm-action-btn:active {
  background: rgba(245, 196, 81, 0.1);
}
.qm-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qm-row-left svg {
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}
.qm-speed-pills {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.38);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.qm-speed-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.qm-speed-btn.active {
  background: #ffffff;
  color: #0b0d14;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* 6. 7-Day Streak Check-in & Royal Lucky Wheel (#sheet-rewards) */
.rewards-sheet-body {
  padding: 10px 14px 24px !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.streak-card-box,
.wheel-card-box {
  background: linear-gradient(145deg, rgba(24, 27, 40, 0.9), rgba(12, 14, 22, 0.95));
  border: 1px solid rgba(245, 196, 81, 0.22);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.streak-header-row,
.wheel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.streak-header-row strong,
.wheel-header-row strong {
  color: #f5c451;
  font-size: 14.5px;
  display: block;
}
.streak-header-row span,
.wheel-header-row span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11.5px;
}
.streak-count-pill {
  background: rgba(245, 196, 81, 0.18);
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: #f5c451 !important;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.streak-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.streak-day-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 7px 3px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.streak-day-item span {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.6);
}
.streak-day-item strong {
  font-size: 11px;
  color: #fff;
}
.streak-day-item.claimed {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.25), rgba(255, 94, 43, 0.2));
  border-color: #f5c451;
}
.streak-day-item.claimed strong {
  color: #f5c451;
}
.streak-day-item.grand-day {
  border-color: rgba(255, 42, 95, 0.55);
  background: linear-gradient(135deg, rgba(255, 42, 95, 0.18), rgba(245, 196, 81, 0.18));
}
.btn-claim-checkin,
.btn-spin-wheel {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  color: #090b10;
  background: linear-gradient(135deg, #f5c451, #ff9900);
  box-shadow: 0 4px 15px rgba(245, 196, 81, 0.35);
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.btn-claim-checkin:hover,
.btn-spin-wheel:hover {
  transform: translateY(-1px);
}
.lucky-wheel-stage {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 4px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: #ff2a5f;
  font-size: 22px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}
.lucky-wheel-disc {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  border: 4px solid #f5c451;
  box-shadow: 0 0 24px rgba(245, 196, 81, 0.35), inset 0 0 18px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  background: conic-gradient(
    #2b1644 0deg 60deg,
    #162238 60deg 120deg,
    #3a192e 120deg 180deg,
    #1b2d2a 180deg 240deg,
    #422914 240deg 300deg,
    #291538 300deg 360deg
  );
  transition: transform 3.8s cubic-bezier(0.12, 0.8, 0.18, 1);
}
.wheel-slice {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 24px;
  margin-top: -12px;
  transform-origin: left center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.wheel-slice.s0 { transform: rotate(-60deg); }
.wheel-slice.s1 { transform: rotate(0deg); }
.wheel-slice.s2 { transform: rotate(60deg); }
.wheel-slice.s3 { transform: rotate(120deg); }
.wheel-slice.s4 { transform: rotate(180deg); }
.wheel-slice.s5 { transform: rotate(240deg); }
.wheel-center-cap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #f5c451, #b8860b);
  color: #090b10;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* 7. Skeleton Shimmer Loading Placeholder */
.skeleton-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(245,196,81,0.12) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: luxShimmer 1.5s infinite linear;
  border-radius: 12px;
}

/* =========================================================================
   V16 BIGO LIVE / SHORTV LIVE 3D GIFT TRAY & CLEAN TYPOGRAPHY SYSTEM
   ========================================================================= */

/* 1. Bigo / Shortv Live Gift Sheet Container */
#sheet-gifts.gift-tray-sheet {
  background: rgba(18, 18, 24, 0.97) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.gift-tray-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  gap: 8px;
}

.gift-tray-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gift-tray-tabs::-webkit-scrollbar {
  display: none;
}

.gt-tab {
  position: relative;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.gt-tab.active {
  color: #ffffff;
  font-weight: 600;
}

.gt-tab.active::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 2.5px;
  border-radius: 99px;
  background: #ffffff;
}

.gift-tray-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gt-rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.14);
  border: 1px solid rgba(245, 196, 81, 0.35);
  color: #f5c451;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

/* 2. Compact Hostess Live Strip */
.gift-hostess-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px !important;
  margin-top: 4px;
  margin-bottom: 8px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.ghb-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 1.5px;
  background: linear-gradient(135deg, #ff2a5f, #f5c451);
}

.ghb-avatar-wrap img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #121218 !important;
}

.ghb-live-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 1.5px solid #121218;
}

.ghb-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1px;
}

.ghb-name-row strong {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.ghb-role-pill {
  font-size: 9px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 42, 95, 0.18);
  color: #fda4af;
}

.ghb-text p {
  font-size: 11.5px !important;
  font-weight: 400;
  color: rgba(226, 232, 240, 0.78) !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

/* 3. Bigo / Shortv Live 4x2 Borderless 3D Gift Grid */
.luxury-gifts-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px 4px !important;
  padding: 4px 0 8px !important;
  margin-bottom: 6px !important;
}

.lux-gift-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 4px 8px !important;
  border-radius: 12px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.lux-gift-card:hover,
.lux-gift-card:active {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px);
}

.lgc-tag-pill {
  position: absolute;
  top: 3px;
  right: 4px;
  z-index: 3;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 6px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.lgc-tag-pill.free {
  background: rgba(254, 44, 85, 0.22);
  color: #ff6b8b;
}
.lgc-tag-pill.gold {
  background: rgba(245, 196, 81, 0.22);
  color: #fde047;
}
.lgc-tag-pill.hot {
  background: linear-gradient(90deg, #ff2a5f, #ff6b4a);
  color: #fff;
}
.lgc-tag-pill.purple {
  background: rgba(168, 85, 247, 0.28);
  color: #e9d5ff;
}
.lgc-tag-pill.fire {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  color: #fff;
}

.lgc-3d-img-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lgc-3d-img-wrap img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.lux-gift-card:hover .lgc-3d-img-wrap,
.lux-gift-card:active .lgc-3d-img-wrap {
  transform: scale(1.1);
}

.lgc-name {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: rgba(241, 245, 249, 0.92) !important;
  letter-spacing: 0.005em !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-bottom: 2px !important;
}

.lgc-coin-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
}

.lgc-coin-row.free-txt {
  background: #fe2c55;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 6px;
}

.gt-coin-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff3b0 0%, #f5c451 55%, #d97706 100%);
  box-shadow: 0 0 4px rgba(245, 196, 81, 0.5);
  flex-shrink: 0;
}

/* 4. Bigo / Shortv Live Gift Tray Bottom Bar */
.gift-sheet-footer-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.gt-reward-shortcut-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 42, 95, 0.14);
  border: 1px solid rgba(255, 42, 95, 0.32);
  color: #fecdd3;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.gt-reward-shortcut-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.gsf-left span {
  font-size: 11.5px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

.gsf-vip-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  white-space: nowrap !important;
  padding: 6px 13px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.gsf-vip-btn:hover {
  background: rgba(245, 196, 81, 0.22) !important;
  border-color: rgba(245, 196, 81, 0.5) !important;
}

/* 5. Clean Shortv-Style Rewards Sheet (#sheet-rewards) */
.streak-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.streak-head-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.streak-header-row strong,
.wheel-header-row strong {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-bottom: 2px;
}

.streak-header-row span,
.wheel-header-row span {
  color: rgba(226, 232, 240, 0.72) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

.streak-day-item {
  align-items: center;
  justify-content: center;
  padding: 8px 3px !important;
  gap: 4px !important;
}

.streak-day-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.streak-day-item strong {
  font-size: 10.5px !important;
  font-weight: 600 !important;
}

.btn-claim-checkin,
.btn-spin-wheel {
  background: linear-gradient(135deg, #fe2c55, #e11d48) !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  padding: 11px 18px !important;
  box-shadow: 0 4px 14px rgba(254, 44, 85, 0.32) !important;
}

/* 6. Clean Shortv-Style 5-Second Ad Interstitial Modal (#ad-interstitial-overlay) */
.ad-interstitial-card {
  max-width: 390px !important;
  background: #16161f !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  padding: 18px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85) !important;
  gap: 14px !important;
}

.ad-sponsor-tag {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  padding: 5px 11px !important;
  border-radius: 999px !important;
}

.ad-skip-btn {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 6px 13px !important;
  border-radius: 999px !important;
}

.ad-skip-btn.ready {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #090a10 !important;
}

.ad-banner-slot {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  min-height: auto !important;
}

.ad-native-promo {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.ad-promo-icon-col {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.22), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(245, 196, 81, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ad-promo-icon-col img {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  border: none !important;
  border-radius: 0 !important;
}

.ad-promo-text-col h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px;
}

.ad-promo-text-col p {
  font-size: 12.5px !important;
  font-weight: 400 !important;
  color: rgba(226, 232, 240, 0.82) !important;
  line-height: 1.48 !important;
  margin: 0 !important;
}

.ad-promo-text-col code {
  background: rgba(245, 196, 81, 0.16);
  color: #fde047;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}

.ad-interstitial-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ad-claim-vip-btn {
  width: 100%;
  border: none !important;
  background: linear-gradient(135deg, #fe2c55, #e11d48) !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(254, 44, 85, 0.32) !important;
}

.ad-secondary-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ad-open-tab-btn,
.ad-star-vip-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(241, 245, 249, 0.9) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 9px 10px !important;
  border-radius: 999px !important;
  cursor: pointer;
}

.ad-open-tab-btn:hover,
.ad-star-vip-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

.lgb-icon img,
.lgb-icon svg {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

/* =========================================================================
   MULTI-CHAIN CRYPTO DEPOSIT BOX & $VNC BLOCKCHAIN LEDGER (v41)
   ========================================================================= */
.crypto-gateway-box {
  margin-top: 4px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.98), rgba(10, 14, 24, 0.99));
  border: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.cg-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.cg-header strong {
  display: block;
  font-size: 13.5px;
  color: #f8fafc;
  margin-bottom: 2px;
}

.cg-header span {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.35;
}

.cg-zero-key-badge {
  font-size: 10.5px !important;
  font-weight: 700;
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.cg-net-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}

.cg-net-btn {
  min-width: 0;
  width: 100%;
  padding: 8px 4px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  overflow: hidden;
  transition: all 0.16s ease;
}

.cg-net-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cg-net-chip-best {
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: #6ee7b7;
  line-height: 1.25;
}

.cg-net-btn.active {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 3px 12px rgba(56, 189, 248, 0.32);
}

.cg-copy-btn.is-copied {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.32), rgba(5, 150, 105, 0.38)) !important;
  border-color: rgba(52, 211, 153, 0.75) !important;
  color: #a7f3d0 !important;
}

.cg-deeplink-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: #7dd3fc;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.14s ease;
}

.cg-deeplink-btn:hover {
  filter: brightness(1.15);
}

.cg-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cg-qr-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.cg-qr-frame {
  width: 148px;
  height: 148px;
  border-radius: 16px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cg-qr-col img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.cg-qr-col span {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.3;
}

.cg-info-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cg-addr-label {
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  text-align: center;
}

.cg-addr-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(250, 204, 21, 0.28);
  border-radius: 14px;
  padding: 10px 12px;
}

.cg-addr-box code {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fde047;
  word-break: break-all;
  line-height: 1.4;
  padding: 4px 2px;
}

.cg-copy-btn {
  width: 100%;
  border: 1px solid rgba(250, 204, 21, 0.55);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(217, 119, 6, 0.25));
  color: #fef08a;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.cg-copy-btn:hover {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.35), rgba(217, 119, 6, 0.38));
}

.cg-rate-pills {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  font-size: 11.5px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 8px 10px;
}

.cg-rate-pills a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
}

.cg-verify-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cg-verify-form input {
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-size: 12px;
  outline: none;
  text-align: center;
}

.cg-verify-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.vnc-token-dashboard {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vnc-balance-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.38), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.vnc-pill-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.vnc-bal-left h4 {
  margin: 0 0 4px;
  font-size: 22px;
  color: #fde047;
}

.vnc-bal-left p {
  margin: 0;
  font-size: 11.5px;
  color: #cbd5e1;
  max-width: 440px;
}

.vnc-bal-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vnc-burn-btn {
  border: 1px solid rgba(244, 63, 94, 0.45);
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.vnc-burn-btn.gold {
  border-color: rgba(250, 204, 21, 0.5);
  background: linear-gradient(135deg, #d97706, #b45309);
}

.vnc-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.vnc-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 9px 10px;
  text-align: center;
}

.vnc-stat-card span {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
}

.vnc-stat-card strong {
  font-size: 13px;
  color: #f8fafc;
}

.vnc-stat-card strong.burn-val {
  color: #fb7185;
}

.vnc-bind-wallet-box,
.vnc-explorer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
}

.vnc-bind-wallet-box strong,
.vnc-exp-head strong {
  font-size: 12px;
  color: #f1f5f9;
}

.vnc-bind-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.vnc-bind-row select,
.vnc-bind-row input {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11.5px;
}

.vnc-bind-row input {
  flex: 1;
  min-width: 180px;
}

.vnc-bind-row button,
.vnc-refresh-btn {
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.15);
  color: #e0f2fe;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.vnc-bound-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 11px;
  color: #94a3b8;
}

.vnc-bound-pill {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  padding: 3px 9px;
  border-radius: 999px;
}

.vnc-exp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.vnc-ledger-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 210px;
  overflow-y: auto;
}

.vnc-block-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.vbr-left {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.vbr-height {
  color: #38bdf8;
  font-weight: 700;
}

.vbr-net {
  background: rgba(255, 255, 255, 0.09);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  color: #e2e8f0;
}

.vbr-hash {
  color: #94a3b8;
  font-size: 10.5px;
}

.vbr-mid {
  flex: 1;
  color: #cbd5e1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vbr-right {
  font-weight: 700;
  white-space: nowrap;
}

.vbr-right.mint {
  color: #34d399;
}

.vbr-right.burn {
  color: #fb7185;
}

.vnc-nav-pill {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(56, 189, 248, 0.18)) !important;
  border: 1px solid rgba(52, 211, 153, 0.45) !important;
  color: #a7f3d0 !important;
  font-weight: 700 !important;
}

.vnc-nav-pill:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(56, 189, 248, 0.3)) !important;
  border-color: rgba(52, 211, 153, 0.8) !important;
}

/* Clean Sandboxed 300x100 Sponsored Banner Slot (Auto-hidden 100% for VIP Members) */
.vip-sponsored-ad-slot {
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(245, 196, 81, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.vip-sponsored-ad-slot.hidden {
  display: none !important;
}

.vsa-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.vsa-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.vsa-vip-off-btn {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.2), rgba(217, 119, 6, 0.22));
  border: 1px solid rgba(245, 196, 81, 0.48);
  color: #fde68a;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vsa-vip-off-btn:hover {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.35), rgba(217, 119, 6, 0.35));
  color: #ffffff;
}

.vsa-iframe-wrap {
  width: 300px;
  min-height: 100px;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vsa-iframe-wrap iframe {
  width: 300px;
  height: 100px;
  border: 0;
  display: block;
}

/* =========================================================================
   v51: VIP Auto-Next Active State & 10-Swipe 3-Tier Interstitial Ad Slide
   ========================================================================= */
#tt-btn-autonext.active .tt-action-icon {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.25) !important;
  border: 1px solid rgba(52, 211, 153, 0.65) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

#tt-btn-autonext.active .tt-action-count {
  color: #6ee7b7 !important;
  font-weight: 700;
}

.shortv-interstitial-ad-overlay {
  position: absolute;
  inset: 0;
  z-index: 65;
  background: radial-gradient(circle at center, rgba(19, 23, 40, 0.95), rgba(6, 8, 15, 0.98));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px 50px;
}

.shortv-interstitial-ad-overlay.hidden {
  display: none !important;
}

.sia-card {
  width: 100%;
  max-width: 336px;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.12), transparent 52%),
              linear-gradient(165deg, #1b182c 0%, #0e101c 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.48);
  border-radius: 18px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sia-card::-webkit-scrollbar {
  display: none;
}

.sia-top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}

.sia-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: #fde68a;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.sia-top-close-btn {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(250, 204, 21, 0.65);
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #090a10;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

.sia-top-close-btn.disabled,
.sia-top-close-btn:disabled {
  background: rgba(30, 41, 59, 0.78);
  border-color: rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
  box-shadow: none;
  cursor: not-allowed;
}

.sia-banner-slot {
  width: 300px;
  max-width: 100%;
  border-radius: 11px;
  overflow: hidden;
  background: radial-gradient(circle at center, #1e1b4b 0%, #090a12 100%);
  border: 1px solid rgba(250, 204, 21, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.sia-vip-center-card {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 9px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.58), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(250, 204, 21, 0.5);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.sia-vip-title {
  font-size: 12.5px;
  font-weight: 900;
  color: #fef08a;
  margin-bottom: 2px;
}

.sia-vip-desc {
  font-size: 10.8px;
  color: #e2e8f0;
  line-height: 1.32;
  margin: 0 0 7px;
}

.sia-vip-desc b {
  color: #fde047;
}

.sia-vip-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
  width: 100%;
}

.sia-btn-burn,
.sia-btn-upgrade {
  min-width: 0;
  width: 100%;
  padding: 7px 5px;
  border-radius: 9px;
  font-size: 10.8px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.15s ease;
}

.sia-btn-burn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.32);
}

.sia-btn-upgrade {
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #09090b;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35);
}

.sia-skip-btn {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  border: 1px solid rgba(250, 204, 21, 0.72);
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 60%, #ea580c 100%);
  color: #09090b;
  transition: all 0.2s ease;
  box-shadow: 0 5px 16px rgba(245, 158, 11, 0.4);
}

.sia-skip-btn.disabled,
.sia-skip-btn:disabled {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(250, 204, 21, 0.28);
  color: #e2e8f0;
  box-shadow: none;
  cursor: not-allowed;
}

.sia-skip-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.26), rgba(249, 115, 22, 0.36));
  transition: width 0.95s linear;
  pointer-events: none;
}

.sia-skip-btn:not(.disabled) .sia-skip-fill {
  display: none;
}

.sia-skip-label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

/* Redesigned Compact Luxury Ad Modal (Hình 2 — Cinema / VIP Room) */
.ad-interstitial-card.luxury-compact-ad {
  width: 92vw;
  max-width: 384px;
  padding: 16px;
  border-radius: 20px;
  background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.14), transparent 55%),
              linear-gradient(160deg, #1c182e 0%, #0f111e 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.88);
}

.luxury-compact-ad .ad-interstitial-top {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.luxury-compact-ad .ad-sponsor-tag {
  font-size: 12px;
  font-weight: 800;
  color: #fde68a;
  background: transparent;
  padding: 0;
  border: none;
}

.luxury-compact-ad .ad-compact-banner-slot {
  height: 96px;
  width: 100%;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
}

.luxury-compact-ad .ad-banner-slot {
  margin: 0 !important;
  padding: 14px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.45), rgba(15, 23, 42, 0.92)) !important;
  border: 1px solid rgba(250, 204, 21, 0.42) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-height: auto !important;
}

.luxury-compact-ad .ad-native-promo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

.luxury-compact-ad .ad-promo-text-col {
  flex: 1;
  min-width: 0;
}

.luxury-compact-ad .ad-compact-vip-actions {
  margin-top: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
}

.luxury-compact-ad .ad-compact-vip-actions button {
  width: 100% !important;
  padding: 10px 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 11px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Luxury Scrollbar & Collection Card Polish for "Tủ Phim Cá Nhân Của Anh" */
.sheet-scroll-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.sheet-scroll-body::-webkit-scrollbar {
  width: 5px;
}
.sheet-scroll-body::-webkit-scrollbar-track {
  background: transparent;
}
.sheet-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

#collection-grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 6px 2px 18px;
}

.s-result-card,
#collection-grid-container .search-res-card {
  background: linear-gradient(180deg, #1b1c26 0%, #13141c 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.s-result-card:hover,
#collection-grid-container .search-res-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 196, 81, 0.45);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.s-card-thumb-wrap,
#collection-grid-container .search-res-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #08080c;
  overflow: hidden;
}

.s-card-thumb-wrap img,
#collection-grid-container .search-res-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s-card-dur,
#collection-grid-container .search-res-thumb span {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.94);
  color: #f8fafc;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.s-card-body,
#collection-grid-container .search-res-body {
  padding: 9px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  flex: 1;
}

.s-card-title,
#collection-grid-container .search-res-body strong {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.38;
  color: #f1f5f9;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.s-card-meta,
#collection-grid-container .search-res-meta {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s-card-meta span:first-child,
#collection-grid-container .search-res-meta span:first-child {
  color: #f5c451;
  font-weight: 600;
}

/* Live 3D Nickname Preview Card & Golden NFT Armor Toggle (v54) */
.auth-live-preview-wrap {
  background: rgba(9, 11, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 11px 12px;
  margin-bottom: 12px;
}

.alp-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.alp-top-row > span {
  font-size: 11.5px;
  font-weight: 800;
  color: #cbd5e1;
}

.alp-mode-switch {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}

.alp-mode-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.alp-mode-btn.active {
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #090a10;
}

.auth-live-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}

.auth-live-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.alc-meta {
  flex: 1;
  min-width: 0;
}

.alc-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.alc-name-row strong {
  font-size: 15px;
  color: #ffffff;
  font-weight: 900;
}

.alc-serial-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}

.alc-handle {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  margin: 2px 0 4px;
}

.alc-tier-desc {
  font-size: 10.8px;
  color: #cbd5e1;
}

/* Golden NFT Armor State (Shared by Live Preview & Logged-in Card) */
.auth-live-card.nft-armor-active,
.auth-profile-card.nft-armor-active {
  background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.32), transparent 60%),
              linear-gradient(135deg, #311042 0%, #1c1917 50%, #422006 100%) !important;
  border: 2px solid #facc15 !important;
  box-shadow: 0 0 26px rgba(250, 204, 21, 0.45), inset 0 0 14px rgba(250, 204, 21, 0.2) !important;
}

.auth-live-card.nft-armor-active img,
.auth-profile-card.nft-armor-active img {
  border-color: #fde047 !important;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.65);
}

.auth-live-card.nft-armor-active .alc-name-row strong,
.auth-profile-card.nft-armor-active #auth-profile-name {
  background: linear-gradient(90deg, #fef08a, #facc15, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-live-card.nft-armor-active .alc-serial-pill {
  background: linear-gradient(135deg, #fde047, #f59e0b);
  border-color: #fef08a;
  color: #090a10;
}

.anu-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.anu-preview-btn {
  border: 1px solid rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.12);
  color: #fde047;
  font-weight: 800;
  font-size: 11.5px;
  padding: 9px 8px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}

.anu-preview-btn.active {
  background: rgba(250, 204, 21, 0.28);
  border-color: #fde047;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
}

@media (max-width: 440px) {
  .anu-btn-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   v55 WATCH-TO-EARN FLOATING COIN & PROGRESS RING WIDGET (PineDrama Style)
   ========================================================================== */
.watch-earn-floating-pill,
#watch-earn-floating-pill {
  display: none !important;
  position: absolute;
  top: 54px;
  left: 12px;
  z-index: 45;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid rgba(250, 204, 21, 0.45);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 10px rgba(250, 204, 21, 0.2);
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.watch-earn-floating-pill:hover {
  transform: scale(1.08);
  border-color: #fde047;
}

.watch-earn-floating-pill:active {
  transform: scale(0.95);
}

.we-badge-info {
  display: none !important;
}

.we-ring-box {
  width: 44px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.we-svg-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.we-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3.5;
}

.we-ring-progress {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 3.8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s ease, stroke 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.6));
}

.we-flip-card {
  width: 28px;
  height: 28px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.we-flip-card.flipped {
  transform: rotateY(180deg);
}

.we-card-side {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.we-front-gift img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.we-back-coin {
  transform: rotateY(180deg);
  background: radial-gradient(circle, #fde047, #d97706);
  border: 1.5px solid #fef08a;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.9);
}

.we-coin-sym {
  font-size: 16px;
  line-height: 1;
}

.we-badge-info {
  display: flex;
  flex-direction: column;
  margin-left: 7px;
  line-height: 1.15;
}

.we-badge-txt {
  font-size: 11.5px;
  font-weight: 900;
  color: #fde047;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.we-badge-timer {
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

.we-float-burst {
  position: absolute;
  top: -12px;
  left: 20px;
  font-size: 14px;
  font-weight: 900;
  color: #fde047;
  text-shadow: 0 0 10px #f59e0b, 0 0 20px #d97706;
  pointer-events: none;
  white-space: nowrap;
  animation: weFloatBurstAnim 1.25s ease-out forwards;
}

@keyframes weFloatBurstAnim {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }
  20% {
    opacity: 1;
    transform: translateY(-8px) scale(1.2);
  }
  75% {
    opacity: 1;
    transform: translateY(-24px) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translateY(-38px) scale(0.85);
  }
}

.we-long-video-tag {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #b45309);
  border: 1px solid #fef08a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  animation: pulse-glow-tag 1.6s infinite alternate ease-in-out;
  z-index: 5;
}

@keyframes pulse-glow-tag {
  from { transform: translateX(-50%) scale(0.95); box-shadow: 0 0 4px rgba(245, 158, 11, 0.4); }
  to { transform: translateX(-50%) scale(1.05); box-shadow: 0 0 12px rgba(250, 204, 21, 0.9); }
}

.watch-earn-floating-pill.completed {
  border-color: #22c55e !important;
}

.watch-earn-floating-pill.completed::after {
  content: '✓';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: #22c55e;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* ==========================================================================
   v55 REWARDS SHEET: WALLET PROGRESS & DAILY MISSIONS
   ========================================================================== */
.rewards-wallet-box {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.75), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.rwb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.rwb-bal-col {
  display: flex;
  flex-direction: column;
}

.rwb-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
}

.rwb-balance {
  font-size: 18px;
  font-weight: 900;
  color: #fde047;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

.rwb-btn-redeem {
  border: none;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  transition: transform 0.15s ease;
}

.rwb-btn-redeem:active {
  transform: scale(0.95);
}

.rwb-progress-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rwb-prog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 6px;
  color: #cbd5e1;
}

.rwb-prog-head strong {
  color: #38bdf8;
  font-weight: 800;
}

.rwb-bar-bg {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.rwb-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #f59e0b, #fde047);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.rwb-prog-stat-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rwb-pending-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde047;
  border-radius: 999px;
}

.rwb-cycle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 8px;
  flex-wrap: nowrap;
}

.rwb-cycle-left {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 11.5px;
  min-width: 0;
}

.rwb-cycle-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  flex-shrink: 0;
  animation: cyclePulse 1.5s infinite alternate ease-in-out;
}

@keyframes cyclePulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

.rwb-cycle-timer {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}

.rwb-harvest-wrap {
  margin-top: 10px;
}

.rwb-btn-claim-harvest {
  width: 100%;
  border: 1px solid #fef08a;
  background: linear-gradient(135deg, #ef4444, #f59e0b, #d97706);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: block;
  text-align: center;
}

.rwb-btn-claim-harvest .rwb-claim-main {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
}

.rwb-btn-claim-harvest .rwb-claim-sub {
  display: block;
  font-size: 11px;
  opacity: 0.88;
  font-weight: 500;
  margin-top: 2px;
}

.rwb-btn-claim-harvest:active {
  transform: scale(0.97);
}

.rwb-btn-claim-harvest.disabled {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(255, 255, 255, 0.08);
  color: #64748b;
  box-shadow: none;
  cursor: not-allowed;
}

.rwb-vip-auto-tag {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: #fde047;
  text-align: center;
}

/* 7-Day Streak Grid V2 (Exact Image 1: 4 cols top, 3 items bot with Day 7 double width) */
.streak-days-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0 6px 0;
}

.streak-card-item {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.2s ease;
}

.streak-card-item .sci-day {
  font-size: 11px;
  font-weight: 800;
  color: #cbd5e1;
  margin-bottom: 5px;
}

.streak-card-item .sci-icon-wrap {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.streak-card-item .sci-icon-wrap img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.streak-card-item .sci-reward {
  font-size: 11px;
  font-weight: 800;
  color: #fde047;
}

.streak-card-item.active-target {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(217, 119, 6, 0.18));
  border: 1.5px solid #fde047;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.35);
}

.streak-card-item.active-target .sci-day {
  color: #fde047;
  font-weight: 900;
}

.grand-day-card {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(120, 53, 15, 0.4));
  border: 1.5px solid rgba(250, 204, 21, 0.5);
}

.grand-day-card .sci-icon-wrap img {
  width: 40px;
  height: 40px;
}

.grand-day-card .grand-txt {
  color: #fef08a;
  font-weight: 900;
  font-size: 11.5px;
}

.streak-card-item.claimed {
  opacity: 0.6;
}

.streak-card-item.claimed .sci-check-overlay {
  display: flex;
}

.sci-check-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #4ade80;
}

.streak-reset-warning {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin: 6px 0 12px 0;
  font-style: italic;
}

/* ==========================================================================
   v56 LUXURY CASINO GOLD LUCKY WHEEL
   ========================================================================== */
.luxury-casino-box {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.85), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(250, 204, 21, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.wcb-title-col {
  display: flex;
  flex-direction: column;
}

.wcb-title-col strong {
  font-size: 13.5px;
  color: #fde047;
  font-weight: 900;
}

.wcb-title-col span {
  font-size: 10.5px;
  color: #94a3b8;
}

.wcb-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #4ade80;
}

.lucky-wheel-stage.luxury-stage {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-pointer-gold {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.75));
}

.wpg-gem {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff4d6d, #be123c);
  border: 2px solid #fde047;
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.8);
}

.wpg-arrow {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 14px solid #fde047;
  margin-top: -2px;
}

.wheel-outer-bezel {
  width: 242px;
  height: 242px;
  border-radius: 50%;
  padding: 8px;
  background: radial-gradient(circle, #fef08a 0%, #d97706 40%, #78350f 85%, #451a03 100%);
  border: 2px solid #fef08a;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.45), 0 8px 30px rgba(0, 0, 0, 0.75), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lucky-wheel-disc.luxury-disc {
  width: 224px;
  height: 224px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: conic-gradient(
    #dc2626 0deg 60deg,
    #7c3aed 60deg 120deg,
    #059669 120deg 180deg,
    #d97706 180deg 240deg,
    #2563eb 240deg 300deg,
    #db2777 300deg 360deg
  );
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.8);
  transition: transform 3.8s cubic-bezier(0.12, 0.8, 0.18, 1);
}

.wheel-slice-v2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 32px;
  margin-top: -16px;
  transform-origin: left center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  pointer-events: none;
}

.wheel-slice-v2 .wsv-content {
  display: flex;
  align-items: center;
  gap: 4px;
  transform-origin: center center;
}

.wheel-slice-v2 .wsv-content.wsv-flip {
  transform: rotate(180deg);
}

.wheel-slice-v2 .wsv-icon {
  font-size: 15px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
}

.wheel-slice-v2 .wsv-label {
  font-size: 10px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
}

.wheel-slice-v2.s0 { transform: rotate(-60deg); }
.wheel-slice-v2.s1 { transform: rotate(0deg); }
.wheel-slice-v2.s2 { transform: rotate(60deg); }
.wheel-slice-v2.s3 { transform: rotate(120deg); }
.wheel-slice-v2.s4 { transform: rotate(180deg); }
.wheel-slice-v2.s5 { transform: rotate(240deg); }

.wheel-center-cap.gold-cap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffbeb 0%, #fef08a 25%, #f59e0b 60%, #b45309 100%);
  border: 3px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 12px rgba(245, 158, 11, 0.6), inset 0 2px 3px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wheel-center-cap.gold-cap:active {
  transform: translate(-50%, -50%) scale(0.92);
}

.wheel-center-cap.gold-cap .wcc-text {
  font-size: 11.5px;
  font-weight: 900;
  color: #78350f;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.luxury-spin-btn {
  background: linear-gradient(135deg, #ef4444, #f59e0b) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  border: 1px solid #fef08a !important;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4) !important;
}

/* Daily Missions Card */
.daily-missions-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.dm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: #f1f5f9;
}

.dm-reset-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
  border-radius: 999px;
}

.dm-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.dm-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.dm-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.dm-info strong {
  font-size: 12px;
  color: #ffffff;
  font-weight: 800;
}

.dm-info span {
  font-size: 10.5px;
  color: #94a3b8;
}

.dm-btn {
  border: none;
  background: rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.dm-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #090a10;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}



/* ==========================================================================
   VIP FLEX PERKS IN PENTHOUSE LOUNGE / CHAT (Image 4)
   ========================================================================== */
.msg-avatar-wrap.avatar-founder-ring,
.user-avatar.avatar-founder-ring,
.fc-avatar.avatar-founder-ring {
  position: relative;
  border-radius: 50% !important;
  padding: 2.5px;
  background: linear-gradient(135deg, #ffd700, #ff8c00, #ffea70, #f59e0b) !important;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.75), 0 0 24px rgba(245, 158, 11, 0.4);
  animation: goldPulseRing 2.4s infinite alternate ease-in-out;
}

@keyframes goldPulseRing {
  0% {
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5), 0 0 16px rgba(245, 158, 11, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.95), 0 0 32px rgba(245, 158, 11, 0.6);
  }
}

.vip-flex-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  vertical-align: middle;
}

.vip-flex-badge.founder {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(245, 158, 11, 0.35));
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.65);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
}

.vip-flex-badge.gold {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(245, 185, 66, 0.25));
  color: #f5b942;
  border: 1px solid rgba(245, 185, 66, 0.5);
}

.vip-flex-badge.member {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.lounge-vip-toast {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 64px);
  left: 50%;
  transform: translateX(-50%);
  max-width: min(92vw, 410px);
  background: rgba(12, 16, 28, 0.84);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(245, 196, 81, 0.38);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 10px 15px 10px 12px;
  border-radius: 18px;
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 999999;
  animation: slideInToast 0.32s cubic-bezier(0.16, 1, 0.3, 1), fadeOutToast 0.45s 4.65s forwards;
  pointer-events: none;
}
.lounge-vip-toast-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 196, 81, 0.16);
  border: 1px solid rgba(245, 196, 81, 0.38);
  color: #f5c451;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lounge-vip-toast-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lounge-vip-toast-kicker {
  font-size: 10px;
  color: #f5c451;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lounge-vip-toast-line { font-size: 12.5px; color: #f1f5f9; line-height: 1.35; }
.lounge-vip-toast-line strong { color: #fde68a; }

@keyframes slideInToast {
  from { opacity: 0; transform: translate(-50%, -16px) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes fadeOutToast {
  to { opacity: 0; transform: translate(-50%, -10px) scale(0.97); pointer-events: none; }
}

.btn-khoe-vip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(245, 158, 11, 0.3));
  border: 1px solid rgba(255, 215, 0, 0.6);
  border-radius: 999px;
  color: #ffd700;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-khoe-vip:hover {
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  color: #07080f;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.5);
  transform: translateY(-1px);
}


/* =========================================================================
   PLATFORM C: KHO TRUYỆN AUDIO THÌ THẦM THEO TẬP (0% VPS CPU)
   ========================================================================= */
.plat-btn-stories.active {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.28), rgba(168, 85, 247, 0.28));
  color: #ffe4e6;
}

.plat-btn-stories .plat-count {
  background: linear-gradient(135deg, #f43f5e, #a855f7);
  color: #fff;
}

#platform-stories {
  background: radial-gradient(circle at 20% 10%, rgba(168, 85, 247, 0.14), transparent 45%),
              radial-gradient(circle at 80% 25%, rgba(244, 63, 94, 0.12), transparent 50%),
              #07080f;
  color: #f8fafc;
}

.stories-shell {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 14px 28px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.stories-top-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 27, 46, 0.9), rgba(17, 19, 31, 0.94));
  border: 1px solid rgba(244, 114, 182, 0.28);
  margin-bottom: 12px;
}

.stories-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f472b6;
  margin-bottom: 4px;
}

.stories-banner-copy h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
}

.stories-banner-copy p {
  font-size: 12.5px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.45;
}

.stories-wallet-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stories-vip-pill,
.stories-vnc-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fde68a;
}

.stories-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 12px;
}

.stories-filter-bar::-webkit-scrollbar {
  display: none;
}

.story-filter-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
}

.story-filter-pill.active {
  background: linear-gradient(135deg, #f43f5e, #a855f7);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}

.stories-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 820px) {
  .stories-workspace {
    grid-template-columns: 360px 1fr;
    align-items: start;
  }
}

.stories-section-label {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.stories-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

@media (min-width: 820px) {
  .stories-series-grid {
    grid-template-columns: 1fr;
  }
}

.story-series-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(20, 23, 36, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: transform 0.16s ease, border-color 0.18s ease, background 0.18s ease;
}

.story-series-card:hover {
  border-color: rgba(244, 114, 182, 0.45);
}

.story-series-card.active {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.16), rgba(168, 85, 247, 0.16));
  border-color: rgba(244, 63, 94, 0.72);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.story-series-cover {
  width: 62px;
  height: 78px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.story-series-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.story-series-hostess {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #f472b6;
}

.story-series-hostess img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.story-series-meta strong {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.3;
}

.story-series-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.story-mini-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.story-mini-tag.free {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.stories-detail-col {
  background: rgba(15, 18, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 14px;
}

.stories-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.stories-detail-head img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f43f5e;
  flex-shrink: 0;
}

.stories-detail-head h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.stories-detail-head p {
  margin: 0;
  font-size: 12.2px;
  color: #cbd5e1;
  line-height: 1.45;
}

.stories-voice-tone {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #f9a8d4;
}

.stories-episodes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-ep-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.16s ease;
}

.story-ep-row:hover {
  background: rgba(255, 255, 255, 0.08);
}

.story-ep-row.playing {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(168, 85, 247, 0.16));
  border-color: rgba(244, 63, 94, 0.68);
}

.story-ep-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.story-ep-num {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  color: #f472b6;
  flex-shrink: 0;
}

.story-ep-info {
  min-width: 0;
  flex: 1;
}

.story-ep-info strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 2px;
}

.story-ep-info span {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.38;
}

.story-ep-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.story-ep-dur {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.story-ep-action-btn {
  border: none;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.story-ep-action-btn.is-play {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
}

.story-ep-action-btn.is-unlock {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #090a10;
}

.story-script-drawer {
  flex-shrink: 0;
  max-height: 32vh;
  overflow-y: auto;
  background: rgba(12, 14, 24, 0.98);
  border-top: 1px solid rgba(244, 114, 182, 0.25);
  padding: 12px 16px;
}

.story-script-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.story-script-head strong {
  font-size: 13px;
  color: #f9a8d4;
}

.story-script-head button {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.story-script-body {
  font-size: 13px;
  line-height: 1.65;
  color: #e2e8f0;
  margin: 0;
}

.story-player-dock {
  flex-shrink: 0;
  background: rgba(10, 12, 22, 0.98);
  border-top: 1px solid rgba(244, 63, 94, 0.35);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-dock-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-dock-avatar-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 2px;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.story-dock-avatar-wrap.is-speaking {
  background: linear-gradient(135deg, #f43f5e, #a855f7, #f59e0b);
  animation: storyPulse 1.4s ease-in-out infinite;
}

@keyframes storyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
}

.story-dock-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.story-dock-titles {
  flex: 1;
  min-width: 0;
}

.story-dock-titles strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-dock-titles span {
  display: block;
  font-size: 11px;
  color: #f472b6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-dock-tools {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.story-tool-chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10.8px;
  font-weight: 700;
  cursor: pointer;
}

.story-tool-chip.active {
  border-color: #f43f5e;
  background: rgba(244, 63, 94, 0.22);
  color: #fff;
}

.story-scrubber-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.story-scrubber-row input[type="range"] {
  flex: 1;
  accent-color: #f43f5e;
  height: 4px;
  cursor: pointer;
}

.story-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.story-ctrl-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.story-ctrl-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #f43f5e, #d946ef);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.45);
}

.story-mini-player {
  position: fixed;
  left: 12px;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  z-index: 41;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(320px, calc(100vw - 88px));
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 18, 32, 0.94);
  border: 1px solid rgba(244, 63, 94, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

body.platform-stories .story-mini-player {
  display: none !important;
}

.story-mini-player img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #f43f5e;
  flex-shrink: 0;
}

.story-mini-info {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.story-mini-info strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-mini-info span {
  display: block;
  font-size: 10px;
  color: #f472b6;
}

.story-mini-btn {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.vn69-win-story-btn {
  border: 1px solid rgba(244, 114, 182, 0.42);
  background: rgba(244, 63, 94, 0.16);
  color: #fbcfe8;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* =========================================================================
   v88: CINEMA 16:9 PAGINATION (36/PAGE) + X SENSITIVE GATE + 18+ UPSELL
   Zero Live Blur (0 backdrop-filter) · Custom SVG Only · 60fps Safe
   ========================================================================= */
.yt-pagination-bar {
  margin-top: 18px;
  padding: 12px 10px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.yt-pagination-bar.hidden {
  display: none !important;
}

.yt-pg-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.yt-pg-btn {
  appearance: none;
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #141724;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.12s ease;
}

.yt-pg-btn:hover:not(:disabled) {
  background: #1e2336;
  border-color: rgba(244, 63, 94, 0.5);
  color: #ffffff;
}

.yt-pg-btn.active {
  background: linear-gradient(135deg, #fe2c55, #e11d48);
  border-color: #fb7185;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(254, 44, 85, 0.35);
}

.yt-pg-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.yt-pg-ellipsis {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  padding: 0 4px;
  user-select: none;
}

.yt-pg-meta {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.yt-pg-meta strong {
  color: #f8fafc;
  font-weight: 700;
}

/* X (Twitter) Style Sensitive Content Overlay (Shortv + Cinema) */
.x-sensitive-overlay {
  position: absolute;
  inset: 0;
  z-index: 28;
  background: #0a0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 18px;
  user-select: none;
}

.x-sensitive-overlay.is-cinema {
  z-index: 35;
}

.x-sensitive-overlay.hidden {
  display: none !important;
}

.x-gate-top-pill {
  position: absolute;
  top: 62px;
  right: 14px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #23272f;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.x-sensitive-overlay.is-cinema .x-gate-top-pill {
  top: 12px;
  right: 12px;
}

.x-gate-top-pill:hover {
  background: #303642;
  border-color: rgba(255, 255, 255, 0.45);
}

.x-gate-top-pill.hidden {
  display: none !important;
}

.x-gate-center {
  width: min(340px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.x-gate-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #191d24;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.x-gate-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
}

.x-gate-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #8b98a5;
}

.x-gate-quota {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #161922;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 2px;
}

.x-gate-quota.is-exhausted {
  background: rgba(244, 63, 94, 0.16);
  border-color: rgba(244, 63, 94, 0.42);
  color: #fda4af;
}

.x-gate-primary-pill {
  margin-top: 8px;
  min-width: 136px;
  appearance: none;
  border: none;
  border-radius: 999px;
  background: #eff3f4;
  color: #0f1419;
  font-size: 14.5px;
  font-weight: 800;
  padding: 11px 24px;
  cursor: pointer;
  transition: background-color 0.14s ease, transform 0.12s ease;
}

.x-gate-primary-pill:hover {
  background: #d7dbdc;
}

.x-gate-primary-pill:active {
  transform: scale(0.97);
}

.x-gate-secondary-link {
  margin-top: 4px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.x-gate-secondary-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.x-gate-secondary-link.hidden {
  display: none !important;
}

/* Cinema Grid Card Sensitive X Thumbnail Mask */
.yt-card-x-mask {
  width: 100%;
  height: 100%;
  background: #0b0d14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #e2e8f0;
  text-align: center;
  padding: 10px;
}

.yt-card-x-mask-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #181c26;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
}

.yt-card-x-mask span {
  font-size: 11.5px;
  font-weight: 700;
  color: #cbd5e1;
}

/* Logged-in X Clip -> 18+ Genre Upsell Bar (Shortv & Cinema) */
.x-adult-upsell-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 13px;
  background: #121521;
  border: 1px solid rgba(245, 196, 81, 0.34);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
}

.x-adult-upsell-bar.hidden {
  display: none !important;
}

.x-adult-upsell-bar.is-shortv {
  position: absolute;
  left: 12px;
  right: 74px;
  bottom: 138px;
  z-index: 32;
  max-width: 440px;
}

.x-adult-upsell-bar.is-cinema {
  margin-bottom: 12px;
}

.x-upsell-copy {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.x-upsell-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(254, 44, 85, 0.18);
  border: 1px solid rgba(254, 44, 85, 0.38);
  color: #fb7185;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.x-upsell-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.x-upsell-text strong {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.x-upsell-text span {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.x-upsell-cta {
  appearance: none;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #fe2c55);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.x-upsell-cta:hover {
  filter: brightness(1.08);
}

.x-upsell-close {
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1b2030;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.x-upsell-close:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 520px) {
  .x-adult-upsell-bar.is-shortv {
    left: 10px;
    right: 68px;
    bottom: 132px;
    padding: 8px 9px;
  }
  .x-upsell-text strong {
    font-size: 11.5px;
  }
  .x-upsell-text span {
    display: none;
  }
  .x-upsell-cta {
    font-size: 11.5px;
    padding: 6px 10px;
  }
}

/* =========================================================================
   v89: MOST-REPLAYED HEATMAP CURVE + JUMP PEAK + CLIENT TASTE BAR
   Zero Live Blur (0 backdrop-filter) · Custom SVG Only
   ========================================================================= */
.hm-scrubber-row {
  position: relative;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: flex-end;
  margin-bottom: -4px;
  pointer-events: none;
}

.hm-scrubber-row.hidden {
  display: none !important;
}

.hm-svg-curve {
  width: 100%;
  height: 22px;
  display: block;
  overflow: visible;
}

.hm-peak-btn {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 4px;
  transform: translateX(-50%);
  pointer-events: auto;
  appearance: none;
  border: 1px solid rgba(245, 184, 65, 0.55);
  background: #171324;
  color: #ffe28a;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0.42;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.72);
  transition: opacity 0.18s ease, background-color 0.14s ease, transform 0.12s ease;
}

@media (hover: hover) {
  .hm-peak-btn:hover {
    opacity: 0.92;
    background: #241c38;
    color: #ffffff;
  }
}

.hm-peak-btn:active {
  opacity: 0.96;
  transform: translateX(-50%) scale(0.96);
}

#platform-shortv.tt-clear-display .tt-restore-clean-btn {
  bottom: 66px;
}

.yt-taste-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 11px;
  border-radius: 12px;
  background: #111320;
  border: 1px solid rgba(245, 184, 65, 0.24);
}

.yt-taste-bar.hidden {
  display: none !important;
}

.yt-taste-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
}

.yt-taste-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  color: #ffe28a;
}

.yt-taste-chip {
  appearance: none;
  border: 1px solid rgba(254, 44, 85, 0.4);
  background: rgba(254, 44, 85, 0.14);
  color: #fda4af;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.yt-taste-chip:hover {
  background: rgba(254, 44, 85, 0.28);
  color: #ffffff;
}

.yt-taste-reset {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.yt-taste-reset:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* =========================================================================
   v90: PEERTUBE STORYBOARD SCRUBBER & CARD HOVER PREVIEW + TELEGRAM 2.0 UI
   Zero Live Blur (0 backdrop-filter) · Custom SVG Only · 60fps Safe
   ========================================================================= */
:root {
  --tg-safe-top: 0px;
  --tg-safe-bottom: 0px;
}

body.tg-fullscreen #top-nav {
  padding-top: calc(6px + var(--tg-safe-top, 0px)) !important;
  height: auto !important;
  min-height: calc(52px + var(--tg-safe-top, 0px)) !important;
}

.tg-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(245, 184, 65, 0.22), rgba(254, 44, 85, 0.2)) !important;
  border: 1px solid rgba(245, 184, 65, 0.5) !important;
  color: #ffe28a !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 5px 10px !important;
  white-space: nowrap;
}

.tg-nav-pill.hidden,
.tg-nav-icon.hidden {
  display: none !important;
}

.tg-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px !important;
  color: #e2e8f0 !important;
}

.tg-nav-icon .hidden {
  display: none !important;
}

/* Storyboard Scrubber Preview Popover (Cinema & Shortv) */
.sb-preview-pop {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 42;
  padding: 4px;
  border-radius: 10px;
  background: #0d1018;
  border: 1px solid rgba(245, 184, 65, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.sb-preview-pop.hidden {
  display: none !important;
}

.sb-preview-frame {
  border-radius: 6px;
  background-color: #05060a;
  background-repeat: no-repeat;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sb-preview-frame.hidden {
  display: none !important;
}

.sb-preview-time {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  padding: 1px 6px 2px;
}

#tt-scrubber-tooltip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

#tt-scrubber-tooltip.hidden {
  display: none !important;
}

/* Cinema Grid Card Lazy Hover / Long-Press Storyboard Slideshow */
.yt-card-sb-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #07090f;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.yt-card-sb-sprite {
  background-repeat: no-repeat;
  border-radius: 2px;
}

.yt-card-sb-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 5;
  pointer-events: none;
}

.yt-card-sb-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f5b841, #fe2c55);
  transition: width 0.2s linear;
}

/* =========================================================================
   V11 MOBILE UX & SENIOR-FRONTEND POLISH (1A Right-Rail HD Hostess + 2A 2-Row Top Nav)
   ========================================================================= */
.nav-label-short {
  display: none;
}

.nav-svg-icon {
  flex-shrink: 0;
  display: inline-block;
}

.nav-svg-icon.hidden {
  display: none !important;
}

.plat-btn .plat-story-icon {
  flex-shrink: 0;
}

.fc-header-avatar,
.msg-avatar-wrap img,
.cp-model-item img,
.roster-item img,
.modal-hostess-card img {
  object-fit: cover;
  object-position: center 20%;
}

/* 1A: Right-Rail HD Hostess Avatar (Replaces legacy '+' channel circle, mirrors vn69-vip) */
.tt-rail-hostess-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.tt-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;
  display: block;
}

.tt-rail-hostess-btn #tt-rail-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

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

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

.tt-rail-hostess-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;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide redundant top-left floating Hostess bubble in Shortv & Stories so VNC Pass Star Orb sits unobstructed */
body:not(.platform-cinema) .floating-companion.minimized {
  display: none !important;
}

/* Cinema 16:9: Sleek bottom-right pill FAB matching vn69-cinema-chat-fab (non-vn69 editions only) */
body.platform-cinema:not(.vn69-edition) .floating-companion.minimized {
  display: flex !important;
  left: auto !important;
  top: auto !important;
  right: 14px !important;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  border-radius: 999px !important;
}

body.platform-cinema:not(.vn69-edition) .floating-companion.minimized .fc-minimized-bubble {
  width: auto;
  height: auto;
  border-radius: 999px;
  border: 1.5px solid rgba(236, 72, 153, 0.65);
  background: rgba(12, 16, 28, 0.94);
  padding: 5px 12px 5px 5px;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.68);
}

body.platform-cinema:not(.vn69-edition) .floating-companion.minimized .fc-minimized-bubble img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1.5px solid #ec4899;
}

body.platform-cinema:not(.vn69-edition) .floating-companion.minimized .fc-bubble-live-dot {
  top: 5px;
  left: 29px;
  right: auto;
  width: 10px;
  height: 10px;
}

body.platform-cinema:not(.vn69-edition) .floating-companion.minimized .fc-bubble-expand-tag {
  position: static;
  transform: none;
  background: transparent;
  color: #fdf2f8;
  font-size: 12px;
  font-weight: 800;
  padding: 0;
  box-shadow: none;
}

/* Discover Drawer sliding from left edge (Left-to-Right swipe gesture) */
#platform-shortv .tt-split-sheet-host.is-discover-drawer.from-left {
  box-shadow: 14px 0 38px rgba(0, 0, 0, 0.85);
}

@media (max-width: 960px) {
  #btn-open-hostess-modal {
    display: none !important;
  }
}

/* 2A: Guaranteed 2-Row Balanced Mobile Header (360px - 640px, Zero Clipping) */
@media (max-width: 640px) {
  .nav-label-full {
    display: none !important;
  }

  .nav-label-short {
    display: inline !important;
  }

  #top-nav {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 6px !important;
    column-gap: 6px !important;
    height: auto !important;
    min-height: 46px !important;
    padding: calc(max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px)) + 6px) 10px 6px !important;
    background: rgba(8, 10, 18, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  #top-nav .nav-left {
    display: contents !important;
  }

  #top-nav .brand-pill {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    padding: 4px 10px;
    font-size: 12px;
    gap: 6px;
    height: 30px;
    box-sizing: border-box;
  }

  #top-nav .nav-center {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
  }

  #top-nav .platform-switch {
    padding: 2px;
    gap: 2px;
    max-width: 100%;
  }

  #top-nav .plat-btn {
    font-size: 11px;
    padding: 4px 9px;
    gap: 4px;
    height: 28px;
    white-space: nowrap;
  }

  #top-nav .mode-seg {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    padding: 2px;
    gap: 1px;
  }

  #top-nav .mode-btn {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    height: 26px;
    display: inline-flex;
    align-items: center;
  }

  #top-nav .nav-right {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 5px;
    min-width: 0;
  }

  #sound-status-text,
  .settings-nav-label {
    display: none !important;
  }

  #top-nav .vip-nav-btn {
    padding: 0 9px !important;
    height: 30px;
    font-size: 11px !important;
    font-weight: 800;
    gap: 4px;
    box-sizing: border-box;
  }

  #top-nav .sound-btn,
  #top-nav .settings-nav-btn,
  #top-nav .tg-nav-icon,
  #top-nav #btn-quick-disguise {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  #top-nav .tg-nav-pill {
    height: 30px;
    padding: 0 8px !important;
    font-size: 10.5px !important;
    gap: 4px;
    flex-shrink: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 390px) {
  #top-nav .plat-btn {
    font-size: 10.5px;
    padding: 4px 7px;
  }

  #top-nav .mode-btn {
    font-size: 10.5px;
    padding: 4px 7px;
  }

  #top-nav .tg-pin-label {
    display: none !important;
  }

  #top-nav .tg-nav-pill {
    width: 30px !important;
    padding: 0 !important;
    justify-content: center;
    border-radius: 50%;
  }
}


/* =========================================================================
   PLAN v16: PER-HOSTESS LIVING DIARY FEED & VIP BLUR GATE (LUXURY DARK UI)
   ========================================================================= */
.composer-diary-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.34);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.14), rgba(244, 63, 94, 0.14));
  color: #fde68a;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.composer-diary-btn:hover {
  border-color: rgba(250, 204, 21, 0.65);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(244, 63, 94, 0.22));
  transform: translateY(-1px);
}

.viproom-live-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 9px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 11px;
  color: #a7f3d0;
  line-height: 1.3;
}
.vip-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
  flex-shrink: 0;
}

.vip-ctrl-btn.diary-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(244, 63, 94, 0.28));
  border-color: rgba(250, 204, 21, 0.55);
  color: #fef08a;
}
.vip-ctrl-btn.diary-cta:hover {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.32), rgba(244, 63, 94, 0.38));
}
.diary-count-pill {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.vip-ctrl-btn.tg-dao-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.38);
  color: #bae6fd;
}
.vip-ctrl-btn.tg-dao-cta:hover {
  background: rgba(56, 189, 248, 0.24);
}

/* Modal Container */
.hostess-diary-modal {
  width: min(680px, calc(100vw - 24px));
  max-height: min(88dvh, 840px);
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #101322 0%, #090b14 100%);
  border: 1px solid rgba(250, 204, 21, 0.26);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.82);
}

.diary-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.diary-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.diary-title-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(244, 63, 94, 0.22));
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: #fde68a;
  flex-shrink: 0;
}
.diary-title-group h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.01em;
}
.diary-subtitle {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 1px;
}
.diary-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.diary-vip-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
  white-space: nowrap;
}
.diary-vip-pill.is-vip {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(234, 179, 8, 0.14));
  border-color: rgba(250, 204, 21, 0.6);
  color: #fef08a;
}
.diary-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.diary-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Single-line Balanced Tabs */
.diary-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.diary-tabs-bar::-webkit-scrollbar {
  display: none;
}
.diary-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.16s ease;
}
.diary-tab-btn:hover {
  border-color: rgba(250, 204, 21, 0.38);
  color: #fff;
}
.diary-tab-btn.active {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.28), rgba(250, 204, 21, 0.2));
  border-color: rgba(250, 204, 21, 0.65);
  color: #fff;
}
.diary-tab-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}
.diary-tab-btn.active .diary-tab-badge {
  background: rgba(250, 204, 21, 0.28);
  color: #fef08a;
}

/* Active Hostess Live Bio Strip */
.diary-hero-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.diary-hero-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.diary-hero-avatar-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.diary-hero-avatar-wrap img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(250, 204, 21, 0.6);
  background: #1e293b;
}
.diary-online-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0e111d;
}
.diary-hero-meta {
  min-width: 0;
}
.diary-hero-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.diary-hero-name-row strong {
  font-size: 14px;
  color: #f8fafc;
}
.diary-hero-period {
  font-size: 10.5px;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 1px 7px;
  border-radius: 999px;
}
.diary-hero-activity {
  margin: 3px 0 2px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.35;
}
.diary-hero-stats {
  font-size: 11px;
  color: #94a3b8;
}
.diary-bot-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter 0.15s ease;
}
.diary-bot-cta:hover {
  filter: brightness(1.1);
}

/* Feed Scroll Area */
.diary-feed-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px 20px;
}
.diary-feed-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.diary-empty-box {
  text-align: center;
  padding: 36px 18px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  font-size: 13px;
}

.diary-post-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.diary-post-card.is-vip-post {
  border-color: rgba(250, 204, 21, 0.25);
}
.diary-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.diary-post-author {
  display: flex;
  align-items: center;
  gap: 9px;
}
.diary-post-author img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(250, 204, 21, 0.45);
}
.diary-post-author strong {
  display: block;
  font-size: 13px;
  color: #f8fafc;
}
.diary-post-time {
  font-size: 11px;
  color: #94a3b8;
}
.diary-vis-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.diary-vis-tag.vip {
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.42);
  color: #fde68a;
}
.diary-vis-tag.public {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.34);
  color: #6ee7b7;
}
.diary-post-caption {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Media Gallery & Locked Teaser */
.diary-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.diary-media-grid.multi {
  grid-template-columns: repeat(2, 1fr);
}
.diary-media-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #06080f;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.diary-media-tile img,
.diary-media-tile video {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}
.diary-media-tile img.clickable {
  cursor: zoom-in;
}

.diary-locked-stage {
  position: relative;
  min-height: 210px;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, rgba(244, 63, 94, 0.22), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(250, 204, 21, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.diary-locked-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  pointer-events: none;
}
.diary-locked-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 20px 16px;
  background: rgba(7, 10, 20, 0.56);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  max-width: 88%;
}
.diary-lock-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.55);
  color: #fde68a;
}
.diary-locked-overlay strong {
  font-size: 13.5px;
  color: #fef08a;
}
.diary-locked-overlay span {
  font-size: 12px;
  color: #cbd5e1;
}
.diary-unlock-vip-btn {
  margin-top: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #111827;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.32);
}
.diary-unlock-vip-btn:hover {
  filter: brightness(1.06);
}

/* Post Footer */
.diary-post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.diary-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.diary-like-btn.liked {
  border-color: rgba(244, 63, 94, 0.6);
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
}
.diary-like-btn.liked svg {
  fill: #f43f5e;
  stroke: #f43f5e;
}
.diary-dm-link {
  font-size: 12px;
  font-weight: 700;
  color: #7dd3fc;
  text-decoration: none;
}
.diary-dm-link:hover {
  text-decoration: underline;
}

/* Lightbox */
.diary-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(3, 5, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.diary-lightbox.hidden {
  display: none !important;
}
.diary-lightbox img {
  max-width: 94vw;
  max-height: 90dvh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
}
.diary-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 640px) {
  .hostess-diary-modal {
    width: 100vw;
    max-width: 100vw;
    height: 92dvh;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    align-self: flex-end;
  }
  .diary-hero-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .diary-bot-cta {
    width: 100%;
    justify-content: center;
  }
  .diary-media-grid.multi {
    grid-template-columns: 1fr;
  }
}


/* =========================================================================
   HOSTESS FREE VOICE NOTES, VAULT STORIES & 3-MODE SUB-TABS (SENIOR LUXURY UI)
   ========================================================================= */
.plat-btn-hostess-hub .plat-count {
  background: rgba(16, 185, 129, 0.22);
  color: #6ee7b7;
}
.vip-ctrl-btn.voice-free-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(168, 85, 247, 0.2));
  border-color: rgba(16, 185, 129, 0.42);
  color: #a7f3d0;
}
.vip-ctrl-btn.voice-free-cta:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.26), rgba(168, 85, 247, 0.3));
}

.diary-subtabs-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.diary-subtabs-bar::-webkit-scrollbar {
  display: none;
}
.diary-subtab-btn {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.16s ease;
}
.diary-subtab-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.07);
}
.diary-subtab-btn.active {
  background: rgba(250, 204, 21, 0.14);
  border-color: rgba(250, 204, 21, 0.45);
  color: #fef08a;
}
.subtab-free-pill {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: #6ee7b7;
  letter-spacing: 0.03em;
}

/* Free Studio Voice Notes Cards */
.voice-series-banner {
  padding: 13px 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(244, 63, 94, 0.14));
  border: 1px solid rgba(168, 85, 247, 0.34);
  margin-bottom: 4px;
}
.voice-series-banner strong {
  display: block;
  font-size: 14px;
  color: #f8fafc;
}
.voice-series-banner span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
}
.voice-note-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.voice-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.voice-note-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
}
.voice-note-meta {
  font-size: 11px;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.voice-note-synopsis {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}
.voice-note-audio {
  width: 100%;
  height: 38px;
  border-radius: 10px;
}
.voice-script-toggle {
  align-self: flex-start;
  background: none;
  border: none;
  color: #fde68a;
  font-size: 11.5px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}
.voice-script-body {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.34);
  border-left: 2px solid rgba(250, 204, 21, 0.5);
  font-size: 12.5px;
  line-height: 1.55;
  color: #e2e8f0;
  font-style: italic;
}

/* Free Vault Stories & Love Dice Panel */
.vault-story-card,
.vault-dice-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vault-dice-card {
  border-color: rgba(244, 63, 94, 0.34);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(168, 85, 247, 0.1));
}
.vault-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vault-card-head strong {
  font-size: 13.5px;
  color: #fef08a;
}
.vault-story-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #e2e8f0;
  white-space: pre-wrap;
}
.vault-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vault-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(250, 204, 21, 0.48);
  background: rgba(250, 204, 21, 0.16);
  color: #fef08a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.vault-btn-primary:hover {
  background: rgba(250, 204, 21, 0.26);
}

/* Inline Voice Note Inside Web AI Chat Bubble */
.chat-voice-note-card {
  margin-top: 8px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.32);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-voice-note-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #a7f3d0;
}
.chat-voice-note-card audio {
  width: 100%;
  height: 34px;
}


/* =========================================================================
   PLAN v17: VIP VOICE LOCK, DAILY 4-FREE STORY CARDS & LUXURY READER POPUP
   ========================================================================= */
.voice-note-card.is-locked {
  border-color: rgba(250, 204, 21, 0.3);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), rgba(15, 23, 42, 0.72));
}
.voice-note-meta.vip-lock {
  color: #fde68a;
  background: rgba(250, 204, 21, 0.16);
  border-color: rgba(250, 204, 21, 0.42);
}
.voice-locked-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(250, 204, 21, 0.35);
}
.voice-locked-row span {
  font-size: 12px;
  color: #cbd5e1;
}

.story-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 4px;
}
.story-filter-bar::-webkit-scrollbar {
  display: none;
}
.story-filter-pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}
.story-filter-pill.active {
  background: rgba(250, 204, 21, 0.16);
  border-color: rgba(250, 204, 21, 0.52);
  color: #fef08a;
}

.story-daily-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  font-size: 12px;
  color: #d1fae5;
}
.story-daily-banner strong {
  color: #6ee7b7;
}

.story-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.story-list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: #f8fafc;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.story-list-card:hover {
  border-color: rgba(250, 204, 21, 0.42);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
.story-list-card.is-locked {
  border-color: rgba(250, 204, 21, 0.2);
  opacity: 0.92;
}
.story-card-thumb {
  width: 54px;
  height: 68px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.16), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fde68a;
  position: relative;
}
.story-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.story-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.story-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.story-card-teaser {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #94a3b8;
}
.story-access-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.story-access-pill.free {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}
.story-access-pill.vip {
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.42);
  color: #fde68a;
}

/* Luxury Reader Popup Modal */
.story-reader-backdrop {
  z-index: 10040 !important;
}
.story-reader-modal {
  width: min(720px, calc(100vw - 20px));
  height: min(90dvh, 860px);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #111424 0%, #090b14 100%);
  border: 1px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.88);
}
.reader-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.reader-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.reader-head-left img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(250, 204, 21, 0.55);
  flex-shrink: 0;
}
.reader-head-meta {
  min-width: 0;
}
.reader-head-meta h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reader-head-meta span {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 2px;
}
.reader-head-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.reader-font-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.reader-tool-btn {
  height: 30px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.reader-tool-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.reader-body-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 26px;
}
.reader-content-stage {
  max-width: 620px;
  margin: 0 auto;
}
.reader-text-prose {
  font-size: var(--reader-fs, 16px);
  line-height: 1.88;
  color: #e5e7eb;
  letter-spacing: 0.005em;
}
.reader-text-prose p {
  margin: 0 0 16px;
}
.reader-comic-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reader-comic-page {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #05070e;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.reader-comic-page img {
  display: block;
  width: 100%;
  height: auto;
}
.reader-page-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #e2e8f0;
  font-size: 10.5px;
  font-weight: 700;
}
.reader-companion-audio {
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reader-companion-audio strong {
  font-size: 12.5px;
  color: #a7f3d0;
}
.reader-companion-audio audio {
  width: 100%;
  height: 36px;
}
.reader-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 20, 0.92);
  flex-shrink: 0;
}
.reader-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.reader-nav-btn.primary {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(244, 63, 94, 0.24));
  border-color: rgba(250, 204, 21, 0.45);
  color: #fef08a;
}
.reader-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.reader-pos-label {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .story-reader-modal {
    width: 100vw;
    max-width: 100vw;
    height: 95dvh;
    max-height: 95dvh;
    border-radius: 18px 18px 0 0;
    align-self: flex-end;
  }
  .reader-body-scroll {
    padding: 16px 16px 22px;
  }
}

/* =========================================================================
   PLAN v18: INTERNATIONAL DARK LUXURY PRIVATE LOUNGE (M1 + DESKTOP SPLIT)
   + TIKTOK LIVE TRANSLUCENT CHAT + ONLYFANS PROFILE (GRID / LIST / TIP)
   ========================================================================= */

body.exp-mode-viproom #view-workspace {
  background:
    radial-gradient(circle at 18% 22%, rgba(245, 196, 81, 0.14), transparent 48%),
    radial-gradient(circle at 82% 76%, rgba(244, 63, 94, 0.18), transparent 52%),
    linear-gradient(180deg, #070911 0%, #0b0d18 100%);
}

body.exp-mode-viproom .viproom-environment {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 16px;
  gap: 18px;
  align-items: stretch;
  height: 100%;
}

body.exp-mode-viproom .viproom-hostess-dock {
  display: flex;
  width: 392px;
  flex-shrink: 0;
  height: 100%;
  max-height: 100%;
  min-height: 0;
}

body.exp-mode-viproom .device-stage-frame {
  border-radius: 24px;
  border: 1px solid rgba(245, 196, 81, 0.28);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  background: #000;
  max-height: 100%;
  min-height: 0;
}

.viproom-hostess-card {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 25%, rgba(244, 63, 94, 0.16), transparent 62%),
    linear-gradient(180deg, #0d101d 0%, #070912 100%);
  border: 1px solid rgba(245, 196, 81, 0.24);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.72);
}

/* Top Strip: Avatar Rail + Clear Mode + Mobile Video Toggle */
.vr-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(8, 10, 18, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 6;
  flex-shrink: 0;
}

.vr-avatar-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
  flex: 1;
  padding: 2px 0;
}
.vr-avatar-rail::-webkit-scrollbar { display: none; }

.vr-av-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.16s ease;
}
.vr-av-chip img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.vr-av-chip.active {
  background: rgba(245, 196, 81, 0.16);
  border-color: rgba(245, 196, 81, 0.62);
  color: #fef3c7;
}
.vr-av-chip.active img {
  border-color: #f5c451;
}
.vr-av-vip-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 5px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #1c1002;
}

.vr-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.vr-top-pill {
  height: 30px;
  min-width: 30px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.vr-top-pill:hover {
  background: rgba(255, 255, 255, 0.14);
}
.vr-top-pill.active-muted {
  border-color: rgba(245, 196, 81, 0.5);
  color: #fde68a;
  background: rgba(245, 196, 81, 0.14);
}
.vr-top-pill.vr-video-toggle {
  display: none;
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.45);
  color: #fecdd3;
}

/* Full-Bleed Live Stage */
.viproom-canvas-wrap {
  position: relative;
  flex: 1;
  min-height: 0 !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  background:
    radial-gradient(circle at 50% 35%, rgba(245, 196, 81, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(11, 14, 26, 0.45) 0%, rgba(5, 7, 14, 0.94) 100%);
}
.viproom-canvas-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 8, 15, 0.28) 0%, transparent 24%, transparent 56%, rgba(6, 8, 15, 0.88) 100%);
  z-index: 2;
}
#viproom-hostess-canvas {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  z-index: 1;
}

/* Top-Left Identity Glass Pill */
.vr-identity-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 62px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 11px;
  border-radius: 14px;
  background: rgba(8, 10, 18, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  max-width: calc(100% - 76px);
}
.vr-id-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.vr-id-row strong {
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vr-bond-pill {
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(245, 196, 81, 0.18);
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: #fde68a;
  white-space: nowrap;
  flex-shrink: 0;
}
.vr-id-sub {
  font-size: 10.5px;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* HTML Obsidian Glass VIP Lock Card (0% Canvas Text, 0% OS Emoji) */
.vr-vip-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 7, 14, 0.46);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.vr-vip-glass-card {
  width: min(310px, 100%);
  padding: 20px 18px 18px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(18, 21, 36, 0.92), rgba(9, 11, 20, 0.96));
  border: 1px solid rgba(245, 196, 81, 0.44);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.vr-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fde68a;
  background: rgba(245, 196, 81, 0.14);
  border: 1px solid rgba(245, 196, 81, 0.4);
}
.vr-vip-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.01em;
}
.vr-vip-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
}
.vr-vip-cta-stars {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #ea580c);
  color: #160c02;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.32);
  transition: transform 0.14s ease, filter 0.14s ease;
}
.vr-vip-cta-stars:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.vr-vip-cta-gems {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(52, 211, 153, 0.36);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.vr-vip-cta-gems:hover {
  background: rgba(16, 185, 129, 0.22);
}

/* TikTok Live / X Video Translucent Floating Chat Overlay */
.vr-chat-overlay {
  position: absolute;
  left: 10px;
  right: 66px;
  bottom: 10px;
  max-height: 40%;
  z-index: 5;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 100%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.viproom-hostess-card.vr-clear-mode .vr-chat-overlay {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.vr-chat-stream {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 18px 2px 2px;
  max-height: 210px;
}
.vr-chat-stream::-webkit-scrollbar { display: none; }

.vr-chat-msg {
  align-self: flex-start;
  max-width: 96%;
  padding: 6px 10px;
  border-radius: 13px;
  background: rgba(8, 11, 20, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-word;
  animation: vrMsgSlideIn 0.22s ease;
}
.vr-chat-msg.is-user {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.34);
}
.vr-chat-msg.is-gift {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.28), rgba(244, 63, 94, 0.24));
  border-color: rgba(245, 196, 81, 0.55);
  color: #fef3c7;
}
.vr-chat-sender {
  font-weight: 800;
  margin-right: 5px;
  color: #fde68a;
}
.vr-chat-msg.is-user .vr-chat-sender {
  color: #7dd3fc;
}
@keyframes vrMsgSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Right-Side Floating Vertical Action Rail */
.vr-right-rail {
  position: absolute;
  right: 10px;
  bottom: 12px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.vr-rail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border: none;
  background: transparent;
  color: #f1f5f9;
  cursor: pointer;
  padding: 0;
}
.vr-rail-ico {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 22, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.vr-rail-btn:hover .vr-rail-ico {
  transform: scale(1.06);
  border-color: rgba(245, 196, 81, 0.55);
}
.vr-rail-btn.accent-gold .vr-rail-ico {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.28), rgba(234, 88, 12, 0.26));
  border-color: rgba(245, 196, 81, 0.62);
  color: #fde68a;
}
.vr-rail-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  padding: 1px 5px;
  border-radius: 999px;
  background: #f43f5e;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}
.vr-rail-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #e2e8f0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

/* Bottom Glass Chat Input Composer */
.vr-chat-composer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  background: rgba(8, 10, 18, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 6;
  flex-shrink: 0;
}
.vr-chat-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  font-size: 12.5px;
  outline: none;
}
.vr-chat-input:focus {
  border-color: rgba(245, 196, 81, 0.55);
  background: rgba(255, 255, 255, 0.09);
}
.vr-chat-input::placeholder {
  color: #94a3b8;
}
.vr-chat-send-btn,
.vr-tg-pill-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.vr-chat-send-btn {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #170c02;
}
.vr-tg-pill-btn {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.36);
  color: #7dd3fc;
}

/* Cinema Quick Nav (Always visible right below chat input on both Desktop & Mobile!) */
.vr-desktop-video-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 8px;
  background: rgba(8, 10, 18, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  position: relative;
  z-index: 9;
}
.vr-mini-nav-btn {
  flex: 1;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.vr-mini-nav-btn.primary {
  background: rgba(244, 63, 94, 0.18);
  border-color: rgba(244, 63, 94, 0.42);
  color: #fecdd3;
}

/* Mobile Return-to-Lounge Floating Pill */
.vr-mobile-back-lounge {
  position: fixed;
  top: calc(var(--nav-h, 52px) + 10px);
  left: 12px;
  z-index: 45;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.55);
  background: rgba(10, 12, 22, 0.84);
  backdrop-filter: blur(12px);
  color: #fde68a;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* Mobile M1 Full-Screen Private Lounge (< 1024px) */
@media (max-width: 1023px) {
  body.exp-mode-viproom .viproom-environment {
    padding: 0;
    gap: 0;
    height: 100%;
    flex-direction: column;
  }
  body.exp-mode-viproom .viproom-hostess-dock {
    width: 100%;
    height: 100%;
    max-height: calc(100dvh - var(--nav-h, 52px));
    flex: 1;
  }
  body.exp-mode-viproom .viproom-hostess-card {
    border-radius: 0;
    border: none;
  }
  body.exp-mode-viproom .vr-top-pill.vr-video-toggle {
    display: inline-flex;
  }
  body.exp-mode-viproom .vr-desktop-video-nav {
    display: flex !important;
    padding: 6px 10px 8px;
  }
  body.exp-mode-viproom:not(.vr-mobile-video-open) .device-stage-frame {
    display: none !important;
  }
  body.exp-mode-viproom.vr-mobile-video-open .viproom-hostess-dock {
    display: none !important;
  }
  body.exp-mode-viproom.vr-mobile-video-open .device-stage-frame {
    display: block;
    border-radius: 0;
    border: none;
    max-height: calc(100dvh - var(--nav-h, 52px));
  }
  body.exp-mode-viproom.vr-mobile-video-open .vr-mobile-back-lounge {
    display: inline-flex !important;
  }
}

/* =========================================================================
   ONLYFANS-STYLE HOSTESS PROFILE, MEDIA GRID 3xN, LIST VIEW, WAVEFORM & TIPS
   ========================================================================= */
.of-profile-hero {
  background: rgba(11, 14, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.of-cover-banner {
  position: relative;
  height: 112px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 63, 94, 0.42), transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(245, 196, 81, 0.34), transparent 55%),
    linear-gradient(135deg, #1b142d 0%, #0d1224 100%);
  overflow: hidden;
}
.of-cover-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}
.of-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(7, 9, 16, 0.62);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
}
.of-stat-chip b {
  color: #fff;
  font-weight: 800;
}
.of-cover-badge {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(245, 196, 81, 0.22);
  border: 1px solid rgba(245, 196, 81, 0.55);
  color: #fde68a;
  z-index: 2;
  white-space: nowrap;
}

.of-profile-main {
  padding: 0 16px 14px;
}
.of-avatar-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: -38px;
  margin-bottom: 10px;
  position: relative;
  z-index: 3;
}
.of-avatar-ring {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #f5c451, #f43f5e);
  flex-shrink: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}
.of-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0b0e18;
  display: block;
}
.of-hero-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.of-action-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.of-action-btn.gold {
  border: none;
  background: linear-gradient(135deg, #fde68a, #f59e0b 58%, #ea580c);
  color: #160c02;
}
.of-action-btn.gold.is-vip-active {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}
.of-action-btn.icon-only {
  width: 34px;
  padding: 0;
}

.of-bio-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.of-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.of-name-line strong {
  font-size: 16px;
  font-weight: 800;
  color: #f8fafc;
}
.of-verified-tick {
  flex-shrink: 0;
}
.of-handle {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

/* Sticky 4-Tab OnlyFans Navigation */
.of-sticky-tabs {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px !important;
  padding: 8px 12px !important;
  background: rgba(11, 14, 24, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.of-sticky-tabs .diary-subtab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.of-tab-cnt {
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.of-sticky-tabs .diary-subtab-btn.active .of-tab-cnt {
  background: rgba(245, 196, 81, 0.24);
  color: #fde68a;
}

/* Filter + Grid/List View Mode Switcher Toolbar */
.of-sub-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px 4px;
  flex-wrap: wrap;
}
.of-sub-toolbar.hidden { display: none; }
.of-filter-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.of-chip-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.of-chip-btn.active {
  background: rgba(245, 196, 81, 0.16);
  border-color: rgba(245, 196, 81, 0.55);
  color: #fde68a;
}
.of-view-toggle {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  gap: 2px;
}
.of-view-btn {
  height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.of-view-btn.active {
  background: rgba(245, 196, 81, 0.2);
  color: #fde68a;
}

/* OnlyFans Media Grid (3xN) */
.of-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px 0 4px;
}
.of-media-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #0d101c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.of-media-cell img,
.of-media-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.of-media-cell.is-locked img {
  filter: blur(8px) brightness(0.55);
  transform: scale(1.08);
}
.of-media-cell-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(7, 9, 16, 0.36);
  color: #fde68a;
  font-size: 10px;
  font-weight: 800;
}
.of-media-kind-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(7, 9, 16, 0.72);
  color: #f8fafc;
  font-size: 9.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* OnlyFans Media List View (Dạng List) */
.of-media-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 4px;
}
.of-media-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 14px;
  background: rgba(16, 20, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.of-media-list-row:hover {
  border-color: rgba(245, 196, 81, 0.38);
  background: rgba(22, 27, 44, 0.85);
}
.of-list-thumb {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0b0e18;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.of-list-thumb img,
.of-list-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.of-list-thumb.is-locked img {
  filter: blur(7px) brightness(0.55);
  transform: scale(1.1);
}
.of-list-thumb-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fde68a;
  background: rgba(7, 9, 16, 0.34);
}
.of-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.of-list-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.of-list-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #94a3b8;
}
.of-list-cta {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.4);
  background: rgba(245, 196, 81, 0.12);
  color: #fde68a;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}
.of-list-cta.open {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
}

/* Post Card Tip Button & Dual VIP CTA */
.diary-tip-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.38);
  background: rgba(245, 196, 81, 0.1);
  color: #fde68a;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.diary-tip-btn:hover {
  background: rgba(245, 196, 81, 0.22);
}
.diary-post-foot-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.diary-unlock-sub-gems {
  margin-top: 6px;
  border: none;
  background: transparent;
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
}

/* Waveform Audio Pill Player (Giọng Thì Thầm) */
.wf-player-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(8, 11, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.wf-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #160c02;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.wf-bars-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wf-bars {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 22px;
  cursor: pointer;
}
.wf-bar {
  flex: 1;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.34);
  transition: background 0.12s ease;
}
.wf-bar.played {
  background: linear-gradient(180deg, #fde68a, #f59e0b);
}
.wf-time {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Reusable Real $CSTAR Gift / Post Tip Modal */
.hgift-modal {
  width: min(440px, calc(100vw - 24px));
  padding: 16px !important;
  border-radius: 22px;
  background: linear-gradient(170deg, #121526 0%, #090b14 100%);
  border: 1px solid rgba(245, 196, 81, 0.34);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.85);
}
.hgift-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.hgift-title-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hgift-title-wrap h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
}
.hgift-sub {
  font-size: 11px;
  color: #94a3b8;
}
.hgift-balance-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 12px;
}
.hgift-balance-strip strong {
  color: #fde68a;
  font-weight: 800;
}
.hgift-topup-link {
  border: none;
  background: rgba(245, 196, 81, 0.16);
  color: #fde68a;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.hgift-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.hgift-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.hgift-card:hover {
  border-color: rgba(245, 196, 81, 0.52);
  background: rgba(245, 196, 81, 0.1);
}
.hgift-card.featured {
  border-color: rgba(245, 196, 81, 0.5);
  background: linear-gradient(155deg, rgba(245, 196, 81, 0.14), rgba(16, 18, 32, 0.92));
}
.hgift-card-name {
  font-size: 13px;
  font-weight: 800;
}
.hgift-card-xp {
  font-size: 10.5px;
  color: #94a3b8;
}
.hgift-card-cost {
  margin-top: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #160c02;
  font-size: 11px;
  font-weight: 800;
}
.hgift-status {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #6ee7b7;
  min-height: 16px;
}

@media (max-width: 640px) {
  .of-sticky-tabs .diary-subtab-btn {
    font-size: 11px;
    padding: 7px 3px;
  }
  .of-avatar-ring {
    width: 68px;
    height: 68px;
  }
  .of-action-btn {
    font-size: 11px;
    padding: 0 9px;
    height: 32px;
  }
}

/* =========================================================================
   PLAN v18.5: TIKTOK LIVE x X VIDEO FULL-BLEED LOUNGE POLISH (ITEMS 1-5)
   - Auto-Dim 40% Idle -> 90% Active HUD
   - Full-Bleed Mobile (Hides 2-Row #top-nav inside Private Lounge)
   - Borderless TikTok Live Floating Chat + Edge-to-Edge Translucent Input
   - Collapsible Top-Right Star Gift Menu Card
   - Mini PiP Hostess Window + Double-Tap Rising Hearts
   ========================================================================= */

/* 1. Auto-Dim HUD: 90% Awake -> 40% Idle after 3.5s */
.viproom-hostess-card .vr-hud-el {
  opacity: 0.90;
  transition: opacity 0.3s ease, transform 0.24s ease;
}
.viproom-hostess-card.vr-hud-dim .vr-hud-el {
  opacity: 0.40;
}
.viproom-hostess-card.vr-hud-focused .vr-hud-el {
  opacity: 0.96;
}
.viproom-hostess-card.vr-clear-mode .vr-chat-overlay,
.viproom-hostess-card.vr-clear-mode .vr-gift-menu-card {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(8px);
}

/* 2. Full-Bleed Edge-to-Edge Stage + Floating Top Overlay Strip */
.viproom-hostess-card .vr-top-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: max(10px, env(safe-area-inset-top)) 10px 10px;
  background: linear-gradient(180deg, rgba(6, 8, 15, 0.72) 0%, rgba(6, 8, 15, 0.25) 65%, transparent 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  z-index: 8;
}
.vr-top-pill.vr-exit-mobile {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(8, 10, 18, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.vr-top-pill.vr-vip-mini {
  display: none;
  background: rgba(245, 196, 81, 0.2);
  border-color: rgba(245, 196, 81, 0.55);
  color: #fde68a;
  padding: 0 9px;
}
.vr-top-pill {
  background: rgba(8, 10, 18, 0.46);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.viproom-hostess-card .vr-identity-pill {
  top: calc(max(10px, env(safe-area-inset-top)) + 44px);
  left: 10px;
  right: auto;
  max-width: calc(100% - 172px);
  background: rgba(8, 10, 18, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3. Collapsible Top-Right Star Gift Menu Card (TikTok Live Image 2 Style) */
.vr-gift-menu-card {
  position: absolute;
  top: calc(max(10px, env(safe-area-inset-top)) + 44px);
  right: 10px;
  width: 146px;
  z-index: 7;
  border-radius: 14px;
  background: rgba(8, 11, 22, 0.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}
.vr-gmc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 6px 9px;
  border: none;
  background: rgba(245, 196, 81, 0.12);
  color: #fde68a;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
}
.vr-gmc-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.vr-gmc-chev {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.vr-gift-menu-card.collapsed .vr-gmc-chev {
  transform: rotate(180deg);
}
.vr-gift-menu-card.collapsed .vr-gmc-list {
  display: none;
}
.vr-gmc-list {
  display: flex;
  flex-direction: column;
  padding: 4px;
  gap: 3px;
}
.vr-gmc-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 9px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.vr-gmc-row:hover {
  background: rgba(245, 196, 81, 0.18);
}
.vr-gmc-row.hot {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.2), rgba(244, 63, 94, 0.16));
}
.vr-gmc-cost {
  color: #fde68a;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.vr-gmc-act {
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 4. Borderless TikTok Live Floating Chat Stream + Edge-to-Edge Translucent Composer */
.viproom-hostess-card .vr-chat-overlay {
  left: 10px;
  right: 68px;
  bottom: calc(max(10px, env(safe-area-inset-bottom)) + 48px);
  max-height: 36%;
}
.viproom-hostess-card .vr-chat-stream {
  gap: 5px;
  padding: 20px 2px 4px;
}
.viproom-hostess-card .vr-chat-msg {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 2px 3px;
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.38;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.94), 0 0 10px rgba(0, 0, 0, 0.68);
}
.viproom-hostess-card .vr-chat-msg.is-user {
  background: transparent;
  border: none;
}
.viproom-hostess-card .vr-chat-msg.is-gift {
  padding: 6px 10px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.34), rgba(244, 63, 94, 0.28));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 196, 81, 0.58);
  color: #fef3c7;
}
.vr-chat-av {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  margin-top: 1px;
}
.vr-chat-text-wrap {
  min-width: 0;
  word-break: break-word;
}
.vr-chat-role-badge {
  display: inline-block;
  padding: 0 5px;
  margin-right: 5px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 800;
  vertical-align: middle;
  background: rgba(244, 63, 94, 0.78);
  color: #fff;
  text-shadow: none;
}

.viproom-hostess-card .vr-right-rail {
  bottom: calc(max(10px, env(safe-area-inset-bottom)) + 52px);
  right: 10px;
  gap: 11px;
}
.vr-rail-btn.accent-rose .vr-rail-ico {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.34), rgba(219, 39, 119, 0.28));
  border-color: rgba(244, 63, 94, 0.65);
  color: #fecdd3;
}

.viproom-hostess-card .vr-chat-composer {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  padding: 0;
  background: transparent;
  border-top: none;
  z-index: 8;
}
.viproom-hostess-card .vr-chat-input {
  height: 38px;
  background: rgba(8, 10, 18, 0.44);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.viproom-hostess-card .vr-chat-send-btn,
.viproom-hostess-card .vr-tg-pill-btn {
  width: 38px;
  height: 38px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 5. Double-Tap Floating Hearts Layer + Mini PiP Window (Image 3 Style) */
.vr-hearts-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 6;
}
.vr-heart-particle {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  will-change: transform, opacity;
  animation: vrHeartFloat 1.15s cubic-bezier(0.22, 0.72, 0.28, 1) forwards;
}
@keyframes vrHeartFloat {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5) rotate(var(--hr-rot, -8deg)); }
  18% { opacity: 0.95; transform: translate(calc(-50% + var(--hr-dx, 0px) * 0.25), -70%) scale(1.15) rotate(var(--hr-rot, 8deg)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--hr-dx, 14px)), -190px) scale(0.85) rotate(var(--hr-rot, -6deg)); }
}

.vr-mini-pip {
  position: fixed;
  right: 12px;
  bottom: 84px;
  width: 92px;
  height: 126px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 196, 81, 0.68);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.78);
  background: #0b0e1a;
  z-index: 46;
  cursor: pointer;
  transition: transform 0.16s ease;
}
.vr-mini-pip:active {
  transform: scale(0.96);
}
.vr-pip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vr-pip-close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 8, 15, 0.72);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.vr-pip-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 6px 5px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 15, 0.88) 100%);
  display: flex;
  align-items: center;
  gap: 4px;
}
.vr-pip-name {
  font-size: 10px;
  font-weight: 800;
  color: #fef3c7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile Full-Bleed Override: Hide 2-Row #top-nav inside Private Lounge */
@media (max-width: 1023px) {
  body.exp-mode-viproom:not(.vr-mobile-video-open) #top-nav {
    display: none !important;
  }
  body.exp-mode-viproom:not(.vr-mobile-video-open) #view-workspace {
    top: 0 !important;
    height: 100dvh;
  }
  body.exp-mode-viproom:not(.vr-mobile-video-open) .viproom-hostess-dock {
    height: 100dvh;
    max-height: 100dvh;
  }
  body.exp-mode-viproom .vr-top-pill.vr-exit-mobile,
  body.exp-mode-viproom .vr-top-pill.vr-vip-mini {
    display: inline-flex;
  }
  body.exp-mode-viproom.vr-mobile-video-open .vr-mini-pip:not(.pip-dismissed) {
    display: block !important;
  }
}

/* =========================================================================
   PLAN v18.6: FLIPPED LIVE MINI VIDEO PIP IN PHÒNG CÔ ĐÀO
   + TIKTOK PULSE RING ON AVATAR ABOVE HEART
   + 40% DIMMED "PHÒNG" PILL BELOW STAR ORB (⭐ x2)
   + CLEAR CIRCULAR ✕ CLOSE BUTTON ON FLOATING COMPANION
   ========================================================================= */

/* 1. Live Mini Video PiP Player Inside Phòng Cô Đào (Top-Right Dock) */
.vr-video-pip {
  position: absolute;
  top: calc(max(10px, env(safe-area-inset-top)) + 46px);
  right: 10px;
  width: 112px;
  height: 172px;
  border-radius: 16px;
  overflow: hidden;
  background: #060811;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.72);
  z-index: 8;
  touch-action: none;
  user-select: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.16s ease;
}
.vr-video-pip.is-vip {
  border-color: rgba(245, 196, 81, 0.82);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.74), 0 0 18px rgba(245, 196, 81, 0.28);
}
#vr-pip-video-canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.vr-vpip-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 5px 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  background: linear-gradient(180deg, rgba(6, 8, 15, 0.78) 0%, transparent 100%);
  z-index: 2;
}
.vr-vpip-vip-tag {
  padding: 1.5px 5px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #160c02;
  white-space: nowrap;
}
.vr-vpip-btns {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vr-vpip-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 8, 15, 0.68);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.vr-vpip-btn:hover {
  background: rgba(245, 196, 81, 0.28);
  color: #fde68a;
}
.vr-vpip-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 7px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 15, 0.86) 100%);
  z-index: 2;
}
.vr-vpip-hint {
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.9);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vr-vpip-next {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(244, 63, 94, 0.88);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

/* 2. Dimmed 40% "Phòng" Return Pill Cleanly Below the Star Orb (⭐ x2 at top:128px + 48px + badge) */
.vr-mobile-back-lounge {
  top: calc(env(safe-area-inset-top, 0px) + 196px) !important;
  left: 10px !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
  opacity: 0.40;
  border-color: rgba(245, 196, 81, 0.42);
  background: rgba(8, 10, 18, 0.68);
  transition: opacity 0.22s ease, transform 0.16s ease;
}
.vr-mobile-back-lounge:hover,
.vr-mobile-back-lounge:active {
  opacity: 0.92;
  transform: scale(1.03);
}

/* 3. TikTok LIVE / PHÒNG Pulse Ring on Hostess Avatar Right Above Heart Button */
.tt-rail-live-ring {
  position: relative;
}
.tt-rail-live-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(244, 63, 94, 0.78);
  animation: ttHostessPulse 2.1s cubic-bezier(0.24, 0.6, 0.35, 1) infinite;
  pointer-events: none;
}
@keyframes ttHostessPulse {
  0% { transform: scale(0.96); opacity: 0.85; border-color: rgba(244, 63, 94, 0.85); }
  70% { transform: scale(1.18); opacity: 0; border-color: rgba(245, 196, 81, 0.7); }
  100% { transform: scale(1.18); opacity: 0; }
}
.tt-rail-live-tag {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f43f5e, #db2777);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
  z-index: 4;
  box-shadow: 0 3px 10px rgba(244, 63, 94, 0.55);
}

/* 4. Unmistakable Circular ✕ Close Button & Cleaner Layout on Floating Companion Drawer */
.fc-close-x-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(244, 63, 94, 0.22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.16s ease, transform 0.14s ease;
}
.fc-close-x-btn:hover,
.fc-close-x-btn:active {
  background: rgba(244, 63, 94, 0.48);
  transform: scale(1.06);
}
#floating-companion #fc-peek-hostess {
  display: none !important;
}
@media (max-width: 1023px) {
  .floating-companion:not(.minimized) {
    height: min(72dvh, calc(100dvh - 196px)) !important;
    max-height: calc(100dvh - 196px) !important;
  }
}

/* =========================================================================
   PLAN v18.7: DRAGGABLE ADAPTIVE MINI VIDEO PIP (BELOW HOSTESS / ABOVE CHAT)
   + AUTO PORTRAIT/LANDSCAPE RATIO + SMART 40% CONTROL AUTO-DIM
   ========================================================================= */
.vr-video-pip {
  top: auto;
  right: auto;
  left: 12px;
  bottom: calc(max(10px, env(safe-area-inset-bottom)) + 186px);
  width: 120px;
  height: 184px;
  cursor: grab;
  transition: width 0.22s ease, height 0.22s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.vr-video-pip.is-landscape {
  width: 204px;
  height: 118px;
}
@media (min-width: 1024px) {
  .vr-video-pip {
    width: 132px;
    height: 202px;
  }
  .vr-video-pip.is-landscape {
    width: 224px;
    height: 130px;
  }
}
.vr-video-pip.is-dragging {
  cursor: grabbing;
  transition: none !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.88), 0 0 0 1.5px rgba(245, 196, 81, 0.72);
  z-index: 12;
}
.vr-video-pip.is-snapping {
  transition: left 0.22s cubic-bezier(0.22, 0.78, 0.3, 1), top 0.22s cubic-bezier(0.22, 0.78, 0.3, 1), width 0.22s ease, height 0.22s ease;
}
.vr-video-pip .vr-pip-ctrl {
  opacity: 0.92;
  transition: opacity 0.28s ease;
}
.viproom-hostess-card.vr-hud-dim .vr-video-pip:not(.is-dragging) .vr-pip-ctrl {
  opacity: 0.40;
}
.vr-top-pill.vr-pip-toggle.active-muted {
  border-color: rgba(245, 196, 81, 0.65);
  background: rgba(245, 196, 81, 0.2);
  color: #fde68a;
}

/* =========================================================================
   PLAN v19: INTERNATIONAL 1-ROW HEADER + DUAL NAV MODES (APP / MINIMAL)
   + SCRUBBER AUDIO CORNER + 4-TAB EXPLORE HUB + NOTIFICATION BELL CENTER
   ========================================================================= */

/* Hide legacy audio button on top header (moved cleanly to scrubber corner) */
#top-nav .hidden-top-audio {
  display: none !important;
}

.brand-name-mini {
  display: none;
}

/* Notification Bell Button in Top Header */
.nav-bell-btn,
.nav-scratch-btn,
.nav-qr-btn {
  position: relative;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: rgba(241, 245, 249, 0.9) !important;
  flex-shrink: 0;
  transition: background 0.16s ease, color 0.16s ease;
}
.nav-bell-btn svg,
.nav-scratch-btn svg,
.nav-qr-btn svg,
.settings-nav-btn svg {
  display: block;
  margin: 0;
  flex-shrink: 0;
}
.nav-bell-btn:hover,
.nav-scratch-btn:hover,
.nav-qr-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}
.nav-bell-btn.ringing svg {
  animation: v19BellRing 0.55s ease;
}
@keyframes v19BellRing {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(18deg); }
  40% { transform: rotate(-16deg); }
  60% { transform: rotate(12deg); }
  80% { transform: rotate(-8deg); }
}
.nav-bell-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 12px;
  text-align: center;
  border: 1px solid #080a12;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  box-sizing: border-box;
  pointer-events: none;
}

/* Desktop 1-row clean icons & Explore tab */
.nav-minimal-tabs {
  display: none;
}

/* Quick Switch Buttons between Lướt Clip <-> Cinema */
.tt-quick-cinema-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 13, 24, 0.56);
  backdrop-filter: blur(10px);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.tt-quick-cinema-btn:hover,
.tt-quick-cinema-btn:active {
  background: rgba(244, 63, 94, 0.34);
  border-color: rgba(244, 63, 94, 0.72);
}
.yt-back-clip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 63, 94, 0.45);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.24), rgba(219, 39, 119, 0.18));
  color: #ffe4e6;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.yt-back-clip-btn:hover {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.42), rgba(219, 39, 119, 0.32));
}

/* Relocated Source/Time Pill + Right-Corner Audio Toggle on Scrubber Row */
.tt-scrubber-meta-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  padding: 0 2px;
  pointer-events: auto;
}
.tt-scrubber-meta-row .tt-template-pill {
  margin: 0 !important;
  min-width: 0;
  max-width: calc(100% - 38px);
  padding: 4px 10px !important;
  font-size: 11px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  background: rgba(12, 15, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}
.tt-scrubber-meta-row #tt-server-badge {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tt-scrubber-meta-row #tt-time-display {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: #fde68a;
  font-weight: 700;
}
.tt-scrubber-audio-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 13, 24, 0.74);
  backdrop-filter: blur(10px);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}
.tt-scrubber-audio-btn:active {
  transform: scale(0.92);
}
.tt-scrubber-audio-btn.is-muted {
  border-color: rgba(245, 196, 81, 0.78);
  background: rgba(245, 196, 81, 0.2);
  color: #fde68a;
  box-shadow: 0 0 12px rgba(245, 196, 81, 0.28);
}
/* Keep scrubber meta row visible even in Clear Display & Landscape Rotated modes */
#platform-shortv.tt-clear-display .tt-scrubber-meta-row,
#platform-shortv.tt-landscape-rotated .tt-scrubber-meta-row {
  display: flex !important;
}
#platform-shortv.tt-clear-display .tt-scrubber-meta-row .tt-template-pill,
#platform-shortv.tt-landscape-rotated .tt-scrubber-meta-row .tt-template-pill {
  display: inline-flex !important;
}
.tt-scrubber-time-row {
  display: none !important;
}

/* Mobile 5-Tab Bottom Navigation Bar (Mode 1: Chuẩn App) */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 1023px) {
  :root {
    --bnav-h: 48px;
  }

  /* Clean 1-Row International Mobile Top Header (Replaces Legacy 2-Row Grid!) */
  #top-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    height: auto !important;
    min-height: 44px !important;
    padding: calc(max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px)) + 5px) 10px 5px !important;
    background: rgba(8, 10, 18, 0.90) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 60;
  }
  #top-nav .nav-left {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  #top-nav .mode-seg,
  #top-nav .nav-center {
    display: none !important;
  }
  #top-nav .brand-pill {
    padding: 4px 10px !important;
    height: 30px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(245, 196, 81, 0.28);
  }
  #top-nav .nav-right {
    display: inline-flex !important;
    align-items: center;
    gap: 6px !important;
    flex-shrink: 0;
  }
  #top-nav .nav-scratch-btn,
  #top-nav .nav-qr-btn,
  #top-nav .nav-bell-btn,
  #top-nav .settings-nav-btn {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: rgba(248, 250, 252, 0.92) !important;
  }
  #top-nav .nav-scratch-btn {
    color: #fde68a !important;
  }
  #top-nav .vip-nav-btn {
    height: 29px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
  }

  /* MODE 1 (DEFAULT: Chuẩn App) — Transparent Floating Top Header over Lướt Clip Video */
  body.nav-layout-app.nav-top-glass:not(.exp-mode-lobby):not(.platform-cinema):not(.exp-mode-viproom) #top-nav {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(6, 8, 15, 0.72) 0%, rgba(6, 8, 15, 0.16) 76%, transparent 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom-color: transparent !important;
  }
  body.nav-layout-app.nav-top-glass.discover-drawer-active:not(.exp-mode-lobby):not(.platform-cinema):not(.exp-mode-viproom) #top-nav {
    background: #0a0a0e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  /* Fix Plan v19.1: Lock #view-workspace cleanly ABOVE the 56px Bottom Bar so scrubber & right rail are NEVER clipped! */
  body.nav-layout-app.nav-top-glass:not(.exp-mode-lobby):not(.platform-cinema):not(.exp-mode-viproom) #view-workspace {
    top: 0 !important;
    bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)) !important;
    height: calc(100dvh - var(--bnav-h) - env(safe-area-inset-bottom, 0px)) !important;
    padding-top: 0 !important;
  }
  body.nav-layout-app:not(.nav-top-glass):not(.exp-mode-lobby):not(.platform-cinema):not(.exp-mode-viproom) #view-workspace {
    top: var(--nav-h, 46px) !important;
    bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)) !important;
    height: calc(100dvh - var(--nav-h, 46px) - var(--bnav-h) - env(safe-area-inset-bottom, 0px)) !important;
  }
  body.nav-layout-app.nav-top-glass.discover-drawer-active:not(.exp-mode-lobby):not(.platform-cinema):not(.exp-mode-viproom) #view-workspace {
    bottom: 0 !important;
    height: 100dvh !important;
  }
  body.nav-layout-app.discover-drawer-active:not(.nav-top-glass):not(.exp-mode-lobby):not(.platform-cinema):not(.exp-mode-viproom) #view-workspace {
    bottom: 0 !important;
    height: calc(100dvh - var(--nav-h, 46px)) !important;
  }
  body.nav-layout-app.nav-top-glass:not(.exp-mode-lobby):not(.platform-cinema):not(.exp-mode-viproom) #platform-shortv .shortv-top-tabs {
    top: calc(max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px)) + 42px) !important;
  }
  body.nav-layout-app:not(.exp-mode-lobby):not(.platform-cinema):not(.exp-mode-viproom) #platform-shortv {
    height: 100% !important;
  }
  /* Lift Shortv Bottom Stack + Right Action Rail cleanly above Search Bar, Scrubber & Compact Comment Bar */
  body.nav-layout-app #platform-shortv .shortv-bottom-info {
    padding-bottom: 4px !important;
  }
  body.nav-layout-app #platform-shortv .shortv-right-rail {
    bottom: 102px !important;
    gap: 6px !important;
  }
  body.nav-layout-app #platform-shortv .shortv-right-rail .tt-action-icon {
    width: 34px !important;
    height: 34px !important;
  }
  body.nav-layout-app #platform-shortv .shortv-right-rail .tt-action-count {
    font-size: 10px !important;
  }

  /* Keep Bottom 5-Tab Bar VISIBLE inside Private Lounge (#top-nav is hidden in VipRoom so top stays 0!) & lock Lounge dock cleanly above Bottom Bar so < Clip trước | Clip kế > is NEVER clipped! */
  body.nav-layout-app.exp-mode-viproom:not(.vr-mobile-video-open) #view-workspace {
    top: 0 !important;
    bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)) !important;
    height: calc(100dvh - var(--bnav-h) - env(safe-area-inset-bottom, 0px)) !important;
    max-height: calc(100dvh - var(--bnav-h) - env(safe-area-inset-bottom, 0px)) !important;
  }
  body.nav-layout-app.exp-mode-viproom:not(.vr-mobile-video-open) .viproom-hostess-dock {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
  }
  body.nav-layout-minimal.exp-mode-viproom .vr-desktop-video-nav {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }
  /* Hide redundant top-left back arrow inside Private Lounge when Mode 1 Bottom Bar is active */
  body.nav-layout-app.exp-mode-viproom .vr-top-pill.vr-exit-mobile {
    display: none !important;
  }

  /* Plan v28: Show sleek 38px Video Comment + Hostess Gift Bar cleanly ABOVE slimmed 48px Bottom Menu (0px overlap!) */
  body.nav-layout-app #tt-bottom-comment-bar {
    display: flex !important;
    height: 38px !important;
    padding: 4px 8px !important;
    gap: 5px !important;
    max-width: 100% !important;
  }
  body.nav-layout-app #view-lobby,
  body.nav-layout-app #platform-cinema {
    padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px) + 10px) !important;
  }

  /* Bottom 5-Tab Bar (Mode 1 — Trimmed 48px height, zero excess top black dead space!) */
  body.nav-layout-app .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    height: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px));
    padding: 2px 4px env(safe-area-inset-bottom, 0px);
    background: rgba(8, 10, 18, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }
  body.split-sheet-open .mobile-bottom-nav,
  body.tt-landscape-active .mobile-bottom-nav {
    display: none !important;
  }
  /* Keep Explore Hub & Live Rooms Lobby cleanly ABOVE Bottom Tab Bar in Mode 1 */
  body.nav-layout-app .explore-hub-modal {
    z-index: 62 !important;
    bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: 0 !important;
  }
  body.nav-layout-app .wp2d-modal:not(.wp2d-in-room) {
    z-index: 64 !important;
    bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)) !important;
  }
  .bnav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 42px;
    border: none;
    background: transparent;
    color: rgba(203, 213, 225, 0.72);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    min-width: 0;
    transition: color 0.16s ease, transform 0.14s ease;
  }
  .bnav-item:active {
    transform: scale(0.93);
  }
  .bnav-item.active {
    color: #fff;
  }
  .bnav-item.active .bnav-icon {
    color: #f43f5e;
  }
  .bnav-item[data-bnav="explore"].active .bnav-icon,
  .bnav-item[data-bnav="viproom"].active .bnav-icon {
    color: #f5c451;
  }
  .bnav-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 22px;
  }
  .bnav-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.1;
  }
  .bnav-swap-hint {
    position: absolute;
    top: -3px;
    right: -8px;
    font-size: 9px;
    font-weight: 800;
    color: #fde68a;
    opacity: 0;
    transition: opacity 0.16s ease;
  }
  .bnav-item.active .bnav-swap-hint {
    opacity: 0.95;
  }

  /* MODE 2 (OPTIONAL IN SETTINGS: Tối Giản 1 Dòng — No Bottom Bar!) */
  body.nav-layout-minimal .mobile-bottom-nav {
    display: none !important;
  }
  body.nav-layout-minimal #top-nav .brand-name-full,
  body.nav-layout-minimal #top-nav .sub-badge {
    display: none !important;
  }
  body.nav-layout-minimal #top-nav .brand-name-mini {
    display: inline !important;
    font-size: 12px;
  }
  body.nav-layout-minimal #top-nav .brand-pill {
    padding: 0 7px !important;
    gap: 4px !important;
    height: 28px !important;
  }
  body.nav-layout-minimal #top-nav .nav-minimal-tabs {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  body.nav-layout-minimal #top-nav .nav-minimal-tabs::-webkit-scrollbar {
    display: none;
  }
  .nav-min-tab {
    position: relative;
    border: none;
    background: transparent;
    color: rgba(203, 213, 225, 0.78);
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 6px;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.16s ease;
  }
  .nav-min-tab.active {
    color: #fff;
  }
  .nav-min-tab.active::after {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #f5c451, #f43f5e);
  }
  body.nav-layout-minimal #top-nav .vip-nav-btn {
    padding: 0 7px !important;
    height: 27px !important;
    font-size: 10.5px !important;
  }
  body.nav-layout-minimal #top-nav .nav-bell-btn,
  body.nav-layout-minimal #top-nav .settings-nav-btn {
    width: 28px !important;
    height: 28px !important;
  }
}

/* =========================================================================
   EXPLORE HUB 4-TAB FULL-VIEW MODAL (Nổi Bật · VncFun · NFTs · Jackpot)
   ========================================================================= */
.explore-hub-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #060811;
  display: flex;
  flex-direction: column;
  padding-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.explore-hub-modal.hidden {
  display: none !important;
}
.exp-hub-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 12, 22, 0.94);
  flex-shrink: 0;
}
.exp-hub-back {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.exp-hub-search-form {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.exp-hub-search-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #f8fafc;
  font-size: 13px;
}
.exp-hub-search-form input::placeholder {
  color: rgba(148, 163, 184, 0.78);
}
.exp-hub-search-submit {
  border: none;
  background: transparent;
  color: #f5c451;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

/* 4-Tab Obsidian Segmented Bar (Exact Wallet Style) */
.exp-hub-tabs-wrap {
  padding: 8px 12px 6px;
  background: #060811;
  flex-shrink: 0;
}
.exp-hub-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 3px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.exp-hub-tab {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(148, 163, 184, 0.9);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 4px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.16s ease;
}
.exp-hub-tab.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 196, 81, 0.42);
  color: #f5c451;
}

/* Web3 Balance Strip (STRICTLY CSTAR + VNC ONLY — NO NGỌC!) */
.exp-web3-balance-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  margin: 0 12px 6px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.1), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(245, 196, 81, 0.24);
  flex-shrink: 0;
}
.exp-web3-balance-bar.hidden {
  display: none !important;
}
.exp-web3-bals {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-wrap: wrap;
}
.exp-web3-bal-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
}
.exp-web3-bal-pill strong {
  color: #f5c451;
}
.exp-web3-bal-pill.is-vnc strong {
  color: #34d399;
}
.exp-web3-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.exp-web3-link {
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.exp-web3-link:hover {
  border-color: rgba(245, 196, 81, 0.45);
  color: #fde68a;
}

/* Sub-toolbar (Filter Chips + View Mode Switcher: Lưới 3 cột / List / Card to) */
.exp-subbar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px 12px 8px;
  flex-shrink: 0;
}
.exp-chips-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.exp-chips-row::-webkit-scrollbar {
  display: none;
}
.exp-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.exp-chip.active {
  background: #f8fafc;
  color: #060811;
  border-color: #f8fafc;
  font-weight: 800;
}
.exp-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.exp-blur-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.exp-blur-toggle.active {
  border-color: rgba(245, 196, 81, 0.48);
  color: #fde68a;
  background: rgba(245, 196, 81, 0.12);
}
.exp-view-seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: auto;
}
.exp-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: rgba(148, 163, 184, 0.85);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.exp-view-btn.active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Scrollable Explore Content Area */
.exp-hub-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 24px;
}
.exp-pane {
  display: none;
}
.exp-pane.active {
  display: block;
}

/* Explore Hub Bottom Pagination Bar (Nổi Bật / VncFun / NFTs — 60fps Safe, Zero Blur) */
.exp-pagination-bar {
  margin: 16px 12px 6px;
  padding: 14px 8px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.exp-pagination-bar.hidden {
  display: none !important;
}
.exp-pg-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}
.exp-pg-btn {
  appearance: none;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #141724;
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.12s ease;
}
.exp-pg-btn:hover:not(:disabled) {
  background: #1e2336;
  border-color: rgba(244, 63, 94, 0.48);
  color: #ffffff;
}
.exp-pg-btn.active {
  background: linear-gradient(135deg, #fe2c55, #e11d48);
  border-color: #fb7185;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(254, 44, 85, 0.34);
}
.exp-pg-btn:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}
.exp-pg-ellipsis {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  padding: 0 3px;
  user-select: none;
}
.exp-pg-meta {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
}
.exp-pg-meta strong {
  color: #f8fafc;
}
@media (max-width: 420px) {
  .exp-pagination-bar {
    margin: 14px 6px 4px;
    padding: 12px 2px 4px;
  }
  .exp-pg-row {
    gap: 4px;
    flex-wrap: nowrap;
  }
  .exp-pg-btn {
    min-width: 32px;
    height: 36px;
    padding: 0 7px;
    font-size: 12px;
  }
  .exp-pg-ellipsis {
    padding: 0 1px;
    font-size: 12px;
  }
}
@media (max-width: 400px) {
  .exp-pg-nav-lbl {
    display: none;
  }
  .exp-pg-btn {
    min-width: 31px;
    height: 36px;
    padding: 0 6px;
    font-size: 12px;
  }
}

/* Show clip <-> cinema switch indicator ONLY when Lướt Clip / Cinema is already the active tab */
.mobile-bottom-nav .bnav-item:not(.active) .bnav-swap-hint {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.mobile-bottom-nav .bnav-item.active .bnav-swap-hint {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

/* Tab 1 (Nổi Bật): Edge-to-Edge 3-Col Grid (Hình 2) OR Rich List View */
.exp-vid-grid.mode-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}
@media (min-width: 768px) {
  .exp-vid-grid.mode-grid3 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 0 12px;
  }
}
.exp-vid-card-3 {
  position: relative;
  aspect-ratio: 3 / 4.2;
  background: #0d1220;
  overflow: hidden;
  cursor: pointer;
}
.exp-vid-card-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exp-vid-card-3::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}
.exp-vid-meta-3 {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.exp-vid-grid.mode-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
}
.exp-vid-row-list {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
}
.exp-vid-row-thumb {
  position: relative;
  width: 112px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  background: #0d1220;
  flex-shrink: 0;
}
.exp-vid-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exp-vid-row-dur {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.exp-vid-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.exp-vid-row-title {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.exp-vid-row-sub {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.88);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tab 2 & 3 (VncFun / NFTs Cards — List, 3-Col Grid, Big Card) */
.exp-ad-card {
  margin: 0 12px 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.14), rgba(17, 23, 38, 0.92));
  border: 1px solid rgba(245, 196, 81, 0.34);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  color: #f8fafc;
}
.exp-ad-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: #f5c451;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 4px;
}
.exp-web3-grid {
  padding: 0 12px;
}
.exp-web3-grid.mode-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exp-web3-grid.mode-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.exp-web3-grid.mode-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 768px) {
  .exp-web3-grid.mode-grid3 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .exp-web3-grid.mode-card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.exp-token-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #f8fafc;
  min-width: 0;
}
.exp-web3-grid.mode-grid3 .exp-token-card,
.exp-web3-grid.mode-card .exp-token-card {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 8px;
}
.exp-token-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #111726;
  flex-shrink: 0;
}
.exp-web3-grid.mode-grid3 .exp-token-img,
.exp-web3-grid.mode-card .exp-token-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}
.exp-blur-18 .exp-token-img.is-nsfw {
  filter: blur(10px);
}
.exp-token-meta {
  flex: 1;
  min-width: 0;
}
.exp-token-name {
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.exp-token-sub {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.exp-token-prog {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-top: 5px;
}
.exp-token-prog > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f5c451, #10b981);
}
.exp-empty-box {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0;
  padding: 20px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}
.exp-nft-media-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #0f1422;
}
.exp-web3-grid.mode-grid3 .exp-nft-media-wrap,
.exp-web3-grid.mode-card .exp-nft-media-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}
.exp-nft-media-wrap .exp-token-img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  display: block;
}
.exp-nft-serial-pill {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(9, 12, 22, 0.86);
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: #fde68a;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.exp-nft-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 3px;
}
.exp-nft-tier-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.14);
  border: 1px solid rgba(245, 196, 81, 0.32);
  color: #fde68a;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.exp-nft-tier-pill.is-soulbound {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.34);
  color: #7dd3fc;
}

/* Tab 4 (Jackpot Vaults) */
.exp-jp-wrap {
  padding: 4px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.exp-jp-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.exp-jp-card {
  padding: 14px 12px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(245, 196, 81, 0.14), rgba(15, 20, 34, 0.94));
  border: 1px solid rgba(245, 196, 81, 0.34);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.exp-jp-card.power {
  background: linear-gradient(150deg, rgba(168, 85, 247, 0.18), rgba(15, 20, 34, 0.94));
  border-color: rgba(168, 85, 247, 0.42);
}
.exp-jp-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fde68a;
}
.exp-jp-card.power .exp-jp-tag {
  color: #d8b4fe;
}
.exp-jp-amount {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.exp-jp-sub {
  font-size: 11px;
  color: #cbd5e1;
}
.exp-jp-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.exp-jp-btn {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #f5c451, #d9971f);
  color: #0b0e17;
}
.exp-jp-btn.secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
}

/* =========================================================================
   NOTIFICATION CENTER PANEL (Bottom Sheet Mobile / Popover Desktop)
   ========================================================================= */
.noti-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(3, 5, 11, 0.62);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.noti-modal-backdrop.hidden {
  display: none !important;
}
@media (min-width: 768px) {
  .noti-modal-backdrop {
    align-items: flex-start;
    justify-content: flex-end;
    padding: 62px 18px 18px;
    background: rgba(3, 5, 11, 0.35);
  }
}
.noti-sheet {
  width: 100%;
  max-width: 440px;
  max-height: min(82dvh, 620px);
  background: #0b0f1b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78);
}
@media (min-width: 768px) {
  .noti-sheet {
    border-radius: 18px;
  }
}
.noti-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.noti-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.noti-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.noti-mark-read-btn {
  border: none;
  background: rgba(245, 196, 81, 0.12);
  color: #fde68a;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.noti-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.noti-tab {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.noti-tab.active {
  background: #f5c451;
  border-color: #f5c451;
  color: #0b0e17;
}
.noti-list {
  flex: 1;
  min-height: 160px;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.noti-card {
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.noti-card.is-unread {
  border-color: rgba(245, 196, 81, 0.38);
  background: rgba(245, 196, 81, 0.06);
}
.noti-card.is-broadcast {
  border-color: rgba(245, 196, 81, 0.5);
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.12), rgba(244, 63, 94, 0.06));
}
.noti-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.noti-delta {
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.noti-delta.plus { color: #34d399; }
.noti-delta.minus { color: #fb7185; }
.noti-delta.sys { color: #f5c451; }
.noti-time {
  font-size: 10.5px;
  color: #94a3b8;
  white-space: nowrap;
}
.noti-desc {
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.4;
}
.noti-cta {
  align-self: flex-start;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(245, 196, 81, 0.45);
  background: rgba(245, 196, 81, 0.14);
  color: #fde68a;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.noti-foot {
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.noti-foot-btn {
  width: 100%;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* =========================================================================
   PLAN v19.1: EXPLORE BOTTOM SEARCH DOCK + 2-COLUMN CARDS (SCREENSHOT MATCH)
   ========================================================================= */
.exp-hub-search-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(9, 12, 22, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  body.nav-layout-app .exp-hub-search-dock {
    padding-bottom: 8px;
  }
}
.exp-hub-clear-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.exp-hub-clear-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.exp-hub-search-submit-pill {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.exp-hub-search-submit-pill:active {
  transform: scale(0.96);
}

/* 2-Column Video Cards (Exact match to user screenshot: cover + duration + 2-line title + source + likes) */
.exp-vid-grid.mode-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 10px;
}
@media (min-width: 768px) {
  .exp-vid-grid.mode-grid2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0 12px;
  }
}
.exp-vid-card-2 {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #101422;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  min-width: 0;
}
.exp-vid-card-2-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #080b14;
  overflow: hidden;
}
.exp-vid-card-2-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exp-vid-card-2-dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(6, 8, 15, 0.84);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.exp-vid-card-2-body {
  padding: 8px 9px 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.exp-vid-card-2-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 33px;
}
.exp-vid-card-2-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}
.exp-vid-card-2-likes {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #cbd5e1;
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   PLAN v19.2: DIARY BOTTOM BAR VISIBILITY + 50%->80% CONTEXTUAL SEARCH BAR
   ========================================================================= */
.tt-contextual-search-bar {
  background: rgba(14, 17, 28, 0.62) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0.50;
  transition: opacity 0.18s ease, background 0.18s ease;
}
.tt-contextual-search-bar:hover,
.tt-contextual-search-bar:active,
.tt-contextual-search-bar:focus-visible,
.tt-contextual-search-bar.is-touched {
  opacity: 0.80;
  background: rgba(18, 22, 36, 0.82) !important;
}

@media (max-width: 1023px) {
  body.nav-layout-app #modal-hostess-diary {
    z-index: 63 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px)) !important;
    padding: 0 !important;
    align-items: stretch !important;
  }
  body.nav-layout-app #modal-hostess-diary .diary-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    padding-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-top, 0px)) !important;
  }
}


/* =========================================================================
   PLAN v21: WATCH PARTY 2D LIVE LOUNGE, CORNER HOSTESS MC & VNCFUN SHOWCASE
   ========================================================================= */
.vr-party-pill {
  gap: 5px;
  padding: 0 9px !important;
  width: auto !important;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.2), rgba(225, 29, 72, 0.24)) !important;
  border-color: rgba(245, 196, 81, 0.45) !important;
  color: #fde68a !important;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.vr-party-pill .vr-party-badge {
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.85);
  color: #fff;
  font-size: 9.5px;
  font-weight: 900;
}

.wp2d-modal {
  position: fixed;
  inset: 0;
  z-index: 9850;
  background: #06070d;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}
.wp2d-modal.hidden { display: none !important; }
.wp2d-shell {
  width: 100%;
  max-width: 960px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  background: radial-gradient(circle at top center, rgba(34, 24, 62, 0.45), #06070d 55%);
}
.wp2d-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wp2d-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(env(safe-area-inset-top, 0px) + 8px) 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 22, 0.92);
  flex-shrink: 0;
}
.wp2d-mode-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  gap: 3px;
}
.wp2d-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.wp2d-mode-btn.active {
  background: linear-gradient(135deg, #f5c451, #ea580c);
  color: #160c02;
}
.wp2d-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.wp2d-icon-btn.sm { width: 28px; height: 28px; border-radius: 8px; }
.wp2d-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(135deg, #fde047, #f59e0b 55%, #ea580c);
  color: #160c02;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.wp2d-btn-primary.sm { padding: 8px 12px; }
.wp2d-btn-primary.full { width: 100%; }
.wp2d-btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }
.wp2d-btn-ghost {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.wp2d-btn-danger {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.16);
  color: #fda4af;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.wp2d-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 20, 34, 0.9);
  color: #f8fafc;
  font-size: 13px;
  outline: none;
}
.wp2d-input:focus { border-color: rgba(245, 196, 81, 0.65); }

/* Lobby */
.wp2d-lobby {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wp2d-lobby-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.wp2d-cap-pills {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.wp2d-cap-pills::-webkit-scrollbar { display: none; }
.wp2d-cap-pill {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.wp2d-lobby-head .wp2d-btn-primary {
  flex-shrink: 0;
  padding: 7px 11px;
  font-size: 11.5px;
}
.wp2d-cap-pill.gold { background: rgba(245, 196, 81, 0.14); border-color: rgba(245, 196, 81, 0.35); color: #fde68a; }
.wp2d-cap-pill.rose { background: rgba(244, 63, 94, 0.16); border-color: rgba(244, 63, 94, 0.4); color: #fda4af; }
.wp2d-join-row { display: flex; gap: 8px; flex-shrink: 0; }
.wp2d-lobby-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}
.wp2d-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
}
.wp2d-filter-bar::-webkit-scrollbar { display: none; }
.wp2d-filter-bar.hidden { display: none !important; }
.wp2d-layout-seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  margin-left: auto;
}
.wp2d-layout-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.wp2d-layout-btn.active {
  background: rgba(245, 196, 81, 0.24);
  color: #fde68a;
}
.wp2d-chip-btn {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}
.wp2d-chip-btn.active {
  background: rgba(245, 196, 81, 0.2);
  border-color: rgba(245, 196, 81, 0.55);
  color: #fde68a;
}
.wp2d-rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  flex-shrink: 0;
}
/* Lobby Mode 1: 2-Column Compact Grid (DEFAULT) */
.wp2d-rooms-grid.layout-grid2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.wp2d-rooms-grid.layout-grid2 .wp2d-room-card { border-radius: 12px; }
.wp2d-rooms-grid.layout-grid2 .wp2d-rc-media { aspect-ratio: 16 / 10; }
.wp2d-rooms-grid.layout-grid2 .wp2d-rc-tags { top: 5px; left: 5px; gap: 3px; }
.wp2d-rooms-grid.layout-grid2 .wp2d-pill { padding: 1.5px 5.5px; font-size: 8.5px; }
.wp2d-rooms-grid.layout-grid2 .wp2d-rc-viewers { bottom: 5px; right: 5px; padding: 1.5px 6px; font-size: 9.5px; }
.wp2d-rooms-grid.layout-grid2 .wp2d-rc-body { padding: 7px 8px; gap: 3px; }
.wp2d-rooms-grid.layout-grid2 .wp2d-rc-title {
  font-size: 11.5px;
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wp2d-rooms-grid.layout-grid2 .wp2d-rc-sub { font-size: 10px; }
.wp2d-rooms-grid.layout-grid2 .wp2d-rc-foot { font-size: 10px; margin-top: 1px; }

/* Lobby Mode 2: Compact Horizontal List */
.wp2d-rooms-grid.layout-list {
  grid-template-columns: 1fr;
  gap: 7px;
}
.wp2d-rooms-grid.layout-list .wp2d-room-card {
  flex-direction: row;
  align-items: stretch;
  border-radius: 12px;
}
.wp2d-rooms-grid.layout-list .wp2d-rc-media {
  width: 118px;
  min-width: 118px;
  aspect-ratio: 16 / 10;
  height: auto;
  flex-shrink: 0;
}
.wp2d-rooms-grid.layout-list .wp2d-rc-tags { top: 4px; left: 4px; gap: 3px; }
.wp2d-rooms-grid.layout-list .wp2d-pill { padding: 1px 5px; font-size: 8px; }
.wp2d-rooms-grid.layout-list .wp2d-rc-viewers { bottom: 4px; right: 4px; padding: 1px 5px; font-size: 9px; }
.wp2d-rooms-grid.layout-list .wp2d-rc-body {
  flex: 1;
  min-width: 0;
  padding: 7px 9px;
  justify-content: center;
  gap: 3px;
}
.wp2d-rooms-grid.layout-list .wp2d-rc-title { font-size: 12.5px; line-height: 1.28; }
.wp2d-rooms-grid.layout-list .wp2d-rc-sub { font-size: 10.5px; }
.wp2d-rooms-grid.layout-list .wp2d-rc-foot { font-size: 10.5px; margin-top: 1px; }

/* Lobby Mode 3: Large Showcase Card */
.wp2d-rooms-grid.layout-card {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
@media (min-width: 720px) {
  .wp2d-rooms-grid.layout-grid2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wp2d-rooms-grid.layout-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .wp2d-rooms-grid.layout-grid2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.wp2d-empty {
  grid-column: 1 / -1;
  padding: 26px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(245, 196, 81, 0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.wp2d-empty strong { font-size: 14px; color: #f8fafc; }
.wp2d-empty p { margin: 0; max-width: 420px; font-size: 12.5px; color: #94a3b8; line-height: 1.5; }
.wp2d-room-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(15, 19, 32, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.wp2d-room-card.tier-vip, .wp2d-room-card.tier-surge {
  border-color: rgba(245, 196, 81, 0.35);
}
.wp2d-rc-media { position: relative; aspect-ratio: 16 / 9; background: #0c101d; overflow: hidden; }
.wp2d-rc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wp2d-rc-tags { position: absolute; top: 7px; left: 7px; display: flex; gap: 5px; flex-wrap: wrap; }
.wp2d-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(10, 14, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}
.wp2d-pill.gold { background: rgba(46, 30, 6, 0.9); border-color: rgba(245, 196, 81, 0.72); color: #fde68a; }
.wp2d-pill.cyan { background: rgba(8, 34, 54, 0.9); border-color: rgba(56, 189, 248, 0.65); color: #bae6fd; }
.wp2d-pill.rose { background: rgba(66, 12, 24, 0.9); border-color: rgba(244, 63, 94, 0.72); color: #fecdd3; }
.wp2d-pill.official247 { background: linear-gradient(135deg, #e11d48, #f59e0b); border-color: rgba(254, 240, 138, 0.65); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.wp2d-pill.clean { background: rgba(6, 62, 46, 0.92); border-color: rgba(52, 211, 153, 0.72); color: #a7f3d0; }
.wp2d-cap-pill.emerald { background: rgba(16, 185, 129, 0.16); border-color: rgba(52, 211, 153, 0.42); color: #a7f3d0; }
.wp2d-room-card.is-official247 { border-color: rgba(52, 211, 153, 0.4); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12); }

/* Clean Live Lobby 18+ Unlock Teaser Card (CSS-Only, Zero Adult Media Leak) */
.wp2d-clean-adult-teaser {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.12), rgba(15, 18, 32, 0.96) 55%, rgba(245, 196, 81, 0.08));
  border: 1px solid rgba(244, 63, 94, 0.34);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wp2d-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wp2d-cat-count {
  font-size: 11.5px;
  font-weight: 700;
  color: #fda4af;
}
.wp2d-cat-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #f8fafc;
}
.wp2d-cat-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.48;
  color: #94a3b8;
}
.wp2d-cat-cta {
  align-self: flex-start;
  margin-top: 4px;
}
.vn69-cc-age-pill.is-clean-live {
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
  color: #a7f3d0 !important;
}
.wp2d-rc-viewers {
  position: absolute;
  bottom: 7px;
  right: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(6, 8, 16, 0.84);
  font-size: 10.5px;
  font-weight: 700;
}
.wp2d-rc-body { width: 100%; min-width: 0; box-sizing: border-box; padding: 9px 10px; display: flex; flex-direction: column; gap: 4px; }
.wp2d-rc-title { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp2d-rc-sub { font-size: 11px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp2d-rc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 2px; font-size: 11px; }
.wp2d-rc-stars { display: inline-flex; align-items: center; gap: 4px; color: #fde047; font-weight: 800; min-width: 0; white-space: nowrap; }
.wp2d-rc-pr { color: #fda4af; font-weight: 700; flex-shrink: 0; white-space: nowrap; }
.wp2d-lobby-hof { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 4px; }
.wp2d-hof-mini { padding: 10px 12px; border-radius: 13px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); }
.wp2d-hof-mini-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #fde68a; margin-bottom: 6px; }
.wp2d-hof-mini-r, .wp2d-hof-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; }
.wp2d-hof-un { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wp2d-rk { width: 24px; text-align: center; font-weight: 900; color: #94a3b8; }
.wp2d-rk.rk-1 { color: #fde047; }
.wp2d-rk.rk-2 { color: #e2e8f0; }
.wp2d-rk.rk-3 { color: #fdba74; }

/* Stage View */
.wp2d-stage {
  position: relative;
  isolation: isolate;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wp2d-stage-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.wp2d-stage-meta { flex: 1; min-width: 0; }
.wp2d-stage-title { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp2d-stage-sub { font-size: 10.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp2d-stage-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.wp2d-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 700;
}

.wp2d-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 36dvh;
  background: #04050a;
  overflow: hidden;
  flex-shrink: 0;
}
.wp2d-hidden-video { position: fixed; left: 0; top: 0; width: 2px; height: 2px; opacity: 0.01; pointer-events: none; z-index: 1; }
.wp2d-video-canvas, .wp2d-yt-wrap, .wp2d-yt-iframe, .wp2d-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.wp2d-fx-canvas { pointer-events: none; z-index: 4; }
/* Smooth Cinema Clip Transition Overlay (Zero Black Flash) */
.wp2d-transition-ov {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 7, 15, 0.56);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.22s ease;
}
.wp2d-transition-ov.hidden { display: none !important; }
.wp2d-transition-ov.is-fading { opacity: 0; }
.wp2d-tr-card {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(88%, 340px);
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(11, 15, 29, 0.88);
  border: 1px solid rgba(245, 196, 81, 0.42);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
}
.wp2d-tr-thumb {
  width: 54px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0a0d18;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.wp2d-tr-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wp2d-tr-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fde047;
}
.wp2d-tr-title {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp2d-tr-bar {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin-top: 2px;
}
.wp2d-tr-bar span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #fde047);
  animation: wp2dTrSlide 1.1s ease-in-out infinite;
}
@keyframes wp2dTrSlide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(250%); }
}
.wp2d-nft-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px;
  background: radial-gradient(circle at center, rgba(245, 196, 81, 0.16), #070911 72%);
}
.wp2d-nft-stage-img {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid rgba(245, 196, 81, 0.5);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}
.wp2d-nft-stage-meta { max-width: 280px; }
.wp2d-nft-stage-meta h4 { margin: 6px 0 4px; font-size: 14px; color: #fff; }
.wp2d-nft-stage-meta p { margin: 0; font-size: 11.5px; color: #cbd5e1; line-height: 1.4; }
.wp2d-screen-ctrls {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 6;
  display: flex;
  gap: 6px;
}
.wp2d-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 10, 18, 0.78);
  color: #f8fafc;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

/* Golden Marquee Banner */
.wp2d-marquee {
  position: absolute;
  top: 8px;
  left: 10px;
  right: 10px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 196, 81, 0.94), rgba(234, 88, 12, 0.94));
  color: #160c02;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
}
.wp2d-marquee.is-running { animation: wp2dMqPop 0.32s ease-out; }
@keyframes wp2dMqPop {
  from { transform: translateY(-14px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Corner 2D Hostess MC Peek-In (Half-Body Right Corner — Zero Video Obstruction!) */
.wp2d-mc-dock {
  position: absolute;
  right: 6px;
  bottom: 0;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none;
  transform: translateY(112%);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}
.wp2d-mc-dock.is-active {
  transform: translateY(0);
  opacity: 1;
}
.wp2d-mc-bubble-wrap {
  max-width: 215px;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 12px 12px 3px 12px;
  background: rgba(12, 15, 28, 0.92);
  border: 1px solid rgba(245, 196, 81, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}
.wp2d-mc-dock.kind-top .wp2d-mc-bubble-wrap { border-color: rgba(251, 113, 133, 0.72); }
.wp2d-mc-name { display: block; font-size: 10px; font-weight: 800; color: #fde047; margin-bottom: 2px; }
.wp2d-mc-bubble { font-size: 11px; line-height: 1.35; color: #f8fafc; }
.wp2d-mc-img {
  width: 96px;
  height: 116px;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px 14px 0 0;
  filter: drop-shadow(0 -4px 14px rgba(0, 0, 0, 0.65));
}

.wp2d-now-bar {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 14, 24, 0.9);
  flex-shrink: 0;
}
.wp2d-now-title { font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp2d-now-by { font-size: 10.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Dynamic VncFun Showcase Sticky Bar */
.wp2d-showcase-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  background: linear-gradient(90deg, rgba(245, 196, 81, 0.14), rgba(225, 29, 72, 0.12));
  border-bottom: 1px solid rgba(245, 196, 81, 0.34);
  flex-shrink: 0;
}
.wp2d-sc-img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(245, 196, 81, 0.45); }
.wp2d-sc-info { flex: 1; min-width: 0; }
.wp2d-sc-top { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.wp2d-sc-top strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.wp2d-sc-sub { font-size: 10.5px; color: #fde68a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.wp2d-sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 9px;
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #160c02;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.wp2d-sc-cta.is-auction { background: linear-gradient(135deg, #fb7185, #e11d48); color: #fff; }

/* 2D Seats Strip */
.wp2d-seats-bar {
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.wp2d-seat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  flex-shrink: 0;
}
.wp2d-seat.is-host { border-color: rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.12); }
.wp2d-seat.is-top-1 { border-color: rgba(250, 204, 21, 0.7); background: rgba(250, 204, 21, 0.16); }
.wp2d-seat.is-top-2 { border-color: rgba(226, 232, 240, 0.55); }
.wp2d-seat.is-top-3 { border-color: rgba(251, 146, 60, 0.55); }
.wp2d-seat-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245, 196, 81, 0.2);
  color: #fde68a;
  font-size: 10px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wp2d-seat-meta { display: flex; flex-direction: column; line-height: 1.15; }
.wp2d-seat-name { font-size: 10.5px; font-weight: 700; color: #f8fafc; }
.wp2d-seat-stars { font-size: 9.5px; font-weight: 800; color: #fde047; }
.wp2d-seat-role { font-size: 9.5px; color: #7dd3fc; }

/* Action Bar (Kiểu B — Single-Row Horizontally Scrollable Pill Strip, Zero Overlap!) */
.wp2d-actions-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-shrink: 0;
}
.wp2d-actions-bar::-webkit-scrollbar { display: none; }
.wp2d-act-btn {
  flex: 0 0 auto;
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.wp2d-act-btn:active { transform: scale(0.96); }
.wp2d-act-btn.hidden { display: none !important; }
.wp2d-act-btn.accent-gold {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.26), rgba(234, 88, 12, 0.24));
  border-color: rgba(245, 196, 81, 0.55);
  color: #fde68a;
}
.wp2d-act-btn.accent-cyan {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
}

/* Chat (Direct Stage Children — Seamless Full / 70% / Chuẩn Layouts) */
.wp2d-full-spacer {
  display: none;
  pointer-events: none;
}
.wp2d-chat-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 10px;
  background: rgba(7, 9, 16, 0.96);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wp2d-chat-empty { font-size: 12px; color: #64748b; text-align: center; padding: 14px 8px; }
.wp2d-chat-row { font-size: 12.5px; line-height: 1.4; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.wp2d-chat-user { font-weight: 800; color: #93c5fd; }
.wp2d-chat-user.is-vip { color: #fde047; }
.wp2d-chat-row.is-host .wp2d-chat-user { color: #fda4af; }
.wp2d-chat-txt { color: #e2e8f0; word-break: break-word; flex: 1; }
.wp2d-chat-mod {
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.wp2d-chat-form {
  display: flex;
  gap: 7px;
  padding: 8px 10px calc(env(safe-area-inset-bottom, 0px) + 8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 14, 24, 0.98);
  flex-shrink: 0;
}

/* =========================================================================
   LIVE STAGE VIEW MODES: FULL (TIKTOK LIVE DEFAULT) & 70% SPLIT
   Zero backdrop-filter over live 60FPS canvas — crisp dark rgba + gradient scrims
   ========================================================================= */
.wp2d-modal.wp2d-in-room.wp2d-mode-full .wp2d-topbar {
  display: none;
}

.wp2d-mini-pill {
  white-space: nowrap;
  line-height: 1.2;
}
.wp2d-mini-pill.hidden {
  display: none !important;
}

/* ---- MODE 1: FULL (TikTok Live Translucent Overlay) & LANDSCAPE THEATER ---- */
.wp2d-stage.mode-full,
.wp2d-stage.is-landscape-theater {
  position: relative;
  background: #04050a;
}
.wp2d-stage.mode-full::after,
.wp2d-stage.is-landscape-theater::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 6, 13, 0.18) 32%, rgba(4, 6, 13, 0.56) 76%, rgba(4, 6, 13, 0.84) 100%);
  pointer-events: none;
  z-index: 5;
}
.wp2d-stage.mode-full.chat-hidden::after,
.wp2d-stage.is-landscape-theater.chat-hidden::after {
  height: 152px;
}
.wp2d-stage.is-landscape-theater::after {
  height: 52%;
}
.wp2d-stage.is-landscape-theater.chat-hidden::after {
  height: 108px;
}
.wp2d-stage.mode-full .wp2d-screen,
.wp2d-stage.is-landscape-theater .wp2d-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  z-index: auto;
}
.wp2d-stage.mode-full .wp2d-video-canvas,
.wp2d-stage.mode-full .wp2d-yt-wrap,
.wp2d-stage.mode-full .wp2d-nft-stage,
.wp2d-stage.is-landscape-theater .wp2d-video-canvas,
.wp2d-stage.is-landscape-theater .wp2d-yt-wrap,
.wp2d-stage.is-landscape-theater .wp2d-nft-stage {
  z-index: 1;
}
.wp2d-stage.mode-full .wp2d-stage-head,
.wp2d-stage.is-landscape-theater .wp2d-stage-head {
  position: relative;
  z-index: 12;
  order: 1;
  border-bottom: none;
  padding: calc(env(safe-area-inset-top, 0px) + 8px) 10px 10px;
  background: linear-gradient(180deg, rgba(4, 6, 13, 0.88) 0%, rgba(4, 6, 13, 0.48) 72%, transparent 100%);
}
.wp2d-stage.mode-full .wp2d-stage-title,
.wp2d-stage.mode-full .wp2d-stage-sub,
.wp2d-stage.is-landscape-theater .wp2d-stage-title,
.wp2d-stage.is-landscape-theater .wp2d-stage-sub {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.wp2d-stage.mode-full .wp2d-stage-head .wp2d-icon-btn,
.wp2d-stage.mode-full .wp2d-stage-head .wp2d-online-pill,
.wp2d-stage.is-landscape-theater .wp2d-stage-head .wp2d-icon-btn,
.wp2d-stage.is-landscape-theater .wp2d-stage-head .wp2d-online-pill {
  background: rgba(7, 10, 20, 0.66);
  border-color: rgba(255, 255, 255, 0.18);
}
.wp2d-stage.mode-full .wp2d-screen-ctrls,
.wp2d-stage.is-landscape-theater .wp2d-screen-ctrls {
  top: calc(env(safe-area-inset-top, 0px) + 56px);
  right: 8px;
  left: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 14;
  pointer-events: none;
}
.wp2d-stage.mode-full .wp2d-screen-ctrls > *,
.wp2d-stage.is-landscape-theater .wp2d-screen-ctrls > * {
  pointer-events: auto;
}
.wp2d-stage.mode-full .wp2d-marquee,
.wp2d-stage.mode-full .vlfx-vip-ribbon,
.wp2d-stage.is-landscape-theater .wp2d-marquee,
.wp2d-stage.is-landscape-theater .vlfx-vip-ribbon {
  top: calc(env(safe-area-inset-top, 0px) + 92px);
  z-index: 13;
}
.wp2d-stage.mode-full .vlfx-vip-ribbon,
.wp2d-stage.is-landscape-theater .vlfx-vip-ribbon {
  z-index: 20;
}
.wp2d-stage.mode-full .wp2d-rp-dock,
.wp2d-stage.is-landscape-theater .wp2d-rp-dock {
  top: calc(env(safe-area-inset-top, 0px) + 96px);
  z-index: 16;
}
.wp2d-stage.mode-full .wp2d-full-spacer,
.wp2d-stage.is-landscape-theater .wp2d-full-spacer {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  order: 2;
}
.wp2d-stage.mode-full .wp2d-now-bar,
.wp2d-stage.mode-full .wp2d-seats-bar,
.wp2d-stage.is-landscape-theater .wp2d-now-bar,
.wp2d-stage.is-landscape-theater .wp2d-seats-bar {
  display: none;
}
.wp2d-stage.mode-full .wp2d-chat-list,
.wp2d-stage.is-landscape-theater .wp2d-chat-list {
  order: 3;
  position: relative;
  z-index: 9;
  flex: 0 1 auto;
  max-height: 28dvh;
  width: min(82%, 440px);
  padding: 20px 10px 6px;
  background: transparent;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 20%, #000 34%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 20%, #000 34%, #000 100%);
}
.wp2d-stage.mode-full .wp2d-chat-list::-webkit-scrollbar,
.wp2d-stage.is-landscape-theater .wp2d-chat-list::-webkit-scrollbar { display: none; }
.wp2d-stage.mode-full .wp2d-chat-list > :first-child,
.wp2d-stage.is-landscape-theater .wp2d-chat-list > :first-child { margin-top: auto; }
.wp2d-stage.mode-full .wp2d-showcase-bar,
.wp2d-stage.is-landscape-theater .wp2d-showcase-bar {
  order: 4;
  position: relative;
  z-index: 10;
  margin: 0 10px 4px;
  border-radius: 13px;
  border: 1px solid rgba(245, 196, 81, 0.42);
  background: linear-gradient(90deg, rgba(22, 16, 12, 0.84), rgba(34, 14, 24, 0.82));
}
.wp2d-stage.mode-full .wp2d-actions-bar,
.wp2d-stage.is-landscape-theater .wp2d-actions-bar {
  order: 5;
  position: relative;
  z-index: 10;
  border-bottom: none;
  padding: 5px 10px;
  background: transparent;
}
.wp2d-stage.mode-full .wp2d-act-btn,
.wp2d-stage.is-landscape-theater .wp2d-act-btn {
  background: rgba(9, 12, 24, 0.68);
  border-color: rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
.wp2d-stage.mode-full .wp2d-act-btn.accent-gold,
.wp2d-stage.is-landscape-theater .wp2d-act-btn.accent-gold {
  background: linear-gradient(135deg, rgba(161, 98, 7, 0.76), rgba(154, 52, 18, 0.74));
  border-color: rgba(250, 204, 21, 0.65);
  color: #fef08a;
}
.wp2d-stage.mode-full .wp2d-act-btn.accent-rose,
.wp2d-stage.is-landscape-theater .wp2d-act-btn.accent-rose {
  background: rgba(159, 18, 57, 0.72);
  border-color: rgba(251, 113, 133, 0.62);
  color: #ffe4e6;
}
.wp2d-stage.mode-full .wp2d-act-btn.accent-cyan,
.wp2d-stage.is-landscape-theater .wp2d-act-btn.accent-cyan {
  background: rgba(14, 116, 144, 0.72);
  border-color: rgba(56, 189, 248, 0.62);
  color: #e0f2fe;
}
.wp2d-stage.mode-full .wp2d-chat-form,
.wp2d-stage.is-landscape-theater .wp2d-chat-form {
  order: 6;
  position: relative;
  z-index: 10;
  border-top: none;
  background: transparent;
  padding: 4px 10px calc(env(safe-area-inset-bottom, 0px) + 10px);
}
.wp2d-stage.mode-full .wp2d-chat-form .wp2d-input,
.wp2d-stage.is-landscape-theater .wp2d-chat-form .wp2d-input {
  background: rgba(9, 12, 24, 0.72);
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 9px 14px;
}
.wp2d-stage.mode-full .wp2d-chat-form .wp2d-btn-primary.sm,
.wp2d-stage.is-landscape-theater .wp2d-chat-form .wp2d-btn-primary.sm {
  border-radius: 999px;
  padding: 8px 14px;
}
.wp2d-stage.mode-full .wp2d-mc-dock {
  bottom: 30dvh;
  z-index: 12;
}
.wp2d-stage.mode-full.chat-hidden .wp2d-mc-dock {
  bottom: 112px;
}
.wp2d-stage.mode-full.has-showcase .wp2d-mc-dock {
  bottom: 35dvh;
}
.wp2d-stage.mode-full.has-showcase.chat-hidden .wp2d-mc-dock {
  bottom: 172px;
}
.wp2d-stage.mode-full .vlfx-combo-btn {
  bottom: 118px;
}
.wp2d-stage.mode-full.has-showcase .vlfx-combo-btn {
  bottom: 178px;
}
.wp2d-stage.mode-full .vlfx-pill-stack {
  bottom: 32dvh;
}
.wp2d-stage.mode-full.chat-hidden .vlfx-pill-stack {
  bottom: 120px;
}
.wp2d-stage.mode-full.has-showcase.chat-hidden .vlfx-pill-stack {
  bottom: 176px;
}

/* ---- MODE 2: 70% SPLIT (DEFAULT — Portrait 70% TikTok Overlay / Auto-Dock 16:9 Top Clean) ---- */
.wp2d-stage.mode-split70 {
  position: relative;
}
.wp2d-stage.mode-split70 .wp2d-stage-head { order: 1; }
.wp2d-stage.mode-split70 .wp2d-screen {
  order: 2;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}
.wp2d-stage.mode-split70 .wp2d-screen-ctrls {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}
.wp2d-stage.mode-full .wp2d-screen-ctrls .wp2d-mini-pill,
.wp2d-stage.mode-split70 .wp2d-screen-ctrls .wp2d-mini-pill,
.wp2d-stage.is-landscape-theater .wp2d-screen-ctrls .wp2d-mini-pill {
  background: rgba(7, 10, 20, 0.78);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  padding: 4px 6.5px;
  font-size: 10px;
  gap: 3px;
}
.wp2d-stage.mode-full .wp2d-screen-ctrls .wp2d-mini-pill.is-active,
.wp2d-stage.mode-split70 .wp2d-screen-ctrls .wp2d-mini-pill.is-active,
.wp2d-stage.is-landscape-theater .wp2d-screen-ctrls .wp2d-mini-pill.is-active {
  background: rgba(34, 24, 6, 0.86);
  border-color: rgba(250, 204, 21, 0.78);
  color: #fef08a;
}
.wp2d-mini-pill.is-hint {
  background: rgba(8, 38, 56, 0.86) !important;
  border-color: rgba(56, 189, 248, 0.72) !important;
  color: #bae6fd !important;
}
.wp2d-stage.mode-split70 .wp2d-seats-bar { display: none; }
.wp2d-stage.mode-split70 .wp2d-chat-list {
  order: 3;
  position: relative;
  z-index: 9;
  flex: 0 0 25dvh;
  height: 25dvh;
  margin-top: -25dvh;
  width: min(82%, 440px);
  padding: 20px 10px 10px;
  background: transparent;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 20%, #000 36%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 20%, #000 36%, #000 100%);
}
.wp2d-stage.mode-split70 .wp2d-chat-list::-webkit-scrollbar { display: none; }
.wp2d-stage.mode-split70 .wp2d-chat-list > :first-child { margin-top: auto; }
.wp2d-stage.mode-split70 .wp2d-now-bar {
  order: 4;
  position: relative;
  z-index: 10;
}
.wp2d-stage.mode-split70 .wp2d-showcase-bar {
  order: 5;
  position: relative;
  z-index: 10;
}
.wp2d-stage.mode-split70 .wp2d-actions-bar {
  order: 6;
  position: relative;
  z-index: 10;
  background: rgba(9, 12, 22, 0.96);
}
.wp2d-stage.mode-split70 .wp2d-chat-form {
  order: 7;
  position: relative;
  z-index: 10;
}
.wp2d-stage.mode-split70 .vlfx-pill-stack {
  bottom: 25dvh;
}
.wp2d-stage.mode-split70:not(.is-video-landscape):not(.chat-hidden) .wp2d-mc-dock {
  bottom: 22dvh;
  z-index: 12;
}
.wp2d-stage.mode-split70.chat-hidden .vlfx-pill-stack {
  bottom: 12px;
}

/* Auto-Dock Horizontal (16:9) Video cleanly to Top in 70% Mode with Solid Clean Chat Below */
.wp2d-stage.mode-split70.is-video-landscape .wp2d-screen {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 44dvh;
  height: auto;
}
.wp2d-stage.mode-split70.is-video-landscape .wp2d-chat-list {
  order: 7;
  flex: 1 1 auto;
  height: auto;
  margin-top: 0;
  width: 100%;
  max-height: none;
  padding: 8px 10px;
  background: rgba(7, 9, 16, 0.96);
  -webkit-mask-image: none;
  mask-image: none;
  scrollbar-width: auto;
}
.wp2d-stage.mode-split70.is-video-landscape .wp2d-chat-list > :first-child {
  margin-top: 0;
}
.wp2d-stage.mode-split70.is-video-landscape .wp2d-chat-form {
  order: 8;
}
.wp2d-stage.mode-split70.is-video-landscape .vlfx-pill-stack {
  bottom: 12px;
}

/* Shared TikTok Translucent Chat Bubble Styling for Full, Portrait 70% & Landscape Theater */
.wp2d-stage.mode-full .wp2d-chat-row,
.wp2d-stage.mode-split70:not(.is-video-landscape) .wp2d-chat-row,
.wp2d-stage.is-landscape-theater .wp2d-chat-row {
  display: block;
  background: rgba(7, 10, 20, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 9px;
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.38;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.55);
}
.wp2d-stage.mode-full .wp2d-chat-user,
.wp2d-stage.mode-split70:not(.is-video-landscape) .wp2d-chat-user,
.wp2d-stage.is-landscape-theater .wp2d-chat-user {
  display: inline;
  margin-right: 3px;
}
.wp2d-stage.mode-full .wp2d-chat-row.is-emperor,
.wp2d-stage.mode-split70:not(.is-video-landscape) .wp2d-chat-row.is-emperor,
.wp2d-stage.is-landscape-theater .wp2d-chat-row.is-emperor {
  background: rgba(48, 32, 6, 0.40);
  border: 1px solid rgba(245, 196, 81, 0.48);
  border-left: 2.5px solid #fde047;
  padding-left: 9px;
  border-radius: 12px;
}
.wp2d-stage.mode-full .wp2d-chat-txt,
.wp2d-stage.mode-split70:not(.is-video-landscape) .wp2d-chat-txt,
.wp2d-stage.is-landscape-theater .wp2d-chat-txt {
  display: inline;
  color: #f8fafc;
}
.wp2d-stage.mode-full .wp2d-chat-mod,
.wp2d-stage.mode-split70:not(.is-video-landscape) .wp2d-chat-mod,
.wp2d-stage.is-landscape-theater .wp2d-chat-mod {
  margin-left: 6px;
  vertical-align: middle;
}
.wp2d-stage.mode-full .wp2d-chat-empty,
.wp2d-stage.mode-split70:not(.is-video-landscape) .wp2d-chat-empty,
.wp2d-stage.is-landscape-theater .wp2d-chat-empty {
  background: rgba(7, 10, 20, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #f1f5f9;
  text-align: left;
  padding: 5px 10px;
  font-size: 11.5px;
  line-height: 1.4;
  width: fit-content;
  max-width: 100%;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.55);
}
.wp2d-stage.chat-hidden .wp2d-chat-list {
  display: none !important;
}

/* ---- LANDSCAPE THEATER (90° Rotated on Portrait Mobile / Full-Width on Landscape & Desktop) ---- */
@media (orientation: portrait) {
  .wp2d-modal.wp2d-in-room.wp2d-landscape-theater .wp2d-shell {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100dvh;
    height: 100dvw;
    max-width: none;
    max-height: none;
    margin: 0;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center center;
  }
}
@media (orientation: landscape) {
  .wp2d-modal.wp2d-in-room.wp2d-landscape-theater .wp2d-shell {
    max-width: 100vw;
    width: 100%;
    height: 100%;
  }
}
.wp2d-stage.is-landscape-theater .wp2d-stage-head {
  padding: 5px max(12px, env(safe-area-inset-bottom, 0px)) 6px max(12px, env(safe-area-inset-top, 0px));
}
.wp2d-stage.is-landscape-theater .wp2d-screen-ctrls {
  top: 44px;
  right: max(10px, env(safe-area-inset-bottom, 0px));
  left: max(10px, env(safe-area-inset-top, 0px));
}
.wp2d-stage.is-landscape-theater .wp2d-marquee,
.wp2d-stage.is-landscape-theater .vlfx-vip-ribbon {
  top: 76px;
}
.wp2d-stage.is-landscape-theater .wp2d-rp-dock {
  top: 80px;
  left: max(10px, env(safe-area-inset-top, 0px));
}
.wp2d-stage.is-landscape-theater .wp2d-chat-list {
  width: min(44%, 360px);
  max-height: 44%;
  padding: 14px 12px 4px max(12px, env(safe-area-inset-top, 0px));
}
.wp2d-stage.is-landscape-theater .wp2d-actions-bar {
  padding: 3px max(12px, env(safe-area-inset-bottom, 0px)) 3px max(12px, env(safe-area-inset-top, 0px));
}
.wp2d-stage.is-landscape-theater .wp2d-act-btn {
  padding: 5px 10px;
  font-size: 11px;
}
.wp2d-stage.is-landscape-theater .wp2d-chat-form {
  padding: 3px max(12px, env(safe-area-inset-bottom, 0px)) 6px max(12px, env(safe-area-inset-top, 0px));
}
.wp2d-stage.is-landscape-theater .wp2d-chat-form .wp2d-input {
  padding: 6px 12px;
  font-size: 12px;
}
.wp2d-stage.is-landscape-theater .wp2d-chat-form .wp2d-btn-primary.sm {
  padding: 6px 12px;
}
.wp2d-stage.is-landscape-theater .wp2d-mc-dock {
  bottom: 84px;
  z-index: 11;
}
.wp2d-stage.is-landscape-theater.has-showcase .wp2d-mc-dock {
  bottom: 140px;
}
.wp2d-stage.is-landscape-theater .vlfx-combo-btn {
  bottom: 90px;
}
.wp2d-stage.is-landscape-theater.has-showcase .vlfx-combo-btn {
  bottom: 146px;
}
.wp2d-stage.is-landscape-theater .vlfx-pill-stack {
  bottom: 48%;
}
.wp2d-stage.is-landscape-theater.chat-hidden .vlfx-pill-stack {
  bottom: 90px;
}

/* Desktop polish for Full & 70% stage modes */
@media (min-width: 960px) {
  .wp2d-stage.mode-full .wp2d-chat-list,
  .wp2d-stage.mode-split70:not(.is-video-landscape) .wp2d-chat-list {
    width: min(56%, 460px);
  }
}

/* In-Shell Notification Card (Style 1 + 3px Left Accent Bar; rotates cleanly with Landscape Theater) */
.wp2d-toast {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 146px);
  left: 50%;
  transform: translate(-50%, -12px) scale(0.97);
  opacity: 0;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: min(90%, 384px);
  padding: 8px 13px 8px 13px;
  border-radius: 12px;
  background: rgba(11, 14, 24, 0.92);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #f8fafc;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.wp2d-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.wp2d-toast.hidden { display: none !important; }
.wp2d-modal.wp2d-mode-full .wp2d-toast {
  top: calc(env(safe-area-inset-top, 0px) + 96px);
}
.wp2d-modal.wp2d-landscape-theater .wp2d-toast {
  top: 76px;
}

/* Sub-Modals */
.wp2d-sub-bd {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
}
.wp2d-sub-bd.hidden { display: none !important; }
.wp2d-modal.wp2d-landscape-theater .wp2d-sub-bd {
  align-items: center;
  padding: 8px;
}
.wp2d-modal.wp2d-landscape-theater .wp2d-sub-card {
  max-height: 92%;
  max-width: min(520px, 92%);
}
.wp2d-sub-card {
  width: 100%;
  max-width: 520px;
  max-height: 86dvh;
  background: #0d101c;
  border: 1px solid rgba(245, 196, 81, 0.34);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wp2d-sub-card.compact { max-width: 360px; margin: auto; }
.wp2d-sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.wp2d-sub-head h4 { margin: 0; font-size: 14px; color: #fde68a; }
.wp2d-sub-body {
  padding: 12px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wp2d-field { display: flex; flex-direction: column; gap: 5px; }
.wp2d-field label { font-size: 11.5px; font-weight: 700; color: #cbd5e1; }
.wp2d-tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 7px; }
.wp2d-choice-btn {
  padding: 9px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}
.wp2d-choice-btn strong { font-size: 12.5px; }
.wp2d-choice-btn span { font-size: 10.5px; color: #94a3b8; }
.wp2d-choice-btn.active { border-color: rgba(245, 196, 81, 0.7); background: rgba(245, 196, 81, 0.14); color: #fde68a; }
.wp2d-choice-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.wp2d-mc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.wp2d-mc-choice {
  padding: 6px 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.wp2d-mc-choice img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.wp2d-mc-choice.active { border-color: rgba(245, 196, 81, 0.75); background: rgba(245, 196, 81, 0.16); color: #fde68a; }
.wp2d-pr-row { display: flex; gap: 6px; flex-wrap: wrap; }
.wp2d-toggle-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #cbd5e1; cursor: pointer; }
.wp2d-host-danger-row { display: flex; gap: 8px; justify-content: space-between; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.wp2d-seg-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; background: rgba(255, 255, 255, 0.04); padding: 4px; border-radius: 11px; }
.wp2d-seg-btn { padding: 7px 6px; border-radius: 8px; border: none; background: transparent; color: #94a3b8; font-size: 11.5px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.wp2d-seg-btn.active { background: rgba(245, 196, 81, 0.22); color: #fde68a; }
.wp2d-q-list { display: flex; flex-direction: column; gap: 6px; max-height: 150px; overflow-y: auto; }
.wp2d-q-empty { font-size: 11.5px; color: #94a3b8; text-align: center; padding: 10px; }
.wp2d-q-item { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.wp2d-q-item.is-pr { border-color: rgba(244, 63, 94, 0.45); background: rgba(244, 63, 94, 0.09); }
.wp2d-q-idx { width: 20px; font-size: 11px; font-weight: 800; color: #fde047; text-align: center; }
.wp2d-q-meta { flex: 1; min-width: 0; }
.wp2d-q-title { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp2d-q-sub { font-size: 10.5px; color: #94a3b8; }
.wp2d-q-pane { display: flex; flex-direction: column; gap: 8px; }
.wp2d-search-row { display: flex; gap: 6px; }
.wp2d-pick-list { display: flex; flex-direction: column; gap: 6px; max-height: 200px; overflow-y: auto; }
.wp2d-pick-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); }
.wp2d-pick-row img { width: 42px; height: 28px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.wp2d-pick-title { flex: 1; min-width: 0; font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp2d-note { padding: 8px 10px; border-radius: 10px; background: rgba(56, 189, 248, 0.09); border: 1px solid rgba(56, 189, 248, 0.25); font-size: 11px; line-height: 1.45; color: #bae6fd; }
.wp2d-wallet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.14), rgba(15, 20, 36, 0.94));
  border: 1px solid rgba(245, 196, 81, 0.36);
}
.wp2d-wb-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wp2d-wb-lbl { font-size: 10.5px; color: #94a3b8; font-weight: 600; }
.wp2d-wb-val { font-size: 13px; color: #fde68a; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp2d-gift-art {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 2px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}
.wp2d-gift-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 7px; }
.wp2d-gift-card {
  padding: 9px 7px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}
.wp2d-gift-card strong { font-size: 13px; color: #fde047; }
.wp2d-gift-card span { font-size: 11px; font-weight: 700; }
.wp2d-gift-card em { font-style: normal; font-size: 9.5px; color: #fda4af; font-weight: 700; }
.wp2d-gift-card.active { border-color: rgba(245, 196, 81, 0.8); background: rgba(245, 196, 81, 0.18); }
.wp2d-hof-sec h5 { margin: 0 0 6px; font-size: 12.5px; color: #fde68a; }


/* =========================================================================
   PLAN v21.1: DIARY LIVE BADGES, COMMUNITY SPOTLIGHT ADS & BOOST MODAL
   ========================================================================= */
.sd-avatar-wrap {
  position: relative;
}
.sd-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sd-avatar-wrap.is-live {
  overflow: visible !important;
  border: 2px solid #f43f5e !important;
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.32), 0 0 14px rgba(244, 63, 94, 0.45);
}
.sd-avatar-wrap.is-live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 113, 133, 0.85);
  pointer-events: none;
  animation: sdLiveRingPulse 1.8s cubic-bezier(0.24, 0.6, 0.35, 1) infinite;
}
@keyframes sdLiveRingPulse {
  0% { transform: scale(0.96); opacity: 0.9; }
  75% { transform: scale(1.16); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
.sd-live-av-chip {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  border: 1.5px solid #0b0e17;
  color: #fff;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 3;
}
.sd-live-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(244, 63, 94, 0.6);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.28), rgba(225, 29, 72, 0.18));
  color: #fecdd3;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.sd-live-mini-btn i,
.sd-live-pill-dot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fb7185;
  box-shadow: 0 0 8px #f43f5e;
  display: inline-block;
  flex-shrink: 0;
}
.sd-wall-live-banner {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(245, 196, 81, 0.12));
  border: 1px solid rgba(244, 63, 94, 0.48);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sd-wall-live-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sd-wall-live-r1 {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sd-live-pill-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.25);
  border: 1px solid rgba(244, 63, 94, 0.55);
  color: #fecdd3;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.sd-live-nft-tag {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.2);
  border: 1px solid rgba(245, 196, 81, 0.55);
  color: #fde68a;
  font-size: 9.5px;
  font-weight: 800;
}
.sd-wall-live-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-wall-live-sub {
  font-size: 11px;
  color: #cbd5e1;
}
.sd-wall-live-cta {
  padding: 8px 13px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #f43f5e, #f59e0b);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.sd-wall-btn.live-start {
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.14);
  color: #fecdd3;
}

/* Community Feed Top Spotlight Bar & Interleaved Promoted Live Cards */
.sd-live-spotlight-wrap {
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.11), rgba(15, 23, 42, 0.55));
  border: 1px solid rgba(244, 63, 94, 0.34);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sd-live-spotlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sd-live-spotlight-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fde68a;
}
.sd-live-spotlight-all {
  background: transparent;
  border: none;
  color: #fda4af;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 4px;
}
.sd-live-spotlight-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.sd-live-spotlight-row::-webkit-scrollbar { display: none; }
.sd-live-ad-card {
  padding: 10px 11px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(17, 22, 39, 0.96), rgba(30, 18, 32, 0.92));
  border: 1px solid rgba(244, 63, 94, 0.42);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.15s ease;
}
.sd-live-ad-card:active { transform: scale(0.99); }
.sd-live-ad-card.is-spotlight {
  border-color: rgba(245, 196, 81, 0.72);
  box-shadow: 0 6px 20px rgba(245, 196, 81, 0.14);
}
.sd-live-ad-card.is-compact {
  min-width: 268px;
  max-width: 295px;
  flex-shrink: 0;
}
.sd-live-ad-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.sd-live-ad-tags {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.sd-live-tier-tag {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.sd-live-tier-tag.tier-spotlight {
  background: rgba(245, 196, 81, 0.22);
  color: #fde68a;
}
.sd-live-tier-tag.tier-featured {
  background: rgba(244, 63, 94, 0.2);
  color: #fecdd3;
}
.sd-live-viewers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  white-space: nowrap;
}
.sd-live-ad-body {
  display: flex;
  align-items: center;
  gap: 9px;
}
.sd-live-ad-thumb {
  width: 56px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0b0e17;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sd-live-ad-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sd-live-ad-title {
  font-size: 12.5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-live-ad-tagline {
  font-size: 11px;
  color: #fde68a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-live-ad-sub {
  font-size: 10.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-live-ad-cta {
  padding: 6px 11px;
  border-radius: 9px;
  border: none;
  background: linear-gradient(135deg, #f43f5e, #f59e0b);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Watch Party 2D Boost Button, Spotlight Card & Boost Sub-Modal */
.wp2d-boost-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.55);
  background: rgba(245, 196, 81, 0.15);
  color: #fde68a;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.wp2d-boost-btn.is-boosted {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.34), rgba(245, 196, 81, 0.28));
  border-color: rgba(245, 196, 81, 0.85);
  color: #fff;
}
.wp2d-boost-btn.hidden { display: none !important; }
.wp2d-room-card.is-spotlight {
  border-color: rgba(245, 196, 81, 0.85) !important;
  box-shadow: 0 0 18px rgba(245, 196, 81, 0.22);
}
.wp2d-boost-active-bar {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #a7f3d0;
  font-size: 11.5px;
  font-weight: 700;
}
.wp2d-boost-warn {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fecdd3;
  font-size: 11.5px;
  font-weight: 700;
}
.wp2d-boost-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wp2d-boost-card {
  width: 100%;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.wp2d-boost-card.active {
  border-color: rgba(245, 196, 81, 0.8);
  background: rgba(245, 196, 81, 0.14);
}
.wp2d-boost-card:disabled { opacity: 0.45; cursor: not-allowed; }
.wp2d-boost-card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wp2d-boost-card-h strong { font-size: 13px; color: #fff; }
.wp2d-boost-price { font-size: 11.5px; font-weight: 800; color: #fde047; white-space: nowrap; }
.wp2d-boost-desc { font-size: 11px; color: #94a3b8; line-height: 1.4; }

/* =========================================================================
   PLAN v22: 4-TIER LIVE GIFT FX, VIP ENTRANCE, GLOBAL TICKER, RED PACKETS,
   MOVIE QUEUE VOTE, TOP 1-3 HOT BADGES, UNIVERSAL QR & 4-DIGIT LOCK GATE
   ========================================================================= */

/* Watch Party Top 1-3 Hot Badges, Compact Mode, Queue Vote, Red Packets */
.wp2d-pill.hot-top-1 { background: linear-gradient(135deg, #f59e0b, #fde047); color: #1a1000; font-weight: 800; }
.wp2d-pill.hot-top-2 { background: linear-gradient(135deg, #cbd5e1, #f8fafc); color: #0f172a; font-weight: 800; }
.wp2d-pill.hot-top-3 { background: linear-gradient(135deg, #fb923c, #fdba74); color: #1c0f00; font-weight: 800; }
.wp2d-mini-pill.is-active { background: rgba(245, 196, 81, 0.24); border-color: rgba(245, 196, 81, 0.65); color: #fde68a; }
.wp2d-act-btn.accent-rose { background: rgba(244, 63, 94, 0.16); border-color: rgba(251, 113, 133, 0.45); color: #fecdd3; }
.wp2d-chat-row.is-emperor { background: rgba(245, 196, 81, 0.1); border-left: 2px solid #f5c451; padding-left: 6px; border-radius: 6px; }
.wp2d-q-acts { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.wp2d-vote-btn {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px 7px; border-radius: 8px;
  border: 1px solid rgba(245, 196, 81, 0.4);
  background: rgba(245, 196, 81, 0.12);
  color: #fde68a; font-size: 11px; font-weight: 700; cursor: pointer;
}
.wp2d-vote-btn:hover { background: rgba(245, 196, 81, 0.26); }
.wp2d-vote-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Floating Lucky Red Packet Dock on Stage */
.wp2d-rp-dock {
  position: absolute; left: 10px; top: 44px; z-index: 16;
  display: flex; flex-direction: column; gap: 6px; max-width: 235px;
}
.wp2d-rp-dock.hidden { display: none; }
.wp2d-rp-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 11px; border-radius: 13px;
  border: 1px solid rgba(251, 113, 133, 0.65);
  background: linear-gradient(135deg, rgba(190, 18, 60, 0.9), rgba(136, 19, 55, 0.92));
  color: #fff; text-align: left; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.wp2d-rp-pill.is-ready {
  border-color: #fde047;
  animation: wp2dRpPulse 1.3s ease-in-out infinite;
}
.wp2d-rp-pill.is-claimed { opacity: 0.68; filter: grayscale(0.35); }
.wp2d-rp-ico {
  width: 28px; height: 28px; border-radius: 9px;
  background: rgba(253, 224, 71, 0.2); color: #fde047;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wp2d-rp-copy { display: flex; flex-direction: column; min-width: 0; }
.wp2d-rp-copy strong { font-size: 11.5px; color: #fef08a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp2d-rp-copy em { font-style: normal; font-size: 10.5px; color: #ffe4e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes wp2dRpPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.45); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 7px rgba(253, 224, 71, 0); }
}

/* VncLiveFx: Corner Gift Pills, Tier-3 Cinema FX, Combo Button, VIP Entrance, Global Ticker */
.vlfx-pill-stack {
  position: absolute; left: 10px; bottom: 12px; z-index: 18;
  display: flex; flex-direction: column; gap: 6px; pointer-events: none; max-width: 72%;
}
.vlfx-gift-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 6px; border-radius: 999px;
  background: rgba(11, 16, 30, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  transform: translateX(-24px); opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.vlfx-gift-pill.tier-2, .vlfx-gift-pill.tier-3 {
  border-color: rgba(245, 196, 81, 0.72);
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.9), rgba(15, 23, 42, 0.9));
}
.vlfx-gift-pill.is-in { transform: translateX(0); opacity: 1; }
.vlfx-pill-art { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.vlfx-pill-copy { display: flex; flex-direction: column; min-width: 0; }
.vlfx-pill-copy strong { font-size: 11.5px; color: #fde68a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlfx-pill-copy span { font-size: 10.5px; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vlfx-cinema-overlay {
  position: absolute; inset: 0; z-index: 29;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(circle at center, rgba(245, 196, 81, 0.2), rgba(5, 8, 18, 0.46) 72%);
  opacity: 0; pointer-events: none; transition: opacity 0.28s ease; text-align: center; padding: 14px;
}
.vlfx-cinema-overlay.is-active { opacity: 1; pointer-events: auto; cursor: pointer; }
.vlfx-cinema-ring {
  position: absolute; width: 170px; height: 170px; border-radius: 50%;
  border: 2px solid rgba(253, 224, 71, 0.45);
  box-shadow: 0 0 42px rgba(245, 196, 81, 0.5);
  animation: vlfxSpinPulse 2.6s ease-out forwards;
}
.vlfx-cinema-art {
  position: relative; z-index: 1; width: 108px; height: 108px; object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(245, 196, 81, 0.55));
  animation: vlfxArtPop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.vlfx-cinema-badge {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #fde047);
  color: #1c1000; font-size: 11px; font-weight: 900; letter-spacing: 0.4px;
}
.vlfx-cinema-title { position: relative; z-index: 1; font-size: 15px; font-weight: 800; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.96), 0 0 24px rgba(15, 23, 42, 0.9); }
.vlfx-cinema-sub { position: relative; z-index: 1; font-size: 12px; color: #fde68a; max-width: 90%; }
@keyframes vlfxArtPop { from { transform: scale(0.45) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes vlfxSpinPulse { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(1.65); opacity: 0; } }

.vlfx-combo-btn {
  position: absolute; right: 12px; bottom: 12px; z-index: 22;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 9px 14px; border-radius: 16px;
  border: 1.5px solid #fde047;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1a1000; cursor: pointer;
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.45);
  transform: scale(0.8); opacity: 0; pointer-events: none; transition: all 0.2s ease;
}
.vlfx-combo-btn.is-show { transform: scale(1); opacity: 1; pointer-events: auto; }
.vlfx-combo-btn strong { font-size: 12.5px; font-weight: 900; }
.vlfx-combo-btn span { font-size: 10px; font-weight: 700; opacity: 0.9; }

.vlfx-vip-ribbon {
  position: absolute; top: 8px; left: 50%; z-index: 20;
  transform: translate(-50%, -18px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 7px; max-width: 90%;
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(120, 53, 15, 0.92), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(253, 224, 71, 0.72);
  color: #fef08a; font-size: 11.5px; font-weight: 800; white-space: nowrap;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.vlfx-vip-ribbon.is-emperor { background: linear-gradient(90deg, #b45309, #f59e0b, #b45309); color: #1a1000; }
.vlfx-vip-ribbon.is-active { transform: translate(-50%, 0); opacity: 1; }
.vlfx-vip-ico { display: inline-flex; align-items: center; }

.vlfx-global-ticker {
  position: fixed; top: 58px; left: 50%; z-index: 9500;
  transform: translate(-50%, -22px); opacity: 0; pointer-events: none;
  max-width: min(94vw, 580px); transition: transform 0.28s ease, opacity 0.28s ease;
}
.vlfx-global-ticker.is-show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.vlfx-gt-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px 7px 12px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(120, 53, 15, 0.94));
  border: 1px solid rgba(253, 224, 71, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  color: #fef9c3; font-size: 12px; font-weight: 700;
}
.vlfx-gt-pill.is-rp {
  background: linear-gradient(90deg, rgba(136, 19, 55, 0.95), rgba(190, 18, 60, 0.94));
  border-color: rgba(253, 224, 71, 0.8);
}
.vlfx-gt-ico { color: #fde047; display: inline-flex; flex-shrink: 0; }
.vlfx-gt-txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlfx-gt-jump {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  padding: 4px 10px; border-radius: 999px; border: 0;
  background: #fde047; color: #1a1000; font-size: 11px; font-weight: 800; cursor: pointer;
}
.vlfx-gt-close {
  background: transparent; border: 0; color: rgba(255, 255, 255, 0.75);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 3px;
}

/* Social Diary Option 3A Blurred Avatar & 4-Digit Lock Gate */
.sd-av-blurred { position: relative; cursor: pointer; overflow: hidden; }
.sd-av-blurred .sd-avatar-img { filter: blur(11px) brightness(0.78); transform: scale(1.1); transition: filter 0.25s ease, transform 0.25s ease; }
.sd-av-blurred.is-revealed .sd-avatar-img { filter: none; transform: scale(1); }
.sd-av-blur-chip {
  position: absolute; inset: auto 2px 3px 2px; z-index: 3;
  text-align: center; font-size: 9px; font-weight: 800; padding: 2px 4px;
  border-radius: 999px; background: rgba(7, 10, 20, 0.85); color: #fde68a;
  border: 1px solid rgba(245, 196, 81, 0.45);
}
.sd-lock-gate {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 20px 16px; border-radius: 16px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 196, 81, 0.34);
}
.sd-lock-gate-ico {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(245, 196, 81, 0.14); border: 1px solid rgba(245, 196, 81, 0.4);
  display: inline-flex; align-items: center; justify-content: center;
}
.sd-lock-gate strong { font-size: 14px; color: #fff; }
.sd-lock-gate p { font-size: 12px; color: #94a3b8; line-height: 1.5; margin: 0; max-width: 340px; }
.sd-lock-gate-err { font-size: 12px; font-weight: 700; color: #fb7185; }
.sd-lock-modal-note {
  font-size: 12px; color: #cbd5e1; line-height: 1.5;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Universal Share & QR Modal + Built-In PWA QR Scanner (vsqr-*) */
.vsqr-bd {
  position: fixed; inset: 0; z-index: 12000;
  background: rgba(3, 6, 15, 0.78); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.vsqr-bd.hidden { display: none; }
.vsqr-card {
  width: min(100%, 440px); max-height: 92vh; overflow-y: auto;
  background: #0d1324; border: 1px solid rgba(245, 196, 81, 0.28);
  border-radius: 20px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65); color: #e2e8f0;
}
.vsqr-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vsqr-head h4 {
  margin: 0; font-size: 14.5px; font-weight: 800; color: #fff;
  display: inline-flex; align-items: center; gap: 7px;
}
.vsqr-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 11px; }
.vsqr-icon-btn {
  width: 32px; height: 32px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.vsqr-icon-btn.sm { width: 38px; height: 46px; }
.vsqr-icon-btn.xs { width: 26px; height: 26px; border-radius: 50%; }
.vsqr-ico { display: inline-flex; align-items: center; justify-content: center; }
.vsqr-preview-wrap { display: flex; justify-content: center; }
.vsqr-qr-canvas {
  width: 210px; height: 273px; border-radius: 16px;
  border: 1px solid rgba(245, 196, 81, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.vsqr-status-line { text-align: center; font-size: 12px; font-weight: 700; color: #fde68a; }
.vsqr-mirror-bar { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.vsqr-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1; font-size: 11.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.vsqr-chip.active { border-color: rgba(245, 196, 81, 0.78); background: rgba(245, 196, 81, 0.18); color: #fde68a; }
.vsqr-chip.danger { border-color: rgba(251, 113, 133, 0.45); color: #fda4af; }
.vsqr-link-box {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 11px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
}
.vsqr-link-txt { font-size: 12px; color: #93c5fd; font-family: ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vsqr-code-pill {
  padding: 3px 8px; border-radius: 8px; flex-shrink: 0;
  background: rgba(245, 196, 81, 0.18); color: #fde68a;
  font-size: 11.5px; font-family: ui-monospace, Menlo, monospace;
}
.vsqr-toggle-row {
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: #cbd5e1; cursor: pointer;
}
.vsqr-toggle-row.compact { gap: 6px; font-size: 12.5px; color: #fff; }
.vsqr-act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.vsqr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 10px; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.07);
  color: #f8fafc; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.vsqr-btn.primary {
  border-color: rgba(245, 196, 81, 0.7);
  background: linear-gradient(135deg, #f5c451, #d97706); color: #160e00; font-weight: 800;
}
.vsqr-btn.emerald {
  border-color: rgba(16, 185, 129, 0.75);
  background: linear-gradient(135deg, #10b981, #059669); color: #022c22; font-weight: 800;
}
.vsqr-btn.full { width: 100%; }
.vsqr-btn.sm { padding: 7px 11px; font-size: 11.5px; }
.vsqr-lock-panel {
  padding: 11px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-direction: column; gap: 9px;
}
.vsqr-lock-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vsqr-lock-inner { display: flex; flex-direction: column; gap: 9px; }
.vsqr-info-tip {
  font-size: 11.5px; color: #cbd5e1; line-height: 1.45;
  padding: 8px 10px; border-radius: 10px; background: rgba(245, 196, 81, 0.08);
  border: 1px solid rgba(245, 196, 81, 0.25);
}
.vsqr-lock4-wrap { display: flex; justify-content: center; }
.vsqr-lock4-row { display: flex; align-items: center; gap: 8px; }
.vsqr-lock4-box {
  width: 48px; height: 48px; border-radius: 12px; text-align: center;
  border: 1.5px solid rgba(255, 255, 255, 0.18); background: rgba(7, 11, 22, 0.9);
  color: #fde68a; font-size: 20px; font-weight: 800; outline: none;
}
.vsqr-lock4-box:focus { border-color: #f5c451; box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.22); }
.vsqr-lock4-box.filled { border-color: rgba(245, 196, 81, 0.65); }
.vsqr-hint { font-size: 11.5px; color: #94a3b8; line-height: 1.45; }
.vsqr-err { font-size: 12px; font-weight: 700; color: #fb7185; text-align: center; }
.vsqr-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 2px; }
.vsqr-link-btn {
  display: inline-flex; align-items: center; gap: 5px; background: transparent; border: 0;
  color: #fde68a; font-size: 12px; font-weight: 700; cursor: pointer; padding: 4px 2px;
}
.vsqr-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vsqr-tab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 8px 6px; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1; font-size: 11.5px; font-weight: 700; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vsqr-tab-btn.active { border-color: rgba(245, 196, 81, 0.72); background: rgba(245, 196, 81, 0.18); color: #fde68a; }
.vsqr-code-form { display: flex; gap: 7px; }
.vsqr-input {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(7, 11, 22, 0.9);
  color: #fff; font-size: 13px; outline: none;
}
.vsqr-input:focus { border-color: #f5c451; }
.vsqr-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 26px 14px; border-radius: 14px; text-align: center;
  border: 1.5px dashed rgba(245, 196, 81, 0.45); background: rgba(245, 196, 81, 0.05);
  color: #e2e8f0; font-size: 12.5px; cursor: pointer;
}
.vsqr-dropzone.over { background: rgba(245, 196, 81, 0.16); border-color: #fde047; }
.vsqr-cam-video { width: 100%; max-height: 240px; border-radius: 14px; background: #000; object-fit: cover; }
.vsqr-result-box {
  padding: 12px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-direction: column; gap: 10px;
}
.vsqr-gate-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12.5px; font-weight: 800; color: #fde68a;
}
.vsqr-unlocked-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.vsqr-unlocked-ico {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.18); border: 1.5px solid rgba(16, 185, 129, 0.65);
  color: #34d399; display: inline-flex; align-items: center; justify-content: center;
}
.vsqr-unlocked-card strong { font-size: 15px; color: #34d399; }
.vsqr-unlocked-card span { font-size: 12px; color: #cbd5e1; }
.vsqr-empty { text-align: center; padding: 18px 10px; font-size: 12.5px; color: #94a3b8; }
.vsqr-mylinks-list { display: flex; flex-direction: column; gap: 9px; }
.vsqr-mylink-row {
  padding: 10px 11px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex; flex-direction: column; gap: 6px;
}
.vsqr-ml-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vsqr-ml-type { font-size: 11px; color: #94a3b8; font-weight: 700; }
.vsqr-ml-badge { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.vsqr-ml-badge.locked { background: rgba(251, 113, 133, 0.18); color: #fda4af; }
.vsqr-ml-hits { margin-left: auto; font-size: 11px; color: #94a3b8; }
.vsqr-ml-title { font-size: 12.5px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vsqr-ml-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.vsqr-inline-lock-edit {
  margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}

/* =========================================================================
   PLAN v23: THẺ CÀO HOÀNG KIM QR & QR PHÁT LỘC CỘNG ĐỒNG (CANVAS 2D FOIL)
   ========================================================================= */
.nav-scratch-btn {
  color: #fde68a !important;
  border-color: transparent !important;
}
.nav-scratch-btn:hover {
  background: rgba(245, 196, 81, 0.14) !important;
}
.exp-scratch-pill {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.22), rgba(217, 119, 6, 0.18)) !important;
  border-color: rgba(245, 196, 81, 0.52) !important;
  color: #fde68a !important;
  cursor: pointer;
}
.vsc-bd {
  position: fixed; inset: 0; z-index: 10050;
  background: rgba(3, 6, 16, 0.8);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.vsc-bd.vsc-bd-top { z-index: 10065; }
.vsc-bd.hidden { display: none !important; }
.vsc-modal {
  width: 100%; max-width: 560px; max-height: 90vh;
  background: linear-gradient(180deg, #0f1629 0%, #090d19 100%);
  border: 1px solid rgba(245, 196, 81, 0.26);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  display: flex; flex-direction: column; overflow: hidden;
  color: #f8fafc;
}
.vsc-modal.compact { max-width: 440px; }
.vsc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(245, 196, 81, 0.05);
}
.vsc-head h4 {
  margin: 0; font-size: 15px; font-weight: 800; color: #fde68a;
  display: inline-flex; align-items: center; gap: 8px;
}
.vsc-head-right { display: inline-flex; align-items: center; gap: 8px; }
.vsc-ico { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.vsc-icon-btn {
  width: 32px; height: 32px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05); color: #cbd5e1;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.vsc-icon-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.vsc-bal-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.vsc-bal-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.vsc-bal-pill.gold { color: #fde68a; background: rgba(245, 196, 81, 0.12); border-color: rgba(245, 196, 81, 0.32); }
.vsc-bal-pill.cyan { color: #7dd3fc; background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.32); }
.vsc-bal-bar .vsc-link-btn { margin-left: auto; }
.vsc-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 10px 14px 6px;
}
.vsc-tab-btn {
  height: 36px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04); color: #cbd5e1;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; transition: all 0.16s ease;
}
.vsc-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.24), rgba(217, 119, 6, 0.22));
  border-color: rgba(245, 196, 81, 0.65); color: #fef3c7;
}
.vsc-body {
  padding: 12px 16px 18px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 11px;
}
.vsc-hint { font-size: 12px; color: #94a3b8; line-height: 1.48; }
.vsc-empty { text-align: center; padding: 20px 10px; font-size: 13px; color: #94a3b8; }
.vsc-err {
  padding: 9px 12px; border-radius: 11px; font-size: 12.5px; font-weight: 600;
  color: #fecdd3; background: rgba(244, 63, 94, 0.14); border: 1px solid rgba(244, 63, 94, 0.38);
}
.vsc-err.hidden, .vsc-post-reveal.hidden, .vsc-paytable.hidden, .vsc-lock-slot.hidden, .vsc-odds-box.hidden { display: none !important; }
.vsc-tier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 520px) { .vsc-tier-grid { grid-template-columns: 1fr; } }
.vsc-tier-card {
  padding: 13px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-direction: column; gap: 8px;
}
.vsc-tier-card.tier-gold_25 { border-color: rgba(245, 196, 81, 0.42); background: linear-gradient(160deg, rgba(245, 196, 81, 0.08), rgba(15, 23, 42, 0.5)); }
.vsc-tier-card.tier-diamond_50 { border-color: rgba(192, 132, 252, 0.44); background: linear-gradient(160deg, rgba(168, 85, 247, 0.1), rgba(15, 23, 42, 0.5)); }
.vsc-tier-card.tier-gem_500 { border-color: rgba(56, 189, 248, 0.42); background: linear-gradient(160deg, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.5)); }
.vsc-tc-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.vsc-tc-top strong { font-size: 14px; font-weight: 800; color: #f8fafc; }
.vsc-tc-mult {
  font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: rgba(245, 196, 81, 0.16); color: #fde68a; border: 1px solid rgba(245, 196, 81, 0.35);
}
.vsc-tc-price {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 17px; font-weight: 900; color: #f5c451;
}
.vsc-tier-card.tier-gem_500 .vsc-tc-price { color: #38bdf8; }
.vsc-tc-hi { font-size: 12px; color: #cbd5e1; font-weight: 600; }
.vsc-paytable {
  padding: 8px 10px; border-radius: 10px;
  background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex; flex-direction: column; gap: 4px;
}
.vsc-pt-row { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #cbd5e1; }
.vsc-pt-row strong { color: #fde68a; font-weight: 700; }
.vsc-tc-btns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 7px; margin-top: 2px; }
.vsc-btn {
  height: 37px; padding: 0 12px; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06); color: #f1f5f9;
  font-size: 12.5px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.vsc-btn:hover { background: rgba(255, 255, 255, 0.12); }
.vsc-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.vsc-btn.gold {
  background: linear-gradient(135deg, #f5c451, #d97706);
  border-color: rgba(253, 230, 138, 0.65); color: #0f172a; font-weight: 800;
}
.vsc-btn.gold:hover { filter: brightness(1.06); }
.vsc-btn.full { width: 100%; }
.vsc-btn.lg { height: 44px; font-size: 13.5px; }
.vsc-chip {
  height: 30px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1; font-size: 11.5px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.vsc-chip.active { background: rgba(245, 196, 81, 0.2); border-color: rgba(245, 196, 81, 0.6); color: #fde68a; }
.vsc-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.vsc-link-btn {
  background: none; border: none; color: #f5c451; font-size: 12px; font-weight: 700;
  cursor: pointer; padding: 2px 0; display: inline-flex; align-items: center; gap: 5px;
}
.vsc-link-btn.sm { font-size: 11.5px; color: #94a3b8; }
.vsc-field-lbl { font-size: 12px; font-weight: 700; color: #cbd5e1; margin-top: 2px; }
.vsc-input {
  width: 100%; height: 40px; padding: 0 12px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; font-size: 13px; box-sizing: border-box;
}
.vsc-input:focus { outline: none; border-color: rgba(245, 196, 81, 0.65); }
.vsc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vsc-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vsc-seg-btn {
  height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04); color: #cbd5e1;
  font-size: 12px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.vsc-seg-btn.active { background: rgba(245, 196, 81, 0.18); border-color: rgba(245, 196, 81, 0.6); color: #fde68a; }
.vsc-toggle {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #cbd5e1; cursor: pointer;
}
.vsc-toggle input { width: 16px; height: 16px; accent-color: #f5c451; flex-shrink: 0; }
.vsc-batch-banner {
  padding: 10px 12px; border-radius: 12px; font-size: 12px; line-height: 1.45; color: #fde68a;
  background: rgba(245, 196, 81, 0.1); border: 1px solid rgba(245, 196, 81, 0.28);
  display: flex; align-items: flex-start; gap: 8px;
}
.vsc-lock-slot { display: flex; justify-content: center; padding: 6px 0; }
.vsc-odds-box { display: flex; flex-direction: column; gap: 4px; }
.vsc-odds-box input[type="range"] { width: 100%; accent-color: #f5c451; }
.vsc-qr-preview { display: flex; justify-content: center; }
.vsc-qr-canvas { width: 100%; max-width: 270px; height: auto; border-radius: 16px; border: 1px solid rgba(245, 196, 81, 0.35); }
.vsc-link-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09);
}
.vsc-link-url { font-size: 12px; color: #e2e8f0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vsc-code-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;
  color: #fde68a; background: rgba(245, 196, 81, 0.14); padding: 3px 8px; border-radius: 8px; flex-shrink: 0;
}
.vsc-act-3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 7px; }
.vsc-sec-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #f5c451; margin-top: 4px; }
.vsc-list { display: flex; flex-direction: column; gap: 7px; }
.vsc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 11px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08);
}
.vsc-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vsc-row-main strong { font-size: 12.5px; color: #f8fafc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vsc-row-main span { font-size: 11px; color: #94a3b8; }

/* ---- TACTILE CANVAS 2D SCRATCH CARD STAGE ---- */
.vsc-sender-strip {
  padding: 8px 11px; border-radius: 11px; font-size: 12px; color: #fde68a; text-align: center;
  background: rgba(245, 196, 81, 0.1); border: 1px solid rgba(245, 196, 81, 0.28);
}
.vsc-scratch-stage {
  position: relative; width: 100%; max-width: 340px; height: 220px; margin: 0 auto;
  border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 50% 25%, #1e293b 0%, #090d1a 100%);
  border: 2px solid rgba(245, 196, 81, 0.55);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), inset 0 0 24px rgba(245, 196, 81, 0.16);
  user-select: none; -webkit-user-select: none;
}
.vsc-scratch-stage.high-tier {
  border-color: #fde68a;
  box-shadow: 0 0 36px rgba(245, 196, 81, 0.35), inset 0 0 28px rgba(245, 196, 81, 0.22);
}
.vsc-prize-under {
  position: absolute; inset: 0; padding: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  text-align: center;
}
.vsc-prize-badge {
  font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(245, 196, 81, 0.18); color: #fde68a; border: 1px solid rgba(245, 196, 81, 0.45);
}
.vsc-prize-badge.tier-0 { background: rgba(148, 163, 184, 0.18); color: #cbd5e1; border-color: rgba(148, 163, 184, 0.35); }
.vsc-prize-badge.tier-4 { background: linear-gradient(135deg, #f5c451, #fb7185); color: #0f172a; border-color: #fde68a; }
.vsc-prize-main {
  font-size: 30px; font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fef08a 0%, #f59e0b 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.vsc-prize-main.miss { font-size: 20px; background: none; -webkit-text-fill-color: #94a3b8; color: #94a3b8; }
.vsc-prize-extras { font-size: 13px; font-weight: 700; color: #34d399; }
.vsc-lucky-row { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 2px; }
.vsc-lucky-tag { font-size: 10.5px; font-weight: 700; color: #94a3b8; text-transform: uppercase; }
.vsc-balls { display: flex; gap: 5px; }
.vsc-ball {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #fde68a, #d97706);
  color: #0f172a; font-size: 12px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(245, 196, 81, 0.45);
}
.vsc-foil-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  touch-action: none; cursor: crosshair;
  transition: opacity 0.42s ease;
}
.vsc-foil-canvas.revealed { opacity: 0; pointer-events: none; }
.vsc-confetti-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.vsc-confetti-dot {
  position: absolute; top: 55%; width: 7px; height: 7px; border-radius: 2px;
  animation: vscConfettiPop 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes vscConfettiPop {
  0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(320deg); opacity: 0; }
}
.vsc-scratch-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vsc-pct-txt { font-size: 12px; color: #cbd5e1; font-weight: 600; }
.vsc-post-reveal { display: flex; flex-direction: column; gap: 10px; }
.vsc-proof-line {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11.5px; color: #34d399; font-weight: 600;
}
.vsc-post-acts { display: flex; gap: 8px; justify-content: center; }
.vsc-sealed-card {
  padding: 18px 14px; border-radius: 16px; text-align: center;
  background: linear-gradient(155deg, rgba(245, 196, 81, 0.16), rgba(15, 23, 42, 0.72));
  border: 1.5px solid rgba(245, 196, 81, 0.5);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.vsc-sealed-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: #f5c451; }
.vsc-sealed-title { font-size: 17px; font-weight: 800; color: #fff; }
.vsc-sealed-sub { font-size: 12.5px; color: #cbd5e1; line-height: 1.45; }
.vsc-inline-lock { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vsc-pin6-row {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 2px 0;
}
.vsc-pin6-box {
  width: 40px; height: 44px; border-radius: 11px; text-align: center;
  background: rgba(255, 255, 255, 0.05); border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: #fde68a; font-size: 18px; font-weight: 800; caret-color: #f5c451;
}
.vsc-pin6-box:focus { outline: none; border-color: #f5c451; background: rgba(245, 196, 81, 0.1); }
.vsc-pin6-box.filled { border-color: rgba(245, 196, 81, 0.6); }
.vsc-icon-btn.sm { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; }

/* === F5 Live Rejoin Banner, Scoped Live NSFW Pill & Spend Confirm Reset === */
.wp2d-topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wp2d-live-nsfw-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fecdd3;
  background: rgba(225, 29, 72, 0.22);
  border: 1px solid rgba(251, 113, 133, 0.45);
  white-space: nowrap;
}
.wp2d-live-nsfw-pill.hidden { display: none !important; }
.wp2d-spend-reset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(245, 196, 81, 0.08);
  border: 1px solid rgba(245, 196, 81, 0.24);
  font-size: 11px;
  color: #cbd5e1;
}
.wp2d-rejoin-banner {
  position: fixed;
  left: 50%;
  bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 64px));
  transform: translateX(-50%);
  z-index: 9500;
  width: min(92vw, 410px);
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 23, 42, 0.96), rgba(11, 13, 25, 0.97));
  border: 1px solid rgba(245, 196, 81, 0.44);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #f8fafc;
}
.wp2d-rj-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wp2d-rj-copy strong {
  font-size: 13.5px;
  font-weight: 800;
  color: #fde047;
}
.wp2d-rj-copy span {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.38;
}
.wp2d-rj-acts {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wp2d-rj-dismiss {
  flex: 0 0 88px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.wp2d-rj-ok {
  flex: 1;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #facc15 0%, #f97316 100%);
  color: #111827;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}
.vn69-confirm-scope {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  margin: 0 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  cursor: pointer;
  user-select: none;
}
.vn69-confirm-scope.hidden { display: none !important; }
.vn69-confirm-scope input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #f43f5e;
  cursor: pointer;
}
.vn69-confirm-scope-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vn69-confirm-scope-copy strong {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
}
.vn69-confirm-scope-copy small {
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.35;
}

/* =========================================================================
   PLAN v25 — NEXT-CLIP BLURRED SLIDE-DOWN PILL, LIVE KIT 2-TAB & OBS CLEAN MODE
   ========================================================================= */
.wp2d-icon-btn.wp2d-livekit-btn {
  color: #fde68a;
  border-color: rgba(245, 196, 81, 0.36);
  background: rgba(245, 196, 81, 0.12);
}
.wp2d-icon-btn.wp2d-livekit-btn:hover {
  background: rgba(245, 196, 81, 0.22);
  border-color: rgba(245, 196, 81, 0.6);
}

/* Subtle Blurred Glass Slide-Down Card Before Clip Transition (2s Auto-Hide) */
.wp2d-nextclip-pill {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translate(-50%, -14px) scale(0.97);
  opacity: 0;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(88%, 340px);
  padding: 6px 12px 6px 10px;
  border-radius: 12px;
  background: rgba(11, 14, 24, 0.72);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}
.wp2d-nextclip-pill::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #f5c451;
}
.wp2d-nextclip-pill.is-show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.wp2d-nextclip-pill.hidden { display: none !important; }
.wp2d-stage.mode-full .wp2d-nextclip-pill {
  top: calc(env(safe-area-inset-top, 0px) + 92px);
}
.wp2d-stage.is-landscape-theater .wp2d-nextclip-pill {
  top: 78px;
}
.wp2d-stage.wp2d-obs-clean .wp2d-nextclip-pill {
  top: 16px;
}
.wp2d-nc-thumb {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0b1020;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.wp2d-nc-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.wp2d-nc-kicker {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5c451;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp2d-nc-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* OBS / Live Studio Clean Theater Mode (?party=CODE&obs=1) */
.wp2d-obs-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 22;
  display: none;
  align-items: center;
  gap: 7px;
  max-width: min(74%, 280px);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp2d-obs-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.28);
  flex-shrink: 0;
}
.wp2d-obs-exit {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 24;
  display: none;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0.24;
  transition: opacity 0.2s ease;
}
.wp2d-obs-exit:hover,
.wp2d-obs-exit:focus-visible {
  opacity: 0.96;
}
.wp2d-modal.wp2d-obs-clean .wp2d-topbar,
.wp2d-stage.wp2d-obs-clean .wp2d-stage-head,
.wp2d-stage.wp2d-obs-clean .wp2d-screen-ctrls,
.wp2d-stage.wp2d-obs-clean .wp2d-now-bar,
.wp2d-stage.wp2d-obs-clean .wp2d-seats-bar,
.wp2d-stage.wp2d-obs-clean .wp2d-actions-bar,
.wp2d-stage.wp2d-obs-clean .wp2d-chat-form,
.wp2d-stage.wp2d-obs-clean .wp2d-showcase-bar {
  display: none !important;
}
.wp2d-stage.wp2d-obs-clean .wp2d-obs-badge {
  display: inline-flex;
}
.wp2d-stage.wp2d-obs-clean .wp2d-obs-exit {
  display: inline-flex;
}
.wp2d-stage.wp2d-obs-clean .wp2d-chat-list {
  padding-bottom: 16px;
  max-height: 36%;
}

/* 2-Tab Live Share Modal & Live Kit / OBS Panel (vsqr-lk-*) */
.vsqr-tabs.vsqr-tabs-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 4px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.vsqr-tabs.vsqr-tabs-2 .vsqr-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 35px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.vsqr-tabs.vsqr-tabs-2 .vsqr-tab-btn.active {
  background: rgba(245, 196, 81, 0.16);
  border-color: rgba(245, 196, 81, 0.45);
  color: #fde68a;
}
.vsqr-tab-pane {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.vsqr-tab-pane.hidden { display: none !important; }

.vsqr-lk-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.38;
}
.vsqr-lk-banner.is-clean {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.36);
  color: #a7f3d0;
}
.vsqr-lk-banner.is-nsfw {
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(251, 113, 133, 0.48);
  color: #fecdd3;
}
.vsqr-lk-sec {
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vsqr-lk-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vsqr-lk-sec-head strong {
  font-size: 12px;
  font-weight: 800;
  color: #f8fafc;
}
.vsqr-lk-count {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}
.vsqr-lk-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.vsqr-lk-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.95fr) minmax(0, 1.15fr) auto;
  gap: 6px;
  align-items: center;
}
.vsqr-lk-sel {
  height: 36px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b1122;
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 600;
  min-width: 0;
}
.vsqr-lk-inp-wrap {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 9px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  min-width: 0;
}
.vsqr-lk-inp-wrap:focus-within {
  border-color: rgba(245, 196, 81, 0.65);
}
.vsqr-lk-inp-wrap.is-invalid {
  border-color: rgba(251, 113, 133, 0.78);
}
.vsqr-lk-at {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  margin-right: 3px;
  user-select: none;
}
.vsqr-lk-inp {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 600;
}
.vsqr-lk-del {
  width: 34px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.1);
  color: #fda4af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.vsqr-lk-del.hidden { display: none !important; }
.vsqr-lk-err {
  font-size: 11px;
  color: #fda4af;
  line-height: 1.35;
}
.vsqr-lk-err.hidden { display: none !important; }
.vsqr-lk-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 33px;
  border-radius: 10px;
  border: 1px dashed rgba(245, 196, 81, 0.42);
  background: rgba(245, 196, 81, 0.06);
  color: #fde68a;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.vsqr-lk-add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.vsqr-lk-url-box {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(5, 8, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.vsqr-lk-url-lbl {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.vsqr-lk-url-val {
  font-size: 11.5px;
  font-family: ui-monospace, Menlo, monospace;
  color: #93c5fd;
  word-break: break-all;
  line-height: 1.35;
}
.vsqr-lk-act-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}
.vsqr-lk-safety {
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(245, 196, 81, 0.07);
  border: 1px solid rgba(245, 196, 81, 0.28);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.vsqr-lk-safety.is-nsfw {
  background: rgba(225, 29, 72, 0.12);
  border-color: rgba(251, 113, 133, 0.48);
}
.vsqr-lk-safety-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #fde68a;
}
.vsqr-lk-safety.is-nsfw .vsqr-lk-safety-head {
  color: #fda4af;
}
.vsqr-lk-list {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
  line-height: 1.44;
  color: #cbd5e1;
}
.vsqr-lk-list strong {
  color: #f8fafc;
}
.vsqr-lk-safety.is-nsfw .vsqr-lk-list strong {
  color: #fecdd3;
}

/* =========================================================================
   PLAN v26: INTERACTIVE LOBBY FILTERS, CLEAN/24-7 ROOMS, INLINE HEART,
   3-TIER GIFT MODAL & 60FPS STAGE BURST FX ENGINE
   ========================================================================= */
.wp2d-cap-pill.is-interactive {
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.14s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.wp2d-cap-pill.is-interactive:hover {
  filter: brightness(1.14);
}
.wp2d-cap-pill.is-interactive:active {
  transform: scale(0.95);
}
.wp2d-cap-pill.is-interactive.is-active {
  background: rgba(56, 189, 248, 0.28);
  border-color: rgba(125, 211, 252, 0.9);
  color: #f0f9ff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4), 0 4px 12px rgba(56, 189, 248, 0.24);
}
.wp2d-cap-pill.emerald.is-interactive.is-active {
  background: rgba(16, 185, 129, 0.3);
  border-color: rgba(52, 211, 153, 0.92);
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(16, 185, 129, 0.28);
}
.wp2d-cap-pill.gold.is-interactive.is-active {
  background: rgba(245, 196, 81, 0.3);
  border-color: rgba(253, 224, 71, 0.92);
  color: #fef9c3;
  box-shadow: 0 0 0 1px rgba(245, 196, 81, 0.42), 0 4px 12px rgba(245, 196, 81, 0.28);
}
.wp2d-cap-pill.rose.is-interactive.is-active {
  background: rgba(244, 63, 94, 0.3);
  border-color: rgba(251, 113, 133, 0.92);
  color: #fff1f2;
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.42), 0 4px 12px rgba(244, 63, 94, 0.28);
}

.wp2d-rating-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}
.wp2d-rating-seg {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.wp2d-rating-btn {
  height: 26px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wp2d-rating-btn.tone-all.active {
  background: rgba(245, 196, 81, 0.22);
  border-color: rgba(245, 196, 81, 0.55);
  color: #fde68a;
}
.wp2d-rating-btn.tone-clean.active {
  background: rgba(16, 185, 129, 0.24);
  border-color: rgba(52, 211, 153, 0.62);
  color: #a7f3d0;
}
.wp2d-rating-btn.tone-nsfw.active {
  background: rgba(244, 63, 94, 0.24);
  border-color: rgba(251, 113, 133, 0.65);
  color: #fecdd3;
}
.wp2d-empty-acts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Create Room Clean/NSFW & Live 24/7 Controls */
.wp2d-choice-btn.is-rating-clean.active,
.wp2d-choice-btn.is-emerald.active {
  border-color: rgba(52, 211, 153, 0.85);
  background: rgba(16, 185, 129, 0.2);
}
.wp2d-choice-btn.is-rating-clean.active strong,
.wp2d-choice-btn.is-emerald.active strong {
  color: #a7f3d0;
}
.wp2d-choice-btn.is-rating-nsfw.active {
  border-color: rgba(251, 113, 133, 0.85);
  background: rgba(244, 63, 94, 0.2);
}
.wp2d-choice-btn.is-rating-nsfw.active strong {
  color: #fecdd3;
}
.wp2d-tier-grid > .wp2d-choice-btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.wp2d-seg-tabs:has([data-qtab]) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}
.wp2d-seg-tabs:has([data-qtab]) .wp2d-seg-btn {
  padding: 7px 4px;
  font-size: 11px;
  white-space: nowrap;
}
.wp2d-live247-pay {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.32);
}
.wp2d-live247-pay.hidden { display: none !important; }
.wp2d-btn-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 11px;
  border: 1px solid rgba(103, 232, 249, 0.52);
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease;
}
.wp2d-btn-cyan.sm { padding: 7px 10px; font-size: 11.5px; }
.wp2d-btn-cyan.full { width: 100%; height: 42px; font-size: 13px; }
.wp2d-btn-cyan:hover { filter: brightness(1.1); }
.wp2d-btn-cyan:disabled { opacity: 0.55; cursor: not-allowed; }
.wp2d-live247-ext-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.wp2d-live247-ext-row .wp2d-btn-danger {
  grid-column: 1 / -1;
}

/* TikTok Portrait Embed Iframe */
.wp2d-tt-iframe {
  max-width: 340px;
  margin: 0 auto;
  display: block;
  background: #05070e;
}

/* Inline Free Heart Button inside Chat Input right next to Send button */
.wp2d-chat-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.wp2d-chat-input-wrap .wp2d-input {
  width: 100%;
  min-width: 0;
  padding-right: 40px !important;
}
.wp2d-quick-heart-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(251, 113, 133, 0.36);
  background: radial-gradient(circle at 35% 30%, rgba(251, 113, 133, 0.32), rgba(225, 29, 72, 0.22));
  color: #fb7185;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.wp2d-quick-heart-btn:hover {
  background: radial-gradient(circle at 35% 30%, rgba(251, 113, 133, 0.48), rgba(225, 29, 72, 0.38));
  color: #ffe4e6;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.45);
}
.wp2d-quick-heart-btn.is-pop {
  animation: wp2dHeartPop 0.24s cubic-bezier(0.22, 1.4, 0.36, 1);
}
@keyframes wp2dHeartPop {
  0% { transform: translateY(-50%) scale(1); }
  45% { transform: translateY(-50%) scale(1.26); color: #fff1f2; box-shadow: 0 0 16px rgba(251, 113, 133, 0.85); }
  100% { transform: translateY(-50%) scale(1); }
}

/* 3-Tab Gift Modal (Miễn phí | Quà Ngọc | Sao VIP) */
.wp2d-gift-tabs {
  margin-bottom: 10px;
}
.wp2d-gift-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wp2d-free-grid,
.wp2d-diamond-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wp2d-gift-card.is-free {
  padding: 12px 7px;
  gap: 5px;
}
.wp2d-free-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wp2d-gift-card.is-free.tone-rose {
  border-color: rgba(251, 113, 133, 0.42);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.16) 0%, rgba(15, 23, 42, 0.6) 100%);
}
.wp2d-gift-card.is-free.tone-rose .wp2d-free-ico {
  background: rgba(244, 63, 94, 0.22);
  color: #fb7185;
}
.wp2d-gift-card.is-free.tone-rose strong { color: #fda4af; }
.wp2d-gift-card.is-free.tone-gold {
  border-color: rgba(250, 204, 21, 0.42);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.16) 0%, rgba(15, 23, 42, 0.6) 100%);
}
.wp2d-gift-card.is-free.tone-gold .wp2d-free-ico {
  background: rgba(245, 158, 11, 0.22);
  color: #facc15;
}
.wp2d-gift-card.is-free.tone-cyan {
  border-color: rgba(56, 189, 248, 0.42);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.16) 0%, rgba(15, 23, 42, 0.6) 100%);
}
.wp2d-gift-card.is-free.tone-cyan .wp2d-free-ico {
  background: rgba(14, 165, 233, 0.22);
  color: #38bdf8;
}
.wp2d-gift-card.is-free.tone-cyan strong { color: #7dd3fc; }
.wp2d-gift-card.is-free.is-pulse {
  animation: wp2dCardPulse 0.28s ease;
}
@keyframes wp2dCardPulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.94); filter: brightness(1.25); }
  100% { transform: scale(1); }
}

.wp2d-gift-card.is-diamond {
  border-color: rgba(56, 189, 248, 0.34);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.12) 0%, rgba(15, 23, 42, 0.55) 100%);
}
.wp2d-gift-card.is-diamond strong { color: #67e8f9; }
.wp2d-gift-card.is-diamond em { color: #a5f3fc; }
.wp2d-gift-card.is-diamond.active {
  border-color: rgba(103, 232, 249, 0.92);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.28) 0%, rgba(14, 116, 144, 0.24) 100%);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.28);
}
.wp2d-note.is-diamond {
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(6, 182, 212, 0.08);
  color: #bae6fd;
}

/* Spectacular 60FPS Stage Burst Particle Layer (#vlfx-burst-layer) */
.vlfx-burst-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 26;
}
.vlfx-stage-flash {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  animation: vlfxStageFlash 0.72s ease-out forwards;
}
.vlfx-stage-flash.is-cyan {
  background: radial-gradient(circle at 50% 35%, rgba(56, 189, 248, 0.34), rgba(6, 182, 212, 0.08) 55%, transparent 78%);
}
.vlfx-stage-flash.is-emerald {
  background: radial-gradient(circle at 50% 40%, rgba(52, 211, 153, 0.38), rgba(16, 185, 129, 0.1) 55%, transparent 80%);
}
.vlfx-stage-flash.is-crystal {
  background: radial-gradient(circle at 50% 40%, rgba(192, 132, 252, 0.42), rgba(56, 189, 248, 0.22) 48%, transparent 82%);
}
.vlfx-stage-flash.is-gold {
  background: radial-gradient(circle at 50% 42%, rgba(250, 204, 21, 0.36), rgba(245, 158, 11, 0.12) 55%, transparent 80%);
}
.vlfx-stage-flash.is-warm {
  background: radial-gradient(circle at 50% 52%, rgba(251, 191, 36, 0.24), transparent 72%);
}
@keyframes vlfxStageFlash {
  0% { opacity: 0; }
  22% { opacity: 1; }
  100% { opacity: 0; }
}

.vlfx-p-rise {
  position: absolute;
  left: var(--x, 82%);
  bottom: 10%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 10px currentColor);
  will-change: transform, opacity;
  animation: vlfxRise var(--dur, 1.8s) cubic-bezier(0.22, 0.85, 0.35, 1) var(--delay, 0ms) forwards;
}
@keyframes vlfxRise {
  0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.45); }
  14% { opacity: 1; transform: translate3d(calc(var(--dx, 0px) * 0.2), -24px, 0) scale(var(--sc, 1.1)); }
  72% { opacity: 0.95; transform: translate3d(var(--dx, 0px), -190px, 0) scale(calc(var(--sc, 1) * 1.05)) rotate(10deg); }
  100% { opacity: 0; transform: translate3d(calc(var(--dx, 0px) * 1.15), -260px, 0) scale(0.6) rotate(-8deg); }
}

.vlfx-p-rain {
  position: absolute;
  left: var(--x, 50%);
  top: -28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px currentColor);
  will-change: transform, opacity;
  animation: vlfxRain var(--dur, 1.9s) cubic-bezier(0.32, 0.1, 0.72, 0.92) var(--delay, 0ms) forwards;
}
.vlfx-p-rain.is-storm svg {
  width: 24px;
  height: 24px;
}
@keyframes vlfxRain {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.55) rotate(-18deg); }
  12% { opacity: 1; }
  82% { opacity: 0.96; }
  100% { opacity: 0; transform: translate3d(var(--dx, 0px), 108vh, 0) scale(var(--sc, 1.1)) rotate(210deg); }
}

.vlfx-p-burst {
  position: absolute;
  margin-left: -10px;
  margin-top: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px currentColor);
  will-change: transform, opacity;
  animation: vlfxBurst 1.15s cubic-bezier(0.16, 0.9, 0.3, 1) var(--delay, 0ms) forwards;
}
@keyframes vlfxBurst {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.35); }
  18% { opacity: 1; }
  75% { opacity: 0.92; transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1.15) rotate(120deg); }
  100% { opacity: 0; transform: translate3d(calc(var(--tx, 0px) * 1.15), calc(var(--ty, 0px) * 1.15 + 22px), 0) scale(0.45) rotate(190deg); }
}

.vlfx-shock-ring {
  position: absolute;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  border-radius: 999px;
  border: 2.5px solid #34d399;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.75), inset 0 0 12px rgba(52, 211, 153, 0.45);
  will-change: transform, opacity;
  animation: vlfxShockRing 0.92s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}
.vlfx-shock-ring.is-gold {
  border-color: #fde047;
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.8), inset 0 0 12px rgba(245, 158, 11, 0.5);
}
@keyframes vlfxShockRing {
  0% { opacity: 0.95; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(7.2); }
}

.vlfx-gift-pill.is-diamond {
  border-color: rgba(103, 232, 249, 0.65);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.92), rgba(15, 23, 42, 0.92));
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.34);
}
.vlfx-cinema-badge.is-diamond {
  border-color: rgba(103, 232, 249, 0.75);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.32), rgba(168, 85, 247, 0.32));
  color: #e0f2fe;
}

/* =========================================================================
   PLAN v27: 60FPS CANVAS 2D CINEMATIC FX LAYER, STREAMLINED GIFT CARDS,
   PROGRESSIVE (i) DISCLOSURE, PREVIEW CTA & TOP-1 / HYPE STORM BANNERS
   ========================================================================= */
.vlfx-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 26;
}

.vlfx-hype-badge {
  position: absolute;
  top: 52px;
  left: 10px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.88), rgba(245, 158, 11, 0.88));
  border: 1px solid rgba(254, 240, 138, 0.75);
  color: #fff;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.5);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px) scale(0.92);
  transition: opacity 0.22s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.vlfx-hype-badge.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.vlfx-top1-banner {
  position: absolute;
  top: 46px;
  left: 50%;
  transform: translate(-50%, -18px) scale(0.94);
  z-index: 34;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 20px);
  padding: 9px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.94), rgba(120, 53, 15, 0.92));
  border: 1.5px solid rgba(253, 224, 71, 0.85);
  box-shadow: 0 12px 34px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.26s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.vlfx-top1-banner.is-active {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.vlfx-top1-ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vlfx-top1-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.vlfx-top1-copy span {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fde68a;
}
.vlfx-top1-copy strong {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.vlfx-cinema-overlay.is-crystal {
  background: radial-gradient(circle at 50% 45%, rgba(88, 28, 135, 0.24), rgba(7, 11, 24, 0.44) 72%);
}
.vlfx-cinema-art-wrap {
  position: relative;
  border-radius: 26px;
  padding: 6px;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.24), transparent 72%);
  overflow: hidden;
}
.vlfx-cinema-art-wrap::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.45) 50%, transparent 62%);
  animation: vlfxArtSweep 1.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes vlfxArtSweep {
  0% { transform: translateX(-75%) rotate(12deg); }
  100% { transform: translateX(75%) rotate(12deg); }
}
.vlfx-cinema-overlay .vlfx-cinema-art {
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(56, 189, 248, 0.35);
}
.vlfx-gift-pill.is-preview {
  border-color: rgba(192, 132, 252, 0.72);
}

/* Streamlined Gift Modal UX (Zero Walls of Text, Progressive (i) Disclosure, 3D Art) */
.wp2d-gift-tabs .wp2d-seg-btn {
  min-height: 36px;
}
.wp2d-wallet-bar .wp2d-btn-primary.sm {
  min-height: 36px;
  padding: 0 12px;
}
.wp2d-wallet-bar .wp2d-wb-val {
  font-size: 12px;
  line-height: 1.3;
  white-space: normal;
}
.wp2d-gift-subline {
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  padding: 2px 4px;
}
.wp2d-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wp2d-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.wp2d-info-wrap.is-diamond .wp2d-info-bar {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(56, 189, 248, 0.28);
}
.wp2d-info-short {
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.35;
}
.wp2d-info-wrap.is-diamond .wp2d-info-short {
  color: #bae6fd;
}
.wp2d-info-circle-btn {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wp2d-info-circle-btn.is-open,
.wp2d-info-circle-btn:hover {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(56, 189, 248, 0.2);
  color: #f0f9ff;
}
.wp2d-info-popover {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.34);
  font-size: 11px;
  line-height: 1.45;
  color: #cbd5e1;
}
.wp2d-info-popover.hidden { display: none !important; }

/* Inverted Free Card Hierarchy (Gift Name Prominent, Miễn phí Pill Subtle) */
.wp2d-gift-card.is-free {
  padding: 12px 6px 10px;
  gap: 5px;
}
.wp2d-free-name {
  font-size: 12px !important;
  font-weight: 800;
  color: #f8fafc !important;
  line-height: 1.25;
}
.wp2d-free-sub {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #94a3b8;
  line-height: 1.25;
}
.wp2d-free-pill {
  display: inline-block;
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px !important;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0 !important;
}
.wp2d-gift-card.is-free.tone-rose .wp2d-free-pill { background: rgba(244, 63, 94, 0.24); color: #fecdd3 !important; }
.wp2d-gift-card.is-free.tone-gold .wp2d-free-pill { background: rgba(245, 158, 11, 0.24); color: #fde68a !important; }
.wp2d-gift-card.is-free.tone-cyan .wp2d-free-pill { background: rgba(14, 165, 233, 0.24); color: #bae6fd !important; }

/* Distinct 3D Diamond Tier Cards */
.wp2d-gift-card.is-diamond {
  position: relative;
  padding: 24px 6px 10px;
  gap: 4px;
}
.wp2d-gift-tier-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 2px 5px;
  border-radius: 6px;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.wp2d-gift-tier-badge.tone-cyan { background: rgba(56, 189, 248, 0.22); color: #7dd3fc; }
.wp2d-gift-tier-badge.tone-emerald { background: rgba(16, 185, 129, 0.28); color: #6ee7b7; }
.wp2d-gift-tier-badge.tone-purple { background: linear-gradient(135deg, rgba(168, 85, 247, 0.45), rgba(236, 72, 153, 0.45)); color: #f5d0fe; }

.wp2d-gift-card.is-diamond.tier-emerald {
  border-color: rgba(52, 211, 153, 0.36);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14) 0%, rgba(15, 23, 42, 0.62) 100%);
}
.wp2d-gift-card.is-diamond.tier-emerald strong { color: #6ee7b7; }
.wp2d-gift-card.is-diamond.tier-emerald.active {
  border-color: rgba(52, 211, 153, 0.92);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.28) 0%, rgba(6, 78, 59, 0.3) 100%);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.3);
}
.wp2d-gift-card.is-diamond.tier-purple {
  border-color: rgba(192, 132, 252, 0.4);
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.16) 0%, rgba(15, 23, 42, 0.65) 100%);
}
.wp2d-gift-card.is-diamond.tier-purple strong { color: #e9d5ff; }
.wp2d-gift-card.is-diamond.tier-purple.active {
  border-color: rgba(216, 180, 254, 0.95);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.32) 0%, rgba(59, 7, 100, 0.36) 100%);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.36);
}
.wp2d-gift-art.is-3d {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.wp2d-gift-name {
  font-size: 11px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
}

/* Preview + Primary CTA Row */
.wp2d-gift-cta-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.wp2d-btn-preview {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 42px;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.wp2d-btn-preview:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 196, 81, 0.5);
  color: #fde68a;
}
.wp2d-gift-send-main {
  flex: 1;
  min-width: 0;
  height: 42px;
  font-size: 12.5px;
}

/* =========================================================================
   PLAN v28: OBSIDIAN GLASS 2-TAB LUXURY GIFT BOUTIQUE, 3x4 VIP 3D GRID,
   6 THEATRICAL 3D STAGE SCENES, INTERACTIVE GIFT COMMENTS & PRIVATE ALBUM
   ========================================================================= */

/* Luxury 2-Tab Obsidian Glass Switcher (Miễn phí & Ngọc | Sao VIP) */
.wp2d-lux-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 14, 28, 0.96), rgba(6, 9, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 8px;
}
.wp2d-lux-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.wp2d-lux-tab-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wp2d-lux-tab-lbl {
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp2d-lux-tab-chip {
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  flex-shrink: 0;
}
.wp2d-lux-tab.tone-cyan.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.34) 0%, rgba(16, 185, 129, 0.24) 100%);
  border-color: rgba(103, 232, 249, 0.78);
  color: #e0f2fe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 18px rgba(34, 211, 238, 0.28);
}
.wp2d-lux-tab.tone-cyan.active .wp2d-lux-tab-ico { color: #67e8f9; }
.wp2d-lux-tab.tone-cyan.active .wp2d-lux-tab-chip { background: rgba(103, 232, 249, 0.28); color: #cffafe; }
.wp2d-lux-tab.tone-gold.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.38) 0%, rgba(234, 88, 12, 0.24) 100%);
  border-color: rgba(253, 224, 71, 0.82);
  color: #fef08a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 18px rgba(245, 158, 11, 0.32);
}
.wp2d-lux-tab.tone-gold.active .wp2d-lux-tab-ico { color: #fde047; }
.wp2d-lux-tab.tone-gold.active .wp2d-lux-tab-chip { background: rgba(253, 224, 71, 0.28); color: #fef9c3; }

/* Compact Top Free 0đ Strip inside Merged Tab 1 */
.wp2d-sec-kicker {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  padding: 0 2px;
}
.wp2d-free-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.wp2d-free-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 6px 7px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  cursor: pointer;
  text-align: left;
  min-width: 0;
  transition: transform 0.14s ease, border-color 0.16s ease;
}
.wp2d-free-chip:active { transform: scale(0.96); }
.wp2d-free-chip-ico {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wp2d-free-chip-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wp2d-free-chip-copy strong {
  font-size: 10.5px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp2d-free-chip-copy em {
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  color: #cbd5e1;
}
.wp2d-free-chip.tone-rose { border-color: rgba(251, 113, 133, 0.36); background: linear-gradient(135deg, rgba(244, 63, 94, 0.16), rgba(15, 23, 42, 0.55)); }
.wp2d-free-chip.tone-rose .wp2d-free-chip-ico { background: rgba(244, 63, 94, 0.24); color: #fb7185; }
.wp2d-free-chip.tone-gold { border-color: rgba(250, 204, 21, 0.36); background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(15, 23, 42, 0.55)); }
.wp2d-free-chip.tone-gold .wp2d-free-chip-ico { background: rgba(245, 158, 11, 0.24); color: #facc15; }
.wp2d-free-chip.tone-cyan { border-color: rgba(56, 189, 248, 0.36); background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(15, 23, 42, 0.55)); }
.wp2d-free-chip.tone-cyan .wp2d-free-chip-ico { background: rgba(14, 165, 233, 0.24); color: #38bdf8; }

.wp2d-info-wrap.is-gold .wp2d-info-bar {
  background: rgba(245, 158, 11, 0.09);
  border-color: rgba(253, 224, 71, 0.3);
}
.wp2d-info-wrap.is-gold .wp2d-info-short { color: #fef08a; }

/* Symmetrical 3x4 Luxury 3D VIP Star Gift Grid */
.wp2d-vip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px;
  max-height: 295px;
  overflow-y: auto;
  padding: 2px 1px;
}
.wp2d-gift-card.is-vip {
  position: relative;
  padding: 23px 5px 9px;
  gap: 3px;
  border-radius: 13px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}
.wp2d-gift-card.is-vip:active { transform: scale(0.97); }
.wp2d-gift-art.is-vip-3d {
  width: 50px;
  height: 50px;
  border-radius: 13px;
}
.wp2d-gift-card.is-vip.tier-combo {
  border-color: rgba(148, 163, 184, 0.26);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.09) 0%, rgba(15, 23, 42, 0.65) 100%);
}
.wp2d-gift-card.is-vip.tier-mid {
  border-color: rgba(245, 184, 65, 0.32);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0.68) 100%);
}
.wp2d-gift-card.is-vip.tier-scene {
  border-color: rgba(250, 204, 21, 0.48);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.2) 0%, rgba(30, 20, 12, 0.72) 100%);
}
.wp2d-gift-card.is-vip.tier-emperor {
  border-color: rgba(244, 63, 94, 0.54);
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.22) 0%, rgba(120, 53, 15, 0.3) 50%, rgba(15, 12, 28, 0.8) 100%);
}
.wp2d-gift-card.is-vip.active {
  border-color: rgba(253, 224, 71, 0.96);
  box-shadow: 0 0 18px rgba(245, 184, 65, 0.36);
}
.wp2d-gift-tier-badge.tier-combo { background: rgba(56, 189, 248, 0.22); color: #bae6fd; }
.wp2d-gift-tier-badge.tier-mid { background: rgba(245, 158, 11, 0.24); color: #fde68a; }
.wp2d-gift-tier-badge.tier-scene { background: linear-gradient(135deg, rgba(245, 158, 11, 0.45), rgba(234, 88, 12, 0.42)); color: #fef9c3; }
.wp2d-gift-tier-badge.tier-emperor { background: linear-gradient(135deg, rgba(244, 63, 94, 0.6), rgba(245, 158, 11, 0.6)); color: #fff; }
.wp2d-gift-card.is-vip strong { font-size: 12px; color: #fde047; }
.wp2d-gift-card.is-vip.tier-emperor strong { color: #fef08a; }
.wp2d-gift-card.is-vip em { font-size: 9px; color: #cbd5e1; }

/* 6 Theatrical 3D Stage Scene Animations (GPU Transform Only — 60FPS) */
.vlfx-cinema-overlay.is-scene {
  background: radial-gradient(circle at 50% 45%, rgba(245, 184, 65, 0.14), rgba(5, 8, 18, 0.34) 76%);
  perspective: 1100px;
  justify-content: flex-end;
  padding-bottom: 26px;
}
.vlfx-cinema-overlay.is-scene.is-emperor {
  background: radial-gradient(circle at 50% 44%, rgba(245, 158, 11, 0.22), rgba(15, 6, 28, 0.48) 78%);
}
.vlfx-scene-actor {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform-style: preserve-3d;
  z-index: 2;
}
.vlfx-scene-img {
  width: min(86%, 340px);
  max-height: 58%;
  object-fit: contain;
  filter: drop-shadow(0 16px 34px rgba(245, 184, 65, 0.48));
  will-change: transform, opacity;
}
.vlfx-scene-caption,
.vlfx-cinema-caption {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.vlfx-scene-caption {
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(8, 11, 24, 0.72);
  border: 1px solid rgba(253, 224, 71, 0.36);
  backdrop-filter: blur(8px);
  max-width: 92%;
}
.vlfx-cinema-badge.is-emperor {
  background: linear-gradient(90deg, #f43f5e, #f59e0b, #fde047);
  color: #1c0a00;
  box-shadow: 0 4px 18px rgba(244, 63, 94, 0.5);
}

/* 100 Sao: Luxury Yacht gliding gracefully across golden waves */
.actor-yacht_luxury .vlfx-scene-img {
  animation: vlfxYachtSail 3.7s cubic-bezier(0.22, 0.85, 0.36, 1) forwards;
}
@keyframes vlfxYachtSail {
  0%   { transform: translate3d(68%, 12%, -120px) scale(0.55) rotateZ(-2.5deg) rotateY(-14deg); opacity: 0; }
  18%  { transform: translate3d(20%, 6%, 0) scale(0.92) rotateZ(1.8deg) rotateY(-4deg); opacity: 1; }
  45%  { transform: translate3d(0%, 2%, 30px) scale(1.04) rotateZ(-1.6deg) rotateY(4deg); opacity: 1; }
  74%  { transform: translate3d(-14%, 5%, 10px) scale(1.0) rotateZ(1.5deg) rotateY(10deg); opacity: 1; }
  100% { transform: translate3d(-72%, 10%, -80px) scale(0.84) rotateZ(-2deg) rotateY(18deg); opacity: 0; }
}

/* 250 Sao: Gold Convertible Supercar + Waving 2D Beauty zoom-drift-wave-exit! */
.actor-supercar_gold .vlfx-scene-img {
  width: min(92%, 370px);
  animation: vlfxSupercarDrift 3.8s cubic-bezier(0.18, 0.9, 0.28, 1) forwards;
}
@keyframes vlfxSupercarDrift {
  0%   { transform: translate3d(62%, 14%, -220px) scale(0.32) rotateY(-28deg) rotateZ(-2deg); opacity: 0; }
  22%  { transform: translate3d(6%, 4%, 20px) scale(1.02) rotateY(10deg) rotateZ(-2.5deg); opacity: 1; }
  36%  { transform: translate3d(-2%, 2%, 40px) scale(1.08) rotateY(-4deg) rotateZ(1.2deg); opacity: 1; }
  66%  { transform: translate3d(0%, 0%, 46px) scale(1.09) rotateY(4deg) rotateZ(-0.8deg); opacity: 1; }
  84%  { transform: translate3d(-12%, 2%, 25px) scale(1.05) rotateY(12deg) rotateZ(2deg); opacity: 1; }
  100% { transform: translate3d(-85%, 10%, -100px) scale(0.82) rotateY(24deg) rotateZ(-2deg); opacity: 0; }
}

/* 500 Sao: Galaxy Castle rising majestically out of amethyst nebula */
.actor-galaxy_castle .vlfx-scene-img {
  filter: drop-shadow(0 18px 40px rgba(192, 132, 252, 0.6));
  animation: vlfxCastleRise 3.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes vlfxCastleRise {
  0%   { transform: translate3d(0, 34%, -160px) scale(0.42) rotateY(-18deg); opacity: 0; }
  26%  { transform: translate3d(0, -4%, 25px) scale(1.04) rotateY(6deg); opacity: 1; }
  68%  { transform: translate3d(0, -8%, 35px) scale(1.07) rotateY(-6deg); opacity: 1; }
  100% { transform: translate3d(0, -18%, -40px) scale(0.95) rotateY(8deg); opacity: 0; }
}

/* 1,000 Sao: Royal Private Jet banking diagonally across clouds */
.actor-private_jet_gold .vlfx-scene-img {
  width: min(90%, 360px);
  filter: drop-shadow(0 16px 36px rgba(103, 232, 249, 0.55));
  animation: vlfxJetFlyby 4.0s cubic-bezier(0.22, 0.85, 0.35, 1) forwards;
}
@keyframes vlfxJetFlyby {
  0%   { transform: translate3d(78%, 36%, -220px) scale(0.32) rotateZ(-8deg) rotateY(-24deg); opacity: 0; }
  26%  { transform: translate3d(10%, 2%, 30px) scale(1.03) rotateZ(2deg) rotateY(-6deg); opacity: 1; }
  66%  { transform: translate3d(-6%, -6%, 45px) scale(1.08) rotateZ(-3deg) rotateY(8deg); opacity: 1; }
  100% { transform: translate3d(-86%, -42%, -90px) scale(0.74) rotateZ(-14deg) rotateY(22deg); opacity: 0; }
}

/* 1,500 Sao: Imperial Golden Dragon soaring & coiling */
.actor-golden_dragon .vlfx-scene-img {
  filter: drop-shadow(0 18px 42px rgba(249, 115, 22, 0.72));
  animation: vlfxDragonSoar 4.0s cubic-bezier(0.2, 0.85, 0.32, 1) forwards;
}
@keyframes vlfxDragonSoar {
  0%   { transform: translate3d(-44%, 24%, -180px) scale(0.38) rotateY(26deg) rotateZ(-10deg); opacity: 0; }
  25%  { transform: translate3d(4%, -4%, 35px) scale(1.06) rotateY(-8deg) rotateZ(3deg); opacity: 1; }
  55%  { transform: translate3d(-4%, -10%, 50px) scale(1.12) rotateY(8deg) rotateZ(-3deg); opacity: 1; }
  82%  { transform: translate3d(6%, -6%, 35px) scale(1.08) rotateY(-6deg) rotateZ(2deg); opacity: 1; }
  100% { transform: translate3d(48%, -28%, -80px) scale(0.78) rotateY(-24deg) rotateZ(12deg); opacity: 0; }
}

/* 2,000 Sao: VNC Universe — Ultimate 3D Cosmic Portal Spin */
.actor-vnc_universe .vlfx-scene-img {
  width: min(88%, 350px);
  filter: drop-shadow(0 0 44px rgba(56, 189, 248, 0.72)) drop-shadow(0 14px 36px rgba(253, 224, 71, 0.55));
  animation: vlfxUniverseSpin 4.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes vlfxUniverseSpin {
  0%   { transform: translate3d(0, 12%, -260px) scale(0.22) rotateY(-42deg) rotateZ(-8deg); opacity: 0; }
  22%  { transform: translate3d(0, -4%, 40px) scale(1.08) rotateY(10deg) rotateZ(2deg); opacity: 1; }
  56%  { transform: translate3d(0, -8%, 55px) scale(1.13) rotateY(-12deg) rotateZ(-2deg); opacity: 1; }
  84%  { transform: translate3d(0, -5%, 40px) scale(1.08) rotateY(8deg) rotateZ(1deg); opacity: 1; }
  100% { transform: translate3d(0, -14%, -60px) scale(0.92) rotateY(22deg) rotateZ(0deg); opacity: 0; }
}

/* 50 Sao: Descending Spotlight 3D Crown */
.vlfx-crown-drop {
  position: absolute;
  top: 12%;
  left: 50%;
  width: 112px;
  height: 112px;
  object-fit: contain;
  z-index: 28;
  pointer-events: none;
  filter: drop-shadow(0 10px 26px rgba(253, 224, 71, 0.75));
  animation: vlfxCrownDescent 2.4s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}
@keyframes vlfxCrownDescent {
  0%   { transform: translate(-50%, -90px) scale(0.5) rotateY(-25deg); opacity: 0; }
  25%  { transform: translate(-50%, 8px) scale(1.08) rotateY(10deg); opacity: 1; }
  75%  { transform: translate(-50%, 0px) scale(1.0) rotateY(-8deg); opacity: 1; }
  100% { transform: translate(-50%, -18px) scale(0.88) rotateY(12deg); opacity: 0; }
}

.vlfx-gt-pill.is-emperor {
  background: linear-gradient(90deg, rgba(153, 27, 27, 0.95), rgba(146, 64, 14, 0.95), rgba(17, 24, 39, 0.95));
  border-color: rgba(253, 224, 71, 0.9);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.45);
}

/* Unified Hostess Gift Root + Private Album 5-Tier Progress Bar & Vault Drawer */
.unified-gift-root {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gift-tray-title-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: #fde68a;
}
.hostess-album-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hostess-album-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.14), rgba(245, 184, 65, 0.12));
  border: 1px solid rgba(251, 113, 133, 0.34);
}
.hab-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.hab-title {
  font-size: 11px;
  font-weight: 800;
  color: #fecdd3;
}
.hab-sub {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: #fde68a;
  line-height: 1.3;
}
.hab-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(253, 224, 71, 0.45);
  background: rgba(245, 184, 65, 0.16);
  color: #fef08a;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.hab-btn.is-open {
  background: rgba(245, 184, 65, 0.32);
}
.hostess-album-drawer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(10, 14, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 210px;
  overflow-y: auto;
}
.hostess-album-drawer.hidden { display: none !important; }
.album-tier-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.album-tier-card.is-unlocked {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(16, 185, 129, 0.1);
}
.atc-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fde68a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.album-tier-card.is-unlocked .atc-ico { background: rgba(16, 185, 129, 0.24); color: #6ee7b7; }
.atc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.atc-info strong { font-size: 11px; color: #f8fafc; }
.atc-info span { font-size: 10px; color: #cbd5e1; }
.atc-info em { font-style: normal; font-size: 9.5px; color: #fde68a; }
.atc-thumbs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 4px;
}
.atc-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Interactive Gift Comment Cards & Tap-to-Replay 3D FX Button */
.yt-style-comment-item.is-gift-comment {
  border-radius: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.yt-style-comment-item.is-gift-comment.gift-asset-diamond {
  border-color: rgba(56, 189, 248, 0.34);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(15, 23, 42, 0.65));
}
.yt-style-comment-item.is-gift-comment.gift-asset-cstar {
  border-color: rgba(250, 204, 21, 0.42);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(15, 23, 42, 0.72));
}
.yt-style-comment-item.is-gift-comment.gift-emperor {
  border-color: rgba(244, 63, 94, 0.68);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.2), rgba(120, 53, 15, 0.28), rgba(15, 12, 28, 0.85));
}
.cmt-gift-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 4px;
  padding: 5px 10px 5px 6px;
  border-radius: 12px;
  border: 1px solid rgba(253, 224, 71, 0.4);
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.cmt-gift-replay-btn:hover {
  border-color: rgba(253, 224, 71, 0.85);
  box-shadow: 0 4px 16px rgba(245, 184, 65, 0.26);
}
.cmt-gift-replay-btn:active { transform: scale(0.96); }
.cmt-gift-replay-btn.asset-diamond { border-color: rgba(103, 232, 249, 0.5); }
.cmt-gift-replay-btn.asset-free { border-color: rgba(251, 113, 133, 0.45); }
.cgr-art {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.cgr-svg {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cgr-svg.tone-rose { background: rgba(244, 63, 94, 0.24); color: #fb7185; }
.cgr-svg.tone-gold { background: rgba(245, 158, 11, 0.24); color: #facc15; }
.cgr-svg.tone-cyan { background: rgba(14, 165, 233, 0.24); color: #38bdf8; }
.cgr-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}
.cgr-copy strong { font-size: 11.5px; color: #fef08a; }
.cgr-copy em { font-style: normal; font-size: 9.5px; color: #94a3b8; }
.cgr-combo {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.32);
  color: #fecdd3;
  font-size: 10px;
  font-weight: 900;
}

/* Floating 5-Tier Hostess Mood Reaction Card */
.hostess-mood-popup {
  position: fixed;
  top: calc(max(env(safe-area-inset-top, 0px), 10px) + 52px);
  left: 50%;
  transform: translate(-50%, -18px) scale(0.95);
  z-index: 2147483647;
  width: min(92vw, 370px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(12, 16, 30, 0.94);
  border: 1px solid rgba(251, 113, 133, 0.48);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.hostess-mood-popup.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.hostess-mood-popup.mood-3 { border-color: rgba(250, 204, 21, 0.6); }
.hostess-mood-popup.mood-4 { border-color: rgba(253, 224, 71, 0.85); box-shadow: 0 14px 40px rgba(245, 158, 11, 0.34); }
.hostess-mood-popup.mood-5 {
  background: linear-gradient(135deg, rgba(69, 10, 25, 0.96), rgba(30, 18, 8, 0.96));
  border-color: rgba(253, 224, 71, 0.95);
  box-shadow: 0 16px 46px rgba(244, 63, 94, 0.45);
}
.hmp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(253, 224, 71, 0.72);
  flex-shrink: 0;
}
.hmp-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hmp-head {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hmp-head strong { font-size: 12px; color: #fef08a; }
.hmp-pill {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.28);
  color: #fecdd3;
}
.hmp-msg {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.38;
  color: #f1f5f9;
}

/* Hostess Gift Modal sizing for unified 2-tab luxury UI */
.hgift-modal {
  max-height: 88dvh;
  overflow-y: auto;
}

/* Plan v28 Round-2: Zero-Clip Compact Fit on Short Mobile Viewports (360x640, <=700px tall) */
@media (max-width: 380px) {
  .wp2d-lux-tab {
    padding: 5px 6px;
    gap: 4px;
    font-size: 11.5px;
  }
  .wp2d-free-chip {
    padding: 5px 5px;
    gap: 5px;
  }
  .wp2d-free-chip-ico {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }
  .wp2d-free-chip-copy strong {
    font-size: 10.5px;
  }
}

@media (max-height: 700px) {
  .wp2d-sub-bd {
    padding: 6px;
  }
  .wp2d-sub-card {
    max-height: calc(100dvh - 12px);
    padding: 10px 11px 11px;
    gap: 7px;
  }
  .wp2d-sub-head {
    padding-bottom: 5px;
  }
  .wp2d-wallet-bar {
    padding: 6px 9px;
  }
  .wp2d-lux-tabs {
    padding: 3px;
    margin-bottom: 4px;
  }
  .wp2d-lux-tab {
    min-height: 36px;
  }
  .wp2d-sec-kicker {
    display: none;
  }
  .wp2d-gift-pane {
    gap: 6px;
  }
  .wp2d-free-chip {
    min-height: 38px;
    padding: 4px 6px;
  }
  .wp2d-info-bar {
    padding: 5px 8px;
  }
  .wp2d-gift-card.is-diamond {
    padding: 26px 5px 6px;
    gap: 2px;
  }
  #sheet-gifts .gift-tray-topbar {
    padding: 2px 12px 6px;
  }
  #sheet-gifts .gift-hostess-banner {
    padding: 6px 10px !important;
    margin-top: 0;
    margin-bottom: 6px !important;
    gap: 8px;
  }
  #sheet-gifts .gift-hostess-banner img {
    width: 34px;
    height: 34px;
  }
  #sheet-gifts .ghb-text p {
    font-size: 11px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #sheet-gifts .hostess-album-bar {
    padding: 6px 9px;
  }
  #sheet-gifts .unified-gift-cta-dock {
    padding: 6px 12px 8px;
    gap: 5px;
  }
  #sheet-gifts .unified-gift-cta-dock .wp2d-input {
    height: 32px;
  }
  #sheet-gifts .unified-gift-cta-dock .wp2d-btn-preview,
  #sheet-gifts .unified-gift-cta-dock .wp2d-gift-send-main {
    height: 36px;
  }
  .wp2d-gift-card.is-diamond .wp2d-gift-art.is-3d {
    width: 44px;
    height: 44px;
  }
  .wp2d-gift-card.is-diamond .wp2d-gift-name {
    font-size: 10.5px;
  }
  .wp2d-gift-card.is-diamond strong {
    font-size: 12px;
  }
  .wp2d-gift-card.is-diamond em {
    font-size: 9px;
  }
  .wp2d-vip-grid {
    max-height: 215px;
  }
  .wp2d-gift-pane .wp2d-input {
    height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  .wp2d-btn-preview,
  .wp2d-gift-send-main {
    height: 38px;
  }
}

/* =========================================================================
   PLAN v29: 3D GIFT-BOX BAR BUTTON, 3D FREE ICONS, STICKY CTA DOCK,
             ANIMATED WEBP + CSS 3D MICRO-ANIMATIONS & SFX TOGGLE
   ========================================================================= */
.tt-bottom-icon-btn.is-gift-3d-btn {
  width: 32px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  border-color: rgba(250, 204, 21, 0.42);
  background: radial-gradient(circle at 50% 40%, rgba(245, 158, 11, 0.24), rgba(15, 23, 42, 0.92));
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.28);
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.tt-bottom-icon-btn.is-gift-3d-btn:active {
  transform: scale(0.9);
}
.tt-bottom-gift-3d-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(245, 158, 11, 0.5));
  animation: v29GiftBoxPulse 2.8s ease-in-out infinite;
}
@keyframes v29GiftBoxPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-1.2px) scale(1.06); }
}

/* 3D Luxury Free Gift Icons inside Free Strip */
.wp2d-free-chip-ico.is-3d-free {
  width: 30px;
  height: 30px;
  padding: 2px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.12), rgba(7, 10, 20, 0.85)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: visible;
}
.wp2d-free-chip-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.wp2d-free-chip.tone-rose .wp2d-free-chip-img { filter: drop-shadow(0 2px 6px rgba(244, 63, 94, 0.55)); }
.wp2d-free-chip.tone-gold .wp2d-free-chip-img { filter: drop-shadow(0 2px 6px rgba(250, 204, 21, 0.55)); }
.wp2d-free-chip.tone-cyan .wp2d-free-chip-img { filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.55)); }
.wp2d-free-chip:active .wp2d-free-chip-img { transform: scale(1.2) rotate(-6deg); }

/* Live Modal Tabs Row with compact SFX Toggle */
.wp2d-lux-tabs-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}
.wp2d-lux-tabs-row .wp2d-lux-tabs {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
.vlfx-sfx-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.38);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(15, 23, 42, 0.85));
  color: #fde68a;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: opacity 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}
.vlfx-sfx-toggle-btn.is-live-tab {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 12px;
}
.vlfx-sfx-toggle-btn.is-muted {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.72);
  color: #64748b;
}
.vlfx-sfx-toggle-btn:active { transform: scale(0.93); }

/* Non-Overlapping Flex Footer CTA Dock for #sheet-gifts & Inline Dock for Hostess Modal */
#sheet-gifts.gift-tray-sheet {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0 !important;
}
#sheet-gifts .gift-tray-topbar {
  flex-shrink: 0;
}
#sheet-gifts .gift-tray-title-mini {
  min-width: 0;
  white-space: nowrap;
}
#sheet-gifts .gift-tray-title-mini strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#sheet-gifts .gift-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 12px 10px !important;
}
.unified-gift-root {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.unified-gift-root .wp2d-vip-grid {
  max-height: none;
  overflow: visible;
}
.unified-gift-cta-dock {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 12px calc(max(env(safe-area-inset-bottom, 0px), 10px));
  background: linear-gradient(180deg, rgba(13, 16, 28, 0.98) 0%, rgba(9, 11, 20, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.48);
  z-index: 6;
}
.unified-gift-cta-dock:empty {
  display: none;
}
.unified-gift-cta-dock .wp2d-input {
  height: 36px;
  padding: 0 11px;
  font-size: 12px;
}
.unified-gift-cta-dock .wp2d-btn-preview,
.unified-gift-cta-dock .wp2d-gift-send-main {
  height: 38px;
}
.unified-gift-cta-inline {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 4px;
}
.vlfx-sfx-toggle-btn.is-icon-only,
.vlfx-sfx-toggle-btn.is-live-head {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
}
.wp2d-sub-head-acts {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.vlfx-cinema-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.vlfx-sub-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fde047;
  flex-shrink: 0;
}

/* CSS 3D Micro-Animation GPU Layer (Pairs with 15 Animated WebP Icons!) */
.wp2d-gift-card {
  position: relative;
  overflow: hidden;
}
.wp2d-gift-card.active::after,
.wp2d-gift-card.tier-emperor::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgba(254, 240, 138, 0.18) 50%, transparent 72%);
  transform: translateX(-130%);
  animation: v29CardShimmer 3.2s ease-in-out infinite;
}
.wp2d-gift-card.active .wp2d-gift-art.is-3d {
  animation: v29CardArtFloat 2.4s ease-in-out infinite;
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.34);
}
.wp2d-gift-card.is-diamond.active .wp2d-gift-art.is-3d {
  animation: v29DiamondArtPulse 2.4s ease-in-out infinite;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.38);
}
@keyframes v29DiamondArtPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes v29CardShimmer {
  0%, 45% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}
@keyframes v29CardArtFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2.5px) scale(1.04); }
}

@media (max-height: 700px) {
  .wp2d-lux-tabs-row {
    gap: 5px;
    margin-bottom: 3px;
  }
  .vlfx-sfx-toggle-btn.is-live-tab {
    width: 34px;
    height: 36px;
  }
  .wp2d-free-chip-ico.is-3d-free {
    width: 26px;
    height: 26px;
  }
  .wp2d-free-chip-img {
    width: 22px;
    height: 22px;
  }
  .unified-gift-root .wp2d-vip-grid {
    max-height: 196px;
  }
}

/* Plan v30: When 60FPS Canvas Storyboard Director plays multi-frame sequence, keep stage crystal clear above honor caption */
.vlfx-cinema-overlay.is-storyboard .vlfx-scene-actor,
.vlfx-cinema-overlay.is-storyboard .vlfx-cinema-art-wrap {
  display: none !important;
}
.vlfx-cinema-overlay.is-storyboard .vlfx-cinema-ring {
  opacity: 0.25;
}

/* Plan v30 Round-2: Keep mid-tier corner honor pill 100% unobstructed above video playback bar & below VIP orb */
#platform-shortv .shortv-canvas-container > .vlfx-pill-stack {
  top: calc(max(env(safe-area-inset-top, 0px), 10px) + 148px);
  bottom: auto;
  left: 10px;
  z-index: 95;
  max-width: calc(100% - 86px);
}


/* =========================================================================
   PLAN v31: ROYAL PODIUM TOP 1-2-3, RED PACKET 3D FX, SCRATCH SPARK TRAIL
             & MODAL Z-INDEX CLEARANCE ABOVE FLOATING VIP ORB (2147483600)
   ========================================================================= */

#modal-hostess-gift,
#modal-profile-card,
.wp2d-modal,
.vsc-bd {
  z-index: 2147483610;
}
.vsc-bd.vsc-bd-top {
  z-index: 2147483625;
}
.vsc-bd.vsc-bd-top > .vsc-modal {
  position: relative;
  z-index: 2;
}
.vsc-bd.vsc-bd-top > .vlfx-fx-canvas {
  z-index: 30;
}
.vlfx-global-ticker {
  z-index: 2147483630;
}

/* 3D Red Packet Dock Pill Icon & Ready Shake */
.wp2d-rp-ico.is-3d {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  background: radial-gradient(circle at center, rgba(253, 224, 71, 0.28), rgba(136, 19, 55, 0.2));
  overflow: visible;
}
.wp2d-rp-3d-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
  transition: transform 0.2s ease;
}
.wp2d-rp-pill.is-ready .wp2d-rp-3d-img {
  animation: wp2dRpShake3D 1.15s ease-in-out infinite;
}
@keyframes wp2dRpShake3D {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-9deg) scale(1.09); }
  40% { transform: rotate(9deg) scale(1.11); }
  60% { transform: rotate(-6deg) scale(1.07); }
  80% { transform: rotate(5deg) scale(1.04); }
}

/* Red Packet Modal Tier Preview Badge */
.wp2d-info-wrap.is-rp .wp2d-info-bar {
  background: linear-gradient(90deg, rgba(190, 18, 60, 0.16), rgba(245, 196, 81, 0.12));
  border-color: rgba(251, 113, 133, 0.32);
}
.wp2d-rp-tier-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  margin-top: -2px;
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(253, 224, 71, 0.28);
  font-size: 11.5px;
  font-weight: 700;
  color: #fef08a;
  line-height: 1.3;
}
.wp2d-rp-tier-strip[data-tier="emperor"] {
  background: linear-gradient(90deg, rgba(127, 29, 29, 0.42), rgba(146, 64, 14, 0.36));
  border-color: rgba(253, 224, 71, 0.68);
  color: #fef9c3;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.22);
}
.wp2d-rp-tier-strip[data-tier="grand"] {
  background: linear-gradient(90deg, rgba(159, 18, 57, 0.32), rgba(120, 53, 15, 0.24));
  border-color: rgba(251, 113, 133, 0.48);
}
.wp2d-rp-tier-thumb {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

/* Red Packet Claim Center Jackpot Banner */
.vlfx-rp-claim-banner {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 32;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(136, 19, 55, 0.96), rgba(120, 53, 15, 0.95));
  border: 1.5px solid rgba(253, 224, 71, 0.85);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(245, 196, 81, 0.42);
  transform: translate(-50%, -40%) scale(0.84);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease, transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.15);
  max-width: min(90%, 340px);
}
.vlfx-rp-claim-banner.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.vlfx-rp-claim-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(253, 224, 71, 0.55));
}
.vlfx-rp-claim-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.vlfx-rp-claim-copy span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fde68a;
  text-transform: uppercase;
}
.vlfx-rp-claim-copy strong {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Scratch Card 60FPS Golden Spark Canvas + Demo 0đ Styling */
.vsc-spark-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}
.vsc-chip.is-demo {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.22), rgba(217, 119, 6, 0.18));
  border-color: rgba(253, 224, 71, 0.55);
  color: #fef08a;
}
.vsc-chip.is-demo:hover {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.34), rgba(217, 119, 6, 0.28));
}
.vsc-demo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(245, 196, 81, 0.18), rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(253, 224, 71, 0.45);
  color: #fef08a;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}

/* 3D Royal Podium Top 1-2-3 (Live Watch Party HoF + Video Leaderboard) */
.vnc-hof-tabs {
  margin-bottom: 10px;
}
.vnc-hof-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vnc-podium-stage {
  display: grid;
  grid-template-columns: 1fr 1.16fr 1fr;
  align-items: end;
  gap: 8px;
  padding: 22px 8px 10px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 15%, rgba(245, 196, 81, 0.16), rgba(15, 23, 42, 0.82) 68%);
  border: 1px solid rgba(253, 224, 71, 0.22);
  margin-bottom: 10px;
}
.vnc-podium-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
}
.vnc-podium-col.is-clickable {
  cursor: pointer;
}
.vnc-podium-col.is-clickable:hover .vnc-podium-av-img,
.vnc-podium-col.is-clickable:hover .vnc-podium-av {
  transform: translateY(-2px) scale(1.04);
}
.vnc-podium-av-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.vnc-podium-crown {
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 8px rgba(250, 204, 21, 0.72));
  animation: vncCrownFloat 2.4s ease-in-out infinite;
}
@keyframes vncCrownFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}
.vnc-podium-av,
.vnc-podium-av-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #f8fafc;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 2px solid rgba(148, 163, 184, 0.65);
  transition: transform 0.2s ease;
}
.vnc-podium-col.rank-1 .vnc-podium-av,
.vnc-podium-col.rank-1 .vnc-podium-av-img {
  width: 58px;
  height: 58px;
  font-size: 20px;
  border: 2.5px solid #facc15;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.24), 0 0 22px rgba(245, 196, 81, 0.45);
}
.vnc-podium-col.rank-2 .vnc-podium-av,
.vnc-podium-col.rank-2 .vnc-podium-av-img {
  border-color: #7dd3fc;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.34);
}
.vnc-podium-col.rank-3 .vnc-podium-av,
.vnc-podium-col.rank-3 .vnc-podium-av-img {
  border-color: #fda4af;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.32);
}
.vnc-podium-num {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.vnc-podium-col.rank-1 .vnc-podium-num {
  background: linear-gradient(90deg, #f59e0b, #fef08a);
  color: #1c1000;
  border-color: #fef08a;
}
.vnc-podium-col.rank-2 .vnc-podium-num {
  background: linear-gradient(90deg, #0284c7, #7dd3fc);
  color: #082f49;
}
.vnc-podium-col.rank-3 .vnc-podium-num {
  background: linear-gradient(90deg, #be123c, #fda4af);
  color: #fff1f2;
}
.vnc-podium-name {
  width: 100%;
  text-align: center;
  font-size: 11.5px;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 2px;
}
.vnc-podium-col.rank-1 .vnc-podium-name {
  font-size: 12.5px;
  color: #fef9c3;
}
.vnc-podium-sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 9.5px;
  font-weight: 700;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vnc-podium-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 800;
  color: #fde047;
}
.vnc-podium-pedestal {
  width: 100%;
  margin-top: 4px;
  border-radius: 10px 10px 6px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.vnc-podium-col.rank-1 .vnc-podium-pedestal {
  min-height: 54px;
  background: linear-gradient(180deg, rgba(245, 196, 81, 0.34), rgba(146, 64, 14, 0.22));
  border-color: rgba(253, 224, 71, 0.55);
  box-shadow: inset 0 1px 0 rgba(254, 249, 195, 0.45);
}
.vnc-podium-col.rank-2 .vnc-podium-pedestal {
  min-height: 40px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.26), rgba(30, 58, 138, 0.22));
  border-color: rgba(125, 211, 252, 0.42);
}
.vnc-podium-col.rank-3 .vnc-podium-pedestal {
  min-height: 32px;
  background: linear-gradient(180deg, rgba(251, 113, 133, 0.24), rgba(136, 19, 55, 0.22));
  border-color: rgba(253, 164, 175, 0.4);
}
.vnc-podium-rank-tag {
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #fef9c3;
}
.vnc-podium-col.rank-2 .vnc-podium-rank-tag { color: #e0f2fe; }
.vnc-podium-col.rank-3 .vnc-podium-rank-tag { color: #ffe4e6; }
.vnc-podium-col.is-empty { opacity: 0.62; }

.vnc-hof-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vnc-hof-val,
.lb-stars-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lb-pool-label,
.lb-pool-val,
#btn-lb-open-gifts {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vnc-hof-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(253, 224, 71, 0.28);
}
.vnc-hof-my-rank {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.vnc-hof-my-lbl {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
}
.vnc-hof-my-rank strong {
  font-size: 12px;
  color: #fef08a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vnc-hof-race-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #f59e0b, #fde047);
  color: #1c1000;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
@media (max-width: 390px) {
  .vnc-podium-stage { gap: 5px; padding: 20px 5px 8px; }
  .vnc-podium-av, .vnc-podium-av-img { width: 42px; height: 42px; }
  .vnc-podium-col.rank-1 .vnc-podium-av, .vnc-podium-col.rank-1 .vnc-podium-av-img { width: 52px; height: 52px; }
  .vnc-podium-name { font-size: 11px; }
  .vnc-podium-rank-tag { font-size: 8.5px; letter-spacing: 0.4px; }
  .vsc-head h4 { font-size: 13px; }
  .vsc-chip { padding: 4px 8px; font-size: 11px; }
}


/* =========================================================================
   PLAN v31 ROUND-2 QA POLISH: SCRATCH QUICK-STRIP, ACTIVE HOF TAB,
   SINGLE-LINE LEADERBOARD TABS, PROFILE INLINE SVGS & SPLIT MINI-BAR CLEARANCE
   ========================================================================= */
.vsc-head h4 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.vsc-icon-btn {
  flex-shrink: 0;
}
.vsc-chip {
  white-space: nowrap;
  flex-shrink: 0;
}
.vsc-quick-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 14px 2px;
}
.vsc-quick-strip .vsc-chip {
  width: 100%;
  height: 34px;
  justify-content: center;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

/* Default active state for Obsidian Glass Luxury Tabs (Watch Party HoF) */
.wp2d-lux-tab.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.38) 0%, rgba(234, 88, 12, 0.24) 100%);
  border-color: rgba(253, 224, 71, 0.82);
  color: #fef08a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 4px 18px rgba(245, 158, 11, 0.3);
}

/* Single-line balanced Video Leaderboard filter tabs */
.vnc-lb-filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.vnc-lb-filter-row .cmt-sort-pill,
.vnc-lb-filter-row #btn-lb-open-gifts {
  white-space: nowrap;
  flex-shrink: 0;
  height: 34px;
  padding: 0 10px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Profile card inline SVG alignment (zero tofu boxes) */
.lp-honors-title,
.lp-honor-tag,
.lp-btn-gift,
.lp-btn-vip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.lp-honors-title {
  justify-content: flex-start;
}
.vnc-lb-crown-mini {
  flex-shrink: 0;
}

/* Keep mini-player restore hint clear below top-nav when split sheet is open */
.tt-split-top-hint {
  top: calc(env(safe-area-inset-top, 0px) + 54px) !important;
}

@media (max-width: 400px) {
  .vnc-podium-sub-badge {
    font-size: 8.2px;
    padding: 2px 4px;
    gap: 2px;
    letter-spacing: -0.01em;
  }
  .vnc-podium-sub-badge .vnc-lb-crown-mini {
    width: 9px;
    height: 9px;
  }
  .vnc-lb-filter-row .cmt-sort-pill,
  .vnc-lb-filter-row #btn-lb-open-gifts {
    padding: 0 9px;
    font-size: 11.5px;
  }
}


/* =========================================================================
   PLAN v32: 3-CELL LUXURY SCRATCH TICKET, 4-TIER DEMO SWITCHER & PER-CARD DEMO
             + 4 DISTINCT RED PACKET TIERS (BAO ĐỎ / TÚI GẤM / RƯƠNG BÁU / ĐẾ VƯƠNG)
   ========================================================================= */

/* Per-Card Demo 0đ button inside Scratch Hub Mua & Cào */
.vsc-btn.demo-tier {
  width: 100%;
  margin-top: 6px;
  height: 32px;
  font-size: 11.5px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.14), rgba(56, 189, 248, 0.12));
  border: 1px dashed rgba(253, 224, 71, 0.55);
  color: #fef08a;
}
.vsc-btn.demo-tier:hover {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.24), rgba(56, 189, 248, 0.2));
  border-color: rgba(253, 224, 71, 0.85);
}

/* Instant 4-Tier Switcher inside Demo Scratch Popup */
.vsc-demo-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}
.vsc-demo-tier-pill {
  height: 30px;
  padding: 0 4px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.78);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.16s ease;
}
.vsc-demo-tier-pill.active {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.34), rgba(217, 119, 6, 0.24));
  border-color: rgba(253, 224, 71, 0.86);
  color: #fef9c3;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.26);
}

/* Luxury 3-Cell Ticket Shell */
.vsc-ticket-shell {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(253, 224, 71, 0.42);
  background: #0b1120;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.vsc-ticket-shell.theme-silver { border-color: rgba(203, 213, 225, 0.58); }
.vsc-ticket-shell.theme-diamond { border-color: rgba(232, 121, 249, 0.68); box-shadow: 0 12px 32px rgba(99, 102, 241, 0.34); }
.vsc-ticket-shell.theme-gem { border-color: rgba(56, 189, 248, 0.62); }
.vsc-ticket-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  background: linear-gradient(90deg, rgba(245, 196, 81, 0.2), rgba(15, 23, 42, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.vsc-ticket-shell.theme-silver .vsc-ticket-hdr { background: linear-gradient(90deg, rgba(148, 163, 184, 0.28), rgba(15, 23, 42, 0.92)); }
.vsc-ticket-shell.theme-diamond .vsc-ticket-hdr { background: linear-gradient(90deg, rgba(168, 85, 247, 0.3), rgba(56, 189, 248, 0.18)); }
.vsc-ticket-shell.theme-gem .vsc-ticket-hdr { background: linear-gradient(90deg, rgba(14, 165, 233, 0.28), rgba(16, 185, 129, 0.16)); }
.vsc-ticket-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #fef08a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vsc-ticket-shell.theme-silver .vsc-ticket-brand { color: #f1f5f9; }
.vsc-ticket-shell.theme-diamond .vsc-ticket-brand { color: #f5d0fe; }
.vsc-ticket-shell.theme-gem .vsc-ticket-brand { color: #bae6fd; }
.vsc-ticket-serial {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  flex-shrink: 0;
}

/* 3-Cell Prize Underlayer aligned with 3 Foil Panels */
.vsc-scratch-stage.is-3cell {
  border: none;
  border-radius: 0;
  min-height: 228px;
}
.vsc-prize-under.is-3cell {
  padding: 8px 10px 10px;
  gap: 6px;
  justify-content: space-between;
}
.vsc-3cell-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
}
.vsc-3cell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
}
.vsc-cell-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 118px;
  padding: 8px 5px;
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.25), border-color 0.25s ease, box-shadow 0.25s ease;
}
.vsc-cell-box.is-opened {
  transform: scale(1.02);
}
.vsc-cell-box.accent-gold.is-opened {
  border-color: rgba(253, 224, 71, 0.8);
  box-shadow: 0 0 18px rgba(245, 196, 81, 0.26);
}
.vsc-cell-box.accent-cyan.is-opened {
  border-color: rgba(56, 189, 248, 0.78);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.24);
}
.vsc-cell-box.accent-rose.is-opened {
  border-color: rgba(251, 113, 133, 0.85);
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.3);
}
.vsc-cell-kicker {
  font-size: 9px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.3px;
}
.vsc-cell-val {
  font-size: 13.5px;
  font-weight: 900;
  color: #fef08a;
  line-height: 1.2;
  word-break: break-word;
}
.vsc-cell-box.accent-cyan .vsc-cell-val { color: #7dd3fc; }
.vsc-cell-box.accent-rose .vsc-cell-val { color: #fda4af; }
.vsc-cell-box.accent-muted .vsc-cell-val { color: #cbd5e1; font-size: 12px; }
.vsc-cell-sub {
  font-style: normal;
  font-size: 8.5px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.25px;
}
.vsc-3cell-foot-hint {
  font-size: 10.5px;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  line-height: 1.25;
}
.vsc-lucky-row.is-compact {
  flex-direction: row;
  justify-content: center;
  gap: 6px;
  margin-top: 0;
}
.vsc-lucky-row.is-compact .vsc-ball {
  width: 24px;
  height: 24px;
  font-size: 11px;
}

/* 4 Distinct Red Packet Tiers in Watch Party Modal Strip */
.wp2d-rp-tier-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.wp2d-rp-tier-copy strong {
  font-size: 11.5px;
  font-weight: 800;
  color: #fef08a;
  line-height: 1.25;
}
.wp2d-rp-tier-copy span {
  font-size: 10.5px;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.25;
}
.wp2d-rp-tier-thumb {
  width: 34px;
  height: 34px;
}
.wp2d-rp-tier-strip[data-tier="pouch"] {
  background: linear-gradient(90deg, rgba(159, 18, 57, 0.34), rgba(180, 83, 9, 0.28));
  border-color: rgba(251, 191, 36, 0.52);
}
.wp2d-rp-tier-strip[data-tier="chest"] {
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.42), rgba(146, 64, 14, 0.36));
  border-color: rgba(52, 211, 153, 0.65);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.22);
}
.wp2d-rp-tier-strip[data-tier="chest"] .wp2d-rp-tier-copy strong { color: #6ee7b7; }
.wp2d-rp-tier-strip[data-tier="emperor"] {
  background: linear-gradient(90deg, rgba(127, 29, 29, 0.55), rgba(180, 83, 9, 0.48));
  border-color: rgba(253, 224, 71, 0.88);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.35);
}
.wp2d-rp-tier-strip[data-tier="emperor"] .wp2d-rp-tier-copy strong { color: #fef9c3; }

/* 4 Distinct Red Packet Dock Pills Outside Live Room */
.wp2d-rp-tier-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 1px 6px;
  margin-bottom: 1px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: rgba(253, 224, 71, 0.22);
  color: #fef08a;
}
.wp2d-rp-pill.rp-tier-2 {
  border-color: rgba(251, 191, 36, 0.78);
  background: linear-gradient(135deg, rgba(159, 18, 57, 0.94), rgba(146, 64, 14, 0.92));
}
.wp2d-rp-pill.rp-tier-3 {
  padding: 8px 12px;
  border: 1.5px solid rgba(52, 211, 153, 0.85);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(136, 19, 55, 0.94));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.52), 0 0 18px rgba(16, 185, 129, 0.35);
}
.wp2d-rp-pill.rp-tier-3 .wp2d-rp-tier-tag {
  background: rgba(52, 211, 153, 0.25);
  color: #a7f3d0;
}
.wp2d-rp-pill.rp-tier-3 .wp2d-rp-ico.is-3d,
.wp2d-rp-pill.rp-tier-3 .wp2d-rp-3d-img {
  width: 38px;
  height: 38px;
}
.wp2d-rp-pill.rp-tier-4 {
  padding: 9px 13px;
  border: 2px solid #fde047;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.97), rgba(180, 83, 9, 0.96), rgba(120, 53, 15, 0.97));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 26px rgba(250, 204, 21, 0.55);
}
.wp2d-rp-pill.rp-tier-4 .wp2d-rp-tier-tag {
  background: linear-gradient(90deg, #f59e0b, #fef08a);
  color: #1c1000;
}
.wp2d-rp-pill.rp-tier-4 .wp2d-rp-ico.is-3d,
.wp2d-rp-pill.rp-tier-4 .wp2d-rp-3d-img {
  width: 42px;
  height: 42px;
}
.vlfx-rp-claim-banner.rp-tier-3 {
  border-color: rgba(52, 211, 153, 0.9);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.96), rgba(120, 53, 15, 0.95));
}
.vlfx-rp-claim-banner.rp-tier-4 {
  border-width: 2px;
  border-color: #fef08a;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.97), rgba(180, 83, 9, 0.97));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.72), 0 0 38px rgba(250, 204, 21, 0.58);
}

@media (max-width: 380px) {
  .vsc-cell-val { font-size: 12px; }
  .vsc-cell-kicker { font-size: 8.5px; }
  .vsc-demo-tier-pill { font-size: 10px; }
}

/* =========================================================================
   UNIFIED INCUBATOR LIVE INSIDE RẠP LIVE (VUON01 Clean / VUON18 NSFW)
   ========================================================================= */
.wp2d-stage.is-incubator-room.has-showcase .wp2d-now-bar {
  display: none;
}
.wp2d-inc-tier-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.wp2d-inc-tier-switch.hidden { display: none !important; }
.wp2d-inc-tier-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.1;
}
.wp2d-inc-tier-btn.active {
  background: rgba(16, 185, 129, 0.28);
  color: #a7f3d0;
}
.wp2d-inc-tier-btn.is-nsfw.active {
  background: rgba(244, 63, 94, 0.28);
  color: #fecdd3;
}

.wp2d-inc-timer {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(7, 10, 20, 0.8);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.wp2d-inc-timer.hidden { display: none !important; }
.wp2d-inc-timer.is-urgent {
  border-color: rgba(251, 113, 133, 0.78);
  color: #fecdd3;
}
.wp2d-inc-timer-bonus {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.34);
  color: #ecfdf5;
  font-size: 10px;
  font-weight: 900;
}
.wp2d-inc-timer-bonus.hidden { display: none !important; }
.wp2d-stage.mode-full .wp2d-inc-timer,
.wp2d-stage.is-landscape-theater .wp2d-inc-timer {
  top: calc(env(safe-area-inset-top, 0px) + 92px);
  z-index: 15;
}
@media (max-width: 440px) {
  .wp2d-stage.mode-split70 .wp2d-inc-timer,
  .wp2d-stage.mode-standard .wp2d-inc-timer {
    top: 38px;
  }
}

.wp2d-inc-album {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05070f;
  touch-action: pan-y;
  user-select: none;
}
.wp2d-inc-album.hidden { display: none !important; }
.wp2d-inc-album-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.22s ease;
}
.wp2d-inc-album-cnt {
  position: absolute;
  top: 38px;
  right: 8px;
  bottom: auto;
  z-index: 8;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7, 10, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.wp2d-stage.mode-full .wp2d-inc-album-cnt,
.wp2d-stage.is-landscape-theater .wp2d-inc-album-cnt {
  top: calc(env(safe-area-inset-top, 0px) + 92px);
  right: 8px;
  bottom: auto;
  z-index: 15;
}
.wp2d-inc-alb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 10, 20, 0.72);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.wp2d-inc-alb-nav.prev { left: 10px; }
.wp2d-inc-alb-nav.next { right: 10px; }

.wp2d-inc-story {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 46px 12px 12px;
  background: radial-gradient(circle at top, rgba(16, 185, 129, 0.12), #060912 72%);
  overflow: hidden;
}
@media (max-width: 440px) {
  .wp2d-stage.mode-split70 .wp2d-inc-story,
  .wp2d-stage.mode-standard .wp2d-inc-story {
    padding: 72px 10px 10px;
  }
}
/* Story Reading Mode in 70% Split: cleanly dock Story on top & Solid Live Chat below (zero text-on-text overlap!) */
.wp2d-stage.mode-split70.is-story-reading .wp2d-screen {
  flex: 0 0 48dvh;
  height: 48dvh;
  max-height: 52dvh;
}
.wp2d-stage.mode-split70.is-story-reading .wp2d-chat-list {
  order: 7;
  flex: 1 1 auto;
  height: auto;
  margin-top: 0;
  width: 100%;
  max-height: none;
  padding: 8px 10px;
  background: rgba(7, 9, 16, 0.96);
  -webkit-mask-image: none;
  mask-image: none;
  scrollbar-width: auto;
}
.wp2d-stage.mode-split70.is-story-reading .wp2d-chat-list > :first-child {
  margin-top: 0;
}
.wp2d-stage.mode-split70.is-story-reading .wp2d-chat-form {
  order: 8;
}
/* Story Reading Mode in Full / Landscape Theater: clear header + controls + timer at top & HUD stack at bottom */
.wp2d-stage.mode-full.is-story-reading .wp2d-inc-story,
.wp2d-stage.is-landscape-theater.is-story-reading .wp2d-inc-story {
  padding: calc(env(safe-area-inset-top, 0px) + 124px) 12px calc(28dvh + 150px);
}
.wp2d-stage.mode-full.is-story-reading.chat-hidden .wp2d-inc-story,
.wp2d-stage.is-landscape-theater.is-story-reading.chat-hidden .wp2d-inc-story {
  padding-bottom: 168px;
}
/* Compact mobile Incubator header so room title NEVER truncates awkwardly on 360px */
@media (max-width: 440px) {
  .wp2d-stage.is-incubator-room .wp2d-stage-head {
    gap: 5px;
    padding: 6px 8px;
  }
  .wp2d-stage.is-incubator-room .wp2d-stage-title {
    font-size: 12px;
  }
  .wp2d-stage.is-incubator-room .wp2d-stage-right {
    gap: 4px;
  }
  .wp2d-stage.is-incubator-room .wp2d-icon-btn {
    width: 30px;
    height: 30px;
  }
  .wp2d-stage.is-incubator-room .wp2d-online-pill {
    padding: 3px 5px;
    font-size: 10px;
    gap: 3px;
  }
  .wp2d-stage.is-incubator-room .wp2d-inc-tier-btn {
    padding: 4px 5px;
    font-size: 9.5px;
  }
}
@media (max-width: 400px) {
  .wp2d-stage.is-incubator-room .wp2d-livekit-btn {
    display: none;
  }
}
.wp2d-inc-story.hidden { display: none !important; }
.wp2d-inc-story-chs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  flex-shrink: 0;
  scrollbar-width: none;
}
.wp2d-inc-story-chs::-webkit-scrollbar { display: none; }
.wp2d-inc-ch-pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.wp2d-inc-ch-pill.active {
  border-color: rgba(52, 211, 153, 0.65);
  background: rgba(16, 185, 129, 0.24);
  color: #a7f3d0;
}
.wp2d-inc-story-card {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 14px 44px;
  border-radius: 14px;
  background: rgba(10, 14, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.wp2d-inc-story-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  color: #fde68a;
}
.wp2d-inc-story-body {
  font-size: 13px;
  line-height: 1.65;
  color: #e2e8f0;
  white-space: pre-wrap;
}

.wp2d-inc-empty {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(5, 8, 16, 0.85);
}
.wp2d-inc-empty.hidden { display: none !important; }

.wp2d-inc-prefx {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.24), rgba(5, 8, 16, 0.55));
  pointer-events: none;
}
.wp2d-inc-prefx.hidden { display: none !important; }
.wp2d-inc-prefx-stage {
  position: relative;
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp2d-inc-prefx-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(52, 211, 153, 0.72);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.55);
  animation: wp2dIncRing 0.9s ease-out forwards;
}
.wp2d-inc-prefx-svg {
  width: 88px;
  height: 88px;
  animation: wp2dIncPop 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.wp2d-inc-prefx-cap {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(6, 78, 59, 0.92);
  border: 1px solid rgba(52, 211, 153, 0.7);
  color: #ecfdf5;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}
@keyframes wp2dIncRing {
  0% { transform: scale(0.5); opacity: 0.95; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes wp2dIncPop {
  0% { transform: scale(0.45) translateY(14px); opacity: 0; }
  45% { transform: scale(1.08) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Sleek Single-Strip Pinned Incubator Bar inside .wp2d-showcase-bar */
.wp2d-inc-sc-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.wp2d-inc-rk-pill {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.2);
  border: 1px solid rgba(245, 196, 81, 0.5);
  color: #fde68a;
  font-size: 10px;
  font-weight: 900;
}
.wp2d-inc-sc-type {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #94a3b8;
}
.wp2d-inc-sc-prog {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
}
.wp2d-inc-track {
  flex: 1 1 auto;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  min-width: 56px;
}
.wp2d-inc-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #34d399, #fbbf24);
  transition: width 0.35s ease;
}
.wp2d-inc-stat {
  font-size: 10.5px;
  font-weight: 800;
  color: #6ee7b7;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wp2d-inc-stat.is-gold { color: #fde68a; }
.wp2d-inc-rk-pill.is-grad {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.3), rgba(245, 158, 11, 0.22));
  border-color: rgba(250, 204, 21, 0.75);
  color: #fef08a;
}
.wp2d-inc-sc-acts {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.wp2d-sc-ico-btn {
  width: 34px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.wp2d-sc-ico-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}
.wp2d-sc-ico-btn.is-saved {
  border-color: rgba(250, 204, 21, 0.62);
  background: rgba(245, 184, 65, 0.18);
  color: #fde047;
}
.wp2d-inc-creator-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  margin-bottom: 8px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(245, 184, 65, 0.12), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(245, 184, 65, 0.34);
  flex-shrink: 0;
}
.wp2d-inc-creator-txt {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
}
.wp2d-inc-creator-lbl {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp2d-inc-creator-txt .wp2d-ico { color: #fbbf24; flex-shrink: 0; }
.wp2d-inc-creator-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 5px 11px;
  border-radius: 9px;
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #160c02;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 380px) {
  .wp2d-inc-sc-acts { gap: 4px; }
  .wp2d-sc-ico-btn { width: 32px; height: 36px; }
  .wp2d-sc-btn { min-height: 36px; padding: 5px 9px; font-size: 11px; }
  .wp2d-inc-row { gap: 7px; padding: 7px; }
  .wp2d-inc-acts { flex-direction: column; align-items: stretch; gap: 4px; }
  .wp2d-inc-btn { min-height: 28px; padding: 3px 8px; font-size: 10.5px; justify-content: center; }
}
.wp2d-sc-title {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.25;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp2d-sc-btn {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(254, 240, 138, 0.55);
  background: linear-gradient(135deg, #fde047, #f59e0b);
  color: #160c02;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.wp2d-sc-btn.is-inc {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #022c22;
  border: 1px solid rgba(110, 231, 183, 0.65);
}

.wp2d-act-btn.accent-emerald {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.72), rgba(16, 185, 129, 0.34));
  border-color: rgba(52, 211, 153, 0.62);
  color: #a7f3d0;
}

/* Highlighted Live Chat rows for Server-Verified Incubator Gifts & Graduations */
.wp2d-chat-row.is-inc-gift {
  background: rgba(6, 78, 59, 0.52);
  border: 1px solid rgba(52, 211, 153, 0.36);
  border-radius: 10px;
  padding: 4px 8px;
}
.wp2d-chat-row.is-inc-grad {
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.72), rgba(6, 78, 59, 0.68));
  border: 1px solid rgba(250, 204, 21, 0.65);
  border-radius: 10px;
  padding: 5px 9px;
}

/* Unified 3-Tab Incubator Cart & Gift Tray inside Rạp Live Sub-Modal */
#wp2d-inc-cart-host {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.wp2d-inc-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  flex-shrink: 0;
}
.wp2d-inc-tabs:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}
.wp2d-inc-tab {
  min-height: 36px;
  padding: 6px 5px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.wp2d-inc-tab-lbl {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wp2d-inc-tab-cnt {
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.wp2d-inc-tab.active .wp2d-inc-tab-cnt {
  background: rgba(52, 211, 153, 0.28);
  color: #ecfdf5;
}
.wp2d-inc-tab.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(245, 196, 81, 0.18));
  color: #ecfdf5;
  border: 1px solid rgba(52, 211, 153, 0.48);
}
@media (max-width: 390px) {
  .wp2d-inc-tabs { gap: 3px; padding: 3px; }
  .wp2d-inc-tab { font-size: 10.5px; padding: 5px 3px; gap: 3px; }
  .wp2d-inc-tab-cnt { font-size: 9.5px; padding: 0 4px; }
}
.wp2d-inc-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 4px;
  flex-shrink: 0;
  scrollbar-width: none;
}
.wp2d-inc-filters::-webkit-scrollbar { display: none; }
.wp2d-inc-filters .wp2d-chip-btn {
  min-height: 32px;
  flex-shrink: 0;
  white-space: nowrap;
}
.wp2d-inc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.wp2d-inc-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.wp2d-inc-row.is-playing {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(16, 185, 129, 0.1);
}
.wp2d-inc-rk {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wp2d-inc-rk.top-1 { background: rgba(250, 204, 21, 0.24); color: #fef08a; }
.wp2d-inc-rk.top-2 { background: rgba(203, 213, 225, 0.22); color: #f8fafc; }
.wp2d-inc-rk.top-3 { background: rgba(251, 146, 60, 0.24); color: #fed7aa; }
.wp2d-inc-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0f172a;
}
.wp2d-inc-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wp2d-inc-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp2d-inc-sub {
  font-size: 10.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.wp2d-inc-grad-pill {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  font-size: 9.5px;
  font-weight: 800;
}
.wp2d-inc-grad-pill.token { background: rgba(245, 196, 81, 0.22); color: #fde68a; }
.wp2d-inc-grad-pill.auction { background: rgba(244, 63, 94, 0.22); color: #fda4af; }
.wp2d-inc-acts {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.wp2d-inc-btn {
  min-height: 32px;
  padding: 5px 9px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}
.wp2d-inc-btn.primary {
  background: linear-gradient(135deg, #059669, #10b981);
  border-color: rgba(110, 231, 183, 0.5);
  color: #022c22;
}
.wp2d-inc-btn.gold {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-color: rgba(254, 240, 138, 0.6);
  color: #1c1000;
}
.wp2d-inc-empty-note {
  text-align: center;
  padding: 22px 12px;
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.5;
}
.wp2d-inc-gift-banner {
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.34);
  color: #a7f3d0;
  font-size: 11.5px;
  line-height: 1.4;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.wp2d-inc-gb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wp2d-inc-gb-txt {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp2d-inc-gb-info {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.48);
  background: rgba(6, 78, 59, 0.65);
  color: #ecfdf5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.wp2d-inc-gb-pop {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(52, 211, 153, 0.25);
  font-size: 11px;
  color: #d1fae5;
  line-height: 1.45;
}
.wp2d-inc-gb-pop.hidden { display: none !important; }
.wp2d-inc-demo-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.wp2d-inc-demo-row .wp2d-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}
.wp2d-inc-gift-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wp2d-inc-gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.wp2d-inc-gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 15px 6px 9px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.wp2d-inc-gift-card:hover {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(16, 185, 129, 0.1);
}
.wp2d-inc-gift-card.active.is-gem {
  border-color: rgba(34, 211, 238, 0.85);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.12));
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.4), 0 8px 18px rgba(6, 182, 212, 0.2);
}
.wp2d-inc-gift-card.active.is-star {
  border-color: rgba(250, 204, 21, 0.88);
  background: linear-gradient(180deg, rgba(245, 184, 65, 0.22), rgba(180, 83, 9, 0.12));
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.42), 0 8px 18px rgba(245, 184, 65, 0.2);
}
.wp2d-inc-gift-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 1px 5px;
  border-radius: 6px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.32);
  color: #cbd5e1;
}
.wp2d-inc-gift-badge.is-lux {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(251, 191, 36, 0.52);
  color: #fde68a;
}
.wp2d-inc-gift-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.wp2d-inc-gift-lbl {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}
.wp2d-inc-gift-cost {
  font-size: 10.5px;
  font-weight: 800;
  color: #fde68a;
}
.wp2d-inc-gift-cta {
  position: sticky;
  bottom: -12px;
  padding: 10px 2px 6px;
  margin: 4px -2px 0;
  background: rgba(11, 13, 25, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 4;
}
.wp2d-inc-gift-cta .wp2d-btn-preview {
  background: #1a1f33;
}


/* === PLAN v35: 16-FRAME GRADUATION CEREMONY & WHITELIST HALL OF FAME === */
.has-grad-ceremony .wp2d-screen-ctrls,
.has-grad-ceremony .wp2d-marquee {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease;
}
.wp2d-inc-gift-cta .wp2d-btn-preview,
.wp2d-inc-gift-cta .wp2d-gift-send-main {
  white-space: nowrap;
}
@media (max-width: 380px) {
  .wp2d-inc-gift-cta {
    gap: 6px;
  }
  .wp2d-inc-gift-cta .wp2d-btn-preview {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 11.5px;
  }
  .wp2d-inc-gift-cta .wp2d-gift-send-main {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 11.5px;
  }
}

.vlfx-grad-ceremony {
  position: absolute;
  inset: 0;
  z-index: 32;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, background 0.35s ease;
  overflow: hidden;
  font-family: inherit;
}
.vlfx-grad-ceremony.is-active {
  opacity: 1;
}
.vlfx-grad-ceremony.phase-impact {
  background: radial-gradient(circle at 50% 44%, rgba(16, 185, 129, 0.22), rgba(5, 8, 18, 0.68) 74%);
}
.vlfx-grad-ceremony.theme-oneshot-gems.phase-impact {
  background: radial-gradient(circle at 50% 44%, rgba(245, 158, 11, 0.28), rgba(24, 6, 8, 0.74) 74%);
}
.vlfx-grad-ceremony.theme-oneshot-star.phase-impact {
  background: radial-gradient(circle at 50% 44%, rgba(192, 132, 252, 0.30), rgba(10, 6, 26, 0.74) 74%);
}
.vlfx-grad-ceremony.phase-movie {
  background: radial-gradient(circle at 50% 42%, transparent 34%, rgba(4, 7, 16, 0.44) 100%);
}
.vlfx-grad-ceremony.phase-hof {
  position: fixed;
  inset: 0;
  z-index: 2147483610;
  padding: 50px 12px 16px;
  pointer-events: auto;
  background: radial-gradient(circle at 50% 35%, rgba(16, 24, 42, 0.76), rgba(4, 7, 16, 0.9) 80%);
  backdrop-filter: blur(6px);
}
.vlfx-grad-ico,
.vlfx-grad-hof-ico,
.vlfx-grad-pod-ico,
.vlfx-grad-fin-ico,
.vlfx-grad-solo-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vlfx-grad-topbar {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: none;
  z-index: 4;
}
.vlfx-grad-demo-pill {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fde68a;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(250, 204, 21, 0.44);
  pointer-events: auto;
}
.vlfx-grad-skip-btn,
.vlfx-grad-close-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 14, 26, 0.84);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
  backdrop-filter: blur(8px);
}
.vlfx-grad-skip-btn {
  padding: 6px 11px;
}
.vlfx-grad-close-btn {
  width: 30px;
  height: 30px;
  padding: 0;
}
.vlfx-grad-skip-btn:hover,
.vlfx-grad-close-btn:hover {
  background: rgba(30, 41, 59, 0.94);
  transform: scale(1.03);
}

/* Beat 0: Dramatic 100% Impact Crest */
.vlfx-grad-impact {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  max-width: min(92vw, 390px);
  animation: vlfxGradImpactPop 0.52s cubic-bezier(0.2, 0.9, 0.25, 1.15) forwards;
}
.vlfx-grad-ceremony.phase-impact .vlfx-grad-impact {
  display: flex;
}
.vlfx-grad-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #ecfdf5;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.92), rgba(5, 150, 105, 0.92));
  border: 1px solid rgba(253, 224, 71, 0.65);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.55);
}
.vlfx-grad-ceremony.theme-oneshot-gems .vlfx-grad-badge {
  color: #fffbeb;
  background: linear-gradient(135deg, #d97706, #dc2626 60%, #f59e0b);
  border-color: rgba(254, 240, 138, 0.85);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.7);
}
.vlfx-grad-ceremony.theme-oneshot-star .vlfx-grad-badge {
  color: #faf5ff;
  background: linear-gradient(135deg, #7c3aed, #2563eb 55%, #ec4899);
  border-color: rgba(254, 240, 138, 0.85);
  box-shadow: 0 0 28px rgba(192, 132, 252, 0.72);
}
.vlfx-grad-ceremony.theme-finisher-star .vlfx-grad-badge {
  color: #fefce8;
  background: linear-gradient(135deg, #7c3aed, #10b981);
  border-color: rgba(253, 224, 71, 0.75);
}
.vlfx-grad-headline {
  font-size: clamp(20px, 5.8vw, 28px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.4px;
  background: linear-gradient(180deg, #ffffff 0%, #fde68a 52%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(245, 158, 11, 0.55));
}
.vlfx-grad-ceremony.theme-oneshot-star .vlfx-grad-headline {
  background: linear-gradient(180deg, #ffffff 0%, #e9d5ff 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(192, 132, 252, 0.65));
}
.vlfx-grad-sub {
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Beat 1: Compact Bottom Caption while 16-Frame Storyboard Plays */
.vlfx-grad-movie-cap {
  display: none;
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 370px);
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 9px 14px;
  border-radius: 16px;
  background: rgba(7, 11, 22, 0.8);
  border: 1px solid rgba(253, 224, 71, 0.36);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}
.vlfx-grad-ceremony.phase-movie .vlfx-grad-movie-cap {
  display: flex;
  animation: vlfxGradSlideUp 0.35s ease forwards;
}
.vlfx-grad-cap-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fde68a;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vlfx-grad-ceremony.theme-oneshot-star .vlfx-grad-cap-pill {
  color: #e9d5ff;
}
.vlfx-grad-cap-title {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Beat 2: Mobile-First Whitelist Hall of Fame Card (Full Viewport Modal) */
.vlfx-grad-hof {
  display: none;
  position: relative;
  flex-direction: column;
  gap: 10px;
  width: min(94vw, 404px);
  max-height: min(86dvh, 540px);
  padding: 15px 14px 0;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(14, 22, 38, 0.98) 0%, rgba(9, 13, 26, 0.99) 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.48);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.72), 0 0 36px rgba(16, 185, 129, 0.24);
  color: #f8fafc;
  overflow-y: auto;
  overflow-x: hidden;
}
.vlfx-grad-hof > * {
  flex-shrink: 0;
}
.vlfx-grad-ceremony.theme-oneshot-gems .vlfx-grad-hof {
  border-color: rgba(245, 158, 11, 0.74);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.76), 0 0 42px rgba(245, 158, 11, 0.32);
}
.vlfx-grad-ceremony.theme-oneshot-star .vlfx-grad-hof {
  border-color: rgba(192, 132, 252, 0.74);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.76), 0 0 42px rgba(192, 132, 252, 0.36);
}
.vlfx-grad-ceremony.phase-hof .vlfx-grad-hof {
  display: flex;
  animation: vlfxGradHofIn 0.38s cubic-bezier(0.2, 0.9, 0.25, 1.08) forwards;
}
.vlfx-grad-hof-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.vlfx-grad-hof-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fde68a;
}
.vlfx-grad-ceremony.theme-oneshot-star .vlfx-grad-hof-title {
  color: #e9d5ff;
}
.vlfx-grad-hof-ready {
  font-size: 11.5px;
  font-weight: 700;
  color: #6ee7b7;
}
.vlfx-grad-ceremony.theme-oneshot-star .vlfx-grad-hof-ready {
  color: #7dd3fc;
}
.vlfx-grad-hof-work {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vlfx-grad-me-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 800;
  color: #fef08a;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.22), rgba(16, 185, 129, 0.22));
  border: 1px solid rgba(250, 204, 21, 0.6);
  text-align: center;
  animation: vlfxGradPulseBorder 1.8s ease-in-out infinite;
}

/* Solo Conqueror Throne (One-Shot 0% -> 100%) */
.vlfx-grad-solo-throne {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 15px 12px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.22), rgba(15, 23, 42, 0.85) 75%);
  border: 1px solid rgba(250, 204, 21, 0.52);
  text-align: center;
}
.vlfx-grad-ceremony.theme-oneshot-star .vlfx-grad-solo-throne {
  background: radial-gradient(circle at 50% 0%, rgba(192, 132, 252, 0.26), rgba(15, 23, 42, 0.85) 75%);
  border-color: rgba(192, 132, 252, 0.56);
}
.vlfx-grad-solo-crown {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fde047;
  background: rgba(250, 204, 21, 0.16);
  border: 1.5px solid rgba(253, 224, 71, 0.6);
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.42);
}
.vlfx-grad-solo-crown svg { width: 22px; height: 22px; }
.vlfx-grad-solo-tag {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #fde68a;
}
.vlfx-grad-ceremony.theme-oneshot-star .vlfx-grad-solo-tag {
  color: #c4b5fd;
}
.vlfx-grad-solo-name {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Community Top 1/2/3 Podium (TOP 1 Always Stands Tallest!) */
.vlfx-grad-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  padding-top: 4px;
}
.vlfx-grad-pod {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 76px;
  padding: 8px 6px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  min-width: 0;
}
.vlfx-grad-pod.rank-1 {
  min-height: 94px;
  padding: 12px 6px;
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.24), rgba(245, 158, 11, 0.08));
  border-color: rgba(250, 204, 21, 0.65);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.24);
}
.vlfx-grad-pod.rank-2 {
  min-height: 76px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.05));
  border-color: rgba(203, 213, 225, 0.36);
}
.vlfx-grad-pod.rank-3 {
  min-height: 70px;
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.18), rgba(217, 119, 6, 0.05));
  border-color: rgba(251, 146, 60, 0.36);
}
.vlfx-grad-pod.is-me {
  box-shadow: 0 0 0 1.5px #fde047, 0 0 18px rgba(250, 204, 21, 0.35);
}
.vlfx-grad-pod-rank {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #cbd5e1;
}
.vlfx-grad-pod.rank-1 .vlfx-grad-pod-rank { color: #fde047; }
.vlfx-grad-pod.rank-3 .vlfx-grad-pod-rank { color: #fdba74; }
.vlfx-grad-pod-name {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vlfx-grad-fin-tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  color: #ecfdf5;
  background: rgba(16, 185, 129, 0.88);
}
.vlfx-grad-fin-ico svg { width: 10px; height: 10px; }

.vlfx-grad-finisher-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.36);
}

/* Whitelist Roster Pills (#4..#30) */
.vlfx-grad-roster-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vlfx-grad-roster-lbl {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
}
.vlfx-grad-roster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  max-height: 118px;
  overflow-y: auto;
  padding: 2px 2px 4px;
}
.vlfx-grad-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vlfx-grad-chip.is-me {
  color: #fef08a;
  background: rgba(245, 158, 11, 0.24);
  border-color: rgba(250, 204, 21, 0.72);
}
.vlfx-grad-chip.is-finisher {
  color: #a7f3d0;
  border-color: rgba(16, 185, 129, 0.55);
}

/* Preview 3-Mode Switcher */
.vlfx-grad-preview-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding-top: 2px;
}
.vlfx-grad-sw-btn {
  padding: 6px 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vlfx-grad-sw-btn.is-active {
  color: #090d1a;
  background: linear-gradient(135deg, #fde047, #f59e0b);
  border-color: transparent;
  font-weight: 900;
}

/* Footer CTA + Flow Auto-Close Progress Bar */
.vlfx-grad-hof-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
}
.vlfx-grad-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.vlfx-grad-ceremony.theme-oneshot-gems .vlfx-grad-cta-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b0f1c;
}
.vlfx-grad-ceremony.theme-oneshot-star .vlfx-grad-cta-btn {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #ffffff;
}
.vlfx-grad-done-btn {
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.vlfx-grad-hof-timer {
  height: 3px;
  margin: 0 -14px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}
.vlfx-grad-hof-timer-fill {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #10b981, #fde047);
}
.vlfx-grad-ceremony.theme-oneshot-gems .vlfx-grad-hof-timer-fill {
  background: linear-gradient(90deg, #ef4444, #f59e0b, #fde047);
}
.vlfx-grad-ceremony.theme-oneshot-star .vlfx-grad-hof-timer-fill {
  background: linear-gradient(90deg, #c084fc, #38bdf8, #fde047);
}

@keyframes vlfxGradImpactPop {
  0% { opacity: 0; transform: scale(0.76); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes vlfxGradSlideUp {
  0% { opacity: 0; transform: translate(-50%, 16px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes vlfxGradHofIn {
  0% { opacity: 0; transform: scale(0.92) translateY(14px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes vlfxGradPulseBorder {
  0%, 100% { border-color: rgba(250, 204, 21, 0.45); }
  50% { border-color: rgba(254, 240, 138, 0.95); }
}

@media (max-width: 390px) {
  .vlfx-grad-hof { padding: 13px 11px 0; gap: 8px; border-radius: 17px; }
  .vlfx-grad-hof-timer { margin: 0 -11px; }
  .vlfx-grad-hof-title { font-size: 13px; }
  .vlfx-grad-pod { min-height: 70px; padding: 7px 4px; }
  .vlfx-grad-pod.rank-1 { min-height: 86px; padding: 10px 4px; }
  .vlfx-grad-pod.rank-3 { min-height: 66px; }
  .vlfx-grad-pod-name { font-size: 11px; }
}
@media (max-height: 680px) {
  .vlfx-grad-ceremony.phase-hof { padding: 44px 10px 10px; }
  .vlfx-grad-hof { max-height: calc(100dvh - 56px); gap: 7px; padding: 12px 11px 0; }
  .vlfx-grad-hof-timer { margin: 0 -11px; }
  .vlfx-grad-solo-throne { padding: 11px 10px; gap: 4px; }
  .vlfx-grad-solo-crown { width: 36px; height: 36px; }
  .vlfx-grad-solo-name { font-size: 16px; }
  .vlfx-grad-roster { max-height: 106px; }
}
