/* ============================================================
   WINTER TEMA
   Renkler Admin > Site Ayar > Tema Renkleri sekmesinden yönetilir;
   header.php bu dosyadan sonra bir :root override basar. Aşağıdaki
   çekirdek değerler yalnızca panel renkleri kapalıyken geçerlidir.
   ============================================================ */

:root {
    /* Çekirdek değerler (panelden yönetilir) */
    --brand-rgb:   56,189,248;
    --accent-rgb:  20,74,143;
    --bg-rgb:      10,23,36;

    --glow-alpha:          0.35;
    --glass-alpha:         0.28;
    --glass-strong-alpha:  0.82;
    --glass-light-alpha:   0.06;
    --border-alpha:        0.10;
    --border-strong-alpha: 0.15;
    --text-2-alpha:        0.65;
    --text-3-alpha:        0.35;
    --overlay-alpha:       0.26;

    --primary:        #ffffff;
    --primary-light:  #9dd6f1;
    --accent:         #144a8f;
    --gold:           #fbbf24;
    --green:          #22c55e;
    --red:            #ef4444;
    --text-1:         #ffffff;
    --bg-image:       none;

    --blur:        10px;
    --blur-strong: 40px;
    --radius:    16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    /* Türetilmiş değerler */
    --brand:        rgb(var(--brand-rgb));
    --primary-glow: rgba(var(--brand-rgb), var(--glow-alpha));
    --bg-base:      rgb(var(--bg-rgb));
    --panel-bg:     rgba(var(--bg-rgb), var(--glass-alpha));
    --glass-strong: rgba(var(--bg-rgb), var(--glass-strong-alpha));
    --glass-light:  rgba(255,255,255, var(--glass-light-alpha));
    --glass-border: rgba(255,255,255, var(--border-alpha));
    --glass-border-strong: rgba(255,255,255, var(--border-strong-alpha));
    --text-2: rgba(255,255,255, var(--text-2-alpha));
    --text-3: rgba(255,255,255, var(--text-3-alpha));
    --shadow:    0 8px 32px rgba(0,0,0,0.25);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.35);
    --transition: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-1);
    background-color: var(--bg-base);
    background-image: var(--bg-image);
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: left;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.has-pageskin { background-image: var(--pageskin), var(--bg-image); }

/* Arka plan görseli üstüne karartma — transparan bölgeler okunabilir olsun */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--bg-rgb), calc(var(--overlay-alpha) * 0.46)) 0%, rgba(var(--bg-rgb), var(--overlay-alpha)) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Pageskin tıklama katmanı: karartmanın üstünde, içeriğin altında */
.pageskin {
    position: fixed;
    inset: 0;
    z-index: 2;
}

#wrapper {
    position: relative;
    z-index: 5;
    max-width: 1060px;
    margin: 0 auto;
}

/* ====================================================
   HEADER
   ==================================================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    margin: 14px 12px 8px;
    background: var(--panel-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    z-index: 100;
}
.header::after {
    content: '';
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
}
.header .header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(var(--brand-rgb),0.2));
    transition: filter 0.3s ease;
}
.header-logo:hover img { filter: drop-shadow(0 2px 16px rgba(var(--brand-rgb),0.4)); }

.navbar-toggler { display: none; }

/* Sosyal medya */
.header-socials {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0; padding: 0; list-style: none;
}
.header-socials li { display: inline-flex; }
.header-socials li a,
.footer-social-btn {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--glass-light);
    backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s var(--transition);
    position: relative;
    overflow: hidden;
}
.header-socials li a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
    pointer-events: none;
}
.header-socials li a:hover,
.footer-social-btn:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.header-socials li a i { font-size: 16px; line-height: 1; position: relative; z-index: 1; }

.header-socials li a:has(.la-twitter):hover,
.footer-social-btn:has(.la-twitter):hover { background: #000; border-color: rgba(255,255,255,0.25); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.header-socials li a:has(.la-telegram):hover,
.footer-social-btn:has(.la-telegram):hover { background: #0088cc; border-color: rgba(0,136,204,0.6); box-shadow: 0 8px 24px rgba(0,136,204,0.4); }
.header-socials li a:has(.la-instagram):hover,
.footer-social-btn:has(.la-instagram):hover { background: linear-gradient(135deg,#405de6,#833ab4,#c13584,#e1306c,#fd1d1d,#f56040,#f77737,#fcaf45,#ffdc80); border-color: transparent; box-shadow: 0 8px 24px rgba(193,53,132,0.4); }
.header-socials li a:has(.la-facebook-f):hover,
.footer-social-btn:has(.la-facebook-f):hover { background: #1877f2; border-color: rgba(24,119,242,0.6); box-shadow: 0 8px 24px rgba(24,119,242,0.4); }

/* Twitter -> X */
i.lab.la-twitter::before {
    content: "𝕏";
    font-family: 'Georgia', serif;
    font-style: normal;
    font-weight: 900;
    font-size: 0.85em;
}

/* Siteye Git */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: linear-gradient(135deg, rgba(var(--brand-rgb),0.18), rgba(var(--brand-rgb),0.08));
    border: 1px solid rgba(var(--brand-rgb),0.35);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.25s var(--transition);
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(var(--brand-rgb),0.12);
}
.cta-btn:hover {
    background: linear-gradient(135deg, rgba(var(--brand-rgb),0.28), rgba(var(--brand-rgb),0.14));
    border-color: rgba(var(--brand-rgb),0.55);
    box-shadow: 0 4px 20px rgba(var(--brand-rgb),0.25);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.cta-btn i { font-size: 14px; }

/* ====================================================
   MENÜ
   ==================================================== */
.navbar {
    display: block;
    margin: 0 12px 8px;
    padding: 6px 10px;
}
.menu-bg {
    background: var(--panel-bg);
    border: 1px solid var(--glass-border);
    position: relative;
}
.menu-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
    pointer-events: none;
}
.navbar .navbar-collapse {
    display: flex !important;
    justify-content: center;
}
.header-menu {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.header-menu .nav-item .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 12px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    transition: color 0.25s ease;
    line-height: 1;
}
.header-menu .nav-item .nav-link i {
    display: block;
    font-size: 28px;
    line-height: 1;
    opacity: 0.72;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.header-menu .nav-item .nav-link span {
    display: block;
    font-family: 'Rajdhani', 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.80);
    line-height: 1;
    transition: color 0.3s ease;
}
@keyframes navIconPulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; text-shadow: none; }
    50%      { transform: translateY(-3px) scale(1.18); opacity: 0.95; text-shadow: 0 4px 16px rgba(var(--brand-rgb),0.45); }
}
.header-menu .nav-item .nav-link:hover,
.header-menu .nav-item .nav-link.active { color: #fff; text-decoration: none; }
.header-menu .nav-item .nav-link:hover i {
    color: var(--primary-light);
    text-shadow: 0 0 18px rgba(var(--brand-rgb),0.55);
    animation: navIconPulse 0.6s ease forwards;
    opacity: 1;
}
.header-menu .nav-item .nav-link:hover span { color: #fff; }
.header-menu .nav-item .nav-link.active i {
    color: var(--primary);
    text-shadow: 0 0 16px rgba(var(--brand-rgb),0.5);
}
.header-menu .nav-item .nav-link.active span { color: var(--primary-light); }

.navbar-toggler .icon-bar {
    display: block;
    width: 20px; height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.navbar-toggler.is-active .icon-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler.is-active .icon-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-toggler.is-active .icon-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====================================================
   YATAY REKLAM
   ==================================================== */
.yatay-reklam-alani {
    padding: 8px 12px;
    text-align: center;
}
.yatay-reklam-alani img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
}

/* ====================================================
   YAYIN ALANI
   ==================================================== */
.main { padding-bottom: 18px; }

#match-wrapper { padding: 0 12px; }
#match-wrapper > .row {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    margin: 0;
}
#match-wrapper > .row > .col-lg-8,
#match-wrapper > .row > .col-lg-4 {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
    min-width: 0;
}
#match-wrapper .col-lg-8 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#score-board   { order: 1; overflow: hidden; border-radius: var(--radius-xl); }
#stream-player { order: 2; }

#live-stats-section {
    margin-top: 10px;
    position: relative;
    width: 100%;
}

/* Skor tablosu */
#score-board .body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 10px;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(var(--brand-rgb),0.04));
    border-bottom: 1px solid var(--glass-border);
}
#score-board .odd {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
#score-board .odd.away { flex-direction: row-reverse; }
#score-board .odd img {
    width: 36px; height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    border-radius: 4px;
}
#score-board .odd h3 {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
#score-board .away h3 { text-align: right; }
#score-board .odds {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 14px;
}
#score-board .odds::after {
    content: 'VS';
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.2);
}

/* Player kartı */
.videoalani {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border-strong);
    box-shadow: var(--shadow-lg);
}
.videoalani::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(var(--brand-rgb),0.2), transparent 50%, rgba(var(--accent-rgb),0.08));
    z-index: 0;
    pointer-events: none;
}

#stream-player .stream-name { position: absolute; top: 20px; left: 30px; z-index: 10; font-size: 18px; font-weight: 500; background: #000; transition: opacity 300ms linear; }
.plyr--hide-controls .stream-name { opacity: 0 !important; }
#stream-player .logo { position: absolute; z-index: 11; }
#stream-player .logo a { display: inline-block; }
#stream-player .logo img { width: 150px; height: auto; }
#stream-player .logo.top-right { top: 20px; right: 30px; }
#stream-player .logo.top-left { top: 20px; left: 30px; }
#stream-player .logo.bottom-right { bottom: 80px; right: 30px; }
#stream-player .logo.bottom-left { bottom: 80px; left: 30px; }
#stream-player .pause { display: flex; align-items: center; justify-content: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; }
#stream-player .pause svg { width: 4em; fill: #fff; }

/* Player içi banner */
.banner { position: absolute; z-index: 1000; width: 65%; text-align: center; }
.banner.top { top: 0; max-width: 65%; max-height: 65%; }
.banner.bottom { bottom: 49px; max-width: 65%; max-height: 65%; }
.banner.none { display: none !important; }
.banner img { width: 65%; height: auto; }

/* Poster yayın başlayana kadar görünür kalsın */
.plyr__poster {
    display: block !important;
    opacity: 1 !important;
    background-size: cover !important;
    background-position: center !important;
}
.plyr.stream-started .plyr__poster { display: none !important; }

/* Player önü video reklam */
.videoalani .reklamalani { position: absolute; inset: 0; display: none; background: #000; z-index: 20; }
.videoalani .reklamalani .gec { position: absolute; right: 10px; bottom: 10px; display: none; padding: 10px; color: #fff; background: rgba(0,255,0,0.6); cursor: pointer; }
.videoalani .reklamalani .gec:hover { border: 1px solid #fff; }
#gerisayim { display: none; position: absolute; top: 10px; left: 15px; z-index: 99; font-size: 1em; color: aliceblue; }

/* Plyr */
.plyr--video {
    position: relative;
    user-select: none;
    --color: var(--brand);
    border-radius: var(--radius-xl);
}
.live-button { display: flex; flex-direction: row; align-items: center; cursor: pointer; text-transform: uppercase; font-size: .75em; }
.live-text { font-weight: 400; letter-spacing: 1px; }
.live-blink { width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: .5em; animation: live 1000ms linear infinite; }
@keyframes live { 0%,100%{opacity:.4} 50%{opacity:1} }
video { width: 100%; line-height: 1; }
.plyr__controls { justify-content: space-between; padding: 1em !important; border-top: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent) !important; }
.plyr--video .plyr__control.plyr__tab-focus,
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded=true] { background: var(--color); }
.plyr__controls [role=tooltip] { background: #fff; color: var(--color); box-shadow: none; padding: .5em 1em; font-weight: 300; }
.plyr--full-ui input[type=range] { color: var(--color); }
.player-flex { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; }
.player-flex > :not(:first-child) { margin-left: .5em; }

/* Yükleniyor ekranı */
.video-loader {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(0,0,0,.85); backdrop-filter: blur(4px); color: #fff;
}
.loader-text { padding: 0 4em; text-align: center; }
.loader-teams { display: grid; grid-template-columns: auto auto auto; align-items: center; justify-content: center; }
.loader-teams > div { display: grid; gap: 1em; align-items: center; }
.loader-teams img { width: 64px; margin: auto; }
.loader-teams .loader-home { grid-template-columns: 1fr; text-align: right; }
.loader-teams .loader-away { grid-template-columns: 1fr; text-align: left; }
.loader-loading { margin-top: 1em; }
.event-logo { max-width: 240px; max-height: 110px; }

.loader-bar { position: relative; width: 80px; padding: 0 20px; }
.loader-bar div {
    position: absolute; width: 13px; height: 13px; border-radius: 50%;
    background: var(--gold); animation-timing-function: cubic-bezier(0,1,1,0);
}
.loader-bar div:nth-child(1) { left: 8px; animation: loader-bar1 0.6s infinite; }
.loader-bar div:nth-child(2) { left: 8px; animation: loader-bar2 0.6s infinite; }
.loader-bar div:nth-child(3) { left: 32px; animation: loader-bar2 0.6s infinite; }
.loader-bar div:nth-child(4) { left: 56px; animation: loader-bar3 0.6s infinite; }
@keyframes loader-bar1 { 0%{transform:scale(0)} 100%{transform:scale(1)} }
@keyframes loader-bar3 { 0%{transform:scale(1)} 100%{transform:scale(0)} }
@keyframes loader-bar2 { 0%{transform:translate(0,0)} 100%{transform:translate(24px,0)} }

#match-ended {
    user-select: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(0,0,0,.92); backdrop-filter: blur(8px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 1em; text-align: center; z-index: 99; border-radius: var(--radius-xl);
}
#match-ended h3 { font-size: 28px; font-weight: 700; color: var(--gold); }
#match-ended p { max-width: 360px; }
#match-ended u { color: var(--gold); text-decoration: none; }
#match-ended > p:not(:first-child) { margin-top: 1em; }

/* ====================================================
   MAÇ LİSTESİ
   ==================================================== */
#event-list {
    position: relative;
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
    background: var(--panel-bg);
    overflow: hidden;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
}

#event-list .sections {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}
#event-list .sections a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    color: var(--text-3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}
#event-list .sections a:first-child { border-right: 1px solid rgba(255,255,255,0.06); }
#event-list .sections a:hover { color: var(--text-2); background: rgba(255,255,255,0.02); }
#event-list .sections a.active {
    color: var(--primary-light);
    background: linear-gradient(180deg, rgba(var(--brand-rgb),0.08), transparent);
}
#event-list .sections a.active::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 16px var(--primary-glow);
}

/* Spor dalı sekmeleri */
#event-list .tabs {
    position: relative;
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.08);
    overflow: hidden;
}
#event-list .tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: left;
    height: 36px;
    margin: 2px;
    border-radius: 10px;
    border: 1px solid transparent;
    overflow: hidden;
    transition: background 0.2s;
}
#event-list .tabs a .icon { margin: 8px; fill: rgba(255,255,255,0.2); width: 18px; height: 18px; transition: fill 0.2s; }
#event-list .tabs a span {
    display: none;
    position: absolute; top: 2px; right: 2px;
    height: 13px; margin: 0; padding: 2px 4px;
    font-weight: 700; font-size: 9px; line-height: 1;
    background: var(--primary); color: #000;
    border-radius: 4px; white-space: nowrap;
}
#event-list .tabs a:hover { background: rgba(255,255,255,0.05); }
#event-list .tabs a.active .icon { fill: var(--primary); }
#event-list .tabs a.active span { display: inline-block; }
#event-list .tabs .owl-next,
#event-list .tabs .owl-prev { position: absolute; top: 0; width: 28px; line-height: 40px; text-align: center; color: var(--text-3); }
#event-list .tabs .owl-next { right: 0; }
#event-list .tabs .owl-prev { left: 0; }

/* Arama */
#event-list .search {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.1);
}
#event-list .search::before {
    content: '\f002';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    font-size: 14px;
    pointer-events: none;
}
#event-list .search input {
    width: 100%;
    height: 38px;
    padding: 0 12px 0 38px;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 12px;
    color: #fff;
    outline: none;
}
input[type=search]::placeholder { color: var(--text-3); }

/* Maç satırları — sabit yükseklik: sekme değişiminde reflow olmasın */
#event-list .items {
    height: 435px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--brand-rgb),0.15) transparent;
}
#event-list .items::-webkit-scrollbar { width: 3px; }
#event-list .items::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), transparent); border-radius: 4px; }

#event-list .items a {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0,1fr) 48px minmax(0,1fr) 28px;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-1);
    text-decoration: none;
    transition: background 0.18s ease;
}
#event-list .items a::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.18s ease;
}
#event-list .items a:last-child { border-bottom: none; }

.el-logo {
    width: 26px; height: 26px;
    border-radius: 4px;
    object-fit: contain;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4));
    transition: transform 0.2s ease, filter 0.2s ease;
}
.el-home-col,
.el-away-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.el-home-col { align-items: flex-start; }
.el-away-col { align-items: flex-end; }
/* Lig satırı: rozet (GÜNÜN MAÇI vb.) lig adından önce, aynı hizada */
.el-league {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    font-family: 'Barlow Condensed', 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 600;
    color: rgba(255,255,255,0.30);
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.el-home-name,
.el-away-name {
    max-width: 100%;
    font-family: 'Barlow Condensed', 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.1;
    color: rgba(255,255,255,0.78);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
}
.el-away-name { text-align: right; }
.el-center-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
}
.el-time {
    font-family: 'Barlow Condensed', 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: rgba(var(--brand-rgb),0.75);
    letter-spacing: 0.5px;
    line-height: 1.3;
    white-space: nowrap;
}

.el-league-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.el-league .el-tag { flex-shrink: 0; }

/* Lig rozetleri (stiller lig_helper.php içinde inline basılır) */
.el-tag,
.ls-tag { transition: filter 0.18s ease; }
.el-tag--gold,
.ls-tag--gold { animation: elTagPulse 2.5s ease-in-out infinite; }
@keyframes elTagPulse {
    0%, 100% { filter: brightness(1); }
    50%      { filter: brightness(1.12); }
}
@media (prefers-reduced-motion: reduce) {
    .el-tag, .ls-tag { animation: none !important; }
}

#event-list .items a:hover { background: rgba(255,255,255,0.035) !important; }
#event-list .items a:hover::before { opacity: 0.5; }
#event-list .items a:hover .el-logo { transform: scale(1.1); filter: drop-shadow(0 2px 8px rgba(var(--brand-rgb),0.3)); }
#event-list .items a:hover .el-tag { filter: brightness(1.08); }
#event-list .items a:hover .el-home-name,
#event-list .items a:hover .el-away-name { color: rgba(255,255,255,0.95); }
#event-list .items a:hover .el-league { color: rgba(255,255,255,0.45); }
#event-list .items a:hover .el-time,
#event-list .items a.active .el-time { color: var(--primary-light); }

#event-list .items a.active {
    background: rgba(var(--brand-rgb),0.07) !important;
    border-bottom-color: rgba(var(--brand-rgb),0.12);
}
#event-list .items a.active::before { opacity: 1; }
#event-list .items a.active .el-home-name,
#event-list .items a.active .el-away-name { color: #fff; }
#event-list .items a.active .el-league { color: rgba(255,255,255,0.50); }

/* Kanallar */
#section-channels { padding: 10px; }
#channels { max-height: 520px; overflow-y: auto; overflow-x: hidden; }
#channels a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    margin-bottom: 8px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(var(--blur));
    text-decoration: none;
    transition: all 0.3s ease;
}
#channels a:hover {
    background: rgba(var(--brand-rgb),0.06);
    border-color: rgba(var(--brand-rgb),0.25);
    transform: translateY(-2px);
    box-shadow: var(--shadow), 0 0 24px rgba(var(--brand-rgb),0.08);
}
#channels a img { max-width: 80%; max-height: 50px; }
#channels .item:nth-child(odd) { padding-right: 4px; }
#channels .item:nth-child(even) { padding-left: 4px; }

/* ====================================================
   CANLI SKOR ŞERİDİ
   ==================================================== */
.livescores-section { margin: 0 12px 18px; }
.livescores-card {
    background: var(--panel-bg);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
}
.livescores-track-wrap {
    position: relative;
    padding: 12px 0;
    overflow: hidden;
    cursor: grab;
    contain: layout style;
    isolation: isolate;
}
.livescores-track-wrap:active { cursor: grabbing; }
.livescores-track {
    display: flex;
    gap: 10px;
    padding: 0 12px;
    will-change: transform;
    transform: translateZ(0);
}

.ls-card {
    position: relative;
    flex-shrink: 0;
    width: 255px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.028);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
    user-select: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ls-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb),0.3), transparent);
}
.ls-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.13);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.07);
}
.ls-card.has-score {
    background: rgba(var(--brand-rgb),0.04);
    border-color: rgba(var(--brand-rgb),0.18);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35), 0 0 20px rgba(var(--brand-rgb),0.06), inset 0 1px 0 rgba(var(--brand-rgb),0.12);
}
.ls-card.has-score::before { background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb),0.5), transparent); }

.ls-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.ls-league-info {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
}
.ls-league-name {
    max-width: 120px;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ls-live-dot {
    width: 4px; height: 4px;
    background: var(--red);
    border-radius: 50%;
    animation: live 1000ms linear infinite;
}
.ls-card-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}
.ls-team {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.ls-team-away { justify-content: flex-end; }
.ls-team-logo {
    width: 22px; height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 3px;
}
.ls-team-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 80px;
    overflow: hidden;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.25;
    color: rgba(255,255,255,0.9);
}
.ls-team-away .ls-team-name { text-align: right; }
.ls-score {
    display: flex;
    align-items: center;
    gap: 2px;
}
.ls-score-home, .ls-score-away {
    min-width: 18px;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    text-align: center;
    color: rgba(255,255,255,0.9);
}
.ls-score-sep {
    margin: 0 1px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    color: rgba(255,255,255,0.2);
}
.ls-card.has-score .ls-score-home,
.ls-card.has-score .ls-score-away {
    color: #fff;
    animation: scorePulse 2.5s ease-in-out infinite;
}
.ls-card.has-score .ls-score-away { animation-delay: 0.15s; }
@keyframes scorePulse {
    0%, 100% { text-shadow: none; opacity: 1; }
    50%      { text-shadow: 0 0 10px rgba(var(--brand-rgb),0.6); opacity: 0.92; }
}

/* ====================================================
   PUAN DURUMU (365Scores)
   ==================================================== */
.widget365-section {
    margin: 0 12px;
    background: var(--panel-bg);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
}
.widget365-title-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px 12px;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-2);
}
.widget365-title-bar i { color: var(--primary); font-size: 17px; }
#powered-by { display: none !important; }

#widget365standings { overflow: hidden; }
#widget365standings *,
#widget365standings *::before,
#widget365standings *::after {
    background-color: transparent !important;
    background-image: none !important;
    border-color: rgba(255,255,255,0.06) !important;
    box-shadow: none !important;
}
#widget365standings td,
#widget365standings th { border: none !important; }
#widget365standings thead th {
    background-color: rgba(255,255,255,0.03) !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    color: rgba(255,255,255,0.45) !important;
}
#widget365standings tbody tr:hover,
#widget365standings tbody tr:hover td { background-color: rgba(var(--brand-rgb),0.07) !important; }
#widget365standings [class*="standings-widget_tabs"],
#widget365standings [class*="secondary-tabs_tabs_container"],
#widget365standings [class*="standings-widget_competition_rules_container"],
#widget365standings [class*="ScrollButton"],
#widget365standings [class*="scroll-button"],
#widget365standings [class*="scrolling-button"] { display: none !important; }

/* ====================================================
   SPOR HABERLERİ
   ==================================================== */
.news-section { margin: 28px 12px 20px; }
.news-section-card {
    background: var(--panel-bg);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
}
.news-section-header {
    display: flex;
    align-items: center;
    padding: 12px 14px 10px;
}
.news-section-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.nst-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(var(--brand-rgb),0.1);
}
.nst-icon-wrap i { font-size: 18px; color: var(--primary); }
.nst-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.nst-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.75;
}
.nst-main {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--text-1);
}
.nst-line {
    position: absolute;
    bottom: -6px; left: 48px;
    width: 40px; height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

.news-grid-wrap {
    padding: 14px 14px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
    -webkit-overflow-scrolling: touch;
}
.news-grid-wrap::-webkit-scrollbar { height: 3px; }
.news-grid-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.news-grid-inner {
    display: flex;
    gap: 12px;
    min-width: max-content;
    padding-bottom: 4px;
}
.news-grid-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    padding: 24px 16px;
    font-size: 12px;
    color: var(--text-3);
}
.news-grid-loading i { font-size: 18px; color: var(--primary); }
.la-spin { animation: laSpin 1s linear infinite; }
@keyframes laSpin { to { transform: rotate(360deg); } }

.news-grid-card {
    display: flex;
    flex-direction: column;
    width: 240px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--text-1);
    text-decoration: none;
    opacity: 0;
    transition: transform 0.25s ease;
}
.news-grid-card.ngc-visible { animation: ngcFadeUp 0.4s var(--transition) both; }
@keyframes ngcFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.news-grid-card:hover {
    transform: translateY(-3px);
    color: var(--text-1);
    text-decoration: none;
}
.ngc-img {
    width: 100%;
    height: 130px;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(0,0,0,0.25);
}
.ngc-img img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-grid-card:hover .ngc-img img { transform: scale(1.05); }
.ngc-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
}
.ngc-img-placeholder i { font-size: 30px; color: var(--text-3); opacity: 0.4; }
.ngc-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 7px;
    padding: 12px 12px 10px;
}
.ngc-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-1);
}
.ngc-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 10px;
    color: var(--text-3);
}
.ngc-source { display: flex; align-items: center; gap: 4px; }
.ngc-date { display: flex; align-items: center; gap: 3px; margin-left: auto; font-size: 9px; white-space: nowrap; }

/* ====================================================
   FOOTER
   ==================================================== */
#footer {
    position: relative;
    margin-top: 24px;
    background: var(--panel-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
}
#footer::before {
    content: '';
    position: absolute;
    top: 0; left: 20px; right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px 16px;
}
.footer-logo-link { display: inline-flex; align-items: center; }
.footer-logo-img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(var(--brand-rgb),0.18));
}
.footer-right-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-socials { display: flex; align-items: center; gap: 6px; }
.footer-social-btn { border-radius: 10px; }

.footer-menu-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}
.footer-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    font-family: 'Rajdhani', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: all 0.2s ease;
}
.footer-menu-link i { font-size: 13px; }
.footer-menu-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
    text-decoration: none;
}

.footer-divider {
    height: 1px;
    margin: 0 20px;
    background: linear-gradient(90deg, transparent, var(--glass-border-strong), transparent);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 24px;
}
.footer-text { font-size: 11px; color: var(--text-3); }

/* Standart footer telif satırı (tüm temalarda aynı) */
.site-footer-copyright{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 10px;padding:10px 12px;font-size:12px;line-height:1.6;color:rgba(255,255,255,.55)}
.site-footer-copyright strong{color:#fff;font-weight:700;letter-spacing:.5px}
.site-footer-copyright .footer-separator{color:rgba(255,255,255,.25)}
.site-footer-copyright .footer-link{color:rgba(255,255,255,.75);text-decoration:none}
.site-footer-copyright .footer-link:hover{color:#fff;text-decoration:underline}

/* ====================================================
   POPUP REKLAM (renkler footer.php içinde panelden basılır)
   ==================================================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
}
.popup-content {
    position: relative;
    width: calc(100% - 32px);
    max-width: 600px;
    min-width: 280px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 20px;
}
.popup-close {
    position: absolute;
    top: 10px; right: 16px;
    font-size: 28px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
}
.popup-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 16px;
}
.popup-kapat {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 370px;
    height: 36px;
    margin: 0 auto;
    padding: 0 20px;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
}

/* ====================================================
   SAĞ TIK MENÜSÜ
   ==================================================== */
.custom-context-menu {
    position: fixed;
    z-index: 99999;
    display: none;
    min-width: 210px;
    padding: 6px;
    background: var(--glass-strong);
    backdrop-filter: blur(var(--blur-strong));
    -webkit-backdrop-filter: blur(var(--blur-strong));
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--brand-rgb),0.08);
    transform-origin: top left;
    user-select: none;
}
.custom-context-menu.ccm-show {
    display: block;
    animation: ccmPop 0.18s ease both;
}
@keyframes ccmPop {
    from { opacity: 0; transform: scale(0.94) translateY(-6px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.ccm-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding: 8px 12px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-light);
}
.ccm-header i { font-size: 15px; }
.ccm-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 0; padding: 0;
    list-style: none;
}
.ccm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 10px;
    background: none;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-2);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
}
.ccm-item i { flex-shrink: 0; width: 18px; font-size: 16px; color: var(--text-3); transition: color 0.18s; }
.ccm-item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-1);
    text-decoration: none;
}
.ccm-item:hover i,
.ccm-highlight i { color: var(--primary); }
.ccm-highlight { color: var(--primary-light); }
.ccm-highlight:hover { background: rgba(var(--brand-rgb),0.1); }
.ccm-divider {
    height: 1px;
    margin: 3px 6px;
    background: rgba(255,255,255,0.06);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
    #match-wrapper > .row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}

@media (max-width: 860px) {
    #match-wrapper > .row { grid-template-columns: 1fr; }
    #event-list .items { height: 300px; }
}

@media (max-width: 767px) {
    .pageskin { display: none; }
    body.has-pageskin { background-image: var(--bg-image); }

    .header { margin: 8px 8px 6px; padding: 10px 12px; border-radius: var(--radius-lg); }
    .header-logo img { height: 30px; }
    .header .header-right { gap: 5px; }
    .header-socials { gap: 4px; }
    .header-socials li a { width: 28px; height: 28px; font-size: 12px; border-radius: 8px; }

    .navbar-toggler {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 6px 8px;
        background: rgba(255,255,255,0.07);
        border: 1px solid var(--glass-border);
        border-radius: 8px;
        cursor: pointer;
    }

    /* Menü hamburger ile açılır */
    .navbar { display: none !important; margin: 0 8px 6px; padding: 6px 8px 10px; }
    .navbar.nav-open { display: block !important; animation: navSlideDown 0.25s var(--transition) both; }
    .navbar .navbar-collapse { flex-direction: column; align-items: stretch; }
    .header-menu { flex-direction: column; }
    .header-menu .nav-item { width: 100%; }
    .header-menu .nav-item .nav-link { width: 100%; padding: 6px 8px; }
    .header-menu .nav-item .nav-link i { font-size: 20px; }

    #match-wrapper { padding: 0 8px; }
    #match-wrapper > .row { gap: 8px; }
    #stream-player { order: 1; }
    #score-board   { order: 2; }
    .videoalani video { height: auto; aspect-ratio: 16/9; }

    #score-board .body { padding: 10px 12px; gap: 8px; }
    #score-board .odd img { width: 28px; height: 28px; }
    #score-board .odd h3 { font-size: 12px; }

    #event-list .items { height: 260px; }
    #event-list .sections a { padding: 12px 8px; font-size: 10px; gap: 5px; }
    #live-stats-section { margin-top: 8px; }

    .yatay-reklam-alani { padding: 6px 8px; }

    /* Canlı skor: tek kart, snap scroll */
    .livescores-section { margin: 0 8px 12px; }
    .livescores-track-wrap {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 12px;
    }
    .livescores-track-wrap::-webkit-scrollbar { display: none; }
    .livescores-track { padding: 0; transform: none; }
    .ls-card { width: calc(100vw - 56px); scroll-snap-align: center; }
    .ls-team-name { max-width: 90px; }

    .widget365-section { margin: 0 8px; }
    .news-section { margin: 20px 8px 10px; }
    .news-grid-card { width: 200px; }
    .ngc-img { height: 108px; }
}

@keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .footer-top { padding: 16px 16px 12px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 16px; }
    .footer-right-block { width: 100%; justify-content: flex-end; }
}

@media (max-width: 480px) {
    .cta-btn { padding: 8px 10px; }
    .cta-btn span { display: none; }
}

/* =====================================================================
   PAGESKIN OKUNABİLİRLİĞİ
   Paneller normalde %28 saydam; açık renkli bir arka plan reklamı
   yüklenince maç listesi, puan durumu, haberler ve header/footer yazıları
   kayboluyordu. Pageskin varken paneller zemin renginde neredeyse opak
   olur ve arkası buzlu cam gibi bulanıklaşır. Mobilde pageskin
   gösterilmediği için (767px altı) tasarım değişmez.
   ===================================================================== */
@media (min-width: 768px) {
    body.has-pageskin {
        --panel-bg: rgba(var(--bg-rgb), 0.88);
    }
    body.has-pageskin .header,
    body.has-pageskin .menu-bg,
    body.has-pageskin #event-list,
    body.has-pageskin .livescores-card,
    body.has-pageskin .widget365-section,
    body.has-pageskin .news-section-card,
    body.has-pageskin #footer {
        -webkit-backdrop-filter: blur(var(--blur-strong)) saturate(140%);
        backdrop-filter: blur(var(--blur-strong)) saturate(140%);
    }
}

/* =====================================================================
   RTL (Arapça / İbranice) — <html dir="rtl">
   Yalnızca küçük düzeltmeler; player, kategori sekmeleri (owl), maç
   satırları, skor tablosu ve canlı skor şeridi soldan sağa kalır.
   ===================================================================== */
[dir="rtl"] body { text-align: right; }

/* Yönü değişmeyecek kapsayıcılar */
[dir="rtl"] #stream-player,
[dir="rtl"] #score-board,
[dir="rtl"] #event-list .tabs,
[dir="rtl"] #event-list .items a,
[dir="rtl"] .livescores-track-wrap,
[dir="rtl"] .ls-score,
[dir="rtl"] .el-time,
[dir="rtl"] .ngc-date,
[dir="rtl"] .timeline-minute,
[dir="rtl"] .stat-row-bars { direction: ltr; }

/* Player içindeki metinler kendi yönünde okunsun */
[dir="rtl"] #stream-player #match-ended,
[dir="rtl"] #stream-player .loader-loading,
[dir="rtl"] #stream-player .plyr__tooltip,
[dir="rtl"] #stream-player .gec,
[dir="rtl"] #gerisayim { direction: rtl; unicode-bidi: plaintext; }

/* Arama kutusu: ikon ve boşluk sağa */
[dir="rtl"] #event-list .search::before { left: auto; right: 14px; }
[dir="rtl"] #event-list .search input { padding: 0 38px 0 12px; }

/* Maçlar / Kanallar sekme ayracı ve kanal ızgarası */
[dir="rtl"] #event-list .sections a:first-child { border-right: 0; border-left: 1px solid rgba(255,255,255,0.06); }
[dir="rtl"] #channels .item:nth-child(odd) { padding-right: 15px; padding-left: 4px; }
[dir="rtl"] #channels .item:nth-child(even) { padding-left: 15px; padding-right: 4px; }

/* Haber kartı tarihi, sağ tık menüsü */
[dir="rtl"] .ngc-date { margin-left: 0; margin-right: auto; }
[dir="rtl"] .ccm-item { text-align: right; }

/* Canlı istatistik paneli (live-stats.css açıldığında) */
[dir="rtl"] .stats-panel-tabs,
[dir="rtl"] .stat-row-header,
[dir="rtl"] .events-timeline,
[dir="rtl"] .lineups-grid { direction: rtl; }
