:root {
  color-scheme: dark;
  --bg: #111213;
  --panel: #181a1b;
  --line: #383a39;
  --muted: #aaa9a5;
  --text: #e9e6df;
  --amber: #f0a34d;
  --green: #64cb77;
  --red: #d34034;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 40%, #222426, #101112 75%);
  color: var(--text);
  font:
    15px/1.45 "Bahnschrift",
    "Segoe UI",
    Arial,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  background: linear-gradient(#292b2c, #1b1d1e);
  border: 1px solid #444746;
  border-radius: 5px;
  padding: 10px 18px;
  box-shadow: inset 0 1px #ffffff08;
}
button:hover {
  background: #323536;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.primary,
button.selected {
  background: linear-gradient(#f7b35f, #e59843);
  border-color: #edbd7f;
  color: #211b15;
  box-shadow: inset 0 0 8px #ffe0aa55;
}
.primary:hover,
button.selected:hover {
  background: #f5b76d;
}
main {
  max-width: 1480px;
  margin: 48px auto;
  padding: 12px;
  background: linear-gradient(115deg, #242728, #17191a 55%, #202324);
  border: 1px solid #4a4d4c;
  border-radius: 6px;
  box-shadow:
    inset 0 1px #ffffff26,
    0 12px 45px #0007;
}
header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px 12px;
}
.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 0;
}
.wave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 58px;
  min-width: 58px;
  height: 58px;
  color: var(--amber);
}
.wave i {
  width: 4px;
  height: 16px;
  border-radius: 3px;
  background: currentColor;
}
.wave i:nth-child(2),
.wave i:nth-child(6) {
  height: 30px;
}
.wave i:nth-child(3),
.wave i:nth-child(5) {
  height: 44px;
}
.wave i:nth-child(4) {
  height: 57px;
}
h1 {
  margin: 0;
  font-size: clamp(22px, 2.65vw, 38px);
  letter-spacing: 1.2px;
  line-height: 1.2;
  font-weight: 750;
  white-space: nowrap;
}
h1 em {
  color: var(--amber);
  font-style: normal;
}
.brand p {
  font-size: 10px;
  letter-spacing: 4.3px;
  margin: 6px 0 0;
  color: #bcbab5;
  white-space: nowrap;
}
.frequency,
.clock {
  background: linear-gradient(#111314, #171919);
  border: 1px solid #383b3a;
  box-shadow: inset 0 2px 9px #0009;
  border-radius: 3px;
  padding: 10px 18px;
  text-align: center;
  white-space: nowrap;
}
.frequency {
  font-size: 25px;
  font-weight: 650;
  min-width: 146px;
}
small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.frequency small {
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-top: 5px;
}
.signal-rack {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.clock {
  min-width: 208px;
}
.clock strong {
  font:
    28px/1.2 "Consolas",
    monospace;
  display: block;
  letter-spacing: 1px;
  margin: 3px 0;
}
.clock small {
  font-size: 10px;
  letter-spacing: 1.5px;
}
.clock #date {
  color: #d9b783;
  font-size: 11px;
  letter-spacing: 0.3px;
}
.lamp {
  align-self: center;
  display: inline-block;
  text-align: center;
  min-width: 180px;
  padding: 10px 16px;
  font-size: 35px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: 1.6px;
  border: 7px solid #111213;
  outline: 1px solid #4a4540;
  border-radius: 3px;
  background: #272321;
  color: #a79990;
  box-shadow: 0 0 0 6px #1a1c1d;
}
.lamp.live {
  background: radial-gradient(ellipse, #de2415, #9c140e 65%, #3e0805);
  color: #ffe7d6;
  text-shadow: 0 0 8px #ff936b;
  box-shadow:
    inset 0 0 16px #380600,
    0 0 0 6px #1a1c1d;
}
#navigation {
  display: flex;
  gap: 8px;
  padding: 6px;
  margin: 0;
  background: linear-gradient(#313435, #232526);
  border: 1px solid #525554;
  border-radius: 4px;
  box-shadow:
    inset 0 1px #ffffff10,
    0 3px 4px #0008;
}
#navigation button {
  min-width: 174px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
}
svg.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.volume-control {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  padding: 0 12px;
  color: #b0b0ad;
}
.volume-control .volume-end {
  display: none;
}
input[type="range"] {
  accent-color: var(--amber);
  width: 165px;
  height: 5px;
  cursor: pointer;
}
.instrument {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 14px 0;
}
.tuner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
  border: 1px solid #62625b;
  outline: 4px solid #191b1c;
  outline-offset: -5px;
  box-shadow: inset 0 0 15px #000;
  border-radius: 5px;
  background: linear-gradient(#080a0b, #121415);
  min-height: 88px;
}
.tuner b {
  color: var(--amber);
  font-size: 14px;
  letter-spacing: 1px;
}
.dial {
  flex: 1;
  position: relative;
  padding-top: 2px;
}
.ticks {
  height: 24px;
  background: repeating-linear-gradient(
    90deg,
    #41433e 0 1px,
    transparent 1px 6px
  );
  mask-image: linear-gradient(transparent, #fff);
}
.numbers {
  display: flex;
  justify-content: space-between;
  color: #b0aea9;
  font-size: 12px;
  margin-top: 6px;
}
.tuning-line {
  position: absolute;
  width: 2px;
  left: 50.5%;
  top: -8px;
  height: 57px;
  background: #ffb85e;
  box-shadow: 0 0 5px 2px #eea34666;
}
.tuning-line:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 17px;
  left: -2px;
  top: 16px;
  background: #ffca79;
  box-shadow: 0 0 7px #ffb252;
}
.tuner strong {
  color: var(--amber);
  font-size: 16px;
  letter-spacing: 0.8px;
}
.tuner small {
  font-size: 8px;
  margin-top: 1px;
  color: #aaa7a0;
  letter-spacing: 1px;
}
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 9px;
}
.panel,
.essentials > section {
  background: linear-gradient(115deg, #191b1c, #151718);
  border: 1px solid #414342;
  border-radius: 5px;
  box-shadow: inset 0 1px #ffffff08;
  padding: 16px;
}
.panel h2 {
  font-size: 12px;
  letter-spacing: 1.2px;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  margin: 0 0 18px;
}
.panel h2:before {
  content: "";
  width: 4px;
  height: 10px;
  background: var(--amber);
  flex-shrink: 0;
}
.panel h2 > span:last-child {
  margin-left: auto;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.6px;
  color: #afafaa;
}
.panel h2 .next-label {
  font: inherit;
  color: inherit;
  margin: 0;
}
.panel #connection {
  font-size: 9px;
  letter-spacing: 0.5px;
  padding: 5px 8px;
  border: 1px solid #393b39;
  border-radius: 3px;
  color: #b8b6af;
}
.panel #connection:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 7px;
}
.record {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.art {
  flex-shrink: 0;
  width: 48%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #242320, #030505 75%);
  border: 1px solid #6c6b61;
  border-radius: 2px;
  box-shadow: 0 2px 8px #0008;
  overflow: hidden;
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art strong {
  font-size: 42px;
  letter-spacing: 3px;
}
.art small {
  font-size: 9px;
  letter-spacing: 2px;
}
.art .wave {
  transform: scale(0.85);
  margin-bottom: 10px;
}
.track {
  flex: 1;
  min-width: 0;
  padding-top: 5px;
}
.track > p {
  font-size: 28px;
  font-weight: 550;
  line-height: 1.2;
  margin: 7px 0 6px;
}
.track h3 {
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--amber);
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.track-meta {
  margin: 0 0 21px;
  color: #c3c1ba;
  font-size: 12px;
}
.track-meta p {
  margin: 4px 0;
  line-height: 1.4;
}
progress {
  display: block;
  width: 100%;
  height: 8px;
  border: 1px solid #52534d;
  border-radius: 5px;
  overflow: hidden;
  background: #353837;
}
progress::-webkit-progress-bar {
  background: #353837;
}
progress::-webkit-progress-value {
  background: linear-gradient(#ffc075, #e99a42);
}
.timing {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
}
.transport {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.round {
  border-radius: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.stop {
  color: #ccc8bf;
  background: linear-gradient(#444747, #282b2a);
  font-size: 18px;
}
.programme {
  display: flex;
  flex-direction: column;
  min-height: 346px;
}
.programme h2 {
  color: #bab9b2;
  font-size: 11px;
  margin-bottom: 9px;
}
.programme h2:before {
  display: none;
}
.programme h3 {
  font-size: 31px;
  line-height: 1.15;
  color: var(--amber);
  margin: 0 0 5px;
  font-weight: 650;
}
.programme p {
  font-size: 20px;
  margin: 0 0 18px;
  color: #d3d0c8;
}
.programme-note {
  border-top: 1px solid #3b3d38;
  padding: 20px 0;
  color: #b9b8b1;
  font-size: 13px;
  line-height: 1.65;
}
.host-badges {
  display: flex;
  gap: 13px;
  margin-top: auto;
  padding-top: 18px;
}
.host-badge {
  display: flex;
  gap: 9px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.host-badge + .host-badge {
  border-left: 1px solid #353735;
  padding-left: 12px;
}
.host-badge .mic-disc {
  background: linear-gradient(#373a38, #212423);
  border: 1px solid #454744;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.host-badge small {
  font-size: 9px;
  white-space: nowrap;
}
.host-badge strong {
  font-size: 13px;
  font-weight: 500;
}
.next h2 {
  margin-bottom: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid #383b36;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid #343634;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.row:last-child {
  border: 0;
}
.row small {
  font-size: 11px;
  margin-top: 2px;
}
.row time {
  white-space: nowrap;
  font-size: 11px;
  color: #b6b6af;
}
.queue-row {
  display: grid;
  grid-template-columns: 55px 45px 1fr 33px;
  gap: 10px;
  min-height: 60px;
  padding: 8px 0;
}
.queue-row .queue-art {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: linear-gradient(#373a38, #282b29);
  border: 1px solid #3e423d;
  border-radius: 3px;
  overflow: hidden;
}
.queue-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.queue-row .queue-duration {
  text-align: right;
  color: #aaa9a1;
  font-size: 10px;
}
.empty {
  color: #9a9c95;
  font-size: 13px;
  padding: 12px 0;
}
.essentials {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr 1.03fr 1.03fr;
  gap: 9px;
  margin: 12px 0;
}
.essentials > section {
  padding: 12px 16px;
  min-height: 142px;
}
.essentials h2 {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #373b33;
  padding-bottom: 8px;
  margin: 0 0 12px;
  color: #d1cfc6;
}
.status-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #777b75;
  margin-left: auto;
}
.status-dot.good {
  background: var(--green);
  box-shadow: 0 0 4px #5ebf6933;
}
.status-dot.warn {
  background: var(--amber);
}
.health-body {
  display: flex;
  align-items: center;
  gap: 15px;
}
.health-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #3b433b;
  background: #292e29;
  color: #78ae73;
  flex-shrink: 0;
}
.health-icon svg {
  width: 30px;
  height: 30px;
}
.weather-icon {
  border: 0;
  background: transparent;
  color: var(--amber);
}
.weather-icon svg {
  width: 60px;
  height: 60px;
}
.health-body p {
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 5px;
}
.health-body small {
  font-size: 11px;
  margin: 3px 0;
}
.health-body #weather {
  font-size: 27px;
  margin: 0;
}
.health-body #weatherDetail {
  font-size: 10px;
}
.health-body .healthy {
  color: var(--green);
}
#message {
  font-size: 12px;
  color: #d8b27f;
  margin: 10px 0;
}
#message:empty {
  display: none;
}
#workspace,
#requestPanel {
  margin-top: 15px;
  min-height: 120px;
}
#sectionDescription {
  font-size: 13px;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.danger {
  border-color: #8d5c4c;
  color: #efb09d;
}
#tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0;
}
form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}
form label {
  font-size: 12px;
  flex: 1;
  min-width: 120px;
}
input:not([type="range"]),
select {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  background: #121415;
  border: 1px solid #50514b;
  color: var(--text);
  border-radius: 3px;
}
#connectForm input {
  width: 280px;
  max-width: 100%;
}
#connectForm {
  max-width: 400px;
  display: grid;
  align-items: stretch;
}
#connectForm input {
  width: 100%;
}
#tokenFields summary {
  cursor: pointer;
  color: var(--muted);
}
#passwordFields label {
  display: block;
  margin-top: 10px;
}
#nowTiming {
  display: none;
}
#login {
  margin-bottom: 16px;
}
#login p {
  color: var(--muted);
  font-size: 12px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #343936;
  padding: 10px 0 0;
  margin-top: 10px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #92958e;
}
footer i {
  font-style: normal;
  margin: 0 12px;
  color: #696c65;
}
#surfaceLabel {
  color: #777d75;
}
.listener-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.listener-actions a {
  font-size: 12px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
body:not(.authenticated) #broadcast,
body:not(.authenticated) #navigation,
body:not(.authenticated) #workspace,
body:not(.authenticated) #requestPanel {
  display: none;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.row-actions button {
  padding: 8px 10px;
  font-size: 12px;
  min-height: 44px;
}
#detail .row {
  flex-wrap: wrap;
}
#detail .row > div:first-child {
  flex: 1;
  min-width: 140px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.show-art,
#mobileSettings,
.quick-actions,
.listener-nav,
.listener-bottom,
#localConnection {
  display: none;
}
.event-card {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.event-card h3 {
  color: var(--amber);
  margin: 0 0 6px;
}
.event-card p {
  font-size: 13px;
  margin: 5px 0;
}
.event-card button {
  margin: 8px 8px 0 0;
}
.event-card time {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
@media (min-width: 1101px) and (max-width: 1500px) {
  main {
    margin: 48px 18px;
  }
  .record {
    gap: 20px;
  }
  .now {
    padding: 14px 16px;
  }
  .track > p {
    font-size: 28px;
  }
  .programme {
    padding: 16px;
  }
  .queue-row {
    gap: 9px;
    grid-template-columns: 54px 43px 1fr 29px;
  }
  .brand p {
    letter-spacing: 3.5px;
  }
  .frequency {
    min-width: 140px;
  }
  .signal-rack {
    gap: 14px;
  }
  .clock {
    min-width: 208px;
  }
  .lamp {
    min-width: 190px;
  }
}
@media (max-width: 1100px) and (min-width: 701px) {
  main {
    margin: 20px 12px;
  }
  .frequency {
    display: none;
  }
  .brand p {
    letter-spacing: 2px;
  }
  .clock {
    min-width: 170px;
  }
  .lamp {
    min-width: 155px;
    font-size: 26px;
  }
  #navigation button {
    min-width: 125px;
  }
  #navigation .volume-control {
    padding: 0;
    gap: 6px;
  }
  input[type="range"] {
    width: 110px;
  }
  .overview {
    grid-template-columns: 1.6fr 1fr;
  }
  .next {
    grid-column: 1/-1;
  }
  .next .rows {
    display: flex;
    gap: 15px;
  }
  .next .queue-row {
    grid-template-columns: 36px 1fr;
    flex: 1;
    border: 0;
  }
  .next .queue-row time,
  .next .queue-duration {
    display: none;
  }
  .essentials > section {
    padding: 10px;
  }
  .health-icon {
    display: none;
  }
  .tuner {
    gap: 12px;
    padding: 15px;
  }
  .tuner strong {
    display: none;
  }
}
/* Phone surfaces use the same data and controls, with the reference compositions. */
@media (max-width: 700px) {
  body {
    background: #101213;
    font:
      14px/1.4 "Bahnschrift",
      "Segoe UI",
      Arial,
      sans-serif;
  }
  main {
    margin: 0 auto;
    padding: 18px 16px 12px;
    max-width: 600px;
    min-height: 100dvh;
    background: radial-gradient(ellipse at top, #191b1c, #101213 65%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  header {
    position: relative;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 0 13px;
  }
  .brand {
    flex-basis: 100%;
    gap: 9px;
  }
  .brand .wave {
    width: 43px;
    min-width: 43px;
    transform: scale(0.82);
    transform-origin: center;
    height: 50px;
  }
  .brand h1 {
    font-size: clamp(19px, 5.5vw, 29px);
    letter-spacing: 0.5px;
  }
  .brand p {
    font-size: 6.5px;
    letter-spacing: 2px;
    margin-top: 6px;
  }
  .frequency {
    display: none;
  }
  .signal-rack {
    width: 100%;
    padding: 10px 12px;
    gap: 18px;
    align-items: center;
    background: linear-gradient(115deg, #202324, #151718);
    border: 1px solid #3b3d3b;
    border-radius: 5px;
    box-shadow: inset 0 1px #ffffff08;
  }
  .lamp {
    min-width: 131px;
    padding: 8px 9px;
    font-size: 27px;
    border-width: 5px;
    box-shadow: 0 0 0 3px #161818;
    letter-spacing: 0.6px;
  }
  .lamp.live {
    box-shadow:
      inset 0 0 16px #380600,
      0 0 0 3px #161818;
  }
  .clock {
    border: 0;
    border-left: 1px solid #303532;
    box-shadow: none;
    background: none;
    padding: 0 0 0 18px;
    min-width: 0;
    flex: 1;
    text-align: left;
  }
  .clock strong {
    font-size: 24px;
    letter-spacing: 0.4px;
    white-space: nowrap;
  }
  .clock #date {
    font-size: 9px;
    color: #9d9e96;
    letter-spacing: 1px;
  }
  .clock-zone {
    display: none;
  }
  .instrument {
    display: none;
  }
  .overview {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .panel {
    padding: 13px 14px;
    border-color: #343836;
    border-radius: 6px;
  }
  .panel h2 {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 12px;
  }
  .panel #connection {
    border: 0;
    padding: 0;
    font-size: 8px;
  }
  .record {
    gap: 16px;
    align-items: center;
  }
  .art {
    width: 105px;
  }
  .art strong {
    font-size: 29px;
  }
  .art .wave {
    transform: scale(0.6);
    height: 35px;
    margin: 0;
  }
  .art small {
    font-size: 6px;
  }
  .track {
    padding: 0;
  }
  .track > p {
    font-size: 18px;
    font-weight: 450;
    margin: 0 0 2px;
  }
  .track h3 {
    font-size: 27px;
    line-height: 1.15;
    margin: 0 0 8px;
  }
  .track-meta {
    font-size: 12px;
    margin: 0;
    color: #aeada8;
  }
  .track-meta p {
    margin: 2px 0;
  }
  .timing {
    font-size: 9px;
    margin-top: 4px;
  }
  .now #playbackProgress {
    margin-top: 8px;
  }
  .programme {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 85px;
    column-gap: 12px;
    padding: 14px;
  }
  .programme h3 {
    font-size: 27px;
    margin: 0 0 3px;
  }
  .programme p {
    font-size: 18px;
    margin: 0 0 9px;
  }
  .programme h2 {
    font-size: 10px;
    margin-bottom: 8px;
    color: var(--amber);
  }
  .programme h2:before {
    display: inline-block;
  }
  .programme-note {
    border: 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.5;
  }
  .programme-note br {
    display: none;
  }
  .host-badges {
    margin: 25px 0 0;
    padding: 0 0 0 12px;
    border-left: 1px solid #303431;
    flex-direction: column;
    gap: 10px;
  }
  .host-badge {
    gap: 7px;
  }
  .host-badge + .host-badge {
    border: 0;
    padding: 0;
  }
  .host-badge .mic-disc {
    width: 28px;
    height: 28px;
  }
  .host-badge .mic-disc svg {
    width: 19px;
    height: 19px;
  }
  .host-badge strong {
    font-size: 11px;
  }
  .host-badge small {
    font-size: 7px;
  }
  .next h2 {
    margin-bottom: 0;
  }
  .queue-row {
    grid-template-columns: 47px 32px 1fr 28px;
    gap: 8px;
    min-height: 47px;
    padding: 6px 0;
    font-size: 13px;
  }
  .queue-row .queue-art {
    width: 31px;
    height: 31px;
  }
  .queue-row .queue-art svg {
    width: 21px;
    height: 21px;
  }
  .queue-row small {
    font-size: 10px;
  }
  .queue-row time {
    font-size: 10px;
  }
  .queue-duration {
    font-size: 9px;
  }
  .essentials {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin: 10px 0;
  }
  .essentials > section {
    padding: 10px 9px;
    min-height: 100px;
    border-color: #343836;
  }
  .essentials #weatherPanel {
    display: none;
  }
  .essentials h2 {
    font-size: 9px;
    gap: 5px;
    border: 0;
    padding: 0;
    margin-bottom: 9px;
    letter-spacing: 0.5px;
  }
  .essentials h2 svg {
    width: 19px;
    height: 19px;
  }
  .status-dot {
    width: 7px;
    height: 7px;
  }
  .health-body {
    display: block;
    padding-left: 23px;
  }
  .health-icon {
    display: none;
  }
  .health-body p {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .health-body small {
    font-size: 9px;
    line-height: 1.3;
    margin: 2px 0;
  }
  .quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 10px 0;
  }
  .quick-actions button {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    font-size: 12px;
    text-align: left;
    min-height: 51px;
  }
  .quick-actions button > span:first-child svg {
    width: 24px;
    height: 24px;
  }
  .quick-actions small {
    font-size: 8px;
    margin-top: 2px;
  }
  .quick-actions b {
    margin-left: auto;
    color: #8a8f85;
    font-size: 20px;
    font-weight: 400;
  }
  #mobileSettings {
    display: block;
    position: absolute;
    right: 0;
    top: 10px;
    border: 0;
    box-shadow: none;
    background: none;
    padding: 0;
  }
  .mobile-admin .brand {
    padding-right: 22px;
  }
  .mobile-admin .brand h1 {
    font-size: clamp(18px, 5vw, 25px);
  }
  .mobile-admin .brand p {
    letter-spacing: 1.5px;
    font-size: 6px;
  }
  .mobile-admin .transport {
    display: none;
  }
  #navigation {
    flex-wrap: wrap;
    position: static;
    gap: 5px;
    margin-bottom: 10px;
  }
  #navigation button {
    min-width: 0;
    flex: 1;
    font-size: 12px;
    padding: 8px;
    gap: 5px;
    min-height: 36px;
  }
  #navigation .volume-control {
    flex: 1;
    padding: 10px;
  }
  #navigation button svg {
    width: 18px;
    height: 18px;
  }
  .volume-control input {
    width: 100%;
  }
  footer {
    font-size: 7px;
    letter-spacing: 0.4px;
    padding: 8px 0 0;
    flex-wrap: wrap;
    margin-top: 7px;
  }
  .mobile-admin footer {
    display: none;
  }
  #message {
    font-size: 10px;
    margin: 7px 0;
  }
  form {
    display: block;
  }
  form label {
    display: block;
    margin: 10px 0;
  }
  #connectForm input {
    width: 100%;
    margin-bottom: 10px;
  }
  #tabs {
    gap: 5px;
  }
  #tabs button {
    font-size: 12px;
    padding: 7px;
  }
  .actions button {
    font-size: 12px;
    flex: 1;
  }
  .row {
    gap: 8px;
  }
}
.listener main {
  max-width: 600px;
  margin: 0 auto;
  padding: 22px 18px 12px;
  border: 0;
  border-radius: 0;
  background: radial-gradient(ellipse at top, #191b1c, #101213 65%);
  box-shadow: none;
  min-height: 100dvh;
}
.listener header {
  flex-wrap: wrap;
}
.listener .brand {
  flex-basis: 100%;
}
.listener .frequency,
.listener .instrument,
.listener #mobileSettings {
  display: none;
}
.listener .signal-rack {
  width: 100%;
  gap: 13px;
  align-items: center;
  padding: 10px 9px;
  background: linear-gradient(115deg, #222425, #131516);
  border: 1px solid #3d403b;
  border-radius: 5px;
}
.listener .lamp {
  min-width: 100px;
  font-size: 25px;
  padding: 9px 8px;
  border-width: 5px;
  letter-spacing: 0.6px;
}
.listener .clock {
  background: none;
  box-shadow: none;
  border: 0;
  text-align: left;
  padding: 0;
  min-width: 0;
}
.listener .clock strong {
  font-size: 19px;
  letter-spacing: 0.1px;
}
.listener .clock #date {
  font-size: 7px;
  color: #aaa9a2;
  letter-spacing: 0.5px;
}
.listener .clock-zone {
  display: block;
  font-size: 7px;
}

.listener .overview {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.listener .programme {
  order: -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0 0 12px;
  margin: 0 0 9px;
  min-height: 0;
  border-bottom: 1px solid #30342e;
}
.listener .programme-copy {
  padding-top: 6px;
}
.listener .programme h2 {
  font-size: 10px;
  color: #90968e;
  letter-spacing: 0.7px;
  margin: 3px 0 7px;
}
.listener .programme h2:before {
  display: none;
}
.listener .programme h3 {
  font-size: 24px;
  line-height: 1.15;
}
.listener .programme p {
  font-size: 15px;
  margin: 6px 0 12px;
}
.listener .programme-note {
  display: block;
  border: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #a5a69e;
}
.listener .programme-note br {
  display: none;
}
.show-art {
  display: none;
}
.listener .show-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 12px;
  background:
    linear-gradient(90deg, #0006, transparent),
    url("/control-room/assets/programme-microphone.png") center/cover;
  aspect-ratio: 1;
  border: 1px solid #343934;
  border-radius: 2px;
  box-shadow:
    0 0 0 5px #070909,
    inset 0 0 8px #000;
  margin: 4px;
}
.show-art strong {
  font-size: 26px;
  line-height: 1.05;
  color: #eee2c6;
  max-width: 80%;
  text-shadow: 0 2px 5px #000;
}
.show-art small {
  margin-top: 15px;
  font-size: 9px;
  letter-spacing: 2px;
  max-width: 65%;
  color: #dad6ca;
}
.listener .host-badges {
  display: none;
}
.listener .now {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0 5px 10px;
}
.listener .now h2 {
  font-size: 11px;
  margin-bottom: 10px;
}
.listener .now #connection {
  display: none;
}
.listener .record {
  gap: 16px;
  align-items: center;
}
.listener .art {
  width: 34%;
}
.listener .track h3 {
  font-size: 25px;
  margin-bottom: 8px;
}
.listener .track > p {
  font-size: 21px;
}
.listener .track-meta {
  font-size: 13px;
  line-height: 1.5;
}
.listener #playbackProgress {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 8px 0 0;
}
.listener #playbackProgress:before {
  content: "● LIVE";
  font-size: 12px;
  color: var(--red);
  white-space: nowrap;
  letter-spacing: 0.6px;
}
body.listener:not(.broadcasting) #playbackProgress:before {
  content: "● OFF AIR";
  color: var(--muted);
}
.listener #playbackProgress progress {
  height: 6px;
  box-shadow: 0 0 4px #f7b35c55;
}
.listener .timing {
  display: none;
}
.listener .transport {
  justify-content: center;
  margin: 15px 0;
}
.listener .transport .round {
  width: 57px;
  height: 57px;
  font-size: 31px;
}
.listener .stop {
  display: none;
}
.listener .volume-control {
  margin: 0 auto;
  max-width: 275px;
  gap: 14px;
  padding: 0 8px;
}
.listener .volume-control .volume-end {
  display: inline;
}
.listener input[type="range"] {
  flex: 1;
  min-width: 0;
  width: 100%;
}
.listener #localConnection {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 14px 0 4px;
  font-size: 11px;
  color: #aaa;
}
.listener #localConnection .status-dot {
  margin: 0;
}
.listener #codec {
  padding-left: 8px;
  border-left: 1px solid #555;
  color: #91978d;
  font-size: 10px;
}
.listener .listener-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 10px;
}
.listener-bottom > section {
  border: 1px solid #363a34;
  border-radius: 5px;
  background: #151819;
  padding: 10px;
}
.listener-bottom #weatherPanel h2 {
  display: none;
}
.listener-bottom .health-body {
  display: flex;
  gap: 7px;
  padding: 0;
}
.listener-bottom .weather-icon {
  display: grid;
  width: 48px;
  height: 48px;
}
.listener-bottom .weather-icon svg {
  width: 42px;
  height: 42px;
}
.listener-bottom .health-body small {
  font-size: 8px;
}
.listener-bottom .health-body #weather {
  font-size: 23px;
}
.listener-bottom .health-body #weatherDetail {
  font-size: 8px;
  line-height: 1.4;
}
.listener-bottom .next h2 {
  font-size: 10px;
  padding: 0;
  border: 0;
  margin: 0 0 5px;
}
.listener-bottom .next h2:before {
  display: none;
}
.listener-bottom .next-mode {
  display: none;
}
.listener-bottom .queue-row {
  grid-template-columns: 34px 1fr;
  gap: 8px;
  min-height: 0;
  padding: 0;
  font-size: 12px;
}
.listener-bottom .queue-row > time,
.listener-bottom .queue-duration {
  display: none;
}
.listener-bottom .queue-row .queue-art {
  width: 34px;
  height: 34px;
}
.listener-bottom .queue-row small {
  font-size: 9px;
}
.listener .listener-nav {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #30342e;
  margin: 0 -18px;
  padding: 8px 10px 0;
  background: #101213;
}
.listener-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  padding: 0 8px 9px;
  background: none;
  border: 0;
  box-shadow: none;
  color: #9b9f95;
  border-radius: 0;
  min-width: 53px;
}
.listener-nav button.selected {
  color: var(--amber);
  border-bottom: 2px solid var(--amber);
}
.listener-nav svg {
  width: 23px;
  height: 23px;
}
.listener footer {
  display: none;
}
.listener-actions {
  display: none;
}
.listener .listener-actions.open {
  display: flex;
}
.listener .essentials {
  display: none;
}
.car main {
  max-width: 900px;
}
.car .programme,
.car .listener-bottom,
.car .listener-nav,
.car .listener-actions,
.car .clock,
.car .meter-unit,
.car #localConnection {
  display: none !important;
}
.car header {
  flex-wrap: nowrap;
}
.car .brand {
  flex-basis: auto;
}
.car .signal-rack {
  width: auto;
  background: none;
  border: 0;
}
.car .transport .round {
  width: 54px;
  height: 54px;
}
.car .volume-control {
  display: none;
}
.car .record .art {
  width: 140px;
}
.car .now #playbackProgress {
  display: none;
}
@media (max-width: 370px) {
  .listener .signal-rack {
    gap: 8px;
  }
  .listener .lamp {
    min-width: 91px;
    font-size: 22px;
  }
  .listener .clock strong {
    font-size: 17px;
  }
  .listener .programme h3 {
    font-size: 22px;
  }
  .listener .programme-note {
    font-size: 11px;
  }
  .brand h1 {
    font-size: 18px;
  }
  .brand p {
    letter-spacing: 1.3px;
  }
  .mobile-admin .brand h1 {
    font-size: 17px;
  }
}

/* Keep clocks and long live titles inside their reference panels. */
.track h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body:not(.broadcasting) .lamp {
  font-size: 28px;
}
@media (min-width: 1101px) {
  .overview {
    min-height: 348px;
  }
  .programme {
    min-height: 348px;
  }
  .record {
    min-height: 282px;
  }
  .track > p {
    font-size: 26px;
  }
  .track h3 {
    font-size: 32px;
  }
}
@media (max-width: 700px) {
  body:not(.broadcasting) .lamp {
    font-size: 22px;
  }
  .mobile-admin .clock strong {
    font-size: 21px;
  }
  .mobile-admin .clock {
    padding-left: 12px;
  }
  .mobile-admin .signal-rack {
    gap: 12px;
  }
  .mobile-admin #playbackProgress {
    display: none;
  }
  .mobile-admin #connection {
    display: none;
  }
  .mobile-admin #nowTiming {
    display: inline;
  }
  .mobile-admin .now {
    min-height: 153px;
  }
  .mobile-admin .next {
    min-height: 150px;
  }
  .mobile-admin .programme {
    min-height: 160px;
  }
  .mobile-admin .track h3 {
    font-size: 26px;
  }
  .listener .signal-rack {
    display: grid;
    grid-template-columns: minmax(118px, 0.9fr) minmax(0, 1fr);
    gap: 18px;
  }

  .listener .clock strong {
    font-size: clamp(20px, 5.4vw, 25px);
  }
  .listener .clock #date {
    font-size: 8px;
    white-space: nowrap;
  }
  .listener .lamp {
    min-width: 0;
    width: 100%;
    padding: 8px 4px;
    font-size: 23px;
  }
  .listener .programme-note {
    font-size: 11px;
  }
  .listener .track > p {
    font-size: 19px;
  }
  .listener .track h3 {
    font-size: 24px;
  }
  .listener .signal-rack .clock {
    padding: 0;
  }
  .listener .track-meta {
    font-size: 12px;
  }
}
@media (max-width: 370px) {
  .listener .signal-rack {
    grid-template-columns: minmax(110px, 0.9fr) minmax(0, 1fr);
    gap: 10px;
  }

  .listener .clock strong {
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  .mobile-admin main {
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
  .mobile-admin #mobileSettings {
    min-width: 44px;
    min-height: 44px;
    top: 0;
  }
  .mobile-admin .brand {
    padding-right: 38px;
  }
  .mobile-admin .now {
    min-height: 0;
  }
  .mobile-admin .now .art {
    width: 96px;
  }
  .mobile-admin .programme {
    min-height: 0;
  }
  .mobile-admin .next {
    min-height: 0;
  }
  .mobile-admin .queue-row {
    min-height: 39px;
    padding: 4px 0;
  }
  .mobile-admin .essentials > section {
    min-height: 84px;
  }
  .mobile-admin .health-body {
    padding-left: 0;
  }
  .mobile-admin .quick-actions small {
    font-size: 8px;
  }
  .mobile-admin .health-body small {
    font-size: 8px;
  }
  .listener .listener-bottom > section {
    min-height: 80px;
  }
  .listener .listener-bottom .empty {
    padding: 0;
    font-size: 10px;
  }
  .listener main {
    padding-top: max(18px, env(safe-area-inset-top));
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
  input:not([type="range"]),
  select {
    font-size: 16px;
    min-height: 44px;
  }
  #navigation button,
  #tabs button,
  .event-card button {
    min-height: 44px;
  }
}
