/* A small radio inside the existing listening room. */
.music-room {
  position: relative;
  margin: 28px 0 110px;
  scroll-margin-top: 60px
}

.music-room-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px
}

.music-room-heading h2 {
  margin: 8px 0 0;
  font: 500 clamp(42px,5.5vw,73px)/1.04 Georgia,serif;
  letter-spacing: -.05em;
  color: #fff0d8
}

.music-room-heading>p {
  max-width: 300px;
  margin: 0 0 5px;
  color: #decab4;
  font-size: 16px;
  line-height: 1.6
}

.music-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 17px;
  border: 1px solid #d5aa7d75;
  border-radius: 100px;
  background: #110f0de8
}

.music-tabs button {
  min-height: 46px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: #d4bd9f;
  padding: 9px 22px;
  font: 700 14px 'DM Sans',sans-serif;
  cursor: pointer;
  transition: background .2s,color .2s
}

.music-tabs button[aria-selected="true"] {
  background: #edb77b;
  color: #281810
}

.music-tabs button:hover:not([aria-selected="true"]) {
  color: #fff0d8;
  background: #ffffff1e
}

.music-tabs button span {
  margin-left: 10px;
  font-weight: 400
}

#radioPanel[hidden],#archivePanel[hidden],.radio-video-wrap[hidden] {
  display: none
}

.radio-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 625px;
  padding: 31px clamp(25px,4vw,53px) 28px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #e4bd8c88;
  border-radius: 20px;
  background: #1d1512;
  box-shadow: 0 26px 75px #0008
}

.radio-stage-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(.77) contrast(1.06)
}

.radio-stage:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#130d0bec 0%,#1a100eb6 43%,#130f0b5c 100%),linear-gradient(0deg,#100b0aed,transparent 34%,#0a08083d 100%)
}

.radio-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #f6e6cd;
  font: 700 12px 'DM Sans',sans-serif;
  letter-spacing: .17em
}

.radio-signal {
  display: flex;
  align-items: center;
  gap: 11px
}

.radio-signal-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e8a779;
  box-shadow: 0 0 0 4px #e8a77928
}

.radio-stage.is-playing .radio-signal-light {
  background: #f0c382;
  box-shadow: 0 0 0 5px #f0c38233,0 0 18px #f0c382a0
}

.radio-station-note {
  opacity: .76
}

.radio-stations {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 28px 0 0;
  align-self: flex-end;
  padding: 5px;
  border: 1px solid #f1c8967a;
  border-radius: 50px;
  background: #1c120fd9;
  backdrop-filter: blur(8px)
}

.radio-station {
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: #e5d1b7;
  padding: 10px 16px;
  font: 700 13px 'DM Sans',sans-serif;
  cursor: pointer
}

.radio-station[aria-pressed="true"] {
  background: #eab479;
  color: #25150e
}

.radio-station:hover:not([aria-pressed="true"]) {
  background: #ffffff1d;
  color: white
}

.radio-stage-copy {
  max-width: 620px;
  margin: auto 0 31px;
  padding: 48px 0 10px
}

.radio-eyebrow {
  margin: 0 0 16px;
  color: #f4c693;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase
}

.radio-stage-copy h3 {
  margin: 0;
  color: #fff1dc;
  font: 500 clamp(56px,7.5vw,105px)/.97 Georgia,serif;
  letter-spacing: -.067em;
  text-wrap: balance
}

.radio-stage-copy h3 em {
  font-weight: 400;
  color: #f2b77b
}

.radio-stage-copy>p:not(.radio-eyebrow) {
  max-width: 420px;
  margin: 22px 0 27px;
  color: #f2dfca;
  font-size: 17px;
  line-height: 1.6
}

.radio-tune {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff0dd;
  font: 700 15px 'DM Sans',sans-serif;
  cursor: pointer
}

.radio-tune-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #edab70;
  color: #24140e;
  font-size: 17px;
  box-shadow: 0 9px 27px #0006;
  transition: transform .2s,background .2s
}

.radio-tune:hover .radio-tune-icon {
  transform: scale(1.08);
  background: #ffd09c
}

.radio-tune small {
  display: block;
  margin-top: 4px;
  color: #e1c5a7;
  font-size: 12px;
  font-weight: 500
}

.radio-console {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%,750px);
  padding: 14px 18px;
  border: 1px solid #f1ca9b76;
  border-radius: 15px;
  background: #1c1511ee;
  box-shadow: 0 12px 42px #0008;
  backdrop-filter: blur(14px)
}

.radio-disc {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid #ebad7399;
  border-radius: 50%;
  background: #8d3828;
  color: #f5c290;
  font-size: 19px
}

.radio-now {
  min-width: 0;
  flex: 1
}

.radio-now>span {
  display: block;
  margin-bottom: 3px;
  color: #e2ae7a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em
}

.radio-now strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff2dc;
  font: 600 22px/1.2 Georgia,serif
}

.radio-now small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 4px;
  color: #d6bea6;
  font-size: 12px
}

.radio-actions {
  display: flex;
  gap: 8px;
  align-items: center
}

.radio-actions button {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid #ecc5999c;
  border-radius: 50%;
  background: transparent;
  color: #fff0d9;
  font-size: 21px;
  cursor: pointer
}

.radio-actions #radioPlay {
  background: #eeb579;
  border-color: #eeb579;
  color: #25140d;
  font-size: 16px
}

.radio-actions button:hover:not(:disabled) {
  background: #ffe0af;
  color: #25140d
}

.radio-actions button:disabled {
  opacity: .42;
  cursor: default
}

.radio-video-wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) 220px;
  gap: 24px;
  align-items: center;
  margin: 0 2px;
  padding: 19px 25px;
  border: 1px solid #dbb18275;
  border-top: 0;
  border-radius: 0 0 17px 17px;
  background: #231a17
}

.radio-video {
  width: min(100%,630px);
  aspect-ratio: 16/9;
  min-height: 220px;
  background: #080808;
  border: 1px solid #9a765c;
  overflow: hidden;
  border-radius: 7px
}

.radio-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0
}

.radio-video-wrap p {
  color: #dbc2a8;
  font-size: 14px;
  line-height: 1.6
}

.radio-footnote {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 25px;
  margin: 19px 3px 0;
  color: #c9b7a2;
  font-size: 13px;
  line-height: 1.6
}

.radio-footnote a {
  color: #f0bf89;
  text-underline-offset: 4px
}

.spotify-playlists {
  margin-top: 28px;
  padding: 25px clamp(17px,3vw,32px);
  border: 1px solid #d4a67a61;
  border-radius: 16px;
  background: #1b1714d9
}

.spotify-playlists h3 {
  margin: 0 0 17px;
  color: #fff0d8;
  font: 500 clamp(24px,3vw,31px)/1.15 Georgia,serif
}

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

.spotify-playlist {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 66px;
  padding: 12px 13px;
  border: 1px solid #b58e685c;
  border-radius: 9px;
  background: #29221c;
  color: #f8e9d5;
  text-decoration: none;
  transition: background .2s,border-color .2s,transform .2s
}

.spotify-playlist:hover,.spotify-playlist:focus-visible {
  background: #3c2c23;
  border-color: #e8bb85;
  transform: translateY(-2px)
}

.spotify-playlist img {
  flex: none;
  width: 31px;
  height: 31px
}

.spotify-playlist span:not(.spotify-arrow) {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35
}

.spotify-playlist .spotify-arrow {
  flex: none;
  color: #e6bc8c;
  font-size: 18px
}

#archivePanel .archive {
  margin: 0;
  border: 1px solid #d4a67a5e;
  border-radius: 16px;
  padding: 37px clamp(17px,3vw,34px) 32px;
  scroll-margin-top: 100px;
  background: #1b171486
}

#archivePanel .foliage-archive {
  pointer-events: none
}

@media(max-width:760px) {
  .music-room-heading {
    display: block
  }
  .music-room-heading>p {
    margin-top: 14px
  }
  .radio-stage {
    min-height: 600px
  }
  .radio-station-note {
    display: none
  }
  .radio-stations {
    align-self: flex-start;
    margin-top: 22px
  }
  .radio-stage-copy {
    margin-top: auto
  }
  .radio-video-wrap {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15px
  }
  .radio-video-wrap p {
    margin: 0 0 5px
  }
  .spotify-playlist-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
  }
}

@media(max-width:540px) {
  .spotify-playlists {
    margin-top: 20px;
    padding: 19px 15px
  }
  .spotify-playlist-grid {
    grid-template-columns: 1fr
  }
  .spotify-playlist {
    min-height: 59px
  }
}

@media(max-width:540px) {
  .music-room {
    margin: 15px 0 80px
  }
  .music-room-heading h2 {
    font-size: 46px
  }
  .music-tabs {
    display: flex;
    width: 100%
  }
  .music-tabs button {
    flex: 1;
    min-width: 0;
    padding: 10px 7px;
    font-size: 14px
  }
  .music-tabs button span {
    display: none
  }
  .radio-stage {
    min-height: 590px;
    padding: 21px 19px 18px;
    border-radius: 13px
  }
  .radio-stage-photo {
    object-position: 60% center
  }
  .radio-stage:before {
    background: linear-gradient(90deg,#130d0bd9,#130f0b75),linear-gradient(0deg,#0d0909f0,transparent 57%)
  }
  .radio-stage-top {
    font-size: 11px
  }
  .radio-stations {
    max-width: 100%
  }
  .radio-station {
    padding: 10px 12px;
    font-size: 14px
  }
  .radio-stage-copy {
    padding: 45px 0 12px;
    margin-bottom: 15px
  }
  .radio-stage-copy h3 {
    font-size: clamp(51px,12vw,70px)
  }
  .radio-stage-copy>p:not(.radio-eyebrow) {
    font-size: 15px;
    margin: 16px 0 21px
  }
  .radio-tune-icon {
    width: 50px;
    height: 50px
  }
  .radio-console {
    gap: 9px;
    padding: 10px;
    border-radius: 11px
  }
  .radio-disc {
    width: 36px;
    height: 36px
  }
  .radio-now strong {
    font-size: 17px
  }
  .radio-now small {
    font-size: 11px
  }
  .radio-actions {
    gap: 4px
  }
  .radio-actions button {
    width: 35px;
    height: 35px;
    font-size: 17px
  }
  .radio-actions #radioPlay {
    font-size: 13px
  }
  .radio-video {
    min-height: 190px
  }
  .radio-footnote {
    font-size: 12px
  }
  #archivePanel .archive {
    padding: 25px 14px;
    border-radius: 11px
  }
}

@media(prefers-reduced-motion:reduce) {
  .radio-tune-icon {
    transition: none
  }
}
