/* DESIGN.md + mulk 블로그 시안 30(head.html · v01 · v10 · v16) 정확 이식 */
:root {
  --ink: #121317;
  --ink-strong: #212226;
  --ink-hover: #2f3034;
  --ink-muted: #45474d;
  --ink-faint: #5f6368;
  --ink-disabled: #6a6a71;
  --surface: #fff;
  --surface-1: #f8f9fc;
  --surface-code: #f8f9fa;
  --surface-2: #eff2f7;
  --surface-3: #e6eaf0;
  --chip: #f1f3f4;
  --chip-hover: #cdd4dc;
  --tonal: rgba(183, 191, 217, 0.1);
  --tonal-hover: #f0f1f5;
  --disabled: #e1e6ec;
  --inverse: #121317;
  --inverse-ink: #f8f9fc;
  --inverse-muted: #b2bbc5;
  --inverse-line: rgba(230, 234, 240, 0.12);
  --media-bg: #eef3f1;
  --media-ink: #14211d;
  --inv-btn-bg: #fff;
  --inv-btn-fg: #121317;
  --inv-btn-hover: #eff2f7;
  --line: rgba(33, 34, 38, 0.06);
  --line-capsule: rgba(33, 34, 38, 0.08);
  --line-strong: rgba(33, 34, 38, 0.12);
  --line-box: #dadce0;
  --line-figure: #e1e6ec;
  --line-chip: rgba(0, 0, 0, 0.08);
  --accent: #3279f9;
  --accent-line: rgba(50, 121, 249, 0.25);
  --btn-bg: #121317;
  --btn-fg: #fff;
  --btn-hover: #2f3034;
  --hd-bg: rgba(255, 255, 255, 0.85);
  --hover-04: rgba(33, 34, 38, 0.04);
  --hover-06: rgba(33, 34, 38, 0.06);
  --media-ring: rgba(20, 33, 29, 0.06);
  --ok-bg: #e6f4ea;
  --ok-fg: #137333;
  --tok-k: #1967d2;
  --tok-s: #188038;
  --tok-c: #b80672;
  --font-sans: "Google Sans Flex", "Pretendard Variable", Pretendard, -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --grid-columns: 12;
  --grid-gutter: 64px;
  --page-margin: 72px;
  --nav-height: 52px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 36px;
  --space-2xl: 48px;
  --space-3xl: 60px;
  --space-4xl: 80px;
  --space-6xl: 120px;
  --r-xs: 4px;
  --r-sm: 8px;
  --r-img: 12px;
  --r-tag: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 9999px;
  --shadow-hero: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-video: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-menu: 0 4px 20px rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --dur: 0.15s;
}

@media (width <= 1600px) {
  :root {
    --grid-gutter: 48px;
  }
}
@media (width <= 1024px) {
  :root {
    --grid-columns: 8;
    --grid-gutter: 24px;
    --page-margin: clamp(20px, 4vw, 40px);
  }
}
@media (width <= 767px) {
  :root {
    --grid-columns: 4;
    --grid-gutter: 16px;
    --page-margin: 16px;
  }
}
@media (width <= 425px) {
  :root {
    --r-xl: 24px;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f8f9fc;
    --ink-strong: #fff;
    --ink-hover: #e6eaf0;
    --ink-muted: #b2bbc5;
    --ink-faint: #8e96a0;
    --ink-disabled: #6a6a71;
    --surface: #121317;
    --surface-1: #18191d;
    --surface-code: #18191d;
    --surface-2: #212226;
    --surface-3: #2a2c32;
    --chip: #2f3034;
    --chip-hover: #3a3c42;
    --tonal: rgba(230, 234, 240, 0.1);
    --tonal-hover: rgba(230, 234, 240, 0.16);
    --disabled: #2f3034;
    --line: rgba(230, 234, 240, 0.08);
    --line-capsule: rgba(230, 234, 240, 0.12);
    --line-strong: rgba(230, 234, 240, 0.14);
    --line-box: rgba(230, 234, 240, 0.12);
    --line-figure: rgba(230, 234, 240, 0.12);
    --line-chip: rgba(255, 255, 255, 0.12);
    --accent: #6ea0ff;
    --accent-line: rgba(110, 160, 255, 0.3);
    --btn-bg: #f8f9fc;
    --btn-fg: #121317;
    --btn-hover: #e6eaf0;
    --hd-bg: rgba(18, 19, 23, 0.85);
    --hover-04: rgba(230, 234, 240, 0.06);
    --hover-06: rgba(230, 234, 240, 0.09);
    --media-ring: rgba(230, 234, 240, 0.14);
    --ok-bg: #0f2e1a;
    --ok-fg: #81c995;
    --tok-k: #7ab0ff;
    --tok-s: #72d59a;
    --tok-c: #ff85c0;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ink: #f8f9fc;
  --ink-strong: #fff;
  --ink-hover: #e6eaf0;
  --ink-muted: #b2bbc5;
  --ink-faint: #8e96a0;
  --ink-disabled: #6a6a71;
  --surface: #121317;
  --surface-1: #18191d;
  --surface-code: #18191d;
  --surface-2: #212226;
  --surface-3: #2a2c32;
  --chip: #2f3034;
  --chip-hover: #3a3c42;
  --tonal: rgba(230, 234, 240, 0.1);
  --tonal-hover: rgba(230, 234, 240, 0.16);
  --disabled: #2f3034;
  --line: rgba(230, 234, 240, 0.08);
  --line-capsule: rgba(230, 234, 240, 0.12);
  --line-strong: rgba(230, 234, 240, 0.14);
  --line-box: rgba(230, 234, 240, 0.12);
  --line-figure: rgba(230, 234, 240, 0.12);
  --line-chip: rgba(255, 255, 255, 0.12);
  --accent: #6ea0ff;
  --accent-line: rgba(110, 160, 255, 0.3);
  --btn-bg: #f8f9fc;
  --btn-fg: #121317;
  --btn-hover: #e6eaf0;
  --hd-bg: rgba(18, 19, 23, 0.85);
  --hover-04: rgba(230, 234, 240, 0.06);
  --hover-06: rgba(230, 234, 240, 0.09);
  --media-ring: rgba(230, 234, 240, 0.14);
  --ok-bg: #0f2e1a;
  --ok-fg: #81c995;
  --tok-k: #7ab0ff;
  --tok-s: #72d59a;
  --tok-c: #ff85c0;
  color-scheme: dark;
}

/* 바탕 */
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3, h4, p, figure, blockquote {
  margin: 0;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 14px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--r-sm);
  z-index: 200;
}
.skip:focus {
  left: 16px;
  top: 12px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.mono {
  font-family: var(--font-mono);
}
.tnum {
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--ink-muted);
}
.faint {
  color: var(--ink-faint);
}

/* 그리드: 12단 · 칸으로 배치 */
.wrap {
  width: 100%;
  max-width: 1744px;
  margin-inline: auto;
  padding-left: max(var(--page-margin), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-margin), env(safe-area-inset-right, 0px));
}
.g12 {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
}
.g12 > * {
  min-width: 0;
}
.c-full {
  grid-column: 1 / -1;
}
.c-wide {
  grid-column: 2 / span 10;
}
.c-body {
  grid-column: 3 / span 8;
}
.c-l6 {
  grid-column: 1 / span 6;
}
.c-r6 {
  grid-column: 7 / span 6;
}
@media (width <= 1024px) {
  .c-wide, .c-body {
    grid-column: 1 / -1;
  }
  .c-l6 {
    grid-column: 1 / span 4;
  }
  .c-r6 {
    grid-column: 5 / span 4;
  }
}
@media (width <= 767px) {
  .c-l6, .c-r6 {
    grid-column: 1 / -1;
  }
}
.sec {
  padding-bottom: var(--space-6xl);
}
.sec-line {
  border-bottom: 1px solid var(--line);
}
.top-pad {
  padding-top: calc(var(--nav-height) + 153px);
}
@media (width <= 767px) {
  .top-pad {
    padding-top: calc(var(--nav-height) + 24px);
  }
  .sec {
    padding-bottom: 80px;
  }
}

/* 글자 단계 (한글: 자간 70%, 큰 제목 480~520) */
.t-land { font-size: 80px; line-height: 1.04; font-weight: 480; letter-spacing: -0.0126em; text-wrap: balance; }
.t-9xl  { font-size: 148px; line-height: 0.98; font-weight: 480; letter-spacing: -0.014em; }
.t-6xl  { font-size: 72px; line-height: 1.06; font-weight: 480; letter-spacing: -0.014em; text-wrap: balance; }
.t-5xl  { font-size: 54px; line-height: 1.1; font-weight: 480; letter-spacing: -0.012em; text-wrap: balance; }
.t-4xl  { font-size: 42px; line-height: 1.16; font-weight: 500; letter-spacing: -0.012em; text-wrap: balance; }
.t-3xl  { font-size: 32px; line-height: 1.2; font-weight: 500; letter-spacing: -0.003em; text-wrap: balance; }
.t-2xl  { font-size: 28px; line-height: 1.24; font-weight: 500; letter-spacing: -0.0025em; text-wrap: balance; }
.t-xl   { font-size: 24px; line-height: 1.28; font-weight: 500; letter-spacing: -0.002em; }
.t-lg   { font-size: 22px; line-height: 1.3; font-weight: 500; }
.t-md   { font-size: 20px; line-height: 1.5; font-weight: 400; letter-spacing: -0.05px; }
.t-base { font-size: 17.5px; line-height: 1.45; letter-spacing: 0.18px; }
.t-sm   { font-size: 14.5px; line-height: 1.45; letter-spacing: 0.16px; }
.t-xs   { font-size: 12.5px; line-height: 1.24; letter-spacing: 0.11px; }
.lead   { font-size: 20px; line-height: 1.6; color: var(--ink-muted); max-width: 34em; }
@media (width <= 1600px) {
  .t-land { font-size: 72px; }
}
@media (width <= 1024px) {
  .t-land { font-size: 56px; }
  .t-9xl { font-size: 38px; line-height: 1.06; }
  .t-6xl, .t-5xl { font-size: 34px; line-height: 1.12; }
  .t-4xl, .t-3xl { font-size: 28px; line-height: 1.2; }
  .t-2xl { font-size: 24px; }
  .t-lg { font-size: 20px; }
  .t-sm { font-size: 15px; }
  .lead { font-size: 18px; }
}
@media (width <= 767px) {
  .t-land { font-size: 40px; line-height: 1.12; }
}

/* 머리글 */
.hd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--hd-bg);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease-in-out, background-color 0.3s;
}
.hd.solid, .hd.open {
  background: var(--surface);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hd.hide {
  transform: translateY(-100%);
}
.hd-in {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 36px;
}
.wm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 540;
  letter-spacing: -0.03em;
  line-height: 1;
}
.nav {
  display: flex;
  gap: 2px;
}
.nav a {
  font-size: 14.5px;
  font-weight: 450;
  letter-spacing: 0.11px;
  color: var(--ink-muted);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}
.nav a:hover {
  background: var(--hover-04);
}
.nav a:active {
  background: var(--hover-06);
}
.nav a[aria-current="page"] {
  color: var(--ink);
}
.hd-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}
.theme-btn:hover {
  background: var(--hover-04);
  color: var(--ink);
}
.theme-btn svg {
  width: 16px;
  height: 16px;
}
.burger {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.burger svg {
  width: 16px;
  height: 16px;
}
.sheet {
  display: none;
}
.sheet-theme {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 8px 10px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
}
@media (width <= 1024px) {
  .hd-in { gap: 8px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hd.open .sheet {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-radius: 0 0 24px 24px;
    box-shadow: var(--shadow-menu);
    padding: 8px max(var(--page-margin), env(safe-area-inset-left, 0px)) 16px;
  }
  .sheet a {
    display: block;
    padding: 20px 8px;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--surface-3);
  }
  .sheet a:last-of-type {
    border-bottom: 1px solid var(--surface-3);
  }
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-size: 17.5px;
  line-height: 1.45;
  letter-spacing: 0.18px;
  padding: 10px 24px;
  min-height: 47px;
  transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
}
.btn-p {
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 430;
}
.btn-p:hover {
  background: var(--btn-hover);
}
.btn-s {
  background: var(--tonal);
  color: var(--ink);
  border-color: var(--line);
  font-weight: 450;
}
.btn-s:hover {
  background: var(--tonal-hover);
}
.btn-i {
  background: var(--inv-btn-bg);
  color: var(--inv-btn-fg);
  font-weight: 430;
}
.btn-i:hover {
  background: var(--inv-btn-hover);
}
.btn.sm {
  font-size: 14.5px;
  letter-spacing: 0.11px;
  font-weight: 450;
  padding: 6px 16px;
  min-height: 36px;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
@media (width <= 1024px) {
  .btn {
    font-size: 15px;
    letter-spacing: 0.16px;
  }
}

/* 칩 버튼 · 태그 · 메타 줄 */
.chipb {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 4px 13px;
  border-radius: var(--r-pill);
  background: var(--chip);
  color: var(--ink-muted);
  border: 1px solid var(--line-chip);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
}
.chipb::before {
  content: "";
  position: absolute;
  inset: -7px 0;
}
.chipb svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease-out;
}
.chipb:hover {
  background: var(--chip-hover);
  color: var(--accent);
  border-color: var(--accent-line);
}
.chipb.rss:hover svg {
  transform: translateY(-1px);
}
.chipb.back:hover svg {
  transform: translateX(-2px);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-tag);
  background: var(--chip);
  color: var(--ink-muted);
  font-size: 12.8px;
  letter-spacing: 0.16px;
  line-height: 1.5;
  white-space: nowrap;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 14.5px;
  line-height: 1.45;
  letter-spacing: 0.16px;
  color: var(--ink-muted);
}
.meta .dot {
  opacity: 0.7;
}

/* 분류 탭 */
.tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.tabs-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.tabs-list::-webkit-scrollbar {
  display: none;
}
.tab {
  flex: none;
  padding: 12px 24px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink-muted);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}
.tab:hover {
  color: var(--ink);
}
.tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.tab .n {
  margin-left: 6px;
  font-size: 12.5px;
  color: var(--ink-faint);
}
@media (width <= 767px) {
  .tab { padding: 12px 14px; }
  .tabs .rss span { display: none; }
}
.empty {
  display: none;
  padding: 24px 0 48px;
  color: var(--ink-muted);
}
.empty.on {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* 미디어(파스텔 메시 썸네일 + 사진) */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--media-bg);
  color: var(--media-ink);
  container-type: inline-size;
  isolation: isolate;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--media-ring);
  pointer-events: none;
  z-index: 2;
}
.media-bg {
  position: absolute;
  inset: -6%;
  transition: transform 0.3s;
}
.media-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-in {
  position: absolute;
  inset: 0;
  color: var(--media-ink);
}
.media-in::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  mix-blend-mode: soft-light;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 160px 160px;
}
.mk {
  position: absolute;
  left: 9%;
  bottom: 8%;
  right: 9%;
  font-size: clamp(18px, 19cqi, 150px);
  line-height: 0.96;
  font-weight: 480;
  letter-spacing: -0.035em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.ml {
  position: absolute;
  left: 9%;
  top: 9%;
  font-size: clamp(9px, 5.4cqi, 15px);
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.62;
}
.r-sq  { aspect-ratio: 1; }
.r-169 { aspect-ratio: 16 / 9; }
.r-43  { aspect-ratio: 4 / 3; }
.r-34  { aspect-ratio: 3 / 4; }
.media.r-sq, .media.r-169, .media.r-43, .media.r-34 {
  width: 100%;
  max-width: 100%;
}
.hov:hover .media-bg, .hov:focus-visible .media-bg {
  transform: scale(1.05);
}
.hov .ttl {
  transition: color 0.2s;
}
.hov:hover .ttl, .hov:focus-visible .ttl {
  color: var(--accent);
}

/* 대표 글 (4.6) */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gutter);
  align-items: center;
}
.feat-eyebrow {
  margin-bottom: 36px;
}
.feat-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}
.feat-body .btn {
  margin-top: 8px;
}
@media (width <= 767px) {
  .feat { grid-template-columns: 1fr; row-gap: 36px; }
  .feat-eyebrow { margin-bottom: 12px; }
}

/* 글 목록 (4.6) */
.plist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 36px;
}
.post {
  display: flex;
  column-gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.post-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.post .ttl {
  font-size: 28px;
  line-height: 1.24;
  font-weight: 500;
  color: var(--ink-hover);
  margin-bottom: 16px;
  text-wrap: balance;
}
.post .btn {
  margin-top: 16px;
}
.post-thumb {
  flex: 0 0 160px;
  max-width: 160px;
  width: 160px;
}
@media (width <= 1024px) {
  .plist { grid-template-columns: 1fr; }
  .post .ttl { font-size: 24px; }
}
@media (width <= 767px) {
  .post { flex-direction: column-reverse; row-gap: 16px; }
  .post-thumb { flex: none; width: 100%; max-width: 100%; }
  .post-thumb .media { aspect-ratio: 16 / 9; }
  .post-body { padding-inline: 12px; }
}

/* 01 정석 전용 (v01.js) */
.v01 .lede { padding-bottom: var(--space-6xl); }
.v01 .list-sec { padding-top: var(--space-6xl); }
.v01 .more { display: flex; justify-content: center; margin-top: 48px; }
.v01 .more[hidden] { display: none; }
@media (width <= 767px) {
  .v01 .lede { padding-bottom: 72px; }
  .v01 .list-sec { padding-top: 72px; }
}

/* 10 연재 전용 (va.js v10) */
.v10 .head { padding-bottom: 60px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.v10 .srs { border-top: 1px solid var(--line); }
.v10 .sr-row { padding-block: 48px; border-bottom: 1px solid var(--line); row-gap: 24px; align-items: start; }
.v10 .sr-cover { grid-column: 1 / span 3; }
.v10 .sr-mid { grid-column: 4 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.v10 .sr-mid .n { font-size: 14.5px; letter-spacing: 0.16px; color: var(--ink-muted); }
.v10 .sr-mid .d { color: var(--ink-muted); font-size: 17.5px; line-height: 1.6; }
.v10 .sr-mid .btn { margin-top: 12px; }
.v10 .sr-mid h2 a:hover { color: var(--accent); }
.v10 .sr-eps { grid-column: 9 / span 4; }
.v10 .ep { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: baseline; padding-block: 12px; border-bottom: 1px solid var(--line); }
.v10 .sr-eps li:first-child .ep { padding-top: 0; }
.v10 .ep .no { font-size: 14.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.v10 .ep .ttl { font-size: 17.5px; line-height: 1.45; font-weight: 500; color: var(--ink-hover); }
.v10 .latest { padding-top: var(--space-6xl); }
.v10 .latest h2 { margin-bottom: 48px; }
@media (width <= 1024px) {
  .v10 .sr-cover { grid-column: 1 / span 3; }
  .v10 .sr-mid { grid-column: 4 / span 5; }
  .v10 .sr-eps { grid-column: 1 / -1; }
}
@media (width <= 767px) {
  .v10 .sr-cover, .v10 .sr-mid { grid-column: 1 / -1; }
  .v10 .sr-cover { max-width: 200px; }
}

/* 16 메모 흐름 전용 (vb.js v16) */
.v16 .intro { display: flex; flex-direction: column; gap: 20px; padding-bottom: 60px; }
.v16 .flow > li { border-bottom: 1px solid var(--line); }
.v16 .fp { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 36px; align-items: center; padding-block: 36px; }
.v16 .fp-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.v16 .fp-body .ttl { color: var(--ink-hover); }
.v16 .kind { font-size: 12.5px; letter-spacing: 0.11px; color: var(--ink-faint); }
.v16 .fm { display: flex; flex-direction: column; gap: 12px; padding-block: 28px; }
.v16 .fm-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-muted); }
.v16 .fm-who b { font-weight: 500; color: var(--ink); }
.v16 .fm p { font-size: 17.5px; line-height: 1.75; max-width: 36em; padding-left: 34px; }
@media (width <= 767px) {
  .v16 .fp { grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; padding-block: 28px; }
  .v16 .fp .ttl { font-size: 20px; }
  .v16 .fm p { padding-left: 0; font-size: 16px; }
}

/* 구독 카드 (4.9) */
.sub {
  background: var(--surface-1);
  border-radius: var(--r-xl);
  padding: 60px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 780px;
  margin-inline: auto;
  width: 100%;
}
.sub.sub-compact {
  padding: 48px 36px;
  max-width: 760px;
}
.sub p {
  font-size: 14.5px;
  color: var(--ink-muted);
  letter-spacing: 0.16px;
}
.cap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--line-capsule);
  border-radius: var(--r-pill);
  padding: 6px;
}
.cap input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font-size: 15px;
  outline: none;
}
.cap input::placeholder {
  color: var(--ink-faint);
}
.cap:focus-within {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px var(--line-strong);
}
.cap .btn {
  min-height: 44px;
  padding: 0 26px;
  font-size: 14.5px;
  font-weight: 450;
}
.sub-ok {
  min-height: 22px;
  font-size: 14px;
  color: var(--ok-fg);
}
.sub-ok.is-err {
  color: #d93025;
}
:root[data-theme="dark"] .sub {
  background: rgba(255, 255, 255, 0.024);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sub {
    background: rgba(255, 255, 255, 0.024);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
}
@media (width <= 560px) {
  .sub { padding: 40px 20px; }
  .cap { flex-direction: column; align-items: stretch; border-radius: 20px; }
  .cap input { text-align: center; }
}

/* 푸터 (4.10) */
.ft {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.ft-top {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 36px;
}
.ft-slogan {
  grid-column: 1 / span 6;
}
.ft-cols {
  grid-column: 8 / span 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.ft-cols h4 {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.ft-cols a {
  display: block;
  padding: 4px 0;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease-out;
}
.ft-cols a:hover {
  color: var(--accent);
}
.ft-mark {
  display: block;
  width: 100%;
  height: auto;
  margin: 48px 0 36px;
  color: var(--ink);
}
.ft-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid var(--line);
  padding-block: 20px 112px;
  font-size: 14.5px;
  color: var(--ink-muted);
}
.ft-legal nav {
  display: flex;
  gap: 16px;
}
.ft-legal svg {
  width: 18px;
  height: 18px;
}
@media (width <= 1024px) {
  .ft-slogan, .ft-cols { grid-column: 1 / -1; }
}

/* 글 상세 화면 (DESIGN 4.7, 4.8) */
.post-top {
  padding-top: calc(var(--nav-height) + 80px);
}
@media (width <= 767px) {
  .post-top {
    padding-top: calc(var(--nav-height) + 72px);
  }
}
.bc {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink-faint);
}
.bc-cat:hover {
  color: var(--accent);
}
.post-hd {
  margin-bottom: 32px;
}
.post-title {
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.014em;
  color: var(--ink-strong);
  margin-bottom: 24px;
  text-wrap: balance;
}
@media (width <= 767px) {
  .post-title { font-size: 32px; }
}
.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.byline-who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-muted);
}
.byline-who b {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-strong);
}
.share-wrap {
  position: relative;
}
.share-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 156px;
  background: var(--surface);
  border: 1px solid var(--line-box);
  border-radius: 12px;
  box-shadow: var(--shadow-menu);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.share-menu[hidden] {
  display: none;
}
.share-menu button {
  text-align: left;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 13.5px;
  cursor: pointer;
}
.share-menu button:hover {
  background: var(--hover-04);
}
.share-menu button.is-copied {
  background: var(--ok-bg);
  color: var(--ok-fg);
}

.post-hero {
  margin-bottom: 48px;
}
.post-hero .media {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-hero);
}
.post-prose {
  max-width: 848px;
}

.series-box {
  margin-bottom: 36px;
  padding: 20px 24px;
  border: 1px solid var(--line-figure);
  border-radius: var(--r-md);
  background: var(--surface-1);
}
.series-box-hd {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.series-box-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.series-box-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-muted);
}
.series-box-list li.is-cur strong {
  color: var(--ink);
  font-weight: 550;
}
.series-box-list a:hover {
  color: var(--accent);
}

/* 본문 마크다운 (DESIGN 4.8) */
.prose {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}
.prose > *:first-child {
  margin-top: 0;
}
.prose h2 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 480;
  letter-spacing: -0.008em;
  margin: 36px 0 16px;
  scroll-margin-top: 76px;
}
.prose h3 {
  font-size: 24px;
  line-height: 1.28;
  font-weight: 500;
  margin: 24px 0 16px;
  scroll-margin-top: 76px;
}
.prose p {
  margin: 0 0 16px;
}
.prose ul, .prose ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  line-height: 1.7;
  margin-bottom: 8px;
}
.prose strong {
  font-weight: 600;
}
.prose em {
  font-style: italic;
  color: var(--ink-faint);
}
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.prose a:hover {
  color: var(--accent);
}
.prose code {
  font-family: var(--font-mono);
  font-size: 14.08px;
  line-height: 1.6;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
}
.prose blockquote {
  margin: 36px 0;
  padding: 24px 36px;
  background: var(--surface-code);
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  font-size: 17px;
  line-height: 1.6;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose figure {
  margin: 28px 0;
}
.prose figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line-figure);
  background: var(--surface);
  cursor: zoom-in;
  transition: box-shadow 0.2s var(--ease);
}
.prose figure img:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.prose figcaption {
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  letter-spacing: 0.16px;
  color: var(--ink-muted);
  text-align: center;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}
.prose details {
  margin: 24px 0;
  background: var(--surface-code);
  border: 1px solid var(--line-box);
  border-radius: 16px;
  overflow: hidden;
}
.prose summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease-out;
}
.prose summary:hover {
  background: var(--hover-04);
}
.prose details > *:not(summary) {
  padding-inline: 18px;
}
.prose details > *:last-child {
  margin-bottom: 16px;
}

.codewrap {
  margin: 16px 0 24px;
  background: var(--surface-code);
  border: 1px solid var(--line-box);
  border-radius: 16px;
  overflow: hidden;
}
.codehd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line-box);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.copy {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-muted);
  cursor: pointer;
}
.copy:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}
.codewrap pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 14.5px;
  line-height: 21px;
}
.codewrap pre code {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: inherit;
}
.tok-k { color: var(--tok-k); }
.tok-s { color: var(--tok-s); }
.tok-c { color: var(--tok-c); }

.table-wrap {
  margin: 24px 0;
  border: 1px solid var(--line-figure);
  border-radius: 16px;
  overflow-x: auto;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th, .prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-figure);
  text-align: left;
}
.prose th {
  background: var(--surface-1);
  font-weight: 600;
}
.prose tr:last-child td {
  border-bottom: 0;
}

/* 이전/다음 글 (DESIGN 4.7 7번) */
.pnav {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pnav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pnav-link.is-next {
  text-align: right;
}
.pnav-dir {
  font-size: 12.5px;
  color: var(--ink-muted);
}
.pnav-ttl {
  font-size: 20px;
  font-weight: 480;
  line-height: 1.35;
  transition: color 0.15s ease-out;
}
.pnav-link:hover .pnav-ttl {
  color: var(--accent);
}
@media (width <= 767px) {
  .pnav { grid-template-columns: 1fr; }
  .pnav-link.is-next { text-align: left; }
}

/* 소개 페이지 유틸 */
.who-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 24px;
}
.who-line b {
  font-weight: 500;
  color: var(--ink-strong);
}
.about-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.link {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.link:hover {
  color: var(--accent);
}

/* 확대 보기 Dialog (DESIGN 4.8) */
.zoom-dlg {
  padding: 16px;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  max-width: min(92vw, 1080px);
  max-height: 90vh;
}
.zoom-dlg::backdrop {
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.zoom-dlg img {
  max-height: 78vh;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
}
.zoom-close {
  position: sticky;
  top: 0;
  float: right;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-1);
  border: 1px solid var(--line-strong);
  font-size: 18px;
  cursor: pointer;
}
.zoom-cap {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  .hov:hover .media-bg {
    transform: none;
  }
}
