/* ============================================================
   风格B：子比原生 — 融入主题，简洁白卡 + 细线分隔
   配色跟随子比主题，不自定义主题色
   ============================================================ */

.ms-model-panel {
    margin-top: 24px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

/* ---- 徽章 ---- */
.ms-panel-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.ms-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}
.ms-badge-free {
    background: #f0f9eb;
    color: #67c23a;
    border: 1px solid #e1f3d8;
}
.ms-badge-premium {
    background: #fef0f0;
    color: #f56c6c;
    border: 1px solid #fde2e2;
}
.ms-badge-type {
    background: #ecf5ff;
    color: #409eff;
    border: 1px solid #d9ecff;
}

/* ---- 参数面板 ---- */
.ms-params-panel {
    background: #fff;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.ms-params-panel h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.ms-params-panel h3::before {
    content: '';
    display: inline-block;
    width: 3px; height: 16px;
    border-radius: 2px;
    background: #f04494;
    flex-shrink: 0;
}
.ms-params-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}
.ms-param-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 0;
    border-bottom: 1px solid #fafafa;
}
.ms-param-full { grid-column: 1 / -1; }
.ms-param-label {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ms-param-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* ---- 音频区块 ---- */
.ms-compare-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.ms-compare-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.ms-compare-title::before {
    content: '';
    display: inline-block;
    width: 3px; height: 16px;
    border-radius: 2px;
    background: #f04494;
    flex-shrink: 0;
}

/* 切换按钮组 */
.ms-single-switch {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    border: 1.5px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}
.ms-switch-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: #f5f5f5;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: center;
}
.ms-switch-btn:first-child { border-right: 1px solid #eee; }
.ms-switch-btn:hover { background: #eee; color: #555; }
.ms-switch-btn.active {
    background: #f04494;
    color: #fff;
    font-weight: 600;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

/* 播放器主体 */
.ms-single-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 播放按钮 — 幽灵风格，hover显色 */
.ms-single-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ms-single-play {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #ccc;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    line-height: 1;
}
.ms-single-play:hover {
    color: #f04494;
    background: rgba(240, 68, 148, 0.06);
}
.ms-single-play.playing {
    color: #f04494;
    animation: ms-pulse 2.2s infinite;
}
@keyframes ms-pulse {
    0%, 100% { color: #f04494; }
    50% { color: #e91e7b; }
}

/* 进度条行 */
.ms-single-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ms-single-track {
    flex: 1;
    position: relative;
    height: 5px;
    background: #eee;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}
.ms-single-fill {
    height: 100%;
    background: #f04494;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}
.ms-single-time {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    min-width: 95px;
    text-align: right;
}

/* ---- 普通试听列表 ---- */
.ms-audio-samples {
    background: #fff;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.ms-audio-samples h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.ms-audio-samples h3::before {
    content: '';
    display: inline-block;
    width: 3px; height: 16px;
    border-radius: 2px;
    background: #f04494;
    flex-shrink: 0;
}
.ms-sample-player {
    background: #fafafa;
    border-radius: 10px;
    padding: 14px 18px 12px;
    margin-bottom: 10px;
}
.ms-sample-player:last-child { margin-bottom: 0; }
.ms-sample-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.ms-sample-label { font-size: 13px; font-weight: 500; color: #666; }

@media (max-width: 768px) {
    .ms-params-grid { grid-template-columns: 1fr; }
}
