.regulamin-modal {
  box-sizing: border-box;
  width: min(850px, calc(100vw - 32px));
  height: min(760px, calc(100vh - 32px));
  max-width: none;
  max-height: none;
  padding: 36px 0 0;
  border: 12px solid #dedede;
  border-radius: 6px;
  background: white;
  box-shadow: 0 4px 24px #0006;
}
.regulamin-modal::backdrop { background: #0007; }
.regulamin-modal iframe { display: block; width: 100%; height: 100%; border: 0; }
.regulamin-close {
  position: absolute;
  top: 0;
  right: 4px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: white;
  color: #333;
  font: 28px/32px Arial, sans-serif;
  cursor: pointer;
}
.regulamin-close:focus-visible { outline: 2px solid #c00; outline-offset: -2px; }
