@font-face {
  font-family: "Fredoka One";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/fredoka-one.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #09090c;
  --panel: #15151b;
  --panel-strong: #20202a;
  --text: #fff7f8;
  --muted: #b9b6c2;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #ff1720;
  --brand-2: #fd4a4d;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  font-family: "Fredoka One", ui-rounded, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  padding-bottom: 180px;
  font-family: "Fredoka One", ui-rounded, system-ui, sans-serif;
  text-transform: lowercase;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #07070a;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 178px;
}

.brand img {
  width: min(260px, 42vw);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 22px);
  color: #07070a;
  font-size: 0.88rem;
}

.main-nav a:hover {
  color: var(--brand);
}

.main-nav a.is-active {
  color: var(--brand);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown > a::after {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12em) rotate(45deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 150px;
  margin-top: 0;
  padding: 10px;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.16s ease;
}

.submenu a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: #07070a;
}

.submenu a:hover {
  background: rgba(255, 23, 32, 0.08);
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  color: #07070a;
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 9px 12px;
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #25d366;
  color: white;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.24);
}

.nav-whatsapp:hover,
.nav-whatsapp.is-active {
  color: white;
  background: #1fb85a;
}

.material-symbol {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  line-height: 1;
}

.material-play_arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.42em solid transparent;
  border-bottom: 0.42em solid transparent;
  border-left: 0.68em solid currentColor;
  margin-left: 0.1em;
}

.material-pause::before {
  content: "";
  width: 0.62em;
  height: 0.82em;
  background:
    linear-gradient(currentColor, currentColor) left center / 0.22em 100% no-repeat,
    linear-gradient(currentColor, currentColor) right center / 0.22em 100% no-repeat;
}

.material-videocam::before {
  content: "";
  width: 0.82em;
  height: 0.58em;
  border-radius: 0.12em;
  background: currentColor;
  box-shadow: 0.54em 0.1em 0 -0.18em currentColor;
}

.material-textsms::before {
  content: "";
  width: 0.82em;
  height: 0.62em;
  border-radius: 0.2em;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 62% 76%, 42% 100%, 42% 76%, 0 76%);
}

.material-access_time::before {
  content: "";
  width: 0.82em;
  height: 0.82em;
  border: 0.15em solid currentColor;
  border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) 50% 18% / 0.12em 0.36em no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 0.34em 0.12em no-repeat;
}

.material-equalizer {
  align-items: end;
  grid-template-columns: repeat(3, 0.16em);
  gap: 0.08em;
}

.material-equalizer::before,
.material-equalizer::after,
.material-equalizer span {
  content: "";
}

.material-equalizer::before,
.material-equalizer::after {
  display: block;
  width: 0.16em;
  background: currentColor;
  border-radius: 999px;
}

.material-equalizer::before {
  height: 0.65em;
}

.material-equalizer::after {
  height: 0.36em;
}

.material-skip_next::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  background: currentColor;
  clip-path: polygon(0 0, 48% 50%, 0 100%, 0 0, 48% 0, 96% 50%, 48% 100%, 48% 0, 100% 0, 100% 100%, 88% 100%, 88% 0);
}

.material-volume_up::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  background:
    radial-gradient(circle at 72% 50%, transparent 0.22em, currentColor 0.23em 0.3em, transparent 0.31em),
    linear-gradient(currentColor, currentColor) 0.38em 0.18em / 0.28em 0.54em no-repeat,
    linear-gradient(currentColor, currentColor) 0.14em 0.32em / 0.28em 0.26em no-repeat;
  clip-path: polygon(0 34%, 30% 34%, 62% 8%, 62% 92%, 30% 66%, 0 66%);
}

.material-open_in_new::before {
  content: "";
  width: 0.82em;
  height: 0.82em;
  border: 0.14em solid currentColor;
  border-radius: 0.12em;
}

.material-open_in_new::after {
  content: "";
  position: absolute;
  width: 0.48em;
  height: 0.48em;
  border-top: 0.14em solid currentColor;
  border-right: 0.14em solid currentColor;
  transform: translate(0.18em, -0.18em);
  box-shadow: 0.12em -0.12em 0 -0.05em currentColor;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  padding: clamp(76px, 10vw, 132px) clamp(18px, 7vw, 116px) 110px;
  display: grid;
  align-content: center;
  gap: 36px;
}

.home-hero-bg,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.02);
}

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.68) 42%, rgba(0, 0, 0, 0.38) 68%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.16) 46%, rgba(0, 0, 0, 0.55) 100%);
}

.home-hero-inner {
  position: relative;
  width: min(100%, 1760px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(420px, 600px);
  justify-content: space-between;
  gap: clamp(34px, 7vw, 120px);
  align-items: center;
}

.home-kicker {
  display: inline-flex;
  width: max-content;
  margin: 0 0 18px;
  padding: 9px 17px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: white;
  font-size: 0.86rem;
}

.home-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.home-host {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.home-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.home-now-card {
  position: relative;
  width: 100%;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 23, 32, 0.14), transparent 42%),
    rgba(5, 5, 7, 0.9);
  border: 2px solid rgba(255, 23, 32, 0.7);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.home-now-top {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 16px;
  margin-bottom: 8px;
}

.home-now-top a {
  color: var(--brand-2);
  font-size: 0.82rem;
}

.home-now-body {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.home-now-cover {
  width: 112px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: white;
  border: 2px solid rgba(255, 255, 255, 0.16);
}

.home-now-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.15vw, 2.25rem);
  line-height: 0.95;
}

.home-now-card p {
  color: rgba(255, 255, 255, 0.66);
}

.home-progress {
  height: 4px;
  margin: 20px 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.home-progress span {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 0.35s ease;
}

.home-next {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.home-next strong {
  color: white;
}

.home-stations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 360px));
  gap: 18px;
}

.home-station-card {
  display: grid;
  grid-template-columns: 86px auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(8, 8, 11, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.home-station-card img {
  width: 86px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.station-play {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: white;
  cursor: pointer;
}

.home-station-card h3,
.home-station-card p {
  margin: 0;
}

.home-station-card p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
}

.home-recent {
  background: #f3f3f6;
  color: #101018;
}

.home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.home-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.95;
}

.home-section-heading a {
  color: var(--brand);
}

.home-section-heading a::after {
  content: ">";
  margin-left: 0.5em;
}

.home-recent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
}

.home-track-card {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 22px 18px;
  border-radius: 8px;
  background: white;
  color: #101018;
  box-shadow: 0 18px 44px rgba(15, 15, 22, 0.08);
}

.home-track-card img {
  width: min(168px, 58%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f2f2f2;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.home-track-card h3 {
  margin: 18px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1;
}

.home-track-card p {
  margin: 7px 0 0;
  color: #7b8190;
  line-height: 1.25;
}

.home-track-card time {
  display: inline-flex;
  margin-top: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e6e8ee;
  color: #737b8b;
  font-size: 0.78rem;
}

.home-app {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.65fr);
  align-items: center;
  gap: clamp(28px, 7vw, 110px);
  padding: clamp(70px, 9vw, 126px) clamp(18px, 7vw, 116px);
  background:
    radial-gradient(circle at 82% 45%, rgba(0, 0, 0, 0.22), transparent 28%),
    linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  overflow: hidden;
}

.home-app h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  line-height: 0.9;
}

.home-app p {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.3;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-badge {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  background: #050507;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.home-app-image {
  width: min(100%, 360px);
  justify-self: center;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  transform: rotate(3deg);
}

.hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(72px, 10vw, 130px) clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 12, 0.96), rgba(9, 9, 12, 0.62) 45%, rgba(9, 9, 12, 0.9)),
    url("/assets/imported/fallback.svg") center right 12% / min(48vw, 520px) no-repeat,
    radial-gradient(circle at 72% 20%, rgba(243, 22, 45, 0.34), transparent 34%),
    linear-gradient(135deg, #121217, #050506);
  transform: scale(1.02);
}

.hero-content,
.on-air-panel {
  position: relative;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.eyebrow,
.mini-label {
  margin: 0 0 10px;
  color: #ffb3ba;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: lowercase;
}

.hero-actions,
.media-kit-actions,
.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-action,
.secondary-action,
.round-button,
.whatsapp-action {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 400;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 14px 22px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: 0 14px 32px rgba(243, 22, 45, 0.25);
}

.secondary-action,
.whatsapp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line);
}

.whatsapp-action {
  background: #25d366;
  color: white;
  border-color: transparent;
}

.round-button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 1.35rem;
}

.on-air-panel {
  padding: 24px;
  background: rgba(21, 21, 27, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.on-air-panel span {
  color: var(--brand-2);
  text-transform: lowercase;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.on-air-panel h2 {
  margin: 10px 0 8px;
}

.player-band {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(82px, auto) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 54px);
  padding: 18px clamp(18px, 7vw, 116px);
  background:
    linear-gradient(90deg, rgba(243, 22, 45, 0.98), rgba(150, 0, 16, 0.96) 34%, rgba(26, 0, 5, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 0 30px 30px;
  box-shadow: 0 -18px 46px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.player-center {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.player-track {
  grid-column: 1;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.player-track img {
  width: 92px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.player-live {
  display: inline-flex;
  width: max-content;
  margin: 0 0 7px;
  padding: 5px 9px;
  border-radius: 999px;
  background: white;
  color: var(--brand);
  font-size: 0.72rem;
  line-height: 1;
}

.player-track h2,
.player-track p,
.player-actions {
  margin: 0;
}

.player-track h2 {
  color: white;
  font-size: clamp(1rem, 2vw, 1.55rem);
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-track p:not(.player-live) {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.84;
}

.player-band .round-button {
  width: 72px;
  height: 72px;
  background: white;
  color: var(--brand);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.player-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  color: white;
}

.player-actions a,
.player-volume-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: white;
}

.player-icon {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

.player-actions input[type="range"] {
  accent-color: white;
  width: min(11vw, 140px);
}

.popup-player-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 23, 32, 0.34), transparent 34%),
    linear-gradient(135deg, #160006, #050507 58%, #280009);
  color: white;
  text-transform: lowercase;
}

.popup-player-card {
  width: min(100%, 390px);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 23, 32, 0.14), transparent 46%),
    rgba(5, 5, 7, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.popup-player-logo {
  width: min(260px, 84%);
  height: auto;
}

.popup-player-cover {
  width: min(250px, 78vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: white;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.popup-player-card h1,
.popup-player-card p {
  margin: 0;
  text-align: center;
}

.popup-player-card h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1.8rem, 9vw, 3.2rem);
  line-height: 0.92;
}

.popup-player-card p:not(.player-live) {
  color: rgba(255, 255, 255, 0.78);
}

.popup-toggle {
  margin-top: 4px;
}

.popup-volume-label {
  width: 100%;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.popup-volume-label input {
  accent-color: white;
}

.popup-status {
  min-height: 1.3em;
  font-size: 0.9rem;
}

.section {
  padding: 76px clamp(18px, 5vw, 72px);
}

.page-intro {
  padding-top: 110px;
}

.page-intro.narrow {
  max-width: 900px;
}

.page-intro h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 6rem);
  line-height: 0.92;
}

.page-intro p,
.detail-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.no-top-padding {
  padding-top: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.section-heading.compact {
  display: block;
}

.section-heading h2,
.ad-section h2,
.app-section h2,
.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
}

.section-title {
  margin-bottom: 22px;
}

.station-grid,
.shows-grid,
.events-grid,
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.station-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.station-tile {
  position: relative;
  isolation: isolate;
  min-height: 270px;
  display: grid;
  justify-items: center;
  align-content: space-between;
  gap: 22px;
  overflow: hidden;
  padding: 32px 24px 24px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(135deg, #ff1720, #7d000d);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  color: white;
  text-align: center;
}

.station-tile-bg,
.station-tile-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.station-tile-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(1) contrast(1.1);
}

.station-tile-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.1), rgba(5, 5, 7, 0.86)),
    linear-gradient(135deg, rgba(255, 23, 32, 0.78), rgba(5, 5, 7, 0.34));
}

.station-tile-logo {
  width: min(78%, 210px);
  padding: 16px 20px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.station-tile h2 {
  margin: auto 0 0;
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  line-height: 1.05;
}

.station-tile-play {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--brand);
  cursor: pointer;
  font-size: 1.7rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.station-card,
.show-card,
.event-card,
.job-card,
.schedule-day {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.station-card,
.show-card,
.event-card,
.job-card {
  display: flex;
  flex-direction: column;
}

.card-media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--panel-strong);
}

.portrait-media {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.station-card > div,
.show-card > div,
.event-card > div,
.job-card {
  padding: 18px;
}

.station-card p,
.show-card p,
.event-card p,
.job-card p,
.app-section p,
.ad-section p,
.ad-copy p,
.detail-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.ad-copy ul {
  color: var(--muted);
  line-height: 1.55;
}

.ad-copy a {
  color: var(--brand);
}

.detail-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: 110px clamp(18px, 5vw, 72px) 76px;
}

.detail-image {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.portrait-detail {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.split-section,
.ad-section,
.ad-page,
.ad-contact-section,
.app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.ad-image {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.ad-image-square {
  aspect-ratio: 1;
}

.ad-image-wide {
  aspect-ratio: 3 / 1;
}

.schedule-tabs {
  display: grid;
  gap: 12px;
}

.schedule-day {
  padding: 18px;
}

.schedule-day h3 {
  margin: 0 0 12px;
}

.schedule-day ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.schedule-day li + li {
  margin-top: 8px;
}

.schedule-intro {
  display: grid;
  gap: 24px;
}

.day-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.day-tabs a {
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--muted);
}

.day-tabs a.is-active,
.day-tabs a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.program-grid {
  display: grid;
  gap: 14px;
}

.program-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.program-card img {
  width: 132px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background: var(--panel-strong);
}

.program-card time {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--brand-2);
}

.program-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2.5rem);
}

.program-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.search-input,
.contact-form input,
.contact-form textarea,
.admin-shell input,
.admin-shell textarea,
.admin-shell select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.shows-grid {
  margin-top: 18px;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.playlist-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.playlist-filters label {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.playlist-filters span {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: white;
  color: #17233a;
}

.playlist-filters input,
.playlist-filters select {
  border: 0;
  min-height: 48px;
  padding: 0 14px;
  background: #f8f8fb;
  color: #17233a;
  font: inherit;
  outline: 0;
}

.playlist-card {
  overflow: hidden;
  border-radius: 8px;
  background: #f8f8fb;
  color: #17233a;
  border: 1px solid rgba(255, 23, 32, 0.2);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.playlist-art {
  position: relative;
}

.playlist-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.playlist-art span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 7px;
  background: white;
  color: #17233a;
  font-size: 0.78rem;
}

.playlist-copy {
  padding: 16px;
}

.playlist-copy h3,
.playlist-copy p {
  margin: 0;
}

.playlist-copy h3 {
  color: #17233a;
  font-size: 1.24rem;
}

.playlist-copy p {
  margin-top: 6px;
  color: #5b6678;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(150px, 1fr));
  gap: clamp(24px, 4vw, 62px);
  padding: clamp(48px, 6vw, 76px) clamp(18px, 7vw, 116px) clamp(54px, 7vw, 92px);
  background: #050507;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 18px;
  color: white;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
}

.site-footer p {
  margin: 0 0 20px;
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.site-footer a:hover {
  color: var(--brand-2);
}

dialog {
  max-width: 620px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.admin-body {
  min-height: 100vh;
  padding-bottom: 0;
  background: #f0f0f1;
  color: #1d2327;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: none;
}

.admin-shell {
  display: grid;
  grid-template-rows: 46px 1fr;
  min-height: 100vh;
  max-width: none;
  margin: 0;
  padding: 0;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-shell > .admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 46px;
  margin: 0;
  padding: 0 18px;
  background: #1d2327;
  border-bottom: 1px solid #2c3338;
  color: #f0f0f1;
}

.admin-shell > .admin-topbar .brand {
  min-width: 0;
  gap: 10px;
  color: #f0f0f1;
}

.admin-shell > .admin-topbar .brand-mark {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 4px;
  background: var(--brand);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-shell > .admin-topbar strong,
.admin-shell > .admin-topbar small {
  display: inline;
  color: inherit;
}

.admin-shell > .admin-topbar small {
  margin-left: 8px;
  opacity: 0.72;
}

.admin-shell > .admin-topbar .secondary-action,
.admin-shell > .admin-topbar .ghost-button {
  min-height: 30px;
  padding: 6px 10px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #f0f0f1;
  box-shadow: none;
}

#login-panel.admin-panel {
  width: min(560px, calc(100vw - 36px));
  margin: 64px auto;
  background: white;
  border-color: #c3c4c7;
  color: #1d2327;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

#login-panel.admin-panel p,
#login-panel.admin-panel label {
  color: #50575e;
}

.admin-panel {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 46px);
}

.admin-tabs {
  display: grid;
  gap: 0;
  align-content: start;
  padding: 12px 0;
  background: #1d2327;
  border-right: 1px solid #2c3338;
}

.admin-tabs button,
.ghost-button,
.danger-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  cursor: pointer;
}

.admin-tabs button,
.ghost-button {
  background: rgba(255, 255, 255, 0.06);
}

.admin-tabs button {
  width: 100%;
  border: 0;
  border-left: 4px solid transparent;
  border-radius: 0;
  padding: 12px 18px 12px 14px;
  background: transparent;
  color: #c3c4c7;
  text-align: left;
}

.admin-tabs button:hover,
.admin-tabs button:focus-visible {
  background: #2c3338;
  color: white;
}

.admin-tabs button.is-active {
  border-left-color: var(--brand);
  background: #111519;
  color: white;
}

#cms-panel > .admin-panel {
  min-width: 0;
  padding: 26px 30px 80px;
  background: #f0f0f1;
  border: 0;
  border-radius: 0;
  color: #1d2327;
}

#cms-panel > .admin-panel > .admin-topbar {
  align-items: flex-start;
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dcdcde;
}

#cms-panel h1,
#cms-panel strong {
  color: #1d2327;
}

#cms-panel .eyebrow {
  color: var(--brand);
}

#cms-panel .editor-card {
  background: white;
  border-color: #c3c4c7;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

#cms-panel .editor-card .admin-topbar {
  margin-bottom: 16px;
}

#cms-panel .editor-fields label,
#cms-panel .image-size-hint,
#cms-panel .image-upload-status,
#save-status {
  color: #50575e;
}

#cms-panel input,
#cms-panel textarea,
#cms-panel select,
#login-panel input,
#login-panel textarea,
#login-panel select {
  border-color: #8c8f94;
  border-radius: 3px;
  background: white;
  color: #1d2327;
}

#cms-panel input:focus,
#cms-panel textarea:focus,
#cms-panel select:focus,
#login-panel input:focus,
#login-panel textarea:focus,
#login-panel select:focus {
  border-color: var(--brand);
  outline: 1px solid var(--brand);
}

#cms-panel .image-upload-input {
  border-color: #c3c4c7;
  background: #f6f7f7;
  color: #50575e;
}

#cms-panel .secondary-action,
#cms-panel .ghost-button,
#login-panel .secondary-action {
  background: white;
  border-color: #c3c4c7;
  color: #1d2327;
  box-shadow: none;
}

#cms-panel .primary-action,
#login-panel .primary-action {
  box-shadow: none;
}

.danger-button {
  background: rgba(243, 22, 45, 0.16);
}

.editor-list {
  display: grid;
  gap: 14px;
}

.editor-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.editor-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.editor-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.editor-fields .wide {
  grid-column: 1 / -1;
}

.image-field {
  align-items: stretch;
}

.image-field-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-image-preview {
  width: 170px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.image-field-controls {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.image-size-hint,
.image-upload-status {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.image-upload-input {
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  body {
    padding-bottom: 220px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 74px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    color: #07070a;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-dropdown {
    display: block;
  }

  .nav-dropdown > a {
    justify-content: space-between;
  }

  .submenu {
    position: static;
    display: block;
    min-width: 0;
    margin-top: 8px;
    padding: 6px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .submenu a {
    padding-left: 20px;
  }

  .hero,
  .home-hero-inner,
  .home-app,
  .split-section,
  .ad-section,
  .ad-page,
  .ad-contact-section,
  .app-section,
  .admin-grid,
  .detail-page {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    padding-top: 92px;
  }

  .home-stations {
    grid-template-columns: 1fr;
  }

  .home-recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-band {
    grid-template-columns: 1fr;
    gap: 14px;
    border-radius: 0;
  }

  .player-center,
  .player-track,
  .player-actions {
    grid-column: 1;
    justify-self: center;
  }

  .player-track {
    width: min(100%, 460px);
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .player-track img {
    width: 64px;
  }

  .player-band .round-button {
    width: 62px;
    height: 62px;
  }

  .player-actions {
    width: min(100%, 460px);
    justify-content: center;
  }

  .player-actions input[type="range"] {
    width: min(38vw, 150px);
  }

  .section-heading,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-hero h1 {
    font-size: 3.8rem;
  }

  .home-station-card {
    grid-template-columns: 72px auto minmax(0, 1fr);
  }

  .home-station-card img {
    width: 72px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .program-card {
    grid-template-columns: 1fr;
  }

  .home-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .home-recent-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .home-track-card img {
    width: min(190px, 70%);
  }

  .editor-fields {
    grid-template-columns: 1fr;
  }

  .image-field-layout {
    grid-template-columns: 1fr;
  }

  .admin-image-preview {
    width: min(100%, 260px);
  }
}
