/* 세이브 채팅 본편과 같은 기본 테마 (밝은/어두운 모드 자동) */
:root {
  color-scheme: light;
  --bg: #e8ebe4; --surface: #f6f7f2; --band: #dde3d8; --ink: #1b221e; --muted: #56635b;
  --line: #c5cdc0; --accent: #1f6f55;
  --font-display: "Do Hyeon", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --bg: #101412; --surface: #181e1b; --band: #212a25; --ink: #e4ebe6; --muted: #94a59b; --line: #2c3631; --accent: #5fc7a0; }
}
:root[data-theme="dark"] { color-scheme: dark; --bg: #101412; --surface: #181e1b; --band: #212a25; --ink: #e4ebe6; --muted: #94a59b; --line: #2c3631; --accent: #5fc7a0; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.75; padding: 0 16px 4rem; word-break: keep-all; }
main { max-width: 44rem; margin: 0 auto; }
header { padding: 1.25rem 0 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.back { color: var(--accent); text-decoration: none; font-size: 0.9rem; }
.back:hover { text-decoration: underline; }
h1 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.2; margin: 0.7rem 0 0.25rem; }
.meta { margin: 0; color: var(--muted); font-size: 0.85rem; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 2rem 0 0.4rem; color: var(--accent); }
p, li { max-width: 70ch; }
ul, ol { padding-left: 1.25rem; }
li { margin: 0.2rem 0; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0.9rem 1rem; }
.tbl { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.85rem; background: var(--surface); border-radius: 8px; overflow: hidden; }
th, td { border: 1px solid var(--line); padding: 0.5rem 0.6rem; text-align: left; vertical-align: top; }
th { background: var(--band); font-weight: 600; white-space: nowrap; }
a { color: var(--accent); }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
