html { scroll-behavior: smooth; scroll-padding-top: 140px; }
[hidden] { display: none !important; }
.radio-toggle { border: 0; padding: 0; background: transparent; color: #ffb400; font-size: 80px; cursor: pointer; line-height: 1.5; }
.radio-toggle:disabled { opacity: .6; }
.radio-toggle:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #ffb400 !important; outline-offset: 4px; }
.broadcast { line-height: 1.5; overflow-wrap: anywhere; }
.notification-toggle { border: 0; background: transparent; cursor: pointer; font: inherit; }
.yotu-video-thumb-wrp::after { padding: 0; width: 0; height: 0; border-top: 18px solid transparent; border-bottom: 18px solid transparent; border-left: 28px solid white; }
#video-dialog { border: 0; border-radius: 4px; padding: 44px 16px 16px; width: min(900px, 96vw); max-width: 96vw; background: #111; color: white; }
#video-dialog::backdrop { background: rgba(0,0,0,.9); }
#video-player iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.video-close { position: absolute; right: 12px; top: 0; font-size: 32px; background: transparent; color: white; border: 0; cursor: pointer; }
#notification-prompt { position: fixed; right: 20px; bottom: 20px; z-index: 1100; width: min(380px, calc(100vw - 32px)); padding: 24px; border-radius: 8px; background: #fff; color: #343a40; box-shadow: 0 4px 30px #0004; border-top: 4px solid #ffb400; }
#notification-title { font-size: 20px; margin-right: 20px; }
.notification-dismiss { position: absolute; right: 12px; top: 8px; background: transparent; border: 0; font-size: 24px; cursor: pointer; }
#notification-status:empty { display: none; }
#radio-status:not(.sr-only) { position: fixed; left: 16px; bottom: 100px; background: white; color: #343a40; padding: 16px; box-shadow: 0 3px 20px #0003; z-index: 1050; }
/* Give the reordered sections distinct, complementary surfaces. */
.about-section { margin: 0; background: #fff; }
.app-section { background: #fff7e8; }
#content { padding-bottom: 3rem; background: #fff; }

@media (max-width: 991px) {
  html { scroll-padding-top: 220px; }
  .mobileradio { padding: 10px 16px 14px; }
  .mobile-radio-layout { width: 100%; max-width: 720px; margin: auto; }
  .mobile-radio-logo { display: block; width: fit-content; margin: 0 auto 10px; padding: 0; }
  .mobile-radio-logo img { display: block; width: 120px; height: auto; }
  .mobile-radio-player { align-items: center; }
  .mobile-radio-current { display: flex; align-items: center; gap: 12px; padding-right: 14px; }
  .broadcast-current { min-width: 0; }
  .mobileradio .radio-toggle { flex: 0 0 48px; font-size: 48px; line-height: 1; }
  .mobile-broadcast { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-width: 0; }
  .mobile-broadcast > div { min-width: 0; }
  .mobile-broadcast .small { display: block; margin-top: 4px; font-size: 12px; }
  .broadcast-next { border-left: 1px solid #ffffff40; padding-left: 14px; }
  footer .navbar { padding: 8px 0 max(8px, env(safe-area-inset-bottom)); }
  footer .menu-footer-container { width: 100%; max-width: 540px; }
  footer .navbar-nav { display: flex; flex-wrap: nowrap; justify-content: space-around; width: 100%; margin: 0; }
  footer .nav-item { flex: 1; min-width: 0; }
  footer .nav-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 56px; padding: 6px 4px !important; font-size: 11px; line-height: 1.2; }
  footer .nav-link br { display: none; }
  footer .navbar .nav-link i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; font-size: 22px !important; line-height: 1; }
  #notification-prompt { bottom: calc(88px + env(safe-area-inset-bottom)); right: 16px; }
}
@media (max-width: 359px) {
  .mobileradio { padding-right: 10px; padding-left: 10px; }
  .mobile-radio-current { gap: 8px; padding-right: 10px; }
  .broadcast-next { padding-left: 10px; }
  .mobile-broadcast .small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* Preserve the homepage's three-column 16:9 episode thumbnails. */
.yotu-video-thumb-wrp > div { width: 100%; aspect-ratio: 16 / 9; }
body .yotu-videos .yotu-video .yotu-video-thumb { margin: 0; height: 100%; object-fit: cover; }
@media (max-width: 575px) { .btn-lg { max-width: 100%; white-space: normal; } }

/* Keep desktop broadcast details beside the control, including wrapped titles. */
@media (min-width: 992px) {
  .desktop-radio { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; }
  .desktop-radio .radio-toggle { font-size: 64px; line-height: 1; }
  .desktop-broadcast { min-width: 0; display: grid; gap: 7px; line-height: 1.25; }
  .desktop-radio-title { display: block; font-size: 12px; }
  .desktop-program { display: grid; justify-items: start; gap: 3px; }
  .desktop-program .small { font-size: 12px; line-height: 1.3; }
  .desktop-program .badge { font-size: 10px; line-height: 1.15; }
  .desktop-broadcast-time { display: block; font-size: 11px; line-height: 1.3; }
}

.contact-section { background: #f7f4f8; }
.contact-section a { color: #74245a; }
#contact-form label { display: block; margin: 0 0 6px; font-size: 14px; }
#contact-form input, #contact-form textarea { display: block; width: 100%; min-width: 0; padding: 10px 12px; margin-bottom: 16px; border: 1px solid #d4cbd6; border-radius: 4px; background: #fff; color: #343a40; font: inherit; }
#contact-form textarea { resize: vertical; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-status { margin: 12px 0 0; font-size: 14px; }
@media (max-width: 575px) { .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; } }

#contact-verification { margin-bottom: 16px; }
