body {
  color: #edf2ef;
  background: #0c1011;
  font-size: clamp(8px,1.58vw,19px);
}
.audio {
  padding: 1.2em 1.5em;
  display: grid;
  grid-template-rows: auto auto minmax(0,1fr);
  gap: .8em;
  background: #0c1011;
}
.audio>header {
  border-bottom: 1px solid #323a38;
  padding: 0 0 .7em;
}
.audio>header p {
  margin-right: auto;
  font-size: .84em;
  color: #adb9b2;
}
.audio .brand {
  color: #c6f2dd;
  letter-spacing: -.07em;
}
.audio .brand span {
  color: white;
}
.lead h1 {
  font-size: 2.85em;
  font-weight: 510;
}
.lead p,.lead time {
  color: #b3beb8;
  font-size: .84em;
}
.mix {
  display: grid;
  grid-template-columns: .83fr 1.5fr 1fr;
  grid-template-rows: 1.12fr .88fr;
  grid-template-areas: "cover trend trend" "channel heat totals";
  gap: .68em;
}
.mix article {
  min-width: 0;
  padding: 1em 1.15em;
  border-radius: .58em;
  background: #1b2021;
}
.mix .sleeve {
  grid-area: cover;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg,#514e76,#272845 65%,#272734);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.record {
  width: 12em;
  aspect-ratio: 1;
  position: absolute;
  right: -2.1em;
  top: -2.2em;
  border-radius: 100%;
  z-index: -1;
  box-shadow: -.25em .65em .65em #0a0a1469;
  background: repeating-radial-gradient(circle,transparent 0 2px,#d8d7e335 2.5px 3px),conic-gradient(#161c21,#726b8d,#1e2428,#5b6674,#191921,#685b78,#161c21);
  display: grid;
  place-items: center;
}
.record i {
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,#151820 0 7%,#c6a6d6 8% 100%);
}
.sleeve h2 {
  font: italic 2.5em/1 Georgia,serif;
  margin: .14em 0;
}
.sleeve small,.sleeve p {
  font-size: .8em;
  color: #e6e0ee;
}
.lines {
  grid-area: trend;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lines svg {
  width: 100%;
  max-height: 17em;
  flex: 1;
  min-height: 0;
}
.grid {
  fill: none;
  stroke: #40504b;
  stroke-dasharray: 3 5;
}
.lines svg text {
  font: 11px Arial;
  fill: #b7c4bd;
}
.lines svg .end {
  fill: #bef1d9;
}
.lp,.cd {
  fill: none;
  stroke-width: 1.9;
}
.lp {
  stroke: #a3edce;
}
.cd {
  stroke: #d4aafa;
}
.lines .key {
  font-style: normal;
}
.total {
  grid-area: totals;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55em;
}
.total .num {
  font-size: 4em;
}
.total strong {
  color: #b3eccb;
}
.total small,.heat small {
  color: #c3cdc8;
}
.channels {
  grid-area: channel;
}
.channels>div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .22em;
  margin-top: .75em;
  font-size: .85em;
}
.channels i {
  grid-row: 2;
  grid-column: 1/-1;
  height: .23em;
  background: #384142;
}
.channels b {
  display: block;
  height: 100%;
  background: #a4a2ba;
}
.channels strong {
  grid-column: 2;
  grid-row: 1;
}
.heat {
  grid-area: heat;
}
.matrix {
  display: grid;
  grid-template-columns: 2.4em repeat(7,1fr);
  gap: .23em;
  text-align: center;
  align-items: center;
  margin-top: .9em;
}
.matrix b {
  padding: .34em .08em;
  background: rgba(94,167,158,var(--level));
  font-size: .85em;
}
.matrix small {
  font-size: .74em;
}
@media(max-width:820px) and (max-aspect-ratio:6/5) {
  body {
    font-size: clamp(10px,3.05vw,17px);
  }
  .audio {
    padding: .85em;
    gap: .6em;
  }
  .lead h1 {
    font-size: 2.35em;
  }
  .audio>header p {
    display: none;
  }
  .mix {
    grid-template-columns: .87fr 1.3fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "cover totals" "trend trend" "channel heat";
  }
  .mix article {
    padding: .75em;
  }
  .mix .sleeve {
    min-height: 6.2em;
  }
  .record {
    width: 7.9em;
  }
  .sleeve h2 {
    font-size: 1.95em;
  }
  .total {
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: center;
    gap: .16em;
  }
  .total .num {
    grid-row: 1/4;
    grid-column: 2;
    align-self: center;
    font-size: 2.85em;
  }
  .total small {
    font-size: .75em;
  }
  .total strong {
    font-size: .84em;
  }
  .matrix {
    gap: .16em;
  }
  .embedded .mix {
    grid-template-rows: .67fr 1.33fr;
    grid-template-areas: "cover totals" "trend trend";
  }
  .embedded .channels,.embedded .heat {
    display: none;
  }
  .embedded .lead p {
    display: none;
  }
  .embedded .lines svg {
    max-height: 15em;
  }
}

/* Constrain the chart to the visible carousel row. */
.embedded .audio { height: 100svh; }
.embedded .mix { min-height: 0; }
.embedded .lines svg { height: 0; min-height: 4em; }
@media (min-aspect-ratio: 6/5) {
  .embedded .mix { grid-template-rows: minmax(0, 1.22fr) minmax(0, .78fr); }
}
