#porstpopup:not([open]) { display: none !important; }
#porstpopup {
  box-sizing: border-box; padding: 0; border: 0; border-radius: 14px;
  width: min(600px, calc(100vw - 24px)); max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  margin: auto; color: #111111; background: #ffffff;
  box-shadow: 0 24px 90px #0006; overflow: auto;
  font-family: Arial, sans-serif; line-height: 1.4; text-align: left;
}
#porstpopup::backdrop { background: rgb(12 17 22 / 65%); }
#porstpopup .porstpopup__bar {
  display: flex; justify-content: flex-end; position: sticky; top: 0;
  z-index: 1; background: #ffffff; padding: 4px 8px;
}
#porstpopup .porstpopup__close {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 5px 12px; border: 0; border-radius: 6px; color: #111111;
  background: transparent; font: 600 14px/1.2 Arial, sans-serif; cursor: pointer;
}
#porstpopup .porstpopup__close span { font-size: 28px; font-weight: 400; }
#porstpopup .porstpopup__close:hover { background: #e9edf0; }
#porstpopup .porstpopup__image { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; }
#porstpopup .porstpopup__action { padding: 18px 24px 24px; text-align: center; }
#porstpopup .porstpopup__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 10px 22px; border-radius: 7px;
  background: #111111; color: #fff; font: 600 16px/1.4 Arial, sans-serif;
  text-decoration: none; overflow-wrap: anywhere;
}
#porstpopup .porstpopup__link:hover { background: #303940; color: #fff; }
#porstpopup button:focus-visible, #porstpopup a:focus-visible { outline: 3px solid #40b9c7; outline-offset: -3px; }
html.porstpopup-open { overflow: hidden; }
