/* @🍮 */
/* === 设置侧边栏样式 === */

.settings-sidebar {
    /* @🍮 彻底禁止右滑空白 */
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 101;
    display: none;
    flex-direction: column;
}

.settings-sidebar.open {
    display: flex;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.settings-sidebar .header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    text-align: center;
    color: var(--primary-color);
}

.settings-sidebar .content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.settings-sidebar .form-group textarea {
    height: 100px;
    resize: vertical;
}

.settings-sidebar .avatar-setting {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.settings-sidebar .avatar-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}
