/* =========================================================
   CanlıTV — tema
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  --bg: #0b0e14;
  --panel: rgba(22, 28, 20, .55);
  --panel-2: rgba(16, 20, 28, .82);
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #fff;
  --muted: #8d97a3;
  --muted-2: #5f6873;
  --accent: #b0d048;
  --accent-2: #d3ec74;
  --accent-ink: #141a06;
  --live: #ff3b47;
  --radius: 16px;
  --container: 1100px;
  --font: "Plus Jakarta Sans", "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--sticky-h, 0px);
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 6% 18%, rgba(176, 208, 72, .10), transparent 60%),
    radial-gradient(820px 520px at 96% 72%, rgba(176, 208, 72, .08), transparent 60%),
    radial-gradient(1200px 620px at 50% -12%, rgba(44, 64, 96, .38), transparent 70%),
    linear-gradient(180deg, #0e1219 0%, #0b0e14 50%, #07090d 100%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%);
}

a { color: inherit; }
button { font-family: inherit; }
.ico { width: 1em; height: 1em; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }

/* ---------- Pageskin ---------- */
.page { position: relative; z-index: 1; pointer-events: none; }
.page > * { pointer-events: auto; }
.skin-link { position: fixed; inset: 0; z-index: 0; display: block; }

@media (min-width: 961px) {
  body.has-skin { background: var(--bg) var(--skin) no-repeat center top / 1920px auto fixed; }
  body.has-skin::before, body.has-skin::after { display: none; }
}
@media (max-width: 960px) { .skin-link { display: none; } }

.skin-ph span {
  position: fixed; top: 16px; bottom: 16px; z-index: 0;
  width: calc((100vw - var(--container)) / 2 - 20px);
  display: grid; place-items: center;
  border: 1.5px dashed rgba(176, 208, 72, .22);
  border-radius: 18px;
  background: repeating-linear-gradient(135deg, rgba(176, 208, 72, .025) 0 14px, transparent 14px 28px);
  color: rgba(214, 235, 140, .45);
  font: 700 12px/1 var(--font); letter-spacing: 2px;
  writing-mode: vertical-rl; pointer-events: none;
}
.skin-ph span:first-child { left: 12px; transform: rotate(180deg); }
.skin-ph span:last-child { right: 12px; }
@media (max-width: 1340px) { .skin-ph { display: none; } }

.mobile-skin { display: none; }
@media (max-width: 960px) {
  .mobile-skin { display: block; }
  .mobile-skin[hidden] { display: none; }
}

/* ---------- Üst bölüm ---------- */
.site-top {
  max-width: var(--container);
  margin-inline: auto;
  background: linear-gradient(180deg, rgba(13, 16, 22, .94), rgba(16, 19, 25, .94));
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  backdrop-filter: blur(10px);
}
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 40px; padding: 6px 16px;
  border-bottom: 1px solid var(--line);
  color: #e9edf2; font: 700 12px/1.3 var(--font); text-align: center;
}
.pulse { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(176, 208, 72, .6); }
  70% { box-shadow: 0 0 0 8px rgba(176, 208, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(176, 208, 72, 0); }
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 71, .6); }
  70% { box-shadow: 0 0 0 7px rgba(255, 59, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 71, 0); }
}

.header-inner { display: flex; align-items: center; gap: 20px; height: 78px; padding-inline: 18px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark { width: 38px; height: 38px; filter: drop-shadow(0 4px 14px rgba(176, 208, 72, .35)); }
.logo-text { font: 900 27px/1 var(--font-display); letter-spacing: -.5px; text-transform: uppercase; }
.logo-text b { font-weight: 900; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .6); }
.logo-text em {
  font-style: normal;
  background: linear-gradient(180deg, #eafb9c 0%, #b0d048 55%, #86a526 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo img { display: block; height: 52px; width: auto; max-width: 220px; object-fit: contain; }
.logo:has(.logo-badge) { gap: 0; }
.logo-badge {
  margin-left: -8px; padding: 5px 8px 4px; border-radius: 8px;
  background: linear-gradient(180deg, #ff7a45 0%, #fc5d2c 55%, #e4471a 100%);
  color: #fff; font: 900 18px/1 var(--font-display); letter-spacing: .5px;
  box-shadow: 0 6px 18px rgba(252, 93, 44, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: translateY(1px);
}
.logo-sm .logo-badge { font-size: 15px; padding: 4px 7px 3px; border-radius: 7px; margin-left: -6px; }

.main-nav { flex: 1; min-width: 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; }
.main-nav a, .contact {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 10px 14px; border-radius: 12px;
  color: #fff; text-decoration: none; white-space: nowrap;
  font: 700 12px/1 var(--font); letter-spacing: .2px;
  transition: background .2s, color .2s;
}
.main-nav .ico, .contact .ico { width: 21px; height: 21px; }
.main-nav a:hover, .contact:hover { background: rgba(255, 255, 255, .05); color: var(--accent); }
.main-nav a.active { color: var(--accent); }
.contact { flex: none; font-weight: 600; }

/* ---------- Reklam alanları ---------- */
.ad-slot { display: flex; justify-content: center; margin: 18px 0 0; }
.ad-slot:empty { display: none; }
.ad {
  position: relative; display: block; width: 100%; max-width: 728px;
  aspect-ratio: 728 / 90; border-radius: 14px; overflow: hidden;
  background: #0f1319;
}
.ad img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad-ph {
  display: grid; place-items: center; text-align: center;
  border: 1.5px dashed rgba(176, 208, 72, .38);
  background:
    repeating-linear-gradient(135deg, rgba(176, 208, 72, .045) 0 12px, transparent 12px 24px),
    rgba(12, 15, 20, .78);
  color: rgba(214, 235, 140, .85);
  font: 800 12px/1.25 var(--font); letter-spacing: .8px; text-transform: uppercase;
}
.ad-ph small { display: block; margin-top: 4px; color: var(--muted); font-weight: 600; letter-spacing: .2px; text-transform: none; }
.mobile-skin .ad { max-width: none; aspect-ratio: 550 / 190; border-radius: 0; }
.mobile-skin .ad-ph { border-width: 0 0 1.5px; }

.feed-ad { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.feed-ad .ad { max-width: none; border-radius: 10px; }
.feed-ad .ad-ph { font-size: 9.5px; letter-spacing: .5px; }

.sticky-ad { position: fixed; left: 50%; bottom: 0; z-index: 40; width: min(728px, 100%); transform: translateX(-50%); }
.sticky-ad .ad { border-radius: 12px 12px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .55); }
.sticky-close {
  position: absolute; top: -11px; right: -8px; z-index: 2;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); background: #161b24; color: #fff; cursor: pointer;
}
.sticky-close .ico { width: 12px; height: 12px; }
.sticky-close:hover { background: #222a36; }

/* ---------- Hellobar ---------- */
.hellobar {
  display: block; margin: 18px 0;
  padding: 17px 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid rgba(176, 208, 72, .14);
  backdrop-filter: blur(8px);
  color: #fff; text-align: center; text-decoration: none;
  font: 800 13px/1.35 var(--font); letter-spacing: .2px; text-transform: uppercase;
  transition: border-color .2s, background .2s;
}
a.hellobar:hover { border-color: rgba(176, 208, 72, .5); background: rgba(28, 36, 24, .72); }
.hellobar-sm { margin: 14px 0 0; padding: 12px 16px; font-size: 11.5px; }

/* ---------- İçerik ---------- */
.content-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: stretch; }
.stage { position: relative; min-width: 0; }
.side { position: relative; min-height: 520px; }

/* ---------- Oynatıcı ---------- */
.player-shell { position: relative; }
.player-wrapper {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #000; border-radius: var(--radius);
  border: 1px solid var(--line-2);
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .4);
}
.player-wrapper > iframe, .player-wrapper > video,
.cell-stream > iframe, .cell-stream > video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000;
}

.player-watermark {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 58px; height: 58px; pointer-events: none;
  opacity: .92; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6));
}
.player-watermark img { width: 100%; height: 100%; object-fit: contain; }
.player-watermark.ph {
  display: grid; place-items: center; text-align: center;
  border: 1.5px dashed rgba(176, 208, 72, .5); border-radius: 12px;
  background: rgba(0, 0, 0, .4); color: rgba(214, 235, 140, .9);
  font: 800 8.5px/1.25 var(--font); letter-spacing: .4px;
}

/* Poster — "Yayın Başlıyor" */
.poster {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(55% 62% at 50% 44%, rgba(176, 208, 72, .22), transparent 70%),
    linear-gradient(180deg, #121910 0%, #07090c 100%);
}
.poster.ready { cursor: pointer; }
.poster-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.poster-beams {
  position: absolute; inset: -20% -10% auto; height: 95%; z-index: -1;
  background:
    conic-gradient(from 155deg at 16% 0%, transparent 0deg, rgba(225, 245, 160, .11) 10deg, transparent 24deg),
    conic-gradient(from 181deg at 84% 0%, transparent 0deg, rgba(225, 245, 160, .11) 12deg, transparent 26deg),
    conic-gradient(from 172deg at 50% -10%, transparent 0deg, rgba(225, 245, 160, .06) 8deg, transparent 16deg);
  filter: blur(2px);
}
.poster-floor {
  position: absolute; left: -30%; right: -30%; bottom: -16%; height: 56%; z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(176, 208, 72, .17) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(176, 208, 72, .17) 0 1px, transparent 1px 40px);
  transform: perspective(380px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 85%);
          mask-image: linear-gradient(to top, #000 8%, transparent 85%);
}
.poster-inner { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.4vw, 14px); padding: 20px; }
.poster-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 30px;
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(176, 208, 72, .35);
  color: var(--accent-2); font: 800 11px/1 var(--font); letter-spacing: 1.6px;
}
.poster-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse-red 1.6s infinite; }
.poster-title {
  margin: 0;
  font: 900 clamp(36px, 7.4vw, 86px)/.88 var(--font-display);
  letter-spacing: -1px; text-transform: uppercase;
  background: linear-gradient(180deg, #fbffe9 0%, #dff28c 45%, #97b52a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 30px rgba(176, 208, 72, .35));
}
.poster-sub { margin: 0; max-width: 82%; color: rgba(255, 255, 255, .8); font: 700 clamp(11px, 1.5vw, 14px)/1.3 var(--font); }
.poster-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(56px, 9vw, 86px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
  color: #fff; cursor: pointer;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.poster-play .ico { width: 42%; height: 42%; margin-left: 7%; }
.poster.ready:hover .poster-play { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translate(-50%, -50%) scale(1.06); }
.poster-play[disabled] { opacity: .6; cursor: default; }
.poster.has-img .poster-inner, .poster.has-img .poster-beams, .poster.has-img .poster-floor { display: none; }
.poster-caption {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  max-width: 90%; padding: 7px 14px; border-radius: 20px;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px);
  font: 700 12px/1.2 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.poster-ph-tag {
  position: absolute; left: 12px; top: 12px;
  padding: 5px 9px; border-radius: 7px;
  border: 1px dashed rgba(176, 208, 72, .45); background: rgba(0, 0, 0, .45);
  color: rgba(214, 235, 140, .85); font: 700 10px/1.2 var(--font); letter-spacing: .3px;
}
.poster.compact .poster-title { font-size: clamp(18px, 3.4vw, 38px); }
.poster.compact .poster-kicker, .poster.compact .poster-ph-tag { display: none; }
.poster.compact .poster-sub { font-size: 10.5px; }
.poster.compact .poster-play { width: 46px; }

.player-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); font: 600 13px/1.5 var(--font); background: #07090c; }

/* Çoklu ekran ızgarası */
.player-wrapper.multi { display: grid; gap: 2px; background: #05070a; }
.player-wrapper.n1 { grid-template-columns: 1fr; }
.player-wrapper.n2 { grid-template-columns: 1fr 1fr; }
.player-wrapper.n3, .player-wrapper.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.cell { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #000; }
.cell-stream { position: absolute; inset: 0; }
.cell-label {
  position: absolute; left: 8px; top: 8px; z-index: 4;
  max-width: calc(100% - 16px); padding: 4px 9px; border-radius: 7px;
  background: rgba(0, 0, 0, .65); pointer-events: none;
  font: 700 10.5px/1.2 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Bilgi satırı */
.player-info-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.player-info {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-width: min(400px, 100%); padding: 9px 22px; border-radius: 30px;
  background: var(--panel); border: 1px solid var(--line-2);
  color: #e6eaef; font: 600 12px/1.3 var(--font); text-align: center;
}
.player-info b { color: #fff; font-weight: 800; }
.pi-icon { color: var(--accent); font-size: 11px; }
.cinema-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 10px;
  border: 1px solid rgba(176, 208, 72, .45); background: rgba(176, 208, 72, .08);
  color: var(--accent); font: 700 12px/1 var(--font); cursor: pointer;
  transition: background .2s;
}
.cinema-btn .ico { width: 16px; height: 16px; }
.cinema-btn:hover { background: rgba(176, 208, 72, .16); }

/* Sinema modu */
.cinema-dim { display: none; }
body.cinema .cinema-dim { display: block; position: fixed; inset: 0; z-index: 20; background: rgba(3, 4, 6, .84); cursor: zoom-out; }
body.cinema .stage { z-index: 21; }
body.cinema .content-wrapper { grid-template-columns: 1fr; }
body.cinema .side, body.cinema #subbar, body.cinema [data-slot="underPlayer"] { display: none; }
body.cinema .player-wrapper { box-shadow: 0 0 0 1px rgba(176, 208, 72, .25), 0 30px 120px -10px rgba(176, 208, 72, .18); }

/* ---------- Kanal listesi ---------- */
.channel-list {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.side.flash .channel-list { animation: flash 1s ease; }
@keyframes flash { 0%, 100% { border-color: var(--line-2); } 30% { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176, 208, 72, .2); } }

.tabs { display: grid; grid-template-columns: 1.25fr 1.05fr .9fr .9fr; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.tab-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 60px; padding: 8px 6px; border: 0; background: transparent;
  color: var(--muted); font: 800 13px/1 var(--font); letter-spacing: .2px; cursor: pointer;
  transition: color .2s, background .2s;
}
.tab-btn + .tab-btn::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.tab-btn .ico { width: 15px; height: 15px; }
.tab-btn.stack { flex-direction: column; gap: 4px; font-size: 10px; line-height: 1.08; text-align: center; }
.tab-btn.stack .ico { width: 12px; height: 12px; }
.tab-btn:hover { color: #fff; }
.tab-btn.active { color: #fff; background: rgba(255, 255, 255, .045); }
.tab-btn.active::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 4px;
  border-radius: 4px 4px 0 0; background: var(--accent);
  box-shadow: 0 0 14px rgba(176, 208, 72, .6);
}
.tab-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.search-bar { position: relative; padding: 10px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.search-bar .ico { position: absolute; left: 23px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted-2); pointer-events: none; }
.search-bar input {
  width: 100%; height: 38px; padding: 0 14px 0 36px;
  border-radius: 10px; border: 1px solid var(--line-2); outline: none;
  background: var(--bg); color: #fff; font: 500 13px var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.search-bar input::placeholder { color: var(--muted-2); }
.search-bar input:focus { border-color: rgba(176, 208, 72, .6); box-shadow: 0 0 0 3px rgba(176, 208, 72, .12); }
.search-bar input::-webkit-search-cancel-button { filter: invert(.6); cursor: pointer; }

.multi-tools { display: grid; gap: 8px; padding: 10px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.multi-actions { display: flex; align-items: center; gap: 8px; }
.ms-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-ink);
  font: 800 12px/1 var(--font); cursor: pointer;
}
.ms-btn .ico { width: 13px; height: 13px; }
.ms-btn.ghost { background: transparent; color: #fff; border: 1px solid var(--line-2); }
.ms-btn:hover { filter: brightness(1.08); }
.multi-count { margin-left: auto; color: var(--muted); font: 700 11px/1 var(--font); white-space: nowrap; }
.multi-note { margin: 0; padding: 8px 10px; border-radius: 8px; background: rgba(26, 152, 255, .1); color: #a6d4ff; font: 600 11px/1.4 var(--font); }

.list {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent;
}
.list::-webkit-scrollbar { width: 6px; }
.list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 6px; }

.row {
  position: relative; display: flex; width: 100%;
  border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: #fff; text-align: left; font: inherit;
  cursor: pointer; transition: background .15s;
}
.row:hover { background: rgba(255, 255, 255, .04); }
.row.active { background: linear-gradient(90deg, rgba(176, 208, 72, .15), rgba(176, 208, 72, .03)); }
.row.active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Maç satırı */
.row.match { display: grid; grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr); align-items: center; gap: 4px; padding: 13px 8px; }
.team { display: flex; align-items: center; gap: 6px; min-width: 0; font: 700 12px/1.2 var(--font); }
.team.away { justify-content: flex-end; text-align: right; }
.tname { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.tlogo {
  position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: hsl(var(--h) 40% 17%); border: 1.5px solid hsl(var(--h) 55% 42%);
  color: hsl(var(--h) 75% 82%); font: 800 8.5px/1 var(--font-display); letter-spacing: .1px;
}
.tlogo::before { content: attr(data-i); }
.tlogo.has-img { background: transparent; border: 0; }
.tlogo.has-img::before { content: none; }
.tlogo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mid { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.mtime { color: var(--accent); font: 800 15px/1 var(--font-display); letter-spacing: .3px; }
.mdash { color: var(--muted-2); font-size: 11px; line-height: 1; }
.league { display: flex; align-items: center; justify-content: center; gap: 4px; max-width: 100%; color: var(--muted); font: 600 9.5px/1.2 var(--font); }
.league .sp { flex: none; font-size: 9px; }
.league .lg { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 5px;
  background: rgba(255, 59, 71, .15); color: #ff6f78; font: 800 9px/1.2 var(--font); letter-spacing: .6px;
}
.live-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--live); animation: pulse-red 1.6s infinite; }

/* Kanal satırı */
.row.chan { align-items: center; justify-content: space-between; gap: 10px; padding: 15px 14px; }
.chan-name { display: flex; align-items: center; gap: 10px; min-width: 0; font: 800 12.5px/1.2 var(--font); letter-spacing: .2px; text-transform: uppercase; }
.chan-name .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chan-ico { width: 18px; height: 18px; color: var(--muted); transition: color .15s; }
.row.chan:hover .chan-ico, .row.chan.active .chan-ico { color: var(--accent); }
.chan-logo { height: 20px; max-width: 64px; object-fit: contain; }
.badge-live { flex: none; padding: 6px 13px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font: 800 11px/1 var(--font); letter-spacing: .3px; }
.badge-fast { background: transparent; color: var(--accent); border: 1px solid rgba(176, 208, 72, .5); padding: 5px 11px; }

/* Çoklu seçim satırı */
.row.pick { align-items: center; gap: 10px; padding: 12px 14px; }
.check {
  flex: none; width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .22); color: transparent;
  transition: background .15s, border-color .15s;
}
.check .ico { width: 13px; height: 13px; }
.row.pick.on .check { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pick-name { flex: 1; min-width: 0; font: 700 12.5px/1.25 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-kind { flex: none; color: var(--muted); font: 700 10.5px/1 var(--font); }

.empty { padding: 44px 20px; text-align: center; color: var(--muted); font: 600 12.5px/1.5 var(--font); }
.empty .ico { width: 26px; height: 26px; opacity: .5; }
.empty p { margin: 6px 0 0; }

/* ---------- Alt bilgi ---------- */
.site-footer {
  max-width: var(--container); margin: 40px auto 0;
  background: linear-gradient(180deg, rgba(14, 17, 23, .94), rgba(9, 11, 15, .96));
  border: 1px solid var(--line); border-bottom: 0;
  border-radius: 20px 20px 0 0; backdrop-filter: blur(10px);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 16px; text-align: center; }
.logo-sm .logo-mark { width: 30px; height: 30px; }
.logo-sm .logo-text { font-size: 21px; }
.logo-sm img { height: 36px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font: 600 12.5px/1.4 var(--font); }
.footer-links a:hover { color: #fff; }
.copy { margin: 0; color: var(--muted-2); font: 500 12px/1.4 var(--font); }
.copy .brand-name { color: var(--accent); font-weight: 700; }

/* ---------- Sohbet ---------- */
.chat {
  position: fixed; right: 16px; bottom: calc(16px + var(--sticky-h, 0px)); z-index: 50;
  width: 300px; height: min(440px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #121620; border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .85);
}
.chat-head { position: relative; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 8px; background: #171c27; border-bottom: 1px solid var(--line); }
.chat-title { flex: 1; font: 800 13px/1 var(--font); }
.icon-btn {
  flex: none; width: 32px; height: 32px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 8px; background: transparent; color: #cfd5dd; cursor: pointer;
}
.icon-btn .ico { width: 17px; height: 17px; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.chat-menu {
  position: absolute; top: 44px; left: 8px; z-index: 3; min-width: 170px;
  display: grid; padding: 6px;
  background: #1b2130; border: 1px solid var(--line-2); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.chat-menu button { padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; color: #e6eaef; text-align: left; font: 600 12px/1.2 var(--font); cursor: pointer; }
.chat-menu button:hover { background: rgba(255, 255, 255, .06); }
.chat-pin { margin: 8px 8px 4px; padding: 8px 10px; border-radius: 8px; background: #1b2130; border: 1px solid rgba(176, 208, 72, .3); color: #dfe5ec; font: 600 11.5px/1.4 var(--font); }
.chat-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat-msgs {
  flex: 1; min-height: 0; overflow-y: auto; padding: 8px 12px 10px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent;
}
.msg { display: flex; align-items: flex-start; gap: 9px; }
.av { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: hsl(var(--h) 45% 42%); color: #fff; font: 800 13px/1 var(--font-display); }
.av .ico { width: 15px; height: 15px; }
.msg.sys .av { background: #d9404b; }
.mb { min-width: 0; }
.mn { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; font: 800 12px/1.2 var(--font); }
.mn time { color: var(--muted-2); font: 500 10px/1 var(--font); }
.tag-admin { padding: 2px 7px; border-radius: 5px; background: #d93644; color: #fff; font: 800 10px/1.2 var(--font); }
.mt { color: #d3d9e0; font: 500 12.5px/1.4 var(--font); overflow-wrap: anywhere; }
.msg.sys .mt { color: #ff7d85; }
.msg.me .mn { color: var(--accent); }
.chat-form { position: relative; display: flex; align-items: center; gap: 2px; padding: 6px 6px 6px 12px; border-top: 1px solid var(--line); background: #0f131b; }
.chat-form input { flex: 1; min-width: 0; height: 36px; border: 0; outline: none; background: transparent; color: #fff; font: 500 13px var(--font); }
.chat-form input::placeholder { color: var(--muted-2); }
.send-btn { color: var(--accent); }
.emoji-pop {
  position: absolute; right: 8px; bottom: 52px; z-index: 3;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; padding: 6px;
  background: #1b2130; border: 1px solid var(--line-2); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.emoji-pop button { width: 34px; height: 34px; border: 0; border-radius: 7px; background: transparent; font-size: 18px; cursor: pointer; }
.emoji-pop button:hover { background: rgba(255, 255, 255, .08); }
.chat-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.chat-fab {
  position: fixed; right: 16px; bottom: calc(16px + var(--sticky-h, 0px)); z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); cursor: pointer;
  box-shadow: 0 12px 30px -6px rgba(176, 208, 72, .55);
  transition: transform .2s;
}
.chat-fab .ico { width: 24px; height: 24px; }
.chat-fab:hover { transform: scale(1.06); }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--sticky-h, 0px)); z-index: 60;
  max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 12px;
  background: #1b2130; border: 1px solid var(--line-2); color: #fff;
  font: 600 13px/1.35 var(--font); text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transform: translate(-50%, 16px);
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1140px) {
  .site-top, .site-footer { border-radius: 0; border-inline: 0; }
}
@media (max-width: 960px) {
  .header-inner { flex-direction: column; height: auto; gap: 8px; padding: 12px 8px 6px; }
  .main-nav { width: 100%; }
  .main-nav ul { justify-content: space-between; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .main-nav ul::-webkit-scrollbar { display: none; }
  .main-nav li { flex: 1 0 auto; }
  .main-nav a { padding: 8px 5px; gap: 6px; font-size: 10px; }
  .main-nav .ico { width: 20px; height: 20px; }
  .contact { display: none; }
  .content-wrapper { grid-template-columns: 1fr; gap: 16px; }
  .side { min-height: 0; height: 560px; }
  .hellobar { margin: 14px 0; padding: 14px 16px; font-size: 11.5px; }
  .hellobar-sm { margin-top: 12px; }
  .ad-slot { margin-top: 14px; }
  .cinema-btn { display: none; }
  .player-info { flex: 1 1 100%; min-width: 0; padding: 9px 14px; }
  .chat { left: 0; right: 0; bottom: var(--sticky-h, 0px); width: auto; height: min(70vh, 520px); border-radius: 16px 16px 0 0; }
}
@media (max-width: 520px) {
  .container { padding-inline: 12px; }
  .topbar { font-size: 10.5px; min-height: 34px; }
  .logo-text { font-size: 23px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo img { height: 46px; }
  .logo-badge { font-size: 16px; padding: 4px 7px 3px; }
  .player-wrapper { border-radius: 12px; }
  .player-watermark { top: 8px; right: 8px; width: 40px; height: 40px; }
  .row.match { grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr); padding: 12px 8px; }
  .sticky-close { right: 6px; }
  .chat-fab { width: 50px; height: 50px; right: 12px; }
  .poster-ph-tag { font-size: 9px; padding: 4px 7px; left: 8px; top: 8px; }
  .poster-kicker { display: none; }
  .ad-ph { font-size: 10px; }
  .ad-ph small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
