:root { --paper: #faf6ee; --card: #ffffff; --ink: #1c1917; --sub: #6b645d; --line: #e9e2d4; --blue: #3a5bff; --yellow: #ffe14d; --green: #15803d; --code: #292524; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--blue); }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 18px 64px; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 14px; font-weight: 700; color: var(--sub); }
.top a { color: var(--sub); text-decoration: none; }
h1 { font-size: 34px; line-height: 1.25; letter-spacing: -1px; font-weight: 900; margin-top: 18px; }
h2 { font-size: 24px; line-height: 1.35; letter-spacing: -0.5px; font-weight: 900; }
mark { background: linear-gradient(transparent 58%, var(--yellow) 58%); color: inherit; }
.lead { margin-top: 10px; font-size: 16px; color: var(--sub); font-weight: 500; }
.btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; }
.btn.light { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.foot { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub); }

/* 자료실 목록 */
.me { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.me img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.me b { font-size: 18px; }
.me span { display: block; font-size: 14px; color: var(--sub); }
.list { margin-top: 28px; display: grid; gap: 14px; }
.item { display: flex; gap: 14px; background: var(--card); border-radius: 16px; padding: 12px; text-decoration: none; color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.item img { width: 84px; height: 150px; object-fit: cover; border-radius: 10px; flex: none; }
.item .t { font-size: 18px; font-weight: 900; line-height: 1.35; margin-top: 4px; }
.item .d { font-size: 14px; color: var(--sub); margin-top: 6px; }
.item .tag { display: inline-block; font-size: 12px; font-weight: 800; background: var(--yellow); padding: 2px 8px; border-radius: 6px; }

/* 설치법 */
.pics { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
.pics figure { flex: 1; text-align: center; font-size: 14px; font-weight: 800; }
.pics img { width: 100%; border-radius: 14px; display: block; margin-bottom: 6px; }
.pics .ar { font-size: 26px; font-weight: 900; color: var(--blue); }
.toc { margin-top: 22px; background: var(--card); border-radius: 16px; padding: 6px 16px; }
.toc a { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 800; font-size: 16px; }
.toc a:last-child { border-bottom: none; }
.toc a b { color: var(--blue); width: 26px; }
section { margin-top: 40px; scroll-margin-top: 12px; }
.num { font-size: 42px; font-weight: 900; color: var(--blue); line-height: 1; margin-bottom: 6px; }
ol.steps { list-style: none; counter-reset: s; margin-top: 14px; }
ol.steps li { counter-increment: s; position: relative; padding: 10px 0 10px 40px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
ol.steps li small, ul.tips li small { display: block; font-size: 14px; font-weight: 500; color: var(--sub); }
.cb { margin-top: 14px; }
.cb .lab { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: var(--sub); margin-bottom: 6px; }
.cb button { flex: none; white-space: nowrap; border: none; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.cb button.done { background: var(--green); }
.cb pre { background: var(--code); color: #f5f5f4; border-radius: 12px; padding: 12px 14px; font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: 13px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; }
.ok, .warn { margin-top: 12px; padding: 10px 14px; border-radius: 0 10px 10px 0; font-size: 15px; font-weight: 600; }
.ok { border-left: 6px solid var(--green); background: #ecfdf3; }
.warn { border-left: 6px solid var(--yellow); background: #fffbe6; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; background: var(--card); border-radius: 14px; overflow: hidden; }
td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
td:first-child { font-weight: 900; width: 34%; }
td small { display: block; color: var(--sub); font-size: 13px; }
ul.tips { list-style: none; margin-top: 12px; display: grid; gap: 10px; }
ul.tips li { background: var(--card); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 700; }
