/* sx-player.css — saytın öz video pleyeri (tv.php, news.php) */
.tv-box { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; background: rgba(5, 4, 3, 0.94); opacity: 0; transition: opacity 0.25s ease; }
.tv-box.is-open { opacity: 1; }
.tv-player { position: relative; width: min(820px, 94vw); border-radius: 16px; overflow: visible; background: #0b0906;
  border: 1px solid rgba(243, 201, 91, 0.35); box-shadow: 0 0 80px rgba(243, 201, 91, 0.12); }
.tv-player__close { position: absolute; top: -52px; right: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--g-2);
  border: 1px solid rgba(243, 201, 91, 0.4); background: rgba(14, 12, 9, 0.8); }
.tv-player__close:hover { background: var(--g-fill); color: #1a1103; }
.tv-player__screen { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 15px 15px 0 0; overflow: hidden; }
.tv-player__screen iframe, #tvFrame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* YouTube-un öz düymə/başlıqlarına toxunulmasın deyə şəffaf qat: kliklər bizim pleyerə gedir */
.tv-player__shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.tv-player__big { position: absolute; left: 50%; top: 50%; z-index: 3; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.3rem; color: #1a1103; background: var(--g-fill); box-shadow: 0 0 0 9px rgba(243, 201, 91, 0.2); }
.tv-player__big i { margin-left: 4px; }
.tv-player__big[hidden] { display: none; }
.tv-player__end { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(5, 4, 3, 0.92); }
.tv-player__end[hidden] { display: none; }
.tv-player__replay { display: inline-flex; align-items: center; gap: 10px; padding: 0.8rem 1.4rem; border-radius: 999px; font-weight: 800; color: #1a1103; background: var(--g-fill); }
.tv-player__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid rgba(243, 201, 91, 0.2); }
.tv-btn { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--g-2); border: 1px solid rgba(243, 201, 91, 0.35); background: transparent; }
.tv-btn:hover { background: var(--g-fill); color: #1a1103; }
.tv-time { flex: none; min-width: 38px; font-size: 0.78rem; font-variant-numeric: tabular-nums; color: #cfc4a8; text-align: center; }
.tv-seek { flex: 1; min-width: 0; height: 4px; accent-color: #f3c95b; cursor: pointer; }
.tv-player__title { padding: 0 16px 14px; font-size: 0.92rem; font-weight: 700; color: #f0e7d0; }
.tv-player__title:empty { display: none; }
.tv-player:fullscreen { width: 100vw; height: 100vh; border-radius: 0; display: flex; flex-direction: column; }
.tv-player:fullscreen .tv-player__screen { flex: 1; aspect-ratio: auto; border-radius: 0; }
.tv-player:fullscreen .tv-player__close, .tv-player:fullscreen .tv-player__title { display: none; }

