/* Mobile row: hidden on desktop, flex on mobile */
    .mobile-modes-maps { display: none; }
    .maps-box-mobile { display: none; }
    /* Desktop modes card: shown on desktop, hidden on mobile */
    .modes-desktop { display: flex; flex-direction: column; }

    /* Mobile logos inside score — hidden on desktop */
    .hero-logo-mobile { display: none; }

    @media (max-width: 768px) {
        html, body { overflow: auto !important; height: auto !important; overflow-x: hidden !important; }

        .h2h-layout {
            display: flex !important;
            flex-direction: column !important;
            gap: 0.45rem !important;
            padding-bottom: 0.75rem;
            width: 100% !important;
        }

        .left-column, .right-column { display: contents !important; }

        .h2h-hero-card {
            padding: 0.4rem 0.6rem !important;
            border-radius: 10px !important;
            gap: 0.25rem !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }
        .hero-logos { display: none !important; }
        .hero-logo-mobile { display: inline-block !important; width: 22px !important; height: 22px !important; }
        .hero-logos { gap: 0.25rem !important; }
        .hero-logo { width: 46px !important; height: 46px !important; }
        .hero-vs { display: none !important; }
        .hero-score { font-size: 1rem !important; gap: 0.2rem !important; }
        .hero-score-sep { font-size: 0.7rem !important; }
        .hero-sub { font-size: 0.45rem !important; }
        .overview-stats { grid-template-columns: repeat(4, 1fr) !important; gap: 0.25rem !important; width: 100% !important; }
        .overview-stat-card { padding: 0.25rem !important; }
        .overview-stat-label { font-size: 0.42rem !important; }
        .overview-stat-value { font-size: 0.78rem !important; }

        /* ── Modes + Maps side by side ── */
        .modes-desktop { display: none !important; }
        .mobile-modes-maps {
            display: flex !important;
            gap: 0.45rem !important;
            width: 100% !important;
            align-items: stretch !important;
        }
        .left-card {
            flex: 1 1 0 !important;
            min-width: 0 !important;
            border-radius: 10px !important;
            height: 160px !important;
            flex-shrink: 0 !important;
            overflow: hidden !important;
        }
        .left-card-header { padding: 0.35rem 0.6rem !important; font-size: 0.65rem !important; }
        .modes-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 0.15rem !important; padding: 0.2rem !important; }
        .mode-card { padding: 0.25rem 0.1rem !important; }
        .mode-icon, .mode-icon img { width: 20px !important; height: 20px !important; }
        .mode-name { font-size: 0.5rem !important; }
        .mode-wr { font-size: 0.6rem !important; }

        .maps-box-mobile {
            display: flex !important;
            flex-direction: column !important;
            flex: 1 1 0 !important;
            min-width: 0 !important;
            border-radius: 10px !important;
            overflow: hidden !important;
            height: 160px !important;
        }
        .maps-box-mobile .stats-content {
            flex: 1 !important;
            overflow-y: auto !important;
            min-height: 0 !important;
        }
        .maps-box-desktop { display: none !important; }

        .h2h-map-img { width: 28px !important; height: 28px !important; }
        .h2h-map-name { font-size: 0.6rem !important; }
        .h2h-map-sub { font-size: 0.5rem !important; }
        .h2h-map-wr { font-size: 0.7rem !important; }
        .h2h-map-row { padding: 0.25rem 0.4rem !important; gap: 0.3rem !important; }

        .stats-section.matches-box {
            height: 280px !important;
            width: 100% !important;
            border-radius: 10px !important;
            box-sizing: border-box !important;
            display: flex !important;
            flex-direction: column !important;
        }
        .stats-section.matches-box .stats-content {
            flex: 1 !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            padding: 0.35rem !important;
        }
        .match-card { margin-bottom: 0.35rem !important; }
        .match-header { padding: 0.25rem 0.4rem !important; gap: 0.25rem !important; }
        .match-header-logo { width: 24px !important; height: 24px !important; }
        .match-header-team-score { font-size: 0.8rem !important; }
        .match-header-mode-icon { width: 18px !important; height: 18px !important; }
        .match-header-mode-name { font-size: 0.6rem !important; }
        .match-header-time { font-size: 0.52rem !important; }
        .match-body { padding: 0.3rem 0.4rem !important; gap: 0.3rem !important; }
        .comp-brawler { width: 26px !important; height: 26px !important; }
        .brawler-slot-name { font-size: 0.58rem !important; max-width: 65px !important; }
        .brawler-slot-player { font-size: 0.5rem !important; max-width: 65px !important; }
        .match-center { width: 55px !important; }
        .match-map-img { width: 55px !important; }
        .match-map-name { font-size: 0.52rem !important; max-width: 55px !important; }
        .game-dot { width: 5px !important; height: 5px !important; }

        .analysis-column { height: 260px !important; width: 100% !important; }
        .stats-section.picks-box { border-radius: 10px !important; }
        .picks-col-header { padding: 0.3rem 0.4rem !important; gap: 0.3rem !important; }
        .picks-col-logo { width: 24px !important; height: 24px !important; }
        .picks-col-name { font-size: 0.6rem !important; }
        .picks-col-body { padding: 0.25rem !important; }
        .h2h-brawler-img { width: 28px !important; height: 28px !important; }
        .h2h-brawler-name { font-size: 0.55rem !important; }
        .h2h-brawler-mini-value { font-size: 0.55rem !important; }
        .h2h-brawler-mini-label { font-size: 0.38rem !important; }
        .h2h-brawler-rank { width: 14px !important; height: 14px !important; font-size: 0.42rem !important; }

        .stats-header { padding: 0.35rem 0.6rem !important; font-size: 0.65rem !important; }
        .breadcrumb { margin-bottom: 0.3rem; font-size: 0.72rem; }
    }
