@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* 中文像素字体 */
@font-face {
    font-family: 'Zpix';
    src: url('./fonts/zpix.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 隐藏原始鼠标指针 */
* {
    cursor: none !important;
}

/* 自定义像素风鼠标 */
#customCursor {
    position: fixed;
    pointer-events: none;
    z-index: 999999;
}

#customCursor .cursor-arrow {
    width: 20px;
    height: 20px;
    position: relative;
}

/* 像素箭头形状 - 带黑色描边 */
#customCursor .cursor-arrow::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, #00fff9 0%, #00fff9 25%, transparent 25%),
        linear-gradient(to right, #00fff9 0%, #00fff9 50%, transparent 50%),
        linear-gradient(to right, #00fff9 0%, #00fff9 75%, transparent 75%),
        linear-gradient(to right, #00fff9 0%, #00fff9 50%, transparent 50%),
        linear-gradient(to right, #00fff9 0%, #00fff9 25%, transparent 25%);
    background-position: 0 0, 0 4px, 0 8px, 0 12px, 0 16px;
    background-size: 100% 4px;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 4px #00fff9);
}

/* 黑色描边层 */
#customCursor .cursor-arrow::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, #000 0%, #000 30%, transparent 30%),
        linear-gradient(to right, #000 0%, #000 55%, transparent 55%),
        linear-gradient(to right, #000 0%, #000 80%, transparent 80%),
        linear-gradient(to right, #000 0%, #000 55%, transparent 55%),
        linear-gradient(to right, #000 0%, #000 30%, transparent 30%);
    background-position: -1px -1px, -1px 3px, -1px 7px, -1px 11px, -1px 15px;
    background-size: calc(100% + 2px) 6px;
    background-repeat: no-repeat;
    z-index: -1;
}

/* 点击状态 - 像素方框 */
#customCursor.clicking .cursor-arrow {
    width: 24px;
    height: 24px;
}

#customCursor.clicking .cursor-arrow::before {
    background: 
        linear-gradient(to right, #ffbe0b 0%, #ffbe0b 100%),
        linear-gradient(to bottom, #ffbe0b 0%, #ffbe0b 100%),
        linear-gradient(to right, #ffbe0b 0%, #ffbe0b 100%),
        linear-gradient(to bottom, #ffbe0b 0%, #ffbe0b 100%);
    background-position: 0 0, 0 0, 0 20px, 20px 0;
    background-size: 100% 4px, 4px 100%, 100% 4px, 4px 100%;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 8px #ffbe0b);
}

/* 背景像素方块容器 */
#pixelParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pixel-particle {
    position: absolute;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    opacity: 0.3;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100vh) translateX(var(--drift)) rotate(360deg);
        opacity: 0;
    }
}

:root {
    --bg-dark: #0a0e17;
    --bg-card: #111827;
    --neon-cyan: #00fff9;
    --neon-magenta: #ff006e;
    --neon-yellow: #ffbe0b;
    --neon-green: #39ff14;
    --neon-purple: #bf00ff;
    --text-primary: #e0e7ff;
    --text-secondary: #94a3b8;
    --border-color: rgba(0, 255, 249, 0.2);
}

/* 亮色主题 */
body.light-theme {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --neon-cyan: #0ea5e9;
    --neon-magenta: #ec4899;
    --neon-yellow: #f59e0b;
    --neon-green: #10b981;
    --neon-purple: #a855f7;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: rgba(14, 165, 233, 0.3);
}

body.light-theme::before {
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(236, 72, 153, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 70%);
}

body.light-theme .scanlines {
    background: repeating-linear-gradient(
        0deg,
        rgba(14, 165, 233, 0.015) 0px,
        transparent 1px,
        transparent 2px,
        rgba(14, 165, 233, 0.015) 3px
    );
}

body.light-theme .nav-bar {
    background: rgba(248, 250, 252, 0.95);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

body.light-theme .profile-avatar,
body.light-theme .avatar {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

body.light-theme .btn-primary {
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

body.light-theme .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

body.light-theme .neon-card {
    border-color: rgba(14, 165, 233, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局隐藏滚动条 */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

*::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Edge */
    width: 0;
    height: 0;
}

body {
    font-family: 'Zpix', 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="8" y="8" width="8" height="8" fill="%2300fff9" opacity="0.8"/><rect x="10" y="10" width="4" height="4" fill="%23bf00ff"/></svg>') 12 12, auto;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0, 255, 249, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 0, 110, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(191, 0, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* 霓虹像素方块背景效果 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(0, 255, 249, 0.03) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(191, 0, 255, 0.03) 20px),
        repeating-linear-gradient(45deg, transparent, transparent 39px, rgba(255, 0, 110, 0.02) 40px),
        repeating-linear-gradient(-45deg, transparent, transparent 39px, rgba(255, 190, 11, 0.02) 40px);
    pointer-events: none;
    z-index: 0;
    animation: pixelShift 20s linear infinite;
}

@keyframes pixelShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.daily-card {
    margin-top: 1.5rem;
}

.daily-content {
    padding: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    scrollbar-width: none !important; /* Firefox 隐藏滚动条 */
    -ms-overflow-style: none !important; /* IE 和 Edge 隐藏滚动条 */
}

.daily-content::-webkit-scrollbar {
    display: none !important; /* Webkit 浏览器隐藏滚动条 */
    width: 0 !important;
    height: 0 !important;
}

.daily-content p {
    margin: 0.5rem 0;
}

.daily-author {
    text-align: right;
    color: var(--neon-cyan);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.loading-text {
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem 0;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 249, 0.03) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 255, 249, 0.03) 3px
    );
    pointer-events: none;
    z-index: 1;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--neon-cyan);
    text-shadow: 
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan);
    position: relative;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 255, 249, 0.1);
}

.nav-container {
    position: relative;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: rgba(0, 255, 249, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.3);
    transform: rotate(180deg);
}

body.light-theme .theme-toggle {
    background: rgba(8, 145, 178, 0.1);
}

body.light-theme .theme-toggle:hover {
    background: rgba(8, 145, 178, 0.2);
    box-shadow: 0 0 15px rgba(8, 145, 178, 0.3);
}

.profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid rgba(0, 255, 249, 0.2);
    transition: all 0.3s;
}

.profile-link:hover {
    background: rgba(0, 255, 249, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.3);
    border-color: var(--neon-cyan);
}

.profile-icon {
    filter: brightness(0) saturate(100%) invert(85%) sepia(73%) saturate(2477%) hue-rotate(142deg) brightness(103%) contrast(105%);
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* border: 2px solid var(--border-color); */
    transition: all 0.3s;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--neon-cyan);
    border-color: var(--neon-cyan);
}

.nav-links {
    display: flex;
    gap: 4rem;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    transition: width 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    color: var(--bg-dark);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.3);
    font-family: 'Zpix', 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 249, 0.5);
}

.main-content {
    max-width: 1920px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* 桌面端：左右侧栏静态显示（仅在宽屏下生效） */
@media (min-width: 1401px) {
    /* 桌面端隐藏遮罩层 */
    .sidebar-overlay {
        display: none !important;
    }
    
    .right-sidebar {
        position: static !important;
        right: auto !important;
        width: auto;
        height: auto;
        border: none;
        box-shadow: none;
        overflow: visible;
    }
    
    .right-sidebar-toggle {
        display: none !important;
    }
    
    .sidebar {
        position: static !important;
        left: auto !important;
        width: auto;
        height: auto;
        border: none;
        box-shadow: none;
        overflow: visible;
        padding: 0;
        display: block !important;
    }
    
    .sidebar-toggle {
        display: none !important;
    }
    
    .sidebar-content-wrapper {
        position: static;
        overflow: visible;
    }
    
    .sidebar-page {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
        padding: 0;
    }
    
    .sidebar-nav-btn,
    .sidebar-indicator {
        display: none !important;
    }
    
    .sidebar-content-container {
        display: block;
        transform: none !important;
    }
}

/* 大屏幕优化 (2560px+) */
@media (min-width: 2560px) {
    .main-content {
        max-width: 2200px;
        grid-template-columns: 320px 1fr 380px;
        gap: 3rem;
    }
}

/* 未登录时隐藏主内容 */
body.not-logged-in .main-content {
    display: none;
}

.neon-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 
        0 0 20px rgba(0, 255, 249, 0.05),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

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

.neon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.5;
}

.user-card {
    text-align: center;
}

.avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.avatar {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Zpix', 'Rajdhani', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 255, 249, 0.5);
    overflow: hidden;
    flex-shrink: 0;
}

.username {
    font-family: 'Zpix', 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.terminal-text {
    font-family: 'Zpix', 'Courier New', monospace;
}

.user-intro {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-magenta);
    text-shadow: 0 0 10px var(--neon-magenta);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.icon {
    font-size: 1.2rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid rgba(0, 255, 249, 0.3);
    color: var(--neon-cyan);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tag:hover {
    background: rgba(0, 255, 249, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.3);
    transform: translateY(-2px);
}

.feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: calc(100vh - 120px);
}

.post-composer {
    margin-bottom: 0.5rem;
    position: relative;
}

.composer-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.terminal-prompt {
    font-family: 'Courier New', monospace;
    color: var(--neon-green);
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--neon-green);
}

.composer-title {
    color: var(--text-secondary);
    font-weight: 600;
}

.composer-input {
    width: 100%;
    height: 120px;  /* 固定高度 */
    max-height: 120px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 249, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    resize: none;  /* 禁止调整大小 */
    transition: all 0.3s;
    overflow-y: auto;  /* 垂直滚动 */
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) rgba(0, 0, 0, 0.2);
}

/* Webkit 浏览器滚动条样式 */
.composer-input::-webkit-scrollbar {
    width: 8px;
}

.composer-input::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.composer-input::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 4px;
    transition: background 0.3s;
}

.composer-input::-webkit-scrollbar-thumb:hover {
    background: var(--neon-magenta);
}

.tag-suggestions {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    padding: 0.5rem 0;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0, 255, 249, 0.3);
    z-index: 1000;
    min-width: 200px;
}

.tag-suggestion-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-primary);
}

.tag-suggestion-item:hover,
.tag-suggestion-item.active {
    background: rgba(0, 255, 249, 0.2);
    color: var(--neon-cyan);
}

.tag-suggestion-item .tag-name {
    font-weight: 500;
}

.tag-suggestion-item .tag-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.composer-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.2);
}

.composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.action-left {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid rgba(0, 255, 249, 0.2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.icon-btn:hover {
    background: rgba(0, 255, 249, 0.2);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.3);
}

.icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(82%) sepia(45%) saturate(2613%) hue-rotate(140deg) brightness(101%) contrast(101%);
    transition: filter 0.3s;
}

.icon-btn:hover .icon-img {
    filter: brightness(0) saturate(100%) invert(82%) sepia(45%) saturate(2613%) hue-rotate(140deg) brightness(110%) contrast(110%);
}

.btn-submit {
    background: linear-gradient(135deg, var(--neon-magenta), var(--neon-purple));
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
    font-family: 'Rajdhani', sans-serif;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
}

.moment-card {
    animation-delay: 0.1s;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mini-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.3);
}

.mini-avatar.ai-badge {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-yellow));
    animation: pulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-username {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: 'Zpix', 'Rajdhani', sans-serif;
}

.card-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.more-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.more-btn:hover {
    color: var(--neon-cyan);
}

.card-content {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.image-grid {
    margin-top: 1rem;
    display: grid;
    gap: 0.5rem;
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(0, 255, 249, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mini-tag {
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid rgba(255, 0, 110, 0.3);
    color: var(--neon-magenta);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    background: rgba(0, 255, 249, 0.05);
    border: 1px solid rgba(0, 255, 249, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-secondary);
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

/* 收藏按钮默认黄色样式 */
.action-btn[data-action="favorite"] {
    background: rgba(255, 190, 11, 0.1);
    border-color: rgba(255, 190, 11, 0.2);
}

.action-btn[data-action="favorite"] .icon-svg {
    color: #FFBE0B;
}

.action-btn[data-action="favorite"].active {
    background: rgba(255, 190, 11, 0.2);
    border-color: rgba(255, 190, 11, 0.4);
}

.action-btn .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn .icon-svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s;
}

.action-btn:hover {
    background: rgba(0, 255, 249, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.2);
}

.action-btn.active {
    background: rgba(255, 0, 110, 0.15);
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.3);
}

.action-btn.active .icon-svg {
    color: var(--neon-magenta);
    filter: drop-shadow(0 0 5px var(--neon-magenta));
}

.count {
    font-weight: 700;
}

.news-type::before {
    background: linear-gradient(90deg, transparent, var(--neon-yellow), transparent);
}

.news-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--neon-yellow), var(--neon-green));
    color: var(--bg-dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(255, 190, 11, 0.3);
}

.news-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.news-summary {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.gossip-type::before {
    background: linear-gradient(90deg, transparent, var(--neon-magenta), transparent);
}

.gossip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gossip-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--neon-magenta), var(--neon-purple));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

.vote-widget {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vote-btn {
    background: rgba(0, 255, 249, 0.05);
    border: 1px solid rgba(0, 255, 249, 0.2);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Rajdhani', sans-serif;
}

.vote-btn.true {
    border-color: rgba(57, 255, 20, 0.3);
    color: var(--neon-green);
}

.vote-btn.fake {
    border-color: rgba(255, 0, 110, 0.3);
    color: var(--neon-magenta);
}

.vote-btn.unsure {
    border-color: rgba(255, 190, 11, 0.3);
    color: var(--neon-yellow);
}

.vote-btn.active {
    background: rgba(255, 190, 11, 0.15);
    box-shadow: 0 0 15px rgba(255, 190, 11, 0.3);
}

.gossip-title {
    font-family: 'Zpix', 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ai-summary {
    background: rgba(0, 255, 249, 0.05);
    border-left: 3px solid var(--neon-cyan);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.ai-label {
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.ai-comment {
    background: rgba(57, 255, 20, 0.05);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-avatar {
    font-size: 1.5rem;
}

.comment-text {
    color: var(--text-primary);
    font-weight: 500;
}

.hot-list {
    margin-bottom: 1.5rem;
}

.hot-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 600px;  /* 设置最大高度 */
    overflow-y: auto;  /* 独立垂直滚动 */
    scrollbar-width: thin;  /* Firefox 滚动条样式 */
    scrollbar-color: var(--neon-cyan) rgba(0, 0, 0, 0.2);
}

/* Webkit 浏览器（Chrome, Safari, Edge）滚动条样式 */
.hot-items::-webkit-scrollbar {
    width: 6px;
}

.hot-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.hot-items::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 3px;
    transition: background 0.3s;
}

.hot-items::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

.hot-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.8rem;
    background: rgba(0, 255, 249, 0.03);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.rank {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    min-width: 30px;
    text-align: center;
}

.rank-1 {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px var(--neon-yellow);
}

.rank-2 {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.rank-3 {
    color: var(--neon-magenta);
    text-shadow: 0 0 10px var(--neon-magenta);
}

.hot-content {
    flex: 1;
}

.hot-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.hot-stat {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

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

.assistant-text {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.btn-secondary {
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Zpix', 'Rajdhani', sans-serif;
    width: 100%;
}

.btn-secondary:hover {
    background: rgba(0, 255, 249, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.3);
}

/* 汉堡菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 平板电脑适配 - 右侧栏使用展开箭头 (1024px - 1400px) */
@media (max-width: 1400px) and (min-width: 1025px) {
    .main-content {
        grid-template-columns: 260px 1fr;
        gap: 1.5rem;
    }
    
    /* 确保遮罩层可以显示 */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(3px);
        z-index: 1000;
    }
    
    .sidebar-overlay.active {
        display: block !important;
    }

    /* 左侧栏静态显示 */
    .sidebar {
        position: static !important;
        left: auto !important;
        width: auto;
        height: auto;
        border: none;
        box-shadow: none;
        overflow: visible;
        padding: 0;
        display: block !important;
        grid-column: 1;
    }
    
    .sidebar-content-wrapper {
        position: static;
        overflow: visible;
    }
    
    .sidebar-page {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
        padding: 0;
    }
    
    /* 主内容区域 */
    .content {
        grid-column: 2;
    }

    /* 右侧栏使用固定定位+展开箭头 */
    .right-sidebar {
        position: fixed !important;
        right: -280px !important;
        top: 70px !important;
        width: 280px !important;
        height: calc(100vh - 70px) !important;
        background: var(--bg-card) !important;
        border-left: 1px solid var(--border-color) !important;
        box-shadow: -2px 0 20px rgba(0, 255, 249, 0.1) !important;
        z-index: 1001 !important;
        transition: right 0.3s ease !important;
        overflow: hidden !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        /* 从Grid布局中完全移除 */
        grid-column: unset !important;
        grid-row: unset !important;
    }
    
    .right-sidebar .sidebar-content-wrapper {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .right-sidebar.expanded {
        right: 0 !important;
    }

    /* 显示右侧边栏展开按钮 */
    .right-sidebar-toggle {
        display: flex !important;
        position: fixed !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 32px !important;
        height: 60px !important;
        background: var(--bg-card) !important;
        border: 2px solid var(--neon-cyan) !important;
        border-right: none !important;
        border-radius: 8px 0 0 8px !important;
        z-index: 1003 !important;
        box-shadow: 0 0 20px rgba(0, 255, 249, 0.3), inset 0 0 10px rgba(0, 255, 249, 0.1) !important;
        transition: all 0.3s !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .right-sidebar-toggle::before {
        content: '' !important;
        width: 0 !important;
        height: 0 !important;
        border-top: 8px solid transparent !important;
        border-bottom: 8px solid transparent !important;
        border-right: 10px solid var(--neon-cyan) !important;
        border-left: none !important;
        filter: drop-shadow(0 0 5px var(--neon-cyan)) !important;
    }
    
    /* 右侧边栏展开时，箭头方向反转 */
    .right-sidebar-toggle.expanded::before {
        border-right: none !important;
        border-left: 10px solid var(--neon-cyan) !important;
    }
}

/* 平板电脑适配 - 单列布局 (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-content {
        grid-template-columns: 1fr;
        max-width: 800px;
    }

    .right-sidebar {
        display: none;
    }
    
    .right-sidebar-toggle {
        display: none !important;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* 移动端适配 - 折叠侧边栏 (小于等于 768px) */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .nav-container {
        padding: 0.75rem 1rem;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
    }

    .mobile-menu-toggle {
        order: 2;
        margin-left: auto;
    }

    .nav-actions {
        order: 3;
        gap: 0.5rem;
    }

    .nav-links {
        position: absolute;  /* 改为绝对定位 */
        top: 100%;  /* 紧贴导航栏下方 */
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(17, 24, 39, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        padding: 0;
        gap: 0;
        display: none;
        z-index: 1000;  /* 确保在最上层 */
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);  /* 添加阴影 */
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out;  /* 添加下拉动画 */
    }

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

    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 255, 249, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .logo .glitch {
        font-size: 1.2rem;
    }

    #newPostBtn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .profile-avatar {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .main-content {
        padding: 0;
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 0;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    /* 侧边栏缩略条样式 */
    .sidebar {
        position: fixed !important;
        left: -280px !important;
        top: 70px;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--bg-card);
        border-right: 1px solid var(--border-color);
        box-shadow: 2px 0 20px rgba(0, 255, 249, 0.1);
        z-index: 1001;
        transition: left 0.3s ease;
        overflow: hidden;
        padding: 0;
        display: flex !important;
        flex-direction: column;
        order: 1;
    }

    .sidebar.expanded {
        left: 0 !important;
    }

    /* 侧边栏内容容器 */
    .sidebar-content-wrapper {
        position: relative;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .sidebar-content-container {
        display: block;
        height: auto;
    }

    .sidebar-page {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* 隐藏切换按钮和指示器 */
    .sidebar-nav-btn {
        display: none !important;
    }

    .sidebar-indicator {
        display: none !important;
    }

    /* 侧边栏展开按钮 - 绑定在侧边栏边缘 */
    .sidebar-toggle {
        position: fixed;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 60px;
        background: var(--bg-card);
        border: 2px solid var(--neon-cyan);
        border-left: none;
        border-radius: 0 8px 8px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1003;
        box-shadow: 0 0 20px rgba(0, 255, 249, 0.3), inset 0 0 10px rgba(0, 255, 249, 0.1);
        transition: all 0.3s;
    }

    .sidebar-toggle:hover {
        background: rgba(0, 255, 249, 0.1);
        box-shadow: 0 0 30px rgba(0, 255, 249, 0.5), inset 0 0 15px rgba(0, 255, 249, 0.2);
        border-color: var(--neon-cyan);
    }

    .sidebar-toggle::before {
        content: '';
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 10px solid var(--neon-cyan);
        filter: drop-shadow(0 0 5px var(--neon-cyan));
    }

    /* 左侧边栏展开时，箭头方向反转 */
    .sidebar-toggle.expanded::before {
        border-left: none;
        border-right: 10px solid var(--neon-cyan);
    }

    /* 右侧边栏 */
    .right-sidebar {
        position: fixed !important;
        right: -280px !important;
        top: 70px !important;
        width: 280px !important;
        height: calc(100vh - 70px) !important;
        background: var(--bg-card) !important;
        border-left: 1px solid var(--border-color) !important;
        box-shadow: -2px 0 20px rgba(0, 255, 249, 0.1) !important;
        z-index: 1001 !important;
        transition: right 0.3s ease !important;
        overflow: hidden !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        order: 3 !important;
    }

    .right-sidebar.expanded {
        right: 0 !important;
    }

    /* 移动端不显示右侧边栏展开按钮 */
    .right-sidebar-toggle {
        display: none !important;
    }

    .right-sidebar-toggle:hover {
        background: rgba(0, 255, 249, 0.1);
        box-shadow: 0 0 30px rgba(0, 255, 249, 0.5), inset 0 0 15px rgba(0, 255, 249, 0.2);
        border-color: var(--neon-cyan);
    }

    .right-sidebar-toggle::before {
        content: '';
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 10px solid var(--neon-cyan);
        filter: drop-shadow(0 0 5px var(--neon-cyan));
    }

    /* 右侧边栏展开时，箭头方向反转 */
    .right-sidebar-toggle.expanded::before {
        border-right: none;
        border-left: 10px solid var(--neon-cyan);
    }
    
    /* 主内容区域适配 - 放在最前面 */
    .feed {
        width: 100%;
        padding: 1rem;
        order: 2;
    }

    /* 右侧栏移至底部 */
    .right-sidebar {
        display: block;
        width: 100%;
        padding: 1rem;
        order: 3;
    }

    .right-sidebar .hot-list {
        display: block;
        margin-bottom: 1rem;
    }

    .right-sidebar .hot-search-card {
        display: block;
    }

    .moment-card,
    .neon-card {
        padding: 1rem;
    }

    .card-header {
        flex-wrap: wrap;
    }

    .card-username {
        font-size: 0.95rem;
    }

    .card-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .card-actions {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .action-btn {
        padding: 0.6rem 1rem;
        min-width: 80px;
        min-height: 44px;
        justify-content: center;
    }

    .composer-input {
        min-height: 80px;
        font-size: 0.95rem;
    }

    .news-title,
    .gossip-title {
        font-size: 1.1rem;
    }

    .vote-widget {
        width: 100%;
        justify-content: space-between;
    }

    .vote-btn {
        flex: 1;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.5rem 0.5rem;
    }

    /* 遮罩层 */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(3px);
        z-index: 1000;
    }

    .sidebar-overlay.active {
        display: block;
    }
    
    /* 确保右侧边栏默认隐藏 */
    .right-sidebar:not(.expanded) {
        right: -280px !important;
    }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem 0.75rem;
    }

    .logo .glitch {
        font-size: 1rem;
    }

    #newPostBtn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .profile-avatar {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }

    .main-content {
        padding: 0;
        margin-top: 0;
    }

    /* 侧边栏缩略条适配小屏 */
    .sidebar {
        width: 260px;
        left: -260px;
    }

    .sidebar-toggle {
        width: 36px;
        height: 70px;
        top: 100px;
    }

    .sidebar-toggle::before {
        font-size: 1.3rem;
    }

    .moment-card,
    .neon-card {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .card-header {
        margin-bottom: 0.75rem;
    }

    .mini-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .card-username {
        font-size: 0.9rem;
    }

    .card-time {
        font-size: 0.75rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .action-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        min-width: 70px;
        min-height: 44px;
    }

    .action-btn .icon {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-submit {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .composer-input {
        min-height: 70px;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .tag,
    .mini-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .news-title,
    .gossip-title {
        font-size: 1rem;
        line-height: 1.4;
    }

    .news-summary {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .hot-title {
        font-size: 0.85rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    /* 侧边栏内卡片小屏优化 */
    .sidebar .neon-card {
        padding: 0.75rem;
    }

    .sidebar .card-title {
        font-size: 0.9rem;
    }

    .sidebar .user-card .username {
        font-size: 1rem;
    }

    .sidebar .stat-value {
        font-size: 1.2rem;
    }

    .sidebar .stat-label {
        font-size: 0.8rem;
    }
}

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

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

.comment-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.3);
}

.modal-close:hover {
    color: var(--neon-cyan);
    transform: scale(1.1);
    transition: all 0.2s;
}

.comment-item:hover {
    background: rgba(0, 255, 249, 0.05);
    transition: background 0.2s;
}

.read-more-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 249, 0.4);
}

.gossip-content-preview {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.daily-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.daily-tab {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid rgba(0, 255, 249, 0.3);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.daily-tab:hover {
    background: rgba(0, 255, 249, 0.2);
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
}

.daily-tab.active {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-color: var(--neon-cyan);
    color: white;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.5);
}

.daily-progress {
    height: 3px;
    background: rgba(0, 255, 249, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.daily-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 2px;
    width: 0;
    box-shadow: 0 0 10px var(--neon-cyan);
}

@keyframes progress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.profile-section {
    display: none;  /* 默认隐藏 */
    min-height: 100vh;  /* 最小高度为视口高度 */
    background: var(--bg-primary);
}

.profile-section.active {
    display: block !important;  /* 强制显示 */
}

.profile-section .profile-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem;  /* 减少顶部内边距 */
}

.profile-header {
    position: relative;
    overflow: hidden;
}

.profile-cover {
    height: 200px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    position: relative;
}

.profile-info {
    padding: 0 2rem 2rem;
    position: relative;
    margin-top: -60px;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.5);
    margin-bottom: 1rem;
}

.profile-details {
    margin-left: 0;
}

.profile-username {
    font-size: 2rem;
    margin: 0.5rem 0;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-email {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.profile-bio {
    color: var(--text-primary);
    margin: 1rem 0;
    line-height: 1.6;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 255, 249, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 249, 0.2);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.btn-edit-profile {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-edit-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 249, 0.4);
}

.profile-tabs {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin: 1.5rem 0;
}

.profile-tab {
    flex: 1;
    padding: 1rem;
    background: rgba(0, 255, 249, 0.05);
    border: 1px solid rgba(0, 255, 249, 0.2);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.profile-tab:hover {
    background: rgba(0, 255, 249, 0.1);
    border-color: var(--neon-cyan);
}

.profile-tab.active {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-color: var(--neon-cyan);
    color: white;
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.5);
}

.profile-content {
    min-height: 400px;
}

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

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

.settings-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.settings-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.settings-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 255, 249, 0.05);
    border: 1px solid rgba(0, 255, 249, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.3);
}

.btn-primary {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 249, 0.4);
}

.danger-zone {
    border-color: rgba(255, 0, 100, 0.3) !important;
}

.danger-zone h3 {
    color: #ff0064;
    background: none;
    -webkit-text-fill-color: #ff0064;
}

.danger-zone p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.btn-danger {
    padding: 0.75rem 2rem;
    background: rgba(255, 0, 100, 0.1);
    border: 1px solid #ff0064;
    border-radius: 8px;
    color: #ff0064;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: #ff0064;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 100, 0.4);
}

.news-platform-selector {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.platform-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.platform-tab {
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid rgba(0, 255, 249, 0.3);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.platform-tab:hover {
    background: rgba(0, 255, 249, 0.2);
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
}

.platform-tab.active {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-color: var(--neon-cyan);
    color: white;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.5);
}

    .card-title {
        font-size: 1rem;
    }

/* ==================== 通用Modal样式 ==================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 255, 249, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
}

.modal-body {
    padding: 1.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) rgba(0, 0, 0, 0.2);
}

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

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

.modal-body::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 4px;
    transition: background 0.3s;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--neon-magenta);
}

.login-modal .modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

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

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    padding: 0.7rem;
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid rgba(0, 255, 249, 0.2);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

.tab-btn.active {
    background: rgba(0, 255, 249, 0.2);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.3);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form input,
.auth-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 249, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.auth-form textarea {
    resize: none;
    min-height: 80px;
}

.auth-form textarea::-webkit-scrollbar {
    width: 8px;
}

.auth-form textarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.auth-form textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-magenta));
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 249, 0.5);
}

.auth-form textarea::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-magenta), var(--neon-cyan));
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.8);
}

.auth-form button[type="submit"] {
    margin: 0.8rem auto 0;
    display: block;
    min-width: 200px;
}

.auth-form input:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid rgba(255, 0, 110, 0.3);
    border-radius: 50%;
    color: var(--neon-magenta);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 0, 110, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}
/* 每日一句导航按钮样式 */
.daily-nav-btn {
    font-size: 28px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.daily-nav-btn:hover {
    opacity: 1 !important;
    text-shadow: 0 0 20px var(--neon-cyan), 0 0 30px var(--neon-cyan);
    transform: translateY(-50%) scale(1.3);
}

.daily-nav-btn:active {
    transform: translateY(-50%) scale(1.1);
}

.daily-content-wrapper {
    min-height: 120px;
    position: relative;
}

/* 每日内容固定高度和手动滚动 */
.daily-content {
    position: relative;
    scrollbar-width: none; /* Firefox 隐藏滚动条 */
    -ms-overflow-style: none; /* IE 和 Edge 隐藏滚动条 */
}

/* Webkit 浏览器隐藏滚动条 */
.daily-content::-webkit-scrollbar {
    display: none;
}

/* 内容超长时的自动滚动动画 */
.daily-content.scrolling {
    animation: scrollText 8s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-100% + 120px));
    }
}

/* 亮色主题按钮样式 */
body.light-theme .daily-nav-btn {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 10px var(--neon-cyan);
}

body.light-theme .daily-nav-btn:hover {
    text-shadow: 0 0 20px var(--neon-cyan), 0 0 30px var(--neon-cyan);
}

/* 表情选择器样式 - 更新版本 v5 */
.emoji-picker {
    position: fixed;  /* 改为 fixed 定位 */
    /* 位置将通过 JavaScript 动态设置 */
    width: 240px !important;     /* 宽度 240px */
    max-width: 240px !important;
    min-width: 240px !important;
    max-height: 200px;  /* 高度 200px */
    background: rgba(17, 24, 39, 0.15) !important;  /* 极高透明度：85% 透明 */
    backdrop-filter: blur(6px);  /* 减弱背景模糊 */
    border: 1px solid rgba(0, 255, 249, 0.15);  /* 更淡的边框 */
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.emoji-tabs {
    display: flex;
    gap: 2px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.1);  /* 更透明：从 0.2 改为 0.1 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);  /* 更透明的分隔线 */
    flex-shrink: 0;  /* 不收缩 */
    overflow-x: auto;  /* 横向滚动 */
    scrollbar-width: none;  /* 隐藏 Firefox 滚动条 */
}

.emoji-tabs::-webkit-scrollbar {
    display: none;  /* 隐藏 Webkit 滚动条 */
}

.emoji-tab {
    font-size: 10px;
    padding: 3px 5px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.emoji-tab:hover {
    background: rgba(0, 255, 249, 0.1);
    border-color: rgba(0, 255, 249, 0.3);
}

.emoji-tab.active {
    background: rgba(0, 255, 249, 0.2);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  /* 改为 5 列以适应更宽的容器 */
    gap: 2px;
    padding: 6px;
    max-height: 160px;  /* 高度保持 160px */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) transparent;
}

/* Webkit 浏览器滚动条样式 */
.emoji-grid::-webkit-scrollbar {
    width: 4px;
}

.emoji-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.emoji-grid::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 2px;
    transition: background 0.3s;
}

.emoji-grid::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

.emoji-item {
    font-size: 16px;  /* 更小的表情尺寸 */
    padding: 4px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.emoji-item:hover {
    background: rgba(0, 255, 249, 0.15);
    transform: scale(1.1);
}

/* 亮色主题适配 */
/* 亮色主题适配 */
body.light-theme .emoji-picker {
    background: rgba(248, 250, 252, 0.15) !important;  /* 极高透明度：85% 透明 */
    border-color: rgba(14, 165, 233, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.light-theme .emoji-tabs {
    background: rgba(0, 0, 0, 0.03);  /* 更透明 */
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .emoji-tab.active {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--neon-cyan);
}

body.light-theme .emoji-item:hover {
    background: rgba(14, 165, 233, 0.15);
}

body.light-theme .emoji-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .emoji-grid::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.6);
}

body.light-theme .emoji-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.8);
}
    transition: all 0.2s;
    user-select: none;
}

.emoji-item:hover {
    background: rgba(0, 255, 249, 0.2);
    transform: scale(1.2);
}

.emoji-item:active {
.emoji-item:hover {
    background: rgba(0, 255, 249, 0.15);
    transform: scale(1.1);
}

body.light-theme .emoji-tab.active {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--neon-cyan);
}

body.light-theme .emoji-item:hover {
    background: rgba(14, 165, 233, 0.15);
}

body.light-theme .emoji-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .emoji-grid::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.6);
}

body.light-theme .emoji-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.8);
}

/* 响应式 */
@media (max-width: 768px) {
    .emoji-picker {
        width: calc(100% - 1rem);  /* 移动端占满宽度 */
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }

    .emoji-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .emoji-item {
        font-size: 20px;
        padding: 6px;
    }
}

/* 移动端菜单亮色主题 */
@media (max-width: 768px) {
    body.light-theme .nav-links {
        background: rgba(248, 250, 252, 0.98);
        border-top: 1px solid rgba(14, 165, 233, 0.3);
        border-bottom: 1px solid rgba(14, 165, 233, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    body.light-theme .nav-link {
        border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    }

    /* 侧边栏亮色主题 */
    body.light-theme .sidebar {
        background: rgba(248, 250, 252, 0.98);
        border-right: 1px solid rgba(14, 165, 233, 0.2);
        box-shadow: 2px 0 20px rgba(14, 165, 233, 0.15);
    }

    body.light-theme .sidebar-toggle {
        background: rgba(248, 250, 252, 0.98);
        border-color: rgba(14, 165, 233, 0.2);
        box-shadow: 2px 0 10px rgba(14, 165, 233, 0.2);
    }

    body.light-theme .sidebar-toggle:hover {
        background: rgba(14, 165, 233, 0.1);
        box-shadow: 2px 0 20px rgba(14, 165, 233, 0.3);
    }

    body.light-theme .sidebar-overlay {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* 个人中心 - 设置按钮 */
.btn-settings {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.btn-settings:hover {
    background: transparent;
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.5);
}

.btn-settings img {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(77%) sepia(86%) saturate(2196%) hue-rotate(141deg) brightness(103%) contrast(101%);
}

/* 个人签名可编辑状态 */
.profile-bio.editable {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.profile-bio.editable:hover {
    background: rgba(0, 255, 249, 0.05);
}

.profile-bio.editable[contenteditable="true"] {
    background: rgba(0, 255, 249, 0.1);
    border: 1px solid var(--neon-cyan);
    outline: none;
}

/* 设置弹窗 */
.settings-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none !important;
    pointer-events: none;
}

.settings-modal.active {
    display: block !important;
    pointer-events: auto;
}

.settings-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.settings-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    width: 90%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 255, 249, 0.3);
    z-index: 1001;
    max-height: 80vh;
    overflow-y: auto !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

.settings-modal-content::-webkit-scrollbar {
    display: none !important; /* Chrome/Safari/Edge */
    width: 0 !important;
    height: 0 !important;
}

.settings-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.settings-modal-header h3 {
    margin: 0;
    color: var(--neon-cyan);
}

.btn-close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-close-modal:hover {
    color: var(--neon-cyan);
    transform: rotate(90deg);
}

.settings-modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

.settings-modal-body::-webkit-scrollbar {
    display: none !important; /* Chrome/Safari/Edge */
    width: 0 !important;
    height: 0 !important;
}

.settings-section {
    margin-bottom: 2rem;
}

.settings-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.settings-section.danger-zone {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.settings-section.danger-zone h4 {
    color: #ff6b6b;
}

/* 热搜速递卡片样式 - 报纸风格 */
.hot-search-card {
    margin-bottom: 1.5rem;
}

.hot-search-list {
    max-height: 500px;
    overflow-y: auto;
}

.hot-search-items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hot-search-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid rgba(0, 255, 249, 0.1);
    transition: all 0.2s;
    cursor: pointer;
}

.hot-search-item:hover {
    background: rgba(0, 255, 249, 0.05);
    border-left: 2px solid var(--neon-cyan);
    padding-left: 0.8rem;
}

.hot-search-item.top-rank {
    background: rgba(255, 0, 110, 0.03);
}

.hot-search-item.top-rank:hover {
    background: rgba(255, 0, 110, 0.08);
    border-left-color: var(--neon-magenta);
}

.hot-rank {
    flex-shrink: 0;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.hot-search-item.top-rank .hot-rank {
    color: var(--neon-magenta);
    font-size: 1.1rem;
}

.hot-title {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85rem;
    line-height: 1.3;
}

.hot-num {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--neon-yellow);
    font-weight: 600;
    white-space: nowrap;
}

/* 每日简报卡片样式 */
.bulletin-card {
    margin-bottom: 1.5rem;
}

.bulletin-content {
    padding: 1.5rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bulletin-item {
    text-align: center;
    width: 100%;
}

.bulletin-digest {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.bulletin-time {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 0.7;
}

.bulletin-progress {
    height: 3px;
    background: rgba(0, 255, 249, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 1rem 1rem 1rem;
}

.bulletin-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 2px;
    width: 0;
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: progress 30s linear infinite;
}

.bulletin-nav-btn {
    opacity: 0.6;
    transition: all 0.3s;
}

.bulletin-nav-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

/* 知识模块样式 */
/* 响应式调整 */
@media (max-width: 768px) {
    .hot-search-list {
        max-height: 300px;
    }

    .hot-search-item {
        padding: 0.6rem;
    }

    .category-tabs {
        justify-content: center;
    }

    .category-tab {
        flex: 1;
        min-width: 100px;
    }
}

/* ==================== 赛博朋克鼠标特效 ==================== */

/* 自定义鼠标光标 */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="4" fill="%2300fff9" opacity="0.8"/><circle cx="10" cy="10" r="8" fill="none" stroke="%2300fff9" stroke-width="1" opacity="0.5"/></svg>') 10 10, auto;
}

/* 悬停时的光标 */
a, button, .clickable {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><circle cx="12" cy="12" r="6" fill="%23ff006e" opacity="0.8"/><circle cx="12" cy="12" r="10" fill="none" stroke="%23ff006e" stroke-width="2" opacity="0.6"/></svg>') 12 12, pointer;
}

/* 鼠标点击涟漪效果 */
.click-ripple {
    position: fixed;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: rippleEffect 0.6s ease-out;
    box-shadow: 
        0 0 10px var(--neon-cyan),
        inset 0 0 10px var(--neon-cyan);
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

/* 鼠标拖尾 - 像素块 */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--neon-cyan);
    pointer-events: none;
    z-index: 9997;
    box-shadow:
        0 0 5px var(--neon-cyan),
        inset 0 0 2px rgba(255, 255, 255, 0.5);
    animation: pixelFall 1s ease-out forwards;
    image-rendering: pixelated;
}

.cursor-trail:nth-child(odd) {
    background: var(--neon-magenta);
    box-shadow:
        0 0 5px var(--neon-magenta),
        inset 0 0 2px rgba(255, 255, 255, 0.5);
}

@keyframes pixelFall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(30px) rotate(45deg);
    }
}

/* 背景霓虹粒子效果 */
.neon-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.neon-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--neon-cyan);
    box-shadow: 
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan);
    opacity: 0.6;
    animation: floatParticle 15s infinite ease-in-out;
    image-rendering: pixelated;
}

.neon-particle:nth-child(2n) {
    background: var(--neon-magenta);
    box-shadow: 
        0 0 10px var(--neon-magenta),
        0 0 20px var(--neon-magenta);
    animation-duration: 18s;
}

.neon-particle:nth-child(3n) {
    background: var(--neon-purple);
    box-shadow: 
        0 0 10px var(--neon-purple),
        0 0 20px var(--neon-purple);
    animation-duration: 20s;
}

.neon-particle:nth-child(4n) {
    background: var(--neon-yellow);
    box-shadow: 
        0 0 10px var(--neon-yellow),
        0 0 20px var(--neon-yellow);
    animation-duration: 22s;
}

/* 每个粒子随机位置 */
.neon-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.neon-particle:nth-child(2) { left: 20%; top: 80%; animation-delay: -2s; }
.neon-particle:nth-child(3) { left: 30%; top: 40%; animation-delay: -4s; }
.neon-particle:nth-child(4) { left: 40%; top: 60%; animation-delay: -6s; }
.neon-particle:nth-child(5) { left: 50%; top: 30%; animation-delay: -8s; }
.neon-particle:nth-child(6) { left: 60%; top: 70%; animation-delay: -10s; }
.neon-particle:nth-child(7) { left: 70%; top: 50%; animation-delay: -12s; }
.neon-particle:nth-child(8) { left: 80%; top: 25%; animation-delay: -14s; }
.neon-particle:nth-child(9) { left: 90%; top: 85%; animation-delay: -16s; }
.neon-particle:nth-child(10) { left: 15%; top: 65%; animation-delay: -18s; }
.neon-particle:nth-child(11) { left: 25%; top: 15%; animation-delay: -1s; }
.neon-particle:nth-child(12) { left: 35%; top: 75%; animation-delay: -3s; }
.neon-particle:nth-child(13) { left: 45%; top: 45%; animation-delay: -5s; }
.neon-particle:nth-child(14) { left: 55%; top: 55%; animation-delay: -7s; }
.neon-particle:nth-child(15) { left: 65%; top: 35%; animation-delay: -9s; }
.neon-particle:nth-child(16) { left: 75%; top: 65%; animation-delay: -11s; }
.neon-particle:nth-child(17) { left: 85%; top: 45%; animation-delay: -13s; }
.neon-particle:nth-child(18) { left: 95%; top: 75%; animation-delay: -15s; }
.neon-particle:nth-child(19) { left: 5%; top: 55%; animation-delay: -17s; }
.neon-particle:nth-child(20) { left: 12%; top: 90%; animation-delay: -19s; }

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, 60px) scale(1.1);
        opacity: 0.5;
    }
}

/* ==================== 关注/粉丝列表样式 ==================== */

.follow-list {
    max-height: 400px;
    overflow-y: auto;
}

.follow-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

.follow-item:hover {
    background: rgba(0, 255, 249, 0.05);
}

.follow-item:last-child {
    border-bottom: none;
}

.follow-item-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--neon-cyan);
}

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

.follow-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.follow-item-bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.follow-item-action {
    flex-shrink: 0;
}

.btn-follow, .btn-unfollow {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-follow {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.btn-follow:hover {
    box-shadow: 0 0 20px var(--neon-cyan);
    transform: translateY(-2px);
}

.btn-unfollow {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-unfollow:hover {
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
}

.follow-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.follow-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ==================== 老黄历样式 ==================== */

/* ==================== 热搜火焰图标渐变 ==================== */

.hot-search-item .hot-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 前3名：深红色（最热） */
.hot-search-item:nth-child(-n+3) .hot-icon {
    color: #ff1744;
    filter: drop-shadow(0 0 4px #ff1744);
}

/* 4-6名：橙红色 */
.hot-search-item:nth-child(n+4):nth-child(-n+6) .hot-icon {
    color: #ff5722;
    filter: drop-shadow(0 0 3px #ff5722);
}

/* 7-10名：橙色 */
.hot-search-item:nth-child(n+7):nth-child(-n+10) .hot-icon {
    color: #ff9800;
    filter: drop-shadow(0 0 2px #ff9800);
}

/* 11-15名：黄色 */
.hot-search-item:nth-child(n+11):nth-child(-n+15) .hot-icon {
    color: #ffc107;
}

/* 16-20名：浅黄色 */
.hot-search-item:nth-child(n+16):nth-child(-n+20) .hot-icon {
    color: #ffeb3b;
    opacity: 0.8;
}

/* 21名以后：更浅 */
.hot-search-item:nth-child(n+21) .hot-icon {
    color: #fff59d;
    opacity: 0.6;
}

/* 热搜标题颜色也跟随热度变化 */
.hot-search-item:nth-child(-n+3) .hot-title {
    color: #ff1744;
    font-weight: 600;
}

.hot-search-item:nth-child(n+4):nth-child(-n+6) .hot-title {
    color: #ff5722;
    font-weight: 600;
}

.hot-search-item:nth-child(n+7):nth-child(-n+10) .hot-title {
    color: #ff9800;
}

/* SVG图标样式 - 弹窗按钮 */
.action-btn-modal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 249, 0.05);
    border: 1px solid rgba(0, 255, 249, 0.2);
    transition: all 0.3s;
}

/* 点赞按钮默认粉红色 */
.action-btn-modal[data-action="like"] {
    background: rgba(255, 0, 110, 0.1);
    border-color: rgba(255, 0, 110, 0.2);
}

/* 收藏按钮默认黄色 */
.action-btn-modal[data-action="favorite"] {
    background: rgba(255, 190, 11, 0.1);
    border-color: rgba(255, 190, 11, 0.2);
}

.action-btn-modal .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn-modal .icon-svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s;
}

.action-btn-modal:hover .icon-svg {
    transform: scale(1.1);
}

.action-btn-modal.active .icon-svg {
    color: var(--neon-magenta);
    filter: drop-shadow(0 0 5px var(--neon-magenta));
}

/* 关注/粉丝列表样式 */
.follow-list {
    max-height: 60vh;
    overflow-y: auto;
}

.follow-item {
    cursor: pointer;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 10px 50px rgba(0, 255, 249, 0.3);
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0.5rem;
}

.modal-close:hover {
    color: var(--neon-cyan);
}

.modal-body {
    padding: 0;
}

/* 统计块可点击样式 */
.stat-item.clickable {
    transition: all 0.3s;
}

.stat-item.clickable:hover {
    transform: translateY(-2px);
    background: rgba(0, 255, 249, 0.05);
    border-radius: 8px;
    padding: 0.5rem;
    margin: -0.5rem;
}

/* 霓虹像素风鼠标样式 */
a, button, .clickable, .nav-link, .profile-link, .icon-btn, .btn-submit, .btn-primary, .theme-toggle, input[type="checkbox"] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="6" y="6" width="12" height="12" fill="none" stroke="%2300fff9" stroke-width="2"/><rect x="10" y="10" width="4" height="4" fill="%23ff006e"/></svg>') 12 12, pointer;
}

input, textarea, select {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="11" y="6" width="2" height="12" fill="%2300fff9"/><rect x="10" y="10" width="4" height="4" fill="%23bf00ff" opacity="0.5"/></svg>') 12 12, text;
}

/* 骨架屏样式 */
.skeleton-loader {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skeleton-card {
    padding: 1.5rem;
    animation: fadeInUp 0.3s ease-out;
}

.skeleton-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(90deg, 
        rgba(0, 255, 249, 0.05) 0%, 
        rgba(0, 255, 249, 0.15) 50%, 
        rgba(0, 255, 249, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, 
        rgba(0, 255, 249, 0.05) 0%, 
        rgba(0, 255, 249, 0.15) 50%, 
        rgba(0, 255, 249, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-name {
    width: 120px;
}

.skeleton-time {
    width: 80px;
}

.skeleton-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.skeleton-text {
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-actions {
    display: flex;
    gap: 1rem;
}

.skeleton-button {
    width: 80px;
    height: 32px;
    border-radius: 16px;
    background: linear-gradient(90deg, 
        rgba(0, 255, 249, 0.05) 0%, 
        rgba(0, 255, 249, 0.15) 50%, 
        rgba(0, 255, 249, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 平滑过渡效果 */
.feed {
    transition: opacity 0.2s ease-out;
}

