/* ISEKAI’D Help Center — 라이트/다크 · 큰 글자 · 한글 어절 줄바꿈 */
:root {
  --font: 'Inter', 'Pretendard Variable', Pretendard, 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bg: #fbfaff; --bg2: #f3f1fb; --surface: #ffffff; --surface2: #f7f5fe;
  --ink: #17142b; --ink2: #3b3752; --muted: #6a6684; --faint: #9c98b3;
  --line: #e7e4f3; --line2: #d9d5ea;
  --brand: #6b4cf5; --brand-ink: #5236d6; --brand-soft: #efeaff; --brand-soft2: #e2dbff; --brand-glow: rgba(107,76,245,.22);
  --violet: #6b4cf5; --violet-soft: #efeaff;
  --mint: #109e79; --mint-soft: #e2f7f0;
  --amber: #d98a12; --amber-soft: #fff2dc;
  --slate: #56617a; --slate-soft: #eceff5;
  --tip: #109e79; --tip-soft: #e2f7f0; --note: #4b6bdc; --note-soft: #e8edfd; --warn: #d97b12; --warn-soft: #fff0dc;
  --shadow: 0 1px 2px rgba(23,20,43,.05), 0 12px 32px -14px rgba(23,20,43,.18);
  --shadow-lg: 0 24px 64px -24px rgba(23,20,43,.35);
  --r: 14px; --r-lg: 20px;
  --top-h: 66px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0d0c15; --bg2: #12111c; --surface: #16151f; --surface2: #1b1a26;
  --ink: #f1eff7; --ink2: #d3d0e0; --muted: #a29eb8; --faint: #6f6b85;
  --line: #262433; --line2: #33303f;
  --brand: #8f76ff; --brand-ink: #b39dff; --brand-soft: #231f3a; --brand-soft2: #2c2748; --brand-glow: rgba(143,118,255,.28);
  --violet: #8f76ff; --violet-soft: #231f3a;
  --mint: #3fd1a6; --mint-soft: #14302a;
  --amber: #f0b04a; --amber-soft: #33270f;
  --slate: #aab3c8; --slate-soft: #1f2230;
  --tip: #3fd1a6; --tip-soft: #14302a; --note: #86a0ff; --note-soft: #1c2240; --warn: #f0a24a; --warn-soft: #33260f;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -14px rgba(0,0,0,.6);
  --shadow-lg: 0 24px 64px -24px rgba(0,0,0,.8);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.75; letter-spacing: -0.005em;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
  min-height: 100vh; display: flex; flex-direction: column;
}
:lang(ko) body, body:lang(ko) { font-family: 'Pretendard Variable', Pretendard, 'Inter', 'Noto Sans KR', system-ui, sans-serif; letter-spacing: -0.01em; }
:lang(ja) body { font-family: 'Inter', 'Noto Sans JP', 'Pretendard Variable', system-ui, sans-serif; }
:lang(zh) body { font-family: 'Inter', 'Noto Sans SC', 'Pretendard Variable', system-ui, sans-serif; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
kbd { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--surface); }
code { font-family: var(--mono); font-size: .88em; background: var(--brand-soft); color: var(--brand-ink); border-radius: 6px; padding: 2px 7px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.nb { white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ───── 상단바 ───── */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { height: var(--top-h); max-width: 1440px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 900; font-size: 19px; letter-spacing: -.03em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; flex: none; }
.brand-d { color: var(--brand); }
.brand-help { font-weight: 600; font-size: 13px; color: var(--muted); background: var(--surface2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-left: 2px; letter-spacing: 0; }
.search-btn { margin-left: auto; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px 0 14px; width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.search-btn:hover { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.search-btn span { flex: 1; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.top-right { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); border: 1px solid transparent; transition: background .15s, border-color .15s; }
.icon-btn:hover { background: var(--surface); border-color: var(--line); }
.theme-btn .moon { display: none; } [data-theme="dark"] .theme-btn .moon { display: block; } [data-theme="dark"] .theme-btn .sun { display: none; }
.lang-wrap { position: relative; display: inline-flex; align-items: center; height: 42px; border: 1px solid transparent; border-radius: 12px; padding: 0 8px 0 10px; color: var(--ink2); gap: 6px; }
.lang-wrap:hover { background: var(--surface); border-color: var(--line); }
.lang-sel { appearance: none; -webkit-appearance: none; background: transparent; border: 0; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink2); padding-right: 16px; cursor: pointer; max-width: 150px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 5px top 55%, right 0 top 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.btn-app { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14.5px; white-space: nowrap; box-shadow: 0 6px 18px -8px var(--brand); transition: transform .15s, filter .15s; }
.btn-app:hover { text-decoration: none; filter: brightness(1.06); transform: translateY(-1px); }
.btn-app .ic { width: 16px; height: 16px; }
.nav-toggle { display: none; }

/* ───── 셸 ───── */
.shell { flex: 1; max-width: 1440px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: 272px minmax(0, 1fr) 232px; gap: 0 40px; padding: 0 24px; }
.is-home .shell { grid-template-columns: 272px minmax(0, 1fr); }
.side { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto; padding: 28px 0 40px; scrollbar-width: thin; }
.side-in { display: flex; flex-direction: column; gap: 6px; padding-right: 10px; }
.side-home, .side-contact { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; font-weight: 700; color: var(--ink2); font-size: 15px; }
.side-home:hover, .side-contact:hover { background: var(--surface2); text-decoration: none; }
.side-home.on { background: var(--brand-soft); color: var(--brand-ink); }
.side-contact { margin-top: 12px; color: var(--muted); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 11px 11px; padding-top: 16px; }
.side-sec { border-radius: 12px; }
.side-sec summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; font-weight: 800; font-size: 15px; color: var(--ink); cursor: pointer; user-select: none; }
.side-sec summary::-webkit-details-marker { display: none; }
.side-sec summary:hover { background: var(--surface2); }
.side-sec summary .ic:first-child { color: var(--sec-c); background: var(--sec-soft); border-radius: 8px; padding: 4px; width: 28px; height: 28px; }
.side-sec summary .chev { margin-left: auto; width: 16px; color: var(--faint); transition: transform .2s; }
.side-sec[open] summary .chev { transform: rotate(90deg); }
.side-sec ul { list-style: none; margin: 2px 0 8px 14px; border-left: 2px solid var(--line); padding-left: 6px; display: flex; flex-direction: column; gap: 1px; }
.side-sec li a { display: block; padding: 7px 10px; border-radius: 9px; color: var(--muted); font-size: 14.5px; font-weight: 500; line-height: 1.45; position: relative; }
.side-sec li a:hover { color: var(--ink); background: var(--surface2); text-decoration: none; }
.side-sec li a.on { color: var(--sec-c); background: var(--sec-soft); font-weight: 700; }
.side-sec li a.on::before { content: ''; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 2px; background: var(--sec-c); border-radius: 2px; }
.c-violet { --sec-c: var(--violet); --sec-soft: var(--violet-soft); }
.c-mint { --sec-c: var(--mint); --sec-soft: var(--mint-soft); }
.c-amber { --sec-c: var(--amber); --sec-soft: var(--amber-soft); }
.c-slate { --sec-c: var(--slate); --sec-soft: var(--slate-soft); }
.side-bg { display: none; }

/* ───── 본문 ───── */
.content { min-width: 0; padding: 36px 0 72px; }
.doc { max-width: 780px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs .ic { width: 14px; height: 14px; color: var(--faint); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--ink); }
h1 { font-size: clamp(32px, 4.2vw, 44px); line-height: 1.18; letter-spacing: -.035em; font-weight: 850; margin: 0 0 14px; }
.lead { font-size: 19.5px; line-height: 1.6; color: var(--muted); margin-bottom: 34px; font-weight: 450; }
.doc-body > * + * { margin-top: 22px; }
.doc-body h2 { font-size: 26px; line-height: 1.3; letter-spacing: -.025em; font-weight: 800; margin-top: 52px; padding-top: 6px; position: relative; scroll-margin-top: calc(var(--top-h) + 24px); }
.doc-body h2 .anchor { position: absolute; left: -26px; color: var(--faint); opacity: 0; font-weight: 600; }
.doc-body h2:hover .anchor { opacity: 1; text-decoration: none; }
.doc-body h3 { font-size: 20px; letter-spacing: -.02em; font-weight: 800; line-height: 1.35; }
.doc-body p { color: var(--ink2); }
.doc-body strong { color: var(--ink); font-weight: 750; }
.list { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.list li { position: relative; padding-left: 28px; color: var(--ink2); }
.list li::before { content: ''; position: absolute; left: 6px; top: .72em; width: 9px; height: 9px; border-radius: 50%; background: var(--sec-c, var(--brand)); opacity: .85; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 460px; }
th, td { text-align: left; padding: 13px 16px; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.55; overflow-wrap: normal; }
td:not(:first-child) { min-width: 84px; }
th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink); }
td code { white-space: nowrap; }

/* 콜아웃 */
.callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--c-soft); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); }
.callout.tip { --c: var(--tip); --c-soft: var(--tip-soft); }
.callout.note { --c: var(--note); --c-soft: var(--note-soft); }
.callout.warn { --c: var(--warn); --c-soft: var(--warn-soft); }
.callout-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.callout-ic .ic { width: 18px; height: 18px; }
.callout-k { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--c); font-weight: 800; margin-bottom: 2px; }
.callout p { color: var(--ink2); font-size: 16px; line-height: 1.65; }
.callout.small { padding: 12px 14px; margin-top: 12px; }
.callout.small .callout-ic { width: 28px; height: 28px; border-radius: 8px; }
.callout.small p { font-size: 15px; }

/* 스크린샷 */
.shot { margin: 26px 0; }
.shot-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line2); background: #0b0b12; box-shadow: var(--shadow-lg); }
.shot-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #171623; border-bottom: 1px solid #23222f; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3848; }
.shot-bar i:nth-child(1) { background: #ff5f57; } .shot-bar i:nth-child(2) { background: #febc2e; } .shot-bar i:nth-child(3) { background: #28c840; }
.shot-zoom { display: block; cursor: zoom-in; position: relative; }
.shot-zoom img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.shot figcaption { font-size: 14.5px; color: var(--muted); margin-top: 10px; padding-left: 4px; line-height: 1.55; }

/* 스텝 */
.steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 0; margin-top: 30px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; position: relative; padding-bottom: 36px; }
.step::before { content: ''; position: absolute; left: 21px; top: 48px; bottom: 8px; width: 2px; background: linear-gradient(var(--line2), transparent); }
.step:last-child::before { display: none; }
.step-no { width: 44px; height: 44px; border-radius: 14px; background: var(--sec-c, var(--brand)); color: #fff; font-weight: 900; font-size: 19px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -8px var(--sec-c, var(--brand)); letter-spacing: -.02em; }
.step-body { min-width: 0; padding-top: 6px; }
.step-body h3 { margin-bottom: 8px; }
.step-body .shot { margin: 18px 0 0; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; font-size: 17px; cursor: pointer; line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { margin-left: auto; color: var(--faint); transition: transform .2s; width: 18px; }
.faq-item[open] summary .chev { transform: rotate(90deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); background: var(--surface2); }
.faq-a { padding: 14px 18px 18px; }
.faq-a p { color: var(--ink2); font-size: 16px; }

/* 카드 */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { position: relative; padding: 20px 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); color: inherit; min-width: 0; }
.card h3 { font-size: 19px; margin-bottom: 6px; color: var(--sec-c, var(--brand)); }
.card p { font-size: 15.5px; color: var(--ink2); }
.card.link:hover { text-decoration: none; border-color: var(--sec-c, var(--brand)); transform: translateY(-2px); transition: transform .15s, border-color .15s; }
.card-more { position: absolute; right: 16px; top: 16px; color: var(--faint); }
.card-more .ic { width: 18px; height: 18px; }

/* 도움됐나요 / 이전다음 */
.helpful { margin-top: 56px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 18px; border: 1px dashed var(--line2); border-radius: var(--r); color: var(--muted); font-size: 15px; font-weight: 600; }
.helpful button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface); font-weight: 700; font-size: 14px; color: var(--ink2); }
.helpful button:hover { border-color: var(--brand); color: var(--brand-ink); }
.helpful button .ic { width: 15px; height: 15px; }
.helpful.done button { display: none; }
.pn-wrap { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pn { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); min-width: 0; }
.pn:hover { text-decoration: none; border-color: var(--brand); }
.pn small { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pn span { font-weight: 750; font-size: 16px; line-height: 1.4; }
.pn.next { text-align: right; align-items: flex-end; }
.updated { margin-top: 22px; font-size: 13px; color: var(--faint); }

/* TOC */
.toc { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto; padding: 44px 0 40px; }
.toc-in { border-left: 2px solid var(--line); padding-left: 16px; }
.toc b { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc li a { display: block; font-size: 14px; color: var(--muted); padding: 3px 0; line-height: 1.45; position: relative; }
.toc li.sub a { padding-left: 12px; font-size: 13.5px; }
.toc li a:hover { color: var(--ink); text-decoration: none; }
.toc li a.on { color: var(--brand-ink); font-weight: 700; }
.toc li a.on::before { content: ''; position: absolute; left: -18px; top: 4px; bottom: 4px; width: 2px; background: var(--brand); }

/* 섹션 인덱스 */
.sec-hero { display: grid; grid-template-columns: 64px 1fr; gap: 6px 20px; align-items: center; margin-bottom: 30px; }
.sec-hero .sec-ic { grid-row: span 2; width: 64px; height: 64px; border-radius: 20px; background: var(--sec-soft); color: var(--sec-c); display: flex; align-items: center; justify-content: center; }
.sec-hero .sec-ic .ic { width: 32px; height: 32px; }
.sec-hero h1 { margin: 0; } .sec-hero .lead { margin: 0; }
.page-list { display: flex; flex-direction: column; gap: 10px; }
.page-row { display: grid; grid-template-columns: 44px 1fr 24px; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.page-row:hover { text-decoration: none; border-color: var(--sec-c); transform: translateX(3px); }
.pr-no { font-weight: 900; font-size: 20px; color: var(--sec-c); letter-spacing: -.03em; }
.pr-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pr-t b { font-size: 17.5px; letter-spacing: -.01em; } .pr-t small { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.page-row .ic { color: var(--faint); }

/* 홈 */
.home { max-width: 1040px; }
.hero { padding: 36px 0 30px; text-align: left; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 15px; letter-spacing: .12em; color: var(--muted); }
.hero-badge .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin: 14px 0 22px; letter-spacing: -.045em; line-height: 1.05; background: linear-gradient(120deg, var(--ink) 30%, var(--brand) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-search { display: flex; align-items: center; gap: 12px; width: min(640px, 100%); height: 60px; padding: 0 16px 0 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line2); color: var(--muted); font-size: 18px; box-shadow: var(--shadow); transition: box-shadow .15s, border-color .15s; }
.hero-search:hover { border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-glow), var(--shadow); }
.hero-search .ic { width: 22px; height: 22px; color: var(--brand); } .hero-search span { flex: 1; text-align: left; }
.hero-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 26px; }
.path { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.path::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 200px at 100% 0, var(--sec-soft), transparent 60%); opacity: .9; pointer-events: none; }
.path > .ic:first-child { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; background: var(--sec-c); color: #fff; padding: 10px; position: relative; z-index: 1; }
.path b { font-size: 20px; letter-spacing: -.02em; position: relative; z-index: 1; }
.path small { font-size: 14.5px; color: var(--muted); line-height: 1.5; position: relative; z-index: 1; }
.path .arrow { position: absolute; right: 18px; top: 22px; color: var(--sec-c); z-index: 1; transition: transform .15s; }
.path:hover { text-decoration: none; border-color: var(--sec-c); } .path:hover .arrow { transform: translateX(4px); }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 30px; }
.sec-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); min-height: 176px; transition: transform .15s, border-color .15s; }
.sec-card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--sec-c); }
.sec-card .sec-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--sec-soft); color: var(--sec-c); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.sec-card .sec-ic .ic { width: 22px; height: 22px; }
.sec-card b { font-size: 17.5px; letter-spacing: -.015em; } .sec-card small { font-size: 14px; color: var(--muted); line-height: 1.5; }
.sec-n { position: absolute; right: 16px; top: 16px; font-size: 12px; font-weight: 800; color: var(--sec-c); background: var(--sec-soft); border-radius: 999px; padding: 2px 9px; }
.popular { margin-top: 48px; }
.popular h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 16px; }
.pop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.pop { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.pop:hover { text-decoration: none; border-color: var(--sec-c); }
.pop small { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sec-c); }
.pop b { font-size: 18px; letter-spacing: -.015em; } .pop p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.contact-band { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--brand-soft), var(--surface)); border: 1px solid var(--line); }
.contact-band > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .contact-band > div .ic { color: var(--brand); }
.contact-band b { font-size: 18px; } .contact-band span { color: var(--muted); font-size: 15px; }
.mt-notice { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--line); color: var(--muted); font-size: 14px; margin-bottom: 20px; max-width: 780px; }
.mt-notice .ic { width: 16px; height: 16px; }

/* 푸터 */
.foot { border-top: 1px solid var(--line); background: var(--bg2); }
.foot-in { max-width: 1440px; margin: 0 auto; padding: 28px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-l { display: flex; align-items: center; gap: 10px; color: var(--ink); } .foot-l small { display: block; color: var(--muted); font-size: 12.5px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; } .foot-links a { color: var(--muted); font-weight: 600; }
.foot-r { width: 100%; font-size: 13px; color: var(--faint); }

/* 검색 */
.search-ov { position: fixed; inset: 0; z-index: 80; background: rgba(12,10,24,.55); backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; }
.search-ov[hidden] { display: none; }
.search-box { width: min(680px, 100%); background: var(--surface); border-radius: 18px; border: 1px solid var(--line2); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.search-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search-head .ic { color: var(--brand); width: 22px; height: 22px; }
.search-head input { flex: 1; font: inherit; font-size: 18px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-res { max-height: min(60vh, 560px); overflow-y: auto; padding: 8px; }
.search-hint, .search-empty { padding: 22px 16px; color: var(--muted); font-size: 15px; text-align: center; }
.sr { display: block; padding: 12px 14px; border-radius: 12px; color: var(--ink); }
.sr:hover, .sr.on { background: var(--brand-soft); text-decoration: none; }
.sr small { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; color: var(--brand-ink); }
.sr b { display: block; font-size: 16.5px; letter-spacing: -.01em; }
.sr p { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr mark { background: transparent; color: var(--brand-ink); font-weight: 800; }

/* 라이트박스 */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,7,16,.92); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-x { position: absolute; top: 16px; right: 16px; color: #fff; background: rgba(255,255,255,.1); }

/* ───── 반응형 ───── */
@media (max-width: 1240px) {
  .shell { grid-template-columns: 250px minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .brand-help { display: none; }
  .search-btn span, .search-btn kbd { display: none; }
  .search-btn { width: 42px; padding: 0; justify-content: center; }
  .lang-wrap .lang-sel { max-width: 0; padding: 0; opacity: 0; position: absolute; inset: 0; width: 100%; max-width: none; }
  .lang-wrap { width: 42px; justify-content: center; padding: 0; }
  .btn-app span, .btn-app { padding: 0 12px; }
  .shell, .is-home .shell { grid-template-columns: minmax(0, 1fr); padding: 0 18px; }
  .side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: min(320px, 86vw); height: 100vh; background: var(--surface); border-right: 1px solid var(--line); padding: 20px 14px 30px; transform: translateX(-104%); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
  .side.open { transform: none; }
  .side-bg { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(12,10,24,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .side-bg.open { opacity: 1; pointer-events: auto; }
  .content { padding: 24px 0 56px; }
  body { font-size: 16.5px; }
  h1 { font-size: clamp(28px, 7.5vw, 36px); }
  .lead { font-size: 17.5px; }
  .doc-body h2 { font-size: 23px; margin-top: 40px; }
  .doc-body h2 .anchor { display: none; }
  .step { grid-template-columns: 36px 1fr; gap: 12px; }
  .step-no { width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
  .step::before { left: 17px; top: 42px; }
  .pn-wrap { grid-template-columns: 1fr; }
  .pn.next { text-align: left; align-items: flex-start; }
  .hero { padding: 20px 0 16px; }
  .hero-search { height: 54px; font-size: 16px; }
  .sec-hero { grid-template-columns: 52px 1fr; }
  .sec-hero .sec-ic { width: 52px; height: 52px; border-radius: 16px; }
  .page-row { grid-template-columns: 36px 1fr 20px; padding: 14px; }
  .pr-no { font-size: 17px; }
}
@media (max-width: 560px) {
  .top-in { padding: 0 14px; gap: 8px; }
  .btn-app { display: none; }
  .shell { padding: 0 14px; }
  .callout { padding: 14px; gap: 10px; }
  .hero-paths { grid-template-columns: 1fr; }
  table { min-width: 0; font-size: 14.5px; }
  th, td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
@media print { .top, .side, .toc, .foot, .helpful, .pn-wrap, .search-ov, .lightbox { display: none !important; } .shell { display: block; } .doc { max-width: none; } }
