/* ==========================================================================
   主界面布局
   ========================================================================== */
/**
 * 微信三栏布局样式
 * @selector #main - 主界面容器
 * @selector #left - 左侧边栏
 * @selector #myPic - 用户头像

 * @selector .music_cd - 音乐播放器样式
 */

#main {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--bg-gray);
    overflow: hidden;
}

/* 左侧侧边栏 - 微信风格 */
#left {
    width: 60px;
    background: linear-gradient(180deg, #2aae67 0%, #07c160 100%);
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    z-index: 10;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

#myPic {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#myPic:hover {
    transform: scale(1.1);
    border-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.setting {
    position: absolute;
    bottom: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.setting:hover {
    background: rgba(255, 255, 255, 0.2);
}

.setting img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}


}

.set_content:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}

.set_content .lable {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.set_content .content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* 音乐播放器 */
.music_cd {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.music_cd::before {
    content: '♪';
    font-size: 28px;
    color: white;
    font-weight: bold;
}

.music_cd:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(7, 193, 96, 0.4);
}

.music_cd:active {
    transform: scale(0.95);
}

.music_cd.music_playing {
    animation: music_playing 9s infinite linear;
}