/* Popup styles use a new filename to bypass previously cached stylesheets. */
.promo-dialog {
  width: min(90vw, 530px);
  max-width: min(90vw, 530px);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  overflow: visible;
}
.promo-dialog > #promo-link {
  display: flex;
  flex-direction: column;
  color: var(--text, #f0eee7);
  text-decoration: none;
  border-radius: 8px;
}
.promo-dialog #promo-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 152px);
  max-height: calc(100dvh - 152px);
  object-fit: contain;
  border-radius: 8px 8px 0 0;
  background: var(--bg, #10110f);
}
.promo-footer {
  display: block;
  flex: 0 0 auto;
  padding: 14px 16px;
  background: var(--panel, #191a16);
  border-radius: 0 0 8px 8px;
}
.promo-footer .promo-cta {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 20px;
  border: 1px solid #d8b975;
  border-radius: 5px;
  background: #d8b975;
  color: #191b15;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}
.promo-dialog > a:hover .promo-cta,
.admin-edit-dialog a:hover .promo-cta { background: #e9d3a1; }
.promo-dialog > a:focus-visible { outline: 2px solid #d8b975; outline-offset: 4px; }
