.pd-voice-main{gap:7px!important}.pd-voice-main svg{flex:0 0 20px}.pd-voice-main.is-playing,.dir-audio.is-playing{background:#dba3e8!important;color:#26172c!important}.pd-service-audio svg,.pd-related-audio svg{width:22px;height:22px}
body.eg-home .voice-gallery .eg-spot-card .eg-spot-audio{top:16px;right:14px;left:auto;transform:none}body.eg-home .voice-gallery .eg-spot-card .voice-play{width:42px;height:42px;padding:0;border-radius:50%;border:1px solid #e8c5fc55;background:#22132bd9;box-shadow:0 4px 18px #0005}body.eg-home .voice-gallery .eg-spot-card .voice-play svg{width:19px;height:19px;margin:0}body.eg-home .voice-gallery .eg-spot-card .voice-play.is-playing{background:#dba3e8;color:#271630}
.pw-audio-editor{padding:20px;border:1px solid #4d3659;border-radius:16px;background:#1b1423}.pw-audio-editor audio{display:block;width:100%;margin:15px 0;color-scheme:dark}.pw-audio-upload{display:inline-flex!important;align-items:center;justify-content:center;padding:12px 20px;border-radius:24px;background:#9a50dd;color:white!important;cursor:pointer;font-size:14px}.pw-audio-upload input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pw-audio-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.pw-audio-actions button{font-size:13px}.pw-audio-editor details{margin-top:18px}.pw-audio-editor summary{font-size:12px;color:#c9a8db;cursor:pointer}.pw-audio-limit{display:block;margin:12px 0 0;color:#ac9bb8;font-size:11px}
.pd-head-actions .pd-actions-main .pd-voice-main{grid-column:1/-1}body.eg-home .voice-gallery .eg-spot-card .eg-spot-audio .voice-play{width:42px;height:42px}body.eg-home .voice-gallery .eg-spot-card .eg-spot-audio .voice-play svg{width:19px;height:19px;margin:0}
body.eg-home .voice-gallery .eg-spot-card:has(.eg-spot-new) .eg-spot-audio{top:48px}

/* Compact voice pill overlaps the lower edge of the portrait/frame. */
body.eg-home .voice-gallery .eg-spot-card:has(.eg-spot-audio:not(.is-empty)){padding-top:178px;--eg-voice-x:56px;--eg-voice-y:142px}
body.eg-home .voice-gallery .eg-spot-card:has(.voice-avatar-link.has-profile-frame){--eg-voice-y:136px}
body.eg-home .voice-gallery .eg-spot-card .eg-spot-audio,body.eg-home .voice-gallery .eg-spot-card:has(.eg-spot-new) .eg-spot-audio{top:var(--eg-voice-y,142px);left:var(--eg-voice-x,56px);right:auto;transform:translateX(-50%);z-index:5}
body.eg-home .voice-gallery .eg-spot-card .eg-spot-audio .voice-play{display:flex;align-items:center;justify-content:center;width:48px;height:32px;min-height:32px;padding:0;border:0;border-radius:999px;background:#8043ff;color:#fff;box-shadow:none;animation:none!important;scale:1!important;transition:background .15s,box-shadow .15s}
body.eg-home .voice-gallery .eg-spot-card .eg-spot-audio .voice-play:hover:not(:disabled){background:#955dff;box-shadow:0 0 0 3px #b18cff28}
body.eg-home .voice-gallery .eg-spot-card .eg-spot-audio .voice-play.is-playing{background:#9766fa;color:#fff;box-shadow:none}
body.eg-home .voice-gallery .eg-spot-card .eg-spot-audio .voice-play svg{width:16px;height:16px;margin-left:2px}
.eg-voice-equalizer{position:static!important;display:inline-flex!important;align-items:center;justify-content:center;gap:3px;flex:0 0 16px;width:16px;height:20px;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:inherit}
.eg-voice-equalizer i{display:block;width:2px;height:12px;border-radius:2px;background:currentColor;transform-origin:center;animation:egVoiceBars .62s ease-in-out infinite alternate}
.eg-voice-equalizer i:nth-child(2){height:19px;animation-duration:.79s;animation-delay:-.31s}.eg-voice-equalizer i:nth-child(3){height:10px;animation-duration:.57s;animation-delay:-.42s}
[aria-busy="true"] .eg-voice-equalizer i{animation-play-state:paused}.pd-voice-main.is-playing,.dir-audio.is-playing{background:#9766fa!important;color:#fff!important}.pd-service-audio.is-playing,.pd-related-audio.is-playing{background:#9766fa;color:#fff}
@keyframes egVoiceBars{from{transform:scaleY(.4)}to{transform:scaleY(1)}}
@media(max-width:520px){body.eg-home .voice-gallery .eg-spot-card:has(.eg-spot-audio:not(.is-empty)){padding-top:165px;--eg-voice-x:48.5px;--eg-voice-y:128px}body.eg-home .voice-gallery .eg-spot-card:has(.voice-avatar-link.has-profile-frame){--eg-voice-x:52.5px;--eg-voice-y:124px}}
@media(prefers-reduced-motion:reduce){.eg-voice-equalizer i{animation:none}}
