.holiday-card {
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #051e33;
}

.holiday-card::backdrop {
  background: rgba(5, 22, 36, .72);
}

html:has(.holiday-card[open]) {
  overflow: hidden;
}

.holiday-card form {
  position: relative;
  margin: 0;
  text-align: center;
}

.holiday-card img {
  display: block;
  width: min(560px, calc(100vw - 24px), calc(100svh - 92px));
  max-width: 100%;
  height: auto;
}

.holiday-card button {
  box-sizing: border-box;
  min-height: 44px;
  border: 0;
  background: #051e33;
  color: #fff;
  cursor: pointer;
}

.holiday-card button:focus-visible {
  outline: 3px solid #007c8c;
  outline-offset: 2px;
}

.holiday-card-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  padding: 0;
  border-radius: 50%;
  font: 28px/1 system-ui, sans-serif;
}

.holiday-card-accept {
  margin: 8px;
  padding: 0 24px;
  border-radius: 8px;
  font: 600 1rem system-ui, sans-serif;
}
