/* 白色拟态主题 - 头部样式（参考拟态UI4.0风格） */

/* ========== CSS变量定义 ========== */
:root {
    --background-color: #ebecf0;
    --greyLight-1: #e4ebf5;
    --greyLight-2: #c8d0e7;
    --greyLight-3: #bec8e4;
    --greyDark: #6d85c1;
    --white: #fff;
    --text-a-color: #7a7e90;
    --text-a-hover: #8897d8;
    --text-li-color: #565e82;
    --primary: #6d5dfc;
    --primary-dark: #5b0eeb;
}

/* ========== 全局样式 ========== */
html, body {
    background-color: var(--background-color);
    color: var(--text-a-color);
    font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
    transition: all .2s;
    -webkit-transition: all .2s;
}

/* 自定义模板样式 */
article.content {
    background: var(--background-color);
    color: var(--text-a-color);
}

article.content > div {
    background: var(--background-color) !important;
    color: var(--text-a-color) !important;
}

/* ========== 拟态核心样式 ========== */
/* 拟态凸起效果 */
.xf_mimic_outer {
    background-color: var(--background-color);
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
    border-radius: 15px;
    transition: all .2s;
    -webkit-transition: all .2s;
}

/* 拟态凹陷效果 */
.xf_mimic_internal {
    background-color: var(--background-color);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
    border-radius: 15px;
    transition: all .2s;
    -webkit-transition: all .2s;
}

/* ========== 头部样式 ========== */
.header {
    background-color: var(--background-color);
    color: var(--text-a-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border: none;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

/* 未授权提示样式 */
.license-alert-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 2px solid #ffc107;
    padding: 12px 0;
    text-align: center;
    width: 100%;
    z-index: 998;
    margin-top: 0;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.license-alert-banner-content {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.license-alert-banner-icon {
    font-size: 20px;
}

.license-alert-banner-text {
    color: #856404;
    font-size: 14px;
    font-weight: 500;
}

.license-alert-banner-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
    transition: all .2s;
    background-color: var(--background-color);
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.license-alert-banner-link:hover {
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.license-alert-banner-divider {
    color: #856404;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .license-alert-banner-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 8px;
    }
    
    .license-alert-banner-text {
        font-size: 13px;
    }
    
    .license-alert-banner-divider {
        display: none;
    }
}

.header-container {
    max-width: 2000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px 0px 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    gap: 30px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary);
    margin-right: auto;
    transition: all .2s;
    -webkit-transition: all .2s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: var(--text-li-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all .2s;
    -webkit-transition: all .2s;
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.nav-menu a:hover {
    color: var(--text-a-hover);
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.nav-menu li.active > a {
    color: var(--primary);
    background: transparent;
    font-weight: 600;
    border: none;
    outline: none;
    box-shadow: none;
}

/* 下拉箭头图标 */
.dropdown-arrow-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-arrow-icon {
    transform: rotate(180deg);
}

/* 下拉菜单容器 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-color);
    min-width: 160px;
    list-style: none;
    padding: 8px 0;
    margin: 5px 0 0 0;
    border-radius: 15px;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉菜单项 */
.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 20px;
    color: var(--text-li-color);
    font-size: 14px;
    white-space: nowrap;
    border-radius: 15px;
    background: transparent;
    box-shadow: none;
}

.dropdown-menu a:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.dropdown-menu li.active a {
    color: var(--primary);
    background: transparent;
    font-weight: 600;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.login-btn {
    background-color: var(--background-color) !important;
    color: var(--text-li-color) !important;
    height: 38px;
    padding: 0 20px;
    border: none;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    -webkit-transition: transform .2s, box-shadow .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.login-btn,
.login-btn:hover,
.login-btn:active,
.login-btn:focus,
.login-btn:visited {
    color: var(--text-li-color) !important;
    background-color: var(--background-color) !important;
}

.login-btn:hover {
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.login-btn:active {
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.login-btn * {
    color: inherit !important;
}

/* 用户信息显示 */
.user-info-container {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 15px;
    transition: all .2s;
    -webkit-transition: all .2s;
    border: none;
    height: 38px;
    background-color: var(--background-color);
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.user-info:hover {
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    border: none;
    transition: all .2s;
    -webkit-transition: all .2s;
    overflow: hidden;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.user-avatar svg {
    width: 100%;
    height: 100%;
    display: block;
}

.user-info:hover .user-avatar {
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.user-name {
    color: var(--text-li-color);
    font-size: 14px;
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 用户文字信息区域 */
.user-text-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
}

/* 头部用户徽章 */
.user-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: white;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0.3rem 0.3rem 0.6rem rgba(0,0,0,0.2);
}

/* 下拉菜单 */
.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
    border: none;
}

.user-info-container:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-li-color);
    text-decoration: none;
    transition: all .2s;
    -webkit-transition: all .2s;
    cursor: pointer;
    font-size: 14px;
    background: transparent;
    border-radius: 15px;
}

.dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.dropdown-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--greyDark);
    transition: all .2s;
    -webkit-transition: all .2s;
}

.dropdown-icon svg path {
    fill: currentColor;
}

.dropdown-item:hover .dropdown-icon svg {
    fill: var(--primary);
    transform: scale(1.1);
}

.dropdown-item:hover {
    background: transparent;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.dropdown-item.logout {
    border-top: 1px solid rgba(0,0,0,0.1);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.dropdown-item.logout:hover {
    background: transparent;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

/* ========== 个人资料弹窗拟态样式 ========== */
/* 移除外侧发光效果 */
#profileModal .auth-modal-content {
    background: var(--background-color);
    box-shadow: none;
    border: none;
}

/* 导航筛选项拟态样式 */
.profile-tabs {
    background: transparent;
    border-bottom: none;
    padding-bottom: 10px;
    gap: 8px;
}

.profile-tab {
    background: var(--background-color);
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.3rem var(--white);
    border-radius: 15px;
    border: none;
    border-bottom: none;
    transition: all 0.2s;
}

.profile-tab:hover {
    background: var(--background-color);
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
    color: var(--text-li-color);
}

.profile-tab.active {
    background: var(--background-color);
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white);
    color: var(--text-li-color);
    border-bottom: none;
}

/* 头像拟态样式 */
.profile-avatar-large {
    background: var(--background-color) !important;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white) !important;
    border: none !important;
    border-radius: 50% !important;
    transition: all 0.2s;
}

.profile-avatar-large:hover {
    box-shadow: 0.4rem 0.4rem 0.8rem var(--greyLight-2), -0.3rem -0.3rem 0.6rem var(--white) !important;
}

.profile-avatar-large:active {
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white) !important;
}

/* 个人资料信息项拟态样式 */
#infoPanel .profile-info-item,
.profile-info-item {
    background: var(--background-color) !important;
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.3rem var(--white) !important;
    border: none !important;
    border-radius: 15px !important;
}

.profile-info-label {
    color: var(--text-li-color) !important;
}

.profile-info-value {
    color: var(--text-li-color) !important;
}

/* 修改按钮拟态样式 */
#editEmailBtn.edit-btn,
#saveEmailBtn.edit-btn,
#cancelEmailBtn.edit-btn,
.edit-btn {
    background: var(--background-color) !important;
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.3rem var(--white) !important;
    border: none !important;
    border-radius: 15px !important;
    color: var(--text-li-color) !important;
    padding: 6px 16px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s;
}

#editEmailBtn.edit-btn:hover,
#saveEmailBtn.edit-btn:hover,
.edit-btn:hover {
    background: var(--background-color) !important;
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white) !important;
    color: var(--text-li-color) !important;
    transform: none !important;
}

#cancelEmailBtn.edit-btn:hover {
    background: var(--background-color) !important;
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white) !important;
    color: var(--text-a-color) !important;
    transform: none !important;
}

#editEmailBtn.edit-btn:active,
#saveEmailBtn.edit-btn:active,
#cancelEmailBtn.edit-btn:active,
.edit-btn:active {
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white) !important;
    transform: none !important;
}

/* 邮箱编辑表单输入框拟态样式 */
#emailEditForm input[type="email"],
#emailInput {
    background: var(--background-color) !important;
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white) !important;
    border: none !important;
    border-radius: 15px !important;
    color: var(--text-li-color) !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    width: 100% !important;
}

#emailEditForm input[type="email"]:focus,
#emailInput:focus {
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white) !important;
    outline: none !important;
}

/* 修改密码表单输入框拟态样式 */
.profile-form .form-group input {
    background: var(--background-color);
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white);
    border: none;
    border-radius: 15px;
    color: var(--text-li-color);
}

.profile-form .form-group input:focus {
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white);
    outline: none;
}

/* 修改密码按钮拟态样式 */
#passwordPanel .profile-form .submit-btn,
#passwordPanel .submit-btn {
    background: var(--background-color) !important;
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.3rem var(--white) !important;
    border: none !important;
    border-radius: 15px !important;
    color: var(--text-li-color) !important;
    transition: all 0.2s;
    transform: none !important;
}

#passwordPanel .profile-form .submit-btn:hover:not(:disabled),
#passwordPanel .submit-btn:hover:not(:disabled) {
    background: var(--background-color) !important;
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white) !important;
    color: var(--text-li-color) !important;
    transform: none !important;
}

#passwordPanel .profile-form .submit-btn:active,
#passwordPanel .submit-btn:active {
    background: var(--background-color) !important;
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white) !important;
    transform: none !important;
}

#passwordPanel .profile-form .submit-btn:disabled {
    background: var(--background-color) !important;
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white) !important;
    color: var(--text-a-color) !important;
    opacity: 0.6;
}

/* 会员兑换说明板块拟态样式 */
#vipPanel > div:last-child,
#vipPanel > div[style*="margin-top: 25px"],
#vipPanel > div[style*="background: #f9fafb"],
#vipPanel > div[style*="border: 1px solid #e8e8e8"],
.redeem-instructions {
    margin-top: 25px !important;
    padding: 20px !important;
    background: var(--background-color) !important;
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.3rem var(--white) !important;
    border: none !important;
    border-radius: 15px !important;
}

#vipPanel > div:last-child h4,
#vipPanel > div[style*="margin-top: 25px"] h4,
#vipPanel > div[style*="background: #f9fafb"] h4,
#vipPanel > div[style*="border: 1px solid #e8e8e8"] h4,
.redeem-instructions h4 {
    margin: 0 0 10px 0 !important;
    font-size: 14px !important;
    color: var(--text-li-color) !important;
}

#vipPanel > div:last-child ul,
#vipPanel > div[style*="margin-top: 25px"] ul,
#vipPanel > div[style*="background: #f9fafb"] ul,
#vipPanel > div[style*="border: 1px solid #e8e8e8"] ul,
.redeem-instructions ul {
    margin: 0 !important;
    padding-left: 20px !important;
    font-size: 13px !important;
    color: var(--text-a-color) !important;
    line-height: 1.8 !important;
}

#vipPanel > div:last-child ul li,
#vipPanel > div[style*="margin-top: 25px"] ul li,
#vipPanel > div[style*="background: #f9fafb"] ul li,
#vipPanel > div[style*="border: 1px solid #e8e8e8"] ul li,
.redeem-instructions ul li {
    color: var(--text-a-color) !important;
}

/* 会员兑换按钮拟态样式 */
#redeemCodeForm .submit-btn {
    background: var(--background-color);
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.3rem var(--white);
    border: none;
    border-radius: 15px;
    color: var(--text-li-color);
    transition: box-shadow 0.2s;
}

#redeemCodeForm .submit-btn:hover {
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white);
    color: var(--text-li-color);
}

#redeemCodeForm .submit-btn:active {
    box-shadow: inset 0.2rem 0.2rem 0.4rem var(--greyLight-2), inset -0.1rem -0.1rem 0.3rem var(--white);
}

/* 我的订单显示板块拟态样式 */
#userOrdersContainer > div[style*="display: flex"],
.order-list-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

/* 覆盖所有订单项的内联样式 */
#userOrdersContainer > div > div,
#userOrdersContainer > div[style*="display: flex"] > div,
#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"],
#userOrdersContainer > div[style*="display: flex"] > div[style*="background: #fff"],
.order-item {
    background: var(--background-color) !important;
    box-shadow: 0.2rem 0.2rem 0.4rem var(--greyLight-2), -0.1rem -0.1rem 0.3rem var(--white) !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 20px !important;
    transition: all 0.2s !important;
}

#userOrdersContainer > div > div:hover,
#userOrdersContainer > div[style*="display: flex"] > div:hover,
#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"]:hover,
#userOrdersContainer > div[style*="display: flex"] > div[style*="background: #fff"]:hover,
.order-item:hover {
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white) !important;
}

/* 订单项内部元素样式覆盖 */
#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"] > div[style*="display: flex"],
.order-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 12px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"] > div[style*="flex: 1"],
.order-info {
    flex: 1 !important;
    min-width: 200px !important;
}

#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"] > div[style*="flex: 1"] > div[style*="font-size: 13px"],
.order-id {
    font-size: 13px !important;
    color: var(--text-a-color) !important;
    margin-bottom: 4px !important;
}

#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"] > div[style*="flex: 1"] > div[style*="font-size: 13px"] span,
.order-id-value {
    font-family: monospace !important;
    color: var(--text-li-color) !important;
}

#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"] > div[style*="flex: 1"] > div[style*="font-size: 14px"],
.order-title {
    font-size: 14px !important;
    color: var(--text-li-color) !important;
    font-weight: 500 !important;
    margin-top: 8px !important;
}

#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"] > div[style*="text-align: right"],
.order-price-section {
    text-align: right !important;
}

#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"] > div[style*="text-align: right"] > div[style*="font-size: 18px"],
.order-price {
    font-size: 18px !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"] > div[style*="text-align: right"] > span,
.order-status {
    padding: 4px 12px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    background: var(--background-color) !important;
    box-shadow: inset 0.1rem 0.1rem 0.2rem var(--greyLight-2), inset -0.05rem -0.05rem 0.15rem var(--white) !important;
    border: none !important;
    display: inline-block !important;
}

.order-status-paid {
    color: #2e7d32;
}

.order-status-pending {
    color: #e65100;
}

.order-status-failed {
    color: #c62828;
}

.order-status-cancelled {
    color: #757575;
}

#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"] > div[style*="display: flex"]:last-child,
.order-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 12px !important;
    border-top: 1px solid var(--greyLight-2) !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

#userOrdersContainer > div[style*="display: flex"] > div[style*="border: 1px solid"] > div[style*="display: flex"]:last-child > div[style*="font-size: 12px"],
.order-meta {
    font-size: 12px !important;
    color: var(--text-a-color) !important;
}

.order-empty-state,
.order-loading-state {
    padding: 40px;
    text-align: center;
    color: var(--text-a-color);
}

.order-empty-state > div,
.order-loading-state > div {
    font-size: 14px;
}

.dropdown-arrow {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.user-info-container:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-menu-btn {
    display: none;
    background-color: var(--background-color);
    border: none;
    color: var(--text-li-color);
    font-size: 24px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 15px;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
    transition: all .2s;
    -webkit-transition: all .2s;
}

.mobile-menu-btn:hover {
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

/* 登录注册弹窗 */
.auth-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.auth-modal-content {
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--greyDark);
    cursor: pointer;
    transition: all .2s;
    -webkit-transition: all .2s;
    line-height: 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: var(--background-color);
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
    padding: 0;
    margin: 0;
    text-align: center;
}

.close-btn::before {
    content: '';
    display: none;
}

.close-btn:hover {
    color: var(--text-li-color);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.auth-title {
    font-size: 28px;
    color: var(--text-li-color);
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-a-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.auth-modal .form-group {
    margin-bottom: 20px;
}

.auth-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-li-color);
    font-weight: 500;
    font-size: 14px;
}

.password-input-wrapper {
    position: relative;
}

.auth-modal .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 15px;
    font-size: 14px;
    transition: all .2s;
    -webkit-transition: all .2s;
    box-sizing: border-box;
    background-color: var(--background-color);
    color: var(--text-li-color);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.password-input-wrapper input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    transition: all .2s;
    -webkit-transition: all .2s;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle svg {
    width: 100%;
    height: 100%;
    transition: all .2s;
    -webkit-transition: all .2s;
}

.password-toggle svg path {
    fill: var(--greyDark);
    transition: fill .2s;
    -webkit-transition: fill .2s;
}

.password-toggle:hover svg path {
    fill: var(--primary);
}

.auth-modal .form-group input:focus {
    outline: none;
    box-shadow: inset 0.3rem 0.3rem 0.7rem var(--greyLight-2), inset -0.3rem -0.3rem 0.7rem var(--white);
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-a-color);
}

.remember-me > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
    accent-color: var(--primary);
}

.remember-me label {
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

#forgotPasswordLink {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
    -webkit-transition: color .2s;
    outline: none;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

#forgotPasswordLink:hover {
    color: var(--primary-dark);
}

#forgotPasswordLink:focus {
    outline: none;
    box-shadow: none;
}

#forgotPasswordLink:active {
    outline: none;
    box-shadow: none;
}

/* 忘记密码弹窗样式 */
.forgot-password-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.forgot-password-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password-content {
    background-color: var(--background-color);
    border-radius: 15px;
    padding: 30px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: none;
}

.forgot-password-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-li-color);
    margin: 0 0 20px 0;
    text-align: center;
}

.forgot-password-alert {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 15px;
    font-size: 14px;
    display: none;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.forgot-password-alert.success {
    background-color: #d4edda;
    color: #155724;
    border: none;
}

.forgot-password-alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: none;
}

.forgot-password-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.forgot-tab-btn {
    flex: 1;
    padding: 12px 20px;
    background-color: var(--background-color);
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-a-color);
    font-size: 15px;
    cursor: pointer;
    transition: all .2s;
    -webkit-transition: all .2s;
    margin-bottom: -2px;
    border-radius: 15px 15px 0 0;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.forgot-tab-btn:hover {
    color: var(--text-a-color);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.forgot-tab-btn.active {
    color: var(--text-a-color);
    border-bottom-color: var(--text-a-color);
    font-weight: 600;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.forgot-tab-content {
    display: none;
}

.forgot-tab-content.active {
    display: block;
}

.forgot-verify-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.forgot-verify-group input {
    flex: 1;
}

.forgot-verify-group .send-code-btn {
    white-space: nowrap;
    padding: 12px 20px;
    background-color: var(--background-color);
    color: var(--text-li-color);
    border: none;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    -webkit-transition: transform .2s, box-shadow .2s;
    min-width: 120px;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.forgot-verify-group .send-code-btn:hover {
    color: var(--text-li-color);
    transform: translateY(-2px);
    box-shadow: 0.4rem 0.4rem 0.8rem var(--greyLight-2), -0.3rem -0.3rem 0.6rem var(--white);
}

.forgot-verify-group .send-code-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

/* 忘记密码弹窗内的表单样式 */
.forgot-password-content .form-group {
    margin-bottom: 20px;
}

.forgot-password-content .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-li-color);
    font-weight: 500;
    font-size: 14px;
}

.forgot-password-content .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 15px;
    font-size: 14px;
    color: var(--text-li-color);
    background-color: var(--background-color);
    transition: all .2s;
    -webkit-transition: all .2s;
    box-sizing: border-box;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.forgot-password-content .form-group input:focus {
    outline: none;
    box-shadow: inset 0.3rem 0.3rem 0.7rem var(--greyLight-2), inset -0.3rem -0.3rem 0.7rem var(--white);
}

.forgot-password-content .form-group input::placeholder {
    color: var(--text-a-color);
}

.forgot-password-content .password-input-wrapper {
    position: relative;
}

.forgot-password-content .password-input-wrapper input {
    padding-right: 45px;
}

.forgot-password-content .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: opacity .2s;
    -webkit-transition: opacity .2s;
}

.forgot-password-content .password-toggle:hover {
    opacity: 1;
}

.forgot-password-content .password-toggle .icon {
    width: 18px;
    height: 18px;
    fill: var(--greyDark);
}

.forgot-password-content .submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--background-color);
    color: var(--text-li-color);
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    -webkit-transition: transform .2s, box-shadow .2s;
    margin-top: 10px;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.forgot-password-content .submit-btn:hover {
    color: var(--text-li-color);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.forgot-password-content .submit-btn:active {
    box-shadow: inset 0.3rem 0.3rem 0.7rem var(--greyLight-2), inset -0.3rem -0.3rem 0.7rem var(--white);
}

.forgot-password-content .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: var(--greyDark);
    cursor: pointer;
    line-height: 1;
    transition: all .2s;
    -webkit-transition: all .2s;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: var(--background-color);
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.forgot-password-content .close-btn:hover {
    color: var(--text-li-color);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.captcha-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-group input {
    flex: 1;
}

.captcha-code {
    padding: 12px 20px;
    background-color: var(--background-color);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    color: var(--text-li-color);
    text-align: center;
    min-width: 100px;
    transition: transform .2s, box-shadow .2s;
    -webkit-transition: transform .2s, box-shadow .2s;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.captcha-code:hover {
    color: var(--text-li-color);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.send-code-btn {
    padding: 12px 20px;
    background-color: var(--background-color) !important;
    color: var(--text-li-color) !important;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: transform .2s, box-shadow .2s;
    -webkit-transition: transform .2s, box-shadow .2s;
    min-width: 100px;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.send-code-btn:hover:not(:disabled) {
    color: var(--text-li-color);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.send-code-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--background-color);
    color: var(--text-li-color);
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    -webkit-transition: transform .2s, box-shadow .2s;
    margin-top: 10px;
    position: relative;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.submit-btn:hover:not(:disabled) {
    color: var(--text-li-color) !important;
    background-color: var(--background-color) !important;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.submit-btn.loading {
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(86, 94, 130, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-li-color);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 第三方登录样式 */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
    color: var(--text-a-color);
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(0,0,0,0.1);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-login-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: none;
    border-radius: 15px;
    background-color: var(--background-color);
    color: var(--text-li-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    -webkit-transition: all .2s;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.social-login-btn:hover {
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.phone-login-btn:hover {
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.qq-login-btn:hover {
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: var(--text-a-color);
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color .2s;
    -webkit-transition: color .2s;
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.auth-alert {
    padding: 12px 15px;
    border-radius: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    animation: fadeInAlert 0.3s ease;
    display: none;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

@keyframes fadeInAlert {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.auth-alert.success {
    background: #d4edda;
    color: #155724;
    border: none;
}

.auth-alert.error {
    background: #f8d7da;
    color: #721c24;
    border: none;
}

.auth-alert.info {
    background: #d1ecf1;
    color: #0c5460;
    border: none;
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

/* 服务条款文本样式 */
.terms-text {
    font-size: 12px;
    color: var(--text-a-color);
    margin-top: 15px;
    line-height: 1.6;
    text-align: center;
}

.terms-link {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
    transition: color .2s;
    -webkit-transition: color .2s;
}

.terms-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* 服务条款弹窗样式 */
.terms-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.terms-modal-content {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.terms-modal-title {
    font-size: 24px;
    color: var(--text-li-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.terms-modal-body {
    flex: 1;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-a-color);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.terms-modal-body::-webkit-scrollbar {
    width: 8px;
}

.terms-modal-body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}

.terms-modal-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.terms-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3);
}

/* 手机注册成功弹窗样式 */
.phone-register-success-content {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: none;
}

.phone-register-success-content .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: var(--greyDark);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    transition: all .2s;
    -webkit-transition: all .2s;
    background-color: var(--background-color);
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.phone-register-success-content .close-btn:hover {
    background-color: var(--background-color);
    color: var(--text-li-color);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.phone-register-success-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-li-color);
    margin: 0 0 25px 0;
    text-align: center;
    padding-right: 40px;
}

.phone-register-success-body {
    padding: 0;
}

.login-info-section {
    margin-bottom: 20px;
}

.info-title {
    font-size: 14px;
    color: var(--text-a-color);
    margin: 0 0 12px 0;
    font-weight: 500;
}

.login-info-box {
    background-color: var(--background-color);
    border: none;
    border-radius: 15px;
    padding: 15px;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.info-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: var(--text-a-color);
    min-width: 80px;
}

.info-value-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-li-color);
    letter-spacing: 0.5px;
}

.info-value-text.password-text {
    color: #f44336;
}

.warning-section {
    background: #fff9e6;
    border: none;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.warning-title {
    font-size: 14px;
    font-weight: 600;
    color: #856404;
    margin: 0 0 10px 0;
}

.warning-list {
    margin: 0;
    padding-left: 20px;
    color: #856404;
    line-height: 1.8;
    font-size: 13px;
}

.warning-list li {
    margin-bottom: 8px;
}

.warning-list li:last-child {
    margin-bottom: 0;
}

.highlight-text {
    color: #f44336;
    font-weight: 600;
}

.phone-register-success-btn {
    width: 100%;
    background-color: var(--background-color);
    color: var(--text-li-color);
    border: none;
    padding: 12px 20px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    -webkit-transition: transform .2s, box-shadow .2s;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
}

.phone-register-success-btn:hover {
    color: var(--text-li-color);
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

/* 悬浮客服按钮样式 */
.floating-service {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(20px);
    z-index: 9998;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--background-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
    transition: all .2s;
    -webkit-transition: all .2s;
    position: relative;
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
    border: none;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0); 
        box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white); 
    }
    50% { 
        transform: translateY(-10px); 
        box-shadow: 0.4rem 0.4rem 0.8rem var(--greyLight-2), -0.3rem -0.3rem 0.6rem var(--white); 
    }
}

.service-icon:hover {
    transform: scale(1.1);
    box-shadow: 0.4rem 0.4rem 0.8rem var(--greyLight-2), -0.3rem -0.3rem 0.6rem var(--white);
    animation: none;
}

.service-qrcode {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    border: none;
}

.floating-service:hover .service-qrcode {
    opacity: 1;
    visibility: visible;
    right: 85px;
    pointer-events: auto;
}

.qrcode-content {
    text-align: center;
    min-width: 200px;
}

.qrcode-content img {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    display: block;
    margin: 0 auto;
}

.qrcode-tip {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-a-color);
    font-weight: 500;
}

/* 二维码弹出箭头 */
.service-qrcode::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--background-color);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* 授权提示弹窗样式 */
.license-alert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    animation: fadeIn 0.3s ease;
    justify-content: center;
    align-items: center;
}

.license-alert-modal.active {
    display: flex;
}

.license-alert-content {
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: none;
    text-align: center;
}

.license-alert-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.license-alert-title {
    font-size: 24px;
    color: var(--text-li-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.license-alert-message {
    font-size: 16px;
    color: var(--text-a-color);
    line-height: 1.8;
    margin-bottom: 10px;
}

.license-alert-wechat {
    font-size: 18px;
    color: #07C160;
    font-weight: bold;
    margin-top: 10px;
    padding: 10px;
    background-color: var(--background-color);
    border-radius: 15px;
    display: inline-block;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

/* 桌面端样式：隐藏移动端用户信息 */
.mobile-user-info {
    display: none;
}

.mobile-controls {
    display: none;
}

@media (max-width: 768px) {
    .header {
        padding: 8px 0;
        position: fixed;
        width: 100%;
    }
    body {
        padding-top: 60px;
    }
    
    .header-container {
        padding: 0 5%;
        gap: 8px;
    }
    
    .mobile-controls {
        display: flex !important;
        align-items: center;
        gap: 6px;
    }
    
    .mobile-user-info {
        display: block !important;
    }
    
    .logo {
        font-size: 25px;
    }
    
    .logo img {
        max-height: 60px !important;
        max-width: 140px !important;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        border: none;
        border-top: none;
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
        z-index: 999;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0 0 15px 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    /* 移动端下拉菜单样式 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin: 5px 0 0 15px;
        padding: 5px 0;
        background: transparent;
        border-radius: 0;
        display: none;
    }
    
    .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-arrow-icon {
        margin-left: auto;
    }
    
    .has-dropdown > a {
        justify-content: space-between;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 24px;
        padding: 8px 10px;
        background-color: var(--background-color);
        border: none;
        color: var(--text-li-color);
        cursor: pointer;
        border-radius: 15px;
        transition: all .2s;
        -webkit-transition: all .2s;
        box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white);
    }
    
    .mobile-menu-btn:hover {
        box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
    }
    
    .mobile-login-btn {
        height: 34px;
        padding: 0 14px;
        font-size: 14px;
        margin-left: 0;
    }
    
    .login-btn {
        display: none;
    }
    
    .mobile-login-btn {
        display: block;
    }
    
    .desktop-user-info {
        display: none;
    }
    
    .mobile-user-info {
        position: relative;
    }
    
    .mobile-user-info .user-info {
        padding: 5px 10px;
        height: 34px;
        gap: 8px;
    }
    
    .mobile-user-info .user-avatar {
        width: 24px;
        height: 24px;
    }
    
    .mobile-user-info .user-name {
        font-size: 13px;
        max-width: 60px;
    }
    
    .mobile-user-info .user-badge {
        font-size: 10px;
        padding: 2px 6px;
        line-height: 1.2;
    }
    
    .mobile-user-info .dropdown-arrow {
        font-size: 10px;
        margin-left: 4px;
    }
    
    .mobile-user-info .user-text-info {
        gap: 2px;
    }
    
    /* 移动端用户下拉菜单 */
    .mobile-user-info .user-dropdown {
        right: 0;
        min-width: 140px;
        top: calc(100% + 8px);
    }
    
    .mobile-user-info .dropdown-item {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* 移动端登录注册弹窗 */
    .auth-modal-content {
        width: 95%;
        max-width: 95%;
        padding: 25px 20px;
        margin: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .auth-modal .form-group input {
        padding: 14px 15px;
        font-size: 16px;
    }
    
    .password-input-wrapper input {
        padding-right: 50px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }
    
    /* 忘记密码弹窗移动端样式 */
    .forgot-password-content {
        width: 95%;
        max-width: 95%;
        padding: 25px 20px;
        margin: 20px;
    }
    
    .forgot-password-title {
        font-size: 20px;
    }
    
    .forgot-password-tabs {
        margin-bottom: 15px;
    }
    
    .forgot-tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .forgot-verify-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .forgot-verify-group .send-code-btn {
        width: 100%;
    }
    
    .captcha-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .captcha-code {
        width: 100%;
        text-align: center;
    }
    
    /* 移动端悬浮客服按钮 */
    .floating-service {
        position: fixed;
        right: 15px;
        bottom: 80px;
        top: auto;
        transform: none;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-qrcode {
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
    }
    
    .floating-service:hover .service-qrcode {
        right: 65px;
    }
    
    .qrcode-content {
        min-width: 160px;
    }
    
    .qrcode-content img {
        width: 150px;
        height: 150px;
    }
    
    /* 移动端授权提示弹窗 */
    .license-alert-content {
        width: 95%;
        max-width: 95%;
        padding: 30px 20px;
        margin: 20px;
    }
    
    .license-alert-title {
        font-size: 20px;
    }
    
    .license-alert-message {
        font-size: 14px;
    }
    
    .license-alert-wechat {
        font-size: 16px;
    }
}

/* 顶部全站搜索按钮 - 白色拟态风格 */
.header-search-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: none !important;
    background-color: var(--background-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: box-shadow .2s !important;
    -webkit-transition: box-shadow .2s !important;
    padding: 0 !important;
    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white) !important;
}

.header-search-btn svg {
    width: 18px !important;
    height: 18px !important;
    color: var(--text-li-color) !important;
    stroke: var(--text-li-color) !important;
}

.header-search-btn:hover {
    background-color: var(--background-color) !important;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white) !important;
    transform: none !important;
}

.header-search-btn:active {
    box-shadow: inset 0.3rem 0.3rem 0.7rem var(--greyLight-2), inset -0.3rem -0.3rem 0.7rem var(--white) !important;
}

/* 全站搜索弹窗 - 白色拟态风格（覆盖 header.php 内嵌样式） */
.global-search-modal {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 11000 !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: none !important;
}

.global-search-modal.active {
    display: flex !important;
}

.global-search-content {
    width: 96% !important;
    max-width: 720px !important;
    box-sizing: border-box !important;
    padding: 30px 28px 26px !important;
    max-height: 80vh !important;
    overflow: auto !important;
    display: flex !important;
    flex-direction: column !important;
    margin: auto !important;
    position: relative !important;

    background-color: var(--background-color) !important;
    border-radius: 20px !important;
    border: none !important;
    box-shadow: none !important;
}

.global-search-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 18px !important;
}

.global-search-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--text-li-color) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.global-search-close {
    border: none !important;
    background-color: var(--background-color) !important;
    color: var(--text-a-color) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 22px !important;
    line-height: 1 !important;

    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white) !important;
    transition: box-shadow .2s !important;
    -webkit-transition: box-shadow .2s !important;
}

.global-search-close:hover {
    background-color: var(--background-color) !important;
    color: var(--text-li-color) !important;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white) !important;
}

.global-search-input-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    align-items: stretch !important;
}

.global-search-input {
    flex: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    border: none !important;
    outline: none !important;
    background-color: var(--background-color) !important;
    color: var(--text-li-color) !important;

    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white) !important;
}

.global-search-input::placeholder {
    color: var(--text-a-color) !important;
}

.global-search-input:focus {
    border: none !important;
    box-shadow: inset 0.25rem 0.25rem 0.75rem var(--greyLight-2), inset -0.25rem -0.25rem 0.75rem var(--white) !important;
}

/* 全站搜索按钮 - 白色拟态风格（完全覆盖内嵌蓝色样式） */
.global-search-btn,
.global-search-btn:link,
.global-search-btn:visited,
.global-search-btn:focus {
    border: none !important;
    border-radius: 15px !important;
    padding: 14px 24px !important;
    background: var(--background-color) !important;
    background-color: var(--background-color) !important;
    background-image: none !important;
    color: var(--text-li-color) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    align-self: center !important;
    min-width: 120px !important;
    text-decoration: none !important;
    outline: none !important;

    box-shadow: 0.3rem 0.3rem 0.6rem var(--greyLight-2), -0.2rem -0.2rem 0.5rem var(--white) !important;
    transition: box-shadow .2s !important;
    -webkit-transition: box-shadow .2s !important;
    transform: none !important;
}

.global-search-btn svg,
.global-search-btn svg * {
    width: 18px !important;
    height: 18px !important;
    color: var(--text-li-color) !important;
    stroke: var(--text-li-color) !important;
    fill: none !important;
    stroke-width: 2 !important;
}

.global-search-btn:hover,
.global-search-btn:hover:link,
.global-search-btn:hover:visited {
    background: var(--background-color) !important;
    background-color: var(--background-color) !important;
    background-image: none !important;
    color: var(--text-li-color) !important;
    transform: none !important;
    box-shadow: inset 0.2rem 0.2rem 0.6rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white) !important;
}

.global-search-btn:hover svg,
.global-search-btn:hover svg * {
    color: var(--text-li-color) !important;
    stroke: var(--text-li-color) !important;
}

.global-search-btn:active,
.global-search-btn:active:link,
.global-search-btn:active:visited {
    background: var(--background-color) !important;
    background-color: var(--background-color) !important;
    background-image: none !important;
    color: var(--text-li-color) !important;
    transform: none !important;
    box-shadow: inset 0.3rem 0.3rem 0.7rem var(--greyLight-2), inset -0.3rem -0.3rem 0.7rem var(--white) !important;
}

.global-search-btn:active svg,
.global-search-btn:active svg * {
    color: var(--text-li-color) !important;
    stroke: var(--text-li-color) !important;
}

.global-search-notice {
    margin-top: 12px !important;
    font-size: 12px !important;
    color: var(--text-a-color) !important;
    line-height: 1.7 !important;
    text-align: center !important;
}

@media (max-width: 640px) {
    .global-search-content {
        width: 95% !important;
        max-width: 95% !important;
        padding: 22px 18px 18px !important;
        border-radius: 18px !important;
    }
    .global-search-title {
        font-size: 16px !important;
    }
    .global-search-input {
        font-size: 16px !important;
    }
    .global-search-btn {
        width: 100% !important;
    }
}

