/* Import Roboto Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Apply Roboto font to all elements */
.wam-vsc-calendar,
.wam-vsc-calendar *,
.wam-vsc-standings,
.wam-vsc-standings *,
.wam-vsc-games-list,
.wam-vsc-games-list * {
    font-family: 'Roboto', sans-serif;
}

/* VSC Games Calendar Styles */

.wam-vsc-calendar>.calendar-header {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: #ffff00 !important;
    padding: 20px !important;
}

/* buttons positioned left and right */
.wam-vsc-calendar>.calendar-header .prev-month {
    position: absolute !important;
    left: 12px !important;
    top: 50%;
    transform: translateY(-50%);
}

.wam-vsc-calendar>.calendar-header .next-month {
    position: absolute !important;
    right: 12px !important;
    top: 50%;
    transform: translateY(-50%);
}

/* title stays centered */
.wam-vsc-calendar>.calendar-header .current-month {
    font-size: 24px !important;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin: 0;
}

.calendar-header button {
    background: transparent;
    color: #000;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    min-width: 40px;
    transition: all 0.2s;
}

.calendar-header button:hover {
    background: rgba(0, 0, 0, 0.1);
}

.calendar-header .current-month {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #000;
}

.calendar-body {
    min-height: 300px;
    background: #000;
    padding: 20px;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #333;
    border: 1px solid #333;
    margin-bottom: 20px;
}

.calendar-header-row {
    display: contents;
}

.calendar-day-header {
    background: #ffff00;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: #000;
    text-transform: uppercase;
}

.calendar-day {
    background: #000;
    min-height: 100px;
    padding: 8px;
    position: relative;
    cursor: default;
    color: #fff;
}

.calendar-day.empty {
    background: #111;
}

.calendar-day.today {
    background: #222;
}

.calendar-day.today .day-number {
    background: #ffff00;
    color: #000;
}

.calendar-day.has-games {
    cursor: pointer;
}

.calendar-day.has-games:hover {
    background: #111;
}

.day-number {
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    margin-bottom: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.day-games {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.day-game {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 4px;
    background: #333;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
}

.day-game:hover {
    background: #555;
    transform: scale(1.02);
}

.day-game.live {
    background: #333;
    border-left: 3px solid #ffff00;
}

.day-game.finished {
    opacity: 0.8;
}

.day-game.upcoming {
    border-left: 3px solid #ffff00;
}

.day-game img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.game-time-mini {
    font-size: 10px;
    color: #fff;
    font-weight: 600;
}

.game-score-mini {
    font-size: 10px;
    font-weight: bold;
    color: #ffff00;
    margin-left: auto;
}

/* Game Details Section */
.game-details-section {
    display: none;
    margin-top: 20px;
    background: #000;
    padding: 20px;
}

.game-detail-card {
    background: #111;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    color: #fff;
}

.prev-month {
    display: flex;
    align-items: center;
    /* Vertically center */
    justify-content: center;
    /* Horizontally center */
}

.next-month {
    display: flex;
    align-items: center;
    /* Vertically center */
    justify-content: center;
    /* Horizontally center */
}

.game-detail-card.live {
    border-color: #ffff00;
}

.game-detail-card.upcoming {
    border-color: #ffff00;
}

.close-details {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #333;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    align-items: center;
    /* Vertically center */
    justify-content: center;
    /* Horizontally center */
}

.close-details:hover {
    background: #ffff00;
    color: #000;
}

.detail-header {
    text-align: center;
    margin-bottom: 24px;
}

.detail-competition {
    font-size: 16px;
    font-weight: bold;
    color: #ffff00;
    margin-bottom: 8px;
}

.detail-date {
    font-size: 14px;
    color: #fff;
    text-transform: capitalize;
}

.detail-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.detail-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.detail-team img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.detail-team .team-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.detail-team.vsc-team .team-name {
    color: #ffff00;
    font-weight: bold;
}

.detail-score {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: bold;
    min-width: 120px;
    justify-content: center;
    color: #fff;
}

.detail-score.live {
    color: #ffff00;
    flex-direction: column;
    gap: 8px;
}

.detail-time {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.detail-status {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.detail-status .status {
    font-size: 14px;
    padding: 6px 12px;
}

.detail-status .phase {
    font-size: 13px;
}

.loading,
.error,
.no-games {
    text-align: center;
    padding: 40px;
    color: #fff;
    font-size: 16px;
}

.error {
    color: #ffff00;
}

/* Date Groups */
.date-group {
    margin-bottom: 30px;
}

.date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #ffff00;
    border-radius: 5px;
    margin-bottom: 15px;
}

.date-header .day-name {
    font-weight: bold;
    color: #000;
}

.date-header .date {
    color: #000;
    font-size: 14px;
}

/* Game Items */
.game-item {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s;
    cursor: pointer;
    color: #fff;
}

.game-item:hover {
    box-shadow: 0 4px 12px rgba(255, 255, 0, 0.2);
    transform: translateY(-2px);
    background: #222;
}

.game-item.live {
    border-left: 4px solid #ffff00;
    animation: pulse 2s infinite;
}

.game-item.finished {
    opacity: 0.9;
}

.game-item.upcoming {
    border-left: 4px solid #ffff00;
}

@keyframes pulse {

    0%,
    100% {
        border-left-color: #ffff00;
    }

    50% {
        border-left-color: #ffff88;
    }
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.game-time {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.game-competition {
    font-size: 12px;
    color: #000;
    background: #ffff00;
    padding: 3px 8px;
    border-radius: 3px;
}

.game-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.team.away {
    flex-direction: row-reverse;
    text-align: right;
}

.team img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.team-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.team.vsc-team .team-name {
    color: #ffff00;
    font-weight: bold;
}

/* Score Display */
.score {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    min-width: 80px;
    justify-content: center;
    color: #fff;
}

.score.live {
    color: #ffff00;
}

.score-home,
.score-away {
    min-width: 25px;
    text-align: center;
}

.score .winner {
    color: #ffff00;
}

.score-separator {
    color: #fff;
    font-size: 16px;
}

.live-indicator {
    background: #ffff00;
    color: #000;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.game-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #333;
}

.status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
}

.status.upcoming {
    background: #ffff00;
    color: #000;
}

.status.live {
    background: #ffff00;
    color: #000;
}

.status.finished {
    background: #333;
    color: #fff;
}

.status.postponed,
.status.cancelled {
    background: #333;
    color: #fff;
}

.phase {
    font-size: 11px;
    color: #fff;
}

/* Standings Table */
.wam-vsc-standings {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.standings-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px 20px 0;
    border-bottom: none;
}

.filter-btn {
    background: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    text-align: center;
    font-weight: 400;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-btn:hover {
    background: #333;
    color: #fff;
}

.filter-btn.active {
    background: #fff;
    color: #000 !important;
    font-weight: 500;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    background: #000;
}

.standings-table thead {
    background: #ffff00;
    vertical-align: middle;
}

.standings-table thead tr th:first-child {
    text-align: center;
    vertical-align: middle;
}

.standings-table th {
    padding: 15px 8px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    text-transform: none;
    color: #000;
    background: #ffff00;
    border: none;
}

/* Special header for standings table title */
.wam-vsc-standings::before {
    content: "Tabela de Classificação";
    display: block;
    background: #ffff00;
    color: #000;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    margin: 0;
}

/* Special header for upcoming games */
.wam-vsc-games-list .games-list-header h3::after {
    font-size: 18px;
}

.standings-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #333;
    font-size: 14px;
    color: #fff;
    text-align: center;
    background: #000;
}

.standings-table td:nth-child(2) {
    text-align: left;
}

.standings-table tbody tr:hover {
    background: #111;
}

/* Highlight row — yellow background, black bold text */
.standings-table tbody tr.highlight {
    background: #ffff00 !important;
    font-weight: bold;
    transition: background 0.3s ease;
}

/* Ensure all text inside the highlighted row turns black */
.standings-table tbody tr.highlight td {
    color: #000 !important;
    background: #ffff00 !important;
    /* make sure each cell matches row color */
}

.standings-table td:first-child,
.standings-table td:last-child {
    font-weight: bold;
    color: #fff;
}

.standings-table img {
    vertical-align: middle;
    margin-right: 8px;
}


/* Games List Shortcode */
.wam-vsc-games-list {
    max-width: 1200px !important;
    margin: 20px auto !important;
    padding: 0 !important;
    background: #000 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Scoped version for the Games List */
.wam-vsc-games-list>.games-list-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    background: #ff0 !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
    gap: 10px !important;
}

/* Title */
.wam-vsc-games-list>.games-list-header h3 {
    flex: 0 0 auto !important;
    font-size: 20px !important;
    font-weight: bold !important;
    color: #000 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    display: block !important;
}

/* Filters container */
.wam-vsc-games-list>.games-list-header .list-filters {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wam-vsc-games-list>.games-list-header .list-filters::-webkit-scrollbar {
    display: none !important;
}

/* Buttons */
.wam-vsc-games-list>.games-list-header .filter-btn {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    transition: background 0.3s ease !important;
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.wam-vsc-games-list>.games-list-header .filter-btn.active {
    background: #333 !important;
}

.list-filters {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.day-game {
    display: flex;
    align-items: center;
    gap: 4px;
}

.day-game img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.game-icon {
    width: 14px;
    height: 14px;
    color: #555;
    opacity: 0.8;
}

.home-icon {
    color: #ffff00;
}

.away-icon {
    color: #ffff00;
}

.game-time-mini,
.game-score-mini {
    font-size: 12px;
}


.list-filters .filter-btn {
    background: #000;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    transition: all 0.2s;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.list-filters .filter-btn:hover {
    background: #333;
    color: #fff;
}

.list-filters .filter-btn.active {
    background: #fff;
    color: #000;
    font-weight: 500;
}

.games-list-body {
    min-height: 200px;
    background: #000;
    padding: 20px;
}

.games-results-list {
    margin-top: 20px;
}

.list-game-item {
    cursor: pointer;
    margin-bottom: 15px;
}

.game-date-label {
    font-size: 14px;
    font-weight: bold;
    color: #ffff00;
    text-transform: capitalize;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #333;
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
    padding: 20px;
    border-top: 2px solid #333;
    background: #000;
}

.pagination-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    min-width: 35px;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    align-items: center;
    /* Vertically center */
    justify-content: center;
    /* Horizontally center */
}

.pagination-btn:hover:not(:disabled) {
    background: #333;
    color: #fff;
}

.pagination-btn.active {
    background: #fff;
    color: #000;
    font-weight: 500;
}

.pagination-btn:disabled {
    background: transparent;
    color: #666;
    cursor: not-allowed;
}

.pagination-info {
    display: none;
}

.wam-vsc-games-list .games-list-header .list-filters {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    scrollbar-width: none !important;
}

.wam-vsc-games-list .games-list-header .list-filters .filter-btn {
    flex: 0 0 auto !important;
    min-width: 70px !important;
    font-size: 11px !important;
    padding: 8px 6px !important;
    white-space: nowrap !important;
}


/* Tablet Design (601px - 1024px) */
@media (max-width: 1024px) and (min-width: 601px) {

    .wam-vsc-calendar,
    .wam-vsc-standings,
    .wam-vsc-games-list {
        margin: 15px;
    }

    /* Hide text in calendar game items on tablet */
    .day-game.finished .game-time-mini {
        display: none;
    }

    /* Games List - Tablet */

    .list-filters {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        /* prevent stacking */
        gap: 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .list-filters .filter-btn {
        flex: 0 0 auto !important;
        /* prevent stretching & wrapping */
        min-width: 70px !important;
        font-size: 11px !important;
        padding: 8px 6px !important;
        white-space: nowrap !important;
    }

    .games-list-body {
        padding: 16px;
    }

    .game-item {
        padding: 14px;
    }

    .game-date-label {
        font-size: 13px;
    }

    .team img {
        width: 36px;
        height: 36px;
    }

    .team-name {
        font-size: 15px;
    }

    .score {
        font-size: 22px;
    }

    /* Standings Table - Tablet */
    .wam-vsc-standings::before {
        font-size: 20px;
        padding: 16px;
    }

    .standings-filters {
        padding: 12px 16px 0;
    }

    .filter-btn {
        font-size: 13px;
        padding: 8px 14px;
    }

    .standings-table th {
        padding: 12px 6px;
        font-size: 13px;
    }

    .standings-table td {
        padding: 10px 6px;
        font-size: 13px;
    }

    .standings-table img {
        width: 22px;
        height: 22px;
        margin-right: 6px;
    }

    /* Pagination - Tablet */
    .pagination-controls {
        padding: 16px;
    }

    .pagination-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .wam-vsc-games-list .games-list-header .list-filters {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        scrollbar-width: none !important;
    }

    .wam-vsc-games-list .games-list-header .list-filters .filter-btn {
        flex: 0 0 auto !important;
        min-width: 70px !important;
        font-size: 11px !important;
        padding: 8px 6px !important;
        white-space: nowrap !important;
    }
}

/* Mobile Design (max-width: 600px) */
@media (max-width: 600px) {

    .wam-vsc-calendar,
    .wam-vsc-standings,
    .wam-vsc-games-list {
        margin: 10px;
        border-radius: 6px;
    }

    /* Calendar Mobile */

    .calendar-body {
        padding: 10px;
    }

    .calendar-grid {
        gap: 2px;
    }

    .calendar-day-header {
        padding: 6px 2px;
        font-size: 10px;
    }

    .calendar-day {
        min-height: 70px;
        padding: 3px;
    }

    .day-number {
        font-size: 11px;
        width: 18px;
        height: 18px;
        margin-bottom: 4px;
    }

    .day-games {
        gap: 2px;
    }

    .day-game {
        padding: 2px;
        gap: 2px;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: row;
    }

    .day-game img {
        width: 14px;
        height: 14px;
    }

    /* Hide text in calendar game items on mobile */
    .game-time-mini,
    .game-score-mini {
        display: none;
    }

    .game-detail-card {
        padding: 16px;
    }

    .close-details {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 20px;
    }

    .detail-competition {
        font-size: 14px;
    }

    .detail-date {
        font-size: 12px;
    }

    .detail-teams {
        flex-direction: column;
        gap: 12px;
    }

    .detail-team img {
        width: 48px;
        height: 48px;
    }

    .detail-team .team-name {
        font-size: 14px;
    }

    .detail-score {
        font-size: 24px;
        width: 100%;
    }

    .detail-time {
        font-size: 20px;
    }

    /* Games List - Mobile - FORCE HORIZONTAL */

    .wam-vsc-games-list>.games-list-header {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .wam-vsc-games-list>.games-list-header h3 {
        flex: 0 0 auto !important;
        display: block !important;
        width: auto !important;
        margin: 0 !important;
    }

    .list-filters {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .list-filters .filter-btn {
        flex: 0 0 auto !important;
        min-width: 50px !important;
        max-width: 80px !important;
        font-size: 9px !important;
        padding: 6px 4px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        clear: none !important;
        border-radius: 4px !important;
    }

    .wam-vsc-games-list .games-list-header .list-filters {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        scrollbar-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .wam-vsc-games-list .games-list-header .list-filters .filter-btn {
        flex: 0 0 auto !important;
        min-width: 50px !important;
        max-width: 80px !important;
        font-size: 9px !important;
        padding: 6px 4px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        clear: none !important;
        border-radius: 4px !important;
    }

    .wam-vsc-games-list>.games-list-header .list-filters button {
        display: inline-flex !important;
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        clear: none !important;
        min-width: 50px !important;
        max-width: 80px !important;
        font-size: 9px !important;
        padding: 6px 4px !important;
    }

    .wam-vsc-games-list>.games-list-header {
        padding: 12px 10px !important;
        gap: 6px !important;
    }

    .wam-vsc-games-list>.games-list-header h3 {
        font-size: 14px !important;
        margin-right: 6px !important;
    }

    .wam-vsc-games-list>.games-list-header .list-filters {
        gap: 4px !important;
    }

    .games-list-body {
        padding: 12px;
    }

    .game-date-label {
        font-size: 12px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .game-item {
        padding: 12px;
        margin-bottom: 12px;
    }

    .game-header {
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .game-time {
        font-size: 13px;
        font-weight: 600;
    }

    .game-competition {
        font-size: 11px;
        padding: 3px 8px;
    }

    .game-teams {
        gap: 12px;
    }

    .team {
        gap: 10px;
        justify-content: center;
    }

    .team img {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    /* Hide team names on mobile - show only logos */
    .team-name {
        display: none;
    }

    .score {
        font-size: 22px;
        min-width: 100px;
        padding: 8px 0;
    }

    .live-indicator {
        font-size: 11px;
        padding: 3px 8px;
    }

    .game-details {
        margin-top: 12px;
        padding-top: 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .status {
        font-size: 11px;
        padding: 4px 10px;
    }

    .phase {
        font-size: 10px;
    }

    /* Standings Table - Mobile */
    .wam-vsc-standings::before {
        font-size: 16px;
        padding: 12px;
    }

    .standings-filters {
        padding: 12px;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .standings-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
        font-size: 11px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .standings-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .standings-table thead,
    .standings-table tbody {
        display: table;
        width: 100%;
    }

    .standings-table tr {
        display: table-row;
    }

    .standings-table th,
    .standings-table td {
        display: table-cell;
        padding: 10px 4px;
        white-space: nowrap;
    }

    .standings-table th {
        font-size: 10px;
        padding: 12px 4px;
    }

    .standings-table td {
        font-size: 12px;
    }

    /* Column widths for mobile */
    .standings-table th:nth-child(1),
    .standings-table td:nth-child(1) {
        width: 35px;
        text-align: center;
    }

    .standings-table th:nth-child(2),
    .standings-table td:nth-child(2) {
        width: 50px;
        min-width: 50px;
        text-align: center !important;
        padding-left: 4px;
        padding-right: 4px;
    }

    .standings-table th:nth-child(3),
    .standings-table td:nth-child(3),
    .standings-table th:nth-child(4),
    .standings-table td:nth-child(4),
    .standings-table th:nth-child(5),
    .standings-table td:nth-child(5),
    .standings-table th:nth-child(6),
    .standings-table td:nth-child(6),
    .standings-table th:nth-child(7),
    .standings-table td:nth-child(7),
    .standings-table th:nth-child(8),
    .standings-table td:nth-child(8),
    .standings-table th:nth-child(9),
    .standings-table td:nth-child(9),
    .standings-table th:nth-child(10),
    .standings-table td:nth-child(10) {
        width: 40px;
        text-align: center;
    }

    .standings-table img {
        width: 24px;
        height: 24px;
        margin: 0 auto;
        display: block;
    }

    /* Hide team names on mobile - show only logos */
    .standings-table td:nth-child(2) {
        font-size: 0;
        line-height: 0;
    }

    /* Highlight row on mobile */
    .standings-table tbody tr.highlight td {
        font-weight: 600;
    }

    /* Pagination - Mobile */
    .pagination-controls {
        padding: 12px;
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-btn {
        padding: 8px 10px;
        font-size: 13px;
        min-width: 36px;
    }

    .pagination-info {
        width: 100%;
        text-align: center;
        font-size: 12px;
        color: #fff;
        margin-top: 8px;
    }
}

/* Override ALL responsive rules from the theme */
@media (max-width: 1024px),
(max-width: 768px),
(max-width: 480px) {
    .wam-vsc-games-list>.games-list-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .wam-vsc-games-list>.games-list-header h3 {
        font-size: 16px !important;
        display: block !important;
    }

    .wam-vsc-games-list>.games-list-header .list-filters {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

    .wam-vsc-games-list>.games-list-header .filter-btn {
        display: inline-flex !important;
        float: none !important;
        width: auto !important;
    }
}

/* NUCLEAR OPTION - Force horizontal buttons on ALL screen sizes */
.wam-vsc-games-list .list-filters,
.wam-vsc-games-list .games-list-header .list-filters,
.wam-vsc-games-list>.games-list-header .list-filters {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.wam-vsc-games-list .list-filters button,
.wam-vsc-games-list .list-filters .filter-btn,
.wam-vsc-games-list .games-list-header .list-filters button,
.wam-vsc-games-list .games-list-header .list-filters .filter-btn,
.wam-vsc-games-list>.games-list-header .list-filters button,
.wam-vsc-games-list>.games-list-header .list-filters .filter-btn {
    display: inline-flex !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

/* Extra small mobile screens - make buttons even smaller */
@media (max-width: 400px) {

    .wam-vsc-games-list>.games-list-header .list-filters .filter-btn,
    .wam-vsc-games-list .list-filters .filter-btn {
        min-width: 45px !important;
        max-width: 70px !important;
        font-size: 8px !important;
        padding: 5px 3px !important;
    }

    .wam-vsc-games-list>.games-list-header {
        padding: 10px 8px !important;
        gap: 4px !important;
    }

    .wam-vsc-games-list>.games-list-header h3 {
        font-size: 12px !important;
    }

    .wam-vsc-games-list>.games-list-header .list-filters {
        gap: 3px !important;
    }
}