#menubar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    box-sizing: border-box;
    z-index: 9999;
    font-size: 13px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #f5f5f7;
}

#menubar-left,
#menubar-right {
    display: flex;
    align-items: center;
}

#menubar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

#menubar li {
    padding: 2px 10px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-radius: 4px;
    height: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
    user-select: none;
}

#menubar li:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

#menubar li.apple-logo {
    font-size: 16px;
    padding: 2px 8px;
}

#menubar-right li {
    padding: 2px 6px;
}

#menubar-right .datetime {
    padding: 2px 8px;
    font-weight: 500;
}

#menubar i {
    font-size: 13px;
}

#menubar-left li.apple-logo i {
    font-size: 16px;
}
.controls-left {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.controls-center {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 12px;
}

.toolbar-left,
.toolbar-right {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
}

.toolbar-btn {
    background: transparent;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    font-size: 11px;
    transition: background 0.2s, color 0.2s;
}

.toolbar-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #666;
}