/* Tournament Player Details Page Styles */

.page-container {
    padding: 2rem 1.5rem;
}

/* Page Actions */
.page-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.btn-compare {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--primary-color, #2563eb);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.btn-compare:hover {
    background: var(--primary-hover, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.btn-compare svg {
    flex-shrink: 0;
}

/* Player Header Section */
/* Visual base styles shared via .animated-gradient-header in common.css */

.player-header-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.player-info-text {
    flex: 1;
}

.player-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.player-name {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Note: btn-compare-header styling is now in common.css as btn-action-header */

.player-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.95rem;
    opacity: 0.95;
}

.meta-item strong {
    font-weight: 700;
    font-size: 1.05em;
}

/* Tabs Navigation */
.tabs-navigation {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-button {
    padding: 0.875rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.tab-button.active {
    color: #667eea;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px 2px 0 0;
}

/* Tab Content */
.tab-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.stat-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.stat-card-header {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.stat-card-value.positive {
    color: #10b981;
}

.stat-card-value.negative {
    color: #ef4444;
}

/* Team History */
.team-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.team-history-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.team-history-card.active-team {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.team-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.team-history-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.current-team-badge {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.team-history-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
}

.team-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.team-stat-label {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
}

.team-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

/* Chart Container */
.chart-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Two-column performance row: round-by-round table (left) beside the score chart (right) on
   desktop; stacks on smaller screens. Mirrors the Advanced tab's two-column layout. */
.perf-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .perf-two-col:not(.perf-two-col--single) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        align-items: start;
    }
}

/* Let grid children shrink so the chart/table never force overflow, and drop the trailing
   section margin so the two columns align cleanly at the top. */
.perf-col {
    min-width: 0;
}

.perf-col .stats-section {
    margin-bottom: 0;
}

/* Improvement Grid */
.improvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.improvement-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.improvement-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.improvement-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
}

/* Match Cards */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.match-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.match-card:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateX(4px);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.match-teams {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.your-team {
    color: #667eea;
}

.vs {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

.opponent-team {
    color: #1f2937;
}

.match-result-badge {
    padding: 0.375rem 1rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 700;
}

.match-result-badge.win {
    background: #10b981;
    color: white;
}

.match-result-badge.loss {
    background: #ef4444;
    color: white;
}

.match-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.match-detail-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.detail-label {
    color: #6b7280;
    font-weight: 500;
}

.detail-value {
    color: #1f2937;
    font-weight: 600;
}

.match-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.match-stat {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    padding: 0.875rem;
    text-align: center;
}

.match-stat-label {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.375rem;
}

.match-stat-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: #667eea;
}

/* Consistency Grid — same compact metric panel as the Advanced stats grid
   (.adv-stats-grid) and the improvement strip above it. */
.consistency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--border-color, #e5e7eb);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
}

@media (min-width: 576px) {
    .consistency-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.consistency-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    background: var(--surface-card, #fff);
}

.consistency-label {
    font-size: 0.75rem;
    color: var(--text-secondary, #9ca3af);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.consistency-value {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    line-height: 1.3;
}

/* Games Timeline */
.section-header-with-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.average-reference {
    font-size: 0.9375rem;
    color: #6b7280;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
}

.average-reference strong {
    color: #667eea;
    font-size: 1.125rem;
}

.games-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-timeline-item {
    display: flex;
    gap: 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.game-timeline-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.game-timeline-item.above-average {
    border-left: 4px solid #10b981;
}

.game-timeline-item.below-average {
    border-left: 4px solid #ef4444;
}

.game-timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 60px;
}

.game-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
}

.performance-indicator {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.performance-indicator.above-average {
    background: linear-gradient(135deg, #10b981, #059669);
}

.performance-indicator.below-average {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.game-timeline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.game-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.game-score-display {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.score-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.score-diff {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
}

.score-diff.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.score-diff.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.game-date {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.game-performance-bar-track {
    position: relative;
    height: 12px;
    background: linear-gradient(to right, 
        #fee2e2 0%, 
        #fef3c7 40%, 
        #d1fae5 60%, 
        #10b981 100%);
    border-radius: 6px;
    overflow: visible;
}

.average-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 20px;
    background: #667eea;
    border-radius: 2px;
    z-index: 2;
}

.avg-tooltip {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

.performance-bar-fill {
    height: 100%;
    border-radius: 6px;
    position: relative;
    transition: width 0.5s ease;
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.performance-bar-fill.above-average {
    border-color: #10b981;
}

.performance-bar-fill.below-average {
    border-color: #ef4444;
}

.game-opponent {
    font-size: 0.8125rem;
    color: #9ca3af;
    font-style: italic;
}

.performance-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
    color: #667eea;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af;
    background: white;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
}

.empty-state p {
    font-size: 1.125rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-container {
        padding: 1rem;
    }

    .player-header-section {
        padding: 1.5rem;
    }

    .player-name {
        font-size: 1.75rem;
    }

    .btn-compare-header {
        width: 100%;
        justify-content: center;
    }

    .player-info {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }

    .quick-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tabs-navigation {
        gap: 0.25rem;
    }

    .tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-history-grid {
        grid-template-columns: 1fr;
    }

    .improvement-grid {
        grid-template-columns: 1fr;
    }

    .consistency-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .match-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .match-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Games Timeline Responsive */
    .section-header-with-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .game-timeline-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .game-timeline-marker {
        min-width: 50px;
    }

    .game-number {
        font-size: 0.8125rem;
        padding: 0.25rem 0.5rem;
    }

    .performance-indicator {
        width: 32px;
        height: 32px;
        font-size: 1.125rem;
    }

    .score-value {
        font-size: 1.75rem;
    }

    .score-diff {
        font-size: 1rem;
        padding: 0.125rem 0.5rem;
    }

    .game-date {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .player-header-section {
        padding: 0.875rem;
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .player-avatar {
        width: 48px;
        height: 48px;
    }

    .player-avatar svg {
        width: 28px;
        height: 28px;
    }

    .player-name {
        font-size: 1.125rem;
    }

    .player-info {
        gap: 0.625rem;
    }

    .game-timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .game-timeline-marker {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .score-value {
        font-size: 1.5rem;
    }

    .game-timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .avg-tooltip {
        font-size: 0.625rem;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .player-stats-badges .stat-badge {
        padding: 0.4rem 0.75rem;
    }
    
    .player-stats-badges .stat-value {
        font-size: 1rem;
    }
    
    .player-stats-badges .stat-label {
        font-size: 0.8rem;
    }
}

/* ============================================================
   Compact Improvement Bar (replaces .improvement-grid)
   ============================================================ */
.improvement-compact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.improvement-compact-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 1.25rem;
    flex: 1;
    min-width: 100px;
}

.improvement-compact-arrow {
    color: #d1d5db;
    font-size: 1.25rem;
    padding: 0 0.25rem;
    flex-shrink: 0;
    align-self: center;
}

.improvement-compact-divider {
    width: 1px;
    align-self: stretch;
    background: #e5e7eb;
    margin: 0.5rem 0;
    flex-shrink: 0;
}

.improvement-compact-label {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.improvement-compact-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.improvement-compact-value.positive {
    color: #10b981;
}

.improvement-compact-value.negative {
    color: #ef4444;
}

@media (max-width: 480px) {
    .improvement-compact {
        flex-direction: column;
        gap: 0;
    }

    .improvement-compact-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f3f4f6;
        padding: 0.625rem 1rem;
        min-width: unset;
    }

    .improvement-compact-item:last-child {
        border-bottom: none;
    }

    .improvement-compact-arrow,
    .improvement-compact-divider {
        display: none;
    }
}

/* ============================================================
   Compact Match Rows (replaces .matches-list / .match-card)
   ============================================================ */
.matches-compact-list {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}

.match-row:last-child {
    border-bottom: none;
}

.match-row:hover {
    background: rgba(102, 126, 234, 0.04);
}

.match-row-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
}

.match-row-teams {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9375rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.match-row-meta {
    font-size: 0.8125rem;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-row-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.match-row-scores {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.match-row-score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.match-row-score-label {
    font-size: 0.6875rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.match-row-score-val {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1f2937;
}

@media (max-width: 480px) {
    .match-row {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.625rem 0.875rem;
    }

    .match-row-left {
        width: 100%;
    }

    .match-row-right {
        width: 100%;
        justify-content: space-between;
    }

    .match-row-scores {
        gap: 0.5rem;
    }

    .match-row-meta {
        white-space: normal;
    }
}

/* Match Row Wrapper & Expand Toggle */
.match-row-wrapper {
    border-bottom: 1px solid #f3f4f6;
}

.match-row-wrapper:last-child {
    border-bottom: none;
}

/* Override the border-bottom on .match-row when inside a wrapper */
.match-row-wrapper .match-row {
    border-bottom: none;
}

.match-row-clickable {
    cursor: pointer;
}

.match-row-trailing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.match-expand-chevron {
    display: flex;
    align-items: center;
    color: #9ca3af;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.match-expand-chevron.rotated {
    transform: rotate(180deg);
}

/* Individual Games Drill-down */
.match-games-drilldown {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.625rem 1rem 0.75rem 1rem;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.match-game-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.match-game-item.above-avg {
    border-left: 3px solid #10b981;
}

.match-game-item.below-avg {
    border-left: 3px solid #ef4444;
}

.match-game-number {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.match-game-score {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.match-game-handicap {
    font-size: 0.75rem;
    color: #9ca3af;
}

.match-game-indicator {
    font-size: 0.6875rem;
    font-weight: 700;
}

.match-game-indicator.positive {
    color: #10b981;
}

.match-game-indicator.negative {
    color: #ef4444;
}

.match-game-item-clickable {
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.match-game-item-clickable:hover {
    border-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.match-game-expand-chevron {
    display: flex;
    align-items: center;
    color: #9ca3af;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.match-game-expand-chevron.rotated {
    transform: rotate(180deg);
}

/* Frame-by-frame scorecard expands onto its own full-width row within the drill-down */
.match-game-scorecard {
    flex-basis: 100%;
    width: 100%;
    margin-top: 0.25rem;
}

@media (max-width: 480px) {
    .match-games-drilldown {
        gap: 0.375rem;
        padding: 0.5rem 0.875rem 0.625rem 0.875rem;
    }
    .match-game-item {
        padding: 0.3rem 0.625rem;
    }
}

