.Court {
    border: 2px solid transparent;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    display: inline-block;
    text-align: center; /* Center text horizontally */
}
.Court img {
    display: block;
    margin: 0 auto; /* Center image horizontally */
}
.selectedCourt {
    border-color: blue;
}
.hiddenCourt {
    border-color: green;
}

/* Court selection styles for league creation */
.court-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.court-card.selected {
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
}
.league-info-transparent {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    background-color: transparent;
    color: #fff;
}

.nameContainer {
    width: 108px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.nameContainerELO {
    width: 108px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px; /* Adjust the margin as needed */
}

/* Remove the flexbox properties for user-cart and user-text */
.user-cart, .user-text {
    display: block;
    flex-direction: initial;
    align-items: initial;
    justify-content: initial;
}

.user-text {
    font-size: 12px; /* Adjust the font size as needed */
    margin-bottom: 10px; /* Add margin to move it up */
}

/* Add the following CSS for the shopping cart icon */
.user-cart {
    font-size: 1.8em;
    margin-top: 15px; /* Adjust the margin as needed */
}

.user-cart-container {
    position: relative;
    display: inline-block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.user-cart-badge {
    display: inline-block;
    padding: .25em .4em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
    position: absolute;
    top: +23px;
    right: 0px;
    font-size: 35%; 
    transform: translate(50%, -50%);
}
.user-requests {
    font-size: 1.6em;
    margin-top: -5px; /* Adjust the margin as needed */
}
.user-requests-badge {
    display: inline-block;
    padding: .25em .4em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075);
    position: absolute;
    top: +13px;
    right: +30px;
    font-size: 65%; 
    transform: translate(50%, -50%);
}

@supports (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button-with-text {
        display: inline-block;
        -apple-pay-button-type: buy;
    }
    .apple-pay-button-with-text > * {
        display: none;
    }
    .apple-pay-button-black-with-text {
        -apple-pay-button-style: black;
    }
    .apple-pay-button-white-with-text {
        -apple-pay-button-style: white;
    }
    .apple-pay-button-white-with-line-with-text {
        -apple-pay-button-style: white-outline;
    }
}


@supports not (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button-with-text {
        display: inline-flex;
        justify-content: center;
        font-size: 12px;
        border-radius: 5px;
        padding: 0px;
        box-sizing: border-box;
        min-width: 200px;
        min-height: 32px;
        max-height: 64px;
    }
    .apple-pay-button-black-with-text {
        background-color: black;
        color: white;
    }
    .apple-pay-button-white-with-text {
        background-color: white;
        color: black;
    }
    .apple-pay-button-white-with-line-with-text {
        background-color: white;
        color: black;
        border: .5px solid black;
    }
    .apple-pay-button-with-text.apple-pay-button-black-with-text > .logo {
        background-image: url('/static/images/gallery/payment/apple-pay-logo-white.svg');
        background-color: black;
    }
    .apple-pay-button-with-text.apple-pay-button-white-with-text > .logo {
        /* background-image: -webkit-named-image(apple-pay-logo-black); */
        background-image: url('/static/images/gallery/payment/apple-pay-logo-black.svg');
        background-color: white;
    }
    .apple-pay-button-with-text.apple-pay-button-white-with-line-with-text > .logo {
        background-image: url('/static/images/gallery/payment/apple-pay-logo-black.svg');
        background-color: white;
    }
    .apple-pay-button-with-text > .text {
        font-family: -apple-system, BlinkMacSystemFont, sans-serif;
        font-size: calc(1em);
        font-weight: 600;
        align-self: center;
        margin-right: calc(2px );
    }
    .apple-pay-button-with-text > .logo {
        width: calc(35px);
        /* height: 100%; */
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: 0 50%;
        margin-left: calc(2px );
        border: none;
    }
}

@supports not (-webkit-appearance: -google-pay-button) {
    .google-pay-button-with-text {
        display: inline-flex;
        justify-content: center;
        font-size: 12px;
        border-radius: 5px;
        padding: 0px;
        box-sizing: border-box;
        min-width: 200px;
        min-height: 32px;
        max-height: 64px;
    }
    .google-pay-button-black-with-text {
        background-color: black;
        color: white;
    }
    .google-pay-button-white-with-text {
        background-color: white;
        color: black;
    }
    .google-pay-button-white-with-line-with-text {
        background-color: white;
        color: black;
        border: .5px solid black;
    }
    .google-pay-button-with-text.google-pay-button-black-with-text > .logo {
        background-image: url('/static/images/gallery/payment/googlePay.png');
        background-color: black;
    }
    .google-pay-button-with-text.google-pay-button-white-with-text > .logo {
        /* background-image: -webkit-named-image(google-pay-logo-black); */
        background-image: url('/static/images/gallery/payment/googlePay.png');
        background-color: white;
    }
    .google-pay-button-with-text.google-pay-button-white-with-line-with-text > .logo {
        background-image: url('/static/images/gallery/payment/googlePay.png');
        background-color: white;
    }
    .google-pay-button-with-text > .text {
        font-family: -apple-system, BlinkMacSystemFont, sans-serif;
        font-size: calc(1em);
        font-weight: 600;
        align-self: center;
        margin-right: calc(2px );
    }
    .google-pay-button-with-text > .logo {
        width: calc(35px);
        background-size: 100% 65%;
        background-repeat: no-repeat;
        background-position: 0 50%;
        margin-left: calc(2px );
        border: none;
    }
}

/* Game card styles */
.game-card {
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.game-card .card-header {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-content {
    padding: 15px;
}

.team-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.team-players {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.player-photos {
    display: flex;
    margin-right: 15px;
}

.player-photos img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: -10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.player-names {
    flex-grow: 1;
}

.score-input {
    width: 60px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 4px;
    padding: 5px;
}

.score-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.game-time {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.score {
    font-size: 1.2em;
    font-weight: bold;
    width: 60px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 4px;
    padding: 5px;
}

/* Player photo styles */
.player-col .player-info,
.player-photos {
    display: flex;
    align-items: center;
}

.player-photos img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: -10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.player-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Clickable table rows */
tr[onclick] {
    cursor: pointer;
}

/* Winner info styles */
.winner-info {
    display: inline-flex;
    align-items: center;
}

.winner-info .player-photos {
    display: inline-block;
}

.winner-info .player-photos img {
    margin-right: -10px;
}

.winner-names {
    margin-left: 10px;
}

/* League detail page and mobile classification styles */
@media (max-width: 767.98px) {
    .mobile-classification {
        font-size: 0.9rem;
    }
    .player-card {
        padding: 8px 4px;
    }
    .stats-container {
        min-width: 90px;
        flex-shrink: 0;
    }
    .stats-container .mx-2 {
        min-width: 35px;
    }
    .player-info {
        flex: 1;
        min-width: 0; /* This is crucial for text-truncate to work */
        margin-right: 8px;
    }
    .player-info img {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }
    .player-info span {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        min-width: 0;
    }
}

.desktop-classification {
    border: none;
}
.desktop-classification thead th {
    border: none;
    color: #6c757d;
    font-weight: 500;
}

/* Gameday cards */
.gameday-card {
    background-color: rgba(255, 255, 255, 0.05);
    transition: transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.gameday-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gameday-card .winners-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.gameday-card .rounded-circle {
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Winner rows in gameday cards */
.winner-row {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
    border-radius: 4px;
}

.winner-row:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Adjust spacing for small screens */
@media (max-width: 389px) {
    .gameday-card {
        margin: 0 -0.75rem;
        border-radius: 0;
        border-left: none !important;
        border-right: none !important;
    }
    
    .gameday-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Desktop gamedays table */
.table.table-hover {
    margin-bottom: 0;
}

.table.table-hover th,
.table.table-hover td {
    padding: 1rem;
}

/* Column width optimization */
.table.table-hover th:nth-child(1),
.table.table-hover td:nth-child(1) {
    width: 30%;
}

.table.table-hover th:nth-child(2),
.table.table-hover td:nth-child(2) {
    width: 20%;
}

.table.table-hover th:nth-child(3),
.table.table-hover td:nth-child(3) {
    width: 15%;
}

.table.table-hover th:nth-child(4),
.table.table-hover td:nth-child(4) {
    width: 35%;
}

/* Winner info in desktop table */
.table.table-hover .winner-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table.table-hover .player-photos {
    flex-shrink: 0;
}

.table.table-hover .winner-names {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────
   Palette-matched Buttons & Badges
   Palette: #0A7075 (mid) | #0C969C (accent) | #274D60 (deep) | #6BA3BE (blue)
   ───────────────────────────────────────────────────────── */

/* Buttons */
.btn-success {
    color: #fff;
    background-color: #0A7075;
    border-color: #0A7075;
}
.btn-success:hover {
    color: #fff;
    background-color: #0C969C;
    border-color: #0C969C;
    box-shadow: 0 4px 12px rgba(12, 150, 156, 0.4);
}
.btn-success:focus, .btn-success.focus {
    box-shadow: none;
}

.btn-info {
    color: #6BA3BE;
    background-color: rgba(107, 163, 190, 0.15);
    border: 1px solid rgba(107, 163, 190, 0.38);
    box-shadow: none;
}
.btn-info:hover {
    color: #fff;
    background-color: rgba(107, 163, 190, 0.40);
    border-color: rgba(107, 163, 190, 0.65);
    box-shadow: 0 4px 12px rgba(107, 163, 190, 0.3);
}
.btn-info:focus, .btn-info.focus {
    box-shadow: none;
}

.btn-warning {
    color: #f0b754;
    background-color: rgba(180, 110, 10, 0.18);
    border: 1px solid rgba(180, 110, 10, 0.40);
    box-shadow: none;
}
.btn-warning:hover {
    color: #fff;
    background-color: rgba(180, 110, 10, 0.55);
    border-color: rgba(180, 110, 10, 0.7);
    box-shadow: 0 4px 12px rgba(180, 110, 10, 0.3);
}
.btn-warning:focus, .btn-warning.focus {
    box-shadow: none;
}

.btn-outline-success {
    color: #0C969C;
    background-color: transparent;
    border-color: #0C969C;
}
.btn-outline-success:hover {
    color: #fff;
    background-color: #0A7075;
    border-color: #0A7075;
}
.btn-outline-success:focus, .btn-outline-success.focus {
    box-shadow: none;
}

.btn-outline-info {
    color: #6BA3BE;
    background-color: transparent;
    border-color: #6BA3BE;
}
.btn-outline-info:hover {
    color: #fff;
    background-color: #6BA3BE;
    border-color: #6BA3BE;
}

/* Badges — tinted glass style */
.badge {
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-primary {
    color: #0C969C;
    background-color: rgba(12, 150, 156, 0.18);
    border: 1px solid rgba(12, 150, 156, 0.38);
    box-shadow: none;
}

.badge-secondary {
    color: #6BA3BE;
    background-color: rgba(39, 77, 96, 0.35);
    border: 1px solid rgba(107, 163, 190, 0.3);
    box-shadow: none;
}

.badge-success {
    color: #5dd4cf;
    background-color: rgba(10, 112, 117, 0.22);
    border: 1px solid rgba(10, 112, 117, 0.42);
    box-shadow: none;
}

.badge-info {
    color: #6BA3BE;
    background-color: rgba(107, 163, 190, 0.15);
    border: 1px solid rgba(107, 163, 190, 0.3);
    box-shadow: none;
}

.badge-warning {
    color: #f0b754;
    background-color: rgba(180, 110, 10, 0.18);
    border: 1px solid rgba(180, 110, 10, 0.35);
    box-shadow: none;
}

.badge-danger {
    color: #ff7b6b;
    background-color: rgba(160, 48, 40, 0.18);
    border: 1px solid rgba(160, 48, 40, 0.35);
    box-shadow: none;
}

.badge-light {
    color: #b0dde6;
    background-color: rgba(12, 150, 156, 0.12);
    border: 1px solid rgba(12, 150, 156, 0.25);
    box-shadow: none;
}

.badge-dark {
    color: #a8cdd8;
    background-color: rgba(39, 77, 96, 0.5);
    border: 1px solid rgba(39, 77, 96, 0.7);
    box-shadow: none;
}

/* ===================================================
   EVENT DETAIL – HERO HEADER BANNER
   =================================================== */
.event-hero {
    background: linear-gradient(160deg, #1a3a6e 0%, #2756b5 55%, #3c4fd6 100%);
    border-radius: 12px;
    padding: 28px 32px 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.event-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.event-hero h1, .event-hero h2, .event-hero h3, .event-hero h4, .event-hero h5 {
    color: #fff !important;
}
.event-hero-meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6) !important;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}
.event-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 14px 0;
    line-height: 1.15;
}
.event-hero-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}
.event-hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.event-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.82rem;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}
.event-hero-chip i { opacity: 0.75; font-size: 0.75rem; color: rgba(255,255,255,0.75) !important; }
.event-hero-chip.chip-status {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.45);
    font-weight: 600;
}
.event-hero-chip.chip-status.status-ended {
    background: rgba(80,80,80,0.5);
    border-color: rgba(150,150,150,0.5);
}
.event-hero-chip.chip-status.status-open {
    background: rgba(12,150,156,0.4);
    border-color: rgba(12,150,156,0.8);
}
.event-hero-chip.chip-status.status-progress {
    background: rgba(107,163,190,0.35);
    border-color: rgba(107,163,190,0.7);
}
.event-hero-admin {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* ===================================================
   EVENT DETAIL – FINAL STANDINGS
   =================================================== */
.standings-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #fff;
}
.standings-card {
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 5px solid #c8f000;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    box-shadow: 0 4px 24px rgba(45,79,224,0.22), 0 1px 8px rgba(45,79,224,0.12);
}
/* Standings column header row */
.standings-header {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    gap: 12px;
}
.standings-header-rank {
    width: 32px;
    flex-shrink: 0;
}
.standings-header-player {
    flex: 1;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.4);
}
.standings-header-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.standings-header-col {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.4);
    text-align: center;
}
.standings-header-col.col-gf  { min-width: 36px; }
.standings-header-col.col-ga  { min-width: 36px; }
.standings-header-col.col-gd  { min-width: 44px; text-align: right; }
.standings-header-col.col-pts { min-width: 52px; text-align: right; }
.standings-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.10);
    transition: background-color 0.15s;
    min-height: 60px;
    gap: 12px;
}
.standings-row:nth-child(even) { background: rgba(0,0,0,0.03); }
.standings-row:last-child { border-bottom: none; }
.standings-row:hover { background-color: rgba(45,79,224,0.06); cursor: pointer; }

/* rank column */
.standings-rank {
    width: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.srank-trophy { color: rgba(210,210,210,0.65); font-size: 1.15rem; }
.srank-num {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
}

/* player block */
.standings-middle {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}
.standings-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    width: 220px;
    overflow: hidden;
}
.standings-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.12);
}
.standings-name-block { min-width: 0; }
.standings-player-name {
    font-size: 0.95rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    display: block;
}
.standings-wl {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin-top: 1px;
}
.tv-wl-col { display: none; }

/* standings mini bars */
.standings-bars {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.sbar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sbar-label {
    font-size: 0.60rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.28);
    width: 20px;
    flex-shrink: 0;
    text-align: right;
}
.sbar-track {
    flex: 1;
    height: 10px;
    background: rgba(255,255,255,0.07);
    border-radius: 5px;
    overflow: hidden;
}
.sbar-fill {
    height: 100%;
    border-radius: 5px;
    min-width: 2px;
    transition: width 0.5s cubic-bezier(.4,0,.2,1);
}
.sbar-pts    { background: #6b9fff; }
.sbar-gd-pos { background: #4caf50; }
.sbar-gd-neg { background: #f44336; }
.sbar-gd-zero { background: rgba(255,255,255,0.15); }

/* GD track: tick mark at 25% marks the zero point */
.sbar-track-gd {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.07) calc(25% - 1px),
        rgba(255,255,255,0.40) calc(25% - 1px),
        rgba(255,255,255,0.40) calc(25% + 1px),
        rgba(255,255,255,0.07) calc(25% + 1px)
    );
}

/* stats block on right */
.standings-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.standings-pts-block {
    text-align: right;
    min-width: 52px;
}
.standings-pts-num {
    font-size: 1.55rem;
    font-weight: 800;
    color: #6b9fff;
    line-height: 1;
}
.standings-pts-label {
    font-size: 0.68rem;
    color: rgba(107,159,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.standings-gd-block {
    text-align: right;
    min-width: 44px;
}
.standings-gd-num {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
}
.standings-gd-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* extra cols visible on wider screens */
.standings-extra-col {
    text-align: center;
    min-width: 36px;
    font-size: 0.82rem;
    line-height: 1;
}
.standings-extra-col .col-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    font-weight: 600;
    margin-top: 2px;
}
.standings-extra-col.col-gf-val .col-label { color: rgba(76,175,80,0.75); }
.standings-extra-col.col-ga-val .col-label { color: rgba(244,67,54,0.75); }

/* ===================================================
   EVENT DETAIL – GAMES SECTION
   =================================================== */
.games-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

/* Round pill header + extending line */
.round-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    margin-top: 28px;
}
.round-row:first-child { margin-top: 0; }
.round-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 16px;
    border-radius: 20px;
    background: #3c6fdb;
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.round-time-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}
.round-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}
.round-clear-btn { flex-shrink: 0; }

/* Round wrapper (encompasses pill header + game cards grid) */
.round-wrapper {
    border-left: 4px solid #c8f000;
    border-radius: 10px;
    padding: 18px 18px 4px 18px;
    margin-bottom: 28px;
    background: rgba(255,255,255,0.025);
    box-shadow: 0 4px 24px rgba(45,79,224,0.22), 0 1px 8px rgba(45,79,224,0.12);
}
.round-wrapper .round-row {
    margin-top: 0;
}

/* Game card */
.game-card-v2 {
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 5px solid #c8f000;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(45,79,224,0.35), 0 1px 6px rgba(45,79,224,0.20);
    transition: box-shadow 0.18s, transform 0.18s;
}
.game-card-v2:hover {
    box-shadow: 0 6px 24px rgba(45,79,224,0.50), 0 2px 8px rgba(45,79,224,0.30);
    transform: translateY(-1px);
}
.game-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px 7px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.game-court-name {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
.game-time-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}
.game-body { padding: 0 14px; }
.game-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 8px;
}
.game-team-row + .game-team-row {
    border-top: 1px solid rgba(255,255,255,0.07);
}
.game-team-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.game-avatars {
    display: flex;
    flex-shrink: 0;
}
.game-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
}
.game-avatar:not(:first-child) { margin-left: -7px; }
.game-team-name {
    font-size: 0.86rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.game-score {
    font-size: 1.7rem;
    font-weight: 800;
    min-width: 36px;
    text-align: right;
    flex-shrink: 0;
    line-height: 1;
    color: rgba(255,255,255,0.25);
}
.game-score.score-win  { color: #4caf50; }
.game-score.score-loss { color: #f44336; }
.score-input-v2 {
    width: 52px;
    height: 40px;
    text-align: center;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: 700;
    flex-shrink: 0;
    padding: 0;
}
.score-input-v2:focus {
    background-color: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.45);
    outline: none;
    box-shadow: none;
}

