:root {
    --primary: linear-gradient(135deg, #1a5f2a 0%, #2d8a4e 100%);
    --primary-start: #1a5f2a;
    --primary-end: #2d8a4e;
    --accent: linear-gradient(135deg, #c8a951 0%, #f6d365 100%);
    --accent-start: #c8a951;
    --accent-end: #f6d365;
    --gold: linear-gradient(135deg, #d4a844 0%, #e8c547 100%);
    --gold-start: #d4a844;
    --gold-end: #e8c547;
    --green: linear-gradient(135deg, #1a5f2a 0%, #2d8a4e 100%);
    --green-start: #1a5f2a;
    --green-end: #2d8a4e;
    --bg-primary: #0a0f0a;
    --bg-secondary: #121a12;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border: rgba(255, 255, 255, 0.06);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 80px;
    line-height: 1.6;
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== 页面入场动画 ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 68, 0.4); }
    50%      { box-shadow: 0 0 0 8px rgba(212, 168, 68, 0); }
}

.main-content {
    animation: fadeInUp 0.4s ease-out;
    padding: 0.5rem 0.75rem;
}

/* ===== 页面顶部装饰条 ===== */
.flag-strip {
    height: 3px;
    background: linear-gradient(90deg,
        var(--gold-start) 0%,
        var(--green-start) 33%,
        var(--gold-start) 66%,
        var(--green-start) 100%
    );
    opacity: 0.6;
}

/* ===== 导航栏 ===== */
.navbar {
    background: rgba(10, 15, 10, 0.88) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0.875rem 0.75rem 0.75rem !important;
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d4a844 0%, #f6d365 50%, #e8c547 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

/* ===== 卡片 ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.card-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 1rem;
}

.card-header .fw-bold {
    font-size: 0.85rem;
    font-weight: 600;
}

.card-body {
    padding: 2rem 1rem;
}

/* ===== 按钮 ===== */
.btn {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: linear-gradient(135deg, #1a5f2a 0%, #2d8a4e 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(26, 95, 42, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 4px 16px rgba(26, 95, 42, 0.45);
    transform: translateY(-1px);
}

.btn-warning {
    background: linear-gradient(135deg, #d4a844 0%, #e8c547 100%);
    color: #121a12;
    box-shadow: 0 2px 8px rgba(212, 168, 68, 0.3);
}

.btn-warning:hover {
    box-shadow: 0 4px 16px rgba(212, 168, 68, 0.45);
    transform: translateY(-1px);
}

.btn-outline-primary {
    background: transparent;
    border: 1.5px solid rgba(26, 95, 42, 0.5);
    color: #43e97b;
}

.btn-outline-primary:hover {
    background: rgba(26, 95, 42, 0.15);
    border-color: #43e97b;
}

.btn-outline-warning {
    background: transparent;
    border: 1.5px solid rgba(212, 168, 68, 0.5);
    color: var(--gold-start);
}

.btn-outline-warning:hover {
    background: rgba(212, 168, 68, 0.1);
    border-color: var(--gold-start);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

/* ===== 比赛卡片 ===== */
.match-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.match-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.match-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 0 2px 2px 0;
}

.match-card.status-finished::before { background: linear-gradient(180deg, #1a5f2a, #2d8a4e); }
.match-card.status-scheduled::before { background: linear-gradient(180deg, #d4a844, #e8c547); }
.match-card.status-inplay::before { background: linear-gradient(180deg, #e74c3c, #f5576c); }

.match-score {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d4a844, #f6d365);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.match-score-pending {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.match-stage-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

/* ===== 球队卡片 ===== */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.875rem 0.5rem;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 168, 68, 0.3);
    background: var(--bg-card-hover);
}

.team-card img {
    border-radius: var(--radius-xs);
    margin-bottom: 0.5rem;
    transition: transform 0.25s ease;
}

.team-card:hover img {
    transform: scale(1.08);
}

.team-card .card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.team-card small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ===== 表格 ===== */
.table {
    background: transparent;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0;
    width: 100%;
    border-collapse: collapse;
}

.table thead th {
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.table tbody td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: background 0.15s ease;
}

.table tbody tr:last-child td { border-bottom: none; }

.table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* 积分榜晋级高亮 */
.table tbody tr.qualified td {
    background: rgba(212, 168, 68, 0.06);
}

.table tbody tr.qualified:first-child td:first-child {
    border-left: 3px solid var(--gold-start);
}

/* ===== 徽章 ===== */
.badge {
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.02em;
}

/* ===== Tab 导航 ===== */
.nav-tabs {
    border-bottom: 1px solid var(--border);
    gap: 0;
    display: flex;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    position: relative;
    cursor: pointer;
    background: transparent;
    transition: color 0.2s ease;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a844, #f6d365);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tabs .nav-link.active {
    color: var(--text-primary);
    background: transparent;
}

.nav-tabs .nav-link.active::after { width: 70%; }

/* ===== 底部导航 ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 10, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 0.375rem 0 calc(0.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 1000;
}

.bottom-nav .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.6rem;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav .bottom-nav-item.active {
    color: var(--gold-start);
}

.bottom-nav .bottom-nav-item.active .nav-icon {
    stroke: var(--gold-start);
    transform: scale(1.1);
}

.bottom-nav .nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
    stroke: currentColor;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                stroke 0.25s ease;
}

.bottom-nav .bottom-nav-item:hover .nav-icon {
    transform: scale(1.05);
}

/* ===== 渐变文字 ===== */
.gradient-text {
    background: linear-gradient(135deg, #d4a844, #f6d365);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-green {
    background: linear-gradient(135deg, #1a5f2a, #43e97b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bar {
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #d4a844, #f6d365);
    border-radius: 2px;
    margin: 0 auto 0.5rem;
}

/* ===== 首页背景区 ===== */
.main-home {
    padding: 0 !important;
}

.hero-bg {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    min-height: 100vh;
    background-image: url('/static/bg.jpg');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    padding-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 10, 0.1) 0%,
        rgba(10, 15, 10, 0.15) 20%,
        rgba(10, 15, 10, 0.4) 50%,
        rgba(10, 15, 10, 0.7) 70%,
        rgba(10, 15, 10, 0.92) 90%,
        var(--bg-primary) 100%
    );
    pointer-events: none;
}

.hero-cards {
    position: relative;
    z-index: 2;
    padding-top: 40vh;
}

.hero-cards .card {
    background: rgba(10, 15, 10, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-cards .card:hover {
    background: rgba(10, 15, 10, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-cards .card-header {
    background: rgba(255, 255, 255, 0.04);
}

.hero-cards .section-title {
    color: rgba(255, 255, 255, 0.85);
}

.hero-cards .btn-outline-warning {
    background: rgba(212, 168, 68, 0.12);
}

/* 内嵌式分析条 */
.analysis-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(26, 95, 42, 0.12);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.analysis-strip:hover {
    background: rgba(26, 95, 42, 0.22);
    color: #43e97b;
}

/* 赛程页比赛卡片内嵌分析链接 */
.match-analysis-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #1a5f2a, #2d8a47);
    text-decoration: none;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(67, 233, 123, 0.2);
}

.match-analysis-link:hover {
    background: linear-gradient(135deg, #2d8a47, #43e97b);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(67, 233, 123, 0.35);
}

.match-analysis-arrow {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.match-analysis-link:hover .match-analysis-arrow {
    transform: translateX(3px);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.04em;
}

.hero-content p {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ===== Hero 区域（保留旧版兼容） ===== */
.hero-gradient {
    background: linear-gradient(135deg, rgba(26, 95, 42, 0.12) 0%, rgba(212, 168, 68, 0.08) 100%);
    border: 1px solid rgba(212, 168, 68, 0.12);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 168, 68, 0.04) 0%, transparent 60%);
    animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.1); opacity: 1; }
}

/* ===== 页面标题 ===== */
.page-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0.75rem;
}

.page-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, #d4a844, #e8c547);
    border-radius: 2px;
}

/* ===== 统计卡片 ===== */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 0.5rem;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(212, 168, 68, 0.2);
}

.stat-card .icon {
    font-size: 1.5rem;
    margin-bottom: 0.375rem;
    transition: transform 0.2s ease;
}

.stat-card:hover .icon {
    transform: scale(1.15);
}

.stat-card h5 {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

/* ===== 小节标题 ===== */
.section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--gold-start);
}

/* ===== 比分高亮 ===== */
.score-highlight {
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #d4a844, #f6d365);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== 近期状态标记 ===== */
.form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
}
.form-W { background: rgba(67,233,125,0.15); color: #43e97b; }
.form-D { background: var(--text-secondary); color: var(--bg-card); }
.form-L { background: rgba(245,87,108,0.15); color: #f5576c; }

/* ===== AI 分析结果打字机效果 ===== */
.ai-typing {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.8;
    animation: fadeIn 0.5s ease-out;
}

.cursor-blink {
    display: inline-block;
    color: var(--gold-start);
    font-weight: 700;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.analysis-heading {
    color: var(--gold-start);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(212, 168, 68, 0.2);
}

.analysis-bold {
    color: #f6d365;
    font-weight: 700;
}

.analysis-p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.analysis-list {
    margin: 0.3rem 0 0.5rem;
    padding-left: 1.2rem;
    list-style: none;
}

.analysis-list li {
    position: relative;
    padding: 0.15rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.analysis-list li::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8a951, #f6d365);
}

.analysis-highlight-box {
    background: linear-gradient(135deg, rgba(26, 95, 42, 0.15), rgba(45, 138, 78, 0.1));
    border-left: 3px solid var(--gold-start);
    padding: 0.5rem 0.75rem;
    margin: 0.6rem 0;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ===== 免责声明 ===== */
.card-footer#analysisDisclaimer {
    background: rgba(212, 168, 68, 0.05);
    border-top: 1px solid rgba(212, 168, 68, 0.15);
    animation: fadeIn 0.5s ease-out;
}

.card-footer#analysisDisclaimer p {
    color: var(--text-muted);
}

.card-footer#analysisDisclaimer strong {
    color: var(--gold-start);
}

/* ===== Spinner 金色 ===== */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 2px solid rgba(212, 168, 68, 0.2);
    border-right-color: var(--gold-start);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Modal ===== */
.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 1rem;
}

.modal-body { padding: 1rem; }

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.25rem;
    padding: 0.5rem;
    line-height: 1;
}

.modal { display: none; z-index: 1050; }
.modal.show { display: block; }
.modal-dialog { margin: 1.75rem auto; max-width: 500px; }
.modal-dialog-centered { display: flex; align-items: center; min-height: calc(100% - 3.5rem); }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1040; }
.modal.fade .modal-dialog { transform: scale(0.95); transition: transform 0.2s; }
.modal.show .modal-dialog { transform: scale(1); }
.modal-title { font-size: 1rem; font-weight: 600; }

/* ===== Tab 内容 ===== */
.tab-pane { display: none; }
.tab-pane.active.show { display: block; animation: fadeInUp 0.3s ease-out; }
.fade { transition: opacity 0.15s linear; opacity: 0; }
.fade.show { opacity: 1; }
.nav-item { list-style: none; }

/* ===== 球队详情页 VS 徽章 ===== */
.vs-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5f2a, #2d8a4e);
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 2px 12px rgba(26, 95, 42, 0.3);
}

/* ===== 链接 ===== */
a {
    color: var(--gold-start);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold-end);
}

/* ===== 辅助类 ===== */
.text-muted { color: var(--text-muted); }
.text-primary { color: #43e97b; }
.text-gold { color: var(--gold-start); }
.text-success { color: #43e97b; }
.text-danger { color: #f5576c; }
.text-center { text-align: center; }
.text-end { text-align: right; }
.text-start { text-align: left; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 1rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 2rem; padding-bottom: 2rem; }

.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }

.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }

.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }

.px-0 { padding-left: 0; padding-right: 0; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.p-0 { padding: 0 !important; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }

.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow-1 { flex-grow: 1; }

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.375rem;
}

.col-4 { width: 33.333%; padding: 0 0.375rem; }
.col-6 { width: 50%; padding: 0 0.375rem; }
.col-12 { width: 100%; padding: 0 0.375rem; }

.g-3 { gap: 0.75rem; }

.container {
    width: 100%;
    padding: 0 0.75rem;
}

.gap-2 { gap: 0.5rem; }

.small { font-size: 0.8rem; }
.fs-1 { font-size: 1.5rem; }
.fw-bold { font-weight: 700; }
.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }

.border-bottom { border-bottom: 1px solid var(--border) !important; }

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.75rem 0;
}

img { max-width: 100%; height: auto; }

.display-4 { font-size: 1.5rem; font-weight: 700; }

.table-responsive { border-radius: var(--radius); overflow: hidden; }

.team-badge-sm { height: 22px; width: auto; }

.rounded-full { border-radius: 50px; }

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
}

/* ===== 加载骨架屏 ===== */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-xs);
}
