.fair-invitation {
  box-sizing: border-box;
  width: min(320px, calc(100vw - 40px));
  width: min(320px, calc(100vw - 40px), 67.5svh);
  max-height: 90vh;
  max-height: 90svh;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #17130f;
  font-family: inherit;
}
.fair-invitation::backdrop { background: rgb(0 0 0 / 42%); }
.fair-invitation .fair-image { display: block; width: 100%; height: auto; }
.fair-invitation .fair-close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: transparent;
  color: inherit;
  font: 300 15px/1 Arial, sans-serif;
  cursor: pointer;
}
.fair-invitation :focus-visible { outline: 1px solid currentColor; outline-offset: -4px; }
html.fair-open { overflow: hidden; }
