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

/* CMS 2026 information architecture and media library */
.admin-tabs .admin-tab-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: .25rem 0 0;
  padding: .8rem 1rem .55rem;
  color: rgba(255,255,255,.48);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  list-style: none;
  text-transform: uppercase;
}

.admin-tabs .admin-tab-group::-webkit-details-marker { display: none; }
.admin-tabs .admin-tab-group::after { content: "+"; color: rgba(255,255,255,.65); font-size: .9rem; }
.admin-tabs .admin-tab-section[open] > .admin-tab-group::after { content: "−"; }
.admin-tab-section[hidden] { display: none; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.editor-fields small,
.field-help { display: block; margin-top: .35rem; color: var(--muted, #6d6d76); font-size: .78rem; line-height: 1.45; }
.advanced-field { margin-top: .5rem; }
.advanced-field summary { cursor: pointer; color: var(--muted, #6d6d76); font-size: .78rem; }
.advanced-field input { width: 100%; margin-top: .45rem; }

.admin-dialog {
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 1.25rem;
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.admin-dialog::backdrop { background: rgba(4,4,8,.72); backdrop-filter: blur(4px); }
.media-library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin-top: 1rem; }
.media-card { display: grid; align-content: start; gap: .65rem; min-width: 0; overflow: hidden; padding: .75rem; border: 1px solid rgba(100,100,115,.22); border-radius: 1rem; background: #fff; color: #15151b; }
.media-card > *,
.media-card-details { min-width: 0; max-width: 100%; }
.media-card img,
.media-file-icon { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .7rem; background: #eeeef2; }
.media-file-icon { display: grid; place-items: center; color: #666; font-weight: 800; text-transform: uppercase; }
.media-card strong,
.media-card span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-card strong,
#cms-panel .media-card strong { color: #15151b; }
.media-card span { color: #72727c; font-size: .78rem; }
.media-card .media-source { width: max-content; max-width: 100%; margin-top: .4rem; padding: .2rem .45rem; border-radius: 999px; background: #eeeef2; color: #51515b; font-size: .66rem; }
.media-card .admin-actions { min-width: 0; margin-top: 0; }
.media-card .admin-actions > button { min-width: 0; flex: 1 1 7rem; }
.media-card > .primary-action { width: 100%; min-width: 0; }
.media-source-note { margin: 0; color: #72727c; font-family: var(--avenir); font-size: .72rem; line-height: 1.35; }
.media-card[hidden] { display: none; }
.color-field {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
}
.color-field input[type="color"] {
  min-height: 44px;
  padding: 4px;
  cursor: pointer;
}
.track-cover-list { display: grid; gap: 1rem; }
.track-cover-row {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(220px, 1fr) minmax(260px, 380px);
  gap: 1rem;
  align-items: center;
}
.track-cover-search-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.track-cover-preview {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .55rem;
  align-items: center;
}
.track-cover-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .85rem;
  background: #f3f3f6;
}
.track-cover-preview span { color: var(--muted, #72727c); font-weight: 900; }
.track-cover-copy h3 { margin: 0; }
.track-cover-copy p { margin: .25rem 0 0; }
.track-cover-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  justify-content: stretch;
  margin-top: 0;
  min-width: 0;
}
.track-cover-actions > button,
.track-cover-actions > label {
  min-width: 0;
  width: 100%;
}
.track-cover-upload {
  position: relative;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.track-cover-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .track-cover-row {
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  }
  .track-cover-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .media-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-cover-row { grid-template-columns: 1fr; }
  .track-cover-actions { justify-content: flex-start; }
  .admin-dialog { width: calc(100vw - 1rem); padding: .75rem; }
}

: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;
  --track-placeholder-image: url("/assets/brand/hot-dance-radio-placeholder.webp?v=20260707");
  --site-hero-height: clamp(500px, 68vh, 700px);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --avenir: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-family: "Fredoka One", Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

.home-now-cover,
.home-track-card img,
.playlist-art img,
.chart-artwork,
.player-track img,
.popup-player-cover {
  background-color: white;
  background-image: var(--track-placeholder-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:not(.admin-html) {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.admin-html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  padding-bottom: 180px;
  font-family: "Fredoka One", Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  text-transform: lowercase;
}

[hidden] {
  display: none !important;
}

#page-root {
  min-height: calc(100svh - 86px);
}

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

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

button,
input,
textarea {
  font: inherit;
}

@keyframes playback-buffering-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

[data-play-primary],
[data-player-toggle],
[data-station],
#popup-toggle {
  position: relative;
}

.is-buffering {
  color: transparent !important;
  pointer-events: none;
}

.is-buffering::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.15em;
  height: 1.15em;
  border: 0.18em solid rgba(255, 255, 255, 0.44);
  border-top-color: white;
  border-radius: 50%;
  animation: playback-buffering-spin 0.72s linear infinite;
}

.round-button.is-buffering::after,
.home-now-play.is-buffering::after,
.station-tile-play.is-buffering::after {
  border-color: rgba(255, 23, 32, 0.28);
  border-top-color: var(--brand);
}

.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;
  gap: 8px;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #25d366;
  color: white;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.24);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.main-nav a.nav-whatsapp:hover,
.main-nav a.nav-whatsapp:focus-visible,
.main-nav a.nav-whatsapp.is-active {
  color: white;
  background: #1fb85a;
  filter: brightness(1.08) saturate(1.1);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.3);
}

.nav-whatsapp .action-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.nav-instagram {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 16px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 48%, #fcb045 100%);
  color: var(--instagram-text-color, white);
  box-shadow: 0 10px 24px rgba(225, 48, 108, 0.24);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.nav-instagram::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0));
  pointer-events: none;
}

.main-nav a.nav-instagram:hover,
.main-nav a.nav-instagram:focus-visible,
.main-nav a.nav-instagram.is-active {
  color: var(--instagram-hover-color, white);
  filter: brightness(1.08) saturate(1.1);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(225, 48, 108, 0.3);
}

.nav-instagram .action-icon,
.nav-instagram span {
  position: relative;
  z-index: 1;
}

.nav-instagram .action-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.nav-instagram.is-icon-only {
  width: 40px;
  padding-inline: 0;
}

.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-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-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: var(--page-hero-height, var(--site-hero-height));
  overflow: hidden;
  padding: clamp(34px, 3.4vw, 56px) clamp(18px, 7vw, 116px) clamp(42px, 4.4vw, 66px);
  display: grid;
  align-content: center;
  gap: 28px;
}

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

.home-hero-bg-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(1) blur(20px);
  opacity: 0.52;
  transform: scale(1.08);
}

.home-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: none;
}

.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, 700px) minmax(380px, 560px);
  justify-content: space-between;
  gap: clamp(30px, 6vw, 96px);
  align-items: center;
}

.home-kicker {
  display: inline-flex;
  width: max-content;
  margin: 0 0 16px;
  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: 700px;
  font-size: clamp(3.7rem, 7.15vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-hero h1.is-long-title {
  font-size: clamp(3.5rem, 5.7vw, 5.8rem);
  line-height: 0.96;
}

.home-host {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--avenir);
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.home-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--avenir);
  font-weight: 800;
}

.time-icon {
  width: 1.06em;
  height: 1.06em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.home-now-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 40px;
  background: var(--brand);
  border: 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.home-now-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.home-now-top > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 15px;
  border-radius: 999px;
  background: white;
  color: var(--brand);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  font-size: 0.78rem;
}

.home-now-top a {
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
  color: white;
  font-size: 0.82rem;
}

.link-popup-icon {
  width: 0.96em;
  height: 0.96em;
  flex: 0 0 auto;
  fill: currentColor;
}

.home-now-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.home-now-cover {
  width: 104px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: white;
  border: 3px solid white;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.home-now-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 1.95vw, 2.05rem);
  line-height: 0.95;
  color: white;
}

.home-now-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.home-now-copy {
  min-width: 0;
}

.home-now-play {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--brand);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.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-recent.section {
  position: relative;
  margin-top: -64px;
  padding-top: clamp(16px, 2.6vw, 36px);
}

.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 {
  display: inline-flex;
  align-items: center;
  gap: 0.34em;
  color: var(--brand);
}

.home-section-heading a::after {
  content: none;
}

.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-art {
  width: min(168px, 58%);
  aspect-ratio: 1;
}

.home-track-card img {
  width: 100%;
  height: 100%;
  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 .song-votes {
  justify-content: center;
  margin-top: 14px;
}

.home-track-card .vote-button {
  min-width: 50px;
  min-height: 36px;
  padding: 6px 10px;
}

.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 {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  overflow: hidden;
  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);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.store-badge::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.store-badge:hover,
.store-badge:focus-visible {
  color: white;
  border-color: rgba(255, 255, 255, 0.34);
  filter: brightness(1.08) saturate(1.1);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.store-badge span,
.store-badge-icon {
  position: relative;
  z-index: 1;
}

.store-badge-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  object-fit: contain;
  color: currentColor;
}

.store-badge svg.store-badge-icon {
  fill: currentColor;
}

.store-badge img.store-badge-icon {
  filter: brightness(0) invert(1);
}

.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: var(--page-hero-height, var(--site-hero-height));
  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)),
    var(--frontend-fallback-image, url("/api/cms/assets/legacy-ffb39a4c90f44f3c89ea744d")) 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);
}

.hero-actions .primary-action,
.hero-actions .whatsapp-action {
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.hero-actions .primary-action:hover,
.hero-actions .primary-action:focus-visible {
  color: white;
  filter: brightness(1.08) saturate(1.1);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(243, 22, 45, 0.3);
}

.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;
}

.hero-actions .whatsapp-action:hover,
.hero-actions .whatsapp-action:focus-visible {
  color: white;
  filter: brightness(1.08) saturate(1.1);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.3);
}

.action-icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  fill: currentColor;
}

.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 {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
}

[data-player-whatsapp][aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}

.player-volume-icon {
  cursor: pointer;
}

.player-volume-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: rotate(-45deg) scaleX(0.7);
  transition: opacity 140ms ease, transform 140ms ease;
}

.player-volume-icon.is-muted::after {
  opacity: 1;
  transform: rotate(-45deg) scaleX(1);
}

.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 {
  position: relative;
  display: block;
  width: min(260px, 84%);
  aspect-ratio: 2048 / 259;
}

.popup-player-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.popup-player-logo-light {
  filter: brightness(0) invert(1);
}

.popup-player-logo-hot {
  clip-path: inset(0 76% 0 0);
}

.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);
  font-family: var(--avenir);
  font-weight: 700;
}

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

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

.page-intro {
  display: flex;
  min-height: var(--page-hero-height, var(--site-hero-height));
  flex-direction: column;
  justify-content: center;
  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;
}

.profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.profile-social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 10px;
  color: white;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(255, 23, 32, 0.2);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.profile-social-button:hover,
.profile-social-button:focus-visible {
  color: white;
  filter: brightness(1.08) saturate(1.1);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(255, 23, 32, 0.26);
}

.profile-social-button .action-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.profile-social-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 48%, #fcb045 100%);
  box-shadow: 0 12px 30px rgba(225, 48, 108, 0.28);
}

.profile-social-facebook {
  background: #1877f2;
  box-shadow: 0 12px 30px rgba(24, 119, 242, 0.24);
}

.profile-social-tiktok {
  background: linear-gradient(135deg, #09090c 0%, #1f1f2b 58%, #ff0050 100%);
  box-shadow: 0 12px 30px rgba(255, 0, 80, 0.22);
}

.profile-social-youtube {
  background: #ff0033;
  box-shadow: 0 12px 30px rgba(255, 0, 51, 0.24);
}

.profile-social-soundcloud {
  background: linear-gradient(135deg, #ff7700 0%, #ff3300 100%);
  box-shadow: 0 12px 30px rgba(255, 119, 0, 0.24);
}

.profile-social-mixcloud {
  background: linear-gradient(135deg, #1d2b64 0%, #4f6dff 100%);
  box-shadow: 0 12px 30px rgba(79, 109, 255, 0.22);
}

.profile-social-website {
  background: #15151b;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.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-fill, minmax(min(100%, 260px), 340px));
  justify-content: start;
  gap: 18px;
}

.listen-intro {
  padding-bottom: 26px;
}

.listen-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 54px);
  background: #f3f3f6;
  color: #101018;
  border-top: 6px solid var(--brand);
}

.listen-content {
  display: grid;
  gap: 16px;
}

.listen-card {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 42px;
  border: 0;
  background:
    radial-gradient(circle at 88% 50%, rgba(255, 255, 255, 0.13), transparent 18%),
    linear-gradient(90deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: 0 24px 58px rgba(255, 23, 32, 0.18);
}

.listen-card:nth-child(even) {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 88% 50%, rgba(255, 23, 32, 0.28), transparent 22%),
    linear-gradient(135deg, rgba(255, 23, 32, 0.18), rgba(5, 5, 7, 0.96) 58%),
    var(--panel);
}

.listen-card-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.listen-card h2 {
  margin: 0 0 14px;
  color: white;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  line-height: 0.95;
}

.listen-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.listen-card a {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.listen-card strong {
  color: white;
  font-weight: 400;
}

.listen-places {
  columns: 2;
  column-gap: 36px;
}

.listen-coverage {
  position: sticky;
  top: 118px;
  width: 100%;
  margin: 0;
  padding: clamp(14px, 2vw, 22px);
  border-radius: 42px;
  border: 1px solid rgba(16, 16, 24, 0.08);
  border-top: 10px solid var(--brand);
  background: white;
  box-shadow: 0 24px 62px rgba(15, 15, 22, 0.13);
}

.listen-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.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(56%, 180px);
  height: auto;
  aspect-ratio: 1;
  padding: 12px;
  object-fit: contain;
  border-radius: 8px;
  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,
.schedule-day {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

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

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

.event-hitlist-placeholder {
  display: grid;
  padding: 28px;
  place-items: center;
  background: var(--brand);
  color: white;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.92;
  text-align: center;
}

.hitlist-hero {
  display: grid;
  width: min(calc(100% - clamp(24px, 4vw, 64px)), 1840px);
  height: var(--page-hero-height, var(--site-hero-height));
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: clamp(22px, 4.5vw, 62px);
  margin: 0 auto clamp(16px, 2.5vw, 34px);
  padding: clamp(22px, 3.2vw, 42px) clamp(22px, 5vw, 72px);
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 40%, rgba(255, 23, 32, 0.28), transparent 34%),
    #09090c;
}

.hitlist-hero.has-no-logo {
  grid-template-columns: minmax(0, 980px);
}

.hitlist-hero h1 {
  max-width: 940px;
  margin: 6px 0 12px;
  font-size: clamp(2.7rem, 5.8vw, 4.35rem);
  line-height: 0.88;
}

.hitlist-hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-family: var(--avenir);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.5;
}

.hitlist-logo-frame {
  width: min(100%, 250px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: white;
  border-radius: clamp(20px, 2vw, 34px);
  clip-path: inset(0 round clamp(20px, 2vw, 34px));
}

.hitlist-logo {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  object-fit: cover;
  outline: 0;
  clip-path: inset(0 round clamp(20px, 2vw, 34px));
}

.hitlist-voting {
  display: grid;
  gap: 30px;
  background: #f3f3f6;
  color: #101018;
}

.hitlist-voting-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.hitlist-voting-heading h2,
.hitlist-success h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.92;
}

.hitlist-voting-heading p,
.hitlist-picker > p {
  color: #747a89;
}

.hitlist-window {
  max-width: 360px;
  padding: 12px 18px;
  border-radius: 999px;
  background: white;
  text-align: center;
}

.hitlist-picker,
.hitlist-vote-form,
.hitlist-success {
  padding: clamp(22px, 4vw, 42px);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 50px rgba(12, 12, 20, 0.08);
}

.hitlist-search-label,
.hitlist-vote-form > label:not(.checkbox-field) {
  display: grid;
  gap: 8px;
  color: #101018;
}

.hitlist-search-label input,
.hitlist-vote-form textarea,
.hitlist-vote-form input[type="tel"],
.hitlist-free-choice input {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid #d4d6dc;
  border-radius: 8px;
  background: white;
  color: #101018;
  text-transform: lowercase;
}

.hitlist-free-choice {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 22px;
  border: 1px solid #d4d6dc;
  border-radius: 8px;
}

.hitlist-free-choice legend {
  padding: 0 8px;
  color: #101018;
  font-size: 1.45rem;
}

.hitlist-free-choice p {
  margin: 0;
  color: #747a89;
}

.hitlist-free-choice > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hitlist-free-choice label {
  display: grid;
  gap: 7px;
  color: #101018;
}

.hitlist-track-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hitlist-track-option {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f2f2f5;
  color: #101018;
}

.hitlist-track-art {
  aspect-ratio: 1;
  overflow: hidden;
  background: #e5e6eb;
}

.hitlist-track-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hitlist-track-select {
  display: grid;
  width: 100%;
  min-height: 104px;
  align-content: center;
  gap: 7px;
  padding: 16px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.hitlist-track-select strong {
  font-size: 1.1rem;
  line-height: 1.05;
}

.hitlist-track-select span {
  color: #777d8d;
  font-family: var(--avenir);
  font-weight: 800;
}

.hitlist-track-option:has(.hitlist-track-select:hover),
.hitlist-track-option:has(.hitlist-track-select:focus-visible),
.hitlist-track-option.is-selected {
  border-color: var(--brand);
  background: rgba(255, 23, 32, 0.08);
}

.hitlist-track-option.is-selected .hitlist-track-select::after {
  content: "gekozen";
  margin-top: 5px;
  color: var(--brand);
  font-family: var(--avenir);
  font-size: 0.78rem;
  font-weight: 900;
}

.hitlist-vote-form {
  display: grid;
  gap: 22px;
}

.hitlist-selected-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.hitlist-selected-heading span {
  color: #777d8d;
}

.hitlist-selected-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hitlist-selected-list button {
  display: grid;
  min-height: 82px;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 23, 32, 0.3);
  border-radius: 8px;
  background: rgba(255, 23, 32, 0.08);
  color: #101018;
  cursor: pointer;
  text-align: left;
}

.hitlist-selected-list button span {
  color: #777d8d;
}

.hitlist-call-consent {
  color: #101018;
}

.hitlist-success {
  border: 2px solid var(--brand);
}

.portrait-media {
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: center 34%;
  background: white;
}

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

.station-card p,
.show-card p,
.event-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);
}

.jobs-intro {
  padding-bottom: 42px;
}

.jobs-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.job-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 23, 32, 0.34), transparent 30%),
    linear-gradient(145deg, rgba(255, 23, 32, 0.2), rgba(5, 5, 7, 0.96) 58%),
    var(--panel);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.job-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border: 22px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.job-card > * {
  position: relative;
  z-index: 1;
}

.job-card > div {
  padding: 0;
}

.job-number {
  width: max-content;
  margin-bottom: 28px;
  color: var(--brand-2);
  font-size: 1rem;
}

.job-card h3 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 0.92;
}

.job-card p {
  color: var(--muted);
  line-height: 1.55;
}

.job-location {
  color: white !important;
}

.jobs-contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.jobs-contact-copy {
  position: sticky;
  top: 110px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 23, 32, 0.22), transparent 56%),
    var(--panel);
}

.jobs-contact-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.92;
}

.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: 5 / 3;
  object-fit: cover;
  object-position: center 34%;
  background: white;
}

.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-page .ad-image-contain {
  width: min(100%, 775px);
  height: auto;
  aspect-ratio: auto;
  justify-self: center;
  object-fit: contain;
  background: #fff;
}

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

.ad-people-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
}

.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;
}

.program-card.is-current {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(243, 22, 45, 0.55), 0 18px 40px rgba(243, 22, 45, 0.18);
}

.program-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: 0.82rem;
}

.schedule-intro {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}

.schedule-intro .day-tabs {
  justify-content: flex-start;
}

.schedule-tabs-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.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: 180px 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: 180px;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: center 34%;
  border-radius: 6px;
  background: white;
}

.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;
}

.dj-group {
  margin-top: clamp(30px, 5vw, 58px);
}

.dj-group:first-of-type {
  margin-top: 28px;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 320px));
  justify-content: start;
  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;
  width: 100%;
  overflow: hidden;
}

.playlist-art::before {
  content: "";
  display: block;
  box-sizing: content-box;
  width: 100%;
  height: 0;
  padding-top: 100%;
}

.playlist-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  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;
  z-index: 2;
}

.track-preview-art {
  position: relative;
}

.track-preview-button {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--brand);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  touch-action: manipulation;
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.9);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease, color 160ms ease;
}

.track-preview-button .material-symbol {
  width: 24px;
  height: 24px;
}

.track-preview-art:hover .track-preview-button,
.track-preview-button:focus-visible,
.track-preview-button.is-playing,
.track-preview-button.is-loading {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.track-preview-button:hover,
.track-preview-button.is-playing {
  background: var(--brand);
  color: white;
}

.track-preview-button.has-error {
  background: #7d1020;
  color: white;
}

.track-preview-button.is-loading .material-symbol {
  visibility: hidden;
}

.track-preview-button.is-loading::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: player-spin 0.7s linear infinite;
}

.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;
}

.on-demand-grid {
  width: min(100%, 1440px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

.on-demand-search {
  display: grid;
  gap: 0.45rem;
  max-width: 42rem;
  margin: 0 0 1.5rem;
  font-weight: 700;
}

.on-demand-search input {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.18);
  border-radius: 1rem;
  font: inherit;
}

.on-demand-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3rem;
  margin-top: 1.5rem;
}

.privacy-consent {
  position: fixed;
  z-index: 1200;
  right: 1rem;
  bottom: calc(var(--player-height, 104px) + 1rem);
  display: grid;
  gap: 0.9rem;
  max-width: min(34rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  color: #fff;
  background: #15151b;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
}

.privacy-consent p { margin: 0; }
.privacy-consent a { color: inherit; }
.privacy-consent > div { display: flex; justify-content: flex-end; gap: 0.65rem; }
.privacy-consent button { min-height: 2.75rem; padding: 0.6rem 1rem; border-radius: 0.8rem; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #8fc7ff;
  outline-offset: 3px;
}

:where(.main-nav a, .day-tabs a, button, [role="button"]) {
  min-width: 24px;
  min-height: 24px;
}

html { scroll-padding-bottom: calc(var(--player-height, 104px) + 1.5rem); }

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

.on-demand-grid > .empty-state {
  grid-column: 1 / -1;
}

.on-demand-card .playlist-copy {
  display: grid;
  align-content: start;
  min-height: 128px;
}

.on-demand-meta {
  display: block;
  margin-top: 12px;
  color: #7b8190;
  font-family: var(--avenir);
  font-size: 0.78rem;
  font-weight: 800;
}

.song-votes {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.home-now-card .song-votes {
  margin-top: 12px;
}

.home-now-card .vote-button {
  min-width: 50px;
  min-height: 34px;
  padding: 6px 10px;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.home-now-card .vote-button:hover,
.home-now-card .vote-button.is-active {
  border-color: white;
  background: white;
  color: var(--brand);
}

.vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(23, 35, 58, 0.2);
  border-radius: 999px;
  background: white;
  color: #17233a;
  cursor: pointer;
}

.vote-button:hover,
.vote-button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.vote-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.vote-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.song-votes.has-error {
  animation: vote-error 0.2s ease-in-out 2;
}

@keyframes vote-error {
  50% { transform: translateX(4px); }
}

.home-recent,
.home-app,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 680px;
}

.chart-section {
  max-width: 1280px;
}

.chart-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--avenir);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 800;
}

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

.top-ten-row {
  display: grid;
  grid-template-columns: 72px 124px minmax(220px, 1fr) 150px auto;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 23, 32, 0.2);
  border-radius: 8px;
  background: #f8f8fb;
  color: #17233a;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.chart-position {
  color: var(--brand);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  text-align: center;
}

.chart-artwork {
  width: 124px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: white;
}

.chart-artwork-wrap {
  width: 124px;
  aspect-ratio: 1;
}

.chart-copy h2,
.chart-copy p,
.chart-copy span,
.chart-movement strong,
.chart-movement span {
  margin: 0;
}

.chart-copy h2 {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
}

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

.chart-copy span,
.chart-movement span {
  display: block;
  margin-top: 8px;
  color: #778196;
  font-family: var(--avenir);
  font-size: 0.84rem;
  font-weight: 700;
}

.chart-movement {
  text-align: center;
}

.chart-movement strong {
  color: var(--brand);
  font-size: 1.4rem;
}

.chart-movement.is-up strong {
  color: #16a34a;
}

.chart-movement.is-up span {
  color: #15803d;
}

.chart-movement.is-down strong {
  color: var(--brand);
}

.top-ten-row > .song-votes {
  justify-content: flex-end;
  margin-top: 0;
}

.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);
  font-family: var(--avenir);
  font-weight: 700;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: white;
  font-family: "Fredoka One", Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  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:
    radial-gradient(circle at 80% 0%, rgba(255, 23, 32, 0.22), transparent 36%),
    linear-gradient(135deg, #07070a 0%, #15151b 55%, #07070a 100%);
  color: var(--text);
  font-family: var(--avenir);
  text-transform: none;
}

.admin-body :where(h1, h2, h3, h4, .eyebrow, button, .primary-action, .secondary-action, .ghost-button, .danger-button, .admin-tab-group, .admin-tabs button, summary strong) {
  font-family: "Fredoka One", Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  text-transform: lowercase;
}

.admin-body :where(p, label, input, textarea, select, option, small, time, code, .field-help, .image-upload-status) {
  font-family: var(--avenir);
}

.admin-shell {
  display: grid;
  grid-template-rows: 72px 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: 72px;
  margin: 0;
  padding: 0 clamp(18px, 4vw, 54px);
  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);
}

.admin-shell > .admin-topbar .brand {
  min-width: 0;
  gap: 16px;
  color: #07070a;
}

.admin-shell > .admin-topbar .admin-brand img {
  width: min(270px, 36vw);
  height: auto;
}

.admin-shell > .admin-topbar .admin-brand strong {
  display: inline-block;
  color: inherit;
  font-size: 1.1rem;
}

.admin-shell > .admin-topbar .secondary-action,
.admin-shell > .admin-topbar .ghost-button {
  min-height: 42px;
  padding: 10px 16px;
  border-color: rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: white;
  color: #07070a;
}

.admin-language-control,
.admin-site-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #07070a;
  font-family: var(--avenir);
  font-size: .72rem;
  font-weight: 900;
}

.admin-language-control select,
.admin-site-control select {
  min-height: 42px;
  padding: 8px 28px 8px 10px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 8px;
  background: white;
  color: #07070a;
  font: inherit;
  cursor: pointer;
}

.admin-site-control select,
.admin-site-control option,
.admin-body .lowercase-name-input {
  text-transform: lowercase;
}

#login-panel.admin-panel {
  width: min(560px, calc(100vw - 36px));
  margin: 64px auto;
  background: rgba(21, 21, 27, 0.94);
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow);
}

#login-panel.admin-panel p,
#login-panel.admin-panel label {
  color: var(--muted);
}

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

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

.admin-tabs {
  position: sticky;
  top: 72px;
  display: grid;
  gap: 0;
  align-content: start;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 0;
  background: rgba(7, 7, 10, 0.92);
  border-right: 1px solid var(--line);
}

.admin-module-search {
  position: sticky;
  top: -20px;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: 20px 14px 12px;
  background: rgba(7, 7, 10, 0.98);
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .76rem;
}

.admin-module-search input {
  min-height: 42px;
}

.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.04);
}

.admin-tabs button {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-left: 4px solid transparent;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  line-height: 20px;
  text-align: left;
}

.admin-tabs button > span {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  padding: 13px 20px 13px 18px;
  line-height: 20px;
}

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

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

.admin-tabs button:hover > span,
.admin-tabs button:focus-visible > span {
  background: rgba(255, 23, 32, 0.14);
}

.admin-tabs button.is-active > span {
  background: rgba(255, 23, 32, 0.2);
}

#cms-panel > .admin-panel {
  min-width: 0;
  padding: 26px 30px 80px;
  background: rgba(9, 9, 12, 0.72);
  border: 0;
  border-radius: 0;
  color: var(--text);
}

#cms-panel > .admin-panel > .admin-topbar {
  position: sticky;
  top: 72px;
  z-index: 19;
  align-items: center;
  margin: 0 0 18px;
  padding: 14px 0 16px;
  background: rgba(9, 9, 12, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

#editor-kicker:empty { display: none; }

.admin-more-actions {
  position: relative;
  margin: 0;
}

.admin-more-actions > summary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  list-style: none;
  cursor: pointer;
}

.admin-more-actions > summary::-webkit-details-marker { display: none; }

.admin-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #15151b;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

.admin-more-menu > button { width: 100%; }

.admin-context-help {
  position: relative;
  display: inline-grid !important;
  width: 18px;
  height: 18px;
  margin: 0 0 0 5px !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: var(--muted) !important;
  cursor: help;
  font: 800 11px/1 var(--avenir) !important;
  text-transform: none !important;
  vertical-align: .1em;
}

.admin-context-help::before { content: "i"; }

.admin-context-help::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  width: min(300px, 72vw);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 9px;
  background: #24242c;
  color: #fff !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .48);
  font: 600 .76rem/1.45 var(--avenir) !important;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  text-transform: none !important;
  transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease;
}

.admin-context-help:hover::after,
.admin-context-help:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.editor-fields label { position: relative; }
.editor-fields label > .admin-context-help {
  position: absolute;
  top: 0;
  right: 0;
}

.admin-field-heading {
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-save-state {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .78rem;
  white-space: nowrap;
}

.admin-save-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42cf78;
}

.admin-save-state.is-dirty::before { background: #ffb84d; }
.admin-save-state.is-saving::before { background: #73a7ff; animation: admin-save-pulse .8s ease-in-out infinite alternate; }
.admin-save-state.is-error::before { background: #ff4654; }

@keyframes admin-save-pulse {
  to { opacity: .35; transform: scale(.78); }
}

#cms-panel button:disabled,
#login-panel button:disabled {
  cursor: wait;
  opacity: .55;
}

#cms-panel h1,
#cms-panel strong {
  color: var(--text);
}

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

#cms-panel .editor-card {
  background: rgba(21, 21, 27, 0.94);
  border-color: var(--line);
  box-shadow: none;
}

#editor {
  display: grid;
  gap: 14px;
}

.admin-setting-group > summary > span {
  margin-left: auto;
  color: var(--muted);
  font: 700 .74rem/1 var(--avenir);
}

.admin-setting-group > summary { justify-content: flex-start; }

#cms-panel [data-editor-item],
#cms-panel .track-cover-row,
#cms-panel .media-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 240px;
}

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

.dashboard-hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 39, 56, .38), transparent 32%),
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, .12), transparent 24%),
    linear-gradient(135deg, rgba(255, 39, 56, .2), rgba(21, 21, 27, .96) 46%, rgba(5, 5, 7, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 39, 56, .18);
  filter: blur(6px);
}

.dashboard-hero > * {
  position: relative;
  z-index: 1;
}

.dashboard-hero h2 {
  max-width: 820px;
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: .9;
}

.dashboard-hero p {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--avenir);
  font-weight: 800;
}

.dashboard-range {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.dashboard-range button {
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.dashboard-range button:hover,
.dashboard-range button:focus-visible,
.dashboard-range button.is-active {
  background: var(--brand);
  color: white;
}

.dashboard-controls {
  display: grid;
  gap: 20px;
  margin-bottom: 18px;
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 23, 32, .12), transparent 34%),
    var(--panel);
}

.dashboard-controls-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-period-summary h2 {
  margin: 3px 0 7px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.dashboard-period-summary p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  font-family: var(--avenir);
}

.dashboard-period-summary p strong {
  color: var(--text);
  font-size: .95rem;
}

.dashboard-period-summary p span {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
}

.dashboard-export {
  flex: 0 0 auto;
  min-height: 42px;
  padding-inline: 14px;
}

.dashboard-export span {
  margin-right: 5px;
  font-family: var(--avenir);
  font-size: 1.1rem;
}

.dashboard-period-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, auto);
  gap: 12px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.dashboard-date-tools {
  display: grid;
  grid-template-columns: minmax(138px, 1fr) auto minmax(138px, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 14px;
}

.dashboard-date-tools label {
  display: grid;
  gap: 6px;
  min-width: 145px;
  color: var(--muted);
  font-family: var(--avenir);
  font-weight: 900;
}

.dashboard-date-tools input[type="date"] {
  min-height: 44px;
  color-scheme: dark;
}

.dashboard-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.dashboard-presets button {
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.dashboard-presets button:hover,
.dashboard-presets button:focus-visible,
.dashboard-presets button.is-active {
  border-color: transparent;
  background: var(--brand);
  color: white;
}

.dashboard-custom-range {
  min-width: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.dashboard-custom-range summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.dashboard-custom-range summary::-webkit-details-marker { display: none; }

.dashboard-custom-range summary > span {
  color: var(--brand);
  font-family: var(--avenir);
}

.dashboard-custom-range summary strong {
  font-size: .84rem;
}

.dashboard-custom-range summary small {
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .68rem;
  font-weight: 800;
}

.dashboard-custom-range[open] {
  grid-column: 1 / -1;
}

.dashboard-custom-range[open] summary {
  border-bottom: 1px solid var(--line);
}

.dashboard-date-arrow {
  align-self: center;
  color: var(--muted);
  font-family: var(--avenir);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-metric {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 39, 56, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(21, 21, 27, .96));
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
}

.dashboard-metric span,
.dashboard-metric small {
  color: var(--muted);
  font-family: var(--avenir);
  font-weight: 900;
}

.dashboard-metric strong {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.92;
}

.dashboard-metric em {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.dashboard-metric em.is-up { background: rgba(34, 197, 94, .14); color: #4ade80; }
.dashboard-metric em.is-down { background: rgba(255, 39, 56, .14); color: #ff7b86; }

.dashboard-analytics-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-panel {
  grid-column: span 4;
  border-radius: 16px;
}

.dashboard-chart-card {
  grid-column: span 6;
  padding-bottom: 12px;
}

.dashboard-chart-card.is-zoomed {
  grid-column: 1 / -1;
}

.dashboard-country-panel {
  grid-column: span 8;
}

.dashboard-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-panel-head > div {
  display: grid;
  gap: 4px;
}

.dashboard-zoom-button {
  min-height: 36px;
  padding: 8px 12px;
}

.dashboard-panel h2 {
  margin: 0;
}

.dashboard-panel-head span {
  color: var(--muted);
  font-family: var(--avenir);
  font-weight: 900;
}

.dashboard-line-chart {
  width: 100%;
  height: min(34vh, 320px);
  min-height: 260px;
  overflow: visible;
}

.dashboard-chart-card.is-zoomed .dashboard-line-chart {
  height: min(62vh, 620px);
  min-height: 420px;
}

.dashboard-axis line {
  stroke: rgba(255, 255, 255, .22);
  stroke-width: .55;
}

.dashboard-axis .dashboard-gridline {
  stroke: rgba(255, 255, 255, .08);
}

.dashboard-axis text {
  fill: rgba(255, 255, 255, .58);
  font-family: var(--avenir);
  font-size: 4px;
  font-weight: 900;
}

.dashboard-axis .dashboard-x-label,
.dashboard-axis .dashboard-y-label {
  fill: rgba(255, 255, 255, .72);
  font-size: 4.4px;
}

.dashboard-line-area {
  fill: url(#dashboard-line-fill-count);
  stroke: none;
}

.dashboard-chart-card:first-child .dashboard-line-area {
  fill: url(#dashboard-line-fill-visits);
}

.dashboard-line {
  fill: none;
  stroke: #ff2738;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
  filter: drop-shadow(0 10px 18px rgba(255, 39, 56, .35));
}

.dashboard-line-chart circle {
  fill: white;
  stroke: #ff2738;
  stroke-width: 1;
  transition: r .16s ease, filter .16s ease;
}

.dashboard-line-chart circle:hover {
  r: 3;
  filter: drop-shadow(0 0 10px rgba(255, 39, 56, .8));
}

.dashboard-chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--avenir);
  font-weight: 900;
}

.dashboard-bars {
  display: grid;
  gap: 10px;
}

.dashboard-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.dashboard-bar i {
  position: absolute;
  inset: auto auto 0 0;
  width: var(--bar-width);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #ff7a18);
  transition: width .2s ease, height .16s ease;
}

.dashboard-bar:hover,
.dashboard-bar:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .075);
}

.dashboard-bar:hover i,
.dashboard-bar:focus-visible i {
  height: 6px;
}

.dashboard-bar span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-bar strong {
  font-size: 1.05rem;
}

.country-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 10px;
}

.country-chip {
  display: inline-grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: var(--text);
  cursor: pointer;
  font-size: min(1.12rem, calc(1rem * var(--country-size, 1)));
}

.country-chip:hover,
.country-chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 39, 56, .16);
  box-shadow: 0 16px 34px rgba(255, 39, 56, .12);
}

.country-chip span {
  font-size: 1.45em;
}

.country-chip em {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.vitals-grid {
  display: grid;
  gap: 12px;
}

.vital-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
}

.vital-card span,
.vital-card small {
  color: var(--muted);
  font-family: var(--avenir);
  font-weight: 900;
}

.vital-card i {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.vital-card i::before {
  content: "";
  display: block;
  width: var(--vital-good);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #a3e635);
}

@media (max-width: 980px) {
  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-controls {
    grid-template-columns: 1fr;
  }

  .dashboard-period-picker {
    grid-template-columns: 1fr;
  }

  .dashboard-custom-range[open] {
    grid-column: auto;
  }

  .dashboard-date-tools {
    justify-content: flex-start;
  }

  .schedule-calendar-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .schedule-calendar-filters {
    justify-content: flex-start;
  }

  .dashboard-panel,
  .dashboard-chart-card,
  .dashboard-country-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .dashboard-range {
    width: 100%;
  }

  .dashboard-range button {
    flex: 1;
  }

  .dashboard-date-tools,
  .dashboard-date-tools label,
  .dashboard-date-tools .primary-action,
  .dashboard-date-tools .secondary-action {
    width: 100%;
  }

  .dashboard-controls-head {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-export {
    width: 100%;
  }

  .dashboard-date-tools {
    grid-template-columns: 1fr;
  }

  .dashboard-date-arrow {
    display: none;
  }

  .dashboard-presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .dashboard-presets button {
    flex: 1 1 45%;
  }

  .country-chip {
    width: 100%;
  }

  #cms-panel .schedule-calendar-shell {
    padding: 0;
  }

  .schedule-calendar-toolbar {
    padding: 16px 16px 0;
  }

  .schedule-calendar-filters,
  .schedule-calendar-filters > label:not(.checkbox-field),
  #cms-panel .schedule-calendar-filters .checkbox-field {
    width: 100%;
  }

  .schedule-editor-card > summary {
    grid-template-columns: 1fr auto;
  }

  .schedule-editor-time {
    grid-column: 1 / -1;
  }
}

#cms-panel details.editor-card .admin-topbar {
  margin: 0;
  cursor: pointer;
  list-style: none;
}

#cms-panel details.editor-card .admin-topbar::-webkit-details-marker {
  display: none;
}

#cms-panel details.editor-card .admin-topbar::before {
  content: "+";
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  place-items: center;
  border-radius: 3px;
  background: rgba(255, 23, 32, 0.16);
  color: var(--text);
}

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

#cms-panel details.editor-card[open] .admin-topbar::before {
  content: "-";
}

#cms-panel .editor-fields label,
#cms-panel .image-size-hint,
#cms-panel .image-upload-status,
#save-status {
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .8rem;
  font-weight: 700;
}

#cms-panel input,
#cms-panel textarea,
#cms-panel select,
#login-panel input,
#login-panel textarea,
#login-panel select {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: var(--avenir);
  font-size: .95rem;
  font-weight: 600;
}

#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: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

#cms-panel .secondary-action,
#cms-panel .ghost-button,
#login-panel .secondary-action {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.chart-admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.hitlist-admin-panel {
  display: grid;
  gap: 18px;
}

.hitlist-text-editor code {
  color: var(--brand-2);
}

.hitlist-pdf-upload {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.hitlist-import-review,
.hitlist-track-manager,
.hitlist-results-admin {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.hitlist-admin-track-list {
  display: grid;
  max-height: 560px;
  gap: 8px;
  margin-top: 14px;
  overflow: auto;
}

.hitlist-admin-track-row {
  display: grid;
  grid-template-columns: 48px minmax(160px, 0.8fr) minmax(220px, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-bottom: 1px solid var(--line);
}

.hitlist-result-table {
  display: grid;
  max-height: 460px;
  overflow: auto;
}

.hitlist-result-table p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.hitlist-results-admin details {
  margin-top: 14px;
}

.hitlist-results-admin article {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.hitlist-result-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.hitlist-result-summary article {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hitlist-result-summary strong {
  color: var(--brand-2);
  font-size: 2rem;
}

.hitlist-result-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.35fr);
  gap: 12px;
  margin: 14px 0;
}

.hitlist-submission-list {
  display: grid;
  max-height: 620px;
  gap: 10px;
  overflow: auto;
}

.hitlist-submission-list article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.frontend-override-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.frontend-override-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.frontend-override-row label {
  display: grid;
  gap: 6px;
}

.chart-mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.chart-mode-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.chart-mode-switch button.is-active {
  background: var(--brand);
  color: white;
}

.chart-add-button {
  display: inline-grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font: 2rem/1 "Fredoka One", sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(255, 23, 32, 0.3);
}

.admin-chart-list {
  display: grid;
  gap: 12px;
}

.admin-chart-row {
  display: grid;
  grid-template-columns: 34px 58px 82px minmax(180px, 1fr) 126px auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 21, 27, 0.96);
  transition: border-color 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.admin-chart-row[draggable="true"] {
  cursor: grab;
}

.admin-chart-row.is-dragging {
  opacity: 0.45;
  border-color: var(--brand);
  transform: scale(0.99);
}

.chart-drag-handle {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: grab;
}

.admin-chart-row .chart-position {
  font-size: 2.25rem;
}

.admin-chart-row > img {
  display: block;
  width: 82px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: white;
}

.admin-chart-copy {
  min-width: 0;
}

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

.admin-chart-copy h3 {
  overflow-wrap: anywhere;
  font-size: 1.35rem;
}

.admin-chart-copy p {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--avenir);
}

.admin-chart-row .chart-movement span {
  font-family: var(--avenir);
}

.chart-song-dialog {
  position: fixed;
  inset: 88px clamp(16px, 8vw, 120px) auto;
  z-index: 60;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111116;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

.chart-search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 10px;
  margin: 16px 0 28px;
}

.chart-search-result {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  text-align: left;
  cursor: pointer;
}

.chart-search-result img {
  width: 54px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.chart-search-result span,
.chart-search-result small {
  display: block;
  min-width: 0;
}

.chart-search-result small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--avenir);
}

.chart-search-result:disabled {
  opacity: 0.45;
  cursor: default;
}

.chart-new-song {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.jobs-hero,
.job-detail-hero {
  display: grid;
  height: var(--page-hero-height, var(--site-hero-height));
  min-height: 0;
  align-items: center;
  padding: clamp(22px, 3.2vw, 42px) clamp(22px, 7vw, 110px);
  overflow: hidden;
  background: #09090c;
  border-bottom: 4px solid var(--brand);
}

.jobs-hero > div,
.job-detail-hero > div {
  width: min(920px, 100%);
}

.jobs-hero h1,
.job-detail-hero h1 {
  max-width: 12ch;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  line-height: 0.9;
}

.jobs-hero p,
.job-detail-meta {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--avenir);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  font-weight: 800;
  line-height: 1.45;
}

.jobs-benefits-section,
.jobs-list-section {
  padding-top: clamp(58px, 8vw, 100px);
}

.job-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

.job-benefit-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 8px;
  background: var(--panel);
}

.job-benefit-card > span {
  color: var(--brand);
}

.job-benefit-card h3 {
  margin: 42px 0 10px;
  font-size: 1.55rem;
}

.job-benefit-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--avenir);
  font-weight: 700;
  line-height: 1.55;
}

.jobs-list-section .jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 420px));
  justify-content: start;
  gap: 18px;
}

.jobs-open-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 6vw, 72px);
  border-radius: 8px;
  background: var(--brand);
  color: white;
}

.jobs-open-cta h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.92;
}

.jobs-open-cta p {
  max-width: 720px;
  margin: 18px 0 0;
  font-family: var(--avenir);
  font-weight: 800;
  line-height: 1.5;
}

.jobs-open-cta .primary-action {
  flex: 0 0 auto;
  background: white;
  color: var(--brand);
}

.job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.job-detail-copy {
  max-width: 820px;
  font-family: var(--avenir);
  font-weight: 700;
  line-height: 1.65;
}

.job-detail-copy h2 {
  margin-top: 42px;
  font-family: "Fredoka One", sans-serif;
}

.job-requirements {
  display: grid;
  gap: 10px;
  padding-left: 1.25em;
}

.job-apply-panel {
  position: sticky;
  top: 110px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.job-apply-panel .primary-action {
  width: 100%;
}

.vacancy-application-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.vacancy-application-copy h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.92;
}

.vacancy-application-copy p {
  max-width: 620px;
  color: var(--muted);
  font-family: var(--avenir);
  font-weight: 700;
  line-height: 1.55;
}

.vacancy-application-form {
  background: #15151b;
}

#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;
}

.admin-list-tools {
  position: sticky;
  top: 72px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  background: rgba(9, 9, 12, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-list-tools label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-family: var(--avenir);
}

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

.editor-card.is-filtered-out {
  display: none;
}

.admin-collection-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  align-items: start;
  gap: 16px;
}

#cms-panel .admin-collection-card {
  min-width: 0;
  padding: 0;
  overflow: clip;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 39, 56, .12), transparent 38%),
    rgba(21, 21, 27, .96);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

#cms-panel .admin-collection-card:hover,
#cms-panel .admin-collection-card:focus-within {
  border-color: rgba(255, 69, 83, .55);
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

#cms-panel .admin-collection-card[open] {
  grid-column: 1 / -1;
  transform: none;
  border-color: rgba(255, 69, 83, .5);
}

.admin-collection-tile {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  min-height: 164px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.admin-collection-tile::-webkit-details-marker {
  display: none;
}

.admin-collection-tile::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 39, 56, .18);
  color: var(--text);
  font: 900 1rem/1 var(--avenir);
}

.admin-collection-card[open] > .admin-collection-tile::after {
  content: "−";
}

.admin-collection-thumb {
  grid-row: 1 / span 2;
  width: 118px;
  height: 136px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: #f7f7f8;
}

.admin-collection-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-collection-copy {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding-right: 34px;
}

.admin-collection-copy > strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.1;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-collection-copy > small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font: 700 .76rem/1.35 var(--avenir);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-collection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-collection-meta > span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--muted);
  font: 900 .64rem/1 var(--avenir);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.admin-collection-meta .admin-collection-stations {
  background: rgba(130, 190, 255, .12);
  color: #b8d9ff;
}

.station-scope-field small {
  flex-basis: 100%;
}

.admin-collection-meta .admin-collection-date.is-upcoming,
.admin-collection-status.is-published {
  background: rgba(66, 207, 120, .14);
  color: #65dc91;
}

.admin-collection-meta .admin-collection-date.is-past,
.admin-collection-meta .admin-collection-date.is-undated,
.admin-collection-status.is-archived {
  background: rgba(255, 255, 255, .07);
  color: #9fa0ab;
}

.admin-collection-status.is-draft {
  background: rgba(255, 184, 77, .14);
  color: #ffc66d;
}

.admin-collection-actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.admin-open-label {
  color: var(--muted);
  font: 800 .7rem/1 var(--avenir);
}

#cms-panel .admin-collection-actions .danger-button {
  min-height: 36px;
  padding: 8px 11px;
  font-size: .72rem;
}

#cms-panel .admin-collection-card > .editor-fields,
#cms-panel .admin-collection-card > .hitlist-admin-panel {
  padding: 18px;
  border-top: 1px solid var(--line);
}

#cms-panel .admin-collection-card[open] > .admin-collection-tile {
  min-height: 126px;
  background: rgba(255, 255, 255, .025);
}

#cms-panel .admin-collection-card[open] .admin-collection-thumb {
  height: 98px;
}

.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;
}

.checkbox-field,
.checkbox-group {
  display: grid;
  gap: 10px;
  align-content: start;
}

.checkbox-field,
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-field input,
.checkbox-group input {
  width: auto;
}

#cms-panel .editor-fields label.checkbox-field {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

#cms-panel .editor-fields label.checkbox-field > input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
}

.checkbox-group {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkbox-group legend {
  padding: 0 8px;
  color: var(--muted);
}

.schedule-items {
  display: grid;
  gap: 10px;
}

.schedule-item-row {
  display: grid;
  grid-template-columns: 120px 120px minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.schedule-calendar-shell {
  display: grid;
  gap: 18px;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}

.schedule-station-context {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(360px, 1.6fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, rgba(255, 23, 32, .12), rgba(255, 255, 255, .025) 52%, transparent);
}

.schedule-station-context-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.schedule-station-context-copy > strong {
  overflow: hidden;
  color: var(--text);
  font-size: 1.05rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-station-context-copy > small {
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.4;
}

.schedule-station-switcher {
  display: flex;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: thin;
}

#cms-panel .schedule-station-option {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  min-width: 170px;
  min-height: 54px;
  padding: 9px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

#cms-panel .schedule-station-option:hover {
  border-color: rgba(255, 255, 255, .28);
  transform: translateY(-1px);
}

#cms-panel .schedule-station-option.is-active {
  border-color: rgba(255, 23, 32, .75);
  background: linear-gradient(135deg, rgba(255, 23, 32, .26), rgba(255, 23, 32, .08));
  box-shadow: inset 3px 0 0 var(--brand);
}

#cms-panel .schedule-station-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

#cms-panel .schedule-station-option:has(input:focus-visible) {
  outline: 3px solid rgba(142, 197, 255, .8);
  outline-offset: 2px;
}

.schedule-station-option > span {
  display: grid;
  gap: 2px;
}

.schedule-station-option strong {
  font-size: .78rem;
}

.schedule-station-option small {
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .64rem;
  font-weight: 800;
}

.schedule-manage-stations {
  white-space: nowrap;
}

.schedule-calendar-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 0;
}

.schedule-calendar-toolbar h2,
.schedule-editor-heading h2 {
  margin: 3px 0 0;
}

.schedule-calendar-toolbar p {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .78rem;
  font-weight: 800;
}

.schedule-calendar-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
}

.schedule-calendar-filters > label:not(.checkbox-field) {
  display: grid;
  gap: 6px;
  min-width: 190px;
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .75rem;
  font-weight: 900;
}

.schedule-calendar-filters select {
  min-height: 42px;
}

#cms-panel .schedule-calendar-filters .checkbox-field {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .75rem;
  font-weight: 900;
}

#cms-panel .schedule-calendar-filters .checkbox-field input {
  width: 17px;
  min-height: 0;
  height: 17px;
}

.schedule-week-scroll {
  max-width: 100%;
  max-height: min(74vh, 920px);
  overflow: auto;
  border-top: 1px solid var(--line);
  scrollbar-color: rgba(255, 23, 32, .65) rgba(255, 255, 255, .04);
}

.schedule-week-scroll:focus-visible {
  outline: 2px solid rgba(255, 23, 32, .7);
  outline-offset: -2px;
}

.schedule-week-calendar {
  display: grid;
  grid-template-columns: 68px repeat(7, minmax(155px, 1fr));
  min-width: 1160px;
  background: rgba(3, 3, 6, .35);
}

.schedule-time-axis,
.schedule-day-column {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.schedule-day-column:last-child { border-right: 0; }

.schedule-calendar-corner,
.schedule-day-column > header {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 62px;
  background: rgba(21, 21, 27, .98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}

.schedule-calendar-corner {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-day-column > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
}

.schedule-day-column > header div {
  display: grid;
  gap: 1px;
}

.schedule-day-column > header strong {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.schedule-day-column > header span {
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .62rem;
  font-weight: 900;
}

.schedule-day-column > header button {
  display: grid;
  width: 32px;
  height: 32px;
  min-height: 0;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 23, 32, .34);
  border-radius: 8px;
  background: rgba(255, 23, 32, .1);
  color: var(--brand);
  cursor: pointer;
  font-family: var(--avenir);
  font-size: 1.15rem;
  font-weight: 900;
}

.schedule-day-column > header button:hover,
.schedule-day-column > header button:focus-visible {
  background: var(--brand);
  color: white;
}

.schedule-time-axis-body,
.schedule-day-timeline {
  position: relative;
}

.schedule-time-axis-body span {
  position: absolute;
  right: 9px;
  color: rgba(255, 255, 255, .48);
  font-family: var(--avenir);
  font-size: .62rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.schedule-day-timeline > i {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, .075);
  pointer-events: none;
}

.schedule-day-timeline {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .012), transparent);
}

.schedule-calendar-event {
  position: absolute;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 0;
  padding: 9px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 23, 32, .34), rgba(47, 11, 17, .96)),
    var(--panel-strong);
  color: white;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.schedule-calendar-event:hover,
.schedule-calendar-event:focus-visible {
  z-index: 4;
  border-color: rgba(255, 255, 255, .52);
  transform: translateY(-1px);
}

.schedule-calendar-event > strong {
  font-family: var(--avenir);
  font-size: .69rem;
  line-height: 1.15;
  letter-spacing: .02em;
}

.schedule-calendar-event > span {
  display: -webkit-box;
  overflow: hidden;
  font-size: .8rem;
  line-height: 1.16;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.schedule-calendar-event > small {
  overflow: hidden;
  color: rgba(255, 255, 255, .78);
  font-family: var(--avenir);
  font-size: .62rem;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-calendar-event.is-compact {
  gap: 1px;
  padding: 5px 7px;
}

.schedule-calendar-event.is-compact > strong {
  font-size: .62rem;
}

.schedule-calendar-event.is-compact > span {
  font-size: .7rem;
  line-height: 1.05;
  -webkit-line-clamp: 1;
}

.schedule-calendar-event.is-compact > small {
  font-size: .55rem;
}

.schedule-calendar-event.is-compact:hover,
.schedule-calendar-event.is-compact:focus-visible {
  min-height: 82px;
  padding: 8px;
}

.schedule-calendar-event.is-compact:hover > span,
.schedule-calendar-event.is-compact:focus-visible > span {
  font-size: .76rem;
  line-height: 1.12;
  -webkit-line-clamp: 2;
}

.schedule-calendar-event.is-compact:hover > small,
.schedule-calendar-event.is-compact:focus-visible > small {
  font-size: .59rem;
}

.schedule-calendar-event.is-inactive {
  filter: grayscale(.75);
  opacity: .48;
}

.schedule-calendar-event.has-conflict {
  border-color: #ffb33b;
  box-shadow: inset 0 0 0 1px rgba(255, 179, 59, .45), 0 8px 20px rgba(0, 0, 0, .25);
}

.schedule-day-empty {
  position: absolute;
  top: 20px;
  left: 50%;
  color: rgba(255, 255, 255, .26);
  font-family: var(--avenir);
  font-size: .65rem;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

.schedule-editor-section {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.schedule-editor-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.schedule-editor-heading > span {
  display: grid;
  min-width: 38px;
  height: 38px;
  padding: 0 9px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 23, 32, .13);
  color: var(--brand);
  font-family: var(--avenir);
  font-weight: 900;
}

.schedule-editor-card {
  scroll-margin-top: 150px;
}

.schedule-editor-card > summary {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.schedule-editor-card > summary::-webkit-details-marker { display: none; }

.schedule-editor-time {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-family: var(--avenir);
  font-size: .9rem;
  font-weight: 900;
}

.schedule-editor-time i {
  color: var(--muted);
  font-style: normal;
}

.schedule-editor-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.schedule-editor-copy strong,
.schedule-editor-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-editor-copy small {
  color: var(--muted);
  font-family: var(--avenir);
  font-size: .72rem;
  font-weight: 800;
}

.schedule-status {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(38, 201, 111, .12);
  color: #60e99d;
  font-family: var(--avenir);
  font-size: .68rem;
  font-weight: 900;
}

.schedule-status.is-inactive {
  background: rgba(255, 255, 255, .07);
  color: var(--muted);
}

.schedule-conflict-warning {
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 179, 59, .35);
  border-radius: 8px;
  background: rgba(255, 179, 59, .08);
  color: #ffd38d;
  font-family: var(--avenir);
  font-size: .75rem;
  font-weight: 800;
}

.schedule-editor-fields {
  margin-top: 18px;
}

.schedule-editor-actions {
  margin-top: 16px;
}

.nested-editor,
.admin-management,
.admin-table {
  display: grid;
  gap: 12px;
}

.nested-link-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-table p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--avenir);
}

.admin-table p:last-child {
  border-bottom: 0;
}

.admin-user-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, .7fr) minmax(120px, .55fr) minmax(220px, 1fr);
  gap: 14px;
  align-items: end;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.admin-user-row > .admin-actions {
  grid-column: 1 / -1;
}

.admin-user-row:last-child {
  border-bottom: 0;
}

.audit-list {
  display: grid;
  gap: 10px;
}

.audit-actions h2,
.audit-actions p,
.audit-row p {
  margin: 0;
}

.audit-actions {
  display: grid;
  gap: 12px;
}

.audit-row {
  display: grid;
  gap: 8px;
  font-family: var(--avenir);
}

.audit-row div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.audit-row strong {
  font-family: "Fredoka One", Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

.audit-row span,
.audit-row p {
  color: var(--muted);
}

.admin-vote-report {
  display: grid;
  gap: 18px;
}

.admin-vote-list {
  display: grid;
}

.admin-vote-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, 100px) 150px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--avenir);
}

.admin-vote-row:last-child {
  border-bottom: 0;
}

.admin-vote-row > div {
  display: grid;
  gap: 3px;
}

.admin-vote-row strong {
  color: var(--text);
}

.admin-vote-row span,
.admin-vote-row time {
  color: var(--muted);
}

.wide-copy-input {
  width: min(100%, 760px);
  margin: 8px 8px 8px 0;
}

.playout-config-card {
  display: grid;
  gap: 22px;
}

.playout-config-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.playout-config-heading h2,
.playout-config-heading p,
.playout-station-title h3 {
  margin: 0;
}

.playout-token-status {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font: 700 14px/1 var(--avenir);
}

.playout-token-status::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ffb53d;
}

.playout-token-status.is-ready::before {
  background: #35d47a;
}

.playout-settings-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.playout-settings-summary > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-strong);
}

.playout-settings-summary span {
  color: var(--muted);
  font: 600 13px/1.2 var(--avenir);
}

.playout-settings-summary strong {
  overflow-wrap: anywhere;
  color: var(--text);
}

.playout-token-input {
  max-width: 760px;
}

.playout-station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 14px;
}

.playout-station-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 23, 32, .08), var(--panel-strong) 42%);
}

.playout-station-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.playout-station-title span {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--brand);
  color: white;
  font: 800 12px/1 var(--avenir);
  text-transform: uppercase;
}

.playout-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.playout-copy-row .wide-copy-input {
  width: 100%;
  min-width: 0;
  margin: 8px 0;
  font: 500 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.playout-station-card details {
  margin-top: 12px;
}

.playout-station-card summary {
  cursor: pointer;
  color: var(--muted);
  font-family: var(--avenir);
}

.playout-station-card .field-help a {
  overflow-wrap: anywhere;
}

.playout-security-note {
  margin: 0;
}

@media (max-width: 760px) {
  .playout-config-heading {
    display: grid;
  }

  .playout-token-status {
    justify-self: start;
  }

  .playout-settings-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .playout-copy-row {
    grid-template-columns: 1fr;
  }

  .playout-copy-row .secondary-action {
    width: 100%;
  }
}

.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;
}

.menu-order-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.menu-order-controls .secondary-action,
.menu-order-controls .danger-button {
  min-height: 38px;
  padding: 8px 11px;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  :root {
    --site-hero-height: clamp(650px, 78vh, 760px);
  }

  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,
  .listen-page,
  .admin-grid,
  .jobs-contact-section,
  .detail-page {
    grid-template-columns: 1fr;
  }

  .hitlist-hero {
    height: auto;
    min-height: var(--page-hero-height, var(--site-hero-height));
    grid-template-columns: 1fr;
  }

  .hitlist-logo-frame {
    justify-self: start;
  }

  .hitlist-track-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listen-coverage {
    position: static;
  }

  .home-hero {
    min-height: var(--page-hero-height, var(--site-hero-height));
    padding-top: 26px;
    padding-bottom: 40px;
    align-content: center;
  }

  .home-recent.section {
    margin-top: 0;
  }

  .home-hero-bg {
    object-position: center top;
  }

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

  .jobs-contact-copy {
    position: static;
  }

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

  .player-band {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    border-radius: 0;
  }

  .player-track {
    grid-column: 1;
    justify-self: start;
  }

  .player-center {
    grid-column: 2;
    justify-self: end;
  }

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

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

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

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

  .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));
  }

  .top-ten-row {
    grid-template-columns: 56px 104px minmax(180px, 1fr) 130px;
  }

  .chart-artwork {
    width: 104px;
  }

  .chart-artwork-wrap {
    width: 104px;
  }

  .top-ten-row > .song-votes {
    grid-column: 3 / -1;
  }

  .admin-vote-row {
    grid-template-columns: minmax(180px, 1fr) repeat(3, 82px);
  }

  .admin-vote-row time {
    grid-column: 1 / -1;
  }

  .admin-chart-row {
    grid-template-columns: 28px 48px 72px minmax(0, 1fr) auto;
  }

  .admin-chart-row > img {
    width: 72px;
  }

  .admin-chart-row .chart-movement {
    grid-column: 3 / 5;
    text-align: left;
  }

  .chart-delete-button {
    grid-column: 5;
    grid-row: 1 / 3;
  }

  .job-detail-layout {
    grid-template-columns: 1fr;
  }

  .vacancy-application-section {
    grid-template-columns: 1fr;
  }

  .job-apply-panel {
    position: static;
  }

  .jobs-open-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  :root {
    --site-hero-height: clamp(650px, 78vh, 760px);
  }

  .home-hero {
    min-height: var(--page-hero-height, var(--site-hero-height));
    padding: 18px 22px 40px;
    align-content: center;
  }

  .home-recent.section {
    margin-top: 0;
    padding-top: 32px;
  }

  .home-hero h1 {
    font-size: clamp(3.25rem, 14vw, 4.65rem);
    line-height: 0.94;
  }

  .home-hero h1.is-long-title {
    font-size: clamp(2.85rem, 11.5vw, 3.9rem);
    line-height: 0.98;
  }

  .home-kicker {
    margin-bottom: 14px;
    padding: 8px 15px;
    font-size: 0.78rem;
  }

  .home-host {
    margin-top: 16px;
    font-size: 1.24rem;
  }

  .home-time {
    margin-top: 10px;
  }

  .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;
  }

  .program-card img {
    width: 100%;
  }

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

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

  .home-now-card {
    padding: 16px;
    border-radius: 28px;
  }

  .home-now-top {
    margin-bottom: 14px;
  }

  .home-now-body {
    grid-template-columns: 78px minmax(0, 1fr) 46px;
    gap: 12px;
  }

  .home-now-cover {
    width: 78px;
  }

  .home-now-play {
    width: 46px;
    height: 46px;
  }

  .hitlist-hero {
    width: calc(100% - 24px);
    margin: 0 auto 12px;
    padding: 28px 22px;
  }

  .hitlist-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hitlist-voting-heading,
  .hitlist-selected-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hitlist-track-options,
  .hitlist-selected-list {
    grid-template-columns: 1fr;
  }

  .hitlist-free-choice > div,
  .hitlist-result-summary,
  .hitlist-result-filters,
  .frontend-override-row {
    grid-template-columns: 1fr;
  }

  .hitlist-admin-track-row {
    grid-template-columns: 34px 1fr;
  }

  .hitlist-admin-track-row .danger-button {
    grid-column: 2;
    justify-self: start;
  }

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

  .admin-list-tools,
  .schedule-item-row,
  .nested-link-row,
  .admin-user-row {
    grid-template-columns: 1fr;
  }

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

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

  .top-ten-row {
    grid-template-columns: 44px 82px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .chart-artwork {
    width: 82px;
  }

  .chart-artwork-wrap {
    width: 82px;
  }

  .chart-copy h2 {
    font-size: 1.32rem;
  }

  .chart-movement {
    grid-column: 1 / 3;
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }

  .chart-movement span {
    margin-top: 0;
  }

  .top-ten-row > .song-votes {
    grid-column: 3;
    justify-content: flex-start;
  }

  .vote-button {
    min-width: 42px;
    padding-inline: 10px;
  }

  .track-preview-button {
    width: 48px;
    height: 48px;
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .admin-vote-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-vote-song,
  .admin-vote-row time {
    grid-column: 1 / -1;
  }

  .chart-admin-toolbar {
    align-items: stretch;
  }

  .chart-mode-switch {
    flex: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-song-dialog {
    inset: 82px 10px auto;
    max-height: calc(100vh - 94px);
  }

  .admin-chart-row {
    grid-template-columns: 24px 42px 68px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .admin-chart-row > img {
    width: 68px;
  }

  .admin-chart-row .chart-position {
    font-size: 1.7rem;
  }

  .admin-chart-row .chart-movement {
    grid-column: 3 / 5;
  }

  .chart-delete-button {
    grid-column: 3 / 5;
    grid-row: auto;
    justify-self: start;
  }

  .jobs-hero,
  .job-detail-hero {
    height: auto;
    min-height: var(--page-hero-height, var(--site-hero-height));
    padding: 28px 22px;
  }

  .jobs-hero h1,
  .job-detail-hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .jobs-open-cta {
    padding: 26px 22px;
  }
}

/* Touch-first CMS navigation and editing layout. */
.admin-action-short,
.admin-menu-toggle,
.admin-nav-backdrop {
  display: none;
}

@media (max-width: 900px) {
  .admin-body {
    width: 100%;
    min-width: 0;
    padding-bottom: 0;
    overflow-x: hidden;
  }

  .admin-shell {
    display: block;
  }

  .admin-shell > .admin-topbar {
    min-height: 64px;
    padding: 8px 12px;
    gap: 8px;
  }

  .admin-shell > .admin-topbar .admin-brand {
    flex: 1 1 auto;
    gap: 8px;
    overflow: hidden;
  }

  .admin-shell > .admin-topbar .admin-brand img {
    width: min(42vw, 170px);
    min-width: 0;
  }

  .admin-shell > .admin-topbar .admin-brand strong {
    flex: 0 0 auto;
    font-size: .88rem;
  }

  .admin-shell > .admin-topbar > .admin-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0;
  }

  .admin-shell > .admin-topbar .secondary-action,
  .admin-shell > .admin-topbar .ghost-button {
    min-width: 52px;
    min-height: 42px;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .admin-action-full { display: none; }
  .admin-action-short { display: inline; }

  .admin-grid {
    display: block;
    min-height: calc(100dvh - 64px);
  }

  .admin-tabs {
    position: fixed;
    inset: 64px auto 0 0;
    z-index: 70;
    display: grid;
    width: min(86vw, 340px);
    max-height: none;
    padding: 8px 0 calc(24px + env(safe-area-inset-bottom));
    border-right-color: rgba(255, 255, 255, .16);
    background: #09090c;
    box-shadow: 24px 0 70px rgba(0, 0, 0, .58);
    transform: translateX(-105%);
    transition: transform .22s ease;
  }

  .admin-tabs.is-open {
    transform: translateX(0);
  }

  .admin-module-search {
    top: -8px;
    padding: 14px 14px 12px;
  }

  .admin-tabs button {
    overflow-wrap: anywhere;
  }

  .admin-tabs button > span {
    padding-inline: 18px;
  }

  .admin-nav-backdrop:not(.hidden) {
    position: fixed;
    inset: 64px 0 0;
    z-index: 69;
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, .62);
    backdrop-filter: blur(2px);
  }

  .admin-nav-open {
    overflow: hidden;
  }

  #cms-panel > .admin-panel {
    min-height: calc(100dvh - 64px);
    padding: 0 14px calc(104px + env(safe-area-inset-bottom));
  }

  #cms-panel > .admin-panel > .admin-topbar {
    top: 64px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0 -14px 16px;
    padding: 12px 14px;
    backdrop-filter: none;
  }

  #cms-panel > .admin-panel > .admin-topbar h1 {
    margin: 1px 0 0;
    overflow: hidden;
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #cms-panel > .admin-panel > .admin-topbar .eyebrow {
    margin: 0;
  }

  .admin-menu-toggle {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 7px;
    min-width: 112px;
    min-height: 48px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    color: var(--text);
    cursor: pointer;
    text-align: left;
  }

  .admin-menu-icon {
    grid-row: 1 / 3;
    align-self: center;
    font-size: 1.3rem;
  }

  .admin-menu-toggle > span:not(.admin-menu-icon) {
    color: var(--muted);
    font-family: var(--avenir);
    font-size: .66rem;
    font-weight: 900;
  }

  .admin-menu-toggle strong {
    max-width: 92px;
    overflow: hidden;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #cms-panel > .admin-panel > .admin-topbar .admin-editor-actions {
    position: fixed;
    inset: auto 0 0;
    z-index: 65;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    background: rgba(9, 9, 12, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -14px 38px rgba(0, 0, 0, .36);
    scrollbar-width: none;
  }

  #cms-panel > .admin-panel > .admin-topbar .admin-editor-actions::-webkit-scrollbar {
    display: none;
  }

  .admin-editor-actions > * {
    flex: 0 0 auto;
    min-height: 48px;
    margin: 0;
    white-space: nowrap;
  }

  .admin-editor-actions .admin-more-menu {
    top: auto;
    right: 0;
    bottom: calc(100% + 8px);
  }

  .admin-editor-actions .admin-save-state {
    min-height: 48px;
  }

  .admin-list-tools {
    top: 137px;
    z-index: 18;
  }

  #cms-panel input,
  #cms-panel textarea,
  #cms-panel select,
  #login-panel input,
  #login-panel textarea,
  #login-panel select {
    max-width: 100%;
    font-size: 16px;
  }

  #cms-panel button,
  #cms-panel a.secondary-action,
  #login-panel button {
    min-height: 44px;
  }

  .admin-dialog {
    max-height: calc(100dvh - 1rem);
    overflow: auto;
  }
}

@media (max-width: 620px) {
  .admin-shell > .admin-topbar .admin-brand strong {
    display: none;
  }

  .admin-language-control,
  .admin-site-control {
    gap: 0;
  }

  .admin-language-control > span,
  .admin-site-control > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .admin-language-control select,
  .admin-site-control select {
    width: 52px;
    min-height: 42px;
    padding: 8px 5px;
    text-align: center;
  }

  .admin-site-control select {
    width: min(36vw, 132px);
    text-align: left;
  }

  #login-panel.admin-panel {
    width: calc(100% - 24px);
    margin: 24px auto;
    padding: 18px;
  }

  #cms-panel .editor-card {
    padding: 14px;
  }

  #cms-panel .admin-collection-card {
    padding: 0;
  }

  .admin-collection-grid {
    grid-template-columns: 1fr;
  }

  .admin-collection-tile {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    min-height: 142px;
    padding: 12px;
  }

  .admin-collection-thumb {
    width: 84px;
    height: 104px;
    border-radius: 10px;
  }

  .admin-collection-copy {
    padding-right: 28px;
  }

  .admin-collection-actions {
    grid-column: 1 / -1;
  }

  .admin-open-label {
    display: none;
  }

  #cms-panel .admin-collection-card[open] .admin-collection-thumb {
    height: 86px;
  }

  #cms-panel .schedule-calendar-shell {
    padding: 0;
  }

  #cms-panel .editor-card .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-hero {
    padding: 20px;
    border-radius: 14px;
  }

  .dashboard-hero h2 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dashboard-metric {
    min-height: 138px;
    padding: 15px;
  }

  .dashboard-metric strong {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
  }

  .dashboard-panel,
  .dashboard-chart-card,
  .dashboard-country-panel {
    padding: 14px;
  }

  .dashboard-line-chart {
    min-height: 220px;
  }

  .media-library-grid {
    grid-template-columns: 1fr;
  }

  .media-card .admin-actions,
  #cms-panel > .admin-panel > .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .media-card .admin-actions > *,
  #cms-panel > .admin-panel > .admin-actions > * {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .schedule-station-context {
    grid-template-columns: 1fr auto;
  }

  .schedule-station-switcher {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .schedule-calendar-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .schedule-calendar-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .schedule-station-context {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .schedule-station-switcher {
    grid-column: auto;
    grid-row: auto;
    margin-inline: -4px;
  }

  .schedule-manage-stations {
    width: 100%;
  }

  #cms-panel .schedule-calendar-shell {
    padding: 0;
  }

  .schedule-calendar-toolbar {
    padding: 16px 16px 0;
  }

  .schedule-calendar-filters,
  .schedule-calendar-filters > label:not(.checkbox-field),
  #cms-panel .schedule-calendar-filters .checkbox-field {
    width: 100%;
  }

  .schedule-editor-card > summary {
    grid-template-columns: 1fr auto;
  }

  .schedule-editor-time {
    grid-column: 1 / -1;
  }
}
.station-content-switcher {
  display: grid;
  grid-template-columns: minmax(150px, auto) 1fr;
  align-items: center;
  gap: 12px 24px;
  border-color: rgba(255, 47, 57, .45);
  background: linear-gradient(120deg, rgba(255, 31, 43, .12), rgba(255, 255, 255, .025));
}

.station-content-switcher > div:first-child {
  display: grid;
  gap: 3px;
}

.station-content-switcher > small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.station-content-tabs {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.station-content-tabs button {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong, #18181d);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.station-content-tabs button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

@media (max-width: 720px) {
  .station-content-switcher { grid-template-columns: 1fr; }
  .station-content-tabs { justify-content: flex-start; }
  .station-content-switcher > small { grid-column: auto; }
}
