/**
 * @description  Solta Cloud 스킨 스타일(시안 2). 셀포 블루 단색 띠, 흰 종이 본문, 가는 선, 글 화면의 세 칸 격자, 코드 강조, 어두운 화면
 * @author       Luka
 * @created      2026-10-06
 * @log          2026-10-08
 */

/* ---------- 토큰 ---------- */
:root {
  color-scheme: light;
  --page: #FAFBFC; --ink: #14233A; --muted: #5A6B80; --line: #E3E9F0; --wash: #F3F7FB;
  --blue: #00A1E0;                 /* 셀포 로고 블루. 아바타 링에만 쓴다 */
  --brand: #0176D3;                /* 셀포 브랜드 블루. 흰 글자 대비 4.6:1 */
  --hero: #0176D3;
  --side: #F0F8FE;
  --link: #0176D3;
  --gold: #C9A45C;                 /* 주의 상자의 왼쪽 선에만 */
  --code: #F3F7FB; --focus: #0B5CAB; --cm: #5F7289;
  --tok-kw: #0B5CAB; --tok-str: #A4400A; --tok-type: #0B6B5E; --tok-meta: #6B3FA0;
  --shadow: 0 1px 2px rgba(6, 27, 58, .05), 0 8px 24px -12px rgba(6, 27, 58, .18);
  --font-body: "SUIT", system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  --font-title: "Jua", "SUIT", sans-serif;
  --font-code: "Source Code Pro", "D2Coding", ui-monospace, Consolas, monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #070F1D; --ink: #E4ECF6; --muted: #9AAEC4; --line: #1B2A40; --wash: #0D1A2E;
  --link: #62C6F5; --brand: #1B96FF; --side: #0D1A2E; --hero: #0A4F94; --gold: #D8B974;
  --code: #0D1A2E; --focus: #FFC83D; --cm: #8FA3BA; --shadow: none;
  --tok-kw: #62C6F5; --tok-str: #F0B27A; --tok-type: #6FE0C8; --tok-meta: #C7A8FF;
}

/* ---------- 바탕 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--page); color: var(--ink);
  font: 16px/1.85 var(--font-body); letter-spacing: -.011em;
  word-break: keep-all; overflow-wrap: break-word;
}
a { color: var(--link); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hero :focus-visible { outline-color: #fff; }
:root[data-theme="dark"] .hero :focus-visible { outline-color: var(--focus); }
.main:focus, .side:focus { outline: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -64px; z-index: 100; padding: 8px 14px;
  border-radius: 8px; background: #fff; color: #14233A; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 8px; }

/* ---------- 사이드바: 옅은 면과 가는 선 ---------- */
.side {
  position: fixed; inset: 0 auto 0 0; width: 264px; z-index: 50;
  background: var(--side); border-right: 1px solid var(--line);
  overflow-y: auto; overscroll-behavior: contain; padding: 36px 28px 28px;
}
.avatar {
  display: block; width: 68px; height: 68px; margin-bottom: 18px; object-fit: cover;
  border-radius: 50%; background: var(--line);
  box-shadow: 0 0 0 3px var(--side), 0 0 0 4px var(--blue);
}
.blog-name { font: 800 18px/1.4 var(--font-body); }
.blog-name a { color: var(--ink); text-decoration: none; }
.nick { font-size: 12.5px; color: var(--muted); margin: 4px 0 10px; letter-spacing: .02em; }
.desc { margin: 0 0 22px; font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.stats { display: flex; gap: 20px; font-size: 11.5px; color: var(--muted); margin-bottom: 24px; letter-spacing: .04em; }
.stats b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; letter-spacing: 0; }
.search {
  display: block; width: 100%; height: 36px; padding: 0 2px; margin-bottom: 28px; border-radius: 0;
  border: 0; border-bottom: 1px solid #7F95AD; background: transparent; color: var(--ink);
  font: inherit; font-size: 14px; -webkit-appearance: none; appearance: none;
}
:root[data-theme="dark"] .search { border-bottom-color: #5A6E88; }
.search::placeholder { color: var(--muted); opacity: 1; }
.search:focus { border-bottom-color: var(--link); }
.side-h { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin: 0 0 8px; }
.nav { margin-bottom: 28px; }
.nav ul { list-style: none; padding: 0; }
.nav ul ul ul { padding-left: 14px; }
.nav a {
  display: flex; align-items: baseline; padding: 5px 0 5px 12px; margin-left: -12px;
  font-size: 14.5px; color: var(--ink); text-decoration: none;
  border-left: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--link); }
.nav a[aria-current] { color: var(--link); font-weight: 700; border-left-color: var(--brand); }
.nav .c_cnt { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }

.menu-btn { display: none; }

/* ---------- 본문 틀 ---------- */
.main { margin-left: 264px; }
.wrap {
  max-width: 1220px; margin: 0 auto; padding: 12px 40px 96px;
  animation: enter .26s ease-out;
}
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 제목 띠: 셀포 블루 단색 위로 흰 구름이 흐른다 ---------- */
.hero { position: relative; height: 280px; overflow: hidden; color: #fff; background: var(--hero); }
.hero-in { position: relative; z-index: 2; max-width: 1220px; margin: 0 auto; padding: 78px 40px 0; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.hero-title {
  font: 400 44px/1.25 var(--font-title); margin: 12px 0 0; padding-bottom: .06em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden; overflow-wrap: anywhere;
}
.hero-title[data-size="m"] { font-size: 36px; }
.hero-title[data-size="l"] { font-size: 30px; }
.hero-tags { margin-top: 16px; font-size: 13.5px; font-weight: 600; letter-spacing: .03em; color: #fff; }
.sky { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.cl {
  position: absolute; left: 0; aspect-ratio: 2 / 1; background: #fff;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  opacity: var(--op); animation: drift var(--dur) linear infinite; animation-delay: var(--del); will-change: transform;
}
.cl:nth-child(1) { --x: 8%;  top: 16px;     width: 96px;  --op: .34; --dur: 150s; --del: -30s; }
.cl:nth-child(2) { --x: 64%; top: 44px;     width: 62px;  --op: .22; --dur: 210s; --del: -140s; }
.cl:nth-child(3) { --x: 30%; bottom: 6px;   width: 170px; --op: .55; --dur: 130s; --del: -70s; }
.cl:nth-child(4) { --x: 78%; bottom: -2px;  width: 130px; --op: .9;  --dur: 100s; --del: -20s; }
.cl:nth-child(5) { --x: 2%;  bottom: -6px;  width: 150px; --op: .8;  --dur: 120s; --del: -95s; }
:root[data-theme="dark"] .cl { filter: brightness(.82); }
@keyframes drift { from { transform: translateX(-240px); } to { transform: translateX(calc(100vw + 40px)); } }
.contour { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; z-index: 1; }
.contour path { fill: var(--page); }

.tools { position: absolute; top: 16px; right: 16px; z-index: 3; display: flex; gap: 8px; }
.tools button {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 20px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); color: #fff;
  font: 600 13px/1 var(--font-body);
}
.tools button:hover { background: rgba(255, 255, 255, .22); }

/* 글 화면의 띠: 얇은 장식. 되돌아가기와 버튼만 둔다 */
.hero-post { height: 104px; }
.hero-post .hero-in { padding-top: 30px; }
.back {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 0;
  color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none;
}
.back:hover { text-decoration: underline; }

/* ---------- 글 목록: 상자 없이 가는 선으로 나눈 행 ---------- */
.row {
  position: relative; display: flex; gap: 36px; align-items: flex-start;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.row-text { flex: 1; min-width: 0; }
.cat { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--link); }
.cat:empty { display: none; }
.date { font-size: 12.5px; color: var(--muted); margin-left: 12px; letter-spacing: .02em; }
.cat:empty + .date { margin-left: 0; }
.row-title { font: 800 21px/1.5 var(--font-body); letter-spacing: -.02em; margin: 10px 0 8px; }
.row-title a { color: var(--ink); text-decoration: none; transition: color .2s; }
.row-title a::after { content: ""; position: absolute; inset: 0; }
.row:hover .row-title a { color: var(--link); }
.summary {
  font-size: 14.5px; line-height: 1.75; color: var(--muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.summary:empty { display: none; }
.thumb {
  flex: none; width: 148px; height: 104px; border-radius: 8px; overflow: hidden;
  background: var(--brand); box-shadow: var(--shadow);
}
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@supports selector(:has(*)) {
  .row:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
  .row-title a:focus-visible { outline: none; }
}

.empty { display: flex; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.empty b { display: block; font: 700 17px/1.5 var(--font-body); color: var(--ink); }
.empty span { font-size: 14.5px; color: var(--muted); }

/* ---------- 쪽 이동 ---------- */
.paging { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; max-width: 1220px; margin: 0 auto; padding: 0 40px 72px; }
.paging a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 8px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.paging a:hover { border-color: var(--brand); color: var(--link); }
.paging .num:has(.selected), .paging .num:not([href]) { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.paging .selected { color: inherit; font-weight: 700; }
.paging .no-more-prev, .paging .no-more-next { visibility: hidden; }

/* ---------- 글 화면: 세 칸 격자, 가운데 칸이 본문 ---------- */
.post-grid { display: block; }
.post { padding-top: 40px; }
.ph { margin: 8px 0 20px; }
.chips { font-size: 0; margin-bottom: 16px; }
.chips a, .chips .tg {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; margin: 0 8px 8px 0;
  border: 1px solid var(--line); border-radius: 15px; background: var(--page);
  font: 400 13px/1 var(--font-body); letter-spacing: -.011em; color: var(--ink); text-decoration: none;
  transition: border-color .2s, color .2s;
}
.chips a:hover { border-color: var(--brand); color: var(--link); }
.chips .tg.c { color: var(--link); font-weight: 700; border-color: #B7D8F4; }
.chips .tg.c:empty { display: none; }
:root[data-theme="dark"] .chips .tg.c { border-color: #24507F; }
.pt {
  font: 800 32px/1.38 var(--font-body); letter-spacing: -.03em; color: var(--ink);
  margin: 8px 0 20px; text-wrap: balance;
}
.by { display: flex; align-items: center; gap: 14px; margin-bottom: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.av {
  flex: none; display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  background: var(--line);
}
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14.5px; }
.who b { font-weight: 700; }
.who .m { color: var(--muted); font-size: 13.5px; }
.act {
  display: none; align-items: center; margin-left: auto;
}
.js .act { display: flex; }
.act .g { display: flex; gap: 4px; }
.act .note { padding: 0 11px; font-size: 13px; color: var(--muted); }
.ib {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; min-width: 42px; padding: 0 11px;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer;
  font: 600 13.5px/1 var(--font-body); transition: background .2s, color .2s;
}
.ib svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ib:hover { background: var(--wash); color: var(--ink); }
.ib[hidden] { display: none; }

/* ---------- 본문 ---------- */
.article-body { font-size: 16px; line-height: 1.85; }
.contents_style p { margin: 0 0 20px; }
.contents_style p[data-ke-size] { font-size: inherit; line-height: inherit; margin: 0 0 20px !important; }
.contents_style h2, .contents_style h3, .contents_style h4 {
  color: var(--ink); font-family: var(--font-body); letter-spacing: -.02em; scroll-margin-top: 24px;
}
.contents_style h2 { font-size: 26px; font-weight: 800; line-height: 1.45; margin: 52px 0 16px; }
.contents_style h3 { font-size: 21px; font-weight: 800; line-height: 1.5; margin: 44px 0 14px; }
.contents_style h4 { font-size: 17.5px; font-weight: 700; line-height: 1.5; margin: 28px 0 10px; }
/* 티스토리 에디터가 소제목에 data-ke-size 와 가는 글씨를 지정하므로 덮어쓴다 */
.contents_style h2[data-ke-size], .contents_style h3[data-ke-size], .contents_style h4[data-ke-size] { font-family: inherit !important; font-weight: 800 !important; letter-spacing: -.02em; color: var(--ink); }
.contents_style h2[data-ke-size] { font-size: 26px !important; line-height: 1.45 !important; margin: 52px 0 16px !important; }
.contents_style h3[data-ke-size] { font-size: 21px !important; line-height: 1.5 !important; margin: 44px 0 14px !important; }
.contents_style h4[data-ke-size] { font-size: 17.5px !important; font-weight: 700 !important; line-height: 1.5 !important; margin: 28px 0 10px !important; }
.contents_style a { text-underline-offset: 3px; }
.contents_style ul, .contents_style ol { margin: 0 0 20px; padding-left: 1.5em; }
.contents_style li { margin: 4px 0; }
.contents_style li::marker { color: var(--link); }
.contents_style img { max-width: 100%; height: auto; border-radius: 8px; }
.contents_style figure { margin: 24px 0; }
.contents_style figure.imageblock { text-align: center; }
.contents_style figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.contents_style iframe, .contents_style video { max-width: 100%; border-radius: 8px; }
.contents_style hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.contents_style blockquote {
  margin: 0 0 24px; padding: 4px 0 4px 18px; border-left: 2px solid var(--brand); color: var(--muted);
}
.contents_style blockquote > :last-child { margin-bottom: 0; }
.contents_style table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-scroll { overflow-x: auto; margin: 0 0 24px; }
.contents_style th, .contents_style td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.contents_style th { background: var(--wash); color: var(--ink); font-weight: 700; }
.contents_style :not(pre) > code {
  font: 500 .86em var(--font-code); background: var(--code); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 5px; color: var(--link); word-break: normal;
}
/* 편집기에서 어두운 글자색을 직접 지정한 글이 어두운 화면에서 묻히지 않게 한다 */
:root[data-theme="dark"] .contents_style [style*="color: rgb(0, 0, 0)"],
:root[data-theme="dark"] .contents_style [style*="color: rgb(51, 51, 51)"],
:root[data-theme="dark"] .contents_style [style*="color: rgb(34, 34, 34)"],
:root[data-theme="dark"] .contents_style [style*="color:#000"],
:root[data-theme="dark"] .contents_style [style*="color:#333"] { color: inherit !important; }

/* 코드 블록: 가는 테두리와 옅은 바탕 */
pre {
  font: 400 13.5px/1.75 var(--font-code); background: var(--code); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; overflow: auto;
  margin: 0 0 24px; white-space: pre; tab-size: 4; word-break: normal; overflow-wrap: normal; letter-spacing: 0;
}
pre code { font: inherit; background: none; border: 0; padding: 0; color: inherit; word-break: normal; overflow-wrap: normal; display: block; }
.hljs-keyword, .hljs-literal, .hljs-selector-tag, .hljs-doctag, .hljs-section { color: var(--tok-kw); font-weight: 600; }
.hljs-string, .hljs-regexp, .hljs-number, .hljs-symbol, .hljs-bullet, .hljs-link, .hljs-template-variable { color: var(--tok-str); }
.hljs-comment, .hljs-quote { color: var(--cm); }
.hljs-built_in, .hljs-type, .hljs-class .hljs-title, .hljs-title.class_, .hljs-title.function_ { color: var(--tok-type); }
.hljs-attr, .hljs-attribute, .hljs-tag, .hljs-name, .hljs-meta, .hljs-selector-class, .hljs-selector-id, .hljs-variable.constant_ { color: var(--tok-meta); }
.hljs-meta .hljs-string { color: var(--tok-str); }
.hljs-addition { color: var(--tok-type); }
.hljs-deletion { color: var(--tok-str); }
.hljs-emphasis { font-style: italic; }
.hljs-strong { font-weight: 700; }

/* 글 안 상자: 핵심 한 줄, 주의, 실측. 심볼은 CSS 마스크로 그린다 */
.say {
  display: flex; gap: 18px; align-items: flex-start; margin: 0 0 24px; padding: 18px 22px;
  border-radius: 10px; background: var(--wash); border: 1px solid var(--line);
}
.say strong { display: block; font: 400 15px/1.6 var(--font-title); letter-spacing: .02em; color: var(--link); margin-bottom: 3px; }
.say p, .contents_style .say p { margin: 0; font-size: 15.5px; line-height: 1.75; }
.badge {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: #E4F2FD; color: var(--brand);
}
.badge::before {
  content: ""; width: 22px; height: 22px; background: currentColor;
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.badge.lg { width: 56px; height: 56px; border-radius: 14px; }
.badge.lg::before { width: 28px; height: 28px; }
:root[data-theme="dark"] .badge { background: #12335C; color: #62C6F5; }
.say.warn { background: #FFFBF2; border-color: #EFE3C6; box-shadow: inset 2px 0 0 var(--gold); }
.say.warn strong { color: #8A6A24; }
.say.warn .badge { background: #F6EACB; color: #8A6A24; }
:root[data-theme="dark"] .say.warn { background: #1A1608; border-color: #3A2F14; }
:root[data-theme="dark"] .say.warn strong { color: var(--gold); }
:root[data-theme="dark"] .say.warn .badge { background: #3A2F14; color: var(--gold); }
.badge.i-bulb::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%2014c.2-1%20.7-1.7%201.5-2.5%201-.9%201.5-2.2%201.5-3.5A6%206%200%200%200%206%208c0%201%20.2%202.2%201.5%203.5.7.7%201.3%201.5%201.5%202.5%22%2F%3E%3Cpath%20d%3D%22M9%2018h6%22%2F%3E%3Cpath%20d%3D%22M10%2022h4%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%2014c.2-1%20.7-1.7%201.5-2.5%201-.9%201.5-2.2%201.5-3.5A6%206%200%200%200%206%208c0%201%20.2%202.2%201.5%203.5.7.7%201.3%201.5%201.5%202.5%22%2F%3E%3Cpath%20d%3D%22M9%2018h6%22%2F%3E%3Cpath%20d%3D%22M10%2022h4%22%2F%3E%3C%2Fsvg%3E"); }
.badge.i-alert::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m21.73%2018-8-14a2%202%200%200%200-3.48%200l-8%2014A2%202%200%200%200%204%2021h16a2%202%200%200%200%201.73-3%22%2F%3E%3Cpath%20d%3D%22M12%209v4%22%2F%3E%3Cpath%20d%3D%22M12%2017h.01%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m21.73%2018-8-14a2%202%200%200%200-3.48%200l-8%2014A2%202%200%200%200%204%2021h16a2%202%200%200%200%201.73-3%22%2F%3E%3Cpath%20d%3D%22M12%209v4%22%2F%3E%3Cpath%20d%3D%22M12%2017h.01%22%2F%3E%3C%2Fsvg%3E"); }
.badge.i-flask::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%202v7.527a2%202%200%200%201-.211.896L4.72%2020.55a1%201%200%200%200%20.9%201.45h12.76a1%201%200%200%200%20.9-1.45l-5.069-10.127A2%202%200%200%201%2014%209.527V2%22%2F%3E%3Cpath%20d%3D%22M8.5%202h7%22%2F%3E%3Cpath%20d%3D%22M7%2016h10%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%202v7.527a2%202%200%200%201-.211.896L4.72%2020.55a1%201%200%200%200%20.9%201.45h12.76a1%201%200%200%200%20.9-1.45l-5.069-10.127A2%202%200%200%201%2014%209.527V2%22%2F%3E%3Cpath%20d%3D%22M8.5%202h7%22%2F%3E%3Cpath%20d%3D%22M7%2016h10%22%2F%3E%3C%2Fsvg%3E"); }
.badge.i-file::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7Z%22%2F%3E%3Cpath%20d%3D%22M14%202v4a2%202%200%200%200%202%202h4%22%2F%3E%3Cpath%20d%3D%22M9%2013h6%22%2F%3E%3Cpath%20d%3D%22M9%2017h4%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7Z%22%2F%3E%3Cpath%20d%3D%22M14%202v4a2%202%200%200%200%202%202h4%22%2F%3E%3Cpath%20d%3D%22M9%2013h6%22%2F%3E%3Cpath%20d%3D%22M9%2017h4%22%2F%3E%3C%2Fsvg%3E"); }
.cl { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%2060%22%3E%3Cg%20fill%3D%22%23000%22%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2238%22%20r%3D%2220%22%2F%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%2226%22%20r%3D%2226%22%2F%3E%3Ccircle%20cx%3D%2288%22%20cy%3D%2238%22%20r%3D%2220%22%2F%3E%3Crect%20x%3D%2232%22%20y%3D%2238%22%20width%3D%2256%22%20height%3D%2220%22%20rx%3D%2210%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%2060%22%3E%3Cg%20fill%3D%22%23000%22%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2238%22%20r%3D%2220%22%2F%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%2226%22%20r%3D%2226%22%2F%3E%3Ccircle%20cx%3D%2288%22%20cy%3D%2238%22%20r%3D%2220%22%2F%3E%3Crect%20x%3D%2232%22%20y%3D%2238%22%20width%3D%2256%22%20height%3D%2220%22%20rx%3D%2210%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }

/* 글 아래: 이전 글, 다음 글 */
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.pn:not(:has(.pn-link)) { display: none; }
.pn-link {
  display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 88px; padding: 18px 20px;
  background: var(--wash); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.pn-prev { grid-column: 1; }
.pn-next { grid-column: 2; justify-content: space-between; text-align: right; }
.pn:has(.pn-link:only-child) { grid-template-columns: 1fr; }
.pn-link:only-child { grid-column: 1; }
.pn-next:only-child { text-align: left; }
.pn-text { flex: 1; min-width: 0; }
.pn-label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 4px; }
.pn-title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  font: 700 15px/1.55 var(--font-body); transition: color .2s;
}
.pn-arrow {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--page); border: 1px solid var(--line); color: var(--link);
  transition: transform .2s ease-out, background-color .2s, border-color .2s, color .2s;
}
.pn-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .pn-link:hover { background: var(--page); border-color: var(--brand); box-shadow: var(--shadow); }
  .pn-link:hover .pn-title { color: var(--link); }
  .pn-link:hover .pn-arrow { background: var(--brand); border-color: var(--brand); color: #fff; }
  .pn-prev:hover .pn-arrow { transform: translateX(-3px); }
  .pn-next:hover .pn-arrow { transform: translateX(3px); }
}

/* 목차 리모콘: 본문 옆 칸에 붙어 따라온다 */
.toc { display: none; font-size: 13.5px; line-height: 1.5; }
.toc h2 { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc ol a {
  display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent;
  color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s;
}
.toc ol a.l3 { padding-left: 26px; }
.toc ol a:hover { color: var(--ink); }
.toc ol a.on { color: var(--link); font-weight: 700; border-left-color: var(--brand); }
.toc .top {
  display: inline-block; margin-top: 14px; padding: 4px 0; font: inherit; font-size: 12.5px; color: var(--muted);
  background: none; border: 0; cursor: pointer;
}
.toc .top:hover { color: var(--link); }
.toc-btn {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 6; height: 40px; padding: 0 16px;
  border-radius: 20px; border: 1px solid var(--line); background: var(--page); color: var(--ink); cursor: pointer;
  font: 700 13px/1 var(--font-body); box-shadow: var(--shadow);
}
.toc[hidden], .toc-btn[hidden] { display: none !important; }
@media (min-width: 1360px) {
  /* 가운데 칸이 본문이다. 왼쪽 칸은 비워 두고 오른쪽 칸에 목차만 놓아서 본문이 항상 화면 가운데에 온다 */
  .post-grid { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 840px) minmax(150px, 1fr); gap: 0; }
  .post-col { grid-column: 2; min-width: 0; }
  .hero-post .hero-in { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 840px) minmax(150px, 1fr); }
  .hero-post .hero-in > * { grid-column: 2; }
  .toc { display: block; grid-column: 3; position: sticky; top: 96px; align-self: start; margin: 6px -16px 0 0; padding-left: 36px; max-width: 224px; }
  .toc-btn { display: none !important; }
}
@media (max-width: 1359px) {
  .toc.open {
    display: block; position: fixed; right: 16px; bottom: 64px; width: 240px; z-index: 6; background: var(--page);
    border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow);
  }
  .toc-btn { display: block; }
}

/* ---------- 댓글과 방명록 ---------- */
.comments, .guestbook { margin-top: 56px; color: var(--ink); font-size: 14.5px; line-height: 1.7; }
.guestbook { margin-top: 0; }
.tt-comment-cont a, #communicate a { color: var(--link); }
.tt-comment-cont .tt-box-total .tt_txt_g, .tt-comment-cont .tt-box-total .tt_num_g { font-size: 15px; color: var(--ink); }
.tt-comment-cont .tt-wrap-cmt .tt-link-user, .tt-comment-cont .tt-wrap-cmt .tt_desc { font-size: 14.5px; }
.tt-comment-cont .tt-wrap-cmt .tt-link-user { color: var(--ink); font-weight: 700; }
.tt-comment-cont .tt-wrap-cmt .tt_desc, .tt-comment-cont .tt-txt-mention { color: var(--ink); }
.tt-comment-cont textarea, .tt-comment-cont input[type="text"], .tt-comment-cont input[type="password"],
#communicate textarea, #communicate input[type="text"], #communicate input[type="password"],
.guestbook textarea, .guestbook input[type="text"], .guestbook input[type="password"] {
  background: var(--page); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; font: inherit;
}
.tt-comment-cont .tt-btn_register, #communicate .communicateWrite .submit input,
.guestbook button, .guestbook input[type="submit"], .guestbook input[type="button"] {
  min-width: 88px; height: 38px; padding: 0 16px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--brand); color: #fff; font: 700 14px var(--font-body);
}
.comments ul, .comments ol, #communicate ol, #communicate ul { list-style: none; padding: 0; }
#communicate .communicateList li > div { border-bottom: 1px solid var(--line); padding: 12px 0; }
#communicate .communicateList .name, #communicate .communicateList .name a { color: var(--ink); font-weight: 700; }
#communicate .communicateList .date, #communicate .communicateList .control a { color: var(--muted); font-size: 12.5px; }

/* ---------- 태그 모음, 보호글, 공지 ---------- */
.tagcloud { line-height: 2.4; padding-top: 28px; }
.tagcloud a {
  display: inline-block; margin: 0 8px 8px 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 15px;
  line-height: 1.9; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s;
}
.tagcloud a:hover { border-color: var(--brand); color: var(--link); }
.tagcloud .cloud1 { font-size: 22px; font-weight: 800; }
.tagcloud .cloud2 { font-size: 19px; font-weight: 700; }
.tagcloud .cloud3 { font-size: 16.5px; font-weight: 600; }
.tagcloud .cloud4 { font-size: 14.5px; }
.tagcloud .cloud5 { font-size: 13px; }
.protected { margin-top: 28px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.protected p { color: var(--ink); font-weight: 700; margin-bottom: 18px; }
.protected-form { display: flex; flex-wrap: wrap; gap: 8px; }
.protected-form input {
  width: 220px; height: 42px; padding: 0 14px; border-radius: 8px; font: inherit; font-size: 15px;
  background: var(--page); color: var(--ink); border: 1px solid var(--line);
}
.protected-form button {
  height: 42px; padding: 0 20px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--brand); color: #fff; font: 700 15px var(--font-body);
}
.notice-meta { margin-bottom: 20px; }

/* ---------- 글 화면에서는 다른 글의 목록을 숨긴다 ----------
   티스토리는 글 주소에서도 글 아래에 목록 블록을 그릴 수 있다. body id 가 tt-body-page 인 화면에서 목록과 쪽 이동을 감춘다 */
#tt-body-page .list-area, #tt-body-page .paging { display: none; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 900px) {
  .side { position: static; width: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 20px; }
  .avatar { margin-bottom: 10px; }
  .nick { margin-bottom: 0; }
  .js .side:not(.open) .stats, .js .side:not(.open) .search, .js .side:not(.open) .nav { display: none; }
  .js .menu-btn { display: block; }
  .main { margin-left: 0; }
  .hero { height: 250px; }
  .hero-in { padding-top: 56px; }
  .hero-title { font-size: 30px; }
  .hero-title[data-size="m"] { font-size: 28px; }
  .hero-title[data-size="l"] { font-size: 24px; }
  .hero-tags { max-width: 230px; line-height: 1.6; }
  .cl:nth-child(2) { display: none; }
  .hero-post { height: 84px; }
  .hero-post .hero-in { padding-top: 24px; }
  .wrap, .hero-in { padding-left: 20px; padding-right: 20px; }
  .paging { padding-left: 20px; padding-right: 20px; }
  .row { gap: 16px; }
  .thumb { width: 84px; height: 64px; }
  .row-title { font-size: 19px; }
  .pt { font-size: 24px; }
  .ph { margin-bottom: 28px; }
  .pn { grid-template-columns: 1fr; }
  .pn-prev, .pn-next { grid-column: 1; text-align: left; }
  .empty { gap: 16px; }
}

/* ---------- 움직임 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .cl { left: var(--x); }
}

/* 분류 옆 새 글 표시 이미지(티스토리가 넣는 N 아이콘)는 숨긴다 */
.nav img { display: none; }

/* 티스토리가 넣는 구독 위젯(#menubar, 오른쪽 위 고정)과 겹치지 않도록, 넓은 화면에서는 모드 버튼을 사이드바 위쪽에 둔다.
   띠 안의 버튼(.tools)은 좁은 화면에서만 쓴다 */
.side-theme { display: none; }
@media (min-width: 901px) {
  .profile { position: relative; }
  .side-theme {
    display: grid; place-items: center; position: absolute; top: -12px; right: -10px; width: 36px; height: 36px;
    border: 1px solid var(--line); border-radius: 50%; background: var(--page); color: var(--ink);
    font: 600 14px/1 "SUIT", sans-serif; cursor: pointer;
  }
  .side-theme:hover { background: var(--wash); }
  .tools { display: none; }
}

/* 티스토리가 글에 끼워 넣는 블록 정리: 다른 글 목록과 블로그 소개 카드는 쓰지 않는다(글 아래에는 이전·다음 글만 둔다) */
.another_category, .another_category_color_gray { display: none !important; }
[data-tistory-react-app="Namecard"] { display: none !important; }

/* 에디터의 표 서식(data-ke-style)이 넣는 회색 줄무늬를 이 스킨의 색으로 바꾼다 */
.contents_style table[data-ke-style] td, .contents_style table[data-ke-style] th { background: var(--page) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; }
.contents_style table[data-ke-style] tr:first-child td, .contents_style table[data-ke-style] th { background: var(--wash) !important; font-weight: 700; }

/* 접기(더보기) 단추: 눌러 볼 수 있음이 보이도록 윤곽선 알약으로 그린다 (2026-10-07 블로그 글 요청) */
.contents_style [data-ke-type="moreLess"] { margin: 0 0 20px; }
.contents_style a.btn-toggle-moreless {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1.5px solid var(--link); border-radius: 999px;
  background: var(--page); color: var(--link) !important; font: 700 15px/1.2 var(--font-body); text-decoration: none !important;
  cursor: pointer; transition: background .15s, color .15s;
}
.contents_style a.btn-toggle-moreless::after {
  content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg);
}
.contents_style a.btn-toggle-moreless:hover { background: var(--link); color: var(--page) !important; }
.contents_style .moreless-content { margin-top: 14px; }

/* 글 첫머리 상자(.say.lead): 개념 한 문장을 크게 보여 준다. 글자 크기는 글 쪽 인라인 스타일이 정한다 (2026-10-07 블로그 글 요청) */
/* 2026-10-08 개편: 왼쪽 굵은 띠와 큰 아이콘 칸을 없앴다. 아이콘은 "개요" 라벨 옆으로 올리고 글은 상자 안쪽 여백 하나만 들여 쓴다. 위쪽 굵은 선이 눈에 띄는 표지다 */
.say.lead { display: block; position: relative; margin: 8px 0 40px; padding: 18px 24px 22px; background: var(--side); border-color: #CFE5F8; border-top: 4px solid var(--brand); }
.say.lead .badge { position: absolute; top: 18px; left: 24px; width: 26px; height: 26px; border-radius: 8px; background: var(--brand); color: #fff; }
.say.lead .badge::before { width: 15px; height: 15px; }
/* "개요" 라벨은 글자가 아니라 CSS 로 그린다: 글 요약과 검색 설명문이 "개요" 로 시작하지 않게 한다 */
.say.lead > div::before { content: "개요"; display: block; margin-bottom: 12px; padding-left: 36px; font: 700 14px/26px var(--font-body); letter-spacing: .02em; color: var(--link); }
:root[data-theme="dark"] .say.lead { border-color: #1B3A5E; border-top-color: #1B96FF; }
:root[data-theme="dark"] .say.lead .badge { background: #1B96FF; color: #fff; }
@media (max-width: 640px) { .say.lead { padding: 14px 18px 18px; } .say.lead .badge { top: 14px; left: 18px; } }

/* 긴 글 제목(#MCA-001 Salesforce Marketing Cloud Next - 주제)은 윗줄(번호·시리즈)과 본제목으로 나눠 그린다. 나누는 일은 skin.js 의 splitTitle 이 한다 (2026-10-07 블로그 글 요청) */
.ttl-eyebrow { display: block; margin-bottom: 8px; font: 700 15px/1.4 var(--font-body); letter-spacing: 0; color: var(--link); }
.ttl-main { display: block; }
.pt .ttl-main { font-size: 34px; line-height: 1.38; }
.row-title .ttl-eyebrow { margin-bottom: 4px; font-size: 13px; }
@media (max-width: 900px) { .pt .ttl-main { font-size: 26px; } .ttl-eyebrow { font-size: 14px; } .row-title .ttl-eyebrow { font-size: 12.5px; } }

