/* 동네보물지도 — 신뢰감 있는 정보 블로그: 남색·청록, 정돈된 카드, 숫자 정렬 */
:root {
  --navy: #1A365D; --navy-2: #142B4A; --ink: #16202E; --muted: #556070; --line: #DDE3EA; --line-2: #EEF1F5; --surface: #F5F7FA;
  --teal: #0E7C6B; --teal-bg: #E3F4EF; --teal-ink: #0B5F52; --amber: #B76E00; --amber-bg: #FFF1DB; --amber-ink: #7F4C00;
  --blue-bg: #E6EEF9; --blue-ink: #1E4F94; --violet: #7C5CC4; --violet-bg: #F0EBFA; --violet-ink: #5A3FA0;
  --body: 'IBM Plex Sans KR', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 16px/1.7 var(--body); word-break: keep-all; overflow-wrap: anywhere; font-feature-settings: 'tnum'; }
a { color: var(--navy); }
a:hover { color: var(--teal); }
img { max-width: 100%; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.35; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 820px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pad { padding: 22px; }
.preview-bar { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 6px; }
.preview-bar a { color: #A9D8CF; }

/* ── 머리 ── */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; flex: none; }
.logo:hover { color: var(--navy); }
.logo-sm { font-size: 17px; }
.main-nav { display: flex; gap: 22px; flex: 1; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: 22px 2px; border-bottom: 2px solid transparent; }
.main-nav a.on, .main-nav a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.header-tools { display: flex; gap: 8px; align-items: center; }
.region-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #EEF3F9; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 14px; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
@media (max-width: 960px) {
  .header-row { flex-wrap: wrap; gap: 10px; padding-top: 10px; }
  .main-nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 16px; }
  .main-nav a { padding: 8px 2px 12px; white-space: nowrap; }
  .header-tools { margin-left: auto; }
}
.top-ad { margin-top: 16px; }

/* ── 버튼·칩 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 10px; font: 600 15px var(--body);
  text-decoration: none; border: 1px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.btn:hover { background: #EEF3F9; color: var(--navy); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-ghost { border-style: dashed; }
.btn-sm { min-height: 32px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap; background: #EEF0F3; color: #334155; text-decoration: none; }
.s-now { background: var(--teal-bg); color: var(--teal-ink); } .s-soon { background: var(--amber-bg); color: var(--amber-ink); }
.s-plan { background: var(--blue-bg); color: var(--blue-ink); } .s-end { background: #EEF0F3; color: #475161; } .s-always { background: #EEF0F3; color: #334155; }
.k-benefit { background: var(--blue-bg); color: var(--blue-ink); } .k-festival, .k-weekend { background: var(--teal-bg); color: var(--teal-ink); }
.k-kids { background: var(--violet-bg); color: var(--violet-ink); }
.chip.tv { background: var(--amber-bg); color: var(--amber-ink); }

/* ── 광고 ── */
.ad-ph { border: 1px dashed #C5CDD8; border-radius: 10px; background: #FAFBFC; color: #6B7585; font-size: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 90px; margin: 20px 0; }
.ad-ph span { font-size: 11px; }
.ad-ph-sidebar { min-height: 250px; }
.ad-wrap { margin: 24px 0; }
.ad-label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }

/* ── 홈 ── */
.hero { background: var(--navy); color: #fff; margin-top: 16px; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 40px; padding-top: 48px; padding-bottom: 48px; align-items: center; }
.eyebrow { color: #A9D8CF; font-weight: 600; font-size: 14px; }
.hero h1 { font-size: clamp(30px, 4.5vw, 44px); margin: 10px 0 14px; }
.hero p { color: #D6DFEA; margin: 0 0 22px; max-width: 560px; }
.region-form { display: flex; gap: 8px; flex-wrap: wrap; }
.region-form select, .region-form input { min-height: 48px; border-radius: 10px; border: 0; padding: 0 14px; font: 15px var(--body); color: var(--ink); }
.region-form input { flex: 1 1 160px; }
.hero-panel { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 22px; }
.hero-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 12px 0; }
.hero-panel dt { color: #C7D3E3; } .hero-panel dd { margin: 0; text-align: right; font-weight: 700; }
.hero-panel p { font-size: 13px; color: #C7D3E3; margin: 0; }
@media (max-width: 860px) { .hero-row { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 32px; } }

.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-top: 28px; padding-bottom: 64px; align-items: start; }
@media (max-width: 1000px) { .with-side { grid-template-columns: minmax(0, 1fr); } .sidebar { position: static; } }
.content { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sec { margin-bottom: 24px; }
.sec h2 { font-size: 21px; margin: 0 0 12px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-head a { font-size: 14px; font-weight: 600; }
.empty-inline { color: var(--muted); }

.rows { overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
.row:last-child { border-bottom: 0; }
.row:hover { background: #F8FAFC; color: var(--ink); }
.row b { flex: 1; font-weight: 600; min-width: 0; }
.row .meta { font-size: 13px; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { .row { flex-wrap: wrap; gap: 6px 10px; } .row b { flex-basis: 100%; order: 2; } .row .meta { order: 3; } }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.pcard:hover { border-color: var(--navy); color: var(--ink); }
.pcard-img { aspect-ratio: 16 / 10; background: repeating-linear-gradient(135deg, #E8EDF3 0 12px, #EFF3F7 12px 24px); display: flex; align-items: center; justify-content: center; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-icon { color: var(--muted); font-size: 13px; }
.pcard-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.pcard h3 { margin: 0; font-size: 17px; }
.pcard .meta { margin: 0; font-size: 13px; color: var(--muted); }

.sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.trust h2 { font-size: 16px; margin: 0 0 10px; }
.trust ol { margin: 0 0 10px; padding-left: 20px; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.trust b { display: block; }
.trust a { font-size: 14px; font-weight: 600; }

/* ── 목록·지역 ── */
.crumbs { font-size: 14px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(26px, 3.5vw, 32px); margin: 8px 0 4px; }
.page-head p { margin: 0 0 12px; }
.region-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; }
.region-chips a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid #C9D2DD; border-radius: 17px; background: #fff; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.region-chips a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.region-head { background: #fff; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.region-head h1 { font-size: clamp(26px, 3.5vw, 32px); margin: 8px 0 4px; }
.region-head p { margin: 0 0 10px; font-size: 15px; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; padding: 16px 0 64px; }
.region-grid h2 { font-size: 18px; margin: 0 0 6px; }
.region-grid .sgg { margin: 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.pager { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.empty-page { text-align: center; padding: 80px 0; }

/* ── 글 ── */
.post { gap: 20px; }
.admin-note { background: var(--amber-bg); color: var(--amber-ink); padding: 10px 14px; border-radius: 10px; margin-top: 16px; font-size: 14px; }
.post-head h1 { font-size: clamp(26px, 3.6vw, 34px); margin: 10px 0 8px; }
.post-head .meta { color: var(--muted); font-size: 14px; margin: 0; }
.ended-box { background: #EEF0F3; border-radius: 10px; padding: 12px 16px; font-size: 15px; }
.cover { margin: 0; }
.cover img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); display: block; background: var(--line-2); }
.cover.no-crop img { object-fit: contain; max-height: none; }
.cover figcaption, .fig figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.fig { margin: 0; } .fig img { width: 100%; border-radius: 10px; }
.glance { padding: 22px; }
.glance h2 { font-size: 19px; margin: 0 0 14px; display: flex; gap: 8px; align-items: center; }
.kv { display: grid; grid-template-columns: 120px minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line-2); }
.kv dt { padding: 11px 12px; background: #F8FAFC; color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--line-2); }
.kv dd { margin: 0; padding: 11px 14px; border-bottom: 1px solid var(--line-2); white-space: pre-line; }
@media (max-width: 560px) { .kv { grid-template-columns: 88px minmax(0, 1fr); } }
.glance-cta { margin-top: 16px; }
.src-line { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.prose { font-size: 17px; line-height: 1.85; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 4px; }
.prose img { border-radius: 10px; height: auto; }
.prose figure { margin: 16px 0; }
.prose figcaption { font-size: 13px; color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0 0 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: #F8FAFC; }
.prose.lead { font-size: 18px; }
.note-box { border: 1px solid #CFE3DE; background: #F2FAF8; border-radius: var(--radius); padding: 20px 22px; }
.note-box h2 { font-size: 18px; color: var(--teal-ink); margin: 0 0 8px; display: flex; gap: 6px; align-items: center; }
.note-box .prose { font-size: 16px; }
.faq h2, .food h2, .list-block h2, .sources h2, .related h2 { font-size: 21px; margin: 0 0 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style-position: inside; }
.faq details p { margin: 0; padding: 0 18px 16px; color: #334155; }
.list-block { padding: 22px; }
.evlist { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.evlist .sub { display: block; font-size: 14px; color: var(--muted); }
.map { height: 340px; border-radius: var(--radius); border: 1px solid var(--line); background: #EEF3F1; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.map-hub { height: 400px; }
.map-loading { color: var(--muted); font-size: 14px; }
.map-pin { all: unset; cursor: pointer; display: block; }
.map-tip { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 13px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.legend { font-size: 13px; color: var(--muted); display: flex; gap: 14px; align-items: center; margin: 0 0 12px; flex-wrap: wrap; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.dot-main { background: var(--navy); } .dot-tv { background: var(--amber); } .dot-food { background: var(--teal); }
.table-wrap { overflow-x: auto; position: relative; }
.food-table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.food-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 10px 14px; background: #F8FAFC; border-bottom: 1px solid var(--line); }
.food-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.food-table .sub { display: block; font-size: 13px; color: var(--muted); }
.note-small { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.sources { padding: 22px; }
.sources .links { margin: 0 0 12px; padding-left: 20px; }
.sources .srcs { margin: 0 0 12px; padding-left: 20px; font-size: 14px; color: #334155; }
.disclaimer { font-size: 13px; color: var(--muted); margin: 0; border-top: 1px solid var(--line-2); padding-top: 12px; }

/* ── 검색·양식 ── */
.search-form { display: flex; gap: 8px; margin: 12px 0 20px; }
.search-form input { flex: 1; min-height: 48px; border: 1px solid #C9D2DD; border-radius: 10px; padding: 0 14px; font: 16px var(--body); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { min-height: 44px; border: 1px solid #C9D2DD; border-radius: 10px; padding: 8px 12px; font: 15px var(--body); }
.hp { position: absolute; left: -9999px; }
.ok { color: var(--teal-ink); font-weight: 600; } .err { color: #8A1C1C; font-weight: 600; }
.static h1 { font-size: 28px; margin-top: 0; }
.static h2 { font-size: 19px; margin: 24px 0 6px; }

/* ── 바닥 ── */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 32px 0 20px; font-size: 14px; color: var(--muted); }
.footer-row { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr; gap: 32px; }
.footer-about p { margin: 10px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; align-content: flex-start; }
.footer-nav a { color: var(--ink); text-decoration: none; }
.copy { margin-top: 20px; font-size: 12px; }
@media (max-width: 760px) { .footer-row { grid-template-columns: 1fr; } }

/* ── 언어 · 좋아요 · 좋아요 단계 아이콘 ── */
.lang-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.lang-btn:hover { border-color: var(--navy); }
.hero-sm .wrap { padding-top: 36px; padding-bottom: 36px; }
.hero-sm h1 { margin: 8px 0 10px; }
.tier { display: inline-flex; width: 22px; height: 22px; vertical-align: -4px; margin-right: 7px; flex: none; }
.tier svg { width: 100%; height: 100%; display: block; }
.post-head h1 .tier { width: 32px; height: 32px; vertical-align: -3px; margin-right: 10px; }
.tier-legend { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.tier-legend li { display: inline-flex; align-items: center; }
.likes-mini { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; margin-left: 6px; vertical-align: -1px; }
.likes-mini .heart { display: block; }
.likes-mini .heart path { fill: #E5484D; }
.post-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* 좋아요: 테두리 없는 하트 + 숫자 */
.like { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: #6B7585; font: 600 15px var(--body); font-feature-settings: 'tnum'; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
.like:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.like .heart path { fill: transparent; stroke: currentColor; stroke-width: 1.8; transition: fill .2s, stroke .2s; }
.like:hover { color: #E5484D; }
.like.on { color: #E5484D; }
.like.on .heart path { fill: #E5484D; stroke: #E5484D; }
.like-icon { display: inline-flex; }
.like.pop .like-icon { animation: like-pop .35s ease-out; }
@keyframes like-pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .like.pop .like-icon { animation: none; } }
.like-inline { padding: 6px 4px; min-height: 40px; }
.like-box { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 16px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 8px 0; }
.like-box p { margin: 0; color: var(--muted); font-size: 15px; }
.like-big { flex-direction: column; gap: 4px; font-size: 14px; }
.like-big .like-icon { width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(22, 32, 46, .06); transition: background .2s, border-color .2s; }
.like-big:hover .like-icon { border-color: #F3B9BE; }
.like-big.on .like-icon { background: #FFF0F1; border-color: #F3B9BE; }

/* ── 본문 링크 미리보기 카드 ── */
.link-cards { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 18px; }
.link-card { display: flex; align-items: stretch; min-height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); max-width: 640px; }
.link-card:hover { border-color: var(--navy); color: var(--ink); }
.lc-thumb { flex: none; width: 132px; background: var(--line-2); display: flex; align-items: center; justify-content: center; }
.lc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.lc-ph { font-weight: 700; font-size: 26px; color: var(--muted); }
.lc-body { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 12px 16px; min-width: 0; }
.lc-body b { font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc-desc { font-size: 13px; color: #475161; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc-url { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .lc-thumb { width: 96px; } .link-card { min-height: 84px; } }
.dongne-note { margin: 6px 0 0; font-size: 14px; color: #A9D8CF; }
.dongne-note b { color: #fff; }

/* ── 청약·실거래: 주변 시설·표·숫자·그래프 ── */
.facil h2, .dtable h2, .bars h2 { font-size: 21px; margin: 0 0 12px; }
.facil-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.facil-card { padding: 16px 18px; }
.facil-card h3 { font-size: 16px; margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.facil-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.facil-card li { display: flex; flex-direction: column; }
.facil-card a { text-decoration: none; font-weight: 600; }
.facil-card .sub, .facil-card .dist { font-size: 13px; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; margin-right: 12px; }
.dot-school { background: #6B4EFF; } .dot-kinder { background: #E5487A; } .dot-subway { background: #2F7BF5; } .dot-mart { background: #D98A00; } .dot-hospital { background: #0E7C6B; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.stat span { font-size: 13px; color: var(--muted); }
.stat b { font-size: 24px; letter-spacing: -0.02em; font-feature-settings: 'tnum'; }
.stat small { font-size: 13px; color: var(--muted); }
.bars { padding: 20px 22px; }
.bars ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bars li { display: grid; grid-template-columns: 90px minmax(0, 1fr) 90px; gap: 10px; align-items: center; font-size: 14px; }
.bars .bt { height: 12px; background: var(--line-2); border-radius: 6px; overflow: hidden; }
.bars .bt i { display: block; height: 100%; background: var(--navy); border-radius: 6px; }
.bars li:last-child .bt i { background: var(--teal); }
.bars .bv { text-align: right; font-feature-settings: 'tnum'; color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .bars li { grid-template-columns: 64px minmax(0, 1fr) 70px; } }
.k-apt { background: #FCEBEF; color: #9B2C48; } .k-deal { background: #EEF0F3; color: #334155; }

/* ── 실거래가 찾기 ── */
.df-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 16px 20px; margin: 4px 0 18px; text-decoration: none; color: var(--ink); border-color: #C9D6E6; background: linear-gradient(90deg, #EEF3F9, #fff); }
.df-cta b { color: var(--navy); font-size: 17px; }
.df-cta span { grid-column: 1; font-size: 14px; color: var(--muted); }
.df-cta i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 22px; color: var(--navy); }
.df-cta:hover { border-color: var(--navy); color: var(--ink); }

.dealfind { padding-bottom: 48px; }
.df-hero { background: radial-gradient(120% 140% at 100% 0%, #24507F 0%, var(--navy) 45%, #112540 100%); color: #fff; padding: 22px 0 30px; }
.df-hero .crumbs, .df-hero .crumbs a { color: #A9BCD3; }
.df-hero h1 { font-size: clamp(26px, 4vw, 34px); margin: 6px 0 4px; color: #fff; }
.df-lead { margin: 0 0 18px; color: #C9D6E6; font-size: 15px; }
.df-search { position: relative; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 16px; box-shadow: 0 10px 30px rgba(5, 20, 40, .28); color: var(--muted); }
.df-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 16px var(--body); color: var(--ink); min-height: 44px; background: transparent; }
.df-search button { border: 0; border-radius: 10px; background: var(--teal); color: #fff; font: 600 15px var(--body); padding: 0 20px; min-height: 44px; cursor: pointer; }
.df-search button:hover { background: var(--teal-ink); }
.df-search:focus-within { box-shadow: 0 0 0 3px rgba(14, 124, 107, .45), 0 10px 30px rgba(5, 20, 40, .28); }
.df-results { position: absolute; z-index: 15; left: 0; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(5, 20, 40, .25); max-height: 360px; overflow: auto; }
.df-results button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; width: 100%; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.df-results button span { font-size: 13px; color: var(--muted); }
.df-results button:hover, .df-results button:focus-visible { background: #F1F5FA; }
.df-results .empty { padding: 12px; font-size: 14px; color: var(--muted); }
.df-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.df-steps label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: #A9BCD3; letter-spacing: .02em; }
.df-steps select { appearance: none; min-height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 0 34px 0 12px; font: 500 15px var(--body); color: #fff; min-width: 0;
  background: rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; }
.df-steps select:hover:not(:disabled) { background-color: rgba(255,255,255,.16); }
.df-steps select:disabled { opacity: .5; cursor: default; }
.df-steps option { color: var(--ink); background: #fff; }
@media (max-width: 560px) { .df-steps { grid-template-columns: 1fr 1fr; } .df-steps label:last-child { grid-column: 1 / -1; } .df-search button { padding: 0 14px; } }
.df-status { margin: 14px 0 0; font-size: 14px; color: #DCE6F2; }
.df-status:empty { display: none; }
.df-status.busy::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; vertical-align: -1px; animation: df-spin .8s linear infinite; }
.df-status.err { color: #FFD3CE; }
@keyframes df-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .df-status.busy::before { animation: none; } }

.df-body { padding-top: 24px; }
.df-body .disclaimer { margin-top: 28px; }
.df-apts, .df-apt { scroll-margin-top: 84px; }
.df-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.df-toolbar h2 { font-size: 22px; margin: 0; }
.df-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.df-seg { display: inline-flex; background: #E9EEF4; border-radius: 10px; padding: 3px; }
.df-seg button { border: 0; background: transparent; font: 600 13px var(--body); color: var(--muted); padding: 0 12px; min-height: 34px; border-radius: 8px; cursor: pointer; }
.df-seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(16, 32, 56, .15); }
.df-tools input { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: 14px var(--body); width: 180px; background: #fff; }
@media (max-width: 560px) { .df-tools { width: 100%; } .df-seg { flex: 1; } .df-seg button { flex: 1; padding: 0 6px; } .df-tools input { width: 100%; } }
.df-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.df-list li + li { border-top: 1px solid var(--line-2); }
.df-list button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 14px; align-items: center; padding: 14px 18px; }
.df-list button:hover, .df-list button:focus-visible { background: #F6F9FC; }
.df-list button:hover .go { color: var(--navy); transform: translateX(2px); }
.df-list .nm, .df-list .pr { display: flex; flex-direction: column; min-width: 0; }
.df-list .nm b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.df-list .pr { text-align: right; }
.df-list .pr b { font-size: 16px; color: var(--navy); font-feature-settings: 'tnum'; white-space: nowrap; }
.df-list .meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.df-list .meta em { font-style: normal; color: var(--teal-ink); font-weight: 600; }
.df-list .go { color: #A7B1BE; display: flex; transition: transform .15s, color .15s; }
.df-list .empty { padding: 18px; color: var(--muted); }
@media (max-width: 560px) { .df-list button { padding: 13px 14px; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; } .df-list .go { display: none; } }
.df-more { display: block; width: 100%; margin-top: 10px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 600 14px var(--body); color: var(--navy); cursor: pointer; }
.df-more:hover { border-color: var(--navy); }

.df-apt { display: flex; flex-direction: column; gap: 14px; }
.df-back { align-self: flex-start; border: 0; background: none; padding: 0; font: 600 14px var(--body); color: var(--muted); cursor: pointer; }
.df-back:hover { color: var(--navy); }
.df-apt-head h2 { margin: 0; font-size: clamp(24px, 3.4vw, 30px); color: var(--ink); }
.df-apt-head p { margin: 2px 0 8px; color: var(--muted); font-size: 14px; }
.df-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.df-tags span { font-size: 12px; font-weight: 600; color: var(--navy); background: #E9EFF6; border-radius: 6px; padding: 2px 8px; }
.df-areas { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.df-areas button { flex: none; display: inline-flex; align-items: baseline; gap: 5px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 14px var(--body); color: var(--ink); cursor: pointer; }
.df-areas button small { font-weight: 500; font-size: 12px; color: var(--muted); }
.df-areas button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.df-areas button[aria-selected="true"] small { color: #B9C9DC; }
.df-kpi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; }
.df-main { background: linear-gradient(150deg, var(--navy), #24507F); color: #fff; border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.df-main > span { font-size: 13px; color: #B9C9DC; }
.df-main b { font-size: clamp(28px, 4vw, 34px); letter-spacing: -0.02em; line-height: 1.2; font-feature-settings: 'tnum'; }
.df-main b small { font-size: 18px; margin-left: 3px; font-weight: 600; }
.df-main p { margin: 0; font-size: 13px; color: #DCE6F2; }
.df-main .chg { margin-top: auto; padding-top: 10px; font-weight: 600; }
.df-main .chg.up { color: #FFB4A8; } .df-main .chg.down { color: #9FD8FF; }
.df-sub { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.df-sub div { background: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.df-sub dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.df-sub dd { margin: 0; font-size: 18px; font-weight: 700; font-feature-settings: 'tnum'; display: flex; flex-direction: column; }
.df-sub dd small { font-size: 12px; font-weight: 400; color: var(--muted); }
@media (max-width: 680px) { .df-kpi { grid-template-columns: 1fr; } }
.df-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.df-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.df-card-head h3 { margin: 0; font-size: 17px; }
.legend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; margin-left: 6px; }
.lg-pt { width: 8px; height: 8px; border-radius: 50%; background: #5B7799; }
.lg-ln { width: 14px; height: 3px; border-radius: 2px; background: var(--teal); }
.lg-vol { width: 9px; height: 10px; border-radius: 2px; background: #C4D3E4; }
.df-chart-wrap { position: relative; }
.df-chart { width: 100%; height: auto; display: block; overflow: visible; }
.df-chart .grid { stroke: #EDF1F5; }
.df-chart .base { stroke: var(--line); }
.df-chart .ax { font-size: 11px; fill: #7A8594; font-family: var(--body); }
.df-chart .lab { font-weight: 600; }
.df-chart .hov { fill: transparent; cursor: pointer; }
.df-chart .hov.on { fill: rgba(26, 54, 93, .05); }
.df-chart .ln { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.df-chart .pt { fill: #5B7799; fill-opacity: .55; pointer-events: none; }
.df-chart .md { fill: #fff; stroke: var(--teal); stroke-width: 2.5; pointer-events: none; }
.df-chart .vol { fill: #C4D3E4; pointer-events: none; }
.df-chart .wip { opacity: .45; }
.df-chart .vn { font-size: 10px; fill: #5B6B80; font-family: var(--body); font-weight: 600; pointer-events: none; }
.df-tip { position: absolute; top: 0; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13px; line-height: 1.55; box-shadow: 0 8px 24px rgba(16, 32, 56, .14); pointer-events: none; white-space: nowrap; }
.df-table { width: 100%; border-collapse: collapse; font-size: 15px; font-feature-settings: 'tnum'; }
.df-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.df-table td { padding: 11px 6px; border-bottom: 1px solid var(--line-2); }
.df-table tr:last-child td { border-bottom: 0; }
.df-table .num { text-align: right; }
.badge-hi { font-size: 11px; font-weight: 700; color: #B42318; background: #FDECEA; border-radius: 5px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }
@media (max-width: 480px) { .df-table .hide-s { display: none; } }
.df-card .map { height: 280px; margin-bottom: 8px; }
.df-card .small.muted { margin: 0; }

.df-reports { margin-top: 36px; }
.df-sec-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.df-sec-head h2 { font-size: 21px; margin: 0; }
.df-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.df-chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.df-chips a small { font-size: 12px; color: #fff; background: var(--teal); border-radius: 999px; padding: 0 7px; line-height: 18px; }
.df-chips a:hover { border-color: var(--navy); color: var(--navy); }
.df-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 18px 10px 40px; border-radius: 999px; box-shadow: 0 10px 30px rgba(5, 20, 40, .3); white-space: nowrap; }
.df-toast::before { content: ''; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: df-spin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .df-toast::before { animation: none; } }
