﻿/* 颜色定义 */
:root {
    --background-body: #F7F4F9;
    --background-light: #FFFFFF;
    --background-dark: #141417;
    --background-option: #F1ECF5;
    --text-primary: #2D1B4A;
    --text-secondary: #5A4A7A;
    --text-dark-primary: #E8E4EC;
    --text-dark-secondary: #D8D0E0;
    --nav-text-primary: #3E1F66;
    --primary-color: #D81B60;
    --primary-hover: #B0154E;
    --accent-color: #8E24AA;
    --accent-lighter: #CE93D8;
    --accent-deep-purple: #4A148C;
    --accent-bg-hover: rgba(142, 36, 170, 0.05);
    --button-default-bg: url('button-default-bg.svg') no-repeat center / 100% 100%;
    --button-hover-bg: url('button-hover-bg.svg') no-repeat center / 100% 100%;
    --price-tag-orange-balanced: url('price-tag-orange-balanced.svg') no-repeat center / 100% 100%;
    --points-color: #FF8C00;
    --button-text: #FFFFFF;
    --border-color: rgba(142, 36, 170, 0.2);
    --border-color-strong: rgba(142, 36, 170, 0.4);
    --border-color-light: rgba(142, 36, 170, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    --subtle-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
    --warning-color: #F5A33F;
    --gradient-neon: linear-gradient(to right, #D81B60, #8E24AA);
    --pagination-bg: var(--background-light);
    --pagination-text: var(--text-primary);
    --usermenu-hover-bg-balanced: url('usermenu-hover-bg-balanced.svg') no-repeat center / 100% 100%;
}

body.night {
    --background-body: #141417;
    --background-light: #17171D;
    --background-option: #17171D;
    --text-primary: #E8E4EC;
    --text-secondary: #D8D0E0;
    --border-color-strong: rgba(142, 36, 170, 0.3);
    --shadow: 0 4px 6px rgba(142, 36, 170, 0.1);
    --subtle-shadow: 0 2px 3px rgba(142, 36, 170, 0.05);
    --pagination-bg: #1E1E24;
    --pagination-text: var(--text-secondary);
}

/* 全局基础字体及语言字体分组控制 */
html[lang="en"] body,
html[lang="en"] h1, h2, h3, h4, h5, h6,
html[lang="en"] .vip-page-title,
html[lang="en"] .vip-card-title,
html[lang="en"] .vip-upgrade-title,
html[lang="en"] .vip-feature h3,
html[lang="en"] #trp_ald_modal_popup {
    font-family: 'Pretendard', 'Noto Sans', sans-serif;
}

html[lang="ko"] body,
html[lang="ko"] h1, h2, h3, h4, h5, h6,
html[lang="ko"] .vip-page-title,
html[lang="ko"] .vip-card-title,
html[lang="ko"] .vip-upgrade-title,
html[lang="ko"] .vip-feature h3,
html[lang="ko"] #trp_ald_modal_popup {
    font-family: 'Pretendard', 'Noto Serif KR', serif;
}

html[lang="zh"],
html[lang="zh-CN"] body,
html[lang="zh"],
html[lang="zh-CN"] h1, h2, h3, h4, h5, h6,
html[lang="zh"],
html[lang="zh-CN"] .vip-page-title,
html[lang="zh"],
html[lang="zh-CN"] .vip-card-title,
html[lang="zh"],
html[lang="zh-CN"] .vip-upgrade-title,
html[lang="zh"],
html[lang="zh-CN"] .vip-feature h3,
html[lang="zh"],
html[lang="zh-CN"] #trp_ald_modal_popup {
    font-family: 'Pretendard', 'Noto Serif SC', serif;
}

html[lang="zh-TW"] body,
html[lang="zh-TW"] h1, h2, h3, h4, h5, h6,
html[lang="zh-TW"] .vip-page-title,
html[lang="zh-TW"] .vip-card-title,
html[lang="zh-TW"] .vip-upgrade-title,
html[lang="zh-TW"] .vip-feature h3,
html[lang="zh-TW"] #trp_ald_modal_popup {
    font-family: 'Pretendard', 'Noto Serif TC', serif;
}

/* 默认字体回退 */
body {
    background: var(--background-body);
    font-family: 'Pretendard', 'Noto Sans SC', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, "Open Sans", sans-serif;
}

/* 图标字体 */
i[class*="icon"]:not([class*="iconfont"]) {
    font-family: 'icont';
}

i[class*="iconfont"] {
    font-family: 'iconfont';
}

i[class^="ri-"], i[class*=" ri-"] {visibility:hidden;}
html.fonts-loaded i[class^="ri-"], html.fonts-loaded i[class*=" ri-"] {visibility:visible;}


/* 主导航 & 下划线动画 */
header.header {
    background: var(--background-body);
    box-shadow: var(--shadow);
}

.nav-main>li>a,
.nav-main .sub-menu>li>a {
    font-size: 16px;
    font-weight: 600;
    color: var(--nav-text-primary);
    position: relative;
    text-decoration: none;
}

.nav-main>li>a {
    padding: 0 14px;
    line-height: 70px;
}

.nav-main .sub-menu>li>a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 12px;
    white-space: nowrap;
}

.nav-main>li>a::after,
.nav-main .sub-menu>li>a::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

.nav-main>li:hover>a,
.nav-main>li.current-menu-item>a {
    color: var(--accent-color);
    transform: scale(1.05);
}

.nav-main>li:hover>a::after,
.nav-main>li.current-menu-item>a::after {
    width: 50%;
}

.nav-main .sub-menu>li:hover>a,
.nav-main .sub-menu>li.current-menu-item>a {
    color: var(--accent-color);
    transform: scale(1.03);
}

.nav-main .sub-menu>li:hover>a::after,
.nav-main .sub-menu>li.current-menu-item>a::after {
    width: 50%;
}

body.night .nav-main>li>a,
body.night .nav-main .sub-menu>li>a {
    color: var(--text-dark-primary);
}

.nav-main>li>a {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.nav-main .sub-menu {
    background: var(--background-body);
}

/* 登录/注册按钮样式优化 */
header.header .nav-right .signin-loader,
header.header .nav-right .signup-loader {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: var(--button-default-bg);
    color: var(--button-text);
    border: 1px solid transparent;
    border-radius: 6px; 
    padding: 6px 16px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

header.header .nav-right .signin-loader::after,
header.header .nav-right .signup-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--button-hover-bg);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

header.header .nav-right .signin-loader:hover,
header.header .nav-right .signup-loader:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    color: var(--button-text) !important;
}

header.header .nav-right .signin-loader:hover::after,
header.header .nav-right .signup-loader:hover::after {
    opacity: 1;
}

header.header .nav-right .signin-loader span,
header.header .nav-right .signin-loader i,
header.header .nav-right .signup-loader span,
header.header .nav-right .signup-loader i {
    position: relative;
    z-index: 2;
}

header.header .nav-right .signin-loader a,
header.header .nav-right .signup-loader a {
    color: inherit;
    text-decoration: none;
}

/* 导航栏右部 - 强制对齐并优化间距 */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px; 
    height: 70px;
    font-size: 15px;
    margin-top: 0;
    padding-right: 2px; 
}

/* 语言切换器样式 - 增加宽度并对齐 */
.nav-right .nav-lang {
    position: relative;
    margin: 0 8px;
    display: flex;
    align-items: center;
    height: 70px;
}

.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.lang-button {
    width: 70px; /* 增加宽度，提供留白 */
    color: var(--nav-text-primary);
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.lang-button i {
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.lang-button:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.lang-button.active i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 70px; /* 与 .lang-button 一致 */
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.lang-switcher:hover .lang-dropdown,
.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
}

.lang-dropdown a:hover {
    color: var(--accent-color);
    background: var(--accent-bg-hover);
}



/* 侧边栏组件 */
.sidebar .widget {
    background: var(--background-light);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
}

.sidebar .widget:hover {
    box-shadow: var(--shadow);
}

.sidebar .widget h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    padding-left: 10px;
    padding-bottom: 6px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--accent-color);
}

body.night .sidebar .widget h3 {
    color: var(--text-dark-secondary);
}

/* 推荐/下载排行榜 */
.widget-toplist ul li {
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.widget-toplist ul li h4 {
    margin: 0;
    font-size: 14px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-secondary);
}

body.night .widget-toplist ul li h4 {
    color: var(--text-dark-secondary);
}

.widget-toplist ul li a {
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease, background 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.night .widget-toplist ul li a {
    color: var(--text-dark-secondary);
}

.widget-toplist ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.widget-toplist ul li a:hover {
    color: var(--nav-text-primary);
    background: var(--button-hover-bg) no-repeat center / 100% 100%;
}

.widget-toplist ul li a:hover::after {
    width: 100%;
}

/* 排行榜 Tab */
.posttoptab {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0 15px;
}

.posttoptab a {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 6px 0;
    border-radius: 6px;
    background: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, background 0.3s ease;
}

body.night .posttoptab a {
    color: var(--text-dark-secondary);
}

.posttoptab a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.posttoptab a:hover,
.posttoptab a.active {
    background: var(--button-default-bg) no-repeat center / 100% 100%;
    color: var(--nav-text-primary);
    transform: scale(1.05);
}

.posttoptab a:hover::after,
.posttoptab a.active::after {
    width: 100%;
}

/* 确保父元素不限制高度 */
.posts.grids .post .grid-meta .price {
    line-height: normal;
    height: auto;
}

/* 价格角标（低调） */
.posts.grids .post .grid-meta .price .fee {
    display: inline-flex;
    align-items: center;
    background: var(--price-tag-orange-balanced);
    color: var(--button-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    padding: 3px 5px;
    border-radius: 3px;
    box-shadow: var(--subtle-shadow);
    line-height: 1;
    min-height: 18px;
    white-space: nowrap;
    position: relative;
}

body.night .posts.grids .post .grid-meta .price .fee {
    background: var(--price-tag-orange-balanced);
    color: var(--button-text);
}

.posts.grids .post .grid-meta .price .fee span {
    color: var(--button-text);
}

body.night .posts.grids .post .grid-meta .price .fee span {
    color: var(--button-text);
}

.posts.grids .post .grid-meta .price .fee .iconfont.icon-P {
    font-size: 12px;
    margin-left: 3px;
    vertical-align: middle;
    position: relative;
    color: var(--button-text);
}

body.night .posts.grids .post .grid-meta .price .fee .iconfont.icon-P {
    color: var(--button-text);
}

/* VIP页面整体样式 */
body.page-template-vip {
    background: var(--background-body);
    color: var(--text-primary);
    min-height: 100vh;
    font-family: 'Pretendard', sans-serif;
}

/* 页面容器 */
.vip-page-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4em 2em;
    background: var(--background-light);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* 标题样式 */
.vip-page-title {
    text-align: center;
    font-size: 3.5em;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5em;
    animation: fadeIn 1s ease-in;
}

/* 简介文字 */
.vip-page-intro {
    text-align: center;
    font-size: 1.3em;
    line-height: 1.7;
    margin-bottom: 3em;
    color: var(--text-secondary);
}

body.night .vip-page-intro {
    color: var(--text-dark-secondary);
}

/* VIP卡片样式 */
.vip-card {
    position: relative;
    background: var(--background-dark);
    color: var(--text-dark-primary);
    border-radius: 16px;
    border: 2px solid var(--border-color-strong);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 3em;
    text-align: center;
    margin-bottom: 4em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideUp 0.8s ease-out;
}

.vip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* VIP卡片标题 */
.vip-card-title {
    font-size: 2.2em;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.2em;
    vertical-align: middle;
}

/* VIP卡片图标 */
.vip-card-header .icon {
    font-size: 2.5em;
    color: var(--warning-color);
    vertical-align: middle;
}

/* VIP卡片描述 */
.vip-card-description {
    font-size: 1.3em;
    margin: 0.5em 0 1em;
    color: var(--text-dark-secondary);
}

/* VIP卡片价格 */
.vip-card-price {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 1em;
    color: var(--text-dark-primary);
}

.vip-card-price small {
    font-size: 0.5em;
    color: var(--text-dark-secondary);
}

/* 推荐标签 */
.vip-card .vip-recommend {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-color);
    color: var(--button-text);
    padding: 0.6em 1.2em;
    font-size: 1em;
    border-radius: 0 0 12px 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* 提示信息 */
.vip-tip {
    font-size: 1.1em;
    margin-bottom: 1.5em;
    color: var(--text-dark-secondary);
}

.vip-tip a {
    color: var(--accent-lighter);
    text-decoration: underline;
}

/* 开通按钮 */
.btn-vip-action {
    display: inline-block;
    background: var(--gradient-neon);
    color: var(--button-text);
    font-weight: bold;
    font-size: 1.2em;
    padding: 1em 2.5em;
    border-radius: 8px;
    border: 1px solid var(--border-color-strong);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

.btn-vip-action:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 升级方式区域 */
.vip-upgrade-method {
    background: var(--border-color);
    border-radius: 12px;
    padding: 2.5em;
    margin: 4em 0;
}

.vip-upgrade-method .vip-upgrade-title {
    font-size: 1.6em;
    font-family: 'Playfair Display', serif;
    color: var(--warning-color);
    margin-bottom: 0.5em;
}

.vip-upgrade-method p {
    line-height: 1.8;
    color: var(--text-secondary);
}

body.night .vip-upgrade-method p {
    color: var(--text-dark-secondary);
}

/* 特权描述区域 */
.vip-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5em;
    margin-top: 4em;
}

@media (max-width: 768px) {
    .vip-features {
        grid-template-columns: 1fr;
    }
}

.vip-feature {
    border: 1px solid var(--border-color-strong);
    background: transparent;
    padding: 2em;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.vip-feature:hover {
    background: var(--accent-bg-hover);
}

.vip-feature h3 {
    font-size: 1.3em;
    font-family: 'Playfair Display', serif;
    color: var(--warning-color);
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
}

.vip-feature h3 .icon {
    font-size: 1.5em;
    margin-right: 0.5em;
    color: var(--warning-color);
}

.vip-feature p {
    line-height: 1.8;
    color: var(--text-primary);
}

body.night .vip-feature p {
    color: var(--text-dark-primary);
}

/* 装饰性分隔线 */
.decorative-divider {
    border: 0;
    height: 1px;
    background: var(--gradient-neon);
    margin: 3em 0;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(216, 27, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0); }
}


/* SVIP会员卡片样式（封版：皇冠贴顶 + 动画 + 装饰线下移） */
.vip-item.item-3 {
    position: relative;
    background: var(--background-dark);
    color: var(--text-dark-primary);
    border-radius: 16px;
    border: 2px solid var(--border-color-strong);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 4.8em 2em 2.8em;
    text-align: center;
    margin-bottom: 4em;
    max-width: 360px;
    min-width: 320px;
    max-height: 640px;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideUp 0.8s ease-out;
}

.vip-item.item-3:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* 皇冠贴顶 + 动画 */
.vip-item.item-3 .vip-card-header {
    position: absolute;
    top: 0.8em;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatCrown 2.8s ease-in-out infinite;
    z-index: 2;
}

.vip-item.item-3 .vip-card-header i {
    font-size: 3.2em;
    color: var(--warning-color);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* 装饰线下移以拉开呼吸感 */
.vip-item.item-3 .decorative-divider {
    border: 0;
    height: 1px;
    background: var(--gradient-neon);
    margin: 1.6em 0 1.6em;
}

/* 支付内容 */
.vip-item .cost-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin: 0.5em 0;
    color: var(--text-dark-primary);
    font-weight: 500;
}

.cost-info .icon {
    font-size: 1.2em;
    margin-right: 0.4em;
}
.cost-info .icon.icon-lock       { color: #BDBDBD; }
.cost-info .icon.icon-wallet     { color: #FFA000; }
.cost-info .icon.icon-source-vip { color: #FFC107; }

/* 实际支付强调 */
.vip-item .cost-info .net-cost {
    margin-top: 1.2em;
    font-size: 1.4em;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 0.03em;
    justify-content: center;
}

.vip-item .cost-info .net-cost .net-value {
    margin-left: 0.4em;
    color: var(--primary-color);
    font-weight: 900;
}

.vip-item .cost-info .net-cost small {
    font-weight: 500;
    font-size: 0.9em;
    margin-left: 4px;
    color: var(--text-dark-secondary);
}

/* 权益列表 */
.vip-item .vip-benefits {
    list-style: none;
    padding: 0;
    margin: 2em 0 1em;
    text-align: left;
}
.vip-item .vip-benefits li {
    font-size: 1em;
    color: var(--text-dark-primary);
    margin-bottom: 0.6em;
    display: flex;
    align-items: center;
    padding-left: 1.2em;
    position: relative;
    transition: transform 0.3s ease;
}
.vip-item .vip-benefits li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 0.9em;
    line-height: 1;
    transform: translateY(1px);
}
.vip-item .vip-benefits li:hover {
    transform: translateX(6px);
}

/* 时长 + 补差价 */
.vip-item .border-decor {
    font-size: 1em;
    color: var(--text-dark-secondary);
    margin: 1.5em 0 1.2em;
}
.vip-item .border-decor span {
    background: var(--accent-bg-hover);
    padding: 0.3em 0.6em;
    border-radius: 6px;
    box-shadow: var(--subtle-shadow);
}
.vip-item .buca {
    font-size: 0.9em;
    color: var(--gradient-neon);
    margin-left: 1em;
}

/* 升级按钮样式 */
.vip-item.item-3 a.btn.btn-vip-action {
    display: inline-block;
    background: var(--gradient-neon) !important;
    color: var(--button-text) !important;
    font-size: 1.05em;
    font-weight: bold;
    padding: 0.7em 2em;
    border-radius: 10px;
    border: 1px solid transparent;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.35);
    transition: all 0.3s ease;
    animation: pulse 3s infinite;
}
.vip-item.item-3 a.btn.btn-vip-action:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(216, 27, 96, 0.5);
}

/* 动画定义 */
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0.4); }
    70%  { box-shadow: 0 0 0 10px rgba(216, 27, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 27, 96, 0); }
}
@keyframes floatCrown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* 移动端适配 */
@media (max-width: 480px) {
  .vip-item.item-3 {
    max-height: none !important;
    padding: 2.8em 1.2em 2.2em !important;
    animation: none !important;
  }

  .vip-item.item-3 .border-decor {
    margin-bottom: 1.8em !important;
  }

  .vip-item.item-3 .vip-card-header {
    animation: none !important;
    top: 0.6em;
  }

  .vip-item.item-3 .vip-card-header i {
    font-size: 2.4em !important;
    margin-top: -0.2em;
  }

  .vip-item.item-3 a.btn.btn-vip-action {
    font-size: 1em !important;
    padding: 0.6em 1.4em !important;
  }
}
/* 下载须知强调色（白天主色、夜间正文主色） */
:root {
    --highlight-emphasis: var(--primary-color);
}

body.night {
    --highlight-emphasis: var(--text-dark-primary);
}

.highlight-em {
    color: var(--highlight-emphasis);
    font-weight: 600;
}


/* 夜间模式按钮 - 桌面端 */
.nav-right .theme_night {
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-right .theme_night i {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 24px;
    color: var(--nav-text-primary);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backface-visibility: hidden;
}

.nav-right .theme_night .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.nav-right .theme_night .ri-sun-fill {
    opacity: 0;
    transform: scale(0.7) rotate(-90deg);
}

.nav-right .theme_night.active .icon-moon {
    opacity: 0;
    transform: scale(0.7) rotate(90deg);
}

.nav-right .theme_night.active .ri-sun-fill {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

body.night .nav-right .theme_night i {
    color: var(--text-dark-primary);
}

/* 移动端对齐 - 最终修正 */
@media (max-width: 768px) {
    .nav-left {
        display: flex !important;
        align-items: center !important;
    }

    .nav-left .theme_night {
        position: relative;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .nav-left .theme_night i {
        position: absolute;
        top: 50%;
        left: 50%;
        font-size: 18px;
        color: var(--nav-text-primary);
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease, transform 0.3s ease;
        backface-visibility: hidden;
    }

    .nav-left .theme_night .icon-moon {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }

    .nav-left .theme_night .ri-sun-fill {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7) rotate(-90deg);
    }

    .nav-left .theme_night.active .icon-moon {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7) rotate(90deg);
    }

    .nav-left .theme_night.active .ri-sun-fill {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }

    body.night .nav-left .theme_night i {
        color: var(--text-dark-primary);
    }

    .nav-right .nav-night {
        display: none !important;
    }
}

body.night .nav-lang .lang-button,
body.night .nav-lang .lang-dropdown,
body.night .nav-lang .lang-dropdown a {
    color: var(--text-dark-primary);
    border-color: var(--border-color-strong);
    background: var(--background-dark);
}

body.night .nav-lang .lang-dropdown {
    box-shadow: none;
}

.main{padding-top: 30px !important;}
.container-user-warning{max-width:1200px !important;}
.warning{background: #fff3e9;padding: 15px 20px;border-radius: var(--theme-radius);color: #f58b36;margin-bottom: 20px;}
.btn{border-radius:5px;}
.btn-primary{color:#fff;background-color:var(--theme-color);border-color:var(--theme-color)}
.left{float: left;}
.form-control{display:block;width:100%;height:38px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ddd;}
.table{width:100%;max-width:100%;margin-bottom:20px}
.table > thead > tr > th,.table > tbody > tr > th,.table > tfoot > tr > th,.table > thead > tr > td,.table > tbody > tr > td,.table > tfoot > tr > td{padding:12px 8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd;text-align:center}
.table > thead > tr > th{vertical-align:bottom;border-bottom:2px solid #ddd}
.table > caption + thead > tr:first-child > th,.table > colgroup + thead > tr:first-child > th,.table > thead:first-child > tr:first-child > th,.table > caption + thead > tr:first-child > td,.table > colgroup + thead > tr:first-child > td,.table > thead:first-child > tr:first-child > td{border-top:0}
.table-striped > tbody > tr:nth-child(odd) > td,.table-striped > tbody > tr:nth-child(odd) > th{background-color:#f9f9f9}
.container-user{position:relative;padding-left:200px !important;padding-right:0 !important;background-color:#fff;margin-bottom:30px;box-shadow:0 0 3px rgba(0,0,0,0.04);max-width:1200px !important;border-radius: var(--theme-radius);overflow: hidden;}
.container-user .content{margin-right:0;padding:30px 30px 70px;margin-bottom:0;width:100%;border-right:none;float:none}
.usertitle{margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #eaeaea;overflow:hidden;text-align:center}
.usertitle h2{font-size:17px;margin:0 0 10px;line-height:20px;position:relative;text-align:center;overflow:hidden;font-weight: normal;}
.usertitle span{font-size:12px;color:var(--theme-color)}
.usertitle .edit-avatar{position: relative;display: inline-block;margin-bottom:10px}
.usertitle .edit-avatar:after{content:"\e7c7";position: absolute;bottom:1px;right:-1px;font-family:"iconfont-modown" !important;font-size:20px;color:#777;height: 20px}
.usertitle .avatar{border-radius:50%;border:1px solid #e6e6e6;width:50px;}
.mobantu-check p{font-size: 11px;color:#777;margin-top: 3px;}
.userside{float:left;margin-left:-200px;width:200px;background-color:#fbfbfb;padding:20px;height: 100%;position: absolute;}
.usermenu{list-style:none;margin:0 0 15px;padding:0}
.usermenu li{margin-bottom:1px}
.usermenu li a{display:block;padding:5px 20px;font-size:16px;color:#888;border-radius:3px}
.usermenu li a:hover{color:#666}
.usermenu li.active a{color:#666;background-color:#eee;position:relative;text-decoration:none}
.usermenu li.active i{color:var(--theme-color);}
.usermenu li:last-child a{border-bottom:none}
.usermenu li .icon{font-size:18px}
.usermenu h4{margin:0}
.usermenu h4 a{color:#666;background-color:#F7F9FA;padding-top:15px;cursor:default;border-bottom-color:#e6e6e6}
.usercheck{background: var(--theme-color);color: #fff !important;border-radius: 15px;padding: 3px 12px;font-size: 12px;display: inline-block;width: 76px;text-align: center;}
.usercheck.active{background: #aaa !important}
.user-main{position:relative;min-height:650px}
.btn.btn-primary.disabled{border:1px solid #aaa;background:#aaa;cursor:auto}
.user-commentlist{list-style:none;margin:0;padding:0;font-size:14px}
.user-commentlist li{border-bottom:1px solid #f2f2f2;padding:15px 0;overflow:hidden;padding-left:140px}
.user-commentlist .note{font-size:14px;color:#666;margin-bottom:10px}
.user-commentlist p{font-size:12px;margin-bottom:0}
.user-commentlist time{font-size:12px;color:#999;float:left;margin-left:-140px;margin-top:2px}
.user-postlist{list-style: none;margin: 0;padding: 0;font-size: 12px;}
.user-postlist h2{font-size: 18px;font-weight: normal;margin: 0;line-height: 20px;margin-right: 10px;}
.user-postlist li{border-bottom: 1px solid #f2f2f2;padding: 20px 0;overflow: hidden}
.user-postlist p{margin-bottom: 0;padding-top: 10px;}
.user-postlist .note{color: #bbb;height: 70px;overflow: hidden;	}
.user-postlist .thumb{float:right;margin-left:20px;width:160px;height:120px}
.user-postnav{font-size: 13px;margin-bottom: 15px;}
.user-postnav a{margin-right: 15px;}
.user-postnav a.active{color: var(--theme-color);}
.user-gridlist{margin: 0 -7.5px;}
.user-gridlist .item{float: left;width: calc(25% - 15px);margin: 0 7.5px 15px;position: relative;}
.user-gridlist .item img{width: 100%;height: 138px;border-radius: var(--theme-radius);object-fit: cover;}
.user-gridlist.waterfall .item img{height: auto;}
.user-gridlist .item h4{margin-top: 5px;font-weight: normal;font-size: 15px;line-height: 20px;overflow: hidden;-o-text-overflow: ellipsis;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;height: 20px;}
.user-gridlist .item time, .user-gridlist .item p a{color: #bbb;font-size: 12px;}
.user-gridlist .item .edit{font-size: 12px;margin-left: 10px;}
.user-loading{text-align:center;padding:200px 0;color:#999;font-size:16px}
.user-loading i{font-size:20px}
.content{overflow:hidden}
.charge .charge-header{margin: 0 auto 60px;text-align: center;padding:10px 0;}
.charge .charge-header .item{float: left;width: 32%;text-align: left;border:1px solid #ddd;border-radius: 5px;padding:20px;margin-left: 2%;position: relative;}
.charge .charge-header .item:first-child{margin-left: 0;}
.charge .charge-header .item b{font-size: 26px;}
.charge .charge-header .item b.color, .charge .charge-header .item a{color: var(--theme-color);}
.charge .charge-header .item p{font-size: 14px;margin-top: 12px;color:#777;}
.charge .charge-header .item .tips{position:absolute;top:0;right: 10px;font-size: 12px;color: #999;background: #f5f5f5;border-radius: 0 0 2px 2px;padding:2px 8px;}
.charge .charge-header h1{font-size: 46px;color:var(--theme-color);}
.charge .charge-header h1 span{display: inline-block;background: var(--theme-color);border-radius: 50%;font-size: 18px;width:30px;text-align: center;height: 30px;line-height: 30px;color:#fff;font-weight: normal;position: relative;top:-8px;margin-right: 8px;}
.charge .charge-header .desc{text-align: center;color: #999;position: relative;margin-top: -10px;margin-bottom: 20px;}
.charge .charge-header h3{color: #555;font-size: 20px;font-weight: normal;}
.charge .charge-header h3 .icon-copy, .charge .charge-header h3 .icon-cover{font-size: 20px}
.charge .charge-header #aff-qrcode{display: none;}
.charge .tips{clear:both;overflow:hidden;font-size:14px;color:#999;padding-top:50px;margin-left:15px;margin-bottom:50px;padding-left:18px;list-style:circle}
.charge .tips li{list-style:circle}
.charge h4{font-size:15px;color:#bbb;padding-top:10px;clear:both;margin-left:15px}
.charge h4.error{color:#FF766C}
.charge h4.success{color:#44B60C}
#charge-form, #charge-form2{max-width:560px;margin:0 auto;position: relative;}
#charge-form2{margin-top: 40px;}
#charge-form h3, #charge-form2 h3, .form-title{font-size: 18px;margin-bottom: 15px;font-weight: normal;text-align: center;color:#888;}
#charge-form .item .prices{margin-bottom: 15px;border-radius: 3px;border:1px solid #d8d8d8;}
#charge-form .item .prices input[type='radio']{-webkit-appearance:none;display: none;}
#charge-form .item .prices label{display:inline-block;padding:12px 10px;color:#666;cursor:pointer;width: 16.6667%;text-align: center;position: relative;border-right:1px solid #d8d8d8;}
#charge-form .item .prices label:last-child{border:none;}
#charge-form .item .prices label.active{background: #eee}
#charge-form .form-control, #charge-form2 .form-control{display:inline-block;max-width:380px;border-radius:5px;}
#charge-form .input-recharge, #charge-form2 .input-recharge{max-width:100%;width: 100%;padding: 14px 14px;border-radius: 5px;height: 51px;font-size: 16px;margin-bottom: 15px;}
#charge-form .btn-recharge, #charge-form2 .btn-card{width: 100%;padding: 14px 12px;border-radius:5px;font-size: 18px;}
#charge-form .rmb{position: absolute;right: 1px;top:1px;height: 49px;width: 60px;line-height:49px;font-size: 18px;text-align: center;background: #f5f5f5;color:#737373;border-radius: 0 5px 5px 0;}
#charge-form2 .btn-card{background-color: #555 !important}
#charge-form .item p, #charge-form2 .item p{color: #777;font-size: 14px;margin-top: 5px;margin-bottom: 30px;}
#charge-form .payment-radios{text-align: center;margin-top: 10px;}
#charge-form .payment-radios .paytype{display: none;}
#charge-form .payment-radios .icon{top:3.5px;font-size:28px;}
#charge-form .payment-radios label{margin: 0 5px;cursor: pointer;display: inline-block;line-height: 1;width:44px;height: 44px;border:2px solid #eaeaea;border-radius:50%;text-align: center;padding:2px;}
#charge-form .payment-radios .payment-alipay-label .icon{color:#00a3ee;}
#charge-form .payment-radios .payment-wxpay-label .icon{color:#00c250;}
#charge-form .payment-radios .payment-qqpay-label .icon{color:#0BB2FF;}
#charge-form .payment-radios .payment-paypal-label .icon{color:#0070ba;}
#charge-form .payment-radios .payment-stripe-label .icon{color:#635bff;}
#charge-form .payment-radios .payment-ut-label .icon{color:#0e932e;}
#charge-form .payment-radios .paytype:checked + label{border:2px solid var(--theme-color);}
#charge-form .payment-radios .paytype:checked + .payment-alipay-label{border:2px solid #00a3ee;}
#charge-form .payment-radios .paytype:checked + .payment-wxpay-label{border:2px solid #00c250;}
#charge-form .payment-radios .paytype:checked + .payment-qqpay-label{border:2px solid #0BB2FF;}
#charge-form .payment-radios .paytype:checked + .payment-paypal-label{border:2px solid #0070ba;}
#charge-form .payment-radios .paytype:checked + .payment-stripe-label{border:2px solid #635bff;}
#charge-form .payment-radios .paytype:checked + .payment-ut-label{border:2px solid #0e932e;}
#charge-form .payment-radios label:last-child{margin-right: 0}
.charge-gift{font-size:14px;color:#777;max-width: 560px;margin:20px auto;background: #f5f5f5;padding:10px 15px;border-radius: 0 5px 0 5px;}
.charge-gift:empty{display: none;}
.charge-gift .item span{display: inline-block;min-width: 40px;text-align: center;font-size: 18px;}
.charge-tips{font-size:14px;color:#777;max-width: 560px;margin:20px auto;}
.charge-tips .btn{padding: 8px 16px;font-size: 13px;line-height: 1;display: inline-block;color: #fff}
.vip-tips{text-align: center;}
.vip-desc-table th, .vip-desc-table td {padding: 2px 5px;}
.user-meta{list-style:none;line-height:32px;color:#999}
.user-meta li{padding-left:120px;margin-bottom:15px}
.user-meta label{float:left;margin-left:-120px;width:110px;text-align:right;line-height:34px;color:#666}
.user-meta .form-control{border-radius:0;max-width:380px;padding:0 10px;border-radius:5px;}
.user-meta .beautyupload{background:none repeat scroll 0 0 #F3F3F3;display:inline-block;position:relative;cursor:pointer}
.user-meta .beautyupload .form-control{width:100px}
.user-meta .uploadinput{display:block;position:absolute;top:0;left:0;width:140px;height:39px;cursor:pointer;opacity:0;}
.user-tips{position:fixed;top:-30px;left:45%;height:30px;line-height:30px;padding:0 15px;color:#fff;background-color:#FF5E52;opacity:0.85;filter:alpha(opacity=85);color:#fff;border-radius:0 0 3px 3px;font-size:12px;z-index:999999}
.user-main .pagination{display:block;margin-top: 20px;}
.user-force-bind{position: relative;border: 2px dashed #f58b36;border-radius: 5px;padding-top: 17px;background: #fff3e9;}
.user-force-bind:after{content:"";width: 77px;height: 90px;position: absolute;background: url(../img/choose.png) no-repeat left top;background-size: auto 77px;right: 0;top: -60px;z-index: 4;transform: rotate(180deg);}
.table{font-size:13px;border-spacing:0;border-collapse:collapse}
.table thead{font-size: 14px;}
.table td{color:#999}
.form-tips{font-size: 13px;margin-left: 10px}
.user-orders dfn{font-style:normal;color:#FF5E52;font-weight:bold;min-width:40px;display:inline-block}
.user-orders h5{margin:0 0 2px}
.user-orders em{font-style:normal;color:#bbb}
.user-orders h5 a{color:#999}
.user-orders h5 a:hover{color:#666;text-decoration:underline}
.coupon-code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}
.user-coupon-past td{color:#bbb;font-style:italic;text-decoration:line-through}
.user-coupon-used td{color:#bbb;font-style:italic}
.user-order-coupon{display:none}
.user-order-coupon form{margin-bottom:30px}
.user-order-coupon .form-control{width:140px;display:inline-block}
.user-order-coupon .btn{position:relative;top:-1px}
.user-alerts{color:#999;margin:50px 0 20px 50px}
.user-alerts ul{list-style:decimal;margin:5px 0 0 18px;font-size:12px;line-height:22px}
.user-alerts ul li{list-style:decimal}
.user-ordernone{text-align:center;margin-top:100px}
.user-ordernone h6{color:#999;margin:20px 0;font-size: 20px;font-weight: normal;}
.vip-items{text-align:center;margin: 0 -2% 60px;}
.vip-items .item{position:relative;display: inline-block;width:22%;margin:0 1% 20px;top:0;border-radius: 5px;box-shadow: 0px 10px 20px rgba(97, 105, 140, 0.1);transition: all .3s cubic-bezier(.4,0,.2,1);-webkit-transition: all .3s cubic-bezier(.4,0,.2,1);-moz-transition: all .3s cubic-bezier(.4,0,.2,1);-ms-transition: all .3s cubic-bezier(.4,0,.2,1);-o-transition: all .3s cubic-bezier(.4,0,.2,1);}
.vip-items .item:hover{top:-10px;}
.vip-items .item .title{background: var(--theme-color);padding:12px 0;font-size: 20px;color:#fff;margin-bottom: 20px;border-radius: 5px 5px 0 0}
.vip-items .item-1 .title{background: #0ec0e6;}
.vip-items .item-2 .title{background: #514e9f;}
.vip-items .item-3 .title{background: #6f0ee6;}
.vip-items .item-4 .title{background: #d2c55d;}
.vip-items .item .price{font-size: 30px;font-weight: 600;margin-bottom: 0;}
.vip-items .item .price del{color: #999;font-size: 18px;font-weight: normal;}
.vip-items .item .price span{font-size:12px;}
.vip-items .item .time{color: #999;margin-bottom: 10px;font-size: 14px;}
.vip-items .item .buca{position: absolute;top: 0;right: 10px;font-size: 12px;background: #f5f5f5;border-radius: 0 0 3px 3px;padding: 0px 4px 1px;display: none;}
.vip-items .item ul{margin: 0 10px 20px;font-size: 13px;color: #666;border-top:solid 1px #f7f7f7;padding-top: 10px;}
.vip-items .item ul li i{width:8px;height: 8px;border:2px solid var(--theme-color);border-radius: 50%;display: inline-block;margin-right: 5px;}
.vip-items .item-1 ul li i{border-color: #0ec0e6}
.vip-items .item-2 ul li i{border-color: #514e9f}
.vip-items .item-3 ul li i{border-color: #6f0ee6}
.vip-items .item-4 ul li i{border-color: #d2c55d}
.vip-items .item .btn{border-radius: 50px;background:var(--theme-color) !important;display: inline-block;margin-bottom: 30px;color:#fff;padding: 8px 16px;font-size: 13px;line-height: 1;}
.vip-items .item .btn:hover{opacity: .8;}
.vip-items .item-1 .btn{background:#0ec0e6 !important;}
.vip-items .item-2 .btn{background:#514e9f !important;}
.vip-items .item-3 .btn{background:#6f0ee6 !important;}
.vip-items .item-4 .btn{background:#d2c55d !important;}

.vip-content {text-align: center;margin: 0 -10px 40px;}
.vip-item{padding: 0 15px 30px; margin: 0 10px 30px;width: calc(25% - 20px);border-radius: 8px;}
.vip-item h6{font-size: 16px;padding:14px 0;margin: 0 -15px;border-radius: 8px 8px 0 0}
.vip-item .price{font-size: 24px;margin:10px 0 5px;}
.vip-item p.border-decor.no{height: 23px;}
.vip-item p.border-decor span{font-size: 12px;padding: 5px 10px 5px;}
.vip-item p.border-decor{margin-bottom: 20px}
.vip-item p.vip-cat-desc{font-size: 12px;margin-bottom: 15px}
.vip-item ul li{font-size: 12px;margin-bottom: 5px;padding-bottom: 5px}
.vip-item ul li:not(:first-child) {padding-top: 5px;}
.vip-item ul li i{top:0;}
.vip-item .btn{padding:8px 15px;font-size: 14px;}

.vip-contact{margin-top: 30px}

.btn.disabled{background-color:#ff3800;border-color:#ff3800}

.erphp-weixin-scan-bind{display: none;}

.ticket-new{padding-right: 30px;}
.ticket-new h3{margin: 20px 0 40px 20px;}
.ticket-new li .radio-inline{margin-right: 10px;}
.ticket-new li .radio-inline input[type="radio"]{-webkit-appearance:radio;display: inline-block;}
.ticket-new li{padding-left: 120px;margin-bottom: 20px;}
.ticket-new .tit{float: left;margin-left: -120px;text-align: right;width: 115px;}

.pics{overflow: hidden;height: 130px;}
.pic{width: 100px;float: left;height: 100px;text-align: center;border: 1px solid #bbb;position: relative;border-radius: 5px;padding: 2px;margin-right: 10px;}
.pic img{max-width: 100%;max-height: 100px;border-radius: 5px;}
.pic-no{border: 1px dashed #bbb;line-height: 100px;font-size: 30px;color: #bbb;cursor:pointer}
.pic-delete{position: absolute;top: 100%;left:40%;margin-top: 5px;color: #999;}
.pic-delete:hover{color: #333;}


.ticket-item-info{border-bottom: 1px solid #EAEAEA;padding-bottom: 24px;margin-bottom: 30px;color: #999;}

.ticket-item-content{overflow: hidden;}
.ticket-item-content dl{border: 1px solid #e6e6e6;border-bottom-color: #ddd;border-right-color: #ddd;padding: 10px 15px 12px;border-radius: 5px;max-width: 75%;margin: 0 70px 36px 70px;font-size: 14px;color: #666;float: right;position: relative;clear: both;box-shadow: 2px 2px 2px rgba(0,0,0,0.08);min-width: 120px;}
.ticket-item-content dl.ticket-item-reply{float: left;}
.ticket-item-content dl time{font-size: 12px;color: #ccc;position: absolute;top: 100%;margin-top: 5px;right: 0;}
.ticket-item-content dl.ticket-item-reply time{left: 0;}

.ticket-item-content dl::before{content: '';border-top: 2px solid transparent;border-bottom: 8px solid transparent;border-left: 12px solid #e2e2e2;position: absolute;right: -13px;top: 12px;}
.ticket-item-content dl::after{content: '';border-top: 2px solid transparent;border-bottom: 8px solid transparent;border-left: 12px solid #fff;position: absolute;right: -10px;top: 12px;}
.ticket-item-content dl.ticket-item-reply::before{border-right: 12px solid #e2e2e2;left: -13px;right: auto;border-left: none;}
.ticket-item-content dl.ticket-item-reply::after{border-right: 12px solid #fff;left: -10px;right: auto;border-left: none;}

.ticket-item-content .thumbs {overflow: hidden;padding-top: 10px;}
.ticket-item-content .thumbs img {float: left;margin-right: 10px;max-width: 100px;max-height: 100px;cursor:pointer;}

.ticket-item-content dt{position: absolute;top: 0;right: -70px;}
.ticket-item-content dl.ticket-item-reply dt{right: auto;left: -70px;}
.ticket-item-content dt img{border-radius: 50%;width: 50px;height: 50px; }
.ticket-item-content dt .avatar{border: 2px solid #eaeaea;}
.ticket-item-content dl.ticket-item-reply .avatar{border: 2px solid var(--theme-color);}
.ticket-item-content dd img{max-width:100px;max-height:100px;cursor:pointer;float: left;}

.ticket-reply {padding: 40px 0;overflow: hidden;}
.ticket-reply h4{font-size: 14px;font-weight: bold;}
.ticket-reply .pics{float: left;}
.ticket-reply .hdl{float: right;text-align: right;}
.ticket-reply .hdl p{margin-top: 10px;font-size: 12px;}

.ticket-reply .pic{width: 60px;height: 60px;}
.ticket-reply .pic-no{line-height: 56px;}
.ticket-reply .pic-no img{max-height: 60px;}

.ticket-item-status{color: #999;margin-top: 10px;}
.ticket-item-status .btn{padding: 3px 8px;font-size: 12px;color:#fff;word-break: keep-all;}


.ticket-thumb-lg{position: fixed;top: 0;left:0;right: 0;bottom: 0;z-index: 99999}
.ticket-thumb-mask{position: absolute;top: 0;left:0;right: 0;bottom: 0;background-color: rgba(0,0,0,0.7);}
.ticket-thumb-content{position: absolute;top: 50%;left:50%;max-width: 100%;max-height: 100%;background-color: #fff;padding: 20px;box-shadow: 0 0 10px rgba(0,0,0,0.7)}

.secondItem .item{margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}
.secondItem .item:first-child{margin-top:35px}
.secondItem .item .platform{width:54px;height:54px;border-radius:5px;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:20px}
.secondItem .item .platform.weixin{background:#03A87C}
.secondItem .item .platform.weibo{background:#D0021B}
.secondItem .item .platform.qq{background:#12b7f5}
.secondItem .item .platform i{font-size: 24px;}
.secondItem .item .platform-info{margin-left:15px;line-height: 28px;}
.secondItem .item .platform-info .name{font-size:16px;color:#2A2A2A;font-weight:bold}
.secondItem .item .platform-info .status{font-size:14px;color:#757575;}
.secondItem .item .platform-info .status span{margin-right:5px}
.secondItem .item .platform-info .status a{color:#757575}


.user-wap-box1{background: #fff;border-radius: 5px;padding:12px 10px 12px 78px;margin-bottom: 12px;position: relative;height: 74px}
.user-wap-box1 .edit-avatar{position: absolute;left: 15px;top: 10px}
.user-wap-box1 .avatar{width: 50px;height: 50px;border-radius: 50%}
.user-wap-box1 .user-name{font-size: 17px;}
.user-wap-box1 .user-name .icon{font-size: 17px;top: 0}
.user-wap-box1 .user-desc{color:#666;font-size: 12px;line-height: 18px}
.user-wap-box1 .user-desc a{color:#666}
.user-wap-box1 .user-desc .icon{font-size: 12px;top: 0}
.user-wap-box1 .mobantu-check{position: absolute;right: 15px;top:25px;font-size: 14px}
.user-wap-box2{margin:0 -6px}
.user-wap-box2 .item{float: left;width: calc(25% - 12px);margin:0 6px 12px;padding:5px 10px 10px;position: relative;}
.user-wap-box2 .item{width: calc(50% - 12px);background: #fff;border-radius: 5px;height: 80px}
.user-wap-box2 .item .tit{font-size: 12px;color: #666;margin-bottom: 3px}
.user-wap-box2 .item .tit .icon{font-size: 15px}
.user-wap-box2 .item .tit a .icon{font-size: 12px;top: 0}
.user-wap-box2 .item b{margin-bottom: 2px;display: block;}
.user-wap-box2 .item b .icon{top: 0}
.user-wap-box2 .item .color{color: var(--theme-color);}
.user-wap-box2 .item .items .it{width: 50%;float: left;text-align: center;}
.user-wap-box2 .item .items .itn{font-weight: normal;font-size: 12px;color: #666}
.user-wap-box2 .item .tips{font-size: 12px;color: #999}
.user-wap-box2 .item .tips .icon{font-size: 15px}
.user-wap-box2 .item .tips2{position: absolute;top: 0;right: 10px;font-size: 12px;color: #999;background: #f5f5f5;border-radius: 0 0 2px 2px;padding: 2px 5px;}
.user-wap-box22{background: #fff;border-radius: 5px;margin:0 0 12px;padding:0 10px 10px}
.user-wap-box22 ul{list-style: none;margin:0 -6px}
.user-wap-box22 ul li{list-style: none;float: left;width: calc(50% - 12px);margin:0 6px;text-align: center;}
.user-wap-box22 ul li .icon{font-size: 30px;color:var(--theme-color);}
.user-wap-box22 ul li .icon-crown{color:#fbb715;}
.user-wap-box22 ul li span{display: block;font-size: 13px;}
.user-wap-box4{background: #fff;border-radius: 5px;margin:0 0 12px;padding:8px 10px 10px}
.user-wap-box4 .tit{margin-bottom: 3px}
.user-wap-box4 ul{list-style: none;margin:0 -6px}
.user-wap-box4 ul li{list-style: none;float: left;width: calc(25% - 12px);margin:0 6px;text-align: center;}
.user-wap-box4 ul li .icon{font-size: 28px;}
.user-wap-box4 ul li span{display: block;font-size: 12px;color: #666}
.user-wap-logout{text-align: center;font-size: 13px;margin-bottom: 20px;}
.user-wap-logout a{color:#999}

body.night .user-wap-box1, body.night .user-wap-box2 .item, body.night .user-wap-box22, body.night .user-wap-box4{background: #303030}
body.night .user-wap-box2 .item .tips{color:#666}
body.night .user-wap-box2 .item .tips2{color: #777;background: #414243}

body.night .warning{background: #232323;}
body.night .container-user{background: #181818;color:#777;}
body.night .userside{background: #151515;color:#777;}
body.night .usertitle{border-color: #414243;}
body.night .usertitle .avatar{border-color: #151515;}
body.night .usertitle .edit-avatar:after{color:#777;}
body.night .mobantu-check p{color:#777;}
body.night .usercheck.active{background: #232323;}
body.night .usermenu li a{color:#777;}
body.night .usermenu li.active a{background: #232323;color:#999;}
body.night #charge-form .input-recharge, body.night #charge-form2 .input-recharge{color:#fff;}
body.night #charge-form .input-recharge::-webkit-input-placeholder, body.night #charge-form2 .input-recharge::-webkit-input-placeholder{color:#777;}
body.night #charge-form2 .btn-card{background-color: #111 !important;color: #777;}
body.night #charge-form h3, body.night #charge-form2 h3{color:#777;}
body.night #charge-form .payment-radios label{border-color: #2f364e;} 
body.night #charge-form .item .prices, body.night #charge-form .item .prices label{border-color: #414243;}
body.night #charge-form .item .prices label{color: #777;}
body.night #charge-form .item .prices label.active{background: #303030}
body.night #charge-form .rmb{background: #303030;color: #999}
body.night .charge .charge-header .desc{color:#777;}
body.night .charge .charge-header h3{color:#777;}
body.night .charge .charge-header .item{border-color: #414243}
body.night .charge .charge-header .item .tips{background: #414243; color: #777;}
body.night .charge-gift{background: #212121;color: #999;}
body.night .vip-items .item{background: #303030;}
body.night .vip-items .item ul{border-color: #414243;color:#777;}
body.night .vip-items .item .time{color:#777;}
body.night .vip-item{background: #303030}
body.night .table-striped > tbody > tr:nth-child(odd) > td, body.night .table-striped > tbody > tr:nth-child(odd) > th{background: #151515;border-color:#414243;}
body.night .table > thead > tr > th, body.night .table > tbody > tr > th, body.night .table > tfoot > tr > th, body.night .table > thead > tr > td, body.night .table > tbody > tr > td, body.night .table > tfoot > tr > td{border-color:#414243;}
body.night .table td{color:#777;}
body.night .user-alerts{color:#999;}
body.night .user-meta{color:#999;}
body.night .user-meta label, body.night .user-ordernone h6{color:#999;}
body.night .secondItem .item .platform-info .name{color:#777;}
body.night .secondItem .item .platform-info .status a{color:#999;}
body.night .form-control{background: #303030;border-color:#303030;color:#777;}
body.night .user-commentlist li, body.night .user-postlist li{border-color: #414243;}
body.night .user-commentlist .note, body.night .user-postlist .note{color:#999;}
body.night .user-commentlist time{color:#777;}
body.night .user-postlist h2 a{color:#777;}
body.night .user-force-bind{background: transparent;}


@media (max-width:1024px){
	.container-user{padding-left:150px !important;padding-right:0 !important}
	.userside{width:150px;padding:20px 10px;margin-left: -150px;}
	.usermenu li a{font-size: 15px;padding:4px 15px;}
	.vip-items .item{width:30%;}
	.vip-item{width: calc(30% - 20px)}
	.user-gridlist .item img{height: 120px;}
}

@media (max-width:860px){
	.user-postlist li{padding:10px 0}
	.user-postlist .thumb{width:118px;height:80px}
	.user-postlist .note{height:auto}
	.vip-items .item{width:40%;}
	.vip-content{margin:0 -5px 30px}
	.vip-item{width: calc(50% - 10px);margin: 0 5px 20px;padding:0 10px 20px}
	.vip-item h6{padding:8px 0;    margin: 0 -10px;}
}

@media (max-width:768px){
	.main{padding-top: 15px;}
	.user-main{min-height: 580px}
	.container-user{margin-bottom: 0px;}
	#charge-form .item .prices label{width: 33.3333%}
	#charge-form .input-recharge, #charge-form2 .input-recharge{padding:9px 14px;height: 40px;}
	#charge-form .rmb{height: 38px;width: 50px;line-height:38px;font-size: 17px;}
	#charge-form .btn-recharge, #charge-form2 .btn-card{padding:10px 12px;font-size: 16px;}
	.charge .charge-header .item{width: 49%}
	.charge .charge-header .item-pc{display: none;}
	.user-gridlist .item{width: calc(33.333% - 15px);}
	.user-gridlist .item time span{display: none;}
}

@media (max-width:640px){
	section.container{margin:0}
	.user-main{padding: 0 15px 15px}
	.container-user-warning{padding:0 !important;margin-top: -15px}
	.container-user-warning .warning{border-radius: 0;margin-bottom: 15px;padding:15px;font-size: 13px}
	.container-user{border:none;border-radius:0;margin-top:-15px;box-shadow: none;}
	.container-user{padding-left:90px !important;padding-right:0 !important;max-width:100%;padding-right:0;}
	.container-user .content{padding:10px 0 0}
	.userside{width:90px;padding:20px 0;margin-left: -90px;}
	.usermenu li{margin-bottom:1px}
	.usermenu li a{font-size:14px;padding:4px 0 4px 15px;border-radius: 0;}
	.usermenu li a i{display:none}
	.usertitle{margin-bottom:0;padding-bottom:10px}
	.usertitle .edit-avatar{margin-bottom: 5px}
	.usertitle .avatar{width:36px;height:36px;margin-bottom:5px}
	.usertitle .is-vip{top:0;}
	.usertitle h2{font-size:12px;color:#999;margin-bottom: 5px}
	.mobantu-check p{display: none;}
	.usercheck{padding:2px 10px;width: auto;}
	.user-postnav{margin-top: 15px;}
	.user-gridlist{margin: 15px 0 0;}
	.user-gridlist .item{width: 100%;float: none;margin: 0 0 15px;padding: 0 0 0 120px;}
	.user-gridlist .item img{float: left;margin-left: -120px;width: 110px;height: 75px;}
	.user-gridlist .item h4{margin-top: 0;}
	.user-gridlist.waterfall{margin: 15px -7.5px 0;}
	.user-gridlist.waterfall .item{width: calc(50% - 10px);float: left;margin: 0 5px 15px;padding: 0;}
	.user-gridlist.waterfall .item img{float: none;margin-left: 0;width: 100%;height: auto;}
	.user-gridlist.waterfall .item h4{margin-top: 5px;}

	.user-postlist{margin-top: 15px}
	.user-postlist h2{font-size:16px;line-height:20px}
	.user-commentlist{margin-top: 15px}
	.user-commentlist li{padding:10px 0}
	.user-commentlist time{float:none;margin-left:0}
	.user-meta{margin:0;}
	.user-meta li{padding-left:0;margin-bottom:10px}
	.user-meta label{float:none;width:100%;margin-left:0;text-align:left;line-height:20px}
	.user-meta .form-control{width:100%}
	.charge{margin:0}
	.charge .charge-header{margin:0 0 20px;}
	#charge-form, #charge-form2, .charge-tips{padding:0;}
	.charge-gift{margin:20px 0;}
	.vip-items .item{width:45%;}
	.vip-items .item .title{margin-bottom: 10px}
	.vip-items .item .price{font-size: 22px}
	.vip-items .item .price del{font-size: 14px}
	.vip-items .item .btn{margin-bottom: 20px}
	.ticket-new{padding-right:0}
	.ticket-new .picss{display:none}
	.ticket-new h3{margin: 20px 0 0 10px;}
	.ticket-new li{padding-left:0}
	.ticket-new .tit{float:none;margin-left:0;text-align:right;width:115px}
	.ticket-new #email{width:100% !important}
	.ticket-new .pic{width: 60px;height: 60px;}
	.ticket-new .pic-no{line-height: 60px;}
	.ticket-item{padding:10px;}
	.pc{display: none;}
	.user-tips{left: 0;right: 0;text-align: center;}
}

@media (max-width:480px){
	.user-postlist h2{font-size:14px;line-height:16px}
	.user-postlist .note{display:none}
	.user-postlist .thumb{width:auto;height:auto;max-width:100%;margin-bottom:10px;float:none;margin-left:0;display:block}
	.pagination{padding:20px 0 0}
	.charge .form-control{width:100%;height:auto;font-size:13px}
	.charge .btn{width:auto;height:auto;font-size:13px}
	.charge .charge-header .item{width: 100%}
	.charge .charge-header .item-tablet{display: none;}
	#charge-form .payment-radios label{margin-right: 5px}
}

@media (max-width:360px){
	.pagination ul > li{display:inline-block}
}


/* 充值图标样式（仅侧边栏） */
.nav-right.nav-login.yes .avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-right .sub-menu .item i,
.nav-right .sub-menu .item .iconfont.icon-p {
    display: inline-block;
    font-size: 22px;
    line-height: 30px;
    vertical-align: middle;
    margin-right: 0;
    position: relative;
    top: 0;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

body.night .nav-right .sub-menu .item i,
body.night .nav-right .sub-menu .item .iconfont.icon-p {
    color: var(--text-dark-primary);
}

.nav-right .sub-menu .item a:hover i,
.nav-right .sub-menu .item a:hover .iconfont.icon-p {
    color: var(--primary-hover);
}

.nav-right .sub-menu .item.active .iconfont.icon-p {
    color: var(--primary-color);
}

.nav-right .sub-menu .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 30px;
}

.nav-right .sub-menu .item a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 通用卡片样式 */
.card-container {
    background: var(--background-light) !important;
    position: relative;
    border-radius: 12px !important;
    overflow: hidden;
}

/* 个人中心页面 */
body .container-user {
    max-width: 1200px;
    padding-left: 220px !important;
    padding-right: 0;
}

/* 内容区域 */
.user-content {
    margin-right: 0;
    margin-bottom: 0;
    padding: 20px;
    width: 100%;
    background: var(--background-light);
}

.user-main {
    background: none;
}

body .userside {
    background: var(--background-light) !important;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: absolute;
    margin-left: -200px;
    width: 220px;
    padding: 20px 10px;
}

.usertitle h2 {
    color: var(--text-primary);
    font-weight: 600;
}

.usertitle .mobantu-check p {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 12px;
}

body.night .usertitle .mobantu-check p {
    color: var(--text-dark-secondary);
}

.usertitle .mobantu-check .usercheck {
    background: var(--button-default-bg);
    color: var(--button-text);
    font-weight: 600;
}

.usertitle .mobantu-check .usercheck:hover {
    background: var(--button-hover-bg);
}

.usermenu li a {
    color: var(--text-primary);
    padding: 5px 20px;
    font-weight: 500;
    display: block;
    border-radius: 6px;
    margin-bottom: 8px;
}

.usermenu li a::after {
    display: none;
}

.usermenu li .icon,
.usermenu li a i.icon-p {
    color: var(--accent-lighter);
    font-size: 16px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.usermenu li .icon {
    margin-right: 10px;
}

.usermenu li a i.icon-p {
    margin-right: 14px;
}

.usermenu li a:hover {
    color: var(--accent-color);
    background: var(--usermenu-hover-bg-balanced);
    transform: translateY(-1px);
    box-shadow: var(--subtle-shadow);
}

body.night .usermenu li a:hover {
    background: var(--usermenu-hover-bg-balanced);
    box-shadow: var(--subtle-shadow);
}

.usermenu li a:hover .icon {
    color: var(--accent-color);
}

.usermenu li.active a,
.usermenu li.active i {
    color: var(--accent-color);
}

/* 充值页面整体布局 */
.charge {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid var(--border-color-light);
    box-shadow: var(--shadow);
    color: var(--text-primary);
}

body.night .charge {
    box-shadow: var(--shadow);
}

/* 充值顶部余额信息 */
.charge-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px;
}

.charge-header .item {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
}

.charge-header .item b,
.charge-header .item b.svip {
    color: var(--accent-lighter);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.02em;
}

body.night .charge-header .item b {
    color: var(--accent-lighter);
}

.charge-header .item p {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 5px;
    letter-spacing: 0.03em;
    font-weight: 400;
}

.charge-header .item a.balance-logs {
    color: var(--accent-lighter);
    text-decoration: none;
    font-weight: 500;
}

.charge-header .item a.balance-logs:hover {
    color: var(--primary-hover);
}

.charge-header .item p.expiration-date {
    color: var(--text-primary);
}

/* 金额选择区域 */
.recharge-options .prices {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.recharge-options .prices input[type="radio"] {
    display: none;
}

.recharge-options .prices label {
    position: relative;
    flex: 1 1 calc(33.333% - 16px);
    padding: 12px;
    background: var(--background-light);
    border: 1px solid var(--warning-color);
    box-shadow: var(--card-shadow);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.recharge-options .prices label.featured {
    flex: 1 1 calc(35% - 16px);
}

body.night .recharge-options .prices label {
    background: var(--background-light);
    border: 1px solid var(--border-color-light);
}

.recharge-options .prices label:hover {
    transform: translateY(-1px);
    background: var(--accent-bg-hover);
}

.recharge-options .prices label .points {
    display: inline-flex;
    align-items: center;
    background: none;
    color: var(--points-color);
    font-size: 20px;
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 2px 5px;
    border-radius: 3px;
    line-height: 1.1;
    height: auto;
    white-space: nowrap;
    position: relative;
}

body.night .recharge-options .prices label .points {
    background: none;
    color: var(--points-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.recharge-options .prices label .amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

body.night .recharge-options .prices label .amount {
    color: var(--text-dark-primary);
}

.recharge-options .prices label .icon-check {
    display: none;
    position: absolute;
    top: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    background: var(--points-color);
    border-radius: 50%;
    color: var(--button-text);
    font-size: 16px;
    text-align: center;
    line-height: 20px;
}

.recharge-options .prices input[type="radio"]:checked + label {
    border: 2px solid var(--points-color);
    background: var(--accent-bg-hover);
    transform: scale(1.03);
}

.recharge-options .prices input[type="radio"]:checked + label .icon-check {
    display: block;
    transform: scale(1.1) rotate(5deg);
}

/* 支付方式区域 */
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    justify-items: center;
    margin-bottom: 30px;
}

.payment-options input[type="radio"] {
    display: none;
}

.payment-options label {
    position: relative;
    width: 100%;
    max-width: 160px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--background-light);
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-height: 40px;
}

body.night .payment-options label {
    border-color: var(--border-color-strong);
    color: var(--text-dark-primary);
}

.payment-options label i {
    font-size: 20px;
    margin-right: 6px;
    color: var(--accent-lighter);
}

body.night .payment-options label i {
    color: var(--accent-lighter);
}

.payment-options label .label-text {
    flex: 1;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.2;
    font-size: 12px;
    font-weight: 500;
}

.payment-options label:hover {
    background: var(--accent-bg-hover);
}

.payment-options input[type="radio"]:checked + label {
    box-shadow: 0 0 3px var(--accent-color);
    transform: scale(1.03);
}

body.night .payment-options input[type="radio"]:checked + label {
    box-shadow: 0 0 3px var(--warning-color);
}

.payment-options input[type="radio"]:checked + label i {
    color: var(--warning-color);
    transform: scale(1.1) rotate(5deg);
}

/* 选项手型指针 */
.recharge-options .prices label,
.payment-options label {
    cursor: pointer;
}

/* 充值按钮样式 - 闪白问题修复 安全版 */
.btn-recharge {
    position: relative;
    z-index: 0;
    overflow: hidden;
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--button-default-bg);
    color: var(--button-text);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-recharge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--button-hover-bg);
    opacity: 0;
    z-index: -1;  
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}

.btn-recharge:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-recharge:hover::after {
    opacity: 1;
}


/* 安全支付提示 */
.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}

/* 充值优惠样式（插件输出区域） */

.charge-gift {
  border: 2px solid var(--accent-lighter) !important;
  background: var(--accent-bg-hover) !important;
  padding: 16px;
  border-radius: 8px;
  margin: 20px auto;
  width: calc(100% - 40px);
  box-shadow: var(--shadow);
}

/* 修复标题字体颜色和间距 */
.charge-gift .gift-header {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.charge-gift .gift-header i {
  margin-right: 8px;
  font-size: 16px;
}

/* 修复列表项目样式 */
.charge-gift .item {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 6px 0;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* 强调数值部分 */
.charge-gift .item .currency,
.charge-gift .item span {
  color: var(--primary-color) !important;
  font-weight: 600;
}


/* 充值须知模块样式优化：结构清晰 + 图标分色 + 文本高亮 */
.charge-tips {
  padding: 24px;
  background: var(--background-light);
  border: 1px solid var(--border-color-light);
  border-radius: 10px;
  margin: 32px auto;
  width: calc(100% - 40px);
  box-shadow: var(--shadow);
}

.charge-tips .tips-header {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-lighter);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.charge-tips .tips-header i {
  font-size: 18px;
  margin-right: 8px;
}

.charge-tips .tips-content {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.charge-tips .tips-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.charge-tips .tips-content li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.charge-tips .tips-icon {
  flex-shrink: 0;
  font-size: 1.3em;
  line-height: 1.6;
  margin-top: 0.15em;
}

.charge-tips .tips-text {
  flex: 1;
  color: var(--text-secondary);
}

.charge-tips .tips-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* 图标着色 */
/* charge-tips 图标着色：匹配 remixicon 图标名 */
.charge-tips .ri-coupon-3-line {
  color: var(--primary-color);
}
.charge-tips .ri-shield-check-line {
  color: #42A5F5;
}
.charge-tips .ri-shield-user-line {
  color: #9E9E9E;
}
.charge-tips .ri-infinity-line {
  color: #FBC02D;
}
.charge-tips .ri-headphone-line {
  color: #AB47BC;
}





/* 移动端样式（768px 以下）覆盖 */
@media (max-width: 768px) {
    body .charge {
        max-width: 100% !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 16px !important;
        color: var(--text-primary) !important;
    }
    body .user-content {
        padding: 10px !important;
    }
    .charge-header {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    .charge-header .item {
        padding: 8px !important;
        min-height: 40px !important;
    }
    .charge-header .item b {
        font-size: 16px !important;
    }
    .charge-header .item p {
        font-size: 10px !important;
    }
    .recharge-options .prices {
        gap: 16px !important;
        margin-bottom: 30px !important;
    }
    .recharge-options .prices label {
        flex: 1 1 calc(50% - 16px) !important;
        min-width: 120px !important;
        padding: 10px !important;
        min-height: 50px !important;
    }
    .recharge-options .prices label .amount {
        font-size: 14px !important;
    }
    .recharge-options .prices label .points {
        font-size: 16px !important;
    }
    .recharge-options .prices input[type="radio"]:checked + label .icon-check {
        top: 6px !important;
        left: 6px !important;
        width: 18px !important;
        height: 18px !important;
        line-height: 18px !important;
        font-size: 14px !important;
    }
    .payment-options {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
        gap: 12px !important;
        margin-bottom: 30px !important;
    }
    .payment-options label {
        padding: 6px !important;
        font-size: 11px !important;
        min-height: 36px !important;
        max-width: 140px !important;
        min-width: 120px !important;
    }
    .payment-options label i {
        font-size: 18px !important;
        margin-right: 4px !important;
    }
    .btn-recharge {
        padding: 10px !important;
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
    .secure-payment {
        font-size: 10px !important;
    }
}
  
@media (min-width: 1440px) {
    /* 并排主区 + 侧边（包括单篇文章页） */
    body.home .content-container > .main-wrapper,
    body.category .content-container > .main-wrapper,
    body.archive .content-container > .main-wrapper,
    body.single .content-container > .main-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    /* 左侧主区固定 1200px */
    body.home .content-container > .main-wrapper > .grid-container,
    body.category .content-container > .main-wrapper > .grid-container,
    body.archive .content-container > .main-wrapper > .grid-container,
    body.single .content-container > .main-wrapper > .grid-container {
        flex: 0 0 1200px;
        width: 1200px;
    }

    /* 右侧侧边栏：定宽 220px，取消浮动 */
    body.home .content-container > .main-wrapper > .sidebar,
    body.category .content-container > .main-wrapper > .sidebar,
    body.archive .content-container > .main-wrapper > .sidebar,
    body.single .content-container > .main-wrapper > .sidebar {
        display: block;
        flex: 0 0 220px;
        width: 220px;
        float: none;
        position: static;
        margin: 0;
    }
}

@media (max-width: 1439px) {
    /* 1440 以下完全交回主题，隐藏侧边栏（包括单篇文章页） */
    body.home .content-container > .main-wrapper > .sidebar,
    body.category .content-container > .main-wrapper > .sidebar,
    body.archive .content-container > .main-wrapper > .sidebar,
    body.single .content-container > .main-wrapper > .sidebar {
        display: none;
    }
}

.pagination {
    clear: both;
    padding: 2rem 0;
    text-align: center;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pagination::-webkit-scrollbar {
    display: none;
}
.pagination ul {
    display: inline-flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center !important;
    gap: 0.6rem;
    padding: 0 1rem;
    margin: 0;
    list-style: none;
}
.pagination li {
    display: flex;
    align-items: center;
    vertical-align: middle;
}
.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    background: var(--pagination-bg);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: var(--subtle-shadow);
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pagination li a i[class*="ri-"] {
    font-size: 1.5rem;
    line-height: 1;
}
.pagination .dots {
    border: none;
    background: none;
    box-shadow: none;
    color: var(--text-secondary);
    width: auto;
    padding: 0 0.2em;
    min-width: auto;
    height: 40px;
}
.pagination li span.current,
.pagination li a:hover {
    border-color: transparent;
    background: var(--gradient-neon);
    color: var(--button-text);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.pagination .pagination-jump-container {
    display: flex !important;
    height: 40px !important;
    box-sizing: border-box !important;
    margin-left: 1rem !important;
    overflow: hidden;
    border-radius: 8px !important;
    box-shadow: var(--subtle-shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}
.pagination .pagination-jump-container:hover {
    transform: translateY(-2px);
}
.pagination #jump_page {
    height: 100% !important;
    width: 75px !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--background-light) !important;
    color: var(--text-primary) !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0 12px !important;
    text-align: center;
    box-shadow: none !important;
    -moz-appearance: textfield;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pagination #jump_page::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pagination #jump_page:focus {
    outline: none;
    position: relative;
    z-index: 2;
}
.pagination .page-jump {
    width: 36px !important;
    height: 100% !important;
    border: none !important;
    border-left: 1px solid var(--border-color-light) !important;
    border-radius: 0 !important;
    margin-left: 0;
    padding: 0 !important;
    background: var(--gradient-neon) !important;
    cursor: pointer;
    box-shadow: var(--subtle-shadow) !important;
    transition: filter 0.2s, box-shadow 0.2s;
}
.pagination .page-jump:hover {
    filter: brightness(1.1);
    box-shadow: none;
}
.pagination .page-jump i {
    font-size: 1.5rem !important;
    color: var(--button-text) !important;
}
body.night .pagination li a,
body.night .pagination li span,
body.night .pagination .dots {
    color: var(--text-dark-secondary);
}
body.night .pagination li span.current,
body.night .pagination li a:hover {
    color: var(--button-text);
}
body.night .pagination #jump_page {
    border-color: var(--border-color-strong) !important;
    background: var(--background-dark) !important;
    color: var(--text-dark-primary) !important;
}
body.night .pagination .page-jump {
    border-color: var(--border-color-strong) !important;
}
@media (max-width: 768px) {
    .pagination ul {
        gap: 0.4rem;
    }
    .pagination li a,
    .pagination li span {
        width: 38px;
        height: 38px;
    }
    .pagination .pagination-jump-container,
    .pagination #jump_page,
    .pagination .page-jump {
        height: 38px !important;
    }
    .pagination li a i[class*="ri-"] {
        font-size: 1.4rem;
    }
    .pagination .dots {
        display: none;
    }
    .pagination #jump_page {
        width: 60px !important;
    }
    .pagination .page-jump {
        width: 34px !important;
    }
}

/* 保持默认隐藏按钮 */
#mobile-sidebar-toggle {
  display: none !important;
}

@media (max-width: 768px) {
  /* —— 移动端全宽容器 & 内容布局 —— */
  .container.container-user {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
  }
  body .single .content,
  body .page-template-default .content,
  body .content {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
    padding: 1rem 1rem 0 !important;
  }
  body .user-main {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
    padding: 1rem 1rem 0 !important;
  }
  .user-gridlist.waterfall,
  .user-gridlist.waterfall .item {
    width: 100% !important;
  }
  footer {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* —— 切换按钮 —— */
  #mobile-sidebar-toggle {
    display: flex !important;
    position: fixed !important;
    top: 60% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    justify-content: center !important;
    align-items: center !important;
    background: linear-gradient(to right, rgba(128,128,128,0.3), rgba(100,100,100,0.3)) !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    animation: pulse 2s infinite ease-in-out !important;
    filter: drop-shadow(0 0 2px rgba(128,128,128,0.2)) !important;
  }
  body.night #mobile-sidebar-toggle {
    background: linear-gradient(to right, rgba(200,200,200,0.3), rgba(150,150,150,0.3)) !important;
    color: #E8E4EC !important;
  }
  #mobile-sidebar-toggle:hover {
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08) !important;
    animation: none !important;
    filter: drop-shadow(0 0 4px rgba(128,128,128,0.3)) !important;
  }
  #mobile-sidebar-toggle i {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 16px !important;
  }

  /* —— 侧边栏本体 —— */
  .userside {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 250px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    background: rgba(255,255,255,0.9) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 9999 !important;
    overflow: auto !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08) !important;
    border-radius: 0 8px 8px 0 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  body.night .userside {
    background: rgba(20,20,23,0.9) !important;
    box-shadow: 0 4px 6px rgba(142,36,170,0.1) !important;
  }
  .userside.open {
    transform: translateX(0) !important;
  }

  /* —— 切换按钮 —— */
  #mobile-sidebar-toggle {
    display: flex !important;
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--background-light) !important;
    border-radius: 0 4px 4px 0 !important;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1) !important;
    z-index: 10000 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: auto !important;
  }

  #mobile-sidebar-toggle i {
    font-size: 20px !important;
    color: var(--text-primary) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #mobile-sidebar-toggle:hover {
    background: var(--background-option) !important;
    transform: translateY(-50%) scale(1.05) !important;
  }

  /* 暗色模式适配 */
  body.night .userside {
    background: var(--background-dark) !important;
  }

  body.night #mobile-sidebar-toggle {
    background: var(--background-dark) !important;
  }

  body.night #mobile-sidebar-toggle i {
    color: var(--text-dark-primary) !important;
  }
}

/* 移动端统一样式 */
@media (max-width: 768px) {
  /* 容器样式 */
  .container.container-user {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  /* 侧边栏样式 */
  .userside {
    position: fixed !important;
    top: 0 !important;
    left: -250px !important;
    width: 250px !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 20px !important;
    background: var(--background-light) !important;
    z-index: 9999 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1) !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .userside.open {
    transform: translateX(250px) !important;
  }

  /* 切换按钮样式 */
  #mobile-sidebar-toggle {
    display: flex !important;
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--background-light) !important;
    border-radius: 0 4px 4px 0 !important;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1) !important;
    z-index: 10000 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  #mobile-sidebar-toggle i {
    font-size: 20px !important;
    color: var(--text-primary) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #mobile-sidebar-toggle:hover {
    background: var(--background-option) !important;
    transform: translateY(-50%) scale(1.05) !important;
  }

  /* 暗色模式适配 */
  body.night .userside {
    background: var(--background-dark) !important;
  }

  body.night #mobile-sidebar-toggle {
    background: var(--background-dark) !important;
  }

  body.night #mobile-sidebar-toggle i {
    color: var(--text-dark-primary) !important;
  }
}

/* 动画关键帧 */
@keyframes slideIn {
  from { transform: translateX(-250px); }
  to { transform: translateX(0); }
}

@keyframes slideOut {
  from { transform: translateX(0); }
  to { transform: translateX(-250px); }
}

@media (max-width: 768px) {
  /* —— 切换按钮 —— */
  #mobile-sidebar-toggle {
    display: flex !important;
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--background-light) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    z-index: 10000 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: auto !important;
  }

  #mobile-sidebar-toggle i {
    font-size: 20px !important;
    color: var(--text-primary) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  #mobile-sidebar-toggle:hover {
    background: var(--background-option) !important;
    transform: translateY(-50%) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
  }

  /* 暗色模式适配 */
  body.night #mobile-sidebar-toggle {
    background: var(--background-dark) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  }

  body.night #mobile-sidebar-toggle:hover {
    background: var(--background-dark-hover) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
  }

  body.night #mobile-sidebar-toggle i {
    color: var(--text-dark-primary) !important;
  }
}

/* 覆盖栏目中的 .wp-block-image 的 margin-bottom */
.wp-block-columns.is-layout-flex .wp-block-image {
    margin-bottom: 0;
}

/* 恢复未使用栏目的 .wp-block-image 的 margin-bottom */
.article-content .wp-block-image.size-large {
    margin-bottom: 20px !important;
}

/* 确保列和行之间的间距为12px */
.wp-block-columns.is-layout-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.wp-block-column.is-layout-flow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.wp-block-column.is-layout-flow:first-child .wp-block-image {
    display: flex;
    justify-content: flex-end;
}

.wp-block-column.is-layout-flow:nth-child(2) .wp-block-image {
    display: flex;
    justify-content: flex-start;
}

/* 确保图片没有额外的外边距 */
.wp-block-image.size-full img {
    margin: 0;
    max-width: 100%;
}

/* 确保使用正确的选择器 */
.erphpdown-msg p .link {
  background-color: #4CAF50;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  margin: 0 10px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.erphpdown-msg p .link.primary-button {
  background-color: #333;
  margin-right: 20px;
  font-weight: bold;
}

.erphpdown-msg p .link.backup-button {
  background-color: #d3d3d3;
  color: #666;
  margin-right: 5px;
}

.erphpdown-msg p .link:hover {
  background-color: #45a049;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .erphpdown-msg p .link {
    display: block;
    margin: 10px 0;
    font-size: 10px;
    width: calc(100% - 20px);
    box-sizing: border-box;
  }

  .erphpdown-msg p .link.primary-button,
  .erphpdown-msg p .link.backup-button {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

.download-btn.clicked {
  background-color: #4CAF50 !important;
  color: #fff !important;
}

