.fp [id^="fp-"] {
    scroll-margin-top: 90px;
}

.fp-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 14px;
    padding: 26px 28px;
    color: #fff;
    background:
        radial-gradient(ellipse at 15% -20%, rgba(255, 255, 255, .25), transparent 40%),
        radial-gradient(ellipse at 85% -20%, rgba(255, 255, 255, .25), transparent 40%),
        radial-gradient(ellipse at 50% 140%, rgba(34, 197, 94, .3), transparent 55%),
        linear-gradient(135deg, #2a0609 0%, #7f1d1d 48%, #3b0a0f 100%);
    border-radius: 18px;
    overflow: hidden;
}

.fp-hero-logo {
    flex: none;
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .4));
}

.fp-hero-yazi {
    flex: 1;
    min-width: 0;
}

.fp-hero-ad {
    margin: 0;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.fp-hero-alt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
}

.fp-bayrak {
    display: inline-block;
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: -2px;
}

.fp-hero-bilgi {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    margin: 16px 0 0;
}

.fp-hero-bilgi div {
    padding: 0 18px;
    border-left: 1px solid rgba(255, 255, 255, .25);
}

.fp-hero-bilgi div:first-child {
    padding-left: 0;
    border-left: 0;
}

.fp-hero-bilgi dt {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
}

.fp-hero-bilgi dd {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.fp-hero-form {
    flex: none;
    align-self: flex-end;
    padding: 10px 14px;
    text-align: center;
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
}

.fp-hero-form small {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}

.fp-hero-form span {
    display: flex;
    gap: 4px;
}

.fp-hero-form .md-sonuc {
    width: 26px;
    height: 26px;
    font-size: 12px;
}

.fp-hero-foto {
    position: relative;
    flex: none;
}

.fp-hero-foto > img:first-child {
    width: 140px;
    height: 140px;
    object-fit: cover;
    background: rgba(255, 255, 255, .1);
    border: 3px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
}

.fp-hero-arma {
    position: absolute;
    right: -4px;
    bottom: 4px;
    width: 46px;
    height: 46px;
    padding: 4px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
}

.fp-hero-no {
    flex: none;
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 3px rgba(255, 255, 255, .85);
}

.fp-baglam {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #6b7280;
}

.fp-baglam img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.fp-baglam strong {
    color: #111827;
}

.fp-kutular {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.fp-kutu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.fp-kutu > i {
    font-size: 22px;
    color: #1e3a8a;
}

.fp-kutu small {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

.fp-kutu b {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
    color: #991b1b;
}

.fp-siradaki {
    display: block;
    margin-bottom: 12px;
    padding: 12px 16px;
    text-align: center;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
}

.fp-siradaki small {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #b91c1c;
}

.fp-siradaki small:last-child {
    margin-top: 6px;
    font-weight: 500;
    color: #6b7280;
}

.fp-siradaki-mac {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.fp-siradaki-mac span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
}

.fp-siradaki-mac span:first-child {
    justify-content: flex-end;
}

.fp-siradaki-mac img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.fp-siradaki-mac b {
    font-size: 18px;
    font-weight: 900;
    color: #6b7280;
}

.fp-maclar,
.fp-transfer ul,
.fp-one-cikan,
.fp-sakatliklar,
.fp-zaman {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-maclar a {
    display: grid;
    grid-template-columns: 62px 24px 18px minmax(0, 1fr) 54px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.fp-maclar a:hover {
    background: #f9fafb;
}

.fp-mac-tarih {
    font-size: 12px;
    color: #6b7280;
}

.fp-mac-lig img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.fp-mac-yer {
    font-size: 11px;
    font-weight: 800;
    color: #9ca3af;
}

.fp-mac-takim {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-weight: 700;
}

.fp-mac-takim span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

.fp-mac-ev {
    justify-content: flex-end;
    text-align: right;
}

.fp-mac-skor {
    padding: 3px 0;
    font-weight: 900;
    text-align: center;
    background: #f3f4f6;
    border-radius: 6px;
}

.fp-mac-durum {
    font-size: 11px;
    font-weight: 800;
    color: #dc2626;
}

.fp-kadro-araclar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.fp-ara {
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    padding: 8px 12px;
    font-size: 13px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.fp-kadro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}

.fp-oyuncu {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #f9fafb;
    border: 1px solid #f1f2f4;
    border-radius: 12px;
}

.fp-oyuncu:hover {
    border-color: #fecaca;
}

.fp-oyuncu-foto {
    flex: none;
    width: 58px;
    height: 58px;
    object-fit: cover;
    background: #e5e7eb;
    border-radius: 10px;
}

.fp-oyuncu-bilgi {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fp-oyuncu-no {
    font-size: 13px;
    font-weight: 900;
    color: #991b1b;
}

.fp-oyuncu-bilgi strong {
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fp-oyuncu-bilgi small {
    font-size: 11.5px;
    color: #6b7280;
}

.fp-oyuncu-alt {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.fp-oyuncu-alt .md-puan {
    min-width: 0;
    margin-left: auto;
    padding: 1px 5px;
    font-size: 11px;
}

.fp-tumu {
    display: block;
    margin: 12px auto 0;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    background: none;
    border: 0;
    cursor: pointer;
}

.fp-istler {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.fp-ist {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f9fafb;
    border: 1px solid #f1f2f4;
    border-radius: 12px;
}

.fp-ist > i {
    flex: none;
    width: 22px;
    margin-top: 2px;
    font-size: 17px;
    text-align: center;
    color: #1e3a8a;
}

.fp-ist small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
}

.fp-ist b {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: #991b1b;
}

.fp-ist em {
    font-size: 11.5px;
    font-style: normal;
    color: #9ca3af;
}

.fp-kart {
    display: inline-block;
    width: 13px;
    height: 18px;
    border-radius: 3px;
}

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

.fp-kart-kirmizi {
    background: #dc2626;
}

.fp-transferler {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fp-transfer h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
}

.fp-transfer-gelenler h3 i {
    color: #16a34a;
}

.fp-transfer-gidenler h3 i {
    color: #dc2626;
}

.fp-transfer li {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 2px 8px;
    padding: 7px 0;
    font-size: 12.5px;
    border-bottom: 1px solid #f3f4f6;
}

.fp-transfer li.mac-bos {
    display: block;
}

.fp-transfer-tarih {
    grid-row: span 2;
    font-size: 11.5px;
    color: #6b7280;
}

.fp-transfer-oyuncu {
    overflow: hidden;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #111827;
}

.fp-transfer-takim {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    grid-row: span 2;
}

.fp-transfer-takim span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

.fp-transfer li small {
    font-size: 11px;
    color: #9ca3af;
}

.fp-gbm {
    display: flex;
    height: 12px;
    gap: 3px;
    overflow: hidden;
    border-radius: 9999px;
}

.fp-gbm-G {
    background: #b91c1c;
}

.fp-gbm-B {
    background: #93c5fd;
}

.fp-gbm-M {
    background: #f87171;
}

.fp-gbm-lejant {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 10px 0 14px;
    font-size: 12px;
    color: #4b5563;
}

.fp-gbm-lejant i {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 3px;
    border-radius: 50%;
}

.fp-mini-kutular {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.fp-mini-kutular span {
    padding: 10px;
    text-align: center;
    background: #f9fafb;
    border: 1px solid #f1f2f4;
    border-radius: 10px;
}

.fp-mini-kutular small {
    display: block;
    font-size: 11px;
    color: #6b7280;
}

.fp-mini-kutular b {
    font-size: 20px;
    font-weight: 900;
    color: #991b1b;
}

.fp-one-cikan a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.fp-one-cikan li:last-child a {
    border-bottom: 0;
}

.fp-one-cikan img {
    flex: none;
    width: 46px;
    height: 46px;
    object-fit: cover;
    background: #f3f4f6;
    border-radius: 10px;
}

.fp-one-cikan span {
    flex: 1;
    min-width: 0;
}

.fp-one-cikan span small {
    display: block;
    font-size: 11.5px;
    color: #6b7280;
}

.fp-one-cikan strong {
    font-size: 14px;
    font-weight: 800;
}

.fp-one-cikan b {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 20px;
    font-weight: 900;
    color: #991b1b;
}

.fp-one-cikan b small {
    font-size: 10.5px;
    font-weight: 600;
    color: #9ca3af;
}

.fp-stadyum {
    margin: 12px 0 0;
}

.fp-stadyum img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

.fp-stadyum figcaption {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    color: #4b5563;
}

.fp-dizilis-ad {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 900;
}

.fp-saha {
    position: relative;
    aspect-ratio: .78;
    background: repeating-linear-gradient(180deg, #2f8f3a 0 10%, #2a8234 10% 20%);
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 10px;
    overflow: hidden;
}

.fp-saha > span {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, .6);
}

.fp-saha-orta {
    top: -2px;
    left: 0;
    right: 0;
    height: 0;
    border-width: 2px 0 0 !important;
}

.fp-saha-daire {
    top: -15%;
    left: 50%;
    width: 34%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translateX(-50%);
}

.fp-saha-ceza {
    bottom: -2px;
    left: 22%;
    right: 22%;
    height: 17%;
}

.fp-saha-kale {
    bottom: -2px;
    left: 38%;
    right: 38%;
    height: 6%;
}

.fp-saha-oyuncu {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    transform: translate(-50%, -50%);
}

.fp-tablo td a,
.fp-rakip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #111827;
}

.fp-rakip img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.fp-rakip small {
    font-size: 11px;
    color: #9ca3af;
}

.fp-tablo tfoot td {
    font-weight: 900;
    color: #111827;
    border-top: 2px solid #e5e7eb;
}

.fp-oynamadi {
    font-size: 12px;
    color: #9ca3af;
}

.fp-bilgi {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 14px;
}

.fp-bilgi .md-bilgi div {
    grid-template-columns: 116px minmax(0, 1fr);
}

.fp-yer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
}

.fp-mini-saha {
    position: relative;
    width: 84px;
    height: 112px;
    background: repeating-linear-gradient(180deg, #2f8f3a 0 12.5%, #2a8234 12.5% 25%);
    border: 2px solid rgba(255, 255, 255, .8);
    border-radius: 6px;
    box-shadow: inset 0 56px 0 -54px rgba(255, 255, 255, .7);
}

.fp-mini-saha i {
    position: absolute;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #dc2626;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.fp-kartlar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.fp-kartlar span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 2px 10px;
    padding: 10px 12px;
    background: #f9fafb;
    border: 1px solid #f1f2f4;
    border-radius: 10px;
}

.fp-kartlar .fp-kart {
    grid-row: span 2;
}

.fp-kartlar small {
    font-size: 11.5px;
    color: #6b7280;
}

.fp-kartlar b {
    font-size: 20px;
    font-weight: 900;
}

.fp-sure {
    margin-bottom: 12px;
}

.fp-sure > span:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 700;
}

.fp-sure b small {
    font-weight: 600;
    color: #9ca3af;
}

.fp-sure-cubuk {
    display: block;
    height: 9px;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 9999px;
}

.fp-sure-cubuk i {
    display: block;
    height: 100%;
    background: #991b1b;
    border-radius: 9999px;
}

.fp-durum {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #f0fdf4;
    border-radius: 12px;
}

.fp-durum > i {
    flex: none;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    background: #16a34a;
    border-radius: 50%;
}

.fp-durum strong {
    display: block;
    font-size: 14px;
}

.fp-durum small {
    font-size: 12px;
    color: #6b7280;
}

.fp-durum-sakat {
    background: #fef2f2;
}

.fp-durum-sakat > i {
    background: #dc2626;
}

.fp-sakatliklar {
    margin-top: 10px;
}

.fp-sakatliklar li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 12.5px;
    border-bottom: 1px solid #f3f4f6;
}

.fp-sakatliklar span {
    width: 78px;
    font-size: 11.5px;
    color: #6b7280;
}

.fp-sakatliklar small {
    margin-left: auto;
    font-size: 11px;
    color: #d97706;
}

.fp-zaman li {
    position: relative;
    padding: 0 0 14px 18px;
    border-left: 2px solid #e5e7eb;
}

.fp-zaman li:last-child {
    padding-bottom: 0;
}

.fp-zaman li::before {
    content: '';
    position: absolute;
    top: 3px;
    left: -6px;
    width: 10px;
    height: 10px;
    background: #1d4ed8;
    border-radius: 50%;
}

.fp-zaman-tarih {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #6b7280;
}

.fp-zaman-takimlar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 4px 0 2px;
    font-size: 13px;
    font-weight: 700;
}

.fp-zaman-takimlar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fp-zaman-takimlar img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.fp-zaman-takimlar i {
    font-size: 11px;
    color: #9ca3af;
}

.fp-zaman small {
    font-size: 11.5px;
    color: #9ca3af;
}

body.dark-mode .fp-kutu,
body.dark-mode .fp-ara {
    color: #e2e8f0;
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .fp-oyuncu,
body.dark-mode .fp-ist,
body.dark-mode .fp-mini-kutular span,
body.dark-mode .fp-kartlar span {
    background: #0f172a;
    border-color: #334155;
}

body.dark-mode .fp-baglam strong,
body.dark-mode .fp-transfer-oyuncu,
body.dark-mode .fp-rakip,
body.dark-mode .fp-tablo tfoot td {
    color: #f1f5f9;
}

body.dark-mode .fp-maclar a,
body.dark-mode .fp-transfer li,
body.dark-mode .fp-one-cikan a,
body.dark-mode .fp-sakatliklar li {
    color: #cbd5e1;
    border-color: #334155;
}

body.dark-mode .fp-siradaki,
body.dark-mode .fp-durum-sakat {
    background: rgba(153, 27, 27, .2);
    border-color: #7f1d1d;
}

body.dark-mode .fp-durum {
    background: rgba(22, 163, 74, .15);
}

@media (max-width: 1100px) {
    .fp-kutular {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .fp-hero {
        flex-wrap: wrap;
        gap: 14px;
        padding: 18px 16px;
    }

    .fp-hero-logo {
        width: 72px;
        height: 72px;
    }

    .fp-hero-foto > img:first-child {
        width: 92px;
        height: 92px;
    }

    .fp-hero-arma {
        width: 34px;
        height: 34px;
    }

    .fp-hero-ad {
        font-size: 26px;
    }

    .fp-hero-bilgi div {
        padding: 0 12px;
    }

    .fp-hero-bilgi dd {
        font-size: 13px;
    }

    .fp-hero-form {
        align-self: auto;
        width: 100%;
    }

    .fp-hero-form span {
        justify-content: center;
    }

    .fp-hero-no {
        display: none;
    }

    .fp-hero-yazi {
        padding-right: 40px;
    }

    .fp-istler {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 640px) {
    .fp-kutular {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .fp-kutu {
        padding: 10px;
    }

    .fp-kutu b {
        font-size: 20px;
    }

    .fp-maclar a {
        grid-template-columns: 50px minmax(0, 1fr) 46px minmax(0, 1fr) 22px;
        gap: 6px;
    }

    .fp-mac-lig,
    .fp-mac-yer {
        display: none;
    }

    .fp-siradaki-mac span {
        flex-direction: column;
        font-size: 13px;
    }

    .fp-siradaki-mac span:first-child {
        flex-direction: column-reverse;
    }

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

    .fp-ara {
        max-width: none;
    }

    .fp-ist {
        padding: 10px;
    }

    .fp-ist b {
        font-size: 19px;
    }

    .fp-kadro-araclar .mm-filtre-dugmeler {
        max-width: 100%;
        overflow-x: auto;
    }

    .fp-kadro-araclar .mm-filtre-dugmeler button {
        white-space: nowrap;
    }

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