/* CH-86 M3 기반 — 모든 페이지 공용(색·모양·높이 토큰, 글꼴 변수, 글자 단계, 아이콘, OSD). 페이지 배치·구성 요소는 각 페이지 CSS
   색: @material/material-color-utilities 0.4.0 SchemeFidelity(dark), 시드 rgb(112,134,181) = 로고 화면 색
   글자·모양·상태·높이·모션: @material/web 2.5.0 tokens(Material 3 34.0.21). 글꼴은 /css/fonts.css(직접 호스팅)
   브랜드 장식은 TV 채널 표시(OSD) 하나만 — 워드마크·순위 번호·신호 없음 화면 */

:root {
	color-scheme: dark;
	--md-primary: #b0c6f9; --md-on-primary: #173059; --md-primary-container: #7b91c0; --md-on-primary-container: #011d47;
	--md-secondary: #bfc6dc; --md-secondary-container: #41495b; --md-on-secondary-container: #b0b8ce;
	--md-tertiary: #e8c176; --md-error: #ffb4ab; --md-error-container: #93000a; --md-on-error-container: #ffdad6;
	--md-surface: #121316; --md-surface-lowest: #0d0e11; --md-surface-low: #1b1b1f; --md-surface-container: #1f1f23;
	--md-surface-high: #292a2d; --md-surface-highest: #343538;
	--md-on-surface: #e3e2e6; --md-on-surface-variant: #c4c6d0; --md-outline: #8e9099; --md-outline-variant: #44474f;
	--md-inverse-surface: #e3e2e6; --md-inverse-on-surface: #303034; --md-scrim: #000;

	--md-corner-xs: 4px; --md-corner-sm: 8px; --md-corner-md: 12px; --md-corner-lg: 16px; --md-corner-xl: 28px; --md-corner-full: 9999px;
	--md-elev-1: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
	--md-elev-2: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 6px 2px rgba(0, 0, 0, .15);
	--md-elev-3: 0 1px 3px rgba(0, 0, 0, .3), 0 4px 8px 3px rgba(0, 0, 0, .15);

	--font-plain: "Roboto Variable", "Noto Sans KR Variable", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	--font-osd: "VT323", ui-monospace, monospace;

	-webkit-tap-highlight-color: rgba(176, 198, 249, .16);
}

/* 글자 단계 — M3 typescale. 한글 본문은 자간 0(라틴 기준 tracking이 한글을 벌려 보이게 함) */
.headline-s { margin: 0; font-weight: 400; font-size: 1.5rem; line-height: 2rem; }
.title-l { font-weight: 400; font-size: 1.375rem; line-height: 1.75rem; }
.title-m { font-weight: 500; font-size: 1rem; line-height: 1.5rem; }
.title-s { font-weight: 500; font-size: .875rem; line-height: 1.25rem; }
.body-l { font-size: 1rem; line-height: 1.5rem; }
.body-m { font-size: .875rem; line-height: 1.25rem; }
.body-s { font-size: .75rem; line-height: 1rem; }
.label-l { font-weight: 500; font-size: .875rem; line-height: 1.25rem; letter-spacing: .00625rem; }
.label-m { font-weight: 500; font-size: .75rem; line-height: 1rem; letter-spacing: .03125rem; }

/* 아이콘 — /img/icons.svg 스프라이트(Material Symbols Rounded) */
.ico { display: inline-block; flex: none; width: 24px; height: 24px; fill: currentColor; vertical-align: middle; }
.ico--sm { width: 18px; height: 18px; }
.ico--xs { width: 14px; height: 14px; }
.is-spinning { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

/* TV 채널 표시(OSD) — 유일한 브랜드 장식 */
.osd {
	display: inline-flex; align-items: center; padding: 3px 9px 1px; border-radius: var(--md-corner-xs);
	background: var(--md-surface-lowest); font-family: var(--font-osd); font-weight: 400; line-height: 1; letter-spacing: .06em; color: var(--md-tertiary); white-space: nowrap;
}
.osd--lg { font-size: 30px; }
.osd--sm { font-size: 24px; }
