        /* Pagination & Search */
        .search-bar {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .search-input-field {
            flex: 1;
            min-width: 250px;
            padding: 14px 18px;
            border: 1px solid var(--border);
            border-radius: 6px;
            font-size: 16px;
            background: var(--bg);
            color: var(--text);
        }

        .search-input-field:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 24px;
            flex-wrap: wrap;
        }

        .pagination-btn {
            padding: 8px 12px;
            border: 1px solid var(--border);
            border-radius: 6px;
            background: var(--bg);
            color: var(--text);
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
        }

        .pagination-btn:hover:not(:disabled) {
            background: var(--bg-secondary);
            border-color: var(--accent);
        }

        .pagination-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .pagination-btn.active {
            background: var(--accent);
            color: var(--bg);
            border-color: var(--accent);
        }

        .pagination-info {
            font-size: 14px;
            color: var(--text-light);
            margin: 0 8px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            header .container {
                flex-direction: column;
                gap: 16px;
                align-items: flex-start;
            }

            .header-controls {
                align-self: flex-end;
            }

            .player-header {
                flex-direction: column;
            }

            h1 {
                font-size: 24px;
            }

            .player-info h2 {
                font-size: 24px;
            }
        }

        /* Image styling */
        .player-photo-large {
            width: 120px;
            height: 120px;
            border-radius: 8px;
            object-fit: cover;
            background: var(--bg);
            border: 2px solid var(--border);
            flex-shrink: 0;
        }

        .player-photo-small {
            width: 40px;
            height: 40px;
            border-radius: 4px;
            object-fit: cover;
            background: var(--bg);
            border: 1px solid var(--border);
        }

        .team-logo-large {
            width: 100px;
            height: 100px;
            object-fit: contain;
            background: var(--bg);
            padding: 8px;
            border: 1px solid var(--border);
            border-radius: 4px;
        }

        .team-logo-medium {
            width: 60px;
            height: 60px;
            object-fit: contain;
            background: var(--bg);
            padding: 4px;
            border: 1px solid var(--border);
            border-radius: 4px;
        }

        .team-logo-small {
            width: 32px;
            height: 32px;
            object-fit: contain;
            background: var(--bg);
            padding: 2px;
            border-radius: 3px;
        }

        .team-logo-xsmall {
            width: 24px;
            height: 24px;
            object-fit: contain;
            background: var(--bg);
        }

        /* Broken image handling */
        img[src=""],
        img:broken {
            opacity: 0.5;
        }

        .image-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-secondary);
            color: var(--text-light);
            font-size: 12px;
            border: 1px dashed var(--border);
            border-radius: 4px;
        }

        /* Compact standings table */
        .standings-table {
            font-size: 13px;
        }
        .standings-table th {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 8px 4px;
        }
        .standings-table td {
            padding: 8px 4px;
        }
        .standings-table tbody tr:hover {
            background: var(--bg-secondary);
        }

        /* Player leader items (for custom bar charts) */
        .player-leader-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            margin-bottom: 8px;
            background: var(--bg-secondary);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .player-leader-item:hover {
            background: var(--bg-tertiary);
            transform: translateX(4px);
        }
        .player-info {
            flex: 1;
            min-width: 0;
        }
        .player-name {
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .player-team {
            font-size: 12px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 4px;
            margin-top: 2px;
        }
        .stat-bar-container {
            flex: 1;
            height: 6px;
            background: var(--bg-tertiary);
            border-radius: 3px;
            overflow: hidden;
        }
        .stat-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--accent), var(--accent-light));
            border-radius: 3px;
            transition: width 0.3s ease;
        }
        .stat-value {
            font-weight: 700;
            font-size: 16px;
            min-width: 40px;
            text-align: right;
        }

        /* Goalkeeper leader items */
        .gk-leader-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px;
            margin-bottom: 6px;
            background: var(--bg-secondary);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .gk-leader-item:hover {
            background: var(--bg-tertiary);
        }
        .gk-info {
            flex: 1;
            min-width: 0;
        }
        .gk-name {
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .gk-team {
            font-size: 11px;
            color: var(--text-light);
        }
        .gk-stat {
            font-weight: 700;
            font-size: 14px;
        }

        /* Overview grid layout */
        .overview-grid {
            display: grid;
            grid-template-columns: 700px 700px;
            gap: 30px;
        }
        @media (max-width: 1200px) {
            .overview-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Season selector styling */
        #seasonSelector {
            transition: all 0.2s;
        }

        #seasonSelector:hover {
            border-color: var(--accent);
        }

        #seasonSelector:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
        }

        /* Loading animation */
        @keyframes loading {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(200%); }
        }

