/* 바바방공인중개사사무소 홈페이지
   색: 채널 노랑 + 검정. 제목 글꼴은 채널 썸네일과 같은 Gmarket Sans. */

@font-face {
  font-family: "Gmarket Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff") format("woff");
}
@font-face {
  font-family: "Gmarket Sans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff") format("woff");
}

:root {
  color-scheme: light;
  --y: #ffd400;
  --y-deep: #f3c300;
  --y-soft: #fff6c4;
  --ink: #121212;
  --ink-2: #3d3b35;
  --muted: #6f6b5e;
  --paper: #ffffff;
  --paper-2: #faf7ee;
  --line: #e6e0cf;
  --red: #e3271c;
  --kakao: #fee500;
  --r: 18px;
  --shadow: 6px 6px 0 var(--ink);
  --f-d: "Gmarket Sans", "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-b: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--f-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
/* 문단 끝에 한 단어만 홀로 남지 않게 (휴대폰 줄바꿈, 사용자 요청 2026-11-10) */
p, li, dd, .sync-note, .eyebrow, .card-meta, .band-note { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--y); }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 22px;
  border: 2px solid var(--ink); border-radius: 14px;
  background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: 16.5px; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  --lift: var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--lift); }
.btn:active { transform: none; box-shadow: none; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-ink { background: var(--ink); color: var(--y); --lift: #fff; }
.btn-kakao { background: var(--kakao); color: #191600; }
.btn-ghost { background: transparent; }
.on-dark .btn { --lift: var(--y); }
.on-dark .btn-ghost { border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14.5px; border-radius: 11px; }

/* ---------- 머리말 ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--y); border-bottom: 2px solid var(--ink); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; }
.logo-mark {
  font-family: var(--f-d); font-weight: 700; font-size: 19px; letter-spacing: -.03em; line-height: 1;
  background: var(--ink); color: var(--y); border-radius: 999px; padding: 9px 14px 6px; flex: none;
}
.logo-sub { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.nav { display: none; gap: 28px; font-weight: 700; font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }
.head-cta { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .head-cta { display: inline-flex; }
}
@media (max-width: 359px) { .logo-sub { display: none; } }

/* ---------- 첫 화면 ---------- */
.hero { position: relative; background: var(--y); border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero-house { position: absolute; right: -90px; bottom: -150px; width: 640px; max-width: none; color: var(--y-deep); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 44px; padding-block: 40px 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px;
  border: 2px solid var(--ink); border-radius: 999px; padding: 4px 13px;
  background: rgba(255, 255, 255, .45);
}
.hero h1 {
  font-family: var(--f-d); font-weight: 700;
  font-size: clamp(36px, 11.2vw, 88px); line-height: 1.14; letter-spacing: -.04em;
  margin-top: 18px;
}
.nw { white-space: nowrap; }
.hero h1 mark { background: var(--ink); color: var(--y); border-radius: .14em; padding: .12em .14em 0; margin-inline: .04em; }
.lead { font-size: clamp(17px, 2.3vw, 20px); font-weight: 500; line-height: 1.6; margin-top: 20px; max-width: 30em; }
.lead b { font-weight: 800; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-reg { margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

.feature { position: relative; width: min(100%, 540px); justify-self: center; }
.feature-frame {
  position: relative; display: block; width: 100%; padding: 0; cursor: pointer;
  aspect-ratio: 16 / 9; overflow: hidden;
  border: 3px solid var(--ink); border-radius: 20px; background: var(--ink);
  box-shadow: 8px 8px 0 var(--ink); transform: rotate(1.4deg);
  transition: transform .2s ease;
}
.feature-frame:hover { transform: rotate(0deg) scale(1.01); }
.feature-frame img, .feature-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.feature-frame.playing { transform: none; cursor: default; }
.play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%;
  background: var(--y); border: 3px solid var(--ink); display: grid; place-items: center;
}
.play svg { width: 30px; height: 30px; margin-left: 4px; }
.sticker {
  position: absolute; left: -10px; top: -26px; z-index: 2;
  width: 98px; height: 98px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--ink); color: var(--y); border: 3px solid var(--y); outline: 2px solid var(--ink);
  font-family: var(--f-d); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -.02em;
  transform: rotate(-12deg); padding-top: 4px; pointer-events: none;
}
.feature-cap { margin-top: 22px; font-size: 14.5px; font-weight: 600; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
/* 최신 영상 제목: 가운데·크게 + 형광 연두 형광펜 (노란 바탕에서 보이게) 2026-11-11 */
#feature-title { font-family: var(--f-d); font-weight: 900; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.25; letter-spacing: -.03em; color: var(--ink); background: linear-gradient(transparent 52%, #8dff5a 52%, #8dff5a 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .1em; }
.feature-cap .label { font-weight: 800; background: var(--ink); color: var(--y); border-radius: 6px; padding: 1px 8px; font-size: 12.5px; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 56px; padding-block: 76px 92px; }
  .hero h1 { font-size: clamp(54px, 6.5vw, 76px); }
  .hero-house { width: 820px; right: -120px; bottom: -220px; }
  .sticker { width: 116px; height: 116px; font-size: 20px; left: -30px; top: -40px; }
}

/* ---------- 숫자 띠 ---------- */
.band { background: var(--ink); color: #fff; }
.band-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { display: block; padding: 22px 0 18px; text-decoration: none; border-bottom: 1px solid #2f2e2a; }
.stat b { display: block; font-family: var(--f-d); font-weight: 700; font-size: clamp(30px, 6.4vw, 46px); line-height: 1.15; color: var(--y); letter-spacing: -.03em; }
.stat span { font-size: 14px; color: #d3cfc1; }
.stat:hover span { text-decoration: underline; text-underline-offset: 3px; }
.band-note { padding: 14px 0 18px; font-size: 13px; color: #a5a193; }
@media (min-width: 760px) {
  .band-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding: 30px 0 8px; }
}

/* ---------- 구역 공통 ---------- */
.sec { padding-block: 64px; }
.sec-cream { background: var(--paper-2); border-block: 2px solid var(--ink); }
.sec-head { display: grid; gap: 10px; margin-bottom: 30px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.kicker::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--y); border: 2px solid var(--ink); }
.on-dark .kicker::before { border-color: var(--y); }
.sec h2 { font-family: var(--f-d); font-weight: 700; font-size: clamp(28px, 6vw, 46px); line-height: 1.24; letter-spacing: -.035em; }
.sec-desc { font-size: 17px; color: var(--ink-2); max-width: 36em; }
.on-dark .sec-desc { color: #d3cfc1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-underline-offset: 4px; }
@media (min-width: 860px) { .sec { padding-block: 96px; } .sec-head { margin-bottom: 40px; } }

/* ---------- 매물 ---------- */
.demo-bar { background: var(--red); color: #fff; font-weight: 700; font-size: 14.5px; text-align: center; padding: 9px 16px; }
.filters { display: grid; gap: 10px; margin-bottom: 22px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; cursor: pointer; border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  padding: 6px 15px; font-weight: 700; font-size: 14.5px;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--y); }
.chip-n { margin-left: 6px; font-weight: 600; font-size: 12.5px; opacity: .6; font-variant-numeric: tabular-nums; }
.list-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.list-tools p { font-weight: 700; font-size: 15px; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.sort select { font: inherit; font-weight: 700; color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; background: #fff; padding: 6px 10px; cursor: pointer; }
.more-btn { display: flex; width: min(100%, 420px); margin: 28px auto 0; }
.card-tags { color: var(--muted); font-size: 13.5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags li { background: var(--y-soft); border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 11px; font-size: 13.5px; font-weight: 700; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 2px solid var(--ink); border-radius: var(--r); background: #fff; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: var(--y-soft); border-bottom: 2px solid var(--ink); overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.no-photo { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; color: #b79f2a; font-weight: 700; font-size: 13.5px; }
.no-photo svg { width: 56px; height: 56px; }
.tag-deal { position: absolute; left: 12px; top: 12px; background: var(--y); border: 2px solid var(--ink); border-radius: 8px; font-weight: 800; font-size: 13.5px; padding: 1px 9px; }
.tag-sample { position: absolute; right: 12px; top: 12px; background: var(--red); color: #fff; border-radius: 8px; font-weight: 800; font-size: 13px; padding: 2px 9px; }
.tag-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .78); color: #fff; border-radius: 8px; font-weight: 700; font-size: 12.5px; padding: 1px 8px; }
.card-body { display: grid; gap: 5px; padding: 16px 16px 14px; flex: 1; align-content: start; }
.price { font-family: var(--f-d); font-weight: 700; font-size: 24px; line-height: 1.3; letter-spacing: -.03em; }
.price small { font-family: var(--f-b); font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 5px; letter-spacing: 0; }
.card-title { font-weight: 700; font-size: 15.5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.card-meta { font-size: 14.5px; color: var(--ink-2); }
.card-mark { color: var(--red); font-weight: 700; }
.sync-note { display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 12px; }
.sync-note::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #1e9e55; box-shadow: 0 0 0 3px #d6f2e1; }
.sync-note.is-old::before { background: #f08c00; box-shadow: 0 0 0 3px #ffe8c2; }
.sync-note.is-old { border-radius: 16px !important; line-height: 1.5; }
.listing-old-note { margin: 0 0 14px; }
.stale-why { font-size: 13.5px; color: var(--red); }
.stale-why:empty { display: none; }
.hidden-note { border: 2px solid var(--red); border-radius: 12px; background: #fff3f2; padding: 14px 16px; margin-bottom: 20px; font-size: 14.5px; display: grid; gap: 4px; }
.card-foot { display: flex; justify-content: space-between; gap: 10px; margin: 0 16px; padding: 10px 0 13px; border-top: 1px dashed #cfc8b2; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.empty {
  display: grid; gap: 14px; justify-items: center; text-align: center;
  border: 2px dashed var(--ink); border-radius: var(--r); background: var(--paper-2); padding: 40px 22px;
}
.empty svg { width: 64px; height: 64px; }
.empty h3 { font-family: var(--f-d); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.empty p { color: var(--ink-2); max-width: 30em; }

/* 동네별 링크 (첫 화면 매물 아래, 동네 페이지 아래) */
.area-links { display: grid; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--ink); }
.area-links h2, .area-links h3 { font-family: var(--f-d); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips .chip { text-decoration: none; }
.area-chips .chip:hover { background: var(--y); }

/* 현재 위치 (홈 › 매물 › 동네 › 매물번호) */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--muted); }

/* 동네별 매물 페이지 */
.area-page { padding-block: 28px 72px; }
.area-page h1 { font-family: var(--f-d); font-weight: 700; font-size: clamp(28px, 6vw, 44px); line-height: 1.24; letter-spacing: -.035em; }

/* ---------- 원칙 ---------- */
.promise-grid { display: grid; gap: 36px; }
.quote { font-family: var(--f-d); font-weight: 700; font-size: clamp(25px, 4.6vw, 40px); line-height: 1.42; letter-spacing: -.035em; }
.quote em { font-style: normal; background: linear-gradient(transparent 56%, var(--y) 56%); }
.sign { margin-top: 20px; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.sign::before { content: ""; width: 28px; height: 2px; background: var(--ink); }
.principles { border-top: 2px solid var(--ink); }
.principles li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 10px; padding: 20px 0; border-bottom: 2px solid var(--ink); }
.principles .no { font-family: var(--f-d); font-weight: 700; font-size: 20px; padding-top: 3px; }
.principles h3 { font-size: 19.5px; font-weight: 800; line-height: 1.4; }
.principles p { grid-column: 2; color: var(--ink-2); }
@media (min-width: 920px) { .promise-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; } }

.proof { margin-top: 56px; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.proof-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 18px 20px; background: var(--ink); color: #fff; }
.proof-head h3 { font-family: var(--f-d); font-weight: 700; font-size: clamp(19px, 3.4vw, 24px); color: var(--y); letter-spacing: -.02em; padding-top: 3px; }
.proof .row { display: grid; gap: 2px 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.proof .row:first-child { border-top: 0; }
.proof dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.proof dd { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.proof-foot { padding: 16px 20px 18px; background: var(--paper-2); border-top: 2px solid var(--ink); font-size: 14.5px; color: var(--ink-2); display: grid; gap: 12px; }
.proof-foot b { color: var(--ink); }
@media (min-width: 760px) {
  .proof .row { grid-template-columns: 220px 1fr; align-items: center; padding: 16px 26px; }
  .proof-head, .proof-foot { padding-inline: 26px; }
  .proof-foot { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- 영상 ---------- */
.videos { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding: 2px 20px 8px; scroll-padding-inline: 20px; }
.videos::-webkit-scrollbar { display: none; }
.video { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; text-decoration: none; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--ink); border-radius: 14px; background: var(--ink); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.video:hover .video-thumb img { transform: scale(1.04); }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .85); color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 6px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.video-title { font-weight: 700; font-size: 15.5px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 44px 0 16px; }
.sub-head h3 { font-family: var(--f-d); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.shorts { grid-auto-columns: 42%; }
.shorts .video-thumb { aspect-ratio: 9 / 16; }
.video-note { margin-bottom: 26px; font-size: 15px; color: var(--ink-2); background: var(--y-soft); border: 2px solid var(--ink); border-radius: 12px; padding: 12px 16px; max-width: 52em; }
.video-note b { color: var(--ink); }
.feature-note { margin-top: 8px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.channel-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (min-width: 760px) {
  .videos { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; overflow: visible; margin: 0; padding: 0; }
  .shorts { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .shorts .video-title { font-size: 14px; }
}

/* ---------- 계약 전 확인 ---------- */
.checks { background: var(--y); border-block: 2px solid var(--ink); }
.check-grid { display: grid; gap: 16px; }
.check { display: grid; gap: 8px; align-content: start; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 22px; }
.check .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: var(--y); display: grid; place-items: center; margin-bottom: 6px; }
.check .ico svg { width: 26px; height: 26px; }
.check h3 { font-family: var(--f-d); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.check p { color: var(--ink-2); }
@media (min-width: 860px) { .check-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- 상담 ---------- */
.contact { background: var(--ink); color: #fff; }
.contact h2 { color: var(--y); }
.contact-grid { display: grid; gap: 32px; }
.contact-cta { display: grid; gap: 10px; margin-top: 28px; max-width: 420px; }
.steps { margin-top: 26px; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; color: #e9e6da; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--y); color: var(--ink); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.office { background: #1d1d1b; border: 1px solid #3b3a35; border-radius: var(--r); padding: 24px; display: grid; gap: 16px; }
.office h3 { font-family: var(--f-d); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.office dl { display: grid; gap: 12px; }
.office dt { font-size: 13px; color: #a9a596; }
.office dd { font-weight: 600; font-size: 16px; }
.office dd a { text-underline-offset: 3px; }
.office-links { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; } }

/* ---------- 바닥글 ---------- */
.foot { background: var(--paper-2); border-top: 2px solid var(--ink); padding-block: 40px 120px; font-size: 14px; color: var(--ink-2); }
.foot-word { font-family: var(--f-d); font-weight: 700; font-size: clamp(38px, 11vw, 104px); line-height: 1.1; letter-spacing: -.05em; color: var(--ink); }
.foot-word span { background: linear-gradient(transparent 60%, var(--y) 60%); }
.foot-info { margin-top: 26px; display: grid; gap: 6px; }
.foot-info b { color: var(--ink); }
.foot-info .sep { color: #b9b3a0; margin-inline: 6px; }
.foot-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; color: var(--ink); }
.foot-links a { text-underline-offset: 3px; }
.foot-small { margin-top: 18px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .foot { padding-bottom: 56px; } }

/* ---------- 휴대폰 아래 고정 버튼 ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .96); border-top: 2px solid var(--ink); }
.dock .btn { min-height: 50px; }
.dock .btn-kakao { flex: 1; }
.dock .btn-call { flex: none; width: 56px; padding: 0; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- 매물 상세 ---------- */
.detail { padding-block: 22px 72px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; text-decoration: none; margin-bottom: 16px; }
.back:hover { text-decoration: underline; text-underline-offset: 3px; }
.gallery { position: relative; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #0c0c0c; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
/* 칸 비율은 지금 보고 있는 사진의 비율(--ratio)을 따른다 (listing.js). 세로 사진도 양옆 여백 없이 꽉 차게 */
.gallery-track > * { flex: none; width: 100%; aspect-ratio: var(--ratio, 4 / 3); max-height: 82vh; scroll-snap-align: center; transition: aspect-ratio .2s ease; }
.gallery-track img { object-fit: cover; height: 100%; width: 100%; }
.gallery .no-photo { background: var(--y-soft); }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .78); color: #fff; font-weight: 700; font-size: 13px; border-radius: 8px; padding: 1px 9px; font-variant-numeric: tabular-nums; }
.gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--y); cursor: pointer; display: none; place-items: center; }
.gallery-btn svg { width: 20px; height: 20px; }
.gallery-btn.prev { left: 12px; }
.gallery-btn.next { right: 12px; }
@media (hover: hover) and (min-width: 760px) { .gallery-btn { display: grid; } }
.thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding: 2px; scrollbar-width: thin; }
.thumbs button { flex: none; width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .6; }
.thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.detail-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; min-width: 0; }
.head-price { margin-top: 8px; font-size: 26px; }
.detail h1 { font-family: var(--f-d); font-weight: 700; font-size: clamp(24px, 4.6vw, 34px); line-height: 1.3; letter-spacing: -.03em; }
.detail h2 { font-family: var(--f-d); font-weight: 700; font-size: 21px; letter-spacing: -.02em; margin-bottom: 12px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pill { border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 13.5px; padding: 1px 11px; background: #fff; }
.pill-y { background: var(--y); }
.pill-red { background: var(--red); color: #fff; border-color: var(--red); }
.spec { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.spec th, .spec td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 36%; font-weight: 600; font-size: 14.5px; color: var(--muted); padding-right: 12px; }
.spec td { font-weight: 600; font-variant-numeric: tabular-nums; }
.spec td small { display: block; font-weight: 500; font-size: 13.5px; color: var(--muted); }
.desc { white-space: pre-line; color: var(--ink-2); font-size: 16.5px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options li { border: 1.5px solid var(--ink); border-radius: 10px; padding: 3px 11px; font-weight: 600; font-size: 14.5px; }
.honest { border: 2px solid var(--ink); border-radius: var(--r); background: var(--y-soft); padding: 20px 22px; }
.honest p { white-space: pre-line; }
.summary { display: grid; gap: 14px; align-content: start; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; padding: 22px; box-shadow: var(--shadow); }
.summary .price { font-size: 28px; }
.summary .sub { font-size: 14.5px; color: var(--ink-2); }
.summary .btn { width: 100%; }
.summary .hint { font-size: 13px; color: var(--muted); }
.agent { border-top: 1px dashed #cfc8b2; padding-top: 14px; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 2px; }
.agent b { color: var(--ink); font-size: 14.5px; }
.gone { display: grid; gap: 14px; justify-items: start; padding-block: 40px; }
.gone h1 { margin-bottom: 4px; }
@media (min-width: 980px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
  .summary { position: sticky; top: 84px; }
  .head-price { display: none; }
}

.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); z-index: 80; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; border-radius: 12px; padding: 10px 16px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   리퀴드 글라스 (2026-11-09, 사용자 요청 "아이폰 리퀴드 글라스로 입체감")
   위의 기본 모양 위에 덮어쓴다. 색은 그대로 노랑+검정, 모양만 유리처럼:
   반투명 + 뒤 배경 흐림 + 위쪽 빛 반사 + 부드러운 여러 겹 그림자.
   ===================================================================== */
:root {
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-dark: rgba(20, 20, 18, .72);
  --glass-edge: rgba(255, 255, 255, .7);
  --glass-blur: blur(22px) saturate(180%);
  --hi: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .28);
  --hi-dark: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(0, 0, 0, .25);
  --depth: 0 1px 2px rgba(40, 32, 0, .06), 0 8px 24px rgba(40, 32, 0, .08), 0 22px 56px rgba(40, 32, 0, .10);
  --depth-up: 0 2px 4px rgba(40, 32, 0, .07), 0 14px 34px rgba(40, 32, 0, .12), 0 34px 80px rgba(40, 32, 0, .14);
  --gloss: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 52%, rgba(255, 255, 255, 0) 53%);
  /* 검은 버튼용: 위쪽에 회색 띠가 따로 떠 보이지 않게 경계 없이 부드럽게 (사용자 지적 2026-11-10) */
  --gloss-dark: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03) 55%, rgba(255, 255, 255, 0));
  --r: 24px;
  --shadow: var(--depth-up);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass: rgba(255, 255, 255, .93); --glass-strong: #fff; --glass-dark: rgba(20, 20, 18, .95); }
}

body {
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(255, 226, 92, .55), transparent 62%),
    radial-gradient(900px 560px at 105% 28%, rgba(255, 200, 40, .28), transparent 60%),
    radial-gradient(800px 600px at -10% 75%, rgba(255, 236, 160, .45), transparent 62%),
    linear-gradient(180deg, #fffdf5 0%, #fbf6e4 100%);
  background-attachment: fixed;
}

/* 유리 공통 */
.site-head, .btn, .chip, .card, .eyebrow, .sync-note, .sort select, .proof, .summary, .check,
.gallery-btn, .gallery-count, .tag-deal, .tag-count, .dock, .toast, .video-note, .empty, .honest,
.pill, .tags li, .options li, .office, .feature-frame, .sticker, .stat, .thumbs button {
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

/* ---------- 버튼: 알약 모양 유리 ---------- */
.btn {
  border: 1px solid var(--glass-edge); border-radius: 999px;
  background: var(--gloss), var(--glass);
  box-shadow: var(--hi), var(--depth);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.01); box-shadow: var(--hi), var(--depth-up); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: var(--hi), var(--depth); }
.btn-ink { background: var(--gloss), linear-gradient(180deg, #2b2b28, #0e0e0d); border-color: rgba(255, 255, 255, .14); box-shadow: var(--hi-dark), var(--depth); }
.btn-ink:hover { box-shadow: var(--hi-dark), var(--depth-up); }
.btn-kakao { background: var(--gloss), linear-gradient(180deg, #ffec4f, #fddc00); border-color: rgba(255, 255, 255, .8); }
.btn-ghost { background: var(--gloss), rgba(255, 255, 255, .32); }
.on-dark .btn { box-shadow: var(--hi-dark), 0 10px 30px rgba(0, 0, 0, .35); }
.on-dark .btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .32); }
.btn-sm { border-radius: 999px; }

/* ---------- 머리말: 위에 떠 있는 유리 막대 ---------- */
.site-head {
  top: 10px; width: min(1160px, 100% - 20px); margin: 10px auto -70px;
  background: var(--gloss), rgba(255, 216, 20, .7);
  border: 1px solid rgba(255, 255, 255, .75); border-radius: 22px;
  box-shadow: var(--hi), var(--depth);
}
.site-head .wrap { width: calc(100% - 28px); }
.logo-mark { background: linear-gradient(180deg, #2b2b28, #0e0e0d); box-shadow: var(--hi-dark), 0 4px 12px rgba(0, 0, 0, .18); }
.nav a { border-radius: 999px; padding: 6px 12px; border-bottom: 0; transition: background-color .15s ease; }
.nav a:hover { background: rgba(255, 255, 255, .55); }
.nav { gap: 6px; }

/* ---------- 첫 화면 ---------- */
.hero {
  padding-top: 70px; border-bottom: 0;
  background:
    radial-gradient(820px 480px at 88% 8%, rgba(255, 255, 255, .6), transparent 62%),
    radial-gradient(700px 520px at -5% 105%, rgba(255, 184, 0, .75), transparent 62%),
    linear-gradient(160deg, #ffe55a 0%, #ffd400 46%, #ffc600 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 30px 70px rgba(120, 90, 0, .18);
}
.hero-house { color: #fff; opacity: .42; filter: drop-shadow(0 18px 30px rgba(140, 100, 0, .25)); }  /* 2026-11-12: 반투명을 그림 전체에 줘서 벽·지붕이 겹치는 곳이 더 밝아지지 않게 (벽 위 끝을 지붕 선에 이음) */
.eyebrow { border: 1px solid var(--glass-edge); background: var(--gloss), rgba(255, 255, 255, .45); box-shadow: var(--hi), 0 4px 14px rgba(120, 90, 0, .12); }
.hero h1 mark { background: linear-gradient(180deg, #2b2b28, #0e0e0d); box-shadow: var(--hi-dark), 0 10px 24px rgba(0, 0, 0, .22); border-radius: .2em; }
.feature-frame {
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 30px; padding: 8px;
  background: var(--gloss), rgba(255, 255, 255, .38);
  box-shadow: var(--hi), 0 30px 70px rgba(90, 60, 0, .28); transform: rotate(1deg);
}
.feature-frame img { border-radius: 22px; }
.feature-frame:hover { transform: translateY(-4px) rotate(0deg); }
.play { border: 1px solid rgba(255, 255, 255, .85); background: var(--gloss), rgba(255, 212, 0, .82); box-shadow: var(--hi), 0 12px 30px rgba(0, 0, 0, .3); inset: 8px; }
.sticker {
  background: var(--gloss), rgba(18, 18, 16, .78); border: 1px solid rgba(255, 255, 255, .3); outline: 0;
  box-shadow: var(--hi-dark), 0 16px 34px rgba(0, 0, 0, .3);
}
.feature-cap .label { border-radius: 999px; padding: 1px 10px; }
/* 왼쪽 동그라미: 유튜브 로고 + 바바방 유튜브 (2026-11-11) */
.sticker-yt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding-top: 0; font-size: 15px; line-height: 1.15; }
.sticker-yt svg { display: block; flex: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
@media (min-width: 960px) { .sticker-yt { font-size: 17px; } .sticker-yt svg { width: 40px; height: 28px; } }

/* ---------- 숫자 띠: 어두운 유리 타일 ---------- */
.band { background: radial-gradient(700px 300px at 15% 0%, rgba(255, 212, 0, .16), transparent 60%), linear-gradient(135deg, #141412, #24221a); margin-top: 28px; }
.band-grid { gap: 12px; padding-top: 26px; }
.stat {
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 20px 18px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  box-shadow: var(--hi-dark); transition: transform .18s ease, background-color .18s ease;
}
.stat:hover { transform: translateY(-3px); }
@media (min-width: 760px) { .stat { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 24px 22px 18px; } }

/* ---------- 구역 ---------- */
.sec-cream { background: rgba(255, 255, 255, .35); border-block: 0; }
.kicker::before { border: 0; background: radial-gradient(circle at 35% 30%, #fff6a8, #ffd400 55%, #e8b800); box-shadow: 0 2px 6px rgba(150, 110, 0, .35); }

/* 칩 */
.chip { border: 1px solid var(--glass-edge); background: var(--gloss), var(--glass); box-shadow: var(--hi), 0 2px 8px rgba(40, 32, 0, .07); transition: transform .15s ease, box-shadow .15s ease; }
.chip:hover { transform: translateY(-1px); box-shadow: var(--hi), 0 6px 16px rgba(40, 32, 0, .12); }
.chip[aria-pressed="true"] { background: var(--gloss), linear-gradient(180deg, #2b2b28, #0e0e0d); border-color: rgba(255, 255, 255, .14); box-shadow: var(--hi-dark), 0 6px 16px rgba(0, 0, 0, .2); }
.area-chips .chip:hover { background: var(--gloss), rgba(255, 212, 0, .8); }
.sort select { border: 1px solid var(--glass-edge); border-radius: 999px; background: var(--glass); box-shadow: var(--hi), 0 2px 8px rgba(40, 32, 0, .07); padding: 6px 14px; }
.sync-note { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 999px; box-shadow: var(--hi), 0 2px 10px rgba(40, 32, 0, .06); padding: 6px 14px; }
.area-links { border-top: 1px solid rgba(18, 18, 18, .12); }

/* 매물 카드 */
.card {
  border: 1px solid var(--glass-edge); border-radius: 26px; background: var(--glass);
  box-shadow: var(--hi), var(--depth);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--hi), var(--depth-up); }
.card-photo { margin: 8px 8px 0; border-radius: 19px; border-bottom: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.card-photo img { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-photo img { transform: scale(1.04); }
.tag-deal { border: 1px solid rgba(255, 255, 255, .8); border-radius: 999px; padding: 1px 11px; background: var(--gloss), rgba(255, 212, 0, .82); box-shadow: var(--hi), 0 4px 12px rgba(0, 0, 0, .18); }
.tag-count { border-radius: 999px; padding: 1px 10px; background: rgba(20, 20, 18, .45); border: 1px solid rgba(255, 255, 255, .25); }
.card-foot { border-top: 1px solid rgba(18, 18, 18, .08); }
.empty { border: 1px dashed rgba(18, 18, 18, .3); background: var(--glass); box-shadow: var(--hi), var(--depth); }

/* 원칙 · 확인표 */
.principles, .principles li { border-color: rgba(18, 18, 18, .14); }
.principles { border-top-width: 1px; }
.principles li { border-bottom-width: 1px; }
.proof { border: 1px solid var(--glass-edge); border-radius: 30px; background: var(--glass-strong); box-shadow: var(--hi), var(--depth-up); }
.proof-head { background: linear-gradient(135deg, #1a1a17, #2e2b20); }
.proof .row { border-top-color: rgba(18, 18, 18, .07); }
.proof-foot { background: rgba(255, 246, 196, .55); border-top: 1px solid rgba(18, 18, 18, .08); }

/* 영상 */
.video-thumb { border: 0; border-radius: 20px; box-shadow: var(--depth); }
.video-note { border: 1px solid var(--glass-edge); border-radius: 20px; background: var(--gloss), rgba(255, 246, 196, .7); box-shadow: var(--hi), 0 4px 16px rgba(40, 32, 0, .07); }

/* 계약 전 확인 */
.checks {
  border-block: 0;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(160deg, #ffe55a, #ffd400 50%, #ffc800);
  border-radius: 40px; margin-inline: clamp(0px, 2vw, 20px);
}
.check { border: 1px solid rgba(255, 255, 255, .8); border-radius: 26px; background: var(--gloss), rgba(255, 255, 255, .55); box-shadow: var(--hi), 0 18px 44px rgba(120, 90, 0, .18); }
.check .ico { border-radius: 15px; background: linear-gradient(180deg, #2b2b28, #0e0e0d); box-shadow: var(--hi-dark), 0 6px 14px rgba(0, 0, 0, .2); }

/* 상담 (어두운 구역) */
.contact { background: radial-gradient(800px 420px at 85% 0%, rgba(255, 212, 0, .14), transparent 60%), linear-gradient(160deg, #141412, #22201a); border-radius: 40px 40px 0 0; margin-top: 28px; }
.office { background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); border-radius: 26px; box-shadow: var(--hi-dark), 0 20px 50px rgba(0, 0, 0, .3); }
.steps li::before { background: radial-gradient(circle at 35% 30%, #fff6a8, #ffd400 55%, #e8b800); box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }

/* 바닥글 */
.foot { background: rgba(255, 255, 255, .45); border-top: 1px solid rgba(18, 18, 18, .08); }

/* 휴대폰 아래 버튼: 떠 있는 유리 막대 */
.dock {
  left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 8px;
  border: 1px solid var(--glass-edge); border-top: 1px solid var(--glass-edge); border-radius: 28px;
  background: var(--gloss), rgba(255, 255, 255, .6); box-shadow: var(--hi), var(--depth-up);
}

/* ---------- 매물 상세 ---------- */
.detail, .area-page { padding-top: 92px; }
.gallery { border: 1px solid var(--glass-edge); border-radius: 30px; box-shadow: var(--hi), var(--depth-up); }
.gallery-btn { border: 1px solid rgba(255, 255, 255, .8); background: var(--gloss), rgba(255, 255, 255, .55); box-shadow: var(--hi), 0 8px 20px rgba(0, 0, 0, .22); transition: transform .15s ease; }
.gallery-btn:hover { transform: translateY(-50%) scale(1.08); }
.gallery-count { border-radius: 999px; padding: 2px 11px; background: rgba(20, 20, 18, .45); border: 1px solid rgba(255, 255, 255, .25); }
.thumbs button { border-radius: 14px; border: 2px solid transparent; transition: opacity .15s ease, transform .15s ease; }
.thumbs button[aria-current="true"] { border-color: rgba(255, 212, 0, .95); box-shadow: 0 6px 16px rgba(120, 90, 0, .25); transform: translateY(-2px); }
.pill { border: 1px solid var(--glass-edge); background: var(--gloss), var(--glass); box-shadow: var(--hi), 0 2px 8px rgba(40, 32, 0, .07); }
.pill-y { background: var(--gloss), rgba(255, 212, 0, .85); }
.pill-red { background: var(--gloss), rgba(227, 39, 28, .9); border-color: rgba(255, 255, 255, .5); }
.tags li { border: 1px solid var(--glass-edge); background: var(--gloss), rgba(255, 246, 196, .75); box-shadow: var(--hi); }
.options li { border: 1px solid var(--glass-edge); border-radius: 999px; background: var(--glass); box-shadow: var(--hi), 0 2px 8px rgba(40, 32, 0, .06); padding: 3px 13px; }
.spec { border-top: 1px solid rgba(18, 18, 18, .2); }
.spec th, .spec td { border-bottom-color: rgba(18, 18, 18, .08); }
.honest { border: 1px solid var(--glass-edge); border-radius: 26px; background: var(--gloss), rgba(255, 246, 196, .7); box-shadow: var(--hi), var(--depth); }
.summary { border: 1px solid var(--glass-edge); border-radius: 30px; background: var(--glass-strong); box-shadow: var(--hi), var(--depth-up); }
.agent { border-top: 1px solid rgba(18, 18, 18, .08); }
@media (min-width: 980px) { .summary { top: 92px; } }
.toast { background: rgba(20, 20, 18, .78); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; box-shadow: var(--hi-dark), var(--depth-up); }

/* ---------- 누르는 느낌 (common.js): 물결 + 젤리 출렁임 ----------
   transform 대신 scale 속성을 써서 원래 있던 위치 이동(가운데 정렬 등)과 섞이지 않게 한다 */
.btn, .chip, .gallery-btn, .stat, .pill, .thumbs button, .area-chips a, .nav a { position: relative; overflow: hidden; }
.card-photo, .video-thumb, .feature-frame { isolation: isolate; }
.gallery-btn { position: absolute; }
.lg-press { scale: .955; transition: scale .12s cubic-bezier(.3, .7, .4, 1); }
.card.lg-press, .video.lg-press, .feature-frame.lg-press { scale: .975; }
.lg-jelly { animation: lg-jelly .62s cubic-bezier(.3, .7, .4, 1); }
@keyframes lg-jelly {
  0% { scale: .955; }
  28% { scale: 1.035 .985; }
  48% { scale: .985 1.02; }
  68% { scale: 1.012 .995; }
  84% { scale: .997 1.004; }
  100% { scale: 1; }
}
.card.lg-jelly, .video.lg-jelly, .feature-frame.lg-jelly { animation-name: lg-jelly-soft; }
@keyframes lg-jelly-soft {
  0% { scale: .975; }
  35% { scale: 1.015 .995; }
  65% { scale: .995 1.006; }
  100% { scale: 1; }
}
.lg-wave {
  position: absolute; z-index: 3; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .28) 32%, rgba(255, 255, 255, 0) 62%);
  mix-blend-mode: soft-light; scale: 0; opacity: 1;
  animation: lg-wave .7s cubic-bezier(.2, .7, .3, 1) forwards;
}
.lg-wave-2 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 57%);
  mix-blend-mode: normal; animation-duration: .85s;
}
.btn-ink .lg-wave, .chip[aria-pressed="true"] .lg-wave, .stat .lg-wave { mix-blend-mode: screen; opacity: .6; }
@keyframes lg-wave {
  0% { scale: 0; opacity: 1; }
  70% { opacity: .55; }
  100% { scale: 1; opacity: 0; }
}

/* ---------- 입체감 더하기 ---------- */
:root {
  --depth: 0 1px 1px rgba(40, 32, 0, .06), 0 4px 10px rgba(40, 32, 0, .08), 0 16px 36px rgba(40, 32, 0, .12), 0 34px 70px rgba(40, 32, 0, .12);
  --depth-up: 0 2px 3px rgba(40, 32, 0, .08), 0 10px 24px rgba(40, 32, 0, .14), 0 30px 60px rgba(40, 32, 0, .18), 0 60px 110px rgba(40, 32, 0, .16);
  --thick: inset 0 -3px 8px rgba(120, 90, 0, .08), inset 0 2px 1px rgba(255, 255, 255, .95);
}
/* 유리 가장자리 빛 테두리: 왼쪽 위는 밝게, 가운데는 투명, 오른쪽 아래에 반사광 */
/* (머리말 sticky, 하단 막대 fixed, 사진 위 배지 absolute 는 원래 자리 잡기 방식을 그대로 둔다) */
.card, .btn, .chip, .summary, .proof, .check, .gallery, .stat, .office, .feature-frame, .pill, .sync-note, .eyebrow {
  position: relative;
}
.card::after, .btn::after, .chip::after, .summary::after, .proof::after, .check::after, .site-head::after, .dock::after,
.gallery::after, .stat::after, .office::after, .feature-frame::after, .pill::after, .eyebrow::after, .tag-deal::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 4;
  background: linear-gradient(155deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .35) 22%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .55) 88%, rgba(255, 255, 255, .9) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.stat::after, .office::after, .btn-ink::after, .chip[aria-pressed="true"]::after { opacity: .35; }
.card, .summary, .proof, .check { box-shadow: var(--thick), var(--depth); }
.card:hover { box-shadow: var(--thick), var(--depth-up); }
.btn { box-shadow: var(--hi), inset 0 -2px 5px rgba(120, 90, 0, .1), var(--depth); }
.btn-ink { box-shadow: var(--hi-dark), inset 0 -3px 6px rgba(0, 0, 0, .35), var(--depth); }
.price { text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 6px 16px rgba(120, 90, 0, .12); }
.hero h1 { text-shadow: 0 2px 0 rgba(255, 255, 255, .45), 0 18px 40px rgba(120, 90, 0, .25); }
@media (min-width: 980px) { .summary { position: sticky; } }

/* 마우스를 따라 살짝 기울고 빛이 움직인다 (common.js 가 --rx --ry --gx --gy 를 넣는다) */
@media (hover: hover) and (pointer: fine) {
  .card, .feature-frame, .check, .stat {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
  }
  .card:hover, .check:hover, .stat:hover { --lift: -6px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift)); }
  .feature-frame:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }
  .card::before, .feature-frame::before, .check::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; opacity: 0;
    background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 45%);
    mix-blend-mode: soft-light; transition: opacity .25s ease;
  }
  .card:hover::before, .feature-frame:hover::before, .check:hover::before { opacity: 1; }
}

/* 거래 형태 배지: 월세는 노란 유리 */
.deal-badge {
  display: inline-flex; align-items: center; vertical-align: .18em; margin-right: 10px;
  font-family: var(--f-b); font-size: .52em; font-weight: 800; letter-spacing: 0; line-height: 1;
  padding: .5em .85em .45em; border-radius: 999px; text-shadow: none;
  border: 1px solid rgba(255, 255, 255, .85);
  background: var(--gloss), linear-gradient(180deg, #ffe54a, #ffcc00);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -2px 4px rgba(150, 100, 0, .2), 0 4px 12px rgba(160, 120, 0, .28);
}
.deal-badge.deal-jeonse { background: var(--gloss), linear-gradient(180deg, #ffffff, #eef1f6); }
.deal-badge.deal-sale { background: var(--gloss), linear-gradient(180deg, #2b2b28, #0e0e0d); color: var(--y); border-color: rgba(255, 255, 255, .2); }
.tag-deal { background: var(--gloss), linear-gradient(180deg, #ffe54a, #ffcc00); }

/* ---------- 오른쪽 아래 타원형 '문의하기' + 문의 양식 (common.js) ---------- */
.ask-bar {
  position: fixed; right: 18px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  display: flex; align-items: center; gap: 10px;
}
.ask-tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 58px; padding: 0 20px 0 16px; text-decoration: none;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff;
  font-family: var(--f-d); font-weight: 700; font-size: 17px; letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  background: var(--gloss), linear-gradient(180deg, #2b2b28, #0e0e0d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -3px 7px rgba(0, 0, 0, .4), 0 10px 26px rgba(0, 0, 0, .28), 0 26px 60px rgba(40, 32, 0, .2);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1);
}
.ask-tel:hover { transform: translateY(-3px); }
.ask-tel svg { width: 20px; height: 20px; color: var(--y); flex: none; }
.ask-fab {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 26px 0 20px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .9); cursor: pointer;
  font-family: var(--f-d); font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--ink);
  background: var(--gloss), linear-gradient(180deg, #ffe54a, #ffcc00);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -3px 7px rgba(150, 100, 0, .22), 0 10px 26px rgba(150, 100, 0, .32), 0 26px 60px rgba(40, 32, 0, .22);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
}
.ask-fab:hover { transform: translateY(-3px); }
.ask-dot { width: 10px; height: 10px; border-radius: 50%; background: #1e9e55; box-shadow: 0 0 0 4px rgba(30, 158, 85, .2); animation: ask-pulse 2.2s ease-in-out infinite; }
@keyframes ask-pulse { 50% { box-shadow: 0 0 0 8px rgba(30, 158, 85, 0); } }
/* 문의하기 위 '모바일로 보기' (common.js buildMobilePreview) */
.mp-btn {
  position: fixed; right: 18px; bottom: calc(94px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; cursor: pointer;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .9); color: var(--ink);
  font-family: var(--f-d); font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(0, 0, 0, .16);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1);
}
.mp-btn:hover { transform: translateY(-3px); }
.mp-btn svg { width: 19px; height: 19px; flex: none; }
.mp-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(18, 18, 18, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 16px; }
.mp-stage { position: relative; display: grid; justify-items: center; gap: 12px; }
.mp-cap { color: #fff; font-weight: 700; font-size: 14px; margin: 0; }
.mp-phone { width: 414px; height: min(868px, calc(100vh - 80px)); padding: 12px; border-radius: 52px; background: #111; box-shadow: 0 0 0 2px #3a3a3a, 0 30px 80px rgba(0, 0, 0, .5); }
.mp-frame { width: 390px; height: 100%; border: 0; border-radius: 40px; background: #fff; display: block; }
.mp-close { position: absolute; top: 28px; right: -64px; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--y); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.mp-close svg { width: 22px; height: 22px; }
body.mp-open { overflow: hidden; }
body.mp-open .ask-bar { display: none; }
@media (max-width: 899px) { .mp-btn { display: none; } }
/* 휴대폰 아래 막대: 카카오톡 대신 우리 '간편 상담 문의' 양식 (사용자 요청 2026-11-10). 막대가 있으니 떠 있는 문의 버튼은 숨긴다 */
.dock .btn-ask {
  flex: 1; gap: 9px; min-height: 50px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .9);
  font-family: var(--f-d); font-weight: 700; font-size: 17px; color: var(--ink);
  background: var(--gloss, none), linear-gradient(180deg, #ffe54a, #ffcc00);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -3px 7px rgba(150, 100, 0, .22), 0 8px 20px rgba(150, 100, 0, .25);
}
@media (max-width: 899px) { .ask-bar { display: none; } }
@media (max-width: 899px) {
  .ask-bar { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); right: 14px; gap: 8px; }
  .ask-fab, .ask-tel { min-height: 52px; font-size: 16px; padding: 0 18px 0 14px; }
  .ask-tel span { display: none; } /* 휴대폰은 아래 막대에 전화 버튼이 있어서 아이콘만 */
  .ask-tel { padding: 0; width: 52px; justify-content: center; }
}

.ask-dialog {
  width: min(560px, 100% - 24px); max-height: min(88vh, 860px); margin: auto; padding: 0; overflow: auto;
  border: 1px solid rgba(255, 255, 255, .85); border-radius: 32px; color: var(--ink);
  background: var(--gloss), rgba(255, 252, 240, .82);
  -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 30px 80px rgba(40, 32, 0, .35);
}
.ask-dialog[open] { animation: ask-in .38s cubic-bezier(.2, .9, .25, 1.15); }
@keyframes ask-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.ask-dialog::backdrop { background: rgba(30, 24, 0, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 599px) {
  .ask-dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 30px 30px 0 0; max-height: 92vh; }
  .ask-dialog[open] { animation-name: ask-up; }
  @keyframes ask-up { from { transform: translateY(100%); } to { transform: none; } }
}
.ask-form { display: grid; gap: 16px; padding: 24px 22px calc(22px + env(safe-area-inset-bottom, 0px)); }
.ask-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.ask-head h2 { font-family: var(--f-d); font-weight: 700; font-size: 24px; letter-spacing: -.03em; }
.ask-head p { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.ask-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); background: var(--gloss), rgba(255, 255, 255, .6); box-shadow: var(--hi), 0 4px 12px rgba(40, 32, 0, .12); display: grid; place-items: center; cursor: pointer; }
.ask-close svg { width: 18px; height: 18px; }
.ask-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-kind input { position: absolute; opacity: 0; pointer-events: none; }
.ask-kind span {
  display: inline-flex; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14.5px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .9); background: var(--gloss), rgba(255, 255, 255, .6); box-shadow: var(--hi), 0 2px 8px rgba(40, 32, 0, .08);
}
.ask-kind input:checked + span { background: var(--gloss), linear-gradient(180deg, #2b2b28, #0e0e0d); color: var(--y); border-color: rgba(255, 255, 255, .15); }
.ask-kind input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.ask-grid { display: grid; gap: 12px; }
@media (min-width: 520px) { .ask-grid { grid-template-columns: 1fr 1fr; } }
.ask-field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.ask-field input, .ask-field textarea {
  font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); width: 100%;
  border: 1px solid rgba(18, 18, 18, .1); border-radius: 16px; padding: 12px 14px; resize: vertical;
  background: rgba(255, 255, 255, .75); box-shadow: inset 0 2px 4px rgba(40, 32, 0, .06);
}
.ask-field input:focus, .ask-field textarea:focus { outline: 0; border-color: rgba(255, 204, 0, .9); box-shadow: inset 0 2px 4px rgba(40, 32, 0, .06), 0 0 0 4px rgba(255, 212, 0, .35); }
.ask-field input[readonly] { background: rgba(255, 246, 196, .7); }
.ask-note { font-size: 12.5px; color: var(--muted); }
.ask-actions { display: grid; gap: 10px; }
.ask-actions .btn { width: 100%; }

/* ---------- 확인 정보 상자: 낮고 넓게 (사용자 요청 "세로는 작고 가로는 길게") ---------- */
.proof { margin-top: 44px; border-radius: 26px; }
.proof-head { padding: 12px 20px; }
.proof-head h3 { font-size: 17px; }
.proof dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof .row, .proof .row:first-child { display: block; padding: 12px 18px; border-top: 1px solid rgba(18, 18, 18, .07); border-left: 1px solid rgba(18, 18, 18, .07); }
.proof dt { font-size: 12px; }
.proof dd { font-size: 15px; line-height: 1.4; margin-top: 2px; }
.proof-foot { padding: 10px 20px 12px; font-size: 13px; gap: 8px; }
@media (min-width: 760px) {
  .proof dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof .row, .proof .row:first-child { display: block; grid-template-columns: none; padding: 12px 20px; }
  .proof-head, .proof-foot { padding-inline: 22px; }
}
@media (min-width: 1040px) {
  .proof dl { grid-template-columns: auto auto auto auto auto 1fr; }
  .proof .row { border-top: 0; padding-inline: 16px; }
  .proof dt, .proof dd { white-space: nowrap; }
}

/* 첫 화면 위 문구: 실제 매물 수 + 살아 있는 초록 점 */
.eyebrow { gap: 9px; font-size: 14.5px; font-weight: 800; padding: 6px 15px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #9a9483; flex: none; }
.eyebrow.is-live .live-dot { background: #1e9e55; box-shadow: 0 0 0 0 rgba(30, 158, 85, .5); animation: live-ping 1.8s ease-out infinite; }
@keyframes live-ping { 0% { box-shadow: 0 0 0 0 rgba(30, 158, 85, .55); } 100% { box-shadow: 0 0 0 9px rgba(30, 158, 85, 0); } }

/* ---------- 오시는 길: 지번 크게 + 약도 ---------- */
.office .addr-big { font-family: var(--f-d); font-weight: 700; font-size: clamp(26px, 4vw, 32px); letter-spacing: -.02em; color: var(--y); line-height: 1.2; }
.office .addr-big small { font-family: var(--f-b); font-size: 15px; color: #e9e6da; font-weight: 700; margin-left: 4px; }
.office .addr-sub { font-size: 14px; font-weight: 600; color: #c9c5b7; }
.office .addr-hint { font-size: 15.5px; color: #e9e6da; }
.office .addr-hint b { color: #121212; background: linear-gradient(180deg, #ffe54a, #ffcc00); border-radius: 8px; padding: 1px 8px; box-shadow: 0 4px 12px rgba(255, 200, 0, .25); }
.sketch { margin: 0; display: grid; gap: 8px; }
.sketch svg { width: 100%; height: auto; display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.sketch figcaption { font-size: 12.5px; color: #a9a596; }
/* 지도 앱 느낌: 밝은 바탕, 노란 큰길, 흰 골목 */
.sk-ground { fill: #f1f0ea; }
.sk-blocks rect { fill: #e3e0d6; }
.sk-street rect { fill: #fff; stroke: #d6d2c6; stroke-width: 1.5; }
.sk-main rect { fill: #ffe07a; stroke: #f0c331; stroke-width: 2; }
.sk-crosswalk rect { fill: #fff; opacity: .9; }
.sk-main-name { font-family: var(--f-b); font-size: 17px; font-weight: 800; fill: #7a5b00; text-anchor: middle; letter-spacing: .1em; }
.sk-street-name { font-family: var(--f-b); font-size: 11.5px; font-weight: 700; fill: #8b877a; text-anchor: middle; }
.sk-poi text { text-anchor: middle; font-family: var(--f-b); }
.sk-poi-icon { font-size: 15px; fill: #fff; }
.sk-poi-24 { font-size: 11px; font-weight: 900; }
.sk-poi-cafe { fill: #e8833a; stroke: #fff; stroke-width: 2.5; }
.sk-poi-mart { fill: #20a7a1; stroke: #fff; stroke-width: 2.5; }
.sk-poi-name { font-size: 13.5px; font-weight: 800; fill: #2c2a24; paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; }
.sk-poi-minor { font-size: 11.5px; font-weight: 700; fill: #6f6b5e; }
.sk-landmark-card { fill: #fff; stroke: #e4372b; stroke-width: 2.5; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18)); }
.sk-spa { font-size: 20px; fill: #e4372b; }
.sk-landmark-name { font-size: 16px; font-weight: 900; fill: #121212; }
.sk-street-line { fill: none; stroke: #d9d5c9; stroke-width: 1.5; stroke-dasharray: 10 8; }
.sk-street-main { font-size: 12.5px; font-weight: 800; fill: #6f6b5e; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
/* 길 안내선 (내비게이션처럼) */
.sk-route-casing { fill: none; stroke: #fff; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.sk-route { fill: none; stroke: #ff9f0a; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 11; animation: sk-dash 1s linear infinite; }
.sk-route-start { fill: #ff9f0a; stroke: #fff; stroke-width: 3; }
@keyframes sk-dash { to { stroke-dashoffset: -13; } }
.sk-badge rect { fill: #121212; }
.sk-badge text { font-family: var(--f-b); font-size: 12px; font-weight: 800; fill: #ffd400; text-anchor: middle; }
.sk-office-bld { fill: #ffe98a; stroke: #ffc400; stroke-width: 2.5; }
.sk-pin { stroke: #fff; stroke-width: 2.5; }
.sk-pin-dot { fill: #121212; }
.sk-pin-text { font-family: var(--f-d); font-size: 13px; font-weight: 700; fill: #ffd400; text-anchor: middle; }
.sk-pin-shadow { fill: rgba(0, 0, 0, .25); }
.sk-office { animation: sk-bob 2.4s ease-in-out infinite; }
@keyframes sk-bob { 0%, 100% { transform: translate(338px, 262px); } 50% { transform: translate(338px, 256px); } }
.sk-label rect { fill: #121212; }
.sk-label-name { font-family: var(--f-d); font-size: 16px; font-weight: 700; fill: #ffd400; text-anchor: middle; }
.sk-label-sub { font-family: var(--f-b); font-size: 12px; font-weight: 700; fill: #e9e6da; text-anchor: middle; }
.sk-north circle { fill: rgba(255, 255, 255, .9); stroke: #d6d2c6; }
.sk-north path { fill: #e4372b; }
.sk-north-name { font-family: var(--f-b); font-size: 11px; font-weight: 800; fill: #6f6b5e; text-anchor: middle; }
.sk-ping { fill: none; stroke: #ffc400; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: sk-ping 2.2s cubic-bezier(.2, .7, .3, 1) infinite; }
@keyframes sk-ping { 0% { transform: scale(.6); opacity: .95; } 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- 입체 약도 (tools/make_iso_map.py): 일러스트 약도 느낌 ---------- */
.iso-figure svg { background: radial-gradient(120% 90% at 50% 40%, #fbfaf6 0%, #eef1ec 100%); }
.iso-figure .land { fill: #edf0ea; }
.iso-figure .walk { fill: #d4d8dd; }
.iso-figure .road { fill: #50565f; }
.iso-figure .road.big { fill: #3f454d; }
.iso-figure .center { stroke: #ffd000; stroke-width: 3.5; }
.iso-figure .lane { stroke: #fff; stroke-width: 2.6; stroke-dasharray: 16 14; opacity: .9; }
.iso-figure .zebra { fill: #fff; }
.iso-figure .tree circle { fill: #64b843; stroke: #3f8f2b; stroke-width: 1.5; }
.iso-figure .tree .t-hi { fill: #8fd36c; stroke: none; }
.iso-figure .tree .t-tr { fill: #8a5a35; }
.iso-figure .tree .t-sh { fill: rgba(0, 0, 0, .12); }
.iso-figure .b .sh { fill: rgba(40, 50, 60, .12); }
.iso-figure .b .ft { fill: #fbfbfc; stroke: #c9cfd8; stroke-width: 1.5; stroke-linejoin: round; }
.iso-figure .b .fr { fill: #c4cbd5; stroke: #aeb6c2; stroke-width: 1.5; stroke-linejoin: round; }
.iso-figure .b .ff { fill: #e2e6ec; stroke: #c4cad3; stroke-width: 1.5; stroke-linejoin: round; }
.iso-figure .b .win { fill: #9fc2e6; opacity: .8; }
.iso-figure .b .win-side { fill: #86a9cf; }
.iso-figure .b-cafe .ft { fill: #fde7d3; stroke: #e7b48c; } .iso-figure .b-cafe .fr { fill: #d9945f; stroke: #c27f4c; } .iso-figure .b-cafe .ff { fill: #eeb183; stroke: #d99a68; }
.iso-figure .b-sauna .ft { fill: #fde4e1; stroke: #e7a29a; } .iso-figure .b-sauna .fr { fill: #d9776c; stroke: #c4655b; } .iso-figure .b-sauna .ff { fill: #eea49b; stroke: #d98a81; }
.iso-figure .b-sauna .dome { fill: #f8cfc9; stroke: #d9776c; stroke-width: 2; }
.iso-figure .b-sauna .sign-v { font-size: 26px; fill: #fff; }
.iso-figure .b-office .ft { fill: #fff3a6; stroke: #e2b600; } .iso-figure .b-office .fr { fill: #f2c200; stroke: #d6a900; } .iso-figure .b-office .ff { fill: #ffd84a; stroke: #e2b600; }
.iso-figure .b-office .win { fill: #fff8d0; opacity: 1; }
.iso-figure .b-office .board { fill: #121212; }
.iso-figure .b-office .glass { fill: #8fb8e0; }
.iso-figure .b-office .board-t { font-family: var(--f-d); font-size: 13px; font-weight: 700; fill: #ffd400; text-anchor: middle; }
.iso-figure .route-c { fill: none; stroke: #fff; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.iso-figure .route { fill: none; stroke: #ff7a00; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 16; animation: iso-dash 1.1s linear infinite; }
@keyframes iso-dash { to { stroke-dashoffset: -18; } }
.iso-figure .route-end { fill: #ff7a00; stroke: #fff; stroke-width: 4; }
.iso-figure .car rect { fill: #fff; stroke: rgba(0, 0, 0, .3); stroke-width: 1.2; }
.iso-figure .car .roof { fill: rgba(255, 255, 255, .55); }
.iso-figure .c-y rect:first-child { fill: #ffc400; } .iso-figure .c-r rect:first-child { fill: #e53935; } .iso-figure .c-b rect:first-child { fill: #1e88e5; }
.iso-figure .rname { font-family: var(--f-b); font-size: 20px; font-weight: 800; fill: #fff; text-anchor: middle; letter-spacing: .04em; }
.iso-figure .rname.big { font-size: 24px; }
.iso-figure .bub rect { fill: #fff; stroke: #d5d9df; stroke-width: 2; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .18)); }
.iso-figure .bub path { fill: #fff; }
.iso-figure .bub text { font-family: var(--f-b); font-size: 21px; font-weight: 900; fill: #262626; text-anchor: middle; }
.iso-figure .b-cafe rect { stroke: #e8833a; stroke-width: 3; } .iso-figure .b-cafe text { fill: #a9531a; }
.iso-figure .b-spa rect { stroke: #e4372b; stroke-width: 3; } .iso-figure .b-spa text { fill: #c62828; }
.iso-figure .b-office rect { fill: #e8336d; stroke: #fff; stroke-width: 3; }
.iso-figure .b-office path { fill: #e8336d; }
.iso-figure .b-office text { fill: #fff; font-family: var(--f-d); font-size: 27px; font-weight: 700; }
.iso-figure .b-office .sub { font-family: var(--f-b); font-size: 17px; font-weight: 800; fill: #ffe3ec; }
.iso-figure .b-route rect { fill: #121212; stroke: none; } .iso-figure .b-route path { fill: #121212; } .iso-figure .b-route text { fill: #ffd400; font-size: 19px; }
.iso-figure .pin path { fill: #ffd400; stroke: #fff; stroke-width: 4; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3)); }
.iso-figure .pin .pin-dot { fill: #121212; }
.iso-figure .pin text { font-family: var(--f-d); font-size: 19px; font-weight: 700; fill: #ffd400; text-anchor: middle; }
.iso-figure .pin { animation: iso-bob 2.2s ease-in-out infinite; }
@keyframes iso-bob { 50% { translate: 0 -8px; } }
.iso-figure .stop { stroke: #fff; stroke-width: 4; }
.iso-figure .sig .pole { stroke: #4a4f57; stroke-width: 3.5; stroke-linecap: round; }
.iso-figure .sig .box { fill: #1c1f24; stroke: #000; stroke-width: 1; }
.iso-figure .sig .t-sh { fill: rgba(0, 0, 0, .15); }
.iso-figure .sig .l-r { fill: #5a2622; } .iso-figure .sig .l-y { fill: #5a4a1c; }
.iso-figure .sig .l-g { fill: #2bea6b; filter: drop-shadow(0 0 4px #2bea6b); }
@media (max-width: 700px) {
  .iso-figure { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .iso-figure svg { min-width: 680px; }
}

/* 네이버 지도를 따라 그린 약도 (북쪽이 위). 상담 구역 아래에 가로 전체로 크게 */
.sketch-wide { grid-column: 1 / -1; margin-top: 8px; }
.sketch-wide svg { border-radius: 28px; max-height: 640px; }
/* 네이버 지도를 따라 그린 약도 (북쪽이 위) */
.nv-road { fill: #fff; }
.nv-ground { fill: #f2f2f0; }
.nv-street polyline { fill: none; stroke: #fff; stroke-width: 34; stroke-linecap: square; stroke-linejoin: round; }
.nv-main { fill: #fdeca8; stroke: #f2d374; stroke-width: 2; }
.nv-crosswalk rect { fill: #fff; opacity: .85; }
.nv-road-big { font-size: 26px; font-weight: 900; fill: #9a7a14; letter-spacing: .06em; }
.nv-t-pink { fill: #c55a79 !important; }
.nv-landmark-cafe rect { stroke: #e8833a; }
.nv-landmark .nv-cup { font-size: 26px; fill: #e8833a; }
.nv-route-start { fill: #ff9f0a; stroke: #fff; stroke-width: 4; }
.nv-parcel path { fill: #f3f3f2; stroke: #e1e1df; stroke-width: 2; }
.nv-bld path, .nv-bld rect { fill: #fbfbfa; stroke: #d6d6d3; stroke-width: 2; }
.nv-bld-c path, .nv-bld-c rect { fill: #f7e8da; stroke: #e6cfba; stroke-width: 2; }
.nv-road-name { font-family: var(--f-b); font-size: 22px; font-weight: 700; fill: #8d8d8d; }
.nv-road-main { font-size: 26px; font-weight: 800; fill: #6b6b6b; }
.nv-poi text { font-family: var(--f-b); font-size: 21px; font-weight: 700; fill: #6e6a64; text-anchor: middle; }
.nv-poi circle { stroke: #fff; stroke-width: 3; }
.nv-ic-gray { fill: #8f8778; }
.nv-ic-blue { fill: #6e8fd8; }
.nv-ic-pink { fill: #d9708c; }
.nv-ic-yellow { fill: #f2b705; }
.nv-ic-orange { fill: #ea8a4a; }
.nv-t-yellow { fill: #c58c00 !important; }
.nv-t-orange { fill: #d9752e !important; }
.nv-landmark rect { fill: #fff; stroke: #e4372b; stroke-width: 4; }
.nv-landmark text { font-family: var(--f-b); font-size: 26px; font-weight: 900; fill: #121212; text-anchor: middle; }
.nv-landmark .nv-spa { font-size: 32px; fill: #e4372b; }
.nv-route-casing { fill: none; stroke: #fff; stroke-width: 20; stroke-linecap: round; stroke-linejoin: round; }
.nv-route { fill: none; stroke: #ff9f0a; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3 18; animation: nv-dash 1s linear infinite; }
@keyframes nv-dash { to { stroke-dashoffset: -21; } }
.nv-badge rect { fill: #121212; }
.nv-badge text { font-family: var(--f-b); font-size: 19px; font-weight: 800; fill: #ffd400; text-anchor: middle; }
.nv-office-bld { fill: #ffe98a; stroke: #ffc400; stroke-width: 4; }
.nv-pin { stroke: #fff; stroke-width: 4; }
.nv-pin-dot { fill: #121212; }
.nv-pin-text { font-family: var(--f-d); font-size: 19px; font-weight: 700; fill: #ffd400; text-anchor: middle; }
.nv-pin-shadow { fill: rgba(0, 0, 0, .25); }
.nv-ping { fill: none; stroke: #ffc400; stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: sk-ping 2.2s cubic-bezier(.2, .7, .3, 1) infinite; }
.nv-office { animation: nv-bob 2.4s ease-in-out infinite; }
@keyframes nv-bob { 0%, 100% { transform: translate(757px, 262px); } 50% { transform: translate(757px, 254px); } }
.nv-label rect { fill: #121212; }
.nv-label-name { font-family: var(--f-d); font-size: 25px; font-weight: 700; fill: #ffd400; text-anchor: middle; }
.nv-label-sub { font-family: var(--f-b); font-size: 18px; font-weight: 700; fill: #e9e6da; text-anchor: middle; }
.nv-north circle { fill: rgba(255, 255, 255, .95); stroke: #d6d6d3; stroke-width: 2; }
.nv-north path { fill: #e4372b; }

/* ---------- 블로그 ---------- */
.blog-posts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.blog-post {
  position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; text-decoration: none;
  padding: 10px; border-radius: 24px; border: 1px solid var(--glass-edge); background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--thick), var(--depth); transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease;
}
.blog-post:hover { transform: translateY(-4px); box-shadow: var(--thick), var(--depth-up); }
.blog-thumb { aspect-ratio: 1; border-radius: 17px; overflow: hidden; background: var(--y-soft); box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { min-width: 0; display: grid; gap: 3px; }
.blog-date { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.blog-title { font-weight: 800; font-size: 15.5px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.blog-sum { font-size: 13.5px; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }

/* ---------- 동네별 지도 ---------- */
.area-map {
  height: 380px; margin-top: 4px; border-radius: 28px; overflow: hidden; z-index: 0;
  border: 1px solid var(--glass-edge); box-shadow: var(--hi), var(--depth-up); background: #f3efe2;
}
.area-map .leaflet-tile-pane { filter: grayscale(.9) sepia(.22) brightness(1.06) contrast(.92); }
.area-map .leaflet-control-zoom a { border-radius: 12px !important; border: 0; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.area-map .leaflet-control-zoom { border: 1px solid var(--glass-edge) !important; border-radius: 14px !important; overflow: hidden; box-shadow: var(--depth) !important; }
.area-map .leaflet-control-attribution { background: rgba(255, 255, 255, .7); border-radius: 10px 0 0 0; font-size: 10.5px; }
.map-pin-wrap { background: none; border: 0; }
.map-pin {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer;
  transform: translate(-50%, -50%); padding: 6px 12px 6px 10px; border-radius: 999px;
  font-family: var(--f-b); font-size: 13.5px; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .9); background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .1) 55%), rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(40, 32, 0, .22), 0 16px 34px rgba(40, 32, 0, .16);
  transition: scale .18s cubic-bezier(.2, .8, .2, 1);
}
.map-pin b { font-weight: 800; }
.map-pin > span { font-weight: 800; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: linear-gradient(180deg, #ffe54a, #ffcc00); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
.map-pin-big { font-size: 15px; padding: 8px 14px 8px 12px; }
.map-pin-big > span { font-size: 13px; }
.map-pin:hover { scale: 1.08; }
.map-credit { font-size: 12px; color: var(--muted); }
@media (max-width: 599px) { .area-map { height: 320px; border-radius: 22px; } }

/* 구미시 경계 지도 (타일 없이, 구미시만) */
.area-map.is-svg { position: relative; height: auto; overflow: visible; padding: clamp(10px, 3vw, 30px); background: var(--gloss), rgba(255, 255, 255, .45); }
.gumi-svg { display: block; width: 100%; height: auto; max-height: 820px; overflow: visible; }
.gm-label.gm-quiet { opacity: 0; transition: opacity .2s ease; }
.gm-label.gm-quiet.is-hot { opacity: 1; }
/* 평소에는 모든 동이 같은 연한 색. 마우스를 올리거나 터치한 동만 노랗게 색이 들어오고 통통 커진다.
   마우스를 빼면 살짝 작아졌다가 제자리로 돌아온다 (gm-out). */
.gm-region { cursor: pointer; outline: none; transform-box: fill-box; transform-origin: center; transition: filter .25s ease; }
.gm-region path { fill: url(#gm-paper); stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill .22s ease; }
.gm-region.has-listings path { fill: url(#gm-paper2); }
/* 지도 판 두께: 같은 모양을 아래로 내려 진하게 깐다 */
.gm-base .gm-side { fill: #cbbd94; stroke: #cbbd94; stroke-width: 6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.gm-base { filter: drop-shadow(0 18px 22px rgba(90, 66, 0, .28)); }
/* 스포트라이트: 마우스 올린 동 말고는 살짝 어둡게 */
.gumi-svg.has-hot .gm-region:not(.is-hot) path { filter: brightness(.86) saturate(.8); }
.gm-region path { transition: fill .22s ease, filter .25s ease; }
/* 매물 있는 동: 배지에서 노란 물결이 퍼진다 */
.gm-pulse circle { fill: none; stroke: #ffc800; stroke-width: .09; transform-box: fill-box; transform-origin: center; animation: gm-ping 2.4s cubic-bezier(.2, .7, .3, 1) infinite; }
.gm-pulse .gm-pulse-2 { animation-delay: 1.2s; }
@keyframes gm-ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.gm-pulses { pointer-events: none; }
/* 등장: 아래에서 톡톡 튀어 오른다 */
.gumi-svg.gm-wait .gm-region, .gumi-svg.gm-wait .gm-labels, .gumi-svg.gm-wait .gm-pulses { opacity: 0; }
.gumi-svg.gm-enter .gm-region { animation: gm-pop .6s cubic-bezier(.2, .9, .25, 1.3) both; animation-delay: calc(var(--i) * 45ms); }
.gumi-svg.gm-enter .gm-labels, .gumi-svg.gm-enter .gm-pulses { animation: gm-fade .5s ease both; animation-delay: .7s; }
@keyframes gm-pop { 0% { opacity: 0; transform: translateY(28px) scale(.85); } 100% { opacity: 1; transform: none; } }
@keyframes gm-fade { from { opacity: 0; } to { opacity: 1; } }
.gm-region path.gm-cover { stroke: none; }
.gm-region.is-hot { animation: gm-in .5s cubic-bezier(.2, .9, .25, 1) forwards; filter: url(#gm-lift); }
.gm-region.is-hot path { fill: url(#gm-yellow); stroke: #fff; stroke-width: 3; }
.gm-region.is-out { animation: gm-out .45s cubic-bezier(.3, .7, .4, 1); }
@keyframes gm-in {
  0% { transform: scale(1); }
  45% { transform: scale(1.13); }
  70% { transform: scale(1.07); }
  85% { transform: scale(1.1); }
  100% { transform: scale(1.09); }
}
@keyframes gm-out {
  0% { transform: scale(1.09); }
  45% { transform: scale(.95); }
  75% { transform: scale(1.015); }
  100% { transform: scale(1); }
}
.gm-label { pointer-events: none; transform-box: fill-box; }
.gm-name { font-family: var(--f-b); font-weight: 800; fill: #66625a; paint-order: stroke; stroke: rgba(255, 255, 255, .9); stroke-linejoin: round; transition: fill .2s ease; }
.gm-label.has-listings .gm-name { fill: var(--ink); }
.gm-label.is-hot .gm-name { fill: #121212; stroke: rgba(255, 255, 255, .6); }
.gm-badge rect { fill: #121212; }
.gm-badge text { font-family: var(--f-b); font-weight: 800; fill: var(--y); }
.gm-tip {
  position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 34px)); pointer-events: none;
  display: grid; gap: 2px; white-space: nowrap; padding: 8px 14px; border-radius: 16px; font-size: 13.5px;
  border: 1px solid var(--glass-edge); background: var(--gloss), rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--hi), var(--depth-up);
}
.gm-tip b { font-size: 15px; }
@media (max-width: 599px) { .area-map.is-svg { height: auto; padding: 8px; } .gumi-svg { overflow: hidden; border-radius: 16px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .lg-jelly, .lg-wave, .ask-dot, .ask-dialog[open] { animation: none !important; }
  .card, .feature-frame, .check, .stat { transform: none !important; }
}

/* ---------- 간편 상담 문의 (assets/js/quick-ask.js) ---------- */
.qa { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.qa-form { background: #fff; color: var(--ink); border-radius: 28px; padding: 30px 30px 0; overflow: hidden; display: grid; gap: 16px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 60px rgba(0,0,0,.35); }
.qa-head h2 { font-family: var(--f-d); font-size: clamp(26px, 3vw, 34px); color: var(--ink) !important; margin: 0 0 6px; }
.qa-head p { margin: 0; color: var(--ink-2); font-size: 15px; }
.qa-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qa-chips legend { font-size: 13px; font-weight: 800; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.qa-chips label { position: relative; }
.qa-chips input { position: absolute; opacity: 0; pointer-events: none; }
.qa-chips span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; cursor: pointer; background: var(--paper-2); transition: background .15s, border-color .15s, transform .15s; }
.qa-chips label:hover span { border-color: #d8c98f; }
.qa-chips input:checked + span { background: var(--y); border-color: #e6c000; box-shadow: 0 4px 12px rgba(255, 196, 0, .35); }
.qa-chips input:focus-visible + span { outline: 3px solid #121212; outline-offset: 2px; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa-field { display: grid; gap: 6px; }
.qa-tip { margin: -2px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); background: var(--y-soft); border: 1.5px solid #f0dc7a; border-radius: 12px; padding: 9px 12px; }
.qa-tip b { color: var(--ink); }
.qa-field > span { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.qa-field em { font-style: normal; font-weight: 600; opacity: .7; }
.qa-field input, .qa-field select, .qa-field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.qa-field textarea { resize: vertical; min-height: 84px; }
.qa-field input:focus, .qa-field select:focus, .qa-field textarea:focus { outline: none; border-color: #121212; background: #fff; }
.qa-field .is-bad { border-color: #e03131; background: #fff5f5; }
.qa-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qa-consent { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.qa-consent label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.qa-consent input[type=checkbox] { width: 18px; height: 18px; accent-color: #121212; }
.qa-consent b { color: var(--ink); }
.qa-consent details { background: var(--paper-2); border-radius: 12px; padding: 8px 12px; }
.qa-consent summary { cursor: pointer; font-weight: 700; font-size: 13px; }
.qa-consent ul { margin: 8px 0 2px; padding-left: 18px; font-size: 13px; line-height: 1.6; }
.qa-public { font-size: 13px; }
.qa-submit { margin: 4px -30px 0; border: 0; background: var(--ink); color: var(--y); font-family: var(--f-d); font-size: 19px; font-weight: 700; padding: 20px; cursor: pointer; transition: background .15s; }
.qa-submit:hover { background: #2a2820; }
.qa-submit:disabled { opacity: .6; cursor: wait; }
.qa-msg { margin: -8px 0 0; padding: 0 0 18px; font-size: 14px; font-weight: 700; min-height: 1px; }
.qa-msg:empty { display: none; }
.qa-msg.is-ok { color: #1e7a45; } .qa-msg.is-bad { color: #c92a2a; }
.qa-side { display: grid; gap: 12px; }
.qa-side-head h3 { margin: 0; font-family: var(--f-d); font-size: 22px; color: var(--y); }
.qa-side-head p { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,.65); }
.qa-list { list-style: none; margin: 0; padding: 0; display: none; gap: 8px; }
.qa.has-list .qa-list { display: grid; }
.qa.has-list .qa-promise { display: none; }
.qa-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 12px 14px; }
.qa-st { font-size: 12px; font-weight: 900; border-radius: 8px; padding: 4px 9px; background: rgba(255,212,0,.18); color: var(--y); white-space: nowrap; }
.qa-st.is-done { background: var(--y); color: var(--ink); }
.qa-t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qa-w { font-size: 13px; color: rgba(255,255,255,.6); white-space: nowrap; }
.qa-promise { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 24px; }
.qa-promise-t { margin: 0 0 12px; font-weight: 800; color: #fff; }
.qa-promise ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: rgba(255,255,255,.82); line-height: 1.6; list-style: decimal; }
.qa-promise li::marker { color: var(--y); font-weight: 800; }
.qa-promise b { color: var(--y); }
.qa-tel { display: inline-block; margin-top: 18px; font-weight: 800; color: var(--ink) !important; background: var(--y); border-radius: 999px; padding: 10px 18px; text-decoration: none; }
@media (max-width: 860px) {
  .qa { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .qa-form { padding: 22px 18px 0; border-radius: 22px; }
  .qa-submit { margin: 4px -18px 0; }
  .qa-grid { grid-template-columns: 1fr; }
  .qa-list li { grid-template-columns: auto 1fr; }
  .qa-w { grid-column: 1 / -1; }
}

/* ---------- 간편 상담 문의 창: 오른쪽 아래 '문의하기' 버튼 위에 뜨는 네모난 창 (assets/js/quick-ask.js, 사용자 요청 2026-11-10) ---------- */
.qa-panel {
  position: fixed; z-index: 69; width: min(420px, calc(100vw - 32px)); max-height: min(78vh, 760px); overflow: auto; overscroll-behavior: contain;
  border-radius: 24px; color: var(--ink); border: 1px solid rgba(255, 255, 255, .9);
  background: var(--gloss), rgba(255, 252, 240, .94);
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 24px 70px rgba(40, 32, 0, .32), 0 6px 18px rgba(40, 32, 0, .12);
  animation: qa-pop .32s cubic-bezier(.2, .9, .25, 1.15);
}
@keyframes qa-pop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.qa-panel .qa-form { background: transparent; border-radius: 0; box-shadow: none; padding: 18px 18px 0; gap: 12px; }
.qa-panel .qa-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.qa-panel .qa-head h2 { font-size: 21px; margin: 0 0 2px; color: var(--ink) !important; }
.qa-panel .qa-head p { font-size: 13.5px; }
.qa-panel .qa-chips span { padding: 6px 12px; font-size: 13.5px; }
.qa-panel .qa-chips legend { margin-bottom: 6px; }
.qa-panel .qa-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
.qa-panel .qa-field input, .qa-panel .qa-field select, .qa-panel .qa-field textarea { padding: 10px 12px; font-size: 15px; border-radius: 12px; background: rgba(255, 255, 255, .8); }
.qa-panel .qa-field textarea { min-height: 60px; }
.qa-panel .qa-consent { font-size: 13px; gap: 6px; }
.qa-panel .qa-consent details { background: rgba(255, 255, 255, .55); }
.qa-panel .qa-submit { margin: 2px -18px 0; padding: 16px; font-size: 17px; }
.qa-panel .qa-msg { padding: 10px 0 0; margin: 0; }
.qa-status { margin: 0 -18px; padding: 12px 18px; background: var(--ink); color: #fff; display: grid; gap: 8px; }
.qa-status-t { margin: 0; font-size: 12.5px; font-weight: 800; color: rgba(255, 255, 255, .7); }
.qa-panel .qa-list { display: grid; gap: 6px; }
.qa-panel .qa-list li { grid-template-columns: auto 1fr; padding: 8px 10px; border-radius: 12px; }
.qa-panel .qa-list .qa-w { grid-column: 1 / -1; }
.qa-alt { margin: 0 -18px; padding: 12px 18px 14px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); background: rgba(255, 255, 255, .5); border-top: 1px solid rgba(18, 18, 18, .06); }
.qa-alt a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 599px) {
  .qa-panel { left: 0; right: 0 !important; bottom: 0 !important; width: 100%; max-height: 90vh; border-radius: 26px 26px 0 0; animation-name: qa-up; padding-bottom: env(safe-area-inset-bottom, 0px); }
  @keyframes qa-up { from { transform: translateY(100%); } to { transform: none; } }
  body.qa-open .ask-bar, body.qa-open .dock { display: none; }
  .qa-panel .qa-grid { grid-template-columns: 1fr; }
  .qa-panel .qa-form { padding: 16px 16px 0; }
  .qa-panel .qa-submit { margin-inline: -16px; }
  .qa-status, .qa-alt { margin-inline: -16px; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .qa-panel { animation: none !important; } }

/* 거래완료 기록 (sold/index.html, tools/sold_listings.py) */
/* 검은 버튼·칩: 경계 없는 부드러운 광택 (위쪽 회색 띠 없앰) */
.btn-ink, .chip[aria-pressed="true"], .ask-tel, .deal-badge.deal-sale, .ask-kind input:checked + span {
  background: var(--gloss-dark), linear-gradient(180deg, #262624, #0f0f0e) !important;
}
.btn-ink::after, .chip[aria-pressed="true"]::after, .ask-tel::after { opacity: .12; }
.btn-ink .lg-wave, .chip[aria-pressed="true"] .lg-wave { opacity: .25; }

/* 첫 화면 '실시간' 알약: 지금 매물 수 · 거래완료 기록 수. 높이·여백·줄을 맞춰 정가운데로 */
.hero-stats {
  display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 12px; max-width: 100%; white-space: nowrap;
  height: 40px; padding: 0 18px 0 16px; line-height: 1; font-size: 14.5px;
}
.hero-stats .live-dot { width: 9px; height: 9px; margin: 0; align-self: center; }
.hero-stats .live-tag { display: inline-flex; align-items: center; height: 100%; margin-left: -4px; font-size: 13px; font-weight: 800; line-height: 1; color: #1e9e55; letter-spacing: .01em; }
.hero-stats:not(.is-live) .live-tag { color: var(--muted); }
.hero-stats .hs { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1; }
.hero-stats .hs b { font-family: var(--f-d); font-size: 1.32em; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; position: relative; top: .04em; }
.hero-stats .hs:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-stats .hs-sep { width: 1px; height: 14px; align-self: center; background: rgba(0, 0, 0, .22); }
@media (max-width: 380px) { .hero-stats { gap: 9px; padding: 0 14px 0 13px; font-size: 13.5px; } }
.sold-page .sec-head h1 { font-family: var(--f-d); font-size: clamp(28px, 5vw, 42px); line-height: 1.25; letter-spacing: -.03em; margin: 10px 0 12px; }
.sold-rules { list-style: none; counter-reset: sr; display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 6px 0 28px; padding: 0; }
@media (max-width: 1000px) { .sold-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sold-rules { grid-template-columns: 1fr; } }
.sold-rules li { counter-increment: sr; display: grid; align-content: start; gap: 6px; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 14px; padding: 16px 16px 15px; }
/* 번호 원: 카드 높이가 달라도 늘어나지 않게 크기를 고정 (2026-11-11) */
.sold-rules li::before { content: "0" counter(sr); box-sizing: border-box; width: 34px; height: 34px; display: grid; place-items: center; justify-self: start; padding: 1px 0 0; font-family: var(--f-d); font-weight: 700; font-size: 13px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--y); border: 2px solid var(--ink); border-radius: 50%; margin-bottom: 4px; }
.sold-rules b { font-size: 16.5px; }
.sold-rules span { font-size: 14.5px; color: var(--ink-2); }
.sold-tools { margin-bottom: 18px; }
.sold-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sold-chips .chip.on { background: var(--ink); color: var(--y); }
.sold-card:hover { transform: none; box-shadow: none; }
/* 원본 사진이 없는 거래완료 기록 (2026-11-11) */
.sold-nophoto { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; padding: 0 12px 16px; text-align: center; color: rgba(18, 18, 18, .55);
  background: repeating-linear-gradient(135deg, rgba(18, 18, 18, .035) 0 10px, transparent 10px 20px), linear-gradient(180deg, #f4f1e6, #e9e4d3); }
.sold-nophoto svg { display: none; } /* 가운데 '거래완료' 도장과 겹쳐서 뺐다 */
.sold-nophoto b { font-size: 17px; color: rgba(18, 18, 18, .72); letter-spacing: -.01em; }
.sold-nophoto span { font-size: 12.5px; font-weight: 600; }
.sold-teaser .sold-nophoto b { font-size: 15px; }
.sold-card .card-photo img { filter: grayscale(.55) contrast(.95); opacity: .9; }
.sold-stamp {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--f-d); font-weight: 700; font-size: 22px; letter-spacing: .04em; color: var(--red);
  background: rgba(255, 255, 255, .9); border: 3px solid var(--red); border-radius: 10px; padding: 6px 14px 3px; white-space: nowrap;
}
.sold-price { font-weight: 800; font-size: 16px; margin-top: 2px; }
.sold-price span { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.sold-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); max-width: 52em; }
.sold-cta { margin-top: 34px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--y); padding: 24px 22px; display: grid; gap: 8px; }
.sold-cta h2 { font-family: var(--f-d); font-size: 22px; margin: 0; }
.sold-cta .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sold-teaser { margin-top: 36px; border-top: 2px dashed var(--ink); padding-top: 30px; display: grid; gap: 16px; }
.sold-teaser-head h3 { font-family: var(--f-d); font-size: clamp(21px, 3.4vw, 27px); margin: 8px 0 6px; letter-spacing: -.02em; }
.sold-teaser-head p { color: var(--ink-2); }
/* 하트(찜) 버튼 · 최신/인기 정렬 탭 (2026-11-11) — 서버에서 하트 수를 받은 뒤(.has-likes)에만 보인다 */
.heart { display: none; position: absolute; right: 10px; top: 10px; z-index: 2; align-items: center; gap: 4px; height: 34px; min-width: 34px; padding: 0 9px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: rgba(255, 255, 255, .88); color: #121212; font: 800 13px/1 var(--f-b, inherit); cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .15s ease; }
.has-likes .heart { display: inline-flex; justify-content: center; }
.heart svg { width: 18px; height: 18px; fill: none; stroke: #121212; stroke-width: 2.2; stroke-linejoin: round; }
.heart[aria-pressed="true"] svg { fill: #ff3b4e; stroke: #ff3b4e; }
.heart[aria-pressed="true"] { color: #e0213a; }
.heart:active { transform: scale(.9); }
.heart .heart-n:empty { display: none; }
.card-photo:has(.heart) .tag-sample { right: 56px; }
.title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.heart-big { position: static; flex: none; height: 40px; padding: 0 14px; font-size: 14.5px; border: 1px solid rgba(18, 18, 18, .14); background: #fff; margin-top: 4px; }
.heart-big svg { width: 20px; height: 20px; }
.list-tools { flex-wrap: wrap; }
.sort-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(18, 18, 18, .06); margin-left: auto; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.sort-tabs::-webkit-scrollbar { display: none; }
.sort-tab { flex: none; border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font: 700 14px/1 inherit; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.sort-tab[aria-pressed="true"] { background: #121212; color: var(--y); }
@media (max-width: 760px) { .sort-tabs { margin-left: 0; order: 3; width: 100%; border-radius: 16px; } .sort-tab { padding: 8px 12px; font-size: 13.5px; } }
/* 간편 상담 창: 매물 페이지에서 열면 맨 위 '문의할 방' (2026-11-11) */
.qa-room { display: grid; gap: 2px; margin: 4px 0 12px; padding: 11px 14px; border-radius: 14px; background: #121212; color: #fff; }
.qa-room-k { font-size: 12px; font-weight: 700; color: var(--y); }
.qa-room b { font-size: 16px; letter-spacing: -.01em; }
.qa-room-sub { font-size: 13px; color: rgba(255, 255, 255, .78); }
.qa-room-sub:empty { display: none; }
/* 동네 페이지: 지금 올라온 매물로 본 ○○동 (2026-11-11) */
.area-stats { margin: 40px 0 8px; padding: 22px 20px; background: var(--glass-strong, #fff); border: 1px solid rgba(18, 18, 18, .1); border-radius: 22px; }
.area-stats h2 { font-family: var(--f-d); font-size: clamp(20px, 3vw, 25px); letter-spacing: -.02em; }
.area-stats .sec-desc { margin-top: 8px; font-size: 14.5px; line-height: 1.75; word-break: keep-all; max-width: none; }
.area-stats-list { margin-top: 14px; display: grid; gap: 0; }
.area-stats-list .row { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(18, 18, 18, .08); }
.area-stats-list dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.area-stats-list dd { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .area-stats-list .row { grid-template-columns: 1fr; gap: 2px; } }
/* 노란 형광펜 (중개 원칙 인용문과 같은 굵기) */
.hl { font-style: normal; background: linear-gradient(transparent 56%, var(--y) 56%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sold-teaser .btn { justify-self: start; }
.sold-teaser .sold-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sold-teaser .sold-stamp { font-size: 17px; padding: 4px 11px 2px; }
.sold-teaser .card-body { padding: 13px 13px 10px; }
.sold-teaser .card-foot { margin: 0 13px; }
@media (max-width: 900px) { .sold-teaser .sold-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sold-teaser .sold-cards { gap: 12px; }
  .sold-teaser .sold-card:nth-child(n+3) { display: none; }
  .sold-teaser .sold-stamp { font-size: 16px; padding: 4px 10px 2px; }
  .sold-teaser .card-body { padding: 12px 12px 10px; }
  .sold-teaser .card-foot { margin: 0 12px; }
}

/* ---------- 머리말: 로고를 메뉴 막대와 떼어 따로 (2026-11-11) ----------
   왼쪽: 큰 '바바방' 글자 + 아래 작은 '공인중개사사무소' 유리 카드 / 오른쪽: 메뉴 유리 막대 + 상담 버튼 */
.site-head { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-head::after { display: none; }
.site-head .wrap { width: 100%; height: 64px; }
.logo {
  position: relative; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
  height: 100%; padding: 0 20px 0 18px; border-radius: 20px;
  background: var(--gloss), rgba(255, 216, 20, .8); border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: var(--hi), var(--depth); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.logo-mark {
  background: none; box-shadow: none; border-radius: 0; padding: 0; color: var(--ink);
  font-family: var(--f-d); font-weight: 700; font-size: 29px; letter-spacing: -.05em; line-height: .9;
}
.logo-sub { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; line-height: 1; color: var(--ink-2); margin-left: 1px; }
@media (min-width: 900px) {
  .nav {
    margin-left: auto; align-items: center; height: 54px; padding: 0 8px; border-radius: 999px;
    background: var(--gloss), rgba(255, 216, 20, .75); border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: var(--hi), var(--depth); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  }
  .head-cta { min-height: 54px; padding: 0 20px; box-shadow: var(--depth); }
  .logo { padding: 0 24px 0 22px; }
  .logo-mark { font-size: 33px; }
  .logo-sub { font-size: 11.5px; }
}
@media (min-width: 900px) and (max-width: 1180px) { .nav { gap: 0; } .nav a { padding: 6px 9px; font-size: 14px; } }

/* ---------- 큰 숫자 후킹 칸 (2026-11-11 '419개로 만들어') ----------
   어두운 바탕 + 기울어진 원본 사진 벽이 천천히 흐르고, 가운데 큰 노란 숫자가 0부터 올라간다 */
.hook {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 28px;
  background: #0f0f0d; color: #fff; text-align: center; padding: 92px 0 84px;
}
.hook + .band { margin-top: 0; }
.hook-photos {
  position: absolute; z-index: -2; left: 50%; top: 50%; width: 1700px; translate: -50% -50%;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  rotate: -9deg; opacity: .55; animation: hook-drift 60s linear infinite alternate;
}
.hook-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; filter: saturate(.85); }
.hook::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 50% 50%, rgba(15, 15, 13, .55), rgba(15, 15, 13, .92) 75%),
              linear-gradient(180deg, rgba(15, 15, 13, .6), transparent 30%, transparent 70%, rgba(15, 15, 13, .85));
}
@keyframes hook-drift { from { transform: translateX(-90px); } to { transform: translateX(90px); } }
.hook-kicker { font-family: var(--f-d); font-weight: 500; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -.02em; color: rgba(255, 255, 255, .88); }
.hook-kicker b { font-weight: 700; color: #fff; }
.hook-dots { display: flex; justify-content: center; gap: clamp(26px, 5vw, 56px); margin: 26px 0 18px; }
.hook-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--y); box-shadow: 0 0 14px rgba(255, 212, 0, .8); animation: hook-dot 1.6s ease-in-out infinite; }
.hook-dots i:nth-child(2) { animation-delay: .2s; } .hook-dots i:nth-child(3) { animation-delay: .4s; } .hook-dots i:nth-child(4) { animation-delay: .6s; }
@keyframes hook-dot { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
.hook-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: 18px; row-gap: 0; }
.hook-pre { font-family: var(--f-d); font-weight: 700; font-size: clamp(22px, 3vw, 36px); letter-spacing: -.03em; }
.hook-big { display: inline-flex; align-items: baseline; gap: 6px; }
.hook-num {
  font-family: var(--f-d); font-weight: 700; font-size: clamp(96px, 15vw, 172px); line-height: 1; letter-spacing: -.05em;
  color: var(--y); font-variant-numeric: tabular-nums; text-shadow: 0 0 40px rgba(255, 212, 0, .35);
  min-width: 2.2ch; display: inline-block;
}
.hook-unit { font-family: var(--f-d); font-weight: 700; font-size: clamp(26px, 3.4vw, 42px); }
.hook-sub { margin: 18px auto 0; max-width: 34em; font-size: clamp(14.5px, 1.6vw, 17px); font-weight: 600; color: rgba(255, 255, 255, .78); line-height: 1.6; padding: 0 8px; word-break: keep-all; }
.hook-btn { margin-top: 28px; background: var(--y); color: var(--ink); border-color: rgba(255, 255, 255, .6); }
@media (max-width: 640px) {
  .hook { padding: 64px 0 60px; }
  .hook-photos { width: 1000px; gap: 10px; }
  .hook-line { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .hook-photos, .hook-dots i { animation: none; } }

/* ---------- 머리말 로고 2차 (2026-11-11): 뒤 칸 없이 배경과 하나로, '바 · 바 · 방' 점점 커지는 글자 + 모션 ---------- */
.logo { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 6px; gap: 3px; }
.logo::after { display: none; }
.logo-mark { display: flex; align-items: flex-end; gap: .02em; font-size: 38px; line-height: .86; }
.logo-mark i { font-style: normal; display: inline-block; transform-origin: 50% 100%; text-shadow: 0 1px 0 rgba(255, 255, 255, .55), 0 6px 14px rgba(90, 60, 0, .22); }
.logo-mark i:nth-child(1) { font-size: .66em; }
.logo-mark i:nth-child(2) { font-size: .82em; }
.logo-mark i:nth-child(3) { font-size: 1em; }
.logo-sub { letter-spacing: .2em; font-size: 10.5px; }
/* 처음 들어올 때 작은 글자부터 차례로 톡톡 커지며 나타나고, 로고에 마우스를 올리면 한 번 더 */
@keyframes logo-pop { 0% { transform: scale(.2) translateY(10px); opacity: 0; } 60% { transform: scale(1.18) translateY(-3px); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes logo-hop { 0%, 100% { transform: none; } 45% { transform: scale(1.16) translateY(-4px); } }
.logo-mark i { animation: logo-pop .62s cubic-bezier(.3, 1.4, .5, 1) both; }
.logo-mark i:nth-child(2) { animation-delay: .14s; }
.logo-mark i:nth-child(3) { animation-delay: .28s; }
.logo:hover .logo-mark i { animation: logo-hop .5s cubic-bezier(.3, 1.4, .5, 1) both; }
.logo:hover .logo-mark i:nth-child(2) { animation-delay: .08s; }
.logo:hover .logo-mark i:nth-child(3) { animation-delay: .16s; }
@media (min-width: 900px) { .logo-mark { font-size: 44px; } .logo-sub { font-size: 11.5px; } }
@media (prefers-reduced-motion: reduce) { .logo-mark i, .logo:hover .logo-mark i { animation: none; } }

/* 메뉴: 마우스를 올리면 동그란 칸 대신 글자가 커지며 유리처럼 반짝 (2026-11-11) */
.nav a { transition: transform .22s cubic-bezier(.3, 1.5, .5, 1), filter .22s ease; transform-origin: 50% 60%; }
.nav a:hover, .nav a:focus-visible {
  background-color: transparent; transform: scale(1.22);
  background-image: linear-gradient(110deg, #121210 38%, #fffbe6 50%, #121210 62%);
  background-size: 260% 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)) drop-shadow(0 6px 10px rgba(80, 55, 0, .3));
  animation: nav-shine .75s ease-out both;
}
@keyframes nav-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.nav a::after { display: none; }

/* ---------- 줄 맞춤 사이트 전체 (2026-11-11 "중간에 끊기면 보기 싫자나") ----------
   낱말 중간에서 줄이 끊기지 않게(keep-all), 제목은 줄 길이를 고르게, 문단은 마지막 줄에 한 글자만 남지 않게.
   문장 끝 줄바꿈은 common.js BB.breakSentences */
body { word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, .hook-line, #feature-title { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* ---------- 매물 쪽 번호 (2026-11-11 한 쪽 9개) ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 32px auto 0; }
.pg {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  font: 700 15.5px/1 var(--f-b, inherit); color: var(--ink); font-variant-numeric: tabular-nums;
  background: var(--gloss), rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--hi), 0 4px 12px rgba(80, 55, 0, .12);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), background-color .15s;
}
.pg:hover:not(:disabled) { transform: translateY(-2px) scale(1.06); background-color: #fff; }
.pg[aria-current="page"] { background: var(--ink); color: var(--y); border-color: var(--ink); cursor: default; opacity: 1; }
.pg-step { font-size: 22px; padding-bottom: 3px; }
.pg-step:disabled { opacity: .35; cursor: default; }
.pg-gap { min-width: 22px; text-align: center; font-weight: 700; color: var(--muted); }
@media (max-width: 420px) { .pg { min-width: 38px; height: 40px; padding: 0 9px; font-size: 14.5px; } .pager { gap: 4px; } }

/* 내렸을 때만 로고 뒤 유리 칸 (맨 위에서는 칸 없이 배경과 하나) */
.logo { transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease; }
.is-scrolled .logo {
  padding: 0 16px; border-radius: 20px;
  background: var(--gloss), rgba(255, 216, 20, .82); border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: var(--hi), var(--depth); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}

/* 후킹 칸 2차: 왼쪽 지금 중개 중 / 오른쪽 거래완료 기록 (2026-11-11) */
.hook-pair { display: flex; justify-content: center; align-items: stretch; gap: clamp(24px, 5vw, 72px); flex-wrap: wrap; }
.hook-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
.hook-stat:hover { transform: translateY(-4px) scale(1.03); }
.hook-stat .hook-pre { font-size: clamp(17px, 2.1vw, 24px); color: rgba(255, 255, 255, .92); }
.hook-stat .hook-num { font-size: clamp(84px, 11vw, 150px); }
.hook-stat-sold .hook-num { color: #fff; text-shadow: 0 0 40px rgba(255, 255, 255, .22); }
.hook-div { width: 1px; align-self: stretch; margin: 10px 0; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .35), transparent); }
.hook-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.hook-btns .hook-btn { margin-top: 0; }
.hook-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); }
.hook-btn-ghost:hover { background: rgba(255, 255, 255, .16); }
@media (max-width: 640px) {
  .hook-pair { flex-direction: column; gap: 22px; }
  .hook-div { width: 60%; height: 1px; margin: 0 auto; align-self: center; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); }
}

/* 머리말 로고 3차 (2026-11-11 "여백이 너무 많아 로고를 키워"): 로고를 크게, 글자 윗부분이 잘리지 않게 줄 높이 1 */
.site-head { margin-bottom: -78px; }
.site-head .wrap { height: 72px; }
.logo { justify-content: center; gap: 5px; }
.logo-mark { font-size: 48px; line-height: 1; }
.logo-sub { font-size: 12px; letter-spacing: .22em; }
@media (min-width: 900px) {
  .site-head { margin-bottom: -88px; }
  .site-head .wrap { height: 82px; }
  .logo-mark { font-size: 60px; }
  .logo-sub { font-size: 13.5px; }
}

/* 메뉴 막대 키우기 (2026-11-11 "눈이 안좋을수있으니 적당히 키워보자") */
@media (min-width: 900px) {
  .nav { height: 62px; padding: 0 10px; font-size: 17px; }
  .nav a { padding: 8px 13px; }
  .head-cta { min-height: 62px; padding: 0 26px; font-size: 17px; }
}
@media (min-width: 900px) and (max-width: 1240px) { .nav { gap: 0; font-size: 15.5px; } .nav a { padding: 7px 9px; } .head-cta { padding: 0 18px; font-size: 15.5px; } }
@media (min-width: 900px) and (max-width: 1060px) { .nav a { padding: 6px 6px; font-size: 14.5px; } }

/* 머리말 로고 4차 (2026-11-11 "더 키워도 될거같은데 여백없이"): 머리말 높이를 로고가 꽉 채운다 */
.site-head { margin-bottom: -84px; }
.site-head .wrap { height: 78px; }
.logo { gap: 2px; padding: 0 2px; }
.logo-mark { font-size: 58px; line-height: .92; }
.logo-sub { font-size: 12.5px; line-height: 1; }
@media (min-width: 900px) {
  .site-head { margin-bottom: -98px; }
  .site-head .wrap { height: 92px; }
  .logo-mark { font-size: 76px; }
  .logo-sub { font-size: 14.5px; letter-spacing: .24em; }
}

/* 영상 왼쪽 위: 동그라미 없이 큰 유튜브 로고만 (2026-11-11) */
.sticker.sticker-yt {
  background: none; border: 0; outline: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  width: auto; height: auto; padding: 0; left: -22px; top: -34px; transform: rotate(-10deg);
}
.sticker-yt > span { display: none; }
.sticker-yt svg { width: 96px; height: 68px; filter: drop-shadow(0 10px 18px rgba(120, 0, 0, .35)) drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
@media (min-width: 960px) { .sticker.sticker-yt { left: -44px; top: -46px; } .sticker-yt svg { width: 124px; height: 88px; } }
/* 유튜브 로고 조금 아래로 (2026-11-11) */
.sticker.sticker-yt { top: -12px; }
@media (min-width: 960px) { .sticker.sticker-yt { top: -18px; } }
/* 로고 '방' 윗부분이 유리 칸 위로 삐져나오지 않게: 줄 높이를 글자보다 넉넉히, 크기는 칸 안에 맞춤 (2026-11-11) */
.logo-mark { font-size: 54px; line-height: 1.08; }
@media (min-width: 900px) { .logo-mark { font-size: 70px; } }
.is-scrolled .logo { padding-top: 2px; padding-bottom: 2px; }
.logo-mark { font-size: 50px; }
@media (min-width: 900px) { .logo-mark { font-size: 64px; } }
.is-scrolled .logo { padding-top: 6px; padding-bottom: 4px; }
/* 로고 비율 (2026-11-11): '공인중개사사무소'를 바바방 아래 가운데로, 바바방은 조금 아래로 */
.logo { align-items: center; justify-content: center; gap: 0; }
.logo-mark { margin-top: 6px; }
.logo-sub { margin-left: 0; padding-left: .22em; text-align: center; }
@media (min-width: 900px) { .logo-sub { padding-left: .24em; } }
.is-scrolled .logo { padding-top: 4px; padding-bottom: 6px; }
/* 바바방과 공인중개사사무소 사이를 조금 붙임 (2026-11-11) */
.logo-mark { line-height: .98; margin-top: 4px; }
.logo-sub { margin-top: -1px; }
/* 로고 오른쪽·아래 여백 줄이기 (2026-11-11): 맨 위에서는 로고를 크게(메뉴 앞 빈 곳을 채움), 내리면 유리 칸에 맞게 작아짐.
   첫 화면 내용(실시간 알약)도 위로 당긴다 */
.logo-mark { font-size: 58px; transition: font-size .25s ease; }
.logo-sub { transition: font-size .25s ease; }
.is-scrolled .logo-mark { font-size: 46px; }
.is-scrolled .logo-sub { font-size: 11px; }
@media (min-width: 900px) {
  .logo-mark { font-size: 84px; }
  .logo-sub { font-size: 16px; }
  .is-scrolled .logo-mark { font-size: 62px; }
  .is-scrolled .logo-sub { font-size: 13px; }
}
@media (min-width: 960px) { .hero-grid { padding-top: 40px; } }
@media (min-width: 960px) { .hero-grid { padding-top: 62px; } }

/* 동네 지도: 매물 목록 위로 옮기고 조금 작게 (2026-11-11) */
#listings .area-links { margin: 0 0 44px; }
#listings .area-links > h3 { text-align: center; }
#listings .area-map.is-svg, #listings .area-map { max-width: 720px; margin-left: auto; margin-right: auto; }
#listings .map-credit { text-align: center; }
#listings .area-chips { justify-content: center; }

/* 동네 지도: 매물 목록 위로 옮기고 조금 작게 (2026-11-11) */
#listings .area-links { margin: 0 0 48px; }
#listings .area-links > h3 { text-align: center; }
#listings .area-map.is-svg, #listings .area-map { max-width: 720px; margin-left: auto; margin-right: auto; }
#listings .map-credit { text-align: center; }
#listings .area-chips { justify-content: center; }
#listings .area-map.is-svg, #listings .area-map { width: 100%; justify-self: center; }
/* 지도 크기 원래대로 (2026-11-11 "지도 다시 키우자 원상복귀") — 위치(매물 목록 위)만 유지 */
#listings .area-map.is-svg, #listings .area-map { max-width: none; width: auto; margin-left: 0; margin-right: 0; justify-self: stretch; }
#listings .area-links > h3, #listings .map-credit { text-align: left; }
#listings .area-chips { justify-content: flex-start; }
/* 지도 바로 아래에 매물 고르기 버튼 (2026-11-11) */
#listings .sec-head + .area-links { margin: 8px 0 22px; }
#listings .area-links .map-credit { margin-bottom: 0; }
/* 첫 화면 말고 다른 페이지: 커진 머리말(로고) 아래에서 내용이 시작하게 (2026-11-11 매물 페이지 겹침) */
.detail, .area-page, .sold-page, .rooms-page { padding-top: 104px; }
@media (min-width: 900px) { .detail, .area-page, .sold-page, .rooms-page { padding-top: 124px; } }
/* 바바방 공실 페이지는 rooms.css 가 뒤에서 덮어써서 한 단계 더 구체적으로 (인쇄 때는 rooms.css 그대로) */
@media screen { main.rooms-page { padding-top: 104px; } }
@media screen and (min-width: 900px) { main.rooms-page { padding-top: 124px; } }

/* ---------- 지도로 보기 (2026-11-11, assets/js/map-view.js) ---------- */
.map-toggle {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 800; color: var(--ink);
  background: var(--gloss), var(--y); border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--hi), 0 6px 16px rgba(120, 90, 0, .22);
  transition: transform .18s cubic-bezier(.3, 1.5, .5, 1);
}
.map-toggle:hover { transform: translateY(-2px) scale(1.04); }
.map-toggle svg { width: 18px; height: 18px; }
.map-toggle[aria-pressed="true"] { background: var(--ink); color: var(--y); }
.list-tools { flex-wrap: wrap; gap: 10px 14px; }
.list-area { display: block; }
.map-view[hidden] { display: none !important; }
#listings.is-map .list-area { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
#listings.is-map .map-view { position: sticky; top: 112px; }
.mv-map { width: 100%; height: calc(100vh - 150px); min-height: 420px; border-radius: 26px; overflow: hidden; border: 1px solid var(--glass-edge); box-shadow: var(--hi), var(--depth-up); background: #eef0e8; }
.mv-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
#listings.is-map .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  #listings.is-map .list-area { grid-template-columns: 1fr; }
  #listings.is-map .map-view { position: relative; top: 0; }
  .mv-map { height: 58vh; min-height: 320px; border-radius: 20px; }
  #listings.is-map .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { #listings.is-map .cards { grid-template-columns: 1fr; } }

/* 지도 위 가격 핀 */
.mv-pin {
  position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 12px; cursor: pointer;
  font: 800 14px/1 var(--f-b, inherit); color: #fff; background: #121210; border: 2px solid #fff; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .28); transition: transform .15s ease;
}
.mv-pin::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 10px; background: #121210; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateX(-50%) rotate(45deg); }
.mv-pin:hover { transform: scale(1.1); z-index: 5; background: #000; }
.mv-pin em { font-style: normal; font-size: 12px; color: #121210; background: var(--y); border-radius: 999px; padding: 2px 6px; }
.mv-pin.is-other { background: #2d5bd7; }
.mv-pin.is-other::after { background: #2d5bd7; }
.mv-dong {
  display: grid; place-items: center; gap: 2px; width: 84px; height: 84px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 212, 0, .92); border: 3px solid #fff; color: #121210; box-shadow: 0 10px 24px rgba(120, 90, 0, .35); font: inherit;
}
.mv-dong b { font-size: 14px; font-weight: 800; }
.mv-dong span { font-family: var(--f-d); font-size: 18px; font-weight: 700; }
.mv-dong:hover { transform: scale(1.06); }

/* 핀을 누르면 뜨는 카드 */
.mv-pop { position: relative; width: 300px; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); overflow: hidden; }
.mv-card { display: block; text-decoration: none; color: inherit; }
.mv-photo { position: relative; aspect-ratio: 4 / 3; background: #eee; }
.mv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mv-photo .tag-deal { position: absolute; left: 10px; top: 10px; }
.mv-body { padding: 11px 14px 13px; }
.mv-meta { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.mv-title { margin-top: 3px; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-price { margin-top: 4px; font-size: 15px; font-weight: 700; }
.mv-price b { color: #d92d20; font-size: 17px; }
.mv-id { margin-top: 3px; font-size: 12px; color: var(--muted); }
.mv-x { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); font-size: 22px; line-height: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.mv-step { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.mv-nav { width: 34px; height: 30px; border-radius: 10px; border: 1px solid #e3e3e3; background: #fff; font-size: 18px; cursor: pointer; }
.mv-nav:hover { background: var(--y); }

/* 후킹 칸 3차 (2026-11-11): 직접 중개 가능(노랑, 제일 큼) · 사진 매물 · 거래완료 */
.hook-three { gap: clamp(18px, 3.5vw, 52px); }
.hook-three .hook-stat .hook-num { font-size: clamp(64px, 7.6vw, 112px); color: #fff; text-shadow: 0 0 36px rgba(255, 255, 255, .2); }
.hook-three .hook-stat-main .hook-num { font-size: clamp(76px, 9.4vw, 136px); color: var(--y); text-shadow: 0 0 40px rgba(255, 212, 0, .35); }
.hook-three .hook-stat .hook-pre { font-size: clamp(15px, 1.7vw, 20px); }
.hook-three .hook-unit { font-size: clamp(22px, 2.6vw, 34px); }
.hook-stat-main { cursor: default; }
.hook-stat-main:hover { transform: none; }
.hook-btns .hook-btn { white-space: nowrap; }
.hook-three ~ .hook-sub, .hook-sub { max-width: 48em; }
/* 가까운 핀 묶음 */
.mv-cluster {
  display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 10px; border-radius: 999px; cursor: pointer;
  background: rgba(18, 18, 16, .88); color: var(--y); border: 3px solid var(--y); font: 800 15px/1 var(--f-b, inherit);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .3); transition: transform .15s ease;
}
.mv-cluster:hover { transform: scale(1.1); }
/* 휴대폰: 첫 화면 알약이 숫자 3개라 화면 밖으로 나가지 않게 줄여서 두 줄까지 (2026-11-11) */
@media (max-width: 560px) {
  .hero-stats { flex-wrap: wrap; white-space: normal; height: auto; min-height: 36px; padding: 7px 14px; gap: 6px 9px; font-size: 13px; border-radius: 18px; }
  .hero-stats .hs { white-space: nowrap; }
  .hero-stats .hs b { font-size: 1.22em; }
}
.hero-grid > div { min-width: 0; }
@media (max-width: 600px) {
  .mv-dong { width: 58px; height: 58px; border-width: 2px; gap: 0; }
  .mv-dong b { font-size: 11.5px; }
  .mv-dong span { font-size: 14px; }
  .mv-cluster { min-width: 42px; height: 42px; font-size: 13px; border-width: 2px; }
  .mv-pin { padding: 6px 9px; font-size: 12.5px; }
  .mv-pop { width: 250px; }
}
/* 직접 중개 가능 숫자 → 바바방 공실 링크 (공실 페이지가 공개일 때만 home.js 가 링크로 바꿈) */
.hook-stat-main.is-link { cursor: pointer; }
.hook-stat-main.is-link:hover { transform: translateY(-4px) scale(1.03); }
.hook-go { margin-top: 2px; font-size: 13.5px; font-weight: 800; color: var(--y); opacity: .9; }
.hook-stat-main.is-link:hover .hook-go { text-decoration: underline; text-underline-offset: 4px; }
/* 2026-11-12 사장님 "6707개·440개 클릭하게끔 유도": 숫자 아래 '눌러서 보기' 알약 버튼 — 퍼지는 고리 + 화살표 까딱 */
.hook-go-pill { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 11px 22px; border-radius: 999px; font: 800 16px/1 var(--f-b); color: #fff; opacity: 1; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .45); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: background .2s, color .2s, border-color .2s; }
.hook-stat-main .hook-go-pill { background: var(--y); color: var(--ink); border-color: var(--y); box-shadow: 0 6px 22px rgba(255, 212, 0, .35); }
.hook-go-pill i { font-style: normal; display: inline-block; animation: hook-nudge 1.3s ease-in-out infinite; }
.hook-go-pill::after { content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid currentColor; opacity: 0; animation: hook-ping 2.4s ease-out infinite; pointer-events: none; }
.hook-stat-main .hook-go-pill::after { border-color: var(--y); }
.hook-stat:hover .hook-go-pill, .hook-stat:focus-visible .hook-go-pill { background: #fff; color: var(--ink); border-color: #fff; text-decoration: none !important; }
.hook-stat-main:hover .hook-go-pill { background: #fff3a6; border-color: #fff3a6; }
.hook-stat-main.is-link { cursor: pointer; }
@keyframes hook-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }
@keyframes hook-ping { 0% { opacity: .75; scale: .92; } 70%, 100% { opacity: 0; scale: 1.22; } }
@media (prefers-reduced-motion: reduce) { .hook-go-pill i, .hook-go-pill::after { animation: none; } }
@media (max-width: 640px) { .hook-go-pill { font-size: 12.5px; padding: 7px 13px; margin-top: 6px; } }

/* 당근 서버 사진(원본을 아직 못 찾은 매물)에도 화면에서 같은 워터마크를 겹쳐 보이게 (2026-11-11 사장님 "워터마크 없는것도 있는데").
   우리 서버 사진은 export_site.py 가 파일에 직접 찍으므로 여기 해당 없음. 아래쪽 가운데, 파일 워터마크와 같은 크기·진하기 */
.card-photo:has(> img[src*="gcp-karroter"])::after,
.gallery:has(.gallery-track > img[src*="gcp-karroter"])::before,
.mv-photo:has(> img[src*="gcp-karroter"])::after {
  content: ""; position: absolute; left: 50%; top: 80%; width: 36%; aspect-ratio: 640 / 403; translate: -50% -50%;
  background: url("../img/wm-mark.png") center / contain no-repeat; opacity: .62; pointer-events: none; z-index: 1;
}
.gallery:has(.gallery-track > img[src*="gcp-karroter"])::before { z-index: 3; }
/* 후킹 칸 머리말 배지: 구미 최다 매물 보유중 */
.hook-badge {
  display: inline-flex; align-items: center; gap: .3em; padding: .38em 1em .32em; border-radius: 999px;
  font-family: var(--f-d); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -.02em; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 212, 0, .7);
  box-shadow: 0 0 0 6px rgba(255, 212, 0, .08), 0 10px 30px rgba(0, 0, 0, .35);
}
.hook-badge b { color: var(--y); font-weight: 700; }

/* 지도 전용 화면. 기존 목록과 상세 페이지의 디자인은 공통 스타일을 사용한다. */
.map-heading, .mv-reset { display: none; }
body.map-open { overflow: hidden; }
body.map-open .ask-float, body.map-open #mp-btn { visibility: hidden; }
#listings.is-map {
  position: fixed; inset: 0; z-index: 500; padding: 0; margin: 0;
  height: 100dvh; overflow: hidden; background: #fff; color: #22272d;
  font-family: var(--f-b); border-radius: 0;
}
#listings.is-map::before, #listings.is-map::after { display: none; }
#listings.is-map > .wrap {
  width: 100%; max-width: none; height: 100%; margin: 0;
  display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: 0;
}
#listings.is-map .sec-head, #listings.is-map .area-links, #listings.is-map .hidden-note { display: none; }
#listings.is-map .map-heading {
  display: flex; align-items: center; gap: 24px; padding: 16px 28px;
  min-height: 82px; background: #fff; border-bottom: 1px solid #e8e9eb;
}
.map-brand { color: #171a1e; font-family: var(--f-d); font-size: 28px; font-weight: 700; text-decoration: none; letter-spacing: -2px; }
.map-brand::after { content: ""; display: block; width: 30px; height: 4px; margin-top: -3px; background: #ffce32; }
.map-heading-copy { border-left: 1px solid #e8e9eb; padding-left: 24px; }
#listings.is-map .map-heading h2 { font: 700 18px/1.4 var(--f-b); letter-spacing: -.4px; }
.map-heading p { font-size: 12px; color: #737a83; margin-top: 2px; }
.map-close { margin-left: auto; background: #fff; border: 1px solid #dfe2e6; border-radius: 8px; padding: 9px 15px; cursor: pointer; font-weight: 600; font-size: 14px; }
.map-close:hover { background: #f5f6f7; }
#listings.is-map .filters {
  padding: 12px 28px; margin: 0; background: #fff; border: 0;
  border-bottom: 1px solid #e8e9eb; border-radius: 0; box-shadow: none;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
#listings.is-map .chips { display: flex; flex-wrap: nowrap; gap: 5px; overflow: auto; padding: 1px; }
#listings.is-map .chip {
  white-space: nowrap; flex-shrink: 0; padding: 7px 12px; min-height: 34px;
  border: 1px solid #e2e5e8; border-radius: 7px; background: #fff; color: #505760;
  font: 600 13px/1.3 var(--f-b); box-shadow: none; transform: none; text-shadow: none;
}
#listings.is-map .chip[aria-pressed="true"] { background: #fff8db; border-color: #e3b72f; color: #5c460a; }
#listings.is-map .chip-n { font: 500 11px/1 var(--f-b); margin-left: 5px; color: #858b92; background: none; padding: 0; }
#listings.is-map .list-tools {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 10px 28px;
  min-height: 53px; border: 0; border-bottom: 1px solid #e6e8eb; background: #fafbfc;
}
#listings.is-map #result-count { font-size: 13px; font-weight: 700; color: #343b43; margin-right: auto; }
#listings.is-map .map-toggle { display: none; }
#listings.is-map .sort-tabs { display: flex; flex-wrap: nowrap; gap: 4px; overflow: auto; }
#listings.is-map .sort-tab { font: 500 12px/1.4 var(--f-b); border: 0; border-radius: 5px; padding: 5px 8px; box-shadow: none; background: transparent; color: #727984; white-space: nowrap; }
#listings.is-map .sort-tab[aria-pressed="true"] { color: #22272d; background: #e9edf0; font-weight: 700; }
#listings.is-map .list-area { display: grid; grid-template-columns: 392px minmax(0, 1fr); gap: 0; min-height: 0; height: 100%; }
#listings.is-map .list-col { grid-column: 1; grid-row: 1; overflow-y: auto; min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; background: #fff; border-right: 1px solid #e1e5e9; }
#listings.is-map .map-view { grid-column: 2; grid-row: 1; position: relative; top: auto; min-width: 0; min-height: 0; height: 100%; }
#listings.is-map .mv-map { width: 100%; height: 100%; min-height: 0; border-radius: 0; border: 0; box-shadow: none; }
#listings.is-map .cards { display: flex; flex-direction: column; gap: 0; padding: 0; }
#listings.is-map .card {
  display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 0 16px; padding: 20px;
  border: 0; border-bottom: 1px solid #edf0f2; border-radius: 0; box-shadow: none;
  background: #fff; transform: none; color: #252b32; transition: background .16s;
}
#listings.is-map .card:hover, #listings.is-map .card:focus-within { background: #fffbed; box-shadow: inset 3px 0 #eabb2f; transform: none; }
#listings.is-map .card-photo { grid-column: 1; grid-row: 1 / 3; width: 124px; height: 128px; aspect-ratio: auto; border-radius: 9px; overflow: hidden; border: 0; }
#listings.is-map .card-photo img { width: 100%; height: 100%; object-fit: cover; }
#listings.is-map .card-body { padding: 0; min-width: 0; align-self: center; }
#listings.is-map .price { font: 800 20px/1.35 var(--f-b); letter-spacing: -.5px; color: #20252b; text-shadow: none; margin-bottom: 5px; }
#listings.is-map .price small { font: 500 12px/1.2 var(--f-b); margin-left: 3px; }
#listings.is-map .card-title { font: 600 14px/1.4 var(--f-b); margin: 0 0 5px; color: #333a42; }
#listings.is-map .card-meta { font: 400 12px/1.6 var(--f-b); color: #7a828c; margin: 0; }
#listings.is-map .card-tags { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; margin-top: 4px; }
#listings.is-map .card-foot { grid-column: 2; padding: 7px 0 0; border: 0; background: none; font-size: 10px; color: #9097a0; display: flex; gap: 5px; flex-wrap: wrap; }
#listings.is-map .tag-deal { left: 7px; top: 7px; padding: 3px 6px; border: 0; border-radius: 4px; background: #fff; font: 700 10px/1.3 var(--f-b); box-shadow: 0 1px 5px #0001; }
#listings.is-map .tag-count { bottom: 7px; right: 7px; font-size: 9px; padding: 2px 5px; }
#listings.is-map .card .like-btn { width: 28px; height: 28px; top: 6px; right: 6px; }
#listings.is-map .pager { flex-wrap: wrap; justify-content: center; gap: 4px; padding: 18px 8px; margin: 0; }
#listings.is-map .pg { min-width: 32px; height: 32px; min-height: 32px; padding: 4px 8px; border: 1px solid #e6e8ea; border-radius: 5px; box-shadow: none; font-size: 12px; }
#listings.is-map .pg[aria-current="page"] { background: #ffdb58; border-color: #ffdb58; color: #292c30; }
#listings.is-map .cards > .sec-desc { padding: 40px 24px; color: #707882; font-size: 14px; }
#listings.is-map .mv-reset { display: block; position: absolute; z-index: 15; top: 18px; left: 18px; background: #fff; border: 1px solid #dfe3e7; border-radius: 9px; box-shadow: 0 3px 12px #18283c15; padding: 10px 15px; font-size: 13px; font-weight: 700; cursor: pointer; }
#listings.is-map .mv-note { position: absolute; left: 50%; bottom: 30px; z-index: 5; transform: translateX(-50%); background: #fff; color: #68727d; padding: 8px 14px; border: 1px solid #e3e7eb; border-radius: 30px; box-shadow: 0 3px 12px #18283c12; font: 500 12px/1.4 var(--f-b); margin: 0; white-space: nowrap; pointer-events: none; }
.is-map .mv-dong { display: flex; width: auto; height: 40px; padding: 0; gap: 0; border: 1.5px solid #d5a218; border-radius: 24px; color: #44390e; background: #fffdf5; box-shadow: 0 3px 9px #4a400b22; overflow: hidden; }
.is-map .mv-dong b { padding: 0 12px; font: 650 13px/1 var(--f-b); }
.is-map .mv-dong span { display: grid; place-items: center; align-self: stretch; padding: 0 12px; color: #332a0b; background: #ffdb58; font: 800 14px/1 var(--f-b); }
.is-map .mv-cluster { width: 48px; min-width: 48px; height: 48px; border: 2px solid #fff; background: #ffd34e; color: #40320b; box-shadow: 0 3px 10px #53420030; font: 750 14px/1 var(--f-b); }
.is-map .mv-pin { background: #fff; color: #272d35; border: 1px solid #aaaeb4; border-radius: 7px; padding: 9px 11px; font: 750 13px/1 var(--f-b); box-shadow: 0 3px 9px #26333f22; }
.is-map .mv-pin::after { width: 9px; height: 9px; bottom: -5px; background: #fff; border-right: 1px solid #aaaeb4; border-bottom: 1px solid #aaaeb4; }
.is-map .mv-pin em { font: 700 10px/1 var(--f-b); border-radius: 4px; padding: 3px 4px; background: #fff1b7; color: #6f560d; }
.is-map .mv-pin:hover, .is-map .mv-pin.is-selected { background: #262c33; color: #fff; border-color: #262c33; transform: translateY(-3px); }
.is-map .mv-pin:hover::after, .is-map .mv-pin.is-selected::after { background: #262c33; border-color: #262c33; }
.is-map .mv-pop { width: 270px; border: 1px solid #e1e5e8; border-radius: 12px; box-shadow: 0 10px 30px #17283b30; }
.is-map .mv-photo { aspect-ratio: 16 / 9; }
.is-map .mv-body { padding: 12px 15px; }
.is-map .mv-price b { color: #242b33; }
.is-map .mv-title { font: 700 15px/1.5 var(--f-b); }
.is-map .mv-x { width: 28px; height: 28px; }
.is-map .mv-step { font-size: 12px; }
@media (max-width: 900px) {
  #listings.is-map .list-area { grid-template-columns: 330px minmax(0, 1fr); }
  #listings.is-map .card { grid-template-columns: 104px minmax(0, 1fr); padding: 15px; gap: 0 12px; }
  #listings.is-map .card-photo { width: 104px; height: 122px; }
  #listings.is-map .price { font-size: 18px; }
}
@media (max-width: 640px) {
  #listings.is-map .map-heading { min-height: 64px; padding: 10px 16px; gap: 15px; }
  .map-brand { font-size: 23px; }
  .map-heading-copy { padding-left: 15px; }
  #listings.is-map .map-heading h2 { font-size: 15px; }
  .map-heading p { display: none; }
  .map-close { font-size: 12px; padding: 7px 10px; }
  #listings.is-map .filters { padding: 8px 12px; gap: 6px; }
  #listings.is-map .chips { width: 100%; }
  #listings.is-map .chip { padding: 6px 10px; font-size: 12px; min-height: 31px; }
  #listings.is-map .list-tools { padding: 7px 12px; gap: 6px; }
  #listings.is-map #result-count { font-size: 12px; }
  #listings.is-map .sort-tabs { width: 100%; }
  #listings.is-map .list-area { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(140px, 1fr) minmax(140px, 38%); }
  #listings.is-map .map-view { grid-column: 1; grid-row: 1; }
  #listings.is-map .list-col { grid-column: 1; grid-row: 2; border: 0; border-top: 1px solid #d9dfe4; }
  #listings.is-map .card { grid-template-columns: 105px minmax(0, 1fr); padding: 13px 16px; }
  #listings.is-map .card-photo { width: 105px; height: 105px; }
  #listings.is-map .card-foot { padding-top: 4px; }
  #listings.is-map .mv-note { bottom: 24px; font-size: 10px; padding: 5px 10px; }
  #listings.is-map .mv-reset { top: 10px; left: 10px; font-size: 12px; padding: 8px 10px; }
  .is-map .mv-dong { height: 34px; }
  .is-map .mv-dong b { font-size: 11px; padding: 0 9px; }
  .is-map .mv-dong span { font-size: 12px; padding: 0 9px; }
  .is-map .mv-pop { width: 230px; }
  .is-map .mv-photo { aspect-ratio: 2.2; }
  .is-map .mv-body { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-map .card, .is-map .mv-pin, .is-map .mv-dong, .is-map .mv-cluster { transition: none; }
}

/* 지도 안의 버튼에 초점이 가도 화면 바깥 매물 때문에 전체 화면이 밀리지 않도록 한다. */
#listings.is-map { overflow: clip; }
#listings.is-map .mv-map { overflow: clip !important; }
#listings.is-map .chip { background: #fff !important; box-shadow: none !important; color: #505760 !important; }
#listings.is-map .chip[aria-pressed="true"] { background: #fff3bf !important; color: #59440a !important; border-color: #dbb445; }
#listings.is-map .chip::before, #listings.is-map .chip::after,
#listings.is-map .card::before, #listings.is-map .card::after { display: none; }
#listings.is-map .card-photo { box-shadow: none !important; }
#listings.is-map .sort-tabs { background: none; padding: 0; box-shadow: none; }
#listings.is-map > .wrap { grid-template-columns: minmax(0, 1fr); }
#listings.is-map > .wrap > * { min-width: 0; }
#listings.is-map .filters .chips { max-width: 100%; }
@media (max-width: 640px) {
  #listings.is-map .list-area { grid-template-columns: minmax(0, 1fr); }
}
.is-map .mv-dong.is-selected, .is-map .mv-cluster.is-selected { background: #262c33; border-color: #262c33; color: #fff; }
.is-map .mv-dong.is-selected span { background: #ffdb58; }

/* 숫자 글라스: 매물 카드처럼 마우스를 따라 기울고 글자 표면에 빛 반사 (2026-11-11) */
.hook-three .hook-stat {
  --stat-glass-fill: #f4f6fa;
  --stat-glass-shade: #b9c2ce;
  --stat-glass-glow: rgba(235, 244, 255, .3);
  position: relative;
  transform-origin: center;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.hook-three .hook-stat-main {
  --stat-glass-fill: #ffd400;
  --stat-glass-shade: #dc9f00;
  --stat-glass-glow: rgba(255, 212, 0, .32);
}
.hook-three .hook-stat .hook-num {
  /* Gmarket Sans의 글자 끝이 line-height 밖으로 나가도 유리색이 잘리지 않도록 여유를 둔다. */
  padding: .14em .08em;
  margin: -.14em -.08em;
  transition: filter .3s ease;
}
.hook-three .hook-stat:focus-visible {
  z-index: 2;
  outline: none;
  transform: translateY(-6px) scale(1.06);
}
.hook-three .hook-stat:focus-visible .hook-pre {
  text-decoration: underline;
  text-decoration-color: #ffd400;
  text-underline-offset: 6px;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hook-three .hook-stat:focus-visible .hook-num {
    color: transparent;
    background-image: radial-gradient(ellipse at var(--gx, 50%) var(--gy, 35%), rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 48%), linear-gradient(165deg, #fff 0%, var(--stat-glass-fill) 28%, var(--stat-glass-shade) 52%, var(--stat-glass-fill) 58%, #fff 68%, var(--stat-glass-fill) 88%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .4)) drop-shadow(0 8px 16px var(--stat-glass-glow));
  }
  @media (hover: hover) and (pointer: fine) {
    .hook-three .hook-stat:hover .hook-num {
      color: transparent;
      background-image: radial-gradient(ellipse at var(--gx, 50%) var(--gy, 35%), rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 48%), linear-gradient(165deg, #fff 0%, var(--stat-glass-fill) 28%, var(--stat-glass-shade) 52%, var(--stat-glass-fill) 58%, #fff 68%, var(--stat-glass-fill) 88%);
      -webkit-background-clip: text;
      background-clip: text;
      text-shadow: none;
      filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .4)) drop-shadow(0 8px 16px var(--stat-glass-glow));
    }
  }
}
@media (hover: hover) and (pointer: fine) {
  .hook-three .hook-stat:hover {
    z-index: 2;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) scale(1.06);
  }
}
@media (hover: none) {
  .hook-three .hook-stat:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hook-three .hook-stat, .hook-three .hook-stat .hook-num { transition: none; }
  .hook-three .hook-stat:hover, .hook-three .hook-stat:focus-visible { transform: none; }
}

/* 동네 클릭 → 상세 지도, 지도 왼쪽 · 화면 안 매물 오른쪽 (2026-11-11) */
.mv-results { display: contents; }
.mv-list-note { display: none; }
#listings.is-map > .wrap { grid-template-rows: auto auto minmax(0, 1fr); }
#listings.is-map .map-heading { min-height: 76px; }
#listings.is-map .list-area { grid-template-columns: minmax(0, 1fr) 400px; align-items: stretch; }
#listings.is-map .map-view { grid-column: 1; grid-row: 1; }
#listings.is-map .list-col {
  grid-column: 2; grid-row: 1; display: flex; flex-direction: column;
  overflow: hidden; border-right: 0; border-left: 1px solid #e4e7eb;
  min-width: 0; min-height: 0; height: 100%; align-self: stretch;
}
#listings.is-map .mv-results { display: block; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
#listings.is-map .list-col .list-tools {
  display: flex; flex: none; padding: 20px 20px 14px; gap: 9px;
  background: #fff; border-bottom: 1px solid #e9ecef;
}
#listings.is-map #result-count { width: 100%; font-size: 17px; letter-spacing: -.4px; color: #20252a; }
#listings.is-map .mv-list-note { display: block; width: 100%; order: 1; font: 400 12px/1.5 var(--f-b); color: #858b93; }
#listings.is-map .sort-tabs { width: 100%; margin: 5px 0 0; order: 2; padding: 0; }
#listings.is-map .sort-tab { font-size: 11px; padding: 6px 7px; }
#listings.is-map .card { grid-template-columns: 126px minmax(0, 1fr); gap: 0 15px; padding: 20px; }
#listings.is-map .card-photo { width: 126px; height: 132px; margin: 0; border-radius: 12px; }
#listings.is-map .price { font-size: 21px; }
#listings.is-map .card-title { margin: 3px 0 7px; font-size: 14px; }
#listings.is-map .card-meta { line-height: 1.65; }
#listings.is-map .card-foot { margin: 0; }
#listings.is-map .card.is-map-selected { background: #fff9e8; box-shadow: inset 3px 0 #f3c737; }
#listings.is-map .mv-reset { border-radius: 12px; padding: 12px 17px; box-shadow: 0 4px 18px #24314018; }
#listings.is-map .mv-note { font-size: 12px; bottom: 22px; background: rgba(255,255,255,.95); padding: 9px 15px; }
.is-map .mv-cluster {
  min-width: 52px; height: 52px; border: 2px solid #fff7cb;
  background: rgba(255, 202, 41, .94); color: #322a11;
  box-shadow: 0 3px 12px #8b690b38; font: 800 17px/1 var(--f-b);
  transition: transform .2s ease, background .2s ease;
}
.is-map .mv-cluster:hover { background: #ffe172; transform: scale(1.1); }
.is-map .mv-cluster.is-selected { background: #292e36; border-color: #ffda54; color: #fff; }
.is-map .mv-pin { font-size: 12px; padding: 9px 11px; border-color: #d0b65f; box-shadow: 0 3px 10px #28303b24; }
.is-map .mv-pin::after { border-color: #d0b65f; }
.mv-loading { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; background: #f7f8f4; color: #616977; font-size: 14px; }
.mv-loading[hidden] { display: none; }
#listings.is-map .map-heading-copy { min-width: 0; }
.gm-region:focus-visible { filter: url(#gm-lift); }
.gm-region:focus-visible path { stroke: #8b6c00; stroke-width: 4; }
@media (min-width: 641px) and (max-width: 1000px) {
  #listings.is-map .list-area { grid-template-columns: minmax(0, 1fr) 340px; }
  #listings.is-map .card { grid-template-columns: 105px minmax(0, 1fr); padding: 16px; gap: 0 12px; }
  #listings.is-map .card-photo { width: 105px; height: 122px; }
  #listings.is-map .price { font-size: 19px; }
  #listings.is-map .list-col .list-tools { padding: 16px 15px 10px; }
}
@media (max-width: 640px) {
  #listings.is-map .map-heading { min-height: 64px; }
  #listings.is-map .list-area { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(180px, 1fr) minmax(210px, 43%); }
  #listings.is-map .map-view { grid-column: 1; grid-row: 1; }
  #listings.is-map .list-col { grid-column: 1; grid-row: 2; border-left: 0; border-top: 1px solid #dde2e8; }
  #listings.is-map .list-col .list-tools { padding: 10px 14px 7px; gap: 4px; }
  #listings.is-map #result-count { font-size: 14px; }
  #listings.is-map .mv-list-note { display: none; }
  #listings.is-map .sort-tabs { margin-top: 3px; }
  #listings.is-map .card { grid-template-columns: 98px minmax(0, 1fr); padding: 13px 14px; gap: 0 12px; }
  #listings.is-map .card-photo { width: 98px; height: 104px; }
  #listings.is-map .price { font-size: 18px; }
  #listings.is-map .mv-note { bottom: 20px; font-size: 10px; padding: 6px 10px; }
  #listings.is-map .mv-reset { top: 10px; left: 10px; font-size: 11px; padding: 9px 12px; }
  .is-map .mv-cluster { min-width: 42px; height: 42px; font-size: 15px; }
}

/* 2026-11-12 메뉴가 9개(바바방 공실·방 내놓기 추가)라 1280px 화면에서 글자가 두 줄로 꺾임 → 한 줄 고정, 중간 화면은 글자를 줄이고
   좁은 PC 화면에서는 '블로그'·'계약 전 확인'(첫 화면 아래로 내려가면 바로 있음)을 메뉴에서만 숨긴다 */
.nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1680px) { .nav { gap: 0; } .nav a { padding: 7px 8px; font-size: 14.5px; } }
.head-cta { white-space: nowrap; flex: none; }
@media (min-width: 900px) and (max-width: 1320px) { .nav a[href$="#blog"], .nav a[href$="#check"] { display: none; } }
@media (min-width: 900px) and (max-width: 1100px) { .nav a { padding: 6px 6px; font-size: 13.5px; } .nav a[href$="#youtube"] { display: none; } }

/* 2026-11-12 사장님 "대칭도 맞게끔": 세 숫자를 같은 크기로(6,707 은 노랑으로 강조), 숫자 아래 버튼은 세 칸 모두 같은 높이(맨 아래)에 */
.hook-three .hook-stat .hook-num, .hook-three .hook-stat-main .hook-num { font-size: clamp(64px, 8.4vw, 124px); }
.hook-three .hook-stat { justify-content: flex-start; }
.hook-three .hook-go-pill { margin-top: auto; }
.hook-three .hook-big { margin-bottom: 14px; }
.qa-chips legend em { font-style: normal; font-weight: 600; opacity: .65; font-size: .92em; }

/* 2026-11-12 동네별 지도 접기 (build_pages.index_areas 의 details.area-fold) */
.area-fold > summary { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; cursor: pointer; padding: 16px 20px; border-radius: 20px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: translate .2s cubic-bezier(.3, 1.5, .5, 1), box-shadow .2s; }
.area-fold > summary::-webkit-details-marker { display: none; }
.area-fold > summary:hover { translate: 0 -2px; box-shadow: 6px 6px 0 var(--ink); }
.area-fold .af-t { font-family: var(--f-d); font-size: clamp(18px, 2vw, 22px); font-weight: 700; }
.area-fold .af-s { color: var(--muted); font-size: 14px; }
.area-fold .af-btn { margin-left: auto; padding: 9px 18px; border-radius: 999px; background: var(--ink); color: var(--y); font-size: 14.5px; white-space: nowrap; }
.area-fold[open] .af-open, .area-fold:not([open]) .af-close { display: none; }
.area-fold[open] > summary { margin-bottom: 16px; }
@media (max-width: 560px) { .area-fold .af-s { display: none; } .area-fold > summary { padding: 13px 15px; } }

/* 2026-11-12 오른쪽 아래 묶음 (사장님): 위에서부터 전화번호 → 모바일로 보기 → [내 방 구하기][방 내놓기] (common.js .ask-stack) */
.ask-stack { position: fixed; right: 18px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ask-stack .ask-bar, .ask-stack .mp-btn { position: static; }
.ask-stack .ask-tel { min-height: 48px; font-size: 16px; padding: 0 18px 0 14px; }
.ask-sell { display: inline-flex; align-items: center; gap: 9px; min-height: 58px; padding: 0 24px 0 18px; border-radius: 999px; text-decoration: none; font-family: var(--f-d); font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: #fff; border: 1px solid rgba(255, 255, 255, .25); background: var(--gloss), linear-gradient(180deg, #2b2b28, #0e0e0d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -3px 7px rgba(0, 0, 0, .4), 0 10px 26px rgba(0, 0, 0, .28); transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.ask-sell svg { width: 20px; height: 20px; color: var(--y); flex: none; }
.ask-sell:hover { transform: translateY(-3px); }
.ask-sell.is-here { display: none; }
body.mp-open .ask-stack { display: none; }
@media (max-width: 899px) { .ask-stack { display: none; } }
/* 휴대폰 아래 막대: [내 방 구하기][방 내놓기][전화] */
.dock .btn-sell { flex: 1; gap: 7px; min-height: 50px; border-radius: 999px; font-family: var(--f-d); font-weight: 700; font-size: 16px; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .2); background: linear-gradient(180deg, #2b2b28, #0e0e0d); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.dock .btn-sell svg { width: 18px; height: 18px; color: var(--y); flex: none; }
.dock .btn-ask { font-size: 16px; }
.dock .btn-ask, .dock .btn-sell { white-space: nowrap; padding: 0 10px; font-size: 15px; gap: 6px; min-width: 0; }
.dock .btn-sell svg { width: 16px; height: 16px; }
@media (max-width: 360px) { .dock .btn-ask, .dock .btn-sell { font-size: 14px; padding: 0 8px; } .dock .btn-ask .ask-dot { display: none; } }

/* 2026-11-12 사장님 "이거 겹치는거 해결하고 바바방 모션 어지러워":
   메뉴가 9개라 로고 칸이 눌려(min-width:0) 글자가 메뉴 위로 넘쳤다 → 로고는 줄지 않게, 크기는 화면 폭에 맞춰. 로고 글자 튀는 움직임은 없앤다 */
.site-head .logo { flex: none; }
@media (min-width: 900px) {
  .logo-mark { font-size: clamp(52px, 5vw, 84px); }
  .is-scrolled .logo-mark { font-size: clamp(44px, 3.9vw, 62px); }
  .logo-sub { font-size: clamp(11px, 1vw, 16px); }
  .is-scrolled .logo-sub { font-size: clamp(10px, .85vw, 13px); }
}
.logo-mark i, .logo:hover .logo-mark i { animation: none !important; }
