:root {
  --music-active: #ff43b5;
  --ink: #0d0a11;
  --player-height: 72px;
}
.site-header { background: #100b16; }
.site-header .header-inner nav .nav-explore { color: #e2c8ff; font-weight: 900; }
.station-scene { background: #110b18; }
.station-scene .air {
  width: min(100% - var(--side) * 2, 1320px);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(18px, 3.7vw, 60px);
  align-items: center;
  min-height: 0;
  padding: clamp(14px, 2.9vw, 36px) 0;
}
.mural-layer::after {
  background: linear-gradient(90deg, #1009178f, #120a1be6 49%, #100818ee),
    linear-gradient(0deg, #100a17, transparent 75%);
}
.station-scene .poster {
  min-height: 0;
  padding: 0;
  background: #1a1023;
  border: 1px solid #6e5286;
  border-radius: 6px;
  box-shadow: 0 15px 45px #07040bb0;
}
.station-scene .poster picture { display: block; width: 100%; }
.station-scene .poster-portrait {
  display: block;
  position: static;
  width: 100%;
  height: clamp(315px, 35vw, 465px);
  object-fit: cover;
  object-position: 50% 19%;
  -webkit-mask-image: none;
  mask-image: none;
}
.radio-column { min-width: 0; }
.station-scene .poster-copy { padding: 0 0 clamp(8px, 1.4vw, 18px); }
.station-scene #station-title.station-wordmark { width: min(100%, 328px); }
.radio-column .poster-caption { margin-top: 10px; }
.radio-column .poster-caption strong { color: #c399ff; }
.radio-column .poster-caption span { color: #f1e5f4; }
.poster-copy .artist-intro {
  max-width: 39ch;
  margin: 8px 0 0;
  color: #f1e5f4;
  line-height: 1.45;
  font-size: .91rem;
}
.featured-set-link {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  min-height: 44px;
  color: #f2defb;
  font-weight: 800;
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: .23em;
}
.featured-set-link:hover { color: #fff; }
.featured-set-link:focus-visible { outline: 2px solid #e9bcff; outline-offset: 3px; }
.station-scene .antenna-panel {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 610px;
  margin: 0;
  padding: clamp(15px, 2.3vw, 29px);
  border: 1px solid #d6b0ed46;
  border-radius: 10px;
  background: linear-gradient(145deg, #251635e8, #130d1bf0 65%, #281532e8);
  box-shadow: 0 21px 65px #09050abb, inset 0 1px 0 #d9b9ee23;
}
.station-scene .schedule-head {
  gap: 9px;
  margin-bottom: 15px;
  color: #e8cafd;
}
#radio-state::before {
  border-color: #da91fd;
  background: #d391fa;
  box-shadow: 0 0 10px #a84fea95;
}
.station-scene .schedule[data-playing="true"] #radio-state::before {
  background: var(--music-active);
  border-color: #ff7dce;
  box-shadow: 0 0 15px #ff43b5e0;
}
.antenna-player-link, .antenna-foot .app-access {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  color: #f2defb;
  font-size: .79rem;
  text-decoration: underline;
  text-underline-offset: .23em;
}
.station-scene .antenna-panel .now {
  grid-template-columns: clamp(55px, 6.2vw, 84px) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 21px);
}
.station-scene .now-cover {
  overflow: hidden;
  border-radius: 4px;
  outline: 1px solid #e2c8f668;
  box-shadow: 0 7px 22px #06030ba6;
}
.station-scene .now-copy strong { color: #fff5e9; font: 800 clamp(1rem, 3vw, 1.5rem)/1.15 var(--lm-text-font, 'LM Charte Sans', sans-serif); }
.station-scene .now-copy span { font-size: .875rem; }
#hero-wave { margin-block: 8px 5px; }
.antenna-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2px 14px;
  border-top: 1px solid #906fac60;
  margin-top: 16px;
  min-height: 42px;
}
.home-library { background: #100c15; }
.home-library .section-inner { padding-block: clamp(24px, 4vw, 50px); }
.home-library h2 { font-size: clamp(2.1rem, 5vw, 4.3rem); }
.home-library .section-heading { margin-bottom: 17px; align-items: end; }
.home-library .section-heading .text-link { color: #e0c4fc; text-align: right; }
.home-library .music-library { --music-wave-height: 30px; }
.player .player-inner { grid-template-columns: 44px minmax(110px, 1fr) minmax(100px, 1.25fr) minmax(85px, .75fr) auto auto; }
.player .player-inner:has(#return-radio[hidden]) {
  grid-template-columns: 44px minmax(110px, 1fr) minmax(100px, 1.25fr) auto;
}
#site-player-waveform { --music-wave-height: 32px; display: grid; align-items: center; }
#return-radio {
  min-height: 44px;
  padding-inline: .7em;
  border: 1px solid #a977d7;
  background: #321946;
  color: #f1ddff;
  font-size: .78rem;
  line-height: 1.18;
}
#return-radio:hover { background: #4d266d; }
.player-progress input { accent-color: var(--music-active); }
@media (max-width: 800px) {
  .player .player-inner,
  .player .player-inner:has(#return-radio[hidden]) {
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    gap: 8px;
  }
  .player .player-inner:has(#return-radio[hidden]) { grid-template-columns: 44px minmax(0, 1fr) minmax(45px, 100px) auto; }
  .player-progress { display: none; }
  .player .player-inner:has(#return-radio:not([hidden])) #site-player-waveform { display: none; }
}
@media (max-width: 740px) {
  .player .player-inner:has(.mini-room-toggle) {
    display: flex;
    gap: 6px;
  }
  .player .player-inner:has(.mini-room-toggle) #site-player-waveform { display: none; }
  .player .player-inner:has(.mini-room-toggle) #return-radio { max-width: 70px; }
  .player .player-media { flex: 1; min-width: 0; gap: 6px; }
  .player .player-media img { display: block; width: 34px; height: 34px; }
  .station-scene .air { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: 12px 24px; gap: 15px; }
  .station-scene .poster-portrait { height: clamp(152px, 43vw, 278px); object-position: 50% 19%; }
  .station-scene .poster-copy { padding-bottom: 8px; }
  .station-scene #station-title.station-wordmark { width: min(198px, 66%); }
  .radio-column .poster-caption { margin-top: 7px; }
  .station-scene .antenna-panel {
    max-width: none;
    padding: 10px 13px 3px;
    background: linear-gradient(140deg, #231632ec, #110d1bea 70%);
  }
  .station-scene .schedule-head { margin-bottom: 6px; }
  .antenna-player-link, .antenna-foot .app-access { font-size: .73rem; }
  .antenna-deck { margin-block: 11px 6px; }
  .antenna-deck::before { right: 51%; width: 57%; }
  .antenna-foot { margin-top: 8px; }
  .home-library .section-heading { gap: 8px; }
}
.radio-queue-item { grid-template-columns: 43px minmax(0, 1fr) auto; }
@media (max-width: 740px) {
  .site-header .header-inner {
    grid-template-columns: minmax(92px, 1fr) auto auto;
    grid-template-rows: 37px 34px;
    min-height: 0;
    column-gap: 10px;
    row-gap: 0;
    padding-block: 5px;
  }
  .site-header .header-inner > .brand { grid-area: 1 / 1; }
  .site-header .header-inner .brand-wordmark { width: clamp(84px, 25vw, 112px); }
  .site-header .header-inner .language-switch { grid-area: 1 / 2; }
  .site-header .header-inner .header-contact { grid-area: 1 / 3; }
  .site-header .header-inner > nav:first-of-type {
    grid-area: 2 / 1 / 3 / -1;
    justify-content: space-between;
    gap: 8px;
  }
  .site-header .header-inner > nav:first-of-type a { min-height: 34px; }
  .site-header .header-contact .header-book { min-height: 33px; }
}

/* Radio welcome and presentation */
.welcome-home .welcome-radio-positioning {
  margin: .6rem 0 0;
  max-width: 23ch;
  color: #fff0dc;
  font-size: clamp(.81rem, 1.25vw, 1.1rem);
  font-weight: 750;
  line-height: 1.3;
  text-shadow: 0 2px 7px #100718;
  text-wrap: balance;
}

.home-now-playing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, .9fr) minmax(8rem, .65fr);
  grid-template-areas:
    "heading heading heading"
    "track transport next";
  align-items: center;
  gap: .25rem clamp(.8rem, 2.5vw, 2.5rem);
  padding: clamp(.75rem, 1.4vw, 1.1rem);
  border: 1px solid #ba91d471;
  border-radius: 10px;
  background: linear-gradient(110deg, #31203e, #211428 65%, #2a1a32);
}

.station-scene .home-now-playing .schedule-head {
  grid-area: heading;
  margin: 0;
}

.home-now-playing .now {
  grid-area: track;
  min-width: 0;
}

.home-now-playing #hero-wave {
  grid-area: transport;
  margin: 0;
}

.home-now-playing .antenna-play {
  width: clamp(46px, 5.4vw, 68px);
}

.home-now-playing .antenna-wing svg {
  height: clamp(37px, 5.4vw, 66px);
}

.home-now-playing .next {
  grid-area: next;
  display: grid;
  min-width: 0;
  margin: 0;
  padding: .2rem 0 .2rem .85rem;
  border: 0;
  border-inline-start: 1px solid #a17ab477;
  gap: .2rem;
  color: #fff0e9;
  font-size: .87rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.home-now-playing .next[hidden] { display: none; }
.home-now-playing .next span { color: #d9bce9; }

.madone-radio-identity {
  padding-block: clamp(1.25rem, 4vw, 3.2rem);
  background: #160f20;
}

.radio-identity-panel {
  padding: clamp(1rem, 3.1vw, 2.7rem);
  border: 1px solid #a482b36b;
  border-inline-start: 3px solid #e5bd79;
  border-radius: 12px;
  background: linear-gradient(120deg, #2b1a37, #201627 70%);
}

.radio-identity-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.7rem, 3vw, 2.7rem);
  margin-block-end: clamp(.85rem, 2vw, 1.6rem);
}

.radio-identity-heading h2 {
  margin: 0 0 .6rem;
  color: #fff0dc;
  font-size: clamp(1.55rem, 3.4vw, 3.15rem);
  line-height: 1.08;
  text-wrap: balance;
}

.radio-identity-heading img {
  flex: 0 0 auto;
  width: clamp(5rem, 14vw, 10rem);
  height: auto;
}

.radio-identity-heading p,
.radio-identity-grid p {
  margin: 0;
  color: #e9dcec;
  font-size: 1rem;
  line-height: 1.5;
}

.radio-identity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.7rem, 2vw, 1.25rem);
}

.radio-identity-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  padding: clamp(.85rem, 2vw, 1.4rem);
  border: 1px solid #ab87bc55;
  border-radius: 8px;
  background: #bc9bd30c;
}

.radio-identity-grid .radio-identity-programme {
  padding-inline-end: clamp(4.75rem, 8vw, 7.25rem);
  background:
    url('/assets/branding/vintage-cat-dj.webp?v=65963bb5f5') right -.2rem bottom / min(39%, 7rem) auto no-repeat,
    radial-gradient(ellipse at 93% 71%, #8f56c47a, transparent 48%), #281a34;
}

.radio-identity-grid article::before {
  width: 1.55rem;
  height: 2px;
  border-radius: 2px;
  background: #e5bd79;
  content: "";
}

.radio-identity-grid h3 {
  margin: 0;
  color: #fff0dc;
  font: 800 clamp(1.04rem, 1.6vw, 1.27rem) / 1.18 system-ui, sans-serif;
}

.radio-identity-grid a {
  display: inline-grid;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  color: #f5d8ab;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .24em;
}

.radio-identity-grid a:hover { color: #fff2df; }
.radio-identity-grid a:focus-visible { outline: 2px solid #f0d3ff; outline-offset: 3px; }
.home-now-playing .now-copy span:empty { display: none; }

@media (max-width: 740px) {
  .welcome-home .welcome-radio-positioning {
    margin-top: .28rem;
  }

  .home-now-playing {
    grid-template-columns: minmax(0, 1fr) minmax(4.5rem, .43fr);
    grid-template-areas:
      "heading heading"
      "track transport"
      "next next";
    gap: .35rem .55rem;
  }

  .home-now-playing #hero-wave { gap: 4px; }
  .home-now-playing .next {
    display: flex;
    flex-wrap: wrap;
    gap: .28rem .55rem;
    padding: .5rem 0 0;
    border: 0;
    border-top: 1px solid #a17ab477;
  }

  .radio-identity-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .radio-identity-grid { grid-template-columns: minmax(0, 1fr); }
}
