/* September 2026 poster. The transparent frame contains only fixed artwork. */
@font-face {
  font-family: "QDP Fraunces";
  src: url("Fraunces-Variable.ttf?v=20260926-01") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.poster {
  width: min(
    calc(100vw - clamp(400px, 33vw, 475px)),
    calc((100dvh - 8px) * 0.843289)
  );
  aspect-ratio: 2400 / 2846;

  --qdp-date-x: 0cqw;
  --qdp-date-y: 0cqw;
  --qdp-date-top: 22.15%;
  --qdp-date-left: 42.83%;
  --qdp-date-width: 43.42%;
  --qdp-date-height: 5cqw;
  --qdp-date-font-size: 2.55cqw;

  --qdp-list-x: 0cqw;
  --qdp-list-y: 0cqw;
  --qdp-list-top: calc(var(--qdp-date-top) + var(--qdp-date-height) + var(--qdp-date-y));
  --qdp-list-right: 9.5%;
  --qdp-list-bottom: 11.2%;
  --qdp-list-left: 9.8%;
  --qdp-list-justify: flex-start;

  --qdp-time-font-size: 3.2cqw;
  --qdp-time-font-weight: 700;
  --qdp-time-line-height: 1;
  --qdp-time-meridiem-display: inline;
  --qdp-time-card-gap: 1cqw;
  --qdp-cards-next-time-gap: 2.15cqw;

  --qdp-card-width: 68.8cqw;
  --qdp-card-height: 10.8cqw;
  --qdp-card-padding-x: 2.2cqw;
  --qdp-card-padding-y: 0.45cqw;
  --qdp-card-radius: 4.3cqw;
  --qdp-same-time-card-gap: 0.85cqw;
  --qdp-card-line-gap: 0.1cqw;
  --qdp-title-font-size: 3.3cqw;
  --qdp-title-font-weight: 700;
  --qdp-title-line-height: 1;
  --qdp-title-align: left;
  --qdp-venue-font-size: 2.6cqw;
  --qdp-venue-font-weight: 400;
  --qdp-venue-line-height: 1;
  --qdp-venue-align: left;
  --qdp-address-font-size: 2.15cqw;
  --qdp-address-font-weight: 400;
  --qdp-address-line-height: 1;
  --qdp-address-align: left;

  --qdp-detail-top: 6.79%;
  --qdp-detail-bottom: 6.72%;
  --qdp-detail-left: 8.4%;
  --qdp-detail-right: 8.23%;
  --qdp-detail-padding: 2.7cqw;
  --qdp-detail-radius: 1.7cqw;
  --qdp-detail-border: 0.75cqw;
}

.side-nav {
  font-family: "QDP Fraunces", Georgia, serif;
  --qdp-nav-x: 54px;
  --qdp-nav-y: 0px;
  --qdp-nav-top: 0px;
  --qdp-nav-bottom: 0px;
  --qdp-nav-gap: 61px;
  --qdp-nav-width: 228px;
  --qdp-nav-font-size: 18px;
}

.poster-date {
  z-index: 1;
  top: var(--qdp-date-top);
  left: var(--qdp-date-left);
  width: var(--qdp-date-width);
  /* Two pixels of overlap hide the antialiased seam at the first card. */
  height: calc(var(--qdp-date-height) + 2px);
  padding: 0 1cqw 0.45cqw;
  border-radius: 5cqw 5cqw 0 0;
  background: #fa2b5a;
  color: #ffeff2;
  font: 700 var(--qdp-date-font-size) / 1 "QDP Fraunces", Georgia, serif;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: translate(var(--qdp-date-x), var(--qdp-date-y));
}
.poster-date:hover,
.poster-date:focus-visible { color: #fff; background: #e72252; }
.poster-date span {
  position: absolute;
  inset: 0 1cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.45cqw;
  min-width: 0;
  text-align: center;
  pointer-events: none;
  will-change: transform;
}
.poster-date span[hidden] { display: none; }
.date-scroll-label {
  position: absolute;
  z-index: 4;
  top: var(--qdp-list-top);
  left: var(--qdp-date-left);
  width: var(--qdp-date-width);
  height: var(--qdp-date-height);
  padding: 0 1cqw 0.45cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffeff2;
  font: 700 var(--qdp-date-font-size) / 1 "QDP Fraunces", Georgia, serif;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
  will-change: transform;
}
.date-scroll-label[hidden] { display: none; }
.date-popover {
  top: calc(var(--qdp-date-top) + 7cqw);
  left: 50%;
  width: min(72cqw, 300px);
  transform: translateX(-50%);
}

.event-stack {
  z-index: 2;
  top: var(--qdp-list-top);
  right: var(--qdp-list-right);
  bottom: var(--qdp-list-bottom);
  left: var(--qdp-list-left);
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
  touch-action: pan-y;
  transform: translate(var(--qdp-list-x), var(--qdp-list-y));
}
.event-stack::-webkit-scrollbar { display: none; }
.event-stack[hidden] { display: none; }
.date-section { position: relative; }
.date-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43.42cqw;
  height: var(--qdp-date-height);
  margin-left: 33.03cqw;
  padding: 0 1cqw 0.45cqw;
  color: #ffeff2;
  font: 700 var(--qdp-date-font-size) / 1 "QDP Fraunces", Georgia, serif;
  white-space: nowrap;
  text-align: center;
}
.date-heading[hidden] { display: none; }
.date-end-spacer { height: 0; pointer-events: none; }
.event-time-group + .event-time-group {
  margin-top: var(--qdp-cards-next-time-gap);
}
.event-time-group {
  display: grid;
  grid-template-columns: 10.9cqw minmax(0, var(--qdp-card-width));
  column-gap: var(--qdp-time-card-gap);
  align-items: start;
  width: 100%;
}
.event-row {
  display: block;
  width: 100%;
  min-height: var(--qdp-card-height);
}
.event-group-cards {
  display: flex;
  flex-direction: column;
  gap: var(--qdp-same-time-card-gap);
  min-width: 0;
}
.event-time {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--qdp-card-height);
  min-width: 0;
  margin: 0;
  padding: 0 0 0.45cqw;
  border-radius: 4.2cqw 0 0 4.2cqw;
  background: #fa2b5a;
  color: #ffeff2;
  font: var(--qdp-time-font-weight) var(--qdp-time-font-size) / var(--qdp-time-line-height) "QDP Fraunces", Georgia, serif;
  text-align: center;
  white-space: nowrap;
}
.event-time-meridiem {
  display: var(--qdp-time-meridiem-display);
  font-size: 0.78em;
}
.event-time > span { transform: translateX(0.25cqw); }

.event-card {
  --event-color: #ff7945;
  position: relative;
  display: block;
  width: 100%;
  height: var(--qdp-card-height);
  min-height: var(--qdp-card-height);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--event-color);
  color: #ffeff2;
  text-align: left;
  font-family: Verdana, Geneva, sans-serif;
  isolation: isolate;
}
.event-card.explicit { --event-color: var(--qdp-queer-card); background: var(--event-color); }
.event-card.default { background: var(--event-color); }
.event-time-group .event-row:first-child .event-card {
  border-top-right-radius: var(--qdp-card-radius);
}
.event-time-group .event-row:last-child .event-card {
  border-bottom-right-radius: var(--qdp-card-radius);
}
.event-time-group .event-row.same-time:last-child .event-card {
  border-bottom-left-radius: var(--qdp-card-radius);
}
.event-card:hover .event-card-shape,
.event-card:focus-visible .event-card-shape { filter: brightness(1.1); }
.event-card:focus-visible { outline: 2px solid #ffea86; outline-offset: 3px; }
.event-card-shape {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--event-color);
  pointer-events: none;
}
.event-card.has-flags .event-card-shape {
  right: 4.3cqw;
  clip-path: polygon(0 0, calc(100% - 4.3cqw) 0, 100% 50%, calc(100% - 4.3cqw) 100%, 0 100%);
}
.card-flag {
  position: absolute;
  right: 0;
  z-index: 0;
  display: block;
  width: 8.6cqw;
  height: 50%;
  pointer-events: none;
}
.card-flag-queer {
  top: 0;
  background: linear-gradient(to bottom,
    #e50000 0 16.667%, #ff8d00 16.667% 33.333%,
    #ffef00 33.333% 50%, #008121 50% 66.667%,
    #004cff 66.667% 83.333%, #760088 83.333% 100%);
}
.card-flag-trans {
  bottom: 0;
  background: linear-gradient(to bottom,
    #5bcefa 0 20%, #f5a9b8 20% 40%, #fff 40% 60%,
    #f5a9b8 60% 80%, #5bcefa 80% 100%);
}
.event-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: var(--qdp-card-padding-y) var(--qdp-card-padding-x);
  pointer-events: none;
}
.event-card.has-flags .event-card-content { width: calc(100% - 5.5cqw); }
.event-title,
.event-venue,
.event-address {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: inherit;
  font-family: Verdana, Geneva, sans-serif;
  font-style: normal;
  letter-spacing: 0;
}
.event-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  font-size: var(--qdp-title-font-size);
  font-weight: var(--qdp-title-font-weight);
  line-height: var(--qdp-title-line-height);
  text-align: var(--qdp-title-align);
}
.event-venue {
  margin-top: var(--qdp-card-line-gap);
  overflow: hidden;
  white-space: normal;
  font-size: var(--qdp-venue-font-size);
  font-weight: var(--qdp-venue-font-weight);
  line-height: var(--qdp-venue-line-height);
  text-align: var(--qdp-venue-align);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.event-address {
  margin-top: var(--qdp-card-line-gap);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--qdp-address-font-size);
  font-weight: var(--qdp-address-font-weight);
  line-height: var(--qdp-address-line-height);
  text-align: var(--qdp-address-align);
}
.event-venue[hidden], .event-address[hidden] { display: none; }
.event-feed-message { align-self: center; font-family: Verdana, Geneva, sans-serif; }

.event-detail {
  font-family: Verdana, Geneva, sans-serif;
  background: var(--qdp-regular-popup);
  border: var(--qdp-detail-border) solid #000;
  align-items: stretch;
  justify-content: stretch;
}
.event-detail.is-open { align-items: stretch; justify-content: stretch; }
.event-detail.explicit { background: var(--qdp-queer-popup); }
.event-detail-card {
  position: relative;
  z-index: 1;
  height: 100%;
  max-height: none;
  padding: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.event-detail-first-screen {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.event-detail-flyer-slot {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-detail-flyer {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  background: transparent;
}
.event-detail-title-location {
  flex: 0 0 auto;
  padding: 1.25cqw 5cqw 0.6cqw 0;
}
.event-detail-title-location h2 { margin: 0 0 0.45cqw; }
.event-detail-title-location p { margin: 0 0 0.2cqw; }
.event-detail-more { padding: 3cqw 2cqw 6cqw 0; }
.event-detail-more p:last-child {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.event-detail-flag {
  position: absolute;
  top: 0;
  z-index: 2;
  display: block;
  width: 9cqw;
  height: 9cqw;
  pointer-events: none;
}
.event-detail-flag-queer {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background: linear-gradient(to bottom,
    #e50000 0 16.667%, #ff8d00 16.667% 33.333%,
    #ffef00 33.333% 50%, #008121 50% 66.667%,
    #004cff 66.667% 83.333%, #760088 83.333% 100%);
}
.event-detail-flag-trans {
  right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  background: linear-gradient(to bottom,
    #5bcefa 0 20%, #f5a9b8 20% 40%, #fff 40% 60%,
    #f5a9b8 60% 80%, #5bcefa 80% 100%);
}

@media (max-width: 760px) {
  .poster-stage { width: 100vw; }
  .poster {
    flex: 0 0 auto;
    width: min(102vw, calc((100dvh - 48px) * 0.843289));
  }
  .side-nav {
    --qdp-nav-x: 0px;
    --qdp-nav-y: 0px;
    --qdp-nav-font-size: 13px;
  }
}
