/* Fluno 크리에이터 허브(가이드·무료 도구) — scripts/landing/hub.py 가 만드는 페이지 전용.
 * 랜딩(site.css·brand.css)과 독립이다. 팔레트는 앱과 같은 무채색 다크 + 자막 노랑(2026-08-27 확정).
 * 대담함은 한 곳에만 쓴다: 표지 위에 박힌 "예능 자막"(.burn). 나머지는 조용한 편집 디자인. */

:root {
  --bg: #0B0B0F;
  --surface: #15161C;
  --raised: #1E2029;
  --line: #262833;
  --line-strong: #353845;
  --text: #F2F2F2;
  --muted: #9BA0A8;
  --faint: #828894;
  --cap: #F5C518;
  --cap-ink: #1A1A1A;
  --good: #7BD88F;
  --warn: #FF8A65;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --measure: 42rem;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Pretendard Variable", "Pretendard JP Variable", Pretendard, "Pretendard JP", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.75; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss06" 1;
}
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
html[lang="en"] body { font-size: 18px; line-height: 1.65; letter-spacing: -0.005em; }
html[lang="ja"] body { line-height: 1.9; letter-spacing: 0.01em; font-feature-settings: "palt" 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cap); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cap); color: var(--cap-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── 머리 ─────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 40; background: rgba(11, 11, 15, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { display: flex; gap: 4px; margin-left: 8px; }
.top nav a {
  text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600;
  padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s;
}
.top nav a:hover { color: var(--text); background: var(--surface); }
.top nav a[aria-current="page"] { color: var(--text); background: var(--raised); }
.top .langs { margin-left: auto; display: flex; gap: 2px; }
.langs a { text-decoration: none; font-size: 13px; font-weight: 600; color: var(--faint); padding: 6px 9px; border-radius: 999px; }
.langs a:hover { color: var(--text); }
.langs a[aria-current="true"] { color: var(--cap-ink); background: var(--cap); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--cap); }
@media (max-width: 720px) {
  .top-in { gap: 12px; height: 56px; }
  .top nav { margin-left: 0; }
  .top nav a { padding: 6px 8px; font-size: 14px; }
  .top nav a.opt { display: none; }
  .brand span { display: none; }
}

/* ── 자막 띠: 이 사이트의 서명. 표지 프레임 위에 박힌 예능 자막 ─────────── */
.frame { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--surface); isolation: isolate; }
.frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 11, 15, .55)); pointer-events: none; }
.burn {
  position: absolute; z-index: 1; left: 50%; bottom: 7%; transform: translateX(-50%) rotate(-1.2deg);
  width: max-content; max-width: 86%; text-align: center;
  font-weight: 900; font-size: clamp(18px, 3.4vw, 40px); line-height: 1.5; letter-spacing: -0.03em;
}
.burn span {
  background: var(--cap); color: var(--cap-ink); padding: .08em .42em; border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.burn.sm { font-size: clamp(14px, 1.6vw, 18px); bottom: 9%; }
@media (prefers-reduced-motion: no-preference) {
  .burn.pop { animation: burn-in .55s cubic-bezier(.2, 1.4, .4, 1) .25s both; }
  @keyframes burn-in { from { opacity: 0; transform: translateX(-50%) rotate(-1.2deg) scale(.8); } }
}

/* ── 타이포 ───────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -0.03em; margin: 0; font-weight: 800; text-wrap: balance; }
/* 일본어 제목은 문절 단위로 줄바꿈(지원 브라우저만) — "キャ/プション" 같은 끊김을 줄인다 */
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { word-break: auto-phrase; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { letter-spacing: -0.01em; line-height: 1.4; }
.h-display { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.12; letter-spacing: -0.045em; }
.h-page { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.2; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); line-height: 1.6; max-width: 40rem; text-wrap: pretty; }
.muted { color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs li { list-style: none; display: flex; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--faint); margin-top: 18px; }
.tag { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--text); background: var(--raised); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }

/* ── 버튼 ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 0 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: 1px solid var(--line-strong);
  background: var(--raised); color: var(--text); transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { border-color: var(--faint); }
.btn:active { transform: translateY(1px); }
.btn.cap { background: var(--cap); color: var(--cap-ink); border-color: var(--cap); }
.btn.cap:hover { background: #FFD43B; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ── 허브 첫 화면 ──────────────────────────────────────── */
.hub-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hub-hero .lede { margin-top: 20px; }
.hub-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 880px) { .hub-hero-grid { grid-template-columns: 1fr; } .hub-hero .frame { order: -1; } }

.section { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.section-head a { color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.section-head a:hover { color: var(--text); }

/* 대표 글 1 + 목록. 같은 카드를 반복하지 않는다 */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: center; text-decoration: none; }
.feature h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 10px; }
.feature p { color: var(--muted); margin: 0; }
.feature:hover h3 { text-decoration: underline; text-decoration-color: var(--cap); text-decoration-thickness: 3px; text-underline-offset: 6px; }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; } }

.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 36px; }
.row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.row img { width: 132px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-s); background: var(--surface); }
.row h3 { font-size: 18px; line-height: 1.4; margin-bottom: 6px; }
.row p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row:hover h3 { color: var(--cap); }
@media (max-width: 880px) { .rows { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } .row img { width: 96px; } }

/* 도구 선반: 아이콘 + 한 줄 설명, 표처럼 촘촘하게 */
.rack { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.tool {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 20px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); transition: border-color .15s, background .15s;
}
.tool:hover { border-color: var(--line-strong); background: var(--raised); }
.tool .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); color: var(--cap); }
.tool .ico svg { width: 24px; height: 24px; }
.tool h3 { font-size: 17px; margin-bottom: 4px; }
.tool p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* 카테고리 묶음(가이드 목록) */
.cat { margin-top: 48px; }
.cat:first-child { margin-top: 0; }
.cat h2 { font-size: 22px; margin-bottom: 4px; }
.cat > p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }

/* ── 글 ───────────────────────────────────────────────── */
.post-head { padding: clamp(28px, 5vw, 56px) 0 28px; }
.post-head .wrap { max-width: 1040px; }
.post-head .lede { margin-top: 16px; }
.post-cover { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.post-grid { max-width: 1040px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter) 40px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; max-height: calc(100vh - 120px); overflow: auto; }
.toc p { margin: 0 0 10px; font-weight: 700; color: var(--text); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--faint); text-decoration: none; line-height: 1.45; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--text); border-left-color: var(--cap); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }

.prose { max-width: var(--measure); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 2.4em; padding-top: .2em; }
.prose h3 { font-size: 20px; margin-top: 1.9em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose p, .prose li { text-wrap: pretty; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--cap); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose a:hover { color: var(--cap); }
.prose strong { color: #fff; font-weight: 750; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--faint); }
.prose ol > li::marker { font-weight: 700; color: var(--cap); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line-strong); color: var(--muted); font-size: 1.05em; }
.prose blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--faint); }
.prose code { font-size: .9em; background: var(--raised); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 14px; color: var(--faint); margin-top: 10px; }
.prose .table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface); font-weight: 700; color: var(--text); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }

/* 핵심 요약: AI 검색·스니펫이 그대로 인용하는 자리 */
.tldr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 24px; }
.tldr p { margin: 0 0 10px; font-weight: 800; }
.tldr ul { margin: 0; padding-left: 1.2em; }
.tldr li { color: var(--text); }
.tldr li + li { margin-top: .4em; }

.note { background: var(--surface); border-radius: var(--radius-m); padding: 18px 20px; border: 1px solid var(--line); }
.note > :first-child { margin-top: 0; }
.note > * + * { margin-top: .7em; }
.note.tip { border-color: rgba(245, 197, 24, .35); }
.note.warn { border-color: rgba(255, 138, 101, .4); }
.note-title { display: block; font-weight: 800; margin-bottom: 4px; }

/* 예능 자막 예시(본문 안): 같은 장면, 다른 자막 */
.capdemo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .capdemo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.capdemo figure { margin: 0; }
.capdemo .shot { position: relative; aspect-ratio: 9 / 12; border-radius: var(--radius-m); overflow: hidden; background: linear-gradient(180deg, rgba(11,11,15,0) 40%, rgba(11,11,15,.6)), var(--bg, radial-gradient(120% 90% at 50% 20%, #2a2c36, #101116)); background-size: cover; background-position: var(--pos, center); display: grid; place-items: end center; padding: 16px 10px; }
.capdemo .shot b { font-weight: 900; font-size: 16px; line-height: 1.45; text-align: center; letter-spacing: -0.03em; }
.capdemo .shot b span { background: var(--cap); color: var(--cap-ink); padding: .06em .35em; border-radius: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.capdemo .shot b.white span { background: rgba(0, 0, 0, .72); color: #fff; }
.capdemo .shot b.bubble span { background: #fff; color: #111; border-radius: 14px; }
.capdemo .shot b.docu { font-weight: 600; font-size: 13.5px; font-style: italic; }
.capdemo .shot b.docu span { background: transparent; color: #fff; text-shadow: 0 1px 8px #000; }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.sources { font-size: 14.5px; color: var(--muted); }
.sources ol { padding-left: 1.4em; }
.sources a { color: var(--muted); word-break: break-word; }

/* 앱 안내 카드 — 글 끝에 한 번 */
.cta { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px; border-radius: var(--radius-l); background: linear-gradient(135deg, #1b1c24 0%, #14151b 60%); border: 1px solid var(--line-strong); }
.cta h2, .cta h3 { font-size: 22px; margin: 0 0 6px; }
.cta p { margin: 0; color: var(--muted); }
.cta .pill { display: inline-block; font-size: 13px; font-weight: 800; color: var(--cap-ink); background: var(--cap); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
@media (max-width: 640px) { .cta { grid-template-columns: 1fr; } }
/* 소개 링크 복사(자연 백링크) */
.cite-box { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius-l); border: 1px dashed var(--line-strong); }
.cite-box .cite-h { margin: 0 0 4px; font-weight: 800; font-size: 15px; }
.cite-box .cite-d { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.cite-box pre { margin: 0 0 10px; padding: 10px 12px; border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 12.5px; white-space: pre-wrap; word-break: break-all; }

.related { padding: 40px 0 72px; }
.related h2 { font-size: 22px; margin-bottom: 8px; }

/* ── 도구 ─────────────────────────────────────────────── */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(18px, 3vw, 32px); }
.panel-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 880px) { .panel-grid { grid-template-columns: 1fr; } }
.tool-wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > label, .field > .label { font-size: 14px; font-weight: 700; color: var(--text); }
.field .hint { font-size: 13px; color: var(--faint); line-height: 1.5; }
.input, select.input, textarea.input {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 14px; min-height: 46px;
}
textarea.input { min-height: 96px; resize: vertical; line-height: 1.6; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus { border-color: var(--cap); outline: none; box-shadow: 0 0 0 3px rgba(245, 197, 24, .18); }
.range { width: 100%; accent-color: var(--cap); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button, .seg label {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--bg); cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; min-height: 38px;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg button[aria-pressed="true"], .seg label:has(input:checked) { background: var(--text); color: var(--bg); border-color: var(--text); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--cap); outline-offset: 2px; }
.out { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(18px, 2.4vw, 28px); }
.big { font-size: clamp(36px, 5vw, 56px); font-weight: 850; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.big small { font-size: .42em; font-weight: 700; color: var(--muted); letter-spacing: -0.01em; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 20px; }
.kv div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kv dt { font-size: 13px; color: var(--faint); }
.kv dd { margin: 4px 0 0; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.bar { height: 10px; border-radius: 999px; background: var(--raised); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--cap); border-radius: inherit; transition: width .25s; }
.fine { font-size: 13px; color: var(--faint); line-height: 1.55; margin-top: 14px; }
.list-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.list-out li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.copy { font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.copy:hover { color: var(--text); border-color: var(--faint); }
.copy.done { color: var(--cap-ink); background: var(--cap); border-color: var(--cap); }
.drop { display: grid; place-items: center; text-align: center; gap: 6px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-m); padding: 22px; color: var(--muted); cursor: pointer; background: var(--bg); }
.drop:hover, .drop.over { border-color: var(--cap); color: var(--text); }
.drop strong { color: var(--text); }
.tool-explain { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) 0; }

/* ── 퀴즈 결과(공유 페이지·도구 공통) ─────────────────── */
.result-card { position: relative; overflow: hidden; background: linear-gradient(160deg, #1d1f29 0%, #121319 62%); border: 1px solid var(--line-strong); border-radius: var(--radius-l); padding: clamp(22px, 4vw, 40px); }
.result-kicker { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.result-name { margin: 12px 0 10px; font-size: clamp(28px, 5.2vw, 46px); font-weight: 900; line-height: 1.5; letter-spacing: -0.03em; transform: rotate(-1.2deg); transform-origin: left center; }
.result-name span { background: var(--cap); color: var(--cap-ink); padding: .04em .36em; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.result-tag { margin: 0; font-size: clamp(17px, 2vw, 20px); font-weight: 800; }
.result-desc { margin: 12px 0 0; color: var(--muted); max-width: 40rem; }
.result-card h2 { font-size: 15px; font-weight: 800; color: var(--cap); margin: 26px 0 10px; letter-spacing: 0; }
.result-traits { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.result-caps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.result-caps span { display: inline-block; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 7px 12px; font-weight: 700; font-size: 15px; line-height: 1.45; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ── 꼬리 ─────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); margin-top: 24px; padding: 48px 0 56px; font-size: 13px; color: var(--faint); line-height: 1.7; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 32px; }
.foot .brand { font-size: 17px; color: var(--text); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--text); }
.foot dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 14px; margin: 0; }
.foot dt { color: var(--faint); opacity: .8; }
.foot dd { margin: 0; color: var(--muted); }
.foot a { color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .top, .toc, .cta, .foot, .related { display: none; } body { background: #fff; color: #000; } }

/* 시리즈 묶음 상자 */
.series-box { margin: 0 0 32px; padding: 18px 20px; border-radius: var(--radius-l); background: var(--surface); border-left: 3px solid var(--cap); }
.series-box .series-k { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--cap); }
.series-box .series-n { margin: 2px 0 2px; font-weight: 800; font-size: 17px; }
.series-box .series-d { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.series-box ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.series-box li[aria-current] span { font-weight: 800; color: var(--text); }
.series-box a { color: var(--muted); }
.series-box a:hover { color: var(--text); }
