.mm {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    color: #111827;
}

.mm-ust {
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.mm-ust-ic {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 14px;
}

.mm-lig {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mm-lig img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.mm-baslik {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.mm-alt-baslik {
    margin: 2px 0 0;
    font-size: 14px;
    color: #6b7280;
}

.mm-sezon {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    background: #f3f4f6;
    border-radius: 9999px;
}

.mm-sekmeler {
    display: flex;
    gap: 4px;
    padding: 0 12px 12px;
    overflow-x: auto;
}

.mm-sekmeler a {
    flex: 1 0 auto;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    color: #4b5563;
    border-radius: 10px;
}

.mm-sekmeler a:hover {
    color: #b91c1c;
    background: #fef2f2;
}

.mm-sekmeler a.aktif {
    color: #fff;
    background: #b91c1c;
}

.mm-serit {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
}

.mm-serit-etiket {
    flex: none;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.mm-serit-etiket.canli {
    color: #fff;
    background: #e30613;
    border-color: #e30613;
}

.mm-serit-liste {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.mm-serit-mac {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.mm-serit-mac:hover {
    border-color: #b91c1c;
}

.mm-serit-takim {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 110px;
}

.mm-serit-takim span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mm-serit-takim img {
    flex: none;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.mm-serit-orta {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
}

.mm-serit-orta strong {
    font-size: 14px;
    font-weight: 900;
}

.mm-serit-orta small {
    font-size: 10px;
    color: #6b7280;
}

.mm-serit-orta small.canli {
    font-weight: 800;
    color: #e30613;
}

.mm-izgara {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 20px;
    align-items: start;
}

.mm-iki {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.mm-bolum-ust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.mm-bolum-ust .mac-bolum-baslik {
    margin: 0;
}

.mm-tumu {
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
}

.mm-not {
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
}

.mm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 26px 28px;
    color: #fff;
    background: radial-gradient(ellipse at 75% 30%, rgba(255, 255, 255, .14), transparent 55%), linear-gradient(120deg, #450a0a 0%, #991b1b 55%, #7f1d1d 100%);
    border-radius: 18px;
    overflow: hidden;
}

.mm-hero:hover {
    color: #fff;
}

.mm-hero-yazi {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.mm-hero-etiket {
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(0, 0, 0, .35);
    border-radius: 6px;
}

.mm-hero-baslik {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.mm-hero-metin {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .88);
}

.mm-hero-dugme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 10px;
}

.mm-hero-mac {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.mm-hero-takim {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.mm-hero-takim img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35));
}

.mm-hero-takim strong {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.mm-hero-orta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mm-hero-skor {
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.mm-hero-durum {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    background: rgba(0, 0, 0, .35);
    border-radius: 9999px;
}

.mm-hero-durum.canli {
    background: #e30613;
    animation: macNabiz 1.5s infinite;
}

.mm-hafta-gecis {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.mm-hafta-gecis a {
    font-weight: 600;
    color: #6b7280;
}

.mm-hafta-gecis a:hover {
    color: #b91c1c;
}

.mm-filtre {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.mm-filtre-dugmeler {
    display: flex;
    gap: 4px;
    padding: 3px;
    background: #f3f4f6;
    border-radius: 10px;
}

.mm-filtre-dugmeler button {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.mm-filtre-dugmeler button.aktif {
    color: #fff;
    background: #b91c1c;
}

.mm-takim-sec {
    min-width: 170px;
    padding: 7px 10px;
    font-size: 13px;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.mm-gun-baslik {
    margin-top: 6px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
}

.mm .fik-mac {
    grid-template-columns: 48px minmax(0, 1fr) 64px minmax(0, 1fr) 84px 76px;
}

.mm .fik-mac[hidden],
.mm-gun[hidden],
.mm-filtre-bos[hidden] {
    display: none;
}

.mm-rozet {
    justify-self: end;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    border-radius: 6px;
}

.mm-rozet-canli {
    color: #fff;
    background: #e30613;
}

.mm-rozet-biten {
    color: #4b5563;
    background: #f3f4f6;
}

.mm-rozet-gelecek {
    color: #1d4ed8;
    background: #eff6ff;
}

.mm-rozet-tarih {
    color: #6b7280;
    background: #f9fafb;
}

.fik-detay {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
    color: #b91c1c;
    background: #fef2f2;
    border-radius: 6px;
}

.fik-detay i {
    font-size: 10px;
}

.fik-detay:hover {
    color: #fff;
    background: #b91c1c;
}

.mm-iki .fik-mac {
    grid-template-columns: 44px minmax(0, 1fr) 52px minmax(0, 1fr) 64px 28px;
    gap: 6px;
}

.mm-iki .fik-detay {
    width: 28px;
    height: 28px;
    padding: 0;
}

.mm-iki .fik-detay span {
    display: none;
}

.mm-tablo-sarici {
    overflow-x: auto;
}

.mm-tablo {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
}

.mm-tablo th {
    padding: 6px 4px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: #9ca3af;
    border-bottom: 1px solid #e5e7eb;
}

.mm-tablo td {
    padding: 7px 4px;
    text-align: center;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.mm-tablo .mm-t-takim {
    text-align: left;
}

.mm-tablo .mm-t-sira {
    width: 30px;
    font-weight: 700;
    color: #111827;
    border-left: 3px solid transparent;
}

.mm-t-takim-ic {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #111827;
}

.mm-t-takim-ic img {
    flex: none;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.mm-tablo .mm-t-puan {
    font-weight: 900;
    color: #111827;
}

.mm-tablo-tam {
    font-size: 14px;
}

.mm-tablo-tam td {
    padding: 9px 6px;
}

tr.mm-bolge-sl .mm-t-sira {
    border-left-color: #16a34a;
}

tr.mm-bolge-al .mm-t-sira {
    border-left-color: #1d4ed8;
}

tr.mm-bolge-kl .mm-t-sira {
    border-left-color: #60a5fa;
}

tr.mm-bolge-dusme .mm-t-sira {
    border-left-color: #ea580c;
}

.mm-lejant {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 10px;
    font-size: 11px;
    color: #6b7280;
}

.mm-lejant span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mm-lejant i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.mm-lejant .mm-bolge-sl {
    background: #16a34a;
}

.mm-lejant .mm-bolge-al {
    background: #1d4ed8;
}

.mm-lejant .mm-bolge-kl {
    background: #60a5fa;
}

.mm-lejant .mm-bolge-dusme {
    background: #ea580c;
}

.mm-ozet {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.mm-ozet-kutu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    text-align: center;
    background: #f9fafb;
    border: 1px solid #f1f2f4;
    border-radius: 12px;
}

.mm-ozet-kutu i {
    font-size: 18px;
    color: #374151;
}

.mm-ozet-kutu small {
    font-size: 11px;
    color: #6b7280;
}

.mm-ozet-kutu strong {
    font-size: 22px;
    font-weight: 900;
    color: #991b1b;
}

.mm-oyuncu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.mm-oyuncu:last-child {
    border-bottom: 0;
}

.mm-oyuncu-sira {
    flex: none;
    width: 18px;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
}

.mm-oyuncu-foto {
    flex: none;
    width: 38px;
    height: 38px;
    object-fit: cover;
    background: #f3f4f6;
    border-radius: 9999px;
}

.mm-oyuncu-ad {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mm-oyuncu-ad strong {
    overflow: hidden;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mm-oyuncu-ad small {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6b7280;
}

.mm-oyuncu-ad small img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.mm-oyuncu-sayi {
    flex: none;
    font-size: 20px;
    font-weight: 900;
    color: #991b1b;
}

.mm-liderler {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.mm-lider {
    padding: 10px 12px;
    background: #f9fafb;
    border: 1px solid #f1f2f4;
    border-radius: 12px;
}

.mm-lider-baslik {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
}

.mm-lider-ic {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.mm-lider-ic span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mm-lider-ic strong {
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mm-lider-ic small {
    font-size: 11px;
    color: #6b7280;
}

.mm-lider-ic b {
    font-size: 22px;
    font-weight: 900;
    color: #991b1b;
}

.mm-kart-ikon {
    display: inline-block;
    width: 9px;
    height: 12px;
    border-radius: 2px;
}

.mm-kart-sari {
    background: #facc15;
}

.mm-kart-kirmizi {
    background: #ef4444;
}

.mm-takim-ist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mm-takim-kart {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background: #f9fafb;
    border: 1px solid #f1f2f4;
    border-radius: 12px;
}

.mm-takim-kart-baslik {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}

.mm-takim-kart-takim {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mm-takim-kart-takim img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.mm-takim-kart-deger {
    font-size: 24px;
    font-weight: 900;
    color: #991b1b;
}

.mm-takim-kart-not {
    font-size: 12px;
    color: #9ca3af;
}

.mm-takim-logolari {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 12px;
}

.mm-takim-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.mm-takim-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mm-takim-logo small {
    font-size: 11px;
    line-height: 1.2;
    color: #4b5563;
}

.mm-canli-liste {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

a.mm-t-takim-ic:hover span,
a.mm-oyuncu-ad:hover strong,
a.mm-takim-kart-takim:hover strong,
.mm-lider-ic a:hover strong {
    text-decoration: underline;
}

body.dark-mode .mm-ust,
body.dark-mode .mm-serit-mac,
body.dark-mode .mm-serit-etiket:not(.canli),
body.dark-mode .mm-takim-sec {
    color: #e2e8f0;
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .mm-ozet-kutu,
body.dark-mode .mm-lider,
body.dark-mode .mm-takim-kart,
body.dark-mode .mm-gun-baslik,
body.dark-mode .mm-filtre-dugmeler {
    background: #0f172a;
    border-color: #334155;
}

body.dark-mode .mm-t-takim-ic,
body.dark-mode .mm-tablo .mm-t-puan,
body.dark-mode .mm-tablo .mm-t-sira {
    color: #f1f5f9;
}

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

@media (max-width: 768px) {
    .mm-iki,
    .mm-takim-ist {
        grid-template-columns: minmax(0, 1fr);
    }

    .mm-hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px;
    }

    .mm-hero-baslik {
        font-size: 26px;
    }

    .mm-hero-takim img {
        width: 64px;
        height: 64px;
    }

    .mm-hero-skor {
        font-size: 34px;
    }

    .mm-tablo-tam .mm-t-ek {
        display: none;
    }
}

@media (max-width: 640px) {
    .mm {
        padding: 12px 12px 30px;
    }

    .mm-baslik {
        font-size: 20px;
    }

    .mm-lig img {
        width: 40px;
        height: 40px;
    }

    .mm-sekmeler a {
        flex: none;
    }

    .mm .fik-mac {
        grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 28px;
        grid-template-areas:
            "ev skor dep detay"
            "ev rozet dep detay";
        row-gap: 4px;
    }

    .mm .fik-ev {
        grid-area: ev;
    }

    .mm .fik-skor {
        grid-area: skor;
    }

    .mm .fik-dep {
        grid-area: dep;
    }

    .mm .fik-mac .mm-rozet {
        grid-area: rozet;
        justify-self: center;
        padding: 2px 6px;
    }

    .mm .fik-detay {
        grid-area: detay;
    }

    .fik-detay {
        width: 28px;
        height: 28px;
        padding: 0;
    }

    .fik-detay span {
        display: none;
    }

    .mm .fik-mac .fik-durum {
        display: none;
    }

    .mm-filtre-dugmeler button {
        padding: 6px 10px;
    }

    .mm-takim-sec {
        width: 100%;
    }

    .mm-ozet,
    .mm-liderler {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
