/* =====================================================================
 * 02 AI 拟声克隆来电核验 · 独立版式「声纹频谱核验台」
 * 紫罗兰强调色 · 频谱条阵 + 通话时序节点
 * ===================================================================== */
.fb--vc { --fb-a: #a340c8; --fb-a-soft: #f5e8fa; }
:root[data-theme="dark"] .fb--vc { --fb-a: #d78ce8; --fb-a-soft: #2c1735; }

.vc-hero { padding-top: 30px; }
.vc-console { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .74fr); gap: 13px; margin-top: 20px; align-items: start; }
.vc-form { border-top: 3px solid var(--fb-a); }
.vc-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vc-sub-label { margin-top: 16px; }
.vc-flags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }

/* 频谱面板 */
.vc-scan { position: relative; overflow: hidden; }
.vc-scan::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 50% 120%, var(--fb-scan), transparent 62%);
}
.vc-scan-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
    border-bottom: 1px solid var(--fb-line2); padding-bottom: 9px; position: relative;
}
.vc-scan-head span { font-family: var(--fb-font-mono); font-size: 9.5px; letter-spacing: .18em; color: var(--fb-a); }
.vc-scan-head b { font-family: var(--fb-font-mono); font-size: 12px; }
.vc-spectrum {
    display: flex; align-items: flex-end; gap: 3px; height: 86px; margin: 14px 0 12px;
    padding-bottom: 14px; position: relative; border-bottom: 1px solid var(--fb-line2);
}
.vc-bar {
    flex: 1 1 0; min-width: 0; border-radius: 1px 1px 0 0;
    background: var(--fb-a); opacity: .85; transition: height .35s ease;
}
.vc-bar.is-hot { background: var(--fb-danger); opacity: 1; }
.vc-bar.is-cold { background: var(--fb-line2); opacity: .9; }
.vc-spectrum i {
    position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
    font-family: var(--fb-font-mono); font-size: 8px; color: var(--fb-muted); font-style: normal;
}

/* 通话时序 */
.vc-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; position: relative; margin-bottom: 12px; }
.vc-tl-node { display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; }
.vc-tl-node::before {
    content: ""; position: absolute; top: 5px; left: -50%; width: 100%; height: 1px;
    background: var(--fb-line2);
}
.vc-tl-node:first-child::before { display: none; }
.vc-tl-node i {
    width: 11px; height: 11px; border-radius: 50%; background: var(--fb-line2);
    border: 2px solid var(--fb-card); box-shadow: 0 0 0 1px var(--fb-line2); position: relative; z-index: 1;
}
.vc-tl-node span { font-family: var(--fb-font-mono); font-size: 9.5px; color: var(--fb-muted); letter-spacing: .06em; }
.vc-tl-node.is-on i { background: var(--fb-a); box-shadow: 0 0 0 1px var(--fb-a); }
.vc-tl-node.is-on span { color: var(--fb-ink2); }
.vc-tl-node.is-risk i { background: var(--fb-danger); box-shadow: 0 0 0 1px var(--fb-danger); }

.vc-scan-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 4px; padding-top: 11px; border-top: 1px solid var(--fb-line2); position: relative;
}
.vc-score { display: flex; flex-direction: column; gap: 2px; }
.vc-score span { font-family: var(--fb-font-mono); font-size: 9.5px; letter-spacing: .18em; color: var(--fb-muted); }
.vc-score b { font-family: var(--fb-font-mono); font-size: 28px; line-height: 1.1; color: var(--fb-a); font-variant-numeric: tabular-nums; }
.vc-level {
    font-family: var(--fb-font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em;
    padding: 5px 11px; border: 1px solid var(--fb-line2); border-radius: 2px; color: var(--fb-muted);
}
.vc-level.lv-low { color: var(--fb-ok); border-color: var(--fb-ok); }
.vc-level.lv-mid { color: var(--fb-warn); border-color: var(--fb-warn); }
.vc-level.lv-high { color: var(--fb-danger); border-color: var(--fb-danger); }
.vc-level.lv-max { color: var(--fb-danger); border-color: var(--fb-danger); background: var(--fb-danger-soft); }
.vc-scan-note {
    margin: 11px 0 0; padding-top: 10px; border-top: 1px dashed var(--fb-line2);
    font-size: 11.5px; line-height: 1.75; color: var(--fb-muted); position: relative;
}

/* 结果区 */
.vc-split { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 13px; margin-top: 13px; }
.vc-scripts { border-left: 3px solid var(--fb-a); }
.vc-script-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.vc-script {
    border: 1px solid var(--fb-line2); border-left: 3px solid var(--fb-a); border-radius: var(--fb-r-sm);
    background: var(--fb-card2); padding: 10px 12px;
}
.vc-script b { display: block; font-size: 12.5px; margin-bottom: 4px; }
.vc-script span { display: block; font-size: 12.5px; line-height: 1.8; color: var(--fb-ink2); }
.vc-script-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.85; color: var(--fb-muted); }
.vc-batch { min-width: 1020px; }
.vc-batch td input[type="text"], .vc-batch td input[type="number"] { padding: 5px 7px; font-size: 12px; min-width: 58px; }
.vc-prose b { color: var(--fb-ink); }
.vc-prose p { margin-bottom: 11px; }

@media (max-width: 1000px) { .vc-console, .vc-split { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
    .vc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vc-flags, .vc-script-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) { .vc-fields { grid-template-columns: 1fr; } }
