:root {
  --primary: #347928;
  --primary-deep: #173f1b;
  --secondary: #79e536;
  --tertiary: #fccd2a;
  --neutral: #ffffff;
  --live-accent: #79e536;
  --font-body:
    "Lora", Georgia, "Times New Roman", serif;
  --font-heading:
    "Poppins", "Segoe UI", "Aptos", sans-serif;
  --content-max: 1800px;
  --content-gutter: clamp(18px, 3.35vw, 64px);
  --content-width: min(
    var(--content-max),
    calc(100% - var(--content-gutter) - var(--content-gutter))
  );
  --home-card-height: 376px;
  --page-pad: clamp(18px, 4vw, 52px);
  --focus: rgba(252, 205, 42, 0.72);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #000000;
  --canvas-strong: #000000;
  --surface: #0b0f0d;
  --surface-solid: #0b0f0d;
  --surface-soft: #0b0f0d;
  --surface-inverted: #f8fbf4;
  --text: #f7fff1;
  --text-strong: #ffffff;
  --muted: #bdcbb8;
  --muted-strong: #dce8d6;
  --border: rgba(192, 235, 166, 0.14);
  --border-strong: rgba(192, 235, 166, 0.24);
  --header-bg: rgba(0, 0, 0, 0.86);
  --hero-start: #000000;
  --hero-end: #000000;
  --hero-fade: rgba(0, 0, 0, 0.98);
  --hero-image-opacity: 0.9;
  --card-shadow: none;
  --soft-shadow: none;
  --drawer-bg: #0b0f0d;
  --drawer-text: #edf8e8;
  --drawer-title: #ffffff;
  --drawer-muted: #bdcbb8;
  --drawer-accent: #79e536;
  --drawer-border: rgba(121, 229, 54, 0.18);
  --drawer-divider: rgba(121, 229, 54, 0.16);
  --drawer-soft: rgba(121, 229, 54, 0.12);
  --drawer-card: #0f1512;
  --drawer-icon-bg: rgba(121, 229, 54, 0.12);
  --drawer-pattern: #79e536;
  --drawer-shadow: -22px 0 52px rgba(0, 0, 0, 0.46);
  --drawer-button-bg: rgba(255, 255, 255, 0.04);
  --drawer-button-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  --drawer-theme-bg: #11130f;
  --drawer-theme-text: #fff2bd;
  --drawer-theme-border: rgba(252, 205, 42, 0.28);
}

:root[data-theme="light"] {
  color-scheme: light;
  --canvas: #f8fafc;
  --canvas-strong: #f8fafc;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-soft: #ffffff;
  --surface-inverted: #102114;
  --text: #334155;
  --text-strong: #0f172a;
  --muted: #64748b;
  --muted-strong: #475569;
  --border: #e2e8f0;
  --border-strong: #dbe3ee;
  --header-bg: rgba(248, 250, 252, 0.84);
  --hero-start: #f8fafc;
  --hero-end: #f8fafc;
  --hero-fade: rgba(248, 250, 252, 0.96);
  --hero-image-opacity: 0.74;
  --card-shadow: none;
  --soft-shadow: none;
  --drawer-bg: #ffffff;
  --drawer-text: #243224;
  --drawer-title: #172316;
  --drawer-muted: #526154;
  --drawer-accent: #347928;
  --drawer-border: rgba(52, 121, 40, 0.1);
  --drawer-divider: rgba(52, 121, 40, 0.14);
  --drawer-soft: #edf5e7;
  --drawer-card: #eef6e8;
  --drawer-icon-bg: #ffffff;
  --drawer-pattern: #79e536;
  --drawer-shadow: -22px 0 52px rgba(0, 0, 0, 0.24);
  --drawer-button-bg: #ffffff;
  --drawer-button-shadow: 0 8px 22px rgba(23, 63, 27, 0.06);
  --drawer-theme-bg: linear-gradient(180deg, #fff6d7, #ffe58a);
  --drawer-theme-text: #2c2104;
  --drawer-theme-border: rgba(252, 205, 42, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.main-nav,
.nav-actions,
.eyebrow,
.badge,
.listen-btn,
.schedule-btn,
.ghost-btn,
.solid-btn,
.install-card,
.panel-head a,
.tag-list a,
.radio-pill,
.radio-reply-btn {
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.rhn-fa-icon {
  display: block;
  width: 1em;
  height: 1em;
  color: currentColor;
  font-size: 1em;
  line-height: 1;
  text-align: center;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.nav-toggle .rhn-fa-icon,
.icon-btn .rhn-fa-icon {
  font-size: 20px;
}

.ghost-btn .rhn-fa-icon,
.solid-btn .rhn-fa-icon,
.install-card .rhn-fa-icon {
  font-size: 17px;
}

.listen-btn .rhn-fa-icon,
.schedule-btn .rhn-fa-icon {
  font-size: 21px;
}

.stat-icon .rhn-fa-icon,
.feature-icon .rhn-fa-icon {
  font-size: 20px;
}

.play-main .rhn-fa-icon {
  font-size: 34px;
}

.small-icon .rhn-fa-icon {
  font-size: 18px;
}

.volume .rhn-fa-icon {
  font-size: 22px;
}

.title-with-icon h2 .rhn-fa-icon,
.program-card .rhn-fa-icon,
.contact .rhn-fa-icon,
.contact-list .rhn-fa-icon,
.channel-list .rhn-fa-icon,
.stream-info .rhn-fa-icon,
.radio-pill .rhn-fa-icon,
.radio-outline-btn .rhn-fa-icon,
.radio-icon-btn .rhn-fa-icon,
.radio-player-meta .rhn-fa-icon,
.radio-chat-form .rhn-fa-icon,
.radio-stream-card .rhn-fa-icon {
  color: currentColor;
}

.radio-play-btn .rhn-fa-icon {
  font-size: 26px;
}

::selection {
  color: #102114;
  background: var(--tertiary);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  display: none; /* hilangkan semua tampilan skip link */
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, var(--canvas-strong) 0, var(--canvas) 360px),
    var(--canvas);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 9px var(--page-pad);
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 124px;
  min-width: 116px;
}

.brand img {
  width: 124px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

.nav-drawer {
  display: contents;
}

.drawer-head,
.nav-backdrop {
  display: none;
}

.nav-link-icon {
  display: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 15px;
  color: var(--muted-strong);
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-strong);
  background: var(--surface-soft);
}

.main-nav a.active {
  box-shadow: inset 0 0 0 1px var(--border);
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-auth-tablet {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.account-menu {
  position: relative;
  min-width: 0;
}

.account-menu__button {
  min-height: 44px;
  max-width: min(260px, 24vw);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px 4px 5px;
  color: var(--text-strong);
  background: var(--surface);
  box-shadow: none;
  cursor: pointer;
}

.account-avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  color: #102114;
  background: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.account-menu__identity {
  min-width: 0;
  display: grid;
  gap: 1px;
  text-align: left;
}

.account-menu__identity strong,
.account-menu__identity small {
  max-width: 138px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__identity strong {
  color: var(--text-strong);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.1;
}

.account-menu__identity small {
  color: var(--muted-strong);
  font-size: 0.72rem;
  line-height: 1.1;
}

.account-menu__button > .rhn-fa-icon,
.account-menu__button > svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.account-menu__button[aria-expanded="true"] > .rhn-fa-icon,
.account-menu__button[aria-expanded="true"] > svg {
  transform: rotate(90deg);
}

.account-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  width: min(220px, calc(100vw - 28px));
  display: grid;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  background: var(--surface-solid);
  box-shadow: var(--card-shadow);
}

.account-menu__dropdown[hidden] {
  display: none;
}

.account-menu__dropdown a {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 500;
}

.account-menu__dropdown a:hover,
.account-menu__dropdown a:focus-visible {
  color: var(--text-strong);
  background: var(--surface-soft);
}

.account-menu__dropdown a.is-danger {
  color: #dc2626;
}

.account-menu__dropdown .rhn-fa-icon,
.account-menu__dropdown svg {
  width: 16px;
  height: 16px;
}

.nav-toggle,
.icon-btn,
.small-icon,
.social-icons a {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--text-strong);
  background: var(--surface);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-toggle svg,
.nav-toggle .rhn-fa-icon,
.icon-btn svg,
.icon-btn .rhn-fa-icon {
  width: 20px;
  height: 20px;
}

.nav-toggle .close-icon,
.nav-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.nav-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.icon-btn:hover,
.nav-toggle:hover,
.social-icons a:hover {
  border-color: var(--border-strong);
  color: var(--tertiary);
}

.icon-btn:hover,
.nav-toggle:hover,
.social-icons a:hover {
  transform: translateY(-1px);
  box-shadow: var(--soft-shadow);
}

.theme-toggle .moon-icon {
  display: none;
}

.theme-toggle-label {
  display: none;
}

:root[data-theme="light"] .theme-toggle .sun-icon {
  display: none;
}

:root[data-theme="light"] .theme-toggle .moon-icon {
  display: block;
}

.ghost-btn,
.solid-btn,
.listen-btn,
.schedule-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 17px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.ghost-btn {
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  background: var(--surface);
}

.solid-btn,
.listen-btn {
  border: 0;
  color: #102114;
  background: linear-gradient(180deg, #ffe37a, var(--tertiary));
  box-shadow: 0 12px 26px rgba(252, 205, 42, 0.24);
}

.ghost-btn svg,
.ghost-btn .rhn-fa-icon,
.solid-btn svg,
.solid-btn .rhn-fa-icon {
  width: 17px;
  height: 17px;
}

.ghost-btn:hover,
.schedule-btn:hover,
.install-card:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  color: var(--text-strong);
  box-shadow: var(--soft-shadow);
}

.solid-btn:hover,
.listen-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04) saturate(1.08);
  box-shadow: 0 15px 30px rgba(252, 205, 42, 0.3);
}

.install-card {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--text-strong);
  background: var(--surface);
  font-weight: 500;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.install-card svg,
.install-card .rhn-fa-icon {
  width: 18px;
  height: 18px;
}

.install-card small {
  display: none;
}

.install-btn[hidden] {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 548px;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(380px, 1fr);
  align-items: center;
  gap: 36px;
  overflow: hidden;
  padding: 46px var(--page-pad) 58px;
  background: linear-gradient(120deg, var(--hero-start), var(--hero-end));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-strong),
    transparent
  );
}

.hero-art {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: min(68%, 920px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-art img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 0 34px rgba(121, 229, 54, 0.18))
    drop-shadow(0 18px 42px rgba(0, 0, 0, 0.42));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 540px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin: 0 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted-strong);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 500;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--tertiary);
  box-shadow: 0 0 0 4px rgba(252, 205, 42, 0.16);
}

.hero h1 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: 5.6rem;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  color: var(--live-accent);
  font-size: 3.2rem;
  line-height: 0.95;
  overflow-wrap: normal;
}

:root[data-theme="light"] .hero h1 span {
  color: var(--primary);
}

.hero-copy > p:not(.eyebrow) {
  max-width: min(500px, 100%);
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: normal;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

/* Hero cards layout (Pendengar / Bitrate / Streaming Live) - responsive only */
@media (max-width: 760px) {
  .home-page .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .home-page .hero-stats .stat {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--soft-shadow);
    padding: 10px;
    min-height: 88px;
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .home-page .hero-stats .stat-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 999px;
  }

  .home-page .hero-stats .stat strong {
    font-size: 0.86rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    font-weight: 500;
  }

  .home-page .hero-stats .stat span:last-child {
    gap: 4px;
    font-size: 0.74rem;
    line-height: 1.1;
    overflow: hidden;
  }

  .home-page .hero-stats .stat span:last-child {
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .home-page .hero-stats .stat span:last-child * {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: normal;
  }
}

.stat {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  background: var(--surface);
}

.stat-icon {
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(192, 235, 166, 0.24);
}

:root[data-theme="dark"] .stat-icon {
  color: var(--secondary);
}

.stat-icon svg {
  width: 19px;
  height: 19px;
}

.stat span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.15;
}

.stat strong {
  overflow-wrap: anywhere;
  color: var(--text-strong);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.listen-btn,
.schedule-btn {
  min-width: 190px;
  min-height: 48px;
  border-radius: 8px;
  font-size: 1rem;
}

.schedule-btn {
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  background: var(--surface);
}

.listen-btn svg,
.listen-btn .rhn-fa-icon,
.schedule-btn svg,
.schedule-btn .rhn-fa-icon {
  width: 21px;
  height: 21px;
}

.player-panel,
.panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.player-panel {
  position: relative;
  z-index: 4;
  width: min(1280px, calc(100% - 36px));
  min-height: 104px;
  display: grid;
  grid-template-columns:
    minmax(250px, 320px) minmax(180px, 1fr) 76px minmax(220px, 300px)
    minmax(150px, 180px);
  align-items: center;
  gap: 18px;
  margin: -24px auto 22px;
  padding: 12px 18px;
}

.track-info {
  min-width: 0;
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 16px;
}

.track-info img {
  width: 104px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
}

.badge {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  border-radius: 6px;
  padding: 0 8px;
  color: #102114;
  background: var(--tertiary);
  font-size: 0.7rem;
  font-weight: 500;
}

.badge span {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--live-accent);
}

/* Force ON AIR badge dot to use a single solid accent (no gradients) */
:root[data-theme="light"] .badge span,
:root[data-theme="dark"] .badge span {
  background: #3f9e22;
}

.badge small {
  display: inline-grid;
  place-items: center;
  color: rgba(16, 33, 20, 0.78);
  font-size: 0.75rem;
}

.badge small .rhn-fa-icon {
  width: 1em;
  height: 1em;
  font-size: 0.72rem;
}

.track-info h2 {
  margin: 8px 0 2px;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: 1.38rem;
  font-weight: 500;
  line-height: 1.05;
}

.track-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.waveform {
  min-width: 0;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
}

.waveform i {
  flex: 0 0 3px;
  width: 3px;
  height: calc(var(--h) * 1px);
  min-height: 5px;
  border-radius: 999px;
  background: #79e536;
}

.audio-spectrum--circle {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
}

.audio-spectrum--circle canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: min(220px, 100%);
  height: min(220px, 100%);
}

.play-main {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(252, 205, 42, 0.72);
  border-radius: 999px;
  color: #102114;
  background: linear-gradient(180deg, #ffe37a, var(--tertiary));
  box-shadow: var(--soft-shadow);
}

.play-main svg,
.play-main .rhn-fa-icon {
  width: 34px;
  height: 34px;
  fill: currentColor;
  stroke-width: 0;
}

.play-main .pause-symbol,
.play-main.playing .play-symbol {
  display: none;
}

.play-main.playing .pause-symbol {
  display: block;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.small-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
}

.small-icon svg,
.small-icon .rhn-fa-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke-width: 0;
}

.volume {
  display: flex;
  align-items: center;
  gap: 12px;
}

.volume svg,
.volume .rhn-fa-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke-width: 0;
}

.volume input {
  width: 118px;
  accent-color: var(--tertiary);
}

.player-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 54px;
  border-left: 1px solid var(--border);
}

.player-metrics div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding-left: 18px;
}

.player-metrics div + div {
  border-left: 1px solid var(--border);
}

.player-metrics strong {
  color: var(--text-strong);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
}

.player-metrics span {
  color: var(--muted);
  font-size: 0.78rem;
}

.content-grid,
.lower-grid {
  width: min(1280px, calc(100% - 36px));
  display: grid;
  gap: 18px;
  margin-inline: auto;
}

.content-grid {
  grid-template-columns: minmax(0, 1.48fr) minmax(270px, 0.88fr) minmax(
      280px,
      0.98fr
    );
  align-items: start;
}

.panel {
  padding: 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel h2,
.site-footer h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
}

.panel-head a {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

:root[data-theme="dark"] .panel-head a {
  color: var(--secondary);
}

.panel-head a:hover,
.panel-head a:focus-visible {
  transform: translateY(-1px);
  color: var(--tertiary);
}

.title-with-icon h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.title-with-icon h2 svg,
.title-with-icon h2 .rhn-fa-icon {
  width: 21px;
  height: 21px;
  color: var(--primary);
}

:root[data-theme="dark"] .title-with-icon h2 svg,
:root[data-theme="dark"] .title-with-icon h2 .rhn-fa-icon {
  color: var(--secondary);
}

.program-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.program-card,
.news-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.program-card:hover,
.news-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--soft-shadow);
}

.program-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 91px 1fr;
}

.program-card img {
  width: 100%;
  height: 91px;
  object-fit: cover;
}

.program-card div {
  position: relative;
  min-height: 92px;
  padding: 12px 28px 12px 10px;
}

.program-card h3 {
  min-height: 32px;
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.program-card svg,
.program-card .rhn-fa-icon {
  position: absolute;
  top: 13px;
  right: 9px;
  width: 17px;
  height: 17px;
  color: var(--primary);
}

.home-page .program-card--wide {
  /* full-width card */
  grid-column: 1 / -1;
  grid-template-columns: none;
  grid-template-rows: 91px 1fr;
  min-height: 0;
  height: 100%;
}

.home-page .program-card--wide img {
  width: 100%;
  height: 91px;
  min-height: 0;
  object-fit: cover;
}

.home-page .program-card--wide div {
  min-height: 92px;
  padding: 12px 28px 12px 10px;
}

.home-page .program-card--wide h3 {
  min-height: 32px;
  margin: 0 0 10px;
  font-size: 0.85rem;
}

.program-card--wide p,
.program-card--wide span {
  line-height: 1.35;
}

.program-card p,
.program-card span {
  display: none;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Program card: day/time styling */
.program-card__day {
  display: none;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}
.program-card__time {
  display: none;
  color: var(--text-strong);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 6px;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-list li {
  min-height: 29px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding: 4px 8px;
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.schedule-list li:last-child {
  border-bottom: 0;
}

.schedule-list time {
  color: var(--text-strong);
  font-weight: 500;
}

.schedule-list small {
  border-radius: 999px;
  padding: 4px 8px;
  color: #102114;
  background: var(--tertiary);
  font-size: 0.63rem;
  font-weight: 500;
}

.schedule-list .now {
  border-radius: 6px;
  border-bottom-color: transparent;
  background: rgba(252, 205, 42, 0.13);
}

.news-list {
  display: grid;
  gap: 10px;
}

.news-card {
  min-height: 68px;
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 13px;
  padding: 6px 12px 6px 6px;
}

.news-card img {
  width: 104px;
  height: 56px;
  border-radius: 7px;
  object-fit: cover;
}

/* Pastikan gambar news-card tidak keluar dari card */
.news-card {
  overflow: hidden;
}

.news-card span {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.news-card strong {
  color: var(--text-strong);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
}

.news-card time {
  color: var(--muted);
  font-size: 0.75rem;
}

.lower-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  margin-top: 18px;
}

.about-panel {
  position: relative;
  min-height: 0;
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.about-panel .panel-head,
.about-panel__body {
  position: relative;
  z-index: 1;
}

.about-panel__body {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 92px;
}

.about-copy {
  display: grid;
  gap: 0.8rem;
}

.about-panel p,
.newsletter p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.mosque-mark {
  position: absolute;
  left: clamp(10px, 2.4vw, 28px);
  bottom: clamp(10px, 1.8vw, 20px);
  z-index: 0;
  width: clamp(118px, 15vw, 190px);
  height: clamp(96px, 12vw, 148px);
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.16;
  pointer-events: none;
}

.mosque-mark::before,
.mosque-mark::after {
  display: none;
}

.mosque-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(1.05);
}

:root[data-theme="light"] .mosque-mark {
  opacity: 0.11;
}

.newsletter {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px;
}

.newsletter > div {
  width: 100%;
  text-align: left;
}

.newsletter > div h2,
.newsletter > div p {
  width: 100%;
  text-align: left;
}

.newsletter > div h2 {
  margin-bottom: 10px;
}

.newsletter form {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: stretch;
}

.newsletter input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border-strong);
  flex: 1 1 auto;
  min-width: 0;

  border-radius: 8px;
  padding: 0 16px;
  color: var(--text-strong);
  background: var(--surface-solid);
  outline: 0;
}

.newsletter input::placeholder {
  color: var(--muted);
}

.newsletter .solid-btn {
  min-height: 48px;
  border-radius: 8px;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--primary);
  font-weight: 500;
}

:root[data-theme="dark"] .form-status {
  color: var(--secondary);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.02fr 1.14fr 0.9fr 1.08fr;
  gap: 34px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding: 26px var(--page-pad) 28px;
  color: var(--muted);
  background: linear-gradient(
    180deg,
    var(--surface-solid),
    var(--canvas-strong)
  );
}

.footer-brand img {
  width: 138px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  margin: 8px 0 0;
  font-size: 0.8rem;
}

.footer-col {
  min-width: 0;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.site-footer h2 {
  margin-bottom: 13px;
  font-size: 0.88rem;
}

.contact p {
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  font-size: 0.8rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact svg,
.contact .rhn-fa-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--primary);
}

:root[data-theme="dark"] .contact svg,
:root[data-theme="dark"] .contact .rhn-fa-icon {
  color: var(--secondary);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.social-icons a {
  width: 42px;

  height: 42px;
  border-radius: 8px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.social-icons svg,
.social-icons .rhn-fa-icon {
  width: 23px;
  height: 23px;
}

.listen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.listen-grid a {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.listen-grid svg,
.listen-grid .rhn-fa-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  padding: 10px;
  color: var(--text-strong);
  background: var(--surface-soft);
  font-size: 20px;
  line-height: 1;
}

/* Hover/focus for listen/social icons to match 'orange' theme */
.listen-grid a:hover svg,
.listen-grid a:hover .rhn-fa-icon,
.listen-grid a:focus svg,
.listen-grid a:focus .rhn-fa-icon {
  color: var(--tertiary);
  background: color-mix(in srgb, var(--tertiary) 10%, var(--surface-soft));
}

.listen-grid a:hover,
.listen-grid a:focus {
  transform: translateY(-1px);
  color: var(--text-strong);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: auto auto 1fr;
  }

  .brand {
    width: 112px;
    min-width: 108px;
  }

  .brand img {
    width: 112px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    background: var(--surface-solid);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: flex-start;
  }

  .nav-actions {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    width: min(82%, 760px);
    opacity: 0.4;
  }

  .player-panel {
    grid-template-columns: minmax(250px, 320px) minmax(160px, 1fr) 74px;
  }

  .player-controls,
  .player-metrics {
    display: none;
  }

  .content-grid,
  .lower-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-col {
    padding-left: 0;
    border-left: 0;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .topbar {
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
    min-height: 74px;
    overflow: visible;
  }

  .nav-auth-tablet {
    display: flex;
    grid-column: 3;
  }

  .nav-auth-tablet .ghost-btn,
  .nav-auth-tablet .solid-btn {
    min-height: 42px;
    border-radius: 999px;
    padding-inline: 15px;
    font-size: 0.88rem;
  }

  .nav-toggle {
    position: static;
    grid-column: 4;
    justify-self: end;
    width: 42px;
    height: 42px;
    border-color: rgba(252, 178, 20, 0.42);
    color: #201600;
    background: linear-gradient(180deg, #ffe177, #fccd2a);
    box-shadow: 0 10px 24px rgba(252, 173, 20, 0.24);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 990;
    display: block;
    border: 0;
    background: rgba(3, 9, 4, 0.56);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 260ms ease,
      visibility 260ms ease;
  }

  .nav-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1000;
    width: min(360px, calc(100vw - 42px));
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--drawer-border);
    border-right: 0;
    border-radius: 18px 0 0 18px;
    padding: 26px 18px 18px;
    color: var(--drawer-text);
    background: var(--drawer-bg);
    box-shadow: var(--drawer-shadow);
    overflow: hidden;
    transform: translateX(104%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 320ms ease;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open .nav-drawer,
  .topbar:has(.nav-toggle[aria-expanded="true"]) .nav-drawer {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .topbar:has(.nav-toggle[aria-expanded="true"]) .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .drawer-head {
    display: grid;
    gap: 2px;
    padding-bottom: 8px;
  }

  .drawer-logo {
    width: 48px;
    height: auto;
  }

  .drawer-title {
    color: var(--drawer-title);
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 600;
  }

  .drawer-subtitle {
    color: var(--drawer-muted);
    font-size: 0.72rem;
    font-weight: 500;
  }

  .nav-drawer .main-nav {
    display: grid !important;
    grid-column: auto;
    gap: 7px;
    width: 100%;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .nav-drawer .main-nav a {
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 8px;
    padding: 0 12px;
    color: var(--drawer-text);
    font-size: 0.82rem;
  }

  .nav-drawer .main-nav a:hover,
  .nav-drawer .main-nav a.active {
    color: var(--drawer-accent);
    background: var(--drawer-soft);
    box-shadow: inset 0 0 0 1px var(--drawer-border);
  }

  .nav-drawer .nav-link-icon {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
  }

  .nav-drawer .nav-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 2px;
    border-top: 1px solid var(--drawer-divider);
    padding-top: 14px;
    background: transparent;
  }

  .nav-drawer .nav-actions .ghost-btn,
  .nav-drawer .nav-actions .solid-btn {
    display: none;
  }

  .nav-drawer .nav-actions .theme-toggle,
  .nav-drawer .nav-actions .install-card {
    width: 100%;
    justify-content: flex-start;
    border-radius: 8px;
  }

  .nav-drawer .account-menu,
  .nav-drawer .account-menu__button {
    width: 100%;
    max-width: none;
  }

  .nav-drawer .account-menu__button {
    justify-content: flex-start;
    border-radius: 8px;
    padding: 7px 10px;
  }

  .nav-drawer .account-menu__identity {
    flex: 1 1 auto;
  }

  .nav-drawer .account-menu__dropdown {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }

  .nav-drawer .theme-toggle-label {
    display: block;
  }

  .site-footer {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px 28px;
  }

  .footer-brand,
  .footer-col.contact {
    min-height: 0;
  }

  .footer-col.contact p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 7px 0;
    line-height: 1.25;
  }

  .footer-col.social,
  .footer-col.listen {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 18px;
  }

  .home-page .hero-stats .stat {
    height: 104px;
  }

  .home-page .hero-stats .stat strong {
    font-size: 0.86rem;
  }

  .home-page .hero-stats .stat span:last-child {
    font-size: 0.74rem;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding-block: 8px;
    padding-right: 70px;
    overflow: visible;
  }

  .brand {
    grid-column: 1;
    width: 104px;
    min-width: 104px;
  }

  .brand img {
    width: 104px;
  }

  .nav-toggle {
    position: fixed;
    top: 16px;
    right: 14px;
    display: inline-grid;
    z-index: 1002;
    width: 40px;
    height: 40px;
    border-color: rgba(252, 178, 20, 0.42);
    color: #201600;
    background: linear-gradient(180deg, #ffe177, #fccd2a);
    box-shadow: 0 10px 24px rgba(252, 173, 20, 0.32);
    margin-top: 0;
  }

  .topbar > button.nav-toggle[data-nav-toggle] {
    display: inline-grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 990;
    display: block;
    border: 0;
    background: rgba(3, 9, 4, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 260ms ease,
      visibility 260ms ease;
  }

  .nav-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1000;
    width: min(306px, calc(100vw - 34px));
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid var(--drawer-border);
    border-right: 0;
    border-radius: 18px 0 0 18px;
    padding: 40px 16px 16px;
    color: var(--drawer-text);
    background: var(--drawer-bg);
    box-shadow: var(--drawer-shadow);
    overflow: hidden;
    transform: translateX(104%);
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 320ms ease;
    will-change: transform;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open .nav-drawer,
  .topbar:has(.nav-toggle[aria-expanded="true"]) .nav-drawer {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .topbar:has(.nav-toggle[aria-expanded="true"]) .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .drawer-head {
    position: relative;
    display: grid;
    gap: 2px;
    padding: 0 54px 7px 2px;
  }

  .drawer-head::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 13px;
    width: 56px;
    height: 56px;
    opacity: 0.16;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none'%3E%3Cpath d='M14 4 28 12 42 4M14 20 28 12 42 20M14 20v16l14 8 14-8V20M0 28l14-8M56 28l-14-8M0 44l14-8M56 44l-14-8' stroke='%2379e536' stroke-width='1'/%3E%3C/svg%3E")
      center / contain no-repeat;
    pointer-events: none;
  }

  .drawer-logo {
    width: 42px;
    height: auto;
    margin-bottom: 6px;
  }

  .drawer-title {
    color: var(--drawer-title);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.15;
  }

  .drawer-subtitle {
    color: var(--drawer-muted);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: 0;
    text-transform: none;
  }

  .nav-drawer .main-nav {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    grid-column: auto;
    order: initial;
    flex: 0 0 auto;
    gap: 6px;
    width: 100%;
    justify-content: stretch;
    justify-items: stretch;
    align-items: stretch;
    margin-top: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    transition: none;
  }

  .nav-drawer .main-nav.is-open {
    display: grid !important;
  }

  .nav-drawer .main-nav a {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    border-radius: 8px;
    gap: 12px;
    padding: 0 11px;
    color: var(--drawer-text);
    font-size: 0.78rem;
    font-weight: 500;
  }

  .nav-drawer .main-nav a:hover,
  .nav-drawer .main-nav a.active {
    color: var(--drawer-accent);
    background: var(--drawer-soft);
    box-shadow: inset 0 0 0 1px var(--drawer-border);
    font-weight: 500;
  }

  .nav-drawer .nav-link-icon {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    color: currentColor;
  }

  .nav-drawer .nav-link-icon svg,
  .nav-drawer .nav-link-icon .rhn-fa-icon {
    width: 17px;
    height: 17px;
  }

  .nav-drawer .nav-actions {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    grid-column: auto;
    order: initial;
    flex: 0 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    margin-top: 4px;
    border: 0;
    border-top: 1px solid var(--drawer-divider);
    border-radius: 0;
    padding: 14px 0 0;
    background: transparent;
    transition: none;
  }

  .nav-drawer .nav-actions .icon-btn,
  .nav-drawer .nav-actions .ghost-btn,
  .nav-drawer .nav-actions .solid-btn,
  .nav-drawer .nav-actions .install-card {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border-radius: 8px;
  }

  .nav-drawer .nav-actions .drawer-utility {
    display: inline-flex;
  }

  .nav-drawer .nav-actions .theme-toggle {
    order: 1;
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 11px;
    border: 1px solid var(--drawer-theme-border);
    padding-inline: 12px;
    color: var(--drawer-theme-text);
    background: var(--drawer-theme-bg);
    box-shadow: 0 8px 18px rgba(252, 205, 42, 0.16);
  }

  .nav-drawer .nav-actions .theme-toggle svg,
  .nav-drawer .nav-actions .theme-toggle .rhn-fa-icon {
    width: 18px;
    height: 18px;
  }

  .nav-drawer .theme-toggle-label {
    display: block;
    color: var(--drawer-theme-text);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1;
  }

  .nav-drawer .nav-actions .install-btn {
    order: 2;
    grid-column: 1 / -1;
  }

  .nav-drawer .nav-actions .ghost-btn:not(.install-btn) {
    order: 3;
  }

  .nav-drawer .nav-actions .solid-btn {
    order: 4;
  }

  .nav-drawer .nav-actions .install-card {
    justify-content: flex-start;
    gap: 11px;
    min-height: 56px;
    border: 1px solid var(--drawer-border);
    padding: 9px 11px;
    color: var(--drawer-text);
    background: var(--drawer-card);
    white-space: normal;
  }

  .nav-drawer .account-menu {
    grid-column: 1 / -1;
    order: 5;
    width: 100%;
  }

  .nav-drawer .account-menu__button {
    width: 100%;
    max-width: none;
    min-height: 48px;
    justify-content: flex-start;
    border-radius: 8px;
    padding: 7px 10px;
    color: var(--drawer-text);
    background: var(--drawer-card);
  }

  .nav-drawer .account-menu__identity {
    flex: 1 1 auto;
  }

  .nav-drawer .account-menu__identity strong {
    color: var(--drawer-title);
  }

  .nav-drawer .account-menu__identity small {
    color: var(--drawer-muted);
  }

  .nav-drawer .account-menu__dropdown {
    position: static;
    width: 100%;
    margin-top: 6px;
    border-color: var(--drawer-border);
    background: var(--drawer-card);
    box-shadow: none;
  }

  .install-card .install-icon {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--drawer-accent);
    background: var(--drawer-icon-bg);
  }

  .install-card span:last-child {
    display: grid;
    gap: 1px;
    min-width: 0;
    text-align: left;
  }

  .install-title {
    display: block;
    color: var(--drawer-accent);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.1;
  }

  .install-card small {
    display: block;
    color: var(--drawer-muted);
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.12;
    white-space: normal;
  }

  .nav-drawer .nav-actions .ghost-btn {
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--drawer-border);
    padding-inline: 13px;
    color: var(--drawer-text);
    background: var(--drawer-button-bg);
    box-shadow: var(--drawer-button-shadow);
  }

  .nav-drawer .nav-actions .solid-btn {
    justify-content: center;
    gap: 8px;
    padding-inline: 13px;
    color: #161000;
    background: linear-gradient(180deg, #ffdf63, var(--tertiary));
    box-shadow: 0 12px 24px rgba(252, 205, 42, 0.22);
  }

  .ghost-btn,
  .solid-btn {
    min-height: 42px;
    font-size: 0.8rem;
    font-weight: 500;
  }

  .hero {
    min-height: 610px;
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .hero-art {
    inset: auto -210px 0 auto;
    width: 720px;
    height: 100%;
    opacity: 0.22;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero h1 span {
    font-size: 2.05rem;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
    max-width: 34ch;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .listen-btn,
  .schedule-btn {
    width: 100%;
  }

  .player-panel {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    margin-top: -18px;
    padding: 14px;
  }

  .track-info {
    grid-template-columns: 86px 1fr;
  }

  .track-info img {
    width: 86px;
    height: 66px;
  }

  .waveform {
    justify-content: flex-start;
  }

  .play-main {
    justify-self: center;
  }

  .content-grid,
  .lower-grid {
    width: calc(100% - 28px);
  }

  .program-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter,
  .newsletter form,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .about-panel__body {
    grid-template-columns: 1fr;
  }

  .mosque-mark {
    min-height: 150px;
    box-shadow: none;
  }

  .mosque-mark::after {
    display: none;
  }

  .newsletter {
    padding: 16px;
  }

  .newsletter form {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter input {
    min-width: 0;
    width: 100%;
  }

  .newsletter .solid-btn {
    width: 100%;
  }

  .site-footer {
    padding: 24px 18px;
  }
}

@media (max-width: 440px) {
  .brand,
  .brand img {
    width: 98px;
    min-width: 98px;
  }

  .nav-drawer {
    width: min(304px, calc(100vw - 32px));
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero h1 span {
    font-size: 1.9rem;
  }

  .nav-drawer .nav-actions .ghost-btn,
  .nav-drawer .nav-actions .solid-btn {
    padding-inline: 10px;
    font-size: 0.8rem;
  }

  .program-list,
  .listen-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) and (max-height: 680px) {
  .nav-drawer {
    gap: 10px;
    padding-top: 34px;
    padding-bottom: 12px;
  }

  .drawer-head {
    padding-bottom: 3px;
  }

  .drawer-logo {
    width: 36px;
    margin-bottom: 3px;
  }

  .drawer-title {
    font-size: 0.78rem;
  }

  .drawer-subtitle {
    font-size: 0.66rem;
  }

  .nav-drawer .main-nav {
    gap: 4px;
  }

  .nav-drawer .main-nav a {
    min-height: 34px;
    font-size: 0.74rem;
  }

  .nav-drawer .nav-actions {
    gap: 7px;
    margin-top: 2px;
    padding-top: 10px;
  }

  .nav-drawer .nav-actions .ghost-btn,
  .nav-drawer .nav-actions .solid-btn {
    min-height: 38px;
  }

  .nav-drawer .nav-actions .install-card {
    min-height: 50px;
    padding-block: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.play-main svg:nth-of-type(2),
.play-main.playing svg:nth-of-type(1) {
  display: none;
}

.play-main.playing svg:nth-of-type(2) {
  display: block;
}

.subhero {
  position: relative;
  isolation: isolate;
  min-height: 332px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 38px;
  overflow: hidden;
  padding: 52px var(--page-pad);
  background:
    linear-gradient(120deg, var(--hero-start), var(--hero-end)),
    var(--canvas-strong);
}

.subhero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-strong),
    transparent
  );
}

.subhero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.subhero h1,
.section-heading h2,
.featured-article h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0;
}

.subhero h1 {
  font-size: clamp(2.7rem, 7vw, 5.1rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.subhero-copy > p:not(.eyebrow) {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 1.08rem;
  line-height: 1.55;
}

.subhero-media {
  position: relative;
  z-index: 1;
  min-height: 250px;
  display: grid;
  place-items: center;
}

.subhero-media::before {
  content: "";
  position: absolute;
  width: min(360px, 74vw);
  aspect-ratio: 1;
  border: 2px solid rgba(121, 229, 54, 0.54);
  border-radius: 50%;
  box-shadow:
    0 0 34px rgba(121, 229, 54, 0.24),
    inset 0 0 44px rgba(121, 229, 54, 0.12);
}

.subhero-media img {
  position: relative;
  z-index: 1;
  width: min(360px, 78vw);
  max-height: 290px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

.subhero--about .subhero-media img {
  width: min(430px, 78vw);
  border-radius: 8px;
  object-fit: cover;
}

.player-panel--page {
  margin-top: -22px;
  margin-bottom: 24px;
}

.page-grid,
.section-wrap {
  width: min(1280px, calc(100% - 36px));
  margin-inline: auto;
}

.page-grid {
  display: grid;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.page-grid--radio,
.page-grid--schedule,
.page-grid--news,
.page-grid--about {
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.76fr);
}

.section-wrap {
  margin-top: 24px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.section-heading .eyebrow {
  width: max-content;
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.metric-grid,
.feature-grid,
.weekly-grid,
.host-grid,
.article-grid,
.gallery-grid {
  display: grid;
  gap: 14px;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-grid div,
.feature-card,
.weekly-card,
.host-card,
.article-card,
.stack-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}

.metric-grid div {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 16px;
}

.metric-grid strong,
.feature-card strong,
.weekly-card h3,
.host-card h3,
.article-card h3,
.stack-item strong {
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.metric-grid span,
.feature-card p,
.weekly-card p,
.host-card p,
.article-card p,
.stack-item small,
.muted-copy,
.story-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.feature-card:hover,
.stack-item:hover,
.article-card:hover,
.weekly-card:hover,
.host-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--soft-shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(192, 235, 166, 0.22);
}

:root[data-theme="dark"] .feature-icon {
  color: var(--secondary);
}

.feature-icon svg,
.feature-icon .rhn-fa-icon {
  width: 24px;
  height: 24px;
}

.stack-list {
  display: grid;
  gap: 10px;
}

.stack-item {
  min-height: 80px;
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.stack-item img {
  width: 82px;
  height: 64px;
  border-radius: 7px;
  object-fit: cover;
}

.stack-item span {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.weekly-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.weekly-card {
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 15px;
}

.weekly-card span,
.article-card span {
  width: max-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: #102114;
  background: var(--tertiary);
  font-size: 0.72rem;
  font-weight: 700;
}

.host-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.host-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
}

.host-card img {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  object-fit: cover;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.featured-article > img {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  object-fit: cover;
}

.featured-article h2 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.featured-article p {
  margin: 14px 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted-strong);
  background: var(--surface-soft);
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.tag-list a:hover,
.tag-list a:focus-visible {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  color: var(--text-strong);
  box-shadow: var(--soft-shadow);
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 180px 1fr;
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-card div {
  display: grid;
  gap: 10px;
  padding: 15px;
}

.article-card h3 {
  margin: 0;
}

.article-card time {
  color: var(--muted);
  font-size: 0.78rem;
}

.story-panel {
  display: grid;
  gap: 12px;
}

.map-card {
  height: 180px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-soft);
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-soft);
}

.contact-panel {
  display: grid;
  align-content: start;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-list svg,
.contact-list .rhn-fa-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--primary);
}

:root[data-theme="dark"] .contact-list svg,
:root[data-theme="dark"] .contact-list .rhn-fa-icon {
  color: var(--secondary);
}

@media (max-width: 1180px) {
  .subhero,
  .page-grid--radio,
  .page-grid--schedule,
  .page-grid--news,
  .page-grid--about,
  .featured-article {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .weekly-grid,
  .article-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid,
  .host-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  /* Beranda On Air player - mobile-only professional music player */
  .home-page .player-panel {
    width: calc(100% - 32px);
    margin: 16px auto 22px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--soft-shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-x: hidden;
    min-width: 0;
  }

  .home-page .player-panel .track-info {
    width: 100%;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    align-items: center;
    min-width: 0;
  }

  .home-page .player-panel .track-info img {
    width: 88px;
    height: 88px;
    border-radius: 8px;
    object-fit: cover;
  }

  .home-page .player-panel .track-info > div {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 6px;
  }

  .home-page .player-panel .badge {
    height: 24px;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    background: var(--tertiary);
    width: max-content;
  }

  .home-page .player-panel .badge span {
    width: 7px;
    height: 7px;
  }

  .home-page .player-panel .track-info h2 {
    font-size: 1.05rem;
    line-height: 1.1;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-page .player-panel .track-info p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted-strong);
  }

  .home-page .player-panel .waveform {
    width: 100%;
    height: 54px;
    justify-content: center;
    overflow: hidden;
  }

  .home-page .player-panel .player-controls {
    display: grid;
    grid-template-columns: 46px 64px 46px 32px 1fr;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .home-page .player-panel .small-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  .home-page .player-panel .small-icon svg,
  .home-page .player-panel .small-icon .rhn-fa-icon {
    width: 18px;
    height: 18px;
  }

  .home-page .player-panel .play-main {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    justify-self: center;
  }

  .home-page .player-panel .volume {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    align-items: center;
    justify-content: start;
    width: 100%;
  }

  .home-page .player-panel .volume svg,
  .home-page .player-panel .volume .rhn-fa-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 8px;
    justify-self: start;
  }

  .home-page .player-panel .volume input {
    width: 100%;
    min-width: 0;
  }

  .home-page .player-panel .player-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    border-left: 0;
    border-top: 0;
    padding: 0;
    margin-top: -4px;
  }

  .home-page .player-panel .player-metrics div {
    border-left: 0;
    padding-left: 0;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    padding: 12px;
    gap: 4px;
  }

  .home-page .player-panel .player-metrics strong {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.1;
  }

  .home-page .player-panel .player-metrics span {
    font-size: 12px;
    color: var(--muted);
  }

  body .topbar > .nav-toggle[data-nav-toggle] {
    position: fixed !important;

    top: 16px !important;
    right: 14px !important;
    z-index: 2000 !important;
    display: inline-grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(252, 178, 20, 0.52);
    border-radius: 999px;
    color: #201600;
    background: linear-gradient(180deg, #ffe177, #fccd2a);
    box-shadow: 0 10px 24px rgba(252, 173, 20, 0.34);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
  }

  .subhero {
    min-height: 460px;
    padding: 34px 18px 38px;
  }

  .subhero-media {
    min-height: 190px;
  }

  .subhero-media img {
    max-height: 220px;
  }

  .page-grid,
  .section-wrap {
    width: calc(100% - 28px);
  }

  .player-panel--page {
    margin-top: -18px;
  }

  .feature-grid,
  .weekly-grid,
  .host-grid,
  .article-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .featured-article > img {
    height: 210px;
  }
}

@media (max-width: 440px) {
  .stack-item,
  .host-card {
    grid-template-columns: 72px 1fr;
  }

  .stack-item img,
  .host-card img {
    width: 72px;
    height: 72px;
  }
}

.visual-page .page {
  background:
    radial-gradient(
      circle at 58% 8%,
      rgba(121, 229, 54, 0.14),
      transparent 27%
    ),
    radial-gradient(
      circle at 32% 38%,
      rgba(252, 205, 42, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, var(--canvas-strong) 0, var(--canvas) 360px),
    var(--canvas);
}

.visual-hero {
  position: relative;
  isolation: isolate;
  min-height: 356px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 360px);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 48px var(--page-pad) 54px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(110deg, rgba(3, 9, 4, 0.72), rgba(3, 9, 4, 0.22)),
    linear-gradient(120deg, var(--hero-start), var(--hero-end));
}

.visual-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(rgba(121, 229, 54, 0.22) 1px, transparent 1px),
    radial-gradient(rgba(252, 205, 42, 0.16) 1px, transparent 1px);
  background-size:
    88px 88px,
    132px 132px;
  background-position:
    14px 18px,
    58px 52px;
  opacity: 0.34;
}

.visual-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.visual-hero h1 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.2rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.visual-hero__copy > p:not(.eyebrow) {
  max-width: 60ch;
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 1.08rem;
  line-height: 1.55;
}

.visual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.visual-hero__art {
  position: absolute;
  z-index: -2;
  right: clamp(-120px, -8vw, -40px);
  bottom: -86px;
  width: min(650px, 58vw);
  opacity: 0.44;
  filter: saturate(1.12) contrast(1.05)
    drop-shadow(0 18px 38px rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.glass-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.visual-hero__card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 240px;
}

.visual-hero__card img {
  width: 100%;
  height: 136px;
  border-radius: 8px;
  object-fit: cover;
}

.visual-hero__card h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.1;
}

.visual-hero__card p {
  margin: 0;
  color: var(--muted);
}

.legacy-grid {
  width: min(1280px, calc(100% - 36px));
  display: grid;
  gap: 18px;
  align-items: start;
  margin: 24px auto 0;
}

.legacy-grid--radio,
.legacy-grid--schedule,
.legacy-grid--news,
.legacy-grid--about,
.legacy-grid--support {
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.78fr);
}

.program-list--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comment-list {
  display: grid;
  gap: 10px;
}

.comment-list blockquote {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-soft);
}

.comment-list p {
  margin: 0 0 8px;
  color: var(--muted-strong);
  line-height: 1.5;
}

.comment-list cite {
  color: var(--text-strong);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
}

.channel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.channel-list a {
  min-height: 88px;
  display: grid;
  place-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted-strong);
  background: var(--surface-soft);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.channel-list svg,
.channel-list .rhn-fa-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

:root[data-theme="dark"] .channel-list svg,
:root[data-theme="dark"] .channel-list .rhn-fa-icon {
  color: var(--secondary);
}

.broadcast-panel,
.schedule-board,
.side-card {
  min-height: 100%;
}

@media (max-width: 1180px) {
  .visual-hero,
  .legacy-grid--radio,
  .legacy-grid--schedule,
  .legacy-grid--news,
  .legacy-grid--about,
  .legacy-grid--support {
    grid-template-columns: 1fr;
  }

  .visual-hero__art {
    width: min(520px, 74vw);
    opacity: 0.28;
  }

  .program-list--wide,
  .feature-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .visual-hero {
    min-height: 560px;
    padding: 34px 18px 40px;
  }

  .visual-hero h1 {
    font-size: clamp(2.75rem, 16vw, 4rem);
  }

  .visual-hero__copy > p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .visual-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .visual-hero__card {
    min-height: 0;
  }

  .visual-hero__art {
    right: -190px;
    bottom: -70px;
    width: 560px;
    opacity: 0.22;
  }

  .legacy-grid {
    width: calc(100% - 28px);
  }

  .program-list--wide,
  .feature-grid--three,
  .channel-list {
    grid-template-columns: 1fr;
  }
}

/* Reference-matched home/radio layouts */
.home-page .hero {
  min-height: 468px;
  grid-template-columns: minmax(0, 520px) 1fr;
  padding-inline: var(--content-gutter);
  padding-top: 44px;
  padding-bottom: 64px;
  background: #001007;
}

:root[data-theme="light"] .home-page .hero {
  /* Agar mode terang menyesuaikan (tidak tetap hitam) */
  background: linear-gradient(120deg, var(--hero-start), var(--hero-end));
}

/* Light: pastikan teks hero terbaca */
:root[data-theme="light"] .home-page .hero-copy {
  color: var(--text-strong);
}

:root[data-theme="light"] .home-page .hero-copy > p:not(.eyebrow) {
  color: var(--text-strong);
  font-weight: 400;
}

:root[data-theme="light"] .home-page .hero h1 {
  color: var(--text-strong);
}

/* Hamzanwadi harus tetap hijau dan lebih pekat */
:root[data-theme="light"] .home-page .hero-title__line--accent {
  color: #2a7f1f;
  text-shadow: 0 10px 22px rgba(42, 127, 31, 0.12);
}

/* Make hero copy typography consistent across themes. */
:root[data-theme="dark"] .home-page .hero-copy > p:not(.eyebrow) {
  font-weight: 400;
}

/* Dengarkan Live juga harus terbaca di mode terang */
:root[data-theme="light"] .home-page .listen-btn {
  color: #ffffff;
  background: #3f9e22;
  box-shadow: 0 0 26px rgba(63, 158, 34, 0.36);
}

:root[data-theme="dark"] .home-page .listen-btn {
  color: #ffffff;
  background: #3f9e22;
  box-shadow: 0 0 26px rgba(63, 158, 34, 0.28);
}

/* Ensure green accent (patern/sedang live) consistent across themes */
:root[data-theme="light"] .home-page,
:root[data-theme="light"] .home-page * {
  --live-accent: #3f9e22;
}

:root[data-theme="dark"] .home-page,
:root[data-theme="dark"] .home-page * {
  --live-accent: #3f9e22;
}

:root[data-theme="light"] .home-page .listen-btn:hover {
  color: #ffffff;
}

/* Hero overlay image background, shown consistently in both themes. */
.home-page .hero-art::before {
  content: "";
  position: absolute;
  inset: -55px -110px -55px -260px;
  background: url("../images/hero/hero-light.webp") center / cover no-repeat;
  opacity: 0.045;
  filter: saturate(1.02) contrast(1.02);
  pointer-events: none;
}

.home-page .hero {
  overflow-x: hidden;
}

/* Theme-specific hero-art image source */
.home-page .hero-art {
  inset: 0 calc(var(--content-gutter) + 10px) 0 auto;
  width: min(50vw, 820px);
  height: 100%;
  opacity: 1;
  z-index: 0;
  filter: none;
  pointer-events: none;
}

.home-page .hero-art img {
  max-height: 100%;
  opacity: 1;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: right center;
  filter: none;
  /* ganti sumber gambar via CSS */
  content: url("../images/hero/hero-light.webp");
}

:root[data-theme="dark"] .home-page .hero-art img {
  content: url("../images/hero/hero-light.webp");
}

.home-page .hero-copy {
  z-index: 2;
  max-width: 520px;
}

.home-page .hero h1 {
  font-size: 5.8rem;
  text-shadow: none;
}

.home-page .hero-title__line {
  display: block;
  margin: 0;
  overflow-wrap: normal;
  white-space: nowrap;
}

.home-page .hero-title__line--primary {
  color: #ffffff;
  font-size: 5.8rem;
  line-height: 0.86;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.home-page .hero-title__line--accent {
  color: #74e52a;
  margin-top: 10px;
  font-size: 3.35rem;
  line-height: 0.95;
  text-shadow: 0 12px 24px rgba(116, 229, 42, 0.16);
}

:root[data-theme="light"] .home-page .hero-title__line--primary {
  color: #071126;
  text-shadow: 0 12px 24px rgba(7, 17, 38, 0.2);
}

@media (max-width: 1180px) {
  .home-page .hero-title__line--primary {
    font-size: 4.8rem;
  }

  .home-page .hero-title__line--accent {
    font-size: 2.85rem;
  }
}

@media (max-width: 760px) {
  .home-page .hero h1 {
    font-size: 3.7rem;
  }

  .home-page .hero-title__line--primary {
    font-size: 3.7rem;
  }

  .home-page .hero-title__line--accent {
    font-size: 2.05rem;
  }
}

.home-page .hero-copy > p:not(.eyebrow) {
  color: #f2fff0;
  font-size: 1.13rem;
  font-weight: 400;
}

.home-page .hero-stats {
  max-width: 560px;
}

.home-page .listen-btn {
  background: linear-gradient(180deg, #91db16, #3e8f10);
  color: #ffffff;
  box-shadow: 0 0 24px rgba(121, 229, 54, 0.28);
}

.home-page .player-panel {
  width: var(--content-width);
  max-width: var(--content-max);
  margin-top: -38px;
}

@media (min-width: 1181px) {
  .home-page .player-panel {
    min-height: 116px;
    grid-template-columns:
      minmax(300px, 360px) minmax(260px, 1fr) 78px minmax(240px, 310px)
      minmax(170px, 200px);
    gap: 20px;
    padding: 14px 18px;
  }

  .home-page .player-panel .track-info {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .home-page .player-panel .waveform {
    justify-content: center;
    max-width: 360px;
    justify-self: center;
  }

  .home-page .player-panel .play-main {
    justify-self: center;
  }

  .home-page .player-panel .player-controls {
    justify-content: stretch;
  }

  .home-page .player-panel .volume {
    width: 100%;
  }

  .home-page .player-panel .volume input {
    flex: 1 1 auto;
    width: 100%;
  }

  .home-page .player-panel .player-metrics {
    border-left: 1px solid var(--border);
  }
}

.home-page .content-grid,
.home-page .lower-grid {
  width: var(--content-width);
  max-width: var(--content-max);
}

.home-page .lower-grid {
  align-items: stretch;
}

.home-page .about-panel,
.home-page .newsletter {
  height: 100%;
}

.home-page .content-grid {
  align-items: stretch;
}

.home-page .content-grid > .panel {
  min-height: 0;
  height: var(--home-card-height);
  display: flex;
  flex-direction: column;
}

.home-page .content-grid .panel-head {
  flex: 0 0 auto;
}

.home-page .programs .program-list,
.home-page .news .news-list {
  min-height: 0;
}

.home-page .programs .program-list {
  flex: 1 1 auto;
  align-content: start;
}

.home-page .schedule .schedule-list,
.home-page .news .news-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(121, 229, 54, 0.58) transparent;
}

.home-page .schedule .schedule-list::-webkit-scrollbar,
.home-page .news .news-list::-webkit-scrollbar {
  width: 6px;
}

.home-page .schedule .schedule-list::-webkit-scrollbar-thumb,
.home-page .news .news-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(121, 229, 54, 0.52);
}

/* Fix: jaga jarak/overflow berita agar tidak numpuk di panel fixed height */
.home-page .news .news-list {
  align-self: stretch;
}

.home-page .about-panel {
  position: relative;
}

.home-page .mosque-mark {
  left: -22px;
  bottom: -34px;
  width: clamp(240px, 24vw, 380px);
  height: clamp(190px, 20vw, 300px);
  background: transparent;
  box-shadow: none;
  opacity: 0.3;
}

:root[data-theme="light"] .home-page .mosque-mark {
  opacity: 0.22;
}

.home-page .mosque-mark img {
  object-fit: contain;
  filter: saturate(1.08) contrast(1.04);
}

.radio-page .page {
  background:
    radial-gradient(
      circle at 56% 9%,
      rgba(121, 229, 54, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 32% 38%,
      rgba(252, 205, 42, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, var(--canvas-strong) 0, var(--canvas) 360px),
    var(--canvas);
}

:root[data-theme="light"] .radio-page .page {
  background:
    radial-gradient(circle at 56% 9%, rgba(52, 121, 40, 0.1), transparent 28%),
    radial-gradient(
      circle at 32% 38%,
      rgba(252, 205, 42, 0.12),
      transparent 24%
    ),
    linear-gradient(180deg, var(--canvas-strong) 0, var(--canvas) 360px),
    var(--canvas);
}

.radio-hero {
  position: relative;
  isolation: isolate;
  min-height: 356px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.78fr);
  grid-template-areas:
    "title side"
    "feature side";
  gap: 18px 34px;
  overflow: hidden;
  padding: 34px var(--page-pad) 18px;
  background:
    linear-gradient(
      90deg,
      rgba(0, 12, 5, 0.96),
      rgba(0, 12, 5, 0.42) 50%,
      rgba(0, 12, 5, 0.92)
    ),
    radial-gradient(
      circle at 70% 42%,
      rgba(121, 229, 54, 0.26),
      transparent 34%
    ),
    url("../images/hero/hero-black.webp") center center / cover no-repeat,
    linear-gradient(180deg, #000b05, #001108);
  background-blend-mode: normal, screen, multiply, normal;
}

.radio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18),
    rgba(0, 12, 5, 0.18)
  );
}

.radio-hero__title {
  grid-area: title;
  align-self: end;
  position: relative;
  z-index: 1;
}

.radio-hero__title h1 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6vw, 4.7rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

.radio-hero__title nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--secondary);
  font-weight: 800;
}

.radio-feature {
  grid-area: feature;
  position: relative;
  z-index: 1;
  max-width: 470px;
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 8px;
  background: rgba(3, 24, 11, 0.72);
  backdrop-filter: blur(8px);
}

.radio-feature h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1;
}

.radio-feature strong {
  color: var(--secondary);
  font-size: 1.12rem;
}

.radio-feature p {
  max-width: 45ch;
  margin: 0 0 4px;
  color: var(--muted-strong);
  line-height: 1.45;
}

.radio-feature .schedule-btn {
  width: max-content;
  min-height: 34px;
  border-radius: 8px;
}

.radio-side {
  grid-area: side;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  align-self: start;
}

.stream-info,
.now-card {
  background: rgba(3, 24, 11, 0.76);
  backdrop-filter: blur(10px);
}

.stream-info h2,
.now-card h2,
.host-playing h2,
.comments-panel h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stream-info dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.stream-info div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 7px;
}

.stream-info div:last-child {
  border-bottom: 0;
}

.stream-info dt,
.stream-info dd {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.78rem;
}

.stream-info dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stream-info svg,
.stream-info .rhn-fa-icon {
  width: 15px;
  height: 15px;
  color: var(--secondary);
}

.now-card__body {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 14px;
}

.now-card__body img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
}

.now-card h3,
.host-playing h3 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: 1.12rem;
}

.now-card p,
.host-playing p {
  margin: 3px 0 0;
  color: var(--muted-strong);
  line-height: 1.45;
}

.mini-wave {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.mini-wave i {
  flex: 0 0 2px;
  width: 2px;
  height: calc(var(--h) * 1px);
  border-radius: 999px;
  background: var(--secondary);
}

.player-panel--radio-page {
  width: min(1336px, calc(100% - 96px));
  margin-top: 0;
  margin-bottom: 14px;
  grid-template-columns:
    74px minmax(180px, 1fr) minmax(280px, 0.82fr) minmax(190px, 0.56fr)
    minmax(220px, 0.66fr);
}

.player-panel--radio-page .track-info {
  display: contents;
}

.player-panel--radio-page .track-info img,
.player-panel--radio-page .track-info > div {
  display: none;
}

.player-panel--radio-page .play-main {
  grid-column: 1;
}

.player-panel--radio-page .waveform {
  grid-column: 3;
}

.player-panel--radio-page .player-controls {
  grid-column: 2;
  justify-content: flex-start;
}

.player-panel--radio-page .player-metrics {
  grid-column: 5;
}

.radio-main-grid {
  width: min(1336px, calc(100% - 96px));
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(360px, 1fr) minmax(
      400px,
      1.06fr
    );
  gap: 12px;
  margin: 0 auto;
}

.weekly-panel {
  min-height: 258px;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 12px;
}

.day-tabs span {
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted-strong);
  background: var(--surface-soft);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.day-tabs .active {
  color: #102114;
  background: linear-gradient(180deg, #9eea23, #5fae10);
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted-strong);
  font-size: 0.78rem;
}

.program-table td {
  border-bottom: 1px solid var(--border);
  padding: 6px 8px;
  vertical-align: top;
}

.program-table tr:last-child td {
  border-bottom: 0;
}

.radio-right-column {
  display: grid;
  gap: 12px;
}

.host-playing__body {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 18px;
}

.host-playing__body img {
  width: 138px;
  height: 138px;
  border-radius: 8px;
  object-fit: cover;
}

.host-playing h3 {
  color: var(--secondary);
}

.host-socials {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.host-socials svg,
.host-socials .rhn-fa-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px;
  color: var(--text-strong);
  background: var(--surface-soft);
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 138px;
  gap: 10px;
}

.comment-form input {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--text-strong);
  background: var(--surface-soft);
}

.comment-form .solid-btn {
  border-radius: 8px;
}

.comment-feed {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.comment-feed article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
}

.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent),
    var(--surface-soft);
}

.comment-feed strong {
  color: var(--text-strong);
  font-size: 0.84rem;
}

.comment-feed p,
.comment-feed small {
  margin: 2px 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.radio-bottom-grid {
  width: min(1336px, calc(100% - 96px));
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(360px, 0.58fr) minmax(
      400px,
      1fr
    );
  gap: 12px;
  margin: 12px auto 0;
}

.radio-about {
  grid-column: span 2;
}

.listen-methods .channel-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .player-panel--radio-page,
  .radio-main-grid,
  .radio-bottom-grid {
    width: calc(100% - 36px);
  }

  .home-page .player-panel,
  .home-page .content-grid,
  .home-page .lower-grid {
    width: var(--content-width);
  }

  .radio-hero,
  .radio-main-grid,
  .radio-bottom-grid {
    grid-template-columns: 1fr;
  }

  .radio-hero {
    grid-template-areas:
      "title"
      "feature"
      "side";
  }

  .radio-about {
    grid-column: auto;
  }

  .player-panel--radio-page {
    grid-template-columns: minmax(250px, 320px) minmax(160px, 1fr) 74px;
  }

  .player-panel--radio-page .track-info {
    display: grid;
  }

  .player-panel--radio-page .track-info img,
  .player-panel--radio-page .track-info > div {
    display: block;
  }

  .player-panel--radio-page .play-main,
  .player-panel--radio-page .waveform,
  .player-panel--radio-page .player-controls,
  .player-panel--radio-page .player-metrics {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --content-gutter: 14px;
  }

  .home-page .hero {
    min-height: 610px;
  }

  .home-page .hero-art {
    inset: auto -76px 0 auto;
    width: min(90vw, 520px);
    height: 70%;
  }

  .player-panel--radio-page,
  .radio-main-grid,
  .radio-bottom-grid {
    width: calc(100% - 28px);
  }

  .home-page .player-panel,
  .home-page .content-grid,
  .home-page .lower-grid {
    width: var(--content-width);
  }

  .home-page .content-grid > .panel {
    height: auto;
  }

  .home-page .schedule .schedule-list,
  .home-page .news .news-list {
    max-height: 286px;
  }

  .radio-hero {
    min-height: 650px;
    padding: 32px 18px 22px;
  }

  .radio-hero__title h1 {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .stream-info div {
    grid-template-columns: 1fr;
  }

  .host-playing__body,
  .comment-form {
    grid-template-columns: 1fr;
  }

  .host-playing__body img {
    width: 100%;
    height: 190px;
  }

  .day-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .program-table {
    font-size: 0.72rem;
  }

  .listen-methods .channel-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-footer .listen-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .site-footer .listen-grid a {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    padding: 0;
    font-size: 0;
    line-height: 0;
  }

  .site-footer .listen-grid svg,
  .site-footer .listen-grid .rhn-fa-icon {
    width: 42px;
    height: 42px;
    margin: 0;
  }
}

/* Consolidated home/radio refinements */
.home-page main .panel h2,
.radio-page main h2,
.radio-player-copy h1 {
  font-weight: 600;
}

.home-page .program-card h3,
.home-page .news-card strong,
.home-page .track-info h2,
.radio-page main h3,
.radio-host-name,
.radio-chat-list strong,
.radio-stream-card dt,
.radio-stream-card dd {
  font-weight: 500;
}

.radio-page main {
  padding: 20px 0 0;
}

.radio-studio {
  width: var(--content-width);
  max-width: var(--content-max);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 0.92fr);
  gap: 14px;
  align-items: start;
  margin: 0 auto;
}

.radio-studio__main,
.radio-studio__side {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.radio-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(140deg, rgba(121, 229, 54, 0.055), transparent 48%),
    var(--surface);
  box-shadow: var(--card-shadow);
}

:root[data-theme="light"] .radio-card {
  border-color: rgba(52, 121, 40, 0.18);
  background:
    linear-gradient(140deg, rgba(52, 121, 40, 0.06), transparent 48%),
    var(--surface-solid);
}

.radio-player-card {
  min-height: 326px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 22px 24px 0;
}

.radio-player-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: min(420px, 36vw);
  height: min(240px, 22vw);
  transform: translate(-50%, -50%);
  background: url("../images/brand/utama.webp") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

:root[data-theme="light"] .radio-player-card::after {
  opacity: 0.07;
}

.radio-player-card__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(240px, 0.74fr) minmax(
      260px,
      1fr
    );
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
}

.radio-cover {
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.radio-cover img,
.radio-now-body img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 1;
}

.radio-pill {
  width: max-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 0 12px;
  color: #102114;
  background: var(--tertiary);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
}

.radio-pill svg,
.radio-pill .rhn-fa-icon {
  width: 14px;
  height: 14px;
}

.radio-player-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.radio-player-copy h1 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.radio-host-name {
  margin: 0;
  color: var(--secondary);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.25;
}

:root[data-theme="light"] .radio-host-name {
  color: var(--primary);
}

.radio-player-copy > p:not(.radio-host-name),
.radio-now-body p,
.radio-about-copy p,
.radio-chat-list p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.5;
}

.radio-outline-btn {
  width: max-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(252, 205, 42, 0.58);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text-strong);
  background: rgba(252, 205, 42, 0.035);
  font-weight: 500;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.radio-outline-btn:hover,
.radio-outline-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(252, 205, 42, 0.78);
  color: var(--tertiary);
  box-shadow: var(--soft-shadow);
}

:root[data-theme="light"] .radio-page .radio-outline-btn {
  border-color: rgba(52, 121, 40, 0.28);
  color: var(--primary-deep);
  background: rgba(52, 121, 40, 0.06);
}

.radio-now-card .radio-outline-btn,
.radio-about-copy .radio-outline-btn {
  border-color: rgba(252, 205, 42, 0.72);
  color: #102114;
  background: var(--tertiary);
}

:root[data-theme="light"] .radio-page .radio-now-card .radio-outline-btn,
:root[data-theme="light"] .radio-page .radio-about-copy .radio-outline-btn {
  border-color: rgba(252, 205, 42, 0.72);
  color: #102114;
  background: var(--tertiary);
}

.radio-outline-btn svg,
.radio-outline-btn .rhn-fa-icon {
  width: 18px;
  height: 18px;
}

.radio-wave {
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.radio-wave i {
  flex: 0 0 3px;
  width: 3px;
  height: calc(var(--h) * 1px);
  min-height: 5px;
  border-radius: 999px;
  background: #79e536;
}

.radio-wave--main {
  justify-content: center;
  gap: 5px;
  height: 88px;
}

.radio-wave--main.audio-spectrum--circle {
  width: min(100%, 270px);
  height: 270px;
  justify-self: center;
  justify-content: center;
}

.radio-wave--mini {
  gap: 3px;
  height: 34px;
  margin-top: 10px;
}

.radio-control-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  gap: clamp(18px, 3vw, 36px);
  min-height: 72px;
}

.radio-control-row .volume {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  justify-self: start;
}

.radio-control-row .volume input {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  max-width: none;
}

.radio-transport-controls,
.radio-social-controls {
  display: flex;
  align-items: center;
}

.radio-transport-controls {
  justify-content: center;
  gap: 16px;
}

.radio-social-controls {
  justify-content: flex-end;
  gap: 18px;
  justify-self: end;
}

.radio-icon-btn,
.radio-play-btn {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: var(--text-strong);
  background: transparent;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.radio-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
}

.radio-icon-btn:hover {
  transform: translateY(-1px);
  color: var(--tertiary);
  background: var(--surface-soft);
}

.radio-icon-btn svg,
.radio-icon-btn .rhn-fa-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke-width: 0;
}

.radio-icon-btn span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
}

.radio-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #102114;
  background: var(--tertiary);
  box-shadow: 0 12px 30px rgba(252, 205, 42, 0.22);
  justify-self: center;
}

.radio-play-btn:hover,
.radio-play-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04) saturate(1.08);
  box-shadow: 0 15px 32px rgba(252, 205, 42, 0.3);
}

.radio-play-btn svg,
.radio-play-btn .rhn-fa-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke-width: 0;
}

.radio-play-btn .pause-symbol,
.radio-play-btn svg:nth-of-type(2),
.radio-play-btn.playing .play-symbol,
.radio-play-btn.playing svg:nth-of-type(1) {
  display: none;
}

.radio-play-btn.playing .pause-symbol,
.radio-play-btn.playing svg:nth-of-type(2) {
  display: block;
}

.radio-mini-player {
  position: fixed;
  left: auto !important;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  width: 58px;
  height: 58px;
  display: none !important;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(252, 205, 42, 0.36);
  border-radius: 50%;
  color: #13220f;
  background: linear-gradient(135deg, var(--tertiary), #ffe58a);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.94);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

body.radio-mini-visible .radio-mini-player {
  display: grid !important;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.radio-mini-player:hover,
.radio-mini-player:focus-visible {
  filter: brightness(1.04) saturate(1.08);
  transform: translateY(-2px) scale(1);
}

.radio-mini-player .rhn-fa-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.radio-mini-player .pause-symbol,
.radio-mini-player.playing .play-symbol {
  display: none !important;
}

.radio-mini-player.playing .pause-symbol {
  display: block !important;
}

.radio-player-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  margin-inline: -24px;
}

.radio-player-meta div {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 3px 12px;
  align-items: center;
  padding: 13px 24px;
}

.radio-player-meta div + div {
  border-left: 1px solid var(--border);
}

.radio-player-meta svg,
.radio-player-meta .rhn-fa-icon {
  grid-row: span 2;
  width: 23px;
  height: 23px;
  color: var(--secondary);
}

:root[data-theme="light"] .radio-page .radio-player-meta svg,
:root[data-theme="light"] .radio-page .radio-player-meta .rhn-fa-icon {
  color: var(--primary);
}

.radio-player-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.radio-player-meta strong {
  color: var(--text-strong);
  font-weight: 500;
}

.radio-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.radio-card-head--solo {
  justify-content: flex-start;
  margin-bottom: 0;
}

.radio-card-head h2,
.radio-stream-card h2,
.radio-about-card h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 600;
}

.radio-page main .radio-card-head {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.radio-card-head > span:not(.radio-pill) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-strong);
  font-size: 0.84rem;
}

.radio-reply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 24px;
  margin-top: 6px;
  border: 1px solid rgba(252, 205, 42, 0.38);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--tertiary);
  background: rgba(252, 205, 42, 0.035);
  font-size: 0.72rem;
  font-weight: 700;
}

.radio-card-head > span:not(.radio-pill) > i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--secondary);
}

.radio-chat-card,
.radio-now-card,
.radio-stream-card,
.radio-about-card {
  padding: 18px;
}

@media (min-width: 1181px) {
  .radio-studio {
    align-items: stretch;
  }

  .radio-studio__main,
  .radio-studio__side {
    height: 100%;
  }

  .radio-studio__main {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .radio-studio__side {
    grid-template-rows: auto auto 230px;
  }

  .radio-chat-card {
    height: auto;
    min-height: 230px;
  }

  .radio-about-card {
    height: 230px;
    min-height: 230px;
  }

  .radio-chat-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
  }
}

.radio-chat-list {
  min-height: 0;
  max-height: 100%;
  display: grid;
  gap: 8px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(121, 229, 54, 0.62) transparent;
}

.radio-chat-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.radio-chat-list strong {
  color: var(--secondary);
  font-size: 0.9rem;
}

:root[data-theme="light"] .radio-chat-list strong {
  color: var(--primary);
}

.radio-chat-list article.is-admin {
  padding-left: 24px;
}

.radio-chat-list article.is-admin span {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: var(--text-strong);
  font-size: 0.78rem;
  font-weight: 500;
}

.radio-chat-list time {
  color: var(--muted-strong);
  font-size: 0.83rem;
}

.radio-chat-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 10px;
  margin-top: 12px;
}

.radio-chat-form input {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.035);
}

:root[data-theme="light"] .radio-chat-form input {
  color: var(--text-strong);
  background: var(--surface-solid);
}

:root[data-theme="light"] .radio-page .radio-reply-btn {
  border-color: rgba(52, 121, 40, 0.26);
  color: var(--primary);
  background: rgba(52, 121, 40, 0.06);
}

.radio-chat-form button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #102114;
  background: var(--secondary);
  transition:
    transform 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
}

.radio-chat-form button:hover,
.radio-chat-form button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04) saturate(1.08);
  box-shadow: var(--soft-shadow);
}

.radio-chat-form svg,
.radio-chat-form .rhn-fa-icon {
  width: 20px;
  height: 20px;
}

.radio-now-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.radio-now-card .radio-outline-btn {
  margin-top: 14px;
}

.radio-now-card .radio-wave--mini {
  display: none !important;
}

.radio-stream-card dl {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
}

.radio-stream-card div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.radio-stream-card div:last-child {
  border-bottom: 0;
}

.radio-stream-card dt,
.radio-stream-card dd {
  margin: 0;
  color: var(--muted-strong);
}

.radio-stream-card dt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.radio-stream-card svg,
.radio-stream-card .rhn-fa-icon {
  width: 20px;
  height: 20px;
  color: var(--secondary);
}

:root[data-theme="light"] .radio-stream-card svg,
:root[data-theme="light"] .radio-stream-card .rhn-fa-icon {
  color: var(--primary);
}

.radio-about-card {
  min-height: 210px;
  display: grid;
  align-items: center;
  padding: 18px 18px 18px clamp(128px, 11vw, 146px);
}

.radio-about-card .mosque-mark {
  left: -58px;
  bottom: -42px;
  width: clamp(230px, 22vw, 300px);
  height: clamp(178px, 18vw, 240px);
  opacity: 0.34;
}

:root[data-theme="light"] .radio-about-card .mosque-mark {
  opacity: 0.26;
}

.radio-about-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 10px;
  max-width: 320px;
}

.radio-about-card h2 {
  max-width: 310px;
  font-size: 1.02rem;
  line-height: 1.2;
}

.radio-about-copy p {
  color: var(--muted-strong);
  font-size: 0.88rem;
  line-height: 1.42;
}

.radio-about-copy .radio-outline-btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
  color: #102114;
}

@media (max-width: 1180px) {
  .radio-studio {
    grid-template-columns: 1fr;
  }

  .radio-player-card__top {
    grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  }

  .radio-wave--main {
    grid-column: 1 / -1;
  }

  .radio-wave--main.audio-spectrum--circle {
    height: 220px;
  }
}

@media (max-width: 760px) {
  .radio-page main {
    padding-top: 14px;
  }

  .radio-control-row {
    grid-template-columns: 1fr;
  }

  .radio-studio {
    width: var(--content-width);
    gap: 12px;
  }

  .radio-player-card {
    min-height: 0;
    padding: 16px 16px 0;
  }

  .radio-player-card::after {
    left: 50%;
    top: 34%;
    width: 260px;
    height: 150px;
    transform: translate(-50%, -50%);
  }

  .radio-player-card__top,
  .radio-now-body {
    grid-template-columns: 1fr;
  }

  .radio-cover img {
    max-height: 260px;
  }

  .radio-control-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .radio-control-row .volume {
    width: 100%;
    justify-self: stretch;
  }

  .radio-control-spacer {
    display: none;
  }

  .radio-transport-controls,
  .radio-social-controls {
    justify-content: center;
  }

  .radio-player-meta {
    grid-template-columns: 1fr;
  }

  .radio-wave--main.audio-spectrum--circle {
    height: 190px;
  }

  .radio-player-meta div + div {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .radio-chat-list {
    max-height: 330px;
  }

  .radio-stream-card div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .radio-stream-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .radio-stream-card div {
    min-width: 0;
    align-content: start;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
  }

  .radio-stream-card div:last-child {
    border-bottom: 1px solid var(--border);
  }

  .radio-stream-card dt {
    min-width: 0;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .radio-stream-card dd {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .radio-stream-card svg,
  .radio-stream-card .rhn-fa-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  .radio-about-card {
    min-height: 170px;
    padding: 112px 18px 20px;
  }

  .radio-about-card .mosque-mark {
    left: -48px;
    top: -30px;
    bottom: auto;
    width: 238px;
    height: 188px;
  }

  .radio-about-copy {
    max-width: none;
  }
}

a:hover .rhn-fa-icon,
a:focus-visible .rhn-fa-icon,
button:not(:disabled):hover .rhn-fa-icon,
button:not(:disabled):focus-visible .rhn-fa-icon {
  transform: translateY(-1px) scale(1.08);
}

body :is(h2, h3, h4, h5, h6) {
  font-family: var(--font-heading);
  font-weight: 700 !important;
}

.home-page .program-card h3,
.program-card h3 {
  font-weight: 500 !important;
}

.radio-page .radio-now-card {
  border-color: rgba(121, 229, 54, 0.34) !important;
  color: #f7fff1;
  background:
    radial-gradient(circle at 92% 14%, rgba(121, 229, 54, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(0, 45, 22, 0.98), rgba(0, 20, 12, 0.98)) !important;
}

.radio-page .radio-now-card :is(h2, h3) {
  color: #ffffff;
}

.radio-page .radio-now-card :is(p, .radio-host-name) {
  color: #cfe5c8;
}

/* Light theme cards follow the admin white-card palette. */
:root[data-theme="light"] :is(
  .player-panel,
  .panel,
  .program-card,
  .news-card,
  .metric-grid div,
  .feature-card,
  .weekly-card,
  .host-card,
  .article-card,
  .stack-item,
  .map-card,
  .glass-card,
  .visual-hero__card,
  .side-card,
  .radio-card,
  .radio-chat-card,
  .radio-now-card,
  .radio-stream-card,
  .radio-about-card
) {
  border-color: #e2e8f0;
  color: var(--text);
  background: #ffffff !important;
  box-shadow: var(--soft-shadow);
}

:root[data-theme="light"] .radio-page .radio-now-card :is(h2, h3) {
  color: var(--text-strong);
}

:root[data-theme="light"] .radio-page .radio-now-card :is(p, .radio-host-name) {
  color: var(--muted-strong);
}

:root[data-theme="light"] :is(
  .program-card,
  .news-card,
  .feature-card,
  .weekly-card,
  .host-card,
  .article-card,
  .stack-item
):hover {
  border-color: #bfdbfe;
  box-shadow: var(--card-shadow);
}

/* Keep selected public cards on the same dark on-air palette in both themes. */
:root[data-theme="dark"] .home-page .about-panel,
:root[data-theme="light"] .radio-page .radio-now-card {
  border-color: rgba(121, 229, 54, 0.34) !important;
  color: #f7fff1;
  background:
    radial-gradient(circle at 92% 14%, rgba(121, 229, 54, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(0, 45, 22, 0.98), rgba(0, 20, 12, 0.98)) !important;
  box-shadow: none;
}

:root[data-theme="dark"] .home-page .about-panel .panel-head h2,
:root[data-theme="light"] .radio-page .radio-now-card :is(h2, h3) {
  color: #ffffff;
}

:root[data-theme="dark"] .home-page .about-panel .panel-head a {
  color: var(--tertiary);
}

:root[data-theme="dark"] .home-page .about-panel .title-with-icon h2 .rhn-fa-icon {
  color: var(--secondary);
}

:root[data-theme="dark"] .home-page .about-panel p,
:root[data-theme="light"] .radio-page .radio-now-card :is(p, .radio-host-name) {
  color: #cfe5c8;
}

:root[data-theme="dark"] .home-page .about-panel .mosque-mark {
  opacity: 0.14;
}

/* Theme page backgrounds should follow root variables for easy global changes. */
:root[data-theme="light"] .page,
:root[data-theme="light"] .home-page .hero,
:root[data-theme="light"] .visual-page .page,
:root[data-theme="light"] .radio-page .page {
  background: var(--canvas) !important;
}

:root[data-theme="light"] .home-page .hero-art::before,
:root[data-theme="dark"] .home-page .hero-art::before {
  content: "";
  background: url("../images/hero/hero-light.webp") center / cover no-repeat;
  opacity: 0.045;
}

/* Cards use subtle elevation instead of visible borders. */
:root {
  --rhn-card-separator-shadow:
    0 3px 13px rgba(15, 23, 42, 0.05);
  --rhn-card-separator-shadow-hover:
    0 8px 22px rgba(15, 23, 42, 0.08);
}

:root[data-theme="dark"] {
  --rhn-card-separator-shadow:
    none;
  --rhn-card-separator-shadow-hover:
    none;
}

main :is(
  .player-panel,
  .panel,
  .program-card,
  .news-card,
  .hero-stats .stat,
  .metric-grid > div,
  .feature-card,
  .weekly-card,
  .host-card,
  .article-card,
  .stack-item,
  .story-panel,
  .map-card,
  .glass-card,
  .visual-hero__card,
  .broadcast-panel,
  .comments-panel,
  .side-card,
  .radio-card,
  .radio-chat-card,
  .radio-now-card,
  .radio-stream-card,
  .radio-about-card,
  .now-card,
  .weekly-panel,
  .host-playing,
  .account-profile-card,
  .account-card
) {
  border-color: transparent !important;
  box-shadow: var(--rhn-card-separator-shadow) !important;
}

.player-metrics,
.player-metrics > div {
  box-shadow: none !important;
}

.home-page .player-metrics,
.home-page .player-metrics div + div {
  border-left: 0 !important;
}

.home-page .news-card {
  min-height: 80px;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px;
}

.home-page .news-card img {
  width: 82px;
  height: 64px;
  border-radius: 7px;
}

.home-page .news-card span {
  gap: 5px;
}

.home-page .news-card strong {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}

main :is(
  .program-card,
  .news-card,
  .feature-card,
  .weekly-card,
  .host-card,
  .article-card,
  .stack-item,
  .radio-card
):is(:hover, :focus-visible, :focus-within) {
  border-color: transparent !important;
  box-shadow: var(--rhn-card-separator-shadow-hover) !important;
}

:root[data-theme="light"] .home-page .news .news-card {
  border-color: var(--border) !important;
  background: var(--canvas);
  box-shadow: var(--rhn-card-separator-shadow) !important;
}

:root[data-theme="light"] .home-page .news .news-card:is(:hover, :focus-visible, :focus-within) {
  border-color: var(--border-strong) !important;
  background: var(--canvas);
  box-shadow: var(--rhn-card-separator-shadow-hover) !important;
}


:root[data-theme="light"] main
  :is(
    .player-panel,
    .panel,
    .program-card,
    .news-card,
    .hero-stats .stat,
    .metric-grid > div,
    .feature-card,
    .weekly-card,
    .host-card,
    .article-card,
    .stack-item,
    .story-panel,
    .map-card,
    .glass-card,
    .visual-hero__card,
    .broadcast-panel,
    .comments-panel,
    .side-card,
    .radio-card,
    .radio-chat-card,
    .radio-now-card,
    .radio-stream-card,
    .radio-about-card,
    .now-card,
    .weekly-panel,
    .host-playing,
    .account-profile-card,
    .account-card
  ) {
  border-color: transparent !important;
  background: #ffffff !important;
}

:root[data-theme="light"] main
  :is(
    .program-card,
    .news-card,
    .feature-card,
    .weekly-card,
    .host-card,
    .article-card,
    .stack-item,
    .radio-card
  ):is(:hover, :focus-visible, :focus-within) {
  border-color: transparent !important;
}
/* Force-remove elevation from public cards and panels. */
main :is(
  [class*="card"],
  [class*="panel"],
  .player-panel,
  .program-card,
  .news-card,
  .feature-card,
  .weekly-card,
  .host-card,
  .article-card,
  .stack-item,
  .story-panel,
  .map-card,
  .glass-card,
  .visual-hero__card,
  .broadcast-panel,
  .comments-panel,
  .side-card,
  .radio-card,
  .radio-chat-card,
  .radio-now-card,
  .radio-stream-card,
  .radio-about-card,
  .now-card,
  .weekly-panel,
  .host-playing,
  .account-profile-card,
  .account-card
),
main :is(
  [class*="card"],
  [class*="panel"],
  .player-panel,
  .program-card,
  .news-card,
  .feature-card,
  .weekly-card,
  .host-card,
  .article-card,
  .stack-item,
  .story-panel,
  .map-card,
  .glass-card,
  .visual-hero__card,
  .broadcast-panel,
  .comments-panel,
  .side-card,
  .radio-card,
  .radio-chat-card,
  .radio-now-card,
  .radio-stream-card,
  .radio-about-card,
  .now-card,
  .weekly-panel,
  .host-playing,
  .account-profile-card,
  .account-card
)::before,
main :is(
  [class*="card"],
  [class*="panel"],
  .player-panel,
  .program-card,
  .news-card,
  .feature-card,
  .weekly-card,
  .host-card,
  .article-card,
  .stack-item,
  .story-panel,
  .map-card,
  .glass-card,
  .visual-hero__card,
  .broadcast-panel,
  .comments-panel,
  .side-card,
  .radio-card,
  .radio-chat-card,
  .radio-now-card,
  .radio-stream-card,
  .radio-about-card,
  .now-card,
  .weekly-panel,
  .host-playing,
  .account-profile-card,
  .account-card
)::after {
  box-shadow: none !important;
  filter: none !important;
}
/* Home news inner cards stay unfilled; panel provides the card surface. */
:root[data-theme="light"] .home-page .news .news-card {
  border: 1px solid rgba(226, 232, 240, 0.92) !important;
  background: transparent !important;
  box-shadow: none !important;
}

:root[data-theme="light"]
  .home-page
  .news
  .news-card:is(:hover, :focus-visible, :focus-within) {
  border-color: rgba(203, 213, 225, 0.98) !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Home program inner cards stay unfilled; panel provides the card surface. */
:root[data-theme="light"] .home-page .programs .program-card {
  border: 1px solid rgba(226, 232, 240, 0.92) !important;
  background: transparent !important;
  box-shadow: none !important;
}

:root[data-theme="light"]
  .home-page
  .programs
  .program-card:is(:hover, :focus-visible, :focus-within) {
  border-color: rgba(203, 213, 225, 0.98) !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Radio page on-air profile card stays dark in every theme. */
.radio-now-card,
:root[data-theme="light"] .radio-now-card {
  border-color: rgba(121, 229, 54, 0.34) !important;
  color: #f7fff1 !important;
  background:
    radial-gradient(circle at 92% 14%, rgba(121, 229, 54, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(0, 45, 22, 0.98), rgba(0, 20, 12, 0.98)) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16) !important;
}

.radio-now-card :is(h2, h3),
:root[data-theme="light"] .radio-now-card :is(h2, h3) {
  color: #ffffff !important;
}

.radio-now-card :is(p, .radio-host-name),
:root[data-theme="light"] .radio-now-card :is(p, .radio-host-name) {
  color: #cfe5c8 !important;
}

/* Final dark theme: flat black page with slightly lifted solid cards. */
:root[data-theme="dark"] body,
:root[data-theme="dark"] .page,
:root[data-theme="dark"] .home-page,
:root[data-theme="dark"] .home-page .hero,
:root[data-theme="dark"] .visual-page .page,
:root[data-theme="dark"] .radio-page .page {
  background: #000000 !important;
}

:root[data-theme="dark"] main :is(
  [class*="card"],
  [class*="panel"],
  .player-panel,
  .panel,
  .program-card,
  .news-card,
  .hero-stats .stat,
  .metric-grid > div,
  .feature-card,
  .weekly-card,
  .host-card,
  .article-card,
  .stack-item,
  .story-panel,
  .map-card,
  .glass-card,
  .visual-hero__card,
  .broadcast-panel,
  .comments-panel,
  .side-card,
  .radio-card,
  .radio-chat-card,
  .radio-now-card,
  .radio-stream-card,
  .radio-about-card,
  .now-card,
  .weekly-panel,
  .host-playing,
  .account-profile-card,
  .account-card
) {
  border-color: rgba(192, 235, 166, 0.14) !important;
  background: #0b0f0d !important;
  box-shadow: none !important;
}

:root[data-theme="dark"] :is(
  .radio-now-card,
  .home-page main .panel.about-panel,
  .radio-page main .radio-card.radio-now-card
) {
  border-color: rgba(121, 229, 54, 0.22) !important;
  color: #f7fff1 !important;
  background: #0b0f0d !important;
  box-shadow: none !important;
}

:root[data-theme="dark"] :is(
  .radio-now-card,
  .home-page main .panel.about-panel,
  .radio-page main .radio-card.radio-now-card
)::before,
:root[data-theme="dark"] :is(
  .radio-now-card,
  .home-page main .panel.about-panel,
  .radio-page main .radio-card.radio-now-card
)::after {
  background-image: none !important;
}

/* Responsive radio volume controls. The browser owns hardware volume, while
   this keeps the website volume slider usable and synced across players. */
.home-page .player-panel .volume,
.radio-page .radio-control-row .volume {
  min-width: min(100%, 180px);
}

.home-page .player-panel .volume input[type="range"],
.radio-page .radio-control-row .volume input[type="range"] {
  width: 100%;
  min-width: 140px;
  height: 34px;
  accent-color: var(--tertiary);
  touch-action: pan-x;
}

@media (max-width: 760px) {
  .home-page .player-panel .player-controls,
  .radio-page .radio-control-row {
    width: 100%;
  }

  .home-page .player-panel .volume,
  .radio-page .radio-control-row .volume {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .home-page .player-panel .volume input[type="range"],
  .radio-page .radio-control-row .volume input[type="range"] {
    min-width: 0;
    height: 42px;
  }
}

/* Highest-specificity fix: keep the Home About card dark in every theme. */
.home-page main .panel.about-panel,
:root[data-theme="light"] .home-page main .panel.about-panel,
:root[data-theme="dark"] .home-page main .panel.about-panel {
  border-color: rgba(121, 229, 54, 0.34) !important;
  color: #f7fff1 !important;
  background:
    radial-gradient(
      circle at 88% 16%,
      rgba(121, 229, 54, 0.22),
      transparent 34%
    ),
    linear-gradient(145deg, rgba(0, 45, 22, 0.98), rgba(0, 20, 12, 0.98)) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16) !important;
}

.home-page main .panel.about-panel :is(h2, h3),
:root[data-theme="light"] .home-page main .panel.about-panel :is(h2, h3),
:root[data-theme="dark"] .home-page main .panel.about-panel :is(h2, h3) {
  color: #ffffff !important;
}

.home-page main .panel.about-panel :is(p, a),
:root[data-theme="light"] .home-page main .panel.about-panel :is(p, a),
:root[data-theme="dark"] .home-page main .panel.about-panel :is(p, a) {
  color: #cfe5c8 !important;
}

.home-page main .panel.about-panel .title-with-icon h2 .rhn-fa-icon,
:root[data-theme="light"] .home-page main .panel.about-panel .title-with-icon h2 .rhn-fa-icon,
:root[data-theme="dark"] .home-page main .panel.about-panel .title-with-icon h2 .rhn-fa-icon {
  color: var(--secondary) !important;
}

.home-page main .panel.about-panel .panel-head a,
:root[data-theme="light"] .home-page main .panel.about-panel .panel-head a,
:root[data-theme="dark"] .home-page main .panel.about-panel .panel-head a {
  color: var(--tertiary) !important;
}

.home-page main .panel.about-panel .mosque-mark,
:root[data-theme="light"] .home-page main .panel.about-panel .mosque-mark,
:root[data-theme="dark"] .home-page main .panel.about-panel .mosque-mark {
  opacity: 0.14 !important;
}

.home-page main .panel.about-panel > .panel-head,
.home-page main .panel.about-panel > .about-panel__body,
:root[data-theme="light"] .home-page main .panel.about-panel > .panel-head,
:root[data-theme="light"] .home-page main .panel.about-panel > .about-panel__body,
:root[data-theme="dark"] .home-page main .panel.about-panel > .panel-head,
:root[data-theme="dark"] .home-page main .panel.about-panel > .about-panel__body {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Highest-specificity fix: keep the Radio page On Air profile card dark in every theme. */
.radio-page main .radio-card.radio-now-card,
:root[data-theme="light"] .radio-page main .radio-card.radio-now-card,
:root[data-theme="dark"] .radio-page main .radio-card.radio-now-card {
  border-color: rgba(121, 229, 54, 0.34) !important;
  color: #f7fff1 !important;
  background:
    radial-gradient(
      circle at 88% 16%,
      rgba(121, 229, 54, 0.22),
      transparent 34%
    ),
    linear-gradient(145deg, rgba(0, 45, 22, 0.98), rgba(0, 20, 12, 0.98)) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16) !important;
}

.radio-page main .radio-card.radio-now-card :is(h2, h3),
:root[data-theme="light"] .radio-page main .radio-card.radio-now-card :is(h2, h3),
:root[data-theme="dark"] .radio-page main .radio-card.radio-now-card :is(h2, h3) {
  color: #ffffff !important;
}

.radio-page main .radio-card.radio-now-card :is(p, .radio-host-name),
:root[data-theme="light"] .radio-page main .radio-card.radio-now-card :is(p, .radio-host-name),
:root[data-theme="dark"] .radio-page main .radio-card.radio-now-card :is(p, .radio-host-name) {
  color: #cfe5c8 !important;
}

.radio-page main .radio-card.radio-now-card .radio-outline-btn,
:root[data-theme="light"] .radio-page main .radio-card.radio-now-card .radio-outline-btn,
:root[data-theme="dark"] .radio-page main .radio-card.radio-now-card .radio-outline-btn {
  border-color: rgba(252, 205, 42, 0.72) !important;
  color: #102114 !important;
  background: var(--tertiary) !important;
}
/* Final on-air profile card palette: always dark. */
.radio-now-card,
:root[data-theme="light"] .radio-now-card,
:root[data-theme="dark"] .radio-now-card {
  border-color: rgba(121, 229, 54, 0.34) !important;
  color: #f7fff1 !important;
  background:
    radial-gradient(
      circle at 88% 16%,
      rgba(121, 229, 54, 0.22),
      transparent 34%
    ),
    linear-gradient(145deg, rgba(0, 45, 22, 0.98), rgba(0, 20, 12, 0.98)) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16) !important;
}

.radio-now-card :is(h2, h3),
:root[data-theme="light"] .radio-now-card :is(h2, h3) {
  color: #ffffff !important;
}

.radio-now-card :is(p, .radio-host-name),
:root[data-theme="light"] .radio-now-card :is(p, .radio-host-name) {
  color: #cfe5c8 !important;
}

.radio-page main .radio-card.radio-now-card > .radio-card-head,
:root[data-theme="light"] .radio-page main .radio-card.radio-now-card > .radio-card-head,
:root[data-theme="dark"] .radio-page main .radio-card.radio-now-card > .radio-card-head {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

:root[data-theme="dark"] main :is(
  [class*="card"],
  [class*="panel"],
  .player-panel,
  .panel,
  .program-card,
  .news-card,
  .hero-stats .stat,
  .metric-grid > div,
  .feature-card,
  .weekly-card,
  .host-card,
  .article-card,
  .stack-item,
  .story-panel,
  .map-card,
  .glass-card,
  .visual-hero__card,
  .broadcast-panel,
  .comments-panel,
  .side-card,
  .radio-card,
  .radio-chat-card,
  .radio-now-card,
  .radio-stream-card,
  .radio-about-card,
  .now-card,
  .weekly-panel,
  .host-playing,
  .account-profile-card,
  .account-card
) {
  border-color: transparent !important;
  box-shadow: none !important;
}

.player-metrics {
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  border-left: 0 !important;
  gap: 8px;
}

.player-metrics > div {
  min-height: 54px;
  align-content: center;
  border: 1px solid rgba(121, 229, 54, 0.28) !important;
  border-radius: 8px;
  padding: 10px 12px !important;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.player-metrics div + div {
  border-left: 1px solid rgba(121, 229, 54, 0.28) !important;
}

.home-page .player-metrics > div,
:root[data-theme="light"] .home-page .player-metrics > div,
:root[data-theme="dark"] .home-page .player-metrics > div {
  border: 0 !important;
  box-shadow: none !important;
}

.home-page .player-metrics div + div,
:root[data-theme="light"] .home-page .player-metrics div + div,
:root[data-theme="dark"] .home-page .player-metrics div + div {
  border-left: 0 !important;
}

.home-page main .panel.about-panel,
:root[data-theme="light"] .home-page main .panel.about-panel,
:root[data-theme="dark"] .home-page main .panel.about-panel,
.radio-page main .radio-card.radio-now-card,
:root[data-theme="light"] .radio-page main .radio-card.radio-now-card,
:root[data-theme="dark"] .radio-page main .radio-card.radio-now-card,
.radio-now-card,
:root[data-theme="light"] .radio-now-card,
:root[data-theme="dark"] .radio-now-card {
  border-color: transparent !important;
  background: #0b0f0d !important;
  box-shadow: none !important;
}

.home-page .hero-stats .stat,
:root[data-theme="light"] .home-page .hero-stats .stat,
:root[data-theme="dark"] .home-page .hero-stats .stat {
  border-color: rgba(121, 229, 54, 0.34) !important;
  background: transparent !important;
  box-shadow: none !important;
}

:root[data-theme="light"] .home-page .hero-stats .stat {
  border-color: rgba(52, 121, 40, 0.2) !important;
}

@media (max-width: 760px) {
  .home-page .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
    max-width: 100%;
    margin-top: 22px;
  }

  .home-page .hero-stats .stat,
  :root[data-theme="light"] .home-page .hero-stats .stat,
  :root[data-theme="dark"] .home-page .hero-stats .stat {
    min-height: 92px !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 10px !important;
    backdrop-filter: blur(8px);
  }

  :root[data-theme="light"] .home-page .hero-stats .stat {
    border-color: rgba(52, 121, 40, 0.2) !important;
    background: rgba(255, 255, 255, 0.88) !important;
  }

  :root[data-theme="dark"] .home-page .hero-stats .stat {
    border-color: rgba(121, 229, 54, 0.34) !important;
    background: rgba(0, 12, 5, 0.72) !important;
  }

  .home-page .hero-stats .stat:nth-child(3) {
    grid-column: auto;
  }

  .home-page .hero-stats .stat-icon {
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
  }

  .home-page .hero-stats .stat-icon svg,
  .home-page .hero-stats .stat-icon .rhn-fa-icon {
    width: 16px;
    height: 16px;
  }

  .home-page .hero-stats .stat span:last-child {
    display: grid;
    gap: 2px !important;
    min-width: 0;
    overflow: visible !important;
    color: var(--muted);
    font-size: 0.66rem !important;
    line-height: 1.12 !important;
  }

  :root[data-theme="dark"] .home-page .hero-stats .stat span:last-child {
    color: #e8f5df;
  }

  .home-page .hero-stats .stat strong {
    width: auto !important;
    overflow: visible !important;
    color: var(--text-strong);
    font-size: 0.75rem !important;
    font-weight: 500;
    line-height: 1.05;
    white-space: nowrap !important;
  }

  :root[data-theme="dark"] .home-page .hero-stats .stat strong {
    color: #ffffff;
  }

  .home-page .hero-stats .stat span:last-child * {
    overflow: visible !important;
    white-space: nowrap !important;
  }
}

:root[data-theme="dark"] .home-page .programs .program-card,
:root[data-theme="dark"] .home-page .news .news-card {
  border: 1px solid rgba(121, 229, 54, 0.34) !important;
  background: transparent !important;
  box-shadow: none !important;
}

:root[data-theme="dark"] .home-page .programs .program-card:is(:hover, :focus-visible, :focus-within),
:root[data-theme="dark"] .home-page .news .news-card:is(:hover, :focus-visible, :focus-within) {
  border-color: rgba(121, 229, 54, 0.52) !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .radio-page .radio-player-card {
    padding: 16px 16px 0;
  }

  .radio-page .radio-player-card::after {
    top: 31%;
    width: 220px;
    height: 130px;
    opacity: 0.055;
  }

  .radio-page .radio-player-card__top {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 8px 12px;
  }

  .radio-page .radio-cover {
    display: contents;
  }

  .radio-page .radio-cover .radio-pill {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    min-height: 22px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .radio-page .radio-cover img {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 74px;
    height: 74px;
    max-height: none;
    align-self: center;
    border-radius: 10px;
    object-fit: cover;
  }

  .radio-page .radio-player-copy {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    gap: 5px;
  }

  .radio-page .radio-player-copy h1 {
    font-size: 1.35rem;
    line-height: 1.05;
  }

  .radio-page .radio-player-copy .radio-host-name {
    display: none;
  }

  .radio-page .radio-player-copy > p:not(.radio-host-name) {
    display: -webkit-box;
    overflow: hidden;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .radio-page .radio-player-copy .radio-outline-btn {
    min-height: 34px;
    margin-top: 4px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .radio-page .radio-wave--main {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 22px;
  }

  .radio-page .radio-now-body {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 12px;
    align-items: center;
  }

  .radio-page .radio-now-body img {
    width: 68px;
    height: 68px;
    border-radius: 10px;
  }

  .radio-page .radio-now-body h3 {
    font-size: 1.05rem;
    line-height: 1.12;
  }

  .radio-page .radio-now-body p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}


