﻿.player-position-title {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0px;
    color: #959297;
}

.player-position-value {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0px;
    color: #242129;
}

.player-field-wrapper {
    position: relative;
    /* width: 100%;
    max-width: 260px; */
}

.position-circle {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font: normal normal bold 16px/36px Barlow;
    color: white;
    text-align: center;
    transform: translate(-50%, -50%);
}

.player-rating-title {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0px;
    color: #2B2630;
}

.player-avg-title {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0px;
    color: #2B2630;
}

.main-position {
    background-color: #D42929;
    /* red */
}

.other-position {
    background-color: #000;
    /* black */
}

.player-transfer-table thead tr {
    border-bottom: 1px solid #E5E2E2;
}

.player-transfer-table tbody tr {
    border-bottom: 1px solid #E5E2E2;
}

.player-transfer-table thead tr th {
    border-right: 1px solid #E5E2E2;
}

.player-transfer-table tbody tr td {
    border-right: 1px solid #E5E2E2;
}

    .player-transfer-table tbody tr td:last-child,
    .player-transfer-table thead tr th:last-child {
        border-right: none !important;
    }

.rating-chart-scroll {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 10px;
}

.profile-name:hover {
    text-decoration: underline !important;
}

.career-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--secondary-line, #EFEFEF);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.career-summary-col {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .career-summary-col {
        width: 320px;
    }
}

.career-card .stat-table-content {
    border-top: 1px solid var(--secondary-line, #EFEFEF);
}

/* ── Player header: white card (overrides dark detail.css defaults) ── */
.player-detail-header .detail-header-info {
    background: #fff;
    box-shadow: none;
    border-radius: 10px 10px 0 0;
}

.player-detail-header .header-info-name {
    font-size: clamp(1.1rem, 2vw, 1.375rem);
    font-weight: 700;
    color: var(--offside-black, #242129);
    margin-bottom: 0;
}

.player-header-age {
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--reading-gray, #959297);
}

.player-detail-header .header-info-country-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--offside-black, #242129);
}

.player-detail-header .header-info-flag {
    max-width: clamp(1rem, 2vw, 1.25rem);
    max-height: clamp(1rem, 2vw, 1.25rem);
}

.player-detail-header .header-tabs {
    background: #fff;
    border-top: 1px solid var(--secondary-line, #EFEFEF);
    border-radius: 0 0 10px 10px;
}

.player-detail-header .header-tab {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(0.8125rem, 1vw, 0.875rem);
    line-height: 1.2;
    color: var(--reading-gray, #959297);
}

    .player-detail-header .header-tab.active {
        color: var(--offside-black, #242129);
    }

        .player-detail-header .header-tab.active::after {
            background-color: var(--primary-color, #D94646);
            bottom: -8px;
        }

.player-photo-wrapper {
    max-width: 80px !important;
    max-height: 80px !important;
    min-width: 72px;
    min-height: 72px;
}

.player-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.player-header-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--base-gray, #F6F6F6);
    border: 1px solid var(--secondary-line, #EFEFEF);
    cursor: pointer;
    color: var(--reading-gray, #959297);
    transition: background .15s;
}

    .player-header-btn:hover {
        background: var(--secondary-line, #EFEFEF);
    }

    .player-header-btn.btn-favorite {
        background: var(--primary-color, #D94646);
        border-color: var(--primary-color, #D94646);
        color: #fff;
    }

        .player-header-btn.btn-favorite:hover {
            background: #c03d3d;
            border-color: #c03d3d;
        }

.player-info-label {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    color: #7F7E81;
}

.player-info-value {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    color: #242129;
}

.player-info-grid .col-4 {
    border-color: var(--secondary-line, #EFEFEF) !important;
}

.profile-col {
    flex: 1 1 0;
    min-width: 0;
}

.profile-columns {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

/* İstatistikler tab */
.stat-big-value {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    color: #242129;
}

.stat-label {
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 13px;
    color: #8C8C8C;
}
/* ── Şut: kale kesit tasarımı ── */
.shot-goal-wrap {
    background: #FEF0EF;
    border: 1px solid #F5C6C3;
    border-radius: 8px;
    padding: 12px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* kale dışı (isabetsiz) satırı — kırmızı alanda */
.shot-goal-miss-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 2px;
}
/* kale direkleri — sol direk + sağ direk + üst kiriş (alt açık) */
.shot-goal-frame {
    border-top: 12px solid rgba(255,255,255,0.95);
    border-left: 12px solid rgba(255,255,255,0.95);
    border-right: 12px solid rgba(255,255,255,0.95);
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    width: 72%;
    align-self: center;
}
/* kale içi (isabetli) — yeşil alan */
.shot-goal-net {
    background: #EBF7EB;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
}

.shot-title-green {
    color: #2E7D32;
}

.shot-numbers {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shot-big-number {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 17px;
    color: #242129;
    min-width: 32px;
}

.shot-title {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    color: #242129;
    text-align: center;
    white-space: nowrap;
    flex: 1;
}

.season-perf-table {
    width: 100%;
    border-collapse: collapse;
}

    .season-perf-table th {
        font-family: "Barlow", sans-serif;
        font-size: 11px;
        font-weight: 600;
        color: #242129;
        padding: 8px 12px;
        border-bottom: 1px solid #EFEFEF;
        white-space: nowrap;
    }

    .season-perf-table td {
        font-family: Barlow, "Open Sans", sans-serif;
        font-size: 12px;
        line-height: 14px;
        color: #242129;
        padding: 7px 12px;
        border-bottom: 1px solid #EFEFEF;
    }

.season-perf-section td {
    font-weight: 700;
    font-size: 11px;
    color: #8C8C8C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 12px;
    background: transparent;
    border-bottom: none;
}

.season-perf-league-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #EFEFEF;
    border-radius: 6px;
    padding: 4px 10px;
    background: #fff;
    cursor: pointer;
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #242129;
}

.si-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 100%;
    background: #fff;
    border: 1px solid #EFEFEF;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 200;
    overflow: hidden;
}

.si-dropdown-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #242129;
    cursor: pointer;
    white-space: nowrap;
}

    .si-dropdown-item + .si-dropdown-item {
        border-top: 1px solid #F4F4F4;
    }

    .si-dropdown-item:hover {
        background: #F8F8F8;
    }

    .si-dropdown-item.si-active {
        color: var(--primary-color);
    }

.sp-mode-toggle {
    display: flex;
    border: 1px solid #EFEFEF;
    border-radius: 6px;
    overflow: hidden;
}

.sp-mode-btn {
    padding: 4px 10px;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #8C8C8C;
    background: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    line-height: 1.4;
}

    .sp-mode-btn.active {
        background: var(--primary-color);
        color: #fff;
    }
/* ── Percentile bar ── */
.season-perf-table td.sp-cell {
    width: 52px;
    text-align: right;
    padding-right: 8px;
    padding-left: 4px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.season-perf-table td.sp-bar-cell {
    width: 92px;
    padding: 0 12px 0 8px;
    vertical-align: middle;
    border-left: 1px solid #F4F4F4;
}

.season-perf-table th.sp-rank-th {
    width: 92px;
    text-align: center;
    padding-right: 12px;
}

.sp-rank-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #C0C0C0;
    background: transparent;
    color: #8C8C8C;
    font-size: 9px;
    font-weight: 700;
    font-family: "Open Sans", sans-serif;
    line-height: 1;
    cursor: pointer;
    margin-left: 4px;
    vertical-align: middle;
    padding: 0;
    flex-shrink: 0;
}

    .sp-rank-info-btn:hover {
        border-color: #8C8C8C;
        color: #242129;
    }

.sp-rank-tooltip {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    width: 260px;
    background: #242129;
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.55;
    padding: 10px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    z-index: 300;
    text-align: left;
    white-space: normal;
}

    .sp-rank-tooltip::before {
        content: '';
        position: absolute;
        top: -5px;
        right: 16px;
        width: 10px;
        height: 10px;
        background: #242129;
        transform: rotate(45deg);
        border-radius: 2px;
    }

.sp-pct-wrap {
    position: relative;
    width: 68px;
    height: 7px;
    border-radius: 4px;
}

.sp-pct-track {
    width: 100%;
    height: 100%;
    background: #EFEFEF;
    border-radius: 4px;
    overflow: hidden;
}

.sp-pct-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.sp-pct-label {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 30, 30, 0.82);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

.sp-bar-cell:hover .sp-pct-label {
    display: block;
}

/* ── İlişkiler tab ── */
.rels-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.rels-search-input {
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    color: #242129;
    background: var(--base-gray, #F6F6F6);
    border: 1px solid var(--secondary-line, #EFEFEF);
    border-radius: 6px;
    padding: 5px 28px 5px 10px;
    outline: none;
    width: 130px;
    transition: border-color .15s;
}

    .rels-search-input:focus {
        border-color: var(--primary-color, #D94646);
    }

.rels-search-icon {
    position: absolute;
    right: 8px;
    pointer-events: none;
}

.rels-table {
    width: 100%;
    border-collapse: collapse;
}

    .rels-table thead {
        position: sticky;
        top: 0;
        z-index: 2;
    }

.rels-th {
    font-family: "Barlow", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #8C8C8C;
    padding: 7px 8px;
    white-space: nowrap;
    text-align: center;
    background: #fff;
    box-shadow: inset 0 -1px 0 #EFEFEF;
}

.rels-th-player {
    text-align: left;
    padding-left: 12px;
    min-width: 160px;
}

.rels-th-stat {
    min-width: 36px;
}

.rels-th.sortable {
    cursor: pointer;
    user-select: none;
}

    .rels-th.sortable:hover {
        color: #242129;
    }

.rels-th.sort-asc::after {
    content: " ▲";
    font-size: 9px;
}

.rels-th.sort-desc::after {
    content: " ▼";
    font-size: 9px;
}

.rels-tr {
    border-bottom: 1px solid #EFEFEF;
    transition: background .1s;
}

    .rels-tr:hover {
        background: #FAFAFA;
    }

    .rels-tr:last-child {
        border-bottom: none;
    }

.rels-td {
    padding: 7px 8px;
    vertical-align: middle;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    color: #242129;
}

.rels-td-player {
    text-align: left;
    padding-left: 12px;
}

.rels-player-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rels-player-photo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.rels-team-logo {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid #EFEFEF;
}

.rels-player-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rels-player-name {
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    line-height: 14px;
    font-weight: 600;
    color: #242129;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

    .rels-player-name:hover {
        color: var(--primary-color, #D94646);
    }

.rels-player-country {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rels-flag {
    width: 12px;
    height: 12px;
    object-fit: cover;
    border-radius: 1px;
    flex-shrink: 0;
}

.rels-country-name {
    font-family: "Barlow", sans-serif;
    font-size: 10px;
    line-height: 12px;
    font-weight: 400;
    color: #959297;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.rels-table-scroll {
    overflow-y: auto;
    overflow-x: auto;
}

.rels-stat-highlight {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 17px;
    font-weight: 400;
    color: #242129;
}

.rels-loading-cell {
    text-align: center;
    padding: 32px;
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    color: #959297;
}

.player-transfer-table {
    border-collapse: collapse;
    table-layout: auto;
    width: 100%;
}

    .player-transfer-table thead tr {
        border-bottom: 2px solid #eee;
    }

    .player-transfer-table thead th {
        font-family: "Barlow", sans-serif;
        font-size: 12px;
        font-weight: 600;
        color: var(--offside-black);
        padding: 10px 12px;
        vertical-align: middle;
        text-align: left;
        white-space: normal;
        line-height: 1.3;
        background: var(--base-white);
    }

        .player-transfer-table thead th.text-center {
            text-align: center;
        }

    .player-transfer-table tbody tr {
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.12s ease;
    }

        .player-transfer-table tbody tr:hover {
            background-color: var(--base-gray, #f8f8f8);
        }

    .player-transfer-table tbody td {
        font-family: "Barlow", sans-serif;
        font-size: 13px;
        font-weight: 400;
        color: var(--offside-black);
        padding: 10px 12px;
        vertical-align: middle;
        text-align: left;
    }

        .player-transfer-table tbody td.text-center {
            text-align: center;
        }

    /* Team name links */
    .player-transfer-table .transfer-team-name {
        font-family: "Barlow", sans-serif;
        font-size: 13px;
        font-weight: 500;
        color: var(--offside-black);
        white-space: nowrap;
    }

    /* Date and Bonservis cells */
    .player-transfer-table .td-numeric {
        font-family: "Barlow", sans-serif;
        font-size: 13px;
        font-weight: 500;
        color: var(--offside-black);
        text-align: center;
    }

.summary-box {
    display: flex;
    align-items: flex-start;
    gap: 56px;
    padding-left: 25px;
    width: fit-content;
    font-family: Arial, sans-serif;
}

.summary-item {
    display: flex;
    flex-direction: column;
    min-width: 130px;
}

.summary-label {
    font-size: 12px;
    color: #4b4b4b;
    margin-bottom: 6px;
    line-height: 1.2;
}

.summary-value {
    font-size: 14px;
    font-weight: 700;
    color: #1f1f1f;
    line-height: 1;
}

.credit-value {
    display: flex;
    align-items: center;
    gap: 4px;
}

.credit-icon {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.supporter-table {
    table-layout: fixed !important;
    width: 100%;
    border-collapse: collapse;
}

    .supporter-table thead tr,
    .supporter-table tbody tr {
        border-bottom: 1px solid var(--secondary-line);
    }

.team-supp-table td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    vertical-align: middle;
}

.supporter-table th,
.supporter-table td {
    padding-top: 4px;
    padding-bottom: 4px;
    vertical-align: middle;
}

    .supporter-table th:first-child,
    .supporter-table td:first-child {
        padding-left: 20px;
    }

    .supporter-table th:last-child,
    .supporter-table td:last-child {
        padding-right: 20px;
        text-align: right;
    }

    .supporter-table th:nth-child(1), .supporter-table td:nth-child(1) {
        width: 10%;
    }

    .supporter-table th:nth-child(2), .supporter-table td:nth-child(2) {
        width: 45%;
    }

    .supporter-table th:nth-child(3), .supporter-table td:nth-child(3) {
        width: 20%;
    }

    .supporter-table th:nth-child(4), .supporter-table td:nth-child(4) {
        width: 25%;
    }

    .supporter-table td span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

@media (max-width: 550px) {
    .player-detail-header .header-tab.active::after {
        background-color: var(--primary-color, #D94646);
        bottom: -8px;
    }
}


/* ─── Modal box ─── */
.pmm-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    width: 860px;
    max-width: 96vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
/* ─── Header ─── */
.pmm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #EFEFEF;
    flex-shrink: 0;
    background: #fff;
}

.pmm-player {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pmm-photo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #EFEFEF;
}

.pmm-player-name {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #242129;
}

.pmm-team-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
}

.pmm-team-logo-sm {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

.pmm-team-name-hdr {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    color: #959297;
}

.pmm-nav-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pmm-nav-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #EFEFEF;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

    .pmm-nav-btn:hover {
        background: #F6F6F6;
    }

    .pmm-nav-btn:disabled {
        opacity: 0.35;
        cursor: default;
    }

.pmm-season-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border: 1px solid #EFEFEF;
    border-radius: 7px;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #242129;
}

.pmm-close-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    transition: background .15s;
}

    .pmm-close-btn:hover {
        background: #F6F6F6;
    }
/* ─── Competition label ─── */
.pmm-comp-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-bottom: 1px solid #EFEFEF;
    background: #F6F6F6;
    position: sticky;
    top: 0;
    z-index: 2;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #242129;
}

.pmm-comp-ico {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
/* ─── Table ─── */
.pmm-tbl {
    border-collapse: collapse;
}

.pmm-th {
    padding: 7px 10px;
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #959297;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1px solid #EFEFEF;
    background: #fff;
}

.pmm-th-date {
    text-align: left;
    width: 92px;
    padding-left: 16px;
}

.pmm-th-match {
    text-align: left;
    min-width: 240px;
}

.pmm-th-stat {
    min-width: 42px;
}

.pmm-round-row td {
    padding: 5px 16px;
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #959297;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #fafafa;
    border-bottom: 1px solid #EFEFEF;
}

.pmm-tr {
    border-bottom: 1px solid #EFEFEF;
}

    .pmm-tr:last-child {
        border-bottom: none;
    }

.pmm-td {
    padding: 9px 10px;
    vertical-align: middle;
}

.pmm-td-date {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    color: #959297;
    white-space: nowrap;
    padding-left: 16px;
    width: 92px;
}

.pmm-td-match {
    min-width: 240px;
    padding: 8px 10px;
}

.pmm-match-inner {
    display: flex;
    align-items: center;
}

.pmm-team-half {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 120px;
}

.pmm-home {
    justify-content: flex-end;
}

.pmm-away {
    justify-content: flex-start;
}

.pmm-tlogo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.pmm-tname {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #242129;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
    text-decoration: none;
}

a.pmm-tname:hover {
    color: #D94646;
}

.pmm-scr {
    min-width: 44px;
    text-align: center;
    flex-shrink: 0;
    padding: 0 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 17px;
    font-weight: 700;
    color: #242129;
    text-decoration: none;
}

a.pmm-scr:hover {
    color: #D94646;
}

.pmm-td-stat {
    text-align: center;
    min-width: 42px;
}

.pmm-num {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 17px;
    font-weight: 500;
    color: #242129;
}
/* ─── Spinner ─── */
.pmm-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #EFEFEF;
    border-top-color: #D94646;
    border-radius: 50%;
    animation: pmm-spin .7s linear infinite;
    margin: 0 auto;
}

@keyframes pmm-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Compare Modal ── */
.cmp-sticky-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 12px 1.5rem 10px;
    margin-bottom: 0 !important;
    box-shadow: 0 4px 8px -2px rgba(0,0,0,0.08);
}

.cmp-player-card {
    background: #F7F7F8;
    border-radius: 12px;
    padding: 12px;
    flex: 1 1 0;
    min-width: 0;
    width: 0;
}

.cmp-player-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}

.cmp-player-name {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    color: #1a1a1a;
}

.cmp-player-meta {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    color: #7F7E81;
}

.cmp-lightning {
    font-size: 22px;
    flex-shrink: 0;
    align-self: center;
    margin-top: -20px;
}

.cmp-add-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #D94646;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

    .cmp-add-btn:hover {
        background: #c03030;
    }

.cmp-clear-btn {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    padding: 0 2px;
    flex-shrink: 0;
}

    .cmp-clear-btn:hover {
        color: #D94646;
    }

.cmp-select {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    border: 1px solid #E5E2E2;
    border-radius: 6px;
    padding: 3px 5px;
    background: white;
    color: #333;
    min-width: 0;
}
/* Search */
.cmp-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F7F7F8;
    border-radius: 10px;
    padding: 8px 12px;
}

.cmp-search-input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
}

.cmp-search-icon {
    flex-shrink: 0;
}

.cmp-search-results {
    max-height: 220px;
    overflow-y: auto;
    margin-top: 6px;
}

.cmp-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s;
}

    .cmp-search-item:hover {
        background: #F1F5FF;
    }

    .cmp-search-item img {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
    }

.cmp-search-item-name {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.cmp-search-item-meta {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    color: #888;
}
/* Legend */
.cmp-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.cmp-legend-name {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    color: #555;
}
/* Stat rows */
.cmp-section-header {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 4px 6px;
    text-align: center;
    color: #1a1a1a;
    background: none;
    border-radius: 0;
    margin: 8px 0 4px;
}

.cmp-stat-row {
    display: flex;
    align-items: center;
    padding: 7px 4px;
    border-bottom: 1px solid #F0EFEF;
}

    .cmp-stat-row:last-child {
        border-bottom: none;
    }

.cmp-val {
    flex: 1;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
}

    .cmp-val.cmp-winner {
        font-weight: 400;
    }

    .cmp-val.cmp-loser {
        color: #1a1a1a;
        font-weight: 400;
    }

.cmp-badge {
    display: inline-block;
    background: #27AE60;
    color: white;
    border-radius: 6px;
    padding: 2px 8px;
    font-weight: 700;
    min-width: 32px;
    text-align: center;
}

.cmp-stat-label {
    flex: 1.4;
    text-align: center;
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    color: #7F7E81;
    padding: 0 4px;
}

body.modal-open {
    position: static !important;
    padding-right: 0 !important;
}