/* ── Oynatıcı ── */
.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.player-wrap video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.player-stage { position: absolute; inset: 0; --plyr-color-main: #e11d48; }
.player-stage .plyr,
.player-stage .plyr__video-wrapper { height: 100%; }
.player-open {
  position: absolute; inset: 0; z-index: 2; border: 0; padding: 0;
  background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer;
}
.player-open .vplay {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.55); pointer-events: none;
}
.player-status {
  position: absolute; inset: 0;
  display: grid; place-items: center; gap: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff; font-weight: 600; text-align: center; padding: 20px;
}
.player-status.error { background: rgba(60, 5, 20, 0.85); }
.player-status .boot-spin { margin: 0 auto 8px; }
.player-meta { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.player-meta h2 { font-size: 20px; }
.player-meta .sub { color: var(--muted); font-size: 13px; }
.player-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

/* ── Maç satırı ── */
.match-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center; gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid transparent;
  text-align: left; color: var(--text);
  transition: background 0.15s, border-color 0.15s, transform 0.15s var(--ease);
}
.match-row:hover { background: var(--surface-2); border-color: var(--line); transform: translateX(2px); }
.match-time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: var(--muted); }
.match-time.live { color: var(--live); }
.match-teams { font-weight: 600; font-size: 15px; line-height: 1.25; }
.match-league { font-size: 12px; color: var(--muted); margin-top: 2px; }
.match-sport { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-2); }
.match-list { display: flex; flex-direction: column; gap: 8px; }

/* ── Kanal karosu ── */
.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.channel-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 4 / 3;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text); font-size: 13px; font-weight: 600; text-align: center;
  transition: background 0.15s, transform 0.15s var(--ease);
}
.channel-tile:hover { background: var(--surface-2); transform: translateY(-2px); }
.channel-tile { padding: 8px 8px 10px; justify-content: flex-start; gap: 6px; aspect-ratio: auto; }
.channel-tile .chan-name { max-width: 100%; }
/* Atanmış logo */
.chan-logo { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.chan-logo img { width: 78%; height: 78%; object-fit: contain; }
/* Logo yoksa: marka renkli metin karosu */
.chan-brand {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 18px rgba(0, 0, 0, 0.3);
}
.chan-brand::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.25), transparent 50%); pointer-events: none; }
.cb-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; min-width: 0; }
.cb-label { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.01em; white-space: nowrap; }
.cb-sub { font-size: 9px; font-weight: 800; letter-spacing: 0.22em; opacity: 0.85; margin-top: 3px; }
.cb-num { font-family: var(--font-display); font-size: 40px; line-height: 0.9; opacity: 0.95; }
.cb-tag { position: absolute; right: 6px; bottom: 5px; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; padding: 2px 5px; border-radius: 4px; background: rgba(0, 0, 0, 0.35); }
.channel-tile img { object-fit: contain; }
.channel-tile .logo-fallback {
  width: 56px; height: 40px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-deep); font-family: var(--font-display); font-size: 20px;
}
.channel-group { font-size: 11px; color: var(--muted-2); }

/* ── Reklam alanı ── */
.ad-slot {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.25), rgba(192, 132, 252, 0.1));
  border: 1px solid rgba(192, 132, 252, 0.3);
  text-align: left; color: var(--text);
  margin: 12px 0;
}
.ad-slot img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.ad-slot .ad-title { font-weight: 700; font-size: 14px; }
.ad-slot .ad-text { font-size: 12.5px; color: var(--muted); }
.ad-slot .ad-tag { position: absolute; }
.ad-slot:empty { display: none; }

/* ── Skor ── */
.score-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius-md);
  background: var(--surface); width: 100%; color: var(--text); text-align: left;
}
.score-row:hover { background: var(--surface-2); }
.score-team { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.score-team.away { justify-content: flex-end; text-align: right; }
.score-team img { width: 22px; height: 22px; object-fit: contain; }
.score-mid { text-align: center; min-width: 64px; }
.score-val { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 700; }
.score-min { font-size: 11px; font-weight: 700; color: var(--live); }
.score-min.ft { color: var(--muted); }
.league-head { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.league-head img { width: 18px; height: 18px; object-fit: contain; }
.sample-tag { font-size: 11px; color: var(--gold); border: 1px solid var(--gold); padding: 2px 8px; border-radius: 999px; }
.stat-bar { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 8px; font-size: 13px; padding: 6px 0; }
.stat-bar .bar { height: 6px; background: var(--surface-2); border-radius: 3px; display: flex; overflow: hidden; }
.stat-bar .bar i { display: block; height: 100%; }
.stat-bar .bar i.h { background: var(--accent-2); }
.stat-bar .bar i.a { background: var(--info); margin-left: auto; }
.event-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.event-row .min { font-family: var(--font-mono); color: var(--muted); min-width: 36px; }

/* Canlı TV araması */
.tv-search { width: 100%; height: 48px; margin-top: 14px; }
