/* Voice auditions. Builds on style.css: same palette, same dark theme. */
#voices { max-width: 620px; margin: 0 auto; display: grid; gap: 20px; align-content: start; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); }
.crumb { margin: 0; font-size: 0.9rem; }
.crumb a, .about a { color: var(--accent); text-decoration: none; }

.script { margin: 0; padding: 12px 14px 12px 34px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 2px; color: var(--muted); font-size: 0.92rem; }
.script li::marker { color: var(--faint); font-size: 0.8rem; }

.controls { display: grid; gap: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { padding: 7px 14px; font-size: 0.88rem; font-weight: 500; border-radius: 999px; color: var(--muted); }
.filters button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

.group { display: grid; gap: 8px; }
.group h2 { margin: 10px 0 2px; display: flex; justify-content: space-between; align-items: baseline; }
.group h2 small { font: 500 0.78rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--faint); }
.group .blurb { margin: -2px 0 4px; color: var(--muted); font-size: 0.88rem; }

.voice { display: grid; grid-template-columns: 52px 1fr 44px; gap: 12px; align-items: center; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.voice.playing { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.voice .play { width: 52px; height: 52px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--bg); }
.voice.playing .play { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.voice .play svg, .nowbtn svg { width: 20px; height: 20px; fill: currentColor; }
.voice .info { min-width: 0; display: grid; gap: 2px; }
.voice .name { font: 600 1.08rem/1.25 var(--round); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.voice .engine { font: 500 0.72rem var(--sans); color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; }
.voice .meta { color: var(--muted); font-size: 0.86rem; }
.voice .note { color: var(--faint); font-size: 0.8rem; }
.voice .clear { color: var(--ok); font-size: 0.8rem; }
.voice .warn { color: var(--warn); font-size: 0.8rem; }
.voice .star { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; color: var(--faint); }
.voice .star svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.voice .star[aria-pressed="true"] { color: #E9C46A; }
.voice .star[aria-pressed="true"] svg { fill: currentColor; }

.picklist { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 4px; }
.picklist li span { color: var(--faint); font-size: 0.85rem; }
#nopicks { margin: 8px 0 0; }
.about { color: var(--muted); font-size: 0.92rem; }
.about p { margin: 10px 0 0; }

.nowbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; gap: 12px; align-items: center; padding: 10px 16px calc(env(safe-area-inset-bottom, 0px) + 10px); background: var(--panel); border-top: 1px solid var(--line); }
.nowbtn { width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); flex: none; }
.nowinfo { flex: 1; min-width: 0; display: grid; gap: 6px; }
#nowname { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nowbarline { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
#nowprogress { display: block; height: 100%; width: 0; background: var(--accent); }
