        html, body {
            overflow-x: hidden;
            overflow-x: clip;
            max-width: 100vw;
            -webkit-text-size-adjust: 100%;
        }
        body {
            background-color: #0d1117;
            color: #c9d1d9;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            touch-action: manipulation;
        }
        /* Mobile touch scrolling */
        .touch-scroll {
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
        }
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        /* Sticky table column for mobile */
        .sticky-col {
            position: sticky;
            left: 0;
            z-index: 10;
            background-color: #161b22;
        }
        th.sticky-col {
            z-index: 20;
            background-color: #21262d;
        }
        .rank-top { background-color: rgba(63, 185, 80, 0.12); color: #7ee787; border: 1px solid rgba(63, 185, 80, 0.25); }
        .rank-mid { background-color: rgba(88, 166, 255, 0.1); color: #a5d6ff; border: 1px solid rgba(88, 166, 255, 0.2); }
        .rank-bot { background-color: rgba(248, 81, 73, 0.12); color: #ffa198; border: 1px solid rgba(248, 81, 73, 0.25); }
        .glass-panel {
            background: #161b22;
            border: 1px solid #30363d;
        }
        .th-sortable {
            cursor: pointer;
            user-select: none;
            transition: color 0.15s ease, background-color 0.15s ease;
        }
        .th-sortable:hover {
            color: #58a6ff;
            background-color: #21262d;
        }
        /* ==========================================================================
           Per-Game Stat Hover Info Box (Snappy Lingering Tooltip)
           ========================================================================== */
        .stat-info-trigger {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: help;
            border-bottom: 1px dotted rgba(148, 163, 184, 0.45);
            padding-bottom: 1px;
            transition: color 0.15s ease, border-color 0.15s ease;
        }
        .stat-info-trigger:hover {
            color: #ffffff;
            border-bottom-color: rgba(226, 232, 240, 0.85);
        }
        .stat-info-box {
            visibility: hidden;
            opacity: 0;
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%) translateY(4px);
            width: 290px;
            max-width: calc(100vw - 32px);
            padding: 9px 12px;
            background: rgba(18, 22, 28, 0.98);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid #30363d;
            border-radius: 9px;
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.5);
            color: #c9d1d9;
            font-size: 11px;
            line-height: 1.45;
            text-transform: none;
            letter-spacing: normal;
            pointer-events: none;
            z-index: 9999;
            transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
            transition-delay: 0s;
        }
        .stat-info-box::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border-width: 5px;
            border-style: solid;
            border-color: #30363d transparent transparent transparent;
        }
        .stat-info-trigger:hover .stat-info-box,
        .stat-info-trigger:focus .stat-info-box,
        .stat-info-trigger:focus-within .stat-info-box {
            visibility: visible;
            opacity: 1;
            transform: translateX(-50%) translateY(0);
            transition-delay: 0.12s;
        }
        .stat-info-box-left {
            left: 0;
            transform: translateX(0) translateY(4px);
        }
        .stat-info-box-left::after {
            left: 18px;
            transform: none;
        }
        .stat-info-trigger:hover .stat-info-box-left,
        .stat-info-trigger:focus .stat-info-box-left,
        .stat-info-trigger:focus-within .stat-info-box-left {
            transform: translateX(0) translateY(0);
        }
        .stat-info-box-right {
            left: auto;
            right: 0;
            transform: translateX(0) translateY(4px);
        }
        .stat-info-box-right::after {
            left: auto;
            right: 18px;
            transform: none;
        }
        .stat-info-trigger:hover .stat-info-box-right,
        .stat-info-trigger:focus .stat-info-box-right,
        .stat-info-trigger:focus-within .stat-info-box-right {
            transform: translateX(0) translateY(0);
        }

        /* Route / Football Concept Visual Diagram Cards */
        .route-concept-trigger {
            position: relative;
            display: inline-block;
            cursor: help;
            border-bottom: 1.5px dashed rgba(56, 189, 248, 0.7);
            color: #f1f5f9;
            font-weight: 500;
            transition: color 0.15s, border-color 0.15s;
        }
        .route-concept-trigger:hover,
        .route-concept-trigger:focus,
        .route-concept-trigger:focus-within {
            color: #38bdf8;
            border-bottom-color: #38bdf8;
        }
        .route-concept-card {
            visibility: hidden;
            opacity: 0;
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%) translateY(4px);
            width: 285px;
            max-width: calc(100vw - 32px);
            padding: 9px 11px;
            background: rgba(18, 22, 28, 0.98);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid #30363d;
            border-radius: 9px;
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.5);
            color: #c9d1d9;
            font-size: 11px;
            line-height: 1.45;
            text-transform: none;
            letter-spacing: normal;
            pointer-events: none;
            z-index: 9999;
            display: block;
            transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
        }
        .route-concept-card::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border-width: 5px;
            border-style: solid;
            border-color: #30363d transparent transparent transparent;
        }
        .route-concept-trigger:hover .route-concept-card,
        .route-concept-trigger:focus .route-concept-card,
        .route-concept-trigger:focus-within .route-concept-card {
            visibility: visible;
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
        .route-concept-card-left {
            left: 0;
            transform: translateX(0) translateY(4px);
        }
        .route-concept-card-left::after {
            left: 20px;
            transform: none;
        }
        .route-concept-trigger:hover .route-concept-card-left,
        .route-concept-trigger:focus .route-concept-card-left,
        .route-concept-trigger:focus-within .route-concept-card-left {
            visibility: visible;
            opacity: 1;
            transform: translateX(0) translateY(0);
        }
        .route-concept-card-right {
            left: auto;
            right: 0;
            transform: translateX(0) translateY(4px);
        }
        .route-concept-card-right::after {
            left: auto;
            right: 20px;
            transform: none;
        }
        .route-concept-trigger:hover .route-concept-card-right,
        .route-concept-trigger:focus .route-concept-card-right,
        .route-concept-trigger:focus-within .route-concept-card-right {
            visibility: visible;
            opacity: 1;
            transform: translateX(0) translateY(0);
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: #0d1117; }
        ::-webkit-scrollbar-thumb { background: #30363d; border-radius: 4px; }
