/* AUTO-GENERATED by generate-fonts-css.mjs (2026-04-21). DO NOT EDIT (PDCA #42-fonts manual @import 블록 제외). */
/* Source: C:\Users\MMSYSTEM\desktop\nemodi_2\storefront-selfprint\public\fonts (287 files) + wepnp-fonts.css (164 entries) */
/* Total @font-face: 299 + 2 (Google Fonts via @import) */

/* PDCA #42-fonts (2026-04-25): Google Web Fonts — Shrikhand 115건 + Pacifico 7건 (OFL 1.1). */
@import url('https://fonts.googleapis.com/css2?family=Shrikhand&family=Pacifico&display=swap');

@font-face {
  font-family: '고도';
  src: url('/fonts/고도M.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '고도';
  src: url('/fonts/고도B.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '교보 손글씨 2019';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '배달의민족+연성';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '배스킨라빈스 R';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '성동고딕';
  src: url('/fonts/kr/SeongdongGothic2.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '옥션고딕 B';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '옥션고딕 M';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '카페24 단정해';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '카페24 당당해';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '카페24 쑥쑥';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Anstery Script';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunBatangPro';
  src: url('/fonts/BareunBatangB-Regular.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunBatangPro';
  src: url('/fonts/BareunBatangL-Regular.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunBatangPro';
  src: url('/fonts/BareunBatangM-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunBatangPro';
  src: url('/fonts/BareunBatangOTFB-Regular.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunBatangPro';
  src: url('/fonts/BareunBatangOTFL-Regular.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunBatangPro';
  src: url('/fonts/BareunBatangOTFM-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunDotumPro';
  src: url('/fonts/BareunDotumPro1-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunDotumPro';
  src: url('/fonts/BareunDotumPro2-Regular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunDotumPro';
  src: url('/fonts/BareunDotumPro3-Regular.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunDotumPro';
  src: url('/fonts/BareunDotumOTFPro1-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunDotumPro';
  src: url('/fonts/BareunDotumOTFPro2-Regular.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunDotumPro';
  src: url('/fonts/BareunDotumOTFPro3-Regular.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BareunDotumPro';
  src: url('/fonts/바른돋움Pro.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Binggrae';
  src: url('/fonts/kr/Binggrae.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Binggrae';
  src: url('/fonts/Binggrae-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Black Han Sans';
  src: url('/fonts/kr/BlackHanSans.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BlackHanSans';
  src: url('/fonts/kr/BlackHanSans.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMDoHyeon';
  src: url('/fonts/BMDoHyeon.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMDoHyeon';
  src: url('/fonts/kr/BMDoHyeon.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMEuljiro';
  src: url('/fonts/kr/BMEuljiro.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMEuljiro10';
  src: url('/fonts/kr/BMEuljiro10.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMHanna11';
  src: url('/fonts/kr/BMHanna11.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMHannaAir';
  src: url('/fonts/kr/BMHannaAir.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BMHANNAPro';
  src: url('/fonts/배달의민족-한나.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMJua';
  src: url('/fonts/BMJua.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMKirangHaerang';
  src: url('/fonts/kr/BMKirangHaerang.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMYeonSung';
  src: url('/fonts/kr/BMYeonSung.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* kr/Busan.woff 는 실체가 KimNamyun(다른 서체) — postscript 감사(2026-08-05)로 확인, 정품 부산체로 원복 */
@font-face {
  font-family: 'BusanFont';
  src: url('/fonts/BusanFontProvisional-Web.woff2') format('woff2'), url('/fonts/BusanFontProvisional-Web.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cafe24 Decobox';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cafe24Behappy';
  src: url('/fonts/Cafe24Behappy-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cafe24Lovingu';
  src: url('/fonts/Cafe24Lovingu-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cafe24Oneprettynight';
  src: url('/fonts/Cafe24Oneprettynightv2.0-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cafe24Shiningstar';
  src: url('/fonts/kr/Cafe24Shiningstar.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ChosunCentennial';
  src: url('/fonts/조선일보명조.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Courier New';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Daehan';
  src: url('/fonts/대한.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DoHyeon';
  src: url('/fonts/kr/DoHyeon.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dongle';
  src: url('/fonts/kr/Dongle.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gaegu';
  src: url('/fonts/kr/Gaegu.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GamjaFlower';
  src: url('/fonts/kr/GamjaFlower.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 강원교육새음.ttf=공식 배포본과 동일하나 Chrome OTS 거부(공식 빌드 자체 비호환, TTF/OTF 모두).
   kr/GangwonEduSaeum.woff 는 실체가 다른 서체(GangwonEdu OTFBoldA). 정품 새음
   (강원특별자치도교육청·gwe.go.kr/main/content.do?key=m2307211207715, 자유사용·판매금지,
   웹폰트 빌드=projectnoonnu)로 교체 — 2026-08-05 */
@font-face {
  font-family: 'GangwonEduSaeeum';
  src: url('/fonts/kr/GangwonEduSaeeum-MediumA.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GangwonEduSaeum';
  src: url('/fonts/kr/GangwonEduSaeum.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gloock';
  src: url('/fonts/gloock.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('/fonts/GmarketSansLight.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('/fonts/G마켓-산스.woff2') format('woff2'),
       url('/fonts/G마켓-산스.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('/fonts/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('/fonts/GmarketSansBold.woff2') format('woff2'),
       url('/fonts/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Godo';
  src: url('/fonts/kr/GodoM.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Godo';
  src: url('/fonts/kr/GodoB.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GodoB';
  src: url('/fonts/GodoB-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GodoM';
  src: url('/fonts/GodoM-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GodoMaum';
  src: url('/fonts/godoMaum.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GothicA1';
  src: url('/fonts/kr/GothicA1.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gowun Batang';
  src: url('/fonts/gowun-batang.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GowunBatang';
  src: url('/fonts/kr/GowunBatang.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GowunDodum';
  src: url('/fonts/kr/GowunDodum.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Goyang';
  src: url('/fonts/고양체.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Happy Time';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Italiana';
  src: url('/fonts/italiana.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jalnan2';
  src: url('/fonts/Jalnan2-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JejuGothic';
  src: url('/fonts/제주고딕.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JejuHallasan';
  src: url('/fonts/JejuHallasanOTF-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JejuMyeongjo';
  src: url('/fonts/제주명조.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jua';
  src: url('/fonts/kr/Jua.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kiona';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KoPubBatang';
  src: url('/fonts/kr/KoPubBatangMedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KoPubWorldBatang';
  src: url('/fonts/KoPubWorldBatang-Light.woff2') format('woff2'),
       url('/fonts/KoPubWorldBatang-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KoPubWorldBatang';
  src: url('/fonts/KoPub바탕체-Pro.woff2') format('woff2'),
       url('/fonts/KoPub바탕체-Pro.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KoPubWorldBatang';
  src: url('/fonts/KoPubWorldBatang-Medium.woff2') format('woff2'),
       url('/fonts/KoPubWorldBatang-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* ★KoPubWorldBatang-Bold — unicode-range 분할 서빙 (2026-09-10). 진입 전송 2,813KB → 1,030KB.
   ⛔글리프를 지운 게 아니다: ko + ext 의 합집합 = 원본 cmap 전량(25,970자, 손실 0·advance 불일치 0
   자체검증). 생성기 `scripts/fonts/split-unicode-range.py`.
   ⛔바로 아래 **원본 선언은 브라우저용이 아니다.** `unicode-range: U+10FFFF`(비문자)라 어떤 글자도
   이 face 를 고르지 않아 절대 내려받지 않는다. 그런데도 남기는 이유는 백엔드 아웃라인 축이다 —
   `backend/src/lib/font/row-model.ts` 의 `swapToSafeWoff2` 가 이 CSS 를 파싱해 **파일 어간
   완전일치**(`kopubworldbatang-bold`)로 woff2 파생본을 찾는다. 지우면 아웃라인이 11.9MB 원본
   TTF 로 후퇴한다. CSS 파서는 unicode-range 를 읽지 않으므로 entry 는 그대로 살아 있다.
   ⛔분할본 어간을 `.ko`/`.ext` 로 다르게 둔 것도 같은 이유다(어간이 같으면 분할본이 아웃라인
   소스로 뽑혀 글리프를 잃는다). 유닛 `lib/editor/__tests__/kopub-unicode-range-split.unit.spec.ts`. */
@font-face {
  font-family: 'KoPubWorldBatang';
  src: url('/fonts/KoPubWorldBatang-Bold.woff2') format('woff2'),
       url('/fonts/KoPubWorldBatang-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+10FFFF;
}
/* 실서빙본 — ko(한글·라틴·기호) / ext(한자·가나·부수·옛한글). */
@font-face {
  font-family: 'KoPubWorldBatang';
  src: url('/fonts/split/KoPubWorldBatang-Bold.ko.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-04FF,U+1100-11FF,U+1E00-1FFF,U+2000-2BFF,U+3000-303F,U+3130-318F,U+3200-33FF,U+A960-A97F,U+AC00-D7A3,U+D7B0-D7FF,U+FE00-FE0F,U+FF00-FFEF;
}
@font-face {
  font-family: 'KoPubWorldBatang';
  src: url('/fonts/split/KoPubWorldBatang-Bold.ext.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0500-10FF,U+1200-1DFF,U+2C00-2FFF,U+3040-312F,U+3190-31FF,U+3400-A95F,U+A980-ABFF,U+D7A4-D7AF,U+D800-FDFF,U+FE10-FEFF,U+FFF0-10FFFF;
}
@font-face {
  font-family: 'KoPubWorldDotum';
  src: url('/fonts/KoPubWorldDotum-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KoPubWorldDotum';
  src: url('/fonts/KoPub돋움체-Pro.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KoPubWorldDotum';
  src: url('/fonts/KoPubWorldDotum-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KoPubWorldDotum';
  src: url('/fonts/KoPubWorldDotum-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 재배선 2026-08-13: kr/KOTRABold.woff 의 실체는 코트라 볼드체가 아니라 **빛의계승자**
   (fontkit postscriptName=HeirofLightBold). 이 선언을 쓰는 템플릿 162개/84건이 전혀 다른
   서체로 렌더됐다 — WePnP 프리뷰는 두꺼운 고딕인데 화면은 붓끝 서체.
   정품은 이미 보유 중(코트라-볼드체.ttf, postscriptName=KOTRA_BOLD-Bold)이라 파일만 돌린다.
   ⚠SSIM 은 이 차이를 Δ+0.0035 로밖에 못 잡았다(서체 형태에 둔감) — 판정 근거는 육안 대조.
   ⚠kr/KOTRABold.woff 는 참조처가 여기뿐이라 이 변경으로 미사용이 된다(파일은 남겨둔다). */
@font-face {
  font-family: 'KOTRA';
  src: url('/fonts/코트라-볼드체.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MapoGoldenPier';
  src: url('/fonts/kr/MapoGoldenPier.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MapoHanaReum';
  src: url('/fonts/Mapo한아름.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MapoPeacefull';
  src: url('/fonts/MapoPeacefull-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat.woff2') format('woff2'), url('/fonts/kr/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/kr/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumBarunGothic';
  src: url('/fonts/NanumBarunGothic.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumBarunGothic';
  src: url('/fonts/NanumBarunGothicBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NanumBarunpen';
  src: url('/fonts/나눔바른펜.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumBarunpen';
  src: url('/fonts/NanumBarunpenB.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumBrushScript';
  src: url('/fonts/NanumBrushScript.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumGothic';
  src: url('/fonts/NanumGothic.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* NanumGothicBold/ExtraBold.woff 는 한글 0자 서브셋 스텁(fontkit cmap 실증 2026-08-05) —
   선언 제거로 700/800 요청이 400 정품에서 합성 볼드로 그려지게 함(폴백 고딕보다 정합) */
@font-face {
  font-family: 'NanumGothicCoding';
  src: url('/fonts/kr/NanumGothicCoding.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumMyeongjo';
  src: url('/fonts/kr/NanumMyeongjo.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumMyeongjo';
  src: url('/fonts/NanumMyeongjo.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumMyeongjo';
  src: url('/fonts/NanumMyeongjoBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumMyeongjo';
  src: url('/fonts/NanumMyeongjoExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* PDCA #89-FIX-E-3 — NanumPen.woff (4163 corrupt) 제거 + .ttf first-wins */
@font-face {
  font-family: 'NanumPenScript';
  src: url('/fonts/NanumPenScript.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumPenScript2';
  src: url('/fonts/kr/NanumPenScript2.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquare';
  src: url('/fonts/NanumSquareL.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquare';
  src: url('/fonts/source-revisions/NanumSquareR-5a51deae5237.ttf') format('truetype'); /* PARITY-FONT-001: 위피 정합 — 판본 1.0.88 · 가운뎃점 폭 421. */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NanumSquare';
  src: url('/fonts/source-revisions/NanumSquareB-f737d58294fa.ttf') format('truetype'); /* PARITY-FONT-001: 위피 정합 — 판본 1.0.88 · 가운뎃점 폭 421. */
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NanumSquare';
  src: url('/fonts/NanumSquareEB.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neothic';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* ★C1 근본 fix(2026-07-09): 화면=인쇄 폰트 일치. 기존 'Noto Sans KR' 는 심볼 미포함
   서브셋 woff2(noto-sans-kr.woff2) + Pretendard-Regular.woff2 스텁이라 브라우저가 ♥※①②
   등 심볼을 시스템 폴백으로 측정 → __charBounds 폭이 인쇄 TTF(전각)와 어긋나 아웃라인
   overlap. 인쇄가 임베드하는 바로 그 파일(NotoSansKR-Regular/Bold.ttf, 심볼 전각 보유)로
   통일해 화면 측정폭=인쇄 글리프폭 일치. (alias map 도 woff2 폴백 대신 이 TTF 로 직결) */
@font-face {
  font-family: 'Noto Sans KR';
  src: url('/fonts/NotoSansKR-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans KR';
  src: url('/fonts/NotoSansKR-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans SC Regular';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSansKR';
  src: url('/fonts/NotoSansKR-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSansKR';
  src: url('/fonts/NotoSansKR-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSerifKR';
  src: url('/fonts/kr/NotoSerifKR.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OptimusPrinceps';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OptimusPrincepsSemiBold';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pacifico';
  /* B-032: pacifico.woff2 는 키릴 조각(141자, a~z·A~Z 없음)이라 영문에 못 쓴다 — 아웃라인이 쓰는 전체 파일로. */
  src: url('/fonts/kr/Pacifico.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Painting With Chocolate';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PapaMano AOE';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Parisienne';
  src: url('/fonts/parisienne.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pilsen Plakat';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/kr/PlayfairDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/kr/PlayfairDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PlayfairDisplay';
  src: url('/fonts/kr/PlayfairDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PlayfairDisplay';
  src: url('/fonts/kr/PlayfairDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* kr/PocheonMakgeolli.woff 는 실체가 어비강자체(UhBeeKang-Ja) — postscript 감사(2026-08-05).
   정품 포천막걸리(포천시, KOGL 1유형 출처표시·pocheon.go.kr/www/contents.do?key=5582,
   웹폰트 빌드=projectnoonnu)로 교체 */
@font-face {
  font-family: 'PocheonMakgeolli';
  src: url('/fonts/kr/PocheonMakgeolli-official.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SangsangFlowerShop';
  src: url('/fonts/상상토끼-꽃집막내딸.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SBAggro';
  src: url('/fonts/kr/SBAggroBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SDKukdetopokki';
  src: url('/fonts/Sandoll-국대떡볶이.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SDKukdetopokki';
  src: url('/fonts/SDKukdetopokkiaLt-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SDKukdetopokki';
  src: url('/fonts/SDKukdetopokkibBd-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SDSwagger';
  src: url('/fonts/SDSwaggerTTF-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SeongdongGothic';
  src: url('/fonts/kr/SeongdongGothic2.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* 성동고딕 B 정품(C3 B-053 ②) — 위피 「성동고딕」 은 STYLE='B' 로만 쓰였다(→ 700). 700 선언이 없어 위 400 파일에
   합성 볼드가 얹혔다. ⚠위 400 파일(SeongdongGothic2.woff)의 이름표는 「tway air」 다(성동고딕 아님 — 이름-파일 뒤섞임 계통).
   출처: 성동구청 배포 「SungDong Gothic B.ttf」 Version 4.5(© SungDong-Gu Office) 원본 그대로.
   라이선스: 개인·상업 무료, 재배포 허용, 대가 요구·수정 판매 금지(배포본 그대로 사용). */
@font-face {
  font-family: 'SeongdongGothic';
  src: url('/fonts/kr/SungDongGothic-B.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* 한글 원본 이름도 운영의 동일 정품 굵기 파일을 고른다. */
@font-face {
  font-family: '성동고딕';
  src: url('/fonts/kr/SungDongGothic-B.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* 성동명조 정품 재배선 (2026-08-08): 기존 SeongdongMyeongjo.woff 실체는 MapoMaponaruA
   (fontkit cmap 실증 — 이름-파일 뒤섞임 계통). 정품 R 은 korean-webfonts CDN 수급
   (SDMyungjo-Regular), B 는 기존 보유본이 정품(SDMyungjo-Bold, 신규 수급본과 SHA 동일)
   인데 선언만 누락돼 있던 것. 출처: 성동구청 sd.go.kr(성동서체) /
   cdn.jsdelivr.net/korean-webfonts/1/orgs/govs/sdgu/SungDongMyungjo.
   라이선스: 개인·상업 무료, 재배포 허용, 수정·판매 금지(배포본 그대로 사용). */
@font-face {
  font-family: 'SeongdongMyeongjo';
  src: url('/fonts/kr/SeongdongMyeongjo-official.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SeongdongMyeongjo';
  src: url('/fonts/kr/SeongdongMyeongjo-Bold.woff2') format('woff2'), url('/fonts/kr/SeongdongMyeongjo-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* 성동명조 한글 이름(B-107) — 위피 원본 이름이 fontFamily 로 남은 템플릿(dtpl_10720986 쿠폰명함)이 있다.
   이 이름엔 @font-face 가 없어 화면은 대체 서체로 그려지고, 아웃라인 해석(백엔드 resolveFontFile)도 null → export 가
   <text> 로 남아 주문 PDF 가 outline_incomplete 로 막혔다. 위 SeongdongMyeongjo 와 같은 정품 파일을 이 이름으로도 건다. */
@font-face {
  font-family: '성동명조';
  src: url('/fonts/kr/SeongdongMyeongjo-official.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '성동명조';
  src: url('/fonts/kr/SeongdongMyeongjo-Bold.woff2') format('woff2'), url('/fonts/kr/SeongdongMyeongjo-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* ★서울한강체 = 서울시 공식 새 판본(Version 3.2.0) 하나로(PARITY-SEOUL-001 · 2026-11-20).
 *   위피 인쇄 PDF 실측: 위피는 서울 서체를 전부 3.2.0 으로 찍는다(XML textWidth ÷ 파일 폭 0.981~0.984 · 옛 1.04 판본은 0.985~0.995).
 *   ★XML 에 `08서울한강체` L 로 적힌 글자를 위피는 **M 으로** 찍었다(62개 중 61개 · 글자 면적비 M 기준 0.999 / L 기준 1.19)
 *   → 300·400·500 은 전부 kr/SeoulHangangM.ttf. PARITY-SEOUL-002: 700 = 3.2.0 B · 800 = 3.2.0 EB.
 *   ⛔옛 1.04 파일(08SeoulHangangL0·M0 · 08서울한강체.ttf · kr/SeoulHangang.woff2 = 1.04 **L** 이었다)은 지우지 않고 참조만 뗐다.
 *   ⛔같은 굵기에 다른 파일을 두 줄 이상 두지 말 것 — 화면(브라우저 = 마지막 선언)과 인쇄(서체 해석기 = 첫 선언)가 갈린다.
 *   ⛔서울 서체 파일은 굵기와 상관없이 OS/2 usWeightClass 가 전부 400 이다 — 굵기는 이 선언으로만 정한다. */
@font-face {
  font-family: 'SeoulHangang';
  src: url('/fonts/kr/SeoulHangangM.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SeoulHangang';
  src: url('/fonts/kr/SeoulHangangM.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SeoulHangang';
  src: url('/fonts/kr/SeoulHangangM.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SeoulHangang';
  src: url('/fonts/kr/SeoulHangangB.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SeoulHangang';
  src: url('/fonts/kr/SeoulHangangEB.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* ★서울남산체 굵기 선언 정정(C3 B-052 ②) — 굵기 파일 네 개(L·M·B·EB)가 전부 400 으로 적혀 있어 서체 해석기가 첫 줄(B)을 보통 칸으로 골랐다.
 *   보통·가는 글이 B 로 인쇄되고, 굵은 글은 "보통 칸과 같은 파일"이라 합성 볼드가 한 번 더 얹혔다(화면은 마지막 400 선언 = M).
 *   파일의 실제 굵기대로: L 300 · B 700 · EB 800. 보통(400)은 M 파일 둘(M0 · 08서울남산체.ttf — 같은 파일)이다.
 *   ⛔M0 을 500 으로 옮기지 말 것(B-053): 500 은 kr/SeoulNamsanM.ttf 하나여야 한다 — 글자 폭이 다른 파일(906 대 900)이라 화면 조판(마지막 500 선언)과 인쇄 외곽선(첫 500 선언)이 서로 다른 파일을 집는다.
 *   ★PARITY-SEOUL-001(2026-11-20): 위피는 3.2.0 판본으로 찍는다 → 400·500 = kr/SeoulNamsanM.ttf · 800 = kr/SeoulNamsanEB.ttf 하나로(옛 M0 · 08서울남산체.ttf · EB0 참조 뗌 —
 *   종전 800 은 화면 = 마지막 선언 kr EB(3.2.0) · 인쇄 = 첫 선언 EB0(1.04)로 갈렸다). PARITY-SEOUL-002: 300·700 도 3.2.0 L·B 로 연결(옛 L0·B0 보존).
 *   남산은 XML 표기대로 찍는다(L→300 · M→500 · B→700 · EB→800). */
@font-face {
  font-family: 'SeoulNamsan';
  src: url('/fonts/kr/SeoulNamsanB.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SeoulNamsan';
  src: url('/fonts/kr/SeoulNamsanL.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SeoulNamsan';
  src: url('/fonts/kr/SeoulNamsanM.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SeoulNamsan';
  src: url('/fonts/kr/SeoulNamsanM.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SeoulNamsan';
  src: url('/fonts/kr/SeoulNamsanEB.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Shrikhand';
  src: url('/fonts/shrikhand.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SingleDay';
  src: url('/fonts/kr/SingleDay.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SongMyung';
  src: url('/fonts/kr/SongMyung.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerif-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifCN-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifJP-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifK-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifKR-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifSC-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTC-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTW-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerif-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifCN-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifJP-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifK-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifKR-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifSC-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTC-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTW-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerif-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifCN-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifJP-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifK-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifKR-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifSC-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTC-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTW-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/본명조.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerif-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifCN-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifJP-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifK-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifKR-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifSC-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTC-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTW-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerif-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifCN-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifJP-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifK-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifKR-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifSC-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTC-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTW-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerif-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifCN-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifJP-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifK-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifKR-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifSC-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTC-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTW-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerif-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifCN-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifJP-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifK-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifKR-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifSC-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTC-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SourceHanSerifKR';
  src: url('/fonts/SourceHanSerifTW-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'spinwerad';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Spoqa Han Sans Neo';
  src: url('/fonts/SpoqaHanSansNeo-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Spoqa Han Sans Neo';
  src: url('/fonts/SpoqaHanSansNeo-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sunflower';
  src: url('/fonts/kr/Sunflower-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'The Bold Font';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Times New Roman';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tmon몬소리';
  src: url('/fonts/Tmon몬소리.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TmonMonsori';
  src: url('/fonts/Tmon몬소리.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'UhBee Heeyom';
  src: url('/fonts/UhBeeHeeyom-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'UhBee Hyeki';
  src: url('/fonts/UhBeeHyeki-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UhBee Hyeki';
  src: url('/fonts/UhBeeHyeki-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'WC ROUGHTRAD Bta';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Wild Ride';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'YanoljaYache';
  src: url('/fonts/kr/YanoljaYache.woff2') format('woff2'), url('/fonts/야놀자야체-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'YanoljaYache';
  src: url('/fonts/야놀자야체-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'YeonSung';
  src: url('/fonts/kr/YeonSung.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Yeseva One';
  /* 폰트 자산 정리 2026-07-11 — yeseva-one.woff2 는 웹 subset(121글리프, 라틴 A/i 누락)이라
     아웃라인 미도달이었음. Google Fonts OFL full TTF(666글리프, postscript 정품 검증)로 교체. */
  src: url('/fonts/YesevaOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Youth';
  src: url('/fonts/청소년서체.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================================
 * 인쇄 도달 지혈 (2026-07-09, @A2)
 *
 * 인쇄 PDF 생성기는 이 파일을 파싱한 alias map(backend/src/lib/pdf/font-alias-map.ts)
 * 에서 font-family → 파일을 찾고, 부재 시 나눔고딕으로 폴백한다. 아래 family 들은
 * `font` 테이블(어드민)엔 있으나 여기 @font-face 가 없어 인쇄가 나눔고딕으로
 * 나가고 있었다. 화면과 인쇄가 같은 글리프를 쓰도록, DB file_url 이 가리키는
 * 파일과 동일한 로컬 파일을 등재한다.
 *
 * ★ 파생 family("Pretendard Bold" 등)는 폰트 행 모델상 그 자체가 식별자다
 *   (store-fonts.ts resolveFontRows). weight 는 400 으로 두고 family 명이
 *   Bold 를 지시한다 — 브라우저/PDF 가 동일 파일을 고르게 하기 위함.
 *
 * ⚠⚠ woff2 를 PDF 에 임베드하지 말 것 (2026-07-09 prod 실측)
 *   PDFKit/fontkit 이 woff2 를 서브셋하지 못해 ①폰트가 통째로 임베드되고
 *   (Pretendard 847KB vs 같은 글리프수 TTF 3KB) ②큰 glyph id 를 만나면
 *   "Offset is outside the bounds of the DataView" 로 PDF 생성이 통째로 실패한다.
 *   Pretendard 는 라틴 'i' 한 글자만 있어도 500 → 등재하지 않는다
 *   (print_reachable=false, 고객 편집기 비노출, 인쇄는 나눔고딕 폴백).
 *   TTF/OTF 확보 시 등재하되, 반드시 라틴 'i' 포함 문자열로 실 PDF 게이트를 통과시킬 것.
 * ============================================================================ */

/* NanumGothicBold.woff 는 한글 0자 스텁 — 정품 400 으로 교체(폴백 고딕보다 정합) */
@font-face {
  font-family: 'NanumGothic Bold';
  src: url('/fonts/NanumGothic.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumMyeongjo Bold';
  src: url('/fonts/NanumMyeongjoBold.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans KR Bold';
  src: url('/fonts/NotoSansKR-Bold.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif KR';
  src: url('/fonts/kr/NotoSerifKR.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif KR';
  src: url('/fonts/SourceHanSerifKR-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMHanna';
  src: url('/fonts/BMHANNAPro.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BMJUA';
  src: url('/fonts/BMJua.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* 고운밤은 동일 서체 TTF 사용 — woff2 는 PDF 서브셋이 안 먹어 통째 임베드된다
 * (실측 156KB vs 3KB). postscriptName/glyph수/upem 일치 확인. */
@font-face {
  font-family: 'Cafe24GounBam';
  src: url('/fonts/Cafe24Oneprettynightv2.0-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cafe24Star';
  src: url('/fonts/카페24-빛나는별.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GangwonEdu';
  src: url('/fonts/강원교육새음.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JalnanLegacy';
  src: url('/fonts/JalnanLegacy.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jalnan';
  src: url('/fonts/여기어때-잘난체.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KoPubDotum';
  src: url('/fonts/KoPub돋움체-Pro.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KOTRABold';
  src: url('/fonts/코트라-볼드체.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MapoHanArum';
  src: url('/fonts/Mapo한아름.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SSTFlower';
  src: url('/fonts/상상토끼-꽃집막내딸.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UhBeeHeeyom';
  src: url('/fonts/UhBee-Heeyom.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UhBeeHyeki';
  src: url('/fonts/UhBee-Hyeki.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 템플릿이 한글 family 명으로 저장한 참조 (side_data fontFamily="카페24 빛나는별" 20건).
 * DB family 는 Cafe24Star 지만 저장 디자인은 한글명을 그대로 들고 있어 별도 등재가 필요하다. */
@font-face {
  font-family: '카페24 빛나는별';
  src: url('/fonts/카페24-빛나는별.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════════════════
 * 폰트 굵기 커버리지 보강 (2026-08-18, @A)
 *
 * 발단: 폰트 매핑 4단 체인 전수 감사 — backend/scripts/wepnp/font-chain-audit.mjs
 *   XML fontFamily → DB fontFamily → 서빙 파일 → 파일 내부 정체 를 끝까지 이었다.
 *   side_data 가 요구하는 굵기의 @font-face 가 없어 브라우저가 **가짜 볼드를 합성**하거나
 *   폴백으로 떨어지던 텍스트 1,130건을 실측. 원본 WePnP 대비 두께가 달라진다.
 *
 * ⛔side_data 무접촉 — 파일은 대부분 이미 저장소에 있었고 "선언만" 없었다.
 * ⛔파일 정체는 fontkit 내부 이름으로 전건 검증했다(스텁·이름뒤섞임 계통 방지).
 *   NanumGothicBold.woff(5KB)·NanumGothicExtraBold.woff(3KB) 는 글리프 3개짜리
 *   "WebSubsetFont" 스텁이었다 → 정품 TTF 를 woff2 로 변환해 대체(아래 선언이 나중이라 승리).
 * ⛔한글명/영문명이 이원화돼 있어(나눔명조 vs NanumMyeongjo 등) **양쪽 모두** 선언한다.
 *   한쪽만 고치면 그 이름을 쓰는 템플릿이 그대로 남는다.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* 강원교육새음 — 파일 자체가 Medium(내부 weight 500)인데 400 으로만 선언돼 있었다 (407건) */
@font-face { font-family: 'GangwonEduSaeeum'; src: url('/fonts/kr/GangwonEduSaeeum-MediumA.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: '강원교육새음';      src: url('/fonts/kr/GangwonEduSaeeum-MediumA.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }

/* Playfair Display — ⛔가변 woff2 선언 제거(2026-08-21). Variable.woff2 는 271글리프
   스텁 서브셋으로 대문자 'J'(U+004A)조차 없다(fontkit gid 0 실측). 400-900 범위 선언이
   위의 정적 400/700 TTF 를 전부 가로채, 없는 글리프만 폴백 폰트로 그려지며 fabric 측정이
   글자마다 뒤섞였다 — "J UNHO"/"MINJ U" 단어 중간 공백·줄바꿈 겹침·morelove 산세리프
   렌더의 한 뿌리. 당시 600/900 요청은 700 정적 TTF로 폴백했다.
   2026-10-28: 아래 정적 600/900을 실제 업로드 원본(1101글리프)으로 등록해 폴백을 해소. */

/* 코트라 볼드체 — 같은 파일을 영문명(KOTRA)은 700, 한글명은 400 으로 선언해 갈렸다 (75건).
   fontkit: 내부명 "KOTRA_BOLD", 글리프 12,021 */
@font-face { font-family: '코트라 볼드체'; src: url('/fonts/코트라-볼드체.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: '코트라+볼드체'; src: url('/fonts/코트라-볼드체.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

/* 서울한강체 — L(Light) 파일이 400 으로만 선언돼 300 요구가 합성됐다 (76건)
   PARITY-SEOUL-001(2026-11-20): 위피는 한강 L 을 M(3.2.0)으로 찍는다 → 300 도 kr/SeoulHangangM.ttf (위 SeoulHangang 블록 설명). */
@font-face { font-family: 'SeoulHangang'; src: url('/fonts/kr/SeoulHangangM.ttf') format('truetype');        font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: '08서울한강체';   src: url('/fonts/kr/SeoulHangangM.ttf') format('truetype');        font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: '08서울한강체';   src: url('/fonts/kr/SeoulHangangM.ttf') format('truetype');        font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: '08서울한강체';   src: url('/fonts/kr/SeoulHangangB.ttf') format('truetype');        font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: '08서울한강체';   src: url('/fonts/kr/SeoulHangangEB.ttf') format('truetype');       font-weight: 800; font-style: normal; font-display: swap; }

/* 빙그레체 — Bold 파일이 있는데 한글명에는 400 만 선언돼 있었다 (56건) */
@font-face { font-family: '빙그레체';  src: url('/fonts/Binggrae-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: '빙그레체Ⅱ'; src: url('/fonts/Binggrae2-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

/* 나눔명조 — 영문명(NanumMyeongjo)에는 700/800 이 있는데 한글명에는 400 뿐이었다 (62건) */
@font-face { font-family: '나눔명조'; src: url('/fonts/NanumMyeongjoBold.woff') format('woff');       font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: '나눔명조'; src: url('/fonts/NanumMyeongjoExtraBold.woff') format('woff'); font-weight: 800; font-style: normal; font-display: swap; }

/* 나눔스퀘어 — postscript 명(NanumSquareR/B)이 fontFamily 로 새어 들어간 템플릿이 있다 (44건).
   그 이름에는 @font-face 가 아예 없어 폴백 렌더됐다. */
@font-face { font-family: 'NanumSquareR'; src: url('/fonts/NanumSquareL.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'NanumSquareR'; src: url('/fonts/source-revisions/NanumSquareR-5a51deae5237.ttf') format('truetype'); /* PARITY-FONT-001: 위피 정합 — 판본 1.0.88 · 가운뎃점 폭 421. */ font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'NanumSquareB'; src: url('/fonts/source-revisions/NanumSquareB-f737d58294fa.ttf') format('truetype'); /* PARITY-FONT-001: 위피 정합 — 판본 1.0.88 · 가운뎃점 폭 421. */ font-weight: 400; font-style: normal; font-display: swap; }

/* 나눔고딕 — 기존 Bold/ExtraBold 는 글리프 3개짜리 "WebSubsetFont" 스텁이었다.
   형배 제공 정품 TTF → woff2 변환. fontkit: Bold 20,452자 / ExtraBold 20,588자, 한글 O */
@font-face { font-family: 'NanumGothic'; src: url('/fonts/kr/NanumGothicBold.woff2') format('woff2'), url('/fonts/kr/NanumGothicBold.woff') format('woff');       font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'NanumGothic'; src: url('/fonts/kr/NanumGothicExtraBold.woff2') format('woff2'), url('/fonts/kr/NanumGothicExtraBold.woff') format('woff'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: '나눔고딕';     src: url('/fonts/kr/NanumGothicBold.woff2') format('woff2'), url('/fonts/kr/NanumGothicBold.woff') format('woff');       font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: '나눔고딕';     src: url('/fonts/kr/NanumGothicExtraBold.woff2') format('woff2'), url('/fonts/kr/NanumGothicExtraBold.woff') format('woff'); font-weight: 800; font-style: normal; font-display: swap; }
/* 나눔고딕 Light 정품(C3 B-053 ②) — 위피 STYLE='Light'(→ 300) 가 400 파일로 그려졌다. NHN 배포 NanumGothicLight.ttf
   Version 1.000 원본 그대로(⚠한글 2,350자뿐 — 그 밖의 한글은 이 파일에 없다). 라이선스: SIL OFL 1.1(상업 이용·재배포 가능, 단독 판매 금지). */
@font-face { font-family: 'NanumGothic'; src: url('/fonts/kr/NanumGothicLight.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: '나눔고딕';     src: url('/fonts/kr/NanumGothicLight.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }

/* 나눔바른고딕 — 한글명에 Bold 가 없었다 */
@font-face { font-family: '나눔바른고딕'; src: url('/fonts/NanumBarunGothicBold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }

/* Pretendard — 파일은 있는데 @font-face 가 전혀 없어 폴백 렌더됐다 (4건) */
/* ★Pretendard 정적 400/700 선언 제거 (2026-09-11).
   화면용 'Pretendard' 는 `app/globals.css` 의 **가변폰트 1선언**(PretendardVariable.woff2,
   wght 45 920)이 담당한다. globals.css 는 root layout 이 import 하므로 전 라우트에 실린다.
   여기 정적 2선언은 같은 family 를 가리키는 **중복**이라, 같은 face 가 서로 다른 URL 로
   갈리는 계보(2026-09-07 GMarketSans 이중 전송)를 남긴다. 전송은 이미 0이었고(실측: 가변만
   loaded, 정적 400/700 은 unloaded) 이 제거는 혼선만 없앤다.
   ⛔파일은 지우지 않는다 — 인쇄 축이 정적본을 직접 참조한다
     (`lib/pdf/font-loader.ts` 의 "Pretendard" → Pretendard-Regular.woff2,
      백엔드 `FULL_FONT_OVERRIDES` 의 Pretendard-Regular/Bold.ttf).
   ⛔같은 파일을 src 로 쓰는 **다른 family**(성동고딕·THE명품고딕R 등 별칭)는 무접촉이다. */

/* ── 2차 보강 (2026-08-18, @A) — 1차 후 잔여 66건 ──────────────────────────
 * ⛔NanumGothicLight 는 배선하지 않았다: 정품이지만 글리프 3,436자 **라틴 전용**이라
 *   300 으로 걸면 한글이 통째로 다른 폰트로 튄다. 미선언 → 400 으로 매칭되는 게 옳다.
 * postscript 명이 fontFamily 로 새어든 템플릿(KoPubWorldBatangLight 등)은 별칭으로 받는다. */
@font-face { font-family: 'NanumBarunGothic'; src: url('/fonts/kr/NanumBarunGothicLight.woff2') format('woff2'), url('/fonts/kr/NanumBarunGothicLight.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: '나눔바른고딕';       src: url('/fonts/kr/NanumBarunGothicLight.woff2') format('woff2'), url('/fonts/kr/NanumBarunGothicLight.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }

/* 서울남산체 Bold — PARITY-SEOUL-002: 3.2.0 B (SeoulNamsan B) */
@font-face { font-family: 'SeoulNamsan';  src: url('/fonts/kr/SeoulNamsanB.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: '08서울남산체';   src: url('/fonts/kr/SeoulNamsanB.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

/* 야놀자 야체 — 한글명에 Bold 누락 (영문명 YanoljaYache 에는 이미 있었다) */
@font-face { font-family: '야놀자 야체'; src: url('/fonts/야놀자야체-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: '야놀자+야체'; src: url('/fonts/야놀자야체-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

/* postscript 명 별칭 — side_data fontFamily 에 파일명/PS명이 그대로 들어간 템플릿용 */
@font-face { font-family: 'KoPubWorldBatangLight';   src: url('/fonts/KoPubWorldBatang-Light.woff2') format('woff2'),
       url('/fonts/KoPubWorldBatang-Light.ttf') format('truetype');  font-weight: 400; font-style: normal; font-display: swap; }
/* ★KoPubWorldBatang-Bold — unicode-range 분할 서빙 (2026-09-10). 진입 전송 2,813KB → 1,030KB.
   ⛔글리프를 지운 게 아니다: ko + ext 의 합집합 = 원본 cmap 전량(25,970자, 손실 0·advance 불일치 0
   자체검증). 생성기 `scripts/fonts/split-unicode-range.py`.
   ⛔바로 아래 **원본 선언은 브라우저용이 아니다.** `unicode-range: U+10FFFF`(비문자)라 어떤 글자도
   이 face 를 고르지 않아 절대 내려받지 않는다. 그런데도 남기는 이유는 백엔드 아웃라인 축이다 —
   `backend/src/lib/font/row-model.ts` 의 `swapToSafeWoff2` 가 이 CSS 를 파싱해 **파일 어간
   완전일치**(`kopubworldbatang-bold`)로 woff2 파생본을 찾는다. 지우면 아웃라인이 11.9MB 원본
   TTF 로 후퇴한다. CSS 파서는 unicode-range 를 읽지 않으므로 entry 는 그대로 살아 있다.
   ⛔분할본 어간을 `.ko`/`.ext` 로 다르게 둔 것도 같은 이유다(어간이 같으면 분할본이 아웃라인
   소스로 뽑혀 글리프를 잃는다). 유닛 `lib/editor/__tests__/kopub-unicode-range-split.unit.spec.ts`. */
@font-face { font-family: 'KoPubWorldBatangBold';    src: url('/fonts/KoPubWorldBatang-Bold.woff2') format('woff2'),
       url('/fonts/KoPubWorldBatang-Bold.ttf') format('truetype');   font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+10FFFF; }
@font-face { font-family: 'KoPubWorldBatangBold';    src: url('/fonts/split/KoPubWorldBatang-Bold.ko.woff2') format('woff2');  font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-04FF,U+1100-11FF,U+1E00-1FFF,U+2000-2BFF,U+3000-303F,U+3130-318F,U+3200-33FF,U+A960-A97F,U+AC00-D7A3,U+D7B0-D7FF,U+FE00-FE0F,U+FF00-FFEF; }
@font-face { font-family: 'KoPubWorldBatangBold';    src: url('/fonts/split/KoPubWorldBatang-Bold.ext.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0500-10FF,U+1200-1DFF,U+2C00-2FFF,U+3040-312F,U+3190-31FF,U+3400-A95F,U+A980-ABFF,U+D7A4-D7AF,U+D800-FDFF,U+FE10-FEFF,U+FFF0-10FFFF; }
@font-face { font-family: 'PlayfairDisplay-Regular'; src: url('/fonts/kr/PlayfairDisplay-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
/* 원래 업로드된 v1.203 정적 원본. 271glyph 가변 subset은 다시 등록하지 않는다. */
@font-face { font-family: 'Playfair Display SB'; src: url('/fonts/kr/PlayfairDisplay-SemiBold.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/kr/PlayfairDisplay-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'PlayfairDisplay'; src: url('/fonts/kr/PlayfairDisplay-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/kr/PlayfairDisplay-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'PlayfairDisplay'; src: url('/fonts/kr/PlayfairDisplay-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

/* ★글리프 폴백 체인 전용 서체(형배 확정 2026-10-01, C3 B-008 3다·라) — 고객 글자에 주 폰트 글리프가 없을 때만 아웃라인이 쓴다.
   순서 SSOT = packages/editor-core/src/export/glyph-fallback-chain.ts (… → Noto Sans KR → Symbols 2 → Emoji → SC → JP → 나눔고딕).
   전부 SIL OFL 1.1 공식 배포본(재배포 허용, 서체 이름 변경 없음):
     NotoSansSymbols2-Regular.ttf  github.com/notofonts/notofonts.github.io  fonts/NotoSansSymbols2/hinted/ttf   (671,568 B)
     NotoEmoji-VF.ttf              github.com/google/fonts  ofl/notoemoji/NotoEmoji[wght].ttf (흑백, 가변)        (1,982,596 B)
     NotoSansSC-Regular.otf        github.com/notofonts/noto-cjk  Sans/SubsetOTF/SC                              (8,331,336 B)
     NotoSansJP-Regular.otf        github.com/notofonts/noto-cjk  Sans/SubsetOTF/JP                              (4,533,028 B)
   unicode-range 를 실재하지 않는 코드포인트로 좁혀 둔다 — 브라우저는 이 face 를 고르지 않아 **내려받지 않는다**(편집기 화면·글꼴 목록
   무영향, KoPub 원본 face 와 같은 수법). 백엔드 alias map(CSS 파서)은 unicode-range 를 읽지 않으므로 아웃라인 URL 해석에는 살아 있다. */
@font-face { font-family: 'Noto Sans Symbols 2'; src: url('/fonts/NotoSansSymbols2-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+10FFFF; }
@font-face { font-family: 'Noto Emoji';          src: url('/fonts/NotoEmoji-VF.ttf') format('truetype');             font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+10FFFF; }
@font-face { font-family: 'Noto Sans SC';        src: url('/fonts/NotoSansSC-Regular.otf') format('opentype');       font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+10FFFF; }
@font-face { font-family: 'Noto Sans JP';        src: url('/fonts/NotoSansJP-Regular.otf') format('opentype');       font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+10FFFF; }

/* ★굵기 파일 보충(2026-10-01, C3 B-011 3) — 위 선언들에 **두 번째 src** 로 얹었다(이 주석은 설명만).
 *   인쇄 아웃라인(클라 opentype 디코더)과 PDFKit 은 woff2 를 못 쓴다 → 그 굵기 파일이 woff2 뿐이면
 *   옆 굵기 파일로 떨어졌다(고객 글상자 실측: 나눔고딕 700·800 1,791 · 성동명조 700 1,628 · 야놀자 400 892 ·
 *   Montserrat 400 457 · 나눔바른고딕 300 310 · Spoqa 100·300 259).
 *   - kr/NanumGothicBold.woff · kr/NanumGothicExtraBold.woff · kr/NanumBarunGothicLight.woff ·
 *     kr/SeongdongMyeongjo-Bold.woff · kr/SpoqaHanSansNeo-Light.woff · kr/SpoqaHanSansNeo-Thin.woff
 *     = 같은 이름의 woff2 를 fontTools 로 **다시 감싼 것**(글리프·cmap 수 동일 검증, 서체 데이터 무변경).
 *   - 야놀자야체-Regular.ttf · kr/Montserrat-Regular.ttf = 저장소에 이미 있던 정품(선언만 없었다).
 *   화면은 그대로다 — 브라우저는 src 목록의 첫 지원 형식(woff2)을 쓴다. 두 번째 src 는 인쇄 해석만 본다.
 *   ⛔루트의 NanumGothicBold.woff · NanumGothicExtraBold.woff(5KB·3KB)는 글리프 3개 스텁이다 — kr/ 것과 다른 파일. */

/* ★굵기 파일 보충 2차(2026-10-01, C3 B-016) — 공식 가변 서체에서 뽑은 **정적 굵기**(fontTools instancer, 서체 데이터 무가공).
 *   원본: github.com/google/fonts  ofl/playfairdisplay/PlayfairDisplay[wght].ttf · ofl/montserrat/Montserrat[wght].ttf
 *   (sha256·크기는 관제 보고 폴더의 _fonts-inbox/MANIFEST.txt). 라이선스 = OFL 1.1 → /fonts/licenses/OFL-*.txt 동봉.
 *   고객 글상자 실측: Playfair 600·900 = 1,622 · Montserrat 200·500·900 = 807 이 옆 굵기(700 / 400)로 인쇄됐다.
 *   ⛔옛 kr/PlayfairDisplay-Variable.woff2(271글리프 스텁, 'J' 없음)와 다른 파일이다 — 이쪽은 1,103글리프 전체.
 *   Playfair 는 화면도 바뀐다(600·900 이 Bold 대신 그 굵기로). Montserrat 화면은 wepnp-fonts.css 의 가변 woff2 가 그대로 이긴다. */
@font-face { font-family: 'Playfair Display'; src: url('/fonts/kr/PlayfairDisplay-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/kr/PlayfairDisplay-Black.woff') format('woff');    font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/kr/Montserrat-ExtraLight.woff') format('woff'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/kr/Montserrat-Medium.woff') format('woff');     font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/kr/Montserrat-Black.woff') format('woff');      font-weight: 900; font-style: normal; font-display: swap; }

/* 위피 한글 원본 이름도 동일 정품 소스로 해석한다(화면·아웃라인 공통 CSS). */
@font-face {
  font-family: '성동명조';
  src: url('/fonts/kr/SeongdongMyeongjo-official.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '성동명조';
  src: url('/fonts/kr/SeongdongMyeongjo-Bold.woff2') format('woff2'), url('/fonts/kr/SeongdongMyeongjo-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Original BM HANNA (2013), separate from Pro/11/Air. See licenses/OFL-hanna.txt. */
@font-face {
  font-family: 'BMHannaOriginal';
  src: url('/fonts/BMHannaOriginal.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Original Chosun Ilbo Myungjo; independent of ChosunCentennial and Daehan. */
@font-face {
  font-family: 'ChosunIlboMyungjoOriginal';
  src: url('/fonts/mcard/ChosunMyungjo.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Explicit outline fallback registry, not automatic browser substitution.
   Original Unicode is preserved; official files and OFL notices are pinned in
   licenses/priority298-noto/provenance.json. */
@font-face { font-family: 'Noto Sans Math'; src: url('/fonts/NotoSansMath-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+10FFFF; }
@font-face { font-family: 'Noto Sans Sinhala'; src: url('/fonts/NotoSansSinhala-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+10FFFF; }
@font-face { font-family: 'Noto Sans Canadian Aboriginal'; src: url('/fonts/NotoSansCanadianAboriginal-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+10FFFF; }
@font-face { font-family: 'Noto Serif Tibetan'; src: url('/fonts/NotoSerifTibetan-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+10FFFF; }
