/* 하루노트 — 2020년대 한국 일상 블로그 서비스. 대표색은 흰색 (규칙표 3절: 서 · 흰색)
   흰 바탕, 얇은 회색 선, 검정 글자. 색은 사진과 지도, 공감 하트에만 둔다.
   모서리는 작게(2~4px), 그림자는 거의 없이. 둥근 흰 카드 범벅을 피한다. */
:root {
  --ink: #1b1b1b;
  --ink-2: #474747;
  --ink-3: #7c7c7c;
  --ink-4: #a9a9a9;
  --line: #ececea;
  --line-2: #dcdcd9;
  --paper: #ffffff;
  --soft: #f6f6f4;
  --soft-2: #efefec;
  --heart: #e2493b;
  --link: #2a5db0;
  --sd-white-bg: #fff;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}
* { box-sizing: border-box; }
body.haru { margin: 0; min-width: 1024px; background: var(--paper); color: var(--ink); font: 14px/1.7 var(--sans); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.nick { padding: 0; border: 0; background: none; font-weight: 700; cursor: pointer; }
.nick:hover { text-decoration: underline; }

/* ── 서비스 머리 ── */
.h-top { border-bottom: 1px solid var(--line); background: #fff; }
.h-top-inner { display: flex; align-items: center; gap: 28px; max-width: 1080px; height: 58px; margin: 0 auto; padding: 0 20px; }
.h-logo { display: inline-flex; align-items: center; gap: 8px; }
.h-logo-mark { position: relative; width: 20px; height: 24px; border: 2px solid var(--ink); border-radius: 2px 6px 6px 2px; }
.h-logo-mark::before { content: ""; position: absolute; left: 3px; right: 4px; top: 5px; height: 2px; background: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.h-logo-mark i { position: absolute; right: -2px; top: -2px; width: 7px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: #fff; border-radius: 0 6px 0 2px; }
.h-logo-text { font-size: 18px; font-weight: 800; letter-spacing: -0.05em; }
.h-gnb { display: flex; gap: 20px; font-size: 14px; font-weight: 600; }
.h-gnb .dim { color: var(--ink-3); font-weight: 500; }
.h-search { display: flex; align-items: center; width: 270px; margin-left: auto; padding: 0 6px 0 14px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; }
.h-search input { flex: 1; min-width: 0; padding: 7px 0; border: 0; background: transparent; outline: none; font-size: 13px; }
.h-search button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; background: transparent; color: var(--ink-2); }
.h-login { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; font-size: 12.5px; color: var(--ink-2); }

/* ── 서비스 첫 화면 ── */
.h-home { max-width: 1080px; margin: 0 auto; padding: 26px 20px 70px; }
.h-home-top { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.h-banner { position: relative; display: grid; align-content: center; gap: 4px; min-height: 196px; padding: 30px 36px; overflow: hidden; border-radius: 3px; background: #f1ece2; }
.h-banner-k { font-size: 12.5px; font-weight: 700; color: #8a6d3d; }
.h-banner strong { font-size: 34px; line-height: 1.25; letter-spacing: -0.05em; }
.h-banner-d { color: #5b5346; font-size: 14px; }
.h-banner-n { margin-top: 12px; color: #7b705e; font-size: 12.5px; }
.h-banner-n b { color: var(--ink); }
.h-banner-pages { position: absolute; right: 54px; top: 34px; width: 210px; height: 150px; }
.h-banner-pages i { position: absolute; inset: 0; border: 1px solid #ddd3c1; border-radius: 2px; background: #fffdf7 repeating-linear-gradient(#fffdf7 0 21px, #ece5d6 21px 22px);  box-shadow: 0 1px 2px rgba(80, 60, 30, 0.08); }
.h-banner-pages i:nth-child(1) { transform: rotate(-6deg); }
.h-banner-pages i:nth-child(2) { transform: rotate(-3deg) translate(6px, -3px); }
.h-banner-pages i:nth-child(3) { transform: rotate(0deg) translate(12px, -6px); }
.h-banner-pages i:nth-child(4) { transform: rotate(3deg) translate(18px, -9px); }
.h-banner-pages i:nth-child(5) { transform: rotate(6deg) translate(24px, -12px); }
.h-banner-pages i:last-child::after { content: "1일째 · 비 온 날"; position: absolute; left: 18px; top: 13px; color: #6a6153; font-size: 13px; }
.h-loginbox { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 24px; border: 1px solid var(--line-2); border-radius: 3px; text-align: center; }
.h-loginbox p { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.h-loginbox button { width: 100%; padding: 11px 0; border: 0; border-radius: 3px; background: var(--ink); color: #fff; font-weight: 700; }
.h-loginbox span { color: var(--ink-3); font-size: 12px; }
.h-home-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; margin-top: 34px; }
.h-feed-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.h-feed-head h2 { margin: 0; font-size: 17px; }
.h-topics { display: flex; gap: 4px; }
.h-topics button { padding: 4px 10px; border: 1px solid transparent; border-radius: 14px; background: none; color: var(--ink-3); font-size: 12.5px; }
.h-topics button.on { border-color: var(--ink); color: var(--ink); font-weight: 700; }
.h-feed-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.h-feed-list li { border-bottom: 1px solid var(--line); }
.h-feed-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.h-feed-list li[hidden] { display: none; }
.h-feed-list a { display: grid; gap: 5px; padding: 18px 20px 18px 0; }
.h-feed-list li:nth-child(even) a { padding: 18px 0 18px 20px; }
.h-f-blog { color: var(--ink-3); font-size: 12px; }
.h-f-blog em { margin-left: 4px; font-style: normal; color: var(--ink-4); }
.h-feed-list strong { font-size: 15.5px; line-height: 1.45; }
.h-feed-list a:hover strong { text-decoration: underline; }
.h-f-first { display: -webkit-box; overflow: hidden; color: var(--ink-2); font-size: 13px; line-height: 1.6; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.h-f-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--ink-3); font-size: 12px; }
.h-f-meta .h-f-like { margin-left: auto; }
.h-aside { display: grid; align-content: start; gap: 22px; }
.h-box { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.h-box h3 { margin: 0 0 8px; font-size: 14px; }
.h-box p { margin: 0 0 10px; color: var(--ink-2); font-size: 13px; }
.h-tip p b { color: var(--ink); }
.h-search-big { display: flex; border: 1px solid var(--ink); border-radius: 3px; overflow: hidden; }
.h-search-big input { flex: 1; min-width: 0; padding: 9px 12px; border: 0; outline: none; font-size: 13.5px; }
.h-search-big button { padding: 0 16px; border: 0; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; }
.h-news { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.h-news li { padding: 6px 0; color: var(--ink-2); }
.h-news span { display: inline-block; margin-right: 6px; padding: 0 5px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--ink-3); font-size: 11px; }

.h-results { max-width: 760px; margin: 0 auto; padding: 44px 20px 80px; }
.h-results h1 { margin: 0 0 14px; font-size: 20px; }
.h-results h1 span { color: var(--ink-3); font-weight: 500; }
.h-results .h-search-big { margin-bottom: 10px; }
.h-empty { padding: 50px 0; color: var(--ink-3); text-align: center; }
.h-hit { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.h-hit strong { display: block; font-size: 16px; }
.h-hit a:hover strong { text-decoration: underline; }
.h-hit span { color: var(--ink-3); font-size: 13px; }
.h-hit .h-hit-pic { flex: 0 0 64px; width: 64px; height: 64px; overflow: hidden; border-radius: 3px; background: var(--soft); }
.h-hit .h-hit-pic svg, .h-hit .h-hit-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── 아바타 ── */
.av { display: inline-block; flex: 0 0 auto; overflow: hidden; border-radius: 50%; background: var(--soft-2); vertical-align: middle; }
.av.s20 { width: 20px; height: 20px; } .av.s26 { width: 26px; height: 26px; } .av.s30 { width: 30px; height: 30px; } .av.s34 { width: 34px; height: 34px; } .av.s36 { width: 36px; height: 36px; } .av.s56 { width: 56px; height: 56px; }
.av svg, .av img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── 블로그 머리 ── */
.b-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.b-cover { position: relative; height: 240px; margin-top: 18px; overflow: hidden; background: #2d3a55; }
.b-cover-art, .b-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.45)); }
.b-cover-txt { position: absolute; left: 32px; bottom: 24px; z-index: 1; color: #fff; }
.b-cover-txt h1 { margin: 0; font-size: 32px; letter-spacing: -0.05em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
.b-cover-txt p { margin: 2px 0 0; font-size: 14px; opacity: 0.88; }
.b-tabs { display: flex; align-items: center; gap: 26px; height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.b-tabs a { color: var(--ink-2); }
.b-tabs a.on { color: var(--ink); font-weight: 800; }
.b-tabs a:hover { color: var(--ink); }
.b-tabs-since { margin-left: auto; color: var(--ink-4); font-size: 12px; }
.b-grid { display: grid; grid-template-columns: 220px 1fr; gap: 50px; padding: 30px 0 80px; }

/* ── 사이드 ── */
.b-side { display: grid; align-content: start; gap: 0; font-size: 13px; }
.b-prof { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.b-prof-pic { width: 220px; height: 220px; overflow: hidden; border-radius: 2px; background: var(--soft); }
.b-prof-pic svg, .b-prof-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-prof-nick { margin: 14px 0 2px; font-size: 15px; }
.b-prof-nick span { color: var(--ink-3); font-size: 13px; }
.b-prof-intro { margin: 0 0 14px; color: var(--ink-2); line-height: 1.6; word-break: keep-all; }
.b-prof-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.b-prof-btns button { padding: 7px 0; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; font-size: 12.5px; }
.b-prof-btns button:first-child { border-color: var(--ink); font-weight: 700; }
.b-sbox { padding: 18px 0; border-bottom: 1px solid var(--line); }
.b-sbox h3 { margin: 0 0 10px; font-size: 13px; }
.b-sbox h3 span { color: var(--ink-3); font-weight: 500; }
.b-cats { margin: 0; padding: 0; list-style: none; }
.b-cats li a { display: block; padding: 3px 0; color: var(--ink-2); }
.b-cats li i { margin: 0 4px 0 2px; font-style: normal; color: var(--ink-4); }
.b-cats li span { color: var(--ink-4); font-size: 12px; }
.b-cats li.on a { color: var(--ink); font-weight: 700; }
.b-cats li a:hover { text-decoration: underline; }
.b-visit { display: grid; grid-template-columns: 1fr 1fr; text-align: center; }
.b-visit div + div { border-left: 1px solid var(--line); }
.b-visit span { display: block; color: var(--ink-3); font-size: 11px; letter-spacing: 0.08em; }
.b-visit b { font-size: 16px; font-variant-numeric: tabular-nums; }
.b-visit div:first-child b { color: #c4392d; }
.b-nbrs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.b-nbrs li { display: flex; align-items: center; gap: 8px; }
.b-nbrs .nick { font-weight: 500; color: var(--ink-2); }
.b-nbrs .new { padding: 0 4px; border-radius: 2px; background: #c4392d; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; line-height: 15px; }
.b-recent { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.b-recent a { display: grid; gap: 1px; }
.b-recent a { min-width: 0; }
.b-recent .t { overflow: hidden; color: var(--ink-2); line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.b-recent a:hover .t { text-decoration: underline; }
.b-recent .m { color: var(--ink-4); font-size: 11.5px; }

/* ── 글 목록 ── */
.b-list-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.b-list-head h2 { margin: 0; font-size: 16px; }
.b-list-head h2 span { color: #c4392d; }
.b-view { display: flex; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; }
.b-view button { padding: 4px 10px; border: 0; background: #fff; color: var(--ink-3); font-size: 12px; }
.b-view button + button { border-left: 1px solid var(--line-2); }
.b-view button.on { background: var(--soft); color: var(--ink); font-weight: 700; }
.b-list { margin: 0; padding: 0; list-style: none; }
.b-item a { display: flex; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.b-item-txt { display: grid; flex: 1; gap: 4px; min-width: 0; }
.b-item-cat { color: var(--ink-3); font-size: 12px; }
.b-item-title { font-size: 17px; line-height: 1.45; letter-spacing: -0.03em; }
.b-item a:hover .b-item-title { text-decoration: underline; }
.b-item-first { display: -webkit-box; overflow: hidden; color: var(--ink-2); font-size: 13.5px; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.b-item-meta { display: flex; gap: 10px; margin-top: 3px; color: var(--ink-4); font-size: 12px; }
.b-item-meta .lk::before { content: "♥ "; color: var(--heart); }
.is-locked .b-item-first { color: var(--ink-3); }
.b-th { flex: 0 0 132px; width: 132px; height: 96px; overflow: hidden; border-radius: 2px; background: var(--soft); }
.b-th > svg, .b-th > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-th-lock { display: grid; place-items: center; background: var(--soft); }
.b-th-lock i { position: relative; width: 22px; height: 18px; margin-top: 8px; border-radius: 3px; background: var(--ink-4); }
.b-th-lock i::before { content: ""; position: absolute; left: 4px; top: -10px; width: 10px; height: 12px; border: 2.5px solid var(--ink-4); border-bottom: 0; border-radius: 7px 7px 0 0; }
.b-main.is-list .b-item a { padding: 11px 0; }
.b-main.is-list .b-item-first, .b-main.is-list .b-th, .b-main.is-list .b-item-cat { display: none; }
.b-main.is-list .b-item-txt { grid-template-columns: 1fr auto; align-items: baseline; }
.b-main.is-list .b-item-title { font-size: 14.5px; font-weight: 500; }
.b-main.is-list .b-item-meta { margin: 0; }
.lock { display: inline-block; position: relative; width: 11px; height: 9px; margin: 0 7px 0 1px; border-radius: 2px; background: currentColor; vertical-align: 0; }
.lock::before { content: ""; position: absolute; left: 2px; top: -6px; width: 4px; height: 6px; border: 1.6px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
.b-pages { display: flex; justify-content: center; gap: 4px; margin-top: 30px; font-size: 13px; }
.b-pages a, .b-pages strong { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 2px; }
.b-pages strong { border: 1px solid var(--ink); }
.b-pages a:hover { background: var(--soft); }
.b-pages .nx { color: var(--ink-3); }

/* ── 글 보기 ── */
.b-post-cat { display: inline-block; margin-bottom: 8px; color: var(--ink-3); font-size: 13px; }
.b-post-cat:hover { text-decoration: underline; }
.b-post-title { margin: 0 0 16px; font-size: 27px; line-height: 1.4; letter-spacing: -0.04em; }
.b-post-meta { display: flex; align-items: center; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.b-post-meta .dt { color: var(--ink-3); }
.b-post-meta .sp { flex: 1; }
.b-url { padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; color: var(--ink-3); font-size: 12px; }
.b-body { padding-top: 30px; font-size: 16px; line-height: 1.9; letter-spacing: -0.015em; }
.b-body p { margin: 0 0 22px; }
.b-body blockquote { margin: 0 0 22px; padding: 14px 18px; border-left: 3px solid var(--line-2); background: var(--soft); color: var(--ink-2); font-size: 15px; }
.b-body .b-cap, .b-secret .b-cap { margin: -12px 0 30px; color: var(--ink-3); font-size: 13px; text-align: center; }
.sd-figure { margin: 4px 0 18px; }
.sd-figure.has-img .sd-img { display: block; width: 100%; height: auto; border-radius: 2px; }
.sd-figure.has-img .sd-alt, .sd-figure.is-ledger .sd-alt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sd-ph { display: grid; place-items: center; aspect-ratio: 3 / 2; border-radius: 2px; background: var(--soft-2); }
.sd-ph::before { content: ""; width: 44px; height: 34px; border: 2px solid var(--ink-4); border-radius: 4px; background: linear-gradient(135deg, transparent 52%, var(--ink-4) 52% 58%, transparent 58%) 0 6px / 100% 100% no-repeat; }
.sd-alt { margin-top: 8px; color: var(--ink-3); font-size: 13px; text-align: center; }
.is-ledger .ledger { display: block; width: 100%; height: auto; border-radius: 2px; }
.sd-figure.has-img { position: relative; }

/* 운행 일기: 큰 날짜 */
.b-stamp { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: end; margin-top: 26px; padding: 18px 22px; border: 1px solid var(--line-2); border-left: 4px solid var(--ink); background: var(--soft); }
.b-stamp strong { grid-row: 1 / 3; font-size: 52px; line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.b-stamp-no { color: var(--ink-3); font-size: 12.5px; font-weight: 700; }
.b-stamp-y { color: var(--ink-2); font-size: 15px; font-weight: 600; }
.is-drive .b-body { padding-top: 24px; }

/* 지도 첨부 */
.b-map { margin: 6px 0 14px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; }
.b-map-top { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.b-map-ic { position: relative; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: var(--heart); transform: rotate(-45deg); }
.b-map-ic::after { content: ""; position: absolute; left: 4px; top: 4px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.b-map-route { margin-left: 6px; color: var(--ink-2); font-weight: 500; }
.b-map .hmap { display: block; width: 100%; aspect-ratio: 16 / 10; }
.b-map-foot { display: flex; align-items: center; gap: 18px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.b-map-foot b { margin-left: 2px; color: var(--ink); }
.lg i { display: inline-block; width: 26px; height: 0; margin-right: 7px; vertical-align: middle; }
.lg-rt i { border-top: 5px solid #2f63d0; border-radius: 3px; }
.lg-sh i { border-top: 3px dashed #3d3d3d; }
.b-map-src { margin-left: auto; color: var(--ink-4); font-size: 11.5px; }
.hmap { font-family: var(--sans); }
.hmap .rd-c, .hmap .rd, .hmap .rt, .hmap .rt-u, .hmap .rt-sh, .hmap .rt-sh-u, .hmap .riv, .hmap .rail-b, .hmap .rail-w { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hmap .rd-c { stroke: #d9d3c6; }
.hmap .rd { stroke: #fff; }
.hmap .rd-c.rd-mj { stroke: #e2cd95; }
.hmap .rd.rd-mj { stroke: #fbefc6; }
.hmap .riv { stroke: #c3d8ea; }
.hmap .mt1 { fill: #dee7d1; }
.hmap .mt2 { fill: #d2ddc3; }
.hmap .mt3 { fill: #c5d3b5; }
.hmap .park { fill: #d6e7c9; }
.hmap .lake { fill: #c3d8ea; stroke: #aac5dc; stroke-width: 2; }
.hmap .rail-b { stroke: #9a9a96; stroke-linecap: butt; }
.hmap .rail-w { stroke: #fff; stroke-linecap: butt; }
.hmap .stn { fill: #66625a; }
.hmap .apt { fill: #d3ccbd; stroke: #bfb7a6; stroke-width: 1.2; }
.hmap .whs { fill: #d6d6d3; stroke: #bcbcb8; stroke-width: 1.5; }
.hmap .hs { fill: #e0d4bf; stroke: #cbbda5; }
.hmap text { paint-order: stroke; stroke-linejoin: round; }
.hmap .ml { fill: #57534b; font-weight: 700; stroke: #f5f3ee; stroke-width: 0.3em; }
.hmap .mw { fill: #5a83a6; font-weight: 600; stroke: #e9f1f8; stroke-width: 0.26em; }
.hmap .mg { fill: #607b4d; font-weight: 700; stroke: #eef3e8; stroke-width: 0.26em; }
.hmap .mrd { fill: #8b7c56; font-weight: 600; stroke: #fff; stroke-width: 0.28em; }
.hmap .rt-u { stroke: #fff; }
.hmap .rt { stroke: #2f63d0; }
.hmap .rt-sh-u { stroke: #fff; stroke-opacity: 0.95; }
.hmap .rt-sh { stroke: #353535; stroke-linecap: butt; }
.hmap .pin-to path { fill: var(--heart); stroke: #fff; stroke-width: 2.4; }
.hmap .pin-from circle:first-child { fill: #1f1f1f; stroke: #fff; stroke-width: 3; }
.hmap .chip-rt rect { fill: #2f63d0; }
.hmap .chip-rt text { fill: #fff; font-weight: 800; stroke: none; }
.hmap .chip-sh rect { fill: #fff; stroke: #353535; stroke-width: 1.5; }
.hmap .chip-sh text { fill: #353535; font-weight: 800; stroke: none; }
.hmap .pinlab text { fill: #1f1f1f; font-weight: 800; stroke: #fff; stroke-width: 0.32em; }
.hmap .cmp circle { fill: rgba(255, 255, 255, 0.94); stroke: #c9c9c5; stroke-width: 1.2; }
.hmap .cmp-n { fill: #d33a2c; }
.hmap .cmp-s { fill: #b3b3ae; }
.hmap .cmp text { fill: #2b2b2b; font-weight: 800; stroke: #fff; stroke-width: 0.3em; }
.hmap .scl path { fill: none; stroke: #4d4d4d; }
.hmap .scl text { fill: #4d4d4d; font-weight: 600; stroke: #fff; stroke-width: 0.3em; }
.hmap .closed > circle { fill: #d33a2c; stroke: #fff; stroke-width: 2.5; }
.hmap .closed > path { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.hmap .closed rect { fill: #fff; stroke: #d33a2c; stroke-width: 1.5; }
.hmap .closed text { fill: #d33a2c; font-weight: 800; stroke: none; }

/* 공감 · 댓글 */
.b-like { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.like { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px 7px 12px; border: 1px solid var(--line-2); border-radius: 20px; background: #fff; font-size: 13.5px; }
.like svg path { fill: none; stroke: var(--heart); stroke-width: 1.8; }
.like b { font-variant-numeric: tabular-nums; }
.like[aria-pressed="true"] { border-color: var(--heart); color: var(--heart); }
.like[aria-pressed="true"] svg path { fill: var(--heart); }
.like.pop svg { animation: pop 0.3s; }
@keyframes pop { 50% { transform: scale(1.35); } }
.cm-n { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 20px; font-size: 13.5px; color: var(--ink-2); }
.b-cmts { padding-top: 24px; }
.b-cmts h3 { margin: 0 0 6px; font-size: 14px; }
.b-cmts h3 b { color: #c4392d; }
.cms { margin: 0; padding: 0; list-style: none; }
.cm { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cm.is-reply { padding-left: 46px; background: linear-gradient(90deg, transparent 30px, var(--soft) 30px); }
.cm.is-reply .av { margin-left: 12px; }
.cm-b { flex: 1; min-width: 0; }
.cm-h { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; }
.cm-h em { padding: 0 5px; border: 1px solid var(--ink-4); border-radius: 2px; color: var(--ink-3); font-size: 10.5px; font-style: normal; line-height: 15px; }
.cm-t { margin: 3px 0 4px; font-size: 14px; line-height: 1.65; word-break: keep-all; }
.cm-d { display: flex; gap: 12px; margin: 0; color: var(--ink-4); font-size: 12px; }
.cm-d span { color: var(--ink-3); }
.cm.is-del p { margin: 0; color: var(--ink-4); }
.cm-none { padding: 16px 0; color: var(--ink-3); }
.cm-form { display: flex; gap: 8px; margin-top: 16px; }
.cm-form textarea { flex: 1; height: 64px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--soft); resize: none; font-size: 13px; }
.cm-form button { width: 72px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; color: var(--ink-3); font-size: 13px; }
.cm-form-r { display: flex; flex-direction: column; gap: 6px; }
.cm-form-r button { flex: 1; }
.cm-sec { display: flex; align-items: center; gap: 4px; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.cm-sec input { margin: 0; }
.cm.is-secret { display: block; }
.cm.is-secret p { display: flex; align-items: center; font-size: 13.5px; }
.cm.is-secret .cm-d { margin-top: 4px; font-size: 12px; }
.cm-d .cm-rp { color: var(--ink-4); }

.b-more { margin-top: 44px; border: 1px solid var(--line-2); border-radius: 3px; }
.b-more h3 { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.b-more h3 a { color: var(--link); }
.b-more ul { margin: 0; padding: 6px 16px; list-style: none; font-size: 13.5px; }
.b-more li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; }
.b-more li a { overflow: hidden; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.b-more li a:hover { text-decoration: underline; }
.b-more li em { color: #c4392d; font-style: normal; font-size: 12px; }
.b-more li span { flex: 0 0 auto; color: var(--ink-4); font-size: 12px; }
.b-more li.on a { color: var(--ink); font-weight: 700; }
.b-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.b-pager a { display: grid; gap: 2px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 3px; font-size: 13.5px; }
.b-pager a span { color: var(--ink-3); font-size: 11.5px; }
.b-pager a.next { text-align: right; }
.b-pager a:hover { border-color: var(--line-2); background: var(--soft); }

/* ── 보호글 ── */
.b-secret { margin-top: 30px; }
.b-lock { padding: 40px 30px 30px; border: 1px solid var(--line-2); border-radius: 3px; text-align: center; background: linear-gradient(var(--soft), #fff 140px); }
.b-lock-icon { display: inline-block; position: relative; width: 26px; height: 21px; margin: 12px 0 14px; border-radius: 4px; background: var(--ink-2); }
.b-lock-icon::before { content: ""; position: absolute; left: 5px; top: -13px; width: 12px; height: 14px; border: 3px solid var(--ink-2); border-bottom: 0; border-radius: 9px 9px 0 0; }
.b-lock-title { margin: 0 0 2px; font-size: 18px; font-weight: 800; }
.b-lock-sub { margin: 0 0 18px; color: var(--ink-3); font-size: 13.5px; }
.b-lock-hint { display: inline-grid; gap: 2px; margin: 0 0 24px; padding: 11px 20px; border: 1px dashed var(--ink-4); border-radius: 3px; background: #fff; }
.b-lock-hint span { color: var(--ink-3); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; }
.b-lock-hint strong { font-size: 15px; }
.compass { display: grid; justify-items: center; gap: 16px; }
.compass-rose { position: relative; display: grid; grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(3, 56px); gap: 6px; }
.cr-ring { position: absolute; inset: 27px; border: 1px dashed var(--line-2); border-radius: 50%; }
.compass-rose button { position: relative; z-index: 1; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; color: var(--ink); font-size: 15px; font-weight: 800; transition: background 0.12s, color 0.12s, transform 0.12s; }
.compass-rose button:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.compass-rose button:active { transform: scale(0.93); }
.cr-n { grid-area: 1 / 2; }
.cr-w { grid-area: 2 / 1; }
.cr-e { grid-area: 2 / 3; }
.cr-s { grid-area: 3 / 2; }
.cr-c { grid-area: 2 / 2; align-self: center; justify-self: center; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-2); }
.compass-slots { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.compass-slots li { display: grid; place-items: center; width: 52px; height: 58px; border: 1px dashed var(--ink-4); border-radius: 3px; background: #fff; }
.compass-slots li i { color: var(--ink-4); font-size: 11px; font-style: normal; line-height: 1; }
.compass-slots li b { min-height: 22px; font-size: 17px; line-height: 22px; }
.compass-slots li.on { border-style: solid; border-color: var(--ink); }
.compass-slots li.on i { color: var(--ink-3); }
.compass-actions { display: flex; gap: 8px; }
.compass-actions button { padding: 8px 20px; border: 1px solid var(--line-2); border-radius: 3px; background: #fff; font-size: 13.5px; }
.compass-actions button[type="submit"] { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 700; }
.compass-actions button[disabled] { opacity: 0.35; cursor: default; }
.compass-msg { min-height: 20px; margin: 0; font-size: 13.5px; font-weight: 700; }
.compass-msg[data-kind="error"] { color: #a2342a; }
.compass-more { max-width: 500px; margin: -8px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.compass-more.is-jimkan { padding: 9px 14px; border-radius: 3px; background: var(--soft); color: var(--ink-2); }
.compass-more.is-jimkan span { display: block; color: var(--ink-3); font-size: 11.5px; font-weight: 700; }
.compass.shake { animation: shake 0.3s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.b-lock-links { display: flex; justify-content: center; gap: 14px; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; }
.b-lock-links a { color: var(--link); }
.b-lock-links a:hover { text-decoration: underline; }
.b-secret[data-piece-status="open"] { font-size: 16px; line-height: 1.9; }
.b-secret[data-piece-status="open"] p { margin: 0 0 22px; }
.b-secret[data-piece-status="open"] .sd-body > blockquote { margin: 0 0 22px; padding: 14px 18px; border-left: 3px solid var(--line-2); background: var(--soft); font-size: 15px; }
/* 태오의 카톡 (열리면 JS가 말풍선으로 바꾼다) */
.chat { max-width: 470px; margin: 4px 0 30px; overflow: hidden; border-radius: 3px; background: #b9c8d6; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.chat-top { display: flex; justify-content: space-between; padding: 10px 14px; background: rgba(255, 255, 255, 0.35); color: #2b3440; font-size: 13px; font-weight: 700; }
.chat-top span { font-weight: 500; color: #4b5866; }
.chat-day { margin: 12px auto 4px; padding: 2px 12px; width: max-content; border-radius: 10px; background: rgba(0, 0, 0, 0.14); color: #fff; font-size: 11.5px; }
.chat-body { display: grid; gap: 5px; padding: 6px 14px 16px 12px; }
.chat-row { display: grid; grid-template-columns: 38px 1fr; gap: 8px; }
.chat-row .av { width: 38px; height: 38px; border-radius: 14px; }
.chat-row .who { margin: 0 0 3px; color: #36414d; font-size: 12px; }
.chat-msgs { display: grid; justify-items: start; gap: 4px; }
.chat-b { position: relative; max-width: 330px; padding: 7px 10px; border-radius: 4px 12px 12px 12px; background: #fff; color: #1b1b1b; }
.chat-b + .chat-b { border-radius: 12px; }
.chat-t { align-self: end; color: #4b5866; font-size: 10.5px; }
.chat-last { display: flex; gap: 6px; align-items: end; }
.chat-me { display: flex; justify-content: flex-end; gap: 6px; align-items: end; margin-top: 6px; }
.chat-me .chat-b { background: #fbe970; border-radius: 12px 4px 12px 12px; }

/* 엔딩 뒤 새 글 */
.b-new:not([data-piece-status="open"]) { display: none; }
.b-new { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
.b-new .sd-post { display: grid; gap: 4px; }
.b-new .sd-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--ink-4); font-size: 12px; }
.b-new .sd-f-title { order: -1; width: 100%; color: var(--ink); font-size: 17px; font-weight: 700; }
.b-new .sd-f-title::before { content: "새 글"; margin-right: 8px; padding: 1px 5px; border-radius: 2px; background: #c4392d; color: #fff; font-size: 10.5px; vertical-align: 2px; }
.b-new .sd-body { font-size: 14.5px; color: var(--ink-2); }
.b-new .sd-body p { margin: 0 0 12px; }
.b-new .sd-figure { max-width: 480px; }

/* 프로필 창 · 알림 */
.h-pop { position: absolute; z-index: 50; width: 250px; padding: 16px; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12); font-size: 13px; }
.h-pop-top { display: flex; gap: 12px; align-items: center; }
.h-pop-top .av { width: 56px; height: 56px; }
.h-pop-nick { margin: 0; font-size: 15px; font-weight: 800; }
.h-pop-blog { margin: 0; color: var(--ink-3); font-size: 12px; }
.h-pop dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.h-pop dt { color: var(--ink-3); }
.h-pop dd { margin: 0; font-weight: 600; }
.h-pop-intro { margin: 10px 0 0; color: var(--ink-2); }
.h-pop-intro.none { color: var(--ink-4); }
.h-hits-n { margin: 14px 0 0; color: var(--ink-3); font-size: 12.5px; }
.h-pop-go { display: block; margin-top: 12px; padding: 7px 0; border: 1px solid var(--line-2); border-radius: 3px; text-align: center; font-size: 12.5px; }
.h-pop-go.off { color: var(--ink-4); }
.h-pop-x { position: absolute; right: 8px; top: 6px; border: 0; background: none; color: var(--ink-3); font-size: 18px; }
.h-toast { position: fixed; left: 50%; top: 76px; z-index: 60; padding: 10px 18px; border-radius: 3px; background: rgba(27, 27, 27, 0.92); color: #fff; font-size: 13px; transform: translateX(-50%); }

/* ── 바닥 ── */
.h-foot { padding: 30px 24px 90px; border-top: 1px solid var(--line); background: var(--soft); color: var(--ink-3); font-size: 12px; text-align: center; }
.h-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 14px; }
.h-foot nav b { color: var(--ink-2); }
.h-foot-brand { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 0 0 4px; }
.h-foot .h-logo-text { font-size: 13px; color: var(--ink-2); }
.h-foot .h-logo-mark { transform: scale(0.7); }
.h-foot-copy { margin: 0 0 6px; }
.sd-fiction { color: var(--ink-4); font-size: 11px; }
.h-hit .h-hit-pic .av { width: 100%; height: 100%; border-radius: 0; }
