/* Timeline article overlay — keep the chronology visible behind the panel. */
.byrd-tl-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(0.6rem, 2vw, 1.25rem);
  background: transparent;
}
.byrd-tl-popup[hidden] {
  display: none !important;
}
.byrd-tl-popup__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  /* Fully clear — timeline.php stays fully visible around the panel. */
  background: transparent;
}
.byrd-tl-popup__shell {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  height: min(92vh, 900px);
  border: 0;
  background: transparent;
  box-shadow: none;
}
.byrd-tl-popup__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color-scheme: normal;
}
/* Lock page scroll without jumping to top (paired with body.style.top in JS). */
html.byrd-tl-popup-open,
html.byrd-tl-popup-open body {
  overflow: hidden;
}
html.byrd-tl-popup-open body {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}
