/* Voice is the fourth slide of the existing Scheherazade rail. */
.p-scheherazade .voice-slide { height: 0; overflow: hidden; }
.p-scheherazade[data-vis="voice"] { min-height: 860px; }
.p-scheherazade[data-vis="voice"] .voice-slide { height: auto; }
.p-scheherazade[data-vis="voice"] .slide:not(.voice-slide) { height: 0; overflow: hidden; }
.p-scheherazade[data-vis="voice"] .rail { flex-shrink: 0; }
.voice-slide .voice-lead { margin-top: 14px; font-size: 14px; line-height: 1.75; color: var(--ash); text-wrap: pretty; }
.voice-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.voice-choices button { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 12px 0; border-top: 1px solid var(--line); text-align: left; color: var(--ash); min-width: 0; transition: border-color .2s, color .2s; }
.voice-choices button[aria-pressed="true"] { color: var(--ember); border-top-color: var(--ember); }
.voice-choices button:hover { color: var(--bone); }
.voice-choice-icon { margin-bottom: 4px; }
.voice-choices svg, .voiceviz svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.voice-choices button > span:not(.voice-choice-icon) { font-weight: 650; font-size: 14px; }
.voice-choices small { font-size: 10px; color: var(--ash); line-height: 1.5; }
.voice-detail { margin-top: 12px; }
.voice-detail h3 { font-size: 16px; font-weight: 550; line-height: 1.5; }
.voice-slide .voice-detail p { margin-top: 8px; color: var(--ash); font-size: 13px; line-height: 1.8; }
.voice-slide .voice-setup { margin-top: 18px; color: var(--ash); font-size: 11px; line-height: 1.75; }
.voice-call { width: min(400px, 90cqw); padding: 24px 32px; border: 1px solid rgba(143,164,184,.24); border-radius: 24px; text-align: center; background: radial-gradient(ellipse at 50% 32%, rgba(143,164,184,.13), transparent 58%), linear-gradient(145deg, #11171c, #090c10 75%); box-shadow: 0 36px 90px rgba(0,0,0,.32), inset 0 1px rgba(235,229,218,.04); }
.voice-orbit { position: relative; width: 168px; height: 168px; margin: 28px auto 14px; display: grid; place-items: center; border: 1px solid rgba(143,164,184,.16); border-radius: 50%; }
.voice-orbit::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(217,163,98,.16); border-radius: 50%; }
.voiceviz .voice-orbit img { width: 112px; height: 112px; aspect-ratio: 1; box-shadow: none; filter: drop-shadow(0 0 20px rgba(217,163,98,.08)); }
.voice-name { font-size: 28px; font-weight: 550; letter-spacing: .02em; }
.voice-mode { margin-top: 4px; color: var(--ash); font-size: 12px; }
.voice-wave { display: flex; justify-content: center; align-items: center; gap: 5px; height: 62px; margin-top: 12px; }
.voice-wave i { height: var(--bar); width: 3px; border-radius: 2px; background: var(--ember); opacity: .7; }
.voice-wave i:nth-child(3n) { opacity: .3; }
[data-voice-example="input"] .voice-wave i { background: var(--steel); }
[data-voice-example="read"] .voice-wave i { opacity: .5; transform: scaleY(.6); }
.voice-example { min-height: 82px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.voice-example small { font-size: 10px; letter-spacing: .07em; color: var(--ash); }
.voice-example p { margin-top: 8px; font-size: 14px; line-height: 1.6; }
.voice-illustrated-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.voice-illustrated-controls > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ash); }
.voice-illustrated-controls > .voice-hangup { width: 48px; height: 48px; color: #e2aaa1; background: #502b2b; border-color: #70403b; }
.voice-hangup svg { transform: rotate(135deg); }
.voiceviz figcaption { padding: 6px; }
:lang(ko) .voice-slide { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 1000px) and (min-width: 761px) {
  .p-scheherazade[data-vis="voice"] { --col: 40vw; min-height: 940px; }
}
@media (max-width: 760px) {
  .p-scheherazade[data-vis="voice"] { min-height: 1040px; }
  .p-scheherazade[data-vis="voice"] .prod-copy { top: auto; max-height: none; overflow: visible; }
  .voice-slide .voice-lead { font-size: 13px; line-height: 1.7; margin-top: 12px; }
  .voice-choices { margin-top: 16px; gap: 10px; }
  .voice-choices button > span:not(.voice-choice-icon) { font-size: 13px; }
  .voice-choices small { font-size: 10px; }
  .voice-detail { margin-top: 10px; }
  .voice-detail h3 { font-size: 15px; }
  .voice-slide .voice-detail p { font-size: 12px; }
  .voice-slide .voice-setup { margin-top: 12px; font-size: 10px; }
  .voice-call { width: min(280px, 90cqw); padding: 14px 20px; border-radius: 20px; }
  .voice-orbit { margin: 0 auto 8px; width: 92px; height: 92px; }
  .voiceviz .voice-orbit img { width: 64px; height: 64px; }
  .voice-name { font-size: 20px; }
  .voice-mode { font-size: 10px; }
  .voice-wave { height: 34px; margin-top: 4px; }
  .voice-wave i { height: calc(var(--bar) * .6); }
  .voice-example { min-height: 56px; padding-top: 8px; }
  .voice-example p { font-size: 11px; margin-top: 4px; }
  .voice-illustrated-controls { margin-top: 8px; gap: 18px; }
  .voice-illustrated-controls > span { width: 30px; height: 30px; }
  .voice-illustrated-controls > .voice-hangup { width: 36px; height: 36px; }
  .voiceviz svg { width: 16px; height: 16px; }
}
@media (max-width: 350px) {
  .p-scheherazade[data-vis="voice"] { min-height: 1140px; }
}
