/* Schedule page styles — week list and month grid. */

.schedule-tz {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: -1.5rem;
  margin-bottom: 1rem;
}
.schedule-views {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 2rem;
}
.schedule-views a {
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.schedule-views a:hover { color: var(--primary); }
.schedule-views a.is-active {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.schedule-error {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}
.schedule-empty {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.schedule-none {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1rem;
}
.schedule-day {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
}
.schedule-day-title {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.schedule-day.is-today .schedule-day-title { color: var(--primary); }
.schedule-today-tag {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--primary);
}
.schedule-event {
  margin-block: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
}
@media (min-width: 640px) {
  .schedule-event {
    grid-template-columns: 9rem 1fr;
    gap: 1.5rem;
  }
}
.schedule-event.is-past { opacity: 0.6; }
.schedule-time {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.schedule-event-title {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
}
.schedule-ended {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--muted-foreground);
}
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--destructive);
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.05em;
}
.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: currentColor;
}
.schedule-desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-top: 0.5rem;
}
.schedule-location {
  display: inline-block;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}
a.schedule-location:hover { color: var(--primary); }

/* Month grid */
.month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.month-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.15s;
}
.month-nav-link:hover { color: var(--primary); }
.month-nav-spacer { width: 4rem; }
.month-label {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background-color: var(--border);
}
.month-weekday {
  background-color: var(--background);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1rem;
  text-align: center;
  padding-block: 0.5rem;
}
.month-cell {
  background-color: var(--background);
  min-height: 6rem;
  padding: 0.5rem;
}
.month-cell.is-outside { opacity: 0.4; }
.month-cell.is-today {
  outline: 1px solid var(--primary);
  outline-offset: -1px;
}
.month-daynum {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--muted-foreground);
}
.month-cell.is-today .month-daynum { color: var(--primary); }
.month-dayfull {
  display: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.month-event {
  font-size: 0.75rem;
  line-height: 1rem;
  margin-top: 0.25rem;
}
.month-event.is-past { opacity: 0.6; }
.month-event-time { color: var(--muted-foreground); }
.month-event-title { font-weight: 600; }

@media (max-width: 767px) {
  .month-grid {
    display: block;
    background-color: transparent;
  }
  .month-weekday { display: none; }
  .month-cell { min-height: 0; }
  .month-cell:not(.has-events) { display: none; }
  .month-cell.has-events {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-block: 0.75rem;
  }
  .month-cell .month-daynum { display: none; }
  .month-cell .month-dayfull { display: inline; }
  .month-cell.is-outside { display: none; }
}
