/* ==========================================
   音频播放器样式 (player.css)
   ========================================== */

/* --- 播放器容器 --- */
.custom-audio-player {
    margin: 16px 0;
    padding: 16px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.custom-audio-player audio {
    width: 100%;
    border-radius: 8px;
}

/* --- 自定义播放器（未来 JS 增强时用） --- */
.player-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.15s;
}
.play-btn:hover {
    transform: scale(1.05);
}

.player-progress {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}
.progress-current {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.player-time {
    font-size: 12px;
    color: #718096;
    font-family: monospace;
    white-space: nowrap;
}

.pitch-select {
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    font-size: 12px;
    background: #fff;
    cursor: pointer;
}

/* --- 变调下载区 --- */
.pitch-download-wrapper {
    margin: 16px 0;
    padding: 16px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.pitch-download-title {
    margin: 0 0 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}
.pitch-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.pitch-download-btn {
    padding: 6px 16px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.15s;
}
.pitch-download-btn:hover { opacity: 0.85; }
.pitch-download-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pitch-status {
    font-size: 12px;
    color: #a0aec0;
}

/* --- 会员付费保护块 --- */
.membership-protected {
    background: transparent;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    color: #4a5568;
    margin: 25px 0;
    position: relative;
    border: 2px dashed #cbd5e0;
}
.membership-protected-icon {
    font-size: 42px;
    margin-bottom: 15px;
    display: block;
    color: #d69e2e;
}
.membership-price {
    font-size: 14px;
    margin-top: 8px;
}
.membership-price strong {
    color: #d69e2e;
    font-size: 18px;
}
.membership-login-hint {
    margin-top: 12px;
    font-size: 13px;
}
.membership-login-hint a {
    color: #667eea;
    font-weight: 600;
}
.btn-membership-buy {
    background: linear-gradient(135deg, #d69e2e, #b7791f);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    margin-top: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}
.btn-membership-buy:hover { opacity: 0.9; }

.player-volume {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #718096;
}
.player-volume input[type=range] {
    width: 60px;
    height: 4px;
    accent-color: #667eea;
}
