@font-face {
  font-family: "SA Korean Text";
  src: url("/optimized-v1/fonts/sa-korean-text-regular.woff2?v=20260824_001") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "SA Korean Text";
  src: url("/optimized-v1/fonts/sa-korean-text-bold.woff2?v=20260824_001") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

@font-face {
  font-family: dotum;
  src: url("/optimized-v1/fonts/sa-korean-text-regular.woff2?v=20260824_001") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: dotum;
  src: url("/optimized-v1/fonts/sa-korean-text-bold.woff2?v=20260824_001") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

@font-face {
  font-family: "돋움";
  src: url("/optimized-v1/fonts/sa-korean-text-regular.woff2?v=20260824_001") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "돋움";
  src: url("/optimized-v1/fonts/sa-korean-text-bold.woff2?v=20260824_001") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

@font-face {
  font-family: "SA Dotum Original";
  src: url("/optimized-v1/fonts/sa-korean-text-regular.woff2?v=20260824_001") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

/* Keep each restored fixed-width composition intact while fitting narrow screens. */
:root {
  --sa-layout-width: 924px;
}

html:has(body .origin) {
  --sa-layout-width: 1000px;
}

html:has(#sa-beginner-guide) {
  --sa-layout-width: 750px;
}

html:has(#popMap) {
  --sa-layout-width: 670px;
}

html:has(#FAQ) {
  --sa-layout-width: 580px;
}

html:has(.popup-shell) {
  --sa-layout-width: 460px;
}

html body {
  zoom: min(1.5, max(0.25, calc(100vw / var(--sa-layout-width)))) !important;
}

/* Match the final restored footer geometry before the first paint. */
#footer {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#cjiMainFooter {
  display: block !important;
  clear: both !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html body #SubContainer > .btmleft,
html body #SubContainer > .btmright {
  height: 362px !important;
  background: none !important;
  visibility: hidden !important;
}

html.sa-footer-layout-ready body #SubContainer > .btmleft,
html.sa-footer-layout-ready body #SubContainer > .btmright {
  visibility: visible !important;
}

html body #SubContainer > .btmleft > div,
html body #SubContainer > .btmright > div {
  height: 362px !important;
  bottom: 0 !important;
}

html body #SubContainer > .btmleft > div {
  background-position: 100% calc(100% + 2px) !important;
}

html body #SubContainer > .btmright > div {
  background-position: 460px calc(100% + 2px) !important;
}

html body #divSubContents > .subBgbox {
  background-position: 0 calc(100% + 2px) !important;
}

@font-face {
  font-family: "SA GameIntro Title";
  src: url("/optimized-v1/fonts/Jua-Regular.woff2?v=20260813_001") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "SA Dotum Original";
  src: url("/optimized-v1/fonts/sa-korean-text-bold.woff2?v=20260824_001") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}
