:root {
  --bg-dark: #080c14;
  --bg-card: #0f172a;
  --bg-hover: #1e293b;
  --border: #1e293b;
  --border-focus: #38bdf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-red: #e50914;
  --accent-blue: #38bdf8;
  --accent-emerald: #10b981;
  --accent-purple: #a855f7;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Header */
.cinema-header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  font-size: 24px;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 40%, var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-live {
  background: rgba(229, 9, 20, 0.15);
  color: #ff4d5a;
  border: 1px solid rgba(229, 9, 20, 0.4);
}

.badge-live::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d5a;
  box-shadow: 0 0 10px #ff4d5a;
  animation: pulse 1.5s infinite;
}

.badge-offline {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge-viewers {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

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

.header-btn {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.header-btn:hover {
  border-color: var(--border-focus);
  color: #fff;
  transform: translateY(-1px);
}

/* Main Layout Grid */
.theater-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  flex: 1;
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 20px;
  gap: 20px;
}

.theater-container.chat-collapsed {
  grid-template-columns: 1fr;
}

.screen-area {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* Video Player Box */
.player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.player-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.player-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1e293b 0%, #080c14 100%);
  color: var(--text-muted);
  gap: 16px;
  text-align: center;
  padding: 20px;
}

.placeholder-icon {
  font-size: 64px;
  opacity: 0.8;
  animation: float 3s ease-in-out infinite;
}

.placeholder-btn {
  background: linear-gradient(135deg, var(--accent-red), #b20710);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.placeholder-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 25px rgba(229, 9, 20, 0.6);
}

/* Interactive Remote Mouse & Touch Layer */
.touch-layer {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: block;
  cursor: default;
  touch-action: none;
  user-select: none;
  pointer-events: none; /* By default let clicks reach video and native controls */
}

.touch-layer.host-active {
  pointer-events: auto; /* Host mouse and touch control active */
  cursor: crosshair;
  box-shadow: inset 0 0 0 2px rgba(56, 189, 248, 0.4);
}

.touch-layer.disabled {
  display: none;
}

/* Floating Unmute Banner over video player */
.player-unmute-banner {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(56, 189, 248, 0.35);
  border-radius: 9999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  animation: pulseAudioBanner 2.2s infinite ease-in-out;
}

.player-unmute-banner:hover {
  background: rgba(56, 189, 248, 0.95);
  color: #0b0f19;
  transform: translateX(-50%) scale(1.04);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.5);
}

.banner-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: dotBlink 1.2s infinite;
}

@keyframes pulseAudioBanner {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(56, 189, 248, 0.3);
  }
  50% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.7);
  }
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Audio Action Buttons */
.btn-audio-highlight {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(14, 165, 233, 0.35)) !important;
  border-color: #38bdf8 !important;
  color: #e0f2fe !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
  transition: all 0.2s ease;
}

.btn-audio-highlight:hover {
  background: #38bdf8 !important;
  color: #0b0f19 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6) !important;
  transform: translateY(-1px);
}

.btn-audio-active {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: #10b981 !important;
  color: #6ee7b7 !important;
  box-shadow: none !important;
}

.btn-audio-active:hover {
  background: rgba(16, 185, 129, 0.35) !important;
  color: #ffffff !important;
}

.remote-cursor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 30;
  transition: transform 0.04s ease-out;
}

.touch-toast {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.touch-toast.show {
  opacity: 1;
}

/* Keyboard Active Indicator Badge */
.keyboard-focus-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 35;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.keyboard-focus-badge.active {
  opacity: 1;
  transform: translateY(0);
}

.keyboard-focus-badge .kb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

/* Overlay Telemetry Pill */
.telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13px;
}

.telemetry-title {
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}

.telemetry-time {
  color: var(--accent-blue);
  font-weight: 600;
}

/* Remote & Link Controls Bar */
.control-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-bar {
  display: flex;
  gap: 8px;
  align-items: center;
}

.link-input {
  flex: 1;
  background: #080c14;
  border: 1px solid var(--border);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.link-input:focus {
  border-color: var(--border-focus);
}

.quality-select {
  background: #080c14;
  border: 1px solid var(--border);
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), #0284c7);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

/* Couch Remote Buttons */
.couch-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.remote-btn {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.remote-btn:hover {
  background: #334155;
  color: #fff;
  border-color: #475569;
}

.remote-btn-accent {
  background: rgba(229, 9, 20, 0.2);
  border-color: rgba(229, 9, 20, 0.5);
  color: #ff4d5a;
  font-weight: 800;
}

.remote-btn-accent:hover {
  background: rgba(229, 9, 20, 0.35);
}

.remote-btn-sky {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--accent-blue);
  font-weight: 700;
}

/* Chat Sidebar */
.chat-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 100px);
  position: sticky;
  top: 80px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.theater-container.chat-collapsed .chat-sidebar {
  display: none;
}

.chat-header {
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-title {
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.15s;
}

.icon-btn:hover {
  background: var(--bg-hover);
  color: #fff;
}

/* Chat Feed */
.chat-messages {
  flex: 1;
  padding: 14px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
}

.msg-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.msg-user {
  font-weight: 700;
  font-size: 12px;
}

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

.msg-bubble {
  background: rgba(30, 41, 59, 0.7);
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--text-main);
  align-self: flex-start;
  max-width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-msg.system-msg .msg-bubble {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  color: #d8b4fe;
  font-style: italic;
  font-size: 12px;
  align-self: center;
  max-width: 100%;
}

/* Emoji Reaction Quick Bar */
.reactions-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid var(--border);
}

.reaction-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: transform 0.15s;
}

.reaction-btn:hover {
  transform: scale(1.3);
}

/* Chat Input Form */
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.chat-input {
  flex: 1;
  background: #080c14;
  border: 1px solid var(--border);
  color: #fff;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
}

.chat-input:focus {
  border-color: var(--border-focus);
}

.chat-send-btn {
  background: var(--accent-blue);
  border: none;
  color: #000;
  font-weight: 800;
  padding: 0 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: opacity 0.15s;
}

.chat-send-btn:hover {
  opacity: 0.9;
}

/* Floating Reactions Animation */
.floating-reaction {
  position: fixed;
  font-size: 32px;
  pointer-events: none;
  z-index: 100;
  animation: floatUp 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.6) rotate(0deg);
  }
  50% {
    transform: translateY(-120px) scale(1.2) rotate(15deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-240px) scale(1) rotate(-15deg);
  }
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

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

/* User Profile Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.open,
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  width: 90%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

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

.color-picker-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.color-option {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, border-color 0.15s;
}

.color-option.selected {
  border-color: #fff;
  transform: scale(1.15);
}

/* Host Authentication & Lockdown Styles */
.host-active-btn {
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.1) !important;
}

.host-active-btn:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3) !important;
}

.couch-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.host-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.host-badge-spectator {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.host-badge-active {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.host-keyboard-bar {
  margin-top: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.host-locked-control {
  opacity: 0.55;
  cursor: not-allowed !important;
}

.host-locked-control:hover {
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
  transform: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 960px) {
  .theater-container {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 14px;
  }
  .chat-sidebar {
    height: 480px;
    position: static;
  }
  .link-bar {
    flex-direction: column;
  }
  .quality-select, .btn-primary {
/* ==========================================================================
   GoGoWatch.party Redesign & Cinema Enhancements
   ========================================================================== */

/* Brand TLD styling */
.brand-tld {
  color: var(--accent-red);
  font-size: 16px;
}

/* Share Invite Header Button */
.btn-share {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(37, 99, 235, 0.25));
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.btn-share:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(37, 99, 235, 0.45));
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

/* Atmospheric Ambient Glow behind Video Player */
.ambient-glow {
  position: relative;
  transition: box-shadow 0.4s ease;
}

.ambient-glow::after {
  content: "";
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle at 50% 50%, rgba(229, 9, 20, 0.12), rgba(56, 189, 248, 0.08) 50%, transparent 75%);
  z-index: -1;
  border-radius: calc(var(--radius) + 8px);
  filter: blur(20px);
  pointer-events: none;
}

/* Share Toast */
.share-toast {
  position: fixed;
  top: 70px;
  right: 24px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(56, 189, 248, 0.25);
  font-size: 13px;
  z-index: 10000;
  display: none;
  align-items: center;
  gap: 10px;
  animation: toastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.share-toast.show {
  display: flex;
}

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

/* Telemetry & Quick Action Bars */
.telemetry-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 10px;
}

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

.telemetry-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.status-indicator-dot.live {
  background: #ff4d5a;
  box-shadow: 0 0 8px #ff4d5a;
  animation: pulse 1.5s infinite;
}

.icon-btn-minimal {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.icon-btn-minimal:hover {
  background: var(--bg-hover);
  color: #fff;
  border-color: var(--accent-blue);
}

/* Guest Quick Bar */
.guest-quick-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  margin-top: 10px;
}

.watching-pill {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-clean-action {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-clean-action:hover {
  border-color: var(--accent-blue);
  color: #fff;
}

/* Host Director's Deck */
.host-director-deck {
  margin-top: 14px;
  animation: fadeIn 0.3s ease-in;
}

.deck-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 10px 16px;
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}

.deck-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
}

.badge-host-active {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.btn-deck-toggle-kb {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-deck-toggle-kb:hover {
  background: rgba(245, 158, 11, 0.25);
  color: #fff;
}

.deck-card {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  margin-top: 0 !important;
}

/* Responsive Mobile Layout */
@media (max-width: 840px) {
  .cinema-header {
    padding: 10px 14px;
  }
  .btn-text {
    display: none;
  }
  .header-actions {
    gap: 6px;
  }
  .header-btn {
    padding: 6px 10px;
  }
  .brand-title {
    font-size: 16px;
  }
  .theater-container {
    grid-template-columns: 1fr;
    padding: 8px;
    gap: 12px;
  }
  .chat-sidebar {
    height: 380px;
  }
}


