/**
 * Estilos — best.css (restaurado do template original)
 */
.container {
            max-width: 1400px;
            margin: auto;
            padding: 0;
        }

        /* Header Styles */
        .match-header {
            background-color: #f8f9fa;
            padding: 1.5rem;
            border-radius: 0.5rem;
            margin: 1rem 0;
            border-left: 4px solid var(--match-accent);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        .match-header h2 {
            margin: 0 0 0.5rem 0;
            color: var(--match-accent);
            font-size: 1.5rem;
        }

        /* Stages Grid Layout */
        .stages-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }

        /* Stage Card Styles */
        .stage-card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            overflow: hidden;
            border: 1px solid #e9ecef;
        }

        .stage-header {
            background-color: var(--match-accent);
            color: white;
            padding: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .stage-header h3 {
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
        }

        .stage-content {
            padding: 0.75rem;
        }

        .hit-factor-info {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            align-items: flex-start;
            margin-bottom: 0.75rem;
        }

        .hit-factor-value {
            font-size: 1rem;
            font-weight: bold;
            color: var(--match-accent);
        }

        .section-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: #495057;
            margin: 0.5rem 0;
            border-bottom: 1px solid #e9ecef;
            padding-bottom: 0.25rem;
        }

        /* Division Styles */
        .division-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .division-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.4rem 0;
            border-bottom: 1px solid #f8f9fa;
            font-size: 0.85rem;
        }

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

        .division-name {
            font-weight: 600;
            min-width: 80px;
            font-size: 0.8rem;
        }

        .division-name.OPEN {
            color: var(--match-accent);
        }

        .division-name.PROD {
            color: var(--match-info-blue);
        }

        .division-name.STD {
            color: #6f42c1;
        }

        .division-name.CLASSIC {
            color: #fd7e14;
        }

        .division-name.REVO {
            color: #dc3545;
        }

        .division-name.PCC {
            color: #17a2b8;
        }

        .division-name.CARRY {
            color: var(--match-teal);
        }

        .division-name.L10 {
            color: #e83e8c;
        }

        .division-name.LIMITED {
            color: #6c757d;
        }

        .hit-factor {
            background-color: var(--match-accent-soft);
            color: var(--match-accent);
            padding: 0.1rem 0.4rem;
            border-radius: 0.2rem;
            font-weight: bold;
            border: 1px solid var(--match-accent-border);
            font-size: 0.8rem;
        }

        .athletes-list {
            display: flex;
            align-items: center;
            gap: 0.2rem;
            font-size: 0.75rem;
            color: #6c757d;
            flex-wrap: wrap;
        }

        .athletes-label {
            font-weight: 500;
            color: #495057;
        }

        .athlete-name {
            font-weight: 600;
            color: var(--match-accent);
            background-color: #f8f9fa;
            padding: 0.05rem 0.25rem;
            border-radius: 0.15rem;
            border: 1px solid #e9ecef;
            font-size: 0.75rem;
        }

        .best-athlete-info {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            flex-wrap: wrap;
        }

        .best-athlete-name {
            font-weight: 600;
            color: var(--match-accent);
            background-color: #f8f9fa;
            padding: 0.05rem 0.25rem;
            border-radius: 0.15rem;
            border: 1px solid #e9ecef;
            font-size: 0.8rem;
        }

        .separator {
            color: #6c757d;
        }

        /* Navigation Buttons */
        .nav-buttons {
            display: flex;
            gap: 1rem;
            margin: 1rem 0;
            flex-wrap: wrap;
        }

        .nav-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background-color: var(--match-accent);
            color: white;
            border: none;
            border-radius: 0.5rem;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s;
        }

        .nav-button:hover {
            background-color: var(--match-accent-dark);
            color: white;
            text-decoration: none;
            transform: translateY(-1px);
        }

        .nav-button i {
            font-size: 1.1rem;
        }

        .nav-text {
            display: inline;
        }

        /* Page Title */
        .page-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: #495057;
            margin: 1rem 0;
            text-align: center;
        }

        @media (max-width: 768px) {
            .nav-buttons {
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                gap: 0.5rem;
            }

            .nav-button {
                width: 100%;
                justify-content: center;
                padding: 0.8rem 0.5rem;
                border-radius: 0.4rem;
                min-height: 50px;
            }

            .nav-button i {
                font-size: 1.2rem;
            }

            .nav-text {
                display: none;
            }

            .stages-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
            }

            .stage-card {
                margin-bottom: 0;
            }

            .stage-header {
                padding: 0.5rem;
            }

            .stage-header h3 {
                font-size: 0.85rem;
            }

            .stage-content {
                padding: 0.5rem;
            }

            .hit-factor-info {
                margin-bottom: 0.5rem;
            }

            .hit-factor-value {
                font-size: 0.9rem;
            }

            .section-title {
                font-size: 0.8rem;
                margin: 0.3rem 0;
            }

            .division-item {
                padding: 0.25rem 0;
                font-size: 0.75rem;
            }

            .division-name {
                min-width: 60px;
                font-size: 0.7rem;
            }

            .hit-factor {
                padding: 0.05rem 0.3rem;
                font-size: 0.7rem;
            }

            .athletes-list {
                font-size: 0.65rem;
                gap: 0.1rem;
            }

            .athlete-name {
                padding: 0.02rem 0.2rem;
                font-size: 0.65rem;
            }

            .best-athlete-info {
                font-size: 0.7rem;
                gap: 0.2rem;
            }

            .best-athlete-name {
                padding: 0.02rem 0.2rem;
                font-size: 0.7rem;
            }

            .page-title {
                font-size: 1rem;
                margin: 0.75rem 0;
            }
        }

        @media (max-width: 480px) {
            .nav-buttons {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.4rem;
            }

            .nav-button {
                min-height: 45px;
                padding: 0.6rem 0.4rem;
            }

            .nav-button i {
                font-size: 1.1rem;
            }

            .container {
                padding: 0 5px;
            }

            .match-header {
                padding: 1rem;
            }

            .match-header h2 {
                font-size: 1.3rem;
            }

            .stages-grid {
                grid-template-columns: 1fr;
                gap: 0.4rem;
            }

            .stage-card {
                border-radius: 0.4rem;
            }

            .stage-header {
                padding: 0.4rem;
            }

            .stage-header h3 {
                font-size: 0.8rem;
            }

            .stage-content {
                padding: 0.4rem;
            }

            .division-item {
                flex-direction: row;
                align-items: center;
                gap: 0.3rem;
                padding: 0.2rem 0;
            }

            .division-name {
                min-width: 50px;
                font-size: 0.65rem;
            }

            .hit-factor-info {
                flex-direction: row;
                align-items: center;
                gap: 0.3rem;
                width: auto;
            }

            .athletes-list {
                font-size: 0.6rem;
                gap: 0.08rem;
            }

            .athlete-name {
                padding: 0.01rem 0.15rem;
                font-size: 0.6rem;
            }

            .best-athlete-info {
                font-size: 0.65rem;
                gap: 0.15rem;
            }

            .best-athlete-name {
                padding: 0.01rem 0.15rem;
                font-size: 0.65rem;
            }
        }

        /* Responsive grid adjustments */
        @media (min-width: 1200px) {
            .stages-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 768px) and (max-width: 1199px) {
            .stages-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
