/* ==========================================================================
   Wetube Ciné 18+ VIP Lounge & Phố Đêm Hàng Rong — Sexy Neon Glass Theme
   Smooth 60fps transitions + Multi-touch Pinch-Zoom support
   ========================================================================== */

:root {
  --bg-deep: #0b0509;
  --bg-glass: rgba(24, 12, 22, 0.84);
  --bg-glass-strong: rgba(18, 9, 17, 0.94);
  --bg-pill: rgba(30, 15, 28, 0.88);
  --border-olive: rgba(255, 77, 158, 0.25);
  --border-bright: rgba(255, 42, 133, 0.62);
  --accent-green: #ff2a85;
  --accent-lime: #ff4da6;
  --accent-neon-lime: #a3e635;
  --accent-violet: #a855f7;
  --accent-red: #f43f5e;
  --accent-gold: #facc15;
  --text-main: #fdf2f8;
  --text-muted: #d8b4fe;
  --side-chat-width: 350px;
}

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

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  touch-action: none;
}

.app-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.theater-stage {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 32%, #240c1f 0%, #090408 100%);
  touch-action: none;
}

#canvas-3d,
#canvas-2d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}

#canvas-3d:active,
#canvas-2d:active {
  cursor: grabbing;
}

#canvas-2d {
  display: none;
}

/* Synchronized Screen Video Layer & Full-Screen Photo Projection */
.screen-video-layer {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
  border-radius: 6px;
  transition: opacity 0.18s ease;
}

.screen-video-layer.pinned-top-player {
  z-index: 25;
  border: 2.5px solid #38bdf8;
  border-radius: 10px;
  background: #05020a;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.85), 0 0 16px rgba(56, 189, 248, 0.35);
}

#master-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

#youtube-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: #000;
}

#youtube-container iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}

/* 3D Screen Photo Projection Overlay */
.projected-screen-overlay {
  position: absolute;
  z-index: 7;
  pointer-events: none;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(14, 6, 12, 0.94);
  border: 2px solid rgba(255, 42, 133, 0.78);
  box-shadow: 0 0 60px rgba(255, 42, 133, 0.4);
}

.projected-screen-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.projected-screen-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.projected-screen-brand {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fbcfe8;
  text-transform: uppercase;
}

.projected-screen-timer {
  background: rgba(255, 42, 133, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 8px;
}

.projected-screen-bottom {
  position: relative;
  z-index: 2;
  padding: 20px 16px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.45) 65%, transparent 100%);
  text-align: center;
}

.projected-screen-meta {
  font-size: 12px;
  color: #fbcfe8;
  text-shadow: 0 1px 4px rgba(0,0,0,0.95);
  margin-bottom: 4px;
}

.projected-screen-meta strong {
  color: var(--accent-gold);
}

.projected-screen-msg {
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(255, 42, 133, 0.85);
}

/* ==========================================================================
   ZINGME HÀNG RONG 2D AUTHENTIC HUD OVERLAY
   ========================================================================== */
.zingme-hud-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 14;
  display: none;
}

.zingme-hud-layer > * {
  pointer-events: auto;
}

.zing-stats-box {
  position: absolute;
  top: 66px;
  left: 16px;
  background: rgba(28, 10, 24, 0.84);
  border: 2px solid #ff2a85;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fef08a;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 6px 22px rgba(255, 42, 133, 0.3);
}

.zing-marquee-banner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #fce7f3 0%, #fbcfe8 100%);
  border: 3px solid #db2777;
  border-radius: 16px;
  padding: 4px 18px 6px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.55);
  min-width: 320px;
}

.zing-marquee-title {
  font-size: 13px;
  font-weight: 900;
  color: #831843;
  font-style: italic;
}

.zing-marquee-sub {
  background: linear-gradient(90deg, #db2777, #9333ea);
  color: #fef08a;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 12px;
  border-radius: 99px;
  margin-top: 2px;
  display: inline-block;
}

.zing-right-buttons {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.zing-capsule-btn {
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 12.5px;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.12s ease;
}

.zing-capsule-btn:hover {
  transform: scale(1.06);
}

.zing-capsule-btn.blue {
  background: linear-gradient(180deg, #38bdf8, #0284c7);
}

.zing-capsule-btn.red {
  background: linear-gradient(180deg, #ff4da6, #e11d48);
}

.zing-capsule-btn.green {
  background: linear-gradient(180deg, #c084fc, #7e22ce);
}

.zing-vote-pills {
  display: flex;
  gap: 6px;
}

.zing-thumb-btn {
  background: #fef9c3;
  border: 2px solid #ca8a04;
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 900;
  color: #713f12;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.zing-room-plaque {
  position: absolute;
  top: 66px;
  right: 92px;
  background: #3b0764;
  border: 2px solid #ff4da6;
  border-radius: 8px;
  padding: 5px 12px;
  font-family: monospace;
  font-size: 14px;
  font-weight: 900;
  color: #ff4da6;
  box-shadow: inset 0 0 10px rgba(255, 77, 166, 0.4);
}

/* ==========================================================================
   3D/2D SPEECH BUBBLES
   ========================================================================== */
.bubbles-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  overflow: hidden;
}

.speech-bubble-3d {
  position: absolute;
  transform: translate(-50%, -100%);
  background: rgba(24, 11, 22, 0.92);
  border: 1px solid rgba(255, 77, 166, 0.65);
  color: #fdf2f8;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  width: max-content;
  max-width: min(210px, 64vw);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  box-shadow: 0 8px 24px rgba(255, 42, 133, 0.32);
  pointer-events: none;
  animation: bubblePop 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.speech-bubble-3d::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: rgba(24, 11, 22, 0.92) transparent transparent;
}

.speech-bubble-3d .bubble-author {
  display: block;
  font-size: 10px;
  color: #ff4da6;
  font-weight: 800;
  margin-bottom: 2px;
}

@keyframes bubblePop {
  from { opacity: 0; transform: translate(-50%, -85%) scale(0.8); }
  to { opacity: 1; transform: translate(-50%, -100%) scale(1); }
}

.floating-effect {
  position: absolute;
  pointer-events: none;
  z-index: 9;
  font-size: 30px;
  filter: drop-shadow(0 0 10px rgba(255, 42, 133, 0.6));
  animation: floatUpEffect 3.2s ease-out forwards;
}

@keyframes floatUpEffect {
  0% { opacity: 1; transform: translateY(0) scale(0.7); }
  20% { opacity: 1; transform: translateY(-35px) scale(1.22); }
  100% { opacity: 0; transform: translateY(-230px) scale(0.95); }
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-hud {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.top-hud > * {
  pointer-events: auto;
}

.top-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(34, 12, 29, 0.88);
  border: 1px solid rgba(255, 42, 133, 0.45);
  padding: 6px 14px 6px 8px;
  border-radius: 14px;
  backdrop-filter: blur(12px);
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255, 42, 133, 0.22);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff2a85, #9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 42, 133, 0.55);
}

.brand-text h1 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-18plus {
  background: linear-gradient(135deg, #ff2a85, #e11d48);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(255, 42, 133, 0.6);
}

.brand-text span {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #f472b6;
  text-transform: uppercase;
  margin-top: 2px;
}

.mode-switch-pill {
  display: flex;
  background: var(--bg-pill);
  border: 1px solid var(--border-olive);
  border-radius: 12px;
  padding: 3px;
  backdrop-filter: blur(12px);
}

.mode-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.mode-btn.active {
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.35), rgba(168, 85, 247, 0.35));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 77, 166, 0.65);
}

.status-center-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pill);
  border: 1px solid var(--border-olive);
  padding: 5px 11px;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  font-size: 11.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.status-live-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #ff2a85;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff2a85;
  flex-shrink: 0;
}

.status-divider {
  width: 1px;
  height: 14px;
  background: var(--border-olive);
  flex-shrink: 0;
}

.status-counts {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  white-space: nowrap;
}

.status-counts strong {
  font-size: 11.5px;
  color: #fdf2f8;
}

.status-dot-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
}

.status-counts small {
  font-size: 11px;
  color: var(--text-muted);
}

.sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 42, 133, 0.16);
  border: 1px solid rgba(255, 77, 166, 0.45);
  color: #ff80bf;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.top-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-pill);
  border: 1px solid var(--border-olive);
  padding: 7px 11px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fef08a;
  cursor: pointer;
  backdrop-filter: blur(12px);
  white-space: nowrap;
  flex-shrink: 0;
}

.icon-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--bg-pill);
  border: 1px solid var(--border-olive);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  backdrop-filter: blur(12px);
  transition: all 0.15s ease;
}

.icon-circle-btn:hover,
.icon-circle-btn.active {
  border-color: var(--border-bright);
  background: rgba(65, 20, 55, 0.9);
  box-shadow: 0 0 14px rgba(255, 42, 133, 0.35);
}

.avatar-badge-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2a85, #a855f7);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   LEFT OVERLAY: "TRÊN MÀN ẢNH" + VOTE BỎ QUA + DISCO 128 BPM PILL
   ========================================================================== */
.now-playing-hud {
  position: absolute;
  top: 78px;
  left: 18px;
  z-index: 18;
  width: min(355px, calc(100vw - 95px));
  display: flex;
  flex-direction: column;
  gap: 7px;
  pointer-events: auto;
}

.np-header-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  text-transform: uppercase;
  flex-wrap: wrap;
}

.np-collapse-btn {
  margin-left: auto;
  background: rgba(255, 42, 133, 0.25);
  border: 1px solid rgba(255, 77, 166, 0.65);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.np-collapse-btn:hover {
  background: rgba(255, 42, 133, 0.45);
}

.np-collapsible-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.now-playing-hud.collapsed .np-collapsible-body {
  display: none;
}

.now-playing-hud.collapsed {
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 13px;
}

.now-playing-hud.collapsed .np-title {
  order: 1;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  font-size: 12.5px;
  margin: 0;
  cursor: pointer;
}

.now-playing-hud.collapsed .np-header-label {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: nowrap;
  margin: 0;
  gap: 6px;
}

.now-playing-hud.collapsed .np-header-label > span {
  display: none !important;
}

.now-playing-hud.collapsed .np-header-label > #np-aspect-tag {
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9.5px;
}

.np-source-tag {
  background: rgba(255, 42, 133, 0.22);
  color: #ff80bf;
  border: 1px solid rgba(255, 77, 166, 0.45);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 9.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.np-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np-meta {
  font-size: 12px;
  color: #f5d0fe;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.sync-player-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-olive);
  border-radius: 12px;
  padding: 7px 10px;
  backdrop-filter: blur(12px);
}

.sync-controls-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sync-ctrl-btn {
  background: rgba(255, 42, 133, 0.16);
  border: 1px solid rgba(255, 77, 166, 0.35);
  color: #fff;
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sync-ctrl-btn:hover {
  background: rgba(255, 42, 133, 0.38);
  border-color: var(--accent-lime);
}

.sync-seek-slider {
  flex: 1;
  accent-color: #ff2a85;
  height: 5px;
  cursor: pointer;
}

.vote-skip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.vote-skip-btn {
  background: var(--bg-pill);
  border: 1px solid var(--border-olive);
  color: #fff;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(12px);
}

.vote-skip-btn:hover,
.vote-skip-btn.voted {
  border-color: var(--accent-lime);
  background: rgba(255, 42, 133, 0.25);
}

.vote-skip-count {
  color: #ff80bf;
  font-weight: 800;
}

.vote-skip-info {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

.vote-progress-track {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  overflow: hidden;
}

.vote-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff2a85, #a855f7);
  transition: width 0.25s ease;
}

.disco-bpm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  background: var(--bg-pill);
  border: 1px solid var(--border-olive);
  color: #fbcfe8;
  padding: 5px 11px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.15s ease;
}

.disco-bpm-pill.active {
  border-color: rgba(255, 42, 133, 0.65);
  background: rgba(45, 14, 38, 0.92);
  box-shadow: 0 0 16px rgba(255, 42, 133, 0.32);
}

/* ==========================================================================
   RIGHT FLOATING VERTICAL TOOLBAR DOCK
   (PC: Full-height right rail; Mobile: Anchored below Video Player)
   ========================================================================== */
.right-toolbar-dock {
  position: absolute;
  right: 14px;
  top: 66px;
  transform: none;
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
  scrollbar-width: none;
  z-index: 25;
  background: var(--bg-pill);
  border: 1px solid var(--border-olive);
  border-radius: 18px;
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
}

.right-toolbar-dock::-webkit-scrollbar {
  display: none;
}

.dock-item-btn {
  position: relative;
  width: 58px;
  padding: 7px 4px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dock-item-btn:hover,
.dock-item-btn.active {
  background: rgba(255, 42, 133, 0.22);
  color: #fff;
}

.dock-item-btn .dock-icon {
  font-size: 18px;
  line-height: 1;
}

.dock-item-btn .dock-label {
  font-size: 10px;
  font-weight: 600;
  color: #f5d0fe;
  white-space: nowrap;
}

.dock-badge {
  position: absolute;
  top: 1px;
  right: 3px;
  z-index: 3;
  background: #ff2a85;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4.5px;
  border-radius: 999px;
  pointer-events: none;
}

.dock-badge.red {
  background: #e11d48;
  color: #fff;
}

/* ==========================================================================
   BOTTOM HUD BAR (Camera Switcher + Quick Zoom Buttons + Chat + Volume)
   ========================================================================== */
.bottom-hud {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.bottom-hud > * {
  pointer-events: auto;
}

.bottom-left-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cam-switcher-group {
  display: flex;
  align-items: center;
  background: var(--bg-pill);
  border: 1px solid var(--border-olive);
  border-radius: 13px;
  padding: 4px;
  gap: 3px;
  backdrop-filter: blur(12px);
}

.cam-btn {
  width: 34px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.cam-btn:hover,
.cam-btn.active {
  background: rgba(255, 42, 133, 0.3);
  color: #fff;
}

.private-room-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.25), rgba(168, 85, 247, 0.25));
  border: 1px solid var(--border-bright);
  color: #fff;
  padding: 8px 14px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 18px rgba(255, 42, 133, 0.25);
}

.bottom-chat-bar {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pill);
  border: 1px solid var(--border-olive);
  border-radius: 14px;
  padding: 5px 8px 5px 12px;
  backdrop-filter: blur(12px);
}

.bottom-chat-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
}

.chat-char-count {
  font-size: 11px;
  color: var(--text-muted);
}

.chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: none;
  background: rgba(255, 42, 133, 0.28);
  color: #ff80bf;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-right-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pill);
  border: 1px solid var(--border-olive);
  border-radius: 13px;
  padding: 5px 12px;
  backdrop-filter: blur(12px);
}

.quick-emoji-btn {
  border: none;
  background: transparent;
  font-size: 17px;
  cursor: pointer;
  padding: 3px;
  transition: transform 0.15s ease;
}

.quick-emoji-btn:hover {
  transform: scale(1.25);
}

.volume-slider {
  width: 72px;
  accent-color: #ff2a85;
  cursor: pointer;
}

.volume-pct {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
  min-width: 34px;
  text-align: right;
}

/* ==========================================================================
   FLOATING / DOCKED CHAT PANEL
   (PC: Right column beside dock; Mobile: Below Video Player)
   ========================================================================== */
.side-panel {
  position: absolute;
  top: 66px;
  bottom: 72px;
  right: 84px;
  width: 330px;
  background: rgba(20, 9, 19, 0.94);
  border: 1px solid rgba(255, 77, 166, 0.32);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  z-index: 21;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-panel.collapsed {
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
}

.side-panel-top-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-panel-sublabel {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #f472b6;
  text-transform: uppercase;
}

.side-panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.side-panel-title-row h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.side-tabs {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.side-tab-btn {
  flex: 1;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.side-tab-btn.active {
  background: rgba(255, 42, 133, 0.24);
  border-color: rgba(255, 77, 166, 0.5);
  color: #fff;
}

.side-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.side-room-invite-bar {
  padding: 7px 14px;
  background: rgba(255, 42, 133, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.btn-copy-mini {
  background: rgba(255, 42, 133, 0.25);
  border: 1px solid rgba(255, 77, 166, 0.5);
  color: #fbcfe8;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.side-tab-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: none;
  flex-direction: column;
  gap: 10px;
}

.side-tab-content.active {
  display: flex;
}

.chat-msg-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-msg-item.system .chat-msg-bubble {
  background: rgba(255, 42, 133, 0.14);
  border-color: rgba(255, 77, 166, 0.35);
  color: #fbcfe8;
  font-size: 11.5px;
}

.chat-msg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.chat-msg-author {
  font-weight: 800;
  color: #fdf2f8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-author-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.seat-mini-tag {
  background: rgba(255, 42, 133, 0.2);
  color: #fbcfe8;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
}

.chat-msg-time {
  color: #a855f7;
  font-size: 10px;
}

.chat-msg-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 12.5px;
  color: #fdf2f8;
  line-height: 1.4;
  word-break: break-word;
}

.side-chat-footer {
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.side-emoji-strip {
  display: flex;
  justify-content: space-between;
}

.side-emoji-strip button {
  background: rgba(255, 42, 133, 0.1);
  border: 1px solid rgba(255, 77, 166, 0.2);
  border-radius: 7px;
  padding: 3px 7px;
  cursor: pointer;
  font-size: 12.5px;
  color: #fbcfe8;
}

.side-input-row {
  display: flex;
  gap: 6px;
}

.side-input-row input {
  flex: 1;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-olive);
  border-radius: 9px;
  padding: 7px 10px;
  color: #fff;
  font-size: 12.5px;
  outline: none;
}

/* ==========================================================================
   MODALS (Always open BELOW the Video Player so Player stays 100% visible)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: var(--player-bottom-y, 272px);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 3, 8, 0.74);
  backdrop-filter: blur(6px);
  z-index: 60;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 6px 14px 12px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box,
.modal-card {
  width: min(740px, 96vw);
  max-height: calc(100dvh - var(--player-bottom-y, 272px) - 16px);
  background: #170a15;
  border: 1px solid rgba(255, 77, 166, 0.38);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.92);
}

.wetube-modal-head,
.modal-header {
  padding: 16px 20px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.wetube-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #f472b6;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wetube-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.wetube-modal-desc {
  font-size: 12.5px;
  color: #d8b4fe;
  margin-top: 4px;
  line-height: 1.45;
}

.modal-close-circle,
.modal-close-btn {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fdf2f8;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 12px 24px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-body > * {
  flex-shrink: 0;
}

.cinema-screen-arc {
  margin: 4px auto 10px;
  width: 82%;
  border-top: 2px solid rgba(255, 42, 133, 0.45);
  border-radius: 50% 50% 0 0 / 18px 18px 0 0;
  padding-top: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #f472b6;
}

.seat-rows-container {
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.seat-row-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 560px;
}

.seat-row-letter {
  width: 18px;
  font-size: 11.5px;
  font-weight: 700;
  color: #d8b4fe;
  text-align: center;
}

.seat-cluster {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}

.seat-box-btn {
  width: 34px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.12s ease;
}

.seat-box-btn:hover {
  border-color: var(--accent-lime);
  color: #fff;
}

.seat-box-btn.mine {
  background: rgba(255, 42, 133, 0.38);
  border-color: #ff2a85;
  color: #fff;
}

.seat-box-btn.occupied {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #64748b;
  cursor: not-allowed;
}

.seat-box-btn.bot {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.48);
  color: #e9d5ff;
}

.seat-legend-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 11.5px;
  color: #d8b4fe;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.2);
}

.seat-modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #d8b4fe;
}

.seat-modal-footer strong {
  color: #ff4da6;
  font-size: 14px;
}

.photo-dropzone {
  border: 1.5px dashed rgba(255, 77, 166, 0.4);
  background: rgba(255, 42, 133, 0.04);
  border-radius: 16px;
  padding: 26px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.photo-dropzone-preview {
  max-height: 150px;
  max-width: 100%;
  border-radius: 10px;
  display: none;
  object-fit: contain;
}

.btn-upload-device {
  margin-top: 6px;
  background: rgba(255, 42, 133, 0.18);
  border: 1px solid rgba(255, 77, 166, 0.48);
  color: #fdf2f8;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.proj-textarea {
  width: 100%;
  height: 76px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 77, 166, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  resize: none;
  outline: none;
}

.proj-duration-slider {
  width: 100%;
  accent-color: #ff2a85;
  height: 6px;
  cursor: pointer;
}

.proj-cost-card {
  background: rgba(255, 42, 133, 0.08);
  border: 1px solid rgba(255, 77, 166, 0.3);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proj-cost-amount {
  font-size: 24px;
  font-weight: 900;
  color: #ff80bf;
  margin-top: 2px;
}

.proj-confirm-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff2a85, #9333ea);
  border: none;
  color: #ffffff;
  padding: 13px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 42, 133, 0.4);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 12px;
  font-weight: 700;
  color: #f5d0fe;
}

.form-input,
.form-select {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-olive);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.primary-btn {
  background: linear-gradient(135deg, #ff2a85, #9333ea);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-olive);
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  flex-shrink: 0;
}

.catalog-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 77, 166, 0.25);
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 184px;
  height: auto;
}

.catalog-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  background: #090408;
  flex-shrink: 0;
  display: block;
}

.catalog-card-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 0 auto;
}

.catalog-card-title {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 29px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-card-btns {
  margin-top: auto;
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.catalog-card-btns button {
  flex: 1;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.rooms-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}

.room-item-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-olive);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.room-item-card.active {
  border-color: #ff2a85;
  background: rgba(255, 42, 133, 0.16);
}

.queue-card {
  display: flex;
  gap: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 77, 166, 0.16);
  border-radius: 10px;
  padding: 8px;
  align-items: center;
}

.queue-thumb {
  width: 60px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
}

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

.queue-title {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.queue-actions {
  display: flex;
  gap: 4px;
}

.queue-actions button {
  background: rgba(255, 42, 133, 0.2);
  border: 1px solid rgba(255, 77, 166, 0.4);
  color: #fff;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 11px;
  cursor: pointer;
}

.toast-container {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-msg {
  background: rgba(26, 9, 23, 0.95);
  border: 1px solid #ff2a85;
  color: #fff;
  padding: 9px 16px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255, 42, 133, 0.45);
}

body.ui-hidden .now-playing-hud,
body.ui-hidden .zingme-hud-layer,
body.ui-hidden .right-toolbar-dock,
body.ui-hidden .bottom-hud,
body.ui-hidden .status-center-pill,
body.ui-hidden .side-panel {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   4-NETWORK VIP SWITCHER & CATALOG TOOLBAR
   ========================================================================== */
.vip-network-switcher-card {
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.16), rgba(147, 51, 234, 0.16));
  border: 1px solid rgba(255, 77, 166, 0.45);
  border-radius: 14px;
  padding: 12px 14px;
}

.network-pills-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.net-switch-btn {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 77, 166, 0.35);
  color: #fdf2f8;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.net-switch-btn:hover,
.net-switch-btn.active {
  background: linear-gradient(135deg, #ff2a85, #9333ea);
  border-color: #facc15;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 42, 133, 0.45);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.video-submit-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.catalog-subbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

.catalog-default-net-btn {
  border-color: rgba(250, 204, 21, 0.55);
  color: #fef08a;
  font-size: 11.5px;
  padding: 7px 12px;
}

.catalog-search-input {
  padding: 7px 11px;
  width: 220px;
  flex: 1;
  max-width: 280px;
}

.catalog-tabs-scroll {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cat-tab-btn {
  white-space: nowrap;
  transition: all 0.15s ease;
}

/* ==========================================================================
   LAPTOP / COMPACT PC & MOBILE / TABLET OPTIMIZATION
   ========================================================================== */
@media (max-width: 1580px) and (min-width: 901px) {
  .top-hud {
    gap: 8px;
  }
  .top-left-group {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .brand-pill {
    padding: 5px 10px 5px 7px;
    gap: 7px;
  }
  .brand-text h1 {
    font-size: 13.5px;
    white-space: nowrap;
  }
  .brand-text span {
    display: none;
  }
  .mode-btn {
    padding: 5px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  .status-center-pill {
    padding: 5px 10px;
    gap: 8px;
    font-size: 11.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .status-center-pill .sync-badge,
  .status-center-pill .status-divider:last-of-type {
    display: none;
  }
  .wallet-pill {
    padding: 6px 9px;
    font-size: 11.5px;
  }
}

@media (max-width: 900px) {
  .right-toolbar-dock {
    top: var(--player-bottom-y, 266px);
    max-height: calc(100dvh - var(--player-bottom-y, 266px) - 74px);
  }
  .side-panel {
    right: 54px;
    left: 8px;
    width: auto;
    top: var(--player-bottom-y, 266px);
    bottom: 64px;
  }
  .status-center-pill {
    display: none;
  }
}

@media (max-width: 768px) {
  /* 1. Top HUD Bar: Compact & Horizontally Scrollable Mode Switcher */
  .top-hud {
    top: 6px;
    left: 8px;
    right: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .top-left-group {
    width: 100%;
    justify-content: flex-start;
    gap: 5px;
    flex-wrap: wrap;
  }

  .brand-pill {
    padding: 4px 9px 4px 6px;
    gap: 6px;
    border-radius: 11px;
    max-width: calc(100vw - 176px);
  }

  .brand-logo {
    width: 24px;
    height: 24px;
    font-size: 12.5px;
    flex-shrink: 0;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text h1 {
    font-size: 11.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 220px);
  }

  .brand-text span {
    font-size: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: calc(100vw - 220px);
  }

  .wallet-pill,
  .wallet-pill.tele-pill-btn {
    display: none !important;
  }

  .wallet-pill.noads-top-pill {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 6px;
    font-size: 9.5px;
    border-radius: 8px;
  }

  .wallet-pill.noads-top-pill #hud-adfree-label {
    display: none;
  }

  .top-right-group {
    position: absolute;
    top: 1px;
    right: 0;
    gap: 3px;
    display: flex;
    align-items: center;
  }

  .top-right-group button[onclick="toggleFullscreen()"] {
    display: none;
  }

  .icon-circle-btn,
  .avatar-badge-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
    border-radius: 8px;
  }

  .mode-switch-pill {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 3px;
    gap: 4px;
    scrollbar-width: none;
  }
  .mode-switch-pill::-webkit-scrollbar {
    display: none;
  }

  .mode-btn {
    padding: 5px 9px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* 2. Now Playing HUD on Mobile: 2-Row Compact Card at TOP (Title on top, Aspect + Toggle below) + 80% Translucent when touched */
  .now-playing-hud {
    top: calc(max(6px, env(safe-area-inset-top)) + 112px);
    bottom: auto;
    left: 8px;
    right: 54px;
    width: auto;
    max-width: none;
    background: rgba(16, 6, 15, 0.22);
    border: 1px solid rgba(255, 77, 166, 0.16);
    border-radius: 13px;
    padding: 7px 10px;
    gap: 5px;
    opacity: 0.28;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.26s ease, background 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
  }

  .now-playing-hud.collapsed {
    border-radius: 12px;
    padding: 5px 9px;
    gap: 4px;
  }

  .now-playing-hud:hover,
  .now-playing-hud:active,
  .now-playing-hud:focus-within,
  .now-playing-hud.touch-active,
  .now-playing-hud:not(.collapsed) {
    opacity: 0.82;
    background: rgba(16, 6, 15, 0.68);
    border-color: rgba(255, 77, 166, 0.42);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    z-index: 44;
  }

  .np-header-label {
    font-size: 9px;
    gap: 4px;
    flex-wrap: wrap;
  }

  .np-header-label > span {
    white-space: nowrap;
  }

  .np-title {
    font-size: 11.5px;
    -webkit-line-clamp: 1;
  }

  .np-meta {
    font-size: 10.5px;
  }

  .sync-player-card {
    padding: 4px 7px;
    border-radius: 9px;
  }

  .sync-ctrl-btn {
    padding: 3px 7px;
    font-size: 10.5px;
  }

  .vote-skip-row {
    gap: 6px;
  }

  .vote-skip-btn {
    padding: 4px 8px;
    font-size: 11px;
  }

  .vote-skip-info {
    font-size: 9.5px;
  }

  .vote-progress-track {
    width: 100%;
  }

  .disco-bpm-pill {
    padding: 4px 8px;
    font-size: 10px;
  }

  /* 3. Right Toolbar Dock: Compact on right edge & always below Video Player */
  .right-toolbar-dock {
    right: 5px;
    top: var(--player-bottom-y, 266px);
    transform: none;
    max-height: calc(100dvh - var(--player-bottom-y, 266px) - 74px);
    overflow-y: auto;
    scrollbar-width: none;
    padding: 4px 3px;
    gap: 2px;
    border-radius: 13px;
  }

  .dock-item-btn {
    width: 44px;
    padding: 3.5px 2px;
    gap: 1.5px;
  }

  .dock-item-btn .dock-icon {
    font-size: 14px;
  }

  .dock-item-btn .dock-label {
    font-size: 8px;
  }

  .dock-item-btn .noads-slash-badge {
    font-size: 8px;
    padding: 1px 3.5px;
  }

  .dock-badge {
    top: 0px;
    right: 1px;
    font-size: 7.5px;
    padding: 0.5px 3.5px;
  }

  /* 4. 2D ZingMe HUD on Mobile: Clean Horizontal Action Bar Below Marquee */
  .zing-stats-box,
  .zing-room-plaque {
    display: none;
  }

  .zing-marquee-banner {
    width: min(92vw, 420px);
    padding: 3px 10px;
  }

  .zing-marquee-title {
    font-size: 12px;
  }

  .zing-marquee-sub {
    font-size: 10.5px;
  }

  .zing-right-buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 94vw;
    justify-content: flex-start;
    gap: 5px;
    padding: 2px 4px;
    scrollbar-width: none;
  }
  .zing-right-buttons::-webkit-scrollbar {
    display: none;
  }

  .zing-capsule-btn {
    width: auto;
    white-space: nowrap;
    padding: 4px 9px;
    font-size: 10.5px;
    flex-shrink: 0;
  }

  .zing-vote-pills {
    width: auto;
    flex-shrink: 0;
    gap: 4px;
  }

  .zing-thumb-btn {
    padding: 3px 7px;
    font-size: 10.5px;
  }

  /* 5. Bottom HUD Bar on Mobile: 2 Rows (Row 1: Camera/Room + Quick Sound/View, Row 2 at very bottom: Full-width Chat Input) */
  .bottom-hud {
    bottom: max(6px, env(safe-area-inset-bottom));
    left: 8px;
    right: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .bottom-left-controls {
    order: 1;
    gap: 5px;
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  .bottom-right-controls {
    order: 2;
    padding: 3px 6px;
    gap: 4px;
    border-radius: 10px;
    margin-left: auto;
  }

  .bottom-chat-bar {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
    padding: 5px 7px 5px 11px;
    border-radius: 12px;
  }

  .cam-switcher-group {
    padding: 2px;
    gap: 1px;
    border-radius: 10px;
  }

  .cam-btn {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .private-room-btn {
    padding: 5px 8px;
    font-size: 11px;
    border-radius: 10px;
  }

  .private-room-btn span {
    display: none;
  }

  .bottom-chat-bar input {
    font-size: 12.5px;
  }

  .chat-char-count {
    display: none;
  }

  .chat-send-btn {
    width: 28px;
    height: 28px;
  }

  .volume-slider,
  .volume-pct {
    display: none;
  }

  /* 6. Modals as Smooth Mobile Bottom Sheets Anchored Right Below Video Player */
  .modal-backdrop {
    top: var(--player-bottom-y, 266px);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    align-items: stretch;
  }

  .modal-box {
    width: 100vw !important;
    height: calc(100dvh - var(--player-bottom-y, 266px));
    max-height: calc(100dvh - var(--player-bottom-y, 266px));
    border-radius: 18px 18px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  .wetube-modal-head {
    padding: 14px 16px 8px;
  }

  .wetube-modal-title {
    font-size: 17px;
  }

  .wetube-modal-desc {
    font-size: 11.5px;
  }

  .modal-body {
    padding: 10px 14px calc(18px + env(safe-area-inset-bottom));
    gap: 11px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .network-pills-row,
  .catalog-tabs-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .network-pills-row::-webkit-scrollbar,
  .catalog-tabs-scroll::-webkit-scrollbar {
    display: none;
  }

  .catalog-subbar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .catalog-default-net-btn,
  .catalog-search-input {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .catalog-search-input {
    text-align: left;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: max-content;
    max-height: 46dvh;
    gap: 8px;
    flex-shrink: 0;
  }

  .catalog-card {
    min-height: 172px;
  }

  .catalog-card img {
    height: 88px;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   5 BREAKTHROUGH INTERACTIVE FEATURES:
   1. Origin Download / Watch Links (vnchich.in & vnchich.link)
   2. Climax Jump Button & Room Hype / Horny Meter (0% -> 100% Overdrive)
   3. Synchronized Mystery Roulette Wheel Overlay
   4. Direct Audience Social Popover & Parabolic Flying Projectiles
   5. Web Audio 1-Click DJ Soundboard
   ========================================================================== */
.np-origin-links-row {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  margin-top: 2px;
  margin-bottom: 2px;
  width: 100%;
}

.np-origin-btn {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 9px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-origin-btn.primary {
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.32), rgba(168, 85, 247, 0.34));
  border: 1px solid rgba(255, 77, 166, 0.65);
  color: #fdf2f8;
  box-shadow: 0 2px 10px rgba(255, 42, 133, 0.28);
}

.np-origin-btn.backup {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.55);
  color: #e0f2fe;
}

.np-origin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 42, 133, 0.42);
}

.sync-ctrl-btn.climax {
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #1a061c;
  border: 1px solid #fef08a;
  font-weight: 900;
  font-size: 11px;
  padding: 4px 8px;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.45);
}

.sync-ctrl-btn.climax:hover {
  filter: brightness(1.1);
}

/* Room Hype / Horny Meter (0% -> 100%) */
.hype-meter-card {
  background: rgba(255, 42, 133, 0.10);
  border: 1px solid rgba(255, 77, 166, 0.32);
  border-radius: 10px;
  padding: 6px 9px;
  margin-top: 2px;
  transition: all 0.25s ease;
}

.hype-meter-card.overdrive {
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.38), rgba(250, 204, 21, 0.32));
  border-color: #facc15;
  box-shadow: 0 0 22px rgba(255, 42, 133, 0.72);
  animation: hypeOverdrivePulse 0.55s infinite alternate;
}

@keyframes hypeOverdrivePulse {
  from { transform: scale(1); }
  to { transform: scale(1.02); }
}

.hype-meter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.hype-meter-title {
  font-size: 11px;
  color: #fbcfe8;
  font-weight: 700;
}

.hype-meter-title strong {
  color: #facc15;
  font-weight: 900;
}

.hype-boost-btn {
  background: linear-gradient(135deg, #ff2a85, #f97316);
  border: 1px solid rgba(254, 240, 138, 0.65);
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 42, 133, 0.4);
}

.hype-boost-btn:hover {
  transform: scale(1.06);
}

.hype-meter-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.hype-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff2a85, #f97316, #facc15);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.65);
}

/* Neon Mystery Roulette Wheel Overlay (Always below Video Player) */
.roulette-overlay {
  position: absolute;
  top: var(--player-bottom-y, 272px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 58;
  background: rgba(10, 2, 16, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.roulette-overlay.open {
  display: flex;
}

.roulette-card {
  width: min(420px, 92vw);
  background: linear-gradient(160deg, rgba(35, 9, 46, 0.96), rgba(17, 5, 26, 0.98));
  border: 2px solid #ff2a85;
  border-radius: 22px;
  padding: 20px 18px;
  text-align: center;
  box-shadow: 0 0 45px rgba(255, 42, 133, 0.55), inset 0 0 22px rgba(168, 85, 247, 0.25);
}

.roulette-kicker {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.7px;
  color: #facc15;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.roulette-wheel-wrap {
  position: relative;
  width: 156px;
  height: 156px;
  margin: 6px auto 14px;
}

.roulette-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #facc15;
  font-size: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.roulette-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #fef08a;
  background: conic-gradient(
    #ff2a85 0deg 72deg,
    #9333ea 72deg 144deg,
    #e11d48 144deg 216deg,
    #eab308 216deg 288deg,
    #0284c7 288deg 360deg
  );
  box-shadow: 0 0 28px rgba(255, 42, 133, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
}

.roulette-wheel-center {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #14051e;
  border: 2px solid #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.roulette-status-title {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.roulette-winner-Source {
  font-size: 12px;
  font-weight: 800;
  color: #ff80bf;
  margin-bottom: 4px;
}

.roulette-winner-clip {
  font-size: 13px;
  font-weight: 700;
  color: #fef08a;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 7px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Direct Audience Social Interaction Popover */
.user-social-popover {
  position: fixed;
  z-index: 65;
  width: 222px;
  background: rgba(24, 8, 32, 0.96);
  border: 1.5px solid rgba(255, 77, 166, 0.65);
  border-radius: 16px;
  padding: 11px 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.85), 0 0 20px rgba(255, 42, 133, 0.35);
  backdrop-filter: blur(14px);
}

.usp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.usp-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.usp-seat {
  font-size: 10.5px;
  color: #f472b6;
  font-weight: 700;
  margin-top: 2px;
}

.usp-close {
  background: transparent;
  border: none;
  color: #d8b4e2;
  font-size: 14px;
  cursor: pointer;
  padding: 0 2px;
}

.usp-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.usp-btn {
  width: 100%;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.usp-btn:hover {
  transform: translateX(2px);
  filter: brightness(1.12);
}

.usp-btn.pink {
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.45), rgba(225, 29, 72, 0.45));
  border-color: rgba(255, 77, 166, 0.65);
}

.usp-btn.gold {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.36), rgba(249, 115, 22, 0.36));
  border-color: rgba(250, 204, 21, 0.65);
  color: #fef08a;
}

.usp-btn.purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.42), rgba(236, 72, 153, 0.42));
  border-color: rgba(192, 132, 252, 0.65);
}

.usp-btn.lime {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(6, 182, 212, 0.35));
  border-color: rgba(52, 211, 153, 0.6);
  color: #a7f3d0;
}

/* Parabolic Flying Heart & Stage Money Rain Particles */
.flying-social-projectile {
  position: absolute;
  z-index: 45;
  font-size: 26px;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255, 42, 133, 0.85));
}

.money-rain-bill {
  position: absolute;
  z-index: 44;
  font-size: 24px;
  pointer-events: none;
  animation: moneyFallAnim 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes moneyFallAnim {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg) scale(0.8);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(72vh) rotate(340deg) scale(1.15);
  }
}

/* Web Audio 1-Click DJ Soundboard Grid */
.soundboard-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 77, 166, 0.28);
  border-radius: 14px;
  padding: 11px 12px;
}

.sfx-mute-pill {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.55);
  color: #bbf7d0;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.sfx-mute-pill.muted {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(248, 113, 113, 0.55);
  color: #fecaca;
}

.soundboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.soundfx-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 6px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.soundfx-btn:hover {
  transform: translateY(-2px);
}

.soundfx-btn:active {
  transform: scale(0.95);
}

.soundfx-btn .sfx-emoji {
  font-size: 20px;
}

.soundfx-btn.horn {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.38), rgba(249, 115, 22, 0.38));
  border-color: rgba(251, 146, 60, 0.65);
}

.soundfx-btn.gold {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.36), rgba(202, 138, 4, 0.36));
  border-color: rgba(250, 204, 21, 0.65);
}

.soundfx-btn.lime {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.36), rgba(5, 150, 105, 0.36));
  border-color: rgba(52, 211, 153, 0.65);
}

.soundfx-btn.pink {
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.42), rgba(219, 39, 119, 0.42));
  border-color: rgba(244, 114, 182, 0.65);
}

.soundfx-btn.cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.36), rgba(37, 99, 235, 0.36));
  border-color: rgba(56, 189, 248, 0.65);
}

.soundfx-btn.purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.45), rgba(126, 34, 206, 0.45));
  border-color: rgba(192, 132, 252, 0.65);
}

/* ==========================================================================
   CLICKADU AD CONTROLLER OVERLAYS + STARS / GOLD / QUESTS / 60% HOST MODAL
   ========================================================================== */
.inroom-ad-overlay {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: min(360px, 94vw);
  background: rgba(12, 4, 22, 0.94);
  border: 1.5px solid rgba(250, 204, 21, 0.65);
  border-radius: 12px;
  padding: 7px 9px;
  z-index: 68;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.78), 0 0 18px rgba(255, 42, 133, 0.35);
  backdrop-filter: blur(10px);
}

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

.inroom-ad-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #fde047;
  letter-spacing: 0.4px;
}

.inroom-ad-kill-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  border: 1px solid rgba(167, 243, 208, 0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.inroom-ad-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #f8fafc;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  cursor: pointer;
}

.clickadu-fallback-card {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.55), rgba(157, 23, 77, 0.55));
  border: 1px solid rgba(244, 114, 182, 0.45);
  border-radius: 9px;
  padding: 7px 10px;
  color: #fff;
}

.cfb-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.cfb-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cfb-text strong {
  font-size: 11.5px;
  color: #fef08a;
  line-height: 1.25;
}

.cfb-text span {
  font-size: 10.5px;
  color: #f5d0fe;
  line-height: 1.25;
}

.vast-ad-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 2, 12, 0.86);
  backdrop-filter: blur(8px);
  z-index: 88;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.vast-ad-box {
  width: min(420px, 94vw);
  background: linear-gradient(160deg, #1b072e, #0c0317);
  border: 1.5px solid rgba(255, 42, 133, 0.65);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.vast-ad-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #f472b6;
}

.vast-ad-body {
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(250, 204, 21, 0.4);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
}

.vast-skip-btn {
  background: linear-gradient(135deg, #ff2a85, #9333ea);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.vast-skip-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wallet-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wallet-stat-card {
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.wallet-stat-card.stars {
  background: linear-gradient(145deg, rgba(234, 179, 8, 0.24), rgba(161, 98, 7, 0.18));
  border-color: rgba(250, 204, 21, 0.55);
}

.wallet-stat-card.gold {
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.24), rgba(180, 83, 9, 0.18));
  border-color: rgba(251, 146, 60, 0.55);
}

.wallet-stat-card.diamonds {
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.24), rgba(37, 99, 235, 0.18));
  border-color: rgba(56, 189, 248, 0.55);
}

.wsc-label {
  font-size: 10px;
  font-weight: 800;
  color: #e2e8f0;
}

.wsc-value {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  margin: 3px 0;
}

.wsc-sub {
  font-size: 9.5px;
  color: #cbd5e1;
}

.adfree-upgrade-card,
.quests-card,
.tele-topup-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 77, 166, 0.28);
  border-radius: 12px;
  padding: 12px;
}

.quests-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.quest-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(15, 6, 26, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
}

.quest-info-title {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
}

.quest-info-reward {
  font-size: 11px;
  color: #fde047;
  font-weight: 700;
}

@media (max-width: 640px) {
  .wallet-3grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ICON "ADS GẠCH CHÉO (NO ADS)" & POPUP TÍNH TIỀN + CỘNG DỒN THỜI GIAN
   ========================================================================== */
.noads-slash-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.92);
  border: 1.8px solid #ef4444;
  border-radius: 6px;
  padding: 1px 4px;
  line-height: 1.1;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.45);
  flex-shrink: 0;
}

.noads-slash-badge::after {
  content: "";
  position: absolute;
  width: 135%;
  height: 2.2px;
  background: #ef4444;
  transform: rotate(-28deg);
  box-shadow: 0 0 3px #000;
  pointer-events: none;
}

.noads-slash-badge.active {
  border-color: #10b981;
  color: #a7f3d0;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.55);
}

.noads-slash-badge.active::after {
  background: #10b981;
}

.noads-slash-badge.large {
  font-size: 13px;
  padding: 6px 9px;
  border-radius: 10px;
  border-width: 2.2px;
}

.noads-status-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(59, 7, 100, 0.45));
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 11px;
  padding: 10px 12px;
}

.noads-pkg-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.noads-pkg-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 8px 4px;
  color: #f8fafc;
  cursor: pointer;
  transition: all 0.14s ease;
}

.noads-pkg-btn strong {
  font-size: 12.5px;
  color: #fff;
}

.noads-pkg-btn span {
  font-size: 9.5px;
  color: #fde047;
  font-weight: 700;
}

.noads-pkg-btn.active {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.34), rgba(236, 72, 153, 0.28));
  border-color: #34d399;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
}

.noads-summary-box {
  background: rgba(10, 4, 20, 0.78);
  border: 1px solid rgba(250, 204, 21, 0.38);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nsb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #cbd5e1;
}

@media (max-width: 520px) {
  .noads-pkg-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   MULTI-PLATFORM LIVESTREAM STUDIO & ĐẠI SẢNH LED (SANNHAY STYLE)
   ========================================================================== */
.floor-spotlight-banner {
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 42;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(88, 28, 135, 0.92));
  border: 1.5px solid rgba(56, 189, 248, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 22px rgba(56, 189, 248, 0.35);
  pointer-events: none;
  max-width: min(560px, 92vw);
  animation: popInSpotlight 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.floor-spotlight-banner.boss-mode {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.95), rgba(147, 51, 234, 0.95));
  border-color: #facc15;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85), 0 0 32px rgba(250, 204, 21, 0.65);
}

@keyframes popInSpotlight {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.fsb-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #fde047;
  background: rgba(0, 0, 0, 0.45);
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.45);
  margin-bottom: 4px;
}

.fsb-title {
  font-size: 14.5px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.fsb-sub {
  font-size: 11px;
  color: #e0f2fe;
  margin-top: 2px;
}

.live-rules-overlay {
  position: absolute;
  right: 88px;
  top: 66px;
  z-index: 34;
  background: rgba(10, 5, 22, 0.86);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(52, 211, 153, 0.65);
  border-radius: 14px;
  padding: 10px 14px;
  width: min(310px, 84vw);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), 0 0 18px rgba(16, 185, 129, 0.25);
  pointer-events: none;
}

.lro-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  color: #fde047;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.lro-live-dot {
  color: #4ade80;
}

.lro-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: #f8fafc;
  line-height: 1.35;
}

.lro-list strong {
  color: #38bdf8;
}

.livestream-studio-card {
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.26), rgba(30, 27, 75, 0.45));
  border: 1px solid rgba(52, 211, 153, 0.48);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 6px;
}

.stream-urls-safety-box {
  background: rgba(10, 5, 22, 0.65);
  border: 1px dashed rgba(250, 204, 21, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
}

.stream-url-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stream-url-card.safe {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(6, 78, 59, 0.22);
}

.stream-url-card.full {
  border-color: rgba(244, 114, 182, 0.45);
  background: rgba(131, 24, 67, 0.22);
}

.sim-test-btn {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #e0f2fe;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
}

.sim-test-btn:hover {
  background: rgba(56, 189, 248, 0.28);
  transform: translateY(-1px);
}

.sim-test-btn.boss {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(236, 72, 153, 0.32));
  border-color: #facc15;
  color: #fef08a;
}

/* ==========================================================================
   TRANG CHỦ SÀN NHẢY LIVE 3D/2D PORTAL (#modal-sannhay-portal)
   Matches sannhay.tuanticker.lol dark sleek design + Live Rooms + 7 Scenes
   ========================================================================== */
#modal-sannhay-portal {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.sn-portal-container {
  width: 100%;
  max-width: 1220px;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #0b0b12;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
  overflow: hidden;
}

.sn-portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: #11111b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.sn-portal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sn-brand-main {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.sn-brand-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 45, 120, 0.16);
  border: 1px solid rgba(255, 45, 120, 0.45);
  color: #fda4af;
}

.sn-portal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sn-nav-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sn-nav-pill:hover,
.sn-nav-pill.active {
  background: rgba(255, 45, 120, 0.22);
  border-color: #ff2d78;
  color: #ffffff;
}

.sn-portal-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Hero Demo Banner */
.sn-hero-banner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  background: linear-gradient(135deg, rgba(28, 16, 38, 0.95), rgba(15, 15, 26, 0.98));
  border: 1px solid rgba(255, 45, 120, 0.38);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.sn-hero-kicker {
  font-size: 11px;
  font-weight: 800;
  color: #facc15;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.sn-hero-title {
  font-size: 21px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.28;
}

.sn-hero-desc {
  font-size: 12.8px;
  color: #d1d5db;
  line-height: 1.55;
  margin: 0 0 14px;
}

.sn-hero-desc code {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  color: #fef08a;
}

.sn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sn-btn-primary,
.sn-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.sn-btn-primary.adult {
  background: linear-gradient(135deg, #e11d48, #9333ea);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.45);
}

.sn-btn-secondary.safe {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: #a7f3d0;
}

.sn-btn-secondary.ctrl {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #bae6fd;
}

.sn-btn-secondary.create {
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.5);
  color: #fef08a;
}

.sn-btn-primary:hover,
.sn-btn-secondary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.sn-hero-right {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050509;
  min-height: 185px;
}

.sn-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sn-hero-video-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Session Card (Matches Screenshot #5 & #6) */
.sn-session-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sn-session-alert {
  background: rgba(45, 14, 30, 0.65);
  border: 1px solid rgba(244, 63, 94, 0.55);
  border-radius: 14px;
  padding: 14px 16px;
}

.sn-session-alert-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: #fda4af;
}

.sn-live-icon {
  color: #fb7185;
  font-weight: 900;
}

.sn-badge-unlocked {
  margin-left: auto;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}

.sn-dual-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 10px;
}

.sn-link-box {
  background: rgba(12, 12, 20, 0.85);
  border-radius: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sn-link-box.safe {
  border-color: rgba(52, 211, 153, 0.45);
}

.sn-link-box.adult {
  border-color: rgba(236, 72, 153, 0.5);
}

.sn-link-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.sn-link-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #fef08a;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
  word-break: break-all;
}

.sn-link-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sn-copy-btn {
  border: none;
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
}

.sn-copy-btn.pink {
  background: #e11d48;
}

.sn-copy-btn.purple {
  background: linear-gradient(135deg, #db2777, #7e22ce);
}

.sn-open-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e5e7eb;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.sn-inline-control-details {
  background: #13131f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.sn-inline-control-summary {
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #e5e7eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.sn-inline-iframe-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d14;
  height: 540px;
}

.sn-inline-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.sn-remote-control-box {
  background: #13131f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
}

.sn-remote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.sn-remote-url {
  font-size: 12.5px;
  color: #f3f4f6;
  word-break: break-all;
}

/* Section Blocks (Live Rooms & 7 Scenes Grid) */
.sn-section-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sn-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sn-section-title {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px;
}

.sn-section-sub {
  font-size: 12.5px;
  color: #9ca3af;
  margin: 0;
}

.sn-create-form-card {
  background: #151525;
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 14px;
  padding: 14px 16px;
}

.sn-create-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.sn-create-form-grid label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #d1d5db;
  margin-bottom: 4px;
}

.sn-create-form-grid input,
.sn-create-form-grid select {
  width: 100%;
  background: #0b0b14;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12.5px;
}

.sn-live-rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 12px;
}

.sn-room-card {
  background: #141420;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.sn-room-card:hover {
  border-color: rgba(255, 45, 120, 0.55);
  transform: translateY(-2px);
}

.sn-room-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.sn-tier-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.sn-tier-pill.free {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.sn-tier-pill.pass {
  background: rgba(245, 158, 11, 0.2);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.55);
}

.sn-tier-pill.vip {
  background: rgba(236, 72, 153, 0.22);
  color: #fbcfe8;
  border: 1px solid rgba(244, 114, 182, 0.55);
}

.sn-room-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.sn-room-meta {
  font-size: 11.5px;
  color: #9ca3af;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sn-room-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* 7 Scenes Grid (Matches Screenshot #7 & #8) */
.sn-scenes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}

.sn-scene-card {
  background: #14141d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.sn-scene-card:hover {
  border-color: #ff2d78;
  box-shadow: 0 8px 26px rgba(255, 45, 120, 0.22);
}

.sn-scene-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #07070c;
  overflow: hidden;
}

.sn-scene-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sn-scene-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f3f4f6;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}

.sn-scene-tag.vip {
  background: linear-gradient(135deg, #e11d48, #9333ea);
  border-color: rgba(255, 255, 255, 0.4);
}

.sn-scene-body {
  padding: 13px 15px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sn-scene-body h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 5px;
}

.sn-scene-body p {
  font-size: 12.2px;
  color: #9ca3af;
  line-height: 1.48;
  margin: 0 0 12px;
  flex: 1;
}

.sn-scene-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.sn-tier-btn {
  background: #1c1c28;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 8px 6px;
  color: #f3f4f6;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.14s ease;
}

.sn-tier-btn strong {
  font-size: 12px;
  color: #ffffff;
}

.sn-tier-btn span {
  font-size: 10.5px;
  color: #9ca3af;
}

.sn-tier-btn.highlight {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(6, 78, 59, 0.25);
}

.sn-tier-btn.highlight span {
  color: #6ee7b7;
}

.sn-tier-btn.pass {
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(120, 53, 15, 0.25);
}

.sn-tier-btn.pass span {
  color: #fde047;
}

.sn-tier-btn:hover {
  border-color: #ff2d78;
  background: rgba(255, 45, 120, 0.18);
}

/* How-To Guide Box at Bottom */
.sn-howto-card {
  background: #13131f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
}

.sn-howto-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #ffffff;
}

.sn-howto-lead {
  font-size: 12.5px;
  color: #9ca3af;
  margin: 0 0 12px;
}

.sn-howto-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sn-howto-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12.5px;
  color: #d1d5db;
  line-height: 1.55;
}

.sn-howto-step p {
  margin: 3px 0 0;
  color: #9ca3af;
}

.sn-step-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 45, 120, 0.2);
  border: 1px solid #ff2d78;
  color: #ff2d78;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .sn-hero-banner {
    grid-template-columns: 1fr;
  }
  .sn-scenes-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   TIKTOK-STYLE FLOATING TRANSPARENT CHAT STREAM (BOTTOM-LEFT OVERLAY)
   ============================================================================ */
.tiktok-floating-chat {
  position: absolute;
  left: 16px;
  bottom: 70px;
  z-index: 38;
  width: min(350px, 78vw);
  max-height: 158px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  padding-top: 14px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.92) 22%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.92) 22%, #000 100%);
  transition: opacity 0.35s ease, max-height 0.25s ease;
}

.tiktok-floating-chat::-webkit-scrollbar {
  display: none;
}

.tiktok-floating-chat.user-scrolling {
  max-height: 210px;
}

.tiktok-floating-chat.is-hidden {
  display: none !important;
}

.tfc-item {
  pointer-events: auto;
  align-self: flex-start;
  flex-shrink: 0;
  max-width: 100%;
  background: rgba(10, 6, 20, 0.44);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 4.5px 10px;
  font-size: 12px;
  line-height: 1.35;
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92);
  animation: tfcSlideUp 0.26s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: opacity 0.45s ease, transform 0.3s ease;
  word-break: break-word;
}

.tfc-item:first-child {
  margin-top: auto;
}

.tfc-item:hover,
.tiktok-floating-chat.user-scrolling .tfc-item,
.tiktok-floating-chat:hover .tfc-item {
  opacity: 0.92 !important;
  background: rgba(18, 10, 34, 0.68);
}

.tfc-item.tfc-hostess {
  background: linear-gradient(135deg, rgba(244, 63, 142, 0.38), rgba(88, 28, 135, 0.46));
  border-color: rgba(244, 114, 182, 0.48);
  cursor: pointer;
}

.tfc-item.tfc-fadeout {
  opacity: 0.18;
}

.tfc-author {
  font-weight: 800;
  margin-right: 4px;
}

.tfc-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  padding: 0.5px 5px;
  border-radius: 999px;
  margin-right: 4px;
  background: rgba(255, 42, 133, 0.28);
  border: 1px solid rgba(255, 42, 133, 0.55);
  color: #fbcfe8;
  vertical-align: middle;
}

@keyframes tfcSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 768px) {
  .tiktok-floating-chat {
    left: 10px;
    bottom: 84px;
    width: min(295px, 74vw);
    max-height: 122px;
    gap: 4px;
  }

  .tiktok-floating-chat.user-scrolling {
    max-height: 168px;
  }

  .tfc-item {
    font-size: 11px;
    padding: 3.5px 8.5px;
    border-radius: 12px;
  }
}






