/* ==========================================================================
   ARENA — koyu stadyum teması
   Gece laciverti zemin, lime vurgu, ince çerçeveli kartlar. Düzen ve maç
   merkezi bileşenleri Sunny ile aynıdır (arena.js / arena-detay.js aynı
   sınıfları üretir); bütün renkler aşağıdaki değişkenlerden okunur.
   ========================================================================== */

:root {
    color-scheme: dark;

    --ar-bg: #080c15;
    --ar-bg-2: #0b0f19;
    --ar-surface: #0f1622;
    --ar-surface-2: #131c2a;
    --ar-surface-3: #1a2435;
    --ar-box: #0d1420;
    --ar-line: #202735;
    --ar-line-2: #2b3547;

    --ar-text: #edf1f8;
    --ar-text-2: #a1adbc;
    --ar-text-3: #7d879b;

    --ar-accent: #c2f653;
    --ar-accent-2: #a9e03a;
    --ar-accent-rgb: 194, 246, 83;
    --ar-accent-soft: #1b2617;
    --ar-on-accent: #17220c;

    --ar-steel: #6f8db5;
    --ar-steel-2: #a9c2e6;
    --ar-steel-soft: #142033;
    --ar-steel-rgb: 111, 141, 181;

    --ar-live: var(--ar-accent);
    --ar-live-soft: rgba(var(--ar-accent-rgb), .1);
    --ar-red: #f36c70;
    --ar-win: #3ecf6e;
    --ar-draw: #f5b301;
    --ar-loss: #f36c70;

    --ar-home: var(--ar-accent);
    --ar-away: var(--ar-steel);

    --ar-radius-sm: 8px;
    --ar-radius: 12px;
    --ar-radius-lg: 16px;

    --ar-shadow: 0 10px 28px rgba(0, 0, 0, .28);
    --ar-shadow-lg: 0 18px 44px rgba(0, 0, 0, .5);

    --ar-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --ar-wrap: 1240px;
    --ar-header-h: 84px;
}

/* ---------- temel ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--ar-font);
    font-size: 15px;
    line-height: 1.45;
    color: var(--ar-text);
    background:
        radial-gradient(1100px 520px at 50% -260px, rgba(var(--ar-accent-rgb), .05), transparent 70%),
        var(--ar-bg);
    -webkit-font-smoothing: antialiased;
    font-synthesis: none;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(var(--ar-accent-rgb), .3); color: #fff; }
:focus-visible { outline: 2px solid var(--ar-accent); outline-offset: 3px; }

.ar-container { width: 100%; max-width: var(--ar-wrap); margin: 0 auto; padding-left: 16px; padding-right: 16px; }

.ar-wrapper { position: relative; z-index: 1; }

.ar-dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ar-accent); box-shadow: 0 0 12px rgba(var(--ar-accent-rgb), .45); }

.ar-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--ar-accent);
}
.ar-eyebrow--muted { color: var(--ar-text-3); letter-spacing: 1.4px; }
.ar-eyebrow .ar-dot { width: 5px; height: 5px; box-shadow: none; }

/* ---------- dikey reklamlar ----------
   160px kuleler geniş ekranda içeriğin iki yanında sabit durur; yer açmak için
   içerik her iki yandan 176px daralır; header ve footer daralmaz. */

.ar-tower { display: none; }

@media (min-width: 1280px) {
    .ar-body.has-towers .ar-container { max-width: min(var(--ar-wrap), calc(100% - 352px)); }

    .ar-tower {
        position: fixed;
        top: calc(var(--ar-header-h) + 20px);
        z-index: 40;
        display: block;
        width: 160px;
    }
    .ar-tower--sol { left: calc(50% - min(var(--ar-wrap) / 2, 50% - 176px) - 160px); }
    .ar-tower--sag { right: calc(50% - min(var(--ar-wrap) / 2, 50% - 176px) - 160px); }

    .ar-tower a {
        display: block;
        overflow: hidden;
        border-radius: var(--ar-radius);
        background: var(--ar-surface);
        box-shadow: 0 0 0 1px var(--ar-line-2), var(--ar-shadow);
        transition: box-shadow .2s;
    }
    .ar-tower a:hover { box-shadow: 0 0 0 1px rgba(var(--ar-accent-rgb), .45), var(--ar-shadow); }
    .ar-tower img {
        display: block;
        width: 160px; height: auto;
        max-height: calc(100vh - var(--ar-header-h) - 40px);
        object-fit: contain;
    }
}

/* ---------- header ---------- */

.ar-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(11, 15, 25, .92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--ar-line);
}
.ar-header__inner { position: relative; height: var(--ar-header-h); display: flex; align-items: center; gap: 24px; }

.ar-logo { display: flex; align-items: center; flex: none; }
.ar-logo img { display: block; height: 58px; width: auto; max-width: 280px; object-fit: contain; }
.ar-logo__text { font-weight: 800; font-size: 26px; letter-spacing: -1.2px; color: var(--ar-text); }

.ar-nav { flex: 1; min-width: 0; align-self: stretch; }
.ar-nav__list { display: flex; gap: 26px; height: 100%; overflow-x: auto; scrollbar-width: none; }
.ar-nav__list::-webkit-scrollbar { display: none; }
.ar-nav__list > li { display: flex; }
.ar-nav__link {
    position: relative;
    display: flex; align-items: center; gap: 7px;
    height: 100%;
    color: #959fb1;
    font-size: 14px; font-weight: 500; white-space: nowrap;
    transition: color .15s;
}
.ar-nav__link i { font-size: 18px; color: var(--ar-text-3); transition: color .15s; }
.ar-nav__link::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: var(--ar-accent);
    transform: scaleX(0);
    transition: transform .2s;
}
.ar-nav__link:hover { color: var(--ar-text); }
.ar-nav__link.is-active { color: #fff; }
.ar-nav__link.is-active i { color: var(--ar-accent); }
.ar-nav__link.is-active::after { transform: scaleX(1); }

.ar-header__right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }

.ar-socials { display: flex; gap: 6px; }
.ar-socials a {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--ar-surface-2);
    border: 1px solid var(--ar-line-2);
    color: var(--ar-text-2);
    font-size: 18px;
    transition: background .15s, color .15s, border-color .15s;
}
.ar-socials a:hover { border-color: rgba(var(--ar-accent-rgb), .5); color: var(--ar-accent); }

.ar-cta {
    display: inline-flex; align-items: center; gap: 10px;
    height: 42px; padding: 0 18px;
    border-radius: 7px;
    background: var(--ar-accent);
    color: var(--ar-on-accent);
    font-size: 13px; font-weight: 700; white-space: nowrap;
    transition: filter .15s, transform .15s;
}
.ar-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ar-cta i { font-size: 17px; }

.ar-burger {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--ar-line-2);
    border-radius: var(--ar-radius-sm);
    background: var(--ar-surface-2);
    padding: 0 11px;
    flex-direction: column; justify-content: center; gap: 4px;
}
.ar-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ar-text); transition: transform .2s, opacity .2s; }
.ar-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ar-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ar-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Header yerleşimi: logo solda, "Siteye Git" sağda sabit; menü aradaki boşlukta ortalanır.
   Header kulelerle birlikte daralmaz (kuleler header'ın altından başlar). Yer azaldıkça önce
   sosyal ikonlar (footer'da duruyor), sonra menü ikonları gizlenir; 960 px altında menü
   açılır listeye geçer. Footer da header ile aynı genişliktedir. Sabit kuleler footer
   görününce arena.js tarafından footer'ın üstüne itilir, üzerine binmez. */
.ar-header .ar-container,
.ar-footer .ar-container { max-width: 1440px; }
.ar-footer { position: relative; z-index: 50; }

@media (min-width: 1280px) {
    .ar-body.has-towers .ar-header .ar-container,
    .ar-body.has-towers .ar-footer .ar-container { max-width: 1440px; }
}

@media (min-width: 961px) {
    .ar-nav__list > li:first-child { margin-left: auto; }
    .ar-nav__list > li:last-child { margin-right: auto; }
}

@media (max-width: 1360px) {
    .ar-header .ar-socials { display: none; }
    .ar-nav__list { gap: 20px; }
    .ar-logo img { height: 52px; max-width: 230px; }
}

@media (min-width: 961px) and (max-width: 1120px) {
    .ar-nav__list { gap: 16px; }
    .ar-nav__link { gap: 0; }
    .ar-nav__link i { display: none; }
    .ar-cta { padding: 0 14px; }
}

/* ---------- reklam alanları ---------- */

.ar-ad { margin-top: 16px; text-align: center; }
.ar-ad img { display: inline-block; max-width: 100%; height: auto; border-radius: var(--ar-radius-sm); }
.ar-ad--bottom { margin-top: 0; margin-bottom: 28px; }

.ar-main { padding-top: 24px; padding-bottom: 40px; }

/* ==========================================================================
   GİRİŞ SAHNESİ (vitrinin başı)
   Maç ya da kanal açıkken maç merkezi en üstte durur; sahne gizlenir.
   ========================================================================== */

.ar-center:not([hidden]) ~ .ar-vitrin .ar-intro { display: none; }

.ar-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 440px;
    margin-bottom: 40px;
    border: 1px solid #293227;
    border-radius: var(--ar-radius-lg);
    background: #0e1820;
}

.ar-intro__stadium {
    position: absolute;
    inset: 0 0 0 30%;
    background:
        radial-gradient(ellipse at 64% 75%, rgba(99, 149, 105, .44), transparent 48%),
        linear-gradient(170deg, #0b192a 10%, rgba(33, 61, 67, .6) 50%, #152b2a 51%, #09101b 100%);
}
.ar-intro__stadium > span { position: absolute; display: block; }
/* tribün */
.ar-intro__stadium::before {
    content: '';
    position: absolute;
    top: 25%; left: -5%;
    width: 120%; height: 170px;
    border-radius: 50%;
    border-top: 30px double rgba(141, 174, 182, .25);
    box-shadow: 0 -12px 40px rgba(185, 203, 210, .18);
    background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(148, 166, 180, .17) 5px 6px);
    transform: rotate(-8deg);
}
.ar-intro__pitch {
    inset: 55% -20% -45% -10%;
    transform: perspective(500px) rotateX(60deg) rotateZ(-16deg);
    border: 1px solid rgba(156, 171, 112, .33);
    background: repeating-linear-gradient(90deg, rgba(24, 56, 38, .64) 0 12%, rgba(45, 77, 43, .64) 12% 24%);
}
.ar-intro__circle { width: 240px; height: 70px; right: 17%; bottom: 9%; border: 2px solid rgba(192, 216, 163, .28); border-radius: 50%; transform: rotate(-10deg); }
.ar-intro__line { width: 2px; height: 220px; right: 29%; bottom: -100px; background: rgba(217, 227, 195, .24); transform: rotate(42deg); }
.ar-intro__light {
    top: 19%;
    width: 165px; height: 6px;
    background: rgba(230, 245, 245, .75);
    box-shadow: 0 0 25px 7px rgba(180, 216, 239, .5), 0 70px 120px 40px rgba(175, 212, 222, .28);
    transform: rotate(-10deg);
}
.ar-intro__light--1 { right: 2%; }
.ar-intro__light--2 { left: 18%; top: 29%; width: 80px; }

.ar-intro__content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    min-height: inherit;
    padding: 40px clamp(24px, 4vw, 56px);
    background: linear-gradient(90deg, #0a1019 0%, rgba(10, 16, 25, .91) 36%, rgba(10, 16, 25, .33) 64%, rgba(10, 16, 25, .09) 100%);
}
.ar-intro__title {
    max-width: 640px;
    margin: 18px 0 14px;
    font-size: clamp(34px, 4vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -2.2px;
}
.ar-intro__title em { font-style: normal; color: var(--ar-accent); }
.ar-intro__text { max-width: 440px; margin: 0; color: #9ba7b8; font-size: 16px; line-height: 1.65; }

.ar-intro__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin: 28px 0 26px; }

.ar-btn {
    display: inline-flex; align-items: center; gap: 12px;
    height: 48px; padding: 0 20px;
    border: 0; border-radius: 7px;
    background: var(--ar-accent);
    color: var(--ar-on-accent);
    font-size: 14px; font-weight: 750;
    transition: filter .15s, transform .15s;
}
.ar-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ar-btn i { font-size: 17px; }
.ar-btn-text {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 0; border: 0; background: none;
    color: var(--ar-text); font-size: 14px; font-weight: 600;
}
.ar-btn-text i { font-size: 17px; transition: transform .15s; }
.ar-btn-text:hover i { transform: translateX(3px); }

.ar-intro__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: #7f8a9a; }
.ar-intro__meta span { display: inline-flex; align-items: center; gap: 8px; }
#ar-canli-sayi { color: var(--ar-accent); font-weight: 600; }
#ar-canli-sayi::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ar-blink 1s linear infinite; }
#ar-mac-sayi::before { content: ''; width: 12px; height: 2px; border-radius: 2px; background: #5d6879; }

.ar-intro__caption {
    position: absolute; z-index: 3;
    right: 6%; bottom: 44px;
    display: flex; align-items: center; gap: 16px;
    font-size: 11px; letter-spacing: 2px; line-height: 1.8; text-transform: uppercase;
    color: #aebcc0;
}
.ar-intro__caption b { color: #f0f5ee; }
.ar-intro__bars { width: 28px; height: 28px; background: repeating-linear-gradient(90deg, var(--ar-accent) 0 3px, transparent 3px 7px); opacity: .9; }

/* ==========================================================================
   MAÇ MERKEZİ
   ========================================================================== */

.ar-center { margin-bottom: 40px; scroll-margin-top: calc(var(--ar-header-h) + 8px); }

.ar-center__bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-width: 0; }
.ar-back {
    display: inline-flex; align-items: center; gap: 6px; flex: none;
    height: 38px; padding: 0 14px;
    border: 1px solid var(--ar-line-2);
    border-radius: var(--ar-radius-sm);
    background: var(--ar-surface-2);
    color: var(--ar-text-2);
    font-size: 13px; font-weight: 600;
    transition: border-color .15s, color .15s;
}
.ar-back:hover { border-color: rgba(var(--ar-accent-rgb), .45); color: var(--ar-text); }
.ar-center__name {
    min-width: 0;
    font-weight: 700; font-size: 19px; letter-spacing: -.4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.ar-stage {
    position: relative;
    background: #03060b;
    border: 1px solid #283144;
    border-radius: var(--ar-radius-lg);
    overflow: hidden;
    box-shadow: var(--ar-shadow-lg);
}
.ar-center.has-match .ar-stage { border-radius: var(--ar-radius-lg) var(--ar-radius-lg) 0 0; border-bottom: 0; box-shadow: none; }

#stream-player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; color: #fff; }
#stream-player .plyr { height: 100%; --plyr-color-main: var(--ar-accent); }
#stream-player video { width: 100%; height: 100%; object-fit: contain; line-height: 1; }

/* Plyr üst katmanları (winter akışıyla aynı sınıflar) */
#stream-player .stream-name { position: absolute; top: 18px; left: 22px; z-index: 10; padding: 4px 10px; border-radius: 8px; font-size: 15px; font-weight: 600; background: rgba(0, 0, 0, .55); transition: opacity 300ms linear; }
#stream-player .stream-name:empty { display: none; }
.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: 140px; height: auto; }
#stream-player .logo.top-right { top: 18px; right: 22px; }
#stream-player .logo.top-left { top: 18px; left: 22px; }
#stream-player .logo.bottom-right { bottom: 76px; right: 22px; }
#stream-player .logo.bottom-left { bottom: 76px; left: 22px; }
#stream-player .pause { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; background: rgba(0, 0, 0, .25); }
#stream-player .pause svg { width: 4em; fill: #fff; filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .4)); }

.banner { position: absolute; left: 50%; transform: translateX(-50%); z-index: 1000; width: 65%; text-align: center; }
.banner.top { top: 0; }
.banner.bottom { bottom: 49px; }
.banner.none { display: none !important; }
.banner img { width: 65%; height: auto; }

.plyr__poster { display: block !important; opacity: 1 !important; background-size: cover !important; background-position: center !important; }
.plyr.stream-started .plyr__poster { display: none !important; }

.videoalani .reklamalani { position: absolute; inset: 0; display: none; background: #000; z-index: 20; }
.videoalani .reklamalani video { width: 100%; height: 100%; object-fit: contain; }
.videoalani .reklamalani .gec { position: absolute; right: 12px; bottom: 12px; display: none; padding: 9px 14px; border-radius: 7px; color: var(--ar-on-accent); font-weight: 700; background: var(--ar-accent); cursor: pointer; }
#gerisayim { display: none; position: absolute; top: 12px; left: 14px; z-index: 99; padding: 4px 10px; border-radius: 999px; font-size: 13px; color: #fff; background: rgba(0, 0, 0, .55); }

.plyr--video { position: relative; user-select: none; --color: var(--ar-accent); }
.plyr__controls { justify-content: space-between; padding: 1em !important; border-top: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent) !important; }
.plyr--video .plyr__control.plyr__tab-focus,
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded=true] { background: var(--ar-accent); color: var(--ar-on-accent); }
.plyr__controls [role=tooltip] { background: var(--ar-surface-2); color: var(--ar-text); box-shadow: none; padding: .5em 1em; font-weight: 500; }
.plyr--full-ui input[type=range] { color: var(--ar-accent); }
.player-flex { display: flex; align-items: center; justify-content: flex-end; }
.player-flex > :not(:first-child) { margin-left: .5em; }
.live-button { display: flex; align-items: center; text-transform: uppercase; font-size: .75em; font-weight: 700; letter-spacing: 1px; }
.live-blink { width: 7px; height: 7px; border-radius: 50%; background: #ff4d5e; margin-right: .5em; animation: ar-blink 1s linear infinite; }

.video-loader {
    position: absolute; inset: 0; z-index: 15;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: radial-gradient(120% 90% at 50% 0%, rgba(var(--ar-steel-rgb), .4), rgba(3, 6, 11, .94) 70%);
    color: #fff; text-align: center;
}
.loader-text { padding: 0 2em; }
.loader-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.2em; }
.loader-teams > div:not(.loader-bar) { display: grid; gap: .6em; justify-items: center; font-weight: 600; }
.loader-teams img { width: 64px; height: 64px; object-fit: contain; background: var(--ar-surface-3); border: 1px solid var(--ar-line-2); border-radius: 50%; padding: 8px; }
.loader-loading { margin-top: 1.2em; font-weight: 500; opacity: .9; }
.event-logo { max-width: 220px; max-height: 100px; object-fit: contain; }
.loader-bar { position: relative; width: 80px; height: 13px; }
.loader-bar div { position: absolute; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--ar-accent); animation-timing-function: cubic-bezier(0, 1, 1, 0); }
.loader-bar div:nth-child(1) { left: 8px; animation: ar-lb1 .6s infinite; }
.loader-bar div:nth-child(2) { left: 8px; animation: ar-lb2 .6s infinite; }
.loader-bar div:nth-child(3) { left: 32px; animation: ar-lb2 .6s infinite; }
.loader-bar div:nth-child(4) { left: 56px; animation: ar-lb3 .6s infinite; }
@keyframes ar-lb1 { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes ar-lb3 { 0% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes ar-lb2 { 0% { transform: translate(0, 0); } 100% { transform: translate(24px, 0); } }

#match-ended {
    position: absolute; inset: 0; z-index: 99;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 1em; text-align: center; color: #fff; user-select: none;
    background: rgba(3, 6, 11, .92);
}
#match-ended h3 { font-size: 26px; font-weight: 800; letter-spacing: -.6px; color: var(--ar-accent); }
#match-ended p { max-width: 380px; margin: .6em 0 0; color: var(--ar-text-2); }

/* ---------- skorbord ---------- */

.ar-hero {
    position: relative;
    overflow: hidden;
    color: var(--ar-text);
    padding: 20px 26px 0;
    border: 1px solid #283448;
    border-top: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(var(--ar-accent-rgb), .07), transparent 65%),
        #0d1522;
}
.ar-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 260' fill='none' stroke='white' stroke-width='1.6'%3E%3Crect x='8' y='8' width='384' height='244' rx='3'/%3E%3Cline x1='200' y1='8' x2='200' y2='252'/%3E%3Ccircle cx='200' cy='130' r='36'/%3E%3Ccircle cx='200' cy='130' r='2' fill='white'/%3E%3Crect x='8' y='66' width='60' height='128'/%3E%3Crect x='332' y='66' width='60' height='128'/%3E%3Crect x='8' y='102' width='22' height='56'/%3E%3Crect x='370' y='102' width='22' height='56'/%3E%3C/svg%3E") center 55% / min(820px, 110%) no-repeat;
    opacity: .04;
    pointer-events: none;
}
.ar-hero > * { position: relative; }

.ar-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; }
.ar-hero__tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 650; font-size: 13px; color: #e3eaf5; }
.ar-hero__tags .ar-sport { width: 18px; height: 18px; fill: var(--ar-accent); }

.ar-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 16px; padding: 18px 0 20px; }
.ar-hero__team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; min-width: 0; }
.ar-hero__crest {
    width: 88px; height: 88px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #1f2c42, #131d2d 70%);
    border: 1px solid #2f3e57;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.ar-hero__crest img { width: 60px; height: 60px; object-fit: contain; }
.ar-hero__team strong {
    font-size: clamp(17px, 2vw, 24px); font-weight: 750; line-height: 1.2; letter-spacing: -.6px;
    overflow-wrap: anywhere;
}
.ar-hero__goals { display: grid; gap: 3px; font-size: 13px; color: var(--ar-text-2); }
.ar-hero__goals li { display: flex; align-items: center; justify-content: center; gap: 5px; }
.ar-hero__goals .ar-ev { width: 13px; height: 13px; color: #0e1a2b; }
.ar-hero__goals em { font-style: normal; font-weight: 700; color: var(--ar-text); }

.ar-hero__score { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 10px; min-width: 160px; }
.ar-hero__nums { display: flex; align-items: center; gap: 16px; font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.ar-hero__nums i { width: 14px; height: 4px; border-radius: 3px; background: #4b5a72; }
.ar-hero__kick { font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -1px; padding: 12px 0 4px; color: #c4cfde; font-variant-numeric: tabular-nums; }
.ar-hero__ht { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid #334158; background: #101c2b; color: #a6b4c9; }

.ar-hero__meta {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px;
    margin: 0 -26px;
    padding: 12px 26px;
    font-size: 13px; color: var(--ar-text-3);
    background: rgba(255, 255, 255, .015);
    border-top: 1px solid #243044;
}
.ar-hero__meta span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ar-hero__meta i { font-size: 17px; color: var(--ar-text-3); }
.ar-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }

/* ---------- durum rozetleri ---------- */

.ar-time { font-weight: 700; font-size: 12px; color: var(--ar-text-2); font-variant-numeric: tabular-nums; }
.ar-pill {
    display: inline-flex; align-items: center; gap: 6px; flex: none;
    height: 22px; padding: 0 9px;
    border-radius: 999px;
    font-weight: 700; font-size: 11px; letter-spacing: .3px;
    white-space: nowrap;
}
.ar-pill--live { background: var(--ar-live-soft); color: var(--ar-live); box-shadow: inset 0 0 0 1px rgba(var(--ar-accent-rgb), .25); }
.ar-pill--live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: ar-blink 1s linear infinite; }
.ar-pill--ht { background: rgba(245, 179, 1, .12); color: var(--ar-draw); }
.ar-pill--ft { background: var(--ar-surface-3); color: var(--ar-text-2); }
.ar-pill--off { background: var(--ar-surface-3); color: var(--ar-text-3); }
.ar-hero .ar-pill { height: 28px; padding: 0 12px; font-size: 12px; border: 1px solid #334158; background: #101c2b; color: #a6b4c9; box-shadow: none; }
.ar-hero .ar-pill--live { border-color: rgba(var(--ar-accent-rgb), .26); background: rgba(var(--ar-accent-rgb), .05); color: var(--ar-accent); }
.ar-hero .ar-pill--ht { border-color: rgba(245, 179, 1, .3); background: rgba(245, 179, 1, .06); color: var(--ar-draw); }
@keyframes ar-blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.ar-tag {
    display: inline-block; vertical-align: middle;
    padding: 3px 7px;
    border-radius: 5px;
    font-size: 10px; font-weight: 800; letter-spacing: .5px; line-height: 1.3;
    text-transform: uppercase; white-space: nowrap;
    background: var(--ar-steel-soft); color: var(--ar-steel-2);
}
.ar-tag--gold { background: linear-gradient(135deg, #f0cd4e, #fff0b8 55%, #e9b308); color: #2e1f00; }
.ar-tag--accent { background: var(--ar-accent-soft); color: var(--ar-accent); }
.ar-tag--live { background: var(--ar-accent); color: var(--ar-on-accent); }

/* ---------- sekmeler ---------- */

.ar-tabs-wrap {
    position: sticky;
    top: var(--ar-header-h);
    z-index: 30;
    background: #101a29;
    border: 1px solid #283448;
    border-top-color: #243044;
    border-radius: 0 0 var(--ar-radius) var(--ar-radius);
    box-shadow: var(--ar-shadow);
}
.ar-tabs { display: flex; gap: 4px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.ar-tabs::-webkit-scrollbar { display: none; }
.ar-tab {
    flex: none;
    height: 52px; padding: 0 16px;
    border: 0; border-bottom: 2px solid transparent; border-radius: 0;
    background: transparent;
    color: #8394ac;
    font-size: 14px; font-weight: 600; white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.ar-tab:hover { color: var(--ar-text); }
.ar-tab.is-active { color: var(--ar-accent); border-bottom-color: var(--ar-accent); }

.ar-match:not(:has(.ar-tabs-wrap:not([hidden]))) .ar-hero { border-radius: 0 0 var(--ar-radius) var(--ar-radius); }
.ar-panel { margin-top: 18px; }
.ar-panel:empty { display: none; }

/* ---------- kutular / ızgara ---------- */

.ar-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.ar-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.ar-stack { display: grid; gap: 18px; min-width: 0; }
.ar-grid .ar-grid2:has(.ar-mini) { grid-template-columns: minmax(0, 1fr); }
.ar-stack:empty { display: none; }

.ar-box {
    min-width: 0;
    background: var(--ar-box);
    border: 1px solid #253147;
    border-radius: var(--ar-radius);
    padding: 18px 20px 20px;
}
.ar-box__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.ar-box__title {
    display: flex; align-items: center; gap: 9px;
    font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: #c9d4e3;
}
.ar-box__title::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--ar-accent); box-shadow: 0 0 10px rgba(var(--ar-accent-rgb), .5); }
.ar-link { display: inline-flex; align-items: center; gap: 3px; border: 0; background: none; color: var(--ar-accent); font-weight: 600; font-size: 13px; }
.ar-link:hover { filter: brightness(1.12); }

.ar-note {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border-radius: var(--ar-radius-sm);
    background: #142033;
    color: #8e9eb5;
    font-size: 14px;
}
.ar-note i { font-size: 22px; color: var(--ar-accent); }
.ar-box .ar-note { background: var(--ar-surface-2); color: var(--ar-text-2); }

.ar-skel {
    border-radius: var(--ar-radius-sm);
    background: linear-gradient(90deg, #131c2a 25%, #1b2638 37%, #131c2a 63%);
    background-size: 400% 100%;
    animation: ar-shimmer 1.3s ease infinite;
}
@keyframes ar-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.ar-crest-xs { width: 22px; height: 22px; object-fit: contain; flex: none; }
.ar-ev { width: 22px; height: 22px; flex: none; color: var(--ar-text); }
.ar-ev-wrap { position: relative; display: inline-flex; flex: none; }
.ar-ev-wrap b { position: absolute; right: -4px; bottom: -3px; font-size: 9px; line-height: 1; padding: 1px 2px; border-radius: 3px; background: var(--ar-accent); color: var(--ar-on-accent); }
.ar-ev-wrap.is-og .ar-ev { color: var(--ar-red); }

/* ---------- maç akışı ---------- */

.ar-mo { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.ar-mo__teams { display: flex; flex-direction: column; justify-content: space-around; align-items: center; }
.ar-mo__chart { position: relative; height: 124px; border-radius: var(--ar-radius-sm); background: linear-gradient(180deg, rgba(var(--ar-accent-rgb), .05) 50%, rgba(var(--ar-steel-rgb), .07) 50%); }
.ar-mo__chart svg { display: block; width: 100%; height: 100%; }
.ar-mo__chart rect.is-home { fill: var(--ar-home); }
.ar-mo__chart rect.is-away { fill: var(--ar-away); }
.ar-mo__axis { stroke: var(--ar-line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ar-mo__ht { stroke: var(--ar-text-3); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.ar-mo__goal { position: absolute; transform: translateX(-50%); width: 18px; height: 18px; display: grid; place-items: center; background: var(--ar-surface-3); border-radius: 50%; box-shadow: 0 0 0 1px var(--ar-line-2); }
.ar-mo__goal .ar-ev { width: 16px; height: 16px; }
.ar-mo__goal.is-home { top: -9px; }
.ar-mo__goal.is-away { bottom: -9px; }
.ar-mo__label { position: absolute; top: 4px; transform: translateX(4px); font-size: 11px; font-weight: 700; color: var(--ar-text-3); }

/* ---------- önemli anlar ---------- */

.ar-tl { position: relative; display: grid; gap: 2px; }
.ar-tl::before { content: ''; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 2px; margin-left: -1px; background: var(--ar-line); }
.ar-tl__row { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); align-items: center; min-height: 48px; }
.ar-tl__min {
    position: relative; justify-self: center;
    min-width: 46px; padding: 3px 8px;
    border: 1px solid var(--ar-line-2); border-radius: 999px;
    background: var(--ar-surface-2);
    font-weight: 700; font-size: 13px; text-align: center; font-variant-numeric: tabular-nums;
}
.ar-tl__side { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 5px 10px; border-radius: var(--ar-radius-sm); }
.ar-tl__side.is-home { flex-direction: row-reverse; text-align: right; }
.ar-tl__side.is-goal { background: var(--ar-accent-soft); }
.ar-tl__txt { min-width: 0; display: grid; }
.ar-tl__txt strong { font-weight: 600; overflow-wrap: anywhere; }
.ar-tl__txt small { color: var(--ar-text-3); font-size: 12px; }
.ar-tl__txt .is-in { color: var(--ar-win); }
.ar-tl__txt .is-out { color: var(--ar-loss); }
.ar-tl__score { justify-self: start; margin-top: 2px; padding: 0 6px; border-radius: 5px; background: var(--ar-accent); color: var(--ar-on-accent); font-weight: 800; font-size: 12px; font-variant-numeric: tabular-nums; }
.ar-tl__side.is-home .ar-tl__score { justify-self: end; }
.ar-tl__divider { position: relative; display: flex; justify-content: center; padding: 8px 0; }
.ar-tl__divider span { padding: 4px 14px; border-radius: 999px; background: var(--ar-steel-soft); color: var(--ar-steel-2); font-weight: 700; font-size: 12px; }
.ar-tl__extra { position: relative; text-align: center; font-size: 12px; font-weight: 600; color: var(--ar-text-3); }
.ar-tl__extra span { background: var(--ar-box); padding: 0 8px; }

/* ---------- istatistik ---------- */

.ar-stat { padding: 10px 0; }
.ar-stat + .ar-stat { border-top: 1px dashed var(--ar-line); }
.ar-stat__head { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 8px; margin-bottom: 8px; }
.ar-stat__name { text-align: center; font-size: 13px; color: #8fa2bb; }
.ar-stat__val { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.ar-stat__val.is-away { text-align: right; }
.ar-stat__val.is-lead { justify-self: start; padding: 0 7px; border-radius: 6px; color: var(--ar-on-accent); background: var(--ar-home); }
.ar-stat__val.is-away.is-lead { justify-self: end; color: #fff; background: var(--ar-away); }
.ar-stat__bars { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ar-bar { display: flex; height: 6px; border-radius: 99px; overflow: hidden; background: #1a283c; }
.ar-bar.is-home { justify-content: flex-end; }
.ar-bar i { display: block; height: 100%; border-radius: 99px; background: var(--ar-home); transition: width .4s ease; }
.ar-bar.is-away i { background: var(--ar-away); }

.ar-donut { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 8px; }
.ar-donut > strong { font-weight: 800; font-size: 30px; font-variant-numeric: tabular-nums; }
.ar-donut > strong small { font-size: 16px; color: var(--ar-text-3); margin-right: 1px; }
.ar-donut > strong.is-away { text-align: right; }
.ar-donut__ring { position: relative; width: 132px; height: 132px; }
.ar-donut__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ar-donut__ring circle { fill: none; stroke-width: 11; }
.ar-donut__home { stroke: var(--ar-home); stroke-linecap: round; }
.ar-donut__away { stroke: var(--ar-away); }
.ar-donut__ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.15; color: var(--ar-text-2); }

.ar-stat-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 18px; }
.ar-team-chip { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.ar-team-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-team-chip::before { content: ''; width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--ar-home); }
.ar-team-chip.is-away { flex-direction: row-reverse; }
.ar-team-chip.is-away::before { background: var(--ar-away); }

.ar-seg { display: inline-flex; padding: 3px; border: 1px solid var(--ar-line-2); border-radius: var(--ar-radius-sm); background: var(--ar-surface-2); }
.ar-seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; color: var(--ar-text-3); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ar-seg button.is-active { background: var(--ar-surface-3); color: var(--ar-accent); box-shadow: inset 0 0 0 1px rgba(var(--ar-accent-rgb), .25); }

.ar-stat-hl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.ar-xg { display: grid; gap: 6px; text-align: center; }
.ar-xg__nums { display: flex; justify-content: center; align-items: baseline; gap: 14px; font-weight: 800; font-size: 34px; font-variant-numeric: tabular-nums; }
.ar-xg__nums .is-home { color: var(--ar-home); }
.ar-xg__nums .is-away { color: var(--ar-away); }
.ar-xg__nums span { font-size: 13px; font-weight: 600; color: var(--ar-text-3); }

/* ---------- kadro ---------- */

.ar-lineup-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ar-lineup-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.ar-lineup-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-lineup-team em { flex: none; font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 5px; background: var(--ar-accent-soft); border: 1px solid rgba(var(--ar-accent-rgb), .22); color: var(--ar-accent); }
.ar-lineup-team.is-away { flex-direction: row-reverse; }

.ar-pitch {
    position: relative;
    width: 100%;
    aspect-ratio: 105 / 68;
    border-radius: var(--ar-radius);
    overflow: hidden;
    background: repeating-linear-gradient(90deg, #1f4d33 0 9.0909%, #1b462e 9.0909% 18.1818%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 0 80px rgba(0, 0, 0, .35);
}
.ar-pitch > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ar-pitch > svg * { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: .35; }
.ar-pitch__v { display: none; }

.ar-pl {
    position: absolute;
    left: var(--hx); top: var(--hy);
    transform: translate(-50%, -50%);
    width: 82px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
.ar-pl__num {
    position: relative;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .9);
    font-weight: 800; font-size: 14px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .35);
}
.ar-pl__name {
    margin-top: 3px; max-width: 82px;
    font-size: 12px; font-weight: 600; line-height: 1.15; color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ar-rt { font-style: normal; font-weight: 800; font-size: 11px; line-height: 1; padding: 2px 4px; border-radius: 5px; color: #fff; background: #64748b; }
.ar-rt.is-top { background: #0f7a3a; }
.ar-rt.is-good { background: #22a651; }
.ar-rt.is-ok { background: #c99a06; }
.ar-rt.is-mid { background: #e07d00; }
.ar-rt.is-low { background: #d93a3d; }
.ar-pl .ar-rt { position: absolute; top: -8px; right: -18px; }
.ar-pl__badges { position: absolute; bottom: -6px; left: -14px; display: flex; gap: 1px; }
.ar-pl__badges > span { position: relative; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.ar-pl__badges .ar-ev { width: 13px; height: 13px; color: #0e1a2b; }
.ar-pl__badges .is-out { color: var(--ar-loss); }
.ar-pl__badges .is-out .ar-ev { color: inherit; }
.ar-pl__badges b { position: absolute; top: -5px; right: -5px; font-size: 9px; line-height: 1; padding: 1px 3px; border-radius: 4px; background: #0e1a2b; color: #fff; }

.ar-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ar-grid > .ar-stack + .ar-stack .ar-cols { grid-template-columns: minmax(0, 1fr); }
.ar-col__head { display: flex; align-items: center; gap: 8px; min-width: 0; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 2px solid var(--ar-home); font-weight: 700; }
.ar-col__head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-col.is-away .ar-col__head { border-bottom-color: var(--ar-away); }
.ar-coach { display: flex; align-items: center; gap: 6px; padding: 9px 0; font-size: 12px; color: #6d819e; border-bottom: 1px solid var(--ar-line); }
.ar-coach strong { color: #acbfd7; font-weight: 600; }

.ar-sub { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #1e2b40; min-width: 0; }
.ar-sub:last-child { border-bottom: 0; }
.ar-ph { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden; background: #1a2a40; border: 1px solid var(--ar-line-2); display: grid; place-items: center; }
.ar-ph b { font-size: 12px; font-weight: 700; color: #a8c0df; font-variant-numeric: tabular-nums; }
.ar-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #1a2a40; }
.ar-ph--lg { width: 56px; height: 56px; }
.ar-sub__name { flex: 1; min-width: 0; display: grid; font-weight: 600; font-size: 14px; }
.ar-sub__name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-sub__name small { color: var(--ar-text-3); font-weight: 500; font-size: 12px; }
.ar-sub__ev { display: inline-flex; align-items: center; gap: 2px; flex: none; font-size: 12px; font-weight: 700; }
.ar-sub__ev .ar-ev { width: 15px; height: 15px; color: inherit; }
.ar-sub__ev.is-in { color: var(--ar-win); }
.ar-sub__ev.is-out { color: var(--ar-loss); }

.ar-motm { display: flex; align-items: center; gap: 12px; }
.ar-motm > div { flex: 1; min-width: 0; display: grid; }
.ar-motm strong { font-size: 17px; }
.ar-motm small { color: var(--ar-text-3); }
.ar-motm .ar-rt { font-size: 15px; padding: 5px 8px; border-radius: 8px; }

.ar-miss__row { display: grid; padding: 8px 0; border-bottom: 1px solid var(--ar-line); }
.ar-miss__row:last-child { border-bottom: 0; }
.ar-miss__row strong { font-weight: 600; font-size: 14px; }
.ar-miss__row small { font-size: 12px; color: var(--ar-text-3); }
.ar-muted { padding: 8px 0; font-size: 13px; color: var(--ar-text-3); }

.ar-info li { display: grid; grid-template-columns: 22px auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--ar-line); font-size: 14px; }
.ar-info li:last-child { border-bottom: 0; }
.ar-info i { font-size: 19px; color: var(--ar-accent); }
.ar-info span { color: var(--ar-text-3); }
.ar-info strong { text-align: right; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- anlatım ---------- */

.ar-com { display: grid; grid-template-columns: 54px 26px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 8px; border-bottom: 1px solid #202c3e; }
.ar-com:last-child { border-bottom: 0; }
.ar-com__min { font-weight: 700; font-size: 13px; padding-top: 2px; color: #d2deed; font-variant-numeric: tabular-nums; }
.ar-com__ic { display: grid; place-items: center; min-height: 22px; }
.ar-com__ic .ar-ev { width: 20px; height: 20px; }
.ar-com__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ar-line-2); }
.ar-com p { margin: 0; color: #9aabc1; font-size: 14px; }
.ar-com.is-goal { background: var(--ar-accent-soft); border-radius: var(--ar-radius-sm); border-bottom-color: transparent; }
.ar-com.is-goal p { color: var(--ar-text); font-weight: 600; }

/* ---------- karşılaştırma ---------- */

.ar-h2h { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.ar-h2h__team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; font-weight: 700; }
.ar-h2h__team img { width: 48px; height: 48px; object-fit: contain; }
.ar-h2h__nums { display: flex; gap: 20px; text-align: center; }
.ar-h2h__nums div { display: grid; }
.ar-h2h__nums b { font-weight: 800; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.ar-h2h__nums b.is-home { color: var(--ar-home); }
.ar-h2h__nums b.is-away { color: var(--ar-away); }
.ar-h2h__nums span { font-size: 12px; color: var(--ar-text-3); font-weight: 600; }
.ar-split { display: flex; gap: 3px; height: 7px; margin: 16px 0 12px; }
.ar-split i { display: block; height: 100%; border-radius: 99px; min-width: 3px; }
.ar-split .is-home { background: var(--ar-home); }
.ar-split .is-draw { background: var(--ar-line-2); }
.ar-split .is-away { background: var(--ar-away); }
.ar-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 10px; }
.ar-facts span { padding: 5px 12px; border-radius: 999px; background: var(--ar-surface-2); border: 1px solid var(--ar-line-2); font-size: 13px; color: var(--ar-text-2); }
.ar-facts b { color: var(--ar-text); }

.ar-mini { display: grid; grid-template-columns: 62px minmax(0, 1fr) 54px minmax(0, 1fr) 22px; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--ar-line); font-size: 14px; }
.ar-mini:last-child { border-bottom: 0; }
.ar-mini__date { font-size: 12px; color: var(--ar-text-3); }
.ar-mini__team { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--ar-text-2); }
.ar-mini__team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-mini__team.is-home { flex-direction: row-reverse; text-align: right; }
.ar-mini__team img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.ar-mini__team.is-win { font-weight: 700; color: var(--ar-text); }
.ar-mini__score { justify-self: center; padding: 2px 8px; border-radius: 6px; background: var(--ar-surface-3); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ar-mini > i:empty { display: block; }

.ar-form { display: flex; gap: 5px; margin-bottom: 12px; }
.ar-res { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: #fff; font-style: normal; font-weight: 700; font-size: 12px; }
.ar-mini .ar-res { width: 20px; height: 20px; font-size: 11px; border-radius: 5px; }
.ar-res.is-w { background: #1f9d55; }
.ar-res.is-d { background: #c48f00; }
.ar-res.is-l { background: #d14448; }

/* ---------- puan durumu ---------- */

.ar-table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.ar-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ar-table th { padding: 9px 6px; border-bottom: 1px solid var(--ar-line-2); font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--ar-text-3); text-align: center; text-transform: uppercase; white-space: nowrap; }
.ar-table td { padding: 10px 6px; border-bottom: 1px solid var(--ar-line); text-align: center; white-space: nowrap; color: #c1cedf; font-variant-numeric: tabular-nums; }
.ar-table tr:last-child td { border-bottom: 0; }
.ar-table .ar-t-team { text-align: left; }
.ar-table .ar-t-team div { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ar-text); }
.ar-table .ar-t-team img { width: 22px; height: 22px; object-fit: contain; }
.ar-t-rank span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-weight: 700; box-shadow: inset 3px 0 0 var(--z, transparent); background: var(--ar-surface-3); }
.ar-t-pts { font-weight: 800; color: var(--ar-text) !important; }
.ar-table tr.is-focus td { background: var(--ar-accent-soft); }
.ar-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 12px; color: var(--ar-text-2); }
.ar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ar-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--z); }

/* ---------- basketbol / tenis ---------- */

.ar-periods td { color: var(--ar-text-3); }
.ar-periods td.is-lead { color: var(--ar-text); font-weight: 700; }
.ar-periods td.is-now { background: var(--ar-accent-soft); color: var(--ar-accent); font-weight: 700; }
.ar-periods tr.is-win .ar-t-team span { font-weight: 700; color: var(--ar-text); }
.ar-periods .ar-t-pts { font-size: 18px; }
.ar-periods sup { margin-left: 1px; font-size: 10px; color: var(--ar-text-3); }
.ar-periods .ar-t-team div { min-width: 140px; }
.ar-periods .ar-t-team span { overflow: hidden; text-overflow: ellipsis; }

.ar-serve { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ar-accent); box-shadow: 0 0 0 3px rgba(var(--ar-accent-rgb), .25); }
.ar-seed { margin-left: 3px; font-size: 11px; font-weight: 600; color: var(--ar-text-3); }
.ar-hero .ar-seed { color: var(--ar-text-3); }
.ar-hero__team strong .ar-serve { margin-right: 8px; vertical-align: middle; }

.ar-hero__pair { display: flex; justify-content: center; }
.ar-hero__pair .ar-hero__crest + .ar-hero__crest { margin-left: -16px; }
.ar-hero__crest--ph { position: relative; }
.ar-hero__crest--ph b { font-size: 24px; font-weight: 800; color: var(--ar-steel-2); }
.ar-hero__crest .ar-hero__photo { position: absolute; top: 4px; left: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: cover; border-radius: 50%; background: var(--ar-surface-3); }
.ar-hero__crest .ar-hero__flag { position: absolute; right: 0; bottom: 4px; width: 26px; height: 18px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 2px #0d1522; }
.ar-hero__sets { font-size: 13px; font-weight: 600; letter-spacing: .5px; white-space: pre; color: var(--ar-text-2); font-variant-numeric: tabular-nums; }

.ar-tform { display: grid; grid-template-columns: 62px minmax(0, 1fr) 54px 22px; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--ar-line); font-size: 14px; }
.ar-tform:last-child { border-bottom: 0; }
.ar-tform__opp { display: grid; min-width: 0; }
.ar-tform__opp strong, .ar-tform__opp small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-tform__opp strong { font-weight: 600; }
.ar-tform__opp small { font-size: 12px; color: var(--ar-text-3); }
.ar-tform > i:empty { display: block; }

/* ==========================================================================
   VİTRİN
   ========================================================================== */

.ar-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 20px; scroll-margin-top: calc(var(--ar-header-h) + 20px); }
.ar-head__text { display: grid; gap: 10px; }
.ar-head__title { display: flex; align-items: center; gap: 12px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.1; letter-spacing: -.8px; }
.ar-count { padding: 4px 8px; border-radius: 4px; background: var(--ar-accent-soft); color: var(--ar-accent); font-size: 12px; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }

.ar-search {
    display: flex; align-items: center; gap: 9px;
    width: min(320px, 100%); height: 44px; padding: 0 14px;
    border: 1px solid #222b3b; border-radius: 7px;
    background: #101622;
    color: #68758a;
    transition: border-color .15s, box-shadow .15s;
}
.ar-search i { font-size: 19px; }
.ar-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ar-text); font-size: 14px; }
.ar-search input::placeholder { color: #68758a; }
.ar-search:focus-within { border-color: rgba(var(--ar-accent-rgb), .5); box-shadow: 0 0 0 3px rgba(var(--ar-accent-rgb), .12); }

.ar-cats { display: flex; gap: 6px; margin-bottom: 22px; padding: 0 0 16px; border-bottom: 1px solid var(--ar-line); overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--ar-line-2) transparent; }
.ar-cat {
    flex: none;
    display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 10px 0 14px;
    border: 1px solid transparent; border-radius: var(--ar-radius-sm);
    background: transparent;
    color: #8792a5;
    font-size: 14px; font-weight: 500; white-space: nowrap;
    transition: border-color .15s, background .15s, color .15s;
}
.ar-cat:hover { color: var(--ar-text); background: var(--ar-surface); }
.ar-cat .ar-sport { width: 18px; height: 18px; fill: currentColor; }
.ar-cat > i { font-size: 18px; }
.ar-cat b { min-width: 24px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 5px; background: var(--ar-surface-2); font-size: 11px; font-weight: 700; color: var(--ar-text-3); }
.ar-cat.is-active { background: rgba(var(--ar-accent-rgb), .08); border-color: rgba(var(--ar-accent-rgb), .27); color: var(--ar-accent); }
.ar-cat.is-active b { background: var(--ar-accent-soft); color: var(--ar-accent); }

/* kartlar */
.ar-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ar-card {
    position: relative;
    display: flex; flex-direction: column;
    min-width: 0;
    padding: 16px 18px 14px;
    border: 1px solid var(--ar-line); border-radius: var(--ar-radius);
    background: var(--ar-surface);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.ar-card:hover { transform: translateY(-3px); border-color: #667c43; box-shadow: var(--ar-shadow); }
.ar-card.is-active { border-color: var(--ar-accent); box-shadow: 0 0 0 3px rgba(var(--ar-accent-rgb), .16); }

.ar-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; font-size: 11px; color: #8997aa; }
.ar-card__league { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ar-card__league span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-card__league .ar-sport { width: 15px; height: 15px; fill: currentColor; flex: none; }

.ar-card__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 20px 0 18px; }
.ar-card__team { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; text-align: center; }
.ar-card__name {
    max-width: 100%;
    font-size: 13px; font-weight: 600; line-height: 1.3;
    overflow-wrap: anywhere;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.ar-card:has(.ar-card__team.is-win) .ar-card__team:not(.is-win) .ar-card__name { color: var(--ar-text-3); }
.ar-crest { width: 52px; height: 52px; display: grid; place-items: center; flex: none; border-radius: 14px; background: radial-gradient(circle at 50% 35%, #202c40, #161f2e 70%); border: 1px solid #2a364a; }
.ar-crest img { width: 36px; height: 36px; object-fit: contain; }
.ar-card__score { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 22px; letter-spacing: -.5px; white-space: nowrap; font-variant-numeric: tabular-nums; color: #c2cbd9; }
.ar-card__score i { font-style: normal; color: #4b5a72; }
.ar-card__score:not(.is-set):not(.is-live) i { font-size: 15px; font-weight: 700; letter-spacing: 3px; color: #61738e; }
.ar-card__score.is-set { color: var(--ar-text); }
.ar-card__score.is-live { color: var(--ar-accent); }

.ar-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ar-line); font-size: 11px; color: #8997aa; }
.ar-card__tags { display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.ar-card__sport { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-watch { display: inline-flex; align-items: center; gap: 8px; flex: none; margin-left: auto; color: var(--ar-accent); font-size: 12px; font-weight: 600; }
.ar-watch i { font-size: 14px; transition: transform .15s; }
.ar-card:hover .ar-watch i { transform: translateX(3px); }

.ar-more {
    display: block;
    margin: 22px auto 0;
    height: 44px; padding: 0 22px;
    border: 1px solid #293144; border-radius: var(--ar-radius-sm);
    background: #171e2b;
    color: #e3e8f1;
    font-size: 14px; font-weight: 600;
    transition: border-color .15s, color .15s;
}
.ar-more:hover { border-color: rgba(var(--ar-accent-rgb), .45); color: var(--ar-accent); }

/* kanallar */
.ar-channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ar-chan {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-height: 108px; padding: 16px 12px;
    border: 1px solid var(--ar-line); border-radius: var(--ar-radius);
    background: var(--ar-surface);
    text-align: center;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.ar-chan img { max-width: 100%; max-height: 46px; object-fit: contain; }
.ar-chan span { font-size: 12px; font-weight: 600; color: var(--ar-text-2); }
.ar-chan:hover { transform: translateY(-2px); border-color: #667c43; box-shadow: var(--ar-shadow); }
.ar-chan.is-active { border-color: var(--ar-accent); box-shadow: 0 0 0 3px rgba(var(--ar-accent-rgb), .16); }

.ar-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 210px; padding: 28px 16px;
    border: 1px solid var(--ar-line); border-radius: var(--ar-radius);
    background: radial-gradient(ellipse at 50% 100%, rgba(20, 33, 42, .35), transparent 70%), #0d131f;
    text-align: center;
}
.ar-empty__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 12px; background: rgba(178, 221, 113, .06); border: 1px solid rgba(169, 207, 119, .13); color: #a9c77c; font-size: 26px; }
.ar-empty p { margin: 0; font-size: 15px; font-weight: 600; color: var(--ar-text-2); }

/* ==========================================================================
   FOOTER, SAĞ TIK, POPUP
   ========================================================================== */

.ar-footer { background: var(--ar-bg-2); border-top: 1px solid var(--ar-line); }
.ar-footer__top { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 22px; }
.ar-footer__logo img { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; }
.ar-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; flex: 1; justify-content: center; }
.ar-footer__nav a { display: inline-flex; align-items: center; gap: 6px; color: #8a95a8; font-size: 13px; font-weight: 500; transition: color .15s; }
.ar-footer__nav a i { color: var(--ar-text-3); }
.ar-footer__nav a:hover { color: var(--ar-accent); }
.ar-footer__bottom { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; padding-top: 16px; padding-bottom: 24px; border-top: 1px solid var(--ar-line); font-size: 12px; color: #6c788b; }
.ar-footer__credit a:hover { color: var(--ar-accent); }
.ar-footer__sep { margin: 0 4px; }

.custom-context-menu {
    position: fixed; z-index: 10000;
    min-width: 220px; padding: 6px;
    border: 1px solid var(--ar-line-2); border-radius: var(--ar-radius);
    background: var(--ar-surface);
    box-shadow: var(--ar-shadow-lg);
    opacity: 0; visibility: hidden; transform: scale(.96);
    transform-origin: top left;
    transition: opacity .15s, transform .15s, visibility .15s;
}
.custom-context-menu.ccm-show { opacity: 1; visibility: visible; transform: scale(1); }
.ccm-header { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-weight: 700; color: var(--ar-text); border-bottom: 1px solid var(--ar-line); margin-bottom: 4px; }
.ccm-header i { color: var(--ar-accent); font-size: 18px; }
.ccm-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px; background: none; text-align: left; font-size: 14px; font-weight: 500; color: var(--ar-text-2); }
.ccm-item i { width: 18px; font-size: 17px; color: var(--ar-text-3); }
.ccm-item:hover { background: var(--ar-surface-2); color: var(--ar-text); }
.ccm-highlight, .ccm-highlight i { color: var(--ar-accent); }
.ccm-divider { height: 1px; margin: 4px 0; background: var(--ar-line); }

.popup-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 7, 12, .72); backdrop-filter: blur(3px); }
.popup-content { position: relative; max-width: 480px; width: 100%; padding: 16px; border: 2px solid var(--ar-accent); border-radius: var(--ar-radius-lg); text-align: center; }
.popup-close { position: absolute; top: -14px; right: -14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ar-surface-2); border: 1px solid var(--ar-line-2); color: var(--ar-text); font-size: 22px; box-shadow: var(--ar-shadow-lg); cursor: pointer; }
.popup-image { display: block; width: 100%; height: auto; border-radius: var(--ar-radius); }
.popup-kapat { margin-top: 12px; height: 40px; padding: 0 26px; border: 0; border-radius: 7px; color: #fff; font-weight: 700; }

/* ==========================================================================
   DUYARLI
   ========================================================================== */

@media (max-width: 1100px) {
    .ar-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* kuleler içeriği daralttığında 1100px altındaki düzen kullanılır */
@media (min-width: 1280px) and (max-width: 1439px) {
    .has-towers .ar-grid { grid-template-columns: minmax(0, 1fr) 320px; }
    .has-towers .ar-intro__caption { display: none; }
}

@media (max-width: 1000px) {
    .ar-intro__caption { display: none; }
    .ar-intro__content { background: linear-gradient(90deg, #0a1019 0%, rgba(10, 16, 25, .81) 50%, rgba(10, 16, 25, .31)); }
}

@media (max-width: 960px) {
    .ar-burger { display: flex; }
    .ar-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        padding: 8px 16px 14px;
        background: #0d1421;
        border-bottom: 1px solid var(--ar-line);
        box-shadow: var(--ar-shadow-lg);
        display: none;
    }
    .ar-nav.is-open { display: block; }
    .ar-nav__list { flex-direction: column; gap: 0; height: auto; overflow: visible; }
    .ar-nav__link { height: 46px; }
    .ar-nav__link::after { top: 12px; bottom: 12px; left: -16px; right: auto; width: 2px; height: auto; transform: scaleY(0); }
    .ar-nav__link.is-active::after { transform: scaleY(1); }

    .ar-grid, .ar-grid2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
    body { font-size: 14px; }
    .ar-main { padding-top: 16px; }
    .ar-socials { display: none; }
    .ar-footer .ar-socials { display: flex; }
    :root { --ar-header-h: 68px; }
    .ar-logo img { height: 44px; max-width: 180px; }
    .ar-footer__logo img { height: 46px; max-width: 210px; }
    .ar-cta { height: 38px; padding: 0 12px; }

    .ar-intro { min-height: 400px; margin-bottom: 30px; border-radius: var(--ar-radius); }
    .ar-intro__stadium { left: 0; }
    .ar-intro__content { padding: 36px 22px; background: linear-gradient(90deg, rgba(10, 16, 25, .96), rgba(10, 16, 25, .69)); }
    .ar-intro__title { font-size: 38px; letter-spacing: -1.6px; }
    .ar-intro__text { font-size: 14px; }
    .ar-intro__actions { gap: 14px 22px; margin: 24px 0 22px; }
    .ar-btn { height: 44px; padding: 0 16px; font-size: 13px; }

    .ar-head__title { font-size: 24px; }
    .ar-search { width: 100%; }
    .ar-cats { scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
    .ar-cats::-webkit-scrollbar { display: none; }

    .ar-cards { gap: 12px; }
    .ar-card:hover { transform: none; }

    .ar-hero { padding: 14px 14px 0; }
    .ar-hero__meta { margin: 0 -14px; padding: 9px 14px; font-size: 12px; gap: 4px 14px; }
    .ar-hero__grid { gap: 8px; padding: 14px 0 16px; }
    .ar-hero__crest { width: 60px; height: 60px; }
    .ar-hero__crest img { width: 40px; height: 40px; }
    .ar-hero__team strong { font-size: 15px; letter-spacing: -.3px; }
    .ar-hero__goals { display: none; }
    .ar-hero__score { min-width: 92px; padding-top: 6px; gap: 10px; }
    .ar-hero__nums { font-size: 40px; gap: 8px; }
    .ar-hero__nums i { width: 10px; height: 3px; }
    .ar-hero__kick { font-size: 28px; }
    .ar-hero .ar-pill { height: 24px; padding: 0 9px; font-size: 11px; }
    .ar-hero__crest .ar-hero__flag { width: 20px; height: 14px; bottom: 2px; }
    .ar-hero__crest--ph b { font-size: 18px; }
    .ar-hero__pair .ar-hero__crest + .ar-hero__crest { margin-left: -12px; }
    .ar-hero__sets { font-size: 11px; }
    .ar-periods th, .ar-periods td { padding: 8px 5px; }
    .ar-periods .ar-t-team div { min-width: 0; max-width: 128px; }
    .ar-periods .ar-seed { display: none; }
    .ar-center__name { font-size: 16px; }

    .ar-tabs-wrap { border-radius: 0 0 var(--ar-radius-sm) var(--ar-radius-sm); }
    .ar-tabs { padding: 0 4px; }
    .ar-tab { height: 46px; padding: 0 12px; font-size: 13px; }
    .ar-box { padding: 14px; }
    .ar-table-wrap { margin: 0 -14px; padding: 0 14px; }

    .ar-tl__row { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); }
    .ar-tl__side { gap: 6px; padding: 4px 6px; }
    .ar-tl__txt strong, .ar-tl__txt small { font-size: 12px; }
    .ar-ev { width: 18px; height: 18px; }

    /* saha dikey döner */
    .ar-pitch { aspect-ratio: 68 / 105; background: repeating-linear-gradient(0deg, #1f4d33 0 9.0909%, #1b462e 9.0909% 18.1818%); }
    .ar-pitch__h { display: none; }
    .ar-pitch__v { display: block; }
    .ar-pl { left: var(--vx); top: var(--vy); width: 64px; }
    .ar-pl__num { width: 28px; height: 28px; font-size: 12px; }
    .ar-pl__name { font-size: 10px; max-width: 64px; }
    .ar-pl .ar-rt { right: -14px; font-size: 9px; }

    .ar-cols { grid-template-columns: minmax(0, 1fr); }
    .ar-stat-hl { grid-template-columns: minmax(0, 1fr); }
    .ar-stat-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ar-stat-bar .ar-seg { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
    .ar-donut__ring { width: 112px; height: 112px; }
    .ar-h2h__nums { gap: 12px; }
    .ar-h2h__nums b { font-size: 26px; }
    .ar-h2h__team img { width: 36px; height: 36px; }
    .ar-mini { grid-template-columns: 54px minmax(0, 1fr) 46px minmax(0, 1fr) 20px; gap: 6px; font-size: 13px; }
    .ar-com { grid-template-columns: 44px 22px minmax(0, 1fr); gap: 8px; }

    .ar-footer__top { justify-content: center; text-align: center; }
    .ar-footer__bottom { justify-content: center; text-align: center; }
    .banner img { width: 90%; }
    #stream-player .logo img { width: 70px; }
}

@media (max-width: 420px) {
    .ar-cta span { display: none; }
    .ar-cta { width: 38px; padding: 0; justify-content: center; }
    .ar-intro__title { font-size: 34px; }
    .ar-card { padding: 14px 14px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   RTL (Arapça / İbranice) - <html dir="rtl">
   Sayfa akışı sağdan sola döner. Oynatıcı ve ev sahibi/deplasman düzenine
   bağlı alanlar (skorbord, istatistik, kadro sahası, zaman çizelgesi, maç
   kartlarının takım sırası) skor dizgileriyle tutarlı kalsın diye soldan
   sağa bırakılır.
   ========================================================================== */

[dir="rtl"] .ar-stage,
[dir="rtl"] #stream-player,
[dir="rtl"] .ar-hero__grid,
[dir="rtl"] .ar-mo,
[dir="rtl"] .ar-tl,
[dir="rtl"] .ar-stat-bar,
[dir="rtl"] .ar-stat__head,
[dir="rtl"] .ar-stat__bars,
[dir="rtl"] .ar-donut,
[dir="rtl"] .ar-xg,
[dir="rtl"] .ar-lineup-head,
[dir="rtl"] .ar-pitch,
[dir="rtl"] .ar-cols,
[dir="rtl"] .ar-h2h,
[dir="rtl"] .ar-split,
[dir="rtl"] .ar-mini,
[dir="rtl"] .ar-card__teams { direction: ltr; }

/* ltr kapların içindeki çevrilmiş metinler kendi yönünde akar */
[dir="rtl"] .ar-stat__name,
[dir="rtl"] .ar-card__name,
[dir="rtl"] .ar-tl__divider span,
[dir="rtl"] .ar-tl__extra span,
[dir="rtl"] .ar-tl__txt small,
[dir="rtl"] .ar-h2h__nums span,
[dir="rtl"] .ar-donut__ring span,
[dir="rtl"] .ar-pill,
[dir="rtl"] .ar-seg button { unicode-bidi: plaintext; }
[dir="rtl"] .ar-col { direction: rtl; }

/* skor / saat dizgileri */
[dir="rtl"] .ar-time,
[dir="rtl"] .ar-hero__nums,
[dir="rtl"] .ar-hero__kick,
[dir="rtl"] .ar-hero__sets,
[dir="rtl"] .ar-tl__min,
[dir="rtl"] .ar-tl__score,
[dir="rtl"] .ar-mini__score,
[dir="rtl"] .ar-mini__date,
[dir="rtl"] .ar-facts b,
[dir="rtl"] .ar-hero__meta { unicode-bidi: isolate; }
[dir="rtl"] .ar-time,
[dir="rtl"] .ar-hero__nums,
[dir="rtl"] .ar-hero__sets,
[dir="rtl"] .ar-tl__score,
[dir="rtl"] .ar-mini__score,
[dir="rtl"] .ar-facts b { direction: ltr; }

/* başlık ve menü */
[dir="rtl"] .ar-header__right { margin-left: 0; margin-right: auto; }
@media (min-width: 961px) {
    [dir="rtl"] .ar-nav__list > li:first-child { margin-left: 0; margin-right: auto; }
    [dir="rtl"] .ar-nav__list > li:last-child { margin-right: 0; margin-left: auto; }
}
@media (max-width: 960px) {
    [dir="rtl"] .ar-nav__link::after { left: auto; right: -16px; }
}
[dir="rtl"] .ar-cta i,
[dir="rtl"] .ar-back i,
[dir="rtl"] .ar-link i,
[dir="rtl"] .ar-btn i.la-arrow-right,
[dir="rtl"] .ar-btn-text i,
[dir="rtl"] .ar-watch i { transform: scaleX(-1); }
[dir="rtl"] .ar-btn-text:hover i,
[dir="rtl"] .ar-card:hover .ar-watch i { transform: scaleX(-1) translateX(3px); }

/* giriş sahnesi ayna görünür */
[dir="rtl"] .ar-intro__stadium { inset: 0 30% 0 0; transform: scaleX(-1); }
[dir="rtl"] .ar-intro__content { align-items: flex-start; background: linear-gradient(270deg, #0a1019 0%, rgba(10, 16, 25, .91) 36%, rgba(10, 16, 25, .33) 64%, rgba(10, 16, 25, .09) 100%); }
[dir="rtl"] .ar-intro__caption { right: auto; left: 6%; }
@media (max-width: 720px) {
    [dir="rtl"] .ar-intro__stadium { right: 0; }
}

/* vitrin */
[dir="rtl"] .ar-cat { padding: 0 14px 0 10px; }
[dir="rtl"] .ar-watch { margin-left: 0; margin-right: auto; }

/* maç merkezi kutuları */
[dir="rtl"] .ar-info strong { text-align: left; }
[dir="rtl"] .ar-table .ar-t-team { text-align: right; }
[dir="rtl"] .ar-t-rank span { box-shadow: inset -3px 0 0 var(--z, transparent); }
[dir="rtl"] .ar-periods .ar-seed { margin-left: 0; margin-right: 3px; }
[dir="rtl"] .ar-periods sup { margin-left: 0; margin-right: 1px; }

/* sağ tık menüsü */
[dir="rtl"] .ccm-item { text-align: right; }

/* Kadro sekmesi: saha tam genişlikte ve ekrana sığacak boyda, yedekler altında iki takım yan yana */
.ar-kadro .ar-pitch {
    width: min(100%, calc((100vh - 200px) * 105 / 68));
    margin: 0 auto;
}
.ar-kadro .ar-lineup-head { max-width: min(100%, calc((100vh - 200px) * 105 / 68)); margin-left: auto; margin-right: auto; }
@media (min-width: 961px) {
    .ar-kadro .ar-pl { width: 96px; }
    .ar-kadro .ar-pl__num { width: 38px; height: 38px; font-size: 15px; }
    .ar-kadro .ar-pl__name { max-width: 96px; font-size: 13px; }
}
@media (max-width: 720px) {
    /* dikey saha genişliğe göre; yedekler dar ekranda da yan yana, sade */
    .ar-kadro .ar-pitch { width: 100%; }
    .ar-kadro .ar-lineup-head { max-width: 100%; }
    .ar-kadro .ar-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ar-kadro .ar-sub { gap: 6px; }
    .ar-kadro .ar-ph { width: 28px; height: 28px; }
    .ar-kadro .ar-sub__name { font-size: 12px; }
    .ar-kadro .ar-sub__name small { font-size: 11px; }
    .ar-kadro .ar-coach { font-size: 11px; }
}
