/* =================================================================
   CANLI TV — saytın ön hissəsi (premium dizayn)
   Konsepsiya: gecə stadionu. Yuxarıda tünd meydan zolağı (oyunlar + player),
   aşağıda sakit, açıq səhifə. Əsas rəng admin paneldən dəyişir
   (Ayarlar → Ümumi → "Əsas rəng"; --accent və --accent-rgb <head>-də təyin olunur).
   ================================================================= */

/* ---------- Şriftlər (saytın öz serverində) ---------- */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --accent: #1fb14b;
  --accent-rgb: 31, 177, 75;
  --pitch: #0b3a2c;          /* gecə meydanı */
  --pitch-deep: #072a20;
  --paper: #f3f5f1;          /* səhifə fonu */
  --surface: #ffffff;
  --ink: #10201a;            /* əsas mətn */
  --muted: #64716b;
  --line: #e1e6e2;
  --live: #e5383b;
  --gold: #e3b12f;
  --silver: #aab4bd;
  --bronze: #c48551;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-lg: 20px;
  --r: 14px;
  --r-sm: 10px;
  --lift: 0 1px 0 rgba(16, 32, 26, .04), 0 8px 24px -12px rgba(16, 32, 26, .18);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; font-weight: 500;
  color: var(--ink); background: var(--paper);
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.ic { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.num { font-variant-numeric: tabular-nums; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.container.narrow { max-width: 880px; }
.site-main { flex: 1; padding: 0 0 36px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--accent); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); line-height: 1; }
.brand-name b { color: var(--accent); font-weight: 800; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--paper); }

.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle[aria-expanded="true"] { border-color: var(--ink); }

/* Dil seçici */
.lang-switch { position: relative; flex-shrink: 0; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 700; font-size: 13.5px; letter-spacing: .02em; cursor: pointer; user-select: none; transition: border-color .15s, box-shadow .15s; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: rgba(var(--accent-rgb), .55); }
.lang-switch summary:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); border-color: var(--accent); }
.lang-switch summary .ic { color: var(--accent); }
.lang-switch .lang-chev { color: var(--muted); transition: transform .2s; }
.lang-switch[open] .lang-chev { transform: rotate(180deg); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 196px; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: var(--surface, #fff); border: 1px solid var(--line); box-shadow: 0 22px 48px -18px rgba(7, 42, 32, .35); animation: langIn .16s ease-out; }
.lang-switch li a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.lang-switch li a b { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; font-size: 11px; letter-spacing: .04em; background: var(--paper); color: var(--muted); }
.lang-switch li a:hover { background: var(--paper); }
.lang-switch li a.is-on { background: rgba(var(--accent-rgb), .1); color: var(--ink); }
.lang-switch li a.is-on b { background: var(--accent); color: #fff; }
.lang-switch li a.is-on::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes langIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .lang-switch { order: 1; margin-left: auto; }
  .lang-switch summary { height: 44px; border-radius: 12px; }
  .nav-toggle { order: 2; }
  .header-inner:has(.lang-switch) .nav-toggle { margin-left: 0; }
}

.search { position: relative; flex: 0 1 300px; display: flex; align-items: center; }
.search .ic { position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 42px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); outline: none; font-size: 14.5px; font-weight: 500; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14); }

/* ---------- Ümumi ---------- */
.section { margin-top: 44px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.section-sub { color: var(--muted); font-size: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font-weight: 700; transition: filter .15s; }
.btn:hover { filter: brightness(1.07); color: #fff; }
.btn-outline { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); filter: none; }

.notice { padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--muted); margin: 16px 0; }
.notice-warn { border-color: #f1d3a1; color: #8a4a06; background: #fff8ec; }
.notice-ok { border-color: #bfe3cb; color: #17613a; background: #effaf3; }

.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(229, 56, 59, .18); flex-shrink: 0; }
.pill-live { display: inline-flex; align-items: center; gap: 6px; background: var(--live); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px 5px 9px; border-radius: 999px; line-height: 1; }
.pill-live i, .fx-status.live i, .live-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.pill-dark { display: inline-flex; align-items: center; gap: 5px; background: rgba(0, 0, 0, .5); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; line-height: 1; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- Reklam sahələri ---------- */
.ad-slot { position: relative; display: grid; gap: 10px; justify-items: center; margin: 16px auto; }
.ad-banner { display: block; border-radius: var(--r-sm); overflow: hidden; max-width: 100%; }
.ad-banner img { max-height: 280px; width: auto; }
.ad-label { position: absolute; top: 6px; right: 8px; font-size: 10px; background: rgba(0, 0, 0, .5); color: #fff; padding: 2px 6px; border-radius: 4px; pointer-events: none; }
.ad-header, .ad-footer { max-width: var(--container); padding: 0 16px; }

/* =================================================================
   HERO — gecə meydanı
   ================================================================= */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(255, 255, 255, .13), transparent 62%),
    radial-gradient(900px 420px at 88% -8%, rgba(255, 255, 255, .11), transparent 62%),
    linear-gradient(180deg, var(--pitch) 0%, var(--pitch-deep) 100%);
  padding: 30px 0 40px;
}
/* çəmən zolaqları */
.hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 90px, transparent 90px 180px); pointer-events: none; }
.hero-pitch { position: absolute; top: 0; right: 0; bottom: 0; left: 0; color: rgba(255, 255, 255, .06); pointer-events: none; }
.hero-pitch svg { width: 100%; height: 100%; }
.hero-inner { position: relative; }

/* ---------- Günün oyunları (tablo) ---------- */
.matchday { margin-bottom: 26px; }
.md-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.md-head h2 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.md-date { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .7); font-size: 14px; white-space: nowrap; }
.md-track { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.md-track::-webkit-scrollbar { display: none; }
.fixture {
  flex: 0 0 272px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px;
  padding: 13px 14px 12px; border-radius: var(--r); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
}
.fixture.is-live { background: rgba(255, 255, 255, .11); border-color: rgba(229, 56, 59, .65); box-shadow: inset 3px 0 0 var(--live); }
.fixture.is-finished { opacity: .62; }
.fx-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.fx-status { font-weight: 700; color: rgba(255, 255, 255, .9); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fx-status.live { color: #ff8a8c; }
.fx-status.live b { color: #fff; font-weight: 700; }
.fx-status.done { color: rgba(255, 255, 255, .6); }
.fx-comp { color: rgba(255, 255, 255, .6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-teams { display: grid; gap: 7px; }
.fx-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.fx-name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-score { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; min-width: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.fx-note { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .75); }
.crest { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; }
.crest img { width: 80%; height: 80%; object-fit: contain; }
.crest-initials { background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; font-size: 11px; }
.fx-watch, .fx-channel { margin-top: 2px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.fx-watch { color: #fff; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--accent); }
.fx-watch:hover { filter: brightness(1.08); }
.fx-channel { color: rgba(255, 255, 255, .6); font-weight: 600; }

/* ---------- Player + "Digər kanallar" ---------- */
.stage-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
.stage-grid.no-aside { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin: 0 auto; }
.player { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.player-stage { position: relative; aspect-ratio: 16 / 9; background: #000; width: 100%; }
.player-stage:fullscreen { aspect-ratio: auto; width: 100vw; height: 100vh; }
.player-stage:-webkit-full-screen { aspect-ratio: auto; width: 100vw; height: 100vh; }
.player-stage > video, .player-stage > iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; background: #000; }
.stage-badges { position: absolute; top: 14px; left: 14px; z-index: 4; display: flex; gap: 8px; pointer-events: none; }
.player-loading, .player-error {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: #fff; text-align: center; padding: 16px; background: rgba(0, 0, 0, .45); z-index: 3; pointer-events: none;
}
.player-error { background: rgba(7, 20, 15, .9); pointer-events: auto; }
.player-error strong { font-family: var(--display); font-size: 20px; }
.player-error span { color: rgba(255, 255, 255, .72); font-size: 14px; max-width: 34ch; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .22); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.unmute-btn { position: absolute; right: 14px; top: 14px; z-index: 4; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-weight: 700; font-size: 13px; }
.unmute-btn:hover { background: var(--accent); }
.play-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 5; display: flex; align-items: center; justify-content: center; border: 0; padding: 0; background: radial-gradient(circle at center, rgba(0, 0, 0, .05), rgba(0, 0, 0, .4)); color: #fff; }
.play-overlay span { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding-left: 5px; background: var(--accent); box-shadow: 0 0 0 12px rgba(var(--accent-rgb), .22); transition: transform .18s, box-shadow .18s; }
.play-overlay:hover span, .play-overlay:focus-visible span { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(var(--accent-rgb), .25); }

.ad-layer { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 6; background: #000; }
.ad-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; }
.ad-ui { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.ad-ui > * { pointer-events: auto; }
.ad-badge { background: rgba(0, 0, 0, .7); color: #ffd84d; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 6px; margin-right: auto; }
.ad-more, .ad-unmute { background: rgba(0, 0, 0, .7); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 8px; border: 0; }
.ad-skip { background: rgba(0, 0, 0, .78); color: #fff; border: 1px solid rgba(255, 255, 255, .35); font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 8px; min-width: 120px; }
.ad-skip:disabled { cursor: default; opacity: .85; }
.ad-skip:not(:disabled):hover { background: #fff; color: #000; }

/* kanal məlumatı (player-in altı) */
.ch-info { position: relative; padding: 16px 18px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; }
.ci-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ci-logo { width: 64px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ci-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.ci-logo .ch-initials { width: 100%; height: 100%; font-size: 17px; }
.ci-text { min-width: 0; }
.pb-name { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.015em; line-height: 1.1; overflow-wrap: anywhere; }
.pb-tag { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.tag-sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.pb-tag .tag-sep:first-child { display: none; }
.ci-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.act { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid transparent; font-weight: 700; font-size: 14px; color: var(--ink); }
button.act:hover, label.act:hover { border-color: var(--line); background: #fff; }
.act-icon { width: 40px; padding: 0; justify-content: center; }
.pb-like.is-liked { background: #fdeced; color: #b3191c; }
.pb-like.is-liked .ic { color: var(--live); }
.pb-like.pop .ic { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.35); } }
.pb-quality { padding: 0 6px 0 14px; }
.pb-quality select { border: 0; background: transparent; font-weight: 700; font-size: 14px; padding: 0 6px 0 0; height: 100%; outline: none; cursor: pointer; }
.pb-desc { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.6; }
.toast { position: absolute; right: 18px; top: -16px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 8px; }

/* yan panel */
.onair { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 16px 12px 12px; }
.onair-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 6px 10px; }
.onair-head h2 { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 800; }
.onair-all { font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.onair-all:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.onair-list { display: grid; gap: 2px; max-height: 520px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.onair .ad-slot { margin: 12px 0 0; }
.ch-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: #fff; }
.ch-row:hover { background: rgba(255, 255, 255, .08); }
.ch-row.is-active { background: rgba(255, 255, 255, .14); box-shadow: inset 3px 0 0 var(--accent); }
.ch-row.is-loading { opacity: .55; pointer-events: none; }
.ch-row .ch-name { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.ch-row .ch-sub { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.ch-row .ch-views { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .7); font-weight: 600; }

/* ---------- Loqo plitələri ---------- */
.ch-logo { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ch-logo img { width: 100%; height: 100%; object-fit: contain; }
.ch-logo.is-initials, .ch-initials {
  --h: 150;
  display: flex; align-items: center; justify-content: center;
  background: hsl(var(--h) 52% 90%); color: hsl(var(--h) 48% 26%);
  font-family: var(--display); font-weight: 800; letter-spacing: -.01em; line-height: 1;
}
.ch-logo.sm { width: 48px; height: 36px; border-radius: 9px; font-size: 14px; }
.ch-logo.sm.has-img { background: #fff; padding: 4px; }
.ch-logo.xs { width: 40px; height: 30px; border-radius: 8px; font-size: 12px; }
.ch-logo.xs.has-img { background: #fff; border: 1px solid var(--line); padding: 3px; }

/* =================================================================
   Ən çox baxılanlar — turnir cədvəli
   ================================================================= */
.standings { list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--lift); }
.standings > li { display: block; }
.standings > li.st-headrow { display: grid; }
.st-headrow, .st-row { display: grid; grid-template-columns: 52px minmax(0, 1.4fr) minmax(0, 1fr) 96px; align-items: center; gap: 16px; padding: 0 14px; }
.st-headrow { height: 36px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.st-headrow .num { text-align: right; }
.st-row { min-height: 60px; border-top: 1px solid var(--line); }
.standings > li:last-child .st-row { border-radius: 0 0 14px 14px; }
.standings > li:nth-child(2) .st-row { border-top-color: transparent; }
.st-row:hover { background: var(--paper); }
.st-row.is-active { background: rgba(var(--accent-rgb), .08); }
.st-pos { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--muted); background: var(--paper); }
.st-row.top1 .st-pos { background: var(--gold); color: #3d2b00; }
.st-row.top2 .st-pos { background: var(--silver); color: #1f2a33; }
.st-row.top3 .st-pos { background: var(--bronze); color: #fff; }
.st-ch { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-width: 0; }
.st-ch .ch-logo { grid-row: 1 / 3; }
.st-name { font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-tag { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-bar { height: 6px; border-radius: 6px; background: var(--paper); overflow: hidden; }
.st-bar i { display: block; height: 100%; border-radius: 6px; background: var(--accent); }
.st-row.top1 .st-bar i { background: var(--gold); }
.st-views { text-align: right; font-weight: 700; font-size: 15px; }

/* =================================================================
   Bütün kanallar
   ================================================================= */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin-bottom: 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink); }
.chip span { font-size: 12px; color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on span { color: rgba(255, 255, 255, .65); }

.ch-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }
.ch-tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.ch-tile:hover { border-color: #c5cec8; box-shadow: var(--lift); }
.ch-tile.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ch-tile.is-loading { opacity: .6; pointer-events: none; }
.ch-media { position: relative; display: block; aspect-ratio: 16 / 10; }
.ch-media .ch-logo { position: absolute; top: 0; right: 0; bottom: 0; left: 0; font-size: 30px; }
.ch-media .ch-logo.has-img { background: #fff; padding: 18% 20%; border-bottom: 1px solid var(--line); }
.live-chip { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: #fff; color: var(--live); font-size: 11.5px; font-weight: 700; line-height: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.ch-tile .ch-body { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px 12px; }
.ch-tile .ch-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-tile .ch-sub { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ch-tile .ch-sub > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-tile .ch-views { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }

/* ---------- Səhifələmə ---------- */
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 26px 0 0; padding: 0; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .disabled, .pagination .gap { opacity: .4; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 22px; }
.js .pagination-fallback { display: none; }

/* ---------- Daxili səhifələr ---------- */
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin: 18px 0 14px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--ink); }
.content-page { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--lift); }
.content-page h1 { margin: 0 0 18px; font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.prose { color: #33413b; max-width: 72ch; font-size: 15.5px; line-height: 1.7; }
.prose h2 { font-family: var(--display); font-size: 21px; margin: 28px 0 8px; color: var(--ink); letter-spacing: -.01em; }
.prose h3 { font-size: 17px; margin: 22px 0 8px; color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose img { border-radius: var(--r-sm); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px; }
.updated { margin: 26px 0 0; font-size: 12.5px; color: var(--muted); }

.faq-list { display: grid; gap: 8px; margin-top: 20px; max-width: 76ch; }
.faq { background: var(--paper); border: 1px solid transparent; border-radius: var(--r); }
.faq[open] { background: #fff; border-color: var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 50px 15px 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; }
.faq[open] summary::after { content: "–"; background: var(--ink); color: #fff; border-color: var(--ink); }
.faq summary h2 { margin: 0; font-size: 16px; font-weight: 700; }
.faq-answer { padding: 0 18px 18px; color: #4a5752; line-height: 1.65; }

.contact-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; margin-top: 24px; }
.contact-info { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: start; }
.contact-info li { background: var(--paper); border-radius: var(--r); padding: 13px 15px; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.ci-label { font-size: 12.5px; color: var(--muted); }
.contact-info a { color: var(--ink); font-weight: 700; }
.contact-form h2 { margin: 0 0 14px; font-family: var(--display); font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 14px; color: var(--muted); font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); outline: none; font-weight: 500; }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; margin-top: 28px; padding: 56px 0 0; color: rgba(255, 255, 255, .72); background: radial-gradient(900px 380px at 85% -10%, rgba(var(--accent-rgb), .22), transparent 60%), linear-gradient(180deg, var(--pitch) 0%, var(--pitch-deep) 100%); }
.footer-pitch { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 90px, transparent 90px 180px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.footer-pitch::before { content: ""; position: absolute; left: 50%; top: -170px; width: 340px; height: 340px; border: 2px solid rgba(255, 255, 255, .06); border-radius: 50%; transform: translateX(-50%); }
.site-footer .container { position: relative; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px 48px; padding-bottom: 40px; }
.footer-top.has-app { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.05fr); }
html.is-pwa .footer-app { display: none; }
html.is-pwa .footer-top.has-app { grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1.1fr); }
.brand-footer .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.brand-footer .brand-mark svg { width: 18px; height: 18px; }
.brand-footer .brand-name { font-size: 22px; color: #fff; }
.footer-about p { color: rgba(255, 255, 255, .66); font-size: 14.5px; line-height: 1.65; max-width: 40ch; margin: 16px 0 0; }
.footer-title { position: relative; font-family: var(--display); font-size: 15px; font-weight: 700; color: #fff; margin: 4px 0 18px; padding-bottom: 12px; letter-spacing: .01em; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14.5px; overflow-wrap: anywhere; }
.footer-links a { color: rgba(255, 255, 255, .72); transition: color .15s, transform .15s; display: inline-flex; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-links.icons li { display: flex; align-items: center; gap: 11px; color: rgba(255, 255, 255, .72); }
.footer-links.icons a:hover { transform: none; }
.footer-links .fi { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); color: var(--accent); }
.footer-links .fi .ic { opacity: 1; color: #57d980; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); transition: background .15s, transform .15s, border-color .15s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-app { align-self: start; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.footer-app img { width: 52px; height: 52px; border-radius: 14px; display: block; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6); }
.footer-app strong { display: block; margin-top: 14px; font-family: var(--display); font-size: 17px; color: #fff; }
.footer-app p { margin: 6px 0 14px; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .65); }
.fa-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 14px; border-radius: 12px; border: 0; cursor: pointer; font: inherit; text-align: left; color: #04230f; background: linear-gradient(180deg, #3fd56a, var(--accent)); box-shadow: 0 10px 22px -12px rgba(var(--accent-rgb), .9); transition: transform .15s, box-shadow .15s; }
.fa-btn + .fa-btn { margin-top: 8px; }
.fa-btn:hover { transform: translateY(-1px); }
.fa-btn span { display: flex; flex-direction: column; font-weight: 800; font-size: 14.5px; line-height: 1.15; }
.fa-btn small { font-weight: 600; font-size: 11px; opacity: .75; letter-spacing: .03em; }
.fa-ghost { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: none; border: 1px solid rgba(255, 255, 255, .16); }
.fa-ios { margin: 12px 0 0 !important; font-size: 12.5px !important; color: rgba(255, 255, 255, .55) !important; }
.fa-ios b { color: rgba(255, 255, 255, .85); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }
.footer-legal a { color: rgba(255, 255, 255, .6); }
.footer-legal a:hover { color: #fff; }
@media (max-width: 1100px) {
  .footer-top, .footer-top.has-app, html.is-pwa .footer-top.has-app { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .footer-app { grid-column: 1 / -1; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; }
  .footer-app img { grid-row: span 2; }
  .footer-app strong { margin: 0; }
  .footer-app p { margin: 0; grid-column: 2; }
  .footer-app .fa-btn, .footer-app .fa-ios { grid-column: 3; grid-row: 1 / span 2; width: auto; margin: 0 !important; }
  .footer-app .fa-btn + .fa-btn { grid-row: auto; }
  .footer-about p { max-width: 60ch; }
}
@media (max-width: 640px) {
  .site-footer { padding-top: 40px; }
  .footer-top, .footer-top.has-app, html.is-pwa .footer-top.has-app { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 30px; }
  .footer-app { grid-template-columns: 48px minmax(0, 1fr); }
  .footer-app img { width: 48px; height: 48px; }
  .footer-app .fa-btn, .footer-app .fa-ios { grid-column: 1 / -1; grid-row: auto; width: 100%; margin-top: 10px !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .footer-top, .footer-top.has-app, html.is-pwa .footer-top.has-app { grid-template-columns: 1fr; }
  nav.footer-col .footer-links { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .footer-links.icons a[href^="tel:"] { white-space: nowrap; }
}

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1100px) {
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
  .onair { padding: 14px 10px 10px; }
  .onair-list { max-height: none; overflow-y: visible; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .onair-list::-webkit-scrollbar { display: none; }
  .ch-row { flex: 0 0 236px; background: rgba(255, 255, 255, .06); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { order: 4; flex-basis: 100%; margin: 0; display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; padding: 4px 0 6px; }
  .site-nav a { border-radius: 10px; padding: 12px; font-size: 15.5px; color: var(--ink); }
  .search { order: 3; flex: 1 1 100%; }
  .header-inner { gap: 12px; }
  .ch-info { grid-template-columns: minmax(0, 1fr); }
  .ci-actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .st-headrow, .st-row { grid-template-columns: 40px minmax(0, 1fr) 84px; gap: 12px; padding: 0 10px; }
  .st-bar, .st-bar-h { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .brand-name { font-size: 21px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { padding: 20px 0 26px; }
  .matchday { margin-bottom: 20px; }
  .md-head h2 { font-size: 20px; }
  .md-date { font-size: 13px; }
  .fixture { flex-basis: 78%; }
  .player { border-radius: 16px; }
  .stage-badges { top: 10px; left: 10px; }
  .play-overlay span { width: 68px; height: 68px; }
  .play-overlay .ic { width: 32px; height: 32px; }
  .ch-info { padding: 14px; }
  .pb-name { font-size: 21px; }
  .ci-logo { width: 54px; height: 40px; }
  .ci-actions { flex-wrap: nowrap; }
  .act { height: 38px; padding: 0 12px; font-size: 13.5px; }
  .act-views { display: none; } /* baxış sayı playerin üstündəki nişanda görünür */
  .act-icon { width: 38px; padding: 0; }
  .ci-actions .act-icon:first-of-type { margin-left: auto; }
  .section { margin-top: 34px; }
  .section-head h2 { font-size: 24px; }
  .st-row { min-height: 56px; }
  .st-pos { width: 28px; height: 28px; font-size: 14px; }
  .st-name { font-size: 15px; }
  .ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ch-media .ch-logo { font-size: 24px; }
  .ch-tile .ch-body { padding: 10px 11px 11px; }
  .ch-tile .ch-name { font-size: 14px; }
  .content-page { padding: 20px 16px; }
  .content-page h1 { font-size: 27px; }
  .field-row { grid-template-columns: 1fr; }
  .ad-skip { min-width: 0; padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 360px) {
  .stage-badges .pill-dark { display: none; }
}
/* Böyük ekranlar və Smart TV */
@media (min-width: 1700px) {
  :root { --container: 1560px; }
  body { font-size: 16px; }
  .stage-grid { grid-template-columns: minmax(0, 1fr) 380px; }
}
@media (min-width: 2400px) {
  :root { --container: 2100px; }
  html, body { font-size: 20px; }
  .header-inner { min-height: 96px; }
  .brand-name { font-size: 32px; }
  .site-nav a { font-size: 19px; padding: 12px 18px; }
  .search { flex-basis: 480px; }
  .search input { height: 58px; font-size: 19px; }
  .section-head h2 { font-size: 40px; }
  .pb-name { font-size: 34px; }
  .act { height: 54px; font-size: 18px; }
  .stage-grid { grid-template-columns: minmax(0, 1fr) 480px; }
  .ch-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .ch-card:focus-visible { outline-width: 4px; }
  .fixture { flex-basis: 360px; }
  .fx-name { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Köhnə brauzerlər və Smart TV-lər üçün uyğunluq */
@supports not (aspect-ratio: 16 / 9) {
  .player-stage { height: 0; padding-top: 56.25%; }
  .player-stage:fullscreen { height: 100vh; padding-top: 0; }
  .player-stage:-webkit-full-screen { height: 100vh; padding-top: 0; }
  .ch-media { height: 0; padding-top: 62.5%; }
}

/* ---------- JS reklamlar ---------- */
.ad-leaderboard { background: var(--surface); border-bottom: 1px solid var(--line); }
.ad-leaderboard .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.js-ad-frame { display: block; max-width: 100%; border: 0; background: transparent; }
.js-ad-code { max-width: 100%; overflow: hidden; display: flex; justify-content: center; }
.ad-slot .js-ad-frame, .ad-slot .js-ad-code { margin: 0 auto; }
.player-js-ad { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); z-index: 4; max-width: calc(100% - 24px); background: rgba(0, 0, 0, .55); border-radius: 10px; padding: 6px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pja-body { overflow: hidden; border-radius: 6px; display: flex; justify-content: center; }
.pja-body .js-ad-frame { max-width: 100%; }
.pja-label { position: absolute; left: 8px; top: -20px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 7px; border-radius: 4px; }
.pja-close { position: absolute; right: -10px; top: -12px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: #111; color: #fff; font-size: 17px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0 0 2px; z-index: 1; }
.pja-close:hover { background: var(--live); }
@media (max-width: 640px) {
  .player-js-ad { bottom: 46px; padding: 4px; }
  .pja-body .js-ad-frame { transform-origin: center bottom; }
}

/* ---------- Mobil tətbiq banneri ---------- */
.app-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.ab-card { pointer-events: auto; position: relative; max-width: 460px; margin: 0 auto; background: var(--surface); color: var(--ink); border-radius: 22px; padding: 18px 18px 16px; box-shadow: 0 -2px 0 rgba(255, 255, 255, .6) inset, 0 24px 60px -12px rgba(7, 26, 19, .55), 0 0 0 1px rgba(16, 32, 26, .06);
  transform: translateY(calc(100% + 24px)); opacity: 0; transition: transform .32s cubic-bezier(.2, .9, .3, 1.05), opacity .2s; }
.app-banner.is-in .ab-card { transform: none; opacity: 1; }
.ab-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--paper); color: var(--muted); font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0 0 2px; }
.ab-close:hover { color: var(--ink); }
.ab-top { display: flex; align-items: center; gap: 14px; padding-right: 30px; }
.ab-icon { width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0; box-shadow: 0 6px 16px -6px rgba(7, 26, 19, .5); }
.ab-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ab-text strong { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.ab-text span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.ab-text small { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ab-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 16px; }
.ab-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; border: 0; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 10px 22px -10px rgba(var(--accent-rgb), .9); }
.ab-btn:hover { filter: brightness(1.06); color: #fff; }
.ab-btn.is-done { background: var(--pitch); box-shadow: none; }
.ab-link { border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 13.5px; padding: 6px; text-decoration: underline; text-underline-offset: 3px; }
.ab-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.ab-steps { margin: 14px 0 0; padding: 12px 14px 12px 34px; background: var(--paper); border-radius: 14px; font-size: 14px; line-height: 1.55; display: grid; gap: 6px; }
.ab-steps b { font-weight: 700; }
.ab-share { display: inline-flex; vertical-align: -3px; color: #0a84ff; }
.is-pwa .app-banner { display: none !important; }
/* "PWA-da göstər" rejimi: bu bölmələr yalnız quraşdırılmış tətbiqdə görünür */
html:not(.is-pwa) .pwa-only { display: none !important; }
@media (min-width: 700px) {
  .app-banner { left: auto; right: 20px; bottom: 20px; padding: 0; width: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-card { transition: none; }
}

/* ---------- Canlı yayım kartı (yayım yalnız tətbiqdə / yalnız saytda) ---------- */
.live-gate { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 7; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; color: #fff; text-align: center;
  background:
    radial-gradient(520px 280px at 50% 0%, rgba(255, 255, 255, .14), transparent 70%),
    linear-gradient(180deg, #0f4a37 0%, #072619 100%); }
.lg-inner { max-width: 440px; display: flex; flex-direction: column; align-items: center; }
.lg-icon { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 14px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 14px 30px -10px rgba(0, 0, 0, .6); }
.lg-title { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.lg-text { margin: 8px 0 0; color: rgba(255, 255, 255, .75); font-size: 14.5px; line-height: 1.55; max-width: 40ch; }
.lg-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.lg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .2); }
.lg-btn:hover { filter: brightness(1.07); color: #fff; }
.lg-btn-ghost { background: rgba(255, 255, 255, .12); box-shadow: none; }
.lg-steps { margin: 16px 0 0; padding: 12px 14px 12px 32px; text-align: left; background: rgba(255, 255, 255, .08); border-radius: 14px; font-size: 13.5px; line-height: 1.55; display: grid; gap: 4px; }
.lg-hint { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, .7); }
@media (max-width: 640px) {
  .live-gate { padding: 14px; }
  .lg-icon { width: 52px; height: 52px; border-radius: 15px; margin-bottom: 10px; }
  .lg-title { font-size: 18px; }
  .lg-text { font-size: 13px; margin-top: 6px; }
  .lg-actions { margin-top: 12px; }
  .lg-btn { height: 42px; font-size: 14px; padding: 0 18px; }
}

/* ===== Açılış ekranı (PWA splash) ===== */
.pwa-splash { display: none; }
html.splash-on body { overflow: hidden; }
html.splash-on .pwa-splash {
  display: flex; position: fixed; inset: 0; z-index: 10000; align-items: center; justify-content: center; padding: 24px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 46%, rgba(4, 25, 15, .05), rgba(4, 25, 15, .55) 78%),
    linear-gradient(180deg, rgba(3, 18, 11, .45) 0%, rgba(3, 18, 11, .05) 38%, rgba(3, 18, 11, .35) 78%, rgba(3, 18, 11, .8) 100%),
    var(--splash-bg) center 42% / cover no-repeat,
    #0b3a2c;
  color: #fff; text-align: center;
  animation: psAutoOut .5s ease 7s forwards; /* skript işləməsə də ekran bağlanır */
  transition: opacity .5s ease, visibility .5s;
}
.pwa-splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.ps-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; transform: translateY(-4vh); animation: psIn .7s cubic-bezier(.2, .8, .2, 1) both; }
.ps-icon { position: relative; width: 112px; height: 112px; border-radius: 30px; padding: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 10px rgba(31, 177, 75, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ps-icon::after { content: ""; position: absolute; inset: -18px; border-radius: 40px; border: 2px solid rgba(124, 242, 156, .35); animation: psPulse 1.8s ease-out infinite; }
.ps-icon img { width: 96px; height: 96px; border-radius: 24px; display: block; }
.ps-name { margin-top: 10px; font-family: var(--display, system-ui); font-weight: 800; font-size: clamp(26px, 7vw, 40px); letter-spacing: .02em; text-transform: uppercase; line-height: 1; text-shadow: 0 6px 24px rgba(0, 0, 0, .55); }
.ps-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ps-tag i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d57; box-shadow: 0 0 0 0 rgba(255, 77, 87, .7); animation: psDot 1.4s infinite; }
.ps-bar { width: 150px; height: 4px; margin-top: 12px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .18); }
.ps-bar i { display: block; width: 40%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #1fb14b, #7cf29c); animation: psBar 1.1s ease-in-out infinite; }
@keyframes psIn { from { opacity: 0; transform: translateY(calc(-4vh + 18px)) scale(.96); } to { opacity: 1; transform: translateY(-4vh); } }
@keyframes psPulse { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.18); } }
@keyframes psDot { 100% { box-shadow: 0 0 0 9px rgba(255, 77, 87, 0); } }
@keyframes psBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes psAutoOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (orientation: landscape) and (max-height: 520px) { .ps-icon { width: 84px; height: 84px; border-radius: 24px; } .ps-icon img { width: 68px; height: 68px; border-radius: 18px; } .ps-inner { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .ps-inner, .ps-icon::after, .ps-bar i, .ps-tag i { animation: none; } }
