/**
 * 皮肤切换器样式
 */

/* 皮肤切换按钮 - 固定在右上角 */
.skin-switcher {
    position: fixed;
    top: 80px;
    right: 30px;
    z-index: 3000;
}

.skin-switcher-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.skin-switcher-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

/* 皮肤选择面板 */
.skin-panel {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skin-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.skin-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 15px;
    text-align: center;
}

.skin-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skin-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.skin-option:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(-5px);
}

.skin-option.active {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.skin-color-preview {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.skin-color-preview.pink {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
}

.skin-color-preview.black {
    background: linear-gradient(135deg, #0f0c29, #302b63);
}

.skin-color-preview.white {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
}

.skin-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
}

.skin-check {
    margin-left: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

.skin-option.active .skin-check {
    display: flex;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .skin-switcher {
        top: 60px;
        right: 10px;
    }
    
    .skin-switcher-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .skin-panel {
        top: 55px;
        right: -5px;
        min-width: 180px;
    }
}
