/* roulang page: index */
:root {
            --primary: #0D1F16;
            --primary-deep: #05120B;
            --accent: #B7F34A;
            --accent-dark: #9CD93C;
            --alert: #FF5A3C;
            --bg: #F4F1EA;
            --bg-card: #FFFFFF;
            --bg-dark: #101A14;
            --text: #1A1A1A;
            --text-secondary: #5C5C5C;
            --text-light: #E8E4DA;
            --text-muted: #8A8A8A;
            --border: #D8D4CC;
            --border-dark: #2A342E;
            --radius-sm: 4px;
            --radius-md: 6px;
            --radius-lg: 8px;
            --shadow-sm: 0 1px 3px rgba(13, 31, 22, 0.06);
            --shadow-md: 0 4px 16px rgba(13, 31, 22, 0.08);
            --shadow-lg: 0 8px 32px rgba(13, 31, 22, 0.12);
            --font-sans: 'PingFang SC', 'Microsoft YaHei', 'HarmonyOS Sans SC', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --font-mono: 'SF Mono', 'JetBrains Mono', 'DIN Alternate', 'Roboto Mono', 'Courier New', monospace;
            --nav-height: 64px;
            --section-gap: 64px;
            --card-gap: 20px;
            --container-max: 1200px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
            font-size: 100%;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background-color: var(--bg);
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        img {
            display: block;
            max-width: 100%;
            height: auto;
            border: 0;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition), border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
        }

        button,
        input,
        select {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
            color: inherit;
            border: none;
            outline: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background: none;
        }

        button {
            cursor: pointer;
        }

        ul,
        ol {
            list-style: none;
        }

        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ========== 导航 ========== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background-color: var(--primary);
            height: var(--nav-height);
            display: flex;
            align-items: center;
            box-shadow: 0 2px 12px rgba(13, 31, 22, 0.15);
        }

        .header-inner {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
            font-weight: 700;
            font-size: 20px;
            letter-spacing: 0.02em;
            color: var(--accent);
            white-space: nowrap;
        }

        .logo-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: var(--radius-sm);
            background-color: var(--accent);
            color: var(--primary);
            font-weight: 800;
            font-size: 16px;
            flex-shrink: 0;
        }

        .main-nav {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: nowrap;
        }

        .main-nav a {
            display: inline-flex;
            align-items: center;
            padding: 8px 14px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-light);
            border-radius: var(--radius-sm);
            white-space: nowrap;
            letter-spacing: 0.01em;
            transition: background-color var(--transition), color var(--transition);
        }

        .main-nav a:hover,
        .main-nav a:focus-visible {
            background-color: rgba(183, 243, 74, 0.12);
            color: var(--accent);
        }

        .main-nav a.active {
            color: var(--accent);
            background-color: rgba(183, 243, 74, 0.08);
        }

        .nav-cta {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            background-color: var(--accent);
            color: var(--primary);
            font-weight: 700;
            font-size: 14px;
            border-radius: var(--radius-sm);
            white-space: nowrap;
            flex-shrink: 0;
            transition: background-color var(--transition), transform var(--transition);
        }

        .nav-cta:hover,
        .nav-cta:focus-visible {
            background-color: var(--accent-dark);
            transform: translateY(-1px);
        }

        .nav-cta:active {
            transform: translateY(0);
        }

        .nav-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 8px;
            border-radius: var(--radius-sm);
            transition: background-color var(--transition);
            flex-shrink: 0;
        }

        .nav-toggle span {
            display: block;
            width: 22px;
            height: 2px;
            background-color: var(--accent);
            border-radius: 1px;
            transition: transform var(--transition), opacity var(--transition);
        }

        .nav-toggle:hover,
        .nav-toggle:focus-visible {
            background-color: rgba(183, 243, 74, 0.12);
        }

        .nav-toggle.nav-open span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .nav-toggle.nav-open span:nth-child(2) {
            opacity: 0;
        }

        .nav-toggle.nav-open span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* ========== section 通用 ========== */
        section {
            padding: var(--section-gap) 0;
        }

        .section-dark {
            background-color: var(--bg-dark);
            color: var(--text-light);
        }

        .section-light {
            background-color: var(--bg);
        }

        .section-white {
            background-color: var(--bg-card);
        }

        .section-hint {
            display: inline-block;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--alert);
            margin-bottom: 12px;
        }

        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 36px;
            flex-wrap: wrap;
        }

        .section-header h2 {
            font-size: 30px;
            font-weight: 700;
            line-height: 1.3;
            letter-spacing: 0.01em;
            color: var(--text);
        }

        .section-dark .section-header h2 {
            color: var(--text-light);
        }

        .section-header .header-meta {
            font-size: 14px;
            color: var(--text-secondary);
            max-width: 420px;
            line-height: 1.6;
        }

        .section-dark .section-header .header-meta {
            color: var(--text-muted);
        }

        /* ========== Hero ========== */
        .hero {
            position: relative;
            background-color: var(--primary);
            color: var(--text-light);
            padding: 80px 0 72px;
            overflow: hidden;
        }

        .hero-bg-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            background-image: url('/assets/images/864d98317c6c791b.webp');
            background-size: cover;
            background-position: center;
            opacity: 0.18;
            z-index: 0;
         background-size: cover !important;}

        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(13, 31, 22, 0.92) 0%, rgba(13, 31, 22, 0.55) 50%, rgba(13, 31, 22, 0.9) 100%);
            z-index: 1;
        }

        .hero .container {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }

        .hero-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: rgba(183, 243, 74, 0.12);
            border: 1px solid rgba(183, 243, 74, 0.25);
            color: var(--accent);
            padding: 6px 14px;
            font-size: 13px;
            font-weight: 600;
            border-radius: 50px;
            width: fit-content;
            letter-spacing: 0.03em;
        }

        .hero-badge .dot {
            width: 6px;
            height: 6px;
            background-color: var(--accent);
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                opacity: 1;
            }
            50% {
                opacity: 0.3;
            }
        }

        .hero h1 {
            font-size: 40px;
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: 0.01em;
            color: #FFFFFF;
            margin: 0;
        }

        .hero h1 .accent-text {
            color: var(--accent);
        }

        .hero p.subtitle {
            font-size: 18px;
            font-weight: 400;
            line-height: 1.7;
            color: rgba(232, 228, 218, 0.85);
            max-width: 510px;
        }

        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            margin-top: 8px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 28px;
            font-size: 15px;
            font-weight: 600;
            border-radius: var(--radius-sm);
            letter-spacing: 0.02em;
            transition: all var(--transition);
            white-space: nowrap;
        }

        .btn-primary {
            background-color: var(--accent);
            color: var(--primary);
        }

        .btn-primary:hover,
        .btn-primary:focus-visible {
            background-color: var(--accent-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(183, 243, 74, 0.3);
        }

        .btn-primary:active {
            transform: translateY(0);
            box-shadow: none;
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--text-light);
            border: 1px solid rgba(232, 228, 218, 0.35);
        }

        .btn-secondary:hover,
        .btn-secondary:focus-visible {
            border-color: var(--accent);
            color: var(--accent);
            background-color: rgba(183, 243, 74, 0.08);
        }

        .btn-dark {
            background-color: var(--primary);
            color: var(--accent);
            border: 1px solid var(--primary);
        }

        .btn-dark:hover,
        .btn-dark:focus-visible {
            background-color: var(--primary-deep);
            border-color: var(--primary-deep);
        }

        .hero-panel {
            background-color: rgba(16, 26, 20, 0.75);
            border: 1px solid rgba(183, 243, 74, 0.18);
            border-radius: var(--radius-lg);
            padding: 24px;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .hero-panel-label {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hero-panel-label::after {
            content: '';
            flex: 1;
            height: 1px;
            background-color: rgba(232, 228, 218, 0.12);
        }

        .hero-stat-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid rgba(232, 228, 218, 0.08);
        }

        .hero-stat-row:last-child {
            border-bottom: none;
        }

        .hero-stat-team {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-light);
        }

        .hero-stat-score {
            font-family: var(--font-mono);
            font-size: 20px;
            font-weight: 700;
            color: var(--accent);
            letter-spacing: 0.02em;
        }

        .hero-stat-xg {
            font-family: var(--font-mono);
            font-size: 13px;
            color: var(--text-muted);
        }

        .hero-chart-placeholder {
            width: 100%;
            height: 140px;
            border: 1px dashed rgba(232, 228, 218, 0.25);
            border-radius: var(--radius-sm);
            background-color: rgba(255, 255, 255, 0.03);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            color: var(--text-muted);
            letter-spacing: 0.04em;
        }

        /* ========== 实时快照条 ========== */
        .snapshot-strip {
            background-color: var(--primary-deep);
            padding: 16px 0;
            border-bottom: 1px solid rgba(183, 243, 74, 0.12);
            overflow: hidden;
        }

        .snapshot-track {
            display: flex;
            gap: 0;
            width: max-content;
            animation: none;
            flex-wrap: nowrap;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding: 0 12px;
        }

        .snapshot-track::-webkit-scrollbar {
            display: none;
        }

        .snapshot-item {
            display: inline-flex;
            align-items: center;
            gap: 16px;
            padding: 6px 18px;
            border-right: 1px solid rgba(232, 228, 218, 0.1);
            min-width: 200px;
            flex-shrink: 0;
        }

        .snapshot-league {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.05em;
            color: var(--text-muted);
            white-space: nowrap;
        }

        .snapshot-match {
            font-size: 13px;
            color: var(--text-light);
            font-weight: 500;
            white-space: nowrap;
        }

        .snapshot-score {
            font-family: var(--font-mono);
            font-size: 18px;
            font-weight: 700;
            color: var(--accent);
            letter-spacing: 0.02em;
        }

        .snapshot-indicator {
            font-family: var(--font-mono);
            font-size: 12px;
            color: var(--text-muted);
            white-space: nowrap;
        }

        .snapshot-indicator .live-dot {
            display: inline-block;
            width: 6px;
            height: 6px;
            background-color: var(--alert);
            border-radius: 50%;
            animation: pulse-dot 1.2s infinite;
            margin-right: 4px;
        }

        /* ========== 查询引擎 ========== */
        .query-engine {
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            padding: 32px;
            margin-top: -48px;
            position: relative;
            z-index: 3;
        }

        .query-engine .container-inner {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr auto;
            gap: 16px;
            align-items: end;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-group label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            letter-spacing: 0.02em;
        }

        .form-group input,
        .form-group select {
            background-color: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 12px 16px;
            font-size: 14px;
            color: var(--text);
            transition: border-color var(--transition), box-shadow var(--transition);
            width: 100%;
        }

        .form-group input:focus,
        .form-group select:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(183, 243, 74, 0.2);
        }

        .form-group input.error {
            border-color: var(--alert);
            box-shadow: 0 0 0 3px rgba(255, 90, 60, 0.15);
        }

        .btn-search {
            background-color: var(--primary);
            color: var(--accent);
            padding: 12px 24px;
            font-size: 14px;
            font-weight: 600;
            border-radius: var(--radius-sm);
            white-space: nowrap;
            transition: background-color var(--transition), transform var(--transition);
        }

        .btn-search:hover,
        .btn-search:focus-visible {
            background-color: var(--primary-deep);
            transform: translateY(-1px);
        }

        /* ========== 联赛入口矩阵 ========== */
        .league-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 14px;
        }

        .league-entry {
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 20px 16px;
            text-align: center;
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
            letter-spacing: 0.02em;
            transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 64px;
        }

        .league-entry:hover,
        .league-entry:focus-visible {
            border-color: var(--accent);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        /* ========== 焦点比赛卡 ========== */
        .focus-cards {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--card-gap);
        }

        .focus-card {
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
        }

        .focus-card:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .focus-card-league {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.05em;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .focus-card-league .tag {
            background-color: var(--bg);
            border: 1px solid var(--border);
            border-radius: 3px;
            padding: 2px 8px;
            font-size: 11px;
            font-weight: 600;
            color: var(--text-secondary);
        }

        .focus-card-matchup {
            font-size: 17px;
            font-weight: 700;
            line-height: 1.3;
            color: var(--text);
        }

        .focus-card-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            border-top: 1px solid var(--border);
            padding-top: 12px;
        }

        .focus-stat {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .focus-stat .label {
            font-size: 11px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .focus-stat .value {
            font-family: var(--font-mono);
            font-size: 18px;
            font-weight: 700;
            color: var(--text);
        }

        .focus-stat .value.alert {
            color: var(--alert);
        }

        .focus-card-time {
            font-size: 12px;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* ========== 排行表格 ========== */
        .ranking-tabs {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        .ranking-tab {
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            background-color: var(--bg);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            cursor: pointer;
            transition: all var(--transition);
            white-space: nowrap;
        }

        .ranking-tab:hover,
        .ranking-tab:focus-visible {
            border-color: var(--accent);
            color: var(--text);
        }

        .ranking-tab.active {
            background-color: var(--primary);
            color: var(--accent);
            border-color: var(--primary);
        }

        .ranking-list {
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            overflow: hidden;
        }

        .ranking-row {
            display: flex;
            align-items: center;
            padding: 14px 20px;
            gap: 16px;
            border-bottom: 1px solid var(--border);
            transition: background-color var(--transition);
        }

        .ranking-row:last-child {
            border-bottom: none;
        }

        .ranking-row:hover {
            background-color: var(--bg);
        }

        .ranking-num {
            font-family: var(--font-mono);
            font-size: 20px;
            font-weight: 700;
            color: var(--alert);
            width: 36px;
            flex-shrink: 0;
        }

        .ranking-player {
            flex: 1;
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
        }

        .ranking-team {
            font-size: 13px;
            color: var(--text-secondary);
            width: 120px;
            flex-shrink: 0;
        }

        .ranking-value {
            font-family: var(--font-mono);
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
            text-align: right;
            width: 80px;
            flex-shrink: 0;
        }

        /* ========== xG专题 ========== */
        .xg-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .xg-text h3 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 16px;
            color: var(--text);
        }

        .section-dark .xg-text h3 {
            color: var(--text-light);
        }

        .xg-text p {
            font-size: 15px;
            line-height: 1.8;
            color: var(--text-secondary);
            margin-bottom: 16px;
        }

        .section-dark .xg-text p {
            color: var(--text-muted);
        }

        .xg-fig {
            aspect-ratio: 16/9;
            background-color: rgba(255, 255, 255, 0.04);
            border: 1px dashed rgba(232, 228, 218, 0.2);
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .xg-fig img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            inset: 0;
            opacity: 0.5;
        }

        .xg-fig .fig-label {
            position: absolute;
            z-index: 1;
            font-size: 14px;
            color: var(--text-muted);
            letter-spacing: 0.04em;
        }

        /* ========== 传球网络 ========== */
        .pass-network {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .pass-network-fig {
            aspect-ratio: 16/9;
            background-color: rgba(255, 255, 255, 0.04);
            border: 1px dashed rgba(232, 228, 218, 0.2);
            border-radius: var(--radius-md);
            overflow: hidden;
            position: relative;
        }

        .pass-network-fig img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            inset: 0;
            opacity: 0.5;
        }

        .pass-network-fig .fig-label {
            position: absolute;
            z-index: 1;
            font-size: 14px;
            color: var(--text-muted);
            letter-spacing: 0.04em;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .pass-network-points {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }

        .network-point {
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(232, 228, 218, 0.15);
            border-radius: var(--radius-sm);
            padding: 14px 18px;
            text-align: center;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-light);
            letter-spacing: 0.02em;
        }

        /* ========== 定位球与防守 ========== */
        .setpiece-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .setpiece-column {
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .setpiece-column h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .setpiece-column h3 .indicator {
            width: 10px;
            height: 10px;
            border-radius: 2px;
            background-color: var(--accent);
        }

        .setpiece-column h3 .indicator.orange {
            background-color: var(--alert);
        }

        .setpiece-metrics {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .metric-item {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            padding: 10px 12px;
            background-color: var(--bg);
            border-radius: var(--radius-sm);
            gap: 8px;
        }

        .metric-label {
            font-size: 13px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .metric-value {
            font-family: var(--font-mono);
            font-size: 16px;
            font-weight: 700;
            color: var(--text);
        }

        /* ========== 门将数据 ========== */
        .goalkeeper-table {
            width: 100%;
            border-collapse: collapse;
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            overflow: hidden;
        }

        .goalkeeper-table thead {
            background-color: var(--primary);
            color: var(--accent);
        }

        .goalkeeper-table th {
            padding: 14px 16px;
            font-size: 13px;
            font-weight: 600;
            text-align: left;
            letter-spacing: 0.03em;
            white-space: nowrap;
        }

        .goalkeeper-table td {
            padding: 14px 16px;
            font-size: 14px;
            color: var(--text);
            border-bottom: 1px solid var(--border);
            white-space: nowrap;
        }

        .goalkeeper-table tbody tr {
            transition: background-color var(--transition);
        }

        .goalkeeper-table tbody tr:hover {
            background-color: var(--bg);
        }

        .goalkeeper-table tbody tr:last-child td {
            border-bottom: none;
        }

        .goalkeeper-table .gk-team {
            color: var(--text-secondary);
            font-size: 13px;
        }

        .goalkeeper-table .gk-rate {
            font-family: var(--font-mono);
            font-weight: 700;
            color: var(--primary);
        }

        /* ========== 可视化大图 ========== */
        .viz-placeholder {
            aspect-ratio: 16/9;
            background-color: rgba(255, 255, 255, 0.04);
            border: 1px dashed rgba(232, 228, 218, 0.2);
            border-radius: var(--radius-md);
            overflow: hidden;
            position: relative;
        }

        .viz-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            inset: 0;
            opacity: 0.4;
        }

        .viz-placeholder .viz-label {
            position: absolute;
            z-index: 1;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 15px;
            color: var(--text-muted);
            letter-spacing: 0.04em;
        }

        .viz-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 12px;
            font-size: 13px;
            color: var(--text-muted);
            flex-wrap: wrap;
            gap: 8px;
        }

        /* ========== API能力 ========== */
        .api-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
        }

        .api-card {
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(232, 228, 218, 0.15);
            border-radius: var(--radius-md);
            padding: 24px 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .api-card .api-num {
            font-family: var(--font-mono);
            font-size: 14px;
            font-weight: 700;
            color: var(--accent);
        }

        .api-card h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-light);
        }

        .api-card p {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* ========== 数据词典 ========== */
        .dictionary-list {
            display: flex;
            flex-direction: column;
            border-top: 1px solid var(--border);
        }

        .dictionary-term {
            border-bottom: 1px solid var(--border);
            padding: 14px 0;
        }

        .dictionary-term summary {
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 16px;
            list-style: none;
        }

        .dictionary-term summary::-webkit-details-marker {
            display: none;
        }

        .dictionary-term .term-num {
            font-family: var(--font-mono);
            font-size: 14px;
            font-weight: 700;
            color: var(--alt, var(--accent));
            color: var(--accent);
            width: 28px;
        }

        .dictionary-term .term-icon {
            font-size: 18px;
            color: var(--text-secondary);
            transition: transform var(--transition);
        }

        .dictionary-term[open] .term-icon {
            transform: rotate(45deg);
        }

        .dictionary-term .term-content {
            margin-top: 12px;
            padding-left: 44px;
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* ========== 报告列表 ========== */
        .report-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .report-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            border-left: 3px solid var(--accent);
            transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
        }

        .report-item:hover {
            border-color: var(--accent);
            border-left-color: var(--alert);
            box-shadow: var(--shadow-sm);
            transform: translateX(3px);
        }

        .report-date {
            font-family: var(--font-mono);
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            white-space: nowrap;
            min-width: 70px;
        }

        .report-tag {
            background-color: var(--bg);
            border: 1px solid var(--border);
            border-radius: 3px;
            padding: 2px 8px;
            font-size: 11px;
            font-weight: 600;
            color: var(--text-secondary);
            white-space: nowrap;
        }

        .report-title {
            flex: 1;
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
            line-height: 1.4;
        }

        .report-type {
            font-size: 12px;
            color: var(--text-muted);
            white-space: nowrap;
            font-weight: 500;
        }

        /* ========== 订阅表单 ========== */
        .subscribe-form {
            display: flex;
            gap: 12px;
            max-width: 520px;
            margin: 0 auto;
        }

        .subscribe-form input {
            flex: 1;
            background-color: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 14px 18px;
            font-size: 14px;
            color: var(--text);
            transition: border-color var(--transition), box-shadow var(--transition);
        }

        .subscribe-form input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(183, 243, 74, 0.2);
        }

        .subscribe-btn {
            background-color: var(--primary);
            color: var(--accent);
            padding: 14px 28px;
            font-size: 14px;
            font-weight: 700;
            border-radius: var(--radius-sm);
            white-space: nowrap;
            transition: background-color var(--transition), transform var(--transition);
        }

        .subscribe-btn:hover,
        .subscribe-btn:focus-visible {
            background-color: var(--primary-deep);
            transform: translateY(-1px);
        }

        /* ========== FAQ ========== */
        .faq-list {
            display: flex;
            flex-direction: column;
        }

        .faq-item {
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            margin-top: -1px;
        }

        .faq-item summary {
            cursor: pointer;
            padding: 18px 0;
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 16px;
            list-style: none;
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-num {
            font-family: var(--font-mono);
            font-size: 14px;
            font-weight: 700;
            color: var(--accent);
            width: 28px;
            flex-shrink: 0;
        }

        .faq-icon {
            margin-left: auto;
            font-size: 20px;
            color: var(--text-secondary);
            transition: transform var(--transition);
            flex-shrink: 0;
        }

        .faq-item[open] .faq-icon {
            transform: rotate(45deg);
        }

        .faq-answer {
            padding: 0 0 20px 44px;
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* ========== 底部CTA ========== */
        .bottom-cta {
            background-color: var(--primary);
            color: var(--text-light);
            text-align: center;
            padding: 64px 0;
            position: relative;
            overflow: hidden;
        }

        .bottom-cta .container {
            position: relative;
            z-index: 2;
        }

        .bottom-cta h2 {
            font-size: 30px;
            font-weight: 700;
            margin-bottom: 12px;
            color: #FFFFFF;
        }

        .bottom-cta p {
            font-size: 16px;
            color: rgba(232, 228, 218, 0.75);
            margin-bottom: 28px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .bottom-cta-actions {
            display: flex;
            gap: 14px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ========== 页脚 ========== */
        .site-footer {
            background-color: var(--primary-deep);
            color: var(--text-light);
            padding: 40px 0 24px;
            font-size: 14px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 32px;
            margin-bottom: 32px;
        }

        .footer-brand {
            font-size: 18px;
            font-weight: 700;
            color: var(--accent);
        }

        .footer-brand p {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 8px;
            font-weight: 400;
        }

        .footer-col h4 {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-light);
            margin-bottom: 12px;
        }

        .footer-col a {
            display: block;
            font-size: 13px;
            color: var(--text-muted);
            padding: 4px 0;
            transition: color var(--transition);
        }

        .footer-col a:hover,
        .footer-col a:focus-visible {
            color: var(--accent);
        }

        .footer-bottom {
            border-top: 1px solid rgba(232, 228, 218, 0.1);
            padding-top: 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .footer-bottom .copyright {
            font-weight: 600;
            color: var(--text-light);
        }

        .footer-links-row {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .footer-links-row a {
            color: var(--text-muted);
            transition: color var(--transition);
        }

        .footer-links-row a:hover,
        .footer-links-row a:focus-visible {
            color: var(--accent);
        }

        /* ========== 响应式 ========== */
        @media (max-width: 1024px) {
            :root {
                --section-gap: 48px;
                --card-gap: 16px;
            }

            .hero .container {
                grid-template-columns: 1fr;
                gap: 36px;
            }

            .league-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            .focus-cards {
                grid-template-columns: repeat(2, 1fr);
            }

            .api-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .xg-split {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }

            .query-engine .container-inner {
                grid-template-columns: 1fr 1fr 1fr;
                gap: 12px;
            }

            .query-engine .btn-search {
                grid-column: span 3;
            }
        }

        @media (max-width: 768px) {
            :root {
                --section-gap: 40px;
                --nav-height: 56px;
            }

            .header-inner {
                position: relative;
                flex-wrap: wrap;
                height: auto;
                padding-top: 8px;
                padding-bottom: 8px;
            }

            .nav-toggle {
                display: flex;
                order: 3;
            }

            .main-nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background-color: var(--primary);
                flex-direction: column;
                align-items: stretch;
                gap: 0;
                padding: 12px 24px 20px;
                box-shadow: 0 16px 32px rgba(13, 31, 22, 0.3);
                border-radius: 0 0 var(--radius-md) var(--radius-md);
                z-index: 99;
            }

            .main-nav.nav-open {
                display: flex;
            }

            .main-nav a {
                padding: 12px 16px;
                font-size: 15px;
                border-radius: var(--radius-sm);
            }

            .nav-cta {
                order: 2;
                margin-left: auto;
                padding: 8px 16px;
                font-size: 13px;
            }

            .hero {
                padding: 48px 0 56px;
            }

            .hero h1 {
                font-size: 30px;
                line-height: 1.3;
            }

            .hero p.subtitle {
                font-size: 16px;
            }

            .hero-panel {
                padding: 18px;
            }

            .league-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 10px;
            }

            .league-entry {
                font-size: 13px;
                padding: 14px 10px;
                min-height: 48px;
            }

            .focus-cards {
                grid-template-columns: 1fr;
            }

            .setpiece-grid {
                grid-template-columns: 1fr;
            }

            .pass-network-points {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .api-grid {
                grid-template-columns: 1fr;
            }

            .ranking-row {
                padding: 12px 14px;
                gap: 10px;
                font-size: 13px;
            }

            .ranking-num {
                font-size: 16px;
                width: 26px;
            }

            .ranking-player {
                font-size: 13px;
            }

            .ranking-team {
                font-size: 11px;
                width: 80px;
            }

            .ranking-value {
                font-size: 15px;
                width: 60px;
            }

            .section-header {
                flex-direction: column;
                gap: 8px;
                margin-bottom: 24px;
            }

            .section-header h2 {
                font-size: 24px;
            }

            .query-engine .container-inner {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .query-engine .btn-search {
                grid-column: span 1;
                width: 100%;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .bottom-cta h2 {
                font-size: 24px;
            }

            .btn {
                padding: 12px 20px;
                font-size: 14px;
            }

            .subscribe-form {
                flex-direction: column;
                gap: 10px;
                max-width: 100%;
            }

            .subscribe-btn {
                width: 100%;
            }

            .goalkeeper-table {
                font-size: 12px;
            }

            .goalkeeper-table th,
            .goalkeeper-table td {
                padding: 10px 12px;
                font-size: 12px;
            }
        }

        @media (max-width: 520px) {
            :root {
                --section-gap: 32px;
                --card-gap: 12px;
            }

            .container {
                padding: 0 16px;
            }

            .header-inner {
                padding-left: 16px;
                padding-right: 16px;
            }

            .logo {
                font-size: 17px;
            }

            .logo-icon {
                width: 28px;
                height: 28px;
                font-size: 14px;
            }

            .hero h1 {
                font-size: 26px;
            }

            .hero-actions {
                flex-direction: column;
                gap: 10px;
            }

            .hero-actions .btn {
                width: 100%;
            }

            .league-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .snapshot-item {
                min-width: 170px;
                padding: 4px 12px;
                gap: 10px;
            }

            .ranking-team {
                display: none;
            }

            .ranking-row {
                padding: 10px;
            }

            .report-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 6px;
                padding: 12px 14px;
            }

            .report-date {
                min-width: auto;
            }

            .footer-bottom {
                font-size: 12px;
                text-align: center;
            }

            .footer-links-row {
                justify-content: center;
            }
        }

        /* 可访问性 */
        :focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
