/* ===== 企业VIP开通页面样式 ===== */
.evip-page-body .ceo-footer-follow-bar {
    display: none !important;
}

/* 隐藏默认主题导航栏 */
.evip-page-body .navbar {
    display: none !important;
}

/* 注意：导航栏隐藏、用户菜单位置等样式已通过 header.php 中的内联样式实现，
   以避免页面刷新时的闪烁问题 */

.evip-page-body .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.evip-page-body #wrapper,
.evip-page-body .page-wrapper,
.evip-page-body .site-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* 注意：不再隐藏主题默认 footer，改为深色主题显示（见下方 evip-footer-dark 规则） */

/* 隐藏主题默认侧边栏/小工具区域 */
.evip-page-body .sidebar,
.evip-page-body .widget-area,
.evip-page-body .widget,
.evip-page-body .ceo-sidebar-forum-search,
.evip-page-body .ceo-sidebar-forum-knowledge,
.evip-page-body .ceo-sidebar-forum-new {
    display: none !important;
}

/* body 深色背景，防止白色底穿透 */
.evip-page-body {
    background: #0a0e1a !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 隐藏默认主题的签到/积分/任务等小工具模块 */
.evip-page-body .ceo-daily-task,
.evip-page-body .ceo-sign-in,
.evip-page-body .ceo-points-exchange,
.evip-page-body .ceo-new-arrivals,
.evip-page-body .ceo-ai-tools,
/* 隐藏 video-right-float 中的签到/积分/任务/兑换模块 */
.evip-page-body .vfb-checkin-wrap,
.evip-page-body .vfb-checkin-popup,
.evip-page-body .checkin-modal,
.evip-page-body .checkin-task-list,
.evip-page-body .checkin-task,
.evip-page-body .checkin-exchange,
.evip-page-body .exchange-item,
.evip-page-body .exchange-name,
.evip-page-body .exchange-bottom,
.evip-page-body .exchange-corner,
.evip-page-body .checkin-congrats,
.evip-page-body .checkin-sub1,
.evip-page-body .checkin-week-pill,
.evip-page-body .checkin-calendar,
.evip-page-body .checkin-tip,
.evip-page-body .checkin-btns,
.evip-page-body .checkin-footer,
/* 隐藏右侧浮动中的签到/任务/兑换入口 */
.evip-page-body .vfb-checkin-btn,
.evip-page-body .vfb-exchange-btn,
.evip-page-body .vfb-task-btn,
/* 隐藏抽奖模块 */
.evip-page-body .lottery-wrap,
.evip-page-body .lottery-modal {
    display: none !important;
}

/* 仅隐藏 footer banner，保留 footer-main 和 footer-bottom */
.evip-page-body .footer-banner {
    display: none !important;
}

/* ===== 企业VIP页 Footer 深色主题 ===== */
body.evip-page-body .ceotheme-footer.evip-footer-dark {
    background: #0a0e1a !important;
    color: #8b8f9a !important;
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-main,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-main-inner,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-bottom,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-bottom-inner {
    background: #0a0e1a !important;
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-left,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-right {
    background: transparent !important;
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-contact-info a,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-menu-title,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-submenu-list a {
    color: #c7ccd6 !important;
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-menu-title {
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-submenu-list a:hover,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-contact-info a:hover {
    color: #3b82f6 !important;
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-friend-links,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-copyright,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-icp,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-licenses,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-license-item,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-license-item a,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-icp-label {
    color: #6b7280 !important;
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-license-item a:hover {
    color: #3b82f6 !important;
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-email,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-online-time {
    color: #8b8f9a !important;
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-logo img {
    filter: brightness(0.9);
}
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-icp-label,
body.evip-page-body .ceotheme-footer.evip-footer-dark .footer-sep {
    color: #6b7280 !important;
}

.evip-page {
    min-height: 100vh;
    min-width: 1200px;
    padding-top: 64px;
    background:
        radial-gradient(ellipse 120% 60% at 80% -10%, rgba(59, 130, 246, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 100% 50% at 20% 10%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 80% 40% at 50% 100%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        #0a0e1a;
    color: #e2e4e7;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    position: relative;
    overflow: hidden;
}

/* 顶部导航 */
.evip-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.evip-nav.scrolled {
    background: #0a0e1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.evip-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.evip-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.evip-nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4ade80 0%, #3b82f6 100%);
    position: relative;
}

.evip-nav-logo-icon::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
}

.evip-nav-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

/* 动态 LOGO 图片样式 */
.evip-nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}
.evip-nav-logo-img {
    height: 50px;
    width: 160px;
    max-width: 160px;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

.evip-nav-menu {
    display: flex;
    gap: 32px;
    margin-left: 40px;
}

.evip-nav-link {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.evip-nav-link:hover {
    color: #fff;
}

.evip-nav-active {
    color: #fff !important;
}

.evip-nav-active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #4ade80, #3b82f6);
}

/* ===== 覆盖 PLUS 定制授权页 & 企业 VIP 页：移除导航下划线 ===== */
/* 两个页面的 body class：plus-page-body（page-plus.php） / evip-page-body（page-evip.php） */
.plus-page-body .evip-nav-link,
.plus-page-body .evip-nav-link:hover,
.plus-page-body .evip-nav-active,
.evip-page-body .evip-nav-link,
.evip-page-body .evip-nav-link:hover,
.evip-page-body .evip-nav-active {
    border-bottom: none !important;
    text-decoration: none !important;
}
.plus-page-body .evip-nav-active::after,
.plus-page-body .evip-nav-link::after,
.plus-page-body .evip-nav-link:hover::after,
.evip-page-body .evip-nav-active::after,
.evip-page-body .evip-nav-link::after,
.evip-page-body .evip-nav-link:hover::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    content: none !important;
}

.evip-nav-user {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.evip-nav-user-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.evip-nav-user-link:hover {
    opacity: 0.85;
}

.evip-nav-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 0;
}

.evip-nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    position: relative;
    display: block;
}

.evip-nav-avatar::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

/* 背景光效 - 极光条纹 */
.evip-bg-fx {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.evip-bg-line {
    position: absolute;
    width: 140%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, 0.15) 20%, rgba(129, 140, 248, 0.12) 50%, rgba(96, 165, 250, 0.08) 80%, transparent 100%);
    transform-origin: center center;
    filter: blur(1px);
}

.evip-bg-line-1 {
    top: 8%;
    left: -10%;
    transform: rotate(-6deg);
    height: 60px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.08) 20%, rgba(139, 92, 246, 0.06) 50%, transparent 80%);
    filter: blur(20px);
}

.evip-bg-line-2 {
    top: 35%;
    left: -5%;
    transform: rotate(-5deg) scale(1.3);
    height: 40px;
    background: linear-gradient(90deg, transparent 0%, rgba(74, 222, 128, 0.05) 30%, transparent 70%);
    filter: blur(15px);
}

.evip-bg-line-3 {
    top: 65%;
    left: -10%;
    transform: rotate(-7deg) scale(1.1);
    height: 80px;
    background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, 0.08) 30%, rgba(167, 139, 250, 0.06) 60%, transparent 100%);
    filter: blur(25px);
}

/* 额外的极光条纹 */
.evip-bg-fx::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background:
        linear-gradient(180deg, rgba(59, 130, 246, 0.06) 0%, transparent 100%);
    pointer-events: none;
}

.evip-bg-fx::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 80%;
    height: 100%;
    background: 
        linear-gradient(100deg, transparent 40%, rgba(96, 165, 250, 0.04) 45%, transparent 55%),
        linear-gradient(95deg, transparent 60%, rgba(167, 139, 250, 0.03) 65%, transparent 75%);
    filter: blur(30px);
    pointer-events: none;
}

/* Hero 标题区 */
.evip-hero {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 80px 20px 80px;
}

/* Hero 底部过渡渐变 */
.evip-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, #0a0e1a 100%);
    pointer-events: none;
}

.evip-hero-title {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: 2px;
}

.evip-hero-subtitle {
    font-size: 15px;
    color: #94a3b8;
    margin: 0 0 24px;
    letter-spacing: 1px;
}

.evip-hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: #60a5fa;
    font-size: 13px;
    margin-bottom: 20px;
}

.evip-hero-link {
    display: block;
    color: #f59e0b;
    font-size: 14px;
    text-decoration: none;
    margin-top: 8px;
}

.evip-hero-link:hover {
    text-decoration: underline;
}

/* ============ 中小微企业授权 ↔ PLUS定制授权 Tab 切换按钮 ============ */
.evip-hero-tabs {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 28px;
    position: relative;
    z-index: 6;
}
.evip-hero-tab {
    flex: 1;
    max-width: 380px;
    padding: 20px 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none !important;
    display: block;
}
a.evip-hero-tab,
a.evip-hero-tab:link,
a.evip-hero-tab:visited,
a.evip-hero-tab:hover,
a.evip-hero-tab:active,
a.evip-hero-tab:focus {
    text-decoration: none !important;
}
.evip-hero-tab-title,
.evip-hero-tab-desc {
    text-decoration: none !important;
}
.evip-hero-tab:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(51, 65, 85, 0.7);
    transform: translateY(-2px);
    text-decoration: none !important;
}
.evip-hero-tab-active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.45), 0 0 0 1px rgba(139, 92, 246, 0.3);
}
.evip-hero-tab-active:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    transform: translateY(-2px);
}
.evip-hero-tab-title {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}
.evip-hero-tab-desc {
    display: block;
    color: rgba(203, 213, 225, 0.85);
    font-size: 13px;
    line-height: 1.5;
}
.evip-hero-tab-active .evip-hero-tab-title,
.evip-hero-tab-active .evip-hero-tab-desc {
    color: #fff;
}

/* 主体内容 */
.evip-main {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

/* 套餐卡片 */
.evip-plans {
    display: grid;
    grid-template-columns: repeat(4, 260px);
    gap: 16px;
    justify-content: center;
    margin-bottom: 30px;
}

.evip-card {
    position: relative;
    background: linear-gradient(180deg, #1a2332 0%, #141c28 100%);
    border: 1px solid #2a3544;
    border-radius: 10px;
    padding: 24px 18px 20px;
    transition: all 0.25s ease;
    cursor: pointer;
    height: auto;
    min-height: 360px;
    width: auto;
    min-width: 260px;
    box-sizing: border-box;
    overflow: visible;
}

.evip-card:hover {
    border-color: #3d4d63;
    transform: translateY(-3px);
}

.evip-card-selected {
    border-color: #4ade80 !important;
    box-shadow: 0 4px 20px rgba(74, 222, 128, 0.2);
}

/* 优惠券标签 */
.evip-card-coupon {
    position: absolute;
    top: 0;
    right: 12px;
    background: linear-gradient(135deg, #ff6b35, #e63946);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 0 0 4px 4px;
    font-weight: 600;
}

.evip-coupon-blue {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

/* 推荐标签 */
.evip-card-recommend-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* 推荐卡片特殊样式 */
.evip-card-recommend {
    border: 1.5px solid #3b82f6;
    background: linear-gradient(180deg, #1a2332 0%, #162040 100%);
    transform: none;
}

.evip-card-recommend:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
}

/* 卡片内容 */
.evip-card-name {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #e2e4e7;
    margin-bottom: 2px;
}

.evip-card-subtitle {
    text-align: center;
    font-size: 12px;
    color: #f59e0b;
    margin-bottom: 2px;
    background: transparent;
    padding: 0;
}

.evip-card-level {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
}

.evip-card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 6px;
}

.evip-price-symbol {
    font-size: 16px;
    color: #4ade80;
    font-weight: 500;
}

.evip-card-recommend .evip-price-symbol {
    color: #60a5fa;
}

.evip-price-num {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 3px;
}

.evip-price-unit {
    font-size: 13px;
    color: #64748b;
}

.evip-card-users {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin: 2px 0;
}

.evip-card-users {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 6px;
    gap: 8px;
}

.evip-card-users::before,
.evip-card-users::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #475569, transparent);
    max-width: 60px;
}

.evip-card-users span {
    font-size: 12px;
    color: #94a3b8;
    background: transparent;
    padding: 0 4px;
}

/* 功能列表 */
.evip-card-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.evip-card-features li {
    font-size: 12px;
    color: #94a3b8;
    padding: 4px 0;
    display: flex;
    align-items: baseline;
    line-height: 1.5;
}

.evip-card-features li .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    font-size: 9px;
    font-weight: 700;
    margin-right: 6px;
    flex-shrink: 0;
}

.evip-card-recommend .evip-card-features li .check {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.evip-card-features li em {
    color: #64748b;
    font-style: normal;
}

/* 支付金额行 */
.evip-amount-row {
    text-align: center;
    margin: 40px 0 20px;
}

.evip-amount-label {
    font-size: 18px;
    color: #94a3b8;
    font-weight: 500;
}

.evip-amount-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-left: 6px;
}

/* 支付区域 */
.evip-payment {
    display: flex;
    gap: 30px;
    background: #141c28;
    border: 1px solid #2a3544;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    position: relative;
}

.evip-pay-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 110px;
    padding-top: 10px;
}

.evip-pay-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.evip-pay-tab:hover {
    color: #e2e4e7;
    background: rgba(255, 255, 255, 0.03);
}

.evip-pay-tab-active {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
}

.evip-pay-tab-active svg {
    color: #4ade80;
}

/* 支付内容区 */
.evip-pay-content {
    display: none;
    flex: 1;
    position: relative;
}

.evip-pay-content-active {
    display: flex;
}

/* 二维码区域 */
.evip-qrcodes-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
}

.evip-qrcode-item {
    text-align: center;
    display: block;
}

.evip-qrcode-box {
    width: 180px;
    height: 180px;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.evip-qrcode-box img {
    width: 100%;
    height: 100%;
    display: block;
}

.evip-qrcode-label {
    font-size: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.evip-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4ade80;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

/* ===== 动态订单信息条 ===== */
.evip-qrcode-order-bar {
    margin-bottom: 20px;
    padding: 10px 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
.evip-qob-item b {
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    font-family: Menlo, Consolas, monospace;
    letter-spacing: 0.3px;
}
.evip-qob-price {
    margin-left: auto;
}
.evip-qob-price b {
    color: #fbbf24;
    font-size: 15px;
}

/* ===== 二维码loading层 ===== */
.evip-qrcode-box {
    position: relative;
    overflow: hidden;
}
.evip-qr-loading {
    position: absolute;
    inset: 12px;
    background: rgba(255,255,255,0.92);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: #1e293b;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.evip-qr-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: evip-qr-spin 0.7s linear infinite;
}
@keyframes evip-qr-spin {
    to { transform: rotate(360deg); }
}

/* ===== 二维码下方金额 ===== */
.evip-qrcode-amount {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 700;
    color: #10b981;
    letter-spacing: 0.3px;
}
.evip-qrcode-item:nth-child(2) .evip-qrcode-amount {
    color: #3b82f6;
}

/* ===== 二维码容器：固定宽度避免图片加载时闪烁 ===== */
.evip-qrcode-item img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ===== 支付方式来源角标（真实商户 / 测试串码） ===== */
.evip-pay-source-tag {
    display: inline-block;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: help;
    user-select: none;
}
.evip-pay-source-tag.evip-pay-real {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}
.evip-pay-source-tag.evip-pay-fallback {
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.evip-alipay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: #1677ff;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.evip-pay-agreement {
    position: absolute;
    bottom: -23px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #64748b;
}

.evip-pay-agreement a {
    color: #4ade80;
    text-decoration: none;
}

.evip-pay-agreement a:hover {
    text-decoration: none;
}

/* 底部权益 */
.evip-benefits {
    padding: 30px 0 20px;
    background: transparent;
    border: none;
}

.evip-benefits-title {
    font-size: 15px;
    font-weight: 600;
    color: #e2e4e7;
    margin-bottom: 16px;
}

.evip-benefits-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.evip-benefits-list li {
    display: flex !important;
    align-items: center;
    font-size: 14px;
    color: #94a3b8;
}

.benefit-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    font-size: 11px;
    font-weight: 700;
    margin-right: 8px;
    flex-shrink: 0;
}

/* 余额支付样式 */
.evip-balance-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px 40px;
}

.evip-balance-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
}

.evip-balance-label {
    color: #94a3b8;
    font-weight: 500;
}

.evip-balance-value {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.evip-balance-amount {
    color: #fff;
    font-size: 20px;
    margin-left: 6px;
}

.evip-balance-negative {
    color: #ef4444;
    font-size: 20px;
    margin-left: 6px;
}

.evip-balance-available {
    color: #64748b;
    font-size: 14px;
    margin-left: 10px;
}
.evip-balance-available.evip-balance-sufficient {
    color: #10b981;
    font-weight: 600;
}
.evip-balance-available #evipBalanceShortNum,
.evip-balance-available span#evipBalanceShortNum {
    color: #ef4444;
    font-weight: 600;
}

.evip-balance-recharge {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 12px;
    border: 1px solid #f59e0b;
    border-radius: 4px;
    color: #f59e0b !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s;
}

.evip-balance-recharge:hover {
    background: #f59e0b;
    color: #fff !important;
}

.evip-balance-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 60px;
    background: linear-gradient(135deg, #ff6b35 0%, #ee4d2d 50%, #e63946 100%);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none !important;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}

.evip-balance-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.55);
    transform: translateY(-2px);
}

/* 对公打款样式 */
.evip-transfer-info {
    flex: 1;
    padding: 30px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.evip-transfer-desc {
    font-size: 16px;
    color: #e2e4e7;
    font-weight: 500;
    margin: 0 0 28px;
}

.evip-transfer-line {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 10px;
    line-height: 1.8;
}

.evip-transfer-line span {
    color: #4ade80;
    font-weight: 600;
    margin: 0 3px;
}

.evip-transfer-line a {
    color: #4ade80;
    text-decoration: none;
    font-weight: 500;
}

.evip-transfer-line a:hover {
    text-decoration: none;
}

/* 响应式 */
@media (max-width: 1200px) {
    .evip-main {
        padding: 30px 16px 50px;
    }
}

@media (max-width: 1024px) {
    .evip-plans {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .evip-benefits-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .evip-payment {
        flex-direction: column;
    }
    
    .evip-pay-sidebar {
        flex-direction: row;
        justify-content: center;
    }

    .evip-hero-tabs {
        gap: 12px;
    }
    .evip-hero-tab {
        padding: 16px 24px;
    }
    .evip-hero-tab-title {
        font-size: 16px;
    }
    .evip-hero-tab-desc {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .evip-plans {
        grid-template-columns: 1fr;
    }
    
    .evip-benefits-list {
        grid-template-columns: 1fr;
    }
    
    .evip-hero {
        padding: 40px 20px 60px;
    }
    
    .evip-hero-title {
        font-size: 28px;
    }

    .evip-hero-subtitle {
        font-size: 13px;
    }

    .evip-hero-tabs {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    .evip-hero-tab {
        max-width: 100%;
        padding: 14px 20px;
    }
    .evip-hero-tab-title {
        font-size: 16px;
    }
    .evip-hero-tab-desc {
        font-size: 12px;
    }
    
    .evip-title {
        font-size: 24px;
    }
    
    .evip-qrcodes-area {
        gap: 20px;
    }
    
    .evip-qrcode-box {
        width: 140px;
        height: 140px;
    }
}

/* ===== 协议弹窗 ===== */
.evip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s;
}

.evip-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.evip-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 560px;
    max-width: 92vw;
    max-height: 85vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    color: #333;
}

.evip-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.evip-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.evip-modal-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.evip-modal-close {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.evip-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.evip-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    font-size: 13px;
    line-height: 1.8;
    color: #555;
}

.evip-modal-intro {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    margin: 0 0 14px;
}

.evip-modal-text {
    margin: 0 0 12px;
    line-height: 1.8;
    text-align: justify;
}

.evip-modal-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 16px 0 8px;
}

/* 富文本协议内容样式 */
.evip-modal-body.evip-rich-content p { margin: 0 0 12px; line-height: 1.8; text-align: justify; }
.evip-modal-body.evip-rich-content h1,
.evip-modal-body.evip-rich-content h2,
.evip-modal-body.evip-rich-content h3,
.evip-modal-body.evip-rich-content h4,
.evip-modal-body.evip-rich-content h5,
.evip-modal-body.evip-rich-content h6 { font-size: 14px; font-weight: 600; color: #1a1a1a; margin: 16px 0 8px; line-height: 1.5; }
.evip-modal-body.evip-rich-content h1 { font-size: 18px; }
.evip-modal-body.evip-rich-content h2 { font-size: 16px; }
.evip-modal-body.evip-rich-content strong { color: #1a1a1a; font-weight: 600; }
.evip-modal-body.evip-rich-content ul,
.evip-modal-body.evip-rich-content ol { margin: 0 0 12px; padding-left: 24px; }
.evip-modal-body.evip-rich-content li { margin: 4px 0; line-height: 1.8; }
.evip-modal-body.evip-rich-content a { color: #4ade80; text-decoration: none; }
.evip-modal-body.evip-rich-content a:hover { text-decoration: underline; }
.evip-modal-body.evip-rich-content blockquote { margin: 12px 0; padding: 8px 14px; border-left: 3px solid #4ade80; background: #f9f9f9; color: #666; }
.evip-modal-body.evip-rich-content img { max-width: 100%; height: auto; border-radius: 4px; }

.evip-modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.evip-modal-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}

.evip-modal-checkbox-wrap input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #4ade80;
    cursor: pointer;
}

.evip-modal-checkbox-wrap a {
    color: #4ade80;
}

.evip-modal-checkbox-wrap a:hover {
    text-decoration: none;
}

.evip-modal-agree {
    padding: 8px 28px;
    background: #4ade80;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.evip-modal-agree:hover {
    background: #22c55e;
}

/* 弹窗滚动条 */
.evip-modal-body::-webkit-scrollbar {
    width: 6px;
}

.evip-modal-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.evip-modal-body::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* ===== 客服弹窗 ===== */
.evip-cs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
}

.evip-cs-overlay.active {
    opacity: 1;
    visibility: visible;
}

.evip-cs-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 820px;
    max-width: 95vw;
    max-height: 85vh;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.evip-cs-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.evip-cs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #f7f8fa;
    border-bottom: 1px solid #eee;
}

.evip-cs-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.evip-cs-avatar {
    width: 32px;
    height: 32px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evip-cs-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.evip-cs-close {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.evip-cs-close:hover {
    background: #e74c3c;
    color: #fff;
}

.evip-cs-body {
    flex: 1;
    display: flex;
    min-height: 0;
    overflow: hidden;
}

.evip-cs-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #f0f0f0;
    min-width: 0;
}

.evip-cs-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #fafbfc;
}

.evip-cs-msg-system {
    text-align: center;
    margin-bottom: 12px;
}

.evip-cs-msg-system span {
    font-size: 12px;
    color: #bbb;
}

.evip-cs-msg-received {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.evip-cs-msg-avatar {
    width: 32px;
    height: 32px;
    background: #4ade80;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.evip-cs-msg-bubble {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 10px 14px;
    max-width: 320px;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
}

.evip-cs-msg-bubble p {
    margin: 0;
}

.evip-cs-msg-sent {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.evip-cs-msg-bubble-sent {
    background: #4ade80;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    max-width: 320px;
    font-size: 13px;
    line-height: 1.7;
}

.evip-cs-input-area {
    border-top: 1px solid #eee;
    background: #fff;
}

.evip-cs-input-bar {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.evip-cs-input-btn {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px;
    border: none;
    background: #f0f2f5 !important;
    border-radius: 6px;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s;
    color: #666 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.evip-cs-input-btn svg {
    display: block !important;
}

.evip-cs-input-btn:hover {
    background: #e0e4e8 !important;
    color: #333 !important;
}

.evip-cs-textarea-wrap {
    padding: 8px 12px 4px;
}

.evip-cs-textarea-wrap textarea {
    width: 100%;
    height: 80px;
    border: none;
    outline: none;
    resize: none;
    font-size: 13px;
    font-family: inherit;
    color: #333;
    line-height: 1.5;
    background: transparent;
}

.evip-cs-send-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px 10px;
}

.evip-cs-tip {
    font-size: 12px;
    color: #bbb;
}

.evip-cs-quick-btn {
    padding: 4px 10px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.evip-cs-quick-btn:hover {
    background: #e8f5e9;
    border-color: #4ade80;
    color: #4ade80;
}

.evip-cs-send-btn {
    padding: 6px 24px;
    background: #4ade80;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.evip-cs-send-btn:hover {
    background: #22c55e;
}

.evip-cs-right {
    width: 200px;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.evip-cs-promo {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.evip-cs-promo-title {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.evip-cs-promo-title span {
    font-size: 13px;
    color: #888;
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.evip-cs-promo-title span.active {
    color: #4ade80;
    border-bottom-color: #4ade80;
    font-weight: 500;
}

.evip-cs-promo-title span:hover {
    color: #4ade80;
}

.evip-cs-promo-panel {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.evip-cs-promo-panel.active {
    display: flex;
}

.evip-cs-promo-img {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.evip-cs-promo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

.evip-cs-promo-text {
    font-size: 14px;
    font-weight: 600;
    margin: 10px 0 0;
}

.evip-cs-promo-sub {
    font-size: 11px;
    opacity: 0.85;
    margin: 0;
    line-height: 1.5;
}

.evip-cs-promo-btn {
    margin-top: 6px;
    padding: 6px 28px;
    background: #fbbf24;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.evip-cs-promo-btn:hover {
    background: #f59e0b;
}

.evip-cs-promo-info {
    font-size: 12px;
    line-height: 1.8;
    color: #666;
    padding: 0 4px;
}

.evip-cs-promo-info p {
    margin: 0 0 4px;
}

.evip-cs-promo-info strong {
    color: #333;
}

/* 客服弹窗响应式 */
@media (max-width: 600px) {
    .evip-cs-popup {
        width: 95vw;
        max-height: 90vh;
    }
    
    .evip-cs-body {
        flex-direction: column;
    }
    
    .evip-cs-left {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .evip-cs-right {
        width: 100%;
    }
}

/* 客服消息滚动条 */
.evip-cs-messages::-webkit-scrollbar {
    width: 6px;
}

.evip-cs-messages::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.evip-cs-messages::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* 客服弹窗 - 文件消息 */
.evip-cs-msg-file .evip-cs-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f9f0;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 10px 14px;
    max-width: 280px;
    cursor: pointer;
    transition: background 0.2s;
}

.evip-cs-msg-file .evip-cs-file-item:hover {
    background: #e8f5e9;
}

.evip-cs-file-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evip-cs-file-icon svg {
    display: block;
}

.evip-cs-file-info {
    flex: 1;
    min-width: 0;
}

.evip-cs-file-name {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.evip-cs-file-size {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

/* 客服弹窗 - 图片消息 */
.evip-cs-msg-image .evip-cs-image-item {
    max-width: 240px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.evip-cs-msg-image .evip-cs-image-item img {
    display: block;
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 8px;
}

/* 截图激活状态 */
#evipCsScreenshotBtn.active {
    background: #4ade80 !important;
    color: #fff !important;
}

#evipCsScreenshotBtn.active svg {
    stroke: #fff;
}

/* 客服弹窗 - 表情面板 */
.evip-cs-emoji-panel {
    display: none;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.evip-cs-emoji-panel.active {
    display: block;
}

.evip-cs-emoji-tabs {
    display: flex;
    gap: 4px;
    padding: 8px 12px 4px;
    border-bottom: 1px solid #f5f5f5;
}

.evip-cs-emoji-tab {
    font-size: 20px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.2s;
    line-height: 1;
}

.evip-cs-emoji-tab:hover {
    background: #f0f2f5;
}

.evip-cs-emoji-tab.active {
    background: #e8f5e9;
}

.evip-cs-emoji-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    max-height: 180px;
    overflow-y: auto;
    padding: 8px 12px;
}

.evip-cs-emoji-item {
    font-size: 22px;
    text-align: center;
    cursor: pointer;
    padding: 4px 0;
    border-radius: 4px;
    transition: background 0.15s;
    line-height: 1.4;
}

.evip-cs-emoji-item:hover {
    background: #f0f2f5;
}

.evip-cs-emoji-grid::-webkit-scrollbar {
    width: 6px;
}

.evip-cs-emoji-grid::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

/* ===== 消息图标 ===== */
.evip-msg-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.evip-msg-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.evip-msg-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.evip-msg-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #ff4757;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0a0e1a;
}

/* ===== 消息弹窗 ===== */
.evip-nav-msg {
    position: relative;
    margin-left: 14px;
}

.evip-msg-dropdown {
    position: fixed;
    top: 66px;
    right: 354px;
    width: 305px;
    max-width: 305px;
    height: auto;
    max-height: 480px;
    background: #1e293b;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    z-index: 1100;
    display: none;
    flex-direction: column;
}

.evip-msg-dropdown.active {
    display: block;
}

.evip-msg-tabs {
    display: flex;
    padding: 12px 16px 0;
    border-bottom: 1px solid #334155;
}

.evip-msg-tab {
    position: relative;
    padding: 8px 0;
    margin-right: 24px;
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.evip-msg-tab.active {
    color: #fff;
}

.evip-msg-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
}

.evip-msg-count {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ff4757;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.evip-msg-list {
    flex: 1;
    overflow-y: auto;
}

.evip-msg-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 12px;
    position: relative;
}

.evip-msg-dot {
    position: absolute;
    left: 8px;
    top: 22px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
}

.evip-msg-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.evip-msg-icon-wrap svg {
    width: 18px;
    height: 18px;
    color: #60a5fa;
}

.evip-msg-content {
    flex: 1;
    min-width: 0;
}

.evip-msg-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.evip-msg-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.evip-msg-time {
    font-size: 12px;
    color: #64748b;
}

.evip-msg-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.evip-msg-footer {
    padding: 12px 16px;
    border-top: 1px solid #334155;
    text-align: center;
}

.evip-msg-footer a {
    font-size: 13px;
    color: #60a5fa;
    text-decoration: none;
}

.evip-msg-footer a:hover {
    color: #93c5fd;
}

/* ===== 用户下拉菜单 ===== */
.evip-user-menu {
    position: relative;
}

.evip-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: transform 0.2s;
}

.evip-user-btn:hover {
    transform: scale(1.05);
}

.evip-user-btn img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.evip-user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 1100;
    display: none;
}

.evip-user-dropdown.active {
    display: block;
}

.evip-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.evip-user-avatar-lg img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.evip-user-info h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.evip-user-level {
    font-size: 11px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
}

.evip-user-stats {
    display: flex;
    padding: 14px 16px;
    gap: 20px;
}

.evip-stat-item {
    flex: 1;
    text-align: center;
}

.evip-stat-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.evip-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #030ffc;
}

.evip-user-vip {
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #fef3c7;
}

.evip-user-vip p {
    margin: 0;
    font-size: 13px;
    color: #92400e;
    white-space: nowrap;
}

.evip-btn-vip {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.evip-user-buttons {
    display: flex;
    padding: 12px 16px;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
}

.evip-btn-user,
.evip-btn-shop {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.evip-btn-user {
    background: #f1f5f9;
    color: #475569;
}

.evip-btn-shop {
    background: #030ffc;
    color: #fff;
}

.evip-btn-admin {
    display: block;
    text-align: center;
    padding: 10px 15px;
    background: #1e293b;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin: 0 16px;
    border-radius: 8px;
}

.evip-user-footer {
    display: flex;
    padding: 10px 16px;
    gap: 16px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    justify-content: center;
}

.evip-user-footer a {
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
}

.evip-user-footer a:hover {
    color: #030ffc;
}

/* ===== 支付成功提示 Toast ===== */
.evip-pay-toast-mask {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: evip-toast-fadein 0.22s ease;
}
.evip-pay-toast-mask.evip-show { display: flex; }
@keyframes evip-toast-fadein { from { opacity: 0 } to { opacity: 1 } }

.evip-pay-toast {
    width: 360px;
    max-width: calc(100vw - 40px);
    background: linear-gradient(180deg, #0f172a, #111827);
    border: 1px solid rgba(74, 222, 128, 0.22);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.22), 0 0 0 1px rgba(74,222,128,.06) inset;
    padding: 30px 26px 24px;
    text-align: center;
    position: relative;
    transform: translateY(12px) scale(0.97);
    animation: evip-toast-pop 0.32s cubic-bezier(.18,.86,.32,1.1) forwards;
}
@keyframes evip-toast-pop {
    to { transform: translateY(0) scale(1); }
}
.evip-pay-toast-icon {
    width: 68px; height: 68px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ade80 0%, #10b981 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
}
.evip-pay-toast-icon svg {
    width: 34px; height: 34px;
    stroke: #fff; stroke-width: 3.2;
    stroke-linecap: round; stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: evip-toast-check 0.45s 0.1s cubic-bezier(.5,.2,.2,1.1) forwards;
}
@keyframes evip-toast-check { to { stroke-dashoffset: 0 } }

.evip-pay-toast-title {
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 6px;
    letter-spacing: 0.3px;
}
.evip-pay-toast-sub {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 18px;
    line-height: 1.7;
}
.evip-pay-toast-order {
    font-size: 12px;
    color: rgba(148,163,184,0.8);
    font-family: Menlo, Consolas, monospace;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148,163,184,0.12);
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 18px;
}
.evip-pay-toast-actions {
    display: flex; gap: 10px;
}
.evip-pay-toast-btn {
    flex: 1;
    height: 40px;
    line-height: 40px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.18s;
    text-decoration: none;
}
.evip-pay-toast-btn.evip-btn-primary {
    background: linear-gradient(135deg, #4ade80, #10b981);
    color: #fff;
    box-shadow: 0 6px 16px rgba(16,185,129,.32);
}
.evip-pay-toast-btn.evip-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(16,185,129,.42);
}
.evip-pay-toast-btn.evip-btn-ghost {
    background: rgba(148, 163, 184, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(148,163,184,0.2);
}
.evip-pay-toast-btn.evip-btn-ghost:hover {
    background: rgba(148, 163, 184, 0.14);
    color: #fff;
}
.evip-pay-toast-countdown {
    margin-top: 12px;
    font-size: 11px;
    color: rgba(148,163,184,0.75);
}