.entry-invitation {
  --height-reserve: 32px;
  position: fixed;
  inset: 0;
  width: min(520px, calc(100vw - 32px), calc(75vh - var(--height-reserve) * .75));
  width: min(520px, calc(100vw - 32px), calc(75dvh - var(--height-reserve) * .75));
  max-width: none;
  max-height: calc(100% - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  background: #30251d;
  color: #fff8ea;
  box-shadow: 0 16px 70px rgb(18 12 7 / 35%);
}
.entry-invitation:not([open]) { display: none; }
.entry-invitation::backdrop { background: rgb(21 17 14 / 64%); }
html:has(.entry-invitation[open]) { overflow: hidden; }
.entry-invitation__link { display: block; color: inherit; text-decoration: none; }
.entry-invitation__link img { display: block; width: 100%; height: auto; }
.entry-invitation__close {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff8ea;
}
.entry-invitation__close::before {
  content: '';
  grid-area: 1 / 1;
  width: 32px;
  height: 32px;
  border: 1px solid rgb(255 248 234 / 70%);
  border-radius: 50%;
  background: rgb(33 25 19 / 84%);
}
.entry-invitation__close svg { grid-area: 1 / 1; width: 15px; height: 15px; }
.entry-invitation__close:hover::before { background: #201813; }
.entry-invitation__close:focus-visible { outline: none; }
.entry-invitation__close:focus-visible::before { outline: 2px solid #ffebc5; outline-offset: 2px; }
.entry-invitation__link:focus-visible { outline: 2px solid #ffebc5; outline-offset: -3px; }
.entry-invitation--en { --height-reserve: 112px; }
.entry-invitation__caption {
  display: block;
  padding: 8px 14px;
  font: 14px/1.4 system-ui, sans-serif;
}
.entry-invitation__caption strong { text-decoration: underline; white-space: nowrap; }
