#ghaempack-exhibition-popup {
  position: fixed;
  inset: 0;
  width: min(850px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  box-sizing: border-box;
  padding: 0;
  margin: auto;
  border: 0;
  border-radius: 14px;
  overflow: auto;
  background: #fff;
  box-shadow: 0 20px 60px #0005;
}

#ghaempack-exhibition-popup:not([open]) {
  display: none;
}

#ghaempack-exhibition-popup::backdrop {
  background: rgba(19, 12, 16, .73);
}

#ghaempack-exhibition-popup form {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 4px 8px;
  background: #fff;
}

#ghaempack-exhibition-popup button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #ead6df;
  border-radius: 50%;
  background: #fff;
  color: #76052d;
  font: 30px/1 Arial, sans-serif;
  cursor: pointer;
}

#ghaempack-exhibition-popup button:hover,
#ghaempack-exhibition-popup button:focus-visible {
  background: #76052d;
  color: #fff;
}

#ghaempack-exhibition-popup button:focus-visible {
  outline: 2px solid #76052d;
  outline-offset: 2px;
}

#ghaempack-exhibition-popup img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  object-fit: contain;
}
