
/* TRIBUNPLUS - MACOS GLASS TASARIM */

:root {
  --bg: #061d20;
  --card: rgba(13, 57, 59, .82);
  --ink: #f5fffa;
  --muted: #b5d3ce;
  --sage: #2a9369;
  --border: rgba(210, 255, 241, .24);
  --accent: #9cffad;
  --tp-glass: rgba(23, 94, 90, .55);
  --tp-glow: 0 15px 45px rgba(0, 0, 0, .23);
}

body,
body.dark {
  --bg: #061d20;
  --card: rgba(13, 57, 59, .82);
  --ink: #f5fffa;
  --muted: #b5d3ce;
  --sage: #2a9369;
  --border: rgba(210, 255, 241, .24);
  --accent: #9cffad;

  color: var(--ink);
  background:
    radial-gradient(ellipse at 5% 12%,
      rgba(92, 255, 159, .43), transparent 34%),
    radial-gradient(ellipse at 95% 20%,
      rgba(13, 163, 180, .48), transparent 38%),
    radial-gradient(ellipse at 48% 95%,
      rgba(44, 187, 126, .34), transparent 40%),
    linear-gradient(125deg, #042c29, #073442 55%, #05211d);
  background-attachment: fixed;

  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Display", "Segoe UI", sans-serif;
}

/* UST CAM MENU */

.header {
  background: rgba(11, 66, 68, .68);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  box-shadow: 0 12px 40px #001b2029;
}

.head-inner {
  max-width: 1500px;
  padding: 18px 30px;
  gap: 20px;
}

.brand {
  color: white;
  font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -1.3px;
}

.brand small {
  color: #d3f6e7;
  font-size: 9px;
  letter-spacing: 3px;
}

nav {
  padding: 6px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(20px);
}

nav button {
  color: #e9fff7;
  border: 0;
  border-radius: 30px;
  background: transparent;
  padding: 12px 18px;
  font-weight: 650;
}

nav button:hover,
nav button.active {
  color: white;
  background: linear-gradient(135deg,
    #74db82, #137e50);
  box-shadow: 0 4px 20px #6aff9166;
}

.actions button {
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.09);
  border-radius: 20px;
}

.actions button:hover {
  background: rgba(120,255,170,.25);
}

.actions .filled,
button.filled,
.tp-button {
  background: linear-gradient(135deg,
    #9df9a5, #168a4c);
  color: #073422;
  border: 1px solid rgba(200,255,210,.45);
  font-weight: 800;
  box-shadow: 0 8px 25px #20c77845;
}

#locationButton {
  color: #e0ffe9;
  border-color: #9bffc666;
}

/* ANA UYGULAMA YUZU */

.ticker {
  max-width: 1440px;
  margin-top: 20px;
  background: rgba(11, 64, 68, .65);
  color: #c6eee3;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--tp-glow);
  backdrop-filter: blur(18px);
}

.shell {
  max-width: 1500px;
  padding: 0 24px;
  gap: 24px;
}

.filters,
.standings-panel {
  background: linear-gradient(160deg,
    rgba(98, 190, 177, .31),
    rgba(9, 72, 69, .73));
  border: 1px solid rgba(215,255,244,.32);
  border-radius: 30px;
  padding: 25px;
  box-shadow:
    inset 0 1px rgba(255,255,255,.19),
    0 20px 50px #001e2733;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.filters h3,
.standings-panel h3 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .2px;
  line-height: 1.5;
}

label {
  color: #e5fff2;
  letter-spacing: .5px;
  font-size: 11px;
}

input,
select,
textarea {
  color: #fff;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(220,255,242,.32);
  border-radius: 17px;
  padding: 13px 15px;
}

input::placeholder,
textarea::placeholder {
  color: #c6dfd6;
}

select option {
  color: #122c24;
  background: #effff3;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9cffad;
  outline: 2px solid #8bffa755;
}

button {
  transition: transform .22s ease,
    box-shadow .22s ease, background .22s ease;
}

button:hover {
  transform: translateY(-2px);
}

button:active {
  transform: scale(.98);
}

/* BASLIKLAR */

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Display", "Segoe UI", sans-serif;
  color: #fff;
}

h1 {
  font-weight: 850;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -2px;
}

h2 {
  font-weight: 800;
  letter-spacing: -.8px;
}

.eyebrow,
.tp-eyebrow {
  color: #a3ffb0;
  font-weight: 800;
}

.muted,
.hint {
  color: #beded3;
}

/* MEKAN VE MAC KARTLARI */

.card,
.tp-venue,
.tp-match,
.tp-user-card {
  background: linear-gradient(145deg,
    rgba(35, 104, 101, .82),
    rgba(10, 43, 53, .92));
  color: #fff;
  border: 1px solid rgba(216,255,245,.26);
  border-radius: 27px;
  box-shadow:
    inset 0 1px rgba(255,255,255,.16),
    0 15px 40px #00161e55;
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition: transform .3s ease,
    box-shadow .3s ease;
}

.card:hover,
.tp-venue:hover,
.tp-match:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px #00161e88,
    0 0 30px #3ce88a20;
}

.card p,
.tp-venue p,
.tp-match p {
  color: #d0e8df;
}

.pill,
.tp-tags span,
.tp-chip {
  color: #eaffef;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 18px;
}

.tp-venue-visual {
  background: linear-gradient(135deg,
    #155f59, #072d37);
}

.tp-venue-visual img {
  width: 100%;
  object-fit: cover;
}

.tp-match-stage {
  border-radius: 20px;
  overflow: hidden;
}

/* HERO ALANI */

.tp-hero {
  background:
    radial-gradient(circle at 85% 15%,
      rgba(124,255,160,.35), transparent 40%),
    linear-gradient(125deg,
      rgba(17,96,81,.92),
      rgba(6,48,69,.94));
  border: 1px solid rgba(214,255,237,.3);
  border-radius: 32px;
  box-shadow: 0 20px 55px #001a2555;
  padding: 35px;
}

.tp-hero h1 {
  color: #fff;
}

.tp-hero p {
  color: #c9e9dc;
}

.tp-section-title h2 {
  color: #fff;
}

/* HARITA */

.map {
  border-radius: 27px;
  border: 1px solid rgba(220,255,245,.3);
  box-shadow: var(--tp-glow);
}

.map-side .card {
  margin-bottom: 12px;
}

/* PROFIL VE MODAL */

dialog {
  background: linear-gradient(145deg,
    rgba(23, 86, 81, .98),
    rgba(7, 36, 49, .98));
  color: #fff;
  border: 1px solid rgba(220,255,240,.32);
  border-radius: 28px;
  box-shadow: 0 35px 100px #0009;
}

dialog::backdrop {
  background: rgba(1, 15, 21, .76);
  backdrop-filter: blur(12px);
}

.tp-user-sidebar {
  background: rgba(255,255,255,.07);
  border-right: 1px solid rgba(255,255,255,.15);
}

.tp-user-nav {
  color: #f0fff5;
}

.tp-user-nav.active {
  background: rgba(104,240,145,.23);
}

.tp-chat-contact {
  color: #fff !important;
  border-color: rgba(255,255,255,.22) !important;
}

/* YARDIMCI ALANLAR */

.empty,
.notice,
.stat {
  background: rgba(255,255,255,.09);
  color: #e8fff0;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 20px;
}

a {
  color: #a2ffb2;
}

/* MOBIL */

@media (max-width: 1100px) {
  .head-inner {
    flex-wrap: wrap;
  }

  .actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .shell {
    display: block;
    padding: 0 12px;
  }

  .filters,
  .standings-panel {
    position: static;
    margin-bottom: 20px;
  }

  .head-inner {
    padding: 12px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
  }

  nav button {
    padding: 10px;
    white-space: nowrap;
  }

  .tp-hero {
    padding: 22px;
  }

  .grid,
  .map-layout {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* =========================================
   TRIBUNPLUS — BUSINESS PANEL FINAL FIX
   ========================================= */

/* Yalnızca işletmeci panelinde uygulanır */
body:has(.broadcast-grid) {
  overflow-x: hidden;
}

/* Sol menünün ikinci çerçevesini kaldır */
body:has(.broadcast-grid) .sidebar .menu {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Menü butonları */
body:has(.broadcast-grid) .sidebar .menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  border-radius: 12px;
}

/* İçerik üst boşlukları */
body:has(.broadcast-grid) .main {
  min-width: 0;
  padding-top: 36px;
}

/* Başlık ve üst butonlar */
body:has(.broadcast-grid) .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 145px;
}

/* Dashboard kartlarının eşit görünmesi */
body:has(.broadcast-grid) .stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body:has(.broadcast-grid) .stat {
  min-width: 0;
  height: 100%;
}

/* Maç yayınlama kutuları */
body:has(.broadcast-grid) .broadcast-grid {
  align-items: stretch;
}

body:has(.broadcast-grid) .subpanel {
  min-width: 0;
}

/* Uzun yazılar dışarı taşmasın */
body:has(.broadcast-grid) .detail strong,
body:has(.broadcast-grid) .match strong {
  overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 1200px) {
  body:has(.broadcast-grid) .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:has(.broadcast-grid) .broadcast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:has(.broadcast-grid) .broadcast-grid .subpanel:last-child {
    grid-column: 1 / -1;
  }
}

/* Telefon */
@media (max-width: 850px) {
  body:has(.broadcast-grid) .main {
    padding: 22px 15px;
  }

  body:has(.broadcast-grid) .top {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  body:has(.broadcast-grid) .broadcast-grid {
    grid-template-columns: 1fr;
  }

  body:has(.broadcast-grid) .broadcast-grid .subpanel:last-child {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  body:has(.broadcast-grid) .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ISLETMECI PANELI - TUM SAYFALAR */

/* Sol menudeki gereksiz ic cerceveyi kaldir */
body:has(#matchDate) .sidebar .menu,
body:has(#newBroadcast) .sidebar .menu {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Dashboard basliginin kesilmesini onle */
body:has(#newBroadcast) .main {
  padding-top: 36px !important;
}

body:has(#newBroadcast) .top {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ISLETMECI PANELI - SOL MENU DUZELTMESI */

/* Tum isletmeci paneli ekranlarinda
   gereksiz ic menu cercevesini kaldir */

body:has(.sidebar .menu) .sidebar .menu {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Menu butonlarinin duzenini koru */

body:has(.sidebar .menu) .sidebar .menu [data-view] {
  width: 100%;
  box-sizing: border-box;
}


