/* 现代简洁配色方案 - 基于中性色调的极简风格 */
:root {
    /* 主色调 - 现代蓝系列 */
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --primary-800: #075985;
    --primary-900: #0c4a6e;
    
    /* 中性色 - 现代灰系列 */
    --neutral-50: #fafafa;
    --neutral-100: #f4f4f5;
    --neutral-200: #e4e4e7;
    --neutral-300: #d4d4d8;
    --neutral-400: #a1a1aa;
    --neutral-500: #71717a;
    --neutral-600: #52525b;
    --neutral-700: #3f3f46;
    --neutral-800: #27272a;
    --neutral-900: #18181b;
    
    /* 成功色 - 现代绿系列 */
    --success-50: #f0fdf4;
    --success-100: #dcfce7;
    --success-200: #bbf7d0;
    --success-300: #86efac;
    --success-400: #4ade80;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #15803d;
    --success-800: #166534;
    --success-900: #14532d;
    
    /* 警告色 - 现代橙系列 */
    --warning-50: #fff7ed;
    --warning-100: #ffedd5;
    --warning-200: #fed7aa;
    --warning-300: #fdba74;
    --warning-400: #fb923c;
    --warning-500: #f97316;
    --warning-600: #ea580c;
    --warning-700: #c2410c;
    --warning-800: #9a3412;
    --warning-900: #7c2d12;
    
    /* 错误色 - 现代红系列 */
    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-200: #fecaca;
    --error-300: #fca5a5;
    --error-400: #f87171;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --error-700: #b91c1c;
    --error-800: #991b1b;
    --error-900: #7f1d1d;
    
    /* 特殊色 - 现代强调色 */
    --accent-purple: #a855f7;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
}

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

body {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Roboto, sans-serif;
    background: var(--neutral-50);
    min-height: 100vh;
    padding: 0;
    margin: 0;
    color: var(--neutral-800);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.container {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    /*background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);*/
    background: url("bg.png") center/cover no-repeat;
    color: white;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    flex-shrink: 0;
    border-bottom: 3px solid var(--neutral-200);
    width: 100%;
    max-width: 1600px;
    box-sizing: border-box;
}
/* 方案1: 动态粒子背景 */
/*        .header {*/
/*            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);*/
/*            color: white;*/
/*            padding: 80px 40px;*/
/*            text-align: center;*/
/*            position: relative;*/
/*            overflow: hidden;*/
/*            border-bottom: 3px solid #ffa500;*/
/*        }*/

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 20% 80%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 100, 100, 0.05) 0%, transparent 50%);
            animation: floatingBg 8s ease-in-out infinite alternate;
        }

        .header .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #ffa500;
            border-radius: 50%;
            animation: float 6s infinite linear;
            opacity: 0.7;
        }

        .particle:nth-child(1) { left: 10%; animation-delay: 0s; }
        .particle:nth-child(2) { left: 20%; animation-delay: 1s; }
        .particle:nth-child(3) { left: 30%; animation-delay: 2s; }
        .particle:nth-child(4) { left: 40%; animation-delay: 3s; }
        .particle:nth-child(5) { left: 50%; animation-delay: 4s; }
        .particle:nth-child(6) { left: 60%; animation-delay: 0.5s; }
        .particle:nth-child(7) { left: 70%; animation-delay: 1.5s; }
        .particle:nth-child(8) { left: 80%; animation-delay: 2.5s; }
        .particle:nth-child(9) { left: 90%; animation-delay: 3.5s; }

        @keyframes float {
            0% { transform: translateY(100vh) scale(0); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-10vh) scale(1); opacity: 0; }
        }

        @keyframes floatingBg {
            0% { transform: scale(1) rotate(0deg); }
            100% { transform: scale(1.1) rotate(2deg); }
        }

        .title {
            font-size: 3.2rem;
            font-weight: 900;
            margin-bottom: 15px;
            position: relative;
            z-index: 3;
            background: linear-gradient(45deg, #ffa500, #ff6b35, #ffa500);
            background-size: 400% 400%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: gradientShift 3s ease-in-out infinite;
            text-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
            letter-spacing: -0.02em;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            position: relative;
            z-index: 3;
            font-weight: 400;
            color: #cccccc;
            animation: fadeInUp 1s ease-out 0.5s both;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 0.9; transform: translateY(0); }
        }
.header-decoration {
            position: absolute;
            top: 25px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #ffa500, #ff6b35);
            border-radius: 2px;
            z-index: 4;
        }
/* Cup Days Navigation Styles */
.cup-days-container {
    background: #ffffff;
    padding: 15px 30px;
    width: 100%;
    max-width: 1600px;
    box-sizing: border-box;
    border-left: 1px solid var(--neutral-200);
    border-right: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
}

.cup-days-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.cup-day-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--neutral-50);
    color: var(--neutral-600);
    text-decoration: none;
    border-radius: 20px;
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--neutral-200);
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.day-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--neutral-300);
    color: var(--neutral-600);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.day-name {
    font-weight: 500;
    transition: all 0.2s ease;
}

.cup-day-item:hover {
    background: var(--primary-50);
    color: var(--primary-700);
    border-color: var(--primary-200);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.cup-day-item:hover .day-number {
    background: var(--primary-500);
    color: #ffffff;
}

.cup-day-item.active {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: #ffffff;
    border-color: var(--primary-700);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
    position: relative;
}

.cup-day-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-400), var(--primary-700));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.02);
    }
}

.cup-day-item.active .day-number {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cup-day-item.active .day-name {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cup-day-item.active:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
}

.cup-day-item.active:hover::before {
    opacity: 0.4;
}

.table-container {
    padding: 25px 30px;
    overflow-x: auto;
    flex: 1;
    background: #ffffff;
    width: 100%;
    max-width: 1600px;
    box-sizing: border-box;
    border-left: 1px solid var(--neutral-200);
    border-right: 1px solid var(--neutral-200);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-200);
}

.stats-table th {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background: var(--neutral-100);
    color: var(--neutral-800);
    font-weight: 600;
    text-align: center;
    padding: 15px 12px;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 0.015em;
    position: relative;
    white-space: nowrap;
    font-feature-settings: 'kern' 1;
}

.stats-table th:first-child {
    text-align: left;
    padding-left: 20px;
}

.stats-table th:not(:first-child) {
    border-left: 1px solid var(--neutral-200);
}

.stats-table th:last-child,
.stats-table th:nth-last-child(2) {
    background: var(--warning-100);
}

.stats-table td {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    padding: 14px 12px;
    border: none;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.01em;
    font-feature-settings: 'kern' 1, 'tnum' 1;
}

.stats-table td:first-child {
    text-align: center;
    padding-left: 20px;
    font-weight: 600;
    font-feature-settings: 'kern' 1;
}

.stats-table td:not(:first-child) {
    border-left: 1px solid var(--neutral-100);
}

.stats-table tbody tr {
    transition: all 0.2s ease;
    cursor: pointer;
    border-bottom: 1px solid var(--neutral-200);
}

.stats-table tbody tr.odd-row {
    background: #ffffff !important;
    border-bottom: 1px solid var(--neutral-200);
}

.stats-table tbody tr.even-row {
    background: var(--neutral-50) !important;
    border-bottom: 1px solid var(--neutral-200);
}

.stats-table tbody tr:hover {
    background: var(--primary-50) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
    border-left: 3px solid var(--primary-500);
}

.stats-table tbody tr.expanded {
    background: var(--primary-50) !important;
    border-left: 4px solid var(--primary-500);
}

.player-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neutral-200);
    transition: all 0.2s ease;
}

.player-avatar:hover {
    border-color: var(--primary-500);
    transform: scale(1.05);
}

.trophy-icon {
    color: var(--warning-500);
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
    margin-left: 6px;
    transition: all 0.2s ease;
}

.trophy-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 3px 6px rgba(245, 158, 11, 0.4));
}

.shield-icon {
    color: var(--primary-500);
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
    margin-left: 6px;
    transition: all 0.2s ease;
}

.shield-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 3px 6px rgba(59, 130, 246, 0.4));
}

.rating-highlight {
    background: var(--success-100) !important;
    color: var(--success-800) !important;
    font-weight: 600;
    margin: 2px;
}

.adr-highlight-1 {
    background: var(--success-100) !important;
    color: var(--success-800) !important;
    font-weight: 600;
    margin: 2px;
}

.adr-highlight-2 {
    background: var(--success-50) !important;
    color: var(--success-700) !important;
    font-weight: 600;
    margin: 2px;
}

.adr-highlight-3 {
    background: var(--accent-emerald) !important;
    color: #ffffff !important;
    font-weight: 600;
    margin: 2px;
}

.adr-highlight-4 {
    background: var(--primary-100) !important;
    color: var(--primary-700) !important;
    font-weight: 600;
    margin: 2px;
}

.adr-highlight-5 {
    background: var(--neutral-100) !important;
    color: var(--neutral-600) !important;
    margin: 2px;
}

.highlight-natural {
    position: relative;
    display: inline;
}

.highlight-natural::before {
    content: '';
    position: absolute;
    left: -2px;
    bottom: 1px;
    right: -2px;
    height: 60%;
    background: linear-gradient(135deg, #4CAF50, #8BC34A, #CDDC39);
    z-index: -1;
    opacity: 0.6;
    border-radius: 3px;
    transform: rotate(-0.5deg);
}

.highlight-natural-1 {
    position: relative;
    display: inline;
}
.highlight-natural-2 {
    position: relative;
    display: inline;
}
.highlight-natural-3 {
    position: relative;
    display: inline;
}
.highlight-natural-4 {
    position: relative;
    display: inline;
}
.highlight-natural-5 {
    position: relative;
    display: inline;
}
.highlight-natural-1::before{
    content: '';
    position: absolute;
    left: -2px;
    bottom: 1px;
    right: -2px;
    height: 60%;
    background: linear-gradient(135deg, #4CAF50, #66BB6A, #81C784);
    z-index: -1;
    opacity: 0.6;
    border-radius: 3px;
    transform: rotate(-0.5deg);
}

.highlight-natural-2::before{
    content: '';
    position: absolute;
    left: -2px;
    bottom: 1px;
    right: -2px;
    height: 60%;
    background: linear-gradient(135deg, #26C6DA, #4DD0E1, #80DEEA);
    z-index: -1;
    opacity: 0.6;
    border-radius: 3px;
    transform: rotate(-0.5deg);
}

.highlight-natural-3::before{
    content: '';
    position: absolute;
    left: -2px;
    bottom: 1px;
    right: -2px;
    height: 60%;
    background: linear-gradient(135deg, #FFEB3B, #FFF176, #FFF59D);
    z-index: -1;
    opacity: 0.6;
    border-radius: 3px;
    transform: rotate(-0.5deg);
}
.highlight-natural-4::before{
    content: '';
    position: absolute;
    left: -2px;
    bottom: 1px;
    right: -2px;
    height: 60%;
    background: linear-gradient(135deg, #FF9800, #FFB74D, #FFCC80);
    z-index: -1;
    opacity: 0.6;
    border-radius: 3px;
    transform: rotate(-0.5deg);
}
.highlight-natural-5::before{
    content: '';
    position: absolute;
    left: -2px;
    bottom: 1px;
    right: -2px;
    height: 60%;
    background: linear-gradient(135deg, #F44336, #EF5350, #E57373);
    z-index: -1;
    opacity: 0.6;
    border-radius: 3px;
    transform: rotate(-0.5deg);
}




.footer {
    background: var(--neutral-50);
    padding: 25px 30px;
    text-align: center;
    border-top: 1px solid var(--neutral-200);
    border-left: 1px solid var(--neutral-200);
    border-right: 1px solid var(--neutral-200);
    flex-shrink: 0;
    width: 100%;
    max-width: 1600px;
    box-sizing: border-box;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-500);
    border-radius: 1px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-note {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.6;
    max-width: 600px;
    opacity: 0.8;
    letter-spacing: 0.01em;
    font-feature-settings: 'kern' 1;
}

.watermark {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--neutral-600);
    font-weight: 500;
    letter-spacing: 0.01em;
    font-feature-settings: 'kern' 1;
}

.watermark a {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.watermark a:hover {
    color: var(--primary-600);
    transform: translateY(-1px);
}

.watermark a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
    transition: width 0.3s ease;
}

.watermark a:hover::after {
    width: 100%;
}

.footer-icon {
    font-size: 1rem;
    margin-right: 4px;
}

.stats-table th small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 2px;
}

/* 自定义滚动条样式 */
.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: var(--neutral-100);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: var(--neutral-300);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-400);
}

/* 添加平滑滚动 */
html {
    scroll-behavior: smooth;
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 添加微妙的动画效果 */
.stats-table tbody tr {
    animation: slideIn 0.6s ease-out;
    animation-fill-mode: both;
}

.stats-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.stats-table tbody tr:nth-child(2) { animation-delay: 0.15s; }
.stats-table tbody tr:nth-child(3) { animation-delay: 0.2s; }
.stats-table tbody tr:nth-child(4) { animation-delay: 0.25s; }
.stats-table tbody tr:nth-child(5) { animation-delay: 0.3s; }
.stats-table tbody tr:nth-child(6) { animation-delay: 0.35s; }
.stats-table tbody tr:nth-child(7) { animation-delay: 0.4s; }
.stats-table tbody tr:nth-child(8) { animation-delay: 0.45s; }
.stats-table tbody tr:nth-child(9) { animation-delay: 0.5s; }
.stats-table tbody tr:nth-child(10) { animation-delay: 0.55s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 抽屉样式 */
.drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    background: var(--neutral-50);
    border-left: 4px solid var(--primary-500);
    opacity: 0;
    display: none;
}

.drawer.open {
    max-height: 800px;
    opacity: 1;
    display: table-row;
}

.drawer-content {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.drawer-section {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.drawer-section h4 {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    color: var(--neutral-800);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--neutral-200);
    letter-spacing: 0.01em;
    font-feature-settings: 'kern' 1;
}

.drawer-item {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 0.85rem;
    letter-spacing: 0.005em;
    font-feature-settings: 'kern' 1, 'tnum' 1;
}

.drawer-item:not(:last-child) {
    border-bottom: 1px solid var(--neutral-100);
}

.drawer-label {
    color: var(--neutral-600);
    font-weight: 500;
}

.drawer-value {
    color: var(--neutral-800);
    font-weight: 600;
}

.drawer-value.highlight {
    background: var(--success-100);
    color: var(--success-800);
    padding: 2px 6px;
    border-radius: 4px;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-500);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.detail-button:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    color: white;
}

.expand-icon {
    transition: transform 0.3s ease;
    color: var(--neutral-600);
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
}

.expand-icon:hover {
    color: var(--primary-500);
    background-color: var(--primary-50);
}

.expand-icon.rotated {
    transform: rotate(180deg);
}

/* 响应式设计 */
@media (max-width: 1600px) {
    .container {
        align-items: stretch;
    }

    .header,
    .table-container,
    .footer {
        max-width: 100%;
    }

    .table-container {
        padding: 20px;
    }

    .stats-table th,
    .stats-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 30px 15px;
    }

    .title {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .header-decoration {
        width: 40px;
        height: 3px;
    }

    .header-decoration::before,
    .header-decoration::after {
        width: 6px;
        height: 6px;
    }

    .table-container {
        padding: 12px;
    }

    .stats-table {
        font-size: 0.75rem;
    }

    .stats-table th,
    .stats-table td {
        padding: 8px 6px;
    }

    .drawer-content {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .drawer-section {
        padding: 12px;
    }

    .drawer-section h4 {
        font-size: 0.85rem;
    }

    .drawer-item {
        font-size: 0.8rem;
    }

    .footer {
        padding: 20px 15px;
    }

    .footer-content {
        gap: 15px;
    }

    .footer-note {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .watermark {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 25px 12px;
    }

    .title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .header-decoration {
        width: 30px;
        height: 2px;
    }

    .header-decoration::before,
    .header-decoration::after {
        width: 4px;
        height: 4px;
    }

    .cup-days-container {
        padding: 15px;
    }

    .cup-days-list {
        gap: 6px;
    }

    .cup-day-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .day-number {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }

    .cup-day-item.active {
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(14, 165, 233, 0.25);
    }

    .cup-day-item.active:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    }

    .table-container {
        padding: 8px;
    }

    .stats-table th,
    .stats-table td {
        padding: 6px 4px;
        font-size: 0.7rem;
    }

    .drawer-content {
        padding: 10px;
        gap: 10px;
    }

    .drawer-section {
        padding: 10px;
    }

    .drawer-section h4 {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .drawer-item {
        font-size: 0.75rem;
        padding: 4px 0;
    }

    .footer {
        padding: 18px 12px;
    }

    .footer-content {
        gap: 12px;
    }

    .footer-note {
        font-size: 0.8rem;
    }

    .watermark {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 4px;
    }
}

/* 称号系统样式 */
.title-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    min-width: 120px;
}

.title-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.title-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.title-name {
    margin-right: 4px;
}

.title-icon {
    font-size: 10px;
    margin-left: 2px;
}

.title-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    background: var(--neutral-200);
    color: var(--neutral-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.title-more:hover {
    background: var(--neutral-300);
    color: var(--neutral-700);
}

.no-title {
    color: var(--neutral-400);
    font-size: 12px;
    font-style: italic;
}

/* 称号类型样式 */
.title-positive {
    background: linear-gradient(135deg, var(--success-100), var(--success-200));
    color: var(--success-800);
    border: 1px solid var(--success-300);
}

.title-negative {
    background: linear-gradient(135deg, var(--warning-100), var(--warning-200));
    color: var(--warning-800);
    border: 1px solid var(--warning-300);
}

.title-neutral {
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
    color: var(--neutral-700);
    border: 1px solid var(--neutral-300);
}


/* 称号详情卡片样式 */
.titles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 8px;
    max-width: 100%;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.title-card {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    min-width: 0;
    word-wrap: break-word;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.title-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.title-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
}

.title-card.title-positive::before {
    background: linear-gradient(90deg, var(--success-400), var(--success-600));
}

.title-card.title-negative::before {
    background: linear-gradient(90deg, var(--warning-400), var(--warning-600));
}


.title-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.title-card .title-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-800);
    margin: 0;
}

.title-card .title-icon {
    font-size: 11px;
    color: var(--primary-500);
}


.title-description {
    font-size: 11px;
    color: var(--neutral-600);
    line-height: 1.3;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.title-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: var(--neutral-500);
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.title-category {
    background: var(--neutral-200);
    padding: 1px 6px;
    border-radius: 6px;
    font-weight: 500;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
}

.title-score {
    font-weight: 600;
    color: var(--primary-600);
    white-space: nowrap;
    flex-shrink: 0;
}

/* 移动端称号样式优化 */
@media (max-width: 768px) {
    .title-container {
        min-width: 80px;
    }
    
    .title-badge {
        font-size: 9px;
        padding: 1px 3px;
    }
    
    .titles-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
        margin-top: 6px;
        width: 100%;
    }
    
    .title-card {
        padding: 8px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
    }
    
    .title-card .title-name {
        font-size: 12px;
        word-break: break-word;
    }
    
    .title-description {
        font-size: 10px;
        word-break: break-word;
        line-height: 1.2;
    }
    
    .title-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        width: 100%;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .titles-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 6px;
        margin-top: 4px;
    }
    
    .title-card {
        padding: 6px;
    }
    
    .title-card .title-name {
        font-size: 11px;
    }
    
    .title-description {
        font-size: 9px;
    }
    
    .title-meta {
        font-size: 9px;
    }
}

/* 队伍颜色系统 */
.team-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    margin-left: 6px;
}

.team-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 队伍颜色定义 - 基于常见队伍名称的预设颜色 */
.team-tag.team-color-1 {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.team-tag.team-color-2 {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.team-tag.team-color-3 {
    background: linear-gradient(135deg, #45b7d1, #96c93d);
}

.team-tag.team-color-4 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.team-tag.team-color-5 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.team-tag.team-color-6 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.team-tag.team-color-7 {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.team-tag.team-color-8 {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.team-tag.team-color-9 {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
}

.team-tag.team-color-10 {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.team-tag.team-color-11 {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}

.team-tag.team-color-12 {
    background: linear-gradient(135deg, #fad0c4, #ffd1ff);
}

.team-tag.team-color-13 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.team-tag.team-color-14 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.team-tag.team-color-15 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.team-tag.team-color-16 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

/* 默认队伍颜色 */
.team-tag.team-color-default {
    background: linear-gradient(135deg, var(--neutral-500), var(--neutral-600));
}
