@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* 缂傚倸鍊搁崐鐑芥倿閿曗偓椤繗銇愰幒鎾充画闂佸啿鎼幊搴ㄦ儗濡ゅ懏鐓犻柟棰佺閻忥綁鏌ｉ妶鍌氫壕濠碉紕鍋戦崐鏍礉瑜忓Σ鎰板即閵忊晜鏅╅梺鎼炲労閻?- 闂傚倸鍊风粈渚€骞栭锔藉亱婵犲﹤鐗嗙粈鍫熺箾閸℃鐛滈柤鏉挎健閹鈽夊▍顓т邯椤㈡碍娼忛妸銈囩畾濡炪倖鐗楃喊宥夊箚閸儲鍋?*/
@font-face {
    font-family: 'ZCOOL KuaiLe';
    src: url('https://cdn.jsdelivr.net/npm/@chinese-fonts/zcoolkuaile/dist/ZCOOLKuaiLe-Regular/result.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/npm/@chinese-fonts/zcoolkuaile/dist/ZCOOLKuaiLe-Regular/result.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 缂傚倸鍊搁崐椋庣矆娓氣偓钘濆ù鍏兼綑閸ㄥ倿鏌ょ粙鍨倎缂佽妫涢幉鎼佸籍閸垹绁﹂梺鎼炲労閸撴岸宕戦崟顐富閻庯綆浜滈銏ゆ煙閼碱剛甯涚紒?*/
@font-face {
    font-family: 'Tech';
    src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
    font-display: swap;
}

:root {
    --primary: #00f0ff;
    --primary-dark: #00b8c4;
    --primary-glow: rgba(0, 240, 255, 0.4);
    --secondary: #ff00e4;
    --secondary-glow: rgba(255, 0, 228, 0.4);
    --accent: #7000ff;
    --success: #00ff88;
    --warning: #ffcc00;
    --danger: #ff3366;
    --dark: #0a0a1a;
    --dark-light: #12122a;
    --dark-card: rgba(18, 18, 42, 0.85);
    --light: #e0e0ff;
    --gray: #8899aa;
    --gray-light: rgba(136, 153, 170, 0.2);
    --shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 240, 255, 0.15);
    --radius: 24px;
    --radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'ZCOOL KuaiLe', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    min-height: 100vh;
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 闂傚倸鍊风粈渚€骞夐敓鐘茶摕闁挎繂顦粈澶屸偓骞垮劚椤︻垶鎮為崹顐犱簻闁瑰鍋涢婊呯磼娴ｅ嘲宓嗛柡灞剧⊕閹棃濮€閳哄倻鏉归柣?*/
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 0, 228, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(112, 0, 255, 0.06) 0%, transparent 50%);
    z-index: -2;
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 缂傚倸鍊搁崐鎼佸磹閹间礁鐤い鏍仜閸ㄥ倿鏌涢锝嗙闁稿顑夐弻鐔兼⒒鐎电濡介梺鎼炲€曠€氫即骞冨鈧幃娆撴濞戞顥氶梻?*/
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* 闂傚倷娴囬褏鑺遍懖鈺佺筏缂備焦顭囬悵鍫曟煕椤愮姴鍔氶柡鍕╁劦閺屾稑鈽夊▎鎰▏闂佸憡鍔忛崑?- 缂傚倸鍊搁崐椋庣矆娓氣偓钘濆ù鍏兼綑閸ㄥ倿鏌ょ粙鍨倎缂佽妫涢幉鎼佸籍閸垹绁?*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.1);
}

.nav-brand a {
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    gap: 2px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

.logo-d { 
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    animation: neonPulse 2s ease-in-out infinite;
}
.logo-i { 
    color: var(--secondary);
    text-shadow: 0 0 20px var(--secondary-glow);
    animation: neonPulse 2s ease-in-out infinite 0.3s;
}
.logo-c { 
    color: var(--accent);
    text-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
    animation: neonPulse 2s ease-in-out infinite 0.6s;
}

@keyframes neonPulse {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.8; filter: brightness(1.3); }
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: center;
}

.nav-item {
    text-decoration: none;
    color: var(--gray);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    position: relative;
}

.nav-item:hover {
    color: var(--primary);
    background: rgba(0, 240, 255, 0.1);
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-item:hover::after {
    width: 60%;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-menu {
    position: relative;
}




/* 下拉菜单 - 强制修复 */
.user-dropdown {
    display: none !important;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(10, 10, 26, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    min-width: 180px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.user-menu:hover .user-dropdown,
.user-menu.active .user-dropdown {
    display: block !important;
    animation: dropdownFadeIn 0.2s ease;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.user-dropdown a:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
}

.user-dropdown a.text-danger {
    color: var(--danger);
}

.user-dropdown a.text-danger:hover {
    background: rgba(255, 51, 102, 0.1);
    color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 240, 255, 0.1);
    margin: 0.5rem 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--light);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
    border: 1.5px solid rgba(0, 240, 255, 0.2);
    white-space: nowrap;
}

.user-info:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.4);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    flex-shrink: 0;
}

.user-points {
    color: var(--warning);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

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

.user-dropdown a:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 240, 255, 0.15);
    margin: 0.5rem 0;
}

/* 闂傚倸鍊风粈浣革耿闁秮鈧箓宕奸妷瀣喘閹晫绮欑捄顭戝敹?- 缂傚倸鍊搁崐椋庣矆娓氣偓钘濆ù鍏兼綑閸ㄥ倿鏌ょ粙鍨倎缂佽妫涢幉鎼佸籍閸垹绁?*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--dark);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--primary-glow);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #cc0044 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #00cc6a 100%);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

/* 濠电姷鏁搁崑鐐哄垂閸洖绠伴柟闂磋閳ь剨绠撻幃婊堟寠婢?*/
.home-page {
    padding-top: 0;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 0, 228, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary);
    animation: typewriter 3s steps(20) 0.5s forwards, blink 0.8s step-end infinite;
    width: 0;
}
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}
@keyframes blink {
    50% { border-color: transparent; }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    color: var(--gray);
    letter-spacing: 2px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 闂傚倸鍊风粈渚€骞夐垾鎰佹綎濠电姵鑹剧粣妤呮煛閸ャ儱鐏╃紒鈧崒娑欏弿婵＄偠顕ф禍楣冩倵鐟欏嫭绀冩い銊ワ攻娣囧﹪鎮滈挊澹┿劑鏌曟竟顖氭噳閺?*/
.features-section {
    padding: 3rem 2rem;
    background: rgba(10, 10, 26, 0.5);
    backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--light);
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
}

.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, #00f0ff 0%, #0088ff 100%); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, #ff00e4 0%, #8800ff 100%); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, #ffcc00 0%, #ff8800 100%); }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, #7000ff 0%, #4400cc 100%); }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, #ff3366 0%, #cc0044 100%); }

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* 闂傚倸鍊风粈渚€骞夐敓鐘茬闁哄洢鍨圭粻鐘诲箹閹碱厾鍘涢柡浣革躬閺岀喖鎮ч崼鐔哄嚒缂備讲鍋撶€光偓閸曨剛鍘卞┑鐘绘涧濡顢旈鍫熺厱?*/
.content-section {
    padding: 3rem 2rem;
    background: rgba(10, 10, 26, 0.3);
}

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

.section-header h2 {
    font-size: 1.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    font-family: 'Orbitron', sans-serif;
}

/* 闂傚倸鍊烽悞锕€顪冮崹顕呯劷闁秆勵殔缁€澶屸偓骞垮劚椤︻垶寮伴妷锔剧闁瑰瓨鐟ラ悘鈺冪棯椤撴稑浜鹃梻鍌欑劍鐎笛呯矙閹寸姭鍋撳鐓庡⒋闁?*/
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.user-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    text-decoration: none;
    color: var(--light);
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.user-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.1);
}

.user-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    margin-bottom: 0.75rem;
}

.user-card-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.user-card-points {
    color: var(--warning);
    font-size: 0.8rem;
}

/* 濠电姷顣槐鏇㈠磻閹达箑纾归柟鎹愭硾缁躲倕鈹戦悩瀹犲缂佲偓?*/
.footer {
    background: rgba(10, 10, 26, 0.9);
    color: var(--gray);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

/* 闂傚倸鍊风粈渚€骞夐敓鐘茬闁哄洢鍨圭粻鐘诲箹閹碱厾鍘涢柡浣革躬閺岀喖鏌囬敃鈧獮鎴澝瑰鍕煉闁哄矉缍佹慨鈧柣妯哄暱閺嗗牆鈹?*/
.content-page {
    padding-top: 80px;
    padding-bottom: 2rem;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-header {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.page-title {
    font-size: 1.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    font-family: 'Orbitron', sans-serif;
}

/* 闂傚倸鍊风粈渚€骞夐敓鐘偓鍐箛椤旂瓔娼熼梺鍝勬川閸犳劕鈻?*/
.card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.card:hover {
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.card-meta {
    flex: 1;
}

.card-author {
    font-weight: 600;
    color: var(--light);
    font-size: 0.9rem;
}

.card-time {
    font-size: 0.8rem;
    color: var(--gray);
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.card-content {
    color: var(--gray);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.card-actions {
    display: flex;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-light);
}

.card-action {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
    font-size: 0.9rem;
    font-family: inherit;
}

.card-action:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.card-action.active {
    color: var(--primary);
}

/* 缂傚倸鍊搁崐鎼佸磹閹间礁鐤い鏍仜閸ㄥ倿鏌涢锝嗙闁?*/
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* 闂傚倷娴囧畷鐢稿窗閹扮増鍋￠柕澶堝剻濞戞ǚ鏀介悗锝冨妷閸嬫捇宕掗悙鏌ュ敹闂佸搫娲ㄩ崑鐔笺€侀崨瀛樷拺闁圭娴烽埥澶愭倵濮樼厧澧撮柕?*/
.video-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
    text-decoration: none;
    color: var(--light);
    backdrop-filter: blur(10px);
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.12);
}

.video-thumbnail {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(255, 0, 228, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 240, 255, 0.1) 100%);
}

.video-thumbnail i {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.8;
    z-index: 1;
}

.video-info {
    padding: 0.875rem;
}

.video-title {
    font-weight: 600;
    margin-bottom: 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: 0.8rem;
}

/* 闂傚倷娴囧畷鐢稿窗閹扮増鍋￠柕澶堝剻濞戞ǚ鏀介悗锝冨妷閸嬫捇宕掗悙鏌ュ敹闂佸搫娲ㄩ崑鐔碱敊閹烘埈娓婚柕鍫濇鐏忕敻鏌涢悩鍐插鐎殿喗鍎奸妵鎰板箳閹捐泛骞?*/
.video-player-container {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.15);
    margin-bottom: 1rem;
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
}

.video-player {
    width: 100%;
    max-height: 70vh;
    display: block !important;
    background: #000;
}

.video-info-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
}

.video-title-large {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--light);
}

.video-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.video-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.author-name {
    font-weight: 600;
    color: var(--light);
}

.video-stats {
    display: flex;
    gap: 1rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.video-actions-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.9rem;
}

.action-btn:hover {
    background: rgba(0, 240, 255, 0.2);
    color: var(--primary);
    border-color: var(--primary);
}

.action-btn.active {
    background: rgba(0, 240, 255, 0.2);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.video-description {
    color: var(--gray);
    line-height: 1.8;
}

/* 闂傚倷娴囧畷鐢稿磻閻愮數鐭欓煫鍥ㄧ☉缁€澶愭倶閻愬灚娅曢柡?*/
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block !important;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--light);
    font-size: 0.9rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1.5px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
    background: rgba(0, 240, 255, 0.05);
    color: var(--light);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    background: rgba(0, 240, 255, 0.08);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* 濠电姷鏁搁崑鐐哄垂閸洖绠伴柟闂寸劍閺呮繈鏌ㄥ┑鍡樺妞ゎ偅娲熼弻娑㈩敃閿濆棛顦ョ紓浣插亾鐎光偓閸曨剛鍘卞┑鐘绘涧濡顢旈锔界厱?*/
.upload-area {
    border: 2px dashed rgba(0, 240, 255, 0.3);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(0, 240, 255, 0.03);
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary);
    background: rgba(0, 240, 255, 0.08);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

/* 濠电姷鏁搁崑鐐哄垂閸洖绠伴柟闂寸劍閺呮繈鏌ㄥ┑鍡樺妞ゎ偅娲熼弻銈囩矙鐠恒劋绮垫繛瀛樺殠閸婃牜鎹㈠☉銏犵闁诲繑妞挎禍顏堛€佸▎鎰瘈闁搞儯鍔庨崢?*/
.upload-progress-container {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0, 240, 255, 0.15);
}

.upload-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.upload-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 9999px;
    transition: width 0.3s ease;
    width: 0%;
    box-shadow: 0 0 10px var(--primary-glow);
}

.upload-progress-stats {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.8rem;
}

/* 闂傚倸鍊峰ù鍥儍椤愶箑骞㈤柍杞扮劍椤斿嫮绱撻崒姘偓鍝ョ矓鐎靛摜鐭撻柟缁㈠枛閻撴繈鏌￠崘銊у閹喖姊洪棃娑辨Ф闁稿孩鐓″鍫曞川婵犱胶绠氶梺缁樺姦娴滄粓鍩€椤掍緡娈滅€殿噮鍋嗛幏鐘差啅椤旀儳濮?*/
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.auth-box {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
}

.auth-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius) var(--radius) 0 0;
}

.auth-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    font-family: 'Orbitron', sans-serif;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* 闂傚倸鍊风粈浣革耿鏉堚晛鍨濇い鏍仜缁€澶嬩繆閵堝懏鍣瑰鍛攽椤旀枻渚涢柛蹇斆嵄闁割偁鍎查悡鏇熴亜閹扳晛鈧洟寮稿鍥╃＜?*/
.alert {
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    border-color: rgba(0, 255, 136, 0.3);
}

.alert-error {
    background: rgba(255, 51, 102, 0.1);
    color: var(--danger);
    border-color: rgba(255, 51, 102, 0.3);
}

.alert-warning {
    background: rgba(255, 204, 0, 0.1);
    color: var(--warning);
    border-color: rgba(255, 204, 0, 0.3);
}

/* 闂傚倷娴囧畷鍨叏閺夋嚚娲Χ閸ワ絽浜炬慨妯煎帶閻忥附銇勯姀锛勬噰妤犵偛顑夐弫鍐焵椤掑倻鐭?*/
.comments-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.comments-section h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.comment-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.comment-input-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.comment-input {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1.5px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(0, 240, 255, 0.05);
    color: var(--light);
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.comment-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem;
    background: rgba(0, 240, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 240, 255, 0.08);
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.comment-author {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.comment-time {
    font-size: 0.75rem;
    color: var(--gray);
}

.comment-text {
    color: var(--light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 闂傚倸鍊烽懗鍫曞储瑜嶉悾鐑筋敆閸曨剚娅囬梺闈涚墕椤︻垱顢?*/
.chat-container {
    display: flex;
    height: calc(100vh - 80px);
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.15);
    backdrop-filter: blur(10px);
}

.chat-sidebar {
    width: 280px;
    border-right: 1px solid rgba(0, 240, 255, 0.1);
    overflow-y: auto;
    background: rgba(10, 10, 26, 0.5);
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.chat-input-area {
    padding: 0.875rem;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    gap: 0.75rem;
}

.chat-input {
    flex: 1;
    padding: 0.6rem 0.875rem;
    border: 1.5px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    background: rgba(0, 240, 255, 0.05);
    color: var(--light);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* 濠电姷鏁搁崑鐐哄垂閸洖绠归柍鍝勫€婚々鍙夌箾閸℃顒熺憸搴☆嚗閸曨厸鍋撻敐搴″幋闁哄鐗楃换婵嬫偨闂堟刀锝夋煕濠靛棝鍙勯柛鈹惧亾?*/
.profile-header {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 25px var(--primary-glow);
    margin-bottom: 0.75rem;
}

.profile-name {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    color: var(--light);
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.25rem;
}

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

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.stat-label {
    color: var(--gray);
    font-size: 0.8rem;
}

/* 闂傚倸鍊风粈渚€骞栭銈囩煋闁哄鍤氬ú顏勎╅柍鍝勶攻閺呫垽姊绘担鍝ヤ虎妞ゆ垵鍟粋?*/
.tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    background: var(--dark-card);
    padding: 0.4rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tab {
    padding: 0.6rem 1.25rem;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--gray);
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.9rem;
}

.tab.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(0, 184, 196, 0.2) 100%);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

/* 婵犵數濮烽弫鎼佸磻閻愬搫绠伴柟闂寸缁犵喖鏌ㄩ悢鍝勑㈤柛?*/
.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 280px;
    margin: 1.5rem auto;
}

.game-cell {
    aspect-ratio: 1;
    background: rgba(0, 240, 255, 0.05);
    border: 1.5px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    color: var(--light);
}

.game-cell:hover {
    border-color: var(--primary);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px var(--primary-glow);
}

.game-cell.x { color: var(--primary); text-shadow: 0 0 10px var(--primary-glow); }
.game-cell.o { color: var(--secondary); text-shadow: 0 0 10px var(--secondary-glow); }

/* 闂備浇顕х€涒晠顢欓弽顓炵獥闁哄诞宥堚偓鍧楁⒑椤掆偓缁夌敻宕?*/
.modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 1.75rem;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 240, 255, 0.15);
}

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

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

.modal-title {
    font-size: 1.25rem;
    color: var(--primary);
}

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

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

/* 闂傚倸鍊风粈渚€骞夐敍鍕床闁稿本绮庨惌鎾绘倵閸偆鎽冨┑顔藉▕閺岀喓绱掑Ο杞板垔闂?*/
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
        height: 56px;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-container {
        flex-direction: column;
    }
    
    .chat-sidebar {
        width: 100%;
        height: 180px;
    }
    
    .profile-stats {
        gap: 1.5rem;
    }
    
    .video-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* 闂傚倸鍊风粈渚€骞夐敓鐘茶摕闁挎繂顦粈澶愬箹濞ｎ剙濡奸柡?*/
/* 页面入场动画 */
.content-page > .container { animation: pageSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes pageSlideIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* 卡片悬浮效果 */
.card, .card-activity, .card-admin, .card-settings { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover, .card-activity:hover, .card-admin:hover, .card-settings:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,240,255,0.08); }

/* 粒子背景 */
body::before { opacity: 0.6; }

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* 闂傚倸鍊风粈渚€骞夐垾鎰佹綎缂備焦蓱閸欏繘鏌熼锝囦汗鐟滅増甯掗悙濠冦亜閹哄棗浜剧紓浣插亾濠㈣埖鍔栭悡蹇撯攽閻愭垵鍟顏呮叏?*/
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

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

/* 缂傚倸鍊搁崐椋庣矆娓氣偓閹本鎷呯化鏇熺€洪梺鎸庣箓濡瑩宕ｈ箛娑欑厵闂傚倸顕ˇ锔剧磼?*/
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

/* 闂傚倸鍊烽懗鍫曞箠閹捐瑙﹂悗锝庡墮閸ㄦ繈骞栧ǎ顒€濡肩痪鎯с偢閺屾洘绻涢崹顔煎Ф濠?*/
.search-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 0.6rem 0.875rem;
    border: 1.5px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    background: rgba(0, 240, 255, 0.05);
    color: var(--light);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* 闂傚倸鍊风粈渚€骞夐敍鍕殰闁圭儤鍤﹀☉妯锋斀閻庯綆鈧?*/
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
}

.page-link {
    padding: 0.4rem 0.875rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--light);
    transition: var(--transition);
    background: rgba(0, 240, 255, 0.05);
    font-size: 0.9rem;
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* 缂傚倸鍊搁崐椋庣矆娓氣偓钘濆ù鐘差儏閸ㄥ倸霉閸忓吋缍戦柛銊ュ€块獮鏍庨鈧俊濂告煕濞嗗骏韬柡灞剧洴楠炴ê顪冮悙顒夋▊缂?*/
.points-display {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 204, 0, 0.1);
    padding: 0.4rem 0.875rem;
    border-radius: var(--radius);
    color: var(--warning);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

/* 缂傚倸鍊搁崐鐑芥倿閿斿墽鐭欓柟鐑橆殔绾惧潡鏌熼幆鐗堫棄闁哄嫨鍎抽埀顒€鍘滈崑鎾绘煕閺囥劌浜炴い鏂挎处缁绘繈濮€閿濆懐鍘梺鍛婃⒐閻楁粍绂?*/
.sign-in-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    border-radius: var(--radius);
}

.sign-in-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 濠电姷鏁搁崑娑㈩敋椤撶喐鍙忓Δ锝呭枤閺佸鎲告惔銊ョ疄闁靛ň鏅滈崑鍕煟閹捐櫕鎹ｆい锔诲亜閳规垶骞婇柛濠冩礈閳ь剚鍝庨崝鎴﹀春閳?*/
.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem;
    background: var(--dark-card);
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
}

.task-info h4 {
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    color: var(--light);
}

.task-info p {
    color: var(--gray);
    font-size: 0.8rem;
}

.task-points {
    color: var(--warning);
    font-weight: 600;
    font-size: 0.9rem;
}

/* 闂傚倸鍊风粈渚€骞夐敓鐘冲殞闁绘劦鍓﹀▓鑺ユ叏濠靛棜顫﹀ù?*/
.admin-sidebar {
    width: 240px;
    background: var(--dark-light);
    color: white;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    border-right: 1px solid rgba(0, 240, 255, 0.1);
}

.admin-main {
    margin-left: 240px;
    padding: 1.5rem;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* 闂傚倷娴囧畷鐢稿磻閻愮數鐭欓煫鍥ㄧ☉缁€澶屸偓骞垮劚椤︿即宕?*/
.table {
    width: 100%;
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
}

.table th,
.table td {
    padding: 0.875rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 240, 255, 0.08);
    font-size: 0.9rem;
}

.table th {
    background: rgba(0, 240, 255, 0.05);
    font-weight: 600;
    color: var(--primary);
}

.table tr:hover {
    background: rgba(0, 240, 255, 0.03);
}

/* 闂傚倸鍊烽懗鍓佸垝椤栫偐鈧箓宕奸妷銉︽К闂佸搫绋侀崢濂告倿閸偁浜滈柟杈剧稻绾爼鏌涢弬璺ㄐч柡宀嬬秮瀵粙鎮介崹顐还缂?*/
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-pending {
    background: rgba(255, 204, 0, 0.1);
    color: var(--warning);
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.status-approved {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.status-rejected {
    background: rgba(255, 51, 102, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 51, 102, 0.3);
}

/* Toast 闂傚倸鍊风粈浣革耿鏉堚晛鍨濇い鏍仜缁€澶嬩繆閵堝懏鍣瑰?*/
.toast-container {
    position: fixed;
    top: 80px;
    right: 1.5rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.toast {
    background: var(--dark-card);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: toastSlide 0.3s ease;
    backdrop-filter: blur(20px);
    border: 1px solid;
    min-width: 260px;
    font-size: 0.9rem;
}

.toast.success {
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--success);
}

.toast.error {
    border-color: rgba(255, 51, 102, 0.3);
    color: var(--danger);
}

.toast.warning {
    border-color: rgba(255, 204, 0, 0.3);
    color: var(--warning);
}

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

/* 闂傚倸鍊风粈渚€骞夐敓鐘冲殞闁绘劦鍓﹀▓鑺ユ叏濠靛棜顫﹀ù婊冪秺閺岀喓绱掗姀鐘崇亶闂佺楠搁惌鍌炲箖瑜版帒鐐婃い蹇撳濮ｃ垻绱撴担鍓叉Ц闁诲繑绻堥垾鏃堝礃椤斿槈褔鏌涢妷锝呭婵絽鐗嗛埞?*/
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.admin-login-box {
    background: var(--dark-card);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
}

.admin-login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius) var(--radius) 0 0;
}

.admin-login-box .form-input {
    background: rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.2);
    color: var(--light);
}

.admin-login-box .form-input::placeholder {
    color: var(--gray);
}

.admin-login-box .form-label {
    color: var(--light);
}

/* 婵犵數濮烽弫鍛婃叏閹绢喗鏅濋柕澶嗘櫆閸ゅ矂鏌ｉ幇闈涘闁告瑥绻橀弻宥夊传閸曨剙娅ｇ紓浣哄珡閸ャ劎鍙嗗┑鐐村灦閿氭い蹇ｅ亝缁绘稒寰勭€ｎ偆顦伴梺?*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.4);
}

/* 闂傚倸鍊搁崐椋庢閿熺姴纾婚柛鏇ㄥ瀬閸ヮ剦鏁嬮柍褜鍓熼獮濠傗枎閹惧磭顓洪梺鎸庢磵閸嬫挻淇婇锝忚€块柡灞剧洴婵＄兘骞嬪┑鍥ф闂佺灏欑划顖涚┍婵犲浂鏁冮柕鍫濇媼閺嗩厾绱撴笟鍥ф灈缂佺粯鍨圭划?*/
::selection {
    background: rgba(0, 240, 255, 0.3);
    color: var(--light);
}

/* 闂傚倸鍊风粈渚€骞夐敓鐘冲仭闁挎梻鏅粻鎯р攽閻樺弶鎼愰柡瀣╃劍閵囧嫰骞橀崡鐐典痪闂佹悶鍊栧ú妯兼崲濠靛洨绡€闁稿本纰嶅▓顓犵磽娴ｆ彃浜鹃柣搴秵閸犳鎮″☉姘ｅ亾楠炲灝鍔氶柟鍐查鍗遍柤濮愬€楃壕?*/
.context-menu {
    position: fixed;
    background: rgba(10, 10, 26, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    z-index: 1000;
    display: none !important;
    min-width: 150px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.context-menu-item {
    padding: 0.6rem 1rem;
    cursor: pointer;
    color: var(--light);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.context-menu-item:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
}

.context-menu-item i {
    width: 16px;
    text-align: center;
}

/* 婵犵數濮烽弫鎼佸磻閻愬搫鍨傞柣銏犳啞閸嬪鈹戦悩鎻掓殭妞ゆ洟浜堕弻娑樷槈閸楃偛瀛ｉ梺鍝ュ枎閹虫﹢寮诲☉妯锋瀻闊浄绲炬晥闂佽娴烽弫鎼佸极婵犳艾钃熸繛鎴欏灩鍞悷婊冪У缁傛帡鏁冮崒娑氬幗濠德板€愰崑鎾垛偓瑙勬处閸撶喖銆?*/
.message-deleted {
    opacity: 0.5;
    font-style: italic;
    color: var(--gray) !important;
}

.message-deleted i {
    margin-right: 0.3rem;
}

/* 婵犵數濮烽弫鎼佸磻閻愬搫鍨傞柣銏犳啞閸嬪鈹戦悩鎻掓殭妞ゆ洟浜堕弻娑樷槈濞嗘劗绋囩紓浣哄У閻楁濡甸崟顖氱闁糕剝銇炴竟鏇炩攽閻愬樊鍤熷┑顕€鏀辩换娑㈠焵椤掑倵鍋撳▓鍨珮闁稿锕ら悾閿嬬附閸涘﹤浜滈柡澶屽仦濠㈡﹢宕?*/
.message {
    position: relative;
    transition: background 0.2s;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
}

.message:hover {
    background: rgba(0, 240, 255, 0.03);
}

/* ===== 新增样式 ===== */

/* 公告栏 */
.announcement-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    color: var(--warning);
}

.announcement-bar i {
    font-size: 1.2rem;
}

.announcement-content {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.announcement-item.urgent {
    color: var(--danger);
    font-weight: 600;
}

.announcement-item.important {
    color: var(--warning);
    font-weight: 500;
}

.announcement-item.normal {
    color: var(--primary);
}

.announcement-item {
    text-decoration: none;
    transition: var(--transition);
}

.announcement-item:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.announcement-item.system {
    color: var(--primary);
}

/* 快捷入口 */
.quick-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 100;
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--dark-card);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.1);
}

.quick-action-item:hover {
    transform: translateY(-4px);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.quick-action-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.quick-action-item span {
    font-size: 0.65rem;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--dark-card);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-label {
    color: var(--gray);
    font-size: 0.85rem;
}

.filter-item {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--gray);
    font-size: 0.85rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.filter-item:hover {
    color: var(--primary);
    background: rgba(0, 240, 255, 0.05);
}

.filter-item.active {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border-color: rgba(0, 240, 255, 0.3);
}

/* 个人资料卡片 */
.profile-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.1);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.profile-cover {
    height: 150px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    opacity: 0.3;
}

.profile-info {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    margin-top: -50px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--dark);
    box-shadow: 0 0 25px var(--primary-glow);
}

.profile-details {
    flex: 1;
    padding-bottom: 0.5rem;
}

.profile-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-nickname {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.profile-signature {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.profile-bio {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.profile-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--gray);
    font-size: 0.8rem;
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

/* Tab导航 */
.tab-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: var(--dark-card);
    padding: 0.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.tab-item {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tab-item:hover {
    color: var(--primary);
    background: rgba(0, 240, 255, 0.05);
}

.tab-item.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(0, 184, 196, 0.2) 100%);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

/* 设置页面布局 */
.settings-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
}

.settings-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.settings-nav-item:hover {
    color: var(--primary);
    background: rgba(0, 240, 255, 0.05);
}

.settings-nav-item.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(0, 184, 196, 0.2) 100%);
    color: var(--primary);
}

.settings-content {
    min-width: 0;
}

/* 积分页面布局 */
.points-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
}

.points-card {
    text-align: center;
    padding: 2rem;
}

.points-icon {
    font-size: 3rem;
    color: var(--warning);
    margin-bottom: 0.5rem;
}

.points-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--warning);
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.points-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* 签到日历 */
.sign-in-calendar {
    margin-bottom: 1rem;
}

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

.calendar-nav {
    color: var(--primary);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.calendar-nav:hover {
    background: rgba(0, 240, 255, 0.1);
}

.calendar-title {
    font-weight: 600;
    color: var(--light);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day-header {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--light);
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.05);
    position: relative;
}

.calendar-day.empty {
    background: transparent;
    border: none;
}

.calendar-day.signed {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--success);
}

.calendar-day.today {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.calendar-day.signed i {
    font-size: 0.7rem;
    position: absolute;
    bottom: 2px;
}

/* 任务列表 */
.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--dark-card);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
}

.task-item:hover {
    border-color: rgba(0, 240, 255, 0.2);
}

.task-item.completed {
    opacity: 0.6;
}

.task-info h4 {
    margin-bottom: 0.25rem;
    color: var(--light);
}

.task-info p {
    color: var(--gray);
    font-size: 0.85rem;
}

.task-status {
    color: var(--success);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.task-reward {
    color: var(--warning);
    font-weight: 600;
    font-size: 0.9rem;
}

/* 积分记录 */
.coin-records {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.coin-record {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 240, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 240, 255, 0.05);
}

.coin-record-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.coin-record-type {
    color: var(--light);
    font-size: 0.9rem;
}

.coin-record-time {
    color: var(--gray);
    font-size: 0.75rem;
}

.coin-record-amount {
    font-weight: 600;
    font-size: 1rem;
}

.coin-record-amount.positive {
    color: var(--success);
}

.coin-record-amount.negative {
    color: var(--danger);
}

/* 动态页面 */
.moment-card {
    margin-bottom: 1rem;
}

.moment-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.moment-images.multi {
    grid-template-columns: repeat(3, 1fr);
}

.moment-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.moment-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

.moment-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
}

.image-preview-container {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.preview-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

/* 评论区 */
.comments-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.comment-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comment-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(0, 240, 255, 0.05);
    color: var(--light);
    font-family: inherit;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 240, 255, 0.03);
    border-radius: var(--radius-sm);
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.comment-author {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
}

.comment-text {
    color: var(--light);
    font-size: 0.9rem;
}

.comment-time {
    color: var(--gray);
    font-size: 0.75rem;
}

/* 搜索页面 */
.search-box-large {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

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

.search-section-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 排行榜 */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--dark-card);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
}

.ranking-item:hover {
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateX(4px);
}

.ranking-item.top-1 {
    border-color: rgba(255, 204, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.05) 0%, var(--dark-card) 100%);
}

.ranking-item.top-2 {
    border-color: rgba(192, 192, 192, 0.3);
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.05) 0%, var(--dark-card) 100%);
}

.ranking-item.top-3 {
    border-color: rgba(205, 127, 50, 0.3);
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.05) 0%, var(--dark-card) 100%);
}

.ranking-rank {
    width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray);
}

.ranking-item.top-1 .ranking-rank {
    color: var(--warning);
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.ranking-item.top-2 .ranking-rank {
    color: #c0c0c0;
}

.ranking-item.top-3 .ranking-rank {
    color: #cd7f32;
}

.ranking-user {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--light);
}

.ranking-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.ranking-username {
    font-weight: 600;
}

.ranking-score {
    color: var(--warning);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 用户网格 */
.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.user-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
    text-decoration: none;
    color: var(--light);
}

.user-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.1);
}

.user-avatar-large {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    margin-bottom: 0.75rem;
}

.user-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.user-points {
    color: var(--warning);
    font-size: 0.8rem;
}

/* 文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 1.25rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.article-card:hover {
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.08);
}

.article-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.article-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.article-author {
    font-weight: 600;
    color: var(--light);
    font-size: 0.9rem;
}

.article-time {
    color: var(--gray);
    font-size: 0.8rem;
}

.article-category {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    margin-left: auto;
}

.article-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-excerpt {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.article-stats {
    display: flex;
    gap: 1rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* 徽章 */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-pinned {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.badge-essence {
    background: rgba(255, 204, 0, 0.1);
    color: var(--warning);
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.badge-admin {
    background: rgba(255, 0, 228, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(255, 0, 228, 0.2);
}

/* 导航栏用户菜单 */
.nav-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-icon-link {
    position: relative;
    color: var(--gray);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 1.1rem;
}

.nav-icon-link:hover {
    color: var(--primary);
    background: rgba(0, 240, 255, 0.1);
}

.badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--danger);
    color: white;
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    border-radius: 9999px;
    font-weight: 600;
}

.user-menu-dropdown {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--light);
    transition: var(--transition);
    border: 1.5px solid rgba(0, 240, 255, 0.2);
}

.user-menu-trigger:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.4);
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.user-menu-content {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(10, 10, 26, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    min-width: 180px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.user-menu-dropdown:hover .user-menu-content {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

.user-menu-content a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.user-menu-content a:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
}

.user-menu-divider {
    height: 1px;
    background: rgba(0, 240, 255, 0.1);
    margin: 0.5rem 0;
}

/* 表单行 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* 复选框标签 */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--light);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* 密码输入框 */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

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

.password-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary);
}

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
    .settings-layout {
        grid-template-columns: 1fr;
    }
    
    .points-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -30px;
    }
    
    .profile-details {
        text-align: center;
    }
    
    .profile-meta {
        justify-content: center;
    }
    
    .profile-actions {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        bottom: 1rem;
        right: 1rem;
    }
    
    .quick-action-item {
        width: 48px;
        height: 48px;
    }
    
    .quick-action-item i {
        font-size: 1rem;
    }
    
    .quick-action-item span {
        display: none;
    }
}

@media (max-width: 480px) {
    .filter-bar {
        flex-direction: column;
    }
    
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .ranking-item {
        flex-wrap: wrap;
    }
    
    .ranking-score {
        width: 100%;
        text-align: right;
        margin-top: 0.5rem;
    }
}


/* ========== 全局动感增强 ========== */

/* 星空粒子背景增强 */
body::before { opacity: 0.8 !important; animation: bgPulse 5s ease-in-out infinite, starDrift 20s linear infinite; }
@keyframes starDrift { from { background-position: 0 0; } to { background-position: 100px 100px; } }

/* 呼吸边框 */
@keyframes breatheBorder { 0%,100% { box-shadow: 0 0 15px rgba(0,240,255,0.05); } 50% { box-shadow: 0 0 25px rgba(0,240,255,0.12); } }
body { animation: breatheBorder 4s ease-in-out infinite; }

/* 链接微动 */
a { transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
a:hover { transform: scale(1.03); }

/* 按钮脉冲 */
.btn-primary { animation: btnGlow 3s ease-in-out infinite; }
@keyframes btnGlow { 0%,100% { box-shadow: 0 0 8px rgba(0,240,255,0.2); } 50% { box-shadow: 0 0 20px rgba(0,240,255,0.4); } }

/* 图标浮动 */
.fas, .fab, .far { transition: transform 0.3s ease; }
.fas:hover, .fab:hover, .far:hover { transform: scale(1.2) rotate(5deg); }

/* 输入框聚焦波纹 */
input:focus, textarea:focus, select:focus { animation: inputRipple 0.5s ease; }
@keyframes inputRipple { 0% { box-shadow: 0 0 0 0 rgba(0,240,255,0.3); } 100% { box-shadow: 0 0 0 10px rgba(0,240,255,0); } }

/* 导航栏下划线流动 */
.nav-item::after { content: ""; position: absolute; bottom: -2px; left: 50%; width: 0; height: 2px; background: var(--primary); transition: all 0.3s ease; transform: translateX(-50%); }
.nav-item { position: relative; }
.nav-item:hover::after, .nav-item.active::after { width: 100%; }

/* 列表项渐入 */
.user-item, .member-item, .notif-item, .event-item, .report-item, .announce-item { animation: listFadeIn 0.4s ease backwards; }
.user-item:nth-child(1), .member-item:nth-child(1) { animation-delay: 0.05s; }
.user-item:nth-child(2), .member-item:nth-child(2) { animation-delay: 0.1s; }
.user-item:nth-child(3), .member-item:nth-child(3) { animation-delay: 0.15s; }
.user-item:nth-child(4), .member-item:nth-child(4) { animation-delay: 0.2s; }
.user-item:nth-child(5), .member-item:nth-child(5) { animation-delay: 0.25s; }
@keyframes listFadeIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

/* 页面标题发光 */
.page-title { text-shadow: 0 0 20px rgba(0,240,255,0.15); animation: titleGlow 3s ease-in-out infinite; }
@keyframes titleGlow { 0%,100% { text-shadow: 0 0 20px rgba(0,240,255,0.15); } 50% { text-shadow: 0 0 30px rgba(0,240,255,0.3); } }

/* 新增主题样式 */

/* 明亮主题 */
body.theme-light {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --primary-glow: rgba(0, 102, 204, 0.3);
    --secondary: #cc0066;
    --secondary-glow: rgba(204, 0, 102, 0.3);
    --accent: #6600cc;
    --success: #00aa55;
    --warning: #cc8800;
    --danger: #cc2244;
    --dark: #e8ecf1;
    --dark-light: #ffffff;
    --dark-card: rgba(255, 255, 255, 0.95);
    --light: #1a1a2e;
    --gray: #555;
    --gray-light: rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    background: #e8ecf1 !important;
    color: #1a1a2e !important;
}

body.theme-light::before {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(204, 0, 102, 0.05)) !important;
}

body.theme-light::after {
    background-image: 
        linear-gradient(rgba(0, 102, 204, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 204, 0.02) 1px, transparent 1px);
}

body.theme-light .card,
body.theme-light .navbar,
body.theme-light .user-menu-content,
body.theme-light .settings-sidebar,
body.theme-light .settings-content .card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

body.theme-light .nav-item,
body.theme-light .user-menu-trigger span,
body.theme-light .page-title,
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light p,
body.theme-light label,
body.theme-light .card-title,
body.theme-light .card-content,
body.theme-light .profile-name,
body.theme-light .article-title,
body.theme-light .video-title,
body.theme-light .comment-text,
body.theme-light .task-info h4 {
    color: #2c3e50;
}

body.theme-light .nav-item:hover,
body.theme-light .nav-item.active {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.08);
}

body.theme-light .card-meta,
body.theme-light .card-time,
body.theme-light .profile-nickname,
body.theme-light .profile-bio,
body.theme-light .article-time,
body.theme-light .article-excerpt,
body.theme-light .video-meta,
body.theme-light .comment-time,
body.theme-light .task-info p,
body.theme-light .filter-label {
    color: #666;
}

body.theme-light .form-input,
body.theme-light .form-textarea,
body.theme-light .form-select,
body.theme-light .search-input,
body.theme-light .comment-input {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
    color: #2c3e50;
}

body.theme-light .form-input::placeholder,
body.theme-light .form-textarea::placeholder {
    color: #999;
}

body.theme-light .btn-primary {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: #ffffff;
}

body.theme-light .btn-secondary {
    background: rgba(0, 102, 204, 0.08);
    color: #0066cc;
    border-color: #0066cc;
}

body.theme-light .settings-nav-item {
    color: #555;
}

body.theme-light .settings-nav-item:hover,
body.theme-light .settings-nav-item.active {
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
}

/* 暗黑主题 */
body.theme-dark {
    --primary: #ff6b6b;
    --primary-dark: #ee5a5a;
    --primary-glow: rgba(255, 107, 107, 0.4);
    --secondary: #4ecdc4;
    --secondary-glow: rgba(78, 205, 196, 0.4);
    --accent: #ffe66d;
    --success: #51cf66;
    --warning: #ffd43b;
    --danger: #ff6b6b;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --dark-card: rgba(22, 33, 62, 0.92);
    --light: #f0f0f0;
    --gray: #a0a0b0;
    --gray-light: rgba(255, 255, 255, 0.08);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: #1a1a2e !important;
    color: #f0f0f0 !important;
}

body.theme-dark::before {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
}

body.theme-dark::after {
    background-image: 
        linear-gradient(rgba(255, 107, 107, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(78, 205, 196, 0.03) 1px, transparent 1px);
}

body.theme-dark .card-meta,
body.theme-dark .card-time,
body.theme-dark .profile-nickname,
body.theme-dark .profile-bio,
body.theme-dark .article-time,
body.theme-dark .article-excerpt,
body.theme-dark .video-meta,
body.theme-dark .comment-time,
body.theme-dark .task-info p,
body.theme-dark .filter-label {
    color: #a0a0b0;
}

/* 极光主题 */
body.theme-aurora {
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --primary-glow: rgba(0, 255, 136, 0.4);
    --secondary: #ff00ff;
    --secondary-glow: rgba(255, 0, 255, 0.4);
    --accent: #00ffff;
    --success: #00ff88;
    --warning: #ffd700;
    --danger: #ff4757;
    --dark: #0d1117;
    --dark-light: #161b22;
    --dark-card: rgba(22, 27, 34, 0.92);
    --light: #e6edf3;
    --gray: #8b949e;
    --gray-light: rgba(255, 255, 255, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: #0d1117 !important;
    color: #e6edf3 !important;
}

body.theme-aurora::before {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 255, 136, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    animation: auroraMove 10s ease-in-out infinite alternate;
}

@keyframes auroraMove {
    0% { transform: translateX(-5%) translateY(0); }
    100% { transform: translateX(5%) translateY(-2%); }
}

body.theme-aurora::after {
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 255, 0.03) 1px, transparent 1px);
}

body.theme-aurora .card-meta,
body.theme-aurora .card-time,
body.theme-aurora .profile-nickname,
body.theme-aurora .profile-bio,
body.theme-aurora .article-time,
body.theme-aurora .article-excerpt,
body.theme-aurora .video-meta,
body.theme-aurora .comment-time,
body.theme-aurora .task-info p,
body.theme-aurora .filter-label {
    color: #8b949e;
}

/* 玻璃主题 */
body.theme-glass {
    --primary: #00f0ff;
    --primary-dark: #00b8c4;
    --primary-glow: rgba(0, 240, 255, 0.4);
    --secondary: #ff00e4;
    --secondary-glow: rgba(255, 0, 228, 0.4);
    --accent: #7000ff;
    --success: #00ff88;
    --warning: #ffd700;
    --danger: #ff4757;
    --dark: #0a0a1a;
    --dark-light: #12122a;
    --dark-card: rgba(18, 18, 42, 0.65);
    --light: #e0e0ff;
    --gray: #8899aa;
    --gray-light: rgba(255, 255, 255, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: #0a0a1a !important;
    color: #e0e0ff !important;
}

body.theme-glass::before {
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(0, 240, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(255, 0, 228, 0.12) 0%, transparent 50%);
}

body.theme-glass::after {
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
}

body.theme-glass .card,
body.theme-glass .navbar,
body.theme-glass .user-menu-content {
    backdrop-filter: blur(10px) saturate(150%);
    background: rgba(18, 18, 42, 0.65);
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
}

body.theme-glass .card-meta,
body.theme-glass .card-time,
body.theme-glass .profile-nickname,
body.theme-glass .profile-bio,
body.theme-glass .article-time,
body.theme-glass .article-excerpt,
body.theme-glass .video-meta,
body.theme-glass .comment-time,
body.theme-glass .task-info p,
body.theme-glass .filter-label {
    color: #a0aab8;
}

/* 液态玻璃主题 */
body.theme-liquid-glass {
    --primary: #00f0ff;
    --primary-dark: #00c4cc;
    --primary-glow: rgba(0, 240, 255, 0.4);
    --secondary: #ff00e4;
    --secondary-glow: rgba(255, 0, 228, 0.4);
    --accent: #7000ff;
    --success: #00ff88;
    --warning: #ffd700;
    --danger: #ff4757;
    --dark: #0a0a1a;
    --dark-light: #12122a;
    --dark-card: rgba(255, 255, 255, 0.12);
    --light: #e0e0ff;
    --gray: #8899aa;
    --gray-light: rgba(255, 255, 255, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: #0a0a1a !important;
    color: #e0e0ff !important;
}

body.theme-liquid-glass::before {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(255, 0, 228, 0.15));
    filter: blur(100px);
    animation: liquidMove 20s ease-in-out infinite alternate;
}

@keyframes liquidMove {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(5%, 5%); }
}

body.theme-liquid-glass .card, 
body.theme-liquid-glass .navbar,
body.theme-liquid-glass .user-menu-content {
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

body.theme-liquid-glass .card-meta,
body.theme-liquid-glass .card-time,
body.theme-liquid-glass .profile-nickname,
body.theme-liquid-glass .profile-bio,
body.theme-liquid-glass .article-time,
body.theme-liquid-glass .article-excerpt,
body.theme-liquid-glass .video-meta,
body.theme-liquid-glass .comment-time,
body.theme-liquid-glass .task-info p,
body.theme-liquid-glass .filter-label {
    color: #a0aab8;
}

/* 毛玻璃主题 - 修复版 */
body.theme-frosted-glass {
    --primary: #0088cc;
    --primary-dark: #006699;
    --primary-glow: rgba(0, 136, 204, 0.35);
    --secondary: #e91e63;
    --secondary-glow: rgba(233, 30, 99, 0.35);
    --accent: #9c27b0;
    --success: #28a745;
    --warning: #f0ad4e;
    --danger: #dc3545;
    --dark: #e2e8f0;
    --dark-light: #f7fafc;
    --dark-card: rgba(255, 255, 255, 0.72);
    --light: #1a202c;
    --gray: #4a5568;
    --gray-light: rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: #e2e8f0 !important;
    color: #1a202c !important;
}

body.theme-frosted-glass::before {
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f2f5 50%, #e0e7ff 100%);
    z-index: -3;
}

body.theme-frosted-glass::after {
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 136, 204, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(233, 30, 99, 0.15) 0%, transparent 40%);
    opacity: 0.8;
}

body.theme-frosted-glass .card, 
body.theme-frosted-glass .navbar,
body.theme-frosted-glass .user-menu-content,
body.theme-frosted-glass .settings-sidebar,
body.theme-frosted-glass .settings-content .card {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

body.theme-frosted-glass .nav-item,
body.theme-frosted-glass .user-menu-trigger span,
body.theme-frosted-glass .page-title,
body.theme-frosted-glass h1,
body.theme-frosted-glass h2,
body.theme-frosted-glass h3,
body.theme-frosted-glass p,
body.theme-frosted-glass label,
body.theme-frosted-glass .card-title,
body.theme-frosted-glass .card-content,
body.theme-frosted-glass .profile-name,
body.theme-frosted-glass .article-title,
body.theme-frosted-glass .video-title,
body.theme-frosted-glass .comment-text,
body.theme-frosted-glass .task-info h4 {
    color: #1a202c;
}

body.theme-frosted-glass .nav-item:hover,
body.theme-frosted-glass .nav-item.active {
    color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}

body.theme-frosted-glass .card-meta,
body.theme-frosted-glass .card-time,
body.theme-frosted-glass .profile-nickname,
body.theme-frosted-glass .profile-bio,
body.theme-frosted-glass .article-time,
body.theme-frosted-glass .article-excerpt,
body.theme-frosted-glass .video-meta,
body.theme-frosted-glass .comment-time,
body.theme-frosted-glass .task-info p,
body.theme-frosted-glass .filter-label {
    color: #4a5568;
}

body.theme-frosted-glass .btn-primary {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

body.theme-frosted-glass .btn-secondary {
    background: rgba(0, 136, 204, 0.08);
    color: #0088cc;
    border: 1.5px solid #0088cc;
}

body.theme-frosted-glass .form-input,
body.theme-frosted-glass .form-textarea,
body.theme-frosted-glass .form-select,
body.theme-frosted-glass .search-input,
body.theme-frosted-glass .comment-input {
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    color: #1a202c;
}

body.theme-frosted-glass .form-input::placeholder,
body.theme-frosted-glass .form-textarea::placeholder {
    color: #718096;
}

body.theme-frosted-glass .settings-nav-item {
    color: #4a5568;
}

body.theme-frosted-glass .settings-nav-item:hover,
body.theme-frosted-glass .settings-nav-item.active {
    background: rgba(0, 136, 204, 0.12);
    color: #0088cc;
}

/* 液态玻璃主题 - 修复版 */
body.theme-liquid-glass {
    --primary: #00f0ff;
    --primary-dark: #00c4cc;
    --primary-glow: rgba(0, 240, 255, 0.4);
    --secondary: #ff00e4;
    --secondary-glow: rgba(255, 0, 228, 0.4);
    --accent: #7000ff;
    --dark: #0a0a1a;
    --dark-light: #12122a;
    --dark-card: rgba(255, 255, 255, 0.1);
    --light: #e0e0ff;
    --gray: #8899aa;
    --shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 240, 255, 0.15);
}

body.theme-liquid-glass::before {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 228, 0.2));
    filter: blur(80px);
    animation: liquidMove 15s ease-in-out infinite alternate;
}

body.theme-liquid-glass::after {
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 0, 228, 0.1) 0%, transparent 50%);
}

body.theme-liquid-glass .card, 
body.theme-liquid-glass .navbar,
body.theme-liquid-glass .user-menu-content,
body.theme-liquid-glass .settings-sidebar,
body.theme-liquid-glass .settings-content .card {
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

body.theme-liquid-glass .card:hover,
body.theme-liquid-glass .settings-content .card:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 240, 255, 0.2);
}

body.theme-liquid-glass .nav-item,
body.theme-liquid-glass .user-menu-trigger span {
    color: #ffffff;
}

body.theme-liquid-glass .nav-item:hover {
    color: #00f0ff;
}

/* 玻璃主题 - 增强版 */
body.theme-glass .card, 
body.theme-glass .navbar,
body.theme-glass .user-menu-content,
body.theme-glass .settings-sidebar,
body.theme-glass .settings-content .card {
    backdrop-filter: blur(15px) saturate(160%);
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    background: rgba(18, 18, 42, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.15);
}

body.theme-glass .card:hover,
body.theme-glass .settings-content .card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 240, 255, 0.25);
}

/* 明亮主题 - 增强版 */
body.theme-light .card, 
body.theme-light .navbar,
body.theme-light .user-menu-content,
body.theme-light .settings-sidebar,
body.theme-light .settings-content .card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

body.theme-light .card:hover,
body.theme-light .settings-content .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.theme-light .nav-item {
    color: #555;
}

body.theme-light .nav-item:hover,
body.theme-light .nav-item.active {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.08);
}

body.theme-light .card-action {
    color: #666;
}

body.theme-light .card-action:hover {
    color: #0066cc;
}

body.theme-light .empty-state {
    color: #666;
}

body.theme-light .modal-content {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.theme-light .modal-title {
    color: #0066cc;
}

body.theme-light .modal-close {
    color: #666;
}

body.theme-light .modal-close:hover {
    color: #0066cc;
}

body.theme-light .page-link {
    background: rgba(0, 102, 204, 0.05);
    border-color: rgba(0, 102, 204, 0.2);
    color: #2c3e50;
}

body.theme-light .page-link:hover,
body.theme-light .page-link.active {
    background: #0066cc;
    color: #ffffff;
    border-color: #0066cc;
}

body.theme-light .tab-item {
    color: #555;
}

body.theme-light .tab-item:hover {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.05);
}

body.theme-light .tab-item.active {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.12);
}

body.theme-light .filter-item {
    color: #555;
}

body.theme-light .filter-item:hover {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.05);
}

body.theme-light .filter-item.active {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.1);
    border-color: rgba(0, 102, 204, 0.3);
}

body.theme-light .user-menu-content a {
    color: #2c3e50;
}

body.theme-light .user-menu-content a:hover {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.08);
}

body.theme-light .context-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .context-menu-item {
    color: #2c3e50;
}

body.theme-light .context-menu-item:hover {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.08);
}

body.theme-light .toast {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .toast.success {
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.3);
}

body.theme-light .toast.error {
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
}

body.theme-light .toast.warning {
    color: #f0ad4e;
    border-color: rgba(240, 173, 78, 0.3);
}

/* 暗黑主题 - 增强版 */
body.theme-dark .card, 
body.theme-dark .navbar,
body.theme-dark .user-menu-content,
body.theme-dark .settings-sidebar,
body.theme-dark .settings-content .card {
    background: rgba(22, 33, 62, 0.92);
    border: 1px solid rgba(255, 107, 107, 0.2);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.1);
}

body.theme-dark .card:hover,
body.theme-dark .settings-content .card:hover {
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.15);
}

body.theme-dark .nav-item {
    color: #e0e0e0;
}

body.theme-dark .nav-item:hover,
body.theme-dark .nav-item.active {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.08);
}

body.theme-dark .card-action {
    color: #a0a0b0;
}

body.theme-dark .card-action:hover {
    color: #ff6b6b;
}

body.theme-dark .empty-state {
    color: #a0a0b0;
}

body.theme-dark .page-link {
    background: rgba(255, 107, 107, 0.05);
    border-color: rgba(255, 107, 107, 0.2);
    color: #f0f0f0;
}

body.theme-dark .page-link:hover,
body.theme-dark .page-link.active {
    background: #ff6b6b;
    color: #1a1a2e;
    border-color: #ff6b6b;
}

body.theme-dark .tab-item {
    color: #a0a0b0;
}

body.theme-dark .tab-item:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

body.theme-dark .tab-item.active {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.12);
}

body.theme-dark .filter-item {
    color: #a0a0b0;
}

body.theme-dark .filter-item:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

body.theme-dark .filter-item.active {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
}

body.theme-dark .user-menu-content a {
    color: #f0f0f0;
}

body.theme-dark .user-menu-content a:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.08);
}

/* 极光主题 - 增强版 */
body.theme-aurora .card, 
body.theme-aurora .navbar,
body.theme-aurora .user-menu-content,
body.theme-aurora .settings-sidebar,
body.theme-aurora .settings-content .card {
    background: rgba(22, 27, 34, 0.88);
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 4px 16px rgba(0, 255, 136, 0.1);
}

body.theme-aurora .card:hover,
body.theme-aurora .settings-content .card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.15);
}

body.theme-aurora .nav-item {
    color: #d0d8e0;
}

body.theme-aurora .nav-item:hover,
body.theme-aurora .nav-item.active {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.08);
}

body.theme-aurora .card-action {
    color: #8b949e;
}

body.theme-aurora .card-action:hover {
    color: #00ff88;
}

body.theme-aurora .empty-state {
    color: #8b949e;
}

body.theme-aurora .page-link {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.2);
    color: #e6edf3;
}

body.theme-aurora .page-link:hover,
body.theme-aurora .page-link.active {
    background: #00ff88;
    color: #0d1117;
    border-color: #00ff88;
}

body.theme-aurora .tab-item {
    color: #8b949e;
}

body.theme-aurora .tab-item:hover {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.05);
}

body.theme-aurora .tab-item.active {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.12);
}

body.theme-aurora .filter-item {
    color: #8b949e;
}

body.theme-aurora .filter-item:hover {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.05);
}

body.theme-aurora .filter-item.active {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
}

body.theme-aurora .user-menu-content a {
    color: #e6edf3;
}

body.theme-aurora .user-menu-content a:hover {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.08);
}

/* 主题过渡动画 */
body.theme-light,
body.theme-dark,
body.theme-aurora,
body.theme-glass,
body.theme-liquid-glass,
body.theme-frosted-glass {
    transition: background-color 0.5s ease, color 0.5s ease;
}

body.theme-light .card,
body.theme-dark .card,
body.theme-aurora .card,
body.theme-glass .card,
body.theme-liquid-glass .card,
body.theme-frosted-glass .card,
body.theme-light .navbar,
body.theme-dark .navbar,
body.theme-aurora .navbar,
body.theme-glass .navbar,
body.theme-liquid-glass .navbar,
body.theme-frosted-glass .navbar {
    transition: all 0.3s ease;
}

/* 主题预览增强 */
.theme-preview {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 16px;
}

.theme-option {
    width: 100px;
    height: 75px;
    border-radius: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-option:hover {
    transform: scale(1.08) translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.theme-option.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow), 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.theme-option::after {
    content: attr(data-name);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    padding: 4px;
    text-align: center;
    font-weight: 500;
}

.theme-option.active::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

/* 主题预览色块 */
.theme-default { background: linear-gradient(135deg, #0a0a1a, #12122a); }
.theme-light { background: linear-gradient(135deg, #e8ecf1, #ffffff); }
.theme-dark { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.theme-aurora { background: linear-gradient(135deg, #0d1117, #00ff88); }
.theme-glass { background: linear-gradient(135deg, #0a0a1a, rgba(0, 240, 255, 0.3)); }
.theme-liquid-glass { background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 228, 0.2)); }
.theme-frosted-glass { background: linear-gradient(135deg, #e2e8f0, rgba(255, 255, 255, 0.9)); }

/* ========== 全局主题修复补丁 ========== */

/* 修复所有主题下的文字对比度问题 */
body[class*="theme-"] .card-title,
body[class*="theme-"] .video-title,
body[class*="theme-"] .article-title,
body[class*="theme-"] .profile-name,
body[class*="theme-"] .comment-text,
body[class*="theme-"] .task-info h4 {
    font-weight: 600;
}

/* 修复表单输入框在所有主题下的可见性 */
body[class*="theme-"] .form-input:focus,
body[class*="theme-"] .form-textarea:focus,
body[class*="theme-"] .form-select:focus,
body[class*="theme-"] .search-input:focus,
body[class*="theme-"] .comment-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* 修复按钮在所有主题下的对比度 */
body[class*="theme-"] .btn-primary {
    font-weight: 600;
}

/* 修复链接在所有主题下的可见性 */
body[class*="theme-"] a {
    transition: all 0.25s ease;
}

body[class*="theme-"] a:hover {
    opacity: 0.85;
}

/* 修复表格文字颜色 */
body[class*="theme-"] .table th {
    font-weight: 700;
}

body[class*="theme-"] .table td {
    color: var(--light);
}

/* 修复状态徽章 */
body[class*="theme-"] .status-badge {
    font-weight: 600;
}

/* 修复加载动画颜色 */
body[class*="theme-"] .loading {
    border-top-color: var(--primary);
}

/* 修复滚动条颜色 */
body[class*="theme-"] ::-webkit-scrollbar-track {
    background: var(--dark);
}

body[class*="theme-"] ::-webkit-scrollbar-thumb {
    background: var(--primary);
    opacity: 0.3;
}

/* 修复选中文字颜色 */
body[class*="theme-"] ::selection {
    background: var(--primary-glow);
    color: var(--light);
}

/* 修复消息删除样式 */
body[class*="theme-"] .message-deleted {
    opacity: 0.5;
    font-style: italic;
    color: var(--gray) !important;
}

/* 修复聊天消息hover效果 */
body[class*="theme-"] .message:hover {
    background: var(--primary-glow);
}

/* 修复下拉菜单边框 */
body[class*="theme-"] .user-menu-content,
body[class*="theme-"] .context-menu {
    border: 1px solid var(--primary);
    opacity: 0.2;
}

/* 修复模态框背景 */
body[class*="theme-"] .modal {
    background: rgba(0, 0, 0, 0.7);
}

/* 修复Toast通知 */
body[class*="theme-"] .toast {
    backdrop-filter: blur(20px);
}

/* 修复分页器 */
body[class*="theme-"] .page-link {
    transition: all 0.3s ease;
}

/* 修复Tab导航 */
body[class*="theme-"] .tab-item,
body[class*="theme-"] .settings-nav-item {
    transition: all 0.3s ease;
}

/* 修复筛选器 */
body[class*="theme-"] .filter-item {
    transition: all 0.3s ease;
}

/* 修复快捷操作按钮 */
body[class*="theme-"] .quick-action-item {
    transition: all 0.3s ease;
}

/* 修复排行榜 */
body[class*="theme-"] .ranking-item {
    transition: all 0.3s ease;
}

/* 修复用户卡片 */
body[class*="theme-"] .user-card {
    transition: all 0.3s ease;
}

/* 修复文章卡片 */
body[class*="theme-"] .article-card {
    transition: all 0.3s ease;
}

/* 修复视频卡片 */
body[class*="theme-"] .video-card {
    transition: all 0.3s ease;
}

/* 修复评论项 */
body[class*="theme-"] .comment-item {
    transition: all 0.3s ease;
}

/* 修复任务项 */
body[class*="theme-"] .task-item {
    transition: all 0.3s ease;
}

/* 修复积分记录 */
body[class*="theme-"] .coin-record {
    transition: all 0.3s ease;
}

/* 修复日历日期 */
body[class*="theme-"] .calendar-day {
    transition: all 0.3s ease;
}

/* 修复通知项 */
body[class*="theme-"] .notif-item {
    transition: all 0.3s ease;
}

/* 修复活动项 */
body[class*="theme-"] .activity-item {
    transition: all 0.3s ease;
}

/* 修复好友项 */
body[class*="theme-"] .friend-item {
    transition: all 0.3s ease;
}

/* 修复游戏单元格 */
body[class*="theme-"] .game-cell {
    transition: all 0.3s ease;
}

/* 修复上传区域 */
body[class*="theme-"] .upload-area {
    transition: all 0.3s ease;
}

/* 修复进度条 */
body[class*="theme-"] .upload-progress-fill {
    transition: width 0.3s ease;
}

/* 修复徽章 */
body[class*="theme-"] .badge {
    font-weight: 600;
}

/* 修复导航栏徽章 */
body[class*="theme-"] .badge-count {
    font-weight: 700;
}

/* 修复个人资料统计 */
body[class*="theme-"] .stat-value {
    font-weight: 700;
}

/* 修复设置页面 */
body[class*="theme-"] .settings-layout {
    gap: 1.5rem;
}

/* 修复积分页面 */
body[class*="theme-"] .points-layout {
    gap: 1.5rem;
}

/* 修复个人资料页面 */
body[class*="theme-"] .profile-info {
    gap: 1.5rem;
}

/* 修复响应式布局 */
@media (max-width: 768px) {
    body[class*="theme-"] .settings-layout,
    body[class*="theme-"] .points-layout {
        grid-template-columns: 1fr;
    }
    
    body[class*="theme-"] .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* 修复打印样式 */
@media print {
    body[class*="theme-"] {
        background: white !important;
        color: black !important;
    }
    
    body[class*="theme-"] .card,
    body[class*="theme-"] .navbar {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}


/* === QQ 风格聊天面板 === */
<?php
// qq_chat_style.css - QQ 风格聊天面板样式
// 把这个文件内容追加到 assets/css/style.css 末尾
?>

/* ========== QQ 风格聊天面板 ========== */

/* 整体容器 */
.chat-panel {
    display: flex;
    height: calc(100vh - 80px);
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/* 左侧边栏 */
.chats-sidebar {
    width: 300px;
    background: #fff;
    border-right: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 搜索栏 */
.chats-search {
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}
.chats-search input {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: #f0f0f0;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}
.chats-search input:focus {
    background: #e8f4ff;
    box-shadow: 0 0 0 2px #1677ff;
}

/* 会话列表 */
.chats-list {
    flex: 1;
    overflow-y: auto;
    background: #fff;
}
.chats-list::-webkit-scrollbar {
    width: 6px;
}
.chats-list::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
}

/* 会话项 */
.chats-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}
.chats-item:hover {
    background: #f5f5f5;
}
.chats-item.active {
    background: #e8f4ff;
}

.chats-item-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 12px;
    background: #1677ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.chats-item-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.chats-item-name {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chats-item-msg {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
}

.chats-item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

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

.chats-item-badge {
    background: #f56c6c;
    color: #fff;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    font-weight: 600;
}

/* 申请横幅 */
.chats-request-banner {
    padding: 12px 16px;
    background: #fff8e6;
    border-bottom: 1px solid #ffe4b8;
    cursor: pointer;
    transition: background 0.15s;
}
.chats-request-banner:hover {
    background: #fff1cc;
}
.chats-request-banner .req-text {
    font-size: 14px;
    color: #d48806;
    font-weight: 500;
}
.chats-request-banner .req-count {
    background: #f56c6c;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

/* 右侧聊天区 */
.chats-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f0f0f0;
    min-width: 0;
}

/* 聊天头部 */
.chats-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    gap: 12px;
}
.chats-header-info {
    flex: 1;
}
.chats-header-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}
.chats-header-status {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

/* 消息区 */
.chats-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.chats-messages::-webkit-scrollbar {
    width: 6px;
}
.chats-messages::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
}

/* 消息气泡 */
.chats-msg {
    display: flex;
    gap: 12px;
    max-width: 65%;
    animation: msgFadeIn 0.3s ease;
}
@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chats-msg.own {
    flex-direction: row-reverse;
    align-self: flex-end;
}

.chats-msg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.chats-msg-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    word-break: break-word;
}

.chats-msg:not(.own) .chats-msg-bubble {
    background: #fff;
    color: #1a1a1a;
    border-top-left-radius: 4px;
}
.chats-msg.own .chats-msg-bubble {
    background: #95ec69;
    color: #1a1a1a;
    border-top-right-radius: 4px;
}

/* 输入区 */
.chats-input-area {
    display: flex;
    align-items: flex-end;
    padding: 12px 20px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    gap: 12px;
}
.chats-input-toolbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.chats-input-toolbar label {
    cursor: pointer;
    color: #999;
    font-size: 18px;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.15s;
}
.chats-input-toolbar label:hover {
    color: #1677ff;
    background: #f0f0f0;
}

.chats-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    resize: none;
    font-family: inherit;
    min-height: 40px;
    max-height: 120px;
    transition: border-color 0.2s;
}
.chats-input:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 2px rgba(22,119,255,0.15);
}

.chats-send-btn {
    padding: 10px 24px;
    background: #1677ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
}
.chats-send-btn:hover {
    background: #0d66e6;
}

/* 空状态 */
.chats-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    gap: 12px;
}
.chats-empty i {
    font-size: 64px;
    opacity: 0.3;
}
.chats-empty p {
    font-size: 15px;
}

/* 图片消息 */
.chats-msg-image {
    max-width: 240px;
    border-radius: 8px;
    cursor: pointer;
}
.chats-msg-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(0,0,0,0.04);
    border-radius: 8px;
    color: #1677ff;
    text-decoration: none;
    font-size: 14px;
    max-width: 240px;
}
.chats-msg-file:hover {
    background: rgba(22,119,255,0.08);
}

/* 引用消息 */
.chats-msg-reply {
    background: rgba(0,0,0,0.04);
    border-left: 3px solid #1677ff;
    padding: 6px 10px;
    margin-bottom: 6px;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}
.chats-msg-reply:hover {
    background: rgba(22,119,255,0.08);
}

/* 回复预览 */
.chats-reply-preview {
    background: rgba(22,119,255,0.06);
    border-left: 3px solid #1677ff;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 0 8px 8px 0;
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}
.chats-reply-preview.active {
    display: flex;
}
.chats-reply-preview .close-btn {
    margin-left: auto;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    font-size: 14px;
    padding: 2px;
}
.chats-reply-preview .close-btn:hover {
    color: #f56c6c;
}

/* 已读状态 */
.read-status {
    font-size: 12px;
    color: #999;
    margin-left: 6px;
}
.read-status.read {
    color: #1677ff;
}

/* 消息操作 */
.msg-actions {
    position: absolute;
    top: 0;
    right: -90px;
    display: none;
    gap: 6px;
}
.chats-msg:hover .msg-actions {
    display: flex;
}
.msg-actions button {
    padding: 4px 10px;
    border: none;
    border-radius: 6px;
    background: rgba(0,0,0,0.06);
    color: #666;
    cursor: pointer;
    font-size: 13px;
}
.msg-actions button:hover {
    background: rgba(22,119,255,0.1);
    color: #1677ff;
}

/* 群成员下拉 */
.mention-dropdown {
    position: absolute;
    bottom: 60px;
    left: 50px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    max-height: 180px;
    overflow-y: auto;
    z-index: 100;
    min-width: 180px;
}
.mention-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mention-item:hover {
    background: #f5f5f5;
}
.mention-item.highlighted {
    background: #e8f4ff;
}

