:root {
  color-scheme: light;
  --ink: #15182f;
  --muted: #72778a;
  --line: #e2e7ef;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --brand: #168be8;
  --brand-dark: #111633;
  --warm: #ffb331;
  --home-card: clamp(132px, 10.5vw, 210px);
  --home-gap: clamp(16px, 1.6vw, 24px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(36, 132, 204, 0.94);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand img,
.admin-header img {
  width: 116px;
  height: auto;
  display: block;
}

.brand,
.admin-header > a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(4, 7, 14, 0.18);
}

.top-nav,
.auth-nav,
.admin-header nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.top-nav a,
.auth-nav a,
.auth-nav button,
.admin-header a {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.top-nav a:hover,
.auth-nav a:hover,
.auth-nav button:hover,
.admin-header a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.admin-header a.is-active {
  background: rgba(255, 255, 255, 0.2);
}

.auth-nav button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.auth-user {
  padding: 12px 14px;
  font-weight: 900;
}

.mobile-header-button,
.mobile-menu-overlay,
.mobile-drawer,
.mobile-search-panel,
.mobile-hero-cta,
.mobile-intro {
  display: none;
}

.mobile-header-button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.mobile-menu-button {
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.mobile-menu-button span {
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-search-button {
  width: 46px;
  height: 46px;
  position: relative;
}

.mobile-search-button::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  width: 18px;
  height: 18px;
  border: 4px solid currentColor;
  border-radius: 999px;
}

.mobile-search-button::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 30px;
  width: 15px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 36px;
  align-items: center;
  min-height: 620px;
  padding: 72px clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(rgba(49, 134, 199, 0.72), rgba(20, 45, 82, 0.88)),
    url("https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero h1,
.content-page h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}

.hero-subtitle {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.65;
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search-box {
  display: flex;
  max-width: 760px;
  margin-top: 28px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(12, 18, 32, 0.16);
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 18px;
  outline: 0;
}

.search-box button,
.primary-button,
.login-card button,
.station-form button {
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  transform: rotate(-7deg);
}

.section-block,
.content-page {
  padding: 44px clamp(20px, 5vw, 72px);
}

.section-heading,
.page-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.section-meta a {
  color: var(--brand);
  font-weight: 900;
}

.section-heading span,
.meta,
.station-copy span,
.admin-note,
.page-summary {
  color: var(--muted);
}

.page-summary {
  margin: 10px 0 0;
  font-weight: 800;
}

.homepage-banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.homepage-banner {
  display: grid;
  align-content: end;
  min-height: 190px;
  padding: 22px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 22, 51, 0.94), rgba(22, 139, 232, 0.62)),
    url("/assets/guwanary-app-icon.png") center/cover;
  box-shadow: 0 14px 28px rgba(18, 24, 43, 0.12);
}

.homepage-banner span {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.homepage-banner strong {
  max-width: 380px;
  margin-top: 8px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.search-filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 26px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(18, 24, 43, 0.07);
}

.search-filter-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.search-filter-panel input,
.search-filter-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

.search-filter-panel button,
.search-filter-panel .ghost-button {
  align-self: end;
  min-height: 46px;
}

.search-filter-wide {
  grid-column: span 2;
}

.pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
}

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

.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.station-card {
  min-width: 0;
}

.station-art {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #e8edf5;
  box-shadow: 0 12px 22px rgba(18, 24, 43, 0.12);
}

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

.station-copy {
  display: grid;
  gap: 4px;
  padding: 10px 2px 0;
}

.station-copy a {
  font-weight: 850;
}

.station-copy span {
  font-size: 0.9rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.category-grid a,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.directory-card {
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(18, 24, 43, 0.08);
}

.directory-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.directory-card strong {
  font-size: 1.2rem;
}

.directory-card small,
.profile-total span,
.listening-row span {
  color: var(--muted);
}

.radio-detail {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.radio-detail > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(18, 24, 43, 0.16);
}

.radio-detail audio {
  width: 100%;
  margin: 18px 0;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.station-page {
  background: #f5f7fb;
  padding-bottom: 220px;
}

.icon-button-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(18, 24, 43, 0.08);
}

.icon-button-circle:hover,
.icon-button-circle.is-active {
  background: var(--brand-dark);
  color: #fff;
}

.icon-button-large {
  width: 68px;
  height: 68px;
  background: var(--brand-dark);
  color: #fff;
}

.player-symbol,
.icon-play,
.icon-stop,
.icon-heart,
.icon-share,
.icon-volume,
.icon-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: currentColor;
}

.icon-play {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
}

.icon-stop {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: currentColor;
}

.icon-heart::before {
  content: "♡";
  font-size: 28px;
  line-height: 1;
}

.icon-share::before {
  content: "↗";
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.icon-volume::before {
  content: ")))";
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -2px;
}

.icon-muted::before {
  content: "×";
  font-size: 26px;
  font-weight: 900;
}

.station-hero {
  min-height: 440px;
  padding: 74px clamp(20px, 5vw, 72px);
  color: #fff;
  background-position: center;
  background-size: cover;
}

.station-hero-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 34px;
  align-items: end;
  max-width: 1180px;
}

.station-logo-large {
  width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.25);
}

.station-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.95;
}

.station-counts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.station-counts strong {
  color: #fff;
}

.station-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.station-actions .ghost-button,
.station-side-panel .side-action {
  min-height: 48px;
  padding: 0 18px;
}

.station-actions .icon-button-circle {
  padding: 0;
}

.station-player-shell,
.station-info-layout {
  padding: 0 clamp(20px, 5vw, 72px);
}

.station-player-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: -42px 0 34px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(18, 24, 43, 0.15);
}

.station-player-card img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
}

.station-player-copy {
  display: grid;
  gap: 8px;
}

.station-player-copy strong {
  font-size: 1.25rem;
}

.station-player-copy span {
  color: var(--muted);
}

.station-player-copy audio {
  width: 100%;
}

.custom-station-player {
  position: relative;
}

.custom-live-track,
.dock-live-line {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.custom-live-track span,
.dock-live-line span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--warm));
}

.custom-live-track strong,
.dock-live-line strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 22px;
  border-radius: 999px;
  background: #aeb4c2;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.custom-player-actions,
.dock-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.custom-play-button,
.dock-play {
  border: 0;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.volume-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

.volume-control input {
  width: 110px;
  accent-color: var(--brand-dark);
}

.custom-play-button {
  min-width: 88px;
  min-height: 48px;
  padding: 0 20px;
}

.dock-play {
  width: 52px;
  height: 52px;
}

.custom-play-button.is-playing,
.dock-play.is-playing {
  background: #0f172a;
}

.icon-action {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font-weight: 850;
  cursor: pointer;
}

.station-player-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 8px clamp(14px, 3vw, 34px);
  border-top: 1px solid rgba(20, 24, 47, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -10px 24px rgba(18, 24, 43, 0.1);
  backdrop-filter: blur(18px);
}

.station-player-dock.is-hidden {
  display: none;
}

.dock-station {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
}

.dock-station img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}

.dock-station div,
.dock-center {
  display: grid;
  gap: 6px;
}

.dock-station span {
  color: var(--muted);
}

.dock-station strong,
.dock-station span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-center {
  justify-items: end;
}

.dock-live-line {
  display: none;
}

.station-player-dock .dock-actions {
  flex-wrap: nowrap;
}

.station-player-dock .volume-control {
  min-height: 40px;
  padding: 0 10px;
}

.station-player-dock .volume-control input {
  width: 86px;
}

.station-player-dock .icon-button-circle {
  width: 42px;
  height: 42px;
}

.station-player-dock .dock-play {
  width: 52px;
  height: 52px;
}

.station-player-shell {
  display: none;
}

.station-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 340px);
  gap: 28px;
  align-items: start;
  padding-bottom: 54px;
}

.station-info-panel,
.station-side-panel,
.station-ad-panel {
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(18, 24, 43, 0.08);
}

.station-info-panel h2,
.station-side-panel h3 {
  margin-top: 0;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
}

.info-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
}

.info-list dt {
  color: var(--muted);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  font-weight: 750;
}

.station-side-panel,
.station-ad-panel {
  display: grid;
  gap: 12px;
}

.ad-box {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #fff7e5);
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.ad-box span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.side-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  text-align: center;
}

.site-footer {
  color: rgba(245, 247, 251, 0.76);
  background: #1b1f3a;
}

.site-footer-inner {
  width: min(1460px, 100%);
  margin: 0 auto;
  padding: 78px clamp(22px, 5vw, 72px) 150px;
}

.footer-divider {
  height: 1px;
  margin: 0 auto 62px;
  background: rgba(255, 255, 255, 0.24);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(150px, 0.8fr));
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.footer-brand-block {
  max-width: 290px;
}

.footer-logo {
  display: inline-grid;
  place-items: center;
  width: 154px;
  min-height: 76px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.footer-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.footer-brand-block p {
  margin: 18px 0 0;
  color: #f5f7fb;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  gap: 13px;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.2;
}

.footer-links h2::after {
  content: "›";
  margin-left: 7px;
  color: #dceeff;
}

.footer-links a {
  width: fit-content;
  color: rgba(245, 247, 251, 0.84);
  font-size: 0.98rem;
  font-weight: 760;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 84px;
  color: rgba(245, 247, 251, 0.72);
  font-size: 0.88rem;
  font-weight: 760;
}

.footer-bottom nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.admin-body {
  min-height: 100vh;
  padding-bottom: 110px;
  background: #eef3f9;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 16px 28px;
  background: var(--brand-dark);
  color: #fff;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
}

.admin-page {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.admin-panel,
.login-card {
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(18, 24, 43, 0.1);
}

.admin-full {
  width: 100%;
}

.admin-title-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.admin-title-row h1,
.admin-panel h2 {
  margin: 0;
}

.admin-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.admin-stat-grid,
.admin-feature-grid,
.admin-grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.admin-stat-card,
.admin-feature-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.admin-stat-card span,
.admin-feature-card span {
  color: var(--muted);
  font-weight: 700;
}

.admin-stat-card strong {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.admin-feature-card strong {
  font-size: 1.05rem;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.admin-tabs a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 900;
}

.admin-tabs a.is-active {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
}

.login-card {
  width: min(420px, calc(100vw - 32px));
  margin: 10vh auto;
}

.login-card img {
  width: 150px;
}

.station-form,
.login-card form {
  display: grid;
  gap: 14px;
}

.station-form label,
.login-card label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.station-form input,
.station-form textarea,
.station-form select,
.admin-row input,
.admin-row textarea,
.admin-row select,
.login-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

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

.checkbox-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.checkbox-row label {
  display: flex;
  gap: 8px;
  align-items: center;
}

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

.admin-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.admin-filter-bar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.admin-filter-bar input,
.admin-filter-bar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
}

.admin-filter-search {
  grid-column: span 2;
}

.admin-filter-bar button {
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  background: var(--brand-dark);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.admin-filter-bar .admin-danger-button {
  background: #fee2e2;
  color: #991b1b;
}

.admin-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-row-wide {
  grid-template-columns: 64px minmax(0, 1fr) repeat(5, auto);
}

.admin-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
}

.admin-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

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

.admin-row nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.logo-upgrade-row {
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 2fr) auto;
}

.logo-upgrade-row .admin-note {
  margin: 0;
}

.admin-inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-checkbox {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-checkbox input {
  width: auto;
}

.admin-row button {
  border: 0;
  background: #ffe5e5;
  color: #991b1b;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.admin-row .admin-preview-button {
  background: var(--brand-dark);
  color: #fff;
}

.admin-row .admin-preview-button.is-playing {
  background: #b91c1c;
}

.admin-row .admin-danger-button {
  background: #fee2e2;
  color: #991b1b;
}

.admin-preview-player {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(240px, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(17, 22, 51, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(18, 24, 43, 0.18);
  backdrop-filter: blur(18px);
}

.admin-preview-player[hidden] {
  display: none;
}

.admin-preview-station {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.admin-preview-station img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.admin-preview-station div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-preview-station strong,
.admin-preview-station span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-preview-station span {
  color: var(--muted);
}

.admin-mini-table {
  display: grid;
  gap: 10px;
}

.admin-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 18px;
}

.admin-pagination a {
  min-width: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 900;
}

.admin-pagination a.is-active {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
}

.admin-pagination a.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.admin-mini-table a,
.admin-mini-table div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-mini-table span {
  color: var(--muted);
}

.admin-permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin: 8px 0 14px;
}

.admin-permission-grid label {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.admin-staff-form {
  width: 100%;
}

.admin-heatmap {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.admin-heatmap div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(22, 139, 232, var(--heat));
  color: #111633;
}

.admin-bullets {
  margin: 12px 0 0;
  padding-left: 20px;
}

code {
  background: #edf2f8;
  padding: 2px 5px;
  border-radius: 5px;
}

.success-message,
.error-message,
.empty-state {
  padding: 12px;
  border-radius: 8px;
}

.is-hidden {
  display: none;
}

.account-switch {
  margin-bottom: 0;
  color: var(--muted);
}

.account-switch a {
  color: var(--brand);
  font-weight: 900;
}

.account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.account-divider::before,
.account-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.profile-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.profile-panel,
.profile-total {
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(18, 24, 43, 0.08);
}

.profile-panel h2 {
  margin-top: 0;
  color: var(--ink);
}

.profile-total {
  min-width: 220px;
  display: grid;
  gap: 4px;
}

.profile-total strong {
  font-size: 1.8rem;
}

.reward-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 22px;
}

.reward-summary,
.reward-meter-card,
.reward-cash-card,
.reward-withdrawal-form,
.reward-badge {
  border: 1px solid rgba(25, 199, 232, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(25, 199, 232, 0.12), transparent 14rem),
    #fff;
  color: var(--ink);
  padding: 20px;
  box-shadow: 0 12px 28px rgba(18, 24, 43, 0.1);
}

.reward-summary h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.reward-summary span,
.reward-meter-top span,
.reward-badge span {
  color: var(--muted);
  font-weight: 750;
}

.reward-meter-card {
  display: grid;
  gap: 16px;
  align-content: center;
}

.reward-cash-card,
.reward-withdrawal-form {
  display: grid;
  gap: 10px;
}

.reward-cash-card strong {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.reward-cash-card span,
.reward-cash-card small,
.reward-withdrawal-form span {
  color: var(--muted);
  font-weight: 800;
}

.reward-withdrawal-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 850;
}

.reward-withdrawal-form select,
.reward-withdrawal-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  color: var(--ink);
  background: #fff;
}

.reward-withdrawal-form button {
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--brand-dark);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.reward-withdrawal-form button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.reward-meter-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.reward-meter-top strong {
  font-size: 1.4rem;
}

.reward-progress {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f8;
}

.reward-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3cff, #19c7e8, #ffcf3f);
  transition: width 0.3s ease;
}

.reward-badges {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.reward-badge {
  display: grid;
  gap: 6px;
  min-height: 112px;
  opacity: 0.62;
}

.reward-badge::before {
  content: "LOCKED";
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: #edf2f8;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.reward-badge.is-unlocked {
  opacity: 1;
  border-color: rgba(25, 199, 232, 0.32);
  box-shadow: 0 14px 30px rgba(25, 199, 232, 0.14);
}

.reward-badge.is-unlocked::before {
  content: "UNLOCKED";
  background: linear-gradient(90deg, #7c3cff, #19c7e8);
  color: #fff;
}

.withdrawal-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.withdrawal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 14px;
}

.withdrawal-row div {
  display: grid;
  gap: 4px;
}

.withdrawal-row span {
  color: var(--muted);
}

.withdrawal-row b {
  border-radius: 999px;
  padding: 5px 10px;
  background: #edf2f8;
  color: var(--brand-dark);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.profile-section {
  padding-left: 0;
  padding-right: 0;
}

.profile-section .section-heading h2,
.profile-section .section-heading span {
  color: #f5f7fb;
}

.static-content-page {
  display: grid;
  gap: 22px;
}

.static-content-card {
  max-width: 940px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  font-size: 1.05rem;
  line-height: 1.75;
}

.site-ad-slot,
.station-ad-html {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f7fb;
  text-align: center;
}

.site-ad-slot > *,
.station-ad-html > * {
  max-width: 100%;
}

.station-ad-html {
  width: 100%;
  margin: 0;
  background: #fff;
  color: var(--ink);
}

.site-popup-ad {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 10, 18, 0.62);
}

.site-popup-ad-card {
  position: relative;
  width: min(520px, 100%);
  min-height: 220px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.site-popup-ad-card > button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

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

.listening-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.listening-row img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
}

.listening-row div {
  display: grid;
  gap: 4px;
}

.listening-row b {
  white-space: nowrap;
}

.success-message {
  background: #e9f9ef;
  color: #116534;
}

.error-message {
  background: #ffe9e9;
  color: #9b1c1c;
}

.broadcaster-page {
  min-height: calc(100vh - 104px);
  padding: 44px clamp(20px, 5vw, 72px) 220px;
  color: #f5f7fb;
  background:
    radial-gradient(circle at 18% 12%, rgba(25, 199, 232, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(111, 92, 255, 0.18), transparent 26rem),
    #0f1117;
}

.broadcaster-page [hidden] {
  display: none !important;
}

.broadcaster-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.broadcaster-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.broadcaster-hero p {
  max-width: 680px;
  color: #cbd3df;
  font-size: 1.05rem;
  line-height: 1.65;
}

.broadcaster-page .kicker {
  color: #b8f1ff;
}

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

.broadcaster-widget-preview {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(24, 31, 48, 0.92), rgba(12, 18, 32, 0.92)),
    radial-gradient(circle at top right, rgba(25, 199, 232, 0.22), transparent 15rem);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.broadcaster-widget-preview span,
.broadcaster-widget-preview em {
  color: #a7adba;
  font-style: normal;
  font-weight: 850;
}

.broadcaster-widget-preview strong {
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.05;
}

.widget-preview-bar {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.widget-preview-bar button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111633;
}

.widget-preview-bar i {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #19c7e8, #6f5cff);
}

.broadcaster-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.broadcaster-steps article,
.broadcaster-account-panel,
.broadcaster-form-card,
.broadcaster-submissions-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

.broadcaster-steps article {
  padding: 20px;
}

.broadcaster-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #19c7e8;
  color: #071019;
  font-weight: 950;
}

.broadcaster-steps h2,
.broadcaster-account-panel h2,
.broadcaster-form-card h2,
.broadcaster-submissions-card h2 {
  margin: 14px 0 8px;
  color: #fff;
}

.broadcaster-steps p,
.broadcaster-account-panel p,
.broadcaster-form-card .admin-note,
.broadcaster-submissions-card .admin-note {
  color: #cbd3df;
}

.broadcaster-account-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 24px;
}

.broadcaster-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.broadcaster-form-card,
.broadcaster-submissions-card {
  padding: 24px;
}

.broadcaster-form-card form {
  display: grid;
  gap: 14px;
}

.broadcaster-form-card label {
  display: grid;
  gap: 7px;
  color: #eef5ff;
  font-weight: 850;
}

.broadcaster-form-card input,
.broadcaster-form-card textarea,
.broadcaster-form-card select,
.broadcaster-submission-list textarea {
  width: 100%;
  border: 1px solid rgba(226, 231, 239, 0.9);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
}

.broadcaster-form-card button[type="submit"] {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #19c7e8, #6f5cff);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.broadcaster-form-card button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: progress;
}

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

.broadcaster-form-actions button[type="submit"] {
  flex: 1 1 260px;
}

.broadcaster-form-actions .ghost-button {
  min-height: 52px;
  color: var(--ink);
  cursor: pointer;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: auto 1fr;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-line input {
  width: auto;
}

.broadcaster-submission-list {
  display: grid;
  gap: 12px;
}

.broadcaster-submission-list article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.broadcaster-submission-list strong {
  color: #fff;
}

.broadcaster-submission-list span {
  color: #b8f1ff;
  font-weight: 900;
  text-transform: capitalize;
}

.broadcaster-submission-list a {
  color: #b8f1ff;
  font-weight: 900;
}

.broadcaster-submission-list .broadcaster-edit-button {
  width: fit-content;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--ink);
  cursor: pointer;
}

.broadcaster-submission-list textarea {
  min-height: 94px;
  resize: vertical;
  font-size: 0.86rem;
}

.podcaster-form-stack {
  display: grid;
  gap: 18px;
}

.podcaster-upload-card {
  align-self: start;
}

.podcast-form-section {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.podcast-form-section h3 {
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
}

.podcast-section-title-row,
.podcast-episode-row-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.podcast-section-title-row .ghost-button,
.podcast-episode-row-head .ghost-button {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  cursor: pointer;
}

.podcast-episode-rows {
  display: grid;
  gap: 12px;
}

.podcast-episode-row {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(10, 16, 28, 0.28);
}

.podcast-episode-row-head strong {
  color: #fff;
}

.podcaster-preview {
  background:
    linear-gradient(145deg, rgba(24, 31, 48, 0.92), rgba(12, 18, 32, 0.92)),
    radial-gradient(circle at top right, rgba(111, 92, 255, 0.28), transparent 15rem);
}

.podcast-episode-list {
  display: grid;
  gap: 9px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.podcast-episode-list li {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.podcast-episode-list small {
  color: #cbd3df;
}

.podcast-episode-list .ghost-button {
  width: fit-content;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
}

.podcast-directory-page {
  color: #f5f7fb;
}

.podcast-directory-page .page-title-row {
  align-items: end;
}

.podcast-directory-grid {
  display: grid;
  gap: 18px;
}

.podcast-public-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(27, 34, 51, 0.96), rgba(13, 18, 30, 0.96));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.podcast-public-cover {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.podcast-public-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.podcast-public-body {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.podcast-public-body h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.podcast-public-body p {
  margin: 8px 0 0;
  max-width: 860px;
  color: #dce4f1;
  line-height: 1.55;
}

.podcast-public-meta {
  color: #9be7ff !important;
  font-weight: 900;
}

.podcast-public-episodes {
  display: grid;
  gap: 10px;
}

.podcast-public-episode {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.podcast-public-episode summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

.podcast-public-episode summary::-webkit-details-marker {
  display: none;
}

.podcast-public-episode summary span,
.podcast-public-episode summary small {
  color: #9aa4b5;
  font-weight: 900;
}

.podcast-public-episode summary strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podcast-public-episode p {
  margin: 0;
  padding: 0 14px 12px;
}

.podcast-public-episode audio {
  width: calc(100% - 28px);
  margin: 0 14px 14px;
}

@media (max-width: 760px) {
  .podcast-public-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .podcast-public-cover {
    width: min(100%, 220px);
  }

  .podcast-public-episode summary {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .podcast-public-episode summary strong {
    white-space: normal;
  }
}

.broadcaster-admin-row {
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.4fr) auto;
}

.broadcaster-admin-row p {
  margin: 0;
}

.broadcaster-widget-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
}

.broadcaster-widget {
  width: min(100vw, 720px);
  min-height: 112px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 62px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(226, 231, 239, 0.86);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(15, 17, 23, 0.14);
}

.broadcaster-widget-logo img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: #fff;
}

.broadcaster-widget-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.broadcaster-widget-copy strong,
.broadcaster-widget-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.broadcaster-widget-copy strong {
  font-size: 1.12rem;
  color: var(--ink);
}

.broadcaster-widget-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.broadcaster-widget-brand {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  gap: 7px;
  align-items: center;
  color: #526078;
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.broadcaster-widget-brand img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
}

.broadcaster-widget-brand em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}

.broadcaster-widget-brand b {
  color: var(--brand-dark);
}

.broadcaster-widget-play {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  cursor: pointer;
}

.broadcaster-widget-play:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.broadcaster-widget-play.is-playing {
  background: #b91c1c;
}

.widget-builder-page .search-box select {
  min-height: 58px;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.widget-style-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.widget-style-tabs a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #2a3445;
  border-radius: 999px;
  color: #cbd3df;
  font-weight: 900;
  text-decoration: none;
}

.widget-style-tabs a.is-active {
  border-color: #19c7e8;
  background: #19c7e8;
  color: #06121c;
}

.widget-builder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.widget-builder-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.widget-builder-station {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.widget-builder-station img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.widget-builder-station div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.widget-builder-station strong,
.widget-builder-station span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.widget-builder-station strong {
  color: #fff;
}

.widget-builder-station span {
  color: #a8b1c2;
}

.widget-builder-card iframe,
.widget-builder-card textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.widget-builder-card textarea {
  min-height: 96px;
  padding: 12px;
  border: 1px solid #263246;
  background: #080b12;
  color: #dbeafe;
  resize: vertical;
}

.widget-builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.widget-builder-actions .ghost-button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  cursor: pointer;
}

.broadcaster-widget.widget-style-dark {
  border-color: rgba(25, 199, 232, 0.28);
  background: linear-gradient(135deg, #080b12, #151a2d);
  color: #fff;
  box-shadow: none;
}

.broadcaster-widget.widget-style-dark .broadcaster-widget-copy strong,
.broadcaster-widget.widget-style-dark .broadcaster-widget-brand b {
  color: #fff;
}

.broadcaster-widget.widget-style-dark .broadcaster-widget-copy span,
.broadcaster-widget.widget-style-dark .broadcaster-widget-brand {
  color: #a8b1c2;
}

.broadcaster-widget.widget-style-dark .broadcaster-widget-play {
  background: #19c7e8;
  color: #071019;
}

.broadcaster-widget.widget-style-bar {
  width: min(100vw, 960px);
  min-height: 76px;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  padding: 10px 12px;
  border-radius: 10px;
}

.broadcaster-widget.widget-style-bar .broadcaster-widget-logo img {
  width: 52px;
  height: 52px;
}

.broadcaster-widget.widget-style-bar .broadcaster-widget-play {
  width: 48px;
  height: 48px;
}

.broadcaster-widget.widget-style-card {
  width: min(100vw, 360px);
  min-height: 292px;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding: 20px;
}

.broadcaster-widget.widget-style-card .broadcaster-widget-logo img {
  width: 126px;
  height: 126px;
}

.broadcaster-widget.widget-style-card .broadcaster-widget-brand {
  justify-self: center;
}

@media (max-width: 860px) {
  .hero,
  .radio-detail,
  .admin-shell,
  .station-hero-inner,
  .station-info-layout,
  .broadcaster-hero,
  .broadcaster-dashboard {
    grid-template-columns: 1fr;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .site-header {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    gap: 10px;
    min-height: 88px;
    padding: 12px 18px;
    background: rgba(65, 160, 220, 0.96);
  }

  .brand {
    justify-self: center;
  }

  .brand img {
    width: 104px;
    max-height: 58px;
    object-fit: contain;
  }

  .top-nav,
  .auth-nav {
    display: none;
  }

  .mobile-header-button {
    display: inline-flex;
  }

  .mobile-search-button {
    justify-self: end;
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: block;
    background: rgba(9, 15, 35, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .mobile-menu-overlay[hidden],
  .mobile-drawer[hidden],
  .mobile-search-panel[hidden] {
    display: none;
  }

  body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 31;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    align-content: start;
    width: min(58vw, 360px);
    height: 100vh;
    min-height: 100dvh;
    padding: 28px 22px 22px;
    overflow-y: auto;
    background: #f7f8fa !important;
    color: var(--ink);
    box-shadow: 24px 0 50px rgba(10, 16, 35, 0.22);
    transform: translateX(-105%);
    transition: transform 220ms ease;
    isolation: isolate;
  }

  .mobile-drawer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #f7f8fa;
  }

  .mobile-drawer > * {
    position: relative;
    z-index: 1;
  }

  body.mobile-menu-open .mobile-drawer {
    transform: translateX(0);
  }

  .drawer-brand img {
    width: 118px;
    max-height: 82px;
    object-fit: contain;
    display: block;
  }

  .drawer-brand {
    display: inline-flex;
    width: fit-content;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(10, 16, 35, 0.1);
  }

  .drawer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 24px 0 22px;
    border-radius: 999px;
    background: var(--brand-dark);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .drawer-nav,
  .drawer-auth {
    display: grid;
    gap: 10px;
  }

  .drawer-auth {
    align-self: end;
    padding-top: 18px;
  }

  .drawer-nav a,
  .drawer-auth a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 35px;
    color: #858997;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .drawer-auth a {
    color: var(--ink);
  }

  .drawer-nav span,
  .drawer-auth span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 2px solid currentColor;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1;
  }

  .mobile-search-panel {
    position: fixed;
    top: 88px;
    left: 14px;
    right: 14px;
    z-index: 33;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 18px 36px rgba(12, 18, 32, 0.24);
  }

  .mobile-search-panel input {
    min-width: 0;
    border: 0;
    padding: 12px;
    outline: 0;
  }

  .mobile-search-panel button {
    border: 0;
    border-radius: 8px;
    padding: 0 14px;
    background: var(--brand-dark);
    color: #fff;
    font-weight: 900;
  }

  .hero {
    min-height: 520px;
    align-content: end;
    padding: 42px 22px 70px;
    text-align: center;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
    order: 2;
  }

  .hero-copy .kicker,
  .hero h1,
  .hero-subtitle,
  .hero .search-box {
    display: none;
  }

  .mobile-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 58px;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(12, 18, 32, 0.18);
  }

  .mobile-intro {
    display: grid;
    justify-items: center;
    gap: 24px;
    padding: 54px 28px 46px;
    background: #fff;
    text-align: center;
  }

  .mobile-intro p {
    max-width: 560px;
    margin: 0;
    color: var(--ink);
    font-size: 1.45rem;
    line-height: 1.38;
  }

  .mobile-intro a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 58px;
    border-radius: 8px;
    background: var(--brand-dark);
    color: #fff;
    font-weight: 900;
  }

  .station-logo-large {
    width: 150px;
  }

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

  .station-player-dock {
    position: fixed;
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 10px;
    min-height: 68px;
    padding: 8px 12px;
  }

  .dock-station {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
  }

  .dock-station img {
    width: 50px;
    height: 50px;
  }

  .dock-station strong,
  .dock-station span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dock-center {
    justify-items: end;
  }

  .dock-live-line,
  .dock-actions {
    display: none;
  }

  .dock-play {
    width: 54px;
    height: 54px;
  }

  .dock-actions,
  .custom-player-actions {
    justify-content: flex-start;
  }

  .auth-nav {
    justify-content: flex-start;
  }

  .admin-preview-player {
    grid-template-columns: 1fr;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .hero-grid {
    order: 1;
    width: min(78vw, 360px);
    margin: 0 auto 34px;
    gap: 10px;
    transform: rotate(-7deg);
  }

  .hero-grid .station-card:nth-child(n+5),
  .hero-grid .station-copy {
    display: none;
  }

  .content-page h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .content-page {
    padding-top: 28px;
  }

  .broadcaster-page {
    padding-top: 28px;
  }

  .broadcaster-hero h1 {
    font-size: 2.15rem;
  }

  .broadcaster-steps {
    grid-template-columns: 1fr;
  }

  .broadcaster-account-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .broadcaster-actions a {
    width: 100%;
  }

  .site-footer-inner {
    padding: 48px 26px 160px;
  }

  .footer-divider {
    margin-bottom: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 48px;
  }

  .broadcaster-widget {
    grid-template-columns: 58px minmax(0, 1fr) 54px;
    min-height: 92px;
    padding: 10px;
    border-radius: 12px;
  }

  .broadcaster-widget-logo img {
    width: 58px;
    height: 58px;
  }

  .broadcaster-widget-play {
    width: 52px;
    height: 52px;
  }

  .section-heading,
  .page-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .form-grid,
  .admin-row,
  .admin-row-wide,
  .broadcaster-admin-row,
  .admin-stat-grid,
  .admin-feature-grid,
  .admin-grid-two,
  .admin-grid-three,
  .profile-layout,
  .reward-panel,
  .listening-row {
    grid-template-columns: 1fr;
  }

  .reward-badges {
    grid-template-columns: 1fr;
  }

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

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

  .admin-filter-search {
    grid-column: auto;
  }

  .search-filter-panel {
    grid-template-columns: 1fr;
  }

  .search-filter-wide {
    grid-column: auto;
  }

  .site-footer {
    justify-content: center;
    padding: 22px 18px 96px;
    text-align: center;
  }
}

.home-page {
  --home-bg: #0f1117;
  --home-panel: #171a22;
  --home-card: clamp(132px, 10.5vw, 210px);
  --home-gap: clamp(16px, 1.6vw, 24px);
  --home-text: #f5f7fb;
  --home-muted: #a7adba;
  --home-cyan: #19c7e8;
  background: var(--home-bg);
  color: var(--home-text);
}

.home-page .site-header {
  min-height: 104px;
  background:
    radial-gradient(circle at 12% 50%, rgba(25, 199, 232, 0.18), transparent 22rem),
    linear-gradient(90deg, #222832, #11151d 62%, #0f1117);
  border-bottom: 1px solid rgba(25, 199, 232, 0.16);
}

.home-page .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 28px rgba(25, 199, 232, 0.16);
}

.home-page .brand img {
  width: clamp(190px, 15vw, 260px);
  max-height: 82px;
  object-fit: contain;
}

.home-page .top-nav a,
.home-page .auth-nav a,
.home-page .auth-nav button {
  color: rgba(245, 247, 251, 0.86);
}

.home-page .top-nav a:hover,
.home-page .auth-nav a:hover,
.home-page .auth-nav button:hover {
  background: rgba(25, 199, 232, 0.12);
  color: #fff;
}

.home-page .site-footer {
  background: #1b1f3a;
  color: rgba(245, 247, 251, 0.58);
}

.home-directory {
  min-height: 100vh;
  padding: 26px 0 220px;
  background:
    radial-gradient(circle at top left, rgba(25, 199, 232, 0.12), transparent 34rem),
    linear-gradient(180deg, #11141b 0%, var(--home-bg) 42%);
}

.home-quick-search {
  display: flex;
  justify-content: center;
  padding: 22px clamp(20px, 5vw, 72px) 12px;
}

.home-quick-search .search-box {
  width: min(760px, 100%);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #181818;
  box-shadow: none;
}

.home-quick-search .search-box input {
  color: #fff;
  background: transparent;
}

.home-quick-search .search-box input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.home-section {
  padding: 28px clamp(18px, 2vw, 28px) 34px;
  overflow: hidden;
}

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

.home-section-heading h2 {
  margin: 0;
  color: var(--home-text);
  font-size: clamp(1.55rem, 2.65vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.home-section-heading a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: rgba(245, 247, 251, 0.84);
  font-size: 2.35rem;
  line-height: 0.8;
}

.home-section-heading a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.home-logo-row,
.home-station-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: start;
  gap: var(--home-gap, clamp(16px, 1.6vw, 24px));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-logo-row::-webkit-scrollbar,
.home-station-row::-webkit-scrollbar {
  display: none;
}

.home-logo-card,
.home-station-card,
.home-station-card a {
  min-width: 0;
  scroll-snap-align: start;
}

.home-logo-card {
  display: block;
  flex: 0 0 var(--home-card, clamp(132px, 10.5vw, 210px));
  width: var(--home-card, clamp(132px, 10.5vw, 210px));
  height: var(--home-card, clamp(132px, 10.5vw, 210px));
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--home-panel);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.home-logo-card img,
.home-station-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-station-card a {
  display: grid;
  gap: 7px;
  width: 100%;
  color: var(--home-text);
  min-width: 0;
}

.home-station-card {
  flex: 0 0 var(--home-card, clamp(132px, 10.5vw, 210px));
  width: var(--home-card, clamp(132px, 10.5vw, 210px));
}

.home-station-card img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  background: var(--home-panel);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.home-station-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--home-text);
  font-size: clamp(0.92rem, 0.92vw, 1.05rem);
  line-height: 1.22;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-station-card span {
  overflow: hidden;
  color: var(--home-muted);
  font-size: clamp(0.78rem, 0.78vw, 0.9rem);
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .home-page .site-header {
    min-height: 88px;
    background: linear-gradient(90deg, #222832, #11151d);
  }

  .home-page .brand {
    padding: 4px 8px;
    border-radius: 8px;
  }

  .home-page .brand img {
    width: 150px;
    max-height: 58px;
  }

  .home-directory {
    --home-card: 124px;
    --home-gap: 14px;
    padding-bottom: 104px;
    padding-top: 18px;
  }

  .home-quick-search {
    padding: 16px 16px 6px;
  }

  .home-quick-search .search-box {
    display: none;
  }

  .home-section {
    padding: 24px 16px 30px;
  }

  .home-section-heading {
    margin-bottom: 16px;
  }

  .home-section-heading h2 {
    font-size: 1.45rem;
  }

  .home-section-heading a {
    width: 36px;
    height: 36px;
    font-size: 2.2rem;
  }

  .home-station-card strong {
    font-size: 0.92rem;
  }

  .home-station-card span {
    font-size: 0.78rem;
  }
}

/* Public readability pass for Guwanary pages. */
body:not(.admin-body) {
  background: #0f1117;
  color: #f5f7fb;
}

body:not(.admin-body) .site-header {
  min-height: 104px;
  background:
    radial-gradient(circle at 12% 50%, rgba(25, 199, 232, 0.18), transparent 22rem),
    linear-gradient(90deg, #222832, #11151d 62%, #0f1117);
  border-bottom: 1px solid rgba(25, 199, 232, 0.16);
  color: #f5f7fb;
}

body:not(.admin-body) .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 28px rgba(25, 199, 232, 0.16);
}

body:not(.admin-body) .brand img {
  width: clamp(190px, 15vw, 260px);
  max-height: 82px;
  object-fit: contain;
}

body:not(.admin-body) .top-nav a,
body:not(.admin-body) .auth-nav a,
body:not(.admin-body) .auth-nav button {
  color: rgba(245, 247, 251, 0.86);
}

body:not(.admin-body) .top-nav a:hover,
body:not(.admin-body) .auth-nav a:hover,
body:not(.admin-body) .auth-nav button:hover {
  background: rgba(25, 199, 232, 0.12);
  color: #fff;
}

body:not(.admin-body) .content-page {
  min-height: calc(100vh - 104px);
  background:
    radial-gradient(circle at top left, rgba(25, 199, 232, 0.12), transparent 34rem),
    #0f1117;
  color: #f5f7fb;
  padding-bottom: 220px;
}

body:not(.admin-body) .content-page h1 {
  max-width: 900px;
  color: #f5f7fb;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 1.04;
}

body:not(.admin-body) .content-page .kicker,
body:not(.admin-body) .page-title-row .kicker {
  color: #dceeff;
}

body:not(.admin-body) .page-summary {
  color: #a7adba;
}

body:not(.admin-body) .search-filter-panel,
body:not(.admin-body) .directory-card,
body:not(.admin-body) .pagination a,
body:not(.admin-body) .pagination span {
  background: #fff;
  color: var(--ink);
}

body:not(.admin-body) .directory-card {
  min-height: 126px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

body:not(.admin-body) .directory-icon {
  color: var(--brand);
}

body:not(.admin-body) .directory-card strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

body:not(.admin-body) .directory-card small {
  color: var(--muted);
  font-size: 0.9rem;
}

body:not(.admin-body) .search-filter-panel label {
  color: var(--muted);
}

body:not(.admin-body) .search-filter-panel input,
body:not(.admin-body) .search-filter-panel select {
  color: var(--ink);
  background: #fff;
}

body:not(.admin-body) .search-filter-panel .ghost-button {
  color: var(--ink);
  background: #fff;
}

body:not(.admin-body) .station-grid .station-copy a,
body:not(.admin-body) .station-grid .station-copy strong {
  color: #f5f7fb;
}

body:not(.admin-body) .station-grid .station-copy span {
  color: #a7adba;
}

body:not(.admin-body) .station-page {
  background: #f5f7fb;
  color: var(--ink);
}

body:not(.admin-body) .station-hero-copy h1 {
  font-size: clamp(2.25rem, 4.6vw, 4.5rem);
  line-height: 1.02;
  color: #fff;
}

body:not(.admin-body) .station-info-panel,
body:not(.admin-body) .station-side-panel,
body:not(.admin-body) .station-ad-panel,
body:not(.admin-body) .station-player-card,
body:not(.admin-body) .station-player-dock {
  color: var(--ink);
}

body:not(.admin-body) .station-info-panel h2,
body:not(.admin-body) .station-side-panel h3,
body:not(.admin-body) .station-ad-panel h3,
body:not(.admin-body) .station-player-copy strong,
body:not(.admin-body) .dock-station strong {
  color: var(--ink);
}

body:not(.admin-body) .station-info-panel p,
body:not(.admin-body) .info-list dd {
  color: #2a2f45;
}

body:not(.admin-body) .info-list dt,
body:not(.admin-body) .station-player-copy span,
body:not(.admin-body) .dock-station span {
  color: var(--muted);
}

body:not(.admin-body) .station-ad-panel .kicker {
  color: var(--muted);
}

body:not(.admin-body) .station-player-dock {
  background: rgba(255, 255, 255, 0.96);
}

body:not(.admin-body) .site-footer {
  background: #1b1f3a;
  color: rgba(245, 247, 251, 0.58);
}

@media (max-width: 860px) {
  body:not(.admin-body) .site-header {
    min-height: 88px;
    background: linear-gradient(90deg, #222832, #11151d);
  }

  body:not(.admin-body) .brand {
    padding: 4px 8px;
    border-radius: 8px;
  }

  body:not(.admin-body) .brand img {
    width: 150px;
    max-height: 58px;
  }

  body:not(.admin-body) .content-page h1,
  body:not(.admin-body) .station-hero-copy h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  body:not(.admin-body) .directory-card strong {
    font-size: 1rem;
  }
}

.seasonal-banner {
  position: relative;
  z-index: 7;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 11px clamp(18px, 4vw, 48px);
  color: #fff;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.seasonal-banner strong {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.theme-pride {
  --brand: #7c3cff;
  --brand-dark: #17112f;
  --warm: #ffcf3f;
  --pride-rainbow: linear-gradient(135deg, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787);
  --pride-rainbow-soft: linear-gradient(135deg, rgba(228, 3, 3, 0.82), rgba(255, 140, 0, 0.82), rgba(255, 237, 0, 0.76), rgba(0, 128, 38, 0.82), rgba(0, 77, 255, 0.82), rgba(117, 7, 135, 0.86));
}

body.theme-pride:not(.admin-body) {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 140, 0, 0.14), transparent 30rem),
    radial-gradient(circle at 84% 8%, rgba(117, 7, 135, 0.2), transparent 32rem),
    linear-gradient(180deg, #11141b 0%, #0f1117 100%);
}

body.theme-pride .site-header,
body.theme-pride.home-page .site-header,
body.theme-pride:not(.admin-body) .site-header {
  background:
    linear-gradient(90deg, rgba(8, 10, 18, 0.78), rgba(8, 10, 18, 0.72)),
    var(--pride-rainbow-soft),
    linear-gradient(90deg, #17112f, #10131d) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

body.theme-pride::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 4;
  height: 5px;
  pointer-events: none;
  background: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787);
}

body.theme-pride .seasonal-banner {
  min-height: 76px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 237, 0, 0.46), transparent 16rem),
    linear-gradient(180deg, rgba(16, 19, 29, 0.4), rgba(16, 19, 29, 0.14)),
    linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787);
  color: #fff;
  text-shadow: 0 1px 2px rgba(4, 7, 14, 0.35);
}

body.theme-pride .seasonal-banner::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -78px;
  z-index: -1;
  width: min(760px, 92vw);
  height: 150px;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background:
    linear-gradient(180deg,
      #e40303 0 15%,
      #ff8c00 15% 30%,
      #ffed00 30% 45%,
      #008026 45% 60%,
      #004dff 60% 75%,
      #750787 75% 90%,
      transparent 90% 100%);
  filter: drop-shadow(0 -10px 24px rgba(255, 255, 255, 0.24));
  opacity: 0.92;
}

body.theme-pride .seasonal-banner::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  z-index: -1;
  width: 56px;
  height: 34px;
  transform: translateX(-50%) rotate(-8deg);
  border-radius: 4px;
  background: linear-gradient(180deg, #e40303 0 16.66%, #ff8c00 16.66% 33.33%, #ffed00 33.33% 50%, #008026 50% 66.66%, #004dff 66.66% 83.33%, #750787 83.33%);
  box-shadow: 92px 8px 0 rgba(255, 255, 255, 0.16), -92px 8px 0 rgba(255, 255, 255, 0.16);
  opacity: 0.72;
}

body.theme-pride .station-art,
body.theme-pride .home-logo-card,
body.theme-pride .home-station-card img,
body.theme-pride .station-logo-large,
body.theme-pride .radio-detail > img,
body.theme-pride .podcast-public-card img {
  box-sizing: border-box;
  border: 3px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--pride-rainbow) border-box;
  box-shadow:
    0 14px 32px rgba(124, 60, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 26px rgba(25, 199, 232, 0.14);
}

body.theme-pride .station-art img {
  border-radius: 5px;
}

body.theme-pride .home-station-card a:hover img,
body.theme-pride .station-card:hover .station-art,
body.theme-pride .home-logo-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(124, 60, 255, 0.24),
    0 0 32px rgba(255, 207, 63, 0.18);
}

body.theme-pride .directory-card,
body.theme-pride .homepage-station-card,
body.theme-pride .podcast-public-card,
body.theme-pride .category-card,
body.theme-pride .static-content-card,
body.theme-pride .reward-summary,
body.theme-pride .reward-meter-card,
body.theme-pride .reward-cash-card,
body.theme-pride .reward-withdrawal-form,
body.theme-pride .withdrawal-row,
body.theme-pride .reward-badge {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--pride-rainbow) border-box;
  box-shadow: 0 16px 34px rgba(124, 60, 255, 0.16);
}

body.theme-pride .station-player-dock {
  border-top: 4px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--pride-rainbow) border-box;
}

body.theme-pride .primary-button,
body.theme-pride button[type="submit"] {
  background: var(--pride-rainbow);
  border-color: transparent;
}

body.theme-canada-day {
  --brand: #d71920;
  --brand-dark: #14151d;
  --warm: #ffffff;
}

body.theme-canada-day .site-header,
body.theme-canada-day.home-page .site-header,
body.theme-canada-day:not(.admin-body) .site-header {
  background:
    linear-gradient(90deg, #d71920 0 18%, #ffffff 18% 24%, #14151d 24% 76%, #ffffff 76% 82%, #d71920 82% 100%) !important;
  border-bottom: 1px solid rgba(215, 25, 32, 0.34);
}

body.theme-canada-day .seasonal-banner {
  background: linear-gradient(90deg, #d71920, #8f1015);
}

body.theme-canada-day .seasonal-banner::before,
body.theme-canada-day .seasonal-banner::after {
  content: "CANADA";
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
}

body.theme-canada-day .station-card,
body.theme-canada-day .homepage-station-card,
body.theme-canada-day .podcast-public-card,
body.theme-canada-day .category-card,
body.theme-canada-day .static-content-card {
  border-color: rgba(215, 25, 32, 0.28);
  box-shadow: 0 16px 34px rgba(215, 25, 32, 0.12);
}

body.theme-canada-day .primary-button,
body.theme-canada-day button[type="submit"] {
  background: #d71920;
  border-color: #d71920;
}

body.theme-custom-event {
  --brand: var(--seasonal-primary, #7c3cff);
  --brand-dark: #10131d;
  --warm: var(--seasonal-secondary, #19c7e8);
}

body.theme-custom-event .site-header,
body.theme-custom-event.home-page .site-header,
body.theme-custom-event:not(.admin-body) .site-header {
  background:
    linear-gradient(90deg, var(--seasonal-primary, #7c3cff), var(--seasonal-secondary, #19c7e8)) !important;
}

body.theme-custom-event .seasonal-banner {
  background: linear-gradient(90deg, var(--seasonal-primary, #7c3cff), var(--seasonal-secondary, #19c7e8));
}

body.theme-custom-event .station-card,
body.theme-custom-event .homepage-station-card,
body.theme-custom-event .podcast-public-card,
body.theme-custom-event .category-card,
body.theme-custom-event .static-content-card {
  border-color: var(--seasonal-primary, #7c3cff);
}

@media (max-width: 760px) {
  .seasonal-banner {
    gap: 6px;
    padding: 9px 16px;
    font-size: 0.82rem;
  }

  body.theme-canada-day .seasonal-banner::before,
  body.theme-canada-day .seasonal-banner::after {
    display: none;
  }
}
