/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #e8b923;
  --primary-dark: #c49a1a;
  --bg-dark: #0d0e12;
  --bg-sidebar: #111219;
  --bg-card: #161821;
  --bg-card-hover: #1c1f2b;
  --text-main: #e6edf3;
  --text-muted: #8b949e;
  --live-color: #e63946;
  --finished-color: #636e72;
  --upcoming-color: #6cb4ff;
  --border: #22252e;
  --radius: 8px;
  --sidebar-width: 260px;
}

html {
  height: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ========== NAVBAR ========== */
.navbar {
  background-color: #0a0d11;
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  position: sticky;
  top: 0;
  z-index: 200;
}

.navbar .container {
  max-width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #e8b923, #c49a1a);
  border-radius: 8px;
  color: #0d1117;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,212,170,0.3);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover {
  color: var(--primary);
}

.telegram-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #229ed9;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}

.telegram-btn:hover {
  background: #1a86ba;
  transform: translateY(-1px);
}

.telegram-btn i {
  font-size: 1rem;
}

/* ========== PAGE WRAPPER ========== */
.page-wrapper {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* ========== SIDEBAR ========== */
.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  margin-bottom: 0;
}

/* Spor sekmeleri */
.sidebar-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.stab {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 12px 4px;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: color 0.2s, background 0.2s;
  border-bottom: 2px solid transparent;
}

.stab i {
  font-size: 1rem;
}

.stab:hover {
  color: var(--text-main);
  background: rgba(255,255,255,0.03);
}

.stab.active {
  color: var(--live-color);
  border-bottom-color: var(--live-color);
}

/* Alt sekmeler */
.sidebar-subtabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.subtab {
  flex: 1;
  text-align: center;
  padding: 9px 4px;
  font-size: 0.73rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-bottom: 2px solid transparent;
}

.subtab:hover {
  color: var(--text-main);
  background: rgba(255,255,255,0.03);
}

.subtab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Arama */
.sidebar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: #0d1117;
}

.sidebar-search i {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.sidebar-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.85rem;
  width: 100%;
}

.sidebar-search input::placeholder {
  color: var(--text-muted);
}

/* Maç listesi */
.sidebar-matches {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.sidebar-matches::-webkit-scrollbar {
  width: 4px;
}

.sidebar-matches::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* Maç satırı */
.sidebar-match-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.sidebar-match-item:hover {
  background: var(--bg-card-hover);
}

.sidebar-match-item.active-match {
  background: var(--bg-card);
  border-left: 2px solid var(--primary);
}

.smi-icon {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.sidebar-match-item.live .smi-icon {
  color: var(--live-color);
}

.smi-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.smi-teams {
  font-size: 0.82rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smi-time {
  font-size: 0.73rem;
  color: var(--upcoming-color);
}

.smi-time.live-text {
  color: var(--live-color);
  display: flex;
  align-items: center;
  gap: 4px;
}

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

/* ========== MAIN CONTENT ========== */
.main-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px;
  background: var(--bg-dark);
}

.content-area {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 1268px;
  align-items: flex-start;
}

.player-wrapper {
  flex: 1;
  min-width: 0;
  max-width: 728px;
}

/* Player Kutusu */
.player-box {
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* Ekran */
.player-screen {
  position: relative;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  aspect-ratio: 16 / 9;
  background: radial-gradient(ellipse at center, #1a1f2e 0%, #0a0d11 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-screen iframe,
.player-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Video üzerine şeffaf katman — native kontrolleri engeller */
.player-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
}

/* Pause göstergesi */
.pause-indicator {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  pointer-events: none;
}

.pause-indicator.visible {
  display: flex;
}

/* Overlay */
.player-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 3;
}

.player-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: rgba(255,255,255,0.4);
}

.player-match-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.player-match-name {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
}

.player-match-status {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
}

/* Alt Bar */
.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0d1117;
  border-top: 1px solid var(--border);
}

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

.pbar-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

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

.pbar-live-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--live-color);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.25);
}

/* ========== PLAYER ALT BANNER ========== */
.pbb-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 66%;
  max-width: 400px;
  z-index: 5;
}

.player-bottom-banner {
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background: #000;
}

.player-bottom-banner img {
  width: 100%;
  height: 45px;
  object-fit: cover;
  display: block;
}

.pbb-close {
  position: absolute;
  top: -24px;
  right: 0;
  background: rgba(0,0,0,0.75);
  border: none;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  z-index: 10;
  transition: background 0.2s;
}

.pbb-close:hover { background: rgba(220,0,0,0.8); }

/* ========== SOHBET PANELİ ========== */
.chat-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  border-top: 1px solid var(--border);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.chat-msg { display: flex; flex-direction: column; gap: 2px; }
.chat-msg-name { font-size: 0.7rem; color: var(--primary); font-weight: 600; }
.chat-msg-text {
  font-size: 0.82rem;
  color: var(--text-main);
  background: var(--bg-card);
  border-radius: 0 8px 8px 8px;
  padding: 6px 10px;
  word-break: break-word;
  border: 1px solid var(--border);
}

.chat-msg.own .chat-msg-name { color: var(--upcoming-color); text-align: right; }
.chat-msg.own .chat-msg-text {
  background: #1c2a1c;
  border-color: #2a4a2a;
  border-radius: 8px 0 8px 8px;
  align-self: flex-end;
}

.chat-input-area {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid var(--border);
  background: var(--bg-sidebar);
}

.chat-input-area input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-main);
  padding: 7px 14px;
  font-size: 0.82rem;
  outline: none;
}

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

.chat-input-area button {
  background: var(--primary);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.chat-input-area button:hover { background: var(--primary-dark); }

.volume-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
}

/* ========== LOADING DOTS ========== */
.loading-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.loading-dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  animation: bounce 1.2s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-12px); opacity: 1; }
}

/* ========== LIVE DOT ========== */
.live-dot {
  color: var(--live-color);
  font-size: 0.7em;
}

.pulse {
  animation: pulse 1.5s infinite;
}

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

/* ========== SAĞ DİKEY BANNERLAR ========== */
.right-banners {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 280px;
}

.right-banner-item {
  display: block;
  width: 280px;
  aspect-ratio: 390 / 112;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  transition: opacity 0.2s;
}

.right-banner-item:hover { opacity: 0.85; }

.right-banner-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.rbp {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1f2e, #0d1117);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.rbp.visible { display: flex; }

/* ========== BANNER BAR ========== */
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 120px;
}

.side-banner-item {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: opacity 0.2s;
  border: 1px solid var(--border);
}

.side-banner-item:hover {
  opacity: 0.85;
}

.side-banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sbp {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1f2e, #0d1117);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ========== BANNER BAR ========== */
.banner-bar {
  display: flex;
  gap: 8px;
  width: 100%;
  background: #000;
  border-top: 1px solid var(--border);
  padding: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.banner-item {
  flex: 1;
  height: 112px;
  display: block;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  transition: opacity 0.2s;
  min-width: 0;
}

.banner-item:hover {
  opacity: 0.85;
}

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

.banner-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1f2e, #0d1117);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.banner-placeholder.visible { display: flex; }

/* ========== FOOTER ========== */
.footer { display: none; }

/* ========== 404 ========== */
.error-page {
  text-align: center;
  padding: 100px 20px;
}

.error-page h1 {
  font-size: 6rem;
  color: var(--primary);
  font-weight: 700;
}

.error-page p {
  color: var(--text-muted);
  margin: 16px 0 32px;
  font-size: 1.1rem;
}

.detail-btn {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ========== MOBİL INLINE SIDEBAR ========== */
.mobile-inline-sidebar {
  display: none;
}

/* ========== MOBİL PLAYER ÜSTÜ BANNER ========== */
.top-mobile-banner {
  display: none;
}

/* ========== HAMBURGER ========== */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hamburger-btn:hover {
  background: rgba(255,255,255,0.08);
}

/* Sidebar kapat butonu (mobil) */
.sidebar-close-btn {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 600;
  background: rgba(20, 22, 30, 0.95);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

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

.sidebar.open ~ .sidebar-close-btn,
.sidebar-close-btn.visible {
  display: flex;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .player-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Mobilde tum sayfa scroll acik */
  body {
    overflow-y: auto;
    height: auto;
  }

  .page-wrapper {
    flex-direction: column;
    overflow: visible;
    height: auto;
  }

  .main-content {
    overflow: visible;
    height: auto;
    flex: none;
  }

  .nav-links { display: none; }

  /* Mobil inline sidebar — bannerların altında görünür */
  .mobile-inline-sidebar {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--bg-sidebar);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
  }

  .mobile-inline-sidebar .sidebar-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
  }

  .mobile-inline-sidebar .stab {
    flex: 1;
    padding: 10px 6px;
    font-size: 0.75rem;
    text-align: center;
  }

  .mobile-inline-sidebar .sidebar-subtabs {
    display: flex;
    border-bottom: 1px solid var(--border);
  }

  .mobile-inline-sidebar .subtab {
    flex: 1;
    padding: 9px 6px;
    font-size: 0.75rem;
    text-align: center;
  }

  .mobile-inline-sidebar .sidebar-search {
    margin: 8px 10px;
  }

  .mobile-inline-sidebar .sidebar-matches {
    max-height: 360px;
    overflow-y: auto;
  }

  .mobile-inline-sidebar .chat-panel {
    height: 320px;
  }

  /* Drawer sidebar mobilde gizle */
  .sidebar {
    display: none !important;
  }

  .sidebar-overlay {
    display: none !important;
  }

  .hamburger-btn {
    display: flex;
  }

  /* Telegram butonu kısalt */
  .telegram-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* Sidebar — mobilde drawer */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    min-width: 280px;
    height: 100dvh;
    z-index: 500;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    padding-top: 56px;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.6);
  }

  /* Overlay arkaplan */
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 499;
  }

  .sidebar-overlay.open {
    display: block;
  }

  /* Ana içerik tam genişlik */
  .main-content {
    width: 100%;
    padding: 12px 10px;
  }

  .content-area {
    flex-direction: column;
    gap: 10px;
  }

  .player-wrapper {
    width: 100%;
    max-width: 100%;
  }

  /* Mobilde player üstü banner */
  .top-mobile-banner {
    display: block;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    aspect-ratio: 390 / 112;
    position: relative;
  }

  .top-mobile-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
  }

  /* Sağ bannerlar mobilde player altına alt alta */
  .right-banners {
    flex-direction: column;
    width: 100%;
    overflow-x: visible;
    gap: 8px;
    padding: 0 0 4px;
  }

  .right-banner-item {
    width: 100%;
    min-width: 0;
    aspect-ratio: 390 / 112;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
  }

  .right-banner-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
  }

  /* İlk sağ banner mobilde gizle (player üstünde zaten var) */
  .right-banner-item:first-child {
    display: none;
  }

  /* Alt banner bar — mobilde alt alta tek sutun */
  .banner-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 10px 16px;
    overflow: visible;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }

  .banner-item {
    width: 100%;
    min-width: 0;
    flex: none;
    height: auto;
    aspect-ratio: 390 / 112;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: block;
  }

  .banner-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
  }

  .banner-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .pbar-btn {
    padding: 10px 12px;
    font-size: 1.1rem;
  }

  .player-bar {
    padding: 8px 10px;
  }

  .player-bar-left,
  .player-bar-right {
    gap: 6px;
  }

  /* Volume slider mobilde gizle, sadece mute butonu kalsın */
  .volume-slider {
    display: none;
  }

  /* Canlı badge kompakt */
  .pbar-live-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  /* Oynat butonu büyük ve dokunmatik dostu */
  .player-play-btn {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }

  /* Sohbet paneli */
  .chat-panel {
    height: 320px;
    flex: none;
  }
}

@media (max-width: 480px) {
  .telegram-btn {
    padding: 7px 10px;
    font-size: 0.75rem;
  }

  .telegram-btn .tg-text {
    display: none;
  }

  .sidebar {
    width: 100vw;
    min-width: 100vw;
  }

  .right-banner-item {
    width: 100%;
    min-width: 0;
    aspect-ratio: 390 / 112;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
  }

  .right-banner-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
  }

  .banner-item {
    min-width: 0;
    flex: none;
    height: auto;
    aspect-ratio: 390 / 112;
    position: relative;
    display: block;
  }

  .banner-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
  }

  .pbb-wrapper {
    width: 85%;
  }

  .player-bottom-banner img {
    height: 36px;
  }

  /* Player kontrolleri daha da büyük */
  .pbar-btn {
    padding: 12px 14px;
    font-size: 1.2rem;
  }

  .player-bar {
    padding: 6px 8px;
  }

  .player-play-btn {
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
  }

  /* Player box köşeleri */
  .player-box {
    border-radius: 8px;
  }

  /* Notch güvenliği */
  .player-bar {
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }
}
