/* 顶部菜单栏 */
.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: linear-gradient(to bottom, rgba(50, 50, 50, 0.3), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    font-size: 13px;
    z-index: 1000;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 0px;
}

.apple-logo {
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.menu-item {
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.2s;
    color: white;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

body:not(.dark-mode) .menu-item:hover {
    background: rgba(0, 0, 0, 0.15);
    color: white;
}

body.dark-mode .menu-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.menu-item.active {
    font-weight: 600;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-icon {
    cursor: pointer;
    font-size: 14px;
}

.menu-icon-img {
    width: 18px;
    height: 18px;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.menu-icon-img:hover {
    opacity: 1;
}

.menu-time {
    font-size: 12px;
    color: white;
}

.control-center-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 4px;
}
