 :root {
            --primary: #10b981;
            --primary-dark: #059669;
            --primary-light: #ecfdf5;
            --accent-red: #ef4444;
            --accent-red-hover: #dc2626;
            --bg-body: #f1f5f9;
            --bg-card: #ffffff;
            --border-color: #e2e8f0;
            --border-light: #f1f5f9;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --text-light: #94a3b8;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
            --radius-sm: 6px;
            --radius-md: 8px;
            --radius-lg: 12px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background-color: var(--bg-body);
            color: var(--text-main);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            padding-bottom: calc(60px + env(safe-area-inset-bottom));
        }

        a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
        ul, ol { list-style: none; }
        img { display: block; max-width: 100%; height: auto; }

        .visually-hidden {
            position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
            overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

        .site-header {
            background-color: var(--primary);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow-md);
        }

        .header-main {
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header-left { display: flex; align-items: center; gap: 12px; }

        .menu-toggle-btn {
            display: none;
            background: none;
            border: none;
            padding: 8px;
            cursor: pointer;
            flex-direction: column;
            gap: 4px;
        }
        .menu-toggle-btn .bar {
            width: 20px;
            height: 2px;
            background-color: #ffffff;
            border-radius: 2px;
        }

        .site-logo {
            font-size: 20px;
            font-weight: 800;
            color: #ffffff;
            display: flex;
            align-items: center;
            gap: 8px;
            letter-spacing: -0.5px;
        }

        .pc-nav-links { display: flex; gap: 4px; margin-left: 28px; }
        .pc-nav-links a {
            color: #f0fdf4;
            font-size: 14px;
            font-weight: 500;
            padding: 8px 14px;
            border-radius: var(--radius-sm);
        }
        .pc-nav-links a:hover,
        .pc-nav-links a.active {
            background-color: var(--primary-dark);
            color: #ffffff;
        }

        .header-right { display: flex; align-items: center; gap: 12px; }
        .search-box { position: relative; display: flex; align-items: center; }
        .search-box input {
            background: rgba(255, 255, 255, 0.18);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 20px;
            padding: 6px 36px 6px 14px;
            color: #fff;
            font-size: 13px;
            width: 180px;
            outline: none;
            transition: width 0.3s;
        }
        .search-box input::placeholder { color: rgba(255, 255, 255, 0.7); }
        .search-box input:focus { width: 230px; background: rgba(255, 255, 255, 0.28); }
        .search-box .search-btn {
            position: absolute;
            right: 10px;
            background: none;
            border: none;
            color: #ffffff;
            cursor: pointer;
            display: flex;
            align-items: center;
        }

        .sub-nav-scroll {
            background-color: var(--primary-dark);
            padding: 6px 0;
            overflow: hidden;
        }
        .sub-nav-scroll .scroll-wrapper {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding: 0 16px;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .sub-nav-scroll .scroll-wrapper::-webkit-scrollbar { display: none; }
        .nav-chip {
            color: rgba(255, 255, 255, 0.88);
            font-size: 13px;
            padding: 4px 12px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.12);
            flex-shrink: 0;
        }
        .nav-chip.active { background-color: #ffffff; color: var(--primary-dark); font-weight: 700; }

        .drawer-mask {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(2px);
            z-index: 1010;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease;
        }
        .drawer-mask.open { opacity: 1; visibility: visible; }
        .drawer-menu {
            position: fixed;
            top: 0;
            left: -290px;
            width: 290px;
            height: 100%;
            background: #ffffff;
            z-index: 1011;
            overflow-y: auto;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
        }
        .drawer-menu.open { transform: translateX(290px); }
        .drawer-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px;
            border-bottom: 1px solid var(--border-light);
            background: #fafafa;
        }
        .drawer-title { font-size: 16px; font-weight: 700; color: var(--text-main); }
        .close-btn { font-size: 24px; line-height: 1; border: none; background: none; color: var(--text-muted); cursor: pointer; }
        .drawer-content { padding: 16px; flex: 1; }
        .nav-group { margin-bottom: 22px; }
        .group-title { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
        .group-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
        .group-links a {
            font-size: 13px;
            padding: 8px 10px;
            background-color: var(--bg-body);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-sm);
            color: var(--text-main);
            text-align: center;
        }
        .group-links a:hover { background-color: var(--primary-light); color: var(--primary-dark); border-color: var(--primary); }

        .main-content { margin-top: 20px; }
        .card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            margin-bottom: 20px;
            box-shadow: var(--shadow-sm);
            overflow: hidden;
        }

        .section-header {
            padding: 14px 18px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .section-title {
            font-size: 16px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-main);
        }
        .section-title::before {
            content: "";
            display: inline-block;
            width: 4px;
            height: 16px;
            background-color: var(--accent-red);
            border-radius: 2px;
        }
        .section-more { font-size: 13px; color: var(--text-muted); }
        .section-more:hover { color: var(--primary); }

        .match-list { display: flex; flex-direction: column; }
        .match-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 20px;
            border-bottom: 1px solid var(--border-light);
            font-size: 14px;
            transition: background-color 0.15s ease;
        }
        .match-item:last-child { border-bottom: none; }
        .match-item:hover { background-color: #f8fafc; }

        .match-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            width: 220px;
            flex-shrink: 0;
        }
        .match-time { color: var(--text-muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
        .match-league { font-weight: 600; color: var(--text-main); white-space: nowrap; }

        .match-versus {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1;
            max-width: 600px;
            margin: 0 auto;
            gap: 20px;
        }

        .team {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
            font-weight: 500;
            white-space: nowrap;
        }
        .team.home { justify-content: flex-end; text-align: right; }
        .team.away { justify-content: flex-start; text-align: left; }
        .team-name { display: inline-block; white-space: nowrap; }
        .team-logo { width: 24px; height: 24px; object-fit: contain; border-radius: 50%; flex-shrink: 0; }
        .vs-badge {
            color: var(--text-muted);
            font-size: 13px;
            font-weight: 700;
            padding: 3px 8px;
            background: #f1f5f9;
            border-radius: 4px;
            flex-shrink: 0;
        }

        .match-action { width: 120px; display: flex; justify-content: flex-end; flex-shrink: 0; }
        .btn-live {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background-color: var(--accent-red);
            color: #ffffff;
            padding: 7px 18px;
            border-radius: var(--radius-sm);
            font-size: 13px;
            font-weight: 600;
            box-shadow: 0 2px 5px rgba(239, 68, 68, 0.25);
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        .btn-live:hover {
            background-color: var(--accent-red-hover);
            box-shadow: 0 4px 8px rgba(239, 68, 68, 0.35);
            transform: translateY(-1px);
        }
        .live-dot {
            width: 10px;
            height: 10px;
            background-image: url('/static/images/living.gif');
/* 或者使用简写属性 */
background: url('/static/images/living.gif') no-repeat center center;
        }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

        .grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 18px; }
        .news-column {
            background: #ffffff;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-sm);
            padding: 14px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .news-column-title {
            font-size: 15px;
            font-weight: 700;
            color: var(--primary-dark);
            padding-bottom: 8px;
            border-bottom: 1px solid var(--border-light);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .news-lead-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text-main); border-bottom: 1px solid var(--border-light); padding-bottom: 12px; }
        .lead-thumb-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background-color: #0f172a; }
        .lead-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
        .news-lead-card:hover .lead-thumb { transform: scale(1.04); }
        .lead-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: rgba(16, 185, 129, 0.95);
            color: #ffffff;
            font-size: 11px;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.3);
            z-index: 2;
        }
        .lead-title {
            font-size: 14px;
            font-weight: 700;
            line-height: 1.45;
            color: var(--text-main);
            margin-top: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .news-lead-card:hover .lead-title { color: var(--accent-red); }
        .lead-desc {
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.5;
            margin-top: 4px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-sub-list { display: flex; flex-direction: column; gap: 10px; }
        .sub-news-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--text-main);
            padding: 4px 0;
            border-bottom: 1px dashed var(--border-light);
        }
        .sub-news-item:last-child { border-bottom: none; }
        .sub-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
        .sub-title {
            font-size: 13px;
            font-weight: 500;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .sub-news-item:hover .sub-title { color: var(--accent-red); }
        .sub-meta { font-size: 11px; color: var(--text-light); }
        .sub-thumb { width: 76px; height: 52px; border-radius: 4px; object-fit: cover; flex-shrink: 0; background-color: #0f172a; }

        .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; }
        .tag-pill {
            background: #ffffff;
            border: 1px solid var(--border-color);
            color: var(--text-muted);
            font-size: 12px;
            padding: 5px 12px;
            border-radius: 16px;
            transition: all 0.2s ease;
        }
        .tag-pill:hover { border-color: var(--accent-red); color: var(--accent-red); background-color: #fff1f2; }

        .bottom-tab-bar {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 52px;
            background: #ffffff;
            border-top: 1px solid var(--border-color);
            z-index: 999;
            align-items: center;
            justify-content: space-around;
            padding-bottom: env(safe-area-inset-bottom);
        }
        .tab-item { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); font-size: 11px; gap: 2px; flex: 1; height: 100%; }
        .tab-item.active { color: var(--primary); font-weight: 600; }
        .tab-icon { width: 20px; height: 20px; }

        .site-footer {
            background-color: #ffffff;
            border-top: 1px solid var(--border-color);
            padding: 28px 16px;
            text-align: center;
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.8;
            margin-top: 30px;
        }
        .footer-links { margin-bottom: 12px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
        .footer-links a:hover { color: var(--primary); }

        @media (max-width: 960px) { .grid-3-col { grid-template-columns: 1fr; } }
        @media (max-width: 768px) {
            .menu-toggle-btn { display: flex; }
            .pc-nav-links { display: none; }
            .sub-nav-scroll { display: block; }
            .bottom-tab-bar { display: flex; }
            .search-box input { width: 130px; padding-left: 10px; }
            .search-box input:focus { width: 160px; }
            .match-item { display: flex; flex-direction: column; align-items: stretch; padding: 12px 14px; gap: 8px; }
            .match-meta { width: 100%; justify-content: space-between; }
            .match-versus { width: 100%; max-width: none; margin: 4px 0; justify-content: space-between; gap: 8px; }
            .team { font-size: 13px; gap: 6px; }
            .team-logo { width: 20px; height: 20px; }
            .vs-badge { padding: 2px 6px; font-size: 11px; }
            .match-action { width: 100%; justify-content: flex-end; }
            .btn-live { width: 100%; padding: 8px; }
            .grid-3-col { padding: 12px; gap: 16px; }
            .news-column { padding: 12px; background: #fdfdfd; border: 1px solid #edf2f7; }
            .lead-thumb-wrap { aspect-ratio: 16 / 9; }
            .lead-title { font-size: 13.5px; }
            .sub-thumb { width: 70px; height: 48px; }
        }