:root {
	--bg: #ffffff;
	--fg: #1d1d1f;
	--muted: #6e6e73;
	--line: #e3e3e8;
	--soft: #f5f5f7;
	--link: #0b5cad;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #141416;
		--fg: #ececf0;
		--muted: #a1a1aa;
		--line: #2e2e33;
		--soft: #1e1e22;
		--link: #7db7ff;
	}
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
	word-break: keep-all;
	overflow-wrap: anywhere;
}
main, footer { max-width: 46rem; margin: 0 auto; padding: 0 16px; }
main { padding-top: 24px; padding-bottom: 32px; }
h1 { font-size: 1.6rem; line-height: 1.3; margin: 1.5rem 0 0.75rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
p, ul { margin: 0.6rem 0; }
ul { padding-left: 1.2rem; }
li { margin: 0.25rem 0; }
a { color: var(--link); }
code { font-size: 0.9em; background: var(--soft); padding: 0.1em 0.35em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0 1rem; }
.lang { display: flex; gap: 8px; position: sticky; top: 0; padding: 10px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--fg); }
.table { overflow-x: auto; margin: 0.75rem 0; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; min-width: 36rem; font-size: 0.9rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
footer { padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--muted); }
section:target { scroll-margin-top: 72px; }
