/* New-pitch simulator figures (see pitch-sim.js) */
.ps-sim { margin: 32px 0; padding: 20px; background: linear-gradient(180deg, var(--surface-2, #151821), var(--surface, #101218)); border: 1px solid var(--border, rgba(255,255,255,0.08)); border-radius: var(--radius-xl, 18px); box-shadow: var(--shadow, 0 18px 44px rgba(0,0,0,0.28)); }
.ps-sim .ps-title { font-weight: 700; font-size: 1.02rem; color: var(--text, #f5f7fb); }
.ps-sim .ps-sub, .ps-sim .ps-note { font-size: 0.84rem; color: var(--text-faint, rgba(245,247,251,0.46)); margin-top: 2px; }
.ps-sim .ps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.ps-sim .ps-panel { background: rgba(0,0,0,0.25); border: 1px solid var(--border, rgba(255,255,255,0.08)); border-radius: 12px; padding: 8px; min-width: 0; }
.ps-sim .ps-label { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-soft, rgba(245,247,251,0.7)); margin: 0 0 6px 2px; }
.ps-sim canvas { display: block; width: 100%; height: auto; }
.ps-sim .ps-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
.ps-sim .ps-slider { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--text-soft, rgba(245,247,251,0.7)); flex: 1 1 320px; }
.ps-sim .ps-slider input[type=range] { flex: 1 1 160px; accent-color: var(--accent, #ff263d); background: linear-gradient(90deg, transparent var(--lo), rgba(255,38,61,0.25) var(--lo), rgba(255,38,61,0.25) var(--hi), transparent var(--hi)); border-radius: 999px; }
.ps-sim .ps-slider output { font-variant-numeric: tabular-nums; color: var(--text, #f5f7fb); min-width: 9.5em; }
.ps-sim .ps-note { flex-basis: 100%; }
.ps-sim .ps-play { padding: 6px 14px; font: inherit; font-size: 0.84rem; font-weight: 600; color: var(--text, #f5f7fb); background: rgba(255,255,255,0.06); border: 1px solid var(--border, rgba(255,255,255,0.08)); border-radius: 999px; cursor: pointer; }
.ps-sim .ps-play:hover, .ps-sim .ps-play:focus-visible { border-color: var(--border-strong, rgba(255,57,81,0.28)); }
.ps-sim .ps-check { font-size: 0.84rem; color: var(--text-soft, rgba(245,247,251,0.7)); display: inline-flex; gap: 6px; align-items: center; }
.ps-sim .ps-table-wrap { overflow-x: auto; margin-top: 14px; }
.ps-sim .ps-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; font-variant-numeric: tabular-nums; }
.ps-sim .ps-table th, .ps-sim .ps-table td { padding: 6px 8px; text-align: right; border-bottom: 1px solid var(--border, rgba(255,255,255,0.08)); white-space: nowrap; }
.ps-sim .ps-table th:first-child, .ps-sim .ps-table td:first-child { text-align: left; white-space: normal; }
.ps-sim .ps-table th { color: var(--text-faint, rgba(245,247,251,0.46)); font-weight: 600; }
.ps-sim .ps-table tr.ps-new td { color: var(--text, #f5f7fb); font-weight: 600; }
.ps-sim .ps-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 0; }
.ps-sim figcaption { margin-top: 12px; font-size: 0.86rem; line-height: 1.5; color: var(--text-soft, rgba(245,247,251,0.7)); }
.article-body .np-video { margin: 28px 0; }
.article-body .np-video video { display: block; width: 100%; max-width: 420px; margin: 0 auto; border-radius: 14px; background: #000; aspect-ratio: 9 / 16; }
.article-body .np-video figcaption { text-align: center; margin-top: 8px; font-size: 0.86rem; color: var(--text-soft, rgba(245,247,251,0.7)); }
@media (max-width: 700px) { .ps-sim { padding: 14px 10px; margin: 24px -4px; } .ps-sim .ps-grid { grid-template-columns: 1fr; } }
