/* SonicVolts v9 — restored Listening Room design, simplified controls. */
.sv9-listening-panel{position:relative}
.sv9-secure-note,.sv9-powered{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#9fb6ad;white-space:nowrap}
.sv9-demo-terminal fieldset{border:0;margin:0;padding:0;min-width:0}
.sv9-demo-terminal legend{padding:0}
.sv9-demo-terminal .language-field{margin-top:3px}
.sv9-demo-terminal .language-field select{width:100%;min-height:64px;border:1px solid #cfdbd5;background:#fff;color:#173f46;border-radius:16px;padding:0 48px 0 18px;font-size:1.08rem;font-weight:600;appearance:auto}
.sv9-voice-field{margin-top:22px!important}
.sv9-voice-field legend{font-size:.95rem;font-weight:650;color:#21454c;margin-bottom:10px}
.sv9-demo-terminal .voice-profiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sv9-demo-terminal .voice-profile{min-height:74px;border:1px solid #d6dfda;background:#fff;padding:12px 14px;text-align:left}
.sv9-demo-terminal .voice-profile.active{background:#f2f6e8;border-color:#b7cf79}
.sv9-demo-terminal .voice-profile b{font-size:1rem}
.sv9-demo-terminal .voice-profile small{font-size:.76rem;color:#789087}
.sv9-demo-terminal .profile-orb{display:grid;place-items:center;font-size:1.2rem}
.sv9-amount-field{margin-top:22px!important}
.sv9-amount-field .input-label{display:block;margin-bottom:10px}
.sv9-demo-terminal .amount-presets{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 24px}
.sv9-demo-terminal .amount-presets button{min-width:0}
.sv9-demo-terminal .amount-presets button[aria-pressed="true"],.sv9-demo-terminal .amount-presets button.active{background:#173f46;color:#fff;border-color:#173f46}
.sv9-demo-terminal .play-actions{margin-top:0}
.sv9-demo-terminal #demo-submit{flex:1}
.sv9-demo-terminal .stop-button{flex:0 0 58px}
.sv9-demo-terminal .voice-notice{margin-top:13px}
.sv9-demo-terminal .audio-error{margin-top:12px;padding:12px 14px;border-radius:12px;background:#fff1ee;color:#9a382e;font-size:.9rem;line-height:1.5}
.sv9-demo-terminal .audio-error a{text-decoration:underline;font-weight:700}
.sv9-demo-terminal[data-playing="true"] .demo-result-icon,.experience[data-audio-state="playing"] .demo-result-icon{animation:sv9-pulse 1s ease-in-out infinite}
.experience[data-audio-state="playing"] .waveform i{animation:wave-play .7s ease-in-out infinite alternate;animation-delay:calc(var(--i,0)*.025s)}
.sv9-listening-panel .waveform i:nth-child(3n){--level:.72}.sv9-listening-panel .waveform i:nth-child(4n){--level:.46}.sv9-listening-panel .waveform i:nth-child(5n){--level:.9}
@keyframes sv9-pulse{50%{transform:scale(1.08)}}
@media(max-width:850px){.sv9-secure-note{display:none}.sv9-demo-terminal .amount-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.sv9-demo-terminal .voice-profiles{grid-template-columns:1fr 1fr}.sv9-demo-terminal .voice-profile{padding:10px}.sv9-demo-terminal .amount-presets{grid-template-columns:1fr 1fr}}
/* Mobile containment: keep every Listening Room child inside the rounded stage. */
.sv9-listening-panel .experience-copy,.sv9-listening-panel .studio-description,.sv9-listening-panel .sound-stage,.sv9-listening-panel .caption-console,.sv9-listening-panel .flow-steps{min-width:0;max-width:100%}
.sv9-listening-panel .studio-description,.sv9-listening-panel .caption-console p{overflow-wrap:anywhere}
@media(max-width:600px){
  .sv9-listening-panel .experience-copy{width:100%;overflow:hidden}
  .sv9-listening-panel .studio-description{width:100%}
  .sv9-listening-panel .sound-stage{width:100%;overflow:visible}
  .sv9-listening-panel .caption-console{width:100%}
  .sv9-listening-panel .flow-steps{width:100%;overflow:hidden}
}
