/**
 * 表白墙个人中心样式
 * 版本: v1.12.0
 * 渐变彩色风格
 */

/* ========== 基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #e8f5e9 0%, #e3f2fd 50%, #fce4ec 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

/* ========== 头部样式 ========== */
.profile-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.back-btn {
    color: #666;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: #66bb6a;
}

.header-title {
    font-size: 20px;
    font-weight: 600;
    margin-left: 12px;
    background: linear-gradient(135deg, #66bb6a, #42a5f5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========== 用户信息卡片 ========== */
.user-card {
    max-width: 800px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logout-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background: linear-gradient(135deg, #ef5350, #e53935);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logout-btn:hover {
    opacity: 0.9;
}

.logout-btn i {
    margin-right: 8px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #66bb6a;
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
}

.user-details {
    flex: 1;
}

.user-nickname {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.user-qq {
    color: #999;
    font-size: 14px;
    margin-top: 4px;
}

.user-stats {
    display: flex;
    gap: 24px;
    margin-top: 12px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #66bb6a;
}

.stat-label {
    font-size: 12px;
    color: #999;
}

/* ========== 签到入口（user-stats 第三格） ========== */
.stat-checkin {
    position: relative;
    cursor: pointer;
    padding: 2px 10px;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .18s ease, transform .12s ease;
}

.stat-checkin:active {
    transform: scale(0.94);
}

.stat-checkin:hover {
    background: rgba(102, 187, 106, 0.08);
}

/* 未签到：主色高亮 + 轻微呼吸，引导点击 */
.stat-checkin:not(.is-done) .stat-value {
    color: #42a5f5;
}

.stat-checkin:not(.is-done) .stat-label {
    color: #42a5f5;
    font-weight: 600;
}

/* 已签到：收敛为常态绿 + 降低存在感 */
.stat-checkin.is-done .stat-value {
    color: #66bb6a;
}

/* 右上角未签到提示小圆点 */
.stat-dot {
    position: absolute;
    top: 1px;
    right: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff5252;
    box-shadow: 0 0 0 2px #fff;
    animation: ciDotPulse 1.8s ease-in-out infinite;
}

@keyframes ciDotPulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(1.25); opacity: .65; }
}

/* ========== 签到弹窗 ========== */
.ci-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ci-modal.active {
    display: flex;
}

.ci-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 50, 0.42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .22s ease;
}

.ci-modal.active .ci-modal-overlay {
    opacity: 1;
}

.ci-modal-card {
    position: relative;
    width: 100%;
    max-width: 320px;
    background: #fff;
    border-radius: 24px;
    padding: 26px 22px 22px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(20, 16, 50, .22);
    transform: translateY(10px) scale(.97);
    opacity: 0;
    transition: transform .24s cubic-bezier(.22, 1, .36, 1), opacity .24s ease;
}

.ci-modal.active .ci-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ci-modal-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    background: linear-gradient(135deg, #66bb6a, #42a5f5);
    box-shadow: 0 8px 20px rgba(102, 187, 106, .32);
}

.ci-modal-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.ci-modal-sub {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 18px;
}

.ci-modal-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.ci-modal-meta > div {
    flex: 1;
    background: #f6f7fb;
    border-radius: 14px;
    padding: 10px 6px;
}

.ci-modal-meta b {
    display: block;
    font-size: 19px;
    color: #66bb6a;
    line-height: 1.3;
}

.ci-modal-meta span {
    font-size: 11.5px;
    color: #999;
}

.ci-modal-btn {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 13px;
    font-size: 15.5px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #66bb6a, #42a5f5);
    box-shadow: 0 6px 16px rgba(102, 187, 106, .3);
    transition: transform .12s ease, opacity .2s ease;
}

.ci-modal-btn:active {
    transform: scale(.97);
}

.ci-modal-btn:disabled {
    background: #e8eaf0;
    color: #aaa;
    box-shadow: none;
    cursor: not-allowed;
}

.ci-modal-btn:disabled:active {
    transform: none;
}

.ci-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #f2f3f7;
    color: #888;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-modal-close:active {
    transform: scale(.9);
}

/* 深色模式 */
html[data-mode="dark"] .ci-modal-card,
html[data-mode="dark"] .ci-modal-meta > div {
    background: #23233a;
}

html[data-mode="dark"] .ci-modal-title {
    color: #eee;
}

html[data-mode="dark"] .ci-modal-close {
    background: #2e2e48;
    color: #bbb;
}

/* ========== 标签页导航 ========== */
.tabs-nav {
    max-width: 800px;
    margin: 20px auto 0;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px 16px 0 0;
    padding: 8px;
    gap: 8px;
}

.tab-item {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-item:hover {
    background: rgba(102, 187, 106, 0.1);
    color: #66bb6a;
}

.tab-item.active {
    background: linear-gradient(135deg, #66bb6a, #42a5f5);
    color: white;
}

.tab-item i {
    margin-right: 6px;
}

.notification-badge {
    background: #ef5350;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

/* ========== 通知列表 ========== */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 12px;
    transition: background 0.3s;
}

.notification-item.unread {
    background: #e3f2fd;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.notification-content {
    flex: 1;
}

.notification-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.notification-time {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* ========== 标签页内容 ========== */
.tabs-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 0 16px 16px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ========== 帖子列表 ========== */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-item {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.2s ease;
}

.post-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.post-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-item-content {
    color: #666;
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}

.post-item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    color: #999;
    font-size: 12px;
}

.post-item-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn-edit {
    background: rgba(66, 165, 245, 0.1);
    color: #42a5f5;
}

.action-btn-delete {
    background: rgba(239, 83, 80, 0.1);
    color: #ef5350;
}

/* ========== 收藏列表 ========== */
.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.favorite-item {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.favorite-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.favorite-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.favorite-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.favorite-nickname {
    font-weight: 500;
    color: #333;
}

.favorite-time {
    color: #999;
    font-size: 12px;
}

.favorite-content {
    color: #666;
    font-size: 14px;
    margin-top: 12px;
}

.favorite-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

/* ========== 设置面板 ========== */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.settings-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.settings-icon.green { background: rgba(102, 187, 106, 0.1); color: #66bb6a; }
.settings-icon.blue { background: rgba(66, 165, 245, 0.1); color: #42a5f5; }
.settings-icon.orange { background: rgba(255, 167, 38, 0.1); color: #ffa726; }
.settings-icon.red { background: rgba(239, 83, 80, 0.1); color: #ef5350; }
.settings-icon.purple { background: rgba(156, 39, 176, 0.1); color: #ab47bc; }

.settings-label {
    font-weight: 500;
    color: #333;
}

.settings-desc {
    color: #999;
    font-size: 12px;
    margin-top: 2px;
}

.settings-arrow {
    color: #999;
}

/* 夜间模式开关 */
.settings-toggle {
    width: 50px;
    height: 28px;
    background: #ddd;
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.settings-toggle.active {
    background: linear-gradient(135deg, var(--primary, #667eea), var(--secondary, #764ba2));
}

.settings-toggle .toggle-switch {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.settings-toggle.active .toggle-switch {
    transform: translateX(22px);
}

/* ========== 协议页面 ========== */
.agreement-content {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.agreement-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.agreement-text {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.agreement-text p {
    margin-bottom: 12px;
}

.agreement-text h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

/* ========== 确认弹窗 ========== */
.confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.confirm-modal.active {
    display: flex;
}

.confirm-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 16px;
}

.confirm-icon.warning {
    background: rgba(255, 167, 38, 0.1);
    color: #ffa726;
}

.confirm-icon.danger {
    background: rgba(239, 83, 80, 0.1);
    color: #ef5350;
}

.confirm-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.confirm-message {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

.confirm-buttons {
    display: flex;
    gap: 12px;
}

.confirm-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirm-btn-cancel {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
}

.confirm-btn-confirm {
    background: linear-gradient(135deg, #66bb6a, #42a5f5);
    color: white;
}

.confirm-btn-danger {
    background: #ef5350;
    color: white;
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

.empty-text {
    color: #999;
    font-size: 14px;
}

/* ========== 底部导航栏 ========== */
.bottom-nav {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 6px 16px calc(env(safe-area-inset-bottom, 0px) + 6px);
    z-index: 1000;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
    contain: layout paint;
}

/* ---------- 导航栏隐藏规则（v1.13.2） ----------
   原先这两条规则只写在 style.css 里，但个人中心 / 签到 / 关于页加载的是
   profile.css，导致 body 上虽然加了 hide-bottom-nav 类却完全不生效。
   这里补齐，保证凡是加载本样式表的页面都能正确隐藏。
   ------------------------------------------------------------------ */

/* 1) 页面级隐藏：该页整体不需要底部导航（个人中心、关于页等） */
body.hide-bottom-nav .bottom-nav,
.hide-bottom-nav .bottom-nav {
    display: none !important;
}
body.hide-bottom-nav .fab-publish,
body.hide-bottom-nav .fab-btn,
.hide-bottom-nav .fab-publish,
.hide-bottom-nav .fab-btn {
    display: none !important;
}

/* 2) 遮罩层打开时隐藏：任何弹窗/浮层打开即隐藏导航与悬浮按钮，
      全部关闭后自动恢复（由 chrome-auto-hide.js 切换 body 上的 chrome-hidden）。
      用 opacity/visibility 过渡而非 display，避免关闭瞬间闪烁；
      pointer-events:none 确保不可点击，避免误触。 */
body.chrome-hidden .bottom-nav,
body.chrome-hidden .fab-publish,
body.chrome-hidden .fab-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

/* 3) 弹窗自身的遮罩层应当高于底部导航，避免导航浮在遮罩之上 */
.modal-overlay,
.publish-overlay,
[class*="modal"] > [class*="overlay"] {
    z-index: 10050 !important;
}
.modal,
.vip-modal,
[class*="modal"]:not(.modal-overlay) {
    z-index: 10060 !important;
}

.nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #999;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px 12px;
    border-radius: 30px;
    -webkit-tap-highlight-color: transparent;
}

.nav-item:active {
    transform: scale(0.92);
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary, #667eea);
    background: rgba(var(--primary-rgb, 102, 126, 234), 0.08);
}

.nav-item i {
    font-size: 20px;
}

/* ========== 滚动条样式 ========== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 187, 106, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 187, 106, 0.5);
}

/* ========== 响应式设计 ========== */

/* 手机端（<768px） */
@media (max-width: 767px) {
    .profile-header {
        padding: 12px 16px;
    }
    
    .header-title {
        font-size: 18px;
    }
    
    .user-card {
        margin: 12px;
        padding: 16px;
        border-radius: 20px;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
    }
    
    .user-nickname {
        font-size: 20px;
    }
    
    .user-stats {
        gap: 16px;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
    .tabs-nav {
        margin: 12px 12px 0;
        flex-wrap: wrap;
    }
    
    .tab-item {
        flex: none;
        width: calc(50% - 4px);
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .tabs-content {
        margin: 0 12px;
        padding: 16px;
    }
    
    .auth-tabs {
        margin: 12px 12px 0;
    }
    
    .auth-tab {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .bottom-nav {
        padding: 6px 12px calc(env(safe-area-inset-bottom, 0px) + 6px);
    }
    
    .nav-item {
        font-size: 10px;
        padding: 2px 10px;
    }

    .nav-item i {
        font-size: 18px;
    }
    
    .settings-item {
        padding: 12px;
    }
    
    .confirm-content {
        width: 92%;
    }
}

/* 平板端（768px-1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
    .user-card {
        max-width: 700px;
    }
    
    .tabs-nav {
        max-width: 700px;
    }
    
    .tabs-content {
        max-width: 700px;
    }
    
    .auth-tabs {
        max-width: 700px;
    }
}

/* PC端（>1024px） */
@media (min-width: 1025px) {
    .user-card {
        max-width: 900px;
    }
    
    .tabs-nav {
        max-width: 900px;
    }
    
    .tabs-content {
        max-width: 900px;
    }
    
    .auth-tabs {
        max-width: 900px;
    }
    
    .bottom-nav {
        padding: 6px 16px;
    }
    
    .nav-content {
        max-width: 600px;
    }
}

/* ========== 登录/注册标签页 ========== */
.auth-tabs {
    max-width: 800px;
    margin: 20px auto 0;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px 16px 0 0;
    padding: 8px;
    gap: 8px;
}

.auth-tab {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab:hover {
    background: rgba(102, 187, 106, 0.1);
    color: #66bb6a;
}

.auth-tab.active {
    background: linear-gradient(135deg, #66bb6a, #42a5f5);
    color: white;
}

/* ========== 表单样式 ========== */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-input:focus {
    outline: none;
    border-color: #66bb6a;
    box-shadow: 0 0 0 3px rgba(102, 187, 106, 0.1);
}

.qq-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.qq-input-group .form-input {
    flex: 1;
}

.avatar-preview {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #66bb6a;
}

.publish-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #66bb6a, #42a5f5);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.publish-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ========== 动画效果 ========== */
.fade-in {
    animation: fadeIn 0.3s ease;
}

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