.news-life-toggle {
    position: fixed;
    z-index: 1001;
    top: 150px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 34px;
    background: rgba(30, 30, 30, 0.85);
    border: 2px solid #777;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    overflow: visible;
    user-select: none;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(150, 150, 150, 0.5);
}

/* 添加齿轮风格 */
.news-life-toggle.gear-style {
    background: linear-gradient(135deg, #333, #555);
    border: 2px solid #888;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5), 0 0 10px rgba(150, 150, 150, 0.5);
}

.news-life-toggle:before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #777, #999, #777);
    z-index: -1;
    border-radius: 5px;
    opacity: 0.8;
}

.news-life-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(150, 150, 150, 0.7);
}

.news-life-toggle .news-side {
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    background: rgba(30, 30, 30, 0.5);
    transition: all 0.3s;
    text-shadow: 0 0 5px #00ffff, 0 0 10px rgba(0, 255, 255, 0.5);
    font-weight: bold;
    border-right: 1px solid #666;
}

.news-life-toggle .life-side {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff00ff;
    background: rgba(30, 30, 30, 0.5);
    transition: all 0.3s;
    text-shadow: 0 0 5px #ff00ff, 0 0 10px rgba(255, 0, 255, 0.5);
    font-weight: bold;
    border-left: 1px solid #666;
}

/* 齿轮图标样式 */
.gear-icon {
    margin-right: 4px;
    display: inline-block;
    animation: gearRotate 8s linear infinite;
}

@keyframes gearRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.news-life-toggle .news-side:hover,
.news-life-toggle .life-side:hover {
    background: rgba(50, 50, 50, 0.8);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

.news-life-toggle.active-news .news-side {
    background: rgba(30, 30, 30, 0.9);
    color: #00ffff;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
}

.news-life-toggle.active-life .life-side {
    background: rgba(30, 30, 30, 0.9);
    color: #ff00ff;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
}