/* Mystery for Joy main css - This css is made by Signabroam.ovh, all rights reserved and copyrights is prohibited */
:root {
  color: #efe7d8;
  background: #000;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  --surface: rgba(17, 22, 31, 0.60);
  --surface-soft: rgba(26, 38, 58, 0.88);
  --text-muted: #b8b3a6;
  --accent: #d1a63c;
  --border: rgba(255, 255, 255, 0.1);
  --background-color: rgba(5, 5, 15, 0.95);
  --text-color: #efe7d8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

html {
  height: 100%;
}

body {
  background: no-repeat center center fixed;
  background-color: var(--background-color);
  background-image: url("/assets/images/background.png");
  background-size: cover;
  color: var(--text-color);
  font-family: 'Lato', 'Open Sans', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
  font-size: 15px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 15, 0.64);
  pointer-events: none;
  z-index: -1;
}

.page-shell {
  position: relative;
  z-index: 1;
}

a,
a:visited {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.social-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  margin-right: 0.35em;
}
button,
input,
textarea,
a.button {
  font: inherit;
}

.page-shell {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px 20px 36px;
  background-color: rgba(15, 15, 15, 0.3);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(16, 21, 33, 0.3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-abbrev {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #c99d30;
  color: #10131a;
  font-weight: 800;
  font-size: 1rem;
}

.brand h1 {
  margin: 0;
  font-size: 1.65rem;
}

.brand p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #f5eedc;
  font-weight: 600;
}

.status-pill .dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #7bd08a;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 4px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(12, 18, 26, 0.44);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.top-nav a {
  flex: 1 1 120px;
  min-width: 100px;
  max-width: 170px;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  text-decoration: none;
  color: #efe7d8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(209, 166, 60, 0.45);
  background: rgba(209, 166, 60, 0.1);
}

.top-nav a.active {
  background: rgba(209, 166, 60, 0.18);
  border-color: rgba(209, 166, 60, 0.55);
  color: #fff6d8;
}

.hero {
  display: block;
  margin: 48px 0;
}

.hero-copy {
  max-width: none;
  width: 100%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: #b7ad9d;
}

.hero-copy h2,
.section-intro h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
}

.hero-copy p {
  margin: 20px 0 0;
  max-width: 42rem;
  color: #dfd7c8;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.content-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-card h1,
.content-card h2,
.content-card h3 {
  margin-top: 0;
}

.content-card ul {
  padding-left: 20px;
}

.content-card a {
  color: #f5e6bb;
  text-decoration: underline;
}

.archive-section {
  margin-top: 24px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.archive-section h4 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.newsletter-archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.newsletter-archive-button,
.newsletter-close-button {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #efe7d8;
  text-align: left;
  cursor: pointer;
}

.newsletter-archive-button.is-active,
.newsletter-archive-button:hover,
.newsletter-close-button:hover {
  background: rgba(209, 166, 60, 0.2);
  border-color: rgba(209, 166, 60, 0.4);
}

.newsletter-view-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.newsletter-empty {
  color: var(--text-muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.button-primary {
  background: #0b4d65;
  color: #10131a;
  font-weight: 700;
}

.button-primary:hover {
  background: #0d6f92;
}

.button-secondary {
  color: #efe7d8;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}


.section {
  padding: 42px 0;
}

.section-light {
  background: transparent;
  border-radius: 18px;
  padding: 38px 26px;
}

.section-dark {
  padding: 38px 26px;
  background: transparent;
  border-radius: 18px;
}

.section-intro {
  max-width: none;
}

.map-intro {
  margin-bottom: 24px;
}

.map-iframe-frame {
  width: 100%;
  height: 640px;
  min-height: 640px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

.map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
}

.show-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 24px 0 8px;
}

.show-select-label {
  font-weight: 600;
  color: #f5e6bb;
}

.show-select {
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: black;
}

.show-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 20px;
  align-items: start;
  margin-top: 24px;
}

.show-page-layout--split {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
}

.show-list-column {
  min-width: 0;
}

.cards-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 0;
}

.date-nav {
  position: sticky;
  top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(17, 22, 33, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.date-nav__title {
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5e6bb;
}

.date-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.date-nav__button {
  width: 100%;
  padding: 8px 10px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #efe7d8;
  cursor: pointer;
}

.date-nav__button:hover,
.date-nav__button:focus-visible {
  background: rgba(209, 166, 60, 0.2);
  border-color: rgba(209, 166, 60, 0.4);
  outline: none;
}

.show-card {
  width: 100%;
  scroll-margin-top: 110px;
  border: rgb(255, 255, 255, 0.08) 1px solid;
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .show-page-layout,
  .show-page-layout--split {
    grid-template-columns: 1fr;
  }

  .date-nav {
    position: static;
  }
}

.frequency-card,
.playlist-card,
.calendar-day {
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.broadcaster-grid {
  display: grid;
  gap: 16px;
}

.broadcaster-detail {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: var(--surface);
}

.broadcaster-detail[open] {
  border-color: rgba(209, 166, 60, 0.60);
  box-shadow: inset 0 0 0 1px rgba(209, 166, 60, 0.30);
}

.broadcaster-summary {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.broadcaster-summary::-webkit-details-marker {
  display: none;
}

.broadcaster-summary:focus {
  outline: 2px solid rgba(209, 166, 60, 0.60);
  outline-offset: 2px;
}

.broadcaster-logo {
  width: 84px;
  min-width: 84px;
  height: 84px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.broadcaster-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.broadcaster-logo-fallback {
  color: #ebd8ae;
  font-size: 1.38rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, rgba(209,166,60,0.36), rgba(39,39,39,0.44));
}

.broadcaster-summary-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.broadcaster-title {
  font-size: 1.35rem;
  line-height: 1.20;
  font-weight: 700;
  color: #f8f3e8;
}

.broadcaster-context {
  margin-top: 4px;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.broadcaster-frequencies {
  margin-top: 6px;
  color: #f5e6bb;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.broadcaster-body {
  padding: 0 22px 24px;
}

.broadcaster-body .broadcaster-intro {
  color: #e6ded2;
}

.broadcaster-body .broadcaster-intro p {
  margin: 0 0 12px;
}

.broadcaster-body .broadcaster-intro p:first-child {
  margin-top: 0;
}

.broadcaster-body .broadcaster-intro p:last-child {
  margin-bottom: 0;
}

.broadcaster-body .broadcaster-link {
  margin-top: 14px;
}

.broadcaster-body .broadcaster-link a {
  color: #f5e6bb;
  text-decoration: underline;
}

.broadcaster-meta-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.broadcaster-meta-lines .pill {
  margin-top: 0;
}

.broadcaster-live-card {
  background: rgba(255,255,255,0.03);
}

.pill {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(209, 166, 60, 0.2);
  color: #f5e6bb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.playlist-intro {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.playlist-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.playlist-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #f7f0de;
}

.playlist-song-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.playlist-cover {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
}

.playlist-song-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.playlist-song-content strong {
  font-size: 0.98rem;
}

.playlist-song-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.playlist-empty {
  color: var(--text-muted);
}

.qsl-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
  align-items: stretch;
}

.schedule-section {
  margin-top: 28px;
}

.schedule-gallery {
  margin-top: 18px;
}

.qsl-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 10px;
  height: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  text-align: left;
  box-sizing: border-box;
}

.qsl-card--double {
  max-width: 420px;
  justify-self: center;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "title title"
    "front back"
    "caption caption";
  gap: 10px 12px;
  align-items: start;
}

.qsl-card--double .qsl-title {
  grid-area: title;
}

.qsl-card--double .qsl-thumb:nth-of-type(1) {
  grid-area: front;
}

.qsl-card--double .qsl-thumb:nth-of-type(2) {
  grid-area: back;
}

.qsl-card--double .qsl-caption {
  grid-area: caption;
}

.qsl-card--double .qsl-thumb {
  height: 180px;
}

.qsl-card--placeholder {
  border-style: dashed;
}

.qsl-title {
  margin: 0;
  font-size: 1rem;
  color: #f7f0de;
}

.qsl-thumb {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.qsl-thumb:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.qsl-thumb--placeholder {
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.qsl-caption {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-self: stretch;
  padding: 0.8rem 0.9rem;
  border-left: 3px solid #3974bb;
  border-radius: 10px;
  background: rgba(30, 80, 146, 0.379);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.qsl-slogan {
  display: inline-block;
  color: #fff2c8;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: none;
}

.qsl-slogan::before,
.qsl-slogan::after {
  color: #3974bb;
  font-weight: 900;
}

.qsl-slogan::before {
  content: '“';
  margin-right: 0.15rem;
}

.qsl-slogan::after {
  content: '”';
  margin-left: 0.15rem;
}

.qsl-meta {
  color: rgba(239, 231, 216, 0.82);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qsl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.qsl-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.qsl-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 8, 0.84);
}

.qsl-lightbox-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  max-height: 90vh;
  padding: 24px;
  border-radius: 18px;
  background: rgba(20, 24, 31, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  transform: scale(0.94);
  transition: transform 0.25s ease;
}

.qsl-lightbox.is-open .qsl-lightbox-content {
  transform: scale(1);
}

.qsl-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}

.qsl-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* Feature schedule: make the first schedule prominent */
/* Schedule-specific styles have been moved to frequencies.css */
.schedule-feature { grid-column: auto; }
.schedule-groups { grid-column: auto; }
.group-thumbs { gap: 8px; }

/* prevent groups from overflowing their container */
.schedule-group { overflow: hidden; }

@media (max-width: 900px) {
  .group-thumbs { flex-wrap: wrap; }
  .group-thumbs .schedule-mini { width: 48%; max-width: 48%; }
}

@media (max-width: 420px) {
  .group-thumbs .schedule-mini { width: 100%; max-width: 100%; }
}

/* Ensure WRMI thumbnails share the same visible height */
.wrmi-group .group-thumbs { align-items: stretch; }
.wrmi-group .group-thumbs .schedule-mini {
  height: 220px;
  max-height: 220px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .wrmi-group .group-thumbs .schedule-mini { height: 160px; max-height: 160px; }
}

@media (max-width: 420px) {
  .wrmi-group .group-thumbs .schedule-mini { height: auto; max-height: none; }
}

body.qsl-lightbox-open {
  overflow: hidden;
}

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

.story-header {
  margin-bottom: 20px;
}

.story-shell {
  display: block;
}

.story-article {
  display: grid;
  gap: 18px;
}

.story-intro {
  margin: 0;
  padding: 14px 18px;
  border-left: 4px solid rgba(84, 150, 210, 0.95);
  border-radius: 12px;
  background: rgba(58, 90, 132, 0.3);
  color: #edf5ff;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
}

.story-quote-card {
  position: relative;
  padding: 18px 20px 18px 28px;
  border-radius: 14px;
  background: rgba(18, 30, 45, 0.76);
  border: 1px solid rgba(146, 187, 226, 0.14);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.story-quote-card::before {
  content: "“";
  position: absolute;
  left: 12px;
  top: 8px;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(118, 176, 228, 0.95);
}

.story-quote-card p {
  margin: 0;
  color: #edf1f7;
  line-height: 1.7;
}

.story-quote-card p + p {
  margin-top: 10px;
}

.story-quote-card strong {
  color: #cfe7ff;
}

.story-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 18px 14px 12px;
  border-radius: 16px;
  background: rgba(32, 52, 74, 0.48);
  border: 1px solid rgba(146, 187, 226, 0.18);
  text-align: center;
}

.story-figure img {
  width: 100%;
  max-width: 280px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.story-figure span {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #dfeeff;
  font-size: 0.7rem;
}

.story-signature {
  margin: 6px 0 0;
  color: #cfe7ff;
  font-weight: 800;
  font-size: 1.05rem;
}

.calendar-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 28px;
}

.calendar-day h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.calendar-day p {
  margin: 0;
  color: #d7cfbf;
}

.booking-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7f0de;
}

.calendar-shell {
  margin-top: 28px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.calendar-header h4 {
  margin: 0;
  font-size: 1.2rem;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background: #7bd08a;
}

.legend-dot.special {
  background: #c99d30;
}

.legend-dot.pre-recorded {
  background: blue;
}

.calendar-cell {
  position: relative;
}

.day-details {
  display: none;
  position: absolute;
  left: 8px;
  right: 8px;
  top: 36px;
  z-index: 30;
  background: rgba(10,12,16,0.98);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  width: 500px;
}

.calendar-cell:hover .day-details,
.calendar-cell.show-details .day-details {
  display: block;
}

.day-details ul { margin: 0; padding: 0; list-style: none; }
.time-slot { padding: 6px 8px; border-radius: 8px; margin-bottom: 6px; color: #efe7d8; background: rgba(255,255,255,0.02); }
.time-slot.booked { background: rgba(201,157,48,0.12); border: 1px solid rgba(201,157,48,0.14); }
.time-slot.live { background: rgba(123,208,138,0.12); border: 1px solid rgba(123,208,138,0.18); color: #eafaf0; }
.time-slot.special { background: rgba(201,157,48,0.12); border: 1px solid rgba(201,157,48,0.18); color: #fff6e3; }

.slot-indicators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.slot-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.95;
  flex: 0 0 auto;
}
.slot-indicator.live { background: #7bd08a; }
.slot-indicator.special { background: #c99d30; }
.slot-indicator.pre-recorded {
  background: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}
.time-slot.pre-recorded {
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.modal { display: none; position: fixed; inset: 0; z-index: 120; align-items: center; justify-content: center; }
.modal.show { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.modal-content { position: relative; z-index: 10; width: min(720px, 92%); background: var(--surface); border-radius: 12px; padding: 20px; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 12px 40px rgba(0,0,0,0.6); color: #efe7d8; }
.modal-close { position: absolute; right: 10px; top: 8px; background: transparent; border: none; color: #efe7d8; font-size: 1.4rem; cursor: pointer; }
.modal-content h3 { margin: 0 0 8px; font-size: 1.35rem; }
.modal-content p { margin: 6px 0; color: var(--text-muted); }

@media (max-width: 860px) {
  .calendar-wrapper { grid-template-columns: 1fr; }
  .day-details { position: static; display: none; margin-top: 8px; }
  .calendar-cell.show-details .day-details { display: block; }
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.calendar-weekdays {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-cell {
  min-height: 94px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-cell.muted {
  opacity: 0.45;
}

.date-number {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 700;
}

.event-chip {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(123, 208, 138, 0.18);
  color: #dff7e2;
  font-size: 0.78rem;
  margin-top: 4px;
}

.event-chip.special {
  background: rgba(201, 157, 48, 0.2);
  color: #f5e6bb;
}

.white {

.calendar-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.calendar-main {
  padding: 12px;
}

.month-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
}

.month-script {
  font-family: 'Great Vibes', cursive;
  font-size: 64px;
  line-height: 0.85;
  color: #efe7d8;
}

.month-year {
  color: var(--text-muted);
  font-weight: 700;
  margin-left: 6px;
}

.calendar-weekdays {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.calendar-grid {
  grid-auto-rows: 110px;
}

.calendar-cell {
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.calendar-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-box {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}

.notes-area {
  min-height: 220px;
  background: rgba(0,0,0,0.02);
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  color: #efe7d8;
}

.appointments-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.calendar-legend {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  color: var(--text-muted);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background: #7bd08a;
}

.legend-dot.special { background: #c99d30; }

.schedule-shell { margin-top: 28px; }
.schedule-header { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:8px; }
.schedule-header h4 { margin:0; font-size:1.05rem; }
.schedule-grid { border-radius:10px; overflow:auto; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.04); }
.grid-row { display:grid; grid-template-columns: 80px repeat(7, 1fr); gap:6px; align-items:start; padding:6px; border-bottom:1px solid rgba(255,255,255,0.02); }
.grid-head { background: rgba(255,255,255,0.02); position:sticky; top:0; z-index:5; }
.cell { padding:6px; font-size:0.85rem; color:#efe7d8; }
.time-cell { font-weight:700; color:var(--text-muted); }
.day-head { text-align:center; font-weight:800; }
.hour-row .cell { min-height:40px; background: transparent; border-radius:6px; position:relative; }
.day-slot { min-height:44px; padding:6px; border-radius:6px; background: rgba(255,255,255,0.01); }
.program-block { display:block; padding:6px 8px; margin-bottom:6px; border-radius:6px; background:#f7f0c9; color:#10131a; font-weight:700; font-size:0.8rem; }
.program-block.live { background:#0b4d65; color:#f0f6f7; }
.program-block.special { background:#c99d30; color:#10131a; }
.program-block.booked { background:#dfcaa0; color:#10131a; border:1px solid rgba(0,0,0,0.06); }
.schedule-legend { margin-top:8px; display:flex; gap:12px; color:var(--text-muted); }
.legend-dot.booked { background:#dfcaa0; }

@media (max-width:860px){ .grid-row{ grid-template-columns: 60px repeat(7, minmax(0,1fr)); } .schedule-grid{ font-size:0.9rem;} }

/* Day modal hourly rows */
.day-modal-body { display:grid; grid-template-columns: 80px 1fr; gap:8px; max-height: 70vh; overflow:auto; padding-top:8px; position:relative; align-items:start; }
/* timeline is split into 96 rows of 15 minutes (24h * 4) */
.day-modal-body .timeline { display:grid; grid-template-rows: repeat(96, 12px); position:relative; }
.day-modal-body .labels { display:grid; grid-template-rows: repeat(24, 48px); }
.time-cell { padding:6px; font-weight:700; color:var(--text-muted); align-self:start; }
.program-block { box-sizing:border-box; padding:8px; border-radius:6px; overflow:hidden; }
.day-modal-body .program-block { position:relative; z-index:5; width:100%; }
.day-modal-body .program-block.live { background: rgba(123,208,138,0.12); border:1px solid rgba(123,208,138,0.18); color:#eafaf0; }
.day-modal-body .program-block.special { background: rgba(201,157,48,0.12); border:1px solid rgba(201,157,48,0.18); color:#fff6e3; }
.day-modal-body .program-block.pre-recorded { background: rgba(37, 99, 235, 0.12); border:1px solid rgba(37, 99, 235, 0.18); color:#eaf0ff; }

  color: #efe7d8;
}

.listen-grid,
.info-grid {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.listen-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.stream-card,
.info-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.audio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-right: 14px;
  border-radius: 50%;
  background: rgba(209, 166, 60, 0.18);
  color: #efe7d8;
  font-size: 1rem;
}

.stream-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stream-card h4,
.info-card h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.stream-card p,
.info-card p {
  margin: 0;
  color: #d7cfbf;
}

.feature-list article {
  margin-bottom: 20px;
}

.feature-list h4 {
  margin: 0 0 8px;
  font-size: 1.03rem;
}

.feature-list p {
  margin: 0;
  color: #d7cfbf;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #efe7d8;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .listen-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding: 18px 14px 28px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h2,
  .section-intro h3 {
    font-size: 2.2rem;
  }

  .radio-card {
    padding: 22px;
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
