/* ===== CSS Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #f43f5e;
    --accent-2: #06b6d4;
    --danger: #ef4444;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

body {
    font-family: 'Inter', 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--gray-100);
    background-image: 
        radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(6, 182, 212, 0.03) 0px, transparent 50%);
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.logo {
    color: var(--dark);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
    text-decoration: none;
    cursor: pointer;
}
.logo:hover {
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

/* 上传的 Logo 图片等比缩放到容器内，不失真 */
.logo-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: logo-shine 3s infinite;
}

@keyframes logo-shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.logo span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

/* 兜底：确保 logo 及其子元素在任何状态下都无下划线 */
.logo,
.logo:link,
.logo:visited,
.logo:hover,
.logo:active,
.logo:focus,
.logo .logo-text,
.logo span,
.logo * {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
}

/* 移动端隐藏站点名称，只保留 Logo 图标 */
@media (max-width: 768px) {
    .logo .logo-text {
        display: none;
    }
    .vip-trigger {
        display: none !important;
    }
}

/* 移动端菜单里的 VIP 项：金色渐变卡片，突出显示 */
.mobile-menu-list li.mobile-menu-vip {
    margin: 12px 12px 0;
    padding: 0 !important;
    list-style: none;
}
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link,
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link:hover,
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link.active {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f6ad00 0%, #ff8c00 45%, #ff5f6d 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.32);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link:hover,
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link.active {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(255, 95, 109, 0.38);
}
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link i,
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link span,
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link em {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link i {
    font-size: 20px;
    color: #fff8dc !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link span {
    flex: 1;
}
.mobile-menu-list li.mobile-menu-vip a.mobile-vip-link .mobile-vip-tag {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    font-style: normal;
    color: #ffffff !important;
    letter-spacing: 0.3px;
    backdrop-filter: blur(2px);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 5px;
    position: relative;
    z-index: 101;
}

.cart-trigger,
.notification-trigger {
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--gray-100);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    z-index: 102;
}

.cart-trigger:hover,
.notification-trigger:hover {
    background: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.cart-trigger i,
.notification-trigger i {
    font-size: 20px;
    color: var(--gray-500);
    transition: all 0.3s;
}

.cart-trigger:hover i,
.notification-trigger:hover i {
    color: var(--white);
}

/* VIP 触发按钮 */
.vip-trigger {
    position: relative;
    height: 44px;
    padding: 0 16px 0 14px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #ea580c 100%);
    color: #78350f;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 13px;
    box-shadow: 0 6px 18px rgba(245, 158, 11, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .3s;
    z-index: 102;
}
.vip-trigger::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: rotate(20deg);
    animation: vipTriggerShine 3.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes vipTriggerShine {
    0%   { left: -60%; }
    55%  { left: 130%; }
    100% { left: 130%; }
}
.vip-trigger:hover {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 10px 24px rgba(245, 158, 11, .5), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.vip-trigger:active {
    transform: translateY(0) scale(1);
}
.vip-trigger i {
    font-size: 16px;
    color: #78350f;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .5));
}
.vip-trigger-label {
    position: relative;
    z-index: 1;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(180deg, #7c2d12 0%, #431407 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 640px) {
    .vip-trigger {
        padding: 0 12px;
        height: 40px;
    }
    .vip-trigger-label {
        display: none;
    }
    .vip-trigger i {
        font-size: 18px;
    }
}

/* ================================================================
 * 内容页共用组件（BEM 基础类）
 * ---------------------------------------------------------------
 * 用途：将 news-* / help-* / single-* / vip-* 四段中高度重复的
 *      "面包屑 / Hero 外壳 / 侧栏 Widget / 相关列表 / 联系卡片 /
 *       上下页导航 / 分区标题" 等结构抽取为可复用基础类。
 *
 * 用法（渐进式）：
 *   新页面 → 优先使用 .c-* 基础类；
 *   老页面 → 现有 .news-* .help-* .single-* .vip-* 段保留，
 *           不动其规则；如需微调仅新增自定义变量或修饰符类。
 *
 * 命名约定（BEM）：
 *   .c-block                → Block  基础组件
 *   .c-block__element       → Element 子元素
 *   .c-block--modifier      → Modifier 变体
 *
 * 主题变量：通过 --c-accent（主色）+ --c-accent-2（渐变副色）
 *   在组件外层覆盖即可切换配色，便于 news/help/single/vip 复用。
 * ================================================================ */

/* 主色变量（默认蓝色系，各模块可覆盖） */
.c-scope-news    { --c-accent: #2563eb; --c-accent-2: #1d4ed8; --c-text: #1f2937; --c-muted: #6b7280; }
.c-scope-help    { --c-accent: #6366f1; --c-accent-2: #8b5cf6; --c-text: #0f172a; --c-muted: #64748b; }
.c-scope-single  { --c-accent: #3b82f6; --c-accent-2: #6366f1; --c-text: #0f172a; --c-muted: #64748b; }
.c-scope-vip     { --c-accent: #f59e0b; --c-accent-2: #ea580c; --c-text: #0f172a; --c-muted: #78716c; }

/* ---------- Breadcrumb ---------- */
.c-breadcrumb {
    font-size: 13px;
    color: var(--c-muted, #6b7280);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.c-breadcrumb a {
    color: var(--c-muted, #6b7280);
    text-decoration: none;
    transition: color .2s;
}
.c-breadcrumb a:hover {
    color: var(--c-accent, #2563eb);
}
.c-breadcrumb__sep { color: #cbd5e1; }
.c-breadcrumb__current {
    color: var(--c-text, #1f2937);
    font-weight: 500;
}

/* ---------- Hero 通用外壳 ---------- */
.c-hero {
    position: relative;
    padding: 60px 0 50px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--c-accent, #2563eb), var(--c-accent-2, #1d4ed8));
    color: #fff;
}
.c-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.c-hero__title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin: 8px 0 12px;
    letter-spacing: -.02em;
}
.c-hero__desc {
    font-size: 15px;
    opacity: .92;
    max-width: 720px;
    line-height: 1.7;
}
.c-hero__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
    animation: c-hero-float 8s ease-in-out infinite;
}
.c-hero__shape--1 { width: 240px; height: 240px; top: -60px; right: -40px; }
.c-hero__shape--2 { width: 160px; height: 160px; bottom: -50px; left: 10%; animation-delay: -3s; }
@keyframes c-hero-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-14px) scale(1.05); }
}

/* ---------- 主布局：正文 + 侧栏 ---------- */
.c-layout {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: flex-start;
}
.c-layout--reverse { grid-template-columns: 300px 1fr; }
@media (max-width: 960px) {
    .c-layout,
    .c-layout--reverse { grid-template-columns: 1fr; }
}

/* ---------- Card：内容卡片 ---------- */
.c-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    border: 1px solid rgba(15,23,42,.06);
}
.c-card--tight { padding: 16px; }
.c-card--flat  { box-shadow: none; }

/* ---------- Widget：侧栏组件 ---------- */
.c-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    border: 1px solid rgba(15,23,42,.06);
}
.c-widget__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text, #1f2937);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.c-widget__title i {
    color: var(--c-accent, #2563eb);
    font-size: 14px;
}

/* ---------- 分区标题 ---------- */
.c-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text, #1f2937);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.c-section-title i {
    color: var(--c-accent, #2563eb);
}

/* ---------- Ranked List：Top-N 热门列表 ---------- */
.c-rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.c-rank-list__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(15,23,42,.08);
}
.c-rank-list__item:last-child { border-bottom: 0; }
.c-rank-list__rank {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
}
.c-rank-list__rank--1 { background: #fee2e2; color: #ef4444; }
.c-rank-list__rank--2 { background: #ffedd5; color: #f97316; }
.c-rank-list__rank--3 { background: #fef3c7; color: #eab308; }
.c-rank-list__title {
    flex: 1;
    font-size: 13px;
    color: var(--c-text, #1f2937);
    text-decoration: none;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.c-rank-list__title:hover { color: var(--c-accent, #2563eb); }

/* ---------- 上下页导航 ---------- */
.c-page-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0 16px;
}
.c-page-nav__link,
.c-page-nav__disabled {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    text-decoration: none;
    transition: border-color .2s, transform .2s;
    color: var(--c-text, #1f2937);
}
.c-page-nav__link:hover {
    border-color: var(--c-accent, #2563eb);
    transform: translateY(-1px);
}
.c-page-nav__disabled {
    opacity: .55;
    cursor: not-allowed;
}
.c-page-nav__link--next,
.c-page-nav__disabled--next {
    text-align: right;
}
.c-page-nav__label {
    font-size: 12px;
    color: var(--c-muted, #64748b);
}
.c-page-nav__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text, #1f2937);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 640px) {
    .c-page-nav { grid-template-columns: 1fr; }
}

/* ---------- 相关推荐列表 ---------- */
.c-related {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}
.c-related__item a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}
.c-related__item a:hover {
    border-color: var(--c-accent, #2563eb);
    transform: translateY(-2px);
}
.c-related__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text, #1f2937);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.c-related__meta {
    font-size: 12px;
    color: var(--c-muted, #64748b);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---------- 联系客服卡片 ---------- */
.c-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, var(--c-accent, #2563eb), var(--c-accent-2, #1d4ed8));
    color: #fff;
    border-radius: 12px;
    margin-top: 20px;
}
.c-contact__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.c-contact__body { flex: 1; }
.c-contact__body h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
}
.c-contact__body p {
    margin: 0;
    font-size: 13px;
    opacity: .9;
    line-height: 1.55;
}
@media (max-width: 640px) {
    .c-contact { flex-direction: column; text-align: center; }
}

/* ---------- 空态占位 ---------- */
.c-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--c-muted, #64748b);
}
.c-empty__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    background: linear-gradient(135deg, var(--c-accent, #2563eb), var(--c-accent-2, #1d4ed8));
    opacity: .85;
}
.c-empty__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text, #1f2937);
    margin-bottom: 6px;
}
.c-empty__desc {
    font-size: 13px;
    line-height: 1.6;
}

/* ---------- 按钮：轻量通用 ---------- */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 8px;
    background: var(--c-accent, #2563eb);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, opacity .2s;
}
.c-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.c-btn--light {
    background: #f1f5f9;
    color: var(--c-text, #1f2937);
}
.c-btn--ghost {
    background: transparent;
    color: var(--c-accent, #2563eb);
    border: 1px solid rgba(15,23,42,.15);
}
.c-btn--sm { padding: 6px 12px; font-size: 12px; }
.c-btn--lg { padding: 12px 24px; font-size: 15px; }
.c-btn[disabled],
.c-btn--disabled { opacity: .5; cursor: not-allowed; }
.login-btn {
    padding: 10px 20px;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    z-index: 102;
}

.login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.cart-badge,
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
}

.cart-badge.show,
.notification-badge.show {
    opacity: 1;
    transform: scale(1);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                var(--gradient-1) border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 5px;
    position: relative;
    z-index: 102;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Cart Modal ===== */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 72px;
    padding-right: 24px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-modal.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal-content {
    background: var(--white);
    border-radius: 24px;
    width: 380px;
    max-height: 520px;
    box-shadow: var(--shadow-2xl);
    transform: translateX(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cart-modal.active .cart-modal-content {
    transform: translateX(0) scale(1);
}

.cart-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.cart-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    color: var(--gray-500);
    transition: all 0.3s;
}

.cart-modal-close:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(90deg);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-400);
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    fill: var(--gray-200);
    margin-bottom: 16px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 12px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.cart-item-plan {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--gray-200);
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    color: var(--gray-500);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    background: #ef4444;
    color: white;
}

.cart-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total span {
    font-size: 14px;
    color: var(--gray-600);
}

.cart-total strong {
    font-size: 20px;
    color: var(--primary);
}

.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-checkout-btn:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* ===== User Modal ===== */
.user-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 72px;
    padding-right: 24px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.user-modal.active {
    opacity: 1;
    visibility: visible;
}

.user-modal-content {
    background: var(--white);
    border-radius: 24px;
    width: 340px;
    box-shadow: var(--shadow-2xl);
    transform: translateX(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.user-modal.active .user-modal-content {
    transform: translateX(0) scale(1);
}

.user-modal-header {
    background: var(--gradient-1);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.user-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.user-modal-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.user-modal-header h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    position: relative;
}

.user-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s;
}

.user-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.user-modal-body {
    padding: 24px;
}

.user-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.user-info-item:last-child {
    border-bottom: none;
}

.user-info-label {
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
}

.user-info-value {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 700;
}

.user-modal-footer {
    padding: 20px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-action-btn {
    display: block;
    padding: 14px;
    background: var(--gradient-1);
    color: var(--white);
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.user-action-btn:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.user-action-btn.logout {
    background: var(--gray-100);
    color: var(--gray-700);
    box-shadow: none;
}

.user-action-btn.logout:hover {
    background: var(--gray-300);
    box-shadow: var(--shadow);
}

/* ===== Quick Actions ===== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px 0;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s;
}

.quick-action-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.quick-action-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 60px;
    width: 100%;
    overflow: hidden;
}

/* ===== Filter Section ===== */
.filter-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 6px 32px;
    margin-top: 0px;
    margin-bottom: 7px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.filter-header {
    margin-bottom: 0;
}

.filter-search-wrapper {
    margin-bottom: 5px;
    padding: 0 0 4px 0;
    border-bottom: 1px solid var(--gray-100);
}

.filter-search-box {
    position: relative;
    display: flex;
    width: 58%;
    margin: 0 auto;
    gap: 0;
}

@media (max-width: 768px) {
    .filter-search-box {
        width: 100%;
        padding: 0 12px;
    }

    .filter-search-clear {
        right: 118px;
        padding: 0;
    }
    
    .filter-search-btn,
    .filter-search-clear,
    .filter-reset-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
}

.filter-search {
    flex: 1;
    min-width: 0;
    padding: 12px 38px 12px 14px;
    border: 2px solid var(--primary);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    transition: all 0.25s;
}

.filter-search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.filter-search::placeholder {
    color: var(--gray-400);
}

.filter-search-clear {
    position: absolute;
    top: 50%;
    right: 118px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    cursor: pointer;
    transform: translateY(-50%);
    transition: all 0.2s;
    z-index: 2;
}

.filter-search-clear:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.filter-search-btn {
    padding: 12px 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 0;
    color: white;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.filter-search-btn:hover {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.filter-reset-btn {
    padding: 12px 5px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    border-radius: 0 10px 10px 0;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 6px;
    text-decoration: none;
}

.filter-reset-btn:hover {
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    text-decoration: none;
}

.filter-result {
    min-height: 20px;
    margin-top: 6px;
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
}

.filter-result strong {
    color: var(--primary);
    font-weight: 700;
}

.result-count {
    color: var(--primary);
    font-weight: 700;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.filter-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.filter-label {
    font-size: 14px;
    color: #6d67ca;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 下拉选择框样式 */
.filter-select {
    width: 100%;
    padding: 8px 40px 8px 16px;
    border: 2px solid #6366f1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 100%);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: none;
}

.filter-select:hover {
    border-color: #333333;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: none;
}

.filter-select:focus {
    outline: none;
    border-color: #6366f1;
    color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16), 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: none;
}

.filter-select option {
    padding: 10px;
    font-size: 14px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.filter-btn.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

/* ===== Content Grid ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
    min-width: 0;
}

/* ===== Creator Card ===== */
.empty-state {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    border: 1px dashed rgba(99, 102, 241, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--gray-500);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    box-shadow: var(--shadow);
}

.empty-state::before {
    content: '\f002';
    margin-right: 10px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary);
}

.creator-card {
    position: relative;
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.04);
    min-width: 0;
}

.creator-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.creator-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: transparent;
}

.creator-card:hover::before {
    opacity: 0.03;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(99, 102, 241, 0.1), transparent, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    animation: card-glow-rotate 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.creator-card:hover .card-glow {
    opacity: 1;
}

@keyframes card-glow-rotate {
    100% { transform: rotate(360deg); }
}

.card-image {
    position: relative;
    padding-top: 70%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    z-index: 1;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.creator-card:hover .card-image img {
    transform: scale(1.12);
}

.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
}

.card-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge.top {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.card-badge.quality {
    background: linear-gradient(135deg, var(--accent-2) 0%, #0891b2 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.card-badge.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.card-views {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
}

.card-views svg {
    fill: currentColor;
}

.card-body {
    padding: 10px 5px 0px 10px;
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: block;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.creator-card:hover .card-title {
    color: var(--primary);
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.tag.style {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.tag.type {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(8, 145, 178, 0.1) 100%);
    color: #0891b2;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

/* ===== Modal ===== */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
    font-size: 20px;
    color: var(--gray-600);
    z-index: 10;
}

.modal-close:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 10px;
}

/* 头部：头像 + 标题 + 级别 */
.modal-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    margin-bottom: 2px;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--gray-100);
}

.modal-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-light);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    letter-spacing: -0.5px;
}

.modal-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 600px;
}

.modal-level {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-level.top {
    width: fit-content;
    padding: 1px 5px;
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.modal-level.quality {
    background: rgba(6, 182, 212, 0.15);
    color: #0891b2;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.modal-level.new {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* 信息列表 */
.modal-info-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 2px;
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--gray-50);
}

.modal-info-row:last-child {
    border-bottom: none;
}

.modal-tags-wrapper {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
}

.modal-info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 16px;
    font-weight: 500;
}

.modal-info-label svg {
    width: 18px;
    height: 18px;
    fill: var(--gray-400);
}

.modal-info-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.modal-info-value.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 介绍 */
.modal-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    padding: 18px;
    background: var(--gray-100);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

/* 价格说明区域 */
.modal-pricing-section {
    margin-top: 18px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.pricing-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.pricing-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.pricing-tab {
    border: 2px solid #ddd;
    border-radius: 8px;
    background: var(--gray-50);
    overflow: hidden;
}

.pricing-tab:last-child {
    border-bottom: none;
}

.pricing-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 12px 16px;
    background: var(--gray-50);
    cursor: pointer;
}

/* 默认都显示 */
.pricing-tab .pricing-tab-header {
    background: #404245;
}

.pricing-tab:last-child .pricing-tab-header {
    background: var(--primary);
    color: #fff;
}

.pricing-tab:last-child .pricing-tab-header .pricing-tab-note {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-tab:last-child .pricing-tab-header .pricing-tab-name {
    color: #fff;
}

.pricing-tab-name {
    font-size: 16px;
    font-weight: 600;
    color:#ffffff;
}

.pricing-tab-note {
    font-size: 14px;
    color: var(--gray-500);
}

.pricing-tab-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Tab展开/折叠状态 - 稳定版高亮 */
.pricing-tab.active:last-child .pricing-tab-header {
    background: var(--primary);
    color: #fff;
}

.pricing-tab.active:last-child .pricing-tab-header .pricing-tab-note {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-tab.active:last-child .pricing-tab-name {
    color: #fff;
}

/* 会员选项选中状态 */
.pricing-item.selectable.selected {
    background: var(--primary-light);
    border-color: var(--primary);
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-period {
    font-size: 15px;
    color: var(--gray-600);
}

.pricing-price {
    font-size: 16px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pricing-price del {
    color: var(--gray-400);
    text-decoration: line-through;
    font-size: 12px;
}

.pricing-price strong {
    color: var(--danger);
    font-weight: 600;
}

.pricing-tag {
    background: linear-gradient(135deg, var(--danger) 0%, #ef4444 100%);
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.pricing-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 16px auto;
    flex-wrap: nowrap;
    width: 100%;
}

.pricing-buy-btn {
    display: block;
    width: 160px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    white-space: nowrap;
}

.pricing-add-btn {
    display: block;
    width: 160px;
    padding: 12px 24px;
    background: #f3f4f6;
    color: #374151;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #d1d5db;
    white-space: nowrap;
}

.pricing-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.pricing-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #e5e7eb;
}

/* 会员选择项样式 */
.pricing-item.selectable {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 4px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    gap: 12px;
}

.pricing-item.selectable:last-child {
    border-bottom: none;
}

.pricing-item.selectable:hover {
    background: rgba(99, 102, 241, 0.05);
}

.pricing-item.selectable input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pricing-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.pricing-item.selectable input[type="radio"]:checked + .pricing-radio {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.pricing-item.selectable input[type="radio"]:checked + .pricing-radio::after {
    transform: translate(-50%, -50%) scale(1);
}

.pricing-item.selectable input[type="radio"]:checked ~ .pricing-period {
    color: var(--primary);
    font-weight: 600;
}

.pricing-item.selectable input[type="radio"]:checked ~ .pricing-price strong {
    color: var(--primary);
}

.pricing-item.selectable.selected {
    background: rgba(99, 102, 241, 0.08);
    border-radius: 8px;
    margin: 4px 0;
}

.pricing-period {
    flex: 0 0 45px;
    font-size: 15px;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.pricing-price {
    flex: 1;
    font-size: 16px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 嵌入在卡片内的弹窗内容 */
.modal-content-wrapper {
    display: none;
}

/* 全局弹窗容器 */
.global-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 24px;
}

.global-modal.active {
    opacity: 1;
    visibility: visible;
}

.global-modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-2xl);
}

.global-modal.active .global-modal-content {
    transform: scale(1) translateY(0);
}

.global-modal-body {
    padding: 0;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
    padding: 24px 0;
}

.page-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--gray-600);
}

.page-btn svg {
    fill: currentColor;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-num {
    min-width: 44px;
    height: 44px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-num:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.page-num.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 24px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 24px;
    text-align: center;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
}

.footer-bottom .icp-number {
    color: #FFFFFF;
    margin-left: 8px;
    text-decoration: none;
    transition: opacity .2s;
}
.footer-bottom .icp-number:hover {
    opacity: .8;
    text-decoration: underline;
}

/* ===== Mobile Menu Button ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 26px;
    cursor: pointer;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--gradient-1);
}

.mobile-menu-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-menu-list {
    list-style: none;
    padding: 16px 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-list a {
    display: block;
    padding: 16px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
        height: 64px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        margin: 0 5px;
        gap: 5px;
    }
    
    .mobile-menu-btn {
        display: block;
        margin: 0 5px;
    }
    
    .user-avatar {
        margin: 0 5px;
    }
    
    .content-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2px;
    }
    
    .card-badges {
        display: none;
    }
    
    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-section {
        padding: 10px;
        border-radius: 16px;
    }
    
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .filter-group {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .filter-label {
        min-width: auto;
        font-size: 18px;
        flex-shrink: 0;
    }
    
    .filter-select {
        flex: 1;
        min-width: auto;
    }
    
    .filter-options {
        width: 100%;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .pagination {
        margin-top: 40px;
    }
    
    .page-btn,
    .page-num {
        min-width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 12px 40px;
    }
    
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px 8px;
        padding: 5px 0;
    }
    
    .quick-action-btn {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .content-grid {
        gap: 2px;
    }
    
    .card-body {
        padding: 5px;
    }
    
    .card-title {
        font-size: 11px;
        margin-bottom: 2px;
        font-weight: 400;
        display: block;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .tag {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .card-badge {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .card-views {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-title {
        font-size: 20px;
    }
}

/* 移动端弹窗样式 */
@media (max-width: 768px) {
    .modal-body {
        padding: 2px;
    }
    
    .modal-header {
        flex-direction: row;
        text-align: left;
        padding-bottom: 2px;
        margin-bottom: 2px;
    }
    
    .modal-avatar {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        margin-right: 12px;
    }
    
    .modal-title {
        font-size: 20px;
        margin-bottom: 0px;
    }
    
    .modal-level {
        font-size: 11px;
        padding: 2px 5px;
    }
    
    .modal-info-row {
        padding: 12px 0;
    }
    
    .modal-info-label {
        font-size: 13px;
    }
    
    .modal-info-value {
        font-size: 14px;
    }
    
    .modal-description {
        font-size: 13px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 10px;
    }
    
    .modal-header {
        margin-bottom: 1px;
        padding-bottom: 1px;
    }
    
    .modal-avatar {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-info-list {
        margin-bottom: 2px;
        gap: 2px;
    }
    
    .modal-info-row {
        padding: 2px 10px;
    }
    
    .modal-info-label svg {
        width: 16px;
        height: 16px;
    }
    
    .modal-description {
        font-size: 14px;
        padding: 5px;
        line-height: 1.7;
    }
    
    .modal-pricing-section {
        margin-top: 6px;
    }
    
    .pricing-title {
        font-size: 15px;
        padding: 5px;
    }
    
    .pricing-tab-header {
        padding: 10px 12px;
    }
    
    .pricing-tab-name {
        font-size: 15px;
        color: #ffffff;
    }
    
    .pricing-tab-note {
        font-size: 13px;
    }
    
    .pricing-item {
        padding: 8px 12px;
    }
    
    .pricing-period {
        font-size: 14px;
    }
    
    .pricing-price {
        font-size: 15px;
    }
    
    .pricing-btn-wrapper {
        gap: 16px;
        margin: 6px auto;
    }
    
    .pricing-buy-btn,
    .pricing-add-btn {
        width: 140px;
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* ===== Auth Modal (登录/注册) ===== */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 20px;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-content {
    background: var(--white);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.auth-modal.active .auth-modal-content {
    transform: scale(1) translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 18px;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.auth-modal-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-tab:hover:not(.active) {
    color: var(--dark);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #94a3b8;
    border-radius: 12px;
    font-size: 14px;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

.auth-code-row {
    display: grid;
    grid-template-columns: 1fr 112px;
    gap: 8px;
}

.auth-code-row button {
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.auth-code-row button:disabled {
    cursor: not-allowed;
    background: var(--gray-300);
}

/* 注册弹窗中的图形验证码行：输入框 + 图片 */
.auth-captcha-row {
    display: grid;
    grid-template-columns: 1fr 112px;
    gap: 8px;
    align-items: stretch;
}
.auth-captcha-row .captcha-img {
    width: 112px;
    height: 100%;
    min-height: 40px;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 12px;
    display: block;
    object-fit: cover;
    cursor: pointer;
    background: #f5f7fa;
    transition: opacity .15s ease;
}
.auth-captcha-row .captcha-img:hover {
    opacity: 0.85;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--gray-600);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

@media (max-width: 480px) {
    .auth-modal-content {
        padding: 24px;
    }
    
    .form-group input {
        padding: 12px 14px;
    }
}

/* ===== Auth Form Styles ===== */
.login-btn.logged-in {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
}

.is-hidden {
    display: none !important;
}

.form-link {
    text-align: center;
    margin-top: 15px;
}
.form-link a {
    color: #667eea;
    text-decoration: none;
}
.form-link a:hover {
    text-decoration: underline;
}

/* ===== Notification Styles ===== */
/* Notification Modal */
.notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 80px;
    padding-right: 20px;
}

.notification-modal.active {
    display: flex;
}

.notification-modal-content {
    background: white;
    border-radius: 12px;
    width: 360px;
    max-height: 80vh;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gradient-1);
    color: white;
}

.notification-modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.notification-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.notification-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-modal-body {
    padding: 12px 0;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.notification-item:hover {
    background: var(--gray-100);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.notification-item.notification-unread::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f56c6c;
}

.notification-badge-type {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.notification-badge-type i {
    font-size: 12px;
}

.notification-body {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800, #303133);
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.notification-time {
    font-size: 12px;
    color: var(--gray-500);
    display: block;
    margin-bottom: 4px;
}

.notification-content {
    font-size: 13px;
    color: var(--gray-600, #606266);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 4px;
}

.notification-content i {
    margin-right: 6px;
    color: var(--primary);
}

.notification-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
    font-size: 14px;
}

.notification-empty i {
    font-size: 40px;
    color: var(--gray-300, #dcdfe6);
    margin-bottom: 12px;
    display: block;
}

.notification-empty p {
    margin: 0;
    color: var(--gray-500);
}

.notification-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 20px;
    color: var(--gray-500);
    font-size: 13px;
}

.notification-loading i {
    font-size: 18px;
    color: var(--primary);
}

.notification-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--gray-100);
    text-align: right;
}

.notification-view-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.notification-view-all:hover {
    text-decoration: underline;
}

/* ==================== 新闻资讯列表页 ==================== */
.page-news-list {
    background: linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
    min-height: 100vh;
}

.news-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.news-breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.news-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color .2s;
}
.news-breadcrumb a:hover {
    color: #2563eb;
}
.news-breadcrumb .sep {
    color: #cbd5e1;
}
.news-breadcrumb .current {
    color: #1f2937;
    font-weight: 500;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: flex-start;
}

.news-main {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
}

.news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f7;
}
.news-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.news-page-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #2563eb, #6366f1);
    border-radius: 3px;
}

.news-search {
    display: flex;
    align-items: center;
    background: #f5f7fb;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 4px 6px 4px 14px;
    min-width: 260px;
    transition: border-color .2s, box-shadow .2s;
}
.news-search:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
    background: #fff;
}
.news-search input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 4px;
    font-size: 14px;
    outline: none;
    color: #1f2937;
    min-width: 120px;
}
.news-search button {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.news-search button:hover {
    background: #1d4ed8;
}

.news-category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 20px;
}
.news-cat-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
    white-space: nowrap;
}
.news-cat-item:hover {
    background: #e0e7ff;
    color: #2563eb;
}
.news-cat-item.active {
    background: linear-gradient(135deg, #2563eb, #6366f1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .28);
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.news-item {
    border-bottom: 1px solid #eef2f7;
    transition: background .2s;
}
.news-item:last-child {
    border-bottom: none;
}
.news-item:hover {
    background: #f8fafc;
}
.news-item-link {
    display: flex;
    gap: 18px;
    padding: 18px 4px;
    color: inherit;
    text-decoration: none;
    align-items: flex-start;
}
.news-item-cover {
    flex: 0 0 200px;
    width: 200px;
    height: 128px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}
.news-item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.news-item-cover.is-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff, #f5f7fb);
}
.news-cover-fallback {
    color: #c7d2fe;
    font-size: 36px;
}
.news-cat-item.is-loading,
.news-cat-list a.is-loading {
    opacity: .6;
    pointer-events: none;
}
.news-item:hover .news-item-cover img {
    transform: scale(1.05);
}
.news-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    min-height: 128px;
}
.news-item.no-cover .news-item-body {
    min-height: auto;
}
.news-item-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.news-item-title {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: color .2s;
}
.news-item:hover .news-item-title {
    color: #2563eb;
}
.news-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}
.news-badge-top {
    background: #fef3c7;
    color: #b45309;
}
.news-badge-recommend {
    background: #dbeafe;
    color: #1d4ed8;
}
.news-item-summary {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #94a3b8;
    font-size: 12.5px;
}
.news-item-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.news-item-meta i {
    font-size: 12px;
    color: #cbd5e1;
}

.news-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}
.news-empty i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 12px;
    display: block;
}
.news-empty p {
    margin: 0 0 16px;
    font-size: 14px;
}
.news-empty-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #2563eb;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    transition: background .2s;
}
.news-empty-btn:hover {
    background: #1d4ed8;
}

.news-pagination {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.news-pagination a,
.news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f5f7fb;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    transition: background .2s, color .2s;
}
.news-pagination a:hover {
    background: #e0e7ff;
    color: #2563eb;
}
.news-pagination .active,
.news-pagination .current {
    background: #2563eb;
    color: #fff;
}
.news-pagination .disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

/* 侧边栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 20px;
}
.news-widget {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px 18px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
}
.news-widget-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
}
.news-widget-title i {
    color: #ef4444;
    font-size: 16px;
}

.news-hot-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: hot-rank;
}
.news-hot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #eef2f7;
}
.news-hot-item:last-child {
    border-bottom: none;
}
.hot-rank {
    flex: 0 0 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 4px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}
.hot-rank.rank-1 {
    background: #ef4444;
    color: #fff;
}
.hot-rank.rank-2 {
    background: #f97316;
    color: #fff;
}
.hot-rank.rank-3 {
    background: #f59e0b;
    color: #fff;
}
.news-hot-item a {
    flex: 1;
    color: #334155;
    font-size: 13.5px;
    text-decoration: none;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: color .2s;
}
.news-hot-item a:hover {
    color: #2563eb;
}

.news-latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-latest-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eef2f7;
}
.news-latest-list li:last-child {
    border-bottom: none;
}
.news-latest-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    transition: color .2s;
}
.news-latest-list a:hover {
    color: #2563eb;
}
.latest-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.latest-date {
    flex: 0 0 auto;
    font-size: 11.5px;
    color: #94a3b8;
}

.news-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-cat-list li {
    border-bottom: 1px dashed #eef2f7;
}
.news-cat-list li:last-child {
    border-bottom: none;
}
.news-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    color: #475569;
    text-decoration: none;
    font-size: 13.5px;
    transition: color .2s, padding-left .2s;
}
.news-cat-list a:hover {
    color: #2563eb;
    padding-left: 4px;
}
.news-cat-list a.active {
    color: #2563eb;
    font-weight: 600;
}
.news-cat-list em {
    font-style: normal;
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 960px) {
    .news-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .news-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .news-page {
        padding: 16px 12px 40px;
    }
    .news-main {
        padding: 16px 14px;
        border-radius: 12px;
    }
    .news-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .news-page-title {
        font-size: 19px;
    }
    .news-search {
        min-width: auto;
        width: 100%;
    }
    .news-item-link {
        flex-direction: column;
        gap: 12px;
    }
    .news-item-cover {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
    }
    .news-item-body {
        min-height: auto;
    }
    .news-item-title {
        font-size: 16px;
    }
    .news-item-summary {
        font-size: 13px;
    }
}

/* ==================== 新闻资讯详情页 ==================== */
.news-detail-page .news-breadcrumb {
    margin-bottom: 14px;
}
.news-detail {
    padding: 30px 34px 34px;
}

.news-detail-header {
    padding-bottom: 20px;
    border-bottom: 1px dashed #eef2f7;
    margin-bottom: 22px;
}
.news-detail-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.news-detail-badges:empty {
    display: none;
}
.news-detail-title {
    font-size: 26px;
    line-height: 1.4;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    word-break: break-word;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    color: #94a3b8;
    font-size: 13px;
}
.news-detail-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.news-detail-meta i {
    color: #cbd5e1;
    font-size: 13px;
}
.news-detail-meta .meta-cat a {
    color: #2563eb;
    text-decoration: none;
}
.news-detail-meta .meta-cat a:hover {
    text-decoration: underline;
}
.news-share-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, border-color .2s;
}
.news-share-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.news-detail-summary {
    margin-top: 16px;
    padding: 14px 18px;
    background: #f5f9ff;
    border-left: 3px solid #2563eb;
    color: #334155;
    font-size: 14.5px;
    line-height: 1.85;
    border-radius: 4px;
}

.news-detail-cover {
    margin: 0 0 22px;
}
.news-detail-cover img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.news-detail-content {
    color: #1f2937;
    font-size: 16px;
    line-height: 1.95;
    word-break: break-word;
}
.news-detail-content p {
    margin: 0 0 16px;
}
.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
    color: #0f172a;
    line-height: 1.4;
    margin: 24px 0 12px;
    font-weight: 600;
}
.news-detail-content h2 {
    font-size: 20px;
    border-left: 4px solid #2563eb;
    padding-left: 10px;
}
.news-detail-content h3 {
    font-size: 17px;
}
.news-detail-content img,
.news-detail-content video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 12px 0;
    display: block;
}
.news-detail-content a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37,99,235,.35);
    padding-bottom: 1px;
}
.news-detail-content a:hover {
    border-bottom-color: #2563eb;
}
.news-detail-content ul,
.news-detail-content ol {
    padding-left: 28px;
    margin: 0 0 16px;
}
.news-detail-content li {
    margin-bottom: 6px;
}
.news-detail-content blockquote {
    margin: 14px 0;
    padding: 12px 18px;
    color: #475569;
    background: #f5f7fb;
    border-left: 3px solid #94a3b8;
    border-radius: 4px;
}
.news-detail-content code {
    background: #f1f5f9;
    color: #b91c1c;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'SFMono-Regular', Consolas, 'Courier New', monospace;
}
.news-detail-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px 18px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 14px 0;
    font-size: 13.5px;
    line-height: 1.7;
}
.news-detail-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}
.news-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 14px;
}
.news-detail-content th,
.news-detail-content td {
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    text-align: left;
}
.news-detail-content th {
    background: #f5f7fb;
}

/* 分享条 */
.news-detail-share {
    margin: 28px 0 20px;
    padding: 16px 0;
    border-top: 1px dashed #eef2f7;
    border-bottom: 1px dashed #eef2f7;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.share-label {
    color: #64748b;
    font-size: 13.5px;
    margin-right: 6px;
}
.news-share-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: color .2s, border-color .2s, background .2s;
}
.news-share-item:hover {
    color: #2563eb;
    border-color: #2563eb;
    background: #eff6ff;
}
.news-share-item i {
    font-size: 15px;
}
.news-share-item.is-copied {
    color: #22c55e;
    border-color: #22c55e;
    background: #f0fdf4;
}

/* 上一篇/下一篇 */
.news-detail-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 22px 0;
}
.news-detail-nav .news-nav-prev,
.news-detail-nav .news-nav-next {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
}
.news-detail-nav a.news-nav-prev:hover,
.news-detail-nav a.news-nav-next:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateY(-1px);
}
.news-detail-nav .news-nav-next {
    text-align: right;
    align-items: flex-end;
}
.news-detail-nav .nav-label {
    color: #94a3b8;
    font-size: 12.5px;
}
.news-detail-nav .nav-title {
    color: #0f172a;
    font-size: 14.5px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-width: 100%;
}
.news-detail-nav .is-disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}
.news-detail-nav .is-disabled .nav-title {
    color: #cbd5e1;
    font-weight: 400;
}

/* 相关推荐 */
.news-related {
    margin-top: 26px;
}
.news-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.news-section-title i {
    color: #2563eb;
}
.news-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.news-related-item a {
    display: flex;
    gap: 12px;
    padding: 10px;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
}
.news-related-item a:hover {
    background: #f8fafc;
    border-color: #bfdbfe;
    transform: translateY(-2px);
}
.news-related-cover {
    flex: 0 0 96px;
    width: 96px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}
.news-related-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-related-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
}
.news-related-title {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 500;
}
.news-related-item a:hover .news-related-title {
    color: #2563eb;
}
.news-related-meta {
    color: #94a3b8;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.news-related-meta i {
    margin-right: 3px;
    color: #cbd5e1;
}

/* 侧边栏返回按钮 */
.news-back {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.news-back-btn {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1px solid #2563eb;
    color: #2563eb;
    background: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    transition: background .2s, color .2s;
}
.news-back-btn:hover {
    background: #2563eb;
    color: #fff;
}

/* 分享 Toast */
.news-share-toast {
    position: fixed;
    left: 50%;
    top: 30px;
    transform: translateX(-50%) translateY(-16px);
    background: #0f172a;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .18);
}
.news-share-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 960px) {
    .news-detail {
        padding: 22px 20px;
    }
    .news-detail-title {
        font-size: 22px;
    }
    .news-related-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .news-detail {
        padding: 18px 14px;
        border-radius: 12px;
    }
    .news-detail-title {
        font-size: 19px;
    }
    .news-detail-content {
        font-size: 15px;
        line-height: 1.85;
    }
    .news-detail-meta {
        gap: 10px;
        font-size: 12.5px;
    }
    .news-detail-nav {
        grid-template-columns: 1fr;
    }
    .news-detail-nav .news-nav-next {
        text-align: left;
        align-items: flex-start;
    }
}

/* ==================== 帮助中心（独立样式，不复用新闻资讯） ==================== */
.help-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 20px 60px;
    color: #1e293b;
}

/* Hero 搜索区 */
.help-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #ec4899 100%);
    color: #fff;
    padding: 54px 20px 60px;
    position: relative;
    overflow: hidden;
}
.help-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.14) 0, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,.10) 0, transparent 40%);
    pointer-events: none;
}
.help-hero-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.help-hero-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: .5px;
    text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.help-hero-desc {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    margin: 0 0 22px;
}
.help-hero-search {
    display: flex;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(15,23,42,.18);
    overflow: hidden;
    max-width: 620px;
    margin: 0 auto;
    padding: 4px 4px 4px 22px;
    align-items: center;
    height: 54px;
}
.help-hero-search input[type="search"] {
    flex: 1;
    border: 0;
    outline: 0;
    font-size: 15px;
    color: #0f172a;
    background: transparent;
    min-width: 0;
}
.help-hero-search input[type="search"]::placeholder {
    color: #94a3b8;
}
.help-hero-search button {
    height: 46px;
    padding: 0 22px;
    border: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.help-hero-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99,102,241,.35);
}
.help-hero-hot {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    font-size: 13.5px;
    color: rgba(255,255,255,.9);
}
.help-hero-hot .hot-label {
    color: #fef08a;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.help-hero-hot a {
    color: #fff;
    text-decoration: none;
    padding: 3px 10px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    transition: background .2s;
}
.help-hero-hot a:hover {
    background: rgba(255,255,255,.28);
}

/* 面包屑 */
.help-breadcrumb {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.help-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}
.help-breadcrumb a:hover {
    color: #6366f1;
}
.help-breadcrumb .sep {
    color: #cbd5e1;
}
.help-breadcrumb .current {
    color: #0f172a;
    font-weight: 500;
}

/* 主布局 */
.help-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    align-items: flex-start;
}

/* 左侧目录 */
.help-sidebar {
    position: sticky;
    top: 78px;
}
.help-sidebar-inner {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15,23,42,.05);
    padding: 18px 14px;
    border: 1px solid #eef2f7;
}
.help-sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 12px;
    padding: 0 4px 10px;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.help-sidebar-title i {
    color: #8b5cf6;
}
.help-cat-tree {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.help-cat-tree a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-size: 13.5px;
    transition: background .2s, color .2s;
}
.help-cat-tree a i {
    color: #cbd5e1;
    font-size: 13px;
    width: 14px;
    text-align: center;
}
.help-cat-tree a span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.help-cat-tree a em {
    font-style: normal;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 999px;
}
.help-cat-tree a:hover {
    background: #f8fafc;
    color: #6366f1;
}
.help-cat-tree a:hover i {
    color: #8b5cf6;
}
.help-cat-tree a.active {
    background: linear-gradient(135deg, #eef2ff, #f3e8ff);
    color: #6d28d9;
    font-weight: 500;
}
.help-cat-tree a.active i {
    color: #8b5cf6;
}
.help-cat-tree a.active em {
    background: #fff;
    color: #8b5cf6;
}

/* 侧栏热门 */
.help-hot-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.help-hot-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px;
    border-radius: 8px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    transition: background .2s, color .2s;
}
.help-hot-list a:hover {
    background: #faf7ff;
    color: #6366f1;
}
.help-hot-list .hot-rank {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    background: #f1f5f9;
    border-radius: 6px;
}
.help-hot-list .hot-rank.rank-1 { background: #fee2e2; color: #ef4444; }
.help-hot-list .hot-rank.rank-2 { background: #ffedd5; color: #f97316; }
.help-hot-list .hot-rank.rank-3 { background: #fef3c7; color: #eab308; }
.help-hot-list .hot-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* 主体 */
.help-main {
    min-width: 0;
}
.help-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15,23,42,.05);
    border: 1px solid #eef2f7;
    margin-bottom: 16px;
}
.help-main-title {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.help-main-title .muted-count {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
}
.help-view-switch {
    display: inline-flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 10px;
    gap: 2px;
}
.help-view-btn {
    width: 32px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    border-radius: 7px;
    cursor: pointer;
    transition: background .2s, color .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.help-view-btn:hover {
    color: #6366f1;
}
.help-view-btn.active {
    background: #fff;
    color: #6366f1;
    box-shadow: 0 2px 4px rgba(15,23,42,.06);
}

/* 手风琴 */
.help-accordion {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15,23,42,.05);
    border: 1px solid #eef2f7;
    overflow: hidden;
}
.help-accordion-item {
    border-bottom: 1px solid #f1f5f9;
}
.help-accordion-item:last-child {
    border-bottom: 0;
}
.help-accordion-item[open] .chevron {
    transform: rotate(180deg);
    color: #8b5cf6;
}
.help-accordion-item[open] .help-accordion-head {
    background: linear-gradient(135deg, rgba(99,102,241,.05), rgba(139,92,246,.05));
}
.help-accordion-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    transition: background .2s;
}
.help-accordion-head::-webkit-details-marker {
    display: none;
}
.help-accordion-head:hover {
    background: #f8fafc;
}
.help-accordion-head .q-icon {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(99,102,241,.28);
}
.help-accordion-head .q-title {
    flex: 1;
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
}
.help-accordion-head .chevron {
    color: #cbd5e1;
    transition: transform .25s, color .25s;
    font-size: 18px;
}
.help-tag {
    font-style: normal;
    font-size: 11.5px;
    padding: 1px 8px;
    border-radius: 999px;
    line-height: 1.6;
    font-weight: 500;
}
.help-tag-top { background: #fef2f2; color: #dc2626; }
.help-accordion-body {
    padding: 4px 20px 18px 58px;
    color: #475569;
    line-height: 1.85;
    font-size: 14px;
}
.help-answer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #f9fafb;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 0 0 10px;
    color: #334155;
}
.help-answer .a-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    margin-top: 1px;
}
.help-accordion-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    color: #94a3b8;
    font-size: 12.5px;
}
.help-accordion-meta i {
    margin-right: 3px;
    color: #cbd5e1;
}
.help-read-more {
    margin-left: auto;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.help-read-more:hover {
    color: #8b5cf6;
}

/* 卡片视图 */
.help-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}
.help-cards.is-hidden {
    display: none;
}
.help-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15,23,42,.04);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
}
.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity .25s;
}
.help-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(99,102,241,.14);
    border-color: rgba(139,92,246,.3);
}
.help-card:hover::before {
    opacity: 1;
}
.help-card-num {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}
.help-card:hover .help-card-num {
    color: #8b5cf6;
}
.help-card-title {
    font-size: 15px;
    color: #0f172a;
    margin: 0 0 8px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.help-card-summary {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.help-card-foot {
    color: #94a3b8;
    font-size: 12px;
    display: flex;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px dashed #eef2f7;
}
.help-card-foot i {
    margin-right: 3px;
    color: #cbd5e1;
}

/* 空态 */
.help-empty {
    background: #fff;
    border-radius: 14px;
    padding: 60px 20px;
    text-align: center;
    border: 1px solid #eef2f7;
}
.help-empty-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, #eef2ff, #f3e8ff);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #a78bfa;
}
.help-empty-title {
    font-size: 16px;
    color: #0f172a;
    margin: 0 0 6px;
    font-weight: 600;
}
.help-empty-desc {
    color: #94a3b8;
    font-size: 13.5px;
    margin: 0 0 16px;
}
.help-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13.5px;
}
.help-empty-btn:hover {
    box-shadow: 0 6px 14px rgba(139,92,246,.35);
}

/* 分页 */
.help-pagination {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}
.help-pagination .pagination,
.help-pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.help-pagination a,
.help-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    background: #fff;
    border: 1px solid #eef2f7;
    transition: background .2s, color .2s, border-color .2s;
    font-size: 13.5px;
}
.help-pagination a:hover {
    color: #6366f1;
    border-color: #c4b5fd;
}
.help-pagination .active span,
.help-pagination .active a {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
}

/* 联系我们 */
.help-contact {
    margin-top: 22px;
    background: linear-gradient(135deg, #eef2ff 0%, #f3e8ff 55%, #fce7f3 100%);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid #ede9fe;
}
.help-contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #8b5cf6;
    box-shadow: 0 6px 14px rgba(139,92,246,.15);
}
.help-contact-body {
    flex: 1;
    min-width: 220px;
}
.help-contact-body h4 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 15px;
}
.help-contact-body p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}
.help-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #6366f1;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border: 1px solid #ddd6fe;
    transition: background .2s, color .2s;
}
.help-contact-btn:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
}

/* 帮助中心 · 详情 */
.help-detail-page {
    padding-top: 22px;
}
.help-detail {
    background: #fff;
    border-radius: 14px;
    padding: 30px 32px;
    box-shadow: 0 4px 14px rgba(15,23,42,.05);
    border: 1px solid #eef2f7;
}
.help-detail-header {
    padding-bottom: 20px;
    border-bottom: 1px dashed #eef2f7;
    margin-bottom: 20px;
    position: relative;
}
.help-detail-tag {
    position: absolute;
    left: -12px;
    top: -12px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(99,102,241,.32);
    font-size: 18px;
}
.help-detail-tag i {
    display: none;
}
.help-detail-title {
    font-size: 24px;
    line-height: 1.4;
    color: #0f172a;
    margin: 0 0 12px;
    padding-left: 44px;
    word-break: break-word;
    font-weight: 700;
}
.help-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #94a3b8;
    font-size: 13px;
    padding-left: 44px;
}
.help-detail-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.help-detail-meta i {
    color: #cbd5e1;
}
.help-detail-meta a {
    color: #6366f1;
    text-decoration: none;
}
.help-detail-meta a:hover {
    text-decoration: underline;
}

.help-detail-summary {
    margin-bottom: 20px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border-left: 3px solid #f59e0b;
    border-radius: 8px;
    color: #78350f;
}
.help-detail-summary .summary-title {
    font-weight: 600;
    color: #92400e;
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
}
.help-detail-summary .summary-title i {
    color: #d97706;
}
.help-detail-summary p {
    margin: 0;
    line-height: 1.85;
    font-size: 14px;
}

.help-detail-answer {
    margin-bottom: 22px;
}
.help-detail-answer .answer-title {
    font-weight: 600;
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ecfdf5;
    border-radius: 999px;
    margin-bottom: 14px;
    font-size: 13.5px;
}
.help-detail-answer .answer-title i {
    color: #10b981;
}
.help-detail-content {
    color: #1f2937;
    font-size: 15.5px;
    line-height: 1.95;
    word-break: break-word;
}
.help-detail-content p {
    margin: 0 0 14px;
}
.help-detail-content h1,
.help-detail-content h2,
.help-detail-content h3,
.help-detail-content h4 {
    color: #0f172a;
    margin: 22px 0 10px;
    font-weight: 600;
    line-height: 1.4;
}
.help-detail-content h2 {
    font-size: 19px;
    padding-left: 10px;
    border-left: 4px solid #8b5cf6;
}
.help-detail-content h3 {
    font-size: 16px;
    color: #6d28d9;
}
.help-detail-content img,
.help-detail-content video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
    display: block;
}
.help-detail-content a {
    color: #6366f1;
    text-decoration: none;
    border-bottom: 1px solid rgba(99,102,241,.35);
    padding-bottom: 1px;
}
.help-detail-content a:hover {
    color: #8b5cf6;
    border-bottom-color: #8b5cf6;
}
.help-detail-content ul,
.help-detail-content ol {
    padding-left: 26px;
    margin: 0 0 14px;
}
.help-detail-content li {
    margin-bottom: 6px;
}
.help-detail-content blockquote {
    margin: 14px 0;
    padding: 12px 18px;
    background: #faf7ff;
    border-left: 3px solid #a78bfa;
    color: #4b5563;
    border-radius: 4px;
}
.help-detail-content code {
    background: #faf5ff;
    color: #7c3aed;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-family: Consolas, 'Courier New', monospace;
}
.help-detail-content pre {
    background: #1e1b4b;
    color: #e0e7ff;
    padding: 14px 16px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 14px 0;
    font-size: 13.5px;
    line-height: 1.7;
}
.help-detail-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}
.help-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 14px;
}
.help-detail-content th,
.help-detail-content td {
    border: 1px solid #ede9fe;
    padding: 8px 12px;
    text-align: left;
}
.help-detail-content th {
    background: #f5f3ff;
    color: #6d28d9;
}

/* 反馈 */
.help-feedback {
    margin-top: 22px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    border: 1px solid #ede9fe;
}
.help-feedback .feedback-label {
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
}
.help-feedback .feedback-actions {
    display: inline-flex;
    gap: 10px;
    margin-left: auto;
}
.feedback-btn {
    padding: 7px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ede9fe;
    color: #4b5563;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    transition: color .2s, border-color .2s, transform .1s;
}
.feedback-btn:hover {
    color: #6366f1;
    border-color: #c4b5fd;
}
.feedback-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
}
.feedback-btn.is-active .vote-num {
    color: #fff;
}
.feedback-btn:active {
    transform: scale(.97);
}
.feedback-btn .vote-num {
    font-style: normal;
    color: #94a3b8;
    font-size: 12.5px;
    margin-left: 4px;
}
.feedback-thanks {
    color: #059669;
    font-size: 13px;
    font-weight: 500;
}

/* 上下页 */
.help-detail-nav {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.help-nav-prev, .help-nav-next {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fafaff;
    border: 1px solid #ede9fe;
    text-decoration: none;
    color: #334155;
    transition: background .2s, border-color .2s, transform .2s;
}
a.help-nav-prev:hover, a.help-nav-next:hover {
    background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
    border-color: #c4b5fd;
    transform: translateY(-1px);
}
.help-nav-next {
    text-align: right;
    align-items: flex-end;
}
.help-nav-prev .nav-label, .help-nav-next .nav-label {
    color: #a78bfa;
    font-size: 12.5px;
}
.help-nav-prev .nav-title, .help-nav-next .nav-title {
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-width: 100%;
}
.help-nav-prev.is-disabled,
.help-nav-next.is-disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}
.help-nav-prev.is-disabled .nav-title,
.help-nav-next.is-disabled .nav-title {
    color: #cbd5e1;
    font-weight: 400;
}

/* 相关问题 */
.help-related {
    margin-top: 22px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
}
.help-related-title {
    margin: 0 0 12px;
    font-size: 15px;
    color: #0f172a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.help-related-title i {
    color: #8b5cf6;
}
.help-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px 20px;
}
.help-related-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px dashed transparent;
    transition: color .2s, border-color .2s;
}
.help-related-list a:hover {
    color: #6366f1;
    border-bottom-color: #ddd6fe;
}
.help-related-list a > i {
    color: #a78bfa;
}
.help-related-list .rel-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.help-related-list .rel-view {
    color: #94a3b8;
    font-size: 12px;
    flex-shrink: 0;
}
.help-related-list .rel-view i {
    color: #cbd5e1;
    margin-right: 2px;
}

/* 响应式 */
@media (max-width: 960px) {
    .help-layout {
        grid-template-columns: 1fr;
    }
    .help-sidebar {
        position: static;
    }
    .help-hero-title {
        font-size: 24px;
    }
    .help-detail {
        padding: 24px 20px;
    }
    .help-detail-title {
        font-size: 20px;
    }
}
@media (max-width: 640px) {
    .help-hero {
        padding: 34px 16px 40px;
    }
    .help-hero-search {
        padding: 4px;
    }
    .help-hero-search input[type="search"] {
        padding-left: 14px;
    }
    .help-main-header {
        padding: 12px 14px;
    }
    .help-accordion-head {
        padding: 14px 16px;
    }
    .help-accordion-body {
        padding: 4px 16px 16px 48px;
        font-size: 13.5px;
    }
    .help-detail {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .help-detail-tag {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 15px;
        left: -6px;
    }
    .help-detail-title {
        padding-left: 36px;
        font-size: 18px;
    }
    .help-detail-meta {
        padding-left: 36px;
        gap: 10px;
        font-size: 12.5px;
    }
    .help-detail-nav {
        grid-template-columns: 1fr;
    }
    .help-nav-next {
        text-align: left;
        align-items: flex-start;
    }
    .help-feedback .feedback-actions {
        margin-left: 0;
        width: 100%;
    }
    .feedback-btn {
        flex: 1;
        justify-content: center;
    }
}

/* ==================== 单页（About / Contact 等静态页） ==================== */
.single-page {
    color: #1e293b;
}

/* Hero */
.single-hero {
    position: relative;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 55%, #8b5cf6 100%);
    color: #fff;
    padding: 56px 20px 68px;
    overflow: hidden;
}
.single-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(255,255,255,.14) 0, transparent 45%),
        radial-gradient(circle at 80% 85%, rgba(255,255,255,.10) 0, transparent 45%);
    pointer-events: none;
}
.single-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.single-breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.single-breadcrumb a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
}
.single-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}
.single-breadcrumb .sep {
    color: rgba(255,255,255,.5);
}
.single-breadcrumb .current {
    color: #fff;
    font-weight: 500;
}
.single-hero-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: .5px;
    text-shadow: 0 2px 12px rgba(0,0,0,.18);
    line-height: 1.3;
    word-break: break-word;
}
.single-hero-meta {
    display: flex;
    gap: 20px;
    color: rgba(255,255,255,.85);
    font-size: 13.5px;
    flex-wrap: wrap;
}
.single-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.single-hero-meta i {
    color: rgba(255,255,255,.7);
}

/* 装饰形状 */
.single-hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}
.single-hero-shape.shape-1 {
    width: 260px;
    height: 260px;
    top: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(255,255,255,.24) 0, rgba(255,255,255,0) 70%);
}
.single-hero-shape.shape-2 {
    width: 180px;
    height: 180px;
    bottom: -60px;
    left: 8%;
    background: radial-gradient(circle, rgba(255,255,255,.18) 0, rgba(255,255,255,0) 70%);
}

/* 主布局 */
.single-layout {
    max-width: 1200px;
    margin: -36px auto 60px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 22px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* 内容卡片 */
.single-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 42px;
    box-shadow: 0 12px 32px rgba(15,23,42,.08);
    border: 1px solid #eef2f7;
    min-width: 0;
}

/* 正文排版 */
.single-content {
    color: #1f2937;
    font-size: 16px;
    line-height: 1.95;
    word-break: break-word;
}
.single-content > *:first-child {
    margin-top: 0;
}
.single-content > *:last-child {
    margin-bottom: 0;
}
.single-content p {
    margin: 0 0 16px;
}
.single-content h1,
.single-content h2,
.single-content h3,
.single-content h4 {
    color: #0f172a;
    line-height: 1.4;
    font-weight: 600;
    margin: 28px 0 12px;
    scroll-margin-top: 80px;
}
.single-content h2 {
    font-size: 21px;
    padding-left: 12px;
    border-left: 4px solid #6366f1;
}
.single-content h3 {
    font-size: 17px;
    color: #4f46e5;
}
.single-content h4 {
    font-size: 15.5px;
    color: #6d28d9;
}
.single-content ul,
.single-content ol {
    padding-left: 28px;
    margin: 0 0 16px;
}
.single-content li {
    margin-bottom: 6px;
}
.single-content img,
.single-content video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 14px 0;
    display: block;
    cursor: zoom-in;
}
.single-content a {
    color: #6366f1;
    text-decoration: none;
    border-bottom: 1px solid rgba(99,102,241,.35);
    padding-bottom: 1px;
    transition: color .2s, border-color .2s;
}
.single-content a:hover {
    color: #8b5cf6;
    border-bottom-color: #8b5cf6;
}
.single-content blockquote {
    margin: 16px 0;
    padding: 14px 20px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border-left: 4px solid #6366f1;
    color: #334155;
    border-radius: 8px;
}
.single-content code {
    background: #f1f5f9;
    color: #b91c1c;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-family: Consolas, 'Courier New', monospace;
}
.single-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px 18px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 16px 0;
    font-size: 13.5px;
    line-height: 1.7;
}
.single-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}
.single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.single-content th,
.single-content td {
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    text-align: left;
}
.single-content th {
    background: #f5f7fb;
    color: #334155;
    font-weight: 600;
}
.single-content hr {
    border: 0;
    border-top: 1px dashed #e5e7eb;
    margin: 24px 0;
}

/* 底部操作 */
.single-actions {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px dashed #eef2f7;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.single-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 13.5px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, opacity .2s;
}
.single-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99,102,241,.32);
}
.single-btn.light {
    background: #f1f5f9;
    color: #475569;
}
.single-btn.light:hover {
    background: #e2e8f0;
    color: #334155;
    box-shadow: none;
}
.single-btn.ghost {
    background: #fff;
    color: #6366f1;
    border: 1px solid #ddd6fe;
}
.single-btn.ghost:hover {
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    box-shadow: none;
}
.single-btn.is-copied {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* 侧栏 */
.single-sidebar {
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.single-widget {
    background: #fff;
    border-radius: 14px;
    padding: 18px 18px;
    border: 1px solid #eef2f7;
    box-shadow: 0 4px 14px rgba(15,23,42,.04);
}
.single-widget-title {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.single-widget-title i {
    color: #6366f1;
}

/* 目录 */
.single-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 55vh;
    overflow-y: auto;
}
.single-toc-list li {
    line-height: 1;
}
.single-toc-list a {
    display: block;
    padding: 7px 10px;
    color: #64748b;
    font-size: 13.5px;
    text-decoration: none;
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    transition: color .2s, background .2s, border-color .2s;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.single-toc-list a.level-3 {
    padding-left: 26px;
    font-size: 13px;
    color: #94a3b8;
}
.single-toc-list a:hover {
    color: #6366f1;
    background: #f8fafc;
}
.single-toc-list a.is-active {
    color: #6366f1;
    background: linear-gradient(90deg, rgba(99,102,241,.08), transparent);
    border-left-color: #6366f1;
    font-weight: 500;
}
.single-toc-empty {
    padding: 4px 4px 0;
    color: #94a3b8;
    font-size: 13px;
}
.single-toc.is-empty .single-toc-list {
    display: none;
}
.single-toc:not(.is-empty) .single-toc-empty {
    display: none;
}

/* 相关页面 */
.single-related {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.single-related a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    color: #475569;
    text-decoration: none;
    font-size: 13.5px;
    border-radius: 6px;
    transition: background .2s, color .2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.single-related a:hover {
    background: #f8fafc;
    color: #6366f1;
}
.single-related a i {
    color: #cbd5e1;
    flex-shrink: 0;
}
.single-related a:hover i {
    color: #8b5cf6;
}

/* 帮助卡片 */
.single-help-card {
    background: linear-gradient(135deg, #eef2ff, #f5f3ff, #fdf2f8);
    border-color: #ede9fe;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.single-help-card .help-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    color: #8b5cf6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(139,92,246,.18);
}
.single-help-card .help-card-body {
    flex: 1;
    min-width: 120px;
}
.single-help-card h4 {
    margin: 0 0 2px;
    font-size: 14px;
    color: #0f172a;
}
.single-help-card p {
    margin: 0;
    font-size: 12.5px;
    color: #6b7280;
}
.single-help-card .help-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #fff;
    color: #6366f1;
    font-size: 12.5px;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid #ddd6fe;
    transition: background .2s, color .2s;
}
.single-help-card .help-card-btn:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
}

/* 响应式 */
@media (max-width: 960px) {
    .single-hero {
        padding: 40px 20px 60px;
    }
    .single-hero-title {
        font-size: 26px;
    }
    .single-layout {
        grid-template-columns: 1fr;
        margin-top: -30px;
    }
    .single-sidebar {
        position: static;
    }
    .single-card {
        padding: 26px 24px;
    }
}
@media (max-width: 640px) {
    .single-hero {
        padding: 32px 16px 50px;
    }
    .single-hero-title {
        font-size: 22px;
    }
    .single-hero-meta {
        gap: 12px;
        font-size: 12.5px;
    }
    .single-card {
        padding: 22px 18px;
        border-radius: 14px;
    }
    .single-content {
        font-size: 15px;
        line-height: 1.85;
    }
    .single-actions {
        justify-content: center;
    }
    .single-btn {
        flex: 1;
        justify-content: center;
    }
}

/* 打印样式 */
@media print {
    .navbar, .footer, .single-hero-shape, .single-sidebar, .single-actions, .single-hero-meta, .single-breadcrumb {
        display: none !important;
    }
    .single-hero {
        background: none;
        color: #000;
        padding: 20px 0;
    }
    .single-hero-title {
        color: #000;
        text-shadow: none;
    }
    .single-card {
        box-shadow: none;
        border: 0;
        padding: 0;
    }
    .single-layout {
        display: block;
        margin: 0;
    }
}

/* ==================== VIP 会员介绍页 ==================== */
.vip-page {
    color: #1f2937;
    background: #f8fafc;
}
.vip-page .main-content,
.vip-page.main-content {
    padding: 0;
    max-width: none;
}

/* Hero */
.vip-hero {
    position: relative;
    padding: 88px 20px 96px;
    background:
        radial-gradient(1200px 500px at 15% 0%, rgba(255,215,0,.12), transparent 60%),
        radial-gradient(900px 500px at 100% 100%, rgba(139,92,246,.35), transparent 60%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #6d28d9 100%);
    color: #fff;
    overflow: hidden;
    text-align: center;
}
.vip-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.vip-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 999px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(245,158,11,.35);
}
.vip-hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 14px;
    background: linear-gradient(135deg, #fff 0%, #fef3c7 60%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 8px 24px rgba(0,0,0,.35);
    letter-spacing: 1px;
}
.vip-hero-desc {
    color: rgba(255,255,255,.85);
    font-size: 16px;
    margin: 0 0 34px;
}
.vip-hero-stats {
    display: inline-flex;
    align-items: stretch;
    gap: 40px;
    padding: 18px 40px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}
.vip-hero-stats .stat {
    text-align: center;
    color: #fff;
}
.vip-hero-stats .stat-num {
    font-size: 34px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.vip-hero-stats .stat-label {
    color: rgba(255,255,255,.75);
    font-size: 13px;
    margin-top: 6px;
}

.vip-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.vip-hero-glow.glow-1 {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -100px;
    background: radial-gradient(circle, rgba(251,191,36,.28) 0, rgba(251,191,36,0) 70%);
    animation: vipFloat 6s ease-in-out infinite;
}
.vip-hero-glow.glow-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: 6%;
    background: radial-gradient(circle, rgba(139,92,246,.32) 0, rgba(139,92,246,0) 70%);
    animation: vipFloat 7s ease-in-out infinite reverse;
}
@keyframes vipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* 通用小节标题 */
.vip-section-header {
    text-align: center;
    margin: 0 auto 34px;
    max-width: 720px;
}
.vip-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    position: relative;
    display: inline-block;
}
.vip-section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, #f59e0b, #6d28d9);
    border-radius: 999px;
}
.vip-section-desc {
    color: #64748b;
    font-size: 14.5px;
    margin: 0;
}

/* Plans */
.vip-plans {
    max-width: 1200px;
    margin: -50px auto 0;
    padding: 60px 20px 20px;
    position: relative;
    z-index: 2;
}
.vip-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.vip-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef2f7;
}
.vip-plan-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 26px 28px;
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
    border: 1px solid #eef2f7;
    position: relative;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    opacity: 0;
    transform: translateY(20px);
    animation: vipCardIn .6s ease forwards;
}
.vip-plan-card:nth-child(1) { animation-delay: .05s; }
.vip-plan-card:nth-child(2) { animation-delay: .15s; }
.vip-plan-card:nth-child(3) { animation-delay: .25s; }
@keyframes vipCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.vip-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15,23,42,.12);
    border-color: transparent;
}
/* 推荐卡片 */
.vip-plan-card.is-recommend {
    background: linear-gradient(180deg, #fff 0%, #fef3c7 100%);
    border: 2px solid #fbbf24;
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(251,191,36,.28);
}
.vip-plan-card.is-recommend:hover {
    transform: translateY(-14px);
}
/* 终生 */
.vip-plan-card.plan-lifetime {
    background: linear-gradient(180deg, #fff 0%, #ede9fe 100%);
    border: 1px solid #ddd6fe;
}
/* 当前 */
.vip-plan-card.is-current {
    outline: 2px dashed #10b981;
    outline-offset: -12px;
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 4px 14px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 6px 14px rgba(245,158,11,.35);
}
.plan-badge.plan-badge-current {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 6px 14px rgba(16,185,129,.35);
    right: auto;
    left: 20px;
}
.plan-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(99,102,241,.32);
    margin-bottom: 18px;
}
.plan-month .plan-icon { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.plan-year .plan-icon { background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 10px 24px rgba(245,158,11,.32); }
.plan-lifetime .plan-icon { background: linear-gradient(135deg, #a855f7, #6d28d9); box-shadow: 0 10px 24px rgba(139,92,246,.32); }

.plan-name {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}
.plan-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #f1f5f9;
    color: #6366f1;
    font-size: 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.plan-year .plan-tag { background: #fef3c7; color: #b45309; }
.plan-lifetime .plan-tag { background: #ede9fe; color: #7c3aed; }

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
    color: #0f172a;
}
.plan-price .price-symbol {
    font-size: 18px;
    font-weight: 600;
}
.plan-price .price-amount {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.plan-year .price-amount { background: linear-gradient(135deg, #f59e0b, #d97706); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.plan-lifetime .price-amount { background: linear-gradient(135deg, #a855f7, #6d28d9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.plan-price .price-unit {
    color: #94a3b8;
    font-size: 14px;
}
.plan-discount {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 6px;
}
.plan-discount strong {
    color: #ef4444;
    font-size: 17px;
    font-weight: 700;
    margin-left: 2px;
}
.plan-duration {
    color: #94a3b8;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}
.plan-duration i { color: #cbd5e1; }

.plan-features {
    list-style: none;
    padding: 20px 0 0;
    margin: 0 0 22px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.55;
}
.plan-features li i {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-top: 3px;
}

.plan-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, opacity .2s;
}
.plan-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(99,102,241,.35);
}
.plan-year .plan-btn { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #78350f; }
.plan-year .plan-btn:hover { box-shadow: 0 8px 20px rgba(245,158,11,.42); }
.plan-lifetime .plan-btn { background: linear-gradient(135deg, #a855f7, #6d28d9); }
.plan-lifetime .plan-btn:hover { box-shadow: 0 8px 20px rgba(139,92,246,.42); }
.plan-btn:disabled {
    background: #e5e7eb;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Benefits */
.vip-benefits {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.vip-benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.benefit-item {
    background: #fff;
    padding: 26px 24px;
    border-radius: 16px;
    border: 1px solid #eef2f7;
    box-shadow: 0 4px 14px rgba(15,23,42,.04);
    transition: transform .3s, box-shadow .3s;
}
.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15,23,42,.10);
}
.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(99,102,241,.18);
}
.benefit-item h4 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 16.5px;
    font-weight: 600;
}
.benefit-item p {
    margin: 0;
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.75;
}

/* Rules */
.vip-rules {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}
.vip-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.rule-item {
    background: linear-gradient(135deg, #fff, #f8fafc);
    padding: 24px 22px 22px;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    position: relative;
    overflow: hidden;
}
.rule-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #6d28d9);
}
.rule-num {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b, #6d28d9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 6px;
}
.rule-item h4 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 15.5px;
}
.rule-item p {
    margin: 0;
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.75;
}

/* CTA */
.vip-cta {
    max-width: 1160px;
    margin: 0 auto 60px;
    padding: 0 20px;
}
.vip-cta-inner {
    background:
        radial-gradient(600px 300px at 10% 10%, rgba(251,191,36,.25), transparent 70%),
        linear-gradient(135deg, #4c1d95, #6d28d9, #a855f7);
    border-radius: 20px;
    padding: 46px 40px;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 40px rgba(76,29,149,.28);
}
.vip-cta-inner h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
}
.vip-cta-inner p {
    margin: 0 0 22px;
    color: rgba(255,255,255,.85);
    font-size: 14.5px;
}
.vip-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    box-shadow: 0 10px 24px rgba(245,158,11,.42);
    transition: transform .2s, box-shadow .2s;
}
.vip-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(245,158,11,.52);
}

/* Modal */
.vip-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.vip-modal.is-open {
    display: flex;
}
.vip-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.55);
    backdrop-filter: blur(3px);
}
.vip-modal-content {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 28px 30px 24px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 30px 60px rgba(15,23,42,.28);
    z-index: 1;
    animation: vipModalIn .25s ease;
}
@keyframes vipModalIn {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.vip-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: 0;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    transition: background .2s, color .2s;
}
.vip-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.vip-modal-title {
    margin: 0 0 16px;
    font-size: 18px;
    color: #0f172a;
}
.vip-modal-body {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.vip-modal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: #475569;
}
.vip-modal-row + .vip-modal-row {
    border-top: 1px dashed #e2e8f0;
}
.vip-modal-row strong {
    color: #0f172a;
    font-weight: 600;
}
.vip-modal-price {
    color: #ef4444 !important;
    font-size: 17px;
    font-weight: 700;
}
.vip-modal-tip {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 8px;
    font-size: 12.5px;
    display: flex;
    gap: 6px;
    align-items: flex-start;
}
.vip-modal-tip i { margin-top: 2px; }

.vip-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.vip-modal-btn {
    padding: 8px 20px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform .2s, box-shadow .2s, opacity .2s;
}
.vip-modal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(99,102,241,.32);
}
.vip-modal-btn.ghost {
    background: #f1f5f9;
    color: #475569;
    box-shadow: none;
}
.vip-modal-btn.ghost:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.vip-modal-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

/* 响应式 */
@media (max-width: 960px) {
    .vip-hero {
        padding: 60px 18px 70px;
    }
    .vip-hero-title {
        font-size: 30px;
    }
    .vip-hero-stats {
        gap: 20px;
        padding: 14px 18px;
    }
    .vip-hero-stats .stat-num {
        font-size: 26px;
    }
    .vip-plan-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .vip-plan-card.is-recommend {
        transform: none;
    }
    .vip-section-title {
        font-size: 22px;
    }
}
@media (max-width: 640px) {
    .vip-hero {
        padding: 48px 16px 60px;
    }
    .vip-hero-title {
        font-size: 24px;
    }
    .vip-hero-tag {
        font-size: 11px;
        padding: 5px 12px;
    }
    .vip-hero-stats {
        gap: 12px;
        padding: 12px 14px;
    }
    .vip-hero-stats .stat-num {
        font-size: 22px;
    }
    .vip-plan-card {
        padding: 26px 20px 24px;
    }
    .plan-price .price-amount {
        font-size: 34px;
    }
    .vip-cta-inner {
        padding: 34px 22px;
    }
    .vip-cta-inner h3 {
        font-size: 20px;
    }
    .vip-modal-content {
        padding: 22px 20px 20px;
    }
}

/* ==========================================================================
   移动端兜底（<= 640px）：统一关闭 sticky 侧栏 + 强制单列
   目的：避免小屏下侧栏抢占滚动视口 & grid 布局意外多列
   ========================================================================== */
@media (max-width: 640px) {
    .news-layout,
    .help-layout,
    .single-layout,
    .vip-plan-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .news-sidebar,
    .help-sidebar,
    .single-sidebar {
        position: static !important;
        top: auto !important;
        max-height: none !important;
    }
    /* 通用 BEM 组件同步 */
    .c-layout,
    .c-layout--reverse {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* ==========================================================================
   首页课程分页（前端分页组件）
   每页 40 个；筛选/搜索激活时自动隐藏
   ========================================================================== */
.home-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 36px auto 24px;
    padding: 0 16px;
    font-size: 14px;
    color: #475569;
}
.home-pagination.is-hidden { display: none; }
.home-pagination__list {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.home-pagination__list li {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    cursor: pointer;
    user-select: none;
    transition: all .15s;
}
.home-pagination__list li:hover:not(.is-active):not(.is-ellipsis) {
    border-color: #2563eb;
    color: #2563eb;
}
.home-pagination__list li.is-active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #2563eb;
    color: #fff;
    font-weight: 600;
    cursor: default;
}
.home-pagination__list li.is-ellipsis {
    border-color: transparent;
    background: transparent;
    cursor: default;
}
.home-pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
    font-size: 14px;
}
.home-pagination__btn:hover:not(:disabled) {
    border-color: #2563eb;
    color: #2563eb;
}
.home-pagination__btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.home-pagination__info {
    width: 100%;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    margin-top: 4px;
}
@media (max-width: 640px) {
    .home-pagination { gap: 6px; margin: 24px auto 16px; }
    .home-pagination__list li { min-width: 32px; height: 32px; padding: 0 6px; font-size: 13px; }
    .home-pagination__btn { height: 32px; padding: 0 10px; font-size: 13px; }
    .home-pagination__btn span { display: none; }
}

/* ===== 用户协议单页样式（简洁版） ===== */
.protocol-page {
    background: #f5f7fa;
    padding: 40px 16px 60px;
    min-height: calc(100vh - 200px);
}
.protocol-container {
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    padding: 40px 48px 48px;
}
.protocol-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #eef1f5;
    margin-bottom: 28px;
    text-align: center;
}
.protocol-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
}
.protocol-content {
    color: #334155;
    font-size: 15px;
    line-height: 1.9;
    word-break: break-word;
}
.protocol-content h1,
.protocol-content h2,
.protocol-content h3,
.protocol-content h4 {
    color: #1e293b;
    margin: 24px 0 12px;
    font-weight: 700;
}
.protocol-content h2 { font-size: 20px; }
.protocol-content h3 { font-size: 17px; }
.protocol-content h4 { font-size: 15px; }
.protocol-content p {
    margin: 0 0 14px;
}
.protocol-content ul,
.protocol-content ol {
    padding-left: 22px;
    margin: 0 0 14px;
}
.protocol-content li {
    margin-bottom: 6px;
}
.protocol-content a {
    color: var(--primary, #6366f1);
    text-decoration: underline;
}
.protocol-content strong { color: #0f172a; }
.protocol-content img { max-width: 100%; height: auto; border-radius: 8px; }
.protocol-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 14px;
}
.protocol-content table th,
.protocol-content table td {
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
}
.protocol-content table th {
    background: #f8fafc;
    color: #0f172a;
}
.protocol-content blockquote {
    margin: 12px 0;
    padding: 10px 16px;
    background: #f8fafc;
    border-left: 3px solid var(--primary, #6366f1);
    color: #475569;
    border-radius: 0 8px 8px 0;
}

@media (max-width: 640px) {
    .protocol-page { padding: 20px 12px 40px; }
    .protocol-container { padding: 24px 20px 32px; border-radius: 12px; }
    .protocol-title { font-size: 22px; }
    .protocol-content { font-size: 14px; line-height: 1.8; }
}


/* 输入框placeholder淡灰色 */
input::placeholder,
textarea::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}


/* ==================== 导航栏目子菜单 ==================== */
.nav-links .has-submenu {
    position: relative;
}
.nav-links .has-submenu > a::after {
    content: ' ▼';
    font-size: 10px;
    vertical-align: middle;
    opacity: 0.5;
}
.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 6px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;
}
.nav-links .has-submenu:hover .nav-submenu {
    display: block;
}
.nav-submenu li a {
    display: block;
    padding: 8px 18px;
    color: #334155;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s;
}
.nav-submenu li a:hover {
    background: #f1f5f9;
    color: #2563eb;
}
/* 移动端子菜单缩进 */
.mobile-menu-list li a.mobile-sub {
    padding-left: 36px;
    font-size: 13px;
    color: #64748b;
}
