/* ===================================================================
   Hello-GPT 官网会员登录、注册与个人中心专属沉浸式样式库 (auth.css)
   设计风格：出海科技深色主题 (Dark Tech)、毛玻璃模糊 (Glassmorphism)、微霓虹光晕
=================================================================== */

/* 0. 官网独立子页面（swprice / swpersonal）顶部导航栏基础布局，避免污染首页 scoped 样式 */
.header-container.sw-standalone-header {
    width: 100%;
    background-color: rgba(6, 11, 40, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-container.sw-standalone-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    min-height: 64px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    gap: 16px;
}

.header-container.sw-standalone-header .header-content .logo-icon {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-container.sw-standalone-header .header-content .logo-icon .icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.header-container.sw-standalone-header .header-content .logo-icon .mgr-10 {
    margin-right: 10px;
}

.header-container.sw-standalone-header .header-content .menu-list {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
}

.header-container.sw-standalone-header .header-content .menu-list > a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.header-container.sw-standalone-header .header-content .menu-list .menu-item {
    height: 64px;
    line-height: 64px;
    padding: 0 4px;
    user-select: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.header-container.sw-standalone-header .header-content .menu-list .menu-item:hover,
.header-container.sw-standalone-header .header-content .menu-list .menu-item.active {
    color: #ffffff;
}

.header-container.sw-standalone-header .header-content .menu-list .menu-item.active::after {
    content: "";
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background-color: #38bdf8;
}

@media (max-width: 820px) {
    .header-container.sw-standalone-header .header-content {
        padding: 8px 16px;
        flex-wrap: wrap;
    }
    .header-container.sw-standalone-header .header-content .menu-list {
        gap: 4px 12px;
    }
    .header-container.sw-standalone-header .header-content .menu-list .menu-item {
        height: 40px;
        line-height: 40px;
        font-size: 13px;
    }
    .header-container.sw-standalone-header .header-content .menu-list .menu-item.active::after {
        bottom: 4px;
    }
}

/* 1. 顶部导航栏会员状态与按钮集成 */
.nav-auth-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: 8px;
    position: relative;
}

/* 未登录状态按钮 */
.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.4);
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.6);
    filter: brightness(1.1);
}

.nav-login-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

/* 已登录状态会员信息徽章 */
.nav-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 4px 6px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.nav-user-badge:hover {
    background: rgba(49, 46, 129, 0.6);
    border-color: #818cf8;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.45);
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
    text-transform: uppercase;
}

.nav-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-points {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    color: #34d399;
    font-size: 12px;
    font-weight: 600;
}

/* 导航栏下拉气泡菜单 */
.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: linear-gradient(160deg, #131b38 0%, #0c1228 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.2);
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1000;
    backdrop-filter: blur(16px);
    animation: authDropdownFade 0.2s ease-out forwards;
}

.nav-user-dropdown.show {
    display: flex;
}

@keyframes authDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-dropdown-item:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #ffffff;
}

.nav-dropdown-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.85;
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

.nav-dropdown-logout {
    color: #f87171 !important;
}

.nav-dropdown-logout:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
}

/* 2. 模态框全屏遮罩 */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 22, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 3. 模态框卡片主体 */
.auth-modal-card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(160deg, #131b3c 0%, #0a0f26 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 32px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(99, 102, 241, 0.25);
    position: relative;
    transform: scale(0.92) translateY(15px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    color: #f8fafc;
    max-height: 92vh;
    overflow-y: auto;
}

.auth-overlay.active .auth-modal-card {
    transform: scale(1) translateY(0);
}

/* 关闭按钮 */
.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

.auth-modal-close svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* 模态框顶部 Brand 与标题 */
.auth-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    color: #818cf8;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.auth-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.auth-modal-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

/* 4. Tab 切换胶囊条 */
.auth-tabs-nav {
    display: flex;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
    position: relative;
}

.auth-tab-btn {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    border: none;
    background: transparent;
}

.auth-tab-btn.active {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.4);
}

.auth-tab-btn:not(.active):hover {
    color: #f1f5f9;
}

/* 5. 注册特惠礼包提示条 */
.auth-gift-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 12.5px;
    color: #fef08a;
    line-height: 1.4;
}

.auth-gift-banner .gift-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* 6. 表单输入项 */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.auth-label {
    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;
}

.auth-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    width: 17px;
    height: 17px;
    fill: #64748b;
    pointer-events: none;
    transition: fill 0.2s;
}

.auth-input {
    width: 100%;
    height: 44px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0 40px 0 42px;
    color: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.25s ease;
    outline: none;
}

.auth-input:focus {
    border-color: #818cf8;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.auth-input:focus ~ .auth-input-icon {
    fill: #818cf8;
}

.auth-pwd-toggle {
    position: absolute;
    right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
}

.auth-pwd-toggle:hover {
    color: #cbd5e1;
}

.auth-pwd-toggle svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

/* 7. 主提交按钮 */
.auth-submit-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
    filter: brightness(1.1);
}

.auth-submit-btn:active {
    transform: translateY(1px);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* 加载中旋转动画 */
.auth-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: authSpin 0.8s linear infinite;
}

@keyframes authSpin {
    to {
        transform: rotate(360deg);
    }
}

/* 底部引导文案 */
.auth-switch-footer {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 18px;
}

.auth-switch-link {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    cursor: pointer;
    transition: color 0.2s;
}

.auth-switch-link:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

/* 8. 会员个人中心模态框 (User Profile Modal) */
.auth-profile-card {
    max-width: 520px;
}

.profile-top-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.profile-big-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7 0%, #3b82f6 50%, #6366f1 100%);
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    flex-shrink: 0;
}

.profile-meta-info {
    flex: 1;
    text-align: left;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.profile-username {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.profile-role-tag {
    padding: 2px 10px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 12px;
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 600;
}

.profile-uid {
    font-size: 12px;
    color: #64748b;
}

/* 积分资产面板卡片 */
.profile-assets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.asset-stat-box {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    text-align: left;
    transition: all 0.2s;
}

.asset-stat-box:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(15, 23, 42, 0.85);
}

.asset-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.asset-value {
    font-size: 24px;
    font-weight: 800;
    color: #38bdf8;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.asset-value.green {
    color: #34d399;
}

.asset-unit {
    font-size: 12px;
    color: #64748b;
    font-weight: normal;
}

/* 卡密快捷充值区 */
.profile-recharge-section {
    background: rgba(15, 23, 42, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    text-align: left;
}

.recharge-title {
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.recharge-input-row {
    display: flex;
    gap: 10px;
}

.recharge-code-input {
    flex: 1;
    height: 40px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0 14px;
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s;
}

.recharge-code-input:focus {
    border-color: #34d399;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.recharge-submit-btn {
    padding: 0 20px;
    height: 40px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

.recharge-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* 个人中心底部操作栏 */
.profile-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.profile-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #f87171;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-logout-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ffffff;
}

.profile-close-plain {
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.profile-close-plain:hover {
    color: #ffffff;
}

/* 9. 全局精致 Toast 消息提示组件 */
.auth-toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.auth-toast-item {
    pointer-events: auto;
    padding: 12px 22px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: authToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.3s, transform 0.3s;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.auth-toast-item.success {
    background: rgba(6, 78, 59, 0.9);
    border-color: #34d399;
    color: #ecfdf5;
}

.auth-toast-item.error {
    background: rgba(127, 29, 29, 0.9);
    border-color: #f87171;
    color: #fef2f2;
}

.auth-toast-item.info {
    background: rgba(30, 58, 138, 0.9);
    border-color: #60a5fa;
    color: #eff6ff;
}

.auth-toast-item.hide {
    opacity: 0;
    transform: translateY(-12px);
}

@keyframes authToastIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 640px) {
    .auth-modal-card {
        padding: 24px 20px;
        border-radius: 18px;
    }
    .profile-assets-grid {
        grid-template-columns: 1fr;
    }
    .recharge-input-row {
        flex-direction: column;
    }
    .recharge-submit-btn {
        width: 100%;
    }
    .auth-captcha-row {
        flex-direction: column;
    }
    .auth-captcha-box {
        width: 100% !important;
    }
}

/* ===================================================================
   10. SVG 算术验证码输入区与防爆破锁定提示样式
   =================================================================== */

/* 表单字段辅助说明（如字符字节长度规则提示） */
.auth-field-hint {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.4;
    margin-top: 2px;
}

/* 防爆破锁定倒计时警示框 */
.auth-lock-alert {
    display: none;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(248, 113, 113, 0.45);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 12.5px;
    color: #fecaca;
    line-height: 1.5;
    text-align: left;
}

.auth-lock-alert.show {
    display: flex;
}

.auth-lock-alert strong {
    color: #fca5a5;
}

/* 验证码组合输入行（左侧输入框 + 右侧 SVG 验证码画布） */
.auth-captcha-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.auth-captcha-input-wrap {
    flex: 1;
}

.auth-captcha-box {
    width: 148px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid rgba(129, 140, 248, 0.4);
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
    user-select: none;
}

.auth-captcha-box:hover {
    border-color: #818cf8;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}

.auth-captcha-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.auth-captcha-fallback {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 1px;
    padding: 0 8px;
    text-align: center;
}

.auth-captcha-refresh-tip {
    font-size: 11.5px;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
}

.auth-captcha-refresh-btn {
    color: #818cf8;
    cursor: pointer;
    font-weight: 600;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 11.5px;
}

.auth-captcha-refresh-btn:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

/* 个人中心弹窗底部快捷导航入口 */
.profile-quick-links {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.profile-quick-link-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #c7d2fe;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.profile-quick-link-btn:hover {
    background: rgba(99, 102, 241, 0.28);
    border-color: #818cf8;
    color: #ffffff;
}

/* ===================================================================
   11. 官网首页动态版本信息与更新日志卡片样式
   =================================================================== */

/* 首屏紧凑型版本徽章条 */
.hg-version-badge {
    margin-top: 16px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hg-version-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    border-radius: 999px;
    font-size: 12px;
}

.hg-version-sep {
    color: rgba(148, 163, 184, 0.45);
}

.hg-version-log-btn {
    color: #38bdf8;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(56, 189, 248, 0.6);
}

.hg-version-log-btn:hover {
    color: #7dd3fc;
}

/* 底部下载区域详细版本信息与更新日志卡片 */
.hg-version-card {
    margin-top: 20px;
    max-width: 520px;
    padding: 16px 20px;
    background: rgba(10, 18, 42, 0.82);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    color: #e2e8f0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 5;
}

.hg-version-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hg-version-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hg-version-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.hg-version-meta strong {
    color: #e2e8f0;
    font-weight: 600;
}

.hg-version-changelog {
    font-size: 12.5px;
    line-height: 1.65;
    color: #cbd5e1;
    max-height: 112px;
    overflow-y: auto;
    white-space: pre-line;
    padding-right: 4px;
}

/* 页面内未登录提示横幅（用于 swprice / swpersonal） */
.auth-guest-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 22px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.22) 0%, rgba(15, 23, 42, 0.88) 100%);
    border: 1px solid rgba(129, 140, 248, 0.45);
    border-radius: 14px;
    margin-bottom: 24px;
}

.auth-guest-banner-btn {
    padding: 9px 20px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45);
    transition: all 0.2s ease;
}

.auth-guest-banner-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
