/* =============================================================
   BABASPORTS HD - PATRONSPOR LUXURY STANDARD CSS ENGINE
============================================================= */

:root {
  --bg-main: #070a08;
  --bg-surface: rgba(13, 18, 15, 0.85);
  --bg-glass: rgba(14, 20, 16, 0.75);
  --primary-accent: #A6E22E;
  --primary-accent-dark: #8BBF1C;
  --primary-glow: rgba(166, 226, 46, 0.4);
  --gradient-primary: linear-gradient(135deg, #A6E22E 0%, #8BBF1C 50%, #6F9A12 100%);
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(166, 226, 46, 0.4);
  --font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --border-radius: 12px;
  --glass-blur: blur(20px);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Authentic Fixed Page Background Wallpaper */
.fixed-pageskin-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  pointer-events: none;
  background: url('/images/arkaplan.png') no-repeat center top;
  background-size: cover;
  transform: translateZ(0);
}

/* SVG Vector Icons System */
.svg-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}
.svg-icon-sm {
  width: 14px;
  height: 14px;
}
.svg-icon-lg {
  width: 20px;
  height: 20px;
}
.svg-icon-xl {
  width: 32px;
  height: 32px;
}

/* 1. ÜST DUYURU ŞERİDİ (TOPMOST BAR) */
.topmost-bar {
  background: rgba(10, 14, 12, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: #fff;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 0.78rem;
  min-height: 36px;
  z-index: 50;
  border-bottom: 1px solid rgba(166, 226, 46, 0.2);
}
.topmost-bar-text {
  font-family: var(--font-display);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  letter-spacing: 0.3px;
}

/* 2. KURUMSAL HEADER (TRANSPARENT & LOGO.PNG) */
.site-header {
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.75rem 1.2rem;
  position: relative;
  z-index: 100;
  border-bottom: none;
  box-shadow: none;
}
.header-inner {
  max-width: 1420px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}
.site-header-logo-img {
  height: 44px;
  max-width: 185px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}
.brand-logo:hover .site-header-logo-img {
  transform: scale(1.03);
}

.header-nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 9px;
  transition: var(--transition-smooth);
  text-decoration: none;
  background: rgba(10, 15, 12, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-item span {
  white-space: nowrap;
  display: inline-block;
  letter-spacing: 0.02em;
}
.nav-item .nav-icon {
  width: 15px;
  height: 15px;
  margin-bottom: 2px;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}
.nav-item:hover, .nav-item.active {
  background: rgba(166, 226, 46, 0.15);
  border-color: var(--border-glow);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(166, 226, 46, 0.25);
}
.nav-item:hover .nav-icon, .nav-item.active .nav-icon {
  color: var(--primary-accent);
  transform: scale(1.1);
}
.nav-btn-trigger {
  outline: none;
  font-family: inherit;
}

/* Telegram Special Eye-Catching Header CTA Button (En Sağa Yaslı & Kompakt) */
.header-telegram-cta {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.38rem 0.85rem;
  background: linear-gradient(135deg, #0088cc 0%, #24a1de 50%, #00b4d8 100%);
  color: #ffffff;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 3px 12px rgba(0, 136, 204, 0.4), 0 0 8px rgba(36, 161, 222, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  flex-shrink: 0;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: tgPulseGlow 2.5s infinite alternate ease-in-out;
}

.header-telegram-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: rotate(30deg);
  animation: tgShineSweep 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes tgPulseGlow {
  0% {
    box-shadow: 0 3px 10px rgba(0, 136, 204, 0.35), 0 0 0 0 rgba(34, 158, 217, 0.35);
  }
  100% {
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.55), 0 0 14px rgba(36, 161, 222, 0.4);
  }
}

@keyframes tgShineSweep {
  0%, 65% {
    transform: translate(-100%, -100%) rotate(30deg);
  }
  100% {
    transform: translate(100%, 100%) rotate(30deg);
  }
}

.header-telegram-cta:hover {
  transform: translateY(-2px) scale(1.03);
  color: #ffffff;
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.65), 0 0 16px rgba(36, 161, 222, 0.5);
}

.tg-cta-icon-glow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.tg-cta-icon-glow svg {
  width: 13px;
  height: 13px;
  fill: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.tg-cta-title {
  letter-spacing: 0.01em;
  white-space: nowrap;
  font-size: 0.72rem;
}

@media (max-width: 900px) {
  .header-telegram-cta {
    padding: 0.42rem 0.85rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 640px) {
  .header-telegram-cta {
    padding: 0.38rem 0.65rem;
  }
}

/* ============================================================= */
/* TÜRKİYE SÜPER LİG PUAN DURUMU (STANDINGS TABLE)               */
/* ============================================================= */
.standings-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(16, 24, 19, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px 8px 0 0;
}
.standings-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.standings-badge {
  background: rgba(166, 226, 46, 0.15);
  color: var(--primary-accent);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(166, 226, 46, 0.3);
}
.standings-league-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.standings-live-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
}
.standings-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: radarPulse 1.8s infinite;
}

.standings-table-wrapper {
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(166, 226, 46, 0.3) rgba(0, 0, 0, 0.3);
}
.standings-table-wrapper::-webkit-scrollbar {
  width: 4px;
}
.standings-table-wrapper::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.standings-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(166, 226, 46, 0.4);
  border-radius: 2px;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
  text-align: left;
}
.standings-table thead th {
  position: sticky;
  top: 0;
  background: #0d1410;
  z-index: 2;
  padding: 8px 4px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.standings-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}
.standings-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}
.standings-table td {
  padding: 6px 3px;
  vertical-align: middle;
}

.col-rank {
  width: 24px;
  text-align: center;
  font-weight: 800;
}
.rank-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.7rem;
  color: #fff;
}
.rank-cell.cl {
  background: rgba(16, 185, 129, 0.25);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.rank-cell.el {
  background: rgba(59, 130, 246, 0.25);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.4);
}
.rank-cell.ecl {
  background: rgba(6, 182, 212, 0.25);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.4);
}
.rank-cell.rel {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.col-team {
  font-weight: 700;
  color: #fff;
  min-width: 110px;
}
.standings-team-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.standings-team-logo {
  width: 19px;
  height: 19px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  padding: 1px;
}
.standings-team-name {
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.col-stat {
  width: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
}
.col-pts {
  width: 28px;
  text-align: center;
  font-weight: 900;
  font-size: 0.74rem;
  color: var(--primary-accent);
  background: rgba(166, 226, 46, 0.08);
  border-radius: 4px;
}

.standings-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(10, 15, 12, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 8px 8px;
  font-size: 0.64rem;
  color: var(--text-muted);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.legend-box {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
.legend-box.cl { background: #10b981; }
.legend-box.el { background: #3b82f6; }
.legend-box.ecl { background: #06b6d4; }
.legend-box.rel { background: #ef4444; }

/* 3. MERKEZİ İÇERİK KONTEYNERİ (980PX - YAN ARKA PLANLARI FERAH GÖSTEREN KURUMSAL DÜZEN) */
.content-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 12px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Üst Banner (Dış çerçevesiz, kompakt saf görsel render) */
.top-banner-header {
  width: 100%;
  max-width: 980px;
  margin: 4px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.banner-container a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.banner-container img {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.banner-container img:hover {
  transform: translateY(-2px);
  box-shadow: none !important;
  opacity: 0.96;
}

/* Hellobar Ribbon */
.hellobar {
  background: rgba(15, 20, 17, 0.78);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: #fff;
  text-align: center;
  padding: 0.42rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  max-width: 560px;
  width: 100%;
  margin: 2px auto 8px auto;
  border-radius: var(--border-radius);
  border: 1px solid rgba(166, 226, 46, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.hellobar a {
  color: inherit;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}

/* 4. ANA YAYIN GRID'İ */
.broadcast-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  width: 100%;
  align-items: start;
}

.player-column {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.player-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}
.player-wrapper:hover {
  border-color: rgba(166, 226, 46, 0.4);
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(166, 226, 46, 0.2);
}

.player-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.player-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* -------------------------------------------------------------
   A. YAYIN AÇIK DEĞİLKENKİ DURUŞ (PREMIUM IDLE COVER POSTER)
------------------------------------------------------------- */
.player-poster-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: url('/images/yayinbaslatma.png') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.player-poster-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.poster-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 2;
}
.poster-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 14, 12, 0.85);
  border: 1px solid rgba(166, 226, 46, 0.45);
  padding: 4px 12px;
  border-radius: 20px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}
.chip-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-accent);
}
.poster-sponsor-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.3px;
}

.poster-inner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
}
.poster-left-text {
  max-width: 50%;
}
.poster-main-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.title-green-glow {
  color: var(--primary-accent);
  filter: drop-shadow(0 0 20px rgba(166, 226, 46, 0.6));
}

.poster-bonus-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.poster-bonus-badge {
  display: flex;
  flex-direction: column;
}
.bonus-pct {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.bonus-txt {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--primary-accent);
}

.poster-cta-btn {
  background: var(--primary-accent);
  color: #052e16;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 7px 18px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(166, 226, 46, 0.4);
  transition: all 0.25s ease;
}
.poster-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(166, 226, 46, 0.7);
  background: #C1F04D;
}

/* Center Huge Translucent Play Triangle (Exactly matching Patronspor) */
.poster-center-play-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.huge-frosted-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 44px 0 44px 74px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.75);
  filter: drop-shadow(0 0 25px rgba(166, 226, 46, 0.6));
  transition: all 0.3s ease;
}
.poster-center-play-wrap:hover .huge-frosted-triangle {
  border-left-color: rgba(166, 226, 46, 0.95);
  transform: scale(1.15);
  filter: drop-shadow(0 0 35px rgba(166, 226, 46, 0.9));
}

/* Loading Buffer Overlay */
.stream-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 8, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 15;
}
.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3.5px solid rgba(166, 226, 46, 0.2);
  border-top-color: var(--primary-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 14px;
}
.loading-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.loading-subtitle {
  color: var(--text-muted);
  font-size: 12px;
}
.loading-pulse-bars {
  display: flex;
  gap: 4px;
  margin-top: 12px;
}
.loading-pulse-bars span {
  width: 4px;
  height: 12px;
  background: var(--primary-accent);
  border-radius: 2px;
  animation: pulseBars 1s ease-in-out infinite alternate;
}
.loading-pulse-bars span:nth-child(2) { animation-delay: 0.2s; }
.loading-pulse-bars span:nth-child(3) { animation-delay: 0.4s; }
.loading-pulse-bars span:nth-child(4) { animation-delay: 0.6s; }

@keyframes pulseBars {
  0% { transform: scaleY(0.4); opacity: 0.4; }
  100% { transform: scaleY(1.2); opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Preroll Video Ad */
.preroll-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 28;
  display: flex;
  flex-direction: column;
}
.preroll-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preroll-header {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.preroll-badge {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
}
.preroll-skip-btn {
  background: var(--gradient-primary);
  border: none;
  color: #052e16;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Anti-Inspect Shield */
#securityShieldOverlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 6, 0.98);
  backdrop-filter: blur(14px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  z-index: 30;
}
.shield-icon-wrapper {
  color: #ef4444;
  margin-bottom: 12px;
}

/* Player Custom Controls Bar (Shown during video play) */
.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(10, 14, 12, 0.95);
  border-top: 1px solid var(--border-color);
}
.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ctrl-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-accent);
}
.volume-container {
  display: flex;
  align-items: center;
  gap: 4px;
}
.volume-slider {
  width: 60px;
  accent-color: var(--primary-accent);
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #ef4444;
  margin-left: 8px;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: blinker 1.2s infinite;
}
.source-select {
  background: #111814;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  outline: none;
}

/* 5. PLAYER ALTI DURUM VE SİNEMA BARI */
.player-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 8px 0;
  width: 100%;
}
.player-info {
  background: rgba(15, 20, 17, 0.85);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 18px;
  border-radius: 30px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-info-icon {
  color: var(--primary-accent);
  font-size: 0.7rem;
}
.cinema-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(166, 226, 46, 0.15);
  border: 1px solid rgba(166, 226, 46, 0.4);
  border-radius: 6px;
  color: var(--primary-accent);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  white-space: nowrap;
}
.cinema-mode-toggle:hover {
  background: rgba(166, 226, 46, 0.25);
  border-color: #A6E22E;
  color: #fff;
}
.cinema-mode-toggle.active {
  background: var(--primary-accent);
  color: #052e16;
}

/* 6. MERKEZİ SPONSOR BANNERI (ALT BANNER - DESKTOPTA ORTALI, MOBİLDE MAÇLARIN ÜSTÜNDE) */
.under-player-banner-wrapper {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: 980px;
  margin: 10px auto 14px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.under-player-banner-wrapper .banner-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.under-player-banner-wrapper a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.under-player-banner-wrapper img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.under-player-banner-wrapper img:hover {
  transform: translateY(-2px);
  box-shadow: none !important;
  opacity: 0.96;
}

/* 7. SAĞ SÜTUN: 4 SEKME, ARAMA VE MAÇ KARTLARI */
aside.channel-list {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  background: rgba(15, 20, 17, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tabs-container {
  display: flex;
  width: 100%;
  background: rgba(15, 15, 20, 0.85);
  border-bottom: 1px solid var(--border-color);
}
.tab-btn {
  flex: 1;
  padding: 10px 4px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.tab-btn .tab-icon {
  width: 13px;
  height: 13px;
}
.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.tab-btn.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(166, 226, 46, 0.15) 0%, transparent 100%);
  position: relative;
}
.tab-btn.active::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px 3px 0 0;
}
.tab-btn.active .tab-icon {
  color: var(--primary-accent);
}

.search-bar {
  padding: 0.6rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(20, 20, 25, 0.8);
}
.search-bar input {
  width: 100%;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-main);
  color: #f0f0f0;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.search-bar input:focus {
  border-color: var(--primary-accent);
}

.tab-content-panel {
  width: 100%;
}
.matches-scroll-list, .channels-scroll-list {
  max-height: 440px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Maç Kartları (Patronspor Standardı) */
.match-card-container {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.match-card-container:hover {
  background: rgba(166, 226, 46, 0.08);
}
.match-card-container.active {
  background: rgba(166, 226, 46, 0.15);
  border-left: 3px solid var(--primary-accent);
}
.match-card-container.active .team-name,
.match-card-container.active .match-time {
  color: var(--primary-accent) !important;
}

.team-box {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}
.team-box.away {
  justify-content: flex-end;
}
.match-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}
.team-name {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-box.away .team-name {
  text-align: right;
}

.match-center-info {
  flex-shrink: 0;
  min-width: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 4px;
}
.match-time {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.league-text {
  font-size: 0.48rem;
  font-weight: 600;
  color: #888;
  white-space: nowrap;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.match-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 1px 8px;
  height: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.64rem;
  font-weight: 800;
  color: #fff;
}
.match-status-pill.live {
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
}
.live-dot-mini {
  width: 5px;
  height: 5px;
  background: #f43f5e;
  border-radius: 50%;
  box-shadow: 0 0 6px #f43f5e;
  animation: blinker 1.1s linear infinite;
}
.match-live-time {
  font-weight: 800;
  color: #ffffff;
  font-size: 0.62rem;
}
.live-tag-blink {
  color: #f43f5e;
  animation: blinker 1.1s linear infinite;
}

/* Thin Native In-Feed Sponsor Banners */
.feed-inline-ad-wrapper {
  padding: 0;
  background: #000;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}
.feed-inline-ad-wrapper img {
  width: 100%;
  height: 48px;
  display: block;
  object-fit: fill;
}

/* Kanal Kartları */
.channel-card-item {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.channel-card-item:hover {
  background: rgba(166, 226, 46, 0.08);
}
.channel-card-item.active {
  background: rgba(166, 226, 46, 0.15);
  border-left: 3px solid var(--primary-accent);
}
.channel-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px;
}
.channel-info-meta {
  flex: 1;
  min-width: 0;
}
.channel-title-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.channel-category-badge {
  font-size: 0.62rem;
  color: #8c9a93;
}
.channel-hd-tag {
  background: rgba(166, 226, 46, 0.18);
  border: 1px solid rgba(166, 226, 46, 0.4);
  color: var(--primary-accent);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Çoklu Ekran Paneli */
.multi-screen-intro {
  padding: 24px 16px;
  text-align: center;
}
.multi-screen-icon-box {
  margin-bottom: 10px;
}
.multi-screen-activate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-primary);
  color: #052e16;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

/* Bilgi Paneli */
.info-panel-content {
  padding: 16px;
}
.info-item {
  margin-bottom: 16px;
}
.info-header-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.78rem;
  margin-bottom: 4px;
}
.info-bullet {
  color: var(--primary-accent);
}
.info-item p {
  color: #94a3b8;
  font-size: 0.72rem;
  line-height: 1.4;
}
.info-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0088cc;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
}

/* 8. SIKÇA SORULAN SORULAR VE SEO BLOĞU */
.seo-section {
  width: 100%;
  max-width: 1080px;
  background: rgba(15, 20, 17, 0.7);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 24px;
}
.seo-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.seo-text {
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.5;
}
.seo-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.seo-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: #8c9a93;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
}

/* 9. FLOATING POPUP SOHBET (CHATBRO) */
.floating-chat-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(15, 20, 17, 0.9);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(166, 226, 46, 0.4);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 90;
  transition: var(--transition-smooth);
}
.floating-chat-trigger:hover {
  background: var(--primary-accent);
  color: #052e16;
  transform: translateY(-2px);
}
.chat-pulse {
  width: 8px;
  height: 8px;
  background: var(--primary-accent);
  border-radius: 50%;
  animation: blinker 1.2s infinite;
}
.floating-chat-trigger:hover .chat-pulse {
  background: #052e16;
}

.chat-popup-modal {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 360px;
  background: #0d120f;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  display: none;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
}
.chat-popup-modal.active {
  display: flex;
}
.chat-popup-header {
  padding: 12px 16px;
  background: #111814;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.chat-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
}

/* 10. KURUMSAL FOOTER */
.site-bottom-footer {
  width: 100%;
  background: rgba(10, 14, 12, 0.85);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--border-color);
  padding: 24px 16px 48px 16px;
  margin-top: 40px;
  text-align: center;
}
.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #8c9a93;
  font-size: 0.75rem;
}
.footer-credit {
  color: #cbd5e1;
  font-weight: 600;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}
.footer-links a {
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover {
  text-decoration: underline;
}

@keyframes blinker {
  50% { opacity: 0; }
}

/* =============================================================
   RESPONSIVE & THEATER MODE
============================================================= */
@media (max-width: 1180px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .header-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .header-telegram-cta {
    order: 2;
    margin-left: auto;
  }
}

@media (max-width: 1024px) {
  .broadcast-main-grid {
    grid-template-columns: 1fr;
  }
  aside.channel-list {
    order: 2;
  }
  .player-column {
    order: 1;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.4rem 0.6rem;
  }
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.4rem;
  }
  .header-nav {
    width: 100%;
    justify-content: space-around;
    gap: 2px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-item {
    min-width: auto;
    flex: 1;
    font-size: 0.6rem;
    padding: 0.35rem 0.2rem;
  }
  .nav-item .nav-icon {
    width: 16px;
    height: 16px;
    margin-bottom: 2px;
  }
  .poster-main-title {
    font-size: 1.8rem;
  }
  .poster-left-text {
    max-width: 60%;
  }
  .huge-frosted-triangle {
    border-width: 32px 0 32px 54px;
  }
  .topmost-bar {
    font-size: 0.68rem;
    padding: 4px 8px;
  }
}

/* THEATER MODE (DESKTOP & MOBILE) */
body.cinema-mode .top-banner-header,
body.cinema-mode .hellobar,
body.cinema-mode .under-player-banner-wrapper {
  display: none !important;
}

body.cinema-mode .content-container {
  max-width: 100% !important;
  padding: 0 !important;
}

body.cinema-mode .broadcast-main-grid {
  grid-template-columns: 1fr !important;
  gap: 12px;
}

body.cinema-mode .player-wrapper {
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
}

@media (min-width: 769px) {
  body.cinema-mode .player-aspect {
    height: 72vh !important;
    aspect-ratio: auto !important;
  }
}

@media (max-width: 768px) {
  body.cinema-mode .player-aspect {
    width: 100vw !important;
    aspect-ratio: 16 / 9 !important;
  }
}

/* =============================================================
   LUXURY MULTI-SCREEN ENGINE (ÇOKLU EKRAN SİSTEMİ)
============================================================= */
.multi-player-container {
  width: 100%;
  background: rgba(10, 14, 12, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius);
  border: 1px solid rgba(166, 226, 46, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(166, 226, 46, 0.15);
  overflow: hidden;
  margin-bottom: 12px;
}

.multi-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(15, 20, 17, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.multi-title-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.btn-multi-exit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-multi-exit:hover {
  background: #ef4444;
  color: #fff;
}

.multi-grid {
  display: grid;
  gap: 8px;
  padding: 8px;
  background: #050806;
}

.multi-grid.multi-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.multi-grid.multi-grid-4 {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

@media (max-width: 640px) {
  .multi-grid.multi-grid-2,
  .multi-grid.multi-grid-4 {
    grid-template-columns: 1fr !important;
  }
}

.multi-screen-card {
  background: #0d120f;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.multi-screen-card.audio-active {
  border-color: #A6E22E;
  box-shadow: 0 0 15px rgba(166, 226, 46, 0.3);
}

.ms-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(15, 20, 17, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ms-channel-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

.ms-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ms-audio-btn:hover {
  background: rgba(166, 226, 46, 0.2);
  color: #fff;
  border-color: #A6E22E;
}

.ms-audio-btn.active {
  background: var(--gradient-primary);
  color: #052e16;
  border-color: #A6E22E;
  font-weight: 800;
}

.ms-video-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}

.ms-video-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Multi-Screen Sidebar Tab Controls */
.multi-screen-controls-wrap {
  padding: 16px 14px;
}

.ms-ctrl-header {
  margin-bottom: 14px;
  text-align: left;
}

.ms-badge-tag {
  display: inline-block;
  background: rgba(166, 226, 46, 0.18);
  border: 1px solid rgba(166, 226, 46, 0.4);
  color: var(--primary-accent);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.ms-layout-selector {
  margin-bottom: 14px;
}

.ms-layout-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 6px;
}

.ms-layout-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-layout:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-layout.active {
  background: rgba(166, 226, 46, 0.15);
  border-color: #A6E22E;
  color: var(--primary-accent);
  box-shadow: 0 0 10px rgba(166, 226, 46, 0.2);
}

.ms-channel-selectors {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.ms-sel-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.ms-channel-select {
  width: 100%;
  padding: 7px 10px;
  background: #0d120f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #fff;
  font-size: 0.76rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.ms-channel-select:focus {
  border-color: var(--primary-accent);
}

.ms-audio-hint {
  display: flex;
  gap: 8px;
  background: rgba(166, 226, 46, 0.06);
  border: 1px solid rgba(166, 226, 46, 0.2);
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 14px;
}

.ms-audio-hint-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.ms-audio-hint-text {
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.4;
}

.ms-audio-hint-text strong {
  color: #fff;
}

.ms-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-start-multiview {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: #052e16;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(166, 226, 46, 0.3);
  transition: all 0.25s ease;
}

.btn-start-multiview:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(166, 226, 46, 0.5);
  background: #C1F04D;
}

.btn-stop-multiview {
  width: 100%;
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 6px;
  color: #ef4444;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-stop-multiview:hover {
  background: #ef4444;
  color: #fff;
}

/* =============================================================
   FULL MOBILE RESPONSIVE ENGINE (YAYIN SİTESİ)
============================================================= */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .topmost-bar {
    padding: 4px 6px !important;
    min-height: 26px !important;
    font-size: 0.7rem !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }
  .topmost-bar-text {
    font-size: clamp(0.58rem, 2.3vw, 0.68rem) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    display: block !important;
    text-align: center !important;
  }
  .topmost-bar-text a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .topmost-bar-text a span:nth-child(2) {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .topmost-bar-text a strong {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .site-header {
    padding: 6px 10px !important;
  }
  .header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .brand-logo {
    order: 1 !important;
  }
  .site-header-logo-img {
    height: 36px !important;
    max-width: 140px !important;
  }
  .header-telegram-cta {
    order: 2 !important;
    padding: 4px 11px !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    gap: 5px !important;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.28) 0%, rgba(36, 161, 222, 0.16) 100%) !important;
    border: 1px solid rgba(36, 161, 222, 0.4) !important;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    animation: none !important;
    color: #e0f2fe !important;
  }
  .header-telegram-cta::before {
    display: none !important;
  }
  .header-telegram-cta:hover {
    background: rgba(0, 136, 204, 0.35) !important;
    border-color: rgba(36, 161, 222, 0.6) !important;
  }
  .tg-cta-icon-glow {
    width: 18px !important;
    height: 18px !important;
    background: rgba(0, 136, 204, 0.35) !important;
  }
  .tg-cta-icon-glow svg {
    width: 11px !important;
    height: 11px !important;
  }
  .tg-cta-title {
    font-size: 0.68rem !important;
    letter-spacing: 0.01em !important;
  }
  .header-nav {
    order: 3 !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    padding: 6px 0 2px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    justify-content: flex-start !important;
  }
  .header-nav::-webkit-scrollbar {
    display: none !important;
  }
  .nav-item {
    flex-shrink: 0 !important;
    padding: 5px 9px !important;
    font-size: 0.68rem !important;
    border-radius: 8px !important;
  }
  .nav-item .nav-icon {
    width: 14px !important;
    height: 14px !important;
    margin-bottom: 2px !important;
  }

  .content-container {
    padding: 0 8px 30px 8px !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .top-banner-header,
  .under-player-banner-wrapper,
  .sidebar-ad-box,
  .feed-inline-ad-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 6px 0 !important;
    overflow: hidden !important;
    text-align: center !important;
  }
  .top-banner-header img,
  .banner-container img,
  .under-player-banner-wrapper img,
  .sidebar-ad-box img,
  .feed-inline-ad-wrapper img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
  }
  .hellobar {
    font-size: 0.72rem !important;
    padding: 6px 8px !important;
    margin: 6px 0 !important;
  }

  .broadcast-main-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .player-column {
    width: 100% !important;
    order: 1 !important;
  }
  .under-player-banner-wrapper {
    width: 100% !important;
    order: 2 !important;
    margin: 8px 0 !important;
    display: flex !important;
    justify-content: center !important;
  }
  aside.channel-list {
    width: 100% !important;
    order: 3 !important;
  }
  .player-aspect {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  /* Mobile Player Controls - 100% Fit & No Cutoff Guarantee */
  .player-controls {
    padding: 5px 8px !important;
    gap: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
    background: rgba(10, 14, 12, 0.98) !important;
  }
  .controls-left,
  .controls-right {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
  }
  .volume-container {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }
  .volume-slider {
    display: none !important;
  }
  .source-select {
    max-width: 82px !important;
    height: 32px !important;
    font-size: 0.62rem !important;
    padding: 2px 4px !important;
    border-radius: 6px !important;
    background: #111814 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    flex-shrink: 1 !important;
  }
  .ctrl-btn {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .ctrl-btn:active {
    background: rgba(166, 226, 46, 0.25) !important;
    border-color: var(--primary-accent) !important;
  }
  .ctrl-btn .svg-icon {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  #pipBtn span,
  #radioModeBtn span {
    display: none !important;
  }
  .live-indicator {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    padding: 3px 6px !important;
    margin-left: 2px !important;
    background: rgba(239, 68, 68, 0.12) !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .live-indicator .live-dot {
    width: 6px !important;
    height: 6px !important;
    flex-shrink: 0 !important;
  }
  .player-wrapper:fullscreen .player-controls,
  .player-wrapper:-webkit-full-screen .player-controls,
  .player-wrapper.is-fullscreen .player-controls {
    padding: 10px 12px !important;
  }

  .player-info-container {
    padding: 0 !important;
    margin: 8px 0 6px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .player-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 5px 10px !important;
    font-size: clamp(0.68rem, 2.2vw, 0.74rem) !important;
    border-radius: 20px !important;
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }
  #nowPlayingText {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .cinema-mode-toggle {
    flex-shrink: 0 !important;
    padding: 5px 9px !important;
    font-size: 0.68rem !important;
    gap: 4px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }
  .cinema-mode-toggle svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* SOSYAL PAYLAŞIM BARI MOBİL AYARI */
  .stream-share-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    padding: 6px 8px !important;
    margin-top: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .share-label {
    font-size: 0.64rem !important;
    font-weight: 700 !important;
    color: #8c9a93 !important;
    flex-shrink: 0 !important;
    margin-right: 2px !important;
    white-space: nowrap !important;
  }
  .share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 5px 6px !important;
    font-size: 0.68rem !important;
    gap: 4px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }
  .share-btn svg {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
  }
  .copy-desktop-word {
    display: none !important;
  }

  .tabs-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    padding: 4px !important;
  }
  .tab-btn {
    padding: 8px 4px !important;
    font-size: 0.72rem !important;
    justify-content: center !important;
  }
  .tab-icon {
    width: 15px !important;
    height: 15px !important;
  }

  .match-card-container {
    padding: 10px 8px !important;
    gap: 6px !important;
  }
  .match-logo {
    width: 22px !important;
    height: 22px !important;
  }
  .team-name {
    font-size: 0.72rem !important;
    max-width: 85px !important;
  }
  .match-time {
    font-size: 0.78rem !important;
  }
  .match-status-pill {
    padding: 1px 6px !important;
    height: 18px !important;
    font-size: 0.6rem !important;
  }

  .channel-card-item {
    padding: 8px 10px !important;
  }
  .channel-thumb {
    width: 28px !important;
    height: 28px !important;
  }
  .channel-title {
    font-size: 0.74rem !important;
  }

  .multi-grid.multi-grid-2,
  .multi-grid.multi-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 6px !important;
  }
  .ms-header {
    padding: 8px 10px !important;
  }
  .ms-channel-name {
    font-size: 0.76rem !important;
  }
  .ms-audio-btn {
    padding: 6px 12px !important;
    min-height: 32px !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
  }
  .btn-start-multiview {
    padding: 12px !important;
    font-size: 0.88rem !important;
  }
}

@media (max-width: 420px) {
  .site-header-logo-img {
    height: 30px !important;
    max-width: 105px !important;
  }
  .header-telegram-cta {
    padding: 3px 8px !important;
    font-size: 0.62rem !important;
    gap: 4px !important;
  }
  .tg-cta-icon-glow {
    width: 16px !important;
    height: 16px !important;
  }
  .tg-cta-icon-glow svg {
    width: 10px !important;
    height: 10px !important;
  }
  .tg-cta-title {
    font-size: 0.62rem !important;
  }
  .team-name {
    max-width: 68px !important;
    font-size: 0.68rem !important;
  }
  .share-label {
    font-size: 0.58rem !important;
  }
  .share-btn {
    padding: 4px 4px !important;
    font-size: 0.62rem !important;
    gap: 3px !important;
  }
  .share-btn svg {
    width: 11px !important;
    height: 11px !important;
  }
  .cinema-mode-toggle {
    padding: 4px 6px !important;
    font-size: 0.62rem !important;
  }
  .player-info {
    padding: 4px 8px !important;
    font-size: 0.66rem !important;
  }
  .player-controls {
    padding: 4px 4px !important;
    gap: 3px !important;
  }
  .controls-left,
  .controls-right {
    gap: 3px !important;
  }
  .ctrl-btn {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
  }
  .ctrl-btn .svg-icon {
    width: 14px !important;
    height: 14px !important;
  }
  .source-select {
    max-width: 72px !important;
    height: 30px !important;
    font-size: 0.58rem !important;
    padding: 1px 3px !important;
  }
  .live-indicator {
    padding: 2px 4px !important;
    font-size: 0.58rem !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 360px) {
  .player-controls {
    padding: 3px 2px !important;
    gap: 2px !important;
  }
  .controls-left,
  .controls-right {
    gap: 2px !important;
  }
  .ctrl-btn {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    border-radius: 4px !important;
  }
  .ctrl-btn .svg-icon {
    width: 13px !important;
    height: 13px !important;
  }
  .source-select {
    max-width: 58px !important;
    height: 28px !important;
    font-size: 0.54rem !important;
    padding: 1px 2px !important;
  }
  .live-indicator {
    padding: 2px 3px !important;
    font-size: 0.52rem !important;
    gap: 2px !important;
  }
  .live-indicator .live-dot {
    width: 5px !important;
    height: 5px !important;
  }
}

/* ========================================================
   RADIO / SADECE SES MODU (KOTA TASARRUFU)
   ======================================================== */
.radio-mode-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(16, 28, 20, 0.98) 0%, rgba(3, 7, 5, 0.99) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 45;
  backdrop-filter: blur(8px);
  padding: 20px;
  text-align: center;
}

.radio-anim-box {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 60px;
  margin-bottom: 18px;
}

.equalizer-bar {
  width: 7px;
  background: linear-gradient(180deg, #A6E22E 0%, #10b981 100%);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(166, 226, 46, 0.6);
  animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.equalizer-bar.bar-1 { height: 24px; animation-delay: 0.1s; }
.equalizer-bar.bar-2 { height: 50px; animation-delay: 0.3s; }
.equalizer-bar.bar-3 { height: 35px; animation-delay: 0.15s; }
.equalizer-bar.bar-4 { height: 58px; animation-delay: 0.4s; }
.equalizer-bar.bar-5 { height: 28px; animation-delay: 0.25s; }

@keyframes eqBounce {
  0% { height: 12px; }
  50% { height: 55px; }
  100% { height: 25px; }
}

.radio-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(166, 226, 46, 0.12);
  border: 1px solid rgba(166, 226, 46, 0.35);
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #A6E22E;
  letter-spacing: 0.4px;
}

.btn-return-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s ease;
}
.btn-return-video:hover {
  transform: translateY(-2px);
}

/* ========================================================
   DEV DERBİ GERİ SAYIM SAYACI (COUNTDOWN WIDGET)
   ======================================================== */
.derby-countdown-box {
  background: linear-gradient(135deg, rgba(255, 75, 75, 0.12) 0%, rgba(15, 20, 17, 0.85) 100%);
  border: 1px solid rgba(255, 75, 75, 0.35);
  box-shadow: 0 8px 32px rgba(255, 75, 75, 0.15);
  border-radius: var(--border-radius);
  padding: 12px 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.derby-pulse-badge {
  background: #ff4b4b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px rgba(255, 75, 75, 0.6);
  animation: pulseDerby 1.5s infinite;
}

@keyframes pulseDerby {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.derby-title-text {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display);
}

.derby-timer-units {
  display: flex;
  gap: 8px;
}

.timer-tile {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  text-align: center;
  min-width: 48px;
}

.timer-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: #ff6b6b;
  font-family: var(--font-display);
  line-height: 1.1;
}

.timer-lbl {
  font-size: 0.6rem;
  color: #8c9a93;
  text-transform: uppercase;
  font-weight: 700;
}

/* ========================================================
   SOSYAL PAYLAŞIM BARI (WHATSAPP & TELEGRAM)
   ======================================================== */
.stream-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(15, 20, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.share-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #8c9a93;
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.share-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.share-whatsapp {
  background: #25D366;
}
.share-telegram {
  background: #24A1DE;
}
.share-copy {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

/* ========================================================
   SEKTÖREL SEO & SSS (FAQ) AKORDEON BÖLÜMÜ
   ======================================================== */
.seo-faq-accordion {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 10px;
}
.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
  color: #A6E22E;
}

.faq-icon {
  font-size: 0.8rem;
  color: #8c9a93;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: #A6E22E;
}

.faq-answer {
  display: none;
  padding: 0 16px 14px 16px;
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.faq-item.open .faq-answer {
  display: block;
}





/* ==========================================================================
   ADVANCED FULLSCREEN & AUTO-HIDE CONTROLS & MULTI-OVERLAY AD FIXES
   ========================================================================== */

/* Fullscreen Mode Overrides */
.player-wrapper:fullscreen,
.player-wrapper:-webkit-full-screen,
.player-wrapper.is-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    background: #000000 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 999999 !important;
}

.player-wrapper:fullscreen .player-aspect,
.player-wrapper:-webkit-full-screen .player-aspect,
.player-wrapper.is-fullscreen .player-aspect {
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    aspect-ratio: auto !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.player-wrapper:fullscreen .player-video,
.player-wrapper:-webkit-full-screen .player-video,
.player-wrapper.is-fullscreen .player-video {
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    object-fit: contain !important;
}

/* Floating Controls Bar in Fullscreen with Auto-Hide */
.player-wrapper:fullscreen .player-controls,
.player-wrapper:-webkit-full-screen .player-controls,
.player-wrapper.is-fullscreen .player-controls {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 60%, transparent 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 16px 24px !important;
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Auto-Hide class when mouse is inactive */
.player-controls.controls-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(16px) !important;
}

/* In-Stream Live Video Ad Overlays */
.player-stream-ad-overlay {
    position: absolute;
    z-index: 45;
    pointer-events: auto;
    transition: opacity 0.35s ease, transform 0.35s ease;
    animation: fadeInAd 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInAd {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.stream-ad-inner {
    position: relative;
    display: inline-block;
    background: rgba(10, 15, 29, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(16, 185, 129, 0.25);
    overflow: visible;
}

.stream-ad-inner a {
    display: block;
    line-height: 0;
}

.stream-ad-inner img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.stream-ad-inner a:hover img {
    transform: scale(1.02);
    filter: brightness(1.06);
}

.stream-ad-close-btn {
    position: absolute;
    top: -9px;
    right: -9px;
    width: 22px;
    height: 22px;
    background: #0f172a;
    border: 1.5px solid #ef4444;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
    transition: all 0.2s ease;
    padding: 0;
}

.stream-ad-close-btn:hover {
    background: #ef4444;
    transform: scale(1.15);
}

/* Corner Positions */
.player-stream-ad-overlay.pos-bottom-right {
    bottom: 56px;
    right: 16px;
    max-width: 260px;
}

.player-stream-ad-overlay.pos-bottom-left {
    bottom: 56px;
    left: 16px;
    max-width: 260px;
}

.player-stream-ad-overlay.pos-top-right {
    top: 16px;
    right: 16px;
    max-width: 220px;
}

.player-stream-ad-overlay.pos-bottom-bar {
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 620px;
}

/* Fullscreen adjustments for bottom corners so they don't overlap controls */
.player-wrapper:fullscreen .player-stream-ad-overlay.pos-bottom-right,
.player-wrapper:-webkit-full-screen .player-stream-ad-overlay.pos-bottom-right,
.player-wrapper.is-fullscreen .player-stream-ad-overlay.pos-bottom-right {
    bottom: 74px !important;
    max-width: 320px !important;
}

.player-wrapper:fullscreen .player-stream-ad-overlay.pos-bottom-left,
.player-wrapper:-webkit-full-screen .player-stream-ad-overlay.pos-bottom-left,
.player-wrapper.is-fullscreen .player-stream-ad-overlay.pos-bottom-left {
    bottom: 74px !important;
    max-width: 320px !important;
}

.player-wrapper:fullscreen .player-stream-ad-overlay.pos-bottom-bar,
.player-wrapper:-webkit-full-screen .player-stream-ad-overlay.pos-bottom-bar,
.player-wrapper.is-fullscreen .player-stream-ad-overlay.pos-bottom-bar {
    bottom: 72px !important;
    max-width: 780px !important;
}

@media (max-width: 768px) {
    .player-stream-ad-overlay.pos-bottom-right,
    .player-stream-ad-overlay.pos-bottom-left {
        bottom: 44px;
        max-width: 170px;
    }
    .player-stream-ad-overlay.pos-top-right {
        top: 10px;
        right: 10px;
        max-width: 140px;
    }
    .player-stream-ad-overlay.pos-bottom-bar {
        bottom: 40px;
        width: 95%;
    }
}

/* ==========================================================================
   SESLİ SOHBET ODALARI (VOICE CHAT ROOMS) STYLES
   ========================================================================== */
.header-voice-nav-btn {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(5, 150, 105, 0.28)) !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
    border-radius: 10px !important;
    color: #34d399 !important;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 700;
}
.header-voice-nav-btn:hover,
.header-voice-nav-btn.active {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #fff !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.5) !important;
}
.header-voice-nav-btn .nav-icon {
    color: inherit !important;
}
.header-voice-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #fff;
    font-size: 8.5px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
    animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* 🎁 VIP ÇEKİLİŞ NAVBAR HIGHLIGHT BUTTON */
.nav-raffle-highlight {
    position: relative;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.18), rgba(202, 138, 4, 0.28)) !important;
    border: 1px solid rgba(234, 179, 8, 0.55) !important;
    border-radius: 10px !important;
    color: #fef08a !important;
    transition: all 0.25s ease !important;
    font-weight: 700 !important;
    box-shadow: 0 0 14px rgba(234, 179, 8, 0.25) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}
.nav-raffle-highlight:hover {
    background: linear-gradient(135deg, #eab308, #ca8a04) !important;
    color: #000 !important;
    border-color: #fef08a !important;
    box-shadow: 0 0 22px rgba(234, 179, 8, 0.6) !important;
    transform: translateY(-1px);
}
.nav-raffle-highlight .nav-icon {
    color: inherit !important;
}
.nav-raffle-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
    animation: badgePulse 2s infinite;
    letter-spacing: 0.5px;
}

/* Floating Raffle Banner on Main Broadcast Page */
.floating-raffle-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(14, 14, 18, 0.96), rgba(26, 22, 12, 0.98));
    border: 1.5px solid rgba(234, 179, 8, 0.65);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85), 0 0 24px rgba(234, 179, 8, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 8px 14px 8px 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: slideInRaffle 0.5s ease-out;
}
.floating-raffle-banner:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #fef08a;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.92), 0 0 35px rgba(234, 179, 8, 0.55);
}
.floating-raffle-content {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}
.raffle-banner-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(202, 138, 4, 0.12));
    border: 1px solid rgba(234, 179, 8, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.raffle-gift-anim {
    display: inline-block;
    animation: bounceGift 2s infinite ease-in-out;
}
.raffle-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.raffle-banner-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: #fff;
    white-space: nowrap;
}
.raffle-banner-title strong {
    color: #fef08a;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.raffle-tag {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 8.5px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.raffle-banner-desc {
    font-size: 11.5px;
    color: #cbd5e1;
    font-weight: 500;
}
.raffle-banner-cta {
    display: flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #000;
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    margin-left: 6px;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.45);
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.raffle-banner-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 2px 4px 2px 10px;
    line-height: 1;
    transition: color 0.2s ease;
    flex-shrink: 0;
}
.raffle-banner-close:hover {
    color: #ef4444;
}

/* Hide banner when player is in fullscreen mode */
.player-wrapper:fullscreen ~ .floating-raffle-banner,
.player-wrapper.is-fullscreen ~ .floating-raffle-banner {
    display: none !important;
}

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

/* Mobile Responsive Optimization for Floating Raffle Banner */
@media (max-width: 768px) {
    .floating-raffle-banner {
        left: 8px !important;
        right: 8px !important;
        bottom: max(10px, env(safe-area-inset-bottom, 10px)) !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 6px 8px !important;
        gap: 6px !important;
        border-radius: 12px !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
        border-width: 1px !important;
    }
    .floating-raffle-content {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 6px !important;
        justify-content: flex-start !important;
        overflow: hidden !important;
    }
    .raffle-banner-icon-box {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    .raffle-banner-text {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 0 !important;
        overflow: hidden !important;
    }
    .raffle-banner-title {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        min-width: 0 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }
    .raffle-tag {
        font-size: 7.5px !important;
        padding: 1px 4px !important;
        border-radius: 3px !important;
        flex-shrink: 0 !important;
    }
    .raffle-banner-title strong {
        font-size: 11px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        min-width: 0 !important;
        letter-spacing: 0 !important;
    }
    .raffle-banner-desc {
        display: none !important;
    }
    .raffle-banner-cta {
        padding: 5px 8px !important;
        font-size: 10px !important;
        border-radius: 6px !important;
        margin-left: 0 !important;
        gap: 2px !important;
        flex-shrink: 0 !important;
    }
    .raffle-banner-cta svg {
        width: 12px !important;
        height: 12px !important;
    }
    .raffle-banner-close {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.08) !important;
        color: #94a3b8 !important;
        flex-shrink: 0 !important;
        margin-left: 2px !important;
    }
}

@media (max-width: 360px) {
    .floating-raffle-banner {
        left: 4px !important;
        right: 4px !important;
        padding: 4px 6px !important;
        gap: 4px !important;
    }
    .raffle-banner-icon-box {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 14px !important;
    }
    .raffle-tag {
        font-size: 7px !important;
        padding: 1px 3px !important;
    }
    .raffle-banner-title strong {
        font-size: 10px !important;
    }
    .raffle-banner-cta {
        padding: 4px 6px !important;
        font-size: 9px !important;
    }
    .raffle-banner-close {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        font-size: 15px !important;
    }
}

.voice-tab-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 6px 2px;
}

/* Corporate Closed Notice */
.voice-corporate-notice {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    margin: 12px 0;
}
.voice-notice-icon {
    font-size: 36px;
    margin-bottom: 8px;
}
.voice-notice-title {
    color: #f87171;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px 0;
}
.voice-notice-desc {
    color: #cbd5e1;
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0 0 14px 0;
}
.voice-notice-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    font-size: 10.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Room List Header */
.voice-rooms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: rgba(13, 18, 15, 0.85);
    border: 1px solid rgba(166, 226, 46, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.voice-rooms-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #f8fafc;
}
.voice-rooms-info span {
    font-size: 10.5px;
    color: var(--primary-accent, #A6E22E);
    display: block;
    margin-top: 2px;
}
.btn-create-room {
    background: var(--gradient-primary, linear-gradient(135deg, #A6E22E, #8BBF1C));
    border: none;
    color: #070a08;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(166, 226, 46, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-create-room:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(166, 226, 46, 0.45);
}
.btn-create-room .plus-icon {
    font-size: 14px;
    font-weight: 900;
}

/* Room Cards */
.voice-rooms-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 480px;
    overflow-y: auto;
}
.voice-room-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: rgba(14, 20, 16, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.2s ease;
}
.voice-room-card:hover {
    background: rgba(18, 26, 21, 0.95);
    border-color: rgba(166, 226, 46, 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.voice-room-card.room-full {
    opacity: 0.6;
}
.room-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 6px;
}
.room-stream-tag-lobby {
    background: rgba(166, 226, 46, 0.12);
    border: 1px solid rgba(166, 226, 46, 0.25);
    color: #A6E22E;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.room-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}
.room-slots {
    font-size: 11px;
    font-weight: 600;
}
.room-slots.text-success { color: #A6E22E; }
.room-slots.text-danger { color: #f87171; }
.room-tag {
    font-size: 9.5px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}
.room-tag.tag-active {
    background: rgba(166, 226, 46, 0.15);
    color: #A6E22E;
    border: 1px solid rgba(166, 226, 46, 0.3);
}
.room-tag.tag-full {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}
.btn-join-room {
    background: rgba(166, 226, 46, 0.15);
    border: 1px solid rgba(166, 226, 46, 0.35);
    color: #A6E22E;
    font-size: 11.5px;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn-join-room:hover:not(:disabled) {
    background: var(--gradient-primary, #A6E22E);
    color: #070a08;
    box-shadow: 0 0 12px rgba(166, 226, 46, 0.4);
}
.btn-join-room:disabled {
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
    color: #64748b;
    background: rgba(255, 255, 255, 0.03);
}

/* Empty State */
.voice-empty-state {
    text-align: center;
    padding: 36px 16px;
    background: rgba(13, 18, 15, 0.6);
    border: 1px dashed rgba(166, 226, 46, 0.2);
    border-radius: 12px;
}
.voice-empty-state .empty-icon {
    font-size: 42px;
    margin-bottom: 10px;
}
.voice-empty-state h5 {
    color: #f1f5f9;
    font-size: 14.5px;
    font-weight: 700;
    margin: 0 0 6px 0;
}
.voice-empty-state p {
    color: #94a3b8;
    font-size: 11.5px;
    line-height: 1.5;
    margin: 0 0 16px 0;
}
.btn-create-room-secondary {
    background: var(--gradient-primary, #A6E22E);
    border: none;
    color: #070a08;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 12.5px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(166, 226, 46, 0.3);
    transition: transform 0.15s;
}
.btn-create-room-secondary:hover {
    transform: translateY(-1px);
}

/* Active Room View */
.active-room-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.active-room-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 18, 15, 0.95);
    border: 1px solid rgba(166, 226, 46, 0.3);
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.room-header-details {
    display: flex;
    align-items: center;
    gap: 10px;
}
.room-live-dot {
    width: 10px;
    height: 10px;
    background: #A6E22E;
    border-radius: 50%;
    box-shadow: 0 0 10px #A6E22E;
    animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.5; }
}
.room-title-block h5 {
    margin: 0;
    font-size: 14px;
    color: #f8fafc;
    font-weight: 800;
}
.room-stream-badge {
    background: rgba(166, 226, 46, 0.15);
    border: 1px solid rgba(166, 226, 46, 0.35);
    color: #A6E22E;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 3px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.room-title-block small {
    color: #94a3b8;
    font-size: 10.5px;
    display: block;
    margin-top: 3px;
}
.btn-leave-room {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.btn-leave-room:hover {
    background: #ef4444;
    color: #fff;
}

/* 👑 Host Tools Panel (Oda Sahibi Yönetim Paneli) */
.host-tools-panel {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.08) 0%, rgba(166, 226, 46, 0.08) 100%);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.host-tools-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fbbf24;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.host-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}
.btn-host-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}
.btn-host-tool .tool-icon {
    font-size: 16px;
    margin-bottom: 3px;
}
.btn-host-tool .tool-text strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}
.btn-host-tool .tool-text small {
    font-size: 9.5px;
    opacity: 0.8;
    display: block;
}
.btn-host-tool.btn-sync {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(166, 226, 46, 0.25));
    border-color: rgba(234, 179, 8, 0.4);
    color: #fef08a;
}
.btn-host-tool.btn-sync:hover {
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.45);
    transform: translateY(-1px);
}
.btn-host-tool.btn-change {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.35);
    color: #93c5fd;
}
.btn-host-tool.btn-change:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: translateY(-1px);
}
.btn-host-tool.btn-invite {
    background: rgba(166, 226, 46, 0.15);
    border-color: rgba(166, 226, 46, 0.35);
    color: #A6E22E;
}
.btn-host-tool.btn-invite:hover {
    background: rgba(166, 226, 46, 0.25);
    transform: translateY(-1px);
}

/* Participant Tools Panel */
.participant-tools-panel {
    display: flex;
    gap: 8px;
}
.btn-user-tool {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}
.btn-user-tool.btn-sync-self {
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.3);
    color: #fef08a;
}
.btn-user-tool.btn-sync-self:hover {
    background: rgba(234, 179, 8, 0.25);
}
.btn-user-tool.btn-invite {
    background: rgba(166, 226, 46, 0.15);
    border-color: rgba(166, 226, 46, 0.3);
    color: #A6E22E;
}
.btn-user-tool.btn-invite:hover {
    background: rgba(166, 226, 46, 0.25);
}

/* Participants Grid (Strict Containment - No Overflow) */
.active-participants-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.participant-card {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: rgba(14, 20, 16, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.participant-card.is-host {
    border-color: rgba(234, 179, 8, 0.3);
}
.participant-card.speaking {
    border-color: #A6E22E !important;
    background: rgba(166, 226, 46, 0.08) !important;
    box-shadow: 0 0 14px rgba(166, 226, 46, 0.35);
}
.participant-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #047857);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    position: relative;
    flex-shrink: 0;
}
.host-crown-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 12px;
}
.speaking-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #A6E22E;
    opacity: 0;
    pointer-events: none;
}
.participant-card.speaking .speaking-pulse {
    animation: speakPulse 1.2s infinite;
    opacity: 1;
}
@keyframes speakPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}
.participant-info {
    flex: 1;
    min-width: 0;
}
.participant-name-row {
    display: flex;
    align-items: center;
    gap: 4px;
}
.participant-nick {
    font-size: 12px;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tag-me {
    font-size: 9px;
    color: #A6E22E;
    font-weight: 800;
}
.tag-host {
    font-size: 8.5px;
    background: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 800;
}
.participant-state {
    font-size: 10px;
    color: #94a3b8;
    display: block;
}
.participant-card.speaking .participant-state {
    color: #A6E22E !important;
    font-weight: 700;
}

/* Empty slot */
.participant-card.empty-slot {
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    opacity: 0.6;
    cursor: pointer;
}
.participant-card.empty-slot:hover {
    opacity: 1;
    border-color: rgba(166, 226, 46, 0.3);
}
.participant-avatar.empty-avatar {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: #64748b;
}

/* Mixer Box */
.voice-mixer-box {
    background: rgba(13, 18, 15, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mixer-title {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.mixer-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
}
.mixer-label {
    width: 85px;
    color: #cbd5e1;
    font-weight: 600;
}
.mixer-slider {
    flex: 1;
    accent-color: var(--primary-accent, #A6E22E);
    height: 4px;
    cursor: pointer;
}
.mixer-val {
    width: 38px;
    text-align: right;
    font-weight: 700;
    color: var(--primary-accent, #A6E22E);
    font-size: 11px;
}

/* Controls Panel */
.voice-controls-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(13, 18, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px;
}
.mic-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(166, 226, 46, 0.08);
    border: 1px solid rgba(166, 226, 46, 0.2);
    border-radius: 8px;
}
.mic-status-indicator.muted {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
}
.mic-icon {
    font-size: 20px;
}
.mic-details strong {
    font-size: 11.5px;
    color: var(--primary-accent, #A6E22E);
    display: block;
}
.mic-status-indicator.muted .mic-details strong {
    color: #f87171;
}
.mic-details small {
    color: #94a3b8;
    font-size: 10.5px;
}

/* Big Push-To-Talk Button */
.btn-ptt-trigger {
    width: 100%;
    padding: 14px 18px;
    background: var(--gradient-primary, linear-gradient(135deg, #A6E22E, #8BBF1C));
    border: none;
    border-radius: 8px;
    color: #070a08;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(166, 226, 46, 0.35);
    transition: all 0.1s ease;
    user-select: none;
}
.btn-ptt-trigger:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(166, 226, 46, 0.5);
}
.btn-ptt-trigger.active,
.btn-ptt-trigger:active:not(:disabled) {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff !important;
    transform: scale(0.98);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.7) !important;
}
.btn-ptt-trigger:disabled {
    background: #1e293b;
    color: #64748b;
    cursor: not-allowed;
    box-shadow: none;
}
.ptt-hotkey {
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}
.open-mic-banner {
    text-align: center;
    padding: 10px;
    background: rgba(166, 226, 46, 0.12);
    border: 1px solid rgba(166, 226, 46, 0.25);
    border-radius: 8px;
    color: #A6E22E;
    font-size: 12px;
    font-weight: 700;
}

/* Action Toolbar */
.voice-action-bar {
    display: flex;
    gap: 6px;
    justify-content: space-between;
}
.btn-voice-tool {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 10.5px;
    font-weight: 700;
    padding: 7px 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-voice-tool:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
.btn-voice-tool.active-red {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
}

/* ============================================================
   LUXURY MODAL OVERLAY & WATCH TOGETHER POPUP
============================================================ */
.voice-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.voice-modal-card.luxury-theme {
    background: linear-gradient(165deg, rgba(14, 22, 17, 0.98) 0%, rgba(7, 11, 9, 0.98) 100%);
    border: 1px solid rgba(166, 226, 46, 0.35);
    border-radius: 14px;
    width: 100%;
    max-width: 500px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 22px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(166, 226, 46, 0.15);
    color: #f8fafc;
}
.voice-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
}
.voice-modal-badge {
    background: rgba(166, 226, 46, 0.15);
    border: 1px solid rgba(166, 226, 46, 0.35);
    color: #A6E22E;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: 0.5px;
}
.voice-modal-header h3 {
    margin: 4px 0 0 0;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
}
.voice-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.15s ease;
}
.voice-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}
.voice-form-group {
    margin-bottom: 14px;
}
.voice-form-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #e2e8f0;
    font-weight: 700;
    margin-bottom: 6px;
}
.badge-auto-sync {
    background: rgba(166, 226, 46, 0.15);
    color: #A6E22E;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
}
.voice-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.voice-input:focus {
    border-color: #A6E22E;
    box-shadow: 0 0 12px rgba(166, 226, 46, 0.25);
}
.voice-select {
    cursor: pointer;
}
.voice-select optgroup {
    background: #0b100d;
    color: #A6E22E;
    font-weight: 800;
}
.voice-select option {
    background: #0e1611;
    color: #fff;
    font-weight: 600;
}
.voice-capacity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}
.capacity-range {
    flex: 1;
    accent-color: var(--primary-accent, #A6E22E);
    cursor: pointer;
}
.capacity-number {
    font-weight: 800;
    color: #A6E22E;
    font-size: 13.5px;
    min-width: 50px;
}
.voice-form-group small {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    margin-top: 5px;
    line-height: 1.35;
}
.voice-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
.btn-voice-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 12.5px;
    transition: background 0.15s;
}
.btn-voice-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}
.btn-voice-submit {
    background: var(--gradient-primary, linear-gradient(135deg, #A6E22E, #8BBF1C));
    border: none;
    color: #070a08;
    padding: 9px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 900;
    font-size: 13px;
    box-shadow: 0 4px 14px rgba(166, 226, 46, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-voice-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(166, 226, 46, 0.5);
}

/* 🛡️ Kurumsal Bilgilendirme ve Özellik Rehberi (Modal İçi) */
.voice-features-guide {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.guide-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #A6E22E;
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 12px;
}
.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.guide-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.guide-item .item-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}
.guide-item strong {
    display: block;
    font-size: 11.5px;
    color: #f8fafc;
    font-weight: 800;
    margin-bottom: 3px;
}
.guide-item p {
    font-size: 10.5px;
    color: #94a3b8;
    line-height: 1.35;
    margin: 0;
}

/* Keybind Rebind Modal Box */
.keybind-pulsing-box {
    display: inline-block;
    background: rgba(166, 226, 46, 0.15);
    border: 2px dashed #A6E22E;
    padding: 18px 30px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 800;
    color: #A6E22E;
    animation: keyGlow 1.5s infinite;
}
@keyframes keyGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); border-color: #8BBF1C; }
}

/* ============================================================
   TOAST NOTIFICATION COMPONENT
============================================================ */
.voice-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.voice-toast-card {
    background: rgba(13, 18, 15, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(166, 226, 46, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(166, 226, 46, 0.2);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    animation: toastSlideIn 0.3s ease;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.voice-toast-card.fade-out {
    opacity: 0;
    transform: translateY(10px);
}
.voice-toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}
.voice-toast-msg {
    line-height: 1.35;
}
@keyframes toastSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* ============================================================
   ALL-IN-ONE VOICE HUB MODAL & WATCH TOGETHER EXPERIENCE
============================================================ */
.voice-hub-overlay {
    background: rgba(3, 7, 5, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    overflow-y: auto !important;
    align-items: flex-start !important;
    padding: 30px 16px !important;
}

.voice-hub-modal.luxury-theme {
    max-width: 840px !important;
    width: 100% !important;
    margin: auto !important;
    background: linear-gradient(170deg, rgba(14, 22, 17, 0.99) 0%, rgba(7, 11, 9, 0.99) 100%) !important;
    border: 1.5px solid rgba(166, 226, 46, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(166, 226, 46, 0.15) !important;
    padding: 26px 28px !important;
    color: #f8fafc !important;
}

.voice-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.hub-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(166, 226, 46, 0.15);
    border: 1px solid rgba(166, 226, 46, 0.35);
    color: #A6E22E;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.hub-header-left h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
}

/* Hero Section (Warm, Friendly, Inviting Pitch) */
.voice-hub-hero {
    background: linear-gradient(135deg, rgba(166, 226, 46, 0.12) 0%, rgba(16, 185, 129, 0.08) 50%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(166, 226, 46, 0.28);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-pitch-title {
    font-size: 17px;
    font-weight: 900;
    color: #A6E22E;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-pitch-desc {
    font-size: 13px;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0;
}

.hero-pitch-desc strong {
    color: #fff;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.hl-badge {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
}

.hero-action-box {
    flex-shrink: 0;
}

.btn-hub-create-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #A6E22E 0%, #8BBF1C 100%);
    border: none;
    color: #070a08;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(166, 226, 46, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-hub-create-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(166, 226, 46, 0.55);
}

.btn-hub-create-cta .cta-icon {
    font-size: 22px;
}

.btn-hub-create-cta .cta-texts strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-align: left;
}

.btn-hub-create-cta .cta-texts small {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    opacity: 0.85;
    text-align: left;
}

/* Feature Guide Cards */
.voice-features-grid-hub {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.hub-feature-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: all 0.2s ease;
}

.hub-feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(166, 226, 46, 0.35);
    transform: translateY(-1px);
}

.hub-feature-card .feat-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.hub-feature-card .feat-info strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 3px;
}

.hub-feature-card .feat-info p {
    font-size: 10.5px;
    color: #94a3b8;
    line-height: 1.35;
    margin: 0;
}

/* Expandable Create Room Form */
.hub-create-form-wrap {
    background: rgba(11, 17, 13, 0.95);
    border: 1.5px solid rgba(166, 226, 46, 0.4);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: hubFormSlide 0.25s ease;
}

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

.create-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.form-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-title-group .tag-step {
    background: rgba(166, 226, 46, 0.2);
    color: #A6E22E;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.form-title-group h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.btn-close-form {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: color 0.15s;
}

.btn-close-form:hover {
    color: #f87171;
}

.hub-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hub-form-grid .span-2 {
    grid-column: span 2;
}

.hub-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

/* Rooms List Section */
.hub-rooms-section {
    margin-top: 8px;
}

.hub-rooms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.hub-rooms-title h4 {
    margin: 0 0 3px 0;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-rooms-count {
    color: #A6E22E;
    font-size: 13px;
}

.hub-rooms-title span {
    font-size: 11.5px;
    color: #94a3b8;
}

.btn-refresh-rooms {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-refresh-rooms:hover {
    background: rgba(166, 226, 46, 0.15);
    border-color: rgba(166, 226, 46, 0.35);
    color: #A6E22E;
}

.hub-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.hub-room-card {
    background: rgba(14, 22, 17, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.hub-room-card:hover {
    background: rgba(18, 28, 22, 0.98);
    border-color: rgba(166, 226, 46, 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hub-room-card.room-full {
    opacity: 0.6;
}

.hub-card-left {
    flex: 1;
    min-width: 0;
}

.hub-card-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 800;
    color: #f8fafc;
}

.hub-card-title-row strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-card-stream-badge {
    display: inline-block;
    background: rgba(166, 226, 46, 0.12);
    border: 1px solid rgba(166, 226, 46, 0.25);
    color: #A6E22E;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    margin: 4px 0;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
}

.hub-card-right {
    flex-shrink: 0;
}

.btn-hub-join {
    background: rgba(166, 226, 46, 0.15);
    border: 1px solid rgba(166, 226, 46, 0.35);
    color: #A6E22E;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-hub-join:hover:not(:disabled) {
    background: linear-gradient(135deg, #A6E22E, #8BBF1C);
    color: #070a08;
    box-shadow: 0 0 14px rgba(166, 226, 46, 0.45);
}

.btn-hub-join:disabled {
    background: rgba(255, 255, 255, 0.03);
    color: #64748b;
    border-color: rgba(255, 255, 255, 0.08);
    cursor: not-allowed;
}

.hub-empty-state {
    text-align: center;
    padding: 32px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed rgba(166, 226, 46, 0.25);
    border-radius: 12px;
    grid-column: 1 / -1;
}

.hub-empty-state .empty-icon {
    font-size: 42px;
    margin-bottom: 8px;
}

.hub-empty-state h5 {
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    margin: 0 0 6px 0;
}

.hub-empty-state p {
    color: #94a3b8;
    font-size: 12px;
    margin: 0 0 16px 0;
}

.btn-hub-empty-cta {
    background: linear-gradient(135deg, #A6E22E, #8BBF1C);
    border: none;
    color: #070a08;
    font-size: 12.5px;
    font-weight: 900;
    padding: 9px 22px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(166, 226, 46, 0.35);
}

@media (max-width: 768px) {
    .voice-hub-hero {
        flex-direction: column;
        align-items: stretch;
    }
    .voice-features-grid-hub {
        grid-template-columns: 1fr 1fr;
    }
    .hub-form-grid {
        grid-template-columns: 1fr;
    }
    .hub-form-grid .span-2 {
        grid-column: span 1;
    }
    .hub-rooms-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .voice-features-grid-hub {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   SIDEBAR LOBBY & ACTIVE ROOM CONTAINMENT FIXES
============================================================ */
.voice-tab-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 6px 2px !important;
}

.active-room-view {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.active-room-topbar {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
}

.room-header-details {
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
}

.room-title-block {
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
}

.room-title-block h5 {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
}

.room-stream-badge {
    max-width: 160px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.participant-info {
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
}

.participant-name-row {
    min-width: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
}

.participant-nick {
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 11px !important;
}

.participant-state {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 9.5px !important;
}

.participant-card.empty-slot {
    border: 1px dashed rgba(255, 255, 255, 0.14) !important;
    background: rgba(0, 0, 0, 0.25) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.participant-avatar.empty-avatar {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
}

.participant-card.empty-slot .participant-nick {
    font-size: 10.5px !important;
    color: #cbd5e1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.participant-card.empty-slot small {
    font-size: 9px !important;
    color: #94a3b8 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

.participant-tools-panel {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.btn-user-tool {
    min-width: 0 !important;
    padding: 7px 4px !important;
    font-size: 10.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
}

.voice-action-bar {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.btn-voice-tool {
    min-width: 0 !important;
    padding: 6px 2px !important;
    font-size: 9.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
}

/* Sidebar Lobby Styling */
.voice-sidebar-lobby-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-lobby-banner {
    background: linear-gradient(135deg, rgba(166, 226, 46, 0.12) 0%, rgba(16, 185, 129, 0.08) 50%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(166, 226, 46, 0.3);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.banner-badge {
    display: inline-block;
    background: rgba(166, 226, 46, 0.2);
    border: 1px solid rgba(166, 226, 46, 0.4);
    color: #A6E22E;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.sidebar-lobby-banner h4 {
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.sidebar-lobby-banner p {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.45;
    margin: 0 0 14px 0;
}

.btn-open-full-hub {
    width: 100%;
    background: linear-gradient(135deg, #A6E22E, #8BBF1C);
    border: none;
    border-radius: 8px;
    color: #070a08;
    font-size: 12px;
    font-weight: 900;
    padding: 10px 12px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(166, 226, 46, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-open-full-hub:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(166, 226, 46, 0.5);
}

.sidebar-quick-rooms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
}

.sidebar-quick-rooms-header span {
    font-size: 12px;
    font-weight: 800;
    color: #e2e8f0;
}

.btn-create-mini {
    background: rgba(166, 226, 46, 0.15);
    border: 1px solid rgba(166, 226, 46, 0.35);
    color: #A6E22E;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-create-mini:hover {
    background: #A6E22E;
    color: #070a08;
}
