* { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --bg: #000000;
            --bg-secondary: #0a0a0a;
            --bg-tertiary: #141414;
            --border: #262626;
            --text: #f0f0f0;
            --text-muted: #737373;
            --accent: #3b82f6;
            --accent-light: #60a5fa;
            --accent-blue: #3b82f6;
            --accent-green: #22c55e;
            --accent-purple: #a855f7;
            --accent-yellow: #eab308;
            --gradient: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
        }
        body {
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.5;
            min-height: 100vh;
        }

        /* Header */
        header {
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .header-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0.75rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--gradient);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.1rem;
        }
        .logo-text {
            font-weight: 700;
            font-size: 1.25rem;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .season-display {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 0.8rem;
            background: var(--bg-tertiary);
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 600;
        }
        .season-display-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 500;
        }
        .dataset-status {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--text-muted);
        }
        .dataset-status.verified {
            background: var(--accent-green);
            box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
        }
        .share-view {
            padding: 0.55rem 0.8rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--bg-tertiary);
            color: var(--text);
            font: inherit;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
        }
        .share-view:hover, .share-view:focus-visible {
            border-color: var(--accent);
            color: var(--accent-light);
        }
        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Navigation */
        nav {
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border);
        }
        nav ul {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1.5rem;
            list-style: none;
            display: flex;
            gap: 0.25rem;
            overflow-x: auto;
        }
        nav a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.875rem 1.25rem;
            text-decoration: none;
            color: var(--text-muted);
            font-weight: 500;
            font-size: 0.9rem;
            border-bottom: 3px solid transparent;
            transition: all 0.2s;
            white-space: nowrap;
        }
        nav a:hover {
            color: var(--text);
            background: var(--bg-tertiary);
        }
        nav a.active {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }
        nav a svg {
            width: 18px;
            height: 18px;
            opacity: 0.7;
        }
        nav a.active svg {
            opacity: 1;
        }

        /* Main Content */
        main {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1.5rem;
        }
        .section {
            display: none;
            animation: fadeIn 0.3s ease;
        }
        .section.active {
            display: block;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Section Header */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
        }
        .section-title span {
            color: var(--text-muted);
            font-weight: 400;
            font-size: 1rem;
            margin-left: 0.5rem;
        }
        .section-description {
            color: var(--text-muted);
            margin-top: 0.25rem;
        }

        /* Controls */
        .controls {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
            align-items: center;
        }
        .filter-input {
            width: 100%;
            min-height: 42px;
            padding: 0.65rem 0.75rem;
            color: var(--text);
            background: var(--bg-tertiary);
            border: 1px solid var(--border);
            border-radius: 8px;
            font: inherit;
        }
        .filter-input:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* Shot charts */
        .shot-controls {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            align-items: end;
            padding: 1rem;
            margin-bottom: 1.5rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
        }
        .shot-summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .shot-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
        }
        .shot-summary {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 0.25rem 1rem;
            padding: 1rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-left: 4px solid currentColor;
            border-radius: 10px;
        }
        .shot-summary h3 { color: var(--text); font-size: 1rem; }
        .shot-summary strong { font-size: 1.5rem; }
        .shot-summary span { color: var(--text-muted); grid-column: 1 / -1; }
        .shot-visual-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(320px, 1fr));
            gap: 1.25rem;
            align-items: start;
            margin-bottom: 1.25rem;
        }
        .shot-court-card {
            padding: 1rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
        }
        .shot-court {
            display: block;
            width: 100%;
            max-height: 720px;
            background: #101419;
            border-radius: 8px;
        }
        .court-lines { fill: none; stroke: #56606d; stroke-width: 2; }
        .shot-marker { transition: opacity 0.15s, stroke-width 0.15s; }
        .shot-marker:hover { opacity: 1; stroke-width: 3; }
        .shot-series-1 { color: #60a5fa; }
        .shot-series-2 { color: #f59e0b; }
        .shot-marker.shot-series-1 { fill: #60a5fa; stroke: #bfdbfe; }
        .shot-marker.shot-series-2 { fill: #f59e0b; stroke: #fde68a; }
        .shot-marker.missed { fill: transparent; opacity: 0.5; stroke-width: 2; }
        .shot-marker.made { opacity: 0.8; stroke-width: 1; }
        .shot-heat-cell { mix-blend-mode: screen; stroke-width: 1; }
        .shot-heat-cell.shot-series-1 { fill: #2563eb; stroke: #93c5fd; }
        .shot-heat-cell.shot-series-2 { fill: #d97706; stroke: #fcd34d; }
        .shot-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem 1rem;
            margin-bottom: 0.75rem;
            color: var(--text-muted);
            font-size: 0.8rem;
        }
        .shot-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
        .shot-legend i, .shot-legend b { width: 10px; height: 10px; display: inline-block; }
        .shot-legend .shot-series-1 i { background: #60a5fa; border-radius: 50%; }
        .shot-legend .shot-series-2 i { background: #f59e0b; }
        .made-key { background: var(--text); border-radius: 50%; }
        .missed-key { border: 2px solid var(--text-muted); border-radius: 50%; }
        .shot-warning {
            margin-bottom: 1rem;
            padding: 0.75rem;
            color: var(--accent-yellow);
            background: rgba(234, 179, 8, 0.08);
            border: 1px solid rgba(234, 179, 8, 0.35);
            border-radius: 8px;
        }
        .shot-zones td { min-width: 130px; }
        .shot-insights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 0.75rem;
            margin: 0 0 1.25rem;
        }
        .shot-insight {
            display: grid;
            gap: 0.25rem;
            padding: 1rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-top: 3px solid currentColor;
            border-radius: 10px;
        }
        .shot-insight span, .shot-insight small { color: var(--text-muted); }
        .shot-insight strong { color: var(--text); font-size: 1.15rem; }
        .shot-profile-section { margin: 0 0 1.25rem; }
        .shot-profile-section h3 { margin-bottom: 0.65rem; }
        .shot-split-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }
        .shot-profile-details {
            margin-bottom: 0.75rem;
            padding: 0.85rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 10px;
        }
        .shot-profile-details summary {
            cursor: pointer;
            color: var(--accent-light);
            font-weight: 600;
        }
        .shot-profile-details[open] summary { margin-bottom: 0.85rem; }
        .shot-profile-details .shot-profile-section { margin-bottom: 0; }
        .detail-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 0.75rem 0 1.25rem;
        }
        .secondary-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.55rem 0.85rem;
            color: var(--text);
            background: var(--bg-tertiary);
            border: 1px solid var(--border);
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
        }
        .secondary-button:hover, .secondary-button:focus-visible,
        .context-link:hover, .context-link:focus-visible {
            color: var(--accent-light);
            border-color: var(--accent);
        }
        .context-link { color: var(--accent-blue); font-weight: 600; }
        .search-box {
            position: relative;
        }
        .search-box svg {
            position: absolute;
            left: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            color: var(--text-muted);
        }
        .search-box input {
            padding: 0.6rem 0.75rem 0.6rem 2.5rem;
            background: var(--bg-tertiary);
            color: var(--text);
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 0.9rem;
            width: 280px;
            transition: all 0.2s;
        }
        .search-box input:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(248, 81, 73, 0.1);
        }
        .filter-select {
            padding: 0.6rem 1rem;
            background: var(--bg-tertiary);
            color: var(--text);
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .filter-select:hover {
            border-color: var(--accent);
        }

        /* Cards Grid */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 1rem;
        }

        /* Stat Cards */
        .stat-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.25rem;
            transition: all 0.2s;
        }
        .stat-card:hover {
            border-color: var(--accent);
            transform: translateY(-2px);
        }
        .stat-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }
        .stat-card-rank {
            width: 32px;
            height: 32px;
            background: var(--gradient);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.9rem;
        }
        .stat-card-rank.top3 {
            background: var(--accent-yellow);
            color: #000;
        }
        .stat-card-name {
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: color 0.2s;
        }
        .stat-card-name:hover {
            color: var(--accent);
        }
        .stat-card-team {
            color: var(--text-muted);
            font-size: 0.85rem;
        }
        .stat-card-value {
            font-size: 2.5rem;
            font-weight: 800;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .stat-card-label {
            color: var(--text-muted);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* Tables */
        .table-container {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
        }
        .table-scroll {
            overflow-x: auto;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
        }
        th, td {
            padding: 0.875rem 1rem;
            text-align: left;
            border-bottom: 1px solid var(--border);
        }
        th {
            background: var(--bg-tertiary);
            font-weight: 600;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--text-muted);
            position: sticky;
            top: 0;
            white-space: nowrap;
        }
        tbody tr {
            transition: background 0.2s;
        }
        tbody tr:hover {
            background: var(--bg-tertiary);
        }
        tbody tr:last-child td {
            border-bottom: none;
        }
        td.num {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }
        .col-rank { width: 50px; }
        .col-meter { width: 120px; }
        .strong, .num.strong { font-weight: 600; }
        .num.positive { color: var(--accent-green); }
        .num.negative { color: #ef4444; }
        .num.highlight-points { color: var(--accent); font-weight: 600; }
        .num.highlight-rebounds { color: var(--accent-blue); font-weight: 600; }
        .num.highlight-assists { color: var(--accent-green); font-weight: 600; }
        .empty-message { color: var(--text-muted); text-align: center; padding: 2rem; }
        .spaced-title { margin-top: 1.5rem; }
        .clickable {
            cursor: pointer;
            color: var(--accent-blue);
            transition: color 0.2s;
            background: none;
            border: 0;
            padding: 0;
            font: inherit;
            text-decoration: none;
        }
        .clickable:hover, .clickable:focus-visible {
            color: var(--accent);
            text-decoration: underline;
        }

        /* Badges */
        .badge {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.6rem;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        .badge-active {
            background: rgba(63, 185, 80, 0.15);
            color: var(--accent-green);
        }
        .badge-inactive {
            background: var(--bg-tertiary);
            color: var(--text-muted);
        }
        .badge-win {
            background: rgba(63, 185, 80, 0.15);
            color: var(--accent-green);
        }
        .badge-loss {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
        }

        /* Standings */
        .standings-rank {
            width: 28px;
            height: 28px;
            background: var(--bg-tertiary);
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.85rem;
        }
        .standings-rank.playoff {
            background: rgba(63, 185, 80, 0.15);
            color: var(--accent-green);
        }
        .win-pct-bar {
            width: 60px;
            height: 6px;
            background: var(--bg-tertiary);
            border-radius: 3px;
            overflow: hidden;
            display: inline-block;
            vertical-align: middle;
            margin-right: 0.5rem;
        }
        .win-pct-bar-fill {
            height: 100%;
            background: var(--gradient);
            border-radius: 3px;
        }
        .win-pct-progress {
            width: 100%;
            height: 6px;
            border: 0;
            border-radius: 3px;
            overflow: hidden;
            background: var(--bg-tertiary);
        }
        .win-pct-progress::-webkit-progress-bar { background: var(--bg-tertiary); }
        .win-pct-progress::-webkit-progress-value { background: var(--gradient); }
        .win-pct-progress::-moz-progress-bar { background: var(--accent); }

        /* Game Cards */
        .game-card {
            display: block;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1rem;
            cursor: pointer;
            transition: all 0.2s;
            color: var(--text);
            text-decoration: none;
        }
        .game-card:hover, .game-card:focus-visible {
            border-color: var(--accent);
            transform: translateY(-2px);
            outline: none;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
        }
        .game-card-date {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
        }
        .game-card-teams {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .game-team-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem;
            border-radius: 6px;
        }
        .game-team-row.winner {
            background: rgba(63, 185, 80, 0.1);
        }
        .game-team-name {
            font-weight: 500;
        }
        .game-team-score {
            font-weight: 700;
            font-size: 1.25rem;
        }
        .game-team-row.winner .game-team-score {
            color: var(--accent-green);
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1.5rem;
        }
        .pagination button {
            padding: 0.5rem 1rem;
            background: var(--bg-secondary);
            color: var(--text);
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        .pagination button:hover:not(:disabled) {
            border-color: var(--accent);
            background: var(--bg-tertiary);
        }
        .pagination button:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        .pagination-info {
            color: var(--text-muted);
            font-size: 0.9rem;
            padding: 0 1rem;
        }

        /* Modals */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(4px);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        .modal-overlay.active {
            display: flex;
        }
        body.modal-open {
            overflow: hidden;
        }
        .modal {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 16px;
            max-width: 1000px;
            width: 100%;
            max-height: 90vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            animation: modalIn 0.3s ease;
        }
        @keyframes modalIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border);
            background: var(--bg-tertiary);
        }
        .modal-title {
            font-size: 1.25rem;
            font-weight: 700;
        }
        .modal-close {
            width: 36px;
            height: 36px;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-muted);
            font-size: 1.25rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        .modal-close:hover {
            border-color: var(--accent);
            color: var(--accent);
        }
        .modal-body {
            padding: 1.5rem;
            overflow-y: auto;
        }
        .detail-columns {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1.5rem;
        }
        .detail-section + .detail-section {
            margin-top: 1.5rem;
        }
        .detail-meta {
            color: var(--text-muted);
            margin: -0.5rem 0 1.5rem;
        }
        /* Stats Display */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        /* Comparisons */
        .compare-controls {
            display: grid;
            grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr) auto;
            gap: 0.75rem;
            align-items: end;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
        }
        .compare-field {
            display: grid;
            gap: 0.4rem;
        }
        .compare-field label {
            color: var(--text-muted);
            font-size: 0.8rem;
            font-weight: 600;
        }
        .compare-versus {
            align-self: center;
            color: var(--text-muted);
            font-weight: 700;
        }
        .primary-button {
            padding: 0.65rem 1rem;
            color: #fff;
            background: var(--accent);
            border: 0;
            border-radius: 8px;
            font: inherit;
            font-weight: 700;
            cursor: pointer;
        }
        .primary-button:hover, .primary-button:focus-visible { background: var(--accent-light); }
        .compare-tabs {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        .compare-tab {
            padding: 0.55rem 0.9rem;
            color: var(--text-muted);
            background: var(--bg-tertiary);
            border: 1px solid var(--border);
            border-radius: 8px;
            font: inherit;
            cursor: pointer;
        }
        .compare-tab.active { color: var(--text); border-color: var(--accent); }
        .compare-panel[hidden] { display: none; }
        .comparison-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }
        .comparison-card {
            padding: 1.25rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
        }
        .comparison-card h3 { margin-bottom: 0.25rem; }
        .comparison-metrics {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.65rem;
            margin-top: 1rem;
        }
        .comparison-metric {
            padding: 0.65rem;
            text-align: center;
            background: var(--bg-tertiary);
            border-radius: 8px;
        }
        .comparison-metric strong { display: block; font-size: 1.15rem; }
        .comparison-metric span { color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; }
        .trend-chart { width: 100%; height: 90px; margin-top: 0.75rem; }
        .trend-line { fill: none; stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; }
        .trend-axis { stroke: var(--border); stroke-width: 1; }
        .head-to-head {
            margin-top: 1rem;
            padding: 1rem;
            text-align: center;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
        }
        .stat-box {
            background: var(--bg-tertiary);
            border-radius: 10px;
            padding: 1rem;
            text-align: center;
        }
        .stat-box-value {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--accent);
        }
        .stat-box-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-top: 0.25rem;
        }

        /* Game Modal Score */
        .game-score-display {
            text-align: center;
            padding: 1.5rem;
            background: var(--bg-tertiary);
            border-radius: 12px;
            margin-bottom: 1.5rem;
        }
        .game-score-date {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        .game-score-teams {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
        }
        .game-score-team {
            text-align: center;
        }
        .game-score-team-name {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        .game-score-team-score {
            font-size: 3rem;
            font-weight: 800;
        }
        .game-score-team-score.winner {
            color: var(--accent-green);
        }
        .game-score-vs {
            font-size: 1.5rem;
            color: var(--text-muted);
            font-weight: 300;
        }

        /* Section subtitle */
        .section-subtitle {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 1rem;
            font-weight: 500;
        }

        /* Loading & Error */
        .loading {
            text-align: center;
            padding: 3rem;
            color: var(--text-muted);
        }
        .loading::after {
            content: '';
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid var(--border);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-left: 0.5rem;
            vertical-align: middle;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .error {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid #ef4444;
            color: #ef4444;
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 0.75rem;
            }
            .header-actions {
                width: 100%;
                justify-content: space-between;
            }
            .section-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .search-box input {
                width: 100%;
            }
            .controls {
                width: 100%;
            }
            .cards-grid {
                grid-template-columns: 1fr;
            }
            .game-score-teams {
                flex-direction: column;
                gap: 1rem;
            }
            .game-score-vs {
                display: none;
            }
            .detail-columns {
                grid-template-columns: 1fr;
            }
            .modal-overlay {
                padding: 0;
            }
            .modal {
                max-height: 100vh;
                min-height: 100vh;
                border-radius: 0;
            }
            .compare-controls { grid-template-columns: 1fr; }
            .compare-versus { display: none; }
            .comparison-grid { grid-template-columns: 1fr; }
            .shot-visual-grid { grid-template-columns: 1fr; }
            .shot-split-grid { grid-template-columns: 1fr; }
            .shot-controls { grid-template-columns: 1fr; }
        }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                scroll-behavior: auto !important;
                transition-duration: 0.01ms !important;
            }
        }
