/* 개인정보처리방침·이용약관·도움말 페이지 (privacy.html, terms.html, support.html). 앱과 같은 색 */
:root { --bg: #fdf5f0; --surface: #fff; --ink: #1d1416; --muted: #7a6569; --line: #eedcd5; --accent: #a63c45; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #161113; --surface: #211a1c; --ink: #f7ece8; --muted: #b39fa3; --line: #3a2e31; --accent: #f4b3b8; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); line-height: 1.7; font-size: 16px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 16px calc(env(safe-area-inset-bottom, 0px) + 40px);
}
main { max-width: 720px; margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
header img { width: 40px; height: 40px; border-radius: 50%; }
.lang a { color: var(--muted); text-decoration: none; font-size: .9rem; padding: 4px 6px; }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 700; }
h1 { font-size: 1.6rem; line-height: 1.3; margin: 12px 0 4px; letter-spacing: -0.02em; }
h2 { font-size: 1.1rem; margin: 32px 0 8px; }
.date { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
p, li { word-break: keep-all; overflow-wrap: anywhere; }
ul { padding-left: 1.2em; }
a { color: var(--accent); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; margin: 12px 0; }
.table { width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; min-width: 520px; }
th, td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
th { background: var(--surface); }
footer { margin-top: 40px; color: var(--muted); font-size: .9rem; }
footer a { margin-right: 12px; }
