/*!
 * happiness-season.css —— 幸福宝「赛季排行 · 荣耀竞技场」页
 * 紫蓝竞技风保留；仅用局部 --primary/--accent 变量（不再覆盖全局 :root）。
 * 宽度/左右留白由 .hx-page-wrap 统一（与首页一致）；页头/页脚由 happiness.css 提供。
 */

        /* 页面容器：最大 1400px 居中，两侧 20px 留白（与首页 .container 一致） */
        .hx-page-wrap { max-width: var(--container); margin: 24px auto 56px; padding: 0 20px; }

        /* ─── Breadcrumb ─── */
        .breadcrumb {
            display: flex; align-items: center; gap: 8px;
            padding: 12px 20px; margin-bottom: 24px; font-size: 14px;
            color: #7f8c8d;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        .breadcrumb a { color: #7f8c8d; text-decoration: none; transition: color 0.3s; }
        .breadcrumb a:hover { color: var(--primary); }
        .breadcrumb .current { color: #2c3e50; font-weight: 500; }

        /* ─── Hero Banner ─── */
        .hero-banner {
            position: relative;
            background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
            border-radius: 12px; padding: 56px 48px; margin-bottom: 28px;
            overflow: hidden;
        }
        .hero-banner::before {
            content: ''; position: absolute; top: -80px; right: -80px;
            width: 360px; height: 360px;
            background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
            border-radius: 50%;
        }
        .hero-banner::after {
            content: ''; position: absolute; bottom: -60px; left: -60px;
            width: 280px; height: 280px;
            background: radial-gradient(circle, rgba(106,17,203,0.05) 0%, transparent 70%);
            border-radius: 50%;
        }
        .hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; position: relative; z-index: 1; align-items: center; }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 8px;
            background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2);
            padding: 8px 18px; border-radius: 24px;
            font-size: 13px; color: var(--primary); font-weight: 600;
            margin-bottom: 20px; letter-spacing: 1px;
        }
        .hero-badge .dot {
            width: 10px; height: 10px; background: var(--primary); border-radius: 50%;
            box-shadow: 0 0 12px var(--primary); animation: pulseDot 1.5s ease-in-out infinite;
        }
        @keyframes pulseDot {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.6); opacity: 0.5; }
        }
        .hero-text h1 { font-size: 44px; font-weight: 900; color: #1e293b; margin-bottom: 14px; line-height: 1.2; letter-spacing: 3px; }
        .hero-text h1 .golden {
            background: linear-gradient(135deg, #6a11cb 0%, #2563eb 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .hero-text p { font-size: 15px; color: #475569; max-width: 560px; line-height: 1.9; margin-bottom: 24px; }
        .hero-stats { display: flex; gap: 48px; }
        .hero-stat .val {
            font-size: 36px; font-weight: 900;
            background: linear-gradient(135deg, #6a11cb 0%, #2563eb 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .hero-stat .lbl { font-size: 13px; color: #64748b; margin-top: 4px; }
        .hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
        .hero-shield {
            width: 180px; height: 180px;
            background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, rgba(106,17,203,0.04) 50%, transparent 70%);
            border: 3px solid rgba(37,99,235,0.15);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            position: relative;
            animation: shieldFloat 4s ease-in-out infinite;
        }
        @keyframes shieldFloat {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            33% { transform: translateY(-12px) rotate(3deg); }
            66% { transform: translateY(-6px) rotate(-2deg); }
        }
        .hero-shield i { font-size: 64px; color: var(--primary); }
        .hero-shield::before {
            content: ''; position: absolute; inset: -12px; border-radius: 50%;
            border: 1px dashed rgba(37,99,235,0.12);
            animation: spinSlow 20s linear infinite;
        }
        @keyframes spinSlow { to { transform: rotate(360deg); } }

        /* ─── Section Header ─── */
        .section-head {
            display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
        }
        .section-head .s-icon {
            width: 40px; height: 40px;
            background: rgba(37,99,235,0.1);
            border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            color: var(--primary); font-size: 18px;
        }
        .section-head h2 {
            font-size: 20px; font-weight: 800; color: var(--text-primary);
            letter-spacing: 2px;
        }
        .section-head .divider {
            flex: 1; height: 1px;
            background: linear-gradient(90deg, rgba(37,99,235,0.2), transparent);
        }

        /* ─── Features Grid ─── */
        .features-section { margin-bottom: 28px; }
        .features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
        .feature-card {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 12px; padding: 32px 24px; text-align: center;
            transition: all 0.3s ease; cursor: default;
            position: relative; overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        .feature-card::before {
            content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
            width: 60px; height: 3px; border-radius: 0 0 6px 6px;
            background: linear-gradient(90deg, transparent, var(--primary), transparent);
            opacity: 0; transition: opacity 0.3s;
        }
        .feature-card:hover {
            border-color: rgba(37,99,235,0.3);
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
            background: #f8faff;
        }
        .feature-card:hover::before { opacity: 1; }
        .feature-card .f-icon {
            width: 60px; height: 60px;
            background: rgba(37,99,235,0.08);
            border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 16px; font-size: 26px; color: var(--primary);
            transition: all 0.3s;
        }
        .feature-card:hover .f-icon {
            box-shadow: 0 0 24px rgba(37,99,235,0.2);
        }
        .feature-card h3 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; letter-spacing: 1px; }
        .feature-card p { font-size: 13px; color: #64748b; line-height: 1.7; }

        /* ─── Award Section ─── */
        .award-section { margin-bottom: 28px; }
        .award-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
        .award-card {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 12px; padding: 28px 20px; text-align: center;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        .award-card:hover {
            border-color: rgba(37,99,235,0.3);
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        }
        .award-card:nth-child(1) { border-top: 3px solid #ffd700; }
        .award-card:nth-child(2) { border-top: 3px solid #c0c0c0; }
        .award-card:nth-child(3) { border-top: 3px solid #cd7f32; }
        .award-card:nth-child(4) { border-top: 3px solid #ff8c42; }
        .award-card .a-icon { font-size: 40px; margin-bottom: 10px; }
        .award-card h3 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; letter-spacing: 1px; }
        .award-card p { font-size: 12px; color: #64748b; }
        .award-card .a-amount {
            font-size: 22px; font-weight: 900; margin-top: 10px;
            background: linear-gradient(135deg, #6a11cb 0%, #2563eb 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .award-card .a-title { font-size: 12px; color: var(--purple); margin-top: 6px; font-weight: 600; }

        /* ─── Rules Section ─── */
        .rules-section { margin-bottom: 28px; }
        .rules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
        .rule-card {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 12px; padding: 36px 20px 24px; text-align: center;
            position: relative; transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        .rule-card:hover {
            border-color: rgba(37,99,235,0.3);
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        }
        .rule-card .step-num {
            position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
            width: 36px; height: 36px;
            background: linear-gradient(135deg, #6a11cb 0%, #2563eb 100%);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: white; font-weight: 900; font-size: 16px;
            box-shadow: 0 0 16px rgba(37,99,235,0.3);
        }
        .rule-card .r-icon { font-size: 34px; color: var(--primary); margin: 16px 0 12px; }
        .rule-card h3 { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; letter-spacing: 1px; }
        .rule-card p { font-size: 12px; color: #64748b; line-height: 1.7; }

        /* ─── Rank Card ─── */
        .card {
            background: white;
            border-radius: 12px; padding: 28px; margin-bottom: 24px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        }
        .season-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 28px; flex-wrap: wrap; gap: 16px;
        }
        .season-title { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
        .year {
            font-size: 28px; font-weight: 900; letter-spacing: 2px;
            background: linear-gradient(135deg, #6a11cb 0%, #2563eb 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .quarter-tabs { display: flex; gap: 6px; }
        .quarter-tab {
            padding: 9px 22px;
            background: #f1f5f9;
            border: 1px solid var(--border-color);
            border-radius: 22px; font-size: 14px; font-weight: 700;
            cursor: pointer; transition: all 0.3s; color: #64748b;
            letter-spacing: 1px;
        }
        .quarter-tab:hover {
            background: rgba(37,99,235,0.06); border-color: rgba(37,99,235,0.2); color: var(--primary);
        }
        .quarter-tab.active {
            background: linear-gradient(135deg, #6a11cb 0%, #2563eb 100%);
            border-color: transparent; color: white;
            box-shadow: 0 4px 12px rgba(106,17,203,0.3);
        }
        .history-btn {
            padding: 10px 22px;
            background: linear-gradient(135deg, rgba(106,17,203,0.08) 0%, rgba(37,99,235,0.05) 100%);
            border: 1px solid rgba(106,17,203,0.2);
            border-radius: 22px; color: var(--purple); font-size: 14px; font-weight: 600;
            cursor: pointer; transition: all 0.3s; letter-spacing: 1px;
        }
        .history-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(106,17,203,0.15);
        }

        /* ─── User Rank Cards ─── */
        .user-rank-section { display: flex; gap: 20px; margin-bottom: 24px; }
        .user-rank-card {
            flex: 1;
            background: #f8fafc;
            border-radius: 12px; padding: 20px 24px;
            border: 1px solid var(--border-color);
            cursor: pointer; transition: all 0.3s;
            position: relative; overflow: hidden;
        }
        .user-rank-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
            background: linear-gradient(90deg, #6a11cb, #2563eb);
            opacity: 0; transition: opacity 0.3s;
        }
        .user-rank-card:hover { background: #f0f5ff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
        .user-rank-card.active { border-color: rgba(37,99,235,0.3); box-shadow: 0 0 20px rgba(37,99,235,0.06); background: white; }
        .user-rank-card.active::before { opacity: 1; }
        .user-rank-card .card-label { font-size: 12px; color: #64748b; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
        .user-rank-card .rank-info { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
        .user-rank-card .rank-number { font-size: 38px; font-weight: 900; color: var(--primary); }
        .user-rank-card .rank-label { font-size: 14px; color: #64748b; }
        .user-rank-card .rank-value { font-size: 20px; font-weight: 700; color: var(--text-primary); }
        .user-rank-card .rank-location { font-size: 12px; color: #64748b; display: flex; align-items: center; gap: 4px; }
        .rank-change {
            display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;
            border-radius: 10px; font-size: 12px; margin-left: 8px; font-weight: 700;
        }
        .rank-change.up { background: rgba(16,185,129,0.12); color: #10b981; }
        .rank-change.down { background: rgba(239,68,68,0.12); color: #ef4444; }

        /* ─── Tabs ─── */
        .tabs { display: flex; gap: 12px; margin-bottom: 28px; }
        .tab-item {
            padding: 12px 28px;
            background: #f1f5f9;
            border: 1px solid var(--border-color);
            border-radius: 26px; font-size: 15px; font-weight: 600;
            cursor: pointer; transition: all 0.3s; color: #64748b;
            display: flex; align-items: center; gap: 8px; letter-spacing: 1px;
        }
        .tab-item:hover { background: rgba(37,99,235,0.04); border-color: rgba(37,99,235,0.2); color: var(--primary); }
        .tab-item.active {
            background: linear-gradient(135deg, #6a11cb 0%, #2563eb 100%);
            color: white; border-color: transparent;
            box-shadow: 0 4px 16px rgba(106,17,203,0.25);
        }

        /* ─── Podium Top 3 ─── */
        .top-three {
            display: flex; justify-content: center; align-items: flex-end;
            gap: 24px; margin-bottom: 40px; padding: 10px 0;
        }
        .top-item {
            display: flex; flex-direction: column; align-items: center;
            padding: 28px 24px;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 16px; cursor: pointer; transition: all 0.3s;
            width: 210px; position: relative;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        .top-item:hover { transform: translateY(-8px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); border-color: rgba(37,99,235,0.3); }
        .top-item .rank-badge {
            position: absolute; top: -16px;
            width: 40px; height: 40px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-weight: 900; font-size: 18px; color: white;
        }
        .top-item.first { order: 2; width: 260px; border-color: rgba(255,215,0,0.3); background: linear-gradient(180deg, #fffde7 0%, white 50%); }
        .top-item.first .avatar-img { width: 100px; height: 100px; border: 4px solid #ffd700; box-shadow: 0 0 36px rgba(255,215,0,0.5), inset 0 0 16px rgba(255,215,0,0.08); }
        .top-item.first .rank-badge { background: linear-gradient(135deg, #ffd700, #ffaa00); box-shadow: 0 0 24px rgba(255,215,0,0.6); width: 44px; height: 44px; font-size: 20px; }
        .top-item.first .name { font-size: 19px; color: #b8860b; font-weight: 800; }
        .top-item.second { order: 1; }
        .top-item.second .avatar-img { width: 84px; height: 84px; border: 3px solid #c0c0c0; box-shadow: 0 0 24px rgba(192,192,192,0.4); }
        .top-item.second .rank-badge { background: linear-gradient(135deg, #d4d4d4, #a0a0a0); box-shadow: 0 0 18px rgba(192,192,192,0.4); color: #1a1a2e; }
        .top-item.second .name { font-size: 17px; color: #666; font-weight: 700; }
        .top-item.third { order: 3; }
        .top-item.third .avatar-img { width: 74px; height: 74px; border: 3px solid #d4a054; box-shadow: 0 0 20px rgba(205,127,50,0.4); }
        .top-item.third .rank-badge { background: linear-gradient(135deg, #d4a054, #b07030); box-shadow: 0 0 16px rgba(205,127,50,0.4); color: #1a1a2e; }
        .top-item.third .name { font-size: 16px; color: #8b6914; font-weight: 700; }
        .avatar-img { border-radius: 50%; object-fit: cover; transition: transform 0.4s; }
        .top-item:hover .avatar-img { transform: scale(1.08); }
        .user-name { font-size: 17px; font-weight: 700; color: var(--text-primary); margin: 16px 0 8px; }
        .user-value { font-size: 16px; color: var(--primary); font-weight: 800; }
        .user-value-sub { font-size: 11px; color: #64748b; margin-top: 4px; }

        /* ─── Rank List ─── */
        .rank-list {
            background: #f8fafc;
            border-radius: 12px; overflow: hidden;
            border: 1px solid var(--border-color);
        }
        .rank-item {
            display: flex; align-items: center; padding: 16px 24px;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer; transition: all 0.3s;
        }
        .rank-item:hover { background: #f0f5ff; }
        .rank-item:last-child { border-bottom: none; }
        .rank-item.current-user {
            background: linear-gradient(90deg, rgba(37,99,235,0.04) 0%, transparent 100%);
            border-left: 4px solid var(--primary);
        }
        .item-rank { width: 52px; font-size: 18px; font-weight: 800; color: #94a3b8; text-align: center; }
        .item-rank.top { color: var(--primary); }
        .item-avatar {
            width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
            margin: 0 16px; border: 2px solid var(--border-color);
            transition: all 0.3s;
        }
        .rank-item:hover .item-avatar { border-color: rgba(37,99,235,0.5); box-shadow: 0 0 12px rgba(37,99,235,0.2); }
        .item-info { flex: 1; }
        .item-name { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
        .item-desc { font-size: 12px; color: #64748b; display: flex; align-items: center; gap: 6px; }
        .item-value { font-size: 18px; font-weight: 800; color: var(--primary); text-align: right; }
        .item-stats { display: flex; gap: 16px; align-items: center; }
        .item-stat-mini { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #94a3b8; }

        /* ─── Empty State ─── */
        .empty-state { text-align: center; padding: 80px 20px; }
        .empty-state i { font-size: 72px; margin-bottom: 20px; color: #d1d5db; }
        .empty-state h3 { font-size: 20px; color: #64748b; margin-bottom: 8px; }
        .empty-state p { color: #94a3b8; font-size: 14px; }

        /* ─── Pagination ─── */
        .pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
        .page-btn {
            min-width: 42px; height: 42px;
            display: flex; align-items: center; justify-content: center;
            border: 1px solid var(--border-color);
            border-radius: 10px; background: white;
            color: #64748b; font-size: 14px; font-weight: 600;
            cursor: pointer; transition: all 0.3s;
        }
        .page-btn:hover { border-color: var(--primary); color: var(--primary); }
        .page-btn.active {
            background: linear-gradient(135deg, #6a11cb 0%, #2563eb 100%);
            color: white; border-color: transparent;
            box-shadow: 0 4px 12px rgba(106,17,203,0.25);
        }
        .page-btn.disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

        /* 返回顶部 / 页脚统一由 happiness.css + hxfooter 提供（与首页一致） */

        /* ─── Responsive ─── */
        @media (max-width: 1200px) {
            .features-grid, .award-grid { grid-template-columns: repeat(2, 1fr); }
            .rules-grid { grid-template-columns: repeat(2, 1fr); }
            .hero-grid { grid-template-columns: 1fr; }
            .hero-visual { display: none; }
        }
        @media (max-width: 768px) {
            .hero-banner { padding: 32px 20px; }
            .hero-text h1 { font-size: 28px; }
            .hero-stats { gap: 20px; }
            .hero-stat .val { font-size: 24px; }
            .features-grid, .award-grid, .rules-grid { grid-template-columns: 1fr; }
            .user-rank-section { flex-direction: column; }
            .top-three { flex-direction: column; align-items: center; gap: 16px; }
            .top-item.first, .top-item.second, .top-item.third { order: 0; width: 100%; max-width: 280px; }
            .season-header { flex-direction: column; align-items: flex-start; }
        }

/* =====================================================================
   2026-09 赛季红包排行改造：倒计时 / 档位表 / 我的排名 / 筛选器 / 红包角标
   ===================================================================== */

/* Hero：赛季状态小标签 + 倒计时 */
.hero-season-status {
    font-style: normal;
    margin-left: 6px;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(106,17,203,.12);
    color: #6a11cb;
    font-size: 12px;
}
.countdown-box {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(37,99,235,.18);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 22px;
}
.countdown-box.ended { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.3); }
.cd-label { font-size: 13px; color: #475569; font-weight: 600; }
.cd-label i { color: var(--primary); margin-right: 4px; }
.countdown-box.ended .cd-label i,
.countdown-box.ended .cd-label { color: #e11d48; }
.cd-nums { display: flex; align-items: center; gap: 6px; }
.cd-nums > i { color: #94a3b8; font-style: normal; font-weight: 700; }
.cd-item {
    min-width: 52px;
    text-align: center;
    background: linear-gradient(135deg,#6a11cb,#2563eb);
    border-radius: 8px;
    padding: 6px 8px;
    color: #fff;
}
.cd-item b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-item span { font-size: 11px; opacity: .85; }

/* 奖励档位表 */
.tiers-table-wrap {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(37,99,235,.05);
}
.tiers-table { width: 100%; border-collapse: collapse; }
.tiers-table th {
    background: linear-gradient(135deg,#eef2ff,#e0e7ff);
    color: #3730a3;
    font-size: 13px;
    padding: 13px 18px;
    text-align: left;
    letter-spacing: 1px;
}
.tiers-table td { padding: 14px 18px; border-top: 1px solid var(--border-color); font-size: 14px; color: var(--text-secondary); }
.tiers-table tr.tier-hot { background: linear-gradient(90deg,rgba(245,158,11,.08),transparent); }
.tiers-table tr.tier-hot td:first-child { font-weight: 700; color: #b45309; }
.tier-reward { color: var(--primary); font-weight: 700; white-space: nowrap; }
.tier-reward .tier-num {
    display: inline-block;
    min-width: 26px; text-align: center;
    color: #fff;
    background: linear-gradient(135deg,#f59e0b,#ea580c);
    border-radius: 6px;
    padding: 2px 8px;
    margin: 0 2px;
}
.tiers-note {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    padding: 13px 18px;
    font-size: 13px; color: #92400e;
    background: #fffbeb;
    border-top: 1px dashed #fcd34d;
}
.tiers-note i { color: #d97706; }
.tiers-note a { margin-left: auto; color: var(--primary); font-weight: 700; text-decoration: none; }
.tiers-note a:hover { text-decoration: underline; }
.tiers-loading { text-align: center; color: var(--text-light); padding: 26px 0 !important; }

/* 榜单卡片 */
.season-card { padding: 24px; }

/* 我的排名 */
.my-rank {
    margin: 18px 0 20px;
    border-radius: 14px;
    border: 1.5px solid rgba(37,99,235,.25);
    background: linear-gradient(120deg,#eef2ff 0%,#f5f3ff 100%);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.mr-badge {
    flex: none;
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff;
    background: linear-gradient(135deg,#6a11cb,#2563eb);
    box-shadow: 0 8px 18px rgba(106,17,203,.3);
}
.mr-main { flex: 1; min-width: 0; }
.mr-title { font-size: 14px; font-weight: 800; color: #312e81; margin-bottom: 8px; }
.mr-items { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.mr-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.mr-k { color: #64748b; }
.mr-v { color: #1e293b; font-weight: 600; }
.mr-rank { color: #ea580c; font-size: 17px; }
.mr-item small { color: #94a3b8; font-weight: 400; }
.mr-packets .mr-v b { color: #dc2626; font-size: 16px; }
.mr-go {
    flex: none;
    padding: 11px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg,#f59e0b,#ea580c);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(234,88,12,.3);
    transition: transform .15s, filter .2s;
}
.mr-go:hover { color: #fff; filter: brightness(1.06); transform: translateY(-2px); }
.mr-loading, .mr-empty {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    color: #64748b; font-size: 14px;
    justify-content: center;
    padding: 8px 0;
}
.mr-empty i { font-size: 20px; color: #94a3b8; }
.mr-empty a {
    margin-left: auto;
    color: var(--primary); font-weight: 700; text-decoration: none;
    border: 1.5px solid rgba(37,99,235,.3);
    border-radius: 9px; padding: 8px 14px;
}
.mr-empty a:hover { background: rgba(37,99,235,.08); }

/* 维度 tabs 与筛选面板 */
.rank-scope-tabs { margin-bottom: 14px; }
.filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
}
.filter-panel select, .filter-panel input[type=text] {
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 9px;
    font-size: 14px;
    background: #fff;
    outline: none;
    min-width: 150px;
}
.filter-panel select:focus, .filter-panel input:focus { border-color: var(--primary); }
.filter-btn {
    border: none; cursor: pointer;
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 14px; font-weight: 700;
    color: #fff;
    background: var(--gradient);
}
.filter-btn.ghost { background: #fff; color: var(--text-secondary); border: 1.5px solid var(--border-color); }
.filter-btn.primary { background: linear-gradient(135deg,#f59e0b,#ea580c); }
.filter-current {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
    font-size: 13.5px; color: #334155;
    background: #eef2ff;
    border: 1px dashed #a5b4fc;
    border-radius: 9px;
    padding: 9px 14px;
}
.filter-current .fc-reset {
    margin-left: auto;
    color: var(--primary); font-weight: 700; cursor: pointer;
}
.podium-loading {
    width: 100%;
    text-align: center;
    color: var(--text-light);
    padding: 40px 0;
    grid-column: 1 / -1;
}

/* 榜单行：红包数角标 */
.item-packets {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px;
    color: #94a3b8;
    background: #f1f5f9;
    border-radius: 11px;
    padding: 3px 10px;
    margin-right: 12px;
}
.item-packets.on { color: #b45309; background: #fef3c7; font-weight: 700; }
.top-item .user-packets {
    margin-top: 6px;
    font-size: 12.5px;
    color: #ea580c;
    font-weight: 700;
}
.rank-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 50px 0;
    color: var(--text-light);
}
.rank-empty i { font-size: 44px; color: #cbd5e1; }
.rank-empty p { margin: 0; font-size: 15px; color: var(--text-secondary); font-weight: 600; }
.rank-empty span { font-size: 13px; }

.pagination .page-info {
    color: var(--text-light);
    font-size: 13px;
    margin-left: 8px;
    align-self: center;
}

@media (max-width: 768px) {
    .season-card { padding: 14px; }
    .countdown-box { width: 100%; justify-content: space-between; padding: 12px; gap: 8px; }
    .cd-item { min-width: 44px; }
    .my-rank { flex-direction: column; align-items: stretch; }
    .mr-go { text-align: center; }
    .mr-empty { flex-wrap: wrap; }
    .mr-empty a { margin-left: 0; }
    .tiers-note a { margin-left: 0; }
    .item-packets { margin-right: 0; }
    .filter-panel select, .filter-panel input[type=text] { flex: 1 1 100%; min-width: 0; }
}
