/* 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%;
  /* The frame's inner bottom line begins at 93.25% of its height. */
  --qdp-list-bottom: 6.85%;
  --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-card:any-link {
  --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;
  text-decoration: none;
}
.event-card.explicit { --event-color: var(--qdp-queer-card); background: var(--event-color); }
.event-card.default { background: var(--event-color); color: var(--qdp-plum-text); }
.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-tail-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: -2px;
}
.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-card.melt {
  background-image: url("melt-event-strip.jpg?v=20261015-01");
  background-position: left center;
  background-repeat: no-repeat;
  /* Preserve the artwork's proportions; narrower archive strips crop the right edge. */
  background-size: auto 100%;
}
.event-card.melt .event-card-shape {
  background-image: inherit;
  background-position: inherit;
  background-repeat: inherit;
  background-size: inherit;
}
.event-card.melt .event-card-content {
  /* The artwork includes its own lettering; retain the accessible link text. */
  opacity: 0;
}
.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-family: "QDP Fraunces", Georgia, serif;
  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:focus { outline: none; }
.event-detail-content-viewport {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.event-detail-content-viewport > .event-detail-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.event-detail-content-viewport > .event-detail-card[aria-hidden="true"] {
  pointer-events: none;
}
.event-detail.explicit,
.event-detail.melt {
  background-color: var(--qdp-queer-popup);
  background-image: url("queer-popup-background.png?v=a87c9d4");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-origin: padding-box;
  background-clip: padding-box;
}
.event-detail.melt {
  background-image: url("melt-popup-background.jpg?v=20261014-01");
}
.event-detail-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: calc(100% - 5cqw);
  max-height: none;
  padding: 0 1cqw 3cqw 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  touch-action: pan-y;
}
.event-detail-card > * { flex-shrink: 0; }
.event-detail-content-viewport { max-height: calc(100% - 5cqw); }
.event-detail-back {
  position: static;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 3cqw auto 0;
  padding: 1.5cqw 0;
  color: #fff1f4;
  font: 700 clamp(13px, 2.4cqw, 20px)/1.2 "QDP Fraunces", Georgia, serif;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
}
.event-detail-back:hover, .event-detail-back:focus-visible { color: #ffea86; }
.event-detail-flyer-slot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: max(0cqw, calc(9cqw - var(--qdp-detail-padding))) 0 2cqw 4cqw;
}
.event-detail-flyer {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  background: transparent;
}
.event-detail-title-location {
  padding: 0 4cqw 0.6cqw;
}
.event-detail-card.without-flyer .event-detail-title-location { padding-top: 11cqw; }
.event-detail-title-location h2 {
  margin: 0 0 0.8cqw;
  font-family: "QDP Fraunces", Georgia, serif;
  font-size: calc(var(--qdp-detail-title-size, 4cqw) * 1.12);
  overflow-wrap: anywhere;
}
.event-detail-title-location p { margin: 0 0 0.2cqw; }
.event-detail-venue-time {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25em;
}
.event-detail-venue-time a:any-link { text-decoration: none; }
.event-detail-venue-time a:hover { text-decoration: underline; }
.event-detail-address { font-size: 0.86em; }
.event-detail-date-badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43.42cqw;
  height: var(--qdp-date-height);
  padding: 0 1cqw 0.45cqw;
  border-radius: 0 0 5cqw 5cqw;
  background: #fa2b5a;
  color: #ffeff2;
  font: 700 var(--qdp-date-font-size) / 1 "QDP Fraunces", Georgia, serif;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: hidden;
}
.event-detail.explicit .event-detail-date-badge { background: var(--qdp-queer-card, #922185); }
.event-detail-date-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1cqw 0.45cqw;
}
.event-detail-more { padding: 2cqw 4cqw 0; }
.event-detail-more p:last-child {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.event-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55em clamp(12px, 4cqw, 24px);
  padding-top: 3cqw;
  text-align: center;
  transform: translateX(var(--qdp-detail-action-offset, 0px));
}
.event-detail-actions > :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.event-detail-action-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.event-detail-actions > :is(a, button):hover .event-detail-action-icon { filter: brightness(1.15); }
.event-detail-actions > :is(a, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.event-detail-see-more {
  margin: 6cqw 4cqw 0;
  padding: 2cqw;
  border: 2px solid #ffea86;
  border-radius: 2.5cqw;
  background: #000;
  text-align: center;
}
.event-detail-see-more[hidden] { display: none; }
.event-detail-see-more h3 {
  margin: 0 0 1.6cqw;
  color: #fff1f4;
  font: 700 3cqw/1.1 "QDP Fraunces", Georgia, serif;
}
.event-detail-see-more-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1cqw;
}
.event-detail-related-bubble,
.event-detail-related-bubble:any-link {
  display: inline-flex;
  align-items: center;
  min-height: 4cqw;
  padding: .7cqw 1.6cqw;
  border-radius: 999px;
  color: #fff1f4;
  font: 700 2.4cqw/1.2 "QDP Fraunces", Georgia, serif;
  text-decoration: none;
}
.event-detail-related-bubble--red { background: #fa2b5a; }
.event-detail-related-bubble--orange,
.event-detail-related-bubble--orange:any-link { background: #ff7945; color: var(--qdp-plum-text); }
.event-detail-related-bubble--purple { background: #922185; }
.event-detail-related-bubble--collective:any-link {
  border: 2px solid #fff1f4;
  background: #000;
  color: #fff1f4;
}
.event-detail-see-more a:any-link { text-decoration: none; }
.event-detail-related-retry {
  border: 0;
  background: transparent;
  color: #ffea86;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.event-detail-related-bubble:hover { filter: brightness(1.12); }
.event-detail-related-bubble:focus-visible { outline: 2px solid #ffea86; outline-offset: 2px; }
.event-share-status:not(:empty) {
  flex-basis: 100%;
  font-size: 0.85em;
}
.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;
  }
}

/* Shared navigation makes the destination distinct from returning to the feed. */
.poster-controls button { flex-direction: column; width: 88px; height: 56px; }
.poster-controls button::after {
  content: attr(data-nav-label);
  color: #fff1f4;
  font: 700 12px/1.2 "QDP Fraunces", Georgia, serif;
  white-space: nowrap;
}
.mobile-back:not([hidden]) {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 176px);
  min-height: 44px;
  color: #fff1f4;
  font: 700 16px/1.2 "QDP Fraunces", Georgia, serif;
  text-align: center;
  text-decoration: none !important;
  pointer-events: auto;
}
.event-detail-card { height: 100%; }
.event-detail-content-viewport { max-height: 100%; }
