/* ==========================================================================
   VEKİLPEDİA — ek/tv.css (tbmm-tv ajanı, 2 Ekim 2026)
   /tbmm-tv oynatıcısı, sağ alta yapışan küçük oynatıcı, ?pencere=1 küçük penceresi ve menüdeki "● CANLI" işareti.
   ?pencere=1 sayfası site.css'i YÜKLEMEZ (yalnız bu dosya): değişkenler yedek renkleriyle yazıldı.
   ========================================================================== */

/* ---------------------------------------------------------------- menü: "TBMM TV ● CANLI" */
.tv-menu-canli { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; font-family: var(--mono); font-size: 10px;
  font-weight: 600; letter-spacing: 0.08em; color: var(--kirmizi, #E0655A); vertical-align: 1px; }
.tv-menu-canli::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* 961–1439px: menü 9 bağlantıyla tek satıra sığsın diye yalnız nokta kalır (yazı ekran okuyucuda; ölçüm 2 Ekim:
   "CANLI" yazısı 1241–1260 ve 1341–1390px'te arama düğmesini ikinci satıra itiyordu). Mobil menüde ve ≥1440px'te yazı görünür. */
@media (min-width: 961px) and (max-width: 1439px) {
  .tv-menu-canli { font-size: 0; letter-spacing: 0; margin-left: 4px; }
}
@media (min-width: 1341px) and (max-width: 1439px) {
  .ana-menu { gap: 6px 18px; }
}
/* 9. bağlantı (TBMM TV) 961–1024px'te arama düğmesini ikinci satıra itiyordu (ölçüm: gereken 964px, eldeki 903px);
   ek/duzen.css'teki 14px aralık/14px yazı bu aralıkta biraz daralır. tv.css alfabede duzen.css'ten sonra yüklenir. */
@media (min-width: 961px) and (max-width: 1100px) {
  .ana-menu { gap: 6px 10px; font-size: 13px; }
  .baslik-ic { gap: 12px 14px; }
}

/* ---------------------------------------------------------------- sayfa */
.tv-ana { min-width: 0; }
.tv-program-durum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; color: var(--yumusak, #C9CED5); }
.tv-canli-rozet { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 4px; background: var(--kirmizi, #E0655A);
  color: var(--zemin, #0E1014); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.tv-bilgi p { font-size: 14px; line-height: 1.6; }

/* ---------------------------------------------------------------- oynatıcı (16:9; sahne yerini korur → yapışınca sayfa kaymaz) */
.tv-sahne { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #000; border: 1px solid var(--kenar, #272D37); border-radius: 8px; overflow: hidden; }
.tv-oynatici { position: absolute; inset: 0; background: #000; }
.tv-video { display: block; width: 100%; height: 100%; background: #000; object-fit: contain; }
.tv-video[hidden] { display: none; }
.tv-kapak { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; text-align: center; color: #fff; text-decoration: none;
  background: radial-gradient(ellipse at 50% 40%, #1B2029 0%, #0E1014 70%); }
.tv-kapak[hidden] { display: none; }
.tv-kapak:hover, .tv-kapak:focus-visible { text-decoration: none; color: #fff; }
.tv-kapak:focus-visible { outline: 3px solid var(--soguk, #45C9D6); outline-offset: -3px; }
.tv-kapak-etiket { position: absolute; top: 14px; left: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--soluk, #A0A8B3); }
.tv-oynat { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--soguk, #45C9D6); color: #0E1014;
  transition: transform .15s ease; }
.tv-oynat svg { margin-left: 4px; }
.tv-kapak:hover .tv-oynat { transform: scale(1.06); }
.tv-kapak-metin { font-size: 18px; font-weight: 700; }
.tv-kapak-not { font-size: 13px; color: var(--soluk, #A0A8B3); }
.tv-durum { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 14px; font-size: 14px; color: #fff;
  background: rgba(14, 16, 20, .88); pointer-events: auto; }
.tv-durum[hidden] { display: none; }
.tv-durum a { color: var(--soguk, #45C9D6); }
@media (max-width: 480px) {
  .tv-oynat { width: 56px; height: 56px; }
  .tv-kapak-metin { font-size: 16px; }
  .tv-kapak-not { display: none; }
}

/* ---------------------------------------------------------------- sağ alta yapışan küçük oynatıcı (yalnız bu sayfa; tv.js) */
.tv-oynatici.tv-yapiskan { position: fixed; inset: auto; right: 16px; bottom: calc(16px + var(--alt-menu, 0px)); z-index: 45;
  width: min(360px, calc(100vw - 32px)); aspect-ratio: 16 / 9; border: 1px solid var(--kenar-guclu, #3A414D); border-radius: 8px;
  overflow: hidden; box-shadow: 0 12px 32px rgba(0, 0, 0, .55); }
.tv-kapat { position: absolute; top: 6px; right: 6px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(14, 16, 20, .78); color: #fff; cursor: pointer; }
.tv-kapat[hidden] { display: none; }
.tv-kapat:hover { background: #0E1014; }
.tv-kapat:focus-visible { outline: 3px solid var(--soguk, #45C9D6); outline-offset: 1px; }

/* ---------------------------------------------------------------- /tbmm-tv?pencere=1 (480×270 ayrı pencere) */
.tv-pencere-govde { margin: 0; height: 100vh; background: #000; color: #E9ECEF; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; overflow: hidden; }
.tv-pencere-kutu { position: relative; width: 100%; height: 100%; }
.tv-pencere-kutu .tv-video { width: 100vw; height: 100vh; }
.tv-ses { position: absolute; top: 8px; left: 8px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 6px;
  background: #45C9D6; color: #0E1014; font: 600 14px/1 system-ui, sans-serif; cursor: pointer; }
.tv-ses[hidden] { display: none; }
.tv-pencere-atif { position: absolute; top: 10px; right: 10px; padding: 3px 7px; border-radius: 4px; background: rgba(14, 16, 20, .7);
  color: #C9CED5; font-size: 11px; text-decoration: none; }
.tv-pencere-kapali { padding: 24px; text-align: center; }
.tv-pencere-kapali a { color: #45C9D6; }
