/*! Voiceprint (voiceprint 1.0.0) by Frontier Templates. Styles for the vanilla build.
Licensed gem: Licensed with Full Access, for the sites you build; do not resell the gem itself. https://frontiertemplates.com/gems/voiceprint */
/* Voiceprint. Every rule is scoped to .vpr so the gem drops into any page. Give it a width and a height (about 480 px). */
.vpr {
  --vpr-accent: #f4f1ea;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  min-height: 380px;
  padding: 24px 16px;
  background: radial-gradient(80% 90% at 50% 30%, #1d1f25, #111216 75%);
  color: #f4f1ea;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}
/* the root sizes itself the same whatever the host page's reset says */
.vpr, .vpr *, .vpr *::before, .vpr *::after { box-sizing: border-box; }
.vpr-card { width: 100%; max-width: 880px; }
.vpr-who { display: flex; align-items: center; gap: 14px; }
.vpr-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #15161a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.vpr-id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vpr-name { font-size: 16px; font-weight: 650; line-height: 1.25; }
.vpr-role { font-size: 14px; line-height: 1.3; color: #a9a7a1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vpr-time { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1; color: #a9a7a1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vpr-player {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.vpr-play {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--vpr-accent);
  color: #15161a;
  cursor: pointer;
}
.vpr-play svg { width: 18px; height: 18px; }
.vpr-ico-play { display: none; }
.vpr-paused .vpr-ico-play { display: block; }
.vpr-paused .vpr-ico-pause { display: none; }
.vpr-play:focus-visible, .vpr-step:focus-visible, .vpr-wave:focus-visible { outline: 2px solid var(--vpr-accent); outline-offset: 3px; }
.vpr-wave { position: relative; flex: 1; height: 52px; border-radius: 6px; cursor: pointer; touch-action: pan-y; outline: none; }
.vpr-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the quote: unread words in a quiet grey, read ones lit; the word being read mixes between the two */
.vpr-quote {
  --dim: #8f8d88;
  margin: 30px 0 0;
  padding: 0;
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 560;
  font-style: normal;
  line-height: 1.32;
  letter-spacing: -0.018em;
  text-wrap: pretty;
  min-height: calc(1.32em * 3);
  color: var(--dim);
}
.vpr-w { --k: 0; color: color-mix(in srgb, var(--vpr-accent) calc(var(--k) * 100%), var(--dim)); }
.vpr-w.vpr-lit { color: var(--vpr-accent); }
.vpr-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.vpr-step {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: #f4f1ea;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.vpr-step:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); }
.vpr-step svg { width: 16px; height: 16px; }
.vpr-dots { display: flex; gap: 6px; }
.vpr-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.vpr-dots i.vpr-on { background: var(--vpr-accent); }
@media (max-width: 480px) {
  .vpr-time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vpr-step { transition: none; }
}
