/* 주소 검색을 중심으로 실거래·지역 흐름·가격 검토를 한 장면으로 설명하는 홈. */
body[data-nav="home"] { background: #eef2f6; }

body[data-nav="home"] .home-app {
  width: min(100%, var(--app-shell-max, 780px));
  min-height: 100svh;
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
  background: #f4f7fa;
  font-family: "Noto Sans KR", sans-serif;
}

/* 자연어 안내는 넓은 화면의 빈 그리드 칸 때문에 강제로 두 줄이 되지 않게 한다. */
@media (min-width:700px) {
  body[data-nav="home"] .home-market-question .home-analysis-copy > span {
    max-width: none;
    white-space: nowrap;
  }
}

body[data-nav="home"] .home-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: calc(22px + env(safe-area-inset-top)) 22px 17px;
}

body[data-nav="home"] .home-identity { min-width: 0; }
body[data-nav="home"] .home-brand { font-size: 29px; }
body[data-nav="home"] .home-head p { margin: 2px 0 0; color: var(--fc-sub); font-size: var(--fs-sm); font-weight: var(--fw-regular); }
body[data-nav="home"] .home-head p b { font-weight: var(--fw-value); }
body[data-nav="home"] .home-profile {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #d9e0e7;
  border-radius: 50%;
  color: var(--fc-accent);
  background: #fff;
  box-shadow: 0 3px 11px rgba(23,34,46, .05);
  font-size: var(--fs-lg);
  font-weight: var(--fw-title);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color .1s ease, background-color .1s ease, border-color .1s ease, box-shadow .1s ease, transform .1s ease;
}
body[data-nav="home"] .home-profile.authenticated {
  border-color: #bccbda;
  color: #091c30;
  background: #e8eef5;
  box-shadow: 0 3px 11px rgba(13,49,85, .1);
}
body[data-nav="home"] .home-profile:active,
body[data-nav="home"] .home-profile.is-pressed,
body[data-nav="home"] .home-profile.is-opening {
  border-color: #091c30;
  color: #fff;
  background: #1f527e;
  box-shadow: 0 1px 4px rgba(13,49,85, .24);
  transform: scale(.88);
}
body[data-nav="home"] .home-profile:focus-visible {
  outline: 3px solid rgba(16,63,110, .24);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  body[data-nav="home"] .home-profile { transition: none; }
}

body[data-nav="home"] main { padding: 0 18px; }
body[data-nav="home"] .home-search-card {
  padding: 24px 21px 18px;
  border: 1px solid #dee3e8;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(23,34,46, .045);
}

body[data-nav="home"] .home-hero { padding: 0; }
body[data-nav="home"] .home-eyebrow {
  margin: 0 0 9px;
  color: var(--fc-accent);
  font-size: var(--fs-sm);
  font-weight: var(--fw-title);
  letter-spacing: -.035em;
}

body[data-nav="home"] .home-hero h1 {
  margin: 0;
  color: var(--fc-text);
  font-size: clamp(34px, 9.7vw, 47px);
  font-weight: var(--fw-strong);
  line-height: 1.08;
  letter-spacing: -.047em;
}

body[data-nav="home"] .home-intro {
  margin: 12px 0 0;
  color: var(--fc-sub);
  font-size: var(--fs-md);
  line-height: 1.55;
  font-weight: var(--fw-regular);
  letter-spacing: -.025em;
  word-break: keep-all;
}

body[data-nav="home"] .home-search {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  height: 58px;
  margin-top: 21px;
  padding: 0 7px 0 14px;
  border: 1.5px solid #98a9ba;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 11px rgba(13,49,85, .045);
}

body[data-nav="home"] .home-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(16,63,110, .09); }
body[data-nav="home"] .home-search svg { width: 21px; height: 21px; fill: none; stroke: var(--green-dark); stroke-width: 2.1; }
body[data-nav="home"] .home-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--fc-text);
  background: transparent;
  font-size: var(--fs-lg);
}

body[data-nav="home"] .home-search input::placeholder { color: var(--fc-sub); }
body[data-nav="home"] .home-search button {
  min-width: 58px;
  height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--green-dark);
  font-size: var(--fs-md);
  font-weight: var(--fw-title);
}

body[data-nav="home"] .recent-searches { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 11px; }
body[data-nav="home"] .recent-searches[hidden] { display: none; }
body[data-nav="home"] .recent-searches h2 { flex: 0 0 auto; margin: 0; color: var(--fc-sub); font-size: var(--fs-xs); font-weight: var(--fw-value); }
body[data-nav="home"] .recent-search-list { display: flex; min-width: 0; gap: 6px; overflow-x: auto; scrollbar-width: none; }
body[data-nav="home"] .recent-search-list::-webkit-scrollbar { display: none; }
body[data-nav="home"] .recent-search-list button {
  flex: 0 0 auto;
  max-width: 180px;
  padding: 6px 9px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: var(--fc-label);
  background: #eef1f4;
  font-size: var(--fs-xs);
  font-weight: var(--fw-value);
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-nav="home"] .home-notice { min-height: 0; margin: 0; color: var(--fc-accent); font-size: var(--fs-sm); font-weight: var(--fw-regular); text-align: center; }
body[data-nav="home"] .home-notice:not(:empty) { margin: 10px 3px 0; }
body[data-nav="home"] .home-market-overview { margin-top: 14px; }
body[data-nav="home"] .home-market-head { display: none; }
body[data-nav="home"] .today-deals-symbol { display: none; }
body[data-nav="home"] .home-block { margin-top: 14px; }
body[data-nav="home"] .home-copyright {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 30px 0 0;
  padding: 20px 0 8px;
  border-top: 1px solid #dce3ea;
  color: #7b8794;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}
body[data-nav="home"] .home-copyright nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 14px; }
body[data-nav="home"] .home-copyright nav { color: #344e67; font-size: 12px; }
body[data-nav="home"] .home-copyright a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
body[data-nav="home"] .home-copyright-line { color: #8a96a1; }
@media (max-width: 410px) {
  body[data-nav="home"] .home-copyright nav { flex-wrap: nowrap; gap: 4px 8px; font-size: 10.5px; white-space: nowrap; }
}
body[data-nav="home"] .today-deals {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px 10px;
  min-height: 168px;
  padding: 19px 20px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(125deg, #091c30, #1f527e);
  box-shadow: 0 8px 22px rgba(13,49,85, .16);
}

body[data-nav="home"] .today-deals::before {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -84px;
  width: 205px;
  height: 205px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 31px rgba(255, 255, 255, .035), 0 0 0 62px rgba(255, 255, 255, .025);
}

body[data-nav="home"] .today-deals-copy,
body[data-nav="home"] .today-deals-arrow,
body[data-nav="home"] .today-deals-metrics { position: relative; z-index: 1; }
body[data-nav="home"] .today-deals-copy > span { display: block; color: rgba(255, 255, 255, .74); font-size: var(--fs-xs); font-weight: var(--fw-value); }
body[data-nav="home"] .today-deals-period {
  display: inline-block;
  margin: 0 1px;
  color: #fff;
  font-size: calc(1em + 3px);
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
  transform: skewX(-6deg);
  transform-origin: center bottom;
}
body[data-nav="home"] #dealRecencyRange { font-style: normal; }
body[data-nav="home"] .today-deals-copy strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #fff;
  font-size: var(--fs-xl);
  font-weight: var(--fw-strong);
  letter-spacing: -.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-nav="home"] .today-deals-copy small { display: block; margin-top: 5px; overflow: hidden; color: rgba(255, 255, 255, .74); font-size: var(--fs-xs); font-weight: var(--fw-regular); text-overflow: ellipsis; white-space: nowrap; }
body[data-nav="home"] .today-deals-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
}
body[data-nav="home"] .today-deals-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body[data-nav="home"] .today-deals-metrics {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
body[data-nav="home"] .today-deals-metric {
  display: block;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  background: rgba(255, 255, 255, .09);
}
body[data-nav="home"] .today-deals-metric small {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  font-weight: var(--fw-value);
  text-overflow: ellipsis;
  white-space: nowrap;
}
body[data-nav="home"] .today-deals-metric strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: var(--fw-strong);
  letter-spacing: -.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body[data-nav="home"] .today-deals-change {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: rgba(255, 255, 255, .68);
  font-size: 8.5px;
  font-style: normal;
  font-weight: var(--fw-regular);
  letter-spacing: -.045em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-nav="home"] .home-analysis-feature { margin-top: 12px; }
body[data-nav="home"] .home-analysis-link {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 13px 14px;
  padding: 17px;
  border: 1px solid #acbecf;
  border-radius: 18px;
  color: var(--fc-text);
  background: linear-gradient(135deg, #fcfcfd, #f6f8fa);
  box-shadow: 0 6px 18px rgba(13,49,85, .055);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
body[data-nav="home"] .home-analysis-link:hover {
  border-color: #7d98b3;
  box-shadow: 0 9px 24px rgba(13,49,85, .1);
  transform: translateY(-1px);
}
body[data-nav="home"] .home-analysis-link:focus-visible {
  outline: 3px solid rgba(16,63,110, .18);
  outline-offset: 3px;
}
body[data-nav="home"] .home-analysis-symbol {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: #1f527e;
  background: #e7edf3;
}
body[data-nav="home"] .home-analysis-symbol svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
}
body[data-nav="home"] .home-analysis-copy { display: block; min-width: 0; }
body[data-nav="home"] .home-analysis-copy > small {
  display: block;
  color: var(--fc-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-title);
}
body[data-nav="home"] .home-analysis-copy > strong {
  display: block;
  margin-top: 2px;
  color: var(--fc-text);
  font-size: 21px;
  font-weight: var(--fw-strong);
  letter-spacing: -.045em;
}
body[data-nav="home"] .home-analysis-copy > span {
  display: block;
  margin-top: 4px;
  color: var(--fc-sub);
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  letter-spacing: -.02em;
  word-break: keep-all;
}
body[data-nav="home"] .home-analysis-filters {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
body[data-nav="home"] .home-analysis-filters > i { display: none; }
body[data-nav="home"] .home-analysis-filter {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 1px solid #e1e5ea;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(23,34,46, .035);
}
body[data-nav="home"] .home-analysis-filter > svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #1f527e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body[data-nav="home"] .home-analysis-filter > span { display: block; min-width: 0; }
body[data-nav="home"] .home-analysis-filter b {
  display: block;
  color: var(--fc-label);
  font-size: var(--fs-sm);
  font-weight: var(--fw-title);
  white-space: nowrap;
}
body[data-nav="home"] .home-analysis-filter small {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  color: var(--fc-sub);
  font-size: 10.5px;
  font-weight: var(--fw-regular);
  text-overflow: ellipsis;
  white-space: nowrap;
}
body[data-nav="home"] .home-analysis-cta {
  display: flex;
  grid-column: 1 / -1;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 11px;
  color: #fff;
  background: #1f527e;
  font-size: var(--fs-sm);
  font-weight: var(--fw-title);
  white-space: nowrap;
}
body[data-nav="home"] .home-analysis-cta b { font-size: 16px; }

/* 2026-10-28 · 자연어 조건 입력: 해석은 브라우저에서만 하고 기존 교차분석으로 넘긴다. */
body[data-nav="home"] .home-market-question { cursor: default; }
body[data-nav="home"] .home-market-question:hover { transform: none; }
body[data-nav="home"] .home-market-query-form {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  padding: 5px;
  border: 1px solid #c8d2db;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(23,34,46, .055);
}
body[data-nav="home"] .home-market-query-form:focus-within { border-color: #6a87a4; box-shadow: 0 0 0 3px rgba(16,63,110, .1); }
body[data-nav="home"] .home-market-query-form input {
  min-width: 0;
  padding: 0 8px;
  border: 0;
  outline: 0;
  color: var(--fc-text);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: var(--fw-value);
  letter-spacing: -.025em;
}
body[data-nav="home"] .home-market-query-form input::placeholder { color: #88968f; }
body[data-nav="home"] .home-market-query-form button {
  display: flex;
  width: auto;
  min-width: 92px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #1f527e;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.02em;
}
body[data-nav="home"] .home-market-query-form button b { font-size: 16px; line-height: 1; }
body[data-nav="home"] .home-market-query-suggestions {
  display: flex;
  grid-column: 1 / -1;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
body[data-nav="home"] .home-market-query-suggestions::-webkit-scrollbar { display: none; }
body[data-nav="home"] .home-market-query-suggestions button {
  flex: none;
  padding: 5px 9px;
  border: 1px solid #d4e3ed;
  border-radius: 999px;
  color: #426b7e;
  background: rgba(255, 255, 255, .72);
  font: inherit;
  font-size: 10.5px;
  font-weight: var(--fw-value);
  letter-spacing: -.02em;
  white-space: nowrap;
}
body[data-nav="home"] .home-market-query-suggestions button:hover {
  border-color: #9fc8df;
  color: #126f9b;
  background: #fff;
}
body[data-nav="home"] .home-market-query-suggestions button:focus-visible {
  outline: 2px solid rgba(21, 120, 167, .2);
  outline-offset: 1px;
}
body[data-nav="home"] .home-market-query-help {
  display: flex;
  grid-column: 1 / -1;
  min-height: 15px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
body[data-nav="home"] .home-market-query-help p,
body[data-nav="home"] .home-market-query-help a {
  padding: 0;
  border: 0;
  color: var(--fc-sub);
  background: transparent;
  font-size: 10.5px;
  line-height: 1.4;
  text-decoration: none;
}
body[data-nav="home"] .home-market-query-help p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #a13a35;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body[data-nav="home"] .home-market-query-help p[hidden] { display: block; visibility: hidden; }
body[data-nav="home"] .home-market-query-help a { flex: none; color: #1f527e; font-weight: var(--fw-title); }

body[data-nav="home"] .home-guide { margin-top: 30px; padding: 0 4px 14px; }
body[data-nav="home"] .home-guide-copy > small {
  display: block;
  margin-bottom: 6px;
  color: var(--fc-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-title);
}
body[data-nav="home"] .home-guide-copy > h2 {
  margin: 0;
  color: var(--fc-text);
  font-size: var(--fs-xl);
  font-weight: var(--fw-strong);
  line-height: 1.38;
  letter-spacing: -.045em;
}

body[data-nav="home"] .home-guide-intro { margin: 7px 0 0; color: var(--fc-sub); font-size: var(--fs-md); font-weight: var(--fw-regular); line-height: 1.65; letter-spacing: -.025em; }
body[data-nav="home"] .home-guide-visual { min-width: 0; }
body[data-nav="home"] .home-map-preview {
  position: relative;
  height: 198px;
  margin-top: 17px;
  overflow: hidden;
  border: 1px solid #d8dee4;
  border-radius: 17px 17px 0 0;
  background: #e7ebee;
}

body[data-nav="home"] .home-map-grid {
  position: absolute;
  inset: -52px;
  opacity: .85;
  background: repeating-linear-gradient(0deg, transparent 0 31px, #fff 31px 38px), repeating-linear-gradient(90deg, transparent 0 42px, #fff 42px 49px);
  transform: rotate(-24deg);
}

body[data-nav="home"] .home-map-park { position: absolute; top: -12px; right: -18px; width: 130px; height: 88px; border-radius: 28px; background: #cad4de; transform: rotate(-24deg); }
body[data-nav="home"] .home-map-road { position: absolute; top: 78px; left: -36px; width: 120%; height: 16px; border-top: 1px solid #ddd7bd; border-bottom: 1px solid #ddd7bd; background: #fbfaf1; transform: rotate(-24deg); }
body[data-nav="home"] .home-map-radius {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 170px;
  height: 170px;
  border: 1.5px dashed #527190;
  border-radius: 50%;
  background: rgba(16,63,110, .035);
  transform: translateX(-50%);
}

body[data-nav="home"] .home-map-label { position: absolute; top: 11px; left: 11px; padding: 5px 8px; border-radius: 7px; color: var(--fc-label); background: rgba(255, 255, 255, .92); font-size: var(--fs-xs); font-weight: var(--fw-value); }
body[data-nav="home"] .home-deal-dot,
body[data-nav="home"] .home-case-number { position: absolute; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(23,34,46, .17); }
body[data-nav="home"] .home-deal-dot { width: 13px; height: 13px; background: #6f879f; }
body[data-nav="home"] .home-case-number { display: grid; width: 28px; height: 28px; place-items: center; color: #fff; background: var(--green); font-size: var(--fs-xs); font-weight: var(--fw-strong); }
body[data-nav="home"] .dot-one { top: 41px; left: 38%; }
body[data-nav="home"] .dot-two { top: 111px; left: 78%; }
body[data-nav="home"] .dot-three { top: 160px; left: 39%; }
body[data-nav="home"] .case-one { top: 43px; left: 66%; }
body[data-nav="home"] .case-two { top: 92px; left: 24%; }
body[data-nav="home"] .case-three { top: 145px; left: 63%; }
body[data-nav="home"] .home-target-pin { position: absolute; top: 65px; left: 50%; width: 38px; height: 45px; color: var(--green); filter: drop-shadow(0 3px 4px rgba(23,34,46, .2)); transform: translateX(-50%); }
body[data-nav="home"] .home-target-pin svg { display: block; width: 100%; height: 100%; fill: currentColor; stroke: #fff; stroke-width: 2; }
body[data-nav="home"] .home-target-pin circle { fill: #fff; stroke: none; }
body[data-nav="home"] .home-target-label {
  position: absolute;
  top: 111px;
  left: 50%;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--fc-accent);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 2px 7px rgba(23,34,46, .08);
  font-size: var(--fs-xs);
  font-weight: var(--fw-title);
  white-space: nowrap;
  transform: translateX(-50%);
}

body[data-nav="home"] .home-map-legend { display: flex; justify-content: center; gap: 20px; padding: 10px 8px 11px; border: 1px solid #dee3e8; border-top: 0; border-radius: 0 0 17px 17px; color: var(--fc-sub); background: #fff; font-size: var(--fs-xs); font-weight: var(--fw-regular); }
body[data-nav="home"] .home-map-legend span { display: flex; align-items: center; gap: 6px; }
body[data-nav="home"] .home-map-legend i { width: 8px; height: 8px; border-radius: 50%; background: #6f879f; }
body[data-nav="home"] .home-map-legend i.selected { background: var(--green); }
body[data-nav="home"] .home-flow-row { display: grid; grid-template-columns: 29px minmax(0, 1fr); gap: 10px; padding: 17px 1px 16px; }
body[data-nav="home"] .home-flow-row + .home-flow-row { border-top: 1px solid #dee3e8; }
body[data-nav="home"] .home-flow-row > span { padding-top: 3px; color: var(--fc-accent); font-size: var(--fs-xs); font-weight: var(--fw-strong); }
body[data-nav="home"] .home-flow-row strong { display: block; color: var(--fc-text); font-size: var(--fs-lg); font-weight: var(--fw-title); letter-spacing: -.03em; }
body[data-nav="home"] .home-flow-row p { margin: 4px 0 0; color: var(--fc-sub); font-size: var(--fs-sm); font-weight: var(--fw-regular); line-height: 1.65; letter-spacing: -.02em; }

@media (max-width: 410px) {
  body[data-nav="home"] .home-search { gap: 6px; }
  body[data-nav="home"] .home-search input::placeholder {
    font-size: var(--fs-md);
    letter-spacing: -.02em;
  }
}

@media (max-width: 390px) {
  body[data-nav="home"] .home-head { padding-right: 18px; padding-left: 18px; }
  body[data-nav="home"] .home-brand { font-size: 26px; }
  body[data-nav="home"] main { padding-right: 12px; padding-left: 12px; }
  body[data-nav="home"] .home-search-card { padding: 21px 16px 16px; }
  body[data-nav="home"] .home-hero h1 { font-size: 34px; }
  body[data-nav="home"] .home-intro { font-size: var(--fs-md); }
  body[data-nav="home"] .home-search { grid-template-columns: 23px minmax(0, 1fr) auto; height: 56px; }
  body[data-nav="home"] .home-search input { font-size: var(--fs-md); }
  body[data-nav="home"] .home-search button { min-width: 54px; height: 40px; padding: 0 11px; }
  body[data-nav="home"] .today-deals { min-height: 164px; padding: 16px; }
  body[data-nav="home"] .today-deals-copy strong { font-size: var(--fs-num); }
  body[data-nav="home"] .today-deals-metric { padding: 7px; }
  body[data-nav="home"] .today-deals-metric strong { font-size: 14px; }
  body[data-nav="home"] .today-deals-change { font-size: 8px; }
  body[data-nav="home"] .home-analysis-link { padding: 15px; }
  body[data-nav="home"] .home-analysis-filter { padding-right: 8px; padding-left: 8px; }
  body[data-nav="home"] .home-analysis-filter > svg { flex-basis: 20px; width: 20px; height: 20px; }
  body[data-nav="home"] .home-guide { padding-right: 3px; padding-left: 3px; }
  body[data-nav="home"] .home-map-legend { gap: 13px; }
}

@media (min-width:700px) {
  body[data-nav="home"] .home-app { padding-bottom: 108px; }
  body[data-nav="home"] .home-head { padding-right: 32px; padding-left: 32px; }
  body[data-nav="home"] main { padding-right: 32px; padding-left: 32px; }
  body[data-nav="home"] .home-search-card { padding: 29px 29px 21px; }
  body[data-nav="home"] .home-map-preview { height: 224px; }
  body[data-nav="home"] .home-map-radius { top: 19px; width: 188px; height: 188px; }
  body[data-nav="home"] .home-target-pin { top: 78px; }
  body[data-nav="home"] .home-target-label { top: 124px; }
  body[data-nav="home"] .case-one { top: 49px; }
  body[data-nav="home"] .case-two { top: 110px; }
  body[data-nav="home"] .case-three { top: 163px; }
}

/* 최근 실거래 패널은 홈 개편 전 리스트를 데스크톱에서만 되살린 것 → 모바일 숨김. */
body[data-nav="home"] .home-recent-deals { display: none; }

/* =======================================================================
 * 2026-11-04 · 홈 폴더블 패드/데스크톱(≥700px): 상단 바(공통 네비) + 넓은 2열 히어로
 * 왼쪽 큰 질문·검색, 오른쪽 최근 실거래 3건(홈 개편 전 리스트 부활).
 * 모바일 홈은 그대로.
 * ======================================================================= */
@media (min-width: 700px) {
  body[data-nav="home"].has-global-nav { padding-bottom: 0; }
  body[data-nav="home"] .home-app {
    width: min(100%, 1120px);
    max-width: 1120px;
    padding: 92px 24px 64px;
    min-height: 100dvh;
  }
  /* 자체 로고 헤더는 상단 바와 중복 → 로고는 숨기고 MY만 상단 바 우측에 고정 */
  body[data-nav="home"] .home-identity { display: none; }
  body[data-nav="home"] .home-head { display: block; min-height: 0; margin: 0; padding: 0; }
  body[data-nav="home"] .home-profile {
    position: fixed; top: 13px; right: 22px; z-index: 130; margin: 0;
    width: 38px; height: 38px; min-width: 0;
    display: grid; place-items: center;
  }

  /* 히어로 2열: 왼쪽 질문·검색, 오른쪽 최근 실거래(로드됐을 때만 2열) */
  body[data-nav="home"] .home-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    align-items: stretch;
  }
  body[data-nav="home"] .home-hero-row:has(.home-recent-deals:not([hidden])) {
    grid-template-columns: minmax(0, 1.3fr) minmax(330px, .9fr);
  }
  body[data-nav="home"] .home-recent-deals:not([hidden]) { display: block; }
  body[data-nav="home"] .home-search-card { margin: 0; height: 100%; }

  /* 최근 실거래 패널 */
  body[data-nav="home"] .home-recent-deals {
    border: 1px solid #e4e8ec; border-radius: 20px; background: #fff;
    padding: 18px 18px 14px; box-shadow: 0 8px 30px rgba(18,28,38, .06);
  }
  body[data-nav="home"] .home-recent-deals-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
  body[data-nav="home"] .home-recent-deals-head h2 { margin: 0; font-size: var(--fs-lg); font-weight: var(--fw-title); color: var(--fc-text); }
  body[data-nav="home"] .home-recent-deals-more { font-size: var(--fs-sm); font-weight: var(--fw-value); color: var(--fc-accent); text-decoration: none; white-space: nowrap; }
  body[data-nav="home"] .home-recent-deals-list { display: grid; gap: 9px; }
  body[data-nav="home"] .home-recent-deal {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
    border: 1px solid #e4e8ec; border-radius: 14px; background: #fafbfc;
    padding: 11px 13px; font-family: inherit; transition: border-color .14s ease, background .14s ease;
  }
  body[data-nav="home"] .home-recent-deal:hover { border-color: #c1ceda; background: #f2f4f7; }
  body[data-nav="home"] .hrd-thumb {
    flex: none; width: 58px; height: 58px; border-radius: 10px; object-fit: cover;
    background: #eef0f2; border: 1px solid rgba(33,43,53, .06);
  }
  body[data-nav="home"] .hrd-body { flex: 1; min-width: 0; }
  body[data-nav="home"] .hrd-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
  body[data-nav="home"] .hrd-top b { font-size: var(--fs-lg); font-weight: var(--fw-title); color: var(--fc-text); }
  body[data-nav="home"] .hrd-amount { flex: none; font-size: var(--fs-num); font-weight: var(--fw-strong); color: var(--fc-accent); }
  body[data-nav="home"] .hrd-sub { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--fc-label); font-size: var(--fs-sm); }
  body[data-nav="home"] .hrd-sub em { font-style: normal; color: var(--fc-sub); }
  body[data-nav="home"] .hrd-date { margin-top: 3px; color: var(--fc-sub); font-size: var(--fs-xs); }

  /* 전국 배너·가이드는 위(히어로·배너)와 같은 전체폭으로 맞춘다. */
  body[data-nav="home"] .home-quick { margin-top: 20px; }
  body[data-nav="home"] .home-analysis-feature { margin-top: 13px; }
  body[data-nav="home"] .home-analysis-link {
    grid-template-columns: 58px minmax(205px, .78fr) minmax(410px, 1.55fr) auto;
    gap: 16px;
    min-height: 114px;
    padding: 17px 18px;
    box-sizing: border-box;
    border-radius: 17px;
  }
  body[data-nav="home"] .home-analysis-symbol { width: 58px; height: 58px; }
  body[data-nav="home"] .home-analysis-symbol svg { width: 32px; height: 32px; }
  body[data-nav="home"] .home-analysis-copy > strong { font-size: 23px; }
  body[data-nav="home"] .home-analysis-copy > span { max-width: 255px; font-size: var(--fs-xs); }
  body[data-nav="home"] .home-analysis-filters {
    display: flex;
    grid-column: auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }
  body[data-nav="home"] .home-analysis-filters > i {
    display: block;
    flex: none;
    color: #7088a0;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
  }
  body[data-nav="home"] .home-analysis-filter {
    flex: 1 1 0;
    min-width: 0;
    min-height: 61px;
    padding: 8px 9px;
  }
  body[data-nav="home"] .home-analysis-filter > svg { flex-basis: 20px; width: 20px; height: 20px; }
  body[data-nav="home"] .home-analysis-filter b { font-size: 12px; }
  body[data-nav="home"] .home-analysis-filter small { font-size: 9.5px; }
  body[data-nav="home"] .home-analysis-cta {
    grid-column: auto;
    min-width: 130px;
    min-height: 58px;
    padding: 0 14px;
    font-size: 13px;
  }
  body[data-nav="home"] .home-guide { max-width: none; margin-inline: 0; }
  /* 플로우 01·02를 좌우 2열로 (세로로 내려쓰지 않음). 지도와 간격을 띄우고 글씨를 키운다. */
  body[data-nav="home"] .home-flow {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px;
    margin-top: 30px;
  }
  body[data-nav="home"] .home-flow .home-flow-row { border-top: 0; padding: 4px 2px; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  body[data-nav="home"] .home-flow .home-flow-row > span { padding-top: 2px; font-size: var(--fs-sm); }
  body[data-nav="home"] .home-flow .home-flow-row strong { font-size: 18px; letter-spacing: -.03em; }
  body[data-nav="home"] .home-flow .home-flow-row p { margin-top: 6px; font-size: var(--fs-lg); line-height: 1.6; }
}

/* =======================================================================
 * 2026-10-26 · 홈 데스크톱 시장 허브
 * 전국 실거래와 교차분석을 동급 카드로 묶고, 딜체크 설명은 지도와 좌우로 배치한다.
 * 모바일은 위 기본 규칙의 기존 세로 흐름을 유지한다.
 * ======================================================================= */
@media (min-width: 700px) {
  body[data-nav="home"] .home-app {
    width: min(100%, 1180px);
    max-width: 1180px;
    padding-right: 26px;
    padding-left: 26px;
  }
  body[data-nav="home"] .home-profile { display: none; }

  body[data-nav="home"] .home-market-overview {
    margin-top: 20px;
    padding: 14px;
    border: 1px solid #dfe6ee;
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 7px 24px rgba(21,33,46, .045);
  }
  body[data-nav="home"] .home-market-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 0 2px 11px;
  }
  body[data-nav="home"] .home-market-head h2 {
    margin: 0;
    color: var(--fc-text);
    font-size: 20px;
    font-weight: var(--fw-strong);
    letter-spacing: -.04em;
  }
  body[data-nav="home"] .home-market-head p {
    margin: 0;
    color: var(--fc-sub);
    font-size: var(--fs-xs);
    font-weight: var(--fw-regular);
  }
  body[data-nav="home"] .home-market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  body[data-nav="home"] .home-market-grid > .home-block { margin-top: 0; }
  body[data-nav="home"] .home-market-grid > .home-block > a { height: 100%; box-sizing: border-box; }

  body[data-nav="home"] .today-deals {
    grid-template-columns: 64px minmax(0, 1fr) 42px;
    grid-template-rows: auto 59px;
    gap: 10px 15px;
    min-height: 176px;
    padding: 18px;
    border: 1px solid #d1dae3;
    border-radius: 15px;
    color: var(--fc-text);
    background: linear-gradient(135deg, #f9fbfc, #eef2f7);
    box-shadow: none;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  }
  body[data-nav="home"] .today-deals:hover {
    border-color: #95abc2;
    box-shadow: 0 9px 24px rgba(13,49,85, .09);
    transform: translateY(-1px);
  }
  body[data-nav="home"] .today-deals::before {
    right: -46px;
    bottom: -73px;
    width: 224px;
    height: 224px;
    border-color: rgba(16,63,110, .07);
    box-shadow: 0 0 0 31px rgba(16,63,110, .025), 0 0 0 62px rgba(16,63,110, .018);
  }
  body[data-nav="home"] .today-deals-symbol {
    position: relative;
    z-index: 1;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    color: #1f527e;
    background: #e0e8f0;
  }
  body[data-nav="home"] .today-deals-symbol svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.4;
    stroke-linecap: round;
  }
  body[data-nav="home"] .today-deals-copy > span { color: #4a5d70; font-size: 11px; }
  body[data-nav="home"] .today-deals-period { color: #091c30; }
  body[data-nav="home"] .today-deals-copy strong {
    margin-top: 3px;
    color: var(--fc-text);
    font-size: 23px;
  }
  body[data-nav="home"] .today-deals-copy small {
    max-width: 260px;
    margin-top: 6px;
    color: var(--fc-sub);
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
  }
  body[data-nav="home"] .today-deals-arrow {
    width: 40px;
    height: 40px;
    border-color: #8aa1b9;
    color: #1f527e;
  }
  body[data-nav="home"] .today-deals-arrow svg { width: 18px; height: 18px; }
  body[data-nav="home"] .today-deals-metrics {
    grid-column: 1 / -1;
    gap: 7px;
    align-self: end;
  }
  body[data-nav="home"] .today-deals-metric {
    min-height: 59px;
    padding: 6px 10px;
    box-sizing: border-box;
    border-color: #dae0e7;
    background: rgba(255, 255, 255, .82);
  }
  body[data-nav="home"] .today-deals-metric small { color: #5c738a; font-size: 10px; }
  body[data-nav="home"] .today-deals-metric strong { color: #091c30; font-size: 16px; }
  body[data-nav="home"] .today-deals-change { color: #627a93; font-size: 9px; }
  body[data-nav="home"] .today-deals-metric.is-primary {
    border-color: #afc0d0;
    background: #e5ecf2;
  }

  body[data-nav="home"] .home-analysis-link {
    position: relative;
    grid-template-columns: 64px minmax(0, 1fr) 42px;
    gap: 15px;
    min-height: 176px;
    padding: 20px 18px;
    overflow: hidden;
    border-color: #cee0f0;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8fbff, #eef6fd);
    box-shadow: none;
  }
  body[data-nav="home"] .home-analysis-link:hover {
    border-color: #9bc5e5;
    box-shadow: 0 9px 24px rgba(43, 119, 171, .09);
  }
  body[data-nav="home"] .home-analysis-symbol {
    width: 64px;
    height: 64px;
    color: #1578a7;
    background: #e0f0fb;
  }
  body[data-nav="home"] .home-analysis-symbol svg {
    width: 35px;
    height: 35px;
    stroke-width: 2.3;
    stroke-linejoin: round;
  }
  body[data-nav="home"] .home-analysis-copy > small { color: #477289; font-size: 11px; }
  body[data-nav="home"] .home-analysis-copy > strong { margin-top: 3px; font-size: 23px; }
  body[data-nav="home"] .home-analysis-copy > span { max-width: 310px; margin-top: 6px; font-size: 12px; }
  body[data-nav="home"] .home-analysis-filters {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    align-self: end;
  }
  body[data-nav="home"] .home-analysis-filters > i { display: none; }
  body[data-nav="home"] .home-analysis-filter {
    min-height: 53px;
    padding: 7px 8px;
    border-color: #dce8f1;
    background: rgba(255, 255, 255, .88);
  }
  body[data-nav="home"] .home-analysis-filter > svg { flex-basis: 18px; width: 18px; height: 18px; stroke: #147aa9; }
  body[data-nav="home"] .home-analysis-filter b { font-size: 11px; }
  body[data-nav="home"] .home-analysis-filter small { font-size: 9px; }
  body[data-nav="home"] .home-analysis-cta {
    grid-column: 3;
    grid-row: 1;
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid #8dbedf;
    border-radius: 50%;
    color: #167dad;
    background: rgba(255, 255, 255, .82);
    font-size: 0;
  }
  body[data-nav="home"] .home-analysis-cta b { font-size: 18px; }

  body[data-nav="home"] .home-market-question {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-content: center;
  }
  body[data-nav="home"] .home-market-query-form { grid-column: 1 / -1; }
  body[data-nav="home"] .home-market-query-suggestions {
    grid-column: 1 / 3;
    align-items: center;
  }
  body[data-nav="home"] .home-market-query-help {
    grid-column: 3;
    align-self: center;
    min-height: 0;
  }
  body[data-nav="home"] .home-market-query-help p[hidden] { display: none; }
  body[data-nav="home"] .home-market-query-help:has(p:not([hidden])) { grid-column: 1 / -1; }
  body[data-nav="home"] .home-market-query-error { grid-column: 1 / -1; }

  body[data-nav="home"] .home-guide {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    align-items: center;
    gap: 34px;
    margin-top: 14px;
    padding: 0 10px 0;
  }
  body[data-nav="home"] .home-guide-copy > small { margin-bottom: 9px; font-size: 12.5px; }
  body[data-nav="home"] .home-guide-copy > h2 { font-size: 32px; line-height: 1.24; }
  body[data-nav="home"] .home-guide-intro { max-width: 520px; margin-top: 11px; font-size: 15.5px; line-height: 1.65; }
  body[data-nav="home"] .home-guide-visual { align-self: stretch; }
  body[data-nav="home"] .home-map-preview { height: 262px; margin-top: 0; }
  body[data-nav="home"] .home-map-radius { top: 34px; width: 190px; height: 190px; }
  body[data-nav="home"] .home-target-pin { top: 92px; }
  body[data-nav="home"] .home-target-label { top: 140px; }
  body[data-nav="home"] .home-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
  }
  body[data-nav="home"] .home-flow .home-flow-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    padding: 0;
    border-top: 0;
  }
  body[data-nav="home"] .home-flow .home-flow-row > span {
    display: grid;
    width: 24px;
    height: 24px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #1f527e;
    font-size: 11px;
  }
  body[data-nav="home"] .home-flow .home-flow-row strong { font-size: 14px; line-height: 1.35; }
  body[data-nav="home"] .home-flow .home-flow-row p { margin-top: 5px; font-size: 11.5px; line-height: 1.52; }
}

/* =======================================================================
 * 딜체커로 할 수 있는 것 — 4대 기능 카드 (안 1, 2026-11-20)
 * 모바일 2×2, 데스크톱 4열. 볼륨스터디 카드는 진한 남색으로 강조.
 * ======================================================================= */
body[data-nav="home"] .home-features { margin-top: 14px; }
body[data-nav="home"] .home-features h2 {
  margin: 0 2px 10px; color: var(--fc-text); font-size: 18px; font-weight: var(--fw-strong); letter-spacing: -.04em;
}
body[data-nav="home"] .home-features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body[data-nav="home"] .home-feature {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 132px; padding: 15px 14px 38px;
  border: 1px solid #dfe6ee; border-radius: 14px; background: #fff; color: var(--fc-text); text-decoration: none;
  box-shadow: 0 4px 14px rgba(21,33,46,.04); box-sizing: border-box; transition: transform .15s, box-shadow .15s;
}
body[data-nav="home"] .home-feature:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(21,33,46,.08); }
body[data-nav="home"] .home-feature-icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-blue-soft);
}
body[data-nav="home"] .home-feature-icon svg {
  width: 19px; height: 19px; fill: none; stroke: var(--brand-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
body[data-nav="home"] .home-feature b { margin-top: 4px; font-size: 16px; font-weight: var(--fw-strong); letter-spacing: -.03em; }
body[data-nav="home"] .home-feature b small { font-size: 12px; font-weight: var(--fw-regular); color: var(--fc-sub); }
body[data-nav="home"] .home-feature > span:not(.home-feature-icon) { color: var(--fc-sub); font-size: 12.5px; line-height: 1.45; }
body[data-nav="home"] .home-feature i {
  position: absolute; right: 12px; bottom: 11px; display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--brand-blue-soft); color: var(--brand-blue); font-size: 13px; font-style: normal;
}
body[data-nav="home"] .home-feature-volume {
  border-color: #0f2c4a; background: linear-gradient(135deg, #0b2440 0%, #1f527e 100%); color: #fff;
  box-shadow: 0 8px 22px rgba(11,36,64,.22);
}
body[data-nav="home"] .home-feature-volume .home-feature-icon { background: rgba(255,255,255,.14); }
body[data-nav="home"] .home-feature-volume .home-feature-icon svg { stroke: #fff; }
body[data-nav="home"] .home-feature-volume > span:not(.home-feature-icon) { color: rgba(255,255,255,.82); }
body[data-nav="home"] .home-feature-volume i { background: rgba(255,255,255,.16); color: #fff; }
@media (min-width: 700px) {
  body[data-nav="home"] .home-features {
    margin-top: 20px; padding: 14px; border: 1px solid #dfe6ee; border-radius: 18px;
    background: rgba(255,255,255,.78); box-shadow: 0 7px 24px rgba(21,33,46,.045);
  }
  body[data-nav="home"] .home-features h2 { margin: 0 2px 11px; font-size: 20px; }
  body[data-nav="home"] .home-features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  body[data-nav="home"] .home-feature { min-height: 140px; padding: 17px 16px 40px; }
  body[data-nav="home"] .home-feature b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-nav="home"] .home-feature { transition: none; }
  body[data-nav="home"] .home-feature:hover { transform: none; }
}
