@charset "utf-8";

/* fonts.css — Pretendard self-host 단일 출처 (design-system.md §2.2.1)
 *
 * 이전: jsdelivr CDN의 pretendard-dynamic-subset.css를 modal.css·스킨 5곳에서 @import.
 *   - 글자 단위 lazy fetch 청크 woff/woff2가 오프라인·CDN 장애 시 net::ERR_* 콘솔 폭주
 *   - 출처 5중복으로 drift 위험 + 외부 의존
 *
 * 본 파일: Pretendard Variable woff2 단일 파일(app/font/pretendard/PretendardVariable.woff2,
 * v1.3.9, OFL-1.1)을 self-host. weight 100~900 단일 파일로 처리되어 @font-face 1쌍.
 *
 * family alias 두 개 — 코드 stack `'Pretendard', 'Pretendard Variable', ...`이 둘 다 매치되게.
 * 동일 src를 두 family-name으로 등록하지만 브라우저 HTTP 캐시가 단일 fetch로 합친다.
 *
 * font-display: swap — 폰트 로드 전 시스템 폰트(-apple-system 등)로 즉시 paint,
 * 로드 완료 후 swap. FOIT(invisible text) 회피, FOUT 약하게 발생. */

@font-face {
    font-family: 'Pretendard Variable';
    src: url('/font/pretendard/PretendardVariable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/font/pretendard/PretendardVariable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
