/* roulang page: index */
:root {
            --primary: #0E4D3B;
            --accent: #C8F04A;
            --accent-num: #D6FF4D;
            --alert: #FF5A3C;
            --bg: #0F1512;
            --card: #18251F;
            --line: #2A3A33;
            --text: #EFF4ED;
            --muted: #A8BAAE;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
            --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
            --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-mono: 'Roboto Mono', 'DIN Condensed', 'SF Mono', 'Cascadia Code', Consolas, 'Courier New', monospace;
            --header-h: 68px;
            --container-w: 1200px;
            --section-gap: 72px;
            --card-gap: 18px;
            --transition: 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.7;
            font-size: 15px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }

        a:hover {
            color: var(--accent);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
            color: inherit;
        }

        ul,
        ol {
            list-style: none;
        }

        table {
            border-collapse: collapse;
            width: 100%;
        }

        .container {
            width: 100%;
            max-width: var(--container-w);
            margin: 0 auto;
            padding: 0 24px;
        }

        .num {
            font-family: var(--font-mono);
            font-variant-numeric: tabular-nums;
            letter-spacing: -0.01em;
        }

        .highlight-num {
            color: var(--accent-num);
            font-weight: 700;
        }

        .section {
            padding: var(--section-gap) 0;
            position: relative;
        }

        .section--alt {
            background: rgba(14, 77, 59, 0.08);
            border-top: 1px solid var(--line);
            border-bottom: 1px solid var(--line);
        }

        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 32px;
            gap: 16px;
            flex-wrap: wrap;
        }

        .section-header__title {
            font-size: 26px;
            font-weight: 700;
            line-height: 1.3;
            letter-spacing: 0.01em;
        }

        .section-header__title .section-tag {
            display: inline-block;
            font-size: 12px;
            font-weight: 600;
            color: var(--accent);
            border: 1px solid rgba(200, 240, 74, 0.4);
            border-radius: 20px;
            padding: 2px 10px;
            margin-bottom: 8px;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .section-header__action {
            font-size: 14px;
            font-weight: 600;
            color: var(--accent);
            white-space: nowrap;
            transition: color var(--transition);
        }

        .section-header__action:hover {
            color: var(--accent-num);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 24px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 0.02em;
            transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
            text-align: center;
            white-space: nowrap;
        }

        .btn:focus-visible,
        .btn:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .btn--primary {
            background-color: var(--accent);
            color: #0F1512;
        }

        .btn--primary:hover {
            background-color: var(--accent-num);
            transform: translateY(-1px);
            box-shadow: 0 8px 24px rgba(200, 240, 74, 0.3);
            color: #0F1512;
        }

        .btn--outline {
            background: transparent;
            color: var(--accent);
            border: 1px solid var(--accent);
        }

        .btn--outline:hover {
            background: rgba(200, 240, 74, 0.1);
            transform: translateY(-1px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
            color: var(--accent-num);
            border-color: var(--accent-num);
        }

        .btn--sm {
            padding: 8px 16px;
            font-size: 13px;
            border-radius: 6px;
        }

        .chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .chip {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
            border: 1px solid var(--line);
            background: var(--card);
            color: var(--muted);
            transition: all var(--transition);
            user-select: none;
        }

        .chip:hover {
            border-color: var(--accent);
            color: var(--text);
        }

        .chip--active {
            background: var(--accent);
            color: #0F1512;
            border-color: var(--accent);
            font-weight: 600;
        }

        .chip--active:hover {
            color: #0F1512;
        }

        .card {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-md);
            transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
        }

        .card:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-lg);
        }

        .card--interactive:hover {
            transform: translateY(-2px);
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            font-weight: 600;
            padding: 3px 10px;
            border-radius: 12px;
            letter-spacing: 0.04em;
            border: 1px solid var(--line);
            color: var(--muted);
        }

        .badge--accent {
            border-color: rgba(200, 240, 74, 0.5);
            color: var(--accent);
        }

        .badge--alert {
            border-color: rgba(255, 90, 60, 0.5);
            color: var(--alert);
        }

        .divider {
            border: none;
            border-top: 1px solid var(--line);
            margin: 24px 0;
        }

        /* Header */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            height: var(--header-h);
            background: rgba(15, 21, 18, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--line);
            display: flex;
            align-items: center;
        }

        .site-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .site-header__logo {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            font-size: 18px;
            color: var(--text);
            white-space: nowrap;
            letter-spacing: 0.02em;
        }

        .site-header__logo .logo-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--accent);
            flex-shrink: 0;
            box-shadow: 0 0 12px rgba(200, 240, 74, 0.6);
        }

        .site-header__nav {
            display: flex;
            align-items: center;
            gap: 28px;
        }

        .site-header__nav a {
            font-size: 14px;
            font-weight: 500;
            color: var(--muted);
            transition: color var(--transition);
            position: relative;
            padding: 4px 0;
        }

        .site-header__nav a:hover,
        .site-header__nav a.is-active {
            color: var(--text);
        }

        .site-header__nav a.is-active::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--accent);
            border-radius: 1px;
        }

        .site-header__cta {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .nav-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 10px;
            border: 1px solid var(--line);
            border-radius: 8px;
            background: var(--card);
        }

        .nav-toggle span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: all var(--transition);
        }

        .nav-toggle.is-open span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        .nav-toggle.is-open span:nth-child(2) {
            opacity: 0;
        }
        .nav-toggle.is-open span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        .mobile-drawer {
            display: none;
            position: fixed;
            top: var(--header-h);
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--bg);
            z-index: 99;
            padding: 24px;
            overflow-y: auto;
            border-top: 1px solid var(--line);
        }

        .mobile-drawer.is-open {
            display: block;
        }

        .mobile-drawer__nav {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .mobile-drawer__nav a {
            padding: 14px 12px;
            font-size: 16px;
            font-weight: 500;
            border-bottom: 1px solid var(--line);
            color: var(--text);
        }
        .mobile-drawer__nav a:hover {
            background: var(--card);
            color: var(--accent);
        }

        /* Hero */
        .hero {
            position: relative;
            padding: 56px 0 64px;
            background: radial-gradient(ellipse at 30% 40%, rgba(14, 77, 59, 0.7) 0%, rgba(15, 21, 18, 0.98) 70%),
                repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(200, 240, 74, 0.03) 40px),
                repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(200, 240, 74, 0.03) 40px);
            border-bottom: 1px solid var(--line);
            overflow: hidden;
        }

        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 70% 20%, rgba(200, 240, 74, 0.06) 0%, transparent 50%);
            pointer-events: none;
        }

        .hero .container {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }

        .hero__content {
            padding-right: 8px;
        }

        .hero__tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 500;
            color: var(--accent);
            border: 1px solid rgba(200, 240, 74, 0.4);
            border-radius: 20px;
            padding: 6px 14px;
            margin-bottom: 20px;
        }

        .hero__tag .pulse-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--accent);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.5;
                transform: scale(1.5);
            }
        }

        .hero__title {
            font-size: 38px;
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: 0.01em;
            margin-bottom: 18px;
            color: var(--text);
        }

        .hero__subtitle {
            font-size: 17px;
            color: var(--muted);
            line-height: 1.7;
            margin-bottom: 28px;
            max-width: 520px;
        }

        .hero__actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 28px;
        }

        .hero__chips {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .hero__panel {
            background: rgba(24, 37, 31, 0.85);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            padding: 24px;
            box-shadow: var(--shadow-lg);
        }

        .hero__panel-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--muted);
            margin-bottom: 14px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .hero__panel-match {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--line);
        }

        .hero__panel-match .team {
            font-weight: 600;
            font-size: 16px;
        }

        .hero__panel-match .score {
            font-family: var(--font-mono);
            font-size: 28px;
            font-weight: 700;
            color: var(--accent-num);
        }

        .hero__panel-stats {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 8px;
            text-align: center;
        }

        .hero__panel-stat {
            padding: 10px 4px;
            border-radius: 8px;
            background: rgba(14, 77, 59, 0.3);
            border: 1px solid rgba(42, 58, 51, 0.6);
        }

        .hero__panel-stat .stat-label {
            display: block;
            font-size: 11px;
            color: var(--muted);
            margin-bottom: 4px;
            letter-spacing: 0.03em;
        }

        .hero__panel-stat .stat-value {
            display: block;
            font-family: var(--font-mono);
            font-size: 18px;
            font-weight: 700;
            color: var(--accent-num);
            font-variant-numeric: tabular-nums;
        }

        /* Ticker */
        .ticker-section {
            background: rgba(14, 77, 59, 0.25);
            border-bottom: 1px solid var(--line);
            padding: 14px 0;
            overflow: hidden;
            position: relative;
        }

        .ticker-wrap {
            display: flex;
            gap: 0;
            white-space: nowrap;
            animation: tickerScroll 35s linear infinite;
            width: max-content;
        }

        .ticker-section:hover .ticker-wrap {
            animation-play-state: paused;
        }

        @keyframes tickerScroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        .ticker-item {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 0 28px;
            font-size: 13px;
            color: var(--muted);
            border-right: 1px solid rgba(42, 58, 51, 0.5);
        }

        .ticker-item .ticker-league {
            font-weight: 600;
            color: var(--accent);
            font-size: 12px;
        }

        .ticker-item .ticker-score {
            font-family: var(--font-mono);
            font-weight: 700;
            color: var(--text);
            font-variant-numeric: tabular-nums;
        }

        .ticker-item .ticker-minute {
            font-family: var(--font-mono);
            font-size: 12px;
            color: var(--alert);
        }

        /* Match cards */
        .match-scroll {
            display: flex;
            gap: var(--card-gap);
            overflow-x: auto;
            padding-bottom: 12px;
            scroll-snap-type: x mandatory;
            scrollbar-width: thin;
            scrollbar-color: var(--line) transparent;
        }

        .match-scroll::-webkit-scrollbar {
            height: 6px;
        }

        .match-scroll::-webkit-scrollbar-track {
            background: transparent;
        }

        .match-scroll::-webkit-scrollbar-thumb {
            background: var(--line);
            border-radius: 3px;
        }

        .match-card {
            flex: 0 0 300px;
            scroll-snap-align: start;
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 18px;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
        }

        .match-card:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .match-card__top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
            font-size: 12px;
            color: var(--muted);
        }

        .match-card__league {
            font-weight: 600;
            color: var(--accent);
            font-size: 12px;
        }

        .match-card__time {
            font-family: var(--font-mono);
            font-size: 12px;
        }

        .match-card__teams {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px;
        }

        .match-card__team {
            font-size: 14px;
            font-weight: 600;
            max-width: 110px;
            text-align: center;
            line-height: 1.3;
        }

        .match-card__score {
            font-family: var(--font-mono);
            font-size: 22px;
            font-weight: 700;
            color: var(--accent-num);
            font-variant-numeric: tabular-nums;
        }

        .match-card__mini-stats {
            display: flex;
            gap: 6px;
            justify-content: space-between;
            padding-top: 12px;
            border-top: 1px solid var(--line);
        }

        .match-card__mini-stat {
            text-align: center;
            flex: 1;
        }

        .match-card__mini-stat .ms-label {
            font-size: 10px;
            color: var(--muted);
            letter-spacing: 0.03em;
        }

        .match-card__mini-stat .ms-value {
            font-family: var(--font-mono);
            font-size: 14px;
            font-weight: 600;
            color: var(--text);
        }

        /* Table */
        .table-wrap {
            overflow-x: auto;
            border-radius: var(--radius-md);
            border: 1px solid var(--line);
            background: var(--card);
            box-shadow: var(--shadow-sm);
        }

        .table-wrap table {
            min-width: 680px;
        }

        .table-wrap th,
        .table-wrap td {
            padding: 12px 16px;
            text-align: left;
            font-size: 14px;
            border-bottom: 1px solid rgba(42, 58, 51, 0.4);
            white-space: nowrap;
        }

        .table-wrap th {
            font-weight: 600;
            color: var(--muted);
            font-size: 12px;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            background: rgba(14, 77, 59, 0.35);
        }

        .table-wrap tr:last-child td {
            border-bottom: none;
        }

        .table-wrap tr:hover td {
            background: rgba(200, 240, 74, 0.03);
        }

        .rank-num {
            font-family: var(--font-mono);
            font-weight: 700;
            color: var(--accent);
            font-size: 15px;
        }

        .bar-cell {
            position: relative;
            min-width: 120px;
        }

        .bar-cell .bar-bg {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 6px;
            top: 6px;
            background: rgba(42, 58, 51, 0.3);
            border-radius: 4px;
            overflow: hidden;
        }

        .bar-cell .bar-fill {
            height: 100%;
            background: var(--accent);
            border-radius: 4px;
            transition: width 0.5s ease;
            opacity: 0.7;
        }

        .bar-cell .bar-value {
            position: relative;
            z-index: 1;
            font-family: var(--font-mono);
            font-weight: 600;
            font-size: 13px;
            font-variant-numeric: tabular-nums;
        }

        /* Heat map section */
        .heatmap-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            align-items: start;
        }

        .heatmap-visual {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            min-height: 360px;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image:
                repeating-linear-gradient(0deg, transparent, transparent 45px, rgba(200, 240, 74, 0.04) 46px),
                repeating-linear-gradient(90deg, transparent, transparent 45px, rgba(200, 240, 74, 0.04) 46px);
            position: relative;
        }

        .heatmap-visual .pitch-shape {
            width: 80%;
            aspect-ratio: 1.4;
            border: 3px solid rgba(200, 240, 74, 0.35);
            border-radius: 4px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .heatmap-visual .pitch-shape::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 3px;
            background: rgba(200, 240, 74, 0.35);
            transform: translateX(-50%);
        }

        .heatmap-visual .pitch-shape::after {
            content: '';
            position: absolute;
            width: 30%;
            aspect-ratio: 1.5;
            border: 3px solid rgba(200, 240, 74, 0.35);
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .heatmap-visual .heat-dot {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
            opacity: 0.6;
            box-shadow: 0 0 14px rgba(200, 240, 74, 0.6);
        }

        .heatmap-legend {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 24px;
            box-shadow: var(--shadow-sm);
        }

        .heatmap-legend h3 {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .heatmap-legend p {
            font-size: 14px;
            color: var(--muted);
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .legend-gradient {
            height: 12px;
            border-radius: 6px;
            background: linear-gradient(90deg, #1a2e28, #0E4D3B, #C8F04A, #FF5A3C);
            margin-bottom: 8px;
        }

        .legend-labels {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            color: var(--muted);
        }

        /* Pass network */
        .pass-network {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 24px;
            box-shadow: var(--shadow-sm);
        }

        .pass-network__visual {
            aspect-ratio: 1.6;
            background-image:
                repeating-linear-gradient(0deg, transparent, transparent 33px, rgba(200, 240, 74, 0.04) 34px),
                repeating-linear-gradient(90deg, transparent, transparent 33px, rgba(200, 240, 74, 0.04) 34px);
            border-radius: 8px;
            border: 1px solid rgba(42, 58, 51, 0.6);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
        }

        .pass-network__visual::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: rgba(200, 240, 74, 0.2);
            transform: translateX(-50%);
        }

        .pass-network__visual::after {
            content: '';
            position: absolute;
            width: 35%;
            aspect-ratio: 1.8;
            border: 2px solid rgba(200, 240, 74, 0.2);
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .pass-node {
            position: absolute;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--primary);
            border: 2px solid var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-mono);
            font-size: 13px;
            font-weight: 700;
            color: var(--accent-num);
            box-shadow: 0 0 16px rgba(200, 240, 74, 0.4);
            transition: box-shadow var(--transition), transform var(--transition);
            z-index: 1;
        }

        .pass-node:hover {
            box-shadow: 0 0 28px rgba(200, 240, 74, 0.8);
            transform: scale(1.15);
        }

        .pass-network__controls {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Player cards */
        .player-scroll {
            display: flex;
            gap: var(--card-gap);
            overflow-x: auto;
            padding-bottom: 12px;
            scroll-snap-type: x mandatory;
            scrollbar-width: thin;
            scrollbar-color: var(--line) transparent;
        }

        .player-scroll::-webkit-scrollbar {
            height: 6px;
        }

        .player-scroll::-webkit-scrollbar-thumb {
            background: var(--line);
            border-radius: 3px;
        }

        .player-card {
            flex: 0 0 220px;
            scroll-snap-align: start;
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 20px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
        }

        .player-card:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .player-card__avatar {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            background: rgba(14, 77, 59, 0.4);
            border: 2px solid var(--accent);
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-mono);
            font-size: 20px;
            font-weight: 700;
            color: var(--accent);
        }

        .player-card__name {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .player-card__pos-club {
            font-size: 12px;
            color: var(--muted);
            margin-bottom: 12px;
        }

        .player-card__stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 4px;
            padding-top: 12px;
            border-top: 1px solid var(--line);
        }

        .player-card__stat {
            text-align: center;
        }

        .player-card__stat .ps-label {
            display: block;
            font-size: 10px;
            color: var(--muted);
            letter-spacing: 0.03em;
        }

        .player-card__stat .ps-value {
            display: block;
            font-family: var(--font-mono);
            font-size: 14px;
            font-weight: 700;
            color: var(--accent-num);
        }

        /* League tabs */
        .tabs {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        .tab {
            padding: 9px 18px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            border: 1px solid var(--line);
            background: var(--card);
            color: var(--muted);
            transition: all var(--transition);
        }

        .tab:hover {
            border-color: var(--accent);
            color: var(--text);
        }

        .tab--active {
            background: var(--accent);
            color: #0F1512;
            border-color: var(--accent);
            font-weight: 600;
        }

        .league-layout {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 24px;
            align-items: start;
        }

        .league-side {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .league-side .side-card {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 20px;
            box-shadow: var(--shadow-sm);
        }

        .league-side .side-card h4 {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text);
        }

        .attack-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
            font-size: 12px;
            color: var(--muted);
        }

        .attack-bar .bar-track {
            flex: 1;
            height: 8px;
            background: rgba(42, 58, 51, 0.5);
            border-radius: 4px;
            overflow: hidden;
        }

        .attack-bar .bar-fill-attack {
            height: 100%;
            background: var(--accent);
            border-radius: 4px;
        }

        .attack-bar .bar-fill-defence {
            height: 100%;
            background: var(--alert);
            border-radius: 4px;
            opacity: 0.7;
        }

        /* Formation */
        .formation-grid {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 32px 20px;
            box-shadow: var(--shadow-sm);
            position: relative;
            min-height: 420px;
            background-image:
                repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(200, 240, 74, 0.04) 51px),
                repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(200, 240, 74, 0.04) 51px);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 16px;
        }

        .formation-row {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .formation-player {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: var(--primary);
            border: 2px solid var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-mono);
            font-size: 14px;
            font-weight: 700;
            color: var(--accent-num);
            position: relative;
            cursor: pointer;
            transition: all var(--transition);
        }

        .formation-player:hover {
            box-shadow: 0 0 24px rgba(200, 240, 74, 0.7);
            transform: scale(1.1);
        }

        .formation-player .mini-tip {
            display: none;
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            background: rgba(15, 21, 18, 0.95);
            border: 1px solid var(--accent);
            border-radius: 8px;
            padding: 10px 12px;
            font-family: var(--font-sans);
            font-size: 11px;
            font-weight: 400;
            color: var(--text);
            white-space: nowrap;
            z-index: 10;
            box-shadow: var(--shadow-md);
        }

        .formation-player:hover .mini-tip {
            display: block;
        }

        /* Insight cards */
        .insight-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: var(--card-gap);
        }

        .insight-main {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
        }

        .insight-main:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-md);
        }

        .insight-main__img {
            aspect-ratio: 2;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .insight-main__img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 40%, rgba(15, 21, 18, 0.85));
        }

        .insight-main__body {
            padding: 18px;
        }

        .insight-main__tag {
            font-size: 12px;
            font-weight: 600;
            color: var(--accent);
            border: 1px solid rgba(200, 240, 74, 0.4);
            border-radius: 12px;
            padding: 2px 10px;
            display: inline-block;
            margin-bottom: 10px;
        }

        .insight-main__title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 6px;
            line-height: 1.4;
        }

        .insight-main__desc {
            font-size: 13px;
            color: var(--muted);
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .insight-small-list {
            display: flex;
            flex-direction: column;
            gap: var(--card-gap);
        }

        .insight-small {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 16px;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
            flex: 1;
        }

        .insight-small:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-md);
        }

        .insight-small__tag {
            font-size: 11px;
            font-weight: 600;
            color: var(--accent);
            border: 1px solid rgba(200, 240, 74, 0.4);
            border-radius: 10px;
            padding: 2px 8px;
            display: inline-block;
            margin-bottom: 8px;
        }

        .insight-small__title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 4px;
            line-height: 1.4;
        }

        .insight-small__desc {
            font-size: 12px;
            color: var(--muted);
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Compare tool */
        .compare-tool {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 24px;
            box-shadow: var(--shadow-sm);
        }

        .compare-selectors {
            display: flex;
            gap: 20px;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .compare-select {
            flex: 1;
            min-width: 180px;
            padding: 12px 16px;
            background: var(--bg);
            border: 1px solid var(--line);
            border-radius: 8px;
            color: var(--text);
            font-size: 14px;
            transition: border-color var(--transition), box-shadow var(--transition);
        }

        .compare-select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(200, 240, 74, 0.2);
        }

        .compare-vs {
            font-family: var(--font-mono);
            font-size: 18px;
            font-weight: 700;
            color: var(--alert);
        }

        .compare-table th,
        .compare-table td {
            font-size: 13px;
            padding: 10px 14px;
        }

        /* Match center */
        .match-center-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .match-center-item {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
        }

        .match-center-item:hover {
            border-color: var(--accent);
        }

        .match-center-item details {
            cursor: pointer;
        }

        .match-center-item summary {
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            font-size: 14px;
            font-weight: 500;
        }

        .match-center-item summary::-webkit-details-marker {
            display: none;
        }

        .match-center-item summary .expand-icon {
            font-family: var(--font-mono);
            font-size: 18px;
            color: var(--accent);
            transition: transform var(--transition);
        }

        .match-center-item details[open] summary .expand-icon {
            transform: rotate(45deg);
        }

        .match-center-item .expand-body {
            padding: 4px 20px 16px;
            border-top: 1px solid var(--line);
            padding-top: 14px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            font-size: 12px;
            color: var(--muted);
        }

        .match-center-item .expand-body span {
            font-family: var(--font-mono);
            color: var(--text);
            font-weight: 600;
        }

        /* History DB */
        .history-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .history-milestones {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }

        .milestone-card {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 16px;
            text-align: center;
            box-shadow: var(--shadow-sm);
        }

        .milestone-card .milestone-label {
            font-size: 11px;
            color: var(--muted);
            letter-spacing: 0.04em;
            margin-bottom: 4px;
        }

        .milestone-card .milestone-value {
            font-family: var(--font-mono);
            font-size: 16px;
            font-weight: 700;
            color: var(--accent-num);
        }

        .season-selector {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }

        /* API section */
        .api-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            align-items: start;
        }

        .api-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .api-list li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 14px;
            color: var(--text);
            line-height: 1.6;
        }

        .api-list li::before {
            content: '◆';
            color: var(--accent);
            font-size: 10px;
            margin-top: 5px;
            flex-shrink: 0;
        }

        .subscribe-form {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 24px;
            box-shadow: var(--shadow-sm);
        }

        .subscribe-form .form-group {
            margin-bottom: 16px;
        }

        .subscribe-form label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: var(--muted);
            margin-bottom: 6px;
            letter-spacing: 0.03em;
        }

        .subscribe-form input[type="email"] {
            width: 100%;
            max-width: 400px;
            padding: 12px 16px;
            background: var(--bg);
            border: 1px solid var(--line);
            border-radius: 8px;
            color: var(--text);
            font-size: 14px;
            transition: border-color var(--transition), box-shadow var(--transition);
        }

        .subscribe-form input[type="email"]:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(200, 240, 74, 0.2);
        }

        .subscribe-form .radio-group {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .subscribe-form .radio-label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: var(--text);
            font-weight: 400;
        }

        .subscribe-form input[type="radio"] {
            accent-color: var(--accent);
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .form-msg {
            display: none;
            margin-top: 12px;
            padding: 10px 14px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            background: rgba(200, 240, 74, 0.15);
            border: 1px solid rgba(200, 240, 74, 0.4);
            color: var(--accent-num);
        }

        .form-msg.is-visible {
            display: block;
        }

        /* Accordion */
        .accordion {
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            overflow: hidden;
            background: var(--card);
            box-shadow: var(--shadow-sm);
        }

        .accordion-item {
            border-bottom: 1px solid var(--line);
        }

        .accordion-item:last-child {
            border-bottom: none;
        }

        .accordion-item summary {
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: background var(--transition);
        }

        .accordion-item summary::-webkit-details-marker {
            display: none;
        }

        .accordion-item summary:hover {
            background: rgba(200, 240, 74, 0.04);
        }

        .accordion-item summary .acc-icon {
            font-family: var(--font-mono);
            font-size: 20px;
            color: var(--accent);
            transition: transform var(--transition);
            flex-shrink: 0;
            margin-left: 8px;
        }

        .accordion-item[open] summary .acc-icon {
            transform: rotate(45deg);
        }

        .accordion-item[open] summary {
            background: rgba(200, 240, 74, 0.06);
            border-bottom: 1px solid rgba(200, 240, 74, 0.2);
        }

        .accordion-item .acc-body {
            padding: 16px 20px;
            font-size: 14px;
            color: var(--muted);
            line-height: 1.7;
            background: rgba(15, 21, 18, 0.5);
        }

        /* Footer */
        .site-footer {
            background: #0C120F;
            border-top: 1px solid var(--line);
            padding: 40px 0 24px;
            font-size: 13px;
            color: var(--muted);
        }

        .site-footer__links {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
            margin-bottom: 24px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(42, 58, 51, 0.5);
        }

        .site-footer__links a {
            color: var(--muted);
            font-size: 13px;
            transition: color var(--transition);
        }

        .site-footer__links a:hover {
            color: var(--accent);
            text-decoration: underline;
        }

        .site-footer__copyright {
            text-align: center;
            font-size: 12px;
            color: var(--muted);
            margin-bottom: 8px;
        }

        .site-footer__beian {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
            font-size: 12px;
            color: var(--muted);
            margin-bottom: 16px;
        }

        .site-footer__legal {
            text-align: center;
            font-size: 12px;
        }
        .site-footer__legal a {
            color: var(--muted);
            margin: 0 8px;
            transition: color var(--transition);
        }
        .site-footer__legal a:hover {
            color: var(--accent);
            text-decoration: underline;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .container {
                padding: 0 20px;
            }
            .section {
                padding: 56px 0;
            }
            .hero .container {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .hero__title {
                font-size: 30px;
            }
            .league-layout {
                grid-template-columns: 1fr;
            }
            .api-layout {
                grid-template-columns: 1fr;
            }
            .heatmap-grid {
                grid-template-columns: 1fr;
            }
            .insight-grid {
                grid-template-columns: 1fr;
            }
            .history-grid {
                grid-template-columns: 1fr;
            }
            .site-header__nav {
                display: none;
            }
            .site-header__cta .btn--outline {
                display: none;
            }
            .nav-toggle {
                display: flex;
            }
        }

        @media (max-width: 768px) {
            .section {
                padding: 40px 0;
            }
            .section-header__title {
                font-size: 22px;
            }
            .hero {
                padding: 40px 0 48px;
            }
            .hero__title {
                font-size: 26px;
            }
            .hero__panel-stats {
                grid-template-columns: repeat(3, 1fr);
                gap: 6px;
            }
            .match-card {
                flex-basis: 260px;
            }
            .player-card {
                flex-basis: 190px;
            }
            .history-milestones {
                grid-template-columns: repeat(2, 1fr);
            }
            .compare-selectors {
                flex-direction: column;
                align-items: stretch;
            }
            .compare-vs {
                text-align: center;
            }
            .match-center-item .expand-body {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 14px;
            }
            .section-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .hero__title {
                font-size: 22px;
            }
            .hero__subtitle {
                font-size: 15px;
            }
            .hero__actions {
                flex-direction: column;
            }
            .hero__panel-stats {
                grid-template-columns: repeat(2, 1fr);
            }
            .match-card {
                flex-basis: 240px;
            }
            .player-card {
                flex-basis: 160px;
            }
            .history-milestones {
                grid-template-columns: 1fr;
            }
            .match-center-item .expand-body {
                grid-template-columns: 1fr;
            }
            .formation-grid {
                min-height: 300px;
                padding: 20px 10px;
            }
            .formation-player {
                width: 40px;
                height: 40px;
                font-size: 11px;
            }
            .formation-row {
                gap: 10px;
            }
            .site-footer__beian {
                flex-direction: column;
                align-items: center;
                gap: 4px;
            }
        }
