:root {
  --bg: #000; --card: #1c1c1e; --card-2: #2c2c2e; --line: rgba(255,255,255,.08);
  --text: #fff; --muted: rgba(235,235,245,.7); --dim: rgba(235,235,245,.42); --accent: #ff1948;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text); line-height: 1.7;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Pretendard", "Hiragino Sans", "Noto Sans KR", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
html[lang="ko"] body { word-break: keep-all; }
html[lang="ja"] body { line-break: strict; overflow-wrap: anywhere; }
a { color: var(--accent); }
nav { position: sticky; top: 0; z-index: 10; background: rgba(0,0,0,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.lang { display: flex; gap: 2px; background: var(--card); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--card-2); color: var(--text); }
main { padding: 56px 0 72px; }
article[hidden] { display: none; }
h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.meta { color: var(--dim); font-size: 14px; margin: 10px 0 28px; }
.summary { background: var(--card); border-radius: 18px; padding: 20px 22px; color: var(--muted); margin-bottom: 36px; }
.summary ul { margin-top: 8px; }
h2 { font-size: 21px; font-weight: 700; margin: 36px 0 10px; letter-spacing: -.01em; }
p, li { color: var(--muted); font-size: 16px; }
p + p, ul + p, ol + p, .table + p { margin-top: 12px; }
ul, ol { padding-left: 1.3em; margin-top: 8px; display: grid; gap: 6px; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
th { color: var(--text); font-weight: 600; background: var(--card); }
.table { overflow-x: auto; }
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--text); }
@media (max-width: 420px) { .lang button { padding: 6px 9px; } .brand span { display: none; } }
