.conference-popup {
  position: fixed;
  inset: 0;
  width: min(720px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(0 0 0 / 28%);
  overflow: auto;
}

.conference-popup::backdrop { background: rgb(0 0 0 / 55%); }
.conference-popup[open] { animation: conferencePopupIn .3s ease; }
.conference-popup-image { display: block; width: 100%; height: auto; }
.conference-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 80%);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.conference-popup :focus-visible { outline: 3px solid #ffbf47; outline-offset: -3px; }
html.conference-popup-open { overflow: hidden; }
@keyframes conferencePopupIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 600px) {
  .conference-popup { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .conference-popup[open] { animation: none; }
}
