.nfc-campaign-dialog {
  padding: 0;
  border: 0;
  border-radius: 18px;
  width: min(450px, calc(100% - 24px), var(--campaign-width, 49svh));
  max-height: 88vh;
  max-height: 88svh;
  margin: auto;
  background: #191916;
  box-shadow: 0 24px 80px #17170e52;
  overflow: hidden;
}
.nfc-campaign-dialog[open] {
  display: block;
  animation: campaign-enter .2s cubic-bezier(.22, 1, .36, 1);
}
.nfc-campaign-dialog::backdrop { background: #17170e99; }
.nfc-campaign-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.nfc-campaign-poster {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  max-height: 88svh;
  max-height: calc(88vh - var(--campaign-footer, 0px));
  max-height: calc(88svh - var(--campaign-footer, 0px));
  object-fit: contain;
}
.nfc-campaign-actions[hidden] { display: none; }
.nfc-campaign-actions { box-sizing: border-box; min-height: 92px; padding: 10px 12px; text-align: center; }
.nfc-campaign-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 9px;
  background: #fade00;
  color: #191916;
  font: 600 15px/1.3 system-ui, sans-serif;
  text-decoration: none;
}
.nfc-campaign-cta:focus-visible { outline: 3px solid #fafaf7; outline-offset: 2px; }
.nfc-campaign-note { margin: 7px 0 0; color: #f5f5e9; font: 11px/1.3 system-ui, sans-serif; }
.nfc-campaign-close {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dadad3;
  border-radius: 50%;
  background: #fafaf7;
  color: #191916;
  font: 28px/1 system-ui, sans-serif;
  box-shadow: 0 4px 18px #17170e33;
  cursor: pointer;
}
.nfc-campaign-close:hover { background: #fade00; border-color: #fade00; }
.nfc-campaign-close:focus-visible { outline: 3px solid #756900; outline-offset: -3px; }
@keyframes campaign-enter {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .nfc-campaign-dialog[open] { animation: none; }
}
