/* 승인 본문/제목 서체. 굵기별 별칭으로 동적 버튼·숫자 굵기도 JS 없이 처리합니다. */
@font-face {
  font-family: "Minguk";
  src: url("/shared/assets/fonts/approved/Minguk-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Minguk";
  src: url("/shared/assets/fonts/approved/Minguk-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cafe24Dangdanghae";
  src: url("/shared/assets/fonts/approved/Cafe24Dangdanghae.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "xenSolDev88BallamaraUi";
  src: url("/shared/assets/fonts/approved/Minguk-Regular.woff") format("woff");
  font-weight: 100 599;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "xenSolDev88BallamaraUi";
  src: url("/shared/assets/fonts/approved/Cafe24Dangdanghae.woff") format("woff");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

/* 레거시 경로를 보존한 비상용 9종입니다. 기본 서체가 가용하면 요청하지 않습니다. */
@font-face {
  font-family: "xenSolDev88BallamaraReserve";
  src: url("/shared/assets/fonts/temporary/Freesentation-1Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "xenSolDev88BallamaraReserve";
  src: url("/shared/assets/fonts/temporary/Freesentation-2ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "xenSolDev88BallamaraReserve";
  src: url("/shared/assets/fonts/temporary/Freesentation-3Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "xenSolDev88BallamaraReserve";
  src: url("/shared/assets/fonts/temporary/Freesentation-4Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "xenSolDev88BallamaraReserve";
  src: url("/shared/assets/fonts/temporary/Freesentation-5Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "xenSolDev88BallamaraReserve";
  src: url("/shared/assets/fonts/temporary/Freesentation-6SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "xenSolDev88BallamaraReserve";
  src: url("/shared/assets/fonts/temporary/Freesentation-7Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "xenSolDev88BallamaraReserve";
  src: url("/shared/assets/fonts/temporary/Freesentation-8ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "xenSolDev88BallamaraReserve";
  src: url("/shared/assets/fonts/temporary/Freesentation-9Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --xen_SolDev88_ballamara-fontReserveStack: "xenSolDev88BallamaraReserve", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --xen_SolDev88_ballamara-fontBodyStack: "xenSolDev88BallamaraUi", "Minguk", var(--xen_SolDev88_ballamara-fontReserveStack);
  --xen_SolDev88_ballamara-fontHeadingStack: "Cafe24Dangdanghae", "Minguk", var(--xen_SolDev88_ballamara-fontReserveStack);
  --xen_SolDev88_ballamara-fontStack: var(--xen_SolDev88_ballamara-fontBodyStack);
  font-synthesis: none;
}

.xen_SolDev88_ballamara-appViewport :is(h1, h2, h3, h4, h5, h6),
.xen_SolDev88_ballamara-appViewport :is(.fw-bold, .fw-semibold, .fw-bolder) {
  font-family: var(--xen_SolDev88_ballamara-fontHeadingStack);
}
.xen_SolDev88_ballamara-appViewport .fw-semibold { font-weight: 600; }
.xen_SolDev88_ballamara-appViewport .fw-bold { font-weight: 700; }
.xen_SolDev88_ballamara-appViewport .fw-bolder { font-weight: bolder; }

/* 가독성 대안 승인 시 문서 루트 속성 하나로 본문/제목을 함께 전환할 수 있습니다. */
:root[data-font-preset="freesentation"] {
  --xen_SolDev88_ballamara-fontStack: var(--xen_SolDev88_ballamara-fontReserveStack);
  --xen_SolDev88_ballamara-fontHeadingStack: var(--xen_SolDev88_ballamara-fontReserveStack);
}
