html.opening-notice-open { overflow: hidden !important; }
#opening-notice {
  position: fixed;
  inset: 0;
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #eee3d9;
  border-radius: 20px;
  background: #fffdf8;
  color: #422217;
  box-shadow: 0 24px 90px rgb(40 23 15 / 24%);
  font-family: Pretendard, "Noto Sans KR", sans-serif;
}
#opening-notice:not([open]) { display: none; }
#opening-notice::backdrop { background: rgb(28 22 17 / 52%); backdrop-filter: blur(3px); }
#opening-notice *, #opening-notice *::before, #opening-notice *::after { box-sizing: border-box; }
#opening-notice .opening-notice-poster {
  position: relative;
  width: min(100%, calc((100vh - 104px) * 995 / 1415));
  width: min(100%, calc((100dvh - 104px) * 995 / 1415));
  margin-inline: auto;
}
#opening-notice .opening-notice-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}
#opening-notice .opening-notice-consultation {
  position: absolute;
  left: 5.5%;
  right: 5.5%;
  bottom: 1.2%;
  height: 10.9%;
  min-height: 44px;
  border-radius: 999px;
}
#opening-notice a:focus-visible { outline: 3px solid #7d411e; outline-offset: -4px; }
#opening-notice [hidden] { display: none !important; }
#opening-notice .opening-notice-close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #eadfd4;
  border-radius: 50%;
  background: rgb(255 255 255 / 94%);
  color: #422217;
  cursor: pointer;
}
#opening-notice .opening-notice-close svg { width: 20px; height: 20px; }
#opening-notice .opening-notice-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, .6fr); border-top: 1px solid #eee3d9; }
#opening-notice .opening-notice-actions button {
  min-width: 0;
  min-height: 54px;
  padding: 10px 12px;
  border: 0;
  background: #fffdf8;
  color: #685348;
  font: 600 14px/1.5 Pretendard, "Noto Sans KR", sans-serif;
  word-break: keep-all;
  cursor: pointer;
}
#opening-notice .opening-notice-actions button + button { border-left: 1px solid #eee3d9; color: #422217; font-weight: 800; }
#opening-notice button:hover { background: #fff3e9; }
#opening-notice button:focus-visible { outline: 3px solid #b98417; outline-offset: -4px; }
#opening-notice .opening-notice-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#opening-notice .opening-notice-fallback { max-height: calc(100dvh - 104px); overflow-y: auto; padding: 60px 24px 28px; text-align: center; line-height: 1.8; word-break: keep-all; }
#opening-notice .opening-notice-fallback strong { display: block; margin-bottom: 12px; font-size: 22px; }
#opening-notice .opening-notice-fallback a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: #fa626b; color: #fff; font-weight: 800; text-decoration: none; }
@media (max-width: 640px) {
  #opening-notice { border-radius: 16px; }
  #opening-notice .opening-notice-close { top: 8px; right: 8px; }
}
