/* ==================== 文案素材库 全站样式 ==================== */
/* 主色：--wenan-color（默认 #6366F1 靛蓝，模块页继承模块色） 背景：#F5F5F5 正文：#333 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #F5F5F5;
    color: #333;
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ==================== 顶部导航 ==================== */
/* 导航栏固定品牌色，不随模块页主题色切换（模块色只作用于内容区） */
#wenan-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 底部渐变细线，提升精致感 */
#wenan-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.3) 30%, rgba(139, 92, 246, 0.4) 50%, rgba(99, 102, 241, 0.3) 70%, transparent 100%);
}

.wenan-header-inner {
    width: 90%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    height: 64px;
    gap: 24px;
}

/* Logo：渐变徽标 + 渐变文字 */
.wenan-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 60%, #A78BFA 100%);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.logo-badge::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 22px;
    height: 22px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.logo-text {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #4F46E5;
}

/* 导航菜单：胶囊式（仅顶层 ul，避免误伤下拉菜单的 display 设置） */
.wenan-nav > ul {
    display: flex;
    list-style: none;
    gap: 6px;
}

.wenan-nav a {
    display: block;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: #4B5563;
    transition: all 0.25s ease;
}

.wenan-nav a:hover {
    color: #4F46E5;
    background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
}

/* 只激活直接子链接：避免 nav-more 激活时波及下拉子菜单 */
.wenan-nav li.active > a {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

/* 会员中心：金色渐变按钮，与菜单区隔 */
.wenan-nav li.vip-nav a {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.wenan-nav li.vip-nav a:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.wenan-nav li.vip-nav.active a {
    background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

/* 更多行业：鼠标移入下拉展示 */
.wenan-nav li.nav-more { position: relative; }
.wenan-nav .nav-more-toggle i {
    font-style: normal;
    font-size: 10px;
    margin-left: 3px;
    display: inline-block;
    transition: transform 0.25s ease;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 132px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #fff;
    border: 1px solid #F3F4F6;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 100;
}
/* 悬停桥：连接菜单与下拉，避免鼠标移经间隙时菜单消失 */
.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
/* 桌面端（>1000px）：鼠标移入展开下拉，上浮淡入（仅垂直动画，无水平位移） */
@media (min-width: 1001px) {
    .wenan-nav li.nav-more:hover .nav-more-toggle i { transform: rotate(180deg); }
    .wenan-nav li.nav-more:hover .nav-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}
.nav-dropdown a {
    padding: 9px 16px;
    font-size: 14px;
    border-radius: 8px;
    white-space: nowrap;
    text-align: center;
}
.nav-dropdown li.active a {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.nav-dropdown a:hover {
    color: #4F46E5;
    background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
}

/* 搜索框：胶囊一体化 */
.wenan-search { margin-left: auto; }
.wenan-search form {
    display: flex;
    align-items: center;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    height: 38px;
    padding: 0 4px 0 14px;
    transition: all 0.25s ease;
}
.wenan-search form:focus-within {
    border-color: #6366F1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.wenan-search input {
    flex: 1;
    width: 190px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #333;
}
.wenan-search input::placeholder { color: #9CA3AF; }
.wenan-search button {
    height: 30px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    transition: all 0.25s ease;
}
.wenan-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.wenan-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}
.wenan-mobile-toggle span {
    width: 20px;
    height: 2px;
    background: #4F46E5;
    border-radius: 2px;
}

/* 顶部导航右侧登录按钮（PC） */
.wenan-user-area { display: none; flex-shrink: 0; margin-left: 4px; }
.user-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--wenan-color, #6366F1);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}
.user-login-btn:hover {
    background: var(--wenan-color-dark, #4F46E5);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
/* 已登录态：纯头像圆形按钮 */
.user-login-btn.user-logged { padding: 2px; background: var(--wenan-color-light, #EEF2FF); }
.user-login-btn.user-logged:hover { background: var(--wenan-color, #6366F1); }
.user-avatar-mini {
    width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: #fff; font-size: 15px;
}

/* 已登录下拉菜单（头像 hover） */
.user-menu { position: relative; }
.user-dropdown {
    position: absolute; top: calc(100% + 12px); right: 0;
    min-width: 190px; background: #fff; border-radius: 14px; padding: 8px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    border: 1px solid #F3F4F6;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all 0.22s ease;
    z-index: 130;
}
.user-dropdown::before {
    content: ""; position: absolute; top: -6px; right: 22px;
    width: 12px; height: 12px; background: #fff;
    border-left: 1px solid #F3F4F6; border-top: 1px solid #F3F4F6;
    transform: rotate(45deg);
}
.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-head {
    display: flex; align-items: baseline; gap: 4px;
    padding: 8px 12px 12px; border-bottom: 1px solid #F3F4F6; margin-bottom: 6px;
}
.dropdown-name { font-size: 15px; font-weight: 700; color: #1F2937; }
.dropdown-id { font-size: 12px; color: #9CA3AF; }
.dropdown-item {
    display: flex; align-items: center; gap: 8px;
    width: 100%; padding: 10px 12px; border: none; background: transparent;
    border-radius: 10px; font-size: 14px; color: #4B5563; text-align: left;
    cursor: pointer; transition: background 0.15s;
}
.dropdown-item:hover { background: #F3F4F6; color: #1F2937; }
.dropdown-logout { color: #EF4444; }
.dropdown-logout:hover { background: #FEF2F2; color: #EF4444; }

li.mobile-login a { display: flex; align-items: center; gap: 6px; }
/* 手机端：汉堡面板内的登录入口（默认隐藏，仅小屏显示） */
li.mobile-login { display: none; }
@media screen and (min-width: 769px) {
    .wenan-user-area { display: inline-flex; }
}
@media screen and (max-width: 768px) {
    li.mobile-login { display: block; }
    /* 小屏无 hover，下拉菜单隐藏（汉堡面板内已有个人中心入口） */
    .user-dropdown { display: none; }
}

/* ==================== 首页横幅 ==================== */
.wenan-banner {
    position: relative;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A78BFA 100%);
    padding: 72px 16px 84px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* 横幅光斑装饰 */
.wenan-banner::before {
    content: '';
    position: absolute;
    top: -220px;
    right: -140px;
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.wenan-banner::after {
    content: '';
    position: absolute;
    bottom: -190px;
    left: -120px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.banner-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.14;
    pointer-events: none;
    animation: bannerFloat 7s ease-in-out infinite;
}
.banner-orb-1 { top: 30px; right: 12%; width: 110px; height: 110px; }
.banner-orb-2 { bottom: 38px; left: 10%; width: 72px; height: 72px; animation-delay: 1.2s; animation-direction: reverse; }
.banner-orb-3 { top: 46%; left: 27%; width: 42px; height: 42px; animation-delay: 2.4s; }

@keyframes bannerFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(180deg); }
}

.banner-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.banner-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    animation: bannerSlideDown 0.6s ease-out;
}
.banner-sub {
    font-size: 16px;
    opacity: 0.92;
    margin-bottom: 30px;
    letter-spacing: 1px;
    animation: bannerFadeIn 0.8s ease-out 0.15s both;
}

@keyframes bannerSlideDown {
    from { opacity: 0; transform: translateY(-24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bannerFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.banner-search form {
    position: relative;
    display: flex;
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(49, 46, 129, 0.28), 0 4px 14px rgba(49, 46, 129, 0.18), inset 0 2px 0 rgba(255, 255, 255, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.banner-search form:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(49, 46, 129, 0.32), 0 6px 18px rgba(49, 46, 129, 0.2), inset 0 2px 0 rgba(255, 255, 255, 1);
}
.banner-search input {
    flex: 1;
    height: 52px;
    padding: 0 26px;
    border: none;
    outline: none;
    font-size: 15px;
    color: #1A1A1A;
    background: transparent;
}
.banner-search input::placeholder { color: #9CA3AF; }
.banner-search button {
    position: relative;
    overflow: hidden;
    height: 52px;
    padding: 0 34px;
    border: none;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s;
}
.banner-search button:hover { filter: brightness(1.1); }
.banner-search button:active { filter: brightness(0.95); }
.banner-search button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    transition: left 0.5s ease;
}
.banner-search button:hover::before { left: 100%; }
.banner-disclaimer {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 22px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: bannerFadeIn 0.8s ease-out 0.3s both;
}

/* ==================== 布局容器 ==================== */
.wenan-container {
    width: 90%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

/* 首页专属：淡色渐变背景过渡 + 白色圆角面板 */
.home-container {
    position: relative;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 0) 260px);
}
.home-panel {
    background: #fff;
    border-radius: 20px;
    padding: 26px 26px 30px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05), 0 1px 4px rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.wenan-section { margin-bottom: 32px; }

.section-title {
    font-size: 22px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}
.section-title::before {
    content: '';
    width: 5px;
    height: 20px;
    border-radius: 3px;
    background: var(--wenan-color, #6366F1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* 首页标题竖条：照小程序靛蓝→紫渐变 */
.home-container .section-title::before {
    background: linear-gradient(180deg, var(--wenan-color, #6366F1) 0%, #8B5CF6 100%);
}
.section-subtitle {
    font-size: 13px;
    color: #9CA3AF;
    font-weight: 400;
    margin-left: 2px;
}
.keyword-tip {
    font-size: 13px;
    color: #6366F1;
    font-weight: 400;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 3px 12px;
    border-radius: 999px;
}

/* ==================== 行业模块网格 ==================== */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* 行业卡片：完美正方形（aspect-ratio 1/1）+ 高端质感 */
.module-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    aspect-ratio: 1 / 1;
    padding: 18px 14px;
    border-radius: 20px;
    background: linear-gradient(160deg, var(--module-color-light, rgba(99, 102, 241, 0.1)) 0%, #FFFFFF 55%, #FFFFFF 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
    text-align: center;
    animation: moduleFadeIn 0.5s ease-out both;
    animation-delay: var(--module-delay, 0s);
}
/* 顶部渐变细线（hover 展开） */
.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--module-color, #6366F1) 50%, transparent 100%);
    border-radius: 2px;
    transition: width 0.35s ease;
}
/* 右下角模块色光斑：静态若有若无，hover 时浮现扩散（高级感） */
.module-card::after {
    content: '';
    position: absolute;
    right: -26%;
    bottom: -34%;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, var(--module-color, #6366F1) 0%, transparent 68%);
    border-radius: 50%;
    opacity: 0.08;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.module-card:hover {
    transform: translateY(-8px);
    border-color: var(--module-color, #6366F1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 8px 20px var(--module-color-light, rgba(99, 102, 241, 0.1));
}
.module-card:hover::before { width: 100%; }
.module-card:hover::after {
    opacity: 0.2;
    transform: scale(1.25);
}

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

/* 图标容器：彩色渐变圆角方块（照小程序 module-icon） */
.module-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    font-size: 32px;
    line-height: 1;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--module-color, #6366F1) 0%, var(--module-color-hover, var(--module-color, #4F46E5)) 100%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16), inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.module-icon::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
/* 图标调皮弹跳：hover 时跳动两下（弹起+摇摆+落地），第二跳直接落定到定格姿态 */
@keyframes iconPlayful {
    0%   { transform: scale(1) translateY(0) rotate(0deg); }
    20%  { transform: scale(1.15) translateY(-8px) rotate(-10deg); }
    45%  { transform: scale(0.96) translateY(1px) rotate(6deg); }
    70%  { transform: scale(1.12) translateY(-6px) rotate(-8deg); }
    100% { transform: scale(1.08) translateY(-3px) rotate(-6deg); }
}
.module-card:hover .module-icon {
    animation: iconPlayful 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.module-name {
    font-size: 15px;
    color: #1F2937;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.module-card:hover .module-name { color: var(--module-color, #6366F1); }

/* 展开/收起按钮：渐变胶囊（照小程序 toggle-content） */
.expand-toggle {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
}
.expand-toggle span {
    display: inline-flex;
    align-items: center;
    padding: 10px 34px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 999px;
    color: var(--wenan-color, #6366F1);
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}
.expand-toggle:hover span {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16) 0%, rgba(139, 92, 246, 0.16) 100%);
}
.expand-toggle:active span { transform: scale(0.96); }
.expand-toggle i {
    font-style: normal;
    font-size: 12px;
    margin-left: 6px;
    animation: toggleBounce 2s ease-in-out infinite;
}
@keyframes toggleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ==================== 卡片流（CSS 瀑布流：宽度一致、高度由内容决定，错落排布） ==================== */
.copies-list {
    columns: 2;
    column-gap: 16px;
}

/* 大屏：容器变宽后文案卡片改 3 列，避免卡片过宽 */
@media screen and (min-width: 1400px) {
    .copies-list { columns: 3; }
}

/* 文案卡片：照小程序 copy-card（浅灰底 + 细边框） */
.copy-card {
    background: #F8F9FA;
    border: 1px solid #ECECEC;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
    /* 瀑布流：卡片不被分栏截断，行距用 margin-bottom 模拟 */
    break-inside: avoid;
    margin-bottom: 16px;
}
.copy-card:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* A区 文案 */
.card-text {
    padding: 18px 18px 10px;
}
.card-text-content {
    font-size: 14px;
    color: #444;
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

/* B区 媒体 */
.card-media { padding: 0 18px 10px; }

.media-img.single {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    cursor: zoom-in;
}

.image-grid {
    display: grid;
    gap: 5px;
}

/* 九宫格按图片数量分档（对齐小程序端）：2 张双列 / 3 张首图 16:9 通栏 / 4-6 张双列 / 7+ 张三列 */
.image-grid-2 { grid-template-columns: repeat(2, 1fr); }
.image-grid-3 { grid-template-columns: repeat(2, 1fr); }
.image-grid-3 .grid-img:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.image-grid-4, .image-grid-5, .image-grid-6 { grid-template-columns: repeat(2, 1fr); }
.image-grid-7, .image-grid-8, .image-grid-9 { grid-template-columns: repeat(3, 1fr); }
.grid-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    cursor: zoom-in;
}

/* C区 操作栏：参照小程序 action-bar，按钮颜色随模块主色调；margin-top:auto 吸底，空白留在图片与操作栏之间而非文案与图片之间 */
.card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 16px;
    border-top: 1px solid #EEEEEE;
    flex-wrap: wrap;
    margin-top: auto;
}

/* 热度：主色文字 + SVG 图标（柔和不刺眼，非按钮纯展示，位于一键复制右侧） */
/* margin-left: auto 将 热度+详情 推到右侧，详情保持最右 */
.card-heat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: var(--wenan-color, #6366F1);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.card-heat .heat-icon { opacity: 0.85; }

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    border: none;
    background: #fff;
    color: var(--wenan-color, #6366F1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* 一键复制：主色实底白字（对标小程序 btn-copy） */
.card-btn.btn-copy {
    background: var(--wenan-color, #6366F1);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}
.card-btn.btn-copy:hover {
    background: var(--wenan-color-dark, #4F46E5);
    filter: brightness(1.05);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.32);
}

/* 下载图片：白底主色描边（对标小程序 btn-fold） */
.card-btn.btn-download {
    background: #fff;
    border: 1px solid var(--wenan-color, #6366F1);
    color: var(--wenan-color, #6366F1);
    box-shadow: none;
}
.card-btn.btn-download:hover {
    background: var(--wenan-color-light, #EEF2FF);
}

/* 详情：始终位于操作栏最右，紧贴一键复制，方便点击 */
.card-link {
    font-size: 13px;
    color: #9CA3AF;
    white-space: nowrap;
    transition: color 0.2s;
}
.card-link:hover { color: var(--wenan-color, #4F46E5); }

/* ==================== 加载更多 ==================== */
.load-more-wrap { text-align: center; margin-top: 24px; }
.load-more-btn {
    padding: 11px 52px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
    transition: all 0.25s ease;
}
.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.36);
    filter: brightness(1.05);
}
.load-more-btn.loading { opacity: 0.7; cursor: wait; transform: none; }

/* ==================== 分页导航（主色调随行业 --wenan-color，首页加载更多不受影响） ==================== */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 8px;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #4B5563;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}
a.page-link:hover {
    border-color: var(--wenan-color, #6366F1);
    color: var(--wenan-color, #6366F1);
}
.page-link.current {
    background: var(--wenan-color, #6366F1);
    border-color: var(--wenan-color, #6366F1);
    color: #fff;
    font-weight: 600;
    cursor: default;
}
.page-link.prev, .page-link.next { padding: 0 14px; }
.page-link.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #F3F4F6;
}
.page-link.dots {
    border: none;
    background: none;
    min-width: 20px;
}
/* 窄屏：分页按钮收紧 */
@media screen and (max-width: 480px) {
    .pagination { gap: 6px; margin-top: 22px; }
    .page-link { min-width: 32px; height: 32px; padding: 0 8px; font-size: 13px; }
    .page-link.prev, .page-link.next { padding: 0 10px; }
}

.load-error {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 15px;
}

/* ==================== 面包屑 ==================== */
.wenan-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}
.wenan-breadcrumb a { color: #6366F1; }
.wenan-breadcrumb a:hover { text-decoration: underline; }

/* ==================== 模块列表页 ==================== */
.module-head {
    background: var(--module-color-light, #EEF2FF);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
}
.module-head-icon { font-size: 40px; display: block; margin-bottom: 8px; }
.module-head-title { font-size: 24px; color: var(--module-color, #6366F1); }
.module-head-desc { font-size: 13px; color: #888; margin-top: 6px; }

/* 模块内搜索：白底胶囊，按钮主色实底白字（跟随当前行业） */
.module-head-search {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    padding: 4px 4px 4px 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.module-head-search:focus-within {
    border-color: var(--module-color, #6366F1);
    box-shadow: 0 0 0 3px var(--module-color-light, rgba(99, 102, 241, 0.12)), 0 4px 14px rgba(0, 0, 0, 0.06);
}
.module-head-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    height: 38px;
}
.module-head-search input::placeholder { color: #9CA3AF; }
.module-head-search button {
    border: none;
    cursor: pointer;
    background: var(--module-color, #6366F1);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    height: 38px;
    padding: 0 24px;
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.2s ease;
}
.module-head-search button:hover {
    background: var(--module-color-dark, #4F46E5);
    transform: scale(1.03);
}
.module-head-search button:active { transform: scale(0.97); }

.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.filter-item {
    padding: 6px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #E5E7EB;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-item:hover { color: var(--wenan-color-dark, #4F46E5); border-color: var(--wenan-color, #6366F1); }
.filter-item.active { background: var(--wenan-color, #6366F1); color: #fff; border-color: var(--wenan-color, #6366F1); }

/* ==================== 只看图片复选框（模块页筛选栏 + 搜索页结果标题） ==================== */
.filter-img-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    vertical-align: middle;
}
.filter-img-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.filter-img-toggle .toggle-box {
    width: 16px;
    height: 16px;
    border: 2px solid #D1D5DB;
    border-radius: 4px;
    background: #fff;
    position: relative;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.filter-img-toggle .toggle-box::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s;
}
.filter-img-toggle input:checked + .toggle-box {
    background: var(--wenan-color, #6366F1);
    border-color: var(--wenan-color, #6366F1);
}
.filter-img-toggle input:checked + .toggle-box::after { transform: rotate(45deg) scale(1); }
.filter-img-toggle:hover .toggle-box { border-color: var(--wenan-color, #6366F1); }
.filter-img-toggle:active .toggle-box { transform: scale(0.88); }
.filter-img-toggle .toggle-text { line-height: 1; }
.imgonly-empty {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
}
/* 只看图片模式（图库浏览）：隐藏文案与操作栏，仅保留图片，卡片紧凑排列 */
body.img-only .copy-card .card-text,
body.img-only .copy-card .card-actions {
    display: none;
}
body.img-only .copies-list {
    column-gap: 8px;
}
body.img-only .copy-card {
    margin-bottom: 8px;
}
body.img-only .copy-card:hover {
    transform: translateY(-2px);
}
/* 小屏：筛选栏允许换行，复选框跟随排布不溢出 */
@media screen and (max-width: 767px) {
    .filter-bar { flex-wrap: wrap; row-gap: 8px; }
    .filter-img-toggle { margin-left: 4px; }
}

/* ==================== 详情页 ==================== */
.detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.detail-title { font-size: 22px; margin-bottom: 12px; line-height: 1.5; }
.detail-meta { display: flex; gap: 16px; font-size: 13px; color: #999; margin-bottom: 16px; }
.detail-heat { color: #F59E0B; }
.detail-text {
    font-size: 15px;
    line-height: 2;
    color: #444;
    background: #FAFAFB;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    word-break: break-all;
}
.detail-actions { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.detail-btn {
    padding: 10px 28px;
    border: none;
    border-radius: 22px;
    background: #6366F1;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.detail-btn:hover { background: var(--wenan-color-dark, #4F46E5); }
.detail-btn.btn-download { background: #F59E0B; }
.detail-btn.btn-download:hover { background: #D97706; }
.detail-subtitle { font-size: 16px; margin-bottom: 12px; }
.detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.gallery-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
}
.detail-tip { font-size: 13px; color: #999; }

/* ==================== 搜索页 ==================== */
/* 搜索页头部已复用模块页 module-head 结构（居中搜索框 + 主色按钮）；以下为切换全站搜索等小字提示 */
.module-head-more {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}
.module-head-more a {
    color: var(--module-color, #6366F1);
    font-weight: 600;
    text-decoration: none;
}
.module-head-more a:hover { text-decoration: underline; }

/* ==================== 404 ==================== */
.wenan-404 { text-align: center; padding: 80px 16px; }
.wenan-404 h2 { font-size: 64px; color: #E5E7EB; }
.wenan-404 p { color: #999; margin: 12px 0 24px; }
.back-home {
    display: inline-block;
    padding: 10px 32px;
    border-radius: 22px;
    background: #6366F1;
    color: #fff;
    font-size: 14px;
}
.back-home:hover { background: var(--wenan-color-dark, #4F46E5); }

/* ==================== 页脚 ==================== */
#wenan-footer {
    background: #1F2937;
    color: #9CA3AF;
    padding: 32px 16px;
    margin-top: 24px;
}
.wenan-footer-inner { width: 90%; max-width: 1680px; margin: 0 auto; text-align: center; }
.wenan-footer-brand h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.wenan-footer-brand p { font-size: 13px; margin-bottom: 16px; }
.wenan-footer-links { font-size: 13px; margin-bottom: 12px; }
.wenan-footer-links a { color: #A5B4FC; text-decoration: none; }
.wenan-footer-links a:hover { color: #fff; text-decoration: underline; }
.wenan-footer-disclaimer { font-size: 12px; line-height: 1.9; opacity: 0.8; }

/* ==================== 图片预览 lightbox ==================== */
.wenan-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.wenan-lightbox.show { display: flex; }
.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: #fff;
    cursor: pointer;
    padding: 12px;
    user-select: none;
    z-index: 10;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-download {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 28px;
    border-radius: 20px;
    background: #6366F1;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
}
.lightbox-download:hover { background: var(--wenan-color-dark, #4F46E5); }

/* ==================== Toast ==================== */
.wenan-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    max-width: 80vw;
    text-align: center;
}
.wenan-toast.show { opacity: 1; }
.wenan-toast.error { background: rgba(220, 38, 38, 0.9); }

/* ==================== 响应式 ==================== */
/* 平板/小屏 1200 及以下 */
@media screen and (max-width: 1200px) {
    /* 导航已收进汉堡菜单，搜索框自适应加长（上限 460px，贴近右侧按钮） */
    .wenan-search { flex: 1; min-width: 0; }
    .wenan-search form { width: 100%; max-width: 460px; margin-left: auto; }
    .wenan-search input { flex: 1; width: auto; }
    /* 小屏：导航收进汉堡菜单（桌面 7 菜单项 + 搜索框在 1200px 以下宽度会溢出换行） */
    .wenan-mobile-toggle {
        display: flex;
        margin-left: auto;
    }
    .wenan-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 8px 12px 14px;
    }
    .wenan-nav.open { display: block; }
    .wenan-nav > ul { flex-direction: column; gap: 4px; }
    .wenan-nav a { padding: 12px 20px; border-radius: 10px; }
    /* 下拉菜单在面板内静态展开，点击切换；禁用过渡，避免 display 切换抖动 */
    .wenan-nav li.nav-more { position: static; }
    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        min-width: 0;
        width: 100%;
        background: #F9FAFB;
        border: none;
        border-radius: 10px;
        box-shadow: none;
        padding: 4px;
        margin-top: 4px;
        transition: none;
    }
    .nav-dropdown::before { display: none; }
    .nav-dropdown.open { display: block; }
    .nav-dropdown a { padding: 10px 16px; border-radius: 8px; font-size: 14px; }
    .modules-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .copies-list { columns: 2; column-gap: 14px; }
    .detail-gallery { grid-template-columns: repeat(3, 1fr); }
    .home-panel { padding: 22px 18px 26px; }
    /* 小屏：操作栏紧凑化，确保收藏/下载/复制/热度/详情五项单行放下不换行 */
    .card-actions { padding: 10px 12px 14px; gap: 3px; }
    .card-btn { padding: 4px 10px; font-size: 11px; gap: 5px; }
    .card-heat { font-size: 11px; gap: 3px; }
    .card-link { font-size: 11px; }
    /* 小屏：模块搜索框滚动至即将消失时吸顶（由 main.js 加 .sticky 触发）；z-index 低于导航，避免遮挡汉堡菜单面板 */
    .module-head-search.sticky {
        position: fixed;
        top: 72px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 440px;
        margin-top: 0;
        z-index: 90;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    }
}

/* 中间宽度 1201-1400：横向菜单 + 隐藏顶部搜索框，保证菜单完整展示不换行 */
@media screen and (min-width: 1201px) and (max-width: 1400px) {
    .wenan-search { display: none; }
}

/* 手机 ≤767 */
@media screen and (max-width: 767px) {
    .wenan-header-inner { height: 54px; gap: 12px; }
    .wenan-search { display: none; }
    .wenan-container, .wenan-header-inner, .wenan-footer-inner { width: 100%; }
    .logo-badge { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; }
    .logo-text { font-size: 18px; }

    .wenan-mobile-toggle {
        display: flex;
        margin-left: auto;
    }

    .wenan-nav {
        display: none;
        position: absolute;
        top: 54px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 8px 12px 14px;
    }
    .wenan-nav.open { display: block; }
    .wenan-nav > ul { flex-direction: column; gap: 4px; }
    .wenan-nav a { padding: 12px 20px; border-radius: 10px; }
    /* 只激活直接子链接：避免 nav-more 激活时波及下拉子菜单 */
    .wenan-nav li.active > a {
        background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
        box-shadow: none;
    }
    .wenan-nav li.vip-nav a {
        background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
        box-shadow: none;
    }

    /* 更多行业：移动端改为点击展开/收起（无 hover），默认收起；禁用过渡，避免 display 切换抖动 */
    .wenan-nav li.nav-more { position: static; }
    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        min-width: 0;
        width: 100%;
        background: #F9FAFB;
        border: none;
        border-radius: 10px;
        box-shadow: none;
        padding: 4px;
        margin-top: 4px;
        transition: none;
    }
    .nav-dropdown::before { display: none; }
    .nav-dropdown.open { display: block; }
    .nav-dropdown a { padding: 10px 16px; border-radius: 8px; font-size: 14px; }

    .wenan-banner { padding: 44px 16px 56px; }
    .banner-title { font-size: 27px; letter-spacing: 2px; }
    .banner-sub { font-size: 14px; margin-bottom: 24px; }
    .banner-orb-2 { display: none; }
    .banner-search button { padding: 0 20px; }
    .banner-disclaimer { padding: 6px 14px; font-size: 11px; line-height: 1.6; }

    .home-panel { padding: 18px 14px 22px; border-radius: 14px; }
    .modules-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .module-card { gap: 10px; padding: 14px 10px; border-radius: 16px; }
    .module-icon { width: 48px; height: 48px; font-size: 24px; border-radius: 14px; }
    .module-name { font-size: 13px; letter-spacing: 0.5px; }
    .section-subtitle { display: none; }
    .expand-toggle span { padding: 9px 26px; }

    .copies-list { columns: 1; }
    .copy-card { margin-bottom: 12px; }
    /* 操作栏紧凑参数已由平板断点（≤1000px）统一覆盖 */

    .module-head { padding: 20px 14px; }
    .module-head-title { font-size: 20px; }
    .module-head-search.sticky { max-width: 100%; width: calc(100% - 24px); top: 62px; }
    .module-head-search button { padding: 0 18px; }

    .detail-card { padding: 16px; }
    .detail-title { font-size: 18px; }
    .detail-gallery { grid-template-columns: repeat(3, 1fr); gap: 4px; }

    .section-title { font-size: 18px; }
}

/* 小屏（≤520px）：行业卡片 2 列，保证 48px 图标完整显示不被压缩 */
@media screen and (max-width: 520px) {
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 极小屏（≤340px）：操作栏进一步收紧，避免热度/详情换行；收藏按钮仅保留图标 */
@media screen and (max-width: 340px) {
    .card-actions { gap: 1px; }
    .card-btn { padding: 2px 3px; font-size: 10px; }
    .btn-favorite .fav-text { display: none; }
    .card-btn .fav-icon { width: 11px; height: 11px; }
    .card-heat { gap: 2px; }
    .card-heat .heat-icon { width: 11px; height: 11px; }
    .card-heat, .card-link { font-size: 10px; }
}

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .banner-orb,
    .banner-title,
    .banner-sub,
    .banner-disclaimer,
    .module-card,
    .module-icon,
    .expand-toggle i {
        animation: none !important;
    }
}

/* ==================== 会员导航 ==================== */
.vip-nav a {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    color: #fff !important;
    border-radius: 16px;
    padding: 5px 16px !important;
}
.vip-nav a:hover { background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%) !important; color: #fff !important; }

/* ==================== 收藏按钮（随模块主色调，对标小程序 btn-favorite） ==================== */
.btn-favorite {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--wenan-color, #6366F1);
    color: var(--wenan-color, #6366F1);
    box-shadow: none;
}
.btn-favorite .fav-icon { flex-shrink: 0; }
.btn-favorite .fav-icon path { fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-favorite:hover { background: var(--wenan-color-light, #EEF2FF); }
/* 已收藏：渐变红实底（对标小程序 favorited 状态） */
.btn-favorite.active {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    border-color: #FF4757;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}
.btn-favorite.active .fav-icon path { fill: #fff; stroke: #fff; }
.detail-btn.btn-favorite { display: inline-flex; align-items: center; gap: 5px; }
.detail-btn.btn-favorite:hover, .detail-btn.btn-favorite.active { background: #FEE2E2; color: #EF4444; border-color: #FECACA; box-shadow: none; }
.detail-btn.btn-favorite.active .fav-icon path { fill: #EF4444; stroke: #EF4444; }

/* ==================== 会员页 ==================== */
.vip-hero {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 60%, #4338CA 100%);
    border-radius: 16px;
    padding: 44px 32px;
    text-align: center;
    color: #fff;
    margin-bottom: 32px;
}
.vip-hero .vip-badge { display: inline-block; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 20px; padding: 4px 16px; font-size: 13px; margin-bottom: 14px; }
.vip-hero h1 { font-size: 32px; margin: 0 0 10px; }
.vip-hero p { font-size: 15px; opacity: 0.92; margin: 0 0 20px; }
.vip-trust { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.vip-trust span { background: rgba(255, 255, 255, 0.15); border-radius: 18px; padding: 5px 14px; font-size: 13px; }

.vip-section-title { font-size: 20px; margin: 0 0 18px; color: #1F2937; }
.vip-section-title::before { content: ""; display: inline-block; width: 4px; height: 18px; background: var(--wenan-color, #6366F1); border-radius: 2px; margin-right: 8px; vertical-align: -2px; }

.vip-benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 36px; }
.vip-benefit {
    background: #fff; border: 1px solid #F3F4F6; border-radius: 12px;
    padding: 20px 12px; text-align: center; transition: box-shadow 0.2s, transform 0.2s;
}
.vip-benefit:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.vip-benefit .benefit-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.vip-benefit .benefit-name { font-size: 14px; font-weight: 600; color: #1F2937; display: block; margin-bottom: 6px; }
.vip-benefit .benefit-desc { font-size: 12px; color: #9CA3AF; line-height: 1.5; }

.vip-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.vip-plan {
    background: #fff; border: 1px solid #F3F4F6; border-radius: 14px; padding: 28px 20px;
    text-align: center; position: relative; transition: box-shadow 0.2s, transform 0.2s;
}
.vip-plan:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); transform: translateY(-3px); }
.vip-plan .plan-name { font-size: 15px; color: #6B7280; margin-bottom: 10px; }
.vip-plan .plan-price { font-size: 14px; color: #9CA3AF; margin-bottom: 8px; }
.vip-plan .plan-price strong { font-size: 34px; color: var(--wenan-color-dark, #4F46E5); }
.vip-plan .plan-desc { font-size: 13px; color: #9CA3AF; line-height: 1.6; margin-bottom: 18px; }
.vip-plan .plan-btn {
    display: inline-block; padding: 9px 36px; border-radius: 20px; font-size: 14px;
    background: var(--wenan-color-light, #EEF2FF); color: var(--wenan-color-dark, #4F46E5);
    text-decoration: none; transition: all 0.2s;
}
.vip-plan .plan-btn:hover { background: var(--wenan-color-dark, #4F46E5); color: #fff; }
.vip-plan.recommend { border: 2px solid var(--wenan-color, #6366F1); }
.vip-plan.recommend .plan-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--wenan-color, #6366F1); color: #fff; font-size: 12px;
    padding: 3px 14px; border-radius: 12px; white-space: nowrap;
}

.vip-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 36px; }
.vip-pay-card {
    background: #fff; border: 1px solid #F3F4F6; border-radius: 14px;
    padding: 24px; text-align: center;
}
.vip-pay-card h3 { font-size: 16px; margin: 0 0 4px; }
.vip-pay-card p { font-size: 13px; color: #9CA3AF; margin: 0 0 14px; }
.vip-pay-card img { width: 160px; height: 160px; object-fit: contain; border-radius: 8px; }
.vip-pay-note { text-align: center; font-size: 13px; color: #9CA3AF; margin-bottom: 36px; }

.vip-faq { margin-bottom: 36px; }
.vip-faq-item { background: #fff; border: 1px solid #F3F4F6; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.vip-faq-item h4 { font-size: 14px; margin: 0 0 6px; color: #1F2937; }
.vip-faq-item p { font-size: 13px; color: #6B7280; margin: 0; line-height: 1.7; }

/* 会员页响应式 */
@media (max-width: 1000px) {
    .vip-benefits { grid-template-columns: repeat(3, 1fr); }
    .vip-plans { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 576px) {
    .vip-hero { padding: 32px 16px; }
    .vip-hero h1 { font-size: 24px; }
    .vip-benefits { grid-template-columns: 1fr; }
    .vip-benefit { display: flex; align-items: center; text-align: left; gap: 12px; padding: 14px 16px; }
    .vip-benefit .benefit-icon { margin-bottom: 0; font-size: 24px; }
    .vip-pay { grid-template-columns: 1fr; }
}

/* ==================== 个人中心 /user.html（小程序 profile 风格） ==================== */
.user-page { padding: 20px 0 48px; max-width: 1080px; }

/* ---- 未登录引导卡 ---- */
.user-login-guide {
    position: relative; overflow: hidden;
    background: #fff; border: 1px solid #F3F4F6; border-radius: 20px;
    padding: 72px 24px 60px; text-align: center;
    max-width: 560px; margin: 40px auto;
    box-shadow: 0 8px 30px rgba(30, 27, 75, 0.06);
}
.user-login-guide::before {
    content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
    top: -110px; right: -80px;
}
.user-login-guide::after {
    content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.10), transparent 70%);
    bottom: -80px; left: -60px;
}
.user-login-guide .guide-icon {
    position: relative; z-index: 1;
    width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border: 1px solid #C7D2FE;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px;
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.18);
}
.user-login-guide h2 { position: relative; z-index: 1; font-size: 22px; color: #1F2937; margin: 0 0 8px; }
.user-login-guide p { position: relative; z-index: 1; font-size: 14px; color: #9CA3AF; margin: 0 0 26px; }
.guide-login-btn {
    position: relative; z-index: 1;
    display: inline-block; padding: 12px 52px; border: none; border-radius: 999px; cursor: pointer;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 1px;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
    transition: all 0.25s;
}
.guide-login-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(99, 102, 241, 0.42); }
.guide-tip { margin: 18px 0 0 !important; font-size: 12px !important; color: #C3C8D4 !important; }

/* ---- 用户头部渐变卡 ---- */
.user-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 55%, #4338CA 100%);
    border-radius: 20px; padding: 30px; color: #fff; margin-bottom: 18px;
    box-shadow: 0 14px 34px rgba(79, 70, 229, 0.28);
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb-1 {
    width: 240px; height: 240px; top: -100px; right: -50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
}
.hero-orb-2 {
    width: 160px; height: 160px; bottom: -70px; left: -40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 70%);
}
.user-hero-main { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; }
.user-hero .user-avatar {
    width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.22);
    border: 3px solid rgba(255, 255, 255, 0.55);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.user-hero .user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-meta { flex: 1; min-width: 0; }
.user-name { font-size: 21px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; line-height: 1.4; }
.vip-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; padding: 3px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.35);
}
.vip-badge.is-vip {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none; font-weight: 600;
    box-shadow: 0 3px 10px rgba(255, 165, 0, 0.45);
}
.user-uid { font-size: 13px; opacity: 0.82; margin-top: 5px; }
.user-logout-btn {
    position: absolute; top: 18px; right: 18px; z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14);
    color: #fff; border-radius: 999px; padding: 6px 16px; font-size: 12px; cursor: pointer;
    transition: all 0.2s;
}
.user-logout-btn:hover { background: rgba(255, 255, 255, 0.3); }

/* ---- Tab 分段控件 ---- */
.user-tabs {
    display: flex; gap: 6px;
    background: #fff; border: 1px solid #F3F4F6; border-radius: 16px; padding: 6px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(30, 27, 75, 0.05);
}
.user-tab {
    flex: 1; border: none; background: transparent; cursor: pointer;
    padding: 11px 6px; border-radius: 12px;
    font-size: 14px; color: #6B7280;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: all 0.2s;
}
.user-tab:hover { color: #4F46E5; }
.user-tab.active {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: #fff; font-weight: 600;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.32);
}
.tab-icon { font-size: 15px; line-height: 1; }
.user-tab-panel { display: none; }
.user-tab-panel.active { display: block; }

/* ---- 空状态 ---- */
.panel-empty {
    background: #fff; border: 1px solid #F3F4F6; border-radius: 16px;
    padding: 60px 20px; text-align: center;
    box-shadow: 0 2px 12px rgba(30, 27, 75, 0.04);
}
.panel-empty .empty-icon {
    width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 50%;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    display: flex; align-items: center; justify-content: center; font-size: 38px;
}
.panel-empty p { font-size: 14px; color: #9CA3AF; margin: 0 0 18px; }
.empty-link {
    display: inline-block; padding: 9px 32px; border-radius: 999px;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: #fff; font-size: 14px; text-decoration: none;
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.3);
    transition: all 0.25s;
}
.empty-link:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(99, 102, 241, 0.38); }

/* ---- 收藏 / 下载列表（白卡） ---- */
.fav-list, .dl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fav-item, .dl-item {
    display: flex; gap: 14px;
    background: #fff; border: 1px solid #F3F4F6; border-radius: 16px; padding: 14px;
    box-shadow: 0 2px 10px rgba(30, 27, 75, 0.04);
    transition: box-shadow 0.25s, transform 0.25s;
}
.fav-item:hover, .dl-item:hover { box-shadow: 0 10px 26px rgba(30, 27, 75, 0.09); transform: translateY(-2px); }
.fav-thumb, .dl-thumb {
    width: 104px; height: 104px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%); text-decoration: none;
}
.fav-thumb img, .dl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { font-size: 34px; }
.fav-info, .dl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fav-title, .dl-title {
    font-size: 15px; font-weight: 600; color: #1F2937; text-decoration: none; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.fav-title:hover, .dl-title:hover { color: #4F46E5; }
.fav-desc {
    font-size: 13px; color: #9CA3AF; line-height: 1.6; margin: 6px 0 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fav-foot, .dl-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fav-time, .dl-time { font-size: 12px; color: #9CA3AF; }
.fav-cancel {
    border: 1px solid #FECACA; background: #FEF2F2; color: #EF4444;
    border-radius: 999px; padding: 5px 14px; font-size: 12px; cursor: pointer;
    transition: all 0.2s;
}
.fav-cancel:hover { background: #EF4444; color: #fff; }
.dl-again {
    display: inline-block; background: #EEF2FF; color: #4F46E5;
    border-radius: 999px; padding: 5px 14px; font-size: 12px; text-decoration: none;
    transition: all 0.2s;
}
.dl-again:hover { background: #4F46E5; color: #fff; }

/* ---- 会员中心：金色 VIP 卡 ---- */
.vip-card {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 55%, #F97316 100%);
    border-radius: 18px; padding: 28px; margin-bottom: 16px; color: #fff;
    box-shadow: 0 14px 32px rgba(255, 165, 0, 0.32);
}
.vip-card::before {
    content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%);
    top: -90px; right: -50px;
}
.vip-card::after {
    content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
    bottom: -60px; left: -30px;
}
.vip-card-head { position: relative; display: flex; align-items: center; gap: 14px; }
.vip-card-icon {
    width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.25);
    display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.vip-card-title { font-size: 19px; font-weight: 700; line-height: 1.4; }
.vip-card-sub { font-size: 13px; opacity: 0.95; margin-top: 4px; }
.vip-stats { position: relative; display: flex; gap: 10px; margin-top: 22px; }
.vip-stat {
    flex: 1; background: rgba(255, 255, 255, 0.22);
    border-radius: 14px; padding: 15px 8px; text-align: center;
}
.vip-stat .stat-num { display: block; font-size: 24px; font-weight: 800; line-height: 1.2; }
.vip-stat .stat-label { display: block; font-size: 12px; opacity: 0.92; margin-top: 4px; }
.vip-open-btn {
    position: relative; display: inline-block; margin-top: 22px;
    background: #fff; color: #D97706; font-weight: 700;
    padding: 12px 44px; border-radius: 999px; font-size: 15px; text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    transition: all 0.25s;
}
.vip-open-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18); }

/* ---- 会员权益白卡 ---- */
.vip-rights {
    background: #fff; border: 1px solid #F3F4F6; border-radius: 16px;
    padding: 24px 24px 10px;
    box-shadow: 0 2px 12px rgba(30, 27, 75, 0.04);
}
.vip-rights h3 {
    font-size: 16px; color: #1F2937; margin: 0 0 6px; padding-left: 12px; position: relative;
}
.vip-rights h3::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 4px; height: 16px; border-radius: 2px;
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
}
.vip-rights ul { list-style: none; margin: 0; padding: 0; }
.vip-rights li {
    display: flex; align-items: center; gap: 14px;
    padding: 15px 0; border-bottom: 1px solid #F3F4F6;
}
.vip-rights li:last-child { border-bottom: none; }
.rights-icon {
    width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.rights-icon.i1 { background: rgba(99, 102, 241, 0.10); }
.rights-icon.i2 { background: rgba(16, 185, 129, 0.10); }
.rights-icon.i3 { background: rgba(245, 158, 11, 0.10); }
.rights-text b { display: block; font-size: 14px; color: #1F2937; font-weight: 600; }
.rights-text em { display: block; font-style: normal; font-size: 12px; color: #9CA3AF; margin-top: 2px; }

/* ---- 个人中心响应式 ---- */
@media (max-width: 767px) {
    .user-page { padding: 12px 12px 32px; }
    .user-hero { padding: 24px 20px; border-radius: 16px; }
    .user-hero-main { padding-right: 76px; gap: 14px; }
    .user-hero .user-avatar { width: 60px; height: 60px; font-size: 30px; }
    .user-name { font-size: 18px; }
    .user-logout-btn { top: 14px; right: 14px; padding: 5px 13px; font-size: 11px; }
    .user-tabs { padding: 5px; border-radius: 14px; }
    .user-tab { font-size: 13px; padding: 10px 4px; gap: 4px; }
    .fav-item, .dl-item { padding: 12px; gap: 12px; }
    .fav-thumb, .dl-thumb { width: 88px; height: 88px; border-radius: 10px; }
    .fav-title, .dl-title { font-size: 14px; }
    .fav-desc { font-size: 12px; }
    .vip-card { padding: 22px 18px; border-radius: 16px; }
    .vip-card-title { font-size: 17px; }
    .vip-card-icon { width: 50px; height: 50px; font-size: 26px; }
    .vip-stat .stat-num { font-size: 20px; }
    .vip-rights { padding: 20px 18px 8px; }
}
@media (max-width: 576px) {
    .user-login-guide { padding: 56px 18px 48px; }
    .guide-login-btn { padding: 11px 44px; font-size: 15px; }
    .fav-time, .dl-time { font-size: 11px; }
    .fav-cancel, .dl-again { padding: 4px 11px; font-size: 11px; }
    .vip-open-btn { padding: 11px 36px; }
}
@media (max-width: 360px) {
    .user-name { font-size: 16px; }
    .user-hero .user-avatar { width: 52px; height: 52px; }
    .fav-thumb, .dl-thumb { width: 76px; height: 76px; }
}

/* ==================== 会员页 V2（排版参照伴奏站，主色靛蓝体系） ==================== */
.wvip-page { background: #F5F5F5; padding-bottom: 8px; }
.wvip-page .wvip-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    border-radius: 16px;
    padding: 48px 32px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 30px rgba(99, 102, 241, .30);
}
.wvip-page .wvip-hero::before,
.wvip-page .wvip-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: wvipOrbFloat 12s ease-in-out infinite;
}
.wvip-page .wvip-hero::before {
    width: 220px; height: 220px; top: -80px; right: -60px;
    background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,.04) 55%, transparent 72%);
}
.wvip-page .wvip-hero::after {
    width: 160px; height: 160px; bottom: -70px; left: -40px;
    background: radial-gradient(circle, rgba(139,92,246,.18) 0%, rgba(139,92,246,.06) 55%, transparent 72%);
    animation-duration: 9s;
    animation-delay: -4s;
}
.wvip-page .wvip-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: wvipOrbFloat 10s ease-in-out infinite;
}
.wvip-page .wvip-hero-orb.orb-1 {
    width: 46px; height: 46px;
    top: 18%; left: 12%;
    background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 60%, transparent 75%);
    animation-duration: 7s;
    animation-delay: -2s;
}
.wvip-page .wvip-hero-orb.orb-2 {
    width: 30px; height: 30px;
    bottom: 22%; right: 16%;
    background: radial-gradient(circle, rgba(139,92,246,.35) 0%, rgba(139,92,246,.10) 60%, transparent 75%);
    animation-duration: 11s;
    animation-delay: -6s;
}
@keyframes wvipOrbFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: .8;
    }
    50% {
        transform: translate3d(0, -26px, 0) scale(1.15);
        opacity: 1;
    }
}
.wvip-page .wvip-hero .wvip-hero-badge,
.wvip-page .wvip-hero h1,
.wvip-page .wvip-hero-sub,
.wvip-page .wvip-stats,
.wvip-page .wvip-trust-badges {
    position: relative;
    z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
    .wvip-page .wvip-hero::before,
    .wvip-page .wvip-hero::after,
    .wvip-page .wvip-hero-orb {
        animation: none;
    }
}
.wvip-page .wvip-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255,215,106,.25) 0%, rgba(255,215,106,.08) 50%, rgba(255,215,106,.22) 100%);
    border: 1px solid rgba(255,215,106,.6);
    padding: 9px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 18px;
    color: #ffe9a8;
    box-shadow: 0 0 18px rgba(255,215,106,.28), inset 0 0 14px rgba(255,215,106,.1);
    animation: wvipBadgeGlow 3.5s ease-in-out infinite;
}
.wvip-page .wvip-hero-badge::before {
    content: '✦';
    color: #ffd76a;
    font-size: 12px;
}
.wvip-page .wvip-hero-badge::after {
    content: '✦';
    color: #ffd76a;
    font-size: 12px;
}
@keyframes wvipBadgeGlow {
    0%, 100% {
        box-shadow: 0 0 14px rgba(255,215,106,.22), inset 0 0 10px rgba(255,215,106,.08);
    }
    50% {
        box-shadow: 0 0 30px rgba(255,215,106,.5), inset 0 0 18px rgba(255,215,106,.16);
    }
}
.wvip-page .wvip-hero h1 {
    margin: 0 0 12px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
}
.wvip-page .wvip-hero-sub {
    margin: 0 auto 24px;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,.85);
}
.wvip-page .wvip-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 22px;
    padding: 16px 24px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.wvip-page .wvip-stat-item { text-align: center; }
.wvip-page .wvip-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.wvip-page .wvip-stat-label {
    font-size: 12.5px;
    color: rgba(255,255,255,.75);
    margin-top: 4px;
}
.wvip-page .wvip-stat-divider {
    width: 1px;
    height: 34px;
    background: rgba(255,255,255,.25);
}
.wvip-page .wvip-trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.wvip-page .wvip-trust-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    color: #fff;
}

/* 通用区块 */
.wvip-page .wvip-section {
    margin-top: 16px;
    background: #fff;
    border-radius: 14px;
    padding: 28px 26px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    border: 1px solid #EEF1F6;
}
.wvip-page .wvip-section-title {
    margin: 0 0 22px;
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    position: relative;
    padding-left: 14px;
}
.wvip-page .wvip-section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 3px; bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #6366F1, #8B5CF6);
}

/* 权益卡片 */
.wvip-page .wvip-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.wvip-page .wvip-benefit-card {
    flex: 1 1 180px;
    min-width: 180px;
    background: #F8FAFD;
    border: 1px solid #E8EDF4;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all .3s ease;
}
.wvip-page .wvip-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(99,102,241,.12);
    border-color: #C7D2FE;
}
.wvip-page .wvip-benefit-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.wvip-page .wvip-benefit-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 6px;
}
.wvip-page .wvip-benefit-text {
    font-size: 13px;
    line-height: 1.65;
    color: #4A5A6A;
}

/* 定价卡片 */
.wvip-page .wvip-plans {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
}
.wvip-page .wvip-plan-card {
    position: relative;
    flex: 1 1 0;
    max-width: 280px;
    background: #fff;
    border: 1px solid #E6EBF2;
    border-radius: 16px;
    padding: 30px 22px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all .3s ease;
}
.wvip-page .wvip-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.wvip-page .wvip-plan-hot {
    border: 2px solid #6366F1;
    box-shadow: 0 6px 20px rgba(99,102,241,.18);
}
.wvip-page .wvip-plan-crown {
    border: 2px solid #8B5CF6;
    box-shadow: 0 6px 24px rgba(139,92,246,.20);
}
.wvip-page .wvip-plan-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 5px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}
.wvip-page .wvip-plan-hot .wvip-plan-tag {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    box-shadow: 0 4px 10px rgba(99,102,241,.4);
}
.wvip-page .wvip-plan-crown .wvip-plan-tag {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    box-shadow: 0 4px 10px rgba(139,92,246,.4);
}
.wvip-page .wvip-plan-name {
    font-size: 17px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 10px;
}
.wvip-page .wvip-plan-price {
    font-size: 36px;
    font-weight: 800;
    color: #1F2937;
    line-height: 1.2;
    margin-bottom: 6px;
}
.wvip-page .wvip-plan-symbol {
    font-size: 20px;
    vertical-align: super;
    margin-right: 2px;
    color: #6366F1;
}
.wvip-page .wvip-plan-unit {
    font-size: 14px;
    font-weight: 500;
    color: #8A97A5;
    margin-left: 4px;
}
.wvip-page .wvip-plan-old {
    font-size: 13px;
    color: #A0AAB6;
    margin-bottom: 10px;
}
.wvip-page .wvip-plan-desc {
    font-size: 13px;
    color: #8A97A5;
    margin-bottom: 18px;
    line-height: 1.5;
}
.wvip-page .wvip-buy-btn {
    display: inline-block;
    width: 100%;
    max-width: 200px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
    box-sizing: border-box;
}
.wvip-page .wvip-month-btn {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.wvip-page .wvip-year-btn {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 4px 12px rgba(217,119,6,.35);
}
.wvip-page .wvip-lifetime-btn {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    box-shadow: 0 6px 16px rgba(139,92,246,.4);
}
.wvip-page .wvip-buy-btn:hover {
    transform: translateY(-2px) scale(1.02);
    opacity: .92;
    color: #fff;
}

/* 好评区（正方形卡片：PC 5 列一行，小屏缩小多行） */
.wvip-page .wvip-reviews {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.wvip-page .wvip-review-card {
    flex: 0 0 calc((100% - 56px) / 5);
    aspect-ratio: 1 / 1;
    background: #F8FAFD;
    border: 1px solid #E8EDF4;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all .3s ease;
    overflow: hidden;
    box-sizing: border-box;
}
.wvip-page .wvip-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(99,102,241,.1);
    border-color: #C7D2FE;
}
.wvip-page .wvip-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.wvip-page .wvip-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.wvip-page .wvip-review-name {
    font-size: 14px;
    font-weight: 700;
    color: #1F2937;
}
.wvip-page .wvip-review-stars {
    font-size: 12px;
    color: #F59E0B;
    letter-spacing: 2px;
}
.wvip-page .wvip-review-text {
    font-size: 13px;
    line-height: 1.7;
    color: #4A5A6A;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 步骤条 */
.wvip-page .wvip-steps-tip {
    display: block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto 16px;
    padding: 8px 22px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    border: 1px solid #C7D2FE;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #4F46E5;
    text-align: center;
    box-shadow: 0 2px 8px rgba(99,102,241,.12);
}
.wvip-page .wvip-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
    flex-wrap: wrap;
    background: linear-gradient(180deg, #F5F6FF 0%, #EEF2FF 100%);
    border: 1px solid #E0E7FF;
    border-radius: 16px;
    padding: 20px 16px;
}
.wvip-page .wvip-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #E0E7FF;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 4px 12px rgba(99,102,241,.08);
    transition: all .3s ease;
}
.wvip-page .wvip-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(99,102,241,.15);
}
.wvip-page .wvip-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wvip-page .wvip-step-text {
    font-size: 13px;
    line-height: 1.5;
    color: #4A5A6A;
    text-align: left;
}
.wvip-page .wvip-step-text b {
    display: block;
    font-size: 16px;
    color: #1F2937;
    margin-bottom: 2px;
}
.wvip-page .wvip-step-arrow {
    color: #8B5CF6;
    font-size: 26px;
    font-weight: 700;
}

/* 支付安全提示 */
.wvip-page .wvip-pay-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #6B7A8A;
    flex-wrap: wrap;
}
.wvip-page .wvip-pay-security-icon {
    font-size: 15px;
}
.wvip-page .wvip-pay-cards {
    display: flex;
    gap: 18px;
    justify-content: center;
}
.wvip-page .wvip-pay-card {
    flex: 1 1 0;
    max-width: 300px;
    background: #FBFCFE;
    border: 1px dashed #C7D2FE;
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
}
.wvip-page .wvip-pay-title {
    font-size: 14px;
    font-weight: 600;
    color: #4F46E5;
    margin: 0 0 14px;
    line-height: 1.5;
}
.wvip-page .wvip-pay-img-wrap {
    width: 170px;
    height: 170px;
    margin: 0 auto 12px;
    background: #fff;
    border: 1px solid #E6EBF2;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wvip-page .wvip-pay-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.wvip-page .wvip-pay-tip {
    font-size: 12.5px;
    color: #8A97A5;
    margin: 0;
    line-height: 1.5;
}

/* 权益对比表格 */
.wvip-page .wvip-table-swipe-tip {
    display: none;
    text-align: center;
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 10px;
}
.wvip-page .wvip-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.wvip-page .wvip-table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #E6EBF2;
    border-radius: 12px;
    overflow: hidden;
    font-size: 13.5px;
    background: #fff;
}
.wvip-page .wvip-table th,
.wvip-page .wvip-table td {
    padding: 13px 16px;
    text-align: center;
    border-bottom: 1px solid #EEF1F6;
    line-height: 1.6;
    color: #334155;
}
.wvip-page .wvip-table th {
    background: #4F46E5;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.wvip-page .wvip-table tbody tr:last-child td {
    border-bottom: none;
}
/* 表头三档配色（与三个购买按钮渐变完全一致：买月=蓝、买年=金、买永久=紫） */
.wvip-page .wvip-table th:nth-child(3) {
    /* background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); */
}

/* 数据列文字色（与按钮渐变终点一致：月=#2563EB、年=#D97706、永久=#7C3AED） */
.wvip-page .wvip-table tbody td:nth-child(3),
.wvip-page .wvip-table tfoot td:nth-child(3) {
    color: #2563EB;
    font-weight: 700;
}
.wvip-page .wvip-table tbody td:nth-child(4),
.wvip-page .wvip-table tfoot td:nth-child(4) {
    color: #D97706;
    font-weight: 700;
}
.wvip-page .wvip-table tbody td:nth-child(5),
.wvip-page .wvip-table tfoot td:nth-child(5) {
    color: #7C3AED;
    font-weight: 700;
}
.wvip-page .wvip-table td.wvip-price {
    color: #F59E0B;
    font-weight: 700;
}
.wvip-page .wvip-table tfoot td {
    background: rgba(99, 102, 241, .04);
    border-top: 1px solid #E8EDF4;
    border-bottom: none;
}
.wvip-page .wvip-table tfoot .wvip-buy-btn {
    max-width: 110px;
    padding: 8px 12px;
    font-size: 13px;
}

/* 保障区 */
.wvip-page .wvip-guarantee-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.wvip-page .wvip-guarantee-item {
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    color: #4F46E5;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}
.wvip-page .wvip-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wvip-page .wvip-faq-item {
    background: #F8FAFD;
    border: 1px solid #E8EDF4;
    border-radius: 10px;
    padding: 14px 18px;
}
.wvip-page .wvip-faq-q {
    font-size: 14px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 6px;
}
.wvip-page .wvip-faq-a {
    font-size: 13px;
    line-height: 1.7;
    color: #6B7A8A;
}

/* 底部 CTA */
.wvip-page .wvip-cta {
    text-align: center;
    margin-top: 28px;
}
.wvip-page .wvip-cta-btn {
    display: inline-block !important;
    width: auto !important;
    min-width: 260px;
    max-width: 88%;
    background: linear-gradient(135deg, #6366F1, #4F46E5) !important;
    color: #fff !important;
    text-align: center;
    padding: 14px 44px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 999px !important;
    box-shadow: 0 6px 20px rgba(79,70,229,.35) !important;
    letter-spacing: 2px;
    text-decoration: none !important;
}
.wvip-page .wvip-cta-btn:hover {
    transform: translateY(-2px);
    opacity: .92;
}

/* 平板（768-1000px）：3 列正方形，5 块两行（3+2） */
@media screen and (max-width: 1000px) and (min-width: 768px) {
    .wvip-page .wvip-review-card { flex: 0 0 calc((100% - 28px) / 3); }
}

/* 会员页响应式 */
@media screen and (max-width: 767px) {
    .wvip-page .wvip-hero { padding: 36px 18px 32px; }
    .wvip-page .wvip-hero h1 { font-size: 25px; letter-spacing: 1px; }
    .wvip-page .wvip-hero-sub { font-size: 13.5px; }
    .wvip-page .wvip-stats { gap: 14px; padding: 14px 12px; }
    .wvip-page .wvip-stat-num { font-size: 22px; }
    .wvip-page .wvip-stat-label { font-size: 12px; }
    .wvip-page .wvip-section { padding: 22px 16px; }
    .wvip-page .wvip-section-title { font-size: 19px; }
    .wvip-page .wvip-plans { flex-direction: column; align-items: center; gap: 20px; }
    .wvip-page .wvip-plan-card { width: 100%; max-width: 340px; padding: 26px 18px 24px; }
    .wvip-page .wvip-plan-card.wvip-plan-crown { order: 1; }
    .wvip-page .wvip-plan-card.wvip-plan-hot { order: 2; }
    .wvip-page .wvip-plan-price { font-size: 32px; }
    /* 好评：3 列正方形，块与字号同步缩小 */
    .wvip-page .wvip-reviews { gap: 10px; }
    .wvip-page .wvip-review-card { flex: 0 0 calc((100% - 20px) / 3); padding: 12px 10px; }
    .wvip-page .wvip-review-head { gap: 8px; margin-bottom: 6px; }
    .wvip-page .wvip-review-avatar { width: 30px; height: 30px; font-size: 15px; }
    .wvip-page .wvip-review-name { font-size: 12.5px; }
    .wvip-page .wvip-review-stars { font-size: 10px; letter-spacing: 1px; }
    .wvip-page .wvip-review-text { font-size: 11.5px; line-height: 1.6; }
    .wvip-page .wvip-pay-cards { flex-direction: column; align-items: center; }
    .wvip-page .wvip-pay-card { width: 100%; max-width: 300px; }
    .wvip-page .wvip-steps { flex-direction: column; gap: 14px; }
    .wvip-page .wvip-step-arrow { transform: rotate(90deg); }
    .wvip-page .wvip-table-swipe-tip { display: block; }
    .wvip-page .wvip-hero-orb.orb-1 { width: 32px; height: 32px; }
    .wvip-page .wvip-hero-orb.orb-2 { width: 22px; height: 22px; }
}
/* 小屏（≤420px）：2 列正方形，5 块三行（2+2+1） */
@media screen and (max-width: 420px) {
    .wvip-page .wvip-review-card { flex: 0 0 calc((100% - 10px) / 2); padding: 10px 8px; }
    .wvip-page .wvip-reviews { gap: 10px; }
    .wvip-page .wvip-review-avatar { width: 26px; height: 26px; font-size: 13px; }
    .wvip-page .wvip-review-name { font-size: 11.5px; }
    .wvip-page .wvip-review-text { font-size: 10.5px; line-height: 1.55; }
}
