html body[data-page="calendar"] .calendar-layout {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:0;
  padding:3.125rem 0 0;flex:1;min-height:0;align-items:stretch;
  grid-template-rows:minmax(0,1fr);grid-auto-rows:auto;overflow:hidden;
}
html body[data-page="calendar"] .month-pane {min-width:0;min-height:0;padding:3.125rem 5rem 4rem 11.25rem;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;}
html body[data-page="calendar"] .calendar-monthbar {
  height:2.5rem;display:grid;grid-template-columns:1.875rem 1fr 2.5rem 1.875rem;
  align-items:center;margin:0;border:.0625rem solid #111;border-bottom:0;color:#222;font-size:1rem;
}
.calendar-monthbar strong {font-weight:400;text-align:center;}
.calendar-monthbar button {height:100%;padding:0;line-height:1;}
.calendar-monthbar button:disabled {opacity:.5;}
html body[data-page="calendar"] .calendar-monthbar button:not(.calendar-today) {display:grid;place-items:center;}
.calendar-monthbar svg {width:1.5rem;height:1.5rem;fill:none;stroke:#888;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
html body[data-page="calendar"] .calendar-monthbar .calendar-today {
  display:grid;place-items:center;width:2.25rem;height:2.25rem;padding:0;border:0;
  border-radius:50%;background:transparent;color:var(--purple);font-size:1rem;line-height:1;
}
html body[data-page="calendar"] .calendar-monthbar .calendar-today.is-selected {background:var(--purple);color:#fff;}
html body[data-page="calendar"] .calendar-weekdays {
  height:1.875rem;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));font-size:1rem;
  text-align:center;color:#222;border-top:.0625rem solid #111;border-right:.0625rem solid #111;
}
.calendar-weekdays span {display:grid;place-items:center;border-left:.0625rem solid #111;}
.calendar-weeks {border-left:.0625rem solid #111;border-top:.0625rem solid #111;}
html body[data-page="calendar"] .calendar-week {position:relative;height:6.25rem;border-bottom:.0625rem solid #111;}
.calendar-days {height:100%;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));}
html body[data-page="calendar"] .calendar-day {
  padding:.125rem 0 0;min-width:0;display:flex;justify-content:center;align-items:flex-start;
  border:0;border-right:.0625rem solid #111;background:transparent;color:#222;font-size:1rem;
}
html body[data-page="calendar"] .calendar-day.outside {background:transparent;color:#999;}
html body[data-page="calendar"] .calendar-day span {
  display:grid;place-items:center;visibility:visible;width:1.375rem;height:1.375rem;
  border-radius:50%;font-size:.875rem;line-height:1.375rem;text-align:center;
}
html body[data-page="calendar"] .calendar-day.today span {background:transparent;color:var(--purple);}
html body[data-page="calendar"] .calendar-day.chosen span {background:var(--purple);color:#fff;box-shadow:none;}
html body[data-page="calendar"] .schedule-bar {
  position:absolute;top:calc(1.75rem + var(--lane)*1.25rem);left:calc(var(--start)*100%/7);
  width:calc(var(--span)*100%/7);height:1.125rem;padding:0 .375rem;border:0;border-radius:0;
  background:var(--bar);text-align:left;color:white;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;font-size:.875rem;font-weight:400;line-height:1.125rem;z-index:1;
}
html body[data-page="calendar"] .schedule-bar.selected {background:var(--bar-selected);}
html body[data-page="calendar"] .calendar-legend {display:flex;justify-content:flex-start;gap:.75rem;margin-top:.5rem;font-size:.75rem;line-height:1.2;color:#222;white-space:nowrap;}
.calendar-legend span::before {content:"";display:inline-block;width:.875rem;height:.875rem;background:var(--bar);margin-right:.125rem;vertical-align:-.125rem;}
html body[data-page="calendar"] .calendar-side {
  position:relative;min-width:0;min-height:0;border:0;box-shadow:inset .0625rem 0 #aaa;
  padding:0;overflow:hidden;
}
html body[data-page="calendar"] :is(.calendar-overview-pane,.calendar-detail-scroll) {height:100%;min-height:0;padding:3.125rem 6.25rem 4rem 5rem;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;}
.calendar-detail-layer {position:absolute;inset:0;z-index:1;background:#fff;box-shadow:inset .0625rem 0 #aaa;overflow:hidden;}
html body[data-page="calendar"] .calendar-side .schedule-overview {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5rem;}
.schedule-group {min-width:0;}
html body[data-page="calendar"] .calendar-selected-date {margin:0 0 1.5rem;}
html body[data-page="calendar"] .calendar-selected-date h2 {
  margin:0 0 .5rem;padding:.125rem .375rem;background:var(--purple);color:#fff;
  font-size:1.25rem;font-weight:400;line-height:1.4;
}
.calendar-selected-date-row {display:flex;align-items:center;justify-content:space-between;gap:1rem;}
html body[data-page="calendar"] .calendar-selected-date time {font-size:2.5rem;line-height:1.25;color:#111;}
html body[data-page="calendar"] .calendar-selected-today {
  display:grid;place-items:center;flex:none;width:2.25rem;height:2.25rem;
  border-radius:50%;background:var(--purple);color:#fff;font-size:1rem;line-height:1;
}
html body[data-page="calendar"] :is(.schedule-group h2,.schedule-title) {
  margin:0 0 1.25rem;padding:.125rem .375rem;background:var(--purple);color:#fff;
  font-size:1.5rem;line-height:1.4;font-weight:400;
}
.schedule-list {display:grid;gap:1.25rem;align-content:start;}
html body[data-page="calendar"] .calendar-side .schedule-banner {display:block;aspect-ratio:auto;text-align:left;}
html body[data-page="calendar"] .calendar-side .schedule-banner > .schedule-caption {
  position:static;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;
  opacity:1;pointer-events:none;background:var(--purple);color:white;text-align:left;
}
html body[data-page="calendar"] .calendar-side .schedule-banner > .schedule-caption strong {font-size:1.25rem;line-height:1.5rem;font-weight:400;}
.schedule-empty {font-size:1.125rem;color:#999;margin:.625rem 0;}
.schedule-hero {display:grid;grid-template-columns:minmax(0,25.625rem) minmax(0,1fr);gap:2.5rem;align-items:start;}
.schedule-detail-banner {display:block;min-width:0;}
.schedule-detail-banner img {display:block;width:100%;aspect-ratio:7/3;object-fit:contain;}
.calendar-side .arena-event-visual {position:relative;display:block;width:100%;aspect-ratio:488/208;overflow:hidden;background:#09112c;}
.calendar-side .arena-event-visual > .arena-event-art {display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center 58%;}
.calendar-side .arena-event-visual > .arena-event-logo {position:absolute;left:3%;top:8%;width:39%;height:84%;aspect-ratio:auto;object-fit:contain;filter:drop-shadow(0 .125rem .25rem #070b29);}
.schedule-metadata {min-width:0;font-size:1.5rem;}
.schedule-time h2 {font-size:inherit;line-height:1.5;font-weight:400;margin:0;}
.schedule-time p {font-size:1.25rem;line-height:1.5;margin:.25rem 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
.schedule-facts {display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.5rem .5rem;align-items:center;margin:2.5rem 0 0;}
.schedule-facts dt,.schedule-facts dd {margin:0;}
.schedule-facts dd {display:flex;justify-content:flex-end;gap:.5rem;flex-wrap:wrap;}
.schedule-facts img {width:1.875rem;height:1.875rem;object-fit:contain;}
html body[data-page="calendar"] .schedule-label {font-size:1.5rem;font-weight:400;line-height:1.4;margin:0 0 .375rem;}
.calendar-pickups,.calendar-event-content {margin-top:3.125rem;}
html body[data-page="calendar"] .calendar-side .pickup-grid {display:flex;flex-direction:column;gap:.875rem;align-items:stretch;}
html body[data-page="calendar"] .calendar-side .pickup-row,
html body[data-page="calendar"] .calendar-side .pickup-row:has(.summary-support) {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.875rem;
  width:100%;max-width:none;min-width:0;align-items:start;
}
.pickup-card {display:block;min-width:0;padding:0;}
html body[data-page="calendar"] .calendar-event-content {display:grid;grid-template-columns:minmax(0,25.625rem) minmax(0,1fr);gap:2.5rem;align-items:start;}
html body[data-page="calendar"] .calendar-event-content:not(:has(.calendar-song)) {grid-template-columns:minmax(0,1fr);}
html body[data-page="calendar"] .calendar-event-content:has(.calendar-song) {grid-template-columns:minmax(0,1fr);gap:1.25rem;}
.calendar-song {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.875rem;align-items:start;min-width:0;}
.calendar-song > .schedule-label {grid-column:1 / -1;}
.calendar-song-card {display:block;width:100%;min-width:0;border:.125rem solid var(--purple);border-radius:var(--card-corner-radius);overflow:hidden;background:var(--purple);color:#fff;}
.calendar-song-card > img {display:block;width:100%;aspect-ratio:1;object-fit:contain;}
.calendar-song-card > span {display:block;padding:.125rem .3125rem;height:1.875rem;font-size:1.25rem;line-height:1.625rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html body[data-page="calendar"] .calendar-event-content:has(.calendar-song) .calendar-rewards .pickup-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.875rem;align-items:start;}
html body[data-page="calendar"] .calendar-event-content:has(.calendar-song) .calendar-rewards .pickup-row {display:contents;}

html body[data-page="calendar"] .calendar-day:not(.chosen):not(.today) > span {
  background: transparent;
  color: #222;
}
html body[data-page="calendar"] .calendar-day.outside:not(.chosen):not(.today) > span { color:#999; }
html body[data-page="calendar"] .calendar-day.today:not(.chosen) > span { background:transparent; color:var(--purple); }
html body[data-page="calendar"] .calendar-day[aria-pressed="true"] > span { background:var(--purple); color:#fff; }
html body[data-page="calendar"] .calendar-monthbar .calendar-today[aria-pressed="false"] { background:transparent; color:var(--purple); }
html body[data-page="calendar"] .calendar-monthbar .calendar-today[aria-pressed="true"] { background:var(--purple); color:#fff; }
html body[data-page="calendar"] .month-pane { grid-column:1; grid-row:1; }
html body[data-page="calendar"] .calendar-side { grid-column:2; grid-row:1; }
html body[data-page="calendar"] .calendar-side-toggle {
  position:sticky;
  top:0;
  grid-column:2;
  grid-row:1;
  align-self:start;
  justify-self:start;
  z-index:20;
  display:grid;
  place-items:center;
  width:1.875rem;
  height:1.875rem;
  margin:0 0 0 .3125rem;
  padding:0;
  border:0;
  background:#fff;
  color:#999;
}
.calendar-side-toggle svg { width:1.25rem; height:1.625rem; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.calendar-side-toggle:hover { color:var(--purple); }
html body[data-page="calendar"] .calendar-detail-layer .calendar-side-toggle {position:absolute;top:0;left:.3125rem;margin:0;}

html body[data-page="calendar"] .calendar-side-toggle[hidden] { display:none; }
html body[data-page="calendar"] .calendar-day > span {
  box-sizing:border-box;
  border:.125rem solid transparent;
  font-weight:400;
}
html body[data-page="calendar"] .calendar-day.today:not(.chosen) > span {
  border-color:var(--purple);
  background:transparent;
  color:var(--purple);
  font-weight:400;
}
html body[data-page="calendar"] .calendar-day.chosen > .birthday-avatar {
  width:1.625rem;
  height:1.625rem;
  overflow:hidden;
  border-color:var(--purple);
  background:#fff;
}
html body[data-page="calendar"] .birthday-avatar img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

html body[data-page="calendar"] .calendar-disclaimer {margin:.5rem 0 0;color:#808080;font-size:.75rem;line-height:1.5;overflow-wrap:anywhere;}
