:root {
  --bg-dark: #000000;
  --bg-card: #08080a;
  --bg-elevated: #111115;
  --bg-hover: #18181d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-main: #f4f4f6;
  --text-muted: #8e8e99;
  --accent: #e11d48;
  --accent-hover: #f43f5e;
  --accent-glow: rgba(225, 29, 72, 0.25);
  --green: #10b981;
  --amber: #f59e0b;
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* =========================================================
   KOYU SİNEMATİK LAV LAMBASI (AMBIENT LAVA LAMP) ARKA PLAN
   ========================================================= */
.ambient-lava-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #050308 0%, #000000 100%);
}

.lava-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.34;
  mix-blend-mode: screen;
  will-change: transform, border-radius;
}

.lava-blob-1 {
  width: 560px;
  height: 560px;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(190, 18, 60, 0.55) 0%, rgba(136, 19, 55, 0.2) 55%, transparent 75%);
  animation: lavaDrift1 22s ease-in-out infinite alternate;
}

.lava-blob-2 {
  width: 620px;
  height: 620px;
  bottom: -18%;
  right: -10%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.5) 0%, rgba(76, 29, 149, 0.2) 55%, transparent 75%);
  animation: lavaDrift2 26s ease-in-out infinite alternate;
}

.lava-blob-3 {
  width: 500px;
  height: 500px;
  top: 32%;
  left: 36%;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.48) 0%, rgba(88, 28, 135, 0.22) 55%, transparent 75%);
  animation: lavaDrift3 19s ease-in-out infinite alternate;
}

.lava-blob-4 {
  width: 440px;
  height: 440px;
  bottom: 10%;
  left: 12%;
  background: radial-gradient(circle, rgba(157, 23, 77, 0.42) 0%, rgba(6, 78, 59, 0.22) 60%, transparent 78%);
  animation: lavaDrift4 24s ease-in-out infinite alternate;
}

@keyframes lavaDrift1 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 48% 52% 55% 45% / 50% 46% 54% 50%;
  }
  50% {
    transform: translate(28vw, 18vh) scale(1.18) rotate(35deg);
    border-radius: 58% 42% 45% 55% / 44% 58% 42% 56%;
  }
  100% {
    transform: translate(12vw, 38vh) scale(0.92) rotate(75deg);
    border-radius: 42% 58% 52% 48% / 56% 44% 56% 44%;
  }
}

@keyframes lavaDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 52% 48% 44% 56% / 48% 54% 46% 52%;
  }
  50% {
    transform: translate(-26vw, -22vh) scale(1.22);
    border-radius: 44% 56% 58% 42% / 55% 42% 58% 45%;
  }
  100% {
    transform: translate(-10vw, -40vh) scale(0.95);
    border-radius: 56% 44% 48% 52% / 42% 58% 42% 58%;
  }
}

@keyframes lavaDrift3 {
  0% {
    transform: translate(-15vw, -10vh) scale(0.9);
  }
  50% {
    transform: translate(18vw, 12vh) scale(1.25);
  }
  100% {
    transform: translate(-8vw, 22vh) scale(1.05);
  }
}

@keyframes lavaDrift4 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(32vw, -24vh) scale(1.15);
  }
  100% {
    transform: translate(16vw, -8vh) scale(0.88);
  }
}

.navbar,
.auth-wrapper,
.lobby-wrapper,
.room-wrapper,
.admin-page-wrapper {
  position: relative;
  z-index: 1;
}

/* =========================================================
   TAM EKRAN VERİTABANI & YÖNETİM KONSOLU (FULL-PAGE ADMIN VIEW)
   ========================================================= */
.admin-page-wrapper {
  max-width: 1480px;
  margin: 0 auto;
  padding: 1.4rem 1.8rem 3.5rem;
}

.admin-page-container {
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.65rem 1.85rem;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.85);
}

.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.admin-page-title-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.admin-page-title-left h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.admin-page-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-page-stats {
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)) !important;
  gap: 0.85rem !important;
  margin-bottom: 1.25rem !important;
}

.admin-page-stats .db-stat-box {
  padding: 0.95rem 1.15rem !important;
  background: #050508 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
}

.admin-page-stats .db-stat-box small {
  font-size: 0.76rem !important;
  margin-bottom: 0.35rem !important;
}

.admin-page-stats .db-stat-box strong {
  font-size: 1.65rem !important;
}

.admin-page-tabs {
  padding: 0.4rem !important;
  gap: 0.45rem !important;
  margin-bottom: 1.1rem !important;
  background: #040407 !important;
  border-radius: 12px !important;
}

.admin-page-tabs .admin-db-tab {
  font-size: 0.84rem !important;
  padding: 0.68rem 1rem !important;
  border-radius: 9px !important;
}

.admin-page-toolbar {
  margin-bottom: 1rem !important;
}

.admin-page-toolbar input {
  padding: 0.72rem 1rem !important;
  font-size: 0.88rem !important;
  border-radius: 10px !important;
}

.admin-page-content {
  max-height: none !important;
  min-height: 520px;
  border-radius: 14px !important;
  background: #040407 !important;
}

.admin-page-content .db-table {
  font-size: 0.85rem !important;
}

.admin-page-content .db-table th {
  padding: 0.85rem 1.05rem !important;
  font-size: 0.74rem !important;
}

.admin-page-content .db-table td {
  padding: 0.9rem 1.05rem !important;
}

/* Modern Compact SVG Icons */
.icon-xxs {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.icon-xs {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.icon-sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.icon-md {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.text-muted {
  color: var(--text-muted);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  display: inline-block;
  box-shadow: 0 0 6px var(--accent);
}

/* Modernized Sleek Glass Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.7rem 1.5rem;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.logo-icon {
  background: linear-gradient(145deg, #16161d, #09090c);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent-hover);
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.logo-icon.logo-emblem-35st {
  width: 52px;
  height: 36px;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-brand:hover .logo-icon.logo-emblem-35st {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(244, 63, 94, 0.42);
}

.logo-35st-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: block;
}

.accent {
  color: var(--accent-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-menu-dock {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #08080b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem;
  border-radius: 11px;
}

.nav-dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: transparent;
  border: none;
  color: #c4c4cc;
  font-size: 0.77rem;
  font-weight: 600;
  padding: 0.42rem 0.72rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.16s ease;
  position: relative;
}

.nav-dock-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-dock-btn.primary {
  background: var(--accent);
  color: #ffffff;
}

.nav-dock-btn.primary:hover {
  background: var(--accent-hover);
}

.nav-notif-dot {
  background: #10b981;
  color: #000;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.05rem 0.36rem;
  border-radius: 99px;
  line-height: 1.2;
}

.nav-profile-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-icon-ghost {
  background: #08080b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.user-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #08080b;
  padding: 0.24rem 0.68rem 0.24rem 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  transition: all 0.15s ease;
}

.user-pill.user-pill-avatar-only {
  padding: 0.16rem !important;
  gap: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
}

.user-pill.user-pill-avatar-only .user-avatar {
  width: 32px !important;
  height: 32px !important;
  font-size: 0.85rem !important;
}

.user-pill:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
}

/* Online & Customizable Avatar Glowing Frame Ring */
.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
  color: #fff;
  overflow: hidden;
  flex-shrink: 0;
  object-fit: cover;
  position: relative;
  --glow-color: #10b981;
  border: 2px solid var(--glow-color);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--glow-color) 25%, transparent), 0 0 11px var(--glow-color);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.user-avatar.online-ring {
  border-color: var(--glow-color) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--glow-color) 30%, transparent), 0 0 13px var(--glow-color);
}

.user-avatar.offline-ring {
  border-color: var(--glow-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--glow-color) 55%, transparent);
  opacity: 0.9;
}

.online-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.08rem 0.42rem;
  border-radius: 99px;
}

.verified-mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
}

.verified-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
}

.verify-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #09090d;
  border: 1px solid rgba(225, 29, 72, 0.28);
  padding: 0.65rem 1.1rem;
  border-radius: 11px;
  margin-bottom: 1.15rem;
  font-size: 0.8rem;
}

.verify-banner-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #d4d4d8;
}

/* Friends Modal & Producers Footer */
.friend-add-bar {
  display: flex;
  gap: 0.45rem;
}

.friend-add-bar input {
  flex: 1;
  background: #030304;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  color: var(--text-main);
  font-size: 0.82rem;
  outline: none;
}

.friend-add-bar input:focus {
  border-color: var(--accent);
}

.sub-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.friends-list-box {
  background: #040406;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.friend-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.35rem 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.producers-signature {
  margin-top: 1.15rem;
  padding: 0.85rem 1.1rem;
  text-align: center;
  background: #060608;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  text-transform: lowercase;
}

.producers-signature strong {
  color: #f4f4f6;
  font-weight: 700;
}

/* Admin Badge & Admin Panel */
.admin-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #fde047;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(225, 29, 72, 0.22));
  border: 1px solid rgba(245, 158, 11, 0.55);
  padding: 0.1rem 0.45rem;
  border-radius: 5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.admin-dock-btn {
  color: #fde047 !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  background: rgba(245, 158, 11, 0.1) !important;
}

.admin-dock-btn:hover {
  background: rgba(245, 158, 11, 0.2) !important;
}

/* Admin Database Control Center */
.admin-db-modal {
  max-width: 960px !important;
  width: 96% !important;
  padding: 1.35rem !important;
}

.admin-db-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.db-stat-box {
  background: #040406;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
}

.db-stat-box small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.db-stat-box strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fde047;
  font-family: Consolas, monospace;
}

.admin-db-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: #040406;
  padding: 0.3rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 0.8rem;
}

.admin-db-tab {
  flex: 1 1 auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
}

.admin-db-tab.active {
  background: var(--bg-elevated);
  color: #ffffff;
  border: 1px solid var(--border-strong);
}

.admin-db-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.admin-db-toolbar input {
  flex: 1;
  background: #030304;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.52rem 0.8rem;
  color: var(--text-main);
  font-size: 0.8rem;
  outline: none;
}

.admin-db-toolbar input:focus {
  border-color: var(--accent);
}

.admin-db-content {
  background: #040406;
  border: 1px solid var(--border);
  border-radius: 11px;
  max-height: 370px;
  overflow-y: auto;
  overflow-x: auto;
}

.db-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.77rem;
}

.db-table th {
  background: #0a0a0f;
  padding: 0.6rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
}

.db-table td {
  padding: 0.62rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.db-badge-ban {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
}

.db-badge-timeout {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fcd34d;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
}

.db-btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 0.25rem 0.5rem;
  font-size: 0.68rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.db-btn-danger:hover {
  background: rgba(239, 68, 68, 0.3);
}

.db-btn-warn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde047;
  padding: 0.25rem 0.5rem;
  font-size: 0.68rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.db-btn-ok {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 0.25rem 0.5rem;
  font-size: 0.68rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.leaderboard-card {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* =========================================================
   TELEFON & MOBİL UYUMLULUK (RESPONSIVE MOBILE DESIGN)
   ========================================================= */
@media (max-width: 768px) {
  .navbar {
    padding: 0.55rem 0.7rem;
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-brand {
    justify-content: space-between;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.45rem;
  }

  .nav-profile-group {
    width: 100%;
    justify-content: space-between;
  }

  .user-pill {
    flex: 1;
  }

  .nav-menu-dock {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.25rem;
  }

  .nav-dock-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.45rem 0.45rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .lobby-wrapper {
    padding: 0.85rem 0.65rem 2.5rem;
  }

  .verify-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.7rem 0.85rem;
  }

  .verify-banner .btn {
    width: 100%;
  }

  .hero-banner {
    padding: 1.1rem 0.95rem;
    margin-bottom: 1.2rem;
    border-radius: 12px;
  }

  .hero-content h2 {
    font-size: 1.22rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.79rem;
    margin-bottom: 0.85rem;
  }

  .instant-url-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .url-input-wrap {
    min-width: 0;
    width: 100%;
    padding: 0.25rem 0.2rem;
  }

  .instant-url-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .quick-join-box {
    width: 100%;
    justify-content: space-between;
  }

  .quick-join-box input {
    width: 100%;
    flex: 1;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  /* Responsive Leaderboard on Mobile Phones */
  .leaderboard-table th,
  .leaderboard-table td {
    padding: 0.55rem 0.45rem;
    font-size: 0.74rem;
  }

  /* Hide Title and Progress bar columns on narrow phone screens so Rank, User, Friend & Watch Hours fit cleanly */
  .leaderboard-table th:nth-child(3),
  .leaderboard-table td:nth-child(3),
  .leaderboard-table th:nth-child(5),
  .leaderboard-table td:nth-child(5) {
    display: none;
  }

  .lb-user-cell {
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  .lb-hours-badge {
    font-size: 0.68rem;
    padding: 0.18rem 0.4rem;
    white-space: nowrap;
  }

  /* Watch Room Mobile View */
  .room-wrapper {
    padding: 0.55rem 0.55rem 1.8rem;
  }

  .room-topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem 0.75rem;
    gap: 0.6rem;
  }

  .room-left-info {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .room-code-bar {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .code-display-box {
    flex: 1;
    justify-content: center;
  }

  .player-control-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem 0.75rem;
    gap: 0.55rem;
  }

  .control-left {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .timeline-wrapper {
    order: -1;
    width: 100%;
  }

  .control-right {
    justify-content: space-between;
  }

  .host-authority-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .authority-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  #hostChangeMovieBox,
  #hostChangeMovieBox .btn {
    width: 100%;
  }

  .chat-panel {
    height: 340px;
  }

  .modal-card {
    padding: 1.15rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .toti-chat-window {
    width: calc(100vw - 24px) !important;
    right: 12px !important;
    bottom: 72px !important;
    height: 410px !important;
  }

  .toti-launcher-btn {
    right: 12px !important;
    bottom: 12px !important;
    padding: 0.5rem 0.8rem !important;
  }
}

/* =========================================================
   TOTİ YAPAY ZEKA & CANLI DESTEK ASİSTANI (WIDGET)
   ========================================================= */
.toti-widget-wrapper {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 160;
}

.toti-launcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #111116 0%, #190910 100%);
  border: 1px solid rgba(225, 29, 72, 0.55);
  color: #ffffff;
  padding: 0.58rem 0.95rem 0.58rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.8), 0 0 16px rgba(225, 29, 72, 0.25);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.toti-launcher-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-hover);
}

.toti-launcher-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.toti-launcher-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.toti-launcher-label strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.toti-launcher-label small {
  font-size: 0.66rem;
  color: #10b981;
  font-weight: 600;
}

.toti-chat-window {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 345px;
  height: 455px;
  background: #08080b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.toti-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, #121218 0%, #1c0a11 100%);
  border-bottom: 1px solid var(--border);
}

.toti-header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.toti-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.45);
}

.toti-title {
  font-size: 0.92rem;
  font-weight: 800;
}

.toti-ai-badge {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(225, 29, 72, 0.45);
  color: #fda4af;
  padding: 0.08rem 0.38rem;
  border-radius: 5px;
}

.toti-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.toti-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

.toti-messages {
  flex: 1;
  padding: 0.85rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toti-bubble {
  max-width: 86%;
  padding: 0.58rem 0.78rem;
  border-radius: 11px;
  font-size: 0.79rem;
  line-height: 1.45;
}

.toti-bubble.bot {
  align-self: flex-start;
  background: #121217;
  border: 1px solid var(--border);
  color: #f4f4f6;
  border-bottom-left-radius: 3px;
}

.toti-bubble.user {
  align-self: flex-end;
  background: var(--accent);
  color: #ffffff;
  border-bottom-right-radius: 3px;
}

.toti-quick-chips {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #060608;
}

.toti-chip {
  background: #111116;
  border: 1px solid var(--border);
  color: #d4d4d8;
  font-size: 0.69rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 99px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
}

.toti-chip:hover {
  border-color: var(--accent-hover);
  color: #fff;
}

.toti-input-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem;
  background: #040406;
  border-top: 1px solid var(--border);
}

.toti-input-bar input {
  flex: 1;
  background: #0b0b0f;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.48rem 0.7rem;
  color: var(--text-main);
  font-size: 0.79rem;
  outline: none;
}

.toti-input-bar input:focus {
  border-color: var(--accent);
}

/* =========================================================
   SOL ALT KÖŞE CANLI KAMERA KUTUSU (BOTTOM-LEFT WEBCAM PIP)
   ========================================================= */
.camera-dock-bottom-left {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 155;
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
  pointer-events: none;
}

.camera-pip-card {
  width: 195px;
  height: 132px;
  background: #060609;
  border: 2px solid #10b981;
  border-radius: 13px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.85), 0 0 14px rgba(16, 185, 129, 0.35);
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-pip-card video,
.camera-pip-card img.remote-cam-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  display: block;
}

.camera-fallback-stage {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 35%, #161622 0%, #060609 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.camera-pip-footer {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.22rem 0.5rem;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #f4f4f6;
}

.camera-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  flex-shrink: 0;
}

.camera-close-mini {
  margin-left: auto;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font-size: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.camera-close-mini:hover {
  background: rgba(239, 68, 68, 0.45);
  color: #fff;
}

.remote-cameras-row {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn-camera-active {
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: #10b981 !important;
  color: #6ee7b7 !important;
}

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

.btn-mic-muted {
  background: rgba(239, 68, 68, 0.16) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  color: #fca5a5 !important;
}

.btn-voice-lobby {
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #ffffff;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

.btn-voice-lobby:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Modern Voice Chat Lobby Stage inside Room */
.voice-lobby-stage {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, #0c0e14 0%, #030305 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem;
  z-index: 6;
  overflow: hidden;
}

.voice-lobby-grid {
  width: 100%;
  height: 100%;
  display: grid;
  gap: 0.9rem;
  align-items: stretch;
  justify-content: center;
}

/* Dynamic scaling based on participant count */
.voice-lobby-grid[data-count="1"] {
  grid-template-columns: minmax(260px, 640px);
  grid-auto-rows: 1fr;
}

.voice-lobby-grid[data-count="2"] {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
}

.voice-lobby-grid[data-count="3"],
.voice-lobby-grid[data-count="4"] {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.voice-lobby-grid[data-count="5"],
.voice-lobby-grid[data-count="6"] {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.voice-lobby-grid[data-count="many"] {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 1fr;
}

.voice-participant-tile {
  background: linear-gradient(145deg, #0d0e14 0%, #07070b 100%);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

.voice-participant-tile.speaking {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28), 0 14px 36px rgba(16, 185, 129, 0.25);
}

/* Camera video or frame fills the entire participant tile */
.voice-tile-cam-video,
.voice-tile-cam-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  z-index: 1;
}

/* Profile picture container in the center when camera is off */
.voice-tile-avatar-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive avatar size inside tiles depending on participant count */
.voice-lobby-grid[data-count="1"] .voice-tile-avatar {
  width: 108px !important;
  height: 108px !important;
  font-size: 2.3rem !important;
}

.voice-lobby-grid[data-count="2"] .voice-tile-avatar {
  width: 88px !important;
  height: 88px !important;
  font-size: 1.85rem !important;
}

.voice-tile-avatar {
  width: 72px;
  height: 72px;
  font-size: 1.45rem;
  border: 3px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
  transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

/* Glowing green border ring around the profile picture when voice/sound is detected */
.voice-tile-avatar.voice-speaking-ring {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.35), 0 0 24px rgba(16, 185, 129, 0.85) !important;
  transform: scale(1.05);
}

/* =========================================================
   DISCORD NITRO TARZI EVRİLEN ROZET SİSTEMİ (HER 50 SAATTE 1)
   ========================================================= */
.nitro-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.14rem 0.52rem 0.14rem 0.35rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
  position: relative;
  cursor: default;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nitro-badge-pill:hover {
  transform: translateY(-1px) scale(1.04);
}

.nitro-badge-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.nitro-badge-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.nitro-badge-mini:hover {
  transform: scale(1.18);
}

.nitro-badge-mini svg {
  width: 15px;
  height: 15px;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55));
}

/* Profile Modal Nitro Progression Showcase */
.nitro-progression-box {
  background: #040406;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.8rem 0.95rem;
  margin-bottom: 1rem;
}

.nitro-prog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.nitro-next-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: #c084fc;
  font-family: Consolas, monospace;
}

.nitro-prog-bar-wrap {
  width: 100%;
  height: 6px;
  background: #121218;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.7rem;
}

.nitro-prog-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6);
  border-radius: 99px;
  transition: width 0.25s ease;
}

.nitro-tiers-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.4rem;
}

.nitro-tier-card {
  background: #09090d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.4rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  opacity: 0.42;
  transition: all 0.18s ease;
}

.nitro-tier-card.unlocked {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.16);
}

.nitro-tier-card.current {
  opacity: 1;
  background: rgba(139, 92, 246, 0.12);
  border-color: #a855f7;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.28);
}

.nitro-tier-card small {
  font-size: 0.62rem;
  font-family: Consolas, monospace;
  color: var(--text-muted);
}

.nitro-tier-card strong {
  font-size: 0.66rem;
  line-height: 1.15;
}

/* Early Supporter (Erken Dönem Destekçisi) Badge */
.early-supporter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.14rem 0.54rem 0.14rem 0.36rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.24), rgba(251, 191, 36, 0.24));
  border: 1px solid rgba(244, 114, 182, 0.65);
  color: #fbcfe8;
  box-shadow: 0 0 12px rgba(244, 114, 182, 0.35);
}

.early-supporter-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Discord-Style User Profile & Badge Showcase Modal */
.dc-profile-card {
  padding: 0 !important;
  overflow: hidden;
  max-width: 420px !important;
  background: #09090d !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 16px !important;
}

.dc-profile-banner {
  height: 86px;
  background: linear-gradient(135deg, #be123c 0%, #6d28d9 55%, #0f172a 100%);
  position: relative;
}

.dc-banner-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-profile-body {
  padding: 0 1.25rem 1.25rem;
}

.dc-profile-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -36px;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 2;
}

.dc-profile-avatar {
  width: 72px !important;
  height: 72px !important;
  font-size: 1.55rem !important;
  border: 4px solid #09090d !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.dc-badge-tray {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.55rem;
  border-radius: 10px;
  flex-wrap: wrap;
}

.dc-tray-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 0.15s;
}

.dc-tray-icon:hover {
  transform: scale(1.15);
}

.dc-tray-icon svg {
  width: 16px;
  height: 16px;
}

.dc-profile-identity h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.dc-profile-identity small {
  color: var(--text-muted);
  font-size: 0.75rem;
  display: block;
  margin-top: 0.15rem;
}

.dc-profile-section {
  margin-top: 0.95rem;
  background: #050508;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.75rem 0.85rem;
}

.dc-earned-badges-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dc-earned-badge-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.6rem;
  border-radius: 9px;
  background: #0b0b10;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.dc-earned-badge-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dc-earned-badge-icon svg {
  width: 22px;
  height: 22px;
}

.dc-earned-badge-info strong {
  display: block;
  font-size: 0.79rem;
}

.dc-earned-badge-info small {
  color: var(--text-muted);
  font-size: 0.69rem;
}

.dc-profile-actions {
  margin-top: 0.95rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
}

.lb-user-clickable {
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  border-radius: 8px;
  transition: background 0.15s;
}

.lb-user-clickable:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* 5-Digit Empty OTP Boxes & 2-Minute Cooldown Bar */
.otp-boxes-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.4rem 0 0.6rem;
}

.otp-digit-box {
  width: 50px !important;
  height: 56px !important;
  text-align: center;
  font-size: 1.45rem !important;
  font-weight: 800;
  font-family: Consolas, monospace;
  background: #030305 !important;
  border: 2px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 11px !important;
  color: #ffffff !important;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.otp-digit-box:focus {
  border-color: var(--accent-hover) !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.25), 0 0 14px rgba(225, 29, 72, 0.35);
  transform: translateY(-2px);
}

.otp-digit-box.filled {
  border-color: #10b981 !important;
  color: #6ee7b7 !important;
}

.otp-resend-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background: #040407;
  border: 1px solid var(--border);
  padding: 0.55rem 0.8rem;
  border-radius: 9px;
  flex-wrap: wrap;
}

.otp-cooldown-text {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: Consolas, monospace;
}

/* Muted microphone icon badge ONLY when user is muted (on top of PP or camera) */
.voice-mute-badge-pp {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ef4444;
  border: 2.5px solid #07070b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.55);
}

.voice-mute-badge-cam {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.92);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

/* Clean minimal name pill at bottom-left of tile */
.voice-tile-name-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  background: rgba(6, 6, 9, 0.76);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.24rem 0.65rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #e4e4e7;
}

/* Dedicated centered Voice Dock when in Voice Lobby Mode */
.player-control-bar.voice-dock-mode {
  justify-content: center !important;
  padding: 0.85rem 1.2rem !important;
  background: #060609 !important;
}

.player-control-bar.voice-dock-mode .control-right {
  gap: 0.75rem !important;
}

.player-control-bar.voice-dock-mode #btnToggleMic,
.player-control-bar.voice-dock-mode #btnToggleCamera,
.player-control-bar.voice-dock-mode #btnToggleScreenShare,
.player-control-bar.voice-dock-mode #btnVoiceLeaveLobby {
  padding: 0.62rem 1.15rem !important;
  font-size: 0.82rem !important;
  border-radius: 999px !important;
}

.btn-screen-active {
  background: rgba(59, 130, 246, 0.22) !important;
  border-color: #3b82f6 !important;
  color: #93c5fd !important;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

/* Screen Share Spotlight inside Stage */
.voice-lobby-stage.has-screen-share {
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem;
}

.screen-share-spotlight {
  width: 100%;
  flex: 1 1 68%;
  min-height: 210px;
  background: #030306;
  border: 2px solid #3b82f6;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(59, 130, 246, 0.25);
}

.screen-share-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.screen-share-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #e4e4e7;
  text-align: center;
  padding: 1rem;
}

.screen-share-fallback small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.screen-share-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 130, 246, 0.45);
  padding: 0.28rem 0.7rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #93c5fd;
  z-index: 5;
}

.voice-lobby-stage.has-screen-share .voice-lobby-grid {
  flex: 0 0 115px;
  height: 115px;
  display: flex !important;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem;
}

.voice-lobby-stage.has-screen-share .voice-participant-tile {
  flex: 0 1 175px;
  min-width: 130px;
  border-radius: 12px;
}

.voice-lobby-stage.has-screen-share .voice-tile-avatar {
  width: 46px !important;
  height: 46px !important;
  font-size: 1rem !important;
}

.btn-leave-voice {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.btn-leave-voice:hover {
  background: #ef4444;
  color: #ffffff;
}

@media (max-width: 768px) {
  .voice-lobby-grid[data-count="2"] {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .camera-dock-bottom-left {
    left: 10px;
    bottom: 10px;
  }

  .camera-pip-card {
    width: 145px;
    height: 102px;
  }
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Profile Modal Styles */
.profile-preview-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #040406;
  border: 1px solid var(--border);
  padding: 0.9rem 1rem;
  border-radius: 11px;
  margin-bottom: 1rem;
}

.profile-avatar-lg {
  width: 60px;
  height: 60px;
  font-size: 1.35rem;
  border: 2px solid var(--border-strong);
}

.profile-preview-info {
  flex: 1;
}

.profile-preview-info strong {
  display: block;
  font-size: 0.96rem;
}

.profile-preview-info small {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.profile-upload-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.preset-avatars-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.preset-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-elevated);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}

.preset-avatar-btn:hover,
.preset-avatar-btn.active {
  border-color: var(--accent-hover);
  transform: scale(1.07);
}

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

.color-swatches-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.color-swatch-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s;
}

.color-swatch-btn.active {
  border-color: #ffffff;
  transform: scale(1.12);
}

.cooldown-badge {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.14rem 0.48rem;
  border-radius: 5px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.cooldown-badge.locked {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.field-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  line-height: 1.35;
}

.user-name {
  font-size: 0.8rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-main);
  line-height: 1;
}

.btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.btn-sm {
  padding: 0.42rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 7px;
}

.btn-md {
  padding: 0.6rem 1.1rem;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 0.72rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 9px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: #e4e4e7;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--border-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

/* Auth View */
.auth-wrapper {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  max-width: 430px;
  width: 100%;
  padding: 1.85rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 1.4rem;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.auth-header h1 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 0.45rem;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #040405;
  padding: 0.22rem;
  border-radius: 9px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}

.auth-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
}

.auth-tab.active {
  background: var(--bg-elevated);
  color: var(--text-main);
}

.form-group {
  margin-bottom: 0.95rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a1a1aa;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #030304;
  color: var(--text-main);
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 0.55rem 0.75rem;
  border-radius: 7px;
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
}

.auth-features {
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.feat-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
}

.feat-item small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

/* Lobby View */
.lobby-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem 3.5rem;
}

.hero-banner {
  background: linear-gradient(135deg, #0b0b0e 0%, #050507 65%, #12060a 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.85rem 2rem;
  margin-bottom: 2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}

.hero-content h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 0.45rem;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 640px;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.instant-url-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  background: #030304;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.4rem 0.5rem;
  max-width: 780px;
}

.url-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 240px;
  padding-left: 0.4rem;
}

.url-input-wrap input {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.82rem;
  width: 100%;
  outline: none;
}

.instant-url-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.movie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.youtube-stage {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: #000;
}

.youtube-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.room-main-grid.solo-mode {
  grid-template-columns: 1fr;
  max-width: 1120px;
  margin: 0 auto;
}

.quick-join-box {
  display: flex;
  align-items: center;
  background: #030304;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 0.22rem;
}

.quick-join-box input {
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 195px;
  outline: none;
}

/* Catalog Section */
.catalog-section {
  margin-bottom: 2.2rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.08rem;
  font-weight: 700;
}

.section-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.active-rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}

.active-room-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.9rem 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Leaderboard / Sıralama Styles */
.leaderboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.leaderboard-table th {
  background: #0b0b0f;
  padding: 0.75rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.leaderboard-table td {
  padding: 0.85rem 1.15rem;
  font-size: 0.84rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.leaderboard-table tr:last-child td {
  border-bottom: none;
}

.leaderboard-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.leaderboard-table tr.is-me td {
  background: rgba(225, 29, 72, 0.06);
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 0.45rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.rank-pill.rank-1 {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.rank-pill.rank-2 {
  background: rgba(228, 228, 231, 0.14);
  border-color: rgba(228, 228, 231, 0.35);
  color: #e4e4e7;
}

.rank-pill.rank-3 {
  background: rgba(217, 119, 6, 0.14);
  border-color: rgba(217, 119, 6, 0.35);
  color: #fdba74;
}

.lb-user-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
}

.lb-me-tag {
  font-size: 0.65rem;
  background: rgba(225, 29, 72, 0.18);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #fda4af;
  padding: 0.1rem 0.42rem;
  border-radius: 5px;
  font-weight: 700;
}

.lb-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: Consolas, monospace;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  padding: 0.25rem 0.6rem;
  border-radius: 7px;
}

.lb-progress-wrap {
  width: 140px;
  height: 5px;
  background: #141419;
  border-radius: 99px;
  overflow: hidden;
}

.lb-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
}

.movie-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, border-color 0.18s;
}

.movie-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.movie-poster {
  height: 150px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.movie-poster-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.movie-badge {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #e4e4e7;
}

.movie-duration {
  background: rgba(0, 0, 0, 0.72);
  padding: 0.18rem 0.48rem;
  border-radius: 5px;
  font-size: 0.68rem;
  color: #a1a1aa;
}

.movie-poster-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.movie-body {
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.movie-meta {
  font-size: 0.74rem;
  color: var(--accent-hover);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.movie-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex: 1;
}

.movie-actions {
  display: grid;
  grid-template-columns: 1fr;
}

/* Watch Room View */
.room-wrapper {
  max-width: 1580px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem 2rem;
}

.room-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.65rem 1rem;
  border-radius: 11px;
  margin-bottom: 0.9rem;
}

.room-left-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.room-title-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.room-title-box h2 {
  font-size: 1rem;
  font-weight: 700;
}

.room-movie-badge {
  background: var(--bg-elevated);
  color: #d4d4d8;
  border: 1px solid var(--border);
  padding: 0.16rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}

.room-code-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.code-display-box {
  background: #030304;
  border: 1px solid var(--border-strong);
  padding: 0.32rem 0.7rem;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.code-label {
  font-size: 0.66rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.6px;
}

.code-value {
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: #ffffff;
  font-family: Consolas, monospace;
}

.room-main-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 1.15rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .room-main-grid {
    grid-template-columns: 1fr;
  }
}

.player-column {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sync-status-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #d4d4d8;
  pointer-events: none;
}

.sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.guest-paused-banner {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.paused-card {
  background: rgba(8, 8, 10, 0.95);
  border: 1px solid var(--border-strong);
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.paused-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.paused-card strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.paused-card p {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.autoplay-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.player-control-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: #050507;
  border-top: 1px solid var(--border);
}

.control-left,
.control-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.time-readout {
  font-family: Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.timeline-wrapper {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
}

.timeline-wrapper input[type="range"] {
  width: 100%;
  height: 4px;
  accent-color: var(--accent);
  cursor: pointer;
}

.volume-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.volume-box input[type="range"] {
  width: 65px;
  height: 4px;
  accent-color: var(--accent);
}

.host-authority-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: #08080a;
  border-top: 1px solid var(--border);
}

.authority-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.role-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.24rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}

.role-badge.host {
  background: rgba(225, 29, 72, 0.14);
  color: #fda4af;
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.role-badge.guest {
  background: var(--bg-elevated);
  color: #a1a1aa;
  border: 1px solid var(--border);
}

.authority-left p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Sidebar */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.participants-panel,
.chat-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  background: #0b0b0e;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.82rem;
}

.panel-title-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.count-pill {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.7rem;
  padding: 0.1rem 0.48rem;
  border-radius: 99px;
}

.chat-live-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
}

.participants-list {
  padding: 0.65rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 155px;
  overflow-y: auto;
}

.participant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.participant-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.participant-host-tag {
  font-size: 0.65rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: #e4e4e7;
  padding: 0.1rem 0.42rem;
  border-radius: 5px;
  font-weight: 600;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  height: 560px;
}

.chat-messages {
  flex: 1;
  padding: 0.95rem 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-msg {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.chat-msg.system {
  background: #050507;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.74rem;
}

.chat-msg-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.15rem;
  font-size: 0.7rem;
}

.chat-sender {
  font-weight: 600;
}

.chat-time {
  color: var(--text-muted);
}

.chat-input-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem;
  border-top: 1px solid var(--border);
  background: #040405;
}

.chat-input-bar input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.48rem 0.7rem;
  font-size: 0.8rem;
  color: var(--text-main);
  outline: none;
}

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

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  max-width: 420px;
  width: 100%;
  padding: 1.4rem;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.modal-header h3 {
  font-size: 1rem;
  font-weight: 700;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
}

.modal-info-note {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.76rem;
  line-height: 1.45;
  margin-bottom: 1.1rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.code-input-large {
  text-align: center;
  font-size: 1.2rem !important;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast-item {
  background: #111115;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  color: var(--text-main);
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}


/* =========================================================
   TELEFONDAN BAĞLANANLAR İÇİN BASİTLEŞTİRİLMİŞ MOBİL ARAYÜZ & ALT MENÜ
   ========================================================= */
.mobile-device-pill {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.64rem;
  font-weight: 800;
  color: #fda4af;
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.4);
  padding: 0.12rem 0.45rem;
  border-radius: 99px;
  margin-left: 0.45rem;
  letter-spacing: 0.3px;
  vertical-align: middle;
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 170;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(6, 6, 10, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.35rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.85);
}

.mobile-nav-item {
  position: relative;
  background: transparent;
  border: none;
  color: #a1a1aa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.38rem 0.2rem;
  border-radius: 10px;
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.mobile-nav-item:active,
.mobile-nav-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-item.primary-mob-item {
  color: #fda4af;
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.38);
}

.mobile-nav-badge {
  position: absolute;
  top: 2px;
  right: 14%;
  background: var(--accent);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

body.is-mobile-phone {
  padding-bottom: 78px;
}

/* Üst menüdeki kalabalık 6'lı masaüstü buton grubunu gizle, sadece Logo + Profil kalsın */
body.is-mobile-phone .navbar {
  padding: 0.55rem 0.85rem;
}

body.is-mobile-phone .nav-menu-dock {
  display: none !important;
}

body.is-mobile-phone .lobby-wrapper,
body.is-mobile-phone .room-wrapper {
  padding: 0.75rem 0.75rem 1.5rem;
}

/* Mobil Lobi: Daha sade, tek bakışta anlaşılır hızlı kart */
body.is-mobile-phone .hero-banner {
  padding: 1.05rem 0.95rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}

body.is-mobile-phone .hero-content h2 {
  font-size: 1.12rem;
  line-height: 1.3;
  margin-bottom: 0.55rem;
}

body.is-mobile-phone .hero-content > p {
  display: none !important;
}

body.is-mobile-phone .instant-url-bar {
  flex-direction: column;
  padding: 0.55rem;
  gap: 0.5rem;
  border-radius: 12px;
}

body.is-mobile-phone .url-input-wrap {
  width: 100%;
  padding: 0.35rem 0.45rem;
}

body.is-mobile-phone .url-input-wrap input {
  font-size: 0.84rem;
}

body.is-mobile-phone .instant-url-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

body.is-mobile-phone .instant-url-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.62rem 0.5rem;
  font-size: 0.78rem;
}

body.is-mobile-phone .hero-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 0.65rem !important;
}

body.is-mobile-phone .hero-actions .btn-voice-lobby {
  width: 100%;
  justify-content: center;
  padding: 0.68rem 0.8rem;
  font-size: 0.84rem;
}

body.is-mobile-phone .quick-join-box {
  width: 100%;
  display: flex;
}

body.is-mobile-phone .quick-join-box input {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
}

/* Mobil Sıralama Tablosu: Fazla sütunları gizle, telefona tam sığdır */
body.is-mobile-phone .catalog-section .section-sub {
  display: none;
}

body.is-mobile-phone .catalog-section .section-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

body.is-mobile-phone .leaderboard-table th:nth-child(3),
body.is-mobile-phone .leaderboard-table td:nth-child(3),
body.is-mobile-phone .leaderboard-table th:nth-child(4),
body.is-mobile-phone .leaderboard-table td:nth-child(4),
body.is-mobile-phone .leaderboard-table th:nth-child(5),
body.is-mobile-phone .leaderboard-table td:nth-child(5) {
  display: none !important;
}

body.is-mobile-phone .leaderboard-table th,
body.is-mobile-phone .leaderboard-table td {
  padding: 0.65rem 0.55rem;
  font-size: 0.78rem;
}

/* Mobil Film & Sesli Sohbet Odası: Basit ve büyük dokunmatik butonlar */
body.is-mobile-phone .room-topbar {
  padding: 0.55rem 0.7rem;
  gap: 0.45rem;
  flex-wrap: wrap;
}

body.is-mobile-phone .room-title-box {
  display: none !important;
}

body.is-mobile-phone .room-code-bar button:last-child {
  display: none !important;
}

body.is-mobile-phone .player-control-bar {
  flex-direction: column;
  align-items: stretch;
  padding: 0.65rem 0.7rem;
  gap: 0.55rem;
}

body.is-mobile-phone .control-left {
  width: 100%;
  justify-content: space-between;
}

body.is-mobile-phone .volume-box,
body.is-mobile-phone #btnToggleScreenShare {
  display: none !important;
}

body.is-mobile-phone .control-right {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.45rem;
}

body.is-mobile-phone .control-right .btn {
  width: 100%;
  justify-content: center;
  padding: 0.62rem 0.45rem;
  font-size: 0.78rem;
}

body.is-mobile-phone .host-authority-bar {
  padding: 0.55rem 0.75rem;
}

body.is-mobile-phone #roleDescription {
  display: none !important;
}

body.is-mobile-phone .voice-lobby-stage {
  min-height: 300px;
  padding: 0.65rem;
}

body.is-mobile-phone .voice-lobby-grid[data-count="1"],
body.is-mobile-phone .voice-lobby-grid[data-count="2"] {
  grid-template-columns: 1fr !important;
}

body.is-mobile-phone .voice-participant-tile {
  min-height: 185px;
}

body.is-mobile-phone .chat-panel {
  height: 290px;
}

/* Toti AI ve Kamera PIP kutusunu alt menünün üstüne hizala */
body.is-mobile-phone .toti-widget-root {
  bottom: 76px;
  right: 12px;
}

body.is-mobile-phone .toti-launcher-label {
  display: none !important;
}

body.is-mobile-phone .toti-launcher-btn {
  padding: 0.55rem;
  border-radius: 50%;
}

body.is-mobile-phone .toti-chat-window {
  width: calc(100vw - 24px);
  height: 390px;
  right: 0;
  bottom: 56px;
}

body.is-mobile-phone .camera-dock-bottom-left {
  left: 10px;
  bottom: 76px;
}

body.is-mobile-phone .camera-pip-card {
  width: 135px;
  height: 96px;
}

body.is-mobile-phone .toast-container {
  bottom: 78px;
  right: 12px;
  left: 12px;
}


/* =========================================================
   SADECE PARLAK YEŞİL NOKTA (ONLINE GLOW DOT)
   ========================================================= */
.online-glow-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981, 0 0 15px rgba(16, 185, 129, 0.85);
  border: 1.5px solid #6ee7b7;
  flex-shrink: 0;
  vertical-align: middle;
}


/* =========================================================
   PEMBE IŞIKLI "SEVGİLİM" ROLÜ, ADMİN ROZETİ VE YENİ ADMİN OLUŞTURMA KUTUSU
   ========================================================= */
.role-sevgilim-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.28) 0%, rgba(244, 114, 182, 0.22) 50%, rgba(190, 24, 93, 0.32) 100%);
  border: 1.5px solid #f472b6;
  color: #fce7f3;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.16rem 0.62rem;
  border-radius: 99px;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.75), 0 0 22px rgba(244, 114, 182, 0.45), inset 0 0 8px rgba(244, 114, 182, 0.35);
  text-shadow: 0 0 8px rgba(244, 114, 182, 0.9);
  vertical-align: middle;
  animation: pinkRolePulse 2.4s ease-in-out infinite alternate;
}

.role-sevgilim-pill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px #ec4899);
}

.role-sevgilim-mini {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.32), rgba(244, 114, 182, 0.25)) !important;
  border: 1.5px solid #f472b6 !important;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.8), 0 0 18px rgba(244, 114, 182, 0.45) !important;
  animation: pinkRolePulse 2.4s ease-in-out infinite alternate;
}

@keyframes pinkRolePulse {
  0% {
    box-shadow: 0 0 9px rgba(236, 72, 153, 0.65), 0 0 16px rgba(244, 114, 182, 0.35);
  }
  100% {
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.95), 0 0 26px rgba(244, 114, 182, 0.65);
  }
}

.btn-role-sevgilim {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.24), rgba(190, 24, 93, 0.32));
  border: 1px solid #f472b6;
  color: #fce7f3;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.34rem 0.72rem;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.45);
  transition: all 0.16s ease;
}

.btn-role-sevgilim:hover,
.btn-role-sevgilim.active {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.45), rgba(219, 39, 119, 0.55));
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.8);
  color: #ffffff;
}

.subadmin-pill-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.55);
  color: #93c5fd;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 0.1rem 0.46rem;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.35);
  text-transform: uppercase;
}

.founder-create-admin-box {
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.95) 0%, rgba(16, 10, 24, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 13px;
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.founder-create-admin-left {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.founder-create-admin-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.founder-create-admin-form input {
  background: #040407;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 0.48rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  outline: none;
  min-width: 175px;
}

.founder-create-admin-form input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}


/* =========================================================
   CANLI TEMA ÖNİZLEME BARI & 3 MODERN 2026 TEMA PAKETİ
   ========================================================= */
.theme-preview-bar {
  position: relative;
  z-index: 48;
  max-width: 1280px;
  margin: 0.55rem auto 0;
  padding: 0 1.5rem;
}

.theme-preview-inner {
  background: rgba(12, 12, 18, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.45rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.theme-preview-label {
  font-size: 0.78rem;
  color: #e4e4e7;
}

.theme-preview-buttons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.theme-opt-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.36rem 0.75rem;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.theme-opt-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.theme-opt-btn.active {
  background: linear-gradient(135deg, #e11d48 0%, #9333ea 100%);
  border-color: #f472b6;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.55);
}

/* ---------------------------------------------------------
   TEMA 1: APPLE VISION GLASS (YÜZEN ADA & DERİN BUZLU CAM 2026)
   --------------------------------------------------------- */
body[data-theme="vision-glass"] .navbar {
  max-width: 1250px;
  margin: 12px auto 0;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  background: rgba(16, 16, 26, 0.58);
  backdrop-filter: blur(36px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body[data-theme="vision-glass"] .nav-menu-dock {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.24rem;
}

body[data-theme="vision-glass"] .nav-dock-btn {
  border-radius: 999px;
}

body[data-theme="vision-glass"] .hero-banner,
body[data-theme="vision-glass"] .leaderboard-card,
body[data-theme="vision-glass"] .player-column,
body[data-theme="vision-glass"] .participants-panel,
body[data-theme="vision-glass"] .chat-panel,
body[data-theme="vision-glass"] .auth-card,
body[data-theme="vision-glass"] .modal-card,
body[data-theme="vision-glass"] .admin-page-container {
  background: linear-gradient(165deg, rgba(24, 24, 38, 0.62) 0%, rgba(10, 10, 18, 0.76) 100%) !important;
  backdrop-filter: blur(34px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 24px !important;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.78), inset 0 1px 1px rgba(255, 255, 255, 0.22) !important;
}

body[data-theme="vision-glass"] .instant-url-bar {
  background: rgba(6, 6, 12, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.42rem 0.55rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.65);
}

body[data-theme="vision-glass"] .btn {
  border-radius: 999px;
}

body[data-theme="vision-glass"] .btn-primary {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ---------------------------------------------------------
   TEMA 2: CYBER-NEON NITRO (DİSCORD NİTRO / OLED LAZER AURA)
   --------------------------------------------------------- */
body[data-theme="cyber-nitro"] .navbar {
  background: rgba(7, 5, 15, 0.86);
  border-bottom: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 6px 32px rgba(168, 85, 247, 0.22);
}

body[data-theme="cyber-nitro"] .hero-banner,
body[data-theme="cyber-nitro"] .leaderboard-card,
body[data-theme="cyber-nitro"] .player-column,
body[data-theme="cyber-nitro"] .participants-panel,
body[data-theme="cyber-nitro"] .chat-panel,
body[data-theme="cyber-nitro"] .auth-card,
body[data-theme="cyber-nitro"] .modal-card,
body[data-theme="cyber-nitro"] .admin-page-container {
  background: linear-gradient(160deg, rgba(15, 9, 28, 0.88) 0%, rgba(6, 4, 12, 0.94) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.38) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.88), 0 0 28px rgba(225, 29, 72, 0.15), 0 0 45px rgba(168, 85, 247, 0.14), inset 0 1px 0 rgba(244, 114, 182, 0.45) !important;
}

body[data-theme="cyber-nitro"] .hero-content h2 {
  background: linear-gradient(90deg, #ffffff 0%, #fda4af 48%, #d8b4fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-theme="cyber-nitro"] .btn-primary,
body[data-theme="cyber-nitro"] .nav-dock-btn.primary {
  background: linear-gradient(135deg, #e11d48 0%, #9333ea 55%, #4f46e5 100%) !important;
  border: 1px solid rgba(244, 114, 182, 0.6) !important;
  box-shadow: 0 0 20px rgba(225, 29, 72, 0.5), 0 0 32px rgba(147, 51, 234, 0.35) !important;
}

body[data-theme="cyber-nitro"] .leaderboard-table tbody tr:hover {
  background: rgba(168, 85, 247, 0.12) !important;
  box-shadow: inset 0 0 18px rgba(236, 72, 153, 0.18);
}

/* ---------------------------------------------------------
   TEMA 3: VIP IMAX GOLD (ALTIN & YAKUT KIRMIZI SİNEMA SALONU)
   --------------------------------------------------------- */
body[data-theme="imax-velvet"] .navbar {
  background: rgba(14, 7, 9, 0.88);
  border-bottom: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 8px 30px rgba(190, 18, 60, 0.18);
}

body[data-theme="imax-velvet"] .hero-banner,
body[data-theme="imax-velvet"] .leaderboard-card,
body[data-theme="imax-velvet"] .player-column,
body[data-theme="imax-velvet"] .participants-panel,
body[data-theme="imax-velvet"] .chat-panel,
body[data-theme="imax-velvet"] .auth-card,
body[data-theme="imax-velvet"] .modal-card,
body[data-theme="imax-velvet"] .admin-page-container {
  background: linear-gradient(160deg, rgba(24, 10, 14, 0.86) 0%, rgba(9, 6, 7, 0.94) 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.26) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(225, 29, 72, 0.14), inset 0 1px 0 rgba(253, 224, 71, 0.28) !important;
}

body[data-theme="imax-velvet"] .hero-tag {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fde047;
  background: rgba(251, 191, 36, 0.12);
}

body[data-theme="imax-velvet"] .btn-primary,
body[data-theme="imax-velvet"] .nav-dock-btn.primary {
  background: linear-gradient(135deg, #be123c 0%, #e11d48 52%, #d97706 100%) !important;
  border: 1px solid rgba(253, 224, 71, 0.45) !important;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.45) !important;
}


/* =========================================================
   ARKADAŞLIK İSTEĞİ "1" CANLI BİLDİRİM ROZETİ
   ========================================================= */
.nav-notif-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  margin-left: 4px;
  border: 1.5px solid #fda4af;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.9), 0 0 18px rgba(225, 29, 72, 0.55);
  animation: friendNotifPulse 1.6s ease-in-out infinite alternate;
}

@keyframes friendNotifPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(244, 63, 94, 0.75);
  }
  100% {
    transform: scale(1.12);
    box-shadow: 0 0 14px rgba(244, 63, 94, 1), 0 0 22px rgba(225, 29, 72, 0.8);
  }
}


/* =========================================================
   İZLEYİCİ FİLM ÖNERİLERİ & YORUM MEYDANI (RECOMMENDATIONS VIEW)
   ========================================================= */
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(490px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
  }
}

.rec-empty-card {
  grid-column: 1 / -1;
  background: linear-gradient(165deg, rgba(24, 24, 38, 0.65) 0%, rgba(10, 10, 18, 0.8) 100%);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 2.8rem 1.5rem;
  text-align: center;
}

.rec-movie-card {
  background: linear-gradient(165deg, rgba(22, 22, 34, 0.72) 0%, rgba(9, 9, 15, 0.86) 100%);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.rec-movie-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.rec-movie-poster {
  width: 84px;
  height: 122px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65);
}

.rec-movie-poster-fallback {
  width: 84px;
  height: 122px;
  border-radius: 12px;
  background: linear-gradient(145deg, #be123c 0%, #3b0764 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem;
  text-align: center;
  flex-shrink: 0;
}

.rec-movie-poster-fallback span {
  font-size: 1.65rem;
}

.rec-movie-poster-fallback small {
  font-size: 0.64rem;
  font-weight: 700;
  color: #fce7f3;
  line-height: 1.2;
}

.rec-movie-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 118px;
}

.rec-movie-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.rec-movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.rec-rating-pill {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde047;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.14rem 0.52rem;
  border-radius: 99px;
}

.rec-added-by-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rec-comments-section {
  background: rgba(4, 4, 8, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rec-comments-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #a1a1aa;
  letter-spacing: 0.3px;
}

.rec-comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 250px;
  overflow-y: auto;
}

.rec-comment-item {
  background: rgba(18, 18, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
}

.rec-comment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.rec-comment-body {
  font-size: 0.84rem;
  color: #e4e4e7;
  line-height: 1.45;
  word-break: break-word;
}

.rec-comment-form {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.25rem;
}

.rec-comment-rate-select {
  background: #090910;
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde047;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.48rem 0.45rem;
  border-radius: 99px;
  outline: none;
}

.rec-comment-form input {
  flex: 1;
  background: #090910;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 0.52rem 0.85rem;
  border-radius: 99px;
  outline: none;
}

.rec-comment-form input:focus {
  border-color: var(--accent);
}

.rec-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 90;
  background: #0b0b12;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  margin-top: 4px;
  max-height: 270px;
  overflow-y: auto;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.92);
}

.rec-auto-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.14s ease;
}

.rec-auto-item:hover {
  background: rgba(225, 29, 72, 0.16);
}

.rec-auto-poster {
  width: 34px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.rec-auto-poster-fallback {
  width: 34px;
  height: 48px;
  border-radius: 6px;
  background: #181824;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

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

.rec-auto-info strong {
  display: block;
  font-size: 0.83rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rec-auto-info small {
  color: #a1a1aa;
  font-size: 0.71rem;
}

.rec-auto-pick-tag {
  background: rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fda4af;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 99px;
}

.rec-selected-preview {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
}
