/* MOONLIGHT WORLD — Daily Schedule / ROME SOMEWAT-style section headings */

/* The three main section headings share the exact Inter Black + lavender treatment. */
.section-display-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(16px, 1.8vw, 26px);
  margin: 0 0 clamp(22px, 2.2vw, 32px);
}
.section-display-heading h2 {
  margin: 0;
  color: #fbfaff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(34px, 4.25vw, 64px);
  font-weight: 900;
  line-height: .99;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-display-heading h2 em {
  color: #c8bbff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-style: normal;
  font-weight: 900;
  text-shadow: none;
}
.section-display-heading .heading-rule {
  display: block;
  width: clamp(90px, 9vw, 150px);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c8bbff 0%, rgba(231,166,255,.18) 100%);
  box-shadow: 0 0 14px rgba(190,158,255,.16);
}

/* Lunar heading intentionally drops its former kicker and right-side TODAY pill. */
.lunar-panel-head.section-display-heading {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: clamp(22px, 2.2vw, 32px);
}
.lunar-panel-head.section-display-heading h2 {
  font-size: clamp(34px, 4.25vw, 64px);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -.065em;
  line-height: .99;
}
.lunar-panel-head.section-display-heading h2 em {
  color: #c8bbff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 900;
  font-style: normal;
}

/* Daily schedule panel */
.daily-schedule-section { padding-top: clamp(30px, 3vw, 44px); scroll-margin-top: 92px; }
.daily-schedule-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(20px, 2.3vw, 32px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 88% 0%, rgba(155,136,255,.10), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018)),
    rgba(23,17,42,.48);
  box-shadow: 0 28px 80px rgba(3,2,11,.38), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(26px) saturate(1.18);
  backdrop-filter: blur(26px) saturate(1.18);
}
.daily-schedule-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  aspect-ratio: 1;
  top: -250px;
  right: 10%;
  border-radius: 50%;
  background: rgba(159,124,255,.085);
  filter: blur(55px);
  pointer-events: none;
}
.schedule-heading { margin-bottom: clamp(22px, 2.2vw, 32px); }

.schedule-channel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 10px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 17px;
  background: linear-gradient(110deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}
.schedule-channel-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.schedule-person {
  color: rgba(241,237,255,.56);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .18em;
}
.schedule-channel-name { color: #fff; font-size: 14px; font-weight: 850; letter-spacing: .015em; }
.schedule-channel-name span { margin-left: 5px; color: #c8bbff; font-size: 12px; font-weight: 650; }
.schedule-off-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(200,187,255,.22);
  border-radius: 999px;
  color: #ddd2f3;
  background: rgba(160,132,216,.085);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  white-space: nowrap;
}
.schedule-off-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #baa5e9;
  box-shadow: 0 0 10px rgba(186,165,233,.48);
}

.schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.schedule-row {
  display: grid;
  grid-template-columns: minmax(160px, 190px) 1px minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(16px, 2vw, 27px);
  min-height: 70px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,.105);
}
.schedule-row:last-child { border-bottom: 0; }
.schedule-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(221,208,255,.14);
  border-radius: 11px;
  color: #f8f5ff;
  background: rgba(255,255,255,.075);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.015em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.schedule-time span { color: #b6a3d7; font-weight: 600; }
.schedule-rail {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, rgba(199,180,244,.44), transparent);
}
.schedule-activity { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.schedule-activity strong {
  color: #f8f5ff;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.schedule-activity > span { color: rgba(224,211,246,.7); font-size: 11px; font-weight: 600; letter-spacing: .025em; }
.schedule-live-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cdbaff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .105em;
}
.schedule-live-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bca1ff;
  box-shadow: 0 0 10px rgba(188,161,255,.8);
}
.schedule-row--live {
  position: relative;
  margin: 5px 0;
  border: 1px solid rgba(194,166,255,.28);
  border-radius: 15px;
  background: linear-gradient(100deg, rgba(151,116,224,.17), rgba(151,116,224,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 0 28px rgba(131,95,205,.075);
}
.schedule-row--live .schedule-time {
  border-color: rgba(210,190,255,.3);
  background: rgba(183,151,255,.14);
  color: #fff;
}
.schedule-row--live .schedule-rail { background: linear-gradient(180deg, transparent, #b99cff, transparent); }
.schedule-row--live .schedule-activity strong { color: #d7c3ff; }
.schedule-row--last { padding-bottom: 4px; }

@media (max-width: 760px) {
  .section-display-heading { gap: 13px; margin-bottom: 18px; }
  .section-display-heading h2,
  .lunar-panel-head.section-display-heading h2 { font-size: clamp(28px, 7.3vw, 40px); letter-spacing: -.06em; line-height: 1.02; }
  .section-display-heading .heading-rule { width: 88px; height: 3px; }
  .lunar-panel-head.section-display-heading { margin-bottom: 18px; }
  .daily-schedule-section { padding-top: 28px; scroll-margin-top: 80px; }
  .daily-schedule-panel { padding: 16px 13px; border-radius: 25px; }
  .schedule-heading { margin-bottom: 18px; }
  .schedule-channel-bar { padding: 11px 12px; gap: 8px; border-radius: 14px; }
  .schedule-person { font-size: 8px; }
  .schedule-channel-name { font-size: 12px; }
  .schedule-channel-name span { font-size: 10px; }
  .schedule-off-pill { padding: 7px 8px; gap: 6px; font-size: 7px; letter-spacing: .08em; }
  .schedule-row {
    grid-template-columns: minmax(112px, 126px) 1px minmax(0, 1fr);
    column-gap: 10px;
    min-height: 64px;
    padding: 11px 3px;
  }
  .schedule-time { min-height: 39px; padding: 6px 5px; gap: 3px; border-radius: 9px; font-size: 9px; }
  .schedule-rail { height: 34px; }
  .schedule-activity { gap: 4px; }
  .schedule-activity strong { font-size: 10px; line-height: 1.25; }
  .schedule-activity > span { font-size: 9px; }
  .schedule-live-note { font-size: 7px; letter-spacing: .045em; line-height: 1.4; }
}
@media (max-width: 380px) {
  .schedule-row { grid-template-columns: minmax(103px, 112px) 1px minmax(0, 1fr); column-gap: 8px; }
  .schedule-time { font-size: 8px; }
  .schedule-activity strong { font-size: 9px; }
  .schedule-live-note { font-size: 6.5px; }
  .schedule-off-pill { font-size: 6px; }
}
