#bigpie-promo-popup {
  box-sizing: border-box;
  width: min(480px, calc(100vw - 32px), calc((100vh - 100px) * 0.78125));
  width: min(480px, calc(100vw - 32px), calc((100dvh - 100px) * 0.78125));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 5px;
  overflow: auto;
  background: #fff;
  color: #191919;
  box-shadow: 0 24px 90px #0006;
  font-family: Arial, 'Noto Sans KR', sans-serif;
}
#bigpie-promo-popup::backdrop {
  background: rgb(0 0 0 / 48%);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
#bigpie-promo-popup .bigpie-popup-image-link { display: block; line-height: 0; }
#bigpie-promo-popup img { display: block; width: 100%; height: auto; margin: 0; }
#bigpie-promo-popup button { font: inherit; cursor: pointer; letter-spacing: 0; }
#bigpie-promo-popup .bigpie-popup-x {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font: 28px/1 Arial, sans-serif;
}
#bigpie-promo-popup .bigpie-popup-footer { display: flex; min-height: 50px; background: #fff; }
#bigpie-promo-popup .bigpie-popup-footer button {
  flex: 1;
  min-height: 50px;
  padding: 12px 8px;
  border: 0;
  border-top: 1px solid #e7e7e7;
  background: #fff;
  color: #333;
  font-size: 13px;
  line-height: 1.5;
  word-break: keep-all;
}
#bigpie-promo-popup .bigpie-popup-footer button:first-child { flex: 2; border-right: 1px solid #e7e7e7; }
#bigpie-promo-popup button:hover { background: #f0f0f0; }
#bigpie-promo-popup button:focus-visible, #bigpie-promo-popup a:focus-visible { outline: 3px solid #2379f4; outline-offset: -3px; }
@media (max-height: 480px) {
  #bigpie-promo-popup .bigpie-popup-footer button { font-size: 11px; padding: 8px 5px; }
}
