/* 夜间模式样式 */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
    background-image: none;
}

body.dark-mode header {
    background-color: rgba(30, 30, 30, 0.9);
}

body.dark-mode .header h1 {
    color: #e0e0e0;
}

body.dark-mode .app {
    background-color: rgba(40, 40, 40, 0.8);
}

body.dark-mode .app-meta h1 {
    color: #e0e0e0;
}

body.dark-mode .app-meta h1 i {
    color: #5e9cff;
}

body.dark-mode .app-meta h2 {
    color: #b0b0b0;
}

body.dark-mode .app-item {
    background-color: rgba(50, 50, 50, 0.7);
}

body.dark-mode .app-item h1 {
    color: #d0d0d0;
}

body.dark-mode .notice {
    background-color: rgba(254, 168, 2, 0.1) !important;
}

body.dark-mode .notice h2,
body.dark-mode .notice i {
    color: #ffb83c;
}
/* 夜间模式切换按钮 */
.dark-mode-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s;
}

body.dark-mode .dark-mode-toggle {
    background-color: rgba(50, 50, 50, 0.9);
}

.dark-mode-toggle i {
    font-size: 20px;
    color: #333;
    transition: color 0.3s;
}

body.dark-mode .dark-mode-toggle i {
    color: #ffd700;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .dark-mode-toggle {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .dark-mode-toggle i {
        font-size: 18px;
    }
}