* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
.skip-link {
  position: fixed;
  top: 6px;
  left: 10px;
  z-index: 25;
  padding: 8px 14px;
  background: white;
  color: var(--glass-ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.archive, html[data-glass-page] .archive-site-header .archive-site-nav {
  width: min(1200px, calc(100% - clamp(48px, 7.4vw, 104px)));
  margin-inline: auto;
}
.archive { padding-bottom: 24px; }
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 25px 24px;
  border-top: 1px solid #ffffffde;
  border-bottom: 1px solid #c7c5d7;
}
h1, h2, h3, p { margin: 0; }
.hero h1 { font-size: clamp(42px, 4.3vw, 60px); line-height: 1.22; letter-spacing: -.055em; }
.period, .count, .years, .query, .listhead, .detailhead, .upcoming, .future { display: flex; align-items: center; }
.period { gap: 10px; margin-top: 12px; color: var(--glass-muted); font-size: 14px; }
.period::before { content: ""; width: 23px; height: 2px; background: #876f9b; }
.count { align-items: baseline; gap: 12px; white-space: nowrap; }
.count b { font: italic 76px/.98 Georgia, serif; letter-spacing: -.065em; color: #594966; }
.count span { color: var(--glass-muted); font-size: 15px; }
#load-state, noscript p { padding: 22px 0; color: var(--glass-muted); }
#load-state button, .empty button {
  margin: 6px 10px;
  padding: 6px 12px;
  border: 1px solid var(--glass-line);
  border-radius: 8px;
  background: white;
}
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 18px; }
.years { flex-wrap: wrap; gap: 4px; }
.years button {
  padding: 9px 15px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #554f67;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
.years button[aria-pressed="true"] { background: #473951; color: white; }
.years button:hover:not([aria-pressed="true"]) { background: #ffffff96; }
.query {
  gap: 12px;
  padding: 8px 15px;
  background: #ffffffa1;
  border: 1px solid #d1cfdd;
  border-radius: 22px;
}
.lens { position: relative; flex: 0 0 13px; height: 13px; margin-right: 2px; border: 1.6px solid #746c82; border-radius: 50%; }
.lens::after { position: absolute; content: ""; right: -4px; bottom: -2px; width: 6px; height: 1.6px; background: #746c82; transform: rotate(45deg); }
.query input { min-width: 0; width: 182px; padding: 0; border: 0; background: transparent; font-size: 13px; line-height: 1.5; }
.query input::placeholder { color: #6d6378; }
.query:focus-within { outline: 2px solid #795998; }
.query input:focus-visible { outline: 0; }
.grid { display: grid; grid-template-columns: minmax(0,1.52fr) minmax(300px,1fr); align-items: start; gap: 20px; }
.card { min-width: 0; overflow: hidden; border: 1px solid #fffc; border-radius: 18px; background: #ffffffe0; box-shadow: var(--glass-shadow); }
.listhead, .detailhead { justify-content: space-between; align-items: baseline; gap: 10px; padding: 18px 23px 14px; }
.listhead h2, .detailhead h2 { font-size: 19px; letter-spacing: .02em; }
.listhead span, .detailhead small { color: var(--glass-muted); font-size: 13px; }
.rows { padding: 0 13px 10px; }
.row {
  display: grid;
  grid-template-columns: 75px 43px minmax(0,1fr) 15px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 87px;
  padding: 11px 13px;
  border: 0;
  border-top: 1px solid #e8e6ed;
  background: transparent;
  text-align: left;
}
.row:hover { background: #f4f1f7; }
.row[aria-pressed="true"] { background: #eee8f4; border-radius: 10px; border-top-color: transparent; box-shadow: inset 3px 0 #84689c; }
.row[aria-pressed="true"] + .row { border-top-color: transparent; }
.row:focus-visible { outline-offset: -3px; }
.when { display: grid; justify-items: start; gap: 3px; }
.day { font: 500 20px/1.25 Consolas, "Cascadia Mono", monospace; letter-spacing: -.055em; white-space: nowrap; }
.day.range { font-size: 15px; }
.when small { color: var(--glass-muted); font-size: 11px; line-height: 1.3; }
.thumb { display: block; width: 43px; height: 59px; object-fit: contain; background: #efecf1; border-radius: 3px; }
.name { display: block; font-size: 17px; line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; }
.place { display: block; margin-top: 4px; color: #605a6c; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.chev { color: #81738c; font: 22px/1 Georgia, serif; }
.empty { padding: 14px 24px 24px; color: var(--glass-muted); font-size: 14px; }
.empty button { margin: 12px 0 0; }
.side { position: sticky; top: 12px; }
.stage {
  display: grid;
  place-items: center;
  min-height: 288px;
  margin-inline: 15px;
  padding: 13px;
  border-radius: 9px;
  background: linear-gradient(116deg, #e2e7f2 8%, #edf2f8 15%, #e4edf4 26%, #e6eff6 66%, #eef4f8 74%, #e2e7f3);
}
.poster-link { display: block; width: fit-content; max-width: 100%; }
.poster { display: block; max-width: 100%; max-height: clamp(265px, 32vh, 315px); width: auto; height: auto; object-fit: contain; box-shadow: 0 6px 14px #3f4e6b26; }
.detailtext { padding: 14px 22px 16px; }
.detailtext h3 { font-size: 19px; line-height: 1.5; overflow-wrap: anywhere; }
.spec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 13px; margin: 9px 0 12px; font-size: 13px; line-height: 1.65; }
.spec dt, .source-note { color: var(--glass-muted); }
.spec dd { margin: 0; overflow-wrap: anywhere; }
.detailfoot { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 20px; border-top: 1px solid #e4e1e8; padding-top: 3px; color: var(--glass-accent); font-size: 13px; }
.detailfoot a, .sources summary { color: inherit; font-weight: 600; text-decoration: none; }
.detailfoot a:hover, .sources summary:hover { text-decoration: underline; }
.original, .sources summary, .sources a { padding-block: 7px; }
.sources ul { margin: 0; padding: 0 0 4px 17px; }
.sources a { display: inline-block; padding-block: 4px; line-height: 1.5; font-weight: 500; }
.source-note { font-size: 12px; line-height: 1.65; }
.upcoming {
  gap: 18px;
  margin-block: 17px 4px;
  padding: 16px 25px;
  border: 1px dashed #b6a6c3;
  border-radius: 14px;
  background: linear-gradient(92deg, #f8f1f8c9, #f6f5f8ae 65%, #eef5f5bd);
}
.next-number { padding-right: 21px; color: #84768e; border-right: 1px solid #d4cadc; font: italic 43px/1 Georgia, serif; letter-spacing: -.06em; }
.upcoming h2 { font-size: 17px; }
.upcoming p { margin-top: 4px; color: var(--glass-muted); font-size: 13px; }
.future { flex: none; gap: 7px; margin-left: auto; color: #63566c; font-size: 12px; }
.future::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9984a3; }
@media (min-width: 1350px) {
  .row { min-height: 91px; }
  .stage { min-height: 315px; }
}
@media (min-width: 761px) and (max-width: 1060px) {
  .grid { grid-template-columns: minmax(0,1.5fr) minmax(270px,1fr); gap: 14px; }
  .row { grid-template-columns: 66px 37px minmax(0,1fr) 12px; gap: 9px; padding: 10px; }
  .thumb { width: 37px; height: 52px; }
  .name { font-size: 16px; }
}
@media (max-width: 760px) {
  .archive, html[data-glass-page] .archive-site-header .archive-site-nav { width: calc(100% - 30px); }
  .hero { padding-block: 18px; }
  .hero h1 { font-size: clamp(28px, 8.2vw, 38px); }
  .period { gap: 6px; margin-top: 8px; font-size: 12px; }
  .period::before { width: 15px; }
  .count { gap: 5px; }
  .count b { font-size: 43px; }
  .count span { font-size: 12px; }
  .toolbar { display: block; padding-block: 12px; }
  .years { justify-content: space-between; gap: 2px; }
  .years button { padding: 10px 11px; font-size: 14px; }
  .query { margin-top: 8px; padding: 7px 12px; }
  .query input { width: 100%; font-size: 16px; }
  .grid { display: block; }
  .card { border-radius: 12px; }
  .side { display: none; }
  .listhead { padding: 14px 13px 10px; }
  .listhead h2 { font-size: 17px; }
  .listhead span { font-size: 12px; }
  .rows { padding: 0 5px 4px; }
  .row { grid-template-columns: 65px 30px minmax(0,1fr) 8px; gap: 7px; min-height: 72px; padding: 8px; }
  .row[aria-pressed="true"] .chev { transform: rotate(90deg); }
  .day { font-size: 17px; }
  .day.range { font-size: 13px; }
  .thumb { width: 30px; height: 43px; }
  .name { font-size: 14px; }
  .place { font-size: 12px; line-height: 1.5; }
  .event-detail { margin: 0 5px 8px; border-radius: 0 0 7px 7px; background: #faf8fb; }
  .detailhead { display: none; }
  .stage { min-height: 0; margin: 0; padding: 10px; }
  .poster { max-height: 218px; }
  .detailtext { padding: 10px 12px; }
  .detailtext h3 { font-size: 15px; }
  .spec { margin: 6px 0 8px; }
  .upcoming { gap: 10px; padding: 13px; margin-top: 12px; }
  .next-number { font-size: 32px; padding-right: 12px; }
  .upcoming h2 { font-size: 14px; }
  .upcoming p, .future { font-size: 12px; }
}
@media (max-width: 350px) {
  .years button { padding-inline: 8px; }
  .row { grid-template-columns: 62px 26px minmax(0,1fr) 8px; gap: 5px; }
  .thumb { width: 26px; height: 38px; }
  .upcoming { flex-wrap: wrap; }
}
