/* ==========================================================================
   Нейроконтент — Витрина озвучек и аудиоплеер (/voices/ & /voices/[slug]/)
   Строго в светлом редакционно-фиолетовом визуальном языке основного сайта
   ========================================================================== */

body.has-voice-player {
  padding-bottom: 98px;
}

/* ---------- Voices Hero ---------- */
.voices-hero {
  min-height: clamp(560px, 44vw, 680px);
}

.voices-hero .page-hero__ambient {
  background: url("../images/brand/hero-voices-orator.webp?v=2") right 20% / cover no-repeat;
  opacity: 1;
}

.voices-hero .page-hero__ambient::after {
  background: linear-gradient(
    90deg,
    rgba(247, 245, 253, 0.52) 0%,
    rgba(247, 245, 253, 0.26) 40%,
    rgba(247, 245, 253, 0) 58%
  );
}

.voices-hero__content {
  max-width: 620px;
}

.voices-hero .page-hero__title {
  max-width: 17ch;
}

.voices-hero .lead {
  max-width: 52ch;
}

.voices-hero .format-eyebrow {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.voices-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.14);
  flex: none;
}

.voices-hero__metrics {
  margin-top: 28px;
  max-width: 540px;
}

.voices-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.voices-stat {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(109, 40, 217, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px -16px rgba(76, 29, 149, 0.22);
}

.voices-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
}

.voices-stat__num--violet { color: var(--brand); }
.voices-stat__num--cyan { color: var(--brand-bright); }

.voices-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
}

.voices-hero__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #4A4266;
}

.voices-hero__note .i {
  width: 16px;
  height: 16px;
  color: var(--brand);
  margin-top: 2px;
  flex: none;
}

.voices-hero__visual {
  display: none;
}

/* ---------- Tabs & Favorites Bar ---------- */
.voices-section {
  padding-top: 48px;
}

.voices-tabs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.voices-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.voices-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color 0.16s, background-color 0.16s, color 0.16s, box-shadow 0.16s;
}

.voices-tab:hover {
  border-color: var(--brand-border);
  color: var(--brand);
}

.voices-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -10px rgba(109, 40, 217, 0.55);
}

.voices-tab__count {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
}

.voices-tab.is-active .voices-tab__count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.voices-fav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.voices-fav-actions[hidden] { display: none; }

/* ---------- Sticky Controls ---------- */
.voices-controls {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 30px -16px rgba(17, 12, 34, 0.12);
}

.voices-controls__top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.voices-search {
  flex: 1 1 280px;
  position: relative;
  display: flex;
  align-items: center;
}

.voices-search > .i {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.voices-search input {
  width: 100%;
  height: 44px;
  padding: 0 38px 0 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.16s, background-color 0.16s, box-shadow 0.16s;
}

.voices-search input:focus {
  background: #FFFFFF;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
}

.voices-search__clear {
  position: absolute;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
}

.voices-search__clear:hover {
  background: var(--line);
  color: var(--ink);
}

.voices-search__clear[hidden] { display: none; }

.voices-select {
  height: 44px;
  padding: 0 36px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2368617F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px 16px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 42px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.16s;
}

.voices-select:focus { border-color: var(--brand); }

.voices-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.voice-chip-sep {
  width: 1px;
  height: 20px;
  background: var(--line);
  margin: 0 4px;
}

.voice-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.voice-chip:hover {
  border-color: var(--brand-border);
  color: var(--brand);
  background: var(--brand-soft);
}

.voice-chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.voice-chip--format.is-active {
  background: var(--brand-soft-2);
  border-color: var(--brand);
  color: var(--brand);
}

.voices-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.voices-reset-btn {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
}

.voices-reset-btn:hover { background: var(--brand-soft); }
.voices-reset-btn[hidden] { display: none; }

/* ---------- Voices Grid & Cards ---------- */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.voice-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s var(--ease-out), border-color 0.18s, box-shadow 0.2s;
  position: relative;
}

.voice-card[hidden] { display: none; }

.voice-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-border);
  box-shadow: var(--shadow);
}

.voice-card--preset {
  background: linear-gradient(165deg, #FAF7FF 0%, #FFFFFF 46%);
  border-color: rgba(109, 40, 217, 0.22);
}

.voice-card.is-playing {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.16), 0 14px 32px -12px rgba(109, 40, 217, 0.22);
}

.voice-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.voice-card__play {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
  background: linear-gradient(135deg, var(--brand-soft) 0%, #EDE9FE 100%);
  color: var(--brand);
  display: grid;
  place-items: center;
  transition: transform 0.15s var(--ease-out), background-color 0.16s, border-color 0.16s, color 0.16s, box-shadow 0.16s;
}

.voice-card__play .i {
  width: 18px;
  height: 18px;
}

.voice-card__play .voice-ico-play {
  fill: currentColor;
  stroke: none;
  margin-left: 2px;
}

.voice-card__play .voice-ico-pause { display: none; }

.voice-card__play:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
  transform: scale(1.04);
}

.voice-card.is-playing .voice-card__play {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.18), 0 8px 18px -6px rgba(109, 40, 217, 0.45);
}

.voice-card.is-playing.is-audio-active .voice-card__play .voice-ico-play { display: none; }
.voice-card.is-playing.is-audio-active .voice-card__play .voice-ico-pause { display: block; }

.voice-card__titles {
  flex: 1;
  min-width: 0;
}

.voice-card__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 3px;
  word-break: break-word;
}

.voice-card__name a:hover { color: var(--brand); }

.voice-card__sub {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voice-card__fav {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--faint);
  display: grid;
  place-items: center;
  transition: transform 0.15s, color 0.15s, background-color 0.15s;
}

.voice-card__fav:hover {
  background: #FFF1F2;
  color: #F43F5E;
  transform: scale(1.08);
}

.voice-card__fav.is-active {
  color: #E11D48;
  background: #FFF1F2;
}

.voice-card__fav.is-active .i {
  fill: currentColor;
}

.voice-card__role {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.44;
}

.voice-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.46;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.voice-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.voice-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
}

.voice-badge--preset {
  background: var(--brand-soft);
  border-color: var(--brand-border);
  color: var(--brand);
}

.voice-badge--male {
  background: #EFF6FF;
  border-color: #DBEAFE;
  color: #1D4ED8;
}

.voice-badge--female {
  background: #FDF2F8;
  border-color: #FCE7F3;
  color: #BE185D;
}

.voice-card__progress {
  height: 6px;
  background: var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  margin-top: auto;
}

.voice-card__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-bright) 100%);
  border-radius: 999px;
  transition: width 0.08s linear;
}

.voice-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.voice-card__cta {
  flex: 1;
}

.voice-card__icon-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--text);
  display: grid;
  place-items: center;
  transition: border-color 0.16s, background-color 0.16s, color 0.16s;
}

.voice-card__icon-btn:hover {
  border-color: var(--brand-border);
  background: var(--brand-soft);
  color: var(--brand);
}

.voices-empty {
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px dashed var(--brand-border);
}

/* ---------- Floating Bottom Audio Player (Light Brand Style) ---------- */
.voice-player-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(150%);
  width: min(960px, calc(100vw - 24px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: 0 20px 50px -16px rgba(17, 12, 34, 0.2), 0 6px 18px -6px rgba(109, 40, 217, 0.14);
  color: var(--ink);
  transition: transform 0.28s var(--ease-out);
  z-index: 80;
}

.voice-player-bar.is-visible {
  transform: translateX(-50%) translateY(0);
}

.voice-player-bar__controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.voice-player-bar__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: border-color 0.16s, background-color 0.16s, color 0.16s;
}

.voice-player-bar__icon:hover {
  border-color: var(--brand-border);
  background: var(--brand-soft);
  color: var(--brand);
}

.voice-player-bar__play {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 0;
  background: var(--brand);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -6px rgba(109, 40, 217, 0.55);
  transition: transform 0.15s var(--ease-out), background-color 0.15s;
}

.voice-player-bar__play:hover {
  background: var(--brand-hover);
  transform: scale(1.04);
}

.voice-player-bar__play .voice-ico-play {
  fill: currentColor;
  stroke: none;
  margin-left: 2px;
}

.voice-player-bar__play .voice-ico-pause { display: none; }
.voice-player-bar.is-audio-active .voice-player-bar__play .voice-ico-play { display: none; }
.voice-player-bar.is-audio-active .voice-player-bar__play .voice-ico-pause { display: block; }

.voice-player-bar__mid {
  min-width: 0;
}

.voice-player-bar__title {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.voice-player-bar__title:hover { color: var(--brand); }

.voice-player-bar__timeline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.voice-player-bar__time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  min-width: 34px;
}

.voice-player-bar__seek {
  --seek-pct: 0%;
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-bright) var(--seek-pct), var(--line) var(--seek-pct), var(--line) 100%);
  outline: none;
  cursor: pointer;
}

.voice-player-bar__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.45);
  cursor: pointer;
  transition: transform 0.12s;
}

.voice-player-bar__seek::-webkit-slider-thumb:hover { transform: scale(1.18); }

.voice-player-bar__seek::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.45);
  cursor: pointer;
}

.voice-player-bar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voice-player-bar__speed {
  height: 36px;
  min-width: 50px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.voice-player-bar__speed:hover {
  border-color: var(--brand-border);
  background: var(--brand-soft);
  color: var(--brand);
}

.voice-player-bar__select {
  height: 36px;
  padding: 0 16px;
  font-size: 13.5px;
  background: var(--brand);
  color: #FFFFFF;
}

.voice-player-bar__select:hover {
  background: var(--brand-hover);
}

/* ---------- Toast ---------- */
.voice-toast {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  right: 20px;
  z-index: 120;
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--brand-border);
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 14px 36px -12px rgba(17, 12, 34, 0.2), 0 0 0 1px rgba(109, 40, 217, 0.08);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s var(--ease-out);
}

.voice-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Voice Detail Page (/voices/[slug]/) ---------- */
.voice-detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.voice-detail__orig {
  margin-top: -10px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
}

.voice-detail__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.voice-spec-id__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.voice-spec-id code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  overflow: hidden;
  text-overflow: ellipsis;
}

.voice-spec-id__copy {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

.voice-spec-id__copy:hover {
  border-color: var(--brand-border);
  background: var(--brand-soft);
  color: var(--brand);
}

.voice-detail__actions {
  margin-top: 26px;
}

.voice-detail__subactions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.voice-detail__fav-btn.is-active {
  border-color: #FDA4AF;
  background: #FFF1F2;
  color: #E11D48;
}

.voice-detail__fav-btn.is-active .i {
  fill: currentColor;
}

.voice-detail__meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.voice-meta-row {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
}

.voice-meta-row span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 4px;
}

.voice-meta-row strong {
  font-size: 14.5px;
  color: var(--ink);
}

/* ---------- Large Audio Player Card (Detail Page — Light Brand Style) ---------- */
.voice-studio-player {
  background:
    radial-gradient(380px 220px at 88% 0%, rgba(139, 92, 246, 0.12), transparent 68%),
    linear-gradient(165deg, #FFFFFF 0%, #FAF8FF 100%);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  padding: 26px;
  color: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.voice-studio-player__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}

.voice-studio-player__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.voice-studio-player__cat {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

.voice-studio-player__main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.voice-studio-player__play {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 18px;
  border: 0;
  background: var(--brand);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(109, 40, 217, 0.52);
  transition: transform 0.16s var(--ease-out), background-color 0.16s, box-shadow 0.16s;
}

.voice-studio-player__play:hover {
  background: var(--brand-hover);
  transform: scale(1.04);
}

.voice-studio-player.is-playing .voice-studio-player__play {
  box-shadow: 0 0 0 5px rgba(109, 40, 217, 0.18), 0 12px 28px -8px rgba(109, 40, 217, 0.55);
}

.voice-studio-player__play .i { width: 24px; height: 24px; }
.voice-studio-player__play .voice-ico-play { fill: currentColor; stroke: none; margin-left: 3px; }
.voice-studio-player__play .voice-ico-pause { display: none; }
.voice-studio-player.is-playing .voice-studio-player__play .voice-ico-play { display: none; }
.voice-studio-player.is-playing .voice-studio-player__play .voice-ico-pause { display: block; }

.voice-studio-player__info {
  min-width: 0;
}

.voice-studio-player__info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.voice-studio-player__info span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--muted);
}

.voice-studio-player__timeline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.voice-studio-player__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.voice-studio-player__speed-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.voice-speed-group {
  display: inline-flex;
  gap: 6px;
}

.voice-speed-pill {
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 9px;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.voice-speed-pill:hover {
  border-color: var(--brand-border);
  background: var(--brand-soft);
  color: var(--brand);
}

.voice-speed-pill.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .voices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voice-detail-hero__grid { grid-template-columns: 1fr; }
  .voices-hero {
    min-height: 0;
  }
  .voices-hero .page-hero__ambient {
    background: url("../images/brand/hero-bg.webp") center / cover no-repeat;
    opacity: 0.44;
  }
  .voices-hero__content,
  .voices-hero__metrics {
    max-width: 100%;
  }
  .voices-hero__visual {
    display: block;
    margin: 28px auto 0;
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(109, 40, 217, 0.14);
    box-shadow: 0 24px 54px -22px rgba(109, 40, 217, 0.24);
  }
  .voices-hero__visual-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 720px) {
  .voices-grid { grid-template-columns: 1fr; }
  .voices-hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .voice-detail__specs,
  .voice-detail__meta-list { grid-template-columns: 1fr; }
  .voices-controls { position: static; }
  .voice-player-bar {
    grid-template-columns: auto 1fr;
    gap: 10px 12px;
    padding: 12px;
  }
  .voice-player-bar__right {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--line-soft);
  }
  .voice-player-bar__select { flex: 1; }
  body.has-voice-player { padding-bottom: 146px; }
}
