/* haberler.com spor verisi (SporVeri): puan durumu / fikstür kutusu eklemeleri, maçlar şeridi, canlı anlatım,
   tüm anlatım penceresi ve takım sayfası maç şeridi. Sitenin spor rengi: kırmızı #fe0000. */

/* ---------- Puan durumu / fikstür kutusu (sport.min.css'in .hbStandingsSlider'ı üzerine) ---------- */

/* Kutu slider'ın yanındayken boyu slider'a eşitlenir (spor-veri.js min-height verir);
   "Tümünü görüntüle" altta kalır */
.spPuanKutusu {
    position: relative;
}

    .spPuanKutusu .hbssMainTab > .hbssSlider:not(.expanded) {
        padding-bottom: 45px;
    }

        .spPuanKutusu .hbssMainTab > .hbssSlider:not(.expanded) > .hbssAllMoreScope {
            position: absolute;
            left: 0;
            bottom: 0;
        }

/* Slider görseli (735x490) birebir gösterilsin: slider sütunu 735px, puan kutusu 297px (ara 24px).
   Sitenin genel kuralı slider'a 100% - 324px (732px) veriyordu. */
@media only screen and (min-width: 1060px) {
    .hbContainer.sport .SliderRow .SliderColumn {
        width: calc(100% - 321px);
    }

    .hbContainer.sport .SliderRow .ScoreColumn {
        max-width: 297px;
    }
}

/* Süper Lig takımları şeridi: amblem altında takım adı, şeride eşit dağılır; sığmazsa yatay kayar */
.hbTeamsOrder {
    display: flex;
    justify-content: space-between;
    padding: 4px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .hbTeamsOrder::-webkit-scrollbar {
        display: none;
    }

    .hbTeamsOrder .hbtoImg,
    .hbTeamsOrder .hbtoImg:first-child,
    .hbTeamsOrder .hbtoImg:last-child {
        float: none;
        flex: 0 0 auto;
        width: 58px !important;
        padding: 6px 1px;
    }

        .hbTeamsOrder .hbtoImg a {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            color: #555;
            text-decoration: none;
        }

        .hbTeamsOrder .hbtoImg a img {
            width: 36px;
            height: 36px;
            object-fit: contain;
            transition: transform .15s ease;
        }

        .hbTeamsOrder .hbtoImg a:hover img {
            transform: scale(1.08);
        }

    .hbTeamsOrder .hbtoAd {
        display: block;
        max-width: 56px;
        font-size: 10px;
        line-height: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media only screen and (max-width: 767px) {
    .hbTeamsOrder {
        justify-content: flex-start;
        padding: 4px 8px;
    }

        .hbTeamsOrder .hbtoImg,
        .hbTeamsOrder .hbtoImg:first-child,
        .hbTeamsOrder .hbtoImg:last-child {
            width: 52px !important;
            padding: 4px 1px;
        }

            .hbTeamsOrder .hbtoImg a img {
                width: 30px;
                height: 30px;
            }

        .hbTeamsOrder .hbtoAd {
            max-width: 50px;
            font-size: 9px;
            line-height: 11px;
        }
}

/* Lig seçimi: puan durumu ve fikstürde ortak açılır liste */
.spPuanKutusu .spLigSecim {
    width: 100%;
    float: left;
    padding: 8px 10px 2px;
}

    .spPuanKutusu .spLigSecim select {
        width: 100%;
        height: 34px;
        padding: 0 10px;
        border: 1px solid #e3e3e3;
        background: #fff;
        font-family: inherit;
        font-size: 15px;
        font-weight: 700;
        color: #333;
        cursor: pointer;
    }

        .spPuanKutusu .spLigSecim select:focus {
            border-color: #595959;
            outline: 0;
        }

.spPuanKutusu .spLigAdi {
    padding: 8px 0;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.spPuanKutusu .hbssTexts {
    cursor: pointer;
}

/* Kutunun üst (seçili sekme) ve alt çizgisi koyu gri: kutuda renk yok */
.spPuanKutusu.hbStandingsSlider .hbssStandingsFixture .hbssTexts.active {
    border-top-color: #595959;
}

.spPuanKutusu.hbStandingsSlider .hbssAllMoreScope {
    border-bottom-color: #595959;
}

/* 12. sıradan sonrası ve 3. günden sonraki fikstür "Tümünü görüntüle" ile açılır */
.spPuanKutusu .hbssMore {
    display: none;
}

.spPuanKutusu .expanded tr.hbssMore {
    display: table-row;
}

.spPuanKutusu .expanded div.hbssMore {
    display: block;
}

.spPuanKutusu .hbssAllMore a {
    font-weight: 700;
    color: #333;
}

.spPuanKutusu tbody td a {
    color: inherit;
}

/* Takım adı tek satır: sport.css'in "word-break: break-all"ı uzun adları ortadan bölüyordu */
.spPuanKutusu table {
    table-layout: fixed;
}

.spPuanKutusu.hbStandingsSlider tbody tr td {
    padding: 5px 4px 4px;
    word-break: normal;
}

    /* Takım: logo + ad; ilk üç sırada sıra numarası kalın */
    .spPuanKutusu tbody td.spTakim {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .spPuanKutusu.hbStandingsSlider table tbody tr td.spTakim {
        color: #333 !important;
    }

.spPuanKutusu.hbStandingsSlider thead tr th {
    word-break: normal;
    white-space: nowrap;
}

        .spPuanKutusu tbody td.spTakim img {
            width: 20px;
            height: 20px;
            margin-right: 8px;
            object-fit: contain;
            vertical-align: middle;
        }

    .spPuanKutusu tbody tr:nth-child(-n+3) td.spSira {
        font-weight: 700;
        color: #333;
    }

/* Takım sayfasında takımın satırı: açık gri zemin, kalın */
.spPuanKutusu tbody tr.spVurgu td {
    background: #f4f4f4;
    font-weight: 700;
    color: #333;
}

/* Fikstür başlığı: ‹ hafta › */
.spPuanKutusu .spFikBaslik {
    display: flex;
    align-items: center;
    height: auto;
    padding: 0 4px;
}

    .spPuanKutusu .spFikBaslik .hbssLeagueTitle {
        flex: 1 1 auto;
        width: auto;
        color: #fff;
        font-weight: 700;
        text-align: center;
    }

.spPuanKutusu .spFikOk {
    flex: 0 0 26px;
    height: 26px;
    border: 0;
    background: none;
    cursor: pointer;
    position: relative;
}

    .spPuanKutusu .spFikOk::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 7px;
        height: 7px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: translate(-65%, -50%) rotate(45deg);
    }

    .spPuanKutusu .spFikOk.geri::before {
        transform: translate(-35%, -50%) rotate(-135deg);
    }

    .spPuanKutusu .spFikOk:disabled {
        opacity: .35;
        cursor: default;
    }

/* Slider'ın yanında: fikstür kutu boyunda kendi içinde kayar, tüm günler açık */
.spPuanKutusu.yanyana .spFikIcerik {
    width: 100%;
    float: left;
    overflow-y: auto;
}

.spPuanKutusu.yanyana .spFikstur div.hbssMore {
    display: block;
}

.spPuanKutusu.yanyana .spFikstur .hbssAllMoreScope {
    display: none;
}

.spPuanKutusu .spFikstur.yukleniyor .spFikIcerik {
    opacity: .4;
}

/* Fikstür satırı: ev | skor | deplasman ızgarası; sitenin sabit 90px sütunları dar kutuda satırı kırıyordu */
.spPuanKutusu.hbStandingsSlider .hbWeekMatchs .hbwmMatchsLineScope .hbwmMatchsLine .hbwmMatchs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    float: none;
    left: auto;
    width: 100%;
    padding: 0 8px;
    transform: none;
}

    .spPuanKutusu.hbStandingsSlider .hbWeekMatchs .hbwmMatchsLineScope .hbwmMatchsLine .hbwmMatchs span {
        display: block;
        width: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Fikstür gri; yalnızca oynanan maçın skoru kırmızı */
    .spPuanKutusu.hbStandingsSlider .hbWeekMatchs .hbwmMatchsLineScope .hbwmMatchsLine .hbwmMatchs .hbwmClock {
        margin: 0;
        border-color: #a6a6a6;
        color: #333;
    }

        .spPuanKutusu.hbStandingsSlider .hbWeekMatchs .hbwmMatchsLineScope .hbwmMatchsLine .hbwmMatchs .hbwmClock.canli {
            border-color: #fe0000;
            background: #fe0000;
            color: #fff;
            font-weight: 700;
        }

.spPuanKutusu.hbStandingsSlider .hbWeekMatchs .hbwmMatchsLineScope .hbwmDateLine {
    background: #f4f4f4;
}

.spPuanKutusu .hbssLeagueWeekMatchTitle {
    background-color: #595959;
}

.spPuanKutusu .spFikBos {
    padding: 24px 12px;
    text-align: center;
    color: #7f7f7f;
}

/* ---------- Maçlar şeridi ve takım maçları ---------- */

.spVeri {
    width: 100%;
    float: left;
    clear: both;
    font-family: Inter, sans-serif;
    color: #333;
}

    .spVeri *, .spVeri *::before, .spVeri *::after {
        box-sizing: border-box;
    }

    .spVeri button {
        font-family: inherit;
    }

.spVeri .spCanliMaclar {
    margin: 24px 0 20px;
    padding: 16px 20px 18px;
    background: #fff;
    box-shadow: 0 4px 6px 0 rgba(185, 185, 185, .5);
}

.spVeri .spBolumBaslik {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    margin-bottom: 14px;
}

    .spVeri .spBolumBaslik h2 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding-left: 12px;
        border-left: 4px solid #fe0000;
        font-size: 24px;
        font-weight: 700;
        line-height: 120%;
        color: #333;
    }

.spVeri .spNokta {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fe0000;
    animation: spNabiz 1.6s ease-in-out infinite;
}

@keyframes spNabiz {
    50% { opacity: .3; }
}

/* Lig sekmeleri: seçili sekmenin altı kırmızı */
.spVeri .spLigSekmeler {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}

    .spVeri .spLigSekmeler button {
        flex: 0 0 auto;
        padding: 7px 10px 5px;
        border: 0;
        border-bottom: 2px solid transparent;
        background: none;
        color: #595959;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
        cursor: pointer;
    }

        .spVeri .spLigSekmeler button:hover {
            color: #333;
        }

        .spVeri .spLigSekmeler button.active {
            border-bottom-color: #fe0000;
            color: #333;
        }

.spVeri .spDigerLig {
    position: relative;
    flex: 0 0 auto;
}

    .spVeri .spDigerLig .spDigerAc::after {
        content: "";
        display: inline-block;
        width: 5px;
        height: 5px;
        margin-left: 7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        vertical-align: 3px;
    }

    .spVeri .spDigerLig.acik .spDigerAc::after {
        transform: rotate(-135deg);
        vertical-align: -1px;
    }

.spVeri .spDigerMenu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 30;
    display: none;
    min-width: 170px;
    padding: 4px 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.spVeri .spDigerLig.acik .spDigerMenu {
    display: block;
}

    .spVeri .spDigerMenu button {
        display: block;
        width: 100%;
        padding: 9px 14px;
        border-bottom: 0;
        text-align: left;
    }

        .spVeri .spDigerMenu button:hover {
            background: #f4f4f4;
        }

.spVeri .spSeritKapsam {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spVeri .spSerit {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 98px;
    display: flex;
    gap: 12px;
    padding: 2px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .spVeri .spSerit::-webkit-scrollbar {
        display: none;
    }

.spVeri .spOk {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 1px solid #e3e3e3;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
}

    .spVeri .spOk::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        border-top: 2px solid #333;
        border-right: 2px solid #333;
        transform: translate(-65%, -50%) rotate(45deg);
    }

    .spVeri .spOk.geri::before {
        transform: translate(-35%, -50%) rotate(-135deg);
    }

    .spVeri .spOk:disabled {
        opacity: .35;
        cursor: default;
    }

/* Maç kartı: görünen alana tam 5 kart */
.spVeri .spMac {
    position: relative;
    flex: 0 0 calc((100% - 48px) / 5);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid #e3e3e3;
    border-top: 3px solid #e3e3e3;
    background: #fff;
    text-align: left;
    font: inherit;
    color: inherit;
}

button.spMac {
    cursor: pointer;
}

    .spVeri button.spMac:hover {
        border-color: #b8b8b8;
        border-top-color: #b8b8b8;
    }

.spVeri .spMac.canli {
    border-top-color: #fe0000;
}

.spVeri .spMac.secili {
    background: #f4f4f4;
}

.spVeri .spMac.bitti {
    border-top-color: #a6a6a6;
}

.spVeri .spMacEtiket {
    position: absolute;
    top: 9px;
    right: 9px;
    padding: 1px 5px;
    background: rgba(254, 0, 0, .1);
    color: #fe0000;
    font-size: 9px;
    font-weight: 700;
    line-height: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.spVeri .spMacUst {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 16px;
    color: #7f7f7f;
}

.spVeri .spMacLig {
    font-weight: 700;
    color: #595959;
}

.spVeri .spMac.canli .spMacZaman {
    color: #fe0000;
    font-weight: 700;
}

.spVeri .spMacTakim {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
}

    .spVeri .spMacTakim img {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .spVeri .spMacTakim span {
        flex: 1 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .spVeri .spMacTakim b {
        flex: 0 0 auto;
    }

.spVeri .spMac.canli .spMacTakim b {
    color: #fe0000;
}

.spVeri .spSeritBos {
    padding: 24px 0;
    font-size: 14px;
    color: #7f7f7f;
}

/* ---------- Canlı anlatım ---------- */

.spVeri .spAnlatim {
    display: flex;
    min-height: 230px;
    margin-bottom: 36px;
    background: #fff;
    box-shadow: 0 4px 6px 0 rgba(185, 185, 185, .5);
}

    .spVeri .spAnlatim.bos {
        display: none;
    }

.spVeri .spAnlSol {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    padding: 14px 20px 16px;
    border-right: 1px solid #e3e3e3;
}

.spVeri .spAnlUst {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 14px;
    color: #595959;
}

.spVeri .spAnlRozet {
    flex: 0 0 auto;
    padding: 5px 10px;
    background: #fe0000;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.spVeri .spAnlLig {
    flex: 0 0 auto;
    font-weight: 700;
    color: #333;
}

.spVeri .spAnlStat {
    min-width: 0;
    padding-left: 10px;
    border-left: 1px solid #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spVeri .spAnlSkor {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 0 10px;
}

.spVeri .spAnlTakim {
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

    .spVeri .spAnlTakim img {
        width: 56px;
        height: 56px;
        object-fit: contain;
    }

.spVeri a.spAnlTakim:hover span {
    text-decoration: underline;
}

.spVeri .spAnlOrta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.spVeri .spAnlSonuc {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.spVeri .spAnlDurum {
    padding: 4px 10px;
    border: 1px solid #a6a6a6;
    border-radius: 8px;
    color: #595959;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

    .spVeri .spAnlDurum.canli {
        border-color: #fe0000;
        background: #fe0000;
        color: #fff;
    }

/* Zaman çizgisi: dolu kısım maç dakikası, işaretler goller */
.spVeri .spAnlCizgi {
    position: relative;
    height: 6px;
    margin: 14px 0 6px;
    background: #e3e3e3;
}

.spVeri .spAnlDolu {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: #595959;
}

.spVeri .spAnlIsaret {
    position: absolute;
    top: -12px;
    font-size: 11px;
    line-height: 1;
    transform: translateX(-50%);
}

.spVeri .spAnlCizgiAlt {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #7f7f7f;
}

.spVeri .spAnlSag {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.spVeri .spAnlSekmeler {
    flex: 0 0 auto;
    display: flex;
    border-bottom: 1px solid #e3e3e3;
    overflow-x: auto;
    scrollbar-width: none;
}

    .spVeri .spAnlSekmeler button {
        flex: 1 1 auto;
        padding: 11px 10px 9px;
        border: 0;
        border-bottom: 2px solid transparent;
        background: none;
        color: #595959;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
        cursor: pointer;
    }

        .spVeri .spAnlSekmeler button.active {
            border-bottom-color: #fe0000;
            color: #333;
        }

/* İki satır: üstte olay başlığı, altında metnin tamamı; dakika ve ikon iki satırın ortasında */
.spVeri .spAnlOlaylar {
    flex: 1 1 auto;
    max-height: 196px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
}

    .spVeri .spAnlOlaylar li {
        display: grid;
        grid-template-columns: 48px 24px minmax(0, 1fr);
        align-items: center;
        gap: 2px 10px;
        padding: 9px 16px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 13px;
        color: #595959;
    }

        .spVeri .spAnlOlaylar li.gol {
            background: #f7f7f7;
        }

    .spVeri .spAnlOlaylar .spDk,
    .spVeri .spAnlOlaylar .spIk {
        grid-row: 1 / span 2;
    }

    .spVeri .spAnlOlaylar .spDk {
        justify-self: start;
        min-width: 38px;
        padding: 3px 6px;
        border: 1px solid #d6d6d6;
        border-radius: 8px;
        text-align: center;
        font-weight: 700;
        color: #333;
    }

    .spVeri .spAnlOlaylar b {
        grid-column: 3;
        font-weight: 700;
        color: #333;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .spVeri .spAnlOlaylar .spMetin {
        grid-column: 3;
        line-height: 18px;
    }

    .spVeri .spAnlOlaylar li.spAnlatimSatiri .spMetin {
        color: #333;
    }

    .spVeri .spAnlOlaylar .spBos {
        display: block;
        padding: 28px 16px;
        border: 0;
        text-align: center;
        color: #7f7f7f;
    }

.spVeri .spIk {
    justify-self: center;
    display: inline-block;
    width: 18px;
    height: 18px;
    text-align: center;
    font-style: normal;
    line-height: 18px;
}

    .spVeri .spIk.gol::before { content: "\26BD"; font-size: 15px; }
    .spVeri .spIk.sari::before,
    .spVeri .spIk.kirmizi::before {
        content: "";
        display: inline-block;
        width: 11px;
        height: 15px;
        border-radius: 2px;
        background: #f5c400;
        vertical-align: middle;
    }
    .spVeri .spIk.kirmizi::before { background: #fe0000; }
    .spVeri .spIk.degisiklik::before { content: "\21C4"; font-size: 16px; font-weight: 700; color: #595959; }
    .spVeri .spIk.penalti::before { content: "\2715"; font-size: 13px; font-weight: 700; color: #fe0000; }
    .spVeri .spIk.pozisyon::before {
        content: "!";
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #e89400;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        line-height: 16px;
    }
    .spVeri .spIk.anlatim::before,
    .spVeri .spIk.diger::before { content: "\2022"; color: #a6a6a6; }

/* Tüm anlatım düğmesi: kırmızı çerçeveli kutu */
.spVeri .spAnlTumu {
    flex: 0 0 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 14px;
    padding: 16px;
    border: 2px solid #fe0000;
    background: #fff;
    color: #fe0000;
    cursor: pointer;
}

    .spVeri .spAnlTumu:hover {
        background: #fff0f0;
    }

.spVeri .spAnlTumuYazi {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

    .spVeri .spAnlTumuYazi::after {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        margin-left: 6px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
        vertical-align: 2px;
    }

/* ---------- Tüm anlatım penceresi ---------- */

/* Kaydırma çubuğu kalkınca sayfa kaymasın */
html.spPencereAcik {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.spVeri.spPencereKok {
    float: none;
    width: auto;
}

.spVeri .spPencere {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .55);
}

    .spVeri .spPencere.acik {
        display: flex;
    }

.spVeri .spPenKutu {
    width: 680px;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-top: 4px solid #fe0000;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

.spVeri .spPenUst {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #e3e3e3;
    font-size: 14px;
    color: #595959;
}

.spVeri .spPenKapat {
    position: relative;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-left: auto;
    border: 0;
    border-radius: 50%;
    background: #f4f4f4;
    cursor: pointer;
}

    .spVeri .spPenKapat::before,
    .spVeri .spPenKapat::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 14px;
        height: 2px;
        background: #333;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .spVeri .spPenKapat::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

.spVeri .spPenSkor {
    flex: 0 0 auto;
    padding: 16px 40px;
}

.spVeri .spPenIy {
    font-size: 12px;
    color: #7f7f7f;
}

.spVeri .spPenSekmeler {
    flex: 0 0 auto;
    display: flex;
    border-top: 1px solid #e3e3e3;
}

    .spVeri .spPenSekmeler button {
        flex: 1 1 50%;
        padding: 12px 0;
        border: 0;
        border-top: 2px solid transparent;
        background: #f4f4f4;
        color: #595959;
        font-size: 15px;
        cursor: pointer;
    }

        .spVeri .spPenSekmeler button.active {
            border-top-color: #fe0000;
            background: #fff;
            font-weight: 700;
            color: #333;
        }

.spVeri .spPenIcerik {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.spVeri .spPenOlaylar {
    max-height: none;
}

.spVeri .spPenIst {
    margin: 0;
    padding: 8px 24px 16px;
    list-style: none;
    overflow-y: auto;
}

    .spVeri .spPenIst li {
        display: grid;
        grid-template-columns: 60px 1fr 60px;
        align-items: center;
        gap: 4px 10px;
        padding: 8px 0;
        font-size: 14px;
    }

.spVeri .spIstDeger {
    font-weight: 700;
    text-align: center;
}

.spVeri .spIstAd {
    text-align: center;
    color: #595959;
}

.spVeri .spIstCubuk {
    grid-column: 1 / -1;
    height: 6px;
    background: #d6d6d6;
}

    .spVeri .spIstCubuk i {
        display: block;
        height: 100%;
        background: #fe0000;
    }

.spVeri .spPenBos {
    margin: 0;
    padding: 32px 16px;
    text-align: center;
    color: #7f7f7f;
}

.spVeri .spPenNot {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-top: 1px solid #e3e3e3;
    font-size: 12px;
    color: #7f7f7f;
}

    .spVeri .spPenNot:empty {
        display: none;
    }

/* ---------- Tablet ---------- */
@media only screen and (max-width: 1059px) {
    .spVeri .spMac {
        flex-basis: calc((100% - 36px) / 4);
    }

    .spVeri .spAnlSol {
        flex-basis: 340px;
    }

    .spVeri .spAnlOlaylar li {
        grid-template-columns: 44px 22px minmax(0, 1fr);
    }

    .spVeri .spAnlTumu {
        flex-basis: 140px;
    }
}

/* ---------- Mobil ---------- */
@media only screen and (max-width: 767px) {
    .spVeri .spCanliMaclar {
        margin: 16px 0;
        padding: 14px 12px;
    }

    .spVeri .spBolumBaslik {
        flex-direction: column;
        align-items: stretch;
    }

        .spVeri .spBolumBaslik h2 {
            font-size: 20px;
        }

    /* Lig sekmeleri yana kayar; açılır menü yok, yabancı ligler de satırda */
    .spVeri .spLigSekmeler {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .spVeri .spDigerLig,
    .spVeri .spDigerLig .spDigerMenu {
        display: contents;
    }

        .spVeri .spLigSekmeler .spDigerAc {
            display: none;
        }

        .spVeri .spDigerMenu button {
            display: block;
            width: auto;
            padding: 7px 10px 5px;
        }

            .spVeri .spDigerMenu button.active {
                border-bottom: 2px solid #fe0000;
            }

    .spVeri .spOk {
        display: none;
    }

    .spVeri .spMac {
        flex-basis: 200px;
    }

    .spVeri .spAnlatim {
        flex-direction: column;
        margin-bottom: 24px;
    }

    .spVeri .spAnlSol {
        flex-basis: auto;
        padding: 14px 12px;
        border-right: 0;
        border-bottom: 1px solid #e3e3e3;
    }

    .spVeri .spAnlTakim {
        flex-basis: 100px;
        font-size: 14px;
    }

        .spVeri .spAnlTakim img {
            width: 44px;
            height: 44px;
        }

    .spVeri .spAnlSonuc {
        font-size: 30px;
    }

    .spVeri .spAnlOlaylar {
        max-height: 260px;
    }

    /* Tüm anlatım penceresinde liste ekranın kalanını doldurur (yukarıdaki sınır yalnızca sayfadaki kutu için) */
    .spVeri .spPenOlaylar {
        max-height: none;
        flex: 1 1 auto;
        min-height: 0;
    }

        .spVeri .spAnlOlaylar li {
            grid-template-columns: 40px 20px minmax(0, 1fr);
            padding: 8px 12px;
        }

    .spVeri .spAnlTumu {
        flex: 0 0 auto;
        flex-direction: row;
        margin: 12px;
        padding: 12px;
    }

    .spVeri .spAnlTumuIk {
        width: 26px;
        height: 26px;
    }

    .spVeri .spPencere {
        padding: 0;
    }

    .spVeri .spPenKutu {
        width: 100%;
        height: 100%;
    }

    .spVeri .spPenSkor {
        padding: 12px;
    }
}
