.schedule-heading { cursor: default; }
.schedule-week-controls { display: flex; flex: none; align-items: center; gap: clamp(2px, 1cqw, 6px); }
.schedule-arrow.board-arrow { display: none; }
body > .tall-schedule-slot .schedule-arrow.board-arrow:not([hidden]) {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  position: static;
  width: clamp(22px, 8cqmin, 30px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.85;
  transform: none;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s ease;
}
.schedule-arrow.board-arrow svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.schedule-arrow.board-arrow-next svg { transform: scaleX(-1); }
body > .tall-schedule-slot .schedule-arrow.board-arrow:hover,
body > .tall-schedule-slot .schedule-arrow.board-arrow:focus-visible { outline: none; opacity: 1; transform: scale(1.12); }
body > .tall-schedule-slot .schedule-arrow.board-arrow:active { transform: scale(0.92); }
.sched {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 clamp(6px, 3cqw, 12px) clamp(6px, 3cqmin, 10px);
  font-family: 'Gratis Neue', Arial, sans-serif;
}
.sched-track {
  display: flex;
  flex: 1 1 auto;
  width: 300%;
  min-height: 0;
  transform: translate3d(-33.333333%, 0, 0);
  will-change: transform;
}
.sched-track.is-gliding { transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sched-page {
  flex: 0 0 33.333333%;
  box-sizing: border-box;
  width: 33.333333%;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sched-days {
  flex: none;
  display: grid;
  grid-template-columns: repeat(var(--sched-day-count, 7), minmax(0, 1fr));
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.22);
}
.sched-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1;
  min-width: 0;
}
.sched-day b {
  font-weight: 400;
  font-size: clamp(8px, 2.6cqw, 11px);
  letter-spacing: 1px;
  color: #87939b;
  -webkit-text-stroke: 1px #000;
  paint-order: stroke fill;
}
.sched-day i {
  font-style: normal;
  font-size: clamp(13px, 4.4cqw, 20px);
  color: #efffff;
  -webkit-text-stroke: 1.5px #000;
  paint-order: stroke fill;
}
.sched-day i {
  padding: 1px 0.35em;
  border-radius: 999px;
}
.sched-day.is-today { background: rgba(255, 210, 26, 0.12); }
.sched-day.is-today b { color: #ffd21a; }
.sched-day.is-today i {
  background: #ffd21a;
  color: #000;
  -webkit-text-stroke: 0;
}
.sched-col.is-today { background: rgba(255, 210, 26, 0.08); }
.sched-week {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(var(--sched-day-count, 7), minmax(0, 1fr));
  padding-top: clamp(5px, 2cqh, 10px);
}
.sched-col {
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 1cqh, 8px);
  min-width: 0;
  padding: 0 clamp(1px, 0.6cqw, 4px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.sched-card {
  flex: 1 1 0;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: clamp(3px, 1cqh, 6px) clamp(2px, 0.8cqw, 5px);
  border: 1.5px solid #000;
  border-left: 3px solid #ffd21a;
  background: #c8201a;
  color: #fff;
  font-family: inherit;
  line-height: 1.1;
  font-size: clamp(12px, 3.5cqw, 16px);
  text-shadow: 1px 1px 0 #000;
}
.sched-card b {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.sched-card span {
  display: block;
  margin-top: 3px;
  color: #ffe9a6;
  font-size: 0.85em;
  overflow-wrap: anywhere;
}
.sched-card.is-live { background: #e8291e; box-shadow: 0 0 0 1.5px #ffd21a; }
.sched-card.is-finished { border-left-color: #89939b; background: #393d40; color: #b9bec2; text-shadow: 1px 1px 0 #000; }
.sched-card.is-finished span { color: #aeb4b8; }
.sched-card.is-archived {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  text-align: left;
  cursor: pointer;
}
.sched-card.is-archived:hover { background: #50565b; }
.sched-card.is-archived:focus-visible { outline: 2px solid #ffd21a; outline-offset: 1px; }
.sched-card-thumb {
  display: block;
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.2);
  filter: grayscale(1);
  opacity: .72;
}
body > .tall-schedule-slot .sched-card { container-type: size; }
body > .tall-schedule-slot .sched-card b { font-size: clamp(9px, min(22cqh, 12cqw), 16px); }
body > .tall-schedule-slot .sched-card span { font-size: clamp(8px, min(18cqh, 10cqw), 13.6px); }
body > .tall-schedule-slot .sched-card.is-archived b { flex: none; font-size: clamp(9px, min(13cqh, 12cqw), 16px); }
body > .tall-schedule-slot .sched-card.is-archived span { flex: none; font-size: clamp(8px, min(11cqh, 10cqw), 13.6px); }
body > .tall-schedule-slot .sched-card-thumb {
  flex: 0 1 auto;
  min-height: 0;
  height: 56.25cqw;
  aspect-ratio: auto;
}
@media (max-width: 860px) {
  .schedule-arrow.board-arrow { display: none !important; }
  .sched { touch-action: pan-y; }
  .sched-week { flex: 1 1 auto; }
  .sched-col { gap: 5px; }
  .sched-card {
    flex: 0 0 auto;
    max-height: 104px;
    padding: 5px 4px;
    font-size: clamp(12px, 3.5cqw, 16px);
  }
  .sched-card b {
    -webkit-line-clamp: 2;
    overflow-wrap: normal;
    word-break: normal;
  }
  .sched-card span { overflow-wrap: normal; word-break: normal; }
  .sched-card-thumb { max-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .schedule-arrow.board-arrow { transition: none; }
  .sched-track.is-gliding { transition: none; }
}
.schedule-bell {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(32px, 10cqmin, 42px);
  aspect-ratio: 1;
  margin: 0 0 0 clamp(4px, 1.5cqw, 8px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}
.schedule-view svg { width: 58%; height: 58%; }
.schedule-bell svg { display: block; width: 62%; height: 62%; pointer-events: none; }
.schedule-bell .bell-on,
.schedule-bell[aria-pressed="true"] .bell-off { display: none; }
.schedule-bell[aria-pressed="true"] .bell-on { display: block; }
.schedule-bell[aria-pressed="true"],
.schedule-view[aria-pressed="true"] { background: var(--interactive-hover, #fff35c); }
.schedule-bell:hover,
.schedule-bell:focus-visible { outline: none; transform: scale(1.1); }
.schedule-bell:active { transform: scale(0.92); }
.schedule-bell[aria-busy="true"] { opacity: 0.6; }
.schedule-bell-hint {
  flex: none;
  margin: 0 clamp(8px, 5cqw, 14px) 6px;
  padding: 6px 8px;
  border-left: 3px solid #ffd21a;
  background: rgba(0, 0, 0, 0.45);
  color: #efffff;
  font-size: clamp(11px, 3.2cqw, 13px);
  line-height: 1.3;
}
.schedule-bell-hint[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .schedule-bell { transition: none; }
}
.sched-mhead {
  flex: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding-bottom: 4px;
  text-align: center;
}
.sched-mhead b {
  font-weight: 400;
  font-size: clamp(8px, 2.6cqw, 11px);
  letter-spacing: 1px;
  color: #87939b;
  -webkit-text-stroke: 1px #000;
  paint-order: stroke fill;
}
.sched-month {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(var(--sched-rows, 5), minmax(0, 1fr));
}
.sched-mday {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 3px 1px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sched-mday.is-out { cursor: default; }
.sched-mday:nth-child(7n+1) { border-left: 0; }
.sched-mday:not(.is-out):hover { background: rgba(255, 255, 255, 0.06); }
.sched-mday:focus-visible { outline: 2px solid #ffd21a; outline-offset: -2px; }
.sched-mday i {
  align-self: center;
  min-width: 1.6em;
  padding: 1px 0.3em;
  border-radius: 999px;
  font-style: normal;
  text-align: center;
  line-height: 1.1;
  font-size: clamp(11px, 3.6cqw, 16px);
  color: #efffff;
  -webkit-text-stroke: 1.2px #000;
  paint-order: stroke fill;
}
.sched-mday.is-today { background: rgba(255, 210, 26, 0.12); }
.sched-mday.is-today i { background: #ffd21a; color: #000; -webkit-text-stroke: 0; }
.sched-chip {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  flex: none;
  min-width: 0;
  margin: 0;
  padding: 1px 2px;
  border: 0;
  border-left: 2px solid #ffd21a;
  border-radius: 2px;
  background: #c8201a;
  color: #fff;
  font: inherit;
  font-size: clamp(8px, 2.5cqw, 11px);
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 1px 1px 0 #000;
}
.sched-chip.is-live { background: #e8291e; box-shadow: 0 0 0 1px #ffd21a; }
.sched-chip.is-finished { border-left-color: #89939b; background: #393d40; color: #b9bec2; }
.sched-chip.is-archived { cursor: pointer; }
.sched-chip.is-archived:hover { background: #50565b; }
@container (min-width: 560px) and (max-height: 360px) {
  .sched-month-page { --mnum: clamp(24px, 3.4cqw, 34px); }
  .sched-mhead { justify-items: start; padding-bottom: 2px; }
  .sched-mhead b { width: var(--mnum); margin-left: 4px; text-align: center; }
  .sched-mday {
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 1px 4px;
  }
  .sched-mday i {
    flex: none;
    box-sizing: border-box;
    width: var(--mnum);
    min-width: 0;
    padding: 1px 0;
  }
  .sched-chip {
    flex: 1 1 0;
    padding: 2px 4px;
    font-size: clamp(9px, 1.3cqw, 12px);
    line-height: 1.2;
  }
}
