/* C+ 서체 후보 5조합 — html[data-font="1~5"] 일 때만 바뀐다(없으면 C 와 같은 서체).
   기준: «폰트가 화면을 잡는» 좁고 높은 제목 + 판독 좋은 본문(대표 11/17, Dairy Block 첫 화면).
   한글 조판: 자간 0, keep-all, 제목 행간 1.16 이상(todak-korean-type). 글꼴은 페이지 글자만 남긴 woff(site/fonts/cplus). */
@font-face { font-family: "x BlackHanSans"; src: url("../fonts/cplus/BlackHanSans.woff") format("woff"); font-display: swap; }
@font-face { font-family: "x DoHyeon"; src: url("../fonts/cplus/DoHyeon.woff") format("woff"); font-display: swap; }
@font-face { font-family: "x NotoSerifKR"; src: url("../fonts/cplus/NotoSerifKR.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "x Paperlogy"; src: url("../fonts/cplus/Paperlogy9.woff") format("woff"); font-weight: 900; font-display: swap; }
@font-face { font-family: "x SongMyung"; src: url("../fonts/cplus/SongMyung.woff") format("woff"); font-display: swap; }
@font-face { font-family: "x SUIT"; src: url("../fonts/cplus/SUIT.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "x WantedSans"; src: url("../fonts/cplus/WantedSans.woff") format("woff"); font-weight: 400 1000; font-display: swap; }
@font-face { font-family: "x IBMPlexSansKR"; src: url("../fonts/cplus/IBMPlexSansKR-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "x IBMPlexSansKR"; src: url("../fonts/cplus/IBMPlexSansKR-600.woff") format("woff"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "x NanumSquareNeo"; src: url("../fonts/cplus/NanumSquareNeo.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "x Archivo"; src: url("../fonts/cplus/Archivo.woff") format("woff"); font-display: swap; }
@font-face { font-family: "x Bricolage"; src: url("../fonts/cplus/BricolageGrotesque.woff") format("woff"); font-display: swap; }
@font-face { font-family: "x Playfair"; src: url("../fonts/cplus/Playfair.woff") format("woff"); font-display: swap; }
@font-face { font-family: "x Schibsted"; src: url("../fonts/cplus/SchibstedGrotesk.woff") format("woff"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "x Gloock"; src: url("../fonts/cplus/Gloock.woff") format("woff"); font-display: swap; }

/* 조합별 값: 제목 · 본문 · 카드 제목 · 숫자(+ 숫자 폭) · 눈썹 글자 */
html[data-font="1"] { --fx-title: "x BlackHanSans", "x SUIT", sans-serif; --fx-body: "x SUIT", "Pretendard Variable", sans-serif; --fx-h3: "x SUIT", sans-serif; --fx-h3w: 700; --fx-num: "x Archivo", "x SUIT", sans-serif; --fx-eye: "x Archivo", sans-serif; --fx-tw: 400; --fx-lh: 1.16; }
html[data-font="2"] { --fx-title: "x DoHyeon", "x WantedSans", sans-serif; --fx-body: "x WantedSans", "Pretendard Variable", sans-serif; --fx-h3: "x WantedSans", sans-serif; --fx-h3w: 700; --fx-num: "x Bricolage", "x WantedSans", sans-serif; --fx-eye: "x Bricolage", sans-serif; --fx-tw: 400; --fx-lh: 1.18; }
html[data-font="3"] { --fx-title: "x NotoSerifKR", serif; --fx-body: "x IBMPlexSansKR", "Pretendard Variable", sans-serif; --fx-h3: "x NotoSerifKR", serif; --fx-h3w: 800; --fx-num: "x Playfair", "x NotoSerifKR", serif; --fx-eye: "x IBMPlexSansKR", sans-serif; --fx-tw: 800; --fx-lh: 1.22; }
html[data-font="4"] { --fx-title: "x Paperlogy", "x NanumSquareNeo", sans-serif; --fx-body: "x NanumSquareNeo", "Pretendard Variable", sans-serif; --fx-h3: "x NanumSquareNeo", sans-serif; --fx-h3w: 800; --fx-num: "x Schibsted", "x Paperlogy", sans-serif; --fx-eye: "x Schibsted", sans-serif; --fx-tw: 900; --fx-lh: 1.2; }
html[data-font="5"] { --fx-title: "x SongMyung", serif; --fx-body: "Pretendard Variable", Pretendard, sans-serif; --fx-h3: "x SongMyung", serif; --fx-h3w: 400; --fx-num: "x Gloock", "x SongMyung", serif; --fx-eye: "Pretendard Variable", sans-serif; --fx-tw: 400; --fx-lh: 1.24; }

html[data-font] .is-plus { --f-body: var(--fx-body); --f-display: var(--fx-body); --f-serif: var(--fx-h3); --f-eye: var(--fx-eye); font-family: var(--fx-body); word-break: keep-all; }
html[data-font] .is-plus :is(h1, h2):not(.sr) { font-family: var(--fx-title) !important; font-weight: var(--fx-tw) !important; letter-spacing: 0 !important; line-height: var(--fx-lh) !important; font-synthesis: none; }
html[data-font] .is-plus :is(h1, h2):not(.sr) :is(b, span, strong) { font-family: inherit; font-weight: inherit !important; }
html[data-font] .is-plus h2:not(.sr) b, html[data-font] .is-plus h1 .t3 b { color: var(--coral, currentColor); }
html[data-font] .is-plus.dir-c :is(.bz__h, .hp__head, .cs__top, .pc__head, .news__h, .op__head, .reels) h2 b { color: inherit; }
html[data-font] .is-plus h3 { font-family: var(--fx-h3) !important; font-weight: var(--fx-h3w) !important; letter-spacing: 0 !important; }
html[data-font] .is-plus :is(.n76, .nb__i b, .pin b, .seoul__n, .tl__d b, .res__nums b, .xc__body strong, .op__d b, .ch__no) { font-family: var(--fx-num) !important; letter-spacing: 0 !important; }
html[data-font] .is-plus .eb { font-family: var(--fx-eye) !important; font-stretch: normal; }
html[data-font] .is-plus .hd__mark, html[data-font] .is-plus .hd__nav a, html[data-font] .is-plus .btn { font-family: var(--fx-body); }
/* 2번(도현체) · 1번(검은고딕)은 한 굵기 — 가는 줄과 굵은 줄의 대비 대신 크기로 */
html[data-font="1"] .is-plus .hm h1 .t1, html[data-font="2"] .is-plus .hm h1 .t1 { opacity: .86; }

/* 서체 바꾸기 단추 — 머리글 안(글자를 가리지 않게). 폰은 숨기고 주소 ?font=1~5 · 비교 페이지 단추로 */
.fsw { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; margin-right: 14px; padding: 4px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); font: 600 12px/1 "Pretendard Variable", sans-serif; }
.fsw span { padding: 0 6px 0 6px; opacity: .8; }
.fsw button { all: unset; box-sizing: border-box; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 999px; text-align: center; cursor: pointer; }
.fsw button[aria-pressed="true"] { background: var(--coral, #E8573C); color: #15171A; }
.fsw button:focus-visible { outline: 2px solid currentColor; }
.in-compare .fsw { display: none; }
@media (max-width: 1100px) { .fsw { display: none; } }
html[data-font="3"] .is-plus .hm h1 .n76 { line-height: 1 !important; }
