:root {
  --bg: #ffffff;
  --ink: #231F20;
  --ink-2: #57525C;
  --ink-3: #8B8592;
  --line: #ECE9F2;
  --soft: #F6FBFB;
  --lav: #999AE8;
  --pri: #8C52FF;
  --pri-600: #7438F2;
  --pri-50: #F4EEFF;
  --pri-100: #E9DEFF;
  --r: 20px;
  --shadow: 0 1px 2px rgba(35, 31, 32, .04), 0 10px 28px rgba(35, 31, 32, .07);
  --shadow-lg: 0 2px 6px rgba(35, 31, 32, .05), 0 24px 60px rgba(60, 30, 120, .16);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(140, 82, 255, .45); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--pri); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-pri { background: var(--pri); color: #fff; box-shadow: 0 6px 18px rgba(140, 82, 255, .28); }
.btn-pri:hover { background: var(--pri-600); transform: translateY(-1px); }
.btn-line { background: #fff; color: var(--ink); border-color: #DAD5E3; }
.btn-line:hover { border-color: var(--pri); color: var(--pri-600); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn-block { width: 100%; }

/* 상단 */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand-mark { width: 32px; height: 32px; }
.brand b { color: var(--pri); }
.top-nav { display: flex; gap: 4px; }
.top-nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.top-nav a:hover { color: var(--pri-600); background: var(--pri-50); }

/* 히어로 */
.hero { padding: 72px 0 72px; background: radial-gradient(900px 420px at 85% 10%, #F1E9FF 0%, rgba(241, 233, 255, 0) 70%), radial-gradient(700px 380px at 0% 100%, #EEF8FF 0%, rgba(238, 248, 255, 0) 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--pri-100); color: var(--pri-600); font-size: 14px; font-weight: 700; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pri); box-shadow: 0 0 0 4px rgba(140, 82, 255, .15); }
.hero h1 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 56px); line-height: 1.18; letter-spacing: -.035em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--pri); background: linear-gradient(transparent 68%, var(--pri-100) 68%); }
.lead { margin: 0 0 28px; font-size: 18px; color: var(--ink-2); max-width: 34em; }
.lead b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-stats li { display: flex; align-items: baseline; gap: 6px; padding: 10px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-stats b { font-size: 22px; color: var(--pri); font-weight: 800; }
.hero-stats span { font-size: 14px; color: var(--ink-2); font-weight: 600; }

.hero-visual { position: relative; height: 440px; }
.pv-browser { position: absolute; right: 0; top: 0; width: 88%; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.pv-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #FAF9FC; border-bottom: 1px solid var(--line); }
.pv-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2DDEA; }
.pv-bar span { margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.pv-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pv-screen iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; transform: scale(var(--s, .4)); pointer-events: none; }
.pv-card { position: absolute; left: 0; bottom: 0; width: 280px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1.5px solid var(--pri); box-shadow: var(--shadow-lg); font-size: 13.5px; line-height: 1.5; }
.pv-card p { margin: 0 0 5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-card b { color: var(--pri-600); font-weight: 700; }
.pv-card .pv-title { margin-bottom: 10px; color: var(--ink); font-weight: 800; font-size: 15px; }
.pv-arrow { position: absolute; left: 266px; bottom: 140px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: #fff; box-shadow: 0 8px 22px rgba(140, 82, 255, .35); }
.pv-arrow svg { width: 30px; height: 30px; }

/* 섹션 공통 */
.sec { padding: 96px 0; }
.sec-soft { background: var(--soft); }
.sec-head { max-width: 760px; margin: 0 0 40px; }
.kicker { margin: 0 0 8px; color: var(--pri); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.sec-head h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -.03em; font-weight: 800; }
.sec-head p:last-child { margin: 0; color: var(--ink-2); font-size: 17px; }

/* 7칸 */
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: slot; }
.slot { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.slot-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: #fff; font-weight: 800; font-size: 15px; }
.slot h3 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.02em; }
.slot h3 span { color: var(--pri); }
.slot-hint { margin: 0; color: var(--ink-2); font-size: 15px; }
.slot-ex { margin: 4px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--soft); border: 1px dashed #DCD6E8; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.slot-src { margin: auto 0 0; padding-top: 6px; font-size: 12.5px; color: var(--pri-600); font-weight: 600; }
.slot--lead { background: linear-gradient(160deg, #8C52FF, #6B3BF0); border: 0; color: #fff; justify-content: center; }
.slot--lead h3 { font-size: 22px; color: #fff; }
.slot--lead p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 15px; }
.slot--lead .formula-line { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-weight: 700; font-size: 14px; line-height: 1.7; }

.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tip { padding: 24px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); }
.tip h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.02em; }
.tip p { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }
.tip b { color: var(--ink); }
.tip-code { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1.5px solid var(--pri-100); color: var(--ink) !important; font-weight: 600; }
.tip-src { margin: 0 !important; font-size: 13px !important; color: var(--pri-600) !important; font-weight: 600; }
.tool-list { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.tool-list li { display: grid; grid-template-columns: 128px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.tool-list b { color: var(--pri-600); }
.tool-list span { color: var(--ink-2); }

/* 유형 지도 */
.anatomy { display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; align-items: start; }
.page-frame { border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.page-frame .pv-bar { height: 40px; }
.zone { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; padding: 18px 22px; border-top: 1px solid var(--line); }
.zone:first-of-type { border-top: 0; }
.zone-label { display: flex; gap: 12px; align-items: flex-start; }
.zone-num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pri-50); color: var(--pri-600); font-weight: 800; font-size: 13px; margin-top: 2px; }
.zone-label h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.zone-label p { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.zone-body { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.sk { height: 64px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); padding: 8px; display: grid; gap: 5px; align-content: center; }
.sk i { display: block; height: 6px; border-radius: 4px; background: #DDD6EC; }
.sk i.p { background: var(--lav); }
.sk-nav { grid-template-columns: 18px 1fr 1fr 1fr 22px; align-items: center; align-content: start; }
.sk-nav i:last-child { height: 10px; background: var(--pri); }
.sk-hero i:nth-child(1) { width: 70%; height: 10px; margin: 0 auto; background: #CFC4E8; }
.sk-hero i:nth-child(2) { width: 50%; margin: 0 auto; }
.sk-hero i:nth-child(3) { width: 34%; height: 10px; margin: 2px auto 0; background: var(--pri); }
.sk-grid3 { grid-template-columns: repeat(3, 1fr); }
.sk-grid3 i { height: 40px; border-radius: 6px; background: #fff; border: 1px solid #DDD6EC; }
.sk-logos { grid-template-columns: repeat(4, 1fr); }
.sk-logos i { height: 12px; border-radius: 6px; }
.sk-cta i { height: 40px; border-radius: 8px; background: linear-gradient(120deg, var(--pri), #6B3BF0); }
.sk-list i:nth-child(odd) { width: 92%; }
.sk-list i:nth-child(even) { width: 70%; background: #E8E3F2; }
.zchips { display: flex; flex-wrap: wrap; gap: 8px; }
.zchip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 8px;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.zchip:hover { border-color: var(--pri); background: var(--pri-50); transform: translateY(-1px); }
.zchip b { min-width: 26px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--pri-50); color: var(--pri-600); font-size: 12.5px; }
.spice { display: grid; gap: 16px; }
.spice-card { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.spice-card h3 { margin: 0 0 4px; font-size: 18px; }
.spice-card > p { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-3); }
.spice-card .zchips { flex-direction: column; align-items: stretch; }
.spice-card .zchip { justify-content: flex-start; }
.spice-card--dark { background: #17132B; border-color: #17132B; color: #fff; }
.spice-card--dark > p { color: #BDB6D6; }
.spice-card--dark .zchip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.spice-card--dark .zchip:hover { background: rgba(140, 82, 255, .3); border-color: var(--pri); }
.spice-card--dark .zchip b { background: rgba(140, 82, 255, .35); color: #fff; }

/* 갤러리 도구줄 */
.toolbar { position: sticky; top: 64px; z-index: 20; display: grid; gap: 12px; margin: 0 -24px 8px; padding: 14px 24px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.toolbar.stuck { border-bottom-color: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid #DCD7E5; background: #fff; font-weight: 700; font-size: 14.5px; color: var(--ink-2);
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip small { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.chip:hover { border-color: var(--pri); color: var(--pri-600); }
.chip[aria-pressed="true"] { background: var(--pri); border-color: var(--pri); color: #fff; }
.chip[aria-pressed="true"] small { color: rgba(255, 255, 255, .8); }
.tool-row { display: flex; gap: 12px; align-items: center; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: 14px; background: var(--soft); border: 1.5px solid var(--line); }
.search:focus-within { border-color: var(--pri); background: #fff; }
.search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15.5px; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); gap: 2px; flex: none; }
.seg button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.seg button[aria-checked="true"] { background: #fff; color: var(--pri-600); box-shadow: 0 1px 3px rgba(35, 31, 32, .12); }
.seg-sm button { min-height: 32px; padding: 0 11px; font-size: 13px; border-radius: 9px; }
.count { margin: 8px 0 18px; color: var(--ink-3); font-size: 14px; font-weight: 600; }

/* 카드 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--pri-100); }
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.thumb iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; transform: scale(var(--s, .28)); pointer-events: none; background: #fff; }
.thumb::after { content: "크게 보기"; position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(35, 31, 32, .78); color: #fff; font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.card:hover .thumb::after { opacity: 1; transform: none; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 8px; }
.no { font-weight: 800; color: var(--pri); font-size: 14px; font-variant-numeric: tabular-nums; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--pri-50); color: var(--pri-600); font-size: 12.5px; font-weight: 700; }
.card h3 { margin: 2px 0 0; font-size: 19px; letter-spacing: -.02em; line-height: 1.35; }
.card .en { margin: 0; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.card .sum { margin: 2px 0 10px; font-size: 14.5px; color: var(--ink-2); }
.card-open { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; border-radius: 22px; }
.card-open:focus-visible { outline-offset: -3px; }
.card-actions { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: auto; }
.card-actions .btn { flex: 1; }

.empty { display: grid; justify-items: center; gap: 8px; padding: 64px 0; color: var(--ink-3); }
.empty svg { width: 64px; height: 64px; fill: none; stroke: #CFC8DD; stroke-width: 2.5; stroke-linecap: round; }

/* 참고 사이트 */
.src-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.src-group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 19px; }
.src-group h3 i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: #fff; font-size: 13px; font-weight: 800; }
.src-group > p { margin: 0 0 14px; color: var(--ink-3); font-size: 14px; }
.src-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.src { display: block; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.src:hover { border-color: var(--pri); transform: translateY(-2px); box-shadow: var(--shadow); }
.src b { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 16px; }
.src b svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.src p { margin: 6px 0 10px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.src .take { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--pri-50); color: var(--pri-600); font-size: 13px; font-weight: 600; }
.note { margin: 24px 0 0; color: var(--ink-3); font-size: 13.5px; }

/* 푸터 */
.site-foot { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.foot-in { display: grid; justify-items: center; gap: 14px; text-align: center; }
.foot-in p { margin: 0; color: var(--ink-3); font-size: 14px; }
.copyright {
  display: inline-block; font-size: 12px; font-weight: 500; white-space: nowrap;
  color: rgba(255, 255, 255, .95); background: rgba(0, 0, 0, .45);
  border-radius: 999px; padding: 4px 12px; user-select: none;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.copyright__mail { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 3px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 상세 대화상자 */
.detail { width: min(1280px, 96vw); height: min(880px, 94vh); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 90px rgba(20, 10, 50, .35); overflow: hidden; }
.detail::backdrop { background: rgba(23, 19, 43, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.detail[open] { animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.d-wrap { display: grid; grid-template-columns: 1.3fr 1fr; height: 100%; }
.d-preview { display: flex; flex-direction: column; min-height: 0; padding: 18px; background: var(--soft); border-right: 1px solid var(--line); }
.d-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.d-open { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--pri-600); text-decoration: none; padding: 8px 10px; border-radius: 10px; }
.d-open:hover { background: var(--pri-50); }
.d-open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.d-frame { position: relative; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.d-frame.is-mobile { border-radius: 30px; border: 8px solid #1E1A2E; }
.d-frame iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; }
.d-hint { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }
.d-info { min-height: 0; overflow-y: auto; padding: 22px 26px 26px; overscroll-behavior: contain; }
.d-top { display: flex; align-items: center; gap: 10px; }
.d-no { font-weight: 800; color: var(--pri); font-size: 15px; }
.icon-btn { margin-left: auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.icon-btn:hover { border-color: var(--pri); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.d-info h2 { margin: 10px 0 0; font-size: 28px; letter-spacing: -.03em; line-height: 1.3; }
.d-en { margin: 2px 0 0; color: var(--ink-3); font-weight: 600; font-size: 14px; }
.d-sum { margin: 10px 0 18px; color: var(--ink-2); font-size: 15.5px; }
.pbox { padding: 16px; border-radius: 20px; border: 1.5px solid var(--pri); background: #fff; }
.pbox-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pbox-head b { font-size: 16px; }
.pslots { margin: 0 0 14px; display: grid; gap: 8px; }
.pslot { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 10px; border-radius: 12px; background: var(--soft); }
.pslot dt { margin: 0; font-weight: 800; font-size: 13.5px; color: var(--pri-600); }
.pslot dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink); }
.pslot dd mark { background: var(--pri-100); color: inherit; border-radius: 4px; padding: 0 2px; }
.tweak { margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--pri-50); }
.tweak-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tweak-head b { font-size: 15px; }
.tweak-head span { font-size: 13px; color: var(--ink-3); }
.tweak p { margin: 8px 0 12px; font-size: 14.5px; font-weight: 600; }
.d-meta { display: grid; gap: 14px; margin-top: 18px; }
.d-meta h3 { margin: 0 0 6px; font-size: 14px; color: var(--ink-3); }
.d-meta p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.kw, .refs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.kw li { padding: 4px 10px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; font-family: ui-monospace, "Cascadia Code", Consolas, var(--font); }
.refs a { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; text-decoration: none; color: var(--pri-600); }
.refs a:hover { border-color: var(--pri); }
.d-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }

/* 알림 */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 14px; background: #231F20; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* 반응형 */
@media (max-width: 1080px) {
  .slots { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .anatomy { grid-template-columns: 1fr; }
  .spice { grid-template-columns: 1fr 1fr; }
  .spice-card .zchips { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 400px; max-width: 640px; }
  .tips { grid-template-columns: 1fr; }
  .src-groups { grid-template-columns: 1fr; }
  .d-wrap { grid-template-columns: 1fr; grid-template-rows: minmax(300px, 46%) 1fr; }
  .d-preview { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .d-hint { display: none; }
  .detail { width: 100vw; height: 100dvh; border-radius: 0; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .top-nav { display: none; }
  .hero { padding: 44px 0 56px; }
  .lead { font-size: 16.5px; }
  .hero-visual { height: 300px; }
  .pv-browser { width: 100%; }
  .pv-card { width: 220px; padding: 14px 16px; font-size: 12px; }
  .pv-card p:nth-child(n+6) { display: none; }
  .pv-arrow { display: none; }
  .sec { padding: 64px 0; }
  .slots { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .zone { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .zone-body { grid-template-columns: 1fr; }
  .sk { display: none; }
  .spice { grid-template-columns: 1fr; }
  .toolbar { margin: 0 -16px 8px; padding: 12px 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .tool-row { flex-direction: column; align-items: stretch; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 6px; }
  .tool-list li { grid-template-columns: 1fr; gap: 2px; }
  .pslot { grid-template-columns: 1fr; gap: 2px; }
  .d-info { padding: 18px 16px 24px; }
  .d-info h2 { font-size: 24px; }
}
@media (max-width: 420px) {
  .copyright { white-space: normal; }
  .hero-stats li { padding: 8px 12px; }
  /* 상세 창의 복사 형식 3칸이 좁은 폰에서 상자 밖으로 넘치지 않게 */
  #techSeg2 button { flex: 1 1 auto; min-width: 0; padding: 0 4px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
