:root {
  --font-display: "Bahnschrift Condensed", "Bahnschrift", "Aptos Display", "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", "Franklin Gothic Medium", sans-serif;
  --font-ui: "Aptos", "Inter", "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --fm-ink: #fff8df;
  --fm-muted: rgb(255 248 223 / 0.66);
  --fm-faint: rgb(255 248 223 / 0.42);
  --fm-line: rgb(255 255 255 / 0.075);
  --fm-line-strong: rgb(255 255 255 / 0.13);
  --fm-black: #050505;
  --fm-panel: rgb(19 19 17 / 0.72);
  --fm-panel-strong: rgb(29 28 24 / 0.82);
  --fm-gold: #f6c84f;
  --fm-gold-soft: #ffe8a0;
  --fm-cyan: #8de7ff;
  --fm-magenta: #f0a1ff;
  --fm-sidebar: 232px;
  --fm-player-height: 136px;
  --fm-radius: 8px;
  --fm-shadow: 0 24px 80px rgb(0 0 0 / 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body.lemonteed-fm-page {
  width: 100%;
  min-width: 320px;
  margin: 0;
  color: var(--fm-ink);
  background:
    radial-gradient(circle at 74% 8%, rgb(246 200 79 / 0.16), transparent 25rem),
    radial-gradient(circle at 15% 78%, rgb(141 231 255 / 0.08), transparent 24rem),
    linear-gradient(145deg, #050505 0%, #0c0b09 42%, #060606 100%);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.lemonteed-fm-page::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 0.018) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 72%);
}

body.lemonteed-fm-page::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 36%, rgb(255 255 255 / 0.035) 37%, transparent 42%),
    radial-gradient(circle at 80% 22%, rgb(246 200 79 / 0.08), transparent 24rem);
  opacity: 0.85;
}

img,
svg,
iframe {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 999px;
  color: #111;
  background: var(--fm-gold);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.fm-shell {
  min-height: 100dvh;
  padding: 20px 28px calc(var(--fm-player-height) + 36px) calc(var(--fm-sidebar) + 40px);
  overflow-x: clip;
}

.fm-sidebar {
  position: fixed;
  inset: 20px auto calc(var(--fm-player-height) + 20px) 20px;
  z-index: 10;
  display: grid;
  width: var(--fm-sidebar);
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.02)),
    rgb(8 8 7 / 0.78);
  box-shadow: var(--fm-shadow);
  backdrop-filter: blur(24px);
}

.fm-brand {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.fm-brand__mark {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(246 200 79 / 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 32%, rgb(246 200 79 / 0.35), transparent 2.1rem),
    #0f0e0a;
  box-shadow: 0 0 32px rgb(246 200 79 / 0.12);
}

.fm-brand__mark::after {
  position: absolute;
  inset: -24%;
  content: "";
  background: linear-gradient(115deg, transparent 42%, rgb(255 255 255 / 0.35), transparent 57%);
  transform: translateX(-80%) rotate(8deg);
  animation: fm-glint 8s ease-in-out infinite;
}

.fm-brand__mark img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  transform: scale(1.1);
}

.fm-brand strong {
  display: block;
  overflow: hidden;
  color: #fff4c4;
  font-family: var(--font-display);
  font-size: 20px;
  font-stretch: condensed;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variation-settings: "wdth" 72;
}

.fm-brand small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--fm-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--fm-line);
}

.fm-nav a {
  position: relative;
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border-radius: 7px;
  color: rgb(255 248 223 / 0.58);
  font-size: 13px;
  font-weight: 680;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.fm-nav a:hover,
.fm-nav a:focus-visible {
  color: var(--fm-ink);
  background: rgb(255 255 255 / 0.045);
}

.fm-nav a.is-active,
.fm-nav a[aria-current="page"] {
  color: #fff4c4;
  background:
    linear-gradient(90deg, rgb(246 200 79 / 0.18), rgb(255 255 255 / 0.035));
  box-shadow: inset 2px 0 0 var(--fm-gold);
}

.fm-sidebar__status {
  padding: 13px;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  background:
    radial-gradient(circle at 30% 0%, rgb(246 200 79 / 0.13), transparent 7rem),
    rgb(255 255 255 / 0.025);
}

.fm-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #151005;
  background: linear-gradient(135deg, #fff2a8, #f1bd37);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgb(246 200 79 / 0.16);
}

.fm-signal {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.fm-signal div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fm-signal dt,
.fm-signal dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
}

.fm-signal dt {
  color: rgb(255 248 223 / 0.42);
}

.fm-signal dd {
  color: #ffe9a3;
  font-weight: 780;
  text-align: right;
}

.fm-mode-toggle {
  display: flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 0 10px;
  border: 1px solid var(--fm-line);
  border-radius: 7px;
  color: rgb(255 248 223 / 0.66);
  background: rgb(0 0 0 / 0.18);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.fm-mode-toggle strong {
  color: #ffe9a3;
  font-size: 10px;
}

.piet-only,
.piet-broadcast {
  display: none;
}

body.piet-mode .fm-default-only {
  display: none !important;
}

body.piet-mode .piet-broadcast {
  display: block;
}

body.piet-mode .fm-nav .piet-only {
  display: flex;
}

body.piet-mode .fm-signal .piet-only {
  display: revert;
}

body.piet-mode .fm-piet-status-row.piet-only {
  display: flex;
}

body.piet-mode .fm-actions .piet-only {
  display: inline-flex;
}

body.piet-mode .fm-player__broadcast.piet-only {
  display: block;
}

.fm-main {
  width: min(100%, 1500px);
  min-width: 0;
  margin: 0 auto;
}

.fm-hero {
  position: relative;
  display: grid;
  min-height: min(680px, calc(100dvh - var(--fm-player-height) - 54px));
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.64fr);
  gap: clamp(26px, 4vw, 74px);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(28px, 5vw, 68px);
  border: 1px solid var(--fm-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 72% 34%, rgb(246 200 79 / 0.19), transparent 23rem),
    radial-gradient(circle at 28% 65%, rgb(141 231 255 / 0.07), transparent 21rem),
    linear-gradient(145deg, rgb(255 255 255 / 0.064), rgb(255 255 255 / 0.018)),
    rgb(14 14 13 / 0.72);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.075),
    var(--fm-shadow);
  backdrop-filter: blur(18px);
}

.fm-signal-wave {
  position: absolute;
  inset: 20% 26% auto 4%;
  z-index: 0;
  height: 44%;
  opacity: 0.31;
  pointer-events: none;
}

.fm-signal-wave svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fm-signal-wave path {
  fill: none;
  stroke: rgb(246 200 79 / 0.5);
  stroke-width: 1.15;
  stroke-dasharray: 7 14;
  vector-effect: non-scaling-stroke;
  animation: fm-wave-drift 18s linear infinite;
}

.fm-signal-wave path:nth-child(2) {
  stroke: rgb(141 231 255 / 0.24);
  animation-duration: 24s;
}

.fm-signal-wave path:nth-child(3) {
  stroke: rgb(240 161 255 / 0.18);
  animation-duration: 29s;
}

.fm-hero__copy,
.fm-broadcast-card {
  position: relative;
  z-index: 1;
}

.fm-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(4px, 1vw, 12px) 0;
}

.fm-kicker,
.fm-hero__badges span,
.fm-track-meta,
.fm-license-badge,
.fm-section__note,
.fm-status-line,
.fm-player__message,
.fm-volume span,
.fm-featured-meta,
.fm-form-actions p,
.fm-request-form label span,
.fm-featured-track__copy > p:first-child {
  font-family: var(--font-mono);
}

.fm-kicker {
  margin: 0 0 16px;
  color: var(--fm-gold-soft);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fm-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.fm-hero__badges span,
.fm-tags span,
.fm-license-badge {
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.035);
  color: rgb(255 248 223 / 0.7);
}

.fm-hero__badges span {
  padding: 7px 10px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fm-hero h1 {
  max-width: 8.2ch;
  margin: 0;
  color: #fff3bf;
  font-family: var(--font-display);
  font-size: clamp(70px, 8vw, 128px);
  font-stretch: condensed;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.78;
  text-transform: uppercase;
  text-wrap: balance;
  font-variation-settings: "wdth" 66;
}

.fm-subtitle {
  max-width: 720px;
  margin: clamp(22px, 3vw, 38px) 0 0;
  color: var(--fm-gold-soft);
  font-size: clamp(23px, 2.1vw, 36px);
  font-weight: 690;
  letter-spacing: -0.01em;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.fm-body {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgb(255 248 223 / 0.76);
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.42;
  overflow-wrap: break-word;
}

.fm-broadcast-line {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--fm-faint);
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-wrap: break-word;
}

.fm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.fm-button,
.fm-player button,
.fm-track-actions a,
.fm-track-actions button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--fm-line-strong);
  border-radius: 7px;
  color: var(--fm-ink);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.075), rgb(255 255 255 / 0.027));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.fm-button:hover,
.fm-player button:hover,
.fm-track-actions a:hover,
.fm-track-actions button:hover,
.fm-button:focus-visible,
.fm-player button:focus-visible,
.fm-track-actions a:focus-visible,
.fm-track-actions button:focus-visible {
  border-color: rgb(246 200 79 / 0.34);
  background:
    linear-gradient(180deg, rgb(246 200 79 / 0.14), rgb(255 255 255 / 0.035));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.1),
    0 12px 30px rgb(0 0 0 / 0.24);
  transform: translateY(-1px);
}

.fm-button--primary,
.fm-player .fm-play-button,
.fm-track-actions button:first-child {
  border-color: rgb(246 200 79 / 0.62);
  color: #161005;
  background: linear-gradient(135deg, #fff3aa, #f4c13b);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    0 14px 34px rgb(246 200 79 / 0.16);
}

.fm-broadcast-card {
  display: grid;
  align-content: space-between;
  min-height: 520px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 44%, rgb(246 200 79 / 0.22), transparent 16rem),
    linear-gradient(145deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.028)),
    rgb(11 11 10 / 0.66);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 28px 90px rgb(0 0 0 / 0.34);
}

.fm-broadcast-card::before {
  position: absolute;
  inset: -30%;
  content: "";
  background:
    linear-gradient(122deg, transparent 44%, rgb(255 255 255 / 0.09), transparent 51%),
    radial-gradient(circle at 74% 26%, rgb(255 255 255 / 0.13), transparent 6rem);
  opacity: 0.72;
  pointer-events: none;
}

.fm-broadcast-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--fm-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fm-broadcast-card__top strong {
  color: #ffe484;
}

.fm-mascot {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 330px;
  margin: 6px 0 0;
  place-items: center;
}

.fm-mascot::before {
  position: absolute;
  width: min(86%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle, rgb(246 200 79 / 0.3), transparent 62%),
    radial-gradient(circle, rgb(255 255 255 / 0.09), transparent 40%);
  filter: blur(18px);
}

.fm-mascot img {
  position: relative;
  width: min(92%, 420px);
  height: auto;
  object-fit: contain;
  transform-origin: 50% 50%;
  filter:
    drop-shadow(0 30px 44px rgb(0 0 0 / 0.52))
    drop-shadow(0 0 28px rgb(246 200 79 / 0.12));
  transition: filter 220ms ease;
  will-change: transform;
}

body.is-playing .fm-mascot img {
  animation: fm-record-spin 7.5s linear infinite;
  filter:
    drop-shadow(0 30px 44px rgb(0 0 0 / 0.52))
    drop-shadow(0 0 38px rgb(246 200 79 / 0.22));
}

body.is-playing .fm-mascot::before {
  opacity: 1;
  animation: fm-record-pulse 2.4s ease-in-out infinite alternate;
}

.fm-eq {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 5px;
  min-height: 28px;
  align-items: end;
}

.fm-eq span {
  display: block;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff0a2, #d79c22);
  transform-origin: bottom;
  animation: fm-eq 820ms ease-in-out infinite alternate;
}

.fm-eq span:nth-child(2n) {
  height: 24px;
  animation-duration: 1080ms;
}

.fm-eq span:nth-child(3n) {
  height: 14px;
  animation-duration: 940ms;
}

.fm-broadcast-card p {
  position: relative;
  z-index: 2;
  margin: 12px 0 0;
  color: rgb(255 248 223 / 0.64);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}

.fm-section {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--fm-line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.043), rgb(255 255 255 / 0.016)),
    rgb(8 8 8 / 0.48);
  box-shadow: 0 18px 70px rgb(0 0 0 / 0.25);
}

.fm-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.fm-section h2 {
  margin: 0;
  color: #fff3c7;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 48px);
  font-stretch: condensed;
  font-weight: 740;
  letter-spacing: -0.025em;
  line-height: 0.92;
  text-transform: uppercase;
  font-variation-settings: "wdth" 70;
}

.fm-section__note {
  max-width: 430px;
  margin: 0;
  color: var(--fm-faint);
  font-size: 12px;
}

.fm-search {
  display: grid;
  width: min(100%, 420px);
  gap: 8px;
  color: var(--fm-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fm-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--fm-line-strong);
  border-radius: 7px;
  color: var(--fm-ink);
  background: rgb(0 0 0 / 0.26);
  outline: none;
}

.fm-search input:focus {
  border-color: rgb(246 200 79 / 0.42);
  box-shadow: 0 0 0 3px rgb(246 200 79 / 0.08);
}

.fm-status-line {
  min-height: 18px;
  margin: -4px 0 18px;
  color: var(--fm-faint);
  font-size: 12px;
}

.fm-featured-track {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 14% 22%, rgb(246 200 79 / 0.15), transparent 14rem),
    linear-gradient(135deg, rgb(255 255 255 / 0.075), rgb(255 255 255 / 0.025));
}

.fm-featured-track > img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 26px 60px rgb(0 0 0 / 0.35);
}

.fm-featured-track__copy h3 {
  margin: 0;
  color: #fff7db;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 62px);
  font-stretch: condensed;
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
  font-variation-settings: "wdth" 70;
}

.fm-featured-track__copy > p:not(.fm-kicker) {
  margin: 10px 0 0;
  color: var(--fm-muted);
  font-size: 18px;
}

.fm-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.fm-featured-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  color: rgb(255 248 223 / 0.66);
  background: rgb(0 0 0 / 0.22);
  font-size: 10px;
}

.fm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.fm-featured-track .fm-tags {
  margin-top: 16px;
}

.fm-tags span {
  padding: 5px 8px;
  color: rgb(220 248 255 / 0.82);
  border-color: rgb(141 231 255 / 0.12);
  background: rgb(141 231 255 / 0.055);
  font-family: var(--font-mono);
  font-size: 10px;
  white-space: nowrap;
}

.fm-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.fm-crate-heading,
.fm-track-card {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) minmax(160px, 0.46fr) minmax(110px, 0.25fr) minmax(220px, 0.55fr);
  gap: 18px;
  align-items: center;
}

.fm-crate-heading {
  padding: 0 14px 10px;
  color: rgb(255 248 223 / 0.35);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fm-crate-heading div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.fm-track-list {
  display: grid;
  gap: 4px;
}

.fm-track-card {
  min-height: 86px;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.018);
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.fm-track-card:hover,
.fm-track-card:focus-visible {
  background: rgb(255 255 255 / 0.045);
  outline: none;
}

.fm-track-card.is-active {
  background:
    linear-gradient(90deg, rgb(246 200 79 / 0.11), rgb(255 255 255 / 0.028));
  box-shadow: inset 3px 0 0 var(--fm-gold);
}

.fm-track-main {
  display: grid;
  grid-template-columns: 28px 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.fm-track-number {
  color: rgb(255 248 223 / 0.34);
  font-family: var(--font-mono);
  font-size: 12px;
}

.fm-track-main img {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgb(0 0 0 / 0.3);
}

.fm-track-title,
.fm-track-artist,
.fm-track-meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-track-title {
  color: #fff8df;
  font-size: 15px;
  font-weight: 700;
}

.fm-track-artist {
  margin-top: 2px;
  color: var(--fm-muted);
  font-size: 13px;
}

.fm-track-meta {
  margin-top: 3px;
  color: var(--fm-faint);
  font-size: 10px;
}

.fm-license-badge {
  justify-self: start;
  padding: 6px 9px;
  color: #ffe9a3;
  border-color: rgb(246 200 79 / 0.15);
  background: rgb(246 200 79 / 0.065);
  font-size: 10px;
  white-space: nowrap;
}

.fm-track-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
}

.fm-track-actions button,
.fm-track-actions a {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.fm-track-actions button:not(:first-child),
.fm-track-actions a {
  color: rgb(255 248 223 / 0.62);
  background: transparent;
}

.fm-request-section,
.fm-license-section,
.fm-about {
  max-width: 1120px;
}

.fm-request-card {
  position: relative;
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--fm-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgb(246 200 79 / 0.11), transparent 14rem),
    rgb(0 0 0 / 0.22);
}

.fm-request-card[hidden] {
  display: none;
}

.fm-request-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 32px;
}

.fm-request-card__stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgb(246 200 79 / 0.22);
  border-radius: 50%;
  color: #ffe9a3;
  background: rgb(246 200 79 / 0.045);
  font-family: var(--font-mono);
  transform: rotate(8deg);
}

.fm-request-card__stamp span {
  font-size: 10px;
}

.fm-request-card__stamp strong {
  font-size: 24px;
}

.fm-request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 880px;
}

.fm-request-form label {
  display: grid;
  gap: 7px;
}

.fm-request-form label span {
  color: var(--fm-faint);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fm-request-form input,
.fm-request-form select,
.fm-request-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--fm-line-strong);
  border-radius: 7px;
  color: var(--fm-ink);
  background: rgb(0 0 0 / 0.24);
  outline: none;
}

.fm-request-form textarea {
  resize: vertical;
}

.fm-request-form input:focus,
.fm-request-form select:focus,
.fm-request-form textarea:focus {
  border-color: rgb(246 200 79 / 0.38);
  box-shadow: 0 0 0 3px rgb(246 200 79 / 0.08);
}

.fm-wide,
.fm-form-actions {
  grid-column: 1 / -1;
}

.fm-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.fm-form-actions p {
  margin: 0;
  color: var(--fm-faint);
  font-size: 11px;
}

.fm-license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.fm-license-grid p,
.fm-about p:not(.fm-kicker),
.fm-disclaimer {
  color: var(--fm-muted);
}

.fm-license-punch {
  margin: 22px 0 0;
  color: #fff2ac;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.1vw, 32px);
  font-stretch: condensed;
  font-weight: 720;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 72;
}

.fm-disclaimer {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 7px;
  background: rgb(246 200 79 / 0.055);
  font-size: 14px;
}

.fm-player {
  position: fixed;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 20;
  display: grid;
  min-height: var(--fm-player-height);
  grid-template-columns: minmax(270px, 0.75fr) minmax(420px, 1.25fr) minmax(260px, 0.58fr);
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgb(255 255 255 / 0.105);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 45%, rgb(246 200 79 / 0.15), transparent 18rem),
    linear-gradient(180deg, rgb(255 255 255 / 0.088), rgb(255 255 255 / 0.034)),
    rgb(5 5 5 / 0.9);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.11),
    0 24px 90px rgb(0 0 0 / 0.62);
  backdrop-filter: blur(22px);
}

body.is-playing .fm-player {
  border-color: rgb(246 200 79 / 0.2);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 24px 90px rgb(0 0 0 / 0.62),
    0 0 42px rgb(246 200 79 / 0.08);
}

.fm-player__track {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.fm-player__track img {
  width: 82px;
  height: 82px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.36);
}

.fm-player__track strong,
.fm-player__track span,
.fm-player__track small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-player__track strong {
  color: #fff7d7;
  font-size: 18px;
  font-weight: 720;
}

.fm-player__track span {
  margin-top: 3px;
  color: var(--fm-muted);
  font-size: 13px;
}

.fm-player__track small {
  margin-top: 4px;
  color: #ffe29a;
  font-family: var(--font-mono);
  font-size: 10px;
}

.fm-player__controls {
  min-width: 0;
}

.fm-player__buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 13px;
}

.fm-player__buttons button {
  min-width: 70px;
  min-height: 40px;
  border-radius: 999px;
}

.fm-player__buttons .fm-play-button {
  min-width: 104px;
  min-height: 48px;
}

.fm-progress-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  color: rgb(255 248 223 / 0.52);
  font-family: var(--font-mono);
  font-size: 11px;
}

.fm-progress-row input,
.fm-volume input {
  width: 100%;
  height: 6px;
  cursor: pointer;
  appearance: none;
  background: transparent;
}

.fm-progress-row input:disabled {
  cursor: default;
  opacity: 0.45;
}

.fm-progress-row input::-webkit-slider-runnable-track,
.fm-volume input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(246 200 79 / 0.34), rgb(255 255 255 / 0.13));
}

.fm-progress-row input::-webkit-slider-thumb,
.fm-volume input::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: #f6c84f;
  box-shadow: 0 0 18px rgb(246 200 79 / 0.35);
  appearance: none;
}

.fm-progress-row input::-moz-range-track,
.fm-volume input::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(246 200 79 / 0.34), rgb(255 255 255 / 0.13));
}

.fm-progress-row input::-moz-range-thumb,
.fm-volume input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: #f6c84f;
  box-shadow: 0 0 18px rgb(246 200 79 / 0.35);
}

.fm-player__embed {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.075);
  border-radius: 7px;
  background: rgb(0 0 0 / 0.3);
}

.fm-player__embed[hidden] {
  display: none;
}

.fm-player__embed iframe {
  display: block;
  width: 100%;
  height: 84px;
  border: 0;
}

.fm-player__message {
  margin: 9px 0 0;
  color: var(--fm-faint);
  font-size: 11px;
  text-align: center;
}

.fm-player__utility {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid var(--fm-line);
}

.fm-volume {
  display: grid;
  gap: 8px;
  color: var(--fm-faint);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fm-player__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fm-player__links button {
  min-height: 38px;
  padding: 0 10px;
  color: rgb(255 248 223 / 0.72);
  font-size: 12px;
}

:focus-visible {
  outline: 2px solid var(--fm-cyan);
  outline-offset: 3px;
}

/* ======================================================
   Piet Late Night Mode - Temporary Prototype
   TODO: Finalize once local-time activation is approved.
====================================================== */

body.lemonteed-fm-page.piet-mode {
  --fm-ink: #f7edcf;
  --fm-muted: rgb(247 237 207 / 0.7);
  --fm-faint: rgb(247 237 207 / 0.48);
  --fm-line: rgb(242 197 92 / 0.11);
  --fm-line-strong: rgb(242 197 92 / 0.22);
  --fm-panel: rgb(8 13 16 / 0.72);
  --fm-panel-strong: rgb(11 19 21 / 0.86);
  --fm-gold: #f3b746;
  --fm-gold-soft: #ffd98a;
  --fm-cyan: #7de2c5;
  --fm-magenta: #9a65d6;
  color: var(--fm-ink);
  background:
    radial-gradient(circle at 80% 5%, rgb(255 210 103 / 0.16), transparent 19rem),
    radial-gradient(circle at 77% 63%, rgb(97 161 73 / 0.18), transparent 26rem),
    radial-gradient(circle at 20% 85%, rgb(17 86 75 / 0.28), transparent 28rem),
    linear-gradient(155deg, #02070d 0%, #06121a 38%, #020405 100%);
}

body.lemonteed-fm-page.piet-mode::before {
  z-index: -3;
  background:
    linear-gradient(rgb(255 255 255 / 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.018) 1px, transparent 1px);
  background-size: 100% 4px, 92px 92px;
  mask-image: none;
  opacity: 0.62;
}

body.lemonteed-fm-page.piet-mode::after {
  background:
    radial-gradient(circle at 72% 16%, rgb(245 186 66 / 0.1), transparent 19rem),
    linear-gradient(180deg, transparent 0 54%, rgb(36 76 30 / 0.23) 55%, rgb(6 18 13 / 0.58) 75%, transparent 100%);
  opacity: 1;
}

body.piet-mode .fm-sidebar {
  border-color: rgb(255 213 116 / 0.13);
  background:
    linear-gradient(180deg, rgb(255 212 102 / 0.055), rgb(74 120 68 / 0.035)),
    rgb(2 7 10 / 0.86);
}

body.piet-mode .fm-brand__mark {
  border-color: rgb(101 184 99 / 0.28);
  background:
    radial-gradient(circle at 50% 45%, rgb(117 198 76 / 0.26), transparent 2rem),
    #06100c;
  box-shadow: 0 0 30px rgb(117 198 76 / 0.16);
}

body.piet-mode .fm-brand strong,
body.piet-mode .fm-section h2,
body.piet-mode .fm-featured-track__copy h3 {
  color: #ffe6a5;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgb(243 183 70 / 0.13);
}

body.piet-mode .fm-nav a.is-active,
body.piet-mode .fm-nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgb(118 183 87 / 0.18), rgb(255 183 58 / 0.055));
  box-shadow: inset 2px 0 0 #7cc35d;
}

body.piet-mode .fm-sidebar__status {
  border-color: rgb(255 213 116 / 0.15);
  background:
    radial-gradient(circle at 18% 10%, rgb(229 58 44 / 0.12), transparent 5.5rem),
    radial-gradient(circle at 100% 100%, rgb(119 187 90 / 0.12), transparent 7rem),
    rgb(0 0 0 / 0.24);
}

body.piet-mode .fm-mode-toggle {
  border-color: rgb(255 76 55 / 0.3);
  color: #fff2e6;
  background:
    linear-gradient(90deg, rgb(255 76 55 / 0.18), rgb(255 183 58 / 0.08)),
    rgb(0 0 0 / 0.24);
  box-shadow: 0 0 18px rgb(255 76 55 / 0.12);
}

body.piet-mode .fm-mode-toggle strong {
  color: #7fe2a0;
}

body.piet-mode .fm-pill,
body.piet-mode .fm-on-air-pill {
  color: #fff2e6;
  background: linear-gradient(135deg, #ff4d3a, #9f1410);
  box-shadow:
    0 0 0 1px rgb(255 117 92 / 0.35),
    0 0 18px rgb(255 57 38 / 0.42);
}

body.piet-mode .fm-hero {
  min-height: min(720px, calc(100dvh - var(--fm-player-height) - 54px));
  border-color: rgb(255 213 116 / 0.14);
  background:
    radial-gradient(circle at 76% 24%, rgb(243 183 70 / 0.18), transparent 18rem),
    radial-gradient(circle at 78% 72%, rgb(115 184 82 / 0.2), transparent 22rem),
    linear-gradient(180deg, rgb(4 13 24 / 0.64) 0%, rgb(4 13 24 / 0.82) 55%, rgb(8 24 13 / 0.84) 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.07),
    0 24px 90px rgb(0 0 0 / 0.54),
    0 0 70px rgb(103 175 76 / 0.08);
}

body.piet-mode .fm-hero::before {
  position: absolute;
  right: -4%;
  bottom: -3%;
  left: 35%;
  z-index: 0;
  height: 38%;
  border-radius: 52% 48% 0 0;
  content: "";
  background:
    radial-gradient(circle at 58% 18%, rgb(143 213 70 / 0.52), transparent 10rem),
    linear-gradient(145deg, #132b1c, #2d5a2c 52%, #08140c 100%);
  filter: blur(0.2px);
  opacity: 0.82;
}

body.piet-mode .fm-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 70% 18%, rgb(255 218 137 / 0.14), transparent 2.6rem);
  mix-blend-mode: screen;
  opacity: 0.4;
}

body.piet-mode .fm-signal-wave {
  inset: 36% 24% auto 3%;
  opacity: 0.26;
}

body.piet-mode .fm-signal-wave path {
  stroke: rgb(255 184 70 / 0.58);
}

body.piet-mode .fm-signal-wave path:nth-child(2) {
  stroke: rgb(126 226 197 / 0.3);
}

body.piet-mode .fm-signal-wave path:nth-child(3) {
  stroke: rgb(111 190 83 / 0.34);
}

body.piet-mode .fm-piet-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  align-items: center;
  color: rgb(247 237 207 / 0.68);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.piet-mode .fm-piet-status-row > span:not(.fm-on-air-pill) {
  padding: 7px 10px;
  border: 1px solid rgb(255 213 116 / 0.13);
  border-radius: 999px;
  background: rgb(1 7 9 / 0.42);
}

body.piet-mode .fm-on-air-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.piet-mode .fm-hero h1 {
  max-width: 8.8ch;
  color: #ffe4a0;
  font-size: 112px;
  letter-spacing: 0;
  line-height: 0.82;
  text-shadow:
    2px 0 0 rgb(236 70 48 / 0.36),
    -2px 0 0 rgb(78 195 123 / 0.2),
    0 0 28px rgb(255 196 87 / 0.18);
}

body.piet-mode .fm-subtitle {
  color: #7fe2a0;
  font-family: var(--font-mono);
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

body.piet-mode .fm-body {
  color: rgb(247 237 207 / 0.78);
}

body.piet-mode .fm-broadcast-line {
  color: rgb(255 218 138 / 0.68);
}

body.piet-mode .fm-button--primary,
body.piet-mode .fm-player .fm-play-button,
body.piet-mode .fm-track-actions button:first-child {
  border-color: rgb(255 211 117 / 0.68);
  color: #130d03;
  background: linear-gradient(135deg, #ffe08d, #f0a62a);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.48),
    0 0 26px rgb(240 166 42 / 0.22);
}

body.piet-mode .fm-button:hover,
body.piet-mode .fm-player button:hover,
body.piet-mode .fm-track-actions a:hover,
body.piet-mode .fm-track-actions button:hover,
body.piet-mode .fm-button:focus-visible,
body.piet-mode .fm-player button:focus-visible,
body.piet-mode .fm-track-actions a:focus-visible,
body.piet-mode .fm-track-actions button:focus-visible {
  border-color: rgb(126 226 197 / 0.42);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.1),
    0 12px 30px rgb(0 0 0 / 0.28),
    0 0 18px rgb(126 226 197 / 0.1);
}

body.piet-mode .fm-broadcast-card {
  border-color: rgb(255 213 116 / 0.15);
  background:
    radial-gradient(circle at 54% 42%, rgb(119 187 90 / 0.2), transparent 16rem),
    linear-gradient(180deg, rgb(9 20 27 / 0.82), rgb(2 7 10 / 0.9));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 30px 90px rgb(0 0 0 / 0.45);
}

body.piet-mode .fm-broadcast-card::before {
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.04) 0 1px, transparent 1px 6px),
    radial-gradient(circle at 76% 12%, rgb(255 223 147 / 0.12), transparent 5rem);
  opacity: 0.6;
}

body.piet-mode .fm-piet-art {
  min-height: 356px;
  margin-top: 12px;
}

body.piet-mode .fm-piet-art::before {
  width: min(88%, 410px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 28%, rgb(255 185 67 / 0.22), transparent 54%),
    radial-gradient(circle at 50% 70%, rgb(118 191 84 / 0.22), transparent 58%);
}

body.piet-mode .fm-piet-art img {
  width: min(88%, 360px);
  max-height: 440px;
  border: 1px solid rgb(255 213 116 / 0.16);
  border-radius: 8px;
  object-fit: cover;
  box-shadow:
    0 26px 58px rgb(0 0 0 / 0.48),
    0 0 34px rgb(111 190 83 / 0.12);
  filter:
    saturate(0.9)
    contrast(1.08)
    drop-shadow(0 0 28px rgb(240 166 42 / 0.14));
}

body.piet-mode.is-playing .fm-mascot img,
body.piet-mode.is-playing .fm-mascot::before {
  animation: none;
}

body.piet-mode .fm-eq span {
  background: linear-gradient(180deg, #ffd47d, #e17b24);
  box-shadow: 0 0 12px rgb(225 123 36 / 0.38);
}

body.piet-mode .fm-section {
  border-color: rgb(255 213 116 / 0.11);
  background:
    linear-gradient(180deg, rgb(255 213 116 / 0.045), rgb(117 198 76 / 0.02)),
    rgb(2 7 10 / 0.64);
}

body.piet-mode .piet-broadcast-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: 14px;
}

body.piet-mode .piet-live-card,
body.piet-mode .piet-ticker,
body.piet-mode .broadcast-log,
body.piet-mode .piet-schedule-item,
body.piet-mode .piet-segment-cards article {
  border: 1px solid rgb(255 213 116 / 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 0%, rgb(255 183 58 / 0.12), transparent 8rem),
    rgb(0 0 0 / 0.2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.045);
}

body.piet-mode .piet-live-card {
  min-height: 218px;
  padding: 20px;
}

body.piet-mode .piet-live-card h3 {
  max-width: 11ch;
  margin: 18px 0 12px;
  color: #ffe4a0;
  font-family: var(--font-display);
  font-size: 50px;
  font-stretch: condensed;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
  font-variation-settings: "wdth" 68;
}

body.piet-mode .piet-live-card p,
body.piet-mode .piet-schedule-item p,
body.piet-mode .piet-segment-cards p {
  margin: 0;
  color: var(--fm-muted);
}

body.piet-mode .piet-live-card p + p {
  margin-top: 8px;
  color: #7fe2a0;
  font-family: var(--font-mono);
  font-size: 12px;
}

body.piet-mode .piet-ticker {
  display: grid;
  align-content: center;
  min-height: 218px;
  padding: 20px;
}

body.piet-mode .piet-ticker span,
body.piet-mode .broadcast-log h3,
body.piet-mode .piet-schedule-item time {
  color: #ffcf76;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.piet-mode .piet-ticker p {
  margin: 12px 0 0;
  color: #f7edcf;
  font-size: 28px;
  font-weight: 720;
  line-height: 1.14;
  opacity: 1;
  transition: opacity 300ms ease;
}

body.piet-mode .piet-ticker p.is-fading {
  opacity: 0;
}

body.piet-mode .broadcast-log {
  min-height: 218px;
  padding: 20px;
}

body.piet-mode .broadcast-log h3 {
  margin: 0 0 14px;
}

body.piet-mode .broadcast-log ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.piet-mode .broadcast-log li {
  color: rgb(247 237 207 / 0.72);
  font-size: 13px;
}

body.piet-mode .broadcast-log time {
  display: inline-block;
  min-width: 72px;
  color: #7fe2a0;
  font-family: var(--font-mono);
  font-size: 11px;
}

body.piet-mode .piet-schedule-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

body.piet-mode .piet-schedule-item {
  padding: 15px;
}

body.piet-mode .piet-schedule-item.is-active {
  border-color: rgb(255 76 55 / 0.34);
  background:
    radial-gradient(circle at 0% 0%, rgb(255 76 55 / 0.16), transparent 8rem),
    rgb(10 12 12 / 0.58);
  box-shadow:
    inset 3px 0 0 #ff4d3a,
    0 0 28px rgb(255 76 55 / 0.08);
}

body.piet-mode .piet-schedule-item h3,
body.piet-mode .piet-segment-cards h3 {
  margin: 10px 0 8px;
  color: #ffe4a0;
  font-size: 17px;
  line-height: 1.08;
}

body.piet-mode .piet-schedule-item p,
body.piet-mode .piet-segment-cards p {
  font-size: 13px;
}

body.piet-mode .piet-segment-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

body.piet-mode .piet-segment-cards article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

body.piet-mode .piet-segment-cards .fm-button {
  justify-self: start;
  margin-top: 2px;
}

body.piet-mode .fm-featured-track {
  background:
    radial-gradient(circle at 16% 22%, rgb(120 193 88 / 0.14), transparent 14rem),
    linear-gradient(135deg, rgb(255 183 58 / 0.075), rgb(255 255 255 / 0.018));
}

body.piet-mode .fm-tags span {
  color: rgb(127 226 160 / 0.9);
  border-color: rgb(127 226 160 / 0.14);
  background: rgb(127 226 160 / 0.06);
}

body.piet-mode .fm-license-badge {
  color: #ffd78a;
  border-color: rgb(255 183 58 / 0.16);
  background: rgb(255 183 58 / 0.065);
}

body.piet-mode .fm-track-card.is-active {
  background:
    linear-gradient(90deg, rgb(255 183 58 / 0.12), rgb(117 198 76 / 0.04));
  box-shadow:
    inset 3px 0 0 #f0a62a,
    0 0 22px rgb(240 166 42 / 0.07);
}

body.piet-mode .fm-player {
  border-color: rgb(255 213 116 / 0.18);
  background:
    radial-gradient(circle at 20% 45%, rgb(240 166 42 / 0.14), transparent 18rem),
    repeating-linear-gradient(90deg, rgb(255 184 70 / 0.07) 0 4px, transparent 4px 12px),
    linear-gradient(180deg, rgb(6 18 20 / 0.95), rgb(1 5 8 / 0.96));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.1),
    0 24px 90px rgb(0 0 0 / 0.7),
    0 0 42px rgb(240 166 42 / 0.1);
}

body.piet-mode .fm-player__broadcast {
  display: block;
  margin-bottom: 4px;
  color: #ffcf76;
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.piet-mode .fm-player__track small {
  color: #7fe2a0;
}

body.piet-mode .fm-progress-row input::-webkit-slider-runnable-track,
body.piet-mode .fm-volume input::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, rgb(225 123 36 / 0.85), rgb(255 206 118 / 0.34), rgb(127 226 160 / 0.24));
}

body.piet-mode .fm-progress-row input::-webkit-slider-thumb,
body.piet-mode .fm-volume input::-webkit-slider-thumb {
  background: #ffbe5f;
  box-shadow: 0 0 18px rgb(255 190 95 / 0.44);
}

body.piet-mode .fm-progress-row input::-moz-range-track,
body.piet-mode .fm-volume input::-moz-range-track {
  background: linear-gradient(90deg, rgb(225 123 36 / 0.85), rgb(255 206 118 / 0.34), rgb(127 226 160 / 0.24));
}

body.piet-mode .fm-progress-row input::-moz-range-thumb,
body.piet-mode .fm-volume input::-moz-range-thumb {
  background: #ffbe5f;
  box-shadow: 0 0 18px rgb(255 190 95 / 0.44);
}

@media (max-width: 1180px) {
  body.piet-mode .fm-hero h1 {
    font-size: 92px;
  }

  body.piet-mode .piet-broadcast-grid,
  body.piet-mode .piet-schedule-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.piet-mode .piet-segment-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.piet-mode .fm-hero h1 {
    font-size: 74px;
  }

  body.piet-mode .fm-hero::before {
    left: 0;
    height: 28%;
  }

  body.piet-mode .piet-live-card h3 {
    font-size: 42px;
  }

  body.piet-mode .piet-broadcast-grid,
  body.piet-mode .piet-schedule-list {
    grid-template-columns: 1fr;
  }

  body.piet-mode .fm-piet-art {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  body.piet-mode .fm-hero h1 {
    max-width: 8.5ch;
    font-size: 48px;
    line-height: 0.88;
  }

  body.piet-mode .fm-subtitle {
    font-size: 16px;
  }

  body.piet-mode .piet-live-card h3 {
    font-size: 32px;
  }

  body.piet-mode .piet-ticker p {
    font-size: 20px;
  }

  body.piet-mode .fm-piet-status-row {
    font-size: 10px;
  }

  body.piet-mode .piet-live-card,
  body.piet-mode .piet-ticker,
  body.piet-mode .broadcast-log,
  body.piet-mode .piet-schedule-item,
  body.piet-mode .piet-segment-cards article {
    padding: 14px;
  }
}

@keyframes fm-eq {
  from {
    transform: scaleY(0.44);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes fm-glint {
  0%,
  72% {
    transform: translateX(-82%) rotate(8deg);
  }

  82%,
  100% {
    transform: translateX(82%) rotate(8deg);
  }
}

@keyframes fm-wave-drift {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -220;
  }
}

@keyframes fm-record-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fm-record-pulse {
  from {
    transform: scale(0.96);
    opacity: 0.72;
  }

  to {
    transform: scale(1.04);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  body.is-playing .fm-mascot img,
  body.is-playing .fm-mascot::before {
    animation: none !important;
  }
}

@media (max-width: 1180px) {
  :root {
    --fm-sidebar: 210px;
    --fm-player-height: 194px;
  }

  .fm-shell {
    padding: 118px 18px calc(var(--fm-player-height) + 28px);
  }

  .fm-sidebar {
    inset: 14px 14px auto;
    width: auto;
    min-height: 84px;
    overflow: hidden;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
  }

  .fm-nav {
    flex-direction: row;
    gap: 4px;
    overflow-x: auto;
    padding-top: 0;
    border-top: 0;
  }

  .fm-nav a {
    flex: 0 0 auto;
    min-height: 36px;
  }

  .fm-sidebar__status {
    min-width: 186px;
    padding: 10px;
  }

  .fm-signal {
    display: none;
  }

  .fm-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .fm-broadcast-card {
    min-height: 420px;
  }

  .fm-player {
    grid-template-columns: minmax(240px, 0.8fr) minmax(360px, 1.2fr);
  }

  .fm-player__utility {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: end;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--fm-line);
    padding-top: 12px;
  }

  .fm-player__links {
    min-width: 300px;
  }
}

@media (max-width: 900px) {
  :root {
    --fm-player-height: 244px;
  }

  .fm-shell {
    padding: 154px 12px calc(var(--fm-player-height) + 20px);
  }

  .fm-sidebar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fm-brand {
    grid-template-columns: 44px 1fr;
  }

  .fm-brand__mark {
    width: 44px;
    height: 44px;
  }

  .fm-brand__mark img {
    width: 50px;
    height: 50px;
  }

  .fm-sidebar__status {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .fm-sidebar__status .fm-pill,
  .fm-sidebar__status .fm-signal {
    display: none;
  }

  .fm-mode-toggle {
    margin-top: 0;
  }

  .fm-hero,
  .fm-section {
    padding: 22px;
  }

  .fm-hero h1 {
    max-width: 7.4ch;
    font-size: clamp(48px, 12vw, 76px);
  }

  .fm-broadcast-card {
    min-height: 360px;
  }

  .fm-section__head {
    display: grid;
    gap: 16px;
  }

  .fm-search {
    width: 100%;
  }

  .fm-featured-track,
  .fm-license-grid,
  .fm-request-form {
    grid-template-columns: 1fr;
  }

  .fm-featured-track > img {
    width: min(220px, 100%);
  }

  .fm-crate-heading {
    display: none;
  }

  .fm-track-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fm-track-actions {
    justify-content: start;
  }

  .fm-license-badge {
    justify-self: start;
  }

  .fm-player {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .fm-player__track {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .fm-player__track img {
    width: 58px;
    height: 58px;
  }

  .fm-player__utility {
    grid-template-columns: 1fr;
  }

  .fm-player__links {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --fm-player-height: 262px;
  }

  .fm-shell {
    width: 100vw;
    max-width: 100vw;
    padding: 146px 10px calc(var(--fm-player-height) + 14px);
  }

  .fm-main {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }

  .fm-sidebar {
    inset: 10px 10px auto;
    padding: 12px;
  }

  .fm-nav a {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .fm-hero,
  .fm-section {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    border-radius: 8px;
  }

  .fm-hero__copy {
    max-width: calc(100vw - 52px);
    overflow: hidden;
  }

  .fm-hero__badges span:nth-child(n+3) {
    display: none;
  }

  .fm-subtitle {
    max-width: min(28ch, calc(100vw - 52px));
    font-size: 18px;
  }

  .fm-body,
  .fm-broadcast-line {
    max-width: min(36ch, calc(100vw - 52px));
  }

  .fm-actions,
  .fm-featured-actions,
  .fm-form-actions,
  .fm-track-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fm-button,
  .fm-track-actions button,
  .fm-track-actions a {
    width: 100%;
  }

  .fm-track-main {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .fm-track-number {
    display: none;
  }

  .fm-track-main img {
    width: 46px;
    height: 46px;
  }

  .fm-player {
    right: 10px;
    bottom: 10px;
    left: 10px;
    gap: 9px;
    padding: 10px;
    border-radius: 8px;
  }

  .fm-player__track {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .fm-player__track img {
    width: 48px;
    height: 48px;
  }

  .fm-player__track strong {
    font-size: 15px;
  }

  .fm-player__track span,
  .fm-player__track small {
    font-size: 10px;
  }

  .fm-player__buttons button {
    min-height: 36px;
    min-width: 0;
    flex: 1;
  }

  .fm-player__buttons .fm-play-button {
    min-height: 42px;
    min-width: 0;
    flex: 1.25;
  }

  .fm-player__message {
    display: none;
  }

  .fm-player__links {
    grid-template-columns: 1fr 1fr;
  }

  .fm-player__links button {
    min-height: 34px;
    font-size: 11px;
  }

  .fm-volume {
    gap: 5px;
  }
}
