/* style.css */
@font-face {
    font-family: 'Digital-Play-Italic-St-1';
    src: url('fonts/Digital-Play-Italic-St-1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'faken';
    src: url('fonts/faken.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #3a86ff;
    --secondary: #8338ec;
    --accent: #ff006e;
    --text-main: #f8f9fa;
    --text-sub: #e9ecef;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --trans: all 0.3s ease;
    --sidebar-width: 240px;
    --sidebar-collapsed: 70px;
}

.dark-mode {
    --primary: #4cc9f0;
    --secondary: #4361ee;
    --accent: #f72585;
    --glass-bg: rgba(30, 30, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

/* 基础样式：适用于所有设备 */
body {
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    position: relative; /* 为伪元素提供参考 */
    overflow-x: hidden;

    /* 将 cover 和 fixed 属性拆开写，避免重复 */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 保留视差效果 */
    background-repeat: no-repeat;
}

/* 默认（电脑端）背景图 */
body {
    background-image: url('https://www.nekt.qzz.io/img/bg-pc.webp');
}

/* 手机端：当屏幕宽度小于或等于 768px 时切换 */
@media (max-width: 768px) {
    body {
        background-image: url('https://www.nekt.qzz.io/img/bg-mobile.webp');
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 这里的透明度可以保持不变或微调 */
    z-index: -2;
}

/* ========== 侧边栏（电脑端） ========== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-width);
    z-index: 1000;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backface-visibility: hidden;
    will-change: width;
    transform: translateZ(0);
}

.sidebar.no-transition {
    transition: none !important;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed);
}

.sidebar.collapsed .sidebar-header {
    padding: 0 10px 15px;
    justify-content: flex-end;
}

.sidebar.collapsed .sidebar-toggle {
    margin-left: 0;
    margin-right: 5px;
}

.sidebar.collapsed .sidebar-nav {
    padding: 0 8px;
    margin-top: 5px;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 12px 8px;
    gap: 0;
    width: 100%;
    min-width: 50px;
    margin-bottom: 4px;
}

.sidebar.collapsed .nav-icon {
    margin: 0 auto;
    width: 36px;
    height: 36px;
}

.sidebar.collapsed .nav-link:hover {
    transform: none;
}

.sidebar.collapsed .nav-link:hover .nav-icon {
    transform: scale(1.1);
}

.sidebar.collapsed .sidebar-footer {
    padding: 10px 4px;
}

.sidebar.collapsed .footer-text {
    padding: 5px;
    font-size: 0.7rem;
}

.sidebar-inner {
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.8), rgba(30, 20, 40, 0.6));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.sidebar.collapsed .sidebar-inner {
    padding: 10px 0;
}



/* 头部区域 */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 25px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 134, 255, 0.5), transparent);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.sidebar-brand:hover {
    transform: translateY(-2px);
}

.sidebar-brand i {
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sidebar-brand:hover i {
    transform: scale(1.1) rotate(10deg);
    background: rgba(58, 134, 255, 0.2);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar.collapsed .brand-text {
    opacity: 0;
    transform: translateX(-20px);
    width: 0;
}

.sidebar.collapsed .sidebar-brand i {
    display: none;
}

/* 切换按钮 */
.sidebar-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--text-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-toggle:hover {
    background: rgba(58, 134, 255, 0.2);
    color: #fff;
    border-color: rgba(58, 134, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(58, 134, 255, 0.3);
}

.sidebar-toggle i {
    transition: transform 0.35s ease;
    font-size: 1.1rem;
}

.sidebar.collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

/* 导航区域 */
.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 12px;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text-sub);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid transparent;
    backface-visibility: hidden;
    will-change: transform, background-color;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(58, 134, 255, 0.2), transparent);
    transition: width 0.4s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.2), rgba(131, 56, 236, 0.2));
    border-color: rgba(58, 134, 255, 0.3);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.15);
}

.nav-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.nav-link:hover .nav-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(58, 134, 255, 0.2);
}

.nav-link.active .nav-icon {
    background: rgba(58, 134, 255, 0.3);
    color: #fff;
}

.nav-text {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active .nav-text {
    font-weight: 600;
}

.sidebar.collapsed .nav-text {
    opacity: 0;
    transform: translateX(-10px);
    width: 0;
    overflow: hidden;
    white-space: nowrap;
}

/* 页脚区域 */
.sidebar-footer {
    padding: 20px 20px 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.sidebar-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(58, 134, 255, 0.5), transparent);
}

.footer-line {
    display: none;
}

.sidebar-footer .footer-text {
    color: var(--text-sub);
    font-size: 0.8rem;
    text-align: center;
    opacity: 1;
    transition: all 0.3s ease;
    line-height: 1.4;
    padding: 10px;
}

.sidebar-footer:hover .footer-text {
    color: #fff;
}

.sidebar.collapsed .footer-text {
    opacity: 0;
    transform: translateY(10px);
}

/* 遮罩层 */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar-overlay.show {
    opacity: 1;
}

/* ========== 主内容区 ========== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.sidebar.collapsed ~ .main-content {
    margin-left: var(--sidebar-collapsed);
}

/* ========== 移动端菜单 ========== */
.mobile-menu {
    display: none;
}

/* ========== 主题切换 ========== */
.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    transition: var(--trans);
    z-index: 998;
    box-shadow: var(--shadow);
}

.theme-switcher:hover {
    transform: rotate(30deg) scale(1.1);
}

/* ========== 容器 ========== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* ========== 头部 ========== */
.header {
    text-align: center;
    margin-bottom: 24px;
    padding-top: 20px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

/* ========== 卡片布局 ========== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;  /* 35px */
    margin-bottom: 60px;  /* 60px */
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;  /* 24px */
    box-shadow: var(--shadow);
    padding: 32px;  /* 32px */
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backface-visibility: hidden;
    will-change: transform, box-shadow, border-color;
    transform: translateZ(0);
}

.card:hover {
    transform: translateY(-8px);  /* -8px */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);  /* 增强阴影效果 */
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-card {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 30px;  /* 30px */
    padding: 40px;  /* 增加内边距 */
}

.profile-img {
    width: 140px;  /* 140px */
    height: 140px;  /* 140px */
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);  /* 边框更粗 */
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.title {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4cd964;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* 头像卡片中的社交链接样式 */
.profile-social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.profile-social-links .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.profile-social-links .social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.card-title {
    font-size: 1.3rem;  /* 1.3rem */
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;  /* 25px */
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.card-title i {
    font-size: 1.1rem;
}

.about p {
    margin-bottom: 16px;  /* 16px */
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.8;  /* 1.8 */
}

/* ========== 液态玻璃图标 ========== */
.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.05);
}

/* 冷色调液态玻璃 - 邮箱 */
.contact-icon.liquid-glass {
    background: 
        linear-gradient(135deg, rgba(200, 220, 255, 0.4) 0%, rgba(150, 180, 255, 0.2) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 8px 32px rgba(100, 150, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 暖色调液态玻璃 - 地址 */
.contact-icon.liquid-glass.warm {
    background: 
        linear-gradient(135deg, rgba(255, 220, 200, 0.4) 0%, rgba(255, 180, 150, 0.2) 100%);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 8px 32px rgba(255, 150, 100, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 玻璃光泽动画 */
.contact-icon.liquid-glass::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 60%
    );
    animation: glass-shine 8s ease-in-out infinite;
}

@keyframes glass-shine {
    0%, 100% { transform: translateX(-100%) rotate(0deg); }
    50% { transform: translateX(100%) rotate(0deg); }
}

.contact-details strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.contact-details span {
    color: var(--text-sub);
    font-size: 0.9rem;
}

.skills-grid, .hobbies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;  /* 12px */
    margin-top: 18px; /* 18px */
}

.skill, .hobby {
    padding: 8px 20px;  /* 8px 20px */
    border-radius: 50px;
    font-size: 0.9rem;  /* 0.9rem */
    font-weight: 500;
    transition: var(--trans);
}

.skill {
    background: rgba(58, 134, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(58, 134, 255, 0.3);
}

.hobby {
    background: rgba(255, 0, 110, 0.15);
    color: var(--accent);
    border: 1px solid rgba(255, 0, 110, 0.3);
}

.site-age-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.age-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.age-label {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 6px;
}

.age-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.age-detail {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-top: 4px;
}

.quote-card {
    grid-column: 1 / -1;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    position: relative;
    padding: 32px;
    transition: all 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.refresh-quote {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--trans);
}

.refresh-quote:hover {
    transform: rotate(180deg);
    background: var(--primary);
    color: #fff;
}

.dark-mode .refresh-quote {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.quote-text {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 12px;
    min-height: 50px;
}

.quote-author {
    text-align: right;
    color: var(--text-sub);
    font-size: 0.9rem;
}

/* 时钟字体样式 */
.clock-font {
    font-family: 'Digital-Play-Italic-St-1', 'Courier New', monospace;
    font-weight: bold;
}

/* ========== 页脚 ========== */
.footer {
    margin-top: 40px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.visit-stats {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 20px 24px;
    display: inline-flex;
    gap: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.visit-stats:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

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

.stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-sub);
    display: block;
    margin-top: 2px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: var(--trans);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
}

.cooperators {
    margin: 30px auto;
    padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    text-align: center;
    max-width: 800px;
    width: fit-content;
    min-width: 300px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cooperators::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(58, 134, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: coop-shine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes coop-shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.cooperators:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(58, 134, 255, 0.5);
}

.coop-label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.cooperators-title {
    display: block;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-text 3s ease infinite;
}

@keyframes rainbow-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.coop-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.coop-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.coop-list a span {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-text 3s ease infinite;
}

.coop-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(58, 134, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.coop-list a:hover::before {
    left: 100%;
}

.coop-list a:hover {
    background: rgba(58, 134, 255, 0.15);
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(58, 134, 255, 0.3);
    color: var(--primary);
}

.coop-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(58, 134, 255, 0.3);
}

.coop-list a:hover .coop-avatar {
    transform: scale(1.2) rotate(15deg);
    box-shadow: 0 4px 12px rgba(58, 134, 255, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cooperators {
        padding: 20px;
        margin: 20px auto;
    }
    
    .coop-list {
        gap: 10px;
    }
    
    .coop-list a {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .coop-avatar {
        width: 28px;
        height: 28px;
    }
}

.footer-friends {
    margin: 30px 0;
    padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-friends::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(131, 56, 236, 0.1), transparent);
    transform: rotate(-45deg);
    animation: friend-shine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes friend-shine {
    0% { transform: translateX(100%) rotate(-45deg); }
    100% { transform: translateX(-100%) rotate(-45deg); }
}

.footer-friends:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(131, 56, 236, 0.5);
}

.footer-friends-title {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.footer-friends-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.footer-friend-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-friend-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(131, 56, 236, 0.2), transparent);
    transition: left 0.6s ease;
}

.footer-friend-item:hover::before {
    left: 100%;
}

.footer-friend-item:hover {
    background: rgba(131, 56, 236, 0.15);
    border-color: var(--secondary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(131, 56, 236, 0.3);
    color: var(--secondary);
}

.footer-friend-item img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(131, 56, 236, 0.3);
}

.footer-friend-item:hover img {
    transform: scale(1.2) rotate(-15deg);
    box-shadow: 0 4px 12px rgba(131, 56, 236, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-friends {
        padding: 20px;
        margin: 20px 0;
    }
    
    .footer-friends-list {
        gap: 10px;
    }
    
    .footer-friend-item {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .footer-friend-item img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 768px) {
    .visit-stats {
        padding: 16px 20px;
        gap: 16px;
    }
    
    .cooperators {
        padding: 20px;
        max-width: 90%;
        margin: 15px auto;
    }
    
    .coop-list {
        gap: 10px;
    }
    
    .coop-list a {
        padding: 8px 14px;
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .coop-avatar {
        width: 18px;
        height: 18px;
    }
    
    .footer-friends {
        padding: 20px;
        max-width: 90%;
        margin: 15px auto;
    }
    
    .footer-friends-list {
        gap: 10px;
    }
    
    .footer-friend-item {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .footer-friend-item img {
        width: 18px;
        height: 18px;
    }
}

.footer-text {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-top: 20px;
}

.icp-container {
    margin-top: 15px;
}

.icp-link {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 0.8rem;
    transition: var(--trans);
}

.icp-link:hover {
    color: var(--primary);
}

/* 文件系统样式 */
.file-system {
    margin-top: 20px;
}

.folder-item {
    margin-bottom: 15px;
}

.folder-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.folder-header:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.folder-header i {
    margin-right: 12px;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.folder-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-main);
}

.folder-size {
    color: var(--text-sub);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-left: 10px;
}

.folder-content {
    margin-left: 24px;
    margin-top: 10px;
    padding-left: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.file-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.file-item i {
    margin-right: 12px;
    color: var(--primary);
    flex-shrink: 0;
}

.file-name {
    flex: 1;
    color: var(--text-main);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    color: var(--text-sub);
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-left: 10px;
    white-space: nowrap;
}

.download-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-left: 10px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.download-link:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.download-link i {
    margin-right: 6px;
    color: white;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin: 15% auto;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-close {
    color: var(--text-sub);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--text-main);
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    margin-bottom: 20px;
}

.modal-body p {
    color: var(--text-sub);
    margin-bottom: 16px;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.download-option i {
    margin-right: 12px;
    color: var(--primary);
    font-size: 1.2rem;
}

.extraction-code {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.extraction-code strong {
    color: var(--text-main);
}

.extraction-code span {
    color: var(--primary);
    font-weight: 600;
    margin-left: 10px;
}

.copy-btn {
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--secondary);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

.modal-close-btn {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-sub);
}

.error {
    padding: 40px;
    text-align: center;
    color: var(--accent);
}

/* ========== 移动端适配 ========== */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .sidebar.collapsed {
        width: 280px;
    }
    
    .sidebar.collapsed .brand-text,
    .sidebar.collapsed .nav-text,
    .sidebar.collapsed .footer-text {
        opacity: 1;
        transform: none;
        width: auto;
        display: inline;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar.collapsed ~ .main-content {
        margin-left: 0;
    }
    
    .mobile-menu {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
    }
    
    .menu-toggle {
        width: 48px;
        height: 48px;
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: var(--trans);
        box-shadow: var(--shadow);
        padding: 12px;
    }
    
    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(1.05);
    }
    
    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary);
        margin: 2px 0;
        transition: var(--trans);
        border-radius: 1px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .menu-dropdown {
        position: absolute;
        top: 60px;
        left: 0;
        width: 200px;
        background: var(--glass-bg);
        backdrop-filter: blur(15px);
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        box-shadow: var(--shadow);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--trans);
    }
    
    .menu-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .menu-item {
        display: flex;
        align-items: center;
        padding: 14px 20px;
        color: var(--text-main);
        text-decoration: none;
        transition: var(--trans);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-item:last-child {
        border-bottom: none;
    }
    
    .menu-item:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 25px;
    }
    
    .menu-item i {
        margin-right: 12px;
        width: 20px;
        text-align: center;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
    
    /* 移动端文件列表样式 */
    .file-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .file-name {
        flex: 1 1 calc(100% - 120px);
        min-width: 0;
    }
    
    .file-size {
        flex: 1 1 auto;
        margin-left: 0;
        margin-right: 10px;
    }
    
    .download-link {
        flex: 1 1 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        grid-column: 1;
        flex-direction: column;
        text-align: center;
    }
    
    .header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .site-age-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 页面加载动画 ========== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loader-text {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ========== Waline 液态玻璃主题 ========== */
.waline-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

/* Waline 加载动画 */
.waline-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.waline-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Waline 自定义样式 - 液态玻璃效果 */
:root {
    --waline-bg-color: transparent;
    --waline-bg-color-light: transparent;
    --waline-bg-color-hover: rgba(255,255,255,0.05);
    --waline-border-color: rgba(255,255,255,0.15);
    --walline-color: #f8f9fa;
    --waline-theme-color: #3a86ff;
    --waline-active-color: #4cc9f0;
    --waline-text-color: #f8f9fa;
    --waline-info-color: rgba(255,255,255,0.6);
    --waline-info-bg-color: rgba(255,255,255,0.08);
    --waline-badge-color: rgba(255,255,255,0.8);
    --waline-badge-font-size: 0.75em;
    --waline-avatar-radius: 50%;
    --waline-box-shadow: none;
}

/* Waline 主容器 */
.wl-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 输入框液态玻璃效果 */
.wl-editor {
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 12px !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.wl-editor:focus {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.3) !important;
    box-shadow: 0 0 20px rgba(58,134,255,0.2);
}

/* 预览区域 */
.wl-preview {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
}

/* 按钮样式 */
.wl-btn {
    background: linear-gradient(135deg, rgba(58,134,255,0.8), rgba(131,56,236,0.8)) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 10px 24px !important;
    transition: all 0.3s ease;
}

.wl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58,134,255,0.4);
}

.wl-btn:disabled {
    opacity: 0.5;
}

/* 评论列表 */
.wl-panel {
    margin-top: 20px;
}

.wl-comment-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.wl-comment-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    transform: translateX(5px);
}

/* 昵称和头像 */
.wl-nick {
    color: var(--primary) !important;
    font-weight: 600;
}

.wl-avatar {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.wl-avatar:hover {
    transform: scale(1.1);
}

/* 评论内容 */
.wl-content {
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.8;
}

.wl-content p {
    margin: 10px 0;
}

/* 时间和元信息 */
.wl-time {
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.85rem;
}

/* 回复按钮 */
.wl-reply {
    color: var(--primary) !important;
    opacity: 0.8;
    transition: all 0.3s;
}

.wl-reply:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* 点赞 */
.wl-like {
    color: rgba(255,255,255,0.6) !important;
}

.wl-like.active {
    color: var(--accent) !important;
}

/* 标签和徽章 */
.wl-badge {
    background: linear-gradient(135deg, rgba(255,0,110,0.3), rgba(255,0,110,0.1)) !important;
    border: 1px solid rgba(255,0,110,0.3) !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 2px 10px !important;
    font-size: 0.75rem !important;
}

/* 表情选择器 */
.wl-emoji-popup {
    background: rgba(30,30,40,0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3) !important;
}

/* 页码 */
.wl-pagination {
    margin-top: 20px;
}

.wl-pagination button {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 8px !important;
    transition: all 0.3s;
}

.wl-pagination button:hover {
    background: rgba(255,255,255,0.15) !important;
}

.wl-pagination button:disabled {
    opacity: 0.3;
}

.wl-pagination button.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* 空状态 */
.wl-empty {
    color: rgba(255,255,255,0.5) !important;
    padding: 40px 20px !important;
}

/* 实用站点图标样式 */
.websites-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.website-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.website-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.website-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.website-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.website-info {
    flex: 1;
    min-width: 0;
}

.website-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.website-info p {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 登录按钮 */
.wl-login-btn {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border-radius: 8px !important;
}

/* 下拉菜单 */
.wl-select {
    background: rgba(30,30,40,0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    color: #fff !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .waline-card {
        padding: 20px;
    }
    
    .wl-comment-item {
        padding: 15px;
    }
}

/* ========== 评论区折叠样式 ========== */
.waline-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.4s ease;
}

.waline-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.waline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
}

.waline-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(58, 134, 255, 0.1), transparent);
    transition: width 0.3s ease;
}

.waline-header:hover::before {
    width: 100%;
}

.waline-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.waline-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.waline-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.waline-card.expanded .waline-toggle {
    background: var(--primary);
    border-color: var(--primary);
}

.comment-count {
    margin-left: 8px;
    padding: 2px 10px;
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid rgba(255, 0, 110, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
    animation: count-pop 0.3s ease;
}

@keyframes count-pop {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.waline-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.waline-card.expanded .waline-content {
    padding: 0 24px 24px;
}

/* 提示展开的文字 */
.waline-hint {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    opacity: 1;
    transition: opacity 0.3s;
}

.waline-card.expanded .waline-hint,
.waline-header:hover .waline-hint {
    opacity: 0;
}

/* Waline 加载动画 */
.waline-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.waline-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 未展开时的提示 */
.waline-collapsed-hint {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.waline-collapsed-hint i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: rgba(255, 255, 255, 0.3);
}

/* ========== Waline 液态玻璃主题（原有） ========== */
:root {
    --waline-bg-color: transparent;
    --waline-bg-color-light: transparent;
    --waline-bg-color-hover: rgba(255,255,255,0.05);
    --waline-border-color: rgba(255,255,255,0.15);
    --waline-color: #f8f9fa;
    --waline-theme-color: #3a86ff;
    --waline-active-color: #4cc9f0;
    --waline-text-color: #f8f9fa;
    --waline-info-color: rgba(255,255,255,0.6);
    --waline-info-bg-color: rgba(255,255,255,0.08);
    --waline-badge-color: rgba(255,255,255,0.8);
    --waline-badge-font-size: 0.75em;
    --waline-avatar-radius: 50%;
    --waline-box-shadow: none;
}

.wl-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.wl-editor {
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 12px !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.wl-editor:focus {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.3) !important;
    box-shadow: 0 0 20px rgba(58,134,255,0.2);
}

.wl-preview {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
}

.wl-btn {
    background: linear-gradient(135deg, rgba(58,134,255,0.8), rgba(131,56,236,0.8)) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 10px 24px !important;
    transition: all 0.3s ease;
}

.wl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58,134,255,0.4);
}

.wl-panel {
    margin-top: 20px;
}

.wl-comment-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.wl-comment-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    transform: translateX(5px);
}

.wl-nick {
    color: var(--primary) !important;
    font-weight: 600;
}

.wl-avatar {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.wl-avatar:hover {
    transform: scale(1.1);
}

.wl-content {
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.8;
}

.wl-time {
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.85rem;
}

.wl-reply {
    color: var(--primary) !important;
    opacity: 0.8;
    transition: all 0.3s;
}

.wl-reply:hover {
    opacity: 1;
    transform: scale(1.05);
}

.wl-badge {
    background: linear-gradient(135deg, rgba(255,0,110,0.3), rgba(255,0,110,0.1)) !important;
    border: 1px solid rgba(255,0,110,0.3) !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 2px 10px !important;
    font-size: 0.75rem !important;
}

.wl-emoji-popup {
    background: rgba(30,30,40,0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3) !important;
}

.wl-pagination button {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 8px !important;
    transition: all 0.3s;
}

.wl-pagination button:hover {
    background: rgba(255,255,255,0.15) !important;
}

.wl-pagination button.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.wl-empty {
    color: rgba(255,255,255,0.5) !important;
    padding: 40px 20px !important;
}

@media (max-width: 768px) {
    .waline-card {
        padding: 0;
    }
    
    .waline-header {
        padding: 16px 20px;
    }
    
    .waline-card.expanded .waline-content {
        padding: 0 20px 20px;
    }
    
    .waline-hint {
        display: none;
    }
}

/* ========== 评论区样式（亮色模式默认） ========== */
.waline-card {
    background: rgba(255, 255, 255, 0.55);  /* 更高的透明度 */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

.waline-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

.waline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    border-bottom: 1px solid transparent;
}

.waline-card.expanded .waline-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.waline-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(58, 134, 255, 0.1), transparent);
    transition: width 0.3s ease;
}

.waline-header:hover::before {
    width: 100%;
}

.waline-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.waline-header .card-title {
    color: #333;
}

.waline-header .card-title i {
    color: #3a86ff;
}

.waline-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.waline-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.waline-card.expanded .waline-toggle {
    background: #3a86ff;
    border-color: #3a86ff;
    color: #fff;
}

.comment-count {
    margin-left: 8px;
    padding: 2px 10px;
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid rgba(255, 0, 110, 0.2);
    border-radius: 20px;
    color: #ff006e;
    font-size: 0.8rem;
    font-weight: 500;
    animation: count-pop 0.3s ease;
}

@keyframes count-pop {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.waline-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.waline-card.expanded .waline-content {
    max-height: none;
    padding: 24px;
}

.waline-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
}

.waline-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: #3a86ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========== Waline 亮色主题（默认） ========== */
:root {
    --waline-bg-color: transparent;
    --waline-bg-color-light: transparent;
    --waline-bg-color-hover: rgba(0, 0, 0, 0.03);
    --waline-border-color: rgba(0, 0, 0, 0.1);
    --waline-color: #333;
    --waline-theme-color: #3a86ff;
    --waline-active-color: #2563eb;
    --waline-text-color: #333;
    --waline-info-color: rgba(0, 0, 0, 0.5);
    --waline-info-bg-color: rgba(0, 0, 0, 0.05);
    --waline-badge-color: #666;
    --waline-avatar-radius: 50%;
    --waline-box-shadow: none;
}

.wl-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.wl-editor {
    background: rgba(0, 0, 0, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    color: #333 !important;
    transition: all 0.3s ease;
}

.wl-editor:focus {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: #3a86ff !important;
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
}

.wl-editor::placeholder {
    color: rgba(0, 0, 0, 0.4) !important;
}

.wl-preview {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
}

.wl-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px !important;
    color: #333 !important;
    padding: 10px 24px !important;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 玻璃光泽动画 */
.wl-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 60%
    );
    animation: glass-shine 6s ease-in-out infinite;
    pointer-events: none;
}

.wl-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
    transform: translateY(-2px);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05),
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.wl-btn:active {
    transform: translateY(0);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.08);
}

.wl-panel {
    margin-top: 20px;
}

.wl-comment-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.wl-comment-item:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.wl-nick {
    color: #3a86ff !important;
    font-weight: 600;
}

.wl-avatar {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wl-avatar:hover {
    transform: scale(1.1);
}

.wl-content {
    color: #444 !important;
    line-height: 1.8;
}

.wl-content p {
    margin: 10px 0;
}

.wl-time {
    color: rgba(0, 0, 0, 0.4) !important;
    font-size: 0.85rem;
}

.wl-reply {
    color: #3a86ff !important;
    opacity: 0.8;
    transition: all 0.3s;
}

.wl-reply:hover {
    opacity: 1;
    transform: scale(1.05);
}

.wl-like {
    color: rgba(0, 0, 0, 0.4) !important;
}

.wl-like.active {
    color: #ff006e !important;
}

.wl-badge {
    background: rgba(255, 0, 110, 0.1) !important;
    border: 1px solid rgba(255, 0, 110, 0.2) !important;
    color: #ff006e !important;
    border-radius: 20px !important;
    padding: 2px 10px !important;
    font-size: 0.75rem !important;
}

.wl-emoji-popup {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.wl-pagination button {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #333 !important;
    border-radius: 8px !important;
    transition: all 0.3s;
}

.wl-pagination button:hover {
    background: rgba(0, 0, 0, 0.08) !important;
}

.wl-pagination button.active {
    background: #3a86ff !important;
    border-color: #3a86ff !important;
    color: #fff !important;
}

.wl-empty {
    color: rgba(0, 0, 0, 0.4) !important;
    padding: 40px 20px !important;
}

/* ========== 深色模式下的评论区 ========== */
.dark-mode .waline-card {
    background: rgba(30, 30, 40, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .waline-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .waline-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .waline-header .card-title {
    color: #fff;
}

.dark-mode .waline-header::before {
    background: linear-gradient(90deg, rgba(58, 134, 255, 0.2), transparent);
}

.dark-mode .waline-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.dark-mode .waline-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .waline-loading {
    color: rgba(255, 255, 255, 0.6);
}

.dark-mode .waline-spinner {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: #4cc9f0;
}

/* 深色模式 Waline 变量 */
.dark-mode {
    --waline-bg-color: transparent;
    --waline-bg-color-light: transparent;
    --waline-bg-color-hover: rgba(255, 255, 255, 0.05);
    --waline-border-color: rgba(255, 255, 255, 0.15);
    --waline-color: #f8f9fa;
    --waline-theme-color: #4cc9f0;
    --waline-active-color: #3a86ff;
    --waline-text-color: #f8f9fa;
    --waline-info-color: rgba(255, 255, 255, 0.6);
    --waline-info-bg-color: rgba(255, 255, 255, 0.08);
    --waline-badge-color: rgba(255, 255, 255, 0.8);
}

.dark-mode .wl-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.dark-mode .wl-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.25),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.dark-mode .wl-editor {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

.dark-mode .wl-editor:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #4cc9f0 !important;
    box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.2);
}

.dark-mode .wl-editor::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.dark-mode .wl-preview {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .wl-comment-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .wl-comment-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.dark-mode .wl-content {
    color: rgba(255, 255, 255, 0.9) !important;
}

.dark-mode .wl-time {
    color: rgba(255, 255, 255, 0.5) !important;
}

.dark-mode .wl-nick {
    color: #4cc9f0 !important;
}

.dark-mode .wl-reply {
    color: #4cc9f0 !important;
}

.dark-mode .wl-pagination button {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

.dark-mode .wl-emoji-popup {
    background: rgba(30, 30, 40, 0.98) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .wl-empty {
    color: rgba(255, 255, 255, 0.4) !important;
}

@media (max-width: 768px) {
    .waline-card {
        padding: 0;
    }
    
    .waline-header {
        padding: 16px 20px;
    }
    
    .waline-card.expanded .waline-content {
        padding: 20px;
    }
}

/* ========== Waline 插件增强 ========== */

/* 图片预览插件样式优化 */
.wl-image-preview-overlay {
    backdrop-filter: blur(20px) !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    z-index: 10000 !important;
}

.wl-image-preview-container img {
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.dark-mode .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wl-image-preview-close {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 44px !important;
    height: 44px !important;
    transition: all 0.3s ease;
}

.wl-image-preview-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1);
}

/* 用户资料弹窗样式 */
.wl-user-popup {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    padding: 20px !important;
}

.wl-user-popup-avatar {
    border: 3px solid #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease;
}

.wl-user-popup-avatar:hover {
    transform: scale(1.05) rotate(5deg);
}

.wl-user-popup-name {
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.wl-user-popup-meta {
    color: #666 !important;
    font-size: 0.85rem !important;
}

/* 最近评论卡片 */
.recent-comments-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.waline-recent-list {
    padding: 10px 0;
    min-height: 100px;
}

.recent-comment-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.recent-comment-item:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.recent-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.recent-comment-content {
    flex: 1;
    min-width: 0;
}

.recent-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.recent-comment-nick {
    font-weight: 600;
    color: #3a86ff;
    font-size: 0.9rem;
}

.recent-comment-time {
    font-size: 0.75rem;
    color: rgba(200, 200, 200, 0.4);
}

.recent-comment-text {
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.recent-comment-page {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.4);
    text-decoration: none;
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    transition: all 0.2s;
}

.recent-comment-page:hover {
    background: rgba(58, 134, 255, 0.1);
    color: #3a86ff;
}

.recent-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: rgba(0, 0, 0, 0.5);
    gap: 10px;
}

.recent-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: #3a86ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 深色模式下的插件样式 */
.dark-mode .wl-image-preview-overlay {
    background-color: rgba(0, 0, 0, 0.95) !important;
}

.dark-mode .wl-user-popup {
    background: rgba(30, 30, 40, 0.98) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .wl-user-popup-name {
    color: #fff !important;
}

.dark-mode .wl-user-popup-meta {
    color: rgba(255, 255, 255, 0.6) !important;
}

.dark-mode .recent-comment-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .recent-comment-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.dark-mode .recent-comment-nick {
    color: #4cc9f0;
}

.dark-mode .recent-comment-text {
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .recent-comment-page {
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.dark-mode .recent-comment-page:hover {
    background: rgba(76, 201, 240, 0.2);
    color: #4cc9f0;
}

.dark-mode .recent-loading {
    color: rgba(255, 255, 255, 0.5);
}

.dark-mode .recent-spinner {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: #4cc9f0;
}

/* 评论输入框拖拽上传提示 */
.wl-editor-wrap {
    position: relative;
}

.wl-editor-wrap::before {
    content: '💡 提示：支持拖拽图片到此处直接上传';
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
}

.wl-editor-wrap:focus-within::before {
    opacity: 1;
}

.dark-mode .wl-editor-wrap::before {
    color: rgba(255, 255, 255, 0.4);
}

/* 字数统计样式优化 */
.wl-word-count {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
}

.wl-word-count.near-limit {
    color: #ff9500;
    font-weight: 600;
}

.wl-word-count.over-limit {
    color: #ff3b30;
    font-weight: 600;
}

.dark-mode .wl-word-count {
    color: rgba(255, 255, 255, 0.5);
}

.dark-mode .wl-word-count.near-limit {
    color: #ffcc00;
}

.dark-mode .wl-word-count.over-limit {
    color: #ff453a;
}
/* ========== Waline 反应功能 ========== */
.reaction-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.waline-reaction-container {
    padding: 20px 0;
}

.reaction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 10px;
}

.reaction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.03);
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.reaction-btn:hover:not(:disabled) {
    background: rgba(58, 134, 255, 0.1);
    border-color: rgba(58, 134, 255, 0.3);
    transform: translateY(-3px);
}

.reaction-btn.active {
    background: rgba(58, 134, 255, 0.15);
    border-color: #3a86ff;
    cursor: default;
}

.reaction-emoji {
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.reaction-btn:hover:not(:disabled) .reaction-emoji {
    transform: scale(1.2);
}

.reaction-text {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.reaction-btn.active .reaction-text {
    color: #3a86ff;
    font-weight: 600;
}

.reaction-count {
    font-size: 0.8rem;
    color: #000;
    background: rgba(0,0,0,0.05);
    padding: 3px 10px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.reaction-btn.active .reaction-count {
    background: #3a86ff;
    color: #fff;
}

.reaction-loading {
    text-align: center;
    padding: 40px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

/* 深色模式反应样式 */
.dark-mode .reaction-btn {
    background: rgba(255, 255, 255, 0.05);
}

.dark-mode .reaction-btn:hover:not(:disabled) {
    background: rgba(76, 201, 240, 0.15);
    border-color: rgba(76, 201, 240, 0.4);
}

.dark-mode .reaction-btn.active {
    background: rgba(76, 201, 240, 0.2);
    border-color: #4cc9f0;
}

.dark-mode .reaction-text {
    color: rgba(255, 255, 255, 0.7);
}

.dark-mode .reaction-btn.active .reaction-text {
    color: #4cc9f0;
}

.dark-mode .reaction-count {
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.dark-mode .reaction-btn.active .reaction-count {
    background: #4cc9f0;
    color: #000;
}

.dark-mode .reaction-loading {
    color: rgba(255, 255, 255, 0.5);
}

/* ========== 最近留言样式 ========== */
.recent-comments-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.waline-recent-list {
    padding: 10px 0;
    min-height: 100px;
}

.recent-comment-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.recent-comment-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.recent-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.recent-comment-content {
    flex: 1;
    min-width: 0;
}

.recent-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.recent-comment-nick {
    font-weight: 600;
    color: #3a86ff;
    font-size: 0.9rem;
}

.recent-comment-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.recent-comment-text {
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.recent-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: rgba(0, 0, 0, 0.5);
    gap: 10px;
}

.recent-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: #3a86ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 深色模式最近留言 */
.dark-mode .recent-comment-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .recent-comment-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.dark-mode .recent-comment-nick {
    color: #4cc9f0;
}

.dark-mode .recent-comment-time {
    color: rgba(255, 255, 255, 0.4);
}

.dark-mode .recent-comment-text {
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .recent-loading {
    color: rgba(255, 255, 255, 0.5);
}

.dark-mode .recent-spinner {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: #4cc9f0;
}

/* ========== 标签红色样式 ========== */
.wl-badge {
    background: #ff3b30 !important;
    border-color: #ff3b30 !important;
    color: #fff !important;
}

.dark-mode .wl-badge {
    background: #ff453a !important;
    border-color: #ff453a !important;
}

/* ========== 评论区折叠样式 ========== */
.waline-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.4s ease;
}

.waline-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.waline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    border-bottom: 1px solid transparent;
}

.waline-card.expanded .waline-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.waline-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(58, 134, 255, 0.15), transparent);
    transition: width 0.3s ease;
}

.waline-header:hover::before {
    width: 100%;
}

.waline-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.waline-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.waline-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.waline-card.expanded .waline-toggle {
    background: var(--primary);
    border-color: var(--primary);
}

.comment-count {
    margin-left: 8px;
    padding: 2px 10px;
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid rgba(255, 0, 110, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
    animation: count-pop 0.3s ease;
}

@keyframes count-pop {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.waline-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.waline-card.expanded .waline-content {
    max-height: none;
    opacity: 1;
    padding: 0 24px 24px;
}

.waline-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.waline-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========== 网站列表样式 ========== */
.websites-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.website-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--trans);
}

.website-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.website-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--trans);
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.2), rgba(131, 56, 236, 0.2));
    border: 1px solid rgba(58, 134, 255, 0.3);
}

.website-item:hover .website-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.3), rgba(131, 56, 236, 0.3));
    border-color: rgba(58, 134, 255, 0.5);
}

.website-info {
    flex: 1;
    min-width: 0;
}

.website-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.website-info p {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin: 0;
    line-height: 1.4;
}

/* 深色模式下的网站列表样式 */
.dark-mode .website-item {
    background: rgba(30, 30, 40, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .website-item:hover {
    background: rgba(40, 40, 50, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .website-icon {
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.2), rgba(67, 97, 238, 0.2));
    border-color: rgba(76, 201, 240, 0.3);
}

.dark-mode .website-item:hover .website-icon {
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.3), rgba(67, 97, 238, 0.3));
    border-color: rgba(76, 201, 240, 0.5);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .website-item {
        padding: 12px;
    }
    
    .website-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .website-info h4 {
        font-size: 0.9rem;
    }
    
    .website-info p {
        font-size: 0.8rem;
    }
}

/* 亮色模式评论区适配 */
@media (prefers-color-scheme: light) {
    .waline-card {
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(0, 0, 0, 0.08);
    }
    
    .waline-header {
        border-bottom-color: rgba(0, 0, 0, 0.05);
    }
    
    .waline-toggle {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.1);
        color: #333;
    }
    
    .waline-loading {
        color: rgba(0, 0, 0, 0.6);
    }
    
    .waline-spinner {
        border-color: rgba(0, 0, 0, 0.1);
        border-top-color: #3a86ff;
    }
}

/* 动画关键帧 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== 下载站样式 ==========

/* 文件系统样式 */
.file-system {
    margin-top: 20px;
}

.folder-item {
    margin-bottom: 10px;
}

.folder-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
}

.folder-header:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.folder-header i {
    color: var(--primary);
    font-size: 1.2rem;
}

.folder-name {
    flex: 1;
    font-weight: 500;
}

.folder-size {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.folder-content {
    margin-left: 30px;
    margin-top: 8px;
    padding-left: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.file-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    gap: 10px;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.file-item i {
    color: var(--accent);
    font-size: 1rem;
}

.file-name {
    flex: 1;
}

.file-size {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-right: 15px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.8), rgba(131, 56, 236, 0.8));
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 134, 255, 0.4);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin: 15% auto;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: var(--primary);
    margin: 0;
}

.modal-close {
    color: var(--text-sub);
    float: right;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-body {
    margin-bottom: 20px;
}

.download-options {
    margin-top: 15px;
}

.download-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.download-option:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.download-option i {
    color: var(--primary);
    font-size: 1.2rem;
}

.extraction-code {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-top: 10px;
}

.extraction-code strong {
    color: var(--text-main);
}

.extraction-code span {
    flex: 1;
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.copy-btn {
    padding: 6px 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.modal-footer {
    text-align: right;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 深色模式下的下载站样式 */
.dark-mode .folder-header {
    background: rgba(30, 30, 40, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

.dark-mode .folder-header:hover {
    background: rgba(40, 40, 50, 0.7);
}

.dark-mode .folder-content {
    border-left-color: rgba(255, 255, 255, 0.15);
}

.dark-mode .file-item {
    background: rgba(30, 30, 40, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .file-item:hover {
    background: rgba(40, 40, 50, 0.5);
}

.dark-mode .modal-content {
    background: rgba(30, 30, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.dark-mode .download-option {
    background: rgba(30, 30, 40, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

.dark-mode .download-option:hover {
    background: rgba(40, 40, 50, 0.7);
}

.dark-mode .extraction-code {
    background: rgba(30, 30, 40, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .extraction-code span {
    background: rgba(255, 255, 255, 0.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .folder-header {
        padding: 10px 14px;
    }
    
    .file-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .file-size {
        margin-right: 0;
        flex-basis: 100%;
    }
    
    .download-link {
        padding: 8px 16px;
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        margin: 25% auto;
        width: 95%;
    }
}

/* 加载和错误状态样式 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-sub);
    gap: 15px;
}

.loading .loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
}

.error {
    padding: 40px;
    text-align: center;
    color: #ff3b30;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 12px;
    margin: 20px 0;
}

.dark-mode .loading {
    color: rgba(255, 255, 255, 0.6);
}

.dark-mode .loading .loader-spinner {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary);
}

.dark-mode .error {
    color: #ff453a;
    background: rgba(255, 69, 58, 0.1);
    border-color: rgba(255, 69, 58, 0.2);
}

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

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 图片预览遮罩 */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: fadeIn 0.3s;
}

.image-preview-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
}

/* 代码复制按钮 */
.copy-btn {
    transition: all 0.3s ease !important;
}

.copy-btn:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: scale(1.1) !important;
}

/* 代码高亮样式 */
pre code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

pre {
    position: relative;
    background: rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    overflow-x: auto !important;
    margin: 15px 0 !important;
}

/* 深色模式代码样式 */
.dark-mode pre {
    background: rgba(30, 30, 40, 0.8) !important;
}

/* 字数统计 */
.word-counter {
    font-size: 12px;
    opacity: 0.7;
    transition: all 0.3s;
}

/* 实时预览样式 */
.realtime-preview h1,
.realtime-preview h2,
.realtime-preview h3 {
    margin: 10px 0;
    color: var(--primary);
}

.realtime-preview strong {
    color: var(--accent);
    font-weight: bold;
}

.realtime-preview em {
    font-style: italic;
}

.realtime-preview code {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.realtime-preview a {
    color: var(--primary);
    text-decoration: underline;
}

/* 草稿提示动画 */
@keyframes draftFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.draft-hint {
    animation: draftFadeIn 0.5s ease;
}

/* 表情选择器增强 */
.wl-emoji-popup {
    max-height: 300px !important;
    overflow-y: auto !important;
}

/* 输入框增强 */
.wl-editor {
    min-height: 120px !important;
    resize: vertical !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .copy-btn {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
    
    .realtime-preview {
        font-size: 12px !important;
    }
}

/* 图片预览遮罩增强 */
.image-preview-overlay {
    backdrop-filter: blur(20px) !important;
    background: rgba(0, 0, 0, 0.95) !important;
}

.image-preview-overlay img {
    max-width: 90vw !important;
    max-height: 90vh !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

/* 按钮悬停效果增强 */
.wl-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(58, 134, 255, 0.3) !important;
}

/*彩虹链接样式*/
.rainbow-link {
/* 基础字体样式 - 你可根据需要修改 */
font-size: 2.5rem;          /* 推荐大小，可按需调整 */
font-weight: 900;
text-decoration: none;
letter-spacing: 2px;
text-transform: uppercase;

/* 彩虹渐变核心：7色经典彩虹 */
background: linear-gradient(
90deg,
#ff3b3b,    /* 红 */
#ff8c42,    /* 橙 */
#f9d849,    /* 黄 */
#6bdb7c,    /* 绿 */
#3ca0ff,    /* 蓝 */
#8a6de9,    /* 靛紫 */
#ff66b2     /* 粉紫 */
);
background-size: 400% auto;        /* 扩大背景，让位移更流畅 */
background-clip: text;
-webkit-background-clip: text;
color: transparent;                 /* 文字透明，显示背景渐变 */

/* 动画与过渡 */
animation: rainbowShift 4s infinite ease-in-out;
transition: all 0.25s ease-out;
display: inline-block;              /* 保证transform生效 */
}

/* 彩虹流动动画 */
@keyframes rainbowShift {
0% { background-position: 0% 50%; }
25% { background-position: 50% 50%; }
50% { background-position: 100% 50%; }
75% { background-position: 50% 50%; }
100% { background-position: 0% 50%; }
}

/* 悬停效果 —— 加快动画、放大、增加亮度感 */
.rainbow-link:hover {
animation: rainbowShift 1.2s infinite linear;
transform: scale(1.08);
text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

/* 点击反馈 */
.rainbow-link:active {
transform: scale(0.96);
}

/*公告栏*/
.announcement-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 0 32px 0;
}

.announcement-bar {
    width: 100%;
    max-width: 900px;
    height: 46px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.announcement-bar:hover {
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.announcement-label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px 0 16px;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.85), rgba(131, 56, 236, 0.85));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.announcement-label i {
    font-size: 0.85rem;
    animation: shake 3s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-12deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-8deg); }
    40% { transform: rotate(6deg); }
    50% { transform: rotate(0deg); }
}

.scroll-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}

.scroll-track {
    display: flex;
    width: max-content;
    height: 100%;
    align-items: center;
    animation: marquee 30s linear infinite;
}

.scroll-text {
    white-space: nowrap;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    padding: 0 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.02em;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 悬停暂停效果 */
.announcement-bar:hover .scroll-track {
    animation-play-state: paused;
}

/* 深色模式公告栏 */
.dark-mode .announcement-bar {
    background: rgba(30, 30, 50, 0.5);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dark-mode .announcement-bar:hover {
    background: rgba(40, 40, 60, 0.6);
}

.dark-mode .announcement-label {
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.9), rgba(67, 97, 238, 0.9));
}

/* 移动端公告栏 */
@media (max-width: 768px) {
    .announcement-bar {
        height: 40px;
        border-radius: 10px;
    }

    .announcement-label {
        padding: 0 10px 0 12px;
        font-size: 0.72rem;
        gap: 5px;
    }

    .scroll-text {
        font-size: 0.82rem;
    }
}