/* Audio woven into the conversation: pixel waveform, transport and quiet metadata. */
.press-entry { min-width: 0; }
.press-title { margin: 0; font: 500 1.55rem/1.2 var(--pixel); }
.space-player { margin-top: 1.25rem; color: var(--tinta); }
.space-player + .space-player { margin-top: 1.5rem; }
.space-heading { position: relative; }
.space-caption { display: block; margin-bottom: .25rem; font: 500 1.1rem/1.2 var(--pixel); color: var(--suave); }
.space-state { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.space-player audio { display: block; width: 100%; margin-block: .75rem; }
.space-player.is-enhanced audio { display: none; }
.space-player:not(.is-enhanced) .space-clock { display: none; }
.space-controls { display: grid; grid-template-columns: 24px 44px minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.space-vu { display: grid; grid-auto-flow: column; gap: 1px; align-self: center; }
.space-vu i {
  position: relative;
  display: block;
  width: 4px;
  height: 28px;
  background: radial-gradient(circle at 2px 2px, #3a2d24 1.25px, transparent 1.55px) 0 0 / 4px 4px;
}
.space-vu i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 2px 2px, var(--fuego) 1.25px, transparent 1.55px) 0 0 / 4px 4px;
  -webkit-mask-image: linear-gradient(to top, #000 calc(var(--n, 0) * 4px), transparent 0);
  mask-image: linear-gradient(to top, #000 calc(var(--n, 0) * 4px), transparent 0);
}
.space-controls[hidden] { display: none; }
.space-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fuego);
  cursor: pointer;
}
.space-controls button svg { width: 22px; height: 22px; fill: currentColor; shape-rendering: crispEdges; }
.space-controls button:hover { color: #ffe2af; }
.pause-mark, .is-playing .play-mark, .speaker-off, [aria-pressed="true"] .speaker-waves { display: none; }
.is-playing .pause-mark, [aria-pressed="true"] .speaker-off { display: block; }
.space-controls .space-mute { color: var(--tenue); }
.space-controls .space-mute svg { width: 16px; height: 16px; }
.space-wave { position: relative; height: 48px; min-width: 0; }
.space-wave-base, .space-wave-progress { position: absolute; inset: 0; pointer-events: none; }
.space-wave-base { color: #76604b; }
.space-wave-progress { color: #efb57c; clip-path: inset(0 calc(100% - var(--progress, 0%)) 0 0); }
.space-wave svg { display: block; width: 100%; height: 100%; fill: currentColor; shape-rendering: crispEdges; }
.space-controls .space-seek { position: absolute; inset: 0; width: 100%; height: 48px; opacity: 0; margin: 0; cursor: pointer; }
.space-seek:disabled { cursor: default; }
.space-wave:has(.space-seek:focus-visible) { outline: 1px solid var(--fuego); outline-offset: 3px; }
.space-wave::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--progress, 0%); width: 2px; background: var(--fuego); opacity: 0; pointer-events: none; }
.space-player:is([data-state="playing"], [data-state="paused"]) .space-wave::after, .space-wave:focus-within::after { opacity: 1; }
.space-volume-controls { display: flex; align-items: center; }
.space-volume { appearance: none; width: 52px; height: 44px; margin: 0; background: transparent; cursor: pointer; accent-color: var(--fuego); }
.space-volume::-webkit-slider-runnable-track { height: 2px; background: var(--linea); }
.space-volume::-moz-range-track { height: 2px; background: var(--linea); }
.space-volume::-webkit-slider-thumb { appearance: none; width: 4px; height: 8px; margin-top: -3px; border: 0; border-radius: 0; background: var(--tenue); }
.space-volume::-moz-range-thumb { width: 4px; height: 8px; border: 0; border-radius: 0; background: var(--tenue); }
.space-volume:focus-visible { outline: 1px solid var(--fuego); outline-offset: 1px; }
.space-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-left: 100px; }
.space-clock { white-space: nowrap; font: .68rem/1.2 var(--mono); color: var(--tenue); font-variant-numeric: tabular-nums; }
.space-elapsed { color: var(--suave); }
.press .space-source { display: inline-flex; align-items: center; min-height: 44px; font: .68rem/1.4 var(--mono); color: var(--tenue); }
.space-message { margin: 0; color: var(--fuego); font: .75rem/1.5 var(--mono); }
.space-message:not(:empty) { margin-block: .5rem; }
@media (max-width: 700px) {
  .space-controls { gap: .5rem; }
  .space-volume { display: none; }
  .space-footer { margin-left: 84px; gap: .5rem; }
  .space-clock, .press .space-source { font-size: .6rem; }
}
