/*
Theme Name: 스테이블코인 스테이터스 Renewal
Description: 원화 스테이블코인 법안 트래커 + 글로벌 스테이블코인 시장 데이터 도구. 모바일 우선, 표 가로스크롤.
Version: 2.0
Author: stablecoinstatus.com
Text Domain: stablecoinstatus-renewal
*/

:root {
	/* 공통 토큰 (1-4) */
	--bg: #fafafa;
	--card: #ffffff;
	--line: #e7e5e0;
	--ink: #1a1a18;
	--sub: #5f5e5a;
	--hint: #888780;
	--radius: 12px;

	/* 섹션색 (1-2) */
	--bills: #185fa5;   --bills-bg: #e6f1fb;   --bills-ink: #0c447c;
	--peg: #1d9e75;     --peg-bg: #e1f5ee;     --peg-ink: #0f6e56;
	--market: #534ab7;  --market-bg: #eeedfe;  --market-ink: #3c3489;

	/* 상태색 (1-3) */
	--st-ok-bg: #e1f5ee;   --st-ok-ink: #0f6e56;   --st-ok-dot: #1d9e75;
	--st-warn-bg: #faeeda;  --st-warn-ink: #854f0b;  --st-warn-dot: #c9820f;
	--st-bad-bg: #fcebeb;   --st-bad-ink: #a32d2d;   --st-bad-dot: #d64545;

	/* 레거시 별칭 (기존 클래스 유지) */
	--accent: #185fa5;
	--ok: #0f6e56;
	--warn: #854f0b;
	--bad: #a32d2d;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", sans-serif;
	background: var(--bg);
	color: var(--ink);
	line-height: 1.6;
	font-size: 15px;
	font-weight: 400;
}
a { color: var(--bills); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* 헤더 — 밝고 차분한 톤 + 하단 0.5px 구분선 (1-5) */
.site-head { background: var(--card); border-bottom: 0.5px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding-top: 14px; padding-bottom: 14px; }
.site-title { font-size: 17px; font-weight: 500; margin: 0; display: flex; align-items: center; gap: 8px; }
.site-title a { color: var(--ink); display: flex; align-items: center; gap: 8px; }
.site-title a:hover { text-decoration: none; }
.site-logo { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 7px; background: var(--bills-bg); color: var(--bills); flex: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; margin-left: auto; }
.site-nav a { color: var(--sub); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }

main.wrap { padding-top: 24px; padding-bottom: 40px; }
h1 { font-size: 22px; font-weight: 500; margin: 0 0 6px; line-height: 1.35; }
h2 { font-size: 18px; font-weight: 500; margin: 34px 0 12px; }
.lead { color: var(--sub); margin: 0 0 20px; font-size: 14px; }

/* 아이콘 */
.icon { display: inline-block; vertical-align: middle; }
.icon svg { display: block; }

/* 페이지 헤더 (섹션 아이콘칩 + 제목 + 설명) — 하위 페이지 (4) */
.page-head { display: flex; align-items: flex-start; gap: 13px; margin: 4px 0 20px; }
.page-head .chip { flex: none; }
.page-head h1 { margin: 2px 0 4px; }
.page-head .lead { margin: 0; }

/* 아이콘칩 (섹션색 배경 + 섹션색 아이콘) */
.chip { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; }
.chip.chip-sm { width: 30px; height: 30px; border-radius: 9px; }
.chip-bills { background: var(--bills-bg); color: var(--bills); }
.chip-peg { background: var(--peg-bg); color: var(--peg); }
.chip-market { background: var(--market-bg); color: var(--market); }
.chip-history { background: #f0efec; color: var(--sub); }
.chip-glossary { background: #f0efec; color: var(--sub); }

/* 홈 상단 내비 카드 (3) */
.nav-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 8px; }
.nav-card { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 0.5px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--line); padding: 16px 16px 15px; color: var(--ink); }
.nav-card:hover { text-decoration: none; }
.nav-card .nc-head { display: flex; align-items: center; gap: 10px; }
.nav-card .nc-title { font-size: 15px; font-weight: 500; }
.nav-card .nc-desc { color: var(--sub); font-size: 12.5px; line-height: 1.55; flex: 1; }
.nav-card .nc-go { font-size: 13px; font-weight: 500; }
.nav-bills { border-top-color: var(--bills); }   .nav-bills .nc-go { color: var(--bills); }
.nav-peg { border-top-color: var(--peg); }        .nav-peg .nc-go { color: var(--peg); }
.nav-market { border-top-color: var(--market); }  .nav-market .nc-go { color: var(--market); }

/* 데이터 표 — 모바일 가로스크롤 (법안 비교표 핵심 UI) */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--card); border: 0.5px solid var(--line); border-radius: var(--radius); }
table.data { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
table.data.matrix { min-width: 760px; }
table.data th, table.data td { padding: 11px 13px; border-bottom: 0.5px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
table.data.matrix td, table.data.kv td, td.bill-name { white-space: normal; min-width: 180px; }
table.data thead th { background: #f5f4f1; font-weight: 500; color: var(--sub); position: sticky; top: 0; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: #fbfbfa; }
table.data td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data td.center, table.data th.center { text-align: center; }
table.data th.issue { background: #f7f6f3; font-weight: 500; white-space: normal; min-width: 130px; color: var(--ink); }
table.data th.bill-col { white-space: normal; min-width: 200px; font-weight: 500; }
.bill-sub { display: block; font-weight: 400; color: var(--sub); font-size: 12px; margin: 2px 0 4px; }
td.na { color: #cfcdc7; text-align: center; }
td.absent { color: var(--sub); font-style: italic; }
td.absent .fn { text-decoration: none; margin-left: 2px; }
td.addr { font-family: ui-monospace, monospace; font-size: 12px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.coin-name { color: var(--sub); font-size: 13px; font-weight: 400; }
.coin strong { font-weight: 500; }
a.src { font-size: 12px; }

/* 법안 처리 단계 배지 */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.badge-received { background: #f0efec; color: var(--sub); }
.badge-committee { background: var(--bills-bg); color: var(--bills-ink); }
.badge-law_committee { background: #e4e2f8; color: var(--market-ink); }
.badge-plenary { background: var(--st-warn-bg); color: var(--st-warn-ink); }
.badge-passed { background: var(--st-ok-bg); color: var(--st-ok-ink); }
.badge-merged { background: #f0ebf9; color: #6b4ea8; }
.badge-dead { background: var(--st-bad-bg); color: var(--st-bad-ink); }

/* 변경 항목 태그 (이력) */
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; background: #f0efec; color: var(--sub); }
.tag-new { background: var(--bills-bg); color: var(--bills-ink); }

/* 페깅 상태 배지 (알약형: 점 + 라벨 + 편차%) — 신규 기능 (2) */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.pill .pill-val { font-variant-numeric: tabular-nums; font-weight: 400; }
.pill-ok { background: var(--st-ok-bg); color: var(--st-ok-ink); }
.pill-ok .dot { background: var(--st-ok-dot); }
.pill-warn { background: var(--st-warn-bg); color: var(--st-warn-ink); }
.pill-warn .dot { background: var(--st-warn-dot); }
.pill-bad { background: var(--st-bad-bg); color: var(--st-bad-ink); }
.pill-bad .dot { background: var(--st-bad-dot); }
.pill-na { background: #f0efec; color: var(--hint); }
.peg-note { color: var(--hint); font-size: 12px; margin: 8px 2px 0; }

/* 페깅 편차 텍스트 (레거시 — 편차% 표기용) */
.dev { font-variant-numeric: tabular-nums; font-weight: 500; }
.dev-ok { color: var(--ok); }
.dev-warn { color: var(--warn); }
.dev-bad { color: var(--bad); }

/* 메타 표기 */
.asof { color: var(--sub); font-size: 13px; margin: 10px 2px 0; }
.source { color: var(--hint); font-size: 12px; margin: 2px 2px 0; }
.empty { background: var(--card); border: 0.5px dashed var(--line); border-radius: var(--radius); padding: 20px; color: var(--sub); }

/* KPI 카드 (레거시 — 필요 시) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 20px 0; }
.card { background: var(--card); border: 0.5px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card .k { display: block; color: var(--sub); font-size: 13px; }
.card .v { display: block; font-size: 22px; font-weight: 500; margin-top: 2px; }
.card .s { display: block; color: var(--sub); font-size: 12px; margin-top: 4px; }
.card a.more { font-size: 13px; }

/* 코인 상세 히어로 */
.coin-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 4px; }
.coin-hero .stat { background: var(--card); border: 0.5px solid var(--line); border-radius: var(--radius); padding: 13px 15px; }
.coin-hero .k { display: block; color: var(--sub); font-size: 12px; }
.coin-hero .v { display: block; font-size: 18px; font-weight: 500; margin-top: 4px; }

/* 푸터 + disclaimer (전 페이지 고정) */
.site-foot { border-top: 0.5px solid var(--line); background: var(--card); margin-top: 24px; }
.site-foot .wrap { padding: 22px 16px 30px; }
.disclaimer { color: var(--sub); font-size: 12.5px; border-left: 3px solid var(--line); padding-left: 11px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 16px 0 6px; font-size: 13px; }
.foot-nav a { color: var(--sub); }
.foot-meta { color: var(--hint); font-size: 12px; }
.static-page { max-width: 760px; }
.static-page h2 { font-size: 18px; margin: 26px 0 8px; }
.static-page ul { padding-left: 20px; }
.static-page li { margin: 4px 0; }

/* 용어사전 */
.crumb { font-size: 13px; margin: 0 0 8px; }
.term-en { color: var(--sub); font-size: 14px; font-weight: 400; }
.axis-tag { display: inline-block; background: var(--bills-bg); color: var(--bills-ink); font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; vertical-align: middle; }
.axis-note { background: var(--bills-bg); border: 0.5px solid #cfe0f4; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin: 0 0 16px; }
.term-body { max-width: 760px; }
.term-body p { margin: 0 0 12px; }
.glossary-list { margin: 8px 0 24px; max-width: 820px; }
.glossary-list dt { font-weight: 500; margin-top: 14px; }
.glossary-list dt .axis-tag { margin-left: 4px; }
.glossary-list dd { margin: 2px 0 0; color: var(--sub); font-size: 14px; }
.related { max-width: 760px; margin-top: 28px; }
.related-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.related-list li { background: var(--card); border: 0.5px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.sources-box { max-width: 760px; margin-top: 28px; background: var(--card); border: 0.5px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.sources-box h2 { font-size: 15px; margin: 0 0 8px; }
.src-list { margin: 0; padding-left: 18px; }
.src-list li { margin: 4px 0; font-size: 13px; }

@media (max-width: 600px) {
	body { font-size: 14px; }
	h1 { font-size: 20px; }
	.site-nav { margin-left: 0; width: 100%; }
	.nav-cards { grid-template-columns: 1fr; }
	.card .v { font-size: 19px; }
}

/* 대표이미지 (단일글 medium_large / 목록 카드 medium) */
.scs-thumb{margin:0 0 1.2rem;text-align:center}
.scs-thumb img{max-width:600px;width:100%;height:auto;border-radius:8px}
.mag-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;margin:1rem 0}
.mag-card{display:block;text-decoration:none;border:1px solid #e2e6ea;border-radius:10px;overflow:hidden;background:#fff}
.mag-thumb{margin:0}
.mag-thumb img{width:100%;height:auto;display:block;aspect-ratio:3/2;object-fit:cover}
.mag-title{display:block;padding:.7rem .8rem;font-weight:700;line-height:1.4;color:#1b2733}

/* 가독성 레이어 — 설명 본문(.static-page) 전용. 허브·정적 페이지.
   시세표·페깅 모니터·법안 비교표·코인 상세 등 데이터 화면은 대상 아님.
   강조색은 --accent 상속(섹션색 신설 없음), 굵기는 테마 규칙 400/500 유지. */
.static-page { font-size: 17px; line-height: 1.8; word-break: keep-all; overflow-wrap: break-word; }
.static-page p { margin: 0 0 1.5em; }
.static-page h2 {
	font-size: 1.4em; font-weight: 500; line-height: 1.4;
	margin: 2.2em 0 .85em; padding-bottom: .4em;
	border-bottom: 2px solid var(--accent);
}
.static-page h3 {
	font-size: 1.12em; font-weight: 500;
	margin: 1.7em 0 .65em; padding-left: .6em;
	border-left: 4px solid var(--accent);
}
.static-page a { color: var(--accent); text-underline-offset: 3px; }
.static-page ul, .static-page ol { padding-left: 1.4em; margin: 0 0 1.5em; }
.static-page li { margin: .45em 0; }
.static-page li::marker { color: var(--accent); }
.static-page blockquote {
	margin: 1.5em 0; padding: 1em 1.2em; background: var(--card);
	border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0;
}

/* 형광펜 */
.static-page mark { background: #fff3d9; padding: 2px 6px; border-radius: 5px; }
.static-page mark.hl-blue { background: #e5f0ff; }
.static-page mark.hl-green { background: #e1f5e6; }

/* 표 — 본문 표에만 */
.static-page .table-wrap { overflow-x: auto; margin: 1.5em 0; -webkit-overflow-scrolling: touch; }
.static-page table { width: 100%; border-collapse: collapse; font-size: .94em; line-height: 1.6; }
.static-page th, .static-page td { padding: 10px 12px; border: 1px solid var(--line); }
.static-page th { text-align: left; font-weight: 500; background: var(--bg); }

/* 이미지·캡션 */
.static-page figure { margin: 1.8em 0; }
.static-page figure img { max-width: 100%; height: auto; border-radius: var(--radius); }
.static-page figcaption { margin-top: .6em; font-size: .85em; color: var(--sub); text-align: center; }

/* FAQ details */
.static-page details {
	border: 1px solid var(--line); border-radius: 10px;
	padding: .9em 1.1em; margin: .6em 0;
}
.static-page details summary { font-weight: 500; cursor: pointer; }
.static-page details summary::before { content: "Q. "; color: var(--accent); }

/* 목차 — 서버사이드 렌더(CLS 0) */
.rl-anchor { display: block; height: 0; scroll-margin-top: 12px; }
.rl-toc {
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
	padding: 1em 1.2em; margin: 0 0 2em; font-size: .93em;
}
.rl-toc-title { font-weight: 500; margin-bottom: .5em; }
.rl-toc ol { margin: 0; padding-left: 1.3em; }
.rl-toc li { margin: .3em 0; }
.rl-toc a { text-decoration: none; color: inherit; }
.rl-toc a:hover { color: var(--accent); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════
   홈 전면 개편 — 헤더/메가드롭다운/홈 13블록/메가푸터 (DESIGN-FINAL A부)
   기존 변수(--bills/--peg/--market/--accent)를 그대로 쓰고 역할만 매핑한다(§1-5).
   보조 팔레트는 color-mix로 파생 — 하드코딩 hex 추가 없음(B-1).
   ══════════════════════════════════════════════════════════════════════ */

:root {
	--surface:   color-mix(in srgb, var(--bills) 4%, #fff);
	--surface-2: color-mix(in srgb, var(--bills) 8%, #fff);
	--foot-bg:   color-mix(in srgb, var(--bills) 88%, #000);
	--foot-ink:  color-mix(in srgb, #fff 88%, var(--bills));
	--foot-sub:  color-mix(in srgb, #fff 68%, var(--bills));
}

/* 그리드 항목 넘침 차단 — 이 서버 전체에서 반복된 함정(§1-B H) */
.card-grid > * { min-width: 0; }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--bills); color: #fff; padding: 8px 14px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── A-2 유틸리티 바 ────────────────────────────────────────────────── */
.util-bar {
	background: var(--foot-bg); color: var(--foot-sub);
	font-size: 12px; line-height: 1; height: 34px;
}
.util-bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 12px; }
.util-src { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.util-tools { display: flex; gap: 14px; flex: none; }
.util-bar a { color: #fff; }

/* ── A-3 헤더 ───────────────────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 0.5px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.site-title { margin: 0; display: flex; align-items: center; }
.site-title a { display: block; line-height: 0; }
.brand { display: block; height: 28px; width: auto; max-width: 100%; }

.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
	display: flex; align-items: center; gap: 4px; cursor: pointer;
	padding: 9px 11px; font-size: 14px; color: var(--sub); border-radius: 8px;
	white-space: nowrap; list-style: none;
}
.nav-link::-webkit-details-marker { display: none; }
.nav-link:hover { color: var(--ink); background: var(--surface); text-decoration: none; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px); opacity: .55; flex: none; }

/* 메가 패널 — 화면 밖으로 넘치지 않게 우측 정렬 대비(§1-B K) */
.mega {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: 0 12px 32px rgba(0,0,0,.10);
	padding: 16px 18px; min-width: 260px; max-width: min(720px, calc(100vw - 32px));
}
.nav-item:nth-last-child(-n+3) .mega { left: auto; right: 0; }
.mega-inner { display: flex; gap: 26px; }
.mega-col { min-width: 0; }
.mega-head { font-size: 11px; letter-spacing: .06em; color: var(--hint); margin: 0 0 7px; font-weight: 600; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col a { display: block; padding: 5px 8px; margin-left: -8px; border-radius: 6px; font-size: 13.5px; color: var(--sub); }
.mega-col a:hover { background: var(--surface); color: var(--ink); text-decoration: none; }
.mega-col .cnt { color: var(--hint); font-size: 11.5px; }
.mega-more { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--bills); }

/* 데스크톱: details를 hover/focus-within으로 연다 (JS 0건) */
@media (min-width: 861px) {
	.nav-details > .mega { display: none; }
	.nav-item:hover > .nav-details > .mega,
	.nav-details[open] > .mega,
	.nav-details:focus-within > .mega { display: block; }
	.nav-burger, .nav-toggle { display: none; }
}

/* 모바일: 햄버거 + details 아코디언 */
.nav-burger {
	display: none; margin-left: auto; width: 40px; height: 40px; flex: none;
	flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; padding: 0 8px;
}
.nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 860px) {
	.nav-burger { display: flex; }
	.site-nav {
		display: none; order: 3; width: 100%;
		border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px;
	}
	.nav-toggle:checked ~ .site-nav { display: block; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-link { padding: 11px 4px; font-size: 15px; justify-content: space-between; }
	.nav-details[open] > .nav-link .caret { transform: rotate(-135deg) translate(-3px, -3px); }
	.mega {
		position: static; border: 0; box-shadow: none; padding: 2px 0 10px 10px;
		min-width: 0; max-width: none; background: transparent;
	}
	.mega-inner { flex-direction: column; gap: 12px; }
	.mega-col ul { grid-template-columns: 1fr 1fr; }
}

/* 키워드 스트립 — 가로 스크롤(모바일 전용) */
.kw-strip { border-top: 1px solid var(--line); background: var(--surface); }
.kw-inner {
	display: flex; gap: 7px; overflow-x: auto; -webkit-overflow-scrolling: touch;
	padding: 8px 16px; max-width: 1080px; margin: 0 auto; scrollbar-width: none;
}
.kw-inner::-webkit-scrollbar { display: none; }
.kw-inner a {
	flex: none; font-size: 12.5px; padding: 5px 11px; border-radius: 999px;
	background: var(--card); border: 1px solid var(--line); color: var(--sub); white-space: nowrap;
}
.kw-inner a:hover { text-decoration: none; border-color: var(--bills); color: var(--bills); }
@media (min-width: 861px) { .kw-strip { display: none; } }

/* ── 섹션 공통 (A-7) ────────────────────────────────────────────────── */
.sec { padding: 34px 0; border-bottom: 1px solid var(--line); }
.sec-alt { background: var(--surface); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.eyebrow {
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: color-mix(in srgb, var(--bills) 60%, var(--bg)); margin: 0 0 6px;
}
.sec h2 { font-size: 24px; font-weight: 700; margin: 0 0 10px; line-height: 1.3; }
.sec-desc { color: var(--sub); font-size: 14px; margin: 0 0 16px; }
.sec-more { margin: 16px 0 0; font-size: 14px; }
@media (max-width: 700px) { .sec h2 { font-size: 20px; } }

/* ── ① 히어로 ───────────────────────────────────────────────────────── */
/* 세로 높이를 줄여 아래 페깅 보드가 첫 화면에 걸리게 한다(§2 №1).
   aspect-ratio 예약은 유지하되 이미지 열 폭을 줄여 실제 높이를 낮춘다 — CLS 0은 그대로. */
.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: center; padding: 22px 0 24px; }
.hero-badge {
	display: inline-block; font-size: 12px; font-weight: 600; margin: 0 0 12px;
	padding: 5px 11px; border-radius: 999px;
	background: var(--st-ok-bg); color: var(--st-ok-ink);
}
.hero h1 { font-size: 29px; font-weight: 800; line-height: 1.26; margin: 0 0 10px; }
.hero-sub { color: var(--sub); font-size: 14.5px; margin: 0 0 16px; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-size: 14.5px; font-weight: 600; }
.btn-primary { background: var(--bills); color: #fff; }
.btn-primary:hover { text-decoration: none; background: color-mix(in srgb, var(--bills) 88%, #000); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { text-decoration: none; border-color: var(--bills); color: var(--bills); }
/* 이미지 미도착 폴백 — aspect-ratio로 높이 예약해 CLS 0 */
.hero-fig { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
.hero-fallback {
	width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--bills), color-mix(in srgb, var(--peg) 60%, var(--bills)));
	color: rgba(255,255,255,.9);
}
@media (max-width: 780px) {
	.hero { grid-template-columns: 1fr; gap: 20px; padding-top: 22px; }
	.hero h1 { font-size: 26px; }
	.hero-fig { order: -1; aspect-ratio: 16 / 7; }
}

/* ── ② 상황 배너 ────────────────────────────────────────────────────── */
.banner {
	background: var(--bills-bg); border: 1px solid color-mix(in srgb, var(--bills) 22%, #fff);
	border-radius: var(--radius); padding: 13px 16px; margin: 0 0 6px;
}
.banner p { margin: 0; font-size: 14px; color: var(--bills-ink); }

/* ── ③ BY THE NUMBERS ───────────────────────────────────────────────── */
.num-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.num {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 18px 14px; text-align: center; min-width: 0;
}
.num .n { display: block; font-size: 30px; font-weight: 800; color: var(--bills); line-height: 1.1; }
.num .l { display: block; font-size: 13px; color: var(--sub); margin-top: 5px; }
.asof-line { font-size: 12.5px; color: var(--hint); margin: 12px 0 0; }
@media (max-width: 640px) { .num-strip { grid-template-columns: 1fr 1fr; } .num .n { font-size: 25px; } }

/* ── pill 공통 ──────────────────────────────────────────────────────── */
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill-link {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 7px 13px; border-radius: 999px; font-size: 13.5px;
	background: var(--card); border: 1px solid var(--line); color: var(--sub);
}
.pill-link:hover { text-decoration: none; border-color: var(--bills); color: var(--bills); background: var(--surface); }
.pill-link .cnt { font-size: 11.5px; color: var(--hint); }
.pills-sm .pill-link { padding: 5px 10px; font-size: 12.5px; }

/* ── ⑤ 구조 축 ──────────────────────────────────────────────────────── */
/* 명시 개수로 고정한다. auto-fit 은 폭이 애매한 구간에서 1열로 붕괴한 이력이 있어 쓰지 않는다(§4-7).
   축은 4개(페깅통화·발행자유형·발행국·체인)로 고정돼 있다 — license_status·stage 는 단일값이라 제외됐다. */
.axis-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .axis-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .axis-grid { grid-template-columns: 1fr; } }
.axis-col h3 { font-size: 15px; font-weight: 700; margin: 0 0 9px; }

/* 축 아이콘 — 제목 왼쪽 44px 정사각. 크기를 CSS로 못박아 CLS 0을 지킨다. */
.axis-h3--img { display: flex; align-items: center; gap: 9px; min-width: 0; }
.axis-h3--img > span:last-child { min-width: 0; }
.axis-ico {
	flex: 0 0 44px; width: 44px; height: 44px; display: block;
	border-radius: 9px; overflow: hidden; background: var(--surface-2);
}
.axis-ico picture, .axis-ico img { display: block; width: 44px; height: 44px; object-fit: cover; }

/* ── 섹션 배너 (법안·가이드) ────────────────────────────────────────── */
/* aspect-ratio 로 높이를 예약하고 이미지가 그 박스를 채운다 — 로드 전후 높이가 같아 CLS 0. */
.sec-banner {
	margin: 0 0 18px; border-radius: var(--radius); overflow: hidden;
	aspect-ratio: 16 / 9; background: var(--surface-2);
}
.sec-banner picture { display: block; width: 100%; height: 100%; }
.sec-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── ⑥ 카테고리 카드 ────────────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cat-fig {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 16 / 10; color: #fff;   /* 이미지 미도착 — SVG + 섹션색 배경 폴백 */
}
/* 이미지가 들어온 카드·히어로 — 기존 aspect-ratio 예약을 그대로 두고 이미지가 박스를 채운다.
   (히어로는 모바일 16:7 / 60rem↑ 16:10 으로 비율이 달라 cover로 맞춘다.) CLS 0 유지. */
.cat-fig--img, .hero-fig--img { display: block; padding: 0; position: relative; overflow: hidden; }
.cat-fig--img picture, .hero-fig--img picture { display: block; width: 100%; height: 100%; }
.cat-fig--img img, .hero-fig--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 그라데이션 스크림 — 어두운 그림과 카드 경계의 대비를 CSS로 보장한다(그림 여백에 기대지 않는다). */
.hero-fig--img::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(6,10,26,0) 55%, rgba(6,10,26,.45) 100%);
}
.cat-peg      { background: linear-gradient(135deg, var(--peg), color-mix(in srgb, var(--peg) 62%, #000)); }
.cat-market   { background: linear-gradient(135deg, var(--market), color-mix(in srgb, var(--market) 62%, #000)); }
.cat-bills    { background: linear-gradient(135deg, var(--bills), color-mix(in srgb, var(--bills) 62%, #000)); }
.cat-glossary { background: linear-gradient(135deg, color-mix(in srgb, var(--bills) 70%, var(--peg)), var(--bills)); }
.cat-card h3 { font-size: 17px; font-weight: 600; margin: 14px 14px 6px; }
.cat-card h3 a { color: var(--ink); }
.cat-card > p { font-size: 13.5px; color: var(--sub); margin: 0 14px 12px; }
.cat-card .pills { margin: 0 14px 14px; }

/* ── ⑦ STEP ─────────────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; }
.step-n {
	display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
	border-radius: 50%; background: var(--bills-bg); color: var(--bills-ink);
	font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.steps h3 { font-size: 15px; font-weight: 600; margin: 0 0 5px; }
.steps p { font-size: 13.5px; color: var(--sub); margin: 0; }

/* ── ⑨ WHY ──────────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.why { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.why h3 { font-size: 14px; font-weight: 700; margin: 0 0 6px; color: var(--bills); }
.why p { font-size: 13.5px; color: var(--sub); margin: 0; }

/* ── ⑩ 매거진 ───────────────────────────────────────────────────────── */
.mag-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mag-card {
	display: flex; flex-direction: column; gap: 7px;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
}
.mag-card:hover { text-decoration: none; border-color: var(--bills); }
.mag-title {
	font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.45;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-ex {
	font-size: 13px; color: var(--sub); line-height: 1.55;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-meta { font-size: 12px; color: var(--hint); margin-top: auto; }

/* ── ⑪ 허브 카드 ────────────────────────────────────────────────────── */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.guide-card {
	display: flex; align-items: center; gap: 9px; padding: 13px 15px;
	background: var(--card); border: 1px solid var(--line); border-radius: 10px;
	font-size: 14px; color: var(--ink);
}
.guide-card:hover { text-decoration: none; border-color: var(--bills); color: var(--bills); }
.guide-card .icon { color: var(--bills); flex: none; }

/* ── ⑬ FAQ (홈 전용 — .static-page 스코프와 분리) ───────────────────── */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 8px; }
.faq summary { font-size: 15px; font-weight: 600; cursor: pointer; }
.faq summary::before { content: "Q. "; color: var(--bills); }
.faq details > div { padding-top: 10px; }
.faq p { font-size: 14px; color: var(--sub); margin: 0; line-height: 1.65; }

/* ── A-5 메가 푸터 ──────────────────────────────────────────────────── */
.site-foot { background: var(--foot-bg); color: var(--foot-sub); margin-top: 40px; padding: 34px 0 0; }
/* auto-fit + 선행 명시 트랙 조합은 단일 컬럼으로 붕괴한다(실측). 명시 개수로 고정한다. */
.foot-grid { display: grid; grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
@media (max-width: 1080px) { .foot-grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
.foot-col { min-width: 0; }
.foot-brand { margin: 0 0 10px; line-height: 0; }
.foot-brand .brand rect { fill: #fff; }
.foot-brand .brand path { stroke: var(--foot-bg); }
.foot-brand .brand text { fill: #fff; }
.foot-desc, .foot-src { font-size: 12.5px; line-height: 1.65; margin: 0 0 10px; color: var(--foot-sub); }
.foot-head { font-size: 13px; font-weight: 700; margin: 0 0 9px; }
.foot-head a { color: var(--foot-ink); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.foot-col li a { font-size: 12.5px; color: var(--foot-sub); }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding: 16px 0 22px; }
.foot-bottom .disclaimer { font-size: 12.5px; color: var(--foot-sub); margin: 0 0 10px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }
.foot-nav a { font-size: 12.5px; color: var(--foot-ink); }
.foot-meta { font-size: 12px; color: var(--foot-sub); margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ── A-6 모바일 하단 고정 바 ────────────────────────────────────────── */
.mobile-bar { display: none; }
@media (max-width: 860px) {
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: 56px;
		background: var(--line); border-top: 1px solid var(--line);
	}
	.mobile-bar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		background: var(--card); color: var(--ink); font-size: 11.5px; font-weight: 600;
	}
	.mobile-bar a:hover { text-decoration: none; }
	.mobile-bar .icon { color: var(--bills); }
	/* 고정 바가 콘텐츠를 가리지 않도록 하단 여백 확보 — CLS 0 */
	body { padding-bottom: 56px; }
}

/* ── A-4 №8 OFFICIAL INFO 카드 (G1 3단 통과분만 렌더) ───────────────── */
.official-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.official-card {
	display: flex; flex-direction: column; gap: 6px;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
}
.official-card:hover { text-decoration: none; border-color: var(--bills); }
.oc-org { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--bills); }
.oc-title { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.oc-desc { font-size: 13px; color: var(--sub); line-height: 1.55; }
.oc-go { font-size: 12.5px; color: var(--bills); margin-top: auto; padding-top: 6px; }

/* ── 법안 상태 조사시점 병기 (B-0-2 6) ──────────────────────────────── */
.stage-asof { display: block; font-size: 11.5px; color: var(--hint); margin-top: 4px; font-weight: 400; white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════════════
   자동광고 CLS 방어 (관측 기반 — 슬롯 추가·설정 변경 없음)
   실측: 이 사이트는 <ins> 슬롯 0개 / push 호출 0개이고 로더만 있다 =>
   게재 위치를 구글이 정하는 자동광고다. 콜드 로드 시 애드센스가 상단에
   임시 컨테이너를 넣었다 접으며 CLS가 난 실측이 다른 사이트에 있다
   (mycalculator 0.1339). 광고 요소 자체가 아니라 **바깥 컨테이너**를
   조정해 삽입·접힘이 본문을 밀지 않게 한다(§1-A A).
   ══════════════════════════════════════════════════════════════════════ */

/* 미채워진(0×0) 자동광고 컨테이너가 레이아웃을 차지하지 않게 한다.
   채워지면 구글이 인라인 height를 부여하므로 이 규칙은 적용되지 않는다. */
ins.adsbygoogle[data-ad-status="unfilled"],
ins.adsbygoogle[data-anchor-status="dismissed"] { display: none !important; }

/* 본문 흐름 안에 삽입되는 자동광고는 자기 자리에서만 커지도록 격리한다.
   contain: layout — 내부 크기 변화가 바깥 형제 요소의 위치를 바꾸지 않는다. */
main.wrap ins.adsbygoogle { contain: layout; display: block; margin: 12px 0; }

/* 앵커(고정) 광고는 뷰포트 고정이라 문서 흐름에 영향을 주지 않지만,
   모바일 하단 고정 바와 겹치지 않도록 본문 하단 여백을 이미 확보해 뒀다(A-6). */

/* ══════════════════════════════════════════════════════════════════════
   페깅 현황 보드 · 환율 스트립 · 법안 요약 · 구조별 인덱스 (PHASE-HOME §2)

   설계 원칙:
   - 상태는 색·아이콘·텍스트 3중으로 표현한다(§2-1, G-C). 색만으로 구분하지 않는다.
     하드코딩 hex를 쓰지 않고 :root의 --st-* 토큰만 참조한다.
   - 값이 서버 렌더로 이미 박혀 나오므로 로드 후 높이가 변할 여지가 없다(§2-5, G-D).
     그래도 카드 최소 높이를 고정해 결측 카드와 정상 카드의 높이를 맞춘다.
   - 원화 환산가는 편차와 시각적으로 분리한다(§2-4) — 구분선 위, 약한 색, "참고" 라벨.
   ══════════════════════════════════════════════════════════════════════ */

.sec-board { padding-top: 22px; }

/* 상태 아이콘 — 색 외의 형태 단서. 배지·집계 양쪽에서 쓴다. */
.st-ico { flex: none; }

/* 상태 분포 한 줄 — "지금 깨졌나?"에 즉답 */
.peg-tally { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13.5px; color: var(--sub); }
.tal { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.tal-ok { background: var(--st-ok-bg); color: var(--st-ok-ink); }
.tal-warn { background: var(--st-warn-bg); color: var(--st-warn-ink); }
.tal-bad { background: var(--st-bad-bg); color: var(--st-bad-ink); }
.tal-na { background: #f0efec; color: var(--sub); }

/* 환율 스트립 — 값·출처·기준일만. 전망·해석은 쓰지 않는다(§2-4). */
.fx-strip {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 9px 13px; margin: 0 0 14px; font-size: 13px;
}
.fx-label { font-weight: 600; color: var(--ink); }
.fx-item { display: inline-flex; align-items: baseline; gap: 6px; }
.fx-pair { color: var(--sub); }
.fx-val { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; }
.fx-asof { color: var(--hint); font-size: 12px; margin-left: auto; }
.fx-prior { background: var(--st-warn-bg); color: var(--st-warn-ink); border-radius: 999px; padding: 2px 9px; font-size: 11.5px; font-weight: 600; }

/* 코인 카드 그리드 — 9종이 첫 화면에 걸리도록 조밀하게 */
.peg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.peg-card {
	display: flex; flex-direction: column; gap: 4px; min-height: 116px;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 12px 13px; color: var(--ink);
}
.peg-card:hover { text-decoration: none; border-color: var(--bills); }
.pc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.pc-sym { font-size: 15px; font-weight: 700; }
.pc-peg { font-size: 11px; color: var(--hint); white-space: nowrap; }
.pc-price { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; }
.pc-cur { font-size: 12px; font-weight: 500; color: var(--sub); }
.pc-fail { font-size: 15px; font-weight: 600; color: var(--sub); }
.pc-sub { font-size: 11.5px; color: var(--hint); }
.pc-stat { margin-top: 2px; }
/* 원화 환산 — 구분선으로 편차·상태와 분리. 참고 표기임을 라벨로 명시(§2-4). */
.pc-krw {
	margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--line);
	font-size: 12.5px; color: var(--sub); font-variant-numeric: tabular-nums;
}
.pc-ref { font-size: 10.5px; color: var(--hint); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; margin-left: 2px; }
.pc-stale { font-size: 11px; color: var(--st-warn-ink); font-weight: 600; }

.peg-asof { color: var(--sub); font-size: 12.5px; margin: 12px 2px 0; line-height: 1.7; }

/* 법안 요약 */
.bs-dist { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; }
.bs-stage { background: var(--bills-bg); color: var(--bills-ink); border-radius: 999px; padding: 3px 11px; font-size: 13px; }
.bs-log { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.bs-log li { font-size: 13.5px; color: var(--ink); padding-left: 12px; border-left: 2px solid var(--line); line-height: 1.55; }
.bs-log time { color: var(--sub); font-variant-numeric: tabular-nums; margin-right: 4px; }
.bs-note { font-size: 12.5px; color: var(--hint); margin: 0 0 10px; }
.bs-more { margin: 0; font-size: 14px; }

/* /coins/ 구조별 인덱스 — 앵커 도착 지점 */
.cx-axis { margin: 26px 0 0; }
.cx-axis h2 { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.cx-desc { color: var(--sub); font-size: 13.5px; margin: 0 0 12px; }
.cx-group { padding: 14px 0 4px; scroll-margin-top: 74px; }  /* 고정 헤더에 제목이 가리지 않게 */
.cx-group h3 { font-size: 15px; font-weight: 600; margin: 0 0 9px; }
.cx-n { color: var(--sub); font-weight: 500; font-size: 13px; }
.cx-coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 8px; }
.cx-chip {
	display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 10px 12px; color: var(--ink);
}
.cx-chip:hover { text-decoration: none; border-color: var(--bills); }
.cx-chip strong { font-size: 14px; }
.cx-name { font-size: 12px; color: var(--sub); }

/* 푸터 공식 출처 (홈에서 이관) */
.foot-official { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.foot-official ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-official li { font-size: 13px; }
.foot-official .fo-t { color: var(--sub); }

@media (max-width: 700px) {
	.peg-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
	.peg-card { min-height: 110px; padding: 11px; }
	.pc-price { font-size: 17px; }
	.fx-asof { margin-left: 0; width: 100%; }
}

/* 용어 색인 분류 앵커 — 헤더 메가메뉴의 분류 링크 도착 지점.
   개별 용어 링크를 메가메뉴에서 빼고(전 페이지 전송량 절감) 색인으로 모은 구조다. */
.glossary-index h2[id] { scroll-margin-top: 74px; }
.cat-n { font-size: 13px; font-weight: 500; color: var(--sub); }

/* ==========================================================================
   라운드 2026-09-05 — DESIGN-ID.md ③④: 최소 글자 13px(영문 오버라인 제거), 보조 문구 명암비
   ========================================================================== */
.nav-card .nc-desc, .bill-sub, td.addr, a.src, .badge, .tag, .pill, .peg-note, .source, .card .s, .coin-hero .k, .disclaimer,
.foot-meta, .axis-tag, .mega-head, .mega-col .cnt, .mega-more, .asof-line, .pill-link .cnt, .pills-sm .pill-link, .mag-meta,
.foot-desc, .foot-src, .foot-col li a, .foot-bottom .disclaimer, .foot-nav a, .pc-peg, .pc-cur, .pill-link, .kw, .util-src, .eyebrow { font-size: 13px; }
.peg-note, .source, .foot-meta, .asof-line, .mag-meta, .mega-col .cnt, .pill-link .cnt, .pc-peg { color: var(--sub); }
.pc-krw, .pc-ref, .peg-asof, .coin-row a, .rank-table a, .bill-row a { font-size: 13px; }
.pill-link, a.pill-link { min-height: 44px; }
.util-tools a, .kw-inner a, .kw, .hero-badge, .fx-prior, .bs-note, .mobile-bar span, .mobile-bar a { font-size: 13px; }
.kw-inner a, .kw { display: inline-flex; align-items: center; min-height: 44px; }
.peg-note a { display: inline-flex; align-items: center; min-height: 44px; }

/* ==========================================================================
   라운드 2026-09-07 — 잔여 접근성 교정
   - time 12px → 13px (최소 글자 규격)
   - .bs-note 명암비 3.4 → --sub(7.4:1)  ※ --hint(#888780)는 13px 본문 보조에 쓰지 않는다
   - 푸터·유틸 링크 목록의 터치 높이 44px (본문 산문 안 인라인 링크는 제외 — 행간이 깨진다)
   ※ span.pill 은 링크가 아닌 상태 라벨이라 44px 대상 아님(happynaum .chip 과 동일 판정)
   ========================================================================== */
time, .fx-asof { font-size: 13px; }
.bs-note { color: var(--sub); }
.foot-col li a, .foot-nav a, .util-tools a, .foot-bottom a {
	display: inline-flex; align-items: center; min-height: 44px;
}
.skip-link { min-height: 44px; display: inline-flex; align-items: center; }
.foot-official li a { display: inline-flex; align-items: center; min-height: 44px; }
.cat-card h3 a { display: inline-flex; align-items: center; min-height: 44px; }

/* 2026-09-09 design round: interactive touch targets */
.site-logo, .brand, .brand-lockup { min-height: 44px; } .rl-toc a, .footer-nav a, .article-meta a { display: inline-flex; align-items: center; min-height: 44px; } .footer-nav a { min-width: 44px; }

/* phase5-mobile-touch-targets: discrete controls only; prose inline links excluded */
@media (max-width: 600px) {
  .site-nav a,
  .table-scroll a,
  table.data a,
  .crumb a,
  .foot-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .site-nav a { min-width: 44px; }
}
