/* hcmc.site 데스크톱(1000 이상) v4(12-01) - 시안 숫자 그대로 새로 씀(덧칠 아님). 명세 docs/design-v4-spec.md, 설계 docs/design.md 13장.
   base.html 이 media="(min-width:1000px)" 로 불러옴. 토큰 · 글꼴은 base.css. 모바일(m.css)과 규칙을 나누지 않음.
   틀: 콘텐츠 min(1440, 100vw − 2×gx) · 머리 64 한 줄 · 옅은 회색 바탕 + 흰 판(테두리 1px) · 가격은 검정 · 청록은 배지 · 활성 · 링크 · 내림에만.
   글자: 32/40 · 28/36 · 20/28 · 16/24 · 15/24 · 14/20 · 13/20 · 12/16, 굵기 400 · 500 · 600 · 700(800 은 상세 가격만) */

/* ================= 바탕 ================= */
html{scrollbar-gutter:stable;scroll-behavior:smooth;scroll-padding-top:80px;-webkit-text-size-adjust:100%}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:#C9D0D6;border-radius:4px}
::-webkit-scrollbar-track{background:transparent}
body{margin:0;font:400 15px/24px var(--font);color:var(--ink);background:var(--bg);word-break:keep-all;overflow-wrap:anywhere;
  -webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column;overflow-x:clip;font-feature-settings:"ss06"}
.ic{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.14em;flex:none}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:6px}
.wrap{width:min(var(--container),calc(100vw - 2 * var(--gx)));margin:0 auto;padding:0}
main.wrap{flex:1;padding:12px 0 64px}
h1{font-size:28px;line-height:36px;font-weight:700;letter-spacing:-.4px}
h1 small{font-size:14px;font-weight:400;color:var(--ink-3);margin-left:6px;letter-spacing:0}
h1 .hn{color:var(--brand)}
h2{font-size:20px;line-height:28px;font-weight:700;letter-spacing:-.3px}
.tabbar,.cta,.sbtn,.top>.nav,.tagline,.sheeth,.shade,.side .sdone,.tools,.grab{display:none}
.num,.pv,.kv,.md,.rm,.mpr,.price .pr,.q3 dd{font-variant-numeric:tabular-nums}

/* ================= 머리(64 한 줄) ================= */
.top{position:sticky;top:0;z-index:30;background:var(--surface);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;height:63px;gap:0}
.logo{font-size:22px;line-height:28px;font-weight:800;letter-spacing:-.6px;color:var(--ink);white-space:nowrap}
.logo b{color:var(--brand);font-weight:800}.logo i{color:var(--brand)}.logo span{font-weight:800}
.dnav{display:flex;align-items:stretch;height:63px;margin-left:40px;gap:28px}
.dnav>a,.dd>a{display:flex;align-items:center;gap:4px;height:63px;font-size:15px;font-weight:500;color:var(--ink-2);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.dnav>a:hover,.dd>a:hover{color:var(--ink)}
.dnav a.on{color:var(--brand);font-weight:600;border-bottom-color:var(--brand)}
.dd{position:relative;display:flex}
.dd>a .ic{font-size:12px;color:var(--ink-4);stroke-width:2.2}
.dm{display:none;position:absolute;top:100%;left:-12px;min-width:188px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--sh-2);z-index:40}
.dd:hover .dm,.dd:focus-within .dm{display:block}
.dm a{display:flex;align-items:center;height:40px;padding:0 12px;border-radius:6px;font-size:14px;font-weight:500;color:var(--ink-2)}
.dm a:hover{background:var(--surface-2);color:var(--ink)}
.search{position:relative;display:block;width:440px;margin-left:auto;flex:none}
.search .ic{position:absolute;left:14px;top:50%;margin-top:-9px;font-size:18px;color:var(--ink-3)}
.search input{width:100%;height:40px;padding:0 16px 0 42px;border:1px solid transparent;border-radius:20px;background:var(--surface-2);font-size:14px;outline:0}
.search input::placeholder{color:var(--ink-3)}
.search input:focus{background:var(--surface);border-color:var(--brand)}
.search.sc input{padding-right:128px}
.search select{position:absolute;right:4px;top:4px;height:32px;max-width:120px;padding:0 10px;border:1px solid var(--line);border-radius:16px;background:var(--surface);
  color:var(--ink-2);font-size:13px;font-weight:500;outline:0;cursor:pointer;text-overflow:ellipsis}
.mapmode .top .wrap{width:auto;padding:0 var(--gx)}

/* ================= 공통 부품 ================= */
.crumb{display:flex;flex-wrap:wrap;align-items:center;gap:4px;height:32px;font-size:13px;line-height:20px;color:var(--ink-3);overflow:hidden}
.crumb a:hover{color:var(--ink)}.crumb .ic{font-size:12px;color:var(--ink-4)}.crumb span{color:var(--ink-2)}
.lh{display:flex;align-items:center;gap:16px;min-height:48px;flex-wrap:wrap}
.lh h1{margin-right:auto}
.lhl{display:flex;gap:8px;align-items:center}
.tolink{display:inline-flex;align-items:center;gap:4px;height:40px;font-size:14px;font-weight:600;color:var(--brand-strong);white-space:nowrap}
.tolink .ic{font-size:12px}
.tolink.vtog{padding:0 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}
.tolink.vtog .ic{font-size:16px;color:var(--brand)}
.tolink.vtog:hover{border-color:#CDD5DB}
.lead{font-size:14px;line-height:20px;color:var(--ink-2);margin:4px 0 0}
.fine{font-size:12px;line-height:16px;color:var(--ink-3);margin-top:8px}
.note{font-size:13px;line-height:20px;color:var(--ink-3);margin:24px 0 0;text-align:center}.note a{color:var(--brand-strong);font-weight:600}
/* 단추 48/40/32 - 채운 청록(.go)은 할 일 하나에만 */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 20px;border-radius:10px;font-size:15px;font-weight:600;border:0;cursor:pointer;white-space:nowrap}
.btn.go{background:var(--brand);color:#fff}.btn.go:hover{background:var(--brand-strong)}
.btn.ghost{height:40px;border-radius:8px;background:var(--surface);border:1px solid var(--line);color:var(--ink);font-size:14px;font-weight:500}
.btn.ghost:hover{border-color:#CDD5DB}
.badge{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border-radius:6px;font-size:12px;line-height:16px;font-weight:600;white-space:nowrap}
.badge.good{background:var(--brand);color:#fff}.badge.fair{background:var(--surface-2);color:var(--ink-2)}
.badge.high,.badge.drop{background:var(--up-tint);color:var(--up)}.badge.warn{background:var(--warn-tint);color:var(--warn)}
.badge.dropb{background:rgba(18,27,40,.82);color:#fff}
/* 칩 32h r16 */
.chips{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.chips a{display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 12px;border-radius:16px;border:1px solid var(--line);background:var(--surface);
  font-size:13px;font-weight:500;color:var(--ink-2);white-space:nowrap}
.chips a:hover{border-color:#CDD5DB;color:var(--ink)}
.chips i{font-size:12px;color:var(--ink-3)}
.chips a.on{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600}.chips a.on i{color:#D3EEEA}
.sec{margin-top:40px}
.sh{display:flex;align-items:baseline;gap:4px 12px;margin-bottom:16px;flex-wrap:wrap}
.sh p{font-size:13px;line-height:20px;color:var(--ink-3)}
.sh .more,.sh a.more{margin-left:auto;display:inline-flex;align-items:center;gap:2px;font-size:14px;font-weight:600;color:var(--brand-strong);white-space:nowrap}
.sh .more a{display:inline-flex;align-items:center;margin-left:16px}.sh .more a:hover,.sh a.more:hover{text-decoration:underline;text-underline-offset:3px}
.sh .more .ic{font-size:12px}
.panel{margin-top:40px}
.empty{text-align:center;padding:64px 16px;color:var(--ink-2)}
.empty b{display:block;font-size:20px;line-height:28px;color:var(--ink);margin-bottom:8px}
.empty p{max-width:520px;margin:0 auto 20px;font-size:14px;line-height:20px;text-wrap:balance}.empty p a{color:var(--brand-strong);font-weight:600}
.empty .btn+.btn{margin-left:8px}
.picked{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.picked a{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:16px;background:var(--brand-tint);color:var(--brand-strong);font-size:13px;font-weight:600}
.picked a.plain{background:transparent;padding:0 4px;text-decoration:underline;text-underline-offset:3px}
.scopeline{margin:8px 0 0}
.pager{display:flex;gap:16px;justify-content:center;align-items:center;margin:40px 0 0;font-size:14px;color:var(--ink-2)}
.sortbar{display:flex;align-items:center}
.stot{display:none}
.sorts{display:flex;height:40px;padding:3px;gap:2px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.sorts a{display:flex;align-items:center;padding:0 14px;border-radius:7px;font-size:14px;font-weight:500;color:var(--ink-2);white-space:nowrap}
.sorts a:hover{color:var(--ink)}
.sorts a.on{background:var(--brand);color:#fff;font-weight:600}

/* ================= 카드 - 격자(E) · 가로(C · J) · 작은 줄(D 가격 내린 매물) ================= */
.grid,.grid.rows{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.card{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden;transition:box-shadow .15s}
.card:hover{box-shadow:var(--sh-2)}
.ph{position:relative;aspect-ratio:4/3;width:100%;overflow:hidden;background:var(--surface-2);flex:none}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.noimg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--ink-4)}.noimg .ic{font-size:28px}
.ph .tl{position:absolute;left:10px;top:10px;max-width:calc(100% - 52px)}
.ph .vid{position:absolute;right:10px;top:10px;width:28px;height:28px;border-radius:50%;background:rgba(18,27,40,.6);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px}
.tx{display:flex;flex-direction:column;padding:12px 14px 14px;min-width:0;flex:1}
.ctag{order:0;align-self:flex-start;height:20px;padding:0 6px;margin-bottom:6px;border-radius:4px;background:var(--surface-2);font-size:12px;line-height:20px;font-weight:600;color:var(--ink-2);
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sj{order:1;font-size:15px;line-height:24px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card:hover .sj{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--ink-4)}
.sp{order:2;font-size:13px;line-height:20px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp b{font-weight:600}
.pr{order:3;display:flex;flex-direction:column;margin-top:8px;min-width:0}
.pv{font-size:18px;line-height:26px;font-weight:700;color:var(--ink);letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr small{font-size:13px;font-weight:600;margin-left:1px}
.pr small.pl{font-size:12px;color:var(--ink-3);font-weight:500;margin:0 4px 0 0}
.pr .kr{font-size:13px;line-height:20px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt{order:4;display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px;line-height:16px;color:var(--ink-3);white-space:nowrap;min-width:0}
.mt>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.mt .dp{display:none}
.mt .dp.hi{display:inline-flex;align-items:center;gap:2px;margin-left:auto;flex:none;height:20px;padding:0 6px;border-radius:4px;background:var(--up-tint);color:var(--up);font-weight:600}
.mt .dp .ic{font-size:11px;stroke-width:2.4}
.c-warn{color:var(--warn)}.c-new{color:var(--brand-strong)}.c-drop{color:var(--brand-strong)}
.card.junk{opacity:.55}
.mnone{grid-column:1/-1;padding:40px 0;text-align:center;color:var(--ink-3);font-size:14px}
/* 판 안 작은 카드(홈 싼 매물 · 비슷한 매물) - 테두리 없이 사진 모서리 8 */
.hdeals .card,#similar .card{border:0;border-radius:0;background:transparent;overflow:visible}
.hdeals .card:hover,#similar .card:hover{box-shadow:none}
.hdeals .ph,#similar .ph{border-radius:8px}
.hdeals .tx,#similar .tx{padding:10px 0 0}
.hdeals .pv,#similar .pv{font-size:16px;line-height:24px}
.hdeals .pr .kr,#similar .pr .kr{font-size:12px;line-height:16px}
/* 가로 카드 - 사진 왼쪽 고정 · 시세 % 알약 오른쪽 */
.grid.hz{grid-template-columns:minmax(0,1fr);gap:12px}
.grid.hz .card{flex-direction:row}
.grid.hz .ph{width:176px;flex:0 0 176px;aspect-ratio:4/3;height:132px}
.grid.hz .tx{padding:12px 16px;justify-content:center}
.grid.hz .ph .badge.good{display:none}
.grid.hz .mt .dp{display:inline-flex;align-items:center;gap:2px;margin-left:auto;flex:none;height:24px;padding:0 8px;border-radius:6px;background:var(--brand-tint);color:var(--brand-strong);font-weight:600;font-size:12px}
.grid.hz .mt .dp.hi{background:var(--up-tint);color:var(--up)}
/* 작은 줄(가격 내린 매물) - 줄 84 */
.mini li a{display:flex;align-items:center;gap:12px;height:84px;border-bottom:1px solid var(--line-2)}
.mini li:last-child a{border-bottom:0}
.mph{position:relative;flex:0 0 64px;height:64px;border-radius:8px;overflow:hidden;background:var(--surface-2)}
.mph img{width:100%;height:100%;object-fit:cover;display:block}
.mtx{display:flex;flex-direction:column;min-width:0}
.mtx b{font-size:14px;line-height:20px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini a:hover .mtx b{text-decoration:underline;text-underline-offset:3px}
.mpr{font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mpr s{font-size:12px;color:var(--ink-4)}.mpr strong{font-weight:700;color:var(--ink)}
.mdn{font-size:12px;line-height:16px;font-weight:600;color:var(--brand-strong)}.mdn::before{content:"↓ "}

/* ================= 홈 - 시안 v4 home-1(사용자 12-01 1순위) ================= */
/* 격자: [사진 띠 + 분류 줄] / [싼 매물 판 | 가격 내린 매물 판 372] (간격 20) / 동네별 시세 표(전폭) / 방금 올라온 매물 / 전체 분류 / 사실 문구 */
.t-home main.wrap{display:grid;grid-template-columns:minmax(0,1fr) 372px;column-gap:20px;row-gap:20px;align-items:start;padding-top:0;
  grid-template-areas:"hero hero" "cats cats" "deals drops" "prices prices" "fresh fresh" "dir dir" "facts facts"}
.t-home .hgrid{display:contents}
.t-home .sec{margin-top:0}
/* 사진 띠 240 - static/hero.jpg(.photo) + 글자 쪽(왼쪽 아래)만 어둡게. 사진이 없으면 옅은 청록 단색 */
.hintro{grid-area:hero;position:relative;height:240px;display:flex;flex-direction:column;justify-content:center;padding:0 40px;border-radius:12px 12px 0 0;overflow:hidden;
  background:var(--brand-tint)}
.hintro.photo{background:linear-gradient(75deg,rgba(10,18,28,.74) 0%,rgba(10,18,28,.46) 38%,rgba(10,18,28,0) 62%),
  linear-gradient(0deg,rgba(10,18,28,.38),rgba(10,18,28,0) 55%),url(/static/hero.jpg?v=1) center 58%/cover}
.hintro h1{font-size:32px;line-height:40px;font-weight:700;letter-spacing:-.6px;color:var(--ink)}
.hintro p{margin-top:4px;font-size:15px;line-height:24px;color:var(--ink-2)}.hintro p b{font-weight:600;color:var(--ink)}
.hintro.photo h1{color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.25)}.hintro.photo p,.hintro.photo p b{color:rgba(255,255,255,.92)}
.hsearch{position:relative;display:flex;align-items:center;width:640px;max-width:100%;height:48px;margin-top:20px;padding:4px;background:var(--surface);border-radius:24px;box-shadow:var(--sh-3)}
.hsearch:focus-within{box-shadow:var(--sh-3),0 0 0 2px var(--brand)}
.hsk{position:relative;flex:none;display:flex;align-items:center;height:40px;border-right:1px solid var(--line)}
.hsk select{height:40px;padding:0 30px 0 16px;border:0;border-radius:20px;background:transparent;font-size:14px;font-weight:600;color:var(--ink);appearance:none;cursor:pointer;outline:0}
.hsk .ic{position:absolute;right:12px;font-size:12px;color:var(--ink-3);pointer-events:none;stroke-width:2.2}
.hsi{position:absolute;left:124px;font-size:18px;color:var(--ink-4)}
.hsearch input{flex:1;min-width:0;height:40px;padding:0 12px 0 40px;border:0;background:transparent;font-size:15px;outline:0}
.hsearch input::placeholder{color:var(--ink-4)}
.hsearch button{flex:none;height:40px;padding:0 24px;border:0;border-radius:20px;background:var(--brand);color:#fff;font-size:14px;font-weight:600;cursor:pointer}
.hsearch button:hover{background:var(--brand-strong)}
/* 분류 줄 - 사진 띠 바로 아래 붙은 흰 8칸(칸 사이 세로 선), 아이콘 · 이름 · 수 */
.cats{grid-area:cats;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));margin-top:-20px;background:var(--surface);border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;overflow:hidden}
.cats a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:94px;min-width:0;border-left:1px solid var(--line-2)}
.cats a:first-child{border-left:0}
.cats a:hover{background:var(--bg)}.cats a:hover b{color:var(--brand-strong)}
.cats .ico{font-size:30px;line-height:0;color:var(--brand);margin-bottom:4px}
.cats .ico .ic{stroke-width:1.6}
.cats .ct{display:flex;flex-direction:column;align-items:center;min-width:0}
.cats b{font-size:14px;line-height:20px;font-weight:600;white-space:nowrap}
.cats .sm{display:none}
.cats i{font-size:12px;line-height:16px;color:var(--ink-3);font-variant-numeric:tabular-nums}
/* 판 */
.hdeals,.hdrops,#prices,.hfresh{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px 20px 20px}
.hdeals{grid-area:deals;align-self:stretch}.hdrops{grid-area:drops;align-self:stretch;padding-bottom:8px}
.hdeals h2,.hdrops h2,#prices h2,.hfresh h2{font-size:18px;line-height:28px}
.hdeals .sh{margin-bottom:12px}.hdrops .sh{margin-bottom:0}
#prices{grid-area:prices}.hfresh{grid-area:fresh}#cats{grid-area:dir;margin-top:20px}
.hdeals .grid.rows{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.hdeals .card:nth-child(n+6){display:none}
.hdeals .ph{border-radius:6px}
.hdeals .pr{margin-top:6px}
.hdeals .pr .kr{font-size:13px;line-height:20px}
.hdeals .pr .kr::before{content:"("}.hdeals .pr .kr::after{content:")"}
.hdeals .mt{margin-top:6px}
.hfresh .grid.rows{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
/* 가격 내린 매물 - 사진 64 · 제목 · 옛 가격 취소선 + 새 가격 검정 · 오른쪽 청록 ↓ */
.hdrops .mini li a{height:79px;gap:12px}
.hdrops .mph{flex-basis:64px;height:64px;border-radius:6px}
.hdrops .mtx{flex:1}
.mdn{font-size:12px;line-height:16px;font-weight:400;color:var(--ink-3)}.mdn::before{content:none}
.mdn .mda{display:none}
.mdd{flex:none;align-self:center;display:flex;align-items:center;gap:2px;font-size:13px;line-height:20px;font-weight:600;color:var(--brand-strong);white-space:nowrap}
.mdd .ic{font-size:13px;stroke-width:2.2}
/* 동네별 아파트 월세 시세 표(전폭) - 동네 · 중간 월세 · 시세 범위(막대 + 글) · 1/2/3룸 중간 · 매물 수, 줄 44 */
.rtable{margin:0 -20px}
.rhead,.rrow{display:grid;grid-template-columns:180px 150px 220px minmax(120px,1fr) repeat(3,minmax(0,.8fr)) 88px;column-gap:16px;align-items:center;padding:0 20px}
.rhead{height:36px;font-size:12px;line-height:16px;font-weight:500;color:var(--ink-3);background:var(--bg);border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.rhead span:nth-child(3){grid-column:span 2}
.rhead span:nth-child(n+4),.rrow .rr,.rrow .rc{text-align:right}
.rrow{height:44px;font-size:14px;line-height:20px;border-bottom:1px solid var(--line-2)}
.rrow:last-child{border-bottom:0}
.rrow:hover{background:var(--bg)}
.rn{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rrow:hover .rn{color:var(--brand-strong)}
.rm{font-weight:600;white-space:nowrap}.rm em{display:none}
.rb{display:contents}
.rb small{font-size:13px;line-height:20px;color:var(--ink-3);white-space:nowrap}
.pband{position:relative;display:block;width:100%;height:6px;border-radius:3px;background:var(--surface-2)}
.pband .band{position:absolute;top:0;bottom:0;border-radius:3px;background:#7CC8BE}
.pband .mid{position:absolute;left:50%;top:-3px;bottom:-3px;width:2px;margin-left:-1px;border-radius:1px;background:var(--brand-strong)}
.rr{font-size:14px;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}
.rc{font-size:14px;color:var(--ink-2);font-variant-numeric:tabular-nums}
/* 칩 한 줄(동네별 월세 · 분류별 시세) */
.hlinks{display:grid;gap:8px;margin-top:12px;padding-top:16px;border-top:1px solid var(--line-2)}
.hlinks div{display:flex;align-items:center;gap:12px;min-width:0}
.hlinks dt{flex:0 0 76px;font-size:13px;font-weight:600;color:var(--ink-3)}
.hlinks dd{display:flex;gap:6px;overflow:hidden;flex-wrap:wrap;max-height:32px}
.hlinks a{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:16px;border:1px solid var(--line);font-size:13px;font-weight:500;color:var(--ink-2);white-space:nowrap}
.hlinks a:hover{border-color:var(--brand);color:var(--brand-strong)}
/* 사실 문구 3칸 */
.facts{grid-area:facts;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:20px;padding-top:32px;border-top:1px solid var(--line)}
.facts li{display:flex;gap:12px;font-size:13px;line-height:20px;color:var(--ink-3)}
.facts .ic{font-size:24px;color:var(--brand);margin-top:2px}
.facts b{display:block;font-size:15px;line-height:24px;font-weight:600;color:var(--ink)}

/* ================= 전체 분류 - 4칸 흰 판 ================= */
.cdir{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.cd{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0}
.cdh{display:flex;align-items:center;gap:12px;height:40px}
.cdh .ico{flex:none;width:40px;height:40px;border-radius:10px;background:var(--brand-tint);color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:22px}
.cdh b{font-size:17px;line-height:24px;font-weight:700}
.cdh i{font-size:13px;color:var(--ink-3)}
.cdh .cv{margin-left:auto;color:var(--ink-4);font-size:14px}
.cdh:hover b{color:var(--brand-strong)}
.cdl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;margin-top:12px}
.cdl a{display:flex;justify-content:space-between;align-items:center;gap:6px;height:32px;font-size:14px;color:var(--ink-2)}
.cdl a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cdl a i{flex:none;font-size:12px;color:var(--ink-3)}
.cdl a:hover span{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.cdl li.x{display:none}
.cdl li.more a{color:var(--brand-strong);font-weight:600;font-size:13px}

/* ================= 목록(E) - 필터 판 264 + 24 + 카드 ================= */
.lgrid{display:grid;grid-template-columns:264px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:24px;row-gap:16px;align-items:start}
.lgrid>.lh{grid-column:2;grid-row:1}
.lcol{grid-column:1;grid-row:1/span 2;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:14px;min-width:0}
.lmain{grid-column:2;grid-row:2;min-width:0}
.fh{display:block;font-size:14px;line-height:20px;font-weight:700;margin-bottom:10px}
.kinds .krow{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.kinds .krow:last-child{margin-bottom:0}
.krow .lab{font-size:12px;line-height:16px;font-weight:600;color:var(--ink-3)}
.krow .lab:empty{display:none}
.kinds .chips a{height:30px;padding:0 10px}
.kinds .chips a.gall{font-weight:600}
.insearch{position:relative;display:flex;flex-wrap:wrap;gap:6px}
.kinds~.insearch{margin-top:14px;padding-top:14px;border-top:1px solid var(--line-2)}
.insearch .fh{flex:1 1 100%;margin-bottom:4px}
.insearch>.ic{position:absolute;left:12px;bottom:12px;font-size:16px;color:var(--ink-3);pointer-events:none}
.insearch input{flex:1;min-width:0;height:40px;padding:0 28px 0 36px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:14px;outline:0}
.insearch input:focus{border-color:var(--brand)}
.insearch input::placeholder{color:var(--ink-4);font-size:13px}
.insearch button{flex:none;height:40px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:14px;font-weight:500;cursor:pointer}
.insearch .clr{position:absolute;right:66px;bottom:0;width:28px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--ink-3);font-size:18px}
.side{margin-top:14px;padding-top:14px;border-top:1px solid var(--line-2)}
.side .frow{display:block}
.side .frow+.frow{margin-top:14px;padding-top:14px;border-top:1px solid var(--line-2)}
.side .lab{display:block;font-size:14px;line-height:20px;font-weight:700;margin-bottom:10px}
/* 동네 = 3칸 알약 32h */
.side .hood .chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.side .hood .chips a{justify-content:center;padding:0 6px;min-width:0;overflow:hidden}
.side .hood .chips a i{display:none}
.side .hood .morehood{grid-column:1/-1}
.side .hood .morehood[open]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.side .hood .morehood[open] summary{grid-column:1/-1}
.side .hood .morehood a{margin:0}
/* 그 밖 칸 = 한 줄 목록(위 6 + 더 보기) */
.side .frow:not(.hood) .chips{display:flex;flex-direction:column;flex-wrap:nowrap;gap:0}
.side .frow:not(.hood) .chips a{justify-content:space-between;height:32px;padding:0 8px;margin:0 -8px;border:0;border-radius:6px;background:transparent;font-size:14px;color:var(--ink-2)}
.side .frow:not(.hood) .chips a:hover{background:var(--surface-2);color:var(--ink)}
.side .frow:not(.hood) .chips a.on{background:var(--brand-tint);color:var(--brand-strong);font-weight:600}
.side .frow:not(.hood) .chips a.on i{color:var(--brand-strong)}
.side .frow:not(.hood) .chips>a:nth-of-type(n+8){display:none}
.side .frow:not(.hood) .chips:has(details[open])>a{display:flex}
.side .frow:not(.hood) .chips:has(>a.on:nth-of-type(n+8))>a{display:flex}
.morehood summary{display:flex;align-items:center;gap:4px;height:32px;font-size:13px;font-weight:600;color:var(--brand-strong);cursor:pointer;list-style:none}
.morehood summary::-webkit-details-marker{display:none}.morehood summary::after{content:"+";font-size:15px}.morehood[open] summary::after{content:"−"}
.morehood summary i{font-size:12px;color:var(--ink-3)}
.side .frow:not(.hood) .chips:has(>.morehood.d-only)>.morehood:not(.d-only) summary{display:none}
.side .frow:not(.hood) .chips:has(>.morehood.d-only[open])>.morehood:not(.d-only) summary{display:flex}
.side .frow:not(.hood) .chips .morehood a{display:flex}
.pricebox{display:grid;gap:10px}
.narrow{display:grid;gap:8px}
.narrow .pp{display:flex;align-items:center;gap:6px;color:var(--ink-3)}
.narrow input{width:100%;min-width:0;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:13px;outline:0}
.narrow input:focus{border-color:var(--brand)}
.narrow button{height:40px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:14px;font-weight:600;cursor:pointer}
.narrow button:hover{border-color:var(--brand);color:var(--brand-strong)}
.lmain .grid{margin-top:0}

/* ================= 상세(I) - 7:5 ================= */
.t-item .crumb{margin-bottom:4px}
.item{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:24px;align-items:start}
.gal{min-width:0}
.frame{position:relative;aspect-ratio:3/2;border-radius:12px;overflow:hidden;background:#E9EDF0}
.track{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;outline:0}
.track::-webkit-scrollbar{display:none}
.slide{position:relative;flex:0 0 100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;overflow:hidden}
.slide::before{content:"";position:absolute;inset:-24px;background:var(--im) center/cover;filter:blur(24px) brightness(.85) saturate(.9)}
.slide img,.slide video{position:relative;width:100%;height:100%;object-fit:contain;display:block;cursor:zoom-in}
.slide video{background:#000;cursor:auto}
.frame .nav{position:absolute;z-index:2;top:50%;margin-top:-20px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.94);box-shadow:var(--sh-2);
  display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;opacity:0;transition:opacity .15s}
.frame:hover .nav,.frame .nav:focus-visible{opacity:1}
.nav.prev{left:16px}.nav.prev .ic{transform:rotate(180deg)}.nav.next{right:16px}
.frame .cnt{position:absolute;z-index:2;left:16px;top:16px;display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:6px;background:rgba(18,27,40,.66);color:#fff;font-size:13px;font-weight:600}
.frame .tovid{position:absolute;z-index:2;left:16px;bottom:16px;height:32px;padding:0 12px;border:0;border-radius:16px;background:rgba(18,27,40,.72);color:#fff;font-size:13px;font-weight:600;display:flex;align-items:center;gap:4px;cursor:pointer}
.frame.onvid .tovid{display:none}
.frame.none{aspect-ratio:auto;height:80px}.frame.none .noimg{font-size:14px}.frame.none .noimg .ic{font-size:20px}
.soldmark{position:absolute;z-index:2;right:16px;top:16px;height:32px;display:flex;align-items:center;padding:0 12px;border-radius:6px;background:var(--ink);color:#fff;font-size:14px;font-weight:700}
.item.sold .slide img{filter:grayscale(.9);opacity:.75}
/* 썸네일 6칸 고정 - 6번째 '+N' */
.thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:8px}
.thumbs button{position:relative;aspect-ratio:3/2;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:var(--surface-2);cursor:pointer}
.thumbs button:nth-child(n+7){display:none}
.thumbs button.on{border-color:var(--brand)}
.thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.thumbs [data-more]::after{content:attr(data-more);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(18,27,40,.55);color:#fff;font-size:16px;font-weight:700}
.thumbs .tv{background:#222}.thumbs .tv .ic{position:absolute;inset:0;margin:auto;color:#fff;font-size:22px}
/* 오른쪽 칸 */
.info{min-width:0;display:flex;flex-direction:column}
.meta{display:flex;flex-wrap:wrap;align-items:center;gap:0 6px;font-size:13px;line-height:20px;color:var(--ink-3)}
.meta a{color:var(--brand-strong);font-weight:600}.meta .maplink{display:inline-flex;align-items:center;gap:2px}
.info h1{margin-top:6px;font-size:24px;line-height:32px}
.price{margin-top:12px}
.price .plab{display:block;font-size:12px;line-height:16px;color:var(--ink-3);font-weight:500}
.price .pr{display:block;margin:0;font-size:30px;line-height:38px;font-weight:800;color:var(--ink);letter-spacing:-.6px}
.price .pr small{font-size:16px;font-weight:600;margin-left:4px}
.price .kr{display:block;font-size:14px;line-height:20px;color:var(--ink-3);white-space:normal}
.dropline{margin-top:8px;font-size:13px;line-height:20px;color:var(--ink-2)}.dropline s{color:var(--ink-4)}
.dropline .badge.drop{background:var(--brand-tint);color:var(--brand-strong)}
.item.sold .price .pr{color:var(--ink-3)}
.soldbox{margin-top:12px;padding:14px 16px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.soldbox b{display:block;font-size:15px;line-height:24px}.soldbox span{font-size:13px;line-height:20px;color:var(--ink-2)}
.warnbox{margin-top:12px;padding:12px 16px;border-radius:12px;background:var(--warn-tint);color:var(--warn);font-size:14px;line-height:20px}
/* 시세 상자(늘) */
.stat{margin-top:16px;padding:16px 20px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.sth{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.sti{display:flex;gap:10px;align-items:flex-start;min-width:0}
.sti>.ic{font-size:22px;color:var(--brand);margin-top:1px}
.sti b{display:block;font-size:15px;line-height:24px;font-weight:600}.sti small{display:block;font-size:13px;line-height:20px;color:var(--ink-3)}
.badge.big{height:32px;padding:0 12px;border-radius:16px;font-size:13px}
.badge.big .ic{font-size:14px;stroke-width:2.4}
.meter{position:relative;height:8px;margin:40px 6px 12px;border-radius:4px;background:var(--surface-2)}
.meter .band{position:absolute;top:0;bottom:0;border-radius:4px;background:#9FD6CE}
.meter .mid{position:absolute;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--brand-strong);border:2px solid #fff}
.meter .me{position:absolute;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:#fff;border:4px solid var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.25)}
.meter .me em{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);padding:2px 8px;border-radius:6px;background:var(--ink);color:#fff;font-size:12px;line-height:16px;font-weight:600;white-space:nowrap}
.q3{display:flex;justify-content:space-between;gap:8px;text-align:center}
.q3 div:first-child{text-align:left}.q3 div:last-child{text-align:right}
.q3 dt{font-size:12px;line-height:16px;color:var(--ink-3)}.q3 dd{font-size:14px;line-height:20px;font-weight:700}.q3 dd.w{font-size:12px;line-height:16px;font-weight:400;color:var(--ink-3)}
.stat>p{margin-top:10px;font-size:12px;line-height:16px;color:var(--ink-3)}
.statlink{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line-2);color:var(--brand-strong)}
.statlink span{flex:1}.statlink b{font-size:14px;font-weight:600}.statlink .ic{font-size:14px}
/* 판매자 상자 */
.who{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:12px;padding:16px 20px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.who .av{flex:none;width:44px;height:44px;border-radius:50%;background:var(--surface-2);color:var(--ink-3);display:flex;align-items:center;justify-content:center;font-size:22px}
.wb{flex:1;min-width:0}.wb b{display:block;font-size:15px;line-height:24px;font-weight:600}.wb span{font-size:13px;line-height:20px;color:var(--ink-2)}
.star{display:inline-flex;align-items:center;gap:2px;font-weight:600;color:var(--ink)}.star .ic{color:#F5A524}
.wchips{flex:1 1 100%;display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px;line-height:20px;color:var(--ink-2)}
.wchips li{display:inline-flex;align-items:center;gap:4px}.wchips .ic{font-size:14px;color:var(--ink-3)}
.btn.big{width:100%;height:48px;margin-top:16px;border-radius:10px;font-size:15px}.btn.big .ic{font-size:18px}
.gofine{text-align:center}
/* 아래 4칸 */
.more4{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:32px;align-items:stretch}
.card4{min-width:0;min-height:240px;padding:20px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.card4 h2{font-size:16px;line-height:24px;margin-bottom:12px}
.sum ul{display:grid;gap:8px;font-size:14px;line-height:22px}
.sum li{display:flex;gap:8px;align-items:flex-start}.sum li .ic{flex:none;font-size:16px;color:var(--brand);margin-top:3px}
.condline{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px;font-size:13px;color:var(--warn);font-weight:600}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.tag{height:24px;display:inline-flex;align-items:center;padding:0 8px;border-radius:6px;background:var(--surface-2);font-size:12px;font-weight:500;color:var(--ink-2)}
.tag.f{background:var(--brand-tint);color:var(--brand-strong)}
.specs{display:grid}
.specs div{display:grid;grid-template-columns:16px 96px minmax(0,1fr);align-items:center;column-gap:8px;min-height:32px;padding:4px 0;border-bottom:1px solid var(--line-2)}
.specs div:last-child{border-bottom:0}
.specs .ic{font-size:16px;color:var(--ink-4)}
.specs dt{font-size:13px;line-height:20px;color:var(--ink-3)}.specs dd{font-size:14px;line-height:20px;font-weight:600;min-width:0}
details.raw{margin-top:10px;font-size:13px}
details.raw summary{cursor:pointer;color:var(--ink-2);font-weight:600;padding:6px 0}
.rawl div{display:flex;gap:10px;padding:6px 0;border-bottom:1px solid var(--line-2);font-size:13px}.rawl dt{flex:0 0 110px;color:var(--ink-3)}.rawl dd{flex:1;min-width:0}
.map{position:relative;width:100%;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:var(--surface-2)}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.mapnote{display:flex;gap:4px;margin-top:8px;font-size:12px;line-height:16px;color:var(--ink-3)}.mapnote .ic{flex:none;margin-top:1px;color:var(--brand)}
.hist1{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;font-size:14px}
.hist1 span{font-size:13px;font-weight:700}.hist1 .dn{color:var(--brand-strong)}.hist1 .up{color:var(--up)}.hist1 time{font-size:12px;color:var(--ink-3)}
.sparkw{position:relative;padding-left:48px}
.sparkw .hi,.sparkw .lo{position:absolute;left:0;font-size:11px;color:var(--ink-3)}.sparkw .hi{top:0}.sparkw .lo{bottom:0}
.spark{display:block;width:100%;height:72px;border-radius:8px;background:var(--bg)}
.spark path{fill:none;stroke:var(--brand);stroke-width:2.2;vector-effect:non-scaling-stroke}
.spark .dot{stroke:var(--brand-strong);stroke-width:7;stroke-linecap:round}
.hist{margin-top:8px;font-size:13px}
.hist li{display:flex;gap:10px;align-items:baseline;padding:6px 0;border-bottom:1px solid var(--line-2)}
.hist time{flex:0 0 64px;color:var(--ink-3)}.hist span{margin-left:auto;font-size:12px;font-weight:700}
.hist .dn{color:var(--brand-strong)}.hist .up{color:var(--up)}
.dist{display:grid;gap:10px;margin-top:4px}
.dist li{display:grid;grid-template-columns:84px minmax(0,1fr) 64px;align-items:center;gap:8px;font-size:13px;line-height:20px;color:var(--ink-2)}
.dist i{display:block;height:8px;border-radius:4px;background:var(--surface-2);overflow:hidden}
.dist i b{display:block;height:100%;border-radius:4px;background:#9FD6CE}
.dist em{text-align:right;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.dist li.me{color:var(--ink);font-weight:600}.dist li.me i b{background:var(--ink)}
.stat.none{min-height:0}
/* 비슷한 매물 6칸 한 줄 */
#similar{margin-top:40px}
.grid.hs,.grid.hs.s8{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.grid.hs .card:nth-child(n+7){display:none}
.lightbox{position:fixed;inset:0;z-index:60;background:rgba(10,12,15,.95);display:flex;align-items:center;justify-content:center}
.lightbox[hidden]{display:none}
.lightbox img{max-width:100%;max-height:100%;object-fit:contain}
.lightbox .x{position:absolute;right:16px;top:16px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.lightbox .nav{position:absolute;top:50%;margin-top:-22px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:20px;display:flex;align-items:center;justify-content:center;cursor:pointer}

/* ================= 시세(G) - 240 + 24 + 1fr ================= */
.pw{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}
.pside{position:sticky;top:88px;display:flex;flex-direction:column;gap:2px;margin-top:44px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.pside .psh{display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;font-size:13px;font-weight:600;color:var(--ink-3)}
.pside .psh .ic{font-size:16px}
.pside a{display:flex;align-items:center;gap:10px;height:40px;padding:0 10px;border-radius:8px;font-size:14px;font-weight:500;color:var(--ink-2)}
.pside a .ic{font-size:18px;color:var(--ink-3)}
.pside a:hover{background:var(--surface-2);color:var(--ink)}
.pside a.on{background:var(--brand-tint);color:var(--brand-strong);font-weight:600}.pside a.on .ic{color:var(--brand)}
.pmain{min-width:0}
.pmain .lh{min-height:40px}
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.kpi{display:flex;gap:14px;align-items:flex-start;height:112px;padding:20px;border-radius:12px;background:var(--surface);border:1px solid var(--line);min-width:0}
.ki{flex:none;width:44px;height:44px;border-radius:50%;background:var(--brand-tint);color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:22px}
.kpi>div{min-width:0}
.kl{display:block;font-size:13px;line-height:20px;font-weight:500;color:var(--ink-2)}
.kv{display:block;font-size:28px;line-height:36px;font-weight:700;letter-spacing:-.6px;white-space:nowrap}.kv small{font-size:15px;font-weight:600;margin-left:2px;color:var(--ink-2)}
.kv.dn{color:var(--brand-strong)}.kv.up{color:var(--up)}
.ks{display:block;font-size:12px;line-height:16px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ks .g{color:var(--brand-strong);font-weight:600}
.charts{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px;margin-top:16px}
.ccard{display:flex;flex-direction:column;height:300px;padding:16px 20px;border-radius:12px;background:var(--surface);border:1px solid var(--line);min-width:0;overflow:hidden}
.cch{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px}
.cch h2{font-size:16px;line-height:24px}.cch h2 small{font-size:13px;font-weight:400;color:var(--ink-3)}.cch span{font-size:12px;color:var(--ink-3);white-space:nowrap}
.ccard .lchart:not(.dk){display:none}
.lchart{display:block;width:100%;flex:1;min-height:0;font-family:inherit}
.lchart .gl{stroke:var(--line-2);stroke-width:1}
.lchart .yl{font-size:12px;fill:var(--ink-3);text-anchor:end}
.lchart .ar{fill:var(--brand);opacity:.06}
.lchart .ln{fill:none;stroke:var(--brand);stroke-width:2.2;stroke-linejoin:round}
.lchart .pt{fill:#fff;stroke:var(--brand);stroke-width:2}.lchart .pt.last{fill:var(--brand)}
.lchart .vl{font-size:12px;fill:var(--ink-2);text-anchor:middle;font-weight:500}.lchart .vl.last{fill:var(--ink);font-weight:700}
.lchart .xl{font-size:12px;fill:var(--ink-2);text-anchor:middle}.lchart .xs{font-size:11px;fill:var(--ink-4);text-anchor:middle}
.ccard .fine{margin-top:4px}
.cnone{padding:40px 0;text-align:center;font-size:14px;color:var(--ink-3)}
.bars{display:grid;gap:2px;overflow:hidden}
.bars li>a,.bars li>span{display:grid;grid-template-columns:96px minmax(0,1fr) 64px;align-items:center;gap:10px;height:22px;font-size:13px}
.bars li>a:hover .bn{color:var(--brand-strong);text-decoration:underline}
.bn{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink-2)}
.bt{display:block;height:12px}.bt i{display:block;height:100%;border-radius:3px;background:var(--brand)}
.bars b{font-weight:700;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.tblh{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:32px 0 12px}
.tblh .search{width:320px;margin:0}
.tblh .search input{background:var(--surface);border-color:var(--line);border-radius:8px}
.ptable{border-radius:12px;background:var(--surface);border:1px solid var(--line);overflow:hidden}
.phead,.prow{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.6fr) 120px;column-gap:20px;align-items:center;padding:0 20px}
.phead{height:40px;font-size:12px;font-weight:500;color:var(--ink-3);border-bottom:1px solid var(--line);background:var(--bg)}
.phead span:last-child{text-align:right}
.prow{height:52px;border-bottom:1px solid var(--line-2)}
.ptable .prow:last-of-type{border-bottom:0}
a.prow:hover{background:var(--bg)}
.prow .nm{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prow .md{font-size:14px;line-height:20px;font-weight:700;white-space:nowrap}.prow .md small{font-size:12px;font-weight:500;color:var(--ink-3)}
.prow .md em{font-size:12px;font-weight:400;color:var(--ink-3);margin-left:6px}
.prow .rg{min-width:0}.prow .rg .pband{width:100%}
.prow .rg small{display:flex;justify-content:space-between;margin-top:2px;font-size:11px;line-height:14px;color:var(--ink-3)}
.prow .nn{text-align:right}.prow .nn small{display:none}
.prow .nn .go{display:inline-flex;align-items:center;gap:2px;font-size:13px;font-weight:600;color:var(--brand-strong)}.prow .nn .go .ic{font-size:11px}
.pnone{padding:32px 0;text-align:center;color:var(--ink-3)}

/* ================= 검색(J) ================= */
.t-search .lh{margin-top:4px}
.t-search .kinds.wide{margin:12px 0 16px}
.kinds.wide .krow{flex-direction:row;align-items:center;gap:12px}
.kinds.wide .lab{flex:none;font-size:13px}
.kinds.wide .chips{flex-wrap:nowrap;overflow:hidden}
.kinds.wide .chips a{height:36px;padding:0 14px;border-radius:18px;font-size:14px}
.jumps{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;margin:12px 0 0}
.jcard{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.jcard:hover{border-color:var(--brand)}
.ji{flex:none;width:44px;height:44px;border-radius:10px;background:var(--brand-tint);color:var(--brand);display:flex;align-items:center;justify-content:center;font-size:22px}
.jcard>span:nth-child(2){flex:1;min-width:0}
.jcard b{display:block;font-size:15px;line-height:24px;font-weight:600}.jcard i{display:block;font-size:13px;line-height:20px;color:var(--ink-3)}
.jcard .cv{color:var(--ink-4)}
.t-search .grid.rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin-top:16px}
.t-search .grid.rows .card{flex-direction:row}
.t-search .grid.rows .ph{width:168px;flex:0 0 168px;height:126px}
.t-search .grid.rows .ph .badge.good,.t-search .grid.rows .ph .badge.dropb{display:none}
.t-search .grid.rows .tx{padding:12px 16px;justify-content:center}
.t-search .grid.rows .mt .dp{display:inline-flex;align-items:center;gap:2px;margin-left:auto;flex:none;height:24px;padding:0 8px;border-radius:6px;background:var(--brand-tint);color:var(--brand-strong);font-weight:600;font-size:12px}
.t-search .grid.rows .mt .dp.hi{background:var(--up-tint);color:var(--up)}
.t-search .grid.rows:not(.mixed) .ctag{display:none}
.t-search .sec .sh{margin-bottom:12px}

/* ================= 404 · 준비 중 ================= */
.nf{padding:72px 16px 40px}
.nf .nfi{display:flex;width:72px;height:72px;margin:0 auto 16px;border-radius:50%;background:var(--brand-tint);color:var(--brand);align-items:center;justify-content:center;font-size:34px}
.empty .code{display:inline-block;margin-bottom:12px;padding:0 10px;height:24px;line-height:24px;border-radius:6px;background:var(--brand-tint);color:var(--brand-strong);font-size:12px;font-weight:700}
.nfs{position:relative;display:flex;gap:8px;max-width:480px;margin:0 auto 16px}
.nfs .ic{position:absolute;left:14px;top:12px;font-size:18px;color:var(--ink-3)}
.nfs input{flex:1;min-width:0;height:44px;padding:0 12px 0 42px;border:1px solid var(--line);border-radius:8px;background:var(--surface);outline:0;font-size:14px}
.nfs input:focus{border-color:var(--brand)}
.nfs button{height:44px;padding:0 18px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-weight:600;cursor:pointer}
.t-etc .cats{margin-top:8px}
.t-etc .cats .sm{display:none}
.t-etc .cats i{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ================= 바닥 ================= */
.foot{width:100%;margin-top:0;padding:32px 0 40px;background:var(--surface);border-top:1px solid var(--line);font-size:13px;line-height:20px;color:var(--ink-3)}
.foot .wrap{display:grid;grid-template-columns:auto 1fr;column-gap:40px;row-gap:8px;align-items:center}
.flogo{font-size:18px;font-weight:800;letter-spacing:-.5px;color:var(--ink-2)}.flogo b{color:var(--brand);font-weight:800}.flogo i{color:var(--brand)}
.fnav{display:flex;flex-wrap:wrap;gap:0 20px;font-size:13px;font-weight:500;color:var(--ink-2)}.fnav a:hover{color:var(--ink)}
.foot p{grid-column:1/-1;max-width:780px}

/* ================= 폭별 ================= */
@media(max-width:1299px){
  .hdeals .grid.rows{grid-template-columns:repeat(4,minmax(0,1fr))}.hdeals .card:nth-child(n+5){display:none}
  .t-home main.wrap{grid-template-columns:minmax(0,1fr) 340px}
  .dnav{margin-left:28px;gap:22px}
  .search{width:360px}
  .rhead,.rrow{grid-template-columns:150px 130px 180px minmax(110px,1fr) repeat(3,minmax(0,.8fr)) 72px}
  .hfresh .grid.rows{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
  .grid.hs,.grid.hs.s8{grid-template-columns:repeat(5,minmax(0,1fr))}.grid.hs .card:nth-child(n+6){display:none}
}
@media(max-width:1179px){
  .search{width:300px}
  .dnav{gap:18px}
  .grid,.grid.rows{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cats a{height:84px}.cats b{font-size:13px}
  .rhead,.rrow{grid-template-columns:130px 120px 150px 0 repeat(3,minmax(0,1fr)) 64px}.rb small{overflow:hidden;font-size:0}
  .t-search .grid.rows{grid-template-columns:minmax(0,1fr)}
  .cdir{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hdeals .grid.rows{grid-template-columns:repeat(3,minmax(0,1fr))}.hdeals .card:nth-child(n+4){display:none}
  .t-home main.wrap{grid-template-columns:minmax(0,1fr) 300px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ================= 다듬기(1차 확인 뒤) ================= */
.ic.dv{transform:rotate(90deg)}

.hsi{position:static;flex:none;margin-left:14px}
.hsearch input{padding-left:8px}
.hdrops .mini li:nth-child(n+5){display:none}
/* 분류(종류 · 세부)도 한 줄 목록(시안 v4 list-1) - 고른 줄 = 옅은 청록 + 왼쪽 청록 막대 */
body:not(.mapmode) .lcol .kinds .chips{display:flex;flex-direction:column;flex-wrap:nowrap;gap:0}
body:not(.mapmode) .lcol .kinds .chips a{justify-content:space-between;height:32px;padding:0 8px;margin:0 -8px;border:0;border-radius:6px;background:transparent;font-size:14px;color:var(--ink-2)}
body:not(.mapmode) .lcol .kinds .chips a:hover{background:var(--surface-2);color:var(--ink)}
body:not(.mapmode) .lcol .kinds .chips a.on,.side .frow:not(.hood) .chips a.on{background:var(--brand-tint);color:var(--brand-strong);font-weight:600;box-shadow:inset 3px 0 0 var(--brand)}
body:not(.mapmode) .lcol .kinds .chips a.on i{color:var(--brand-strong)}
body:not(.mapmode) .lcol .kinds .krow+.krow{margin-top:8px}
/* 상세 오른쪽 = 흰 판 하나(시안 v4 detail-1) */
.info{padding:20px 24px 16px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.info .stat,.info .who{background:var(--bg);border-color:var(--line-2)}
/* 가로 카드(검색 · 지도 목록) - 사진은 카드 높이만큼(최소 126/132), 가격 · 원화 한 줄 */
.t-search .grid.rows .ph{height:auto;min-height:126px;align-self:stretch;aspect-ratio:auto}
.t-search .grid.rows .pr{flex-direction:row;align-items:baseline;gap:8px;margin-top:6px}
.t-search .grid.rows .pr .kr{flex:0 1 auto}
/* 합격선 맞춤(시안 home-1 · I 기준 줄 간격) - 썸네일 2:1, 가격 내린 매물 줄 76 */
.thumbs button{aspect-ratio:2/1}
.hdrops .mini li a{height:76px}
.t-etc .cats{border-top:1px solid var(--line);border-radius:12px}
