@font-face {
  font-family: DM;
  src: url(assets/fonts/sans-normal.woff2);
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(assets/fonts/heading-normal-700.woff2);
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(assets/fonts/heading-italic-800.woff2);
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url(assets/fonts/mono-normal.woff2);
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #faf7ec;
  --muted: #c0b9c1;
  --accent: #ffadda;
  --hot: #f24fa9;
  --line: #f5ebef33;
  --mono: Plex, ui-monospace, monospace;
  --sans: DM, Arial, sans-serif;
  --gutter: clamp(.75rem, 3.2vw, 4rem);
  --header-height: clamp(3.25rem, 6svh, 4.75rem);
  --step-size: clamp(2.75rem, 4vw, 3.5rem);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #151419;
  color: var(--ink);
  font: 16px/1.4 var(--sans);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  flex: none;
}
[hidden] {
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.scenery {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(0deg, #101015 0%, #17111de8 15%, #1b14219c 48%, #21162372 74%, #151019ad),
    var(--scene, linear-gradient(130deg, #6a414d, #363047));
  background-size: cover;
  background-position: center 47%;
  pointer-events: none;
}
.scenery:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0e0e1680, transparent 23%, transparent 76%, #0e0e1659);
}
.mast {
  container: mast / inline-size;
  flex: none;
  min-height: var(--header-height);
  background: #17101bdf;
  border-bottom: 1px solid #ffffff24;
  backdrop-filter: blur(15px);
}
.mast-inner,
.scale-panel,
.guide {
  width: min(112rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.mast-inner {
  min-height: var(--header-height);
  column-gap: .75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
}
.brand img {
  width: 36px;
  height: 36px;
}
.brand strong {
  font:
    italic 800 34px/1 Barlow,
    sans-serif;
  letter-spacing: -1px;
}
.mast nav {
  display: flex;
  align-self: stretch;
  gap: clamp(.8rem, 2.2vw, 2.5rem);
}
.mast nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  min-height: 2.75rem;
  white-space: nowrap;
  font-size: clamp(.85rem, 1vw, 1.125rem);
  font-weight: 600;
  color: #d4cdd6;
}
.mast nav a[aria-current='page'] {
  color: var(--accent);
}
.mast nav a[aria-current='page']:after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  left: 0;
  right: 0;
}
.mast nav svg {
  width: 16px;
  height: 16px;
}
.power {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e6a7c879;
  padding: 8px 14px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: #fa95ba13;
}
.power[aria-pressed='false'] {
  color: #ded6de;
  border-color: #ffffff54;
  background: #ffffff08;
}
.power svg {
  width: 16px;
  height: 16px;
}
.receiver {
  --cover-height: 50svh;
  --cover-limit: 47rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tuner-body {
  flex: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(.35rem, 1.1svh, 1.25rem);
  padding-block: clamp(.75rem, 3svh, 2.75rem);
}
.dial-stage {
  width: 100%;
  min-width: 0;
  container-type: inline-size;
}
.strip {
  --step-inset: clamp(.25rem, 2cqw, 2.25rem);
  /* Keep the entire selected square between the two tuning targets. */
  --size: min(72cqw, calc(100cqw - 2 * (var(--step-size) + var(--step-inset) + .375rem)), var(--cover-height), var(--cover-limit));
  position: relative;
  isolation: isolate;
  width: min(100%, calc(3.85 * var(--size) + 2 * var(--step-size)));
  height: calc(var(--size) + clamp(1.25rem, 3svh, 2.5rem));
  margin-inline: auto;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  outline-offset: -4px !important;
}
.kicker, .scale-heading, .id-line, .on-air small, .result-summary {
  font: .6875rem var(--mono);
  letter-spacing: .12em;
}
.strip.dragging {
  cursor: grabbing;
}
.sleeve {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size);
  height: var(--size);
  padding: 0;
  border-radius: 3px;
  transform-origin: center;
  will-change: transform, opacity;
  backface-visibility: hidden;
  display: block;
  color: #fff;
  box-shadow: 0 15px 35px #100c1460;
  overflow: visible;
  cursor: inherit;
}
.sleeve:before {
  position: absolute;
  content: '';
  inset: -6px;
  border: 2px solid transparent;
  border-radius: 5px;
  pointer-events: none;
}
.sleeve.center:before {
  border-color: #fff6ed;
  box-shadow: 0 2px 0 1px #ea64ac, 0 6px 30px #24102280;
}
/* Paint the settled cover at display resolution after the carousel animation. */
.sleeve.settled {
  will-change: auto;
  backface-visibility: visible;
}
.station-cover,
.station-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  pointer-events: none;
}
.station-cover {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #402e45, #171a20 75%);
}
.station-cover img.station-frame {
  position: absolute;
  left: var(--frame-left);
  top: var(--frame-top);
  width: var(--frame-width);
  height: var(--frame-height);
  max-width: none;
  border-radius: 0;
}
.station-lettering {
  display: grid;
  place-content: center;
  height: 100%;
  padding: 8%;
  color: #e4eca5;
  text-align: center;
  text-transform: uppercase;
  font: italic 800 15cqw/0.95 Barlow, sans-serif;
}
.station-cover img { position: absolute; inset: 0; }
.station-cover img:not(.ready) { opacity: 0; }
.station-cover img.ready + .station-lettering {
  display: none;
}
.station-cover img[src*="ThrillbillyMudClub-GTAVI-Trailer1Logo"] {
  object-fit: contain;
  padding: 6%;
  background: #c75715;
}
.sleeve .artwork {
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  position: relative;
  filter: brightness(var(--brightness, 1));
  background: #31252d;
}
.sleeve.settled .artwork { filter: none; }
.sleeve .artwork:after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff36;
  border-radius: inherit;
  background: linear-gradient(145deg, #ffffff15, transparent 45%);
  pointer-events: none;
}
.fallback-art {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  text-wrap: balance;
  font: italic 800 clamp(30px, 4vw, 74px)/0.95 Barlow;
  text-transform: uppercase;
  padding: 12px;
  background: radial-gradient(ellipse at top left, #ae6d81, #482f48 70%);
  color: #fdf1d6;
}
.fallback-art.mud {
  background: radial-gradient(ellipse at top left, #8f7045, #493b27);
  color: #fff0c5;
}
.step {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  width: var(--step-size);
  height: var(--step-size);
  display: grid;
  place-items: center;
  border: 1px solid #fffffc5c;
  border-radius: 50%;
  background: #1c1522e6;
  color: #fbf7ea;
  backdrop-filter: blur(8px);
}
.step:hover,
.power:hover {
  border-color: var(--accent);
}
.step.left {
  left: var(--step-inset);
}
.step.right {
  right: var(--step-inset);
}
.step.left svg {
  transform: rotate(180deg);
}
.step svg {
  width: 17px;
  height: 17px;
}
.station-details {
  min-width: 0;
  width: min(100%, 49rem);
  padding-inline: var(--gutter);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(.5rem, 1.4svh, 1.25rem);
}
.station-info {
  min-width: 0;
  max-width: 100%;
  text-align: center;
}
.id-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .6em;
  font-size: clamp(.6875rem, .8vw, 1rem);
  line-height: 1.35;
  text-transform: uppercase;
  color: #eee2ec;
}
.id-line .ch { color: var(--accent); flex: none; }
.id-line .ch:after { content: '·'; color: #c1b5bd; margin-left: .6em; }
.station-info h1 {
  margin: .12em 0 0;
  font: italic 800 clamp(2rem, min(7vw, 5.9svh), 5rem)/.98 Barlow, Impact, sans-serif;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 12px #15101570;
}
.on-air {
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: 100%;
  min-width: 0;
  text-align: left;
}
.on-air > div { min-width: 0; }
.on-air small {
  display: block;
  font-size: clamp(.625rem, .72vw, .875rem);
  line-height: 1.5;
  color: var(--accent);
}
.on-air strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(.875rem, 1.1vw, 1.375rem);
  line-height: 1.24;
  font-weight: 500;
}
.wave {
  flex: none;
  height: 32px;
  width: 36px;
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  background: #e477bc15;
  border: 1px solid #ec93b94d;
  border-radius: 5px;
}
.wave i {
  width: 2px;
  height: 6px;
  background: var(--accent);
  transform-origin: center;
}
.wave i:nth-child(2) {
  height: 12px;
}
.wave i:nth-child(3) {
  height: 18px;
}
.wave i:nth-child(4) {
  height: 10px;
}
.on-air.live .wave i {
  animation: pulse 0.8s ease-in-out infinite alternate;
}
.wave i:nth-child(2n) {
  animation-delay: -0.4s !important;
}
.wave i:nth-child(3n) {
  animation-delay: -0.6s !important;
}
@keyframes pulse {
  from {
    transform: scaleY(0.4);
  }
  to {
    transform: scaleY(1);
  }
}
.scale-panel {
  flex: none;
  padding: .375rem 0 clamp(.5rem, 1.7svh, 1.5rem);
}
.scale-heading,
.scale-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.scale-heading {
  font-size: clamp(.625rem, .72vw, .875rem);
  color: #ccc2ce;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}
.scale-heading span:last-child {
  color: var(--accent);
}
.scale {
  display: flex;
  margin: 7px 0 10px;
  border-bottom: 1px solid #f3eeee45;
  height: 31px;
  align-items: stretch;
}
.scale button {
  position: relative;
  flex: 1;
  height: 100%;
  padding: 0;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: repeating-linear-gradient(
      to right,
      transparent 0 calc(25% - 1px),
      #efe5f133 calc(25% - 1px) 25%
    )
    bottom center/100% 6px no-repeat;
}
.scale button:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  height: 12px;
  width: 1px;
  background: #c0b7c59c;
}
.scale button span {
  font: 9px var(--mono);
  color: #beb8c0;
}
.scale button.selected:before {
  background: var(--accent);
  height: 27px;
  width: 3px;
  box-shadow: 0 0 8px #fe83be66;
}
.scale button.selected span {
  visibility: hidden;
}
.scale button:hover:before {
  background: var(--accent);
}
.scale-foot {
  flex-wrap: wrap;
  gap: .3rem .7rem;
  font-size: clamp(.75rem, .85vw, 1rem);
  color: #c7bec8;
}
.scale-foot a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e2dcdf;
}
.scale-foot a svg {
  width: 14px;
}
.station-options {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.5vw, 1rem);
}
#station-ads {
  min-height: 44px;
  padding-inline: .4rem;
  color: #e2dcdf;
}
#station-ads::before {
  content: '';
  display: inline-block;
  width: .5em;
  height: .5em;
  margin-right: .45em;
  border: 1px solid currentColor;
  border-radius: 50%;
}
#station-ads[aria-pressed="true"]::before {
  border-color: var(--accent);
  background: var(--accent);
}
#station-ads:hover { color: var(--accent); }
.scale-foot kbd {
  display: inline-flex;
  padding: 1px 5px;
  border: 1px solid #ffffff3b;
  border-radius: 3px;
  font: 11px var(--mono);
  color: #ebe9e6;
  margin-right: 2px;
}
.scale-foot kbd:last-child {
  margin-right: 6px;
}
.touch-tip {
  display: none;
}
body.radio-live .guide-live span {
  opacity: 1;
}
body.guide-open .scenery {
  opacity: 0.25;
}
.guide {
  container-type: inline-size;
  padding: 38px 0 55px;
}
.guide-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.kicker {
  color: var(--accent);
}
.guide h1 {
  font: italic 800 min(20cqw, clamp(3.625rem, 7vw, 6rem))/0.98 Barlow, sans-serif;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  margin: 6px 0 0;
}
.guide-live {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-live span {
  opacity: 0.35;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.guide-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 28%);
  gap: clamp(22px, 5vw, 100px);
  margin-top: 22px;
}
.toolbar,
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.toolbar select,
.search {
  background: #26252b;
  border: 1px solid #49464e;
  border-radius: 5px;
  color: var(--ink);
  font-size: 14px;
  padding: 8px 12px;
}
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 13rem;
}
.search input {
  min-width: 0;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--ink);
  outline: none;
}
.search svg {
  width: 16px;
}
.filters {
  margin: 16px 0 12px;
}
.filters button,
.plain-btn,
.links a {
  font-size: 13px;
  border: 1px solid #4c4a50;
  border-radius: 5px;
  padding: 6px 11px;
  color: #dfd9df;
}
.filters button.active {
  border-color: #b5c788;
  color: var(--accent);
  background: #d9f5830c;
}
.result-summary {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  margin: 12px 0;
}
.entry {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #ffffff25;
}
.entry strong {
  display: block;
  font-size: 15px;
}
.entry small,
.entry em,
.guide-aside p,
.details-body {
  font-size: 13px;
  color: var(--muted);
}
.entry em {
  font-style: normal;
  margin-left: auto;
}
.entry svg {
  width: 14px;
}
.entry:hover strong,
.scale-foot a:hover,
.guide a:hover {
  color: var(--accent);
}
.guide-aside {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.guide-aside h2 {
  font: 700 32px/1 Barlow;
  margin: 10px 0;
}
.cover {
  width: 86px;
  height: 86px;
  border-radius: 5px;
  overflow: hidden;
}
.cover .fallback-art {
  font-size: 20px;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
  align-items: center;
}
.links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.links .spotify {
  background: var(--accent);
  color: #1b2115;
  border-color: var(--accent);
  font-weight: 700;
}
.links .spotify:hover,
.links .spotify:focus-visible {
  background: #ecffae;
  color: #1b2115;
}
.links a svg {
  width: 12px;
  height: 12px;
}
.guide-aside p {
  margin: 7px 0 10px;
}
.local {
  margin: 20px 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.local summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.local button {
  margin: 3px 0;
}
.local #import-status {
  display: block;
  color: var(--accent);
  font-size: 13px;
}
.credits a {
  color: #f4f0e9;
  text-decoration: underline;
}
.guide-aside .credits {
  font-size: 12px;
}
.plain-btn {
  background: #24262b;
  margin: 12px 0;
}
.plain-btn:hover {
  border-color: var(--accent);
}
dialog {
  background: #222126;
  color: var(--ink);
  border: 1px solid #67616b;
  border-radius: 9px;
  width: min(500px, 94vw);
  padding: 24px;
}
dialog::backdrop {
  background: #0b0911bd;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog-head button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
}
dialog h2 {
  font: 700 34px/1.1 Barlow;
  margin: 12px 0;
}
dialog p {
  font-size: 15px;
  color: #d5cdd6;
}
@media (max-width: 44rem) {
  .guide {
    padding-top: 22px;
  }
  .guide-columns {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .guide-aside {
    order: -1;
    border: 0;
    padding: 0;
    border-bottom: 1px solid var(--line);
  }
  .guide-aside .cover {
    float: left;
    width: 60px;
    height: 60px;
    margin: 0 12px 7px 0;
  }
  .guide-aside h2 {
    font-size: 25px;
  }
  .guide-aside .credits {
    display: none;
  }
  .guide-aside .local {
    margin: 12px 0;
  }
  .toolbar select {
    max-width: 100%;
  }
  .entry em {
    display: none;
  }
  .guide-heading {
    padding-bottom: 12px;
  }
  .guide-live {
    font-size: 12px;
  }
  .filters {
    gap: 5px;
  }
  .filters button {
    padding: 5px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Masthead and secondary listening views. */
.mast-controls { display: flex; justify-self: end; align-items: center; gap: .5rem; }
.dash-toggle, .power { min-height: 2.75rem; }
.dash-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .375rem;
  padding: 0 .625rem; color: #d6cbd8; border-radius: 6px; font-size: .85rem;
}
.dash-toggle[aria-pressed='true'] { color: var(--accent); background: #ef90ba18; }
.dial-location { color: #bfb1c2; font: .7rem var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.dial-location time { font-variant-numeric: tabular-nums; }
#demand-view { --cover-height: 36svh; --cover-limit: 35rem; }
#demand-view .tuner-body { flex: none; }
#demand-view .station-info { padding-inline: var(--gutter); }
#demand-view .scale-panel { width: min(40rem, calc(100% - 2 * var(--gutter))); }
.demand-library {
  width: 100%;
  min-width: 0;
  background: #17131dd9; border: 1px solid var(--line); border-radius: 8px; padding: 0 20px;
}
.library-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.library-heading h2 { font: 700 25px Barlow, sans-serif; margin: 12px 0; }
.library-heading a, #episode-source { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 14px; }
#episode-list, #special-stations { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
.episode-row {
  display: flex; gap: 10px; align-items: center; justify-content: space-between; width: 100%; min-height: 54px;
  border-top: 1px solid var(--line); padding: 9px 4px; text-align: left;
}
.episode-row strong, .episode-row small, .episode-copy strong, .episode-copy small, #episode-status { display: block; }
.episode-row small, #episode-status { color: #cfc4ce; font-size: 13px; }
.episode-length { flex: none; color: var(--muted); font: 12px var(--mono); }
.episode-row:hover strong, .episode-row[aria-pressed='true'] strong { color: var(--accent); }
#special-stations button { justify-content: flex-start; }
#special-stations .station-cover { width: 44px; height: 44px; flex: none; border-radius: 3px; }
.episode-panel { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding: 12px 0; }
.episode-panel .wave { flex: none; }
.episode-panel.live .wave i { animation: pulse .8s ease-in-out infinite alternate; }
.episode-copy { flex: 1; }
.episode-copy small { color: var(--accent); font: 11px var(--mono); text-transform: uppercase; }

/* The collection dial and episode list share a row as soon as both have room. */
#demand-view {
  --pane-min: 28rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--pane-min)), 1fr));
  align-items: center;
  align-content: start;
  gap: .75rem clamp(.75rem, 2vw, 2rem);
  width: min(100%, 120rem);
  align-self: center;
  padding: 0 var(--gutter) 1rem;
}
.collection-picker, .episode-copy, .episode-row > span:first-child { min-width: 0; }
#demand-view .scale-panel { margin-inline: auto; }
.library-heading { flex-wrap: wrap; }
.episode-copy, .episode-row strong, .entry strong, dialog { overflow-wrap: anywhere; }
.toolbar select, .search, .guide-aside { min-width: 0; max-width: 100%; }
.guide { flex: 1; }
.episode-row { scroll-margin-block: 3.5rem; }

.dashboard { --step-size: 3.5rem; }
.dashboard .step { border-radius: .8rem; }
.dashboard .step svg { width: 1.4rem; height: 1.4rem; }
.dashboard .dash-toggle, .dashboard .power { min-height: 3rem; }
.dashboard .episode-row { min-height: 3.5rem; }
.dashboard .on-air strong { font-size: clamp(1rem, 1.35vw, 1.5rem); }
@media (min-width: 30rem) {
  .dashboard #radio-view {
    --cover-height: calc(100svh - var(--header-height) - 6.25rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
  .dashboard #radio-view .tuner-body {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    align-content: center;
    align-items: center;
    gap: clamp(.6rem, 2vw, 3rem);
    align-self: center;
    max-width: 114rem;
    padding-block: .5rem;
  }
  .dashboard .station-details {
    justify-items: start;
    padding-inline: 0 var(--gutter);
    gap: clamp(.5rem, 2svh, 1.5rem);
  }
  .dashboard .station-details .station-info { text-align: start; }
  .dashboard .station-details .id-line { justify-content: start; }
  .dashboard #radio-view .scale-panel .scale,
  .dashboard #radio-view .scale-panel .scale-heading { display: none; }
  .dashboard .scale-foot > :is(.desktop-tip, .touch-tip) { display: none; }
  .dashboard #demand-view { --pane-min: 15rem; --cover-height: 46svh; }
}
@media (min-width: 34rem) {
  .dashboard #demand-view { align-content: center; }
  .dashboard .demand-library {
    max-height: calc(100svh - var(--header-height) - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    scrollbar-color: #84637c #211922;
  }
  .dashboard .library-heading { position: sticky; top: 0; z-index: 1; background: #1c1720; }
  .dashboard #episode-list, .dashboard #special-stations { grid-template-columns: 1fr; }
}
@media (min-width: 60rem) and (min-height: 32rem) {
  #demand-view { align-content: center; }
}
@container mast (max-width: 52rem) {
  .brand strong { font-size: 1.55rem; }
  .brand img { width: 1.8rem; height: 1.8rem; }
  .dash-toggle span:last-child, .power span:last-child { display: none; }
  .dash-toggle, .power { width: 2.75rem; min-width: 2.75rem; padding: 0; justify-content: center; }
  .mast-controls { gap: .125rem; }
}
@container mast (max-width: 40rem) {
  .brand strong, .mast nav a > [data-icon] { display: none; }
  .mast-inner { grid-template-columns: auto 1fr auto; gap: .35rem; }
  .mast nav { justify-self: center; gap: clamp(.65rem, 3vw, 1.5rem); }
  .mast nav a { font-size: .875rem; }
}
@media (max-width: 40rem) {
  .dial-location { display: none; }
  .dashboard .dial-location { display: inline; }
  #episode-list, #special-stations { grid-template-columns: 1fr; }
  .demand-library { padding-inline: .8rem; }
  .episode-copy { overflow-wrap: anywhere; }
}
@container mast (max-width: 22.5rem) {
  .mast nav .nav-label { display: none; }
  .mast nav a > [data-icon] { display: inline-flex; }
  .mast nav { gap: 0; }
  .mast nav a, .mast-controls button {
    width: max(44px, 1.5rem);
    min-width: max(44px, 1.5rem);
    justify-content: center;
  }
  .mast nav svg { width: 1.1rem; height: 1.1rem; }
}
@media (max-width: 22.5rem) {
  .guide-heading { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .library-heading a { min-height: 2rem; }
}
@container mast (max-width: 17.5rem) {
  .mast .brand { display: none; }
  .mast-inner { width: calc(100% - .5rem); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0; }
}
@media (max-width: 17.5rem) {
  .on-air .wave { width: 1.75rem; }
  .scale-foot { justify-content: center; }
  .scale-foot > :is(.desktop-tip, .touch-tip) { display: none; }
}
@media (max-height: 36rem) {
  :root { --header-height: 3rem; }
  .tuner-body { padding-block: .5rem; gap: .25rem; }
  .scale-panel { padding-block: .25rem; }
  .scale { height: 1.45rem; margin-block: .2rem; }
  .scale button.selected:before { height: 1.25rem; }
  .station-details { gap: .45rem; }
  #demand-view .scale-panel { display: none; }
}
@media (max-height: 27rem) {
  #radio-view { --cover-height: 43svh; }
  #radio-view .scale-panel .scale, #radio-view .scale-heading { display: none; }
  .station-info h1 { font-size: clamp(1.5rem, 4.5vw, 2.65rem); }
  .station-info h1.long { font-size: clamp(1.35rem, 4vw, 2.3rem); }
  .on-air { gap: .4rem; }
  .on-air strong { font-size: .875rem; }
  .scale-foot { min-height: 1.5rem; }
}
@media (max-height: 24rem) and (max-width: 29.99rem) {
  #radio-view { --cover-height: 39svh; }
  .station-details, .tuner-body { gap: .25rem; }
  .station-info h1 { font-size: 1.45rem; }
  .on-air .wave { display: none; }
  #radio-view .scale-panel { padding: 0; }
}
@media (max-width: 17.5rem) and (max-height: 21rem) {
  #radio-view { --cover-height: clamp(3rem, calc(100svh - 11.25rem), 8rem); }
  #radio-view .strip { height: calc(var(--size) + .75rem); }
  #radio-view .tuner-body { padding-block: .25rem; }
  #radio-view .id-line { display: none; }
}
@media (pointer: coarse) {
  .desktop-tip { display: none; }
  .touch-tip { display: inline; }
  .scale-foot a { min-height: 2.75rem; }
}
@media (min-width: 112rem) and (min-height: 48rem) {
  :root { --step-size: 4.5rem; --header-height: clamp(4.5rem, 5svh, 6.5rem); }
  .mast nav a, .dash-toggle, .power { font-size: 1.15rem; }
  .dash-toggle, .power { min-height: 3.25rem; }
  .scale { height: 2.7rem; }
  .scale button span, .dial-location { font-size: .875rem; }
}
