/* 살래 app.css — index.html의 인라인 <style> 2개 블록을 v1003에서 분리(내용 무변경).
   블록 순서 그대로 이어붙여 캐스케이드 동일. 캐시버스팅은 index.html의 ?v=JIBU_VERSION.
   3번째 인라인 블록(i18n-css, 0.5KB)은 index.html에 남아 이 파일 '뒤' 순서 유지. */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
      overflow: hidden;
    }

    body.community-page-open {
      overflow-x: hidden;
      overflow-y: auto;
    }

    /* 헤더 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 3500; /* v337: 패널(building-panel z3000) 위로 — 더보기 드롭다운(헤더 스택컨텍스트에 갇힘)이 패널 뒤로 숨던 문제. 모달(9000)보다는 아래. */
      background: #fff;
      border-bottom: 1px solid #e8e8e2;
      height: 56px;
      display: flex;
      align-items: center;
      padding: 0 16px;
      gap: 12px;
    }

    .brand {
      display: flex;
      align-items: center; /* v603: 영어 워드마크는 헤더 수직중앙. (한글문구는 .brand-subtitle에서 밑단 정렬) */
      gap: 2px;
      flex-shrink: 0;
      min-width: 0;
      border: none;
      background: transparent;
      padding: 0;
      font-family: inherit;
      cursor: pointer;
      text-align: left;
    }

    /* v285: 이미지 로고 (assets/jibu-symbol.svg, jibu-ko.svg) */
    .brand-symbol {
      height: 34px;
      width: auto;
      flex-shrink: 0;
    }
    .brand-wordmark {
      height: 21px;
      width: auto;
      flex-shrink: 0;
      margin-left: -3px;
    }
    /* v601: sallae 워드마크 이미지. v646: 투명 SVG + 약간 키움(모바일 30 / PC 34). */
    .brand-wordmark-img {
      height: 30px;
      width: auto;
      flex-shrink: 0;
      display: block;
    }
    @media (min-width: 901px) {
      .brand-wordmark-img { height: 34px; } /* v646: PC 로고 약간 더 */
    }

    .brand:hover .logo span,
    .brand:focus-visible .logo span {
      color: #d84f3f;
    }

    .brand:focus-visible {
      outline: 2px solid rgba(232, 93, 74, .35);
      outline-offset: 4px;
      border-radius: 8px;
    }

    .logo {
      font-size: 19px;
      font-weight: 700;
      color: #1a1a2e;
      letter-spacing: 0;
      white-space: nowrap;
      /* v600: sallae 워드마크 — 로고의 둥근 지오메트릭 느낌(iOS=SF Pro Rounded). 한글은 폴백 */
      font-family: ui-rounded, 'SF Pro Rounded', 'Quicksand', system-ui, sans-serif;
    }

    .logo span {
      color: #e85d4a;
    }

    .brand-subtitle {
      font-size: 12px;
      font-weight: 800;
      color: #888;
      white-space: nowrap;
      margin-left: 5px;
      line-height: 1; /* v602: 밑단 정렬 시 줄상자 여유 제거 */
      align-self: flex-end; /* v603: 워드마크는 중앙, 한글문구만 밑단에 붙임 */
    }
    @media (min-width: 901px) {
      .brand-subtitle { font-size: 13px; } /* v646: PC 한글문구 약간 더(기본 규칙 뒤에 둬야 우선) */
    }

    .search-wrap {
      flex: 1;
      max-width: 400px;
      position: relative;
      min-width: 220px;
    }

    /* v709: 모바일 헤더의 더보기 아이콘 버튼(검색창 옆) — PC에선 숨김, 더보기는 nav-tabs 옆 dropdown 사용 */
    .mobile-more-btn {
      display: none;
    }

    .search-bar {
      width: 100%;
      display: flex;
      align-items: center;
      background: #f5f5f0;
      border-radius: 24px;
      padding: 0 14px;
      height: 38px;
      gap: 8px;
      border: 1px solid #e0e0da;
    }

    .search-bar input {
      flex: 1;
      border: none;
      background: transparent;
      font-size: 14px;
      outline: none;
      color: #333;
    }

    .search-submit {
      width: 22px;
      height: 22px;
      padding: 0;
      border: none;
      background: transparent;
      color: #555;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .search-submit:hover {
      color: #e85d4a;
    }

    .search-suggestions {
      position: absolute;
      top: 46px;
      left: 0;
      right: 0;
      z-index: 5000;
      background: #fff;
      border: 1px solid #e8e8e2;
      border-radius: 14px;
      box-shadow: 0 14px 40px rgba(0,0,0,.12);
      overflow: hidden;
      padding: 6px;
    }

    .search-suggestions[hidden] {
      display: none;
    }

    .search-suggestion {
      width: 100%;
      border: none;
      background: transparent;
      border-radius: 10px;
      padding: 9px 10px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 9px;
      align-items: center;
      cursor: pointer;
      font-family: inherit;
      text-align: left;
    }

    .search-suggestion-section {
      padding: 8px 10px 4px;
      color: #999;
      font-size: 11px;
      font-weight: 950;
      letter-spacing: 0;
    }

    .search-suggestion:hover,
    .search-suggestion.active {
      background: #f8f6f0;
    }

    .search-suggestion-icon {
      width: 26px;
      height: 26px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #f5f5f0;
      font-size: 13px;
      color: #5a5648; /* v949: 아이콘 라인색 명시 고정 — 일부 모바일 브라우저(웨일 등)에서 currentColor가 링크 파랑으로 상속되던 것 차단 */
    }
    .search-suggestion-icon .ico { color: #5a5648; }

    .search-suggestion-title {
      color: #1a1a2e;
      font-size: 13px;
      font-weight: 900;
      line-height: 1.3;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .search-suggestion-sub {
      color: #888;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.4;
      margin-top: 2px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .search-suggestion-tag {
      color: #e85d4a;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .search-suggestion-empty {
      padding: 11px 12px;
      color: #888;
      font-size: 12px;
      font-weight: 700;
    }

    .search-recent-clear {
      width: 100%;
      border: none;
      border-top: 1px solid #eeeeea;
      background: transparent;
      color: #999;
      padding: 9px 10px 7px;
      font-size: 12px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
      text-align: center;
    }

    .search-recent-clear:hover {
      color: #e85d4a;
      background: #fff8f6;
    }

    /* v806: PC 상단 네비 = iOS식 세그먼트 컨트롤 (트랙 연회색 + 활성=네이비 인셋 pill). 모바일은 nav-tabs 숨김·하단 탭바 별도라 무영향 */
    .nav-tabs {
      display: flex;
      gap: 2px;
      flex-shrink: 0;
      background: #eceef2;
      border-radius: 11px;
      padding: 3px;
      align-items: center;
    }

    .nav-tab {
      padding: 6px 15px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      border: none;
      background: transparent;
      color: #5b6472;
      transition: all 0.15s;
      white-space: nowrap;
      font-family: inherit;
    }

    .nav-tab.active {
      background: #1a1a2e;
      color: #fff;
      box-shadow: 0 1px 2px rgba(0,0,0,.14);
    }

    .nav-tab:hover:not(.active) {
      background: rgba(0,0,0,.05);
      color: #1a1a2e;
    }

    .top-home-filter {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
      min-width: 0;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .top-home-filter::-webkit-scrollbar {
      display: none;
    }

    /* v377: PC에서 유형/거래/가격 필터를 헤더 flex 흐름에서 빼 지도 위(헤더 바로 아래)로 띄움.
       → 커뮤니티 전환 시 헤더가 리플로우(깜빡임)하던 문제 해소. 모바일은 기존대로(@media 760). */
    @media (min-width: 761px) {
      .top-home-filter {
        position: absolute;
        top: calc(100% + 12px);
        left: 589px; /* v378: nav-tabs(지도/커뮤니티/우리집) 바로 밑 — 왼쪽 건물패널·오른쪽 생활권패널 회피. navLeft가 폭 무관 589 고정 */
        overflow-x: visible;
        /* v379/v380: 낱개 버튼 → 앱 공통 플로팅 유리 섬 카드로 그룹화 */
        gap: 2px;
        padding: 4px;
        border-radius: 16px;
        box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
        isolation: isolate; /* ::before(z-1)를 카드 안 스택에 가둠(메뉴 fixed에는 영향X) */
      }
      /* v380: 글래스(블러)를 본체가 아니라 ::before로 — 본체에 backdrop-filter 두면
         그 안의 fixed 드롭다운 메뉴의 containing block이 돼 위치가 깨짐(엉뚱한 데 뜸). */
      .top-home-filter::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: rgba(255, 255, 255, 0.82);
        -webkit-backdrop-filter: saturate(180%) blur(14px);
        backdrop-filter: saturate(180%) blur(14px);
        border: 1px solid rgba(0, 0, 0, 0.05);
        z-index: -1;
      }
      /* v380: 세그먼트 사이 얇은 구분선 */
      .top-home-filter .tf-dd + .tf-dd::before {
        content: '';
        position: absolute;
        left: -1px; top: 7px; bottom: 7px;
        width: 1px;
        background: rgba(0, 0, 0, 0.09);
      }
      /* 카드 안에서는 버튼을 보더리스 세그먼트로(카드가 컨테이너 역할) */
      .top-home-filter .tf-dd-btn {
        border-color: transparent;
        background: transparent;
        padding: 7px 11px;
      }
      .top-home-filter .tf-dd-btn:hover {
        border-color: transparent;
        background: rgba(0, 0, 0, 0.05);
        color: #1a1a2e;
      }
      .top-home-filter .tf-dd.on .tf-dd-btn {
        background: #e9eff8; /* v803: 활성=딥그린 틴트(세컨드컬러). 코랄은 주 액션 전용으로 분리 */
        border-color: #e9eff8;
        color: #23385c;
        --ac: #35629e;
      }
      /* v663: 필터별 아이콘 = 인라인 라인 SVG(.ico, active 시 currentColor=흰색 자동) */
      .top-home-filter .tf-dd-btn .ico { width: 15px; height: 15px; margin-right: 2px; }
    }

    .top-home-filter-btn {
      flex: 0 0 auto;
      border: 1.5px solid #e0e0da;
      border-radius: 999px;
      background: #fff;
      color: #666;
      padding: 6px 11px;
      font-size: 12px;
      font-weight: 900;
      font-family: inherit;
      line-height: 1;
      white-space: nowrap;
      cursor: pointer;
    }

    .top-home-filter-btn.active {
      background: #1a1a2e;
      border-color: #1a1a2e;
      color: #fff;
    }

    .top-home-filter-btn:hover:not(.active) {
      border-color: #e85d4a;
      color: #e85d4a;
    }

    /* v349: 상단 필터 드롭다운(유형·거래) */
    .tf-dd { position: relative; flex: 0 0 auto; }
    .tf-dd-btn {
      display: inline-flex; align-items: center; gap: 3px;
      border: 1.5px solid #e0e0da; border-radius: 999px; background: #fff;
      color: #666; padding: 6px 10px; font-size: 12px; font-weight: 900;
      font-family: inherit; line-height: 1; white-space: nowrap; cursor: pointer;
    }
    .tf-dd-btn:hover { border-color: #e85d4a; color: #e85d4a; }
    .tf-dd.on .tf-dd-btn { background: #e9eff8; border-color: #35629e; color: #23385c; --ac:#35629e; } /* v803: 활성=딥그린 틴트(세컨드컬러) */
    .tf-dd-caret { font-size: 11px; opacity: .8; }
    .tf-dd-menu {
      position: fixed; z-index: 4000; min-width: 104px;
      background: #fff; border: 1px solid #eee; border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,.16); padding: 6px;
    }
    .tf-dd-menu[hidden] { display: none; }
    .tf-dd-menu button {
      display: block; width: 100%; text-align: left; padding: 9px 12px;
      border: none; background: none; font-family: inherit; font-size: 13px;
      font-weight: 700; color: #333; border-radius: 8px; cursor: pointer; white-space: nowrap;
    }
    .tf-dd-menu button:hover { background: #f5f5f0; }
    .tf-dd-menu button.sel { color: #e85d4a; }
    .tf-deal-menu button { display:flex; align-items:center; gap:9px; }
    .deal-check {
      width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid #d8d6ce;
      display:inline-flex; align-items:center; justify-content:center; flex:none; color:#fff; font-size:11px; font-weight:900;
    }
    .tf-deal-menu button.sel .deal-check { background:#35629e; border-color:#35629e; }
    .tf-deal-menu button.sel .deal-check::after { content:"✓"; }
    .tf-deal-menu .deal-dot { margin-right:0; }
    /* v405: 거래 필터 옵션 앞 핀색 점(범례 역할) — 매매 초록·월세 파랑·셰어/기숙사/단기 보라 */
    .deal-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 9px; vertical-align: middle; }
    /* v350: 월세 범위 드롭다운 */
    .tf-rent-menu { width: 200px; min-width: 0; padding: 12px; } /* v381: 좁게(좌우로 안 길게) */
    .tf-rent-title { font-size: 12px; font-weight: 800; color: #999; margin-bottom: 8px; }
    .tf-rent-row { display: flex; flex-direction: column; align-items: stretch; gap: 5px; } /* v381: 입력칸 위아래 배열 */
    .tf-rent-row input { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #ddd; border-radius: 8px; padding: 8px 9px; font-size: 13px; font-family: inherit; }
    .tf-rent-tilde { color: #bbb; font-weight: 700; text-align: center; font-size: 12px; line-height: 0.9; } /* v381: 세로 스택 사이 중앙 */
    .tf-rent-actions { display: flex; gap: 8px; margin-top: 12px; }
    /* v356: .tf-dd-menu button(배경 none, 0,1,1)보다 우선하도록 .tf-rent-menu 접두로 specificity↑ */
    .tf-rent-menu .tf-rent-actions button {
      display: block; flex: 1; width: auto; text-align: center;
      padding: 11px 10px; border: none; border-radius: 10px;
      font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
    }
    .tf-rent-menu .tf-rent-reset { background: #f1f1ec; color: #555; }
    .tf-rent-menu .tf-rent-reset:hover { background: #e8e8e2; }
    .tf-rent-menu .tf-rent-apply { background: #e85d4a; color: #fff; }
    .tf-rent-menu .tf-rent-apply:hover { background: #d64f3d; }

    /* v1163: '조건' 통합 패널 — 유형·구조·형태·가격을 섹션으로. 툴바는 [조건][테마] 둘만. */
    .tf-cond-menu { width: 300px; min-width: 0; padding: 6px 12px 12px; max-height: min(74vh, 560px); overflow-y: auto; }
    .tf-sec { padding: 11px 0 0; }
    .tf-sec + .tf-sec { border-top: 1px solid #f0efe9; margin-top: 11px; }
    .tf-sec-h { font-size: 12px; font-weight: 800; color: #999; margin-bottom: 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
    .tf-sec-hint { font-size: 11px; font-weight: 700; color: #bdb9ae; margin-left: 5px; }
    /* 섹션 안의 유형(체크형)은 기존 .tf-deal-menu 스타일 재사용 — 폭만 꽉 차게 */
    .tf-cond-menu .tf-deal-menu button { width: 100%; }
    /* 형태·구조 = 알약 줄바꿈 그리드 */
    .tf-pillrow { display: flex; flex-wrap: wrap; gap: 6px; }
    .tf-cond-menu .tf-pillrow button {
      display: inline-block; width: auto; flex: 0 0 auto; text-align: center; white-space: nowrap;
      padding: 7px 11px; border: 1.5px solid #e6e6df; border-radius: 999px; background: #fff;
      font-family: inherit; font-size: 12px; font-weight: 800; color: #555; cursor: pointer;
    }
    .tf-cond-menu .tf-pillrow button:hover { border-color: #e85d4a; color: #e85d4a; background: #fff; }
    .tf-cond-menu .tf-pillrow button.sel { border-color: #2b5089; background: #eaf1fa; color: #2b5089; }
    .tf-cond-menu .tf-rent-row { flex-direction: row; align-items: center; gap: 7px; }
    .tf-cond-menu .tf-rent-actions { margin-top: 9px; }
    @media (max-width: 760px) {
      .tf-cond-menu { width: min(88vw, 300px); }
    }

    /* v427(Phase2): 테마 드롭다운 — 5×2 그리드 */
    .tf-theme-menu { width: 512px; min-width: 0; padding: 12px; } /* v428: 5칸에 한글 라벨 한 줄로 들어가게 넓힘 */
    .tf-theme-title { font-size: 12px; font-weight: 800; color: #999; margin-bottom: 3px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
    .tf-theme-titletext { flex: 0 0 auto; }
    .tf-theme-hint { font-size: 11px; color: #b0b0b0; font-weight: 700; margin-bottom: 9px; }
    .tf-theme-reset { margin-left: auto; border: 1px solid #e0e0da; background: #fff; color: #888; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 800; font-family: inherit; cursor: pointer; }
    .tf-theme-reset:hover { border-color: #e85d4a; color: #e85d4a; }
    .tf-theme-reset[hidden] { display: none; }
    .tf-theme-sub { color: #e85d4a; font-weight: 900; margin-left: 4px; }
    /* v1149: '모든 테마 보기' 토글 버튼 — 툴바 폭 꽉 채운 버튼. 다시 누르면 꺼짐.
       v1150: .tf-dd-menu button(0,1,1)이 text-align:left·border:none·radius8을 강제하므로 .tf-theme-menu 접두로 specificity↑.
              외곽선·라운드·hover·선택색을 칩(.tf-theme-chip)과 동일하게. 글자 중앙정렬. */
    /* v1187: [핵심 동네][모든 테마 보기] 두 버튼 나란히 */
    .tf-theme-tools { margin-bottom: 9px; display: flex; gap: 7px; }
    .tf-theme-menu .tf-theme-core,
    .tf-theme-menu .tf-theme-all { flex: 1; }
    .tf-theme-menu .tf-theme-core { display: block; width: 100%; box-sizing: border-box; border: 1.5px solid #e6e6df; background: #fff; color: #444; border-radius: 12px; padding: 11px 12px; font-size: 13px; font-weight: 800; font-family: inherit; cursor: pointer; text-align: center; letter-spacing: -0.2px; }
    .tf-theme-menu .tf-theme-core:hover { border-color: #e85d4a; color: #e85d4a; background: #fff; }
    .tf-theme-menu .tf-theme-core.on { border-color: #93b3d8; background: #eaf1fa; color: #2b5089; }
    .tf-theme-menu .tf-theme-all { display: block; width: 100%; box-sizing: border-box; border: 1.5px solid #e6e6df; background: #fff; color: #444; border-radius: 12px; padding: 11px 12px; font-size: 13px; font-weight: 800; font-family: inherit; cursor: pointer; text-align: center; letter-spacing: -0.2px; }
    .tf-theme-menu .tf-theme-all:hover { border-color: #e85d4a; color: #e85d4a; background: #fff; }
    .tf-theme-menu .tf-theme-all.on { border-color: #93b3d8; background: #eaf1fa; color: #2b5089; } /* v1151→v1152: 그린 톤 더 연하게 */
    .tf-theme-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
    .tf-theme-menu .tf-theme-chip {
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
      width: 100%; text-align: center; padding: 10px 4px; white-space: nowrap; /* v428: 줄바꿈 금지(폭 들쭉날쭉 방지) */
      border: 1.5px solid #e6e6df; border-radius: 12px; background: #fff;
      font-family: inherit; font-size: 12px; font-weight: 800; color: #444; cursor: pointer; line-height: 1.2;
    }
    .tf-theme-menu .tf-theme-chip .tf-theme-ico { font-size: 19px; line-height: 1; }
    .tf-theme-menu .tf-theme-chip:hover { border-color: #e85d4a; color: #e85d4a; background: #fff; }
    .tf-theme-menu .tf-theme-chip.sel { border-color: #93b3d8; background: #eaf1fa; color: #2b5089; --ac:#2b5089; } /* v1151→v1152: 그린 톤 더 연하게 */
    @media (max-width: 760px) {
      .tf-theme-menu { width: min(82vw, 300px); } /* v434: 좌우 너무 길어 축소(360→300) */
      .tf-theme-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
      .tf-theme-menu .tf-theme-chip { flex-direction: row; gap: 5px; padding: 9px 7px; font-size: 12px; justify-content: flex-start; }
      .tf-theme-menu .tf-theme-chip .tf-theme-ico { font-size: 16px; }
    }

    /* v427: 테마 핀 = 운영자 추천 (코랄 톤 + 별 표시) */
    /* v1156: 테마핀 전용 스타일(흰 배경·★) 폐지 — 지역핀 코랄 카드로 통일(.gmap-area-marker 기본 스타일 사용) */

    /* v427: 테마 핀 클릭 → 운영자 정보 카드 (리뷰 없음) */
    #themeInfoCard {
      position: fixed; z-index: 4200; left: 50%; top: 50%; transform: translate(-50%,-50%);
      width: min(92vw, 380px); max-height: 80dvh; overflow-y: auto;
      background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); padding: 18px;
    }
    #themeInfoCard[hidden] { display: none; }
    .theme-info-photo { display: block; width: 100%; height: 130px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
    .theme-info-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 96px; border-radius: 12px; margin-bottom: 12px; background: #eef2f8; color: #5f6a78; font-size: 13px; font-weight: 700; text-align: center; }
    .theme-info-ph[hidden] { display: none; }
    .theme-info-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
    .theme-info-name { font-size: 19px; font-weight: 900; color: #1a1a2e; }
    .theme-info-ja { font-size: 12px; color: #999; font-weight: 700; margin-top: 1px; }
    .theme-info-badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
    .theme-info-badge { font-size: 12px; font-weight: 800; color: #b8472f; background: #fdeae6; border-radius: 999px; padding: 4px 10px; }
    .theme-info-desc { font-size: 13px; color: #444; line-height: 1.7; }
    .theme-info-curated { font-size: 12px; color: #aaa; font-weight: 700; margin-top: 12px; }
    .theme-info-more { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; padding: 12px 16px; background: #e85d4a; color: #fff; border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none; transition: background .15s; }
    .theme-info-more:hover { background: #d44e3c; }
    .theme-info-more:active { transform: scale(.98); }
    /* v685: 동네 비교 모달 CSS 제거 — /area 페이지 [비교] 모드로 이전 */
    .theme-info-backdrop { position: fixed; inset: 0; z-index: 4100; background: rgba(0,0,0,0.28); }
    .theme-info-backdrop[hidden] { display: none; }

    .vote-btn.voted {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .vote-btn.selected-vote {
      opacity: 1;
      border-color: #e85d4a;
      color: #e85d4a;
      background: #fff8f6;
    }

    .content-report-btn {
      border: none;
      background: transparent;
      color: #aaa;
      padding: 2px 3px;
      font-size: 11px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
      white-space: nowrap;
    }

    .content-report-btn:hover {
      color: #e85d4a;
    }
    /* v291: 동네/행정구역 설명 아래 '사실과 달라요' 신고 줄 */
    .desc-report-row {
      display: flex;
      justify-content: flex-end;
      margin-top: 2px;
    }
    .desc-report-row .content-report-btn {
      color: #b9a98a;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .contact-nav-btn {
      padding: 6px 12px;
      border-radius: 20px;
      border: 1.5px solid #e0e0da;
      background: #fff;
      color: #555;
      font-size: 12px;
      font-weight: 800;
      font-family: inherit;
      cursor: pointer;
      white-space: nowrap;
    }

    .contact-nav-btn:hover {
      border-color: #e85d4a;
      color: #e85d4a;
    }

    .auth-area {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .login-btn {
      padding: 6px 14px;
      background: #1a1a2e;
      color: #fff;
      border: none;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
    }

    .user-info {
      display: flex; /* v306: 더보기 버튼 항상 표시 */
      position: relative;
      align-items: center;
    }

    .user-nickname {
      font-size: 12px;
      font-weight: 600;
      color: #1a1a2e;
    }
    /* v306: 더보기 버튼 라벨 + 메뉴 계정 헤더 */
    .user-menu-label { font-size: 13px; font-weight: 700; color: #1a1a2e; }
    .pcm-account { padding: 11px 14px; margin-bottom: 8px; font-size: 13px; font-weight: 800; color: #1a1a2e; border-bottom: 1px solid #f0f0ea; }
    .pcm-admin-badge { color: #5b54e0; font-size: 12px; font-weight: 700; }
    .org-mgr-badge { color: #0e9f6e; font-size: 12px; font-weight: 700; }

    /* v300: PC 닉네임 드롭다운 */
    .user-menu-trigger {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 7px 14px;
      background: #fff;
      border: 1.5px solid #1a1a2e; /* v308: 살짝 더 또렷하게 */
      border-radius: 20px;
      cursor: pointer;
      font-family: inherit;
      box-shadow: 0 1px 3px rgba(0,0,0,.06);
    }
    .user-menu-trigger:hover { background: #f5f5f0; }
    /* v1345: 운영자 미처리 건수 배지 — '더보기' 안에 운영자 페이지가 있으니 여기에 붙인다.
       색은 코랄(#e85d4a)로 다른 알림 배지(nav-tab-badge·mtab-badge)와 통일. */
    .user-menu-trigger { position: relative; }
    /* v1348: 오른쪽 위 → 왼쪽 위 + 확대(사용자 요청 — 눈에 더 띄게) */
    .more-badge { position: absolute; top: -9px; left: -9px; right: auto; min-width: 23px; height: 23px; padding: 0 7px;
      border-radius: 999px; background: #e85d4a; color: #fff; font-size: 13px; font-weight: 800; line-height: 1;
      display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
      border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
    .pcm-row-badge { display: inline-flex; min-width: 17px; height: 17px; padding: 0 5px; margin-left: 6px;
      border-radius: 999px; background: #e85d4a; color: #fff; font-size: 11px; font-weight: 800;
      align-items: center; justify-content: center; box-sizing: border-box; vertical-align: middle; }
    .user-menu-caret { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #1a1a2e; color: #fff; font-size: 12px; font-weight: 900; line-height: 1; transition: transform .18s; }
    .user-menu-trigger.open .user-menu-caret { transform: rotate(180deg); }
    .pc-user-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      width: 300px;
      max-height: 72vh;
      overflow-y: auto;
      background: #fff;
      border: 1px solid #eee;
      border-radius: 14px;
      box-shadow: 0 12px 40px rgba(0,0,0,.16);
      padding: 10px;
      z-index: 1200;
    }
    .pc-user-menu[hidden] { display: none; }
    .pcm-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      background: #fff;
      border: 0.5px solid #eee;
      border-radius: 10px;
      padding: 11px 14px;
      margin-bottom: 6px;
      font-size: 13px;
      font-weight: 700;
      color: #1a1a2e;
      font-family: inherit;
      cursor: pointer;
      text-align: left;
    }
    .pcm-row span { font-size: 12px; color: #999; font-weight: 500; }
    .pcm-row:hover { background: #f8f8f5; }
    .pcm-logout { color: #c0392b; }
    .pcm-lang-row { display: flex; justify-content: flex-end; padding: 2px 2px 10px; margin-bottom: 4px; border-bottom: 0.5px solid #eee; }
    .pc-user-menu .msheet-acc-head { font-size: 13px; }

    .logout-btn {
      padding: 3px 8px;
      background: #e85d4a;
      color: #fff;
      border: none;
      border-radius: 12px;
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
    }

    /* v91: 운영자 버튼 */
    .admin-btn {
      padding: 3px 8px;
      background: #4a3fa0;
      color: #fff;
      border: none;
      border-radius: 12px;
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      display: none;
    }

    /* v91: 운영자 패널 (전체 화면, board-page와 동일 구조) */
    .admin-page {
      min-height: 100vh;
      padding: 82px 20px 40px;
      background: #f0eef8;
    }

    .admin-shell {
      max-width: 900px;
      margin: 0 auto;
    }

    .admin-head {
      margin-bottom: 20px;
    }

    .admin-title {
      font-size: 28px;
      font-weight: 900;
      color: #1a1a2e;
      margin-bottom: 4px;
    }

    .admin-sub {
      font-size: 13px;
      color: #888;
    }

    /* v456: 운영자 사이드바 콘솔 */
    .admin-layout { display: flex; gap: 26px; align-items: flex-start; margin-top: 4px; }
    .admin-nav { flex: 0 0 186px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 12px; }
    .admin-nav-group { display: flex; flex-direction: column; gap: 3px; }
    /* v914: 그룹 라벨을 접기 버튼으로 */
    .admin-nav-label { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 12px; font-weight: 800; color: #9a96b0; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 10px 4px; border: none; background: none; cursor: pointer; font-family: inherit; }
    .admin-nav-label:hover { color: #6b6685; }
    .ang-caret { font-size: 11px; transition: transform 0.15s; opacity: 0.7; }
    .admin-nav-group.collapsed .ang-caret { transform: rotate(-90deg); }
    .admin-nav-group.collapsed .admin-navitem { display: none; }
    .admin-navitem { text-align: left; padding: 9px 12px; border-radius: 9px; border: none; background: none; color: #555; font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; line-height: 1.3; transition: background 0.12s; }
    .admin-navitem:hover { background: #f0eefb; color: #1a1a2e; }
    .admin-navitem.active { background: #1a1a2e; color: #fff; }
    .admin-navitem.active .admin-tab-badge { background: #fff; color: #1a1a2e; }
    /* v966: 미니홈피 통계 표 */
    /* v1347: 월간 리포트 — KPI 카드 + 월 이동. 대표 KPI(업체 이동)가 첫 칸. */
    .mr-nav { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; }
    .mr-nav .ass-more[disabled] { opacity: .35; cursor: default; }
    .mr-nav-gap { flex: 1; }
    .mr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
    .mr-card { background: #fff; border: 1px solid #e4e0d8; border-radius: 12px; padding: 14px 14px 12px; }
    .mr-card:first-child { border-color: #2b5089; box-shadow: inset 0 0 0 1px #2b5089; }
    .mr-num { font-size: 24px; font-weight: 800; color: #1a1a2e; line-height: 1.1; }
    .mr-unit { font-size: 13px; font-weight: 700; color: #8a8178; margin-left: 2px; }
    .mr-label { font-size: 12.5px; font-weight: 700; color: #555; margin-top: 5px; }
    .mr-sub { font-size: 11.5px; color: #8a8178; margin-top: 3px; }
    .ass-head { margin: 0 0 14px; }
    .ass-head h3 { margin: 0 0 4px; font-size: 16px; color: #1a1a2e; }
    .ass-head p { margin: 0; font-size: 13px; color: #8a8178; line-height: 1.5; }
    .ass-table-wrap { overflow-x: auto; }
    /* v1046: 상세 주소가 없어 핀 위치가 부정확한 건물 안내. 경고가 아니라 사실 고지라
       색은 낮추고(앰버 계열 옅게) 주소 바로 아래에 붙여 맥락이 끊기지 않게 한다. */
    .geo-approx {
      display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 2px;
      padding: 7px 9px; border-radius: 8px; background: #fdf5e9; color: #8a5a12;
      font-size: 12px; line-height: 1.45;
    }
    .geo-approx .ico { width: 14px; height: 14px; flex: none; margin-top: 1px; }

    /* v1043~1044: 첫 화면 시작 카드.
       v1044: 데스크톱에서 하단에 붙으니 눈에 안 띈다는 지적 → 화면 중앙으로 올리고
       뒤에 은은한 어둠막을 깐다. 막은 옅게(.34) — 지도가 비쳐 보여야 '동네 찾는 서비스'가 읽힌다.
       강조는 한 곳(대표 동작=30초 진단)에만 준다. */
    .start-scrim {
      position: fixed; inset: 0; z-index: 1400;
      display: flex; align-items: center; justify-content: center;
      background: rgba(20,28,24,.34); backdrop-filter: blur(1.5px);
      opacity: 0; transition: opacity .24s ease;
    }
    .start-scrim.open { opacity: 1; }
    .start-card {
      position: relative; width: min(432px, calc(100vw - 32px));
      background: #fff; border-radius: 18px; padding: 22px 22px 15px;
      box-shadow: 0 24px 60px rgba(15,22,19,.30), 0 4px 12px rgba(15,22,19,.10);
      transform: translateY(10px) scale(.985); transition: transform .26s cubic-bezier(.2,.8,.3,1);
    }
    .start-scrim.open .start-card { transform: none; }
    .start-x {
      position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0;
      background: none; color: #a8b0bb; font-size: 20px; line-height: 1; cursor: pointer; border-radius: 8px;
    }
    .start-x:hover { background: #f2f4f7; color: #5a6472; }
    .start-eyebrow { margin: 0 0 5px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #2b5089; }
    .start-h { margin: 0 26px 15px 0; font-size: 19px; font-weight: 800; color: #1b2634; line-height: 1.4; letter-spacing: -.01em; }
    .start-rows { display: grid; gap: 8px; }
    .start-row {
      position: relative; display: grid; gap: 2px; width: 100%; text-align: left;
      padding: 12px 34px 12px 14px; border: 1px solid #e3e7ec; border-radius: 13px; background: #fff;
      font-family: inherit; cursor: pointer; transition: border-color .13s, background .13s, transform .13s;
    }
    .start-row:hover { border-color: #2b5089; background: #f5f9fe; }
    .start-row:active { transform: scale(.995); }
    .start-t { font-size: 14px; font-weight: 700; color: #1b2634; }
    .start-s { font-size: 12px; color: #6b7480; line-height: 1.45; }
    .start-arrow {
      position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
      font-size: 14px; color: #b6bec8; transition: color .13s, transform .13s;
    }
    .start-row:hover .start-arrow { color: #2b5089; transform: translateY(-50%) translateX(2px); }
    /* 대표 동작 — 브랜드 딥그린. 보수적으로 한 곳만 채운다. */
    .start-row.primary { background: #2b5089; border-color: #2b5089; }
    .start-row.primary:hover { background: #3a6aa8; border-color: #3a6aa8; }
    .start-row.primary .start-t { color: #fff; }
    .start-row.primary .start-s { color: #bdd0e8; }
    .start-row.primary .start-arrow { color: #cfdcee; }
    .start-row.primary:hover .start-arrow { color: #fff; }
    .start-skip {
      width: 100%; margin-top: 11px; padding: 7px; border: 0; background: none;
      color: #8a92a0; font-size: 13px; font-family: inherit; cursor: pointer;
    }
    .start-skip:hover { color: #5a6472; }
    /* 모바일은 엄지가 닿는 아래쪽에 두되 하단 탭바(56px+8px)는 가리지 않는다 */
    @media (max-width: 760px) {
      .start-scrim { align-items: flex-end; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
      .start-card { width: calc(100vw - 28px); padding: 16px 16px 10px; border-radius: 16px; }
      .start-h { font-size: 16px; margin-bottom: 13px; }
      .start-row { padding: 11px 30px 11px 13px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .start-scrim, .start-card, .start-row, .start-arrow { transition: none; }
    }

    /* v1040: 지점별 breakdown(업체 행 아래 펼침) */
    .ass-more { margin-left: 8px; padding: 2px 7px; border: 1px solid #dfe3ea; border-radius: 6px; background: #fff; color: #5a6472; font-size: 12px; font-family: inherit; cursor: pointer; }
    .ass-more:hover { background: #f2f4f7; }
    .ass-sub-row > td { background: #fafbfc; padding: 8px 10px 10px; }
    .ass-inner { font-size: 12px; margin: 0; }
    .ass-inner th, .ass-inner td { padding: 5px 8px; border-bottom: 1px solid #f0f2f5; }
    .ass-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .ass-table th, .ass-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eee; white-space: nowrap; vertical-align: top; }
    .ass-table th { font-size: 12px; color: #888; font-weight: 700; }
    .ass-table td.num { font-variant-numeric: tabular-nums; font-weight: 800; color: #1a1a2e; }
    .ass-sub { color: #9a938a; font-weight: 500; font-size: 12px; }
    .ass-ch { white-space: normal; color: #5f6a78; font-size: 12px; }
    .ass-off { color: #c4452f; font-size: 12px; font-weight: 700; background: #fbe7e2; padding: 1px 6px; border-radius: 6px; }
    /* v909: 파트너스 문구 편집 폼 */
    .sc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
    .sc-head b { font-size: 16px; }
    .sc-sub { font-size: 12px; color: #9a96b0; margin-left: 8px; font-weight: 600; }
    .sc-actions { display: flex; gap: 8px; align-items: center; }
    .sc-preview { font-size: 13px; font-weight: 700; color: #5b54e0; text-decoration: none; padding: 8px 12px; border: 1px solid #ddd; border-radius: 8px; }
    .sc-save { font-size: 13px; font-weight: 800; color: #fff; background: #1a1a2e; border: none; border-radius: 8px; padding: 9px 16px; cursor: pointer; font-family: inherit; }
    .sc-save:disabled { opacity: .6; cursor: default; }
    .sc-langtabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid #eee; }
    .sc-langtab { font-size: 13px; font-weight: 700; color: #888; background: none; border: none; border-bottom: 2px solid transparent; padding: 8px 14px; cursor: pointer; font-family: inherit; margin-bottom: -1px; }
    .sc-langtab.on { color: #1a1a2e; border-bottom-color: #1a1a2e; }
    .sc-group { margin-bottom: 22px; }
    .sc-gtitle { font-size: 12px; font-weight: 800; color: #1a1a2e; letter-spacing: .03em; margin: 0 0 10px; padding-bottom: 5px; border-bottom: 1px dashed #e6e2f0; }
    .sc-field { margin-bottom: 10px; }
    .sc-field label, .sc-cell label { display: block; font-size: 12px; font-weight: 700; color: #7a7590; margin-bottom: 3px; }
    .sc-field input, .sc-field textarea, .sc-cell input { width: 100%; box-sizing: border-box; font-family: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid #ddd; border-radius: 7px; color: #1a1a2e; background: #fff; }
    .sc-field textarea { resize: vertical; line-height: 1.5; }
    .sc-row { display: flex; gap: 10px; margin-bottom: 10px; }
    .sc-cell { flex: 1; min-width: 0; }
    .admin-content { flex: 1 1 auto; min-width: 0; }
    @media (max-width: 820px) {
      .admin-layout { flex-direction: column; gap: 14px; }
      .admin-nav { flex: none; width: 100%; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; position: static; padding-bottom: 12px; border-bottom: 2px solid #e0ddf0; }
      .admin-nav-group { gap: 4px; }
      .admin-navitem { padding: 7px 11px; }
    }

    .admin-tab-badge { background:#e85d4a; color:#fff; border-radius:999px; font-size:11px; padding:1px 6px; margin-left:3px; font-weight:900; vertical-align:middle; }
    /* v920: 미니홈피 옛 커버·로고 수동 삭제 목록 */
    .shop-photo-row { display:flex; align-items:center; gap:10px; padding:8px; border:1px solid #eee; border-radius:10px; margin-bottom:6px; background:#fff; }
    .shop-photo-thumb { width:52px; height:52px; border-radius:8px; object-fit:cover; flex:none; background:#f0eefb; }
    .shop-photo-meta { flex:1; min-width:0; }
    .shop-photo-name { font-size:13px; font-weight:800; color:#1a1a2e; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .shop-photo-kind { font-size:12px; color:#9a96b0; font-weight:700; }
    .admin-tab-badge[hidden] { display:none; }
    .admin-tab {
      padding: 8px 18px;
      font-size: 13px;
      font-weight: 700;
      color: #888;
      background: none;
      border: none;
      border-bottom: 2px solid transparent;
      margin-bottom: -2px;
      cursor: pointer;
      font-family: inherit;
      flex: none;
      white-space: nowrap;
    }

    .admin-tab.active {
      color: #4a3fa0;
      border-bottom-color: #4a3fa0;
    }

    .admin-report-card {
      background: #fff;
      border-radius: 12px;
      padding: 14px 16px;
      margin-bottom: 10px;
      border: 1px solid #e8e5f5;
    }

    .admin-report-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      flex-wrap: wrap;
    }

    .admin-report-badge {
      font-size: 11px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 8px;
      background: #ede9ff;
      color: #4a3fa0;
    }

    .admin-report-id {
      font-size: 12px;
      color: #aaa;
    }

    .admin-report-date {
      font-size: 12px;
      color: #aaa;
      margin-left: auto;
    }

    .admin-report-preview {
      font-size: 12px;
      color: #555;
      background: #f8f7fe;
      border-radius: 8px;
      padding: 8px 10px;
      margin-bottom: 10px;
      line-height: 1.5;
      white-space: pre-wrap;
      word-break: break-all;
    }

    .admin-report-actions {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .admin-action-btn {
      padding: 5px 12px;
      border-radius: 10px;
      font-size: 12px;
      font-weight: 700;
      border: none;
      cursor: pointer;
      font-family: inherit;
    }

    .admin-action-btn.hide   { background: #fff3cd; color: #856404; }
    .admin-action-btn.delete { background: #fde8e6; color: #c0392b; }
    .admin-action-btn.dismiss { background: #e8f5e9; color: #2e7d32; }

    .admin-empty {
      text-align: center;
      padding: 40px 0;
      color: #aaa;
      font-size: 13px;
    }

    @media (max-width: 760px) {
      .admin-page {
        padding: calc(var(--jibu-mobile-header-height) + 16px) 10px 28px;
      }
      /* v914: 모바일 — 사이드바를 상단 가로 스크롤 바로(콘텐츠는 아래 전체폭) */
      .admin-layout { flex-direction: column; gap: 14px; }
      .admin-nav { flex: 0 0 auto; width: 100%; position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 14px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
      .admin-nav-group { flex: 0 0 auto; }
      .admin-content { width: 100%; }
    }

    /* 로그인 모달 */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 9999;
      align-items: center;
      justify-content: center;
      touch-action: manipulation; /* v467: 모달(rrw·로그인 등)서 더블탭 확대 끔(스크롤·핀치 영향 없음) */
    }
    /* v467: 지도 외 UI(패널·페이지)도 더블탭 확대 끔. #map은 제외(구글맵 제스처 유지) */
    .building-panel, .side-panel, .admin-page, #squareBoardPage { touch-action: manipulation; overscroll-behavior: none; }
    /* v974: iOS 사파리는 user-scalable=no를 무시해 버튼·링크 더블탭 시 페이지가 확대됨(필터 버튼 실수확대의 진짜 원인).
       조작 요소·상단/하단 바에 touch-action:manipulation → 더블탭 줌만 차단(핀치·스크롤·단일탭 유지). */
    button, a, .top-home-filter, .nav-tabs, .mobile-tabbar, .brand-header { touch-action: manipulation; }

    .modal-overlay.open {
      display: flex;
    }
    /* v531: 글 링크로 상세를 열 때는 뒤 목록 로딩이 비치지 않게 배경을 더 불투명하게(딥링크 모달 세션 동안만) */
    body.deeplink-detail-loading #squareDetailModal { background: rgba(0, 0, 0, 0.86); }

    .modal-box {
      background: #fff;
      border-radius: 16px;
      padding: 32px 28px;
      width: 320px;
      text-align: center;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    .modal-title {
      font-size: 19px;
      font-weight: 700;
      color: #1a1a2e;
      margin-bottom: 6px;
    }

    .modal-sub {
      font-size: 13px;
      color: #888;
      margin-bottom: 24px;
    }

    .kakao-login-btn {
      width: 100%;
      padding: 13px;
      background: #fee500;
      color: #3c1e1e;
      border: none;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      margin-bottom: 10px;
      font-family: inherit;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .google-login-btn {
      width: 100%;
      padding: 13px;
      background: #fff;
      color: #333;
      border: 1.5px solid #e0e0da;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    /* v820: 업체 회원 이메일(매직링크) 로그인 */
    .login-email-toggle {
      display: block; width: 100%; margin-top: 14px;
      background: none; border: none; color: #35629e;
      font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit;
    }
    .login-email-toggle:hover { text-decoration: underline; }
    .login-email-input {
      width: 100%; box-sizing: border-box; padding: 12px 14px;
      border: 1.5px solid #e0e0da; border-radius: 10px;
      font-size: 16px; font-family: inherit; color: #1a1a2e; margin-bottom: 10px; text-align: center;
    }
    .login-email-input:focus { outline: none; border-color: #35629e; }
    /* v977: 관리자·직원 비밀번호 로그인 진입 링크(소셜 화면 하단, 눈에 안 띄게) */
    .login-pw-entry { display: block; width: 100%; margin-top: 12px; background: none; border: none; color: #9a948a; font-size: 13px; font-family: inherit; cursor: pointer; padding: 6px; }
    .login-pw-entry:hover { color: #5a5648; text-decoration: underline; }
    .login-email-send {
      width: 100%; padding: 13px; background: #35629e; color: #fff;
      border: none; border-radius: 10px; font-size: 14px; font-weight: 800;
      cursor: pointer; font-family: inherit;
    }
    .login-email-send:disabled { opacity: .6; cursor: default; }
    .login-email-msg {
      margin-top: 12px; font-size: 13px; line-height: 1.5; color: #23385c;
      background: #eef2f8; border-radius: 9px; padding: 10px 12px; text-align: left;
    }
    .login-email-msg.err { color: #c0392b; background: #fdecea; }
    .login-email-back {
      margin-top: 14px; background: none; border: none; color: #aaa;
      font-size: 12px; cursor: pointer; font-family: inherit;
    }

    .modal-close {
      margin-top: 16px;
      background: none;
      border: none;
      color: #aaa;
      font-size: 12px;
      cursor: pointer;
      font-family: inherit;
    }

    .contact-modal-box {
      background: #fff;
      border-radius: 16px;
      padding: 24px;
      width: min(420px, calc(100vw - 32px));
      max-height: calc(100dvh - 40px);
      overflow-y: auto;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    .square-detail-box {
      background: #fff;
      border-radius: 16px;
      width: min(620px, calc(100vw - 28px));
      max-height: min(760px, calc(100vh - 40px));
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    }

    .square-detail-head {
      padding: 18px 20px;
      border-bottom: 1px solid #eeeeea;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      flex-shrink: 0;
    }

    .square-detail-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .square-detail-title {
      font-size: 19px;
      font-weight: 950;
      color: #1a1a2e;
      margin-bottom: 5px;
    }

    .square-detail-sub {
      font-size: 12px;
      line-height: 1.5;
      color: #777;
      font-weight: 700;
    }

    .square-detail-body {
      padding: 14px 16px 18px;
      overflow-y: auto;
      background: #fafaf7;
    }

    .square-detail-body .square-card {
      margin-bottom: 0;
    }

    /* v285: 문의 모달 로고 (assets/jibu-symbol.svg, jibu-en.png) */
    .contact-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
    }
    .contact-symbol { height: 40px; width: auto; }
    .contact-wordmark { height: 46px; width: auto; } /* v647: 새 워드마크(집+SALLAE) 스택형이라 키움 */

    .contact-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 16px;
    }

    .contact-title {
      font-size: 19px;
      font-weight: 900;
      color: #1a1a2e;
      margin-bottom: 5px;
    }

    .contact-sub {
      font-size: 12px;
      color: #777;
      line-height: 1.55;
    }

    .contact-options {
      display: grid;
      gap: 8px;
    }

    .contact-option {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      width: 100%;
      border: 1.5px solid #eeeeea;
      border-radius: 12px;
      padding: 12px;
      background: #fff;
      color: #1a1a2e;
      text-decoration: none;
      font-size: 13px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
    }

    .contact-option:hover {
      border-color: #e85d4a;
      background: #fff8f6;
    }

    .contact-option span {
      font-size: 12px;
      color: #999;
      font-weight: 800;
    }

    .contact-note {
      margin-top: 12px;
      padding: 10px 12px;
      border-radius: 10px;
      background: #f8f6f0;
      color: #777;
      font-size: 12px;
      line-height: 1.5;
    }

    .write-modal-box {
      background: #fff;
      border-radius: 16px;
      padding: 22px;
      width: min(420px, calc(100vw - 32px));
      max-height: calc(100dvh - 40px);
      overflow-y: auto;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    /* v942: 경량 한 줄 후기 모달 */
    #qrvModal { align-items: center; }
    .qrv-box { background:#fff; border-radius:16px; padding:20px; width:min(420px, calc(100vw - 32px)); max-height:calc(100dvh - 40px); overflow-y:auto; box-shadow:0 20px 60px rgba(0,0,0,.2); }
    .qrv-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; margin-bottom:12px; }
    .qrv-title { font-size:16px; font-weight:900; color:#1a1a2e; }
    .qrv-sub { font-size:13px; color:#8a8578; margin-top:3px; line-height:1.5; }
    .qrv-textarea { width:100%; box-sizing:border-box; border:1.5px solid #e5e7eb; border-radius:10px; padding:11px 12px; font-size:14px; font-family:inherit; line-height:1.55; resize:vertical; outline:none; }
    .qrv-textarea:focus { border-color:#e85d4a; }
    .qrv-submit { width:100%; margin-top:10px; background:#e85d4a; color:#fff; border:none; border-radius:10px; padding:12px; font-size:16px; font-weight:800; font-family:inherit; cursor:pointer; }
    .qrv-submit:hover { background:#d64a34; }
    .qrv-alt { margin-top:12px; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
    .qrv-alt-dot { color:#ccc; }
    .qrv-link { background:none; border:none; color:#8a8578; font-size:12px; font-family:inherit; cursor:pointer; text-decoration:underline; padding:2px; }
    .qrv-link:hover { color:#e85d4a; }
    .qrv-thanks { font-size:14px; font-weight:800; color:#35629e; background:#f4f8fe; border:1px solid #d3e2f2; border-radius:11px; padding:11px 13px; line-height:1.5; }
    .qrv-more-ask { font-size:13px; color:#5a5648; margin:16px 0 8px; }
    .qrv-cross { margin-top:0; }
    .qrv-cross-btn { width:100%; text-align:left; background:#faf8f3; border:1px solid #ece6da; border-radius:11px; padding:12px 14px; font-size:14px; font-weight:700; color:#35629e; font-family:inherit; cursor:pointer; display:flex; align-items:center; gap:8px; }
    .qrv-cross-btn:hover { background:#f4f1e9; }
    .qrv-cross-sub { display:block; font-size:12px; font-weight:600; color:#9a938a; margin-top:2px; }
    .qrv-done { width:100%; margin-top:14px; background:none; border:none; color:#8a8578; font-size:13px; font-weight:700; font-family:inherit; cursor:pointer; padding:8px; }
    .qrv-done:hover { color:#1a1a2e; }

    .write-modal-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      margin-bottom: 14px;
    }

    .write-modal-title {
      font-size: 16px;
      font-weight: 800;
      color: #1a1a2e;
      margin-bottom: 4px;
    }

    .write-modal-sub {
      font-size: 12px;
      color: #777;
      line-height: 1.5;
    }

    .write-question {
      padding: 12px;
      background: #f8f6f0;
      border-radius: 10px;
      margin-bottom: 12px;
    }

    .write-question-title {
      font-size: 13px;
      font-weight: 800;
      color: #1a1a2e;
      margin-bottom: 10px;
    }

    .write-mode-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .write-mode-btn {
      border: 1.5px solid #e0e0da;
      background: #fff;
      color: #555;
      border-radius: 10px;
      padding: 10px 8px;
      font-size: 12px;
      font-weight: 800;
      font-family: inherit;
      cursor: pointer;
    }

    .write-mode-btn.active {
      background: #1a1a2e;
      color: #fff;
      border-color: #1a1a2e;
    }

    .write-form-panel {
      display: none;
    }

    .write-form-panel.active {
      display: block;
    }

    .write-form-label {
      display: block;
      font-size: 12px;
      font-weight: 800;
      color: #666;
      margin: 10px 0 6px;
    }

    .residence-options {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 7px;
      margin-bottom: 10px;
    }

    .residence-option {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      min-height: 34px;
      border: 1.5px solid #e0e0da;
      border-radius: 9px;
      background: #fff;
      font-size: 12px;
      font-weight: 700;
      color: #555;
      cursor: pointer;
      text-align: center;
    }

    .residence-option input {
      accent-color: #e85d4a;
    }

    .rating-options {
      display: flex;
      flex-direction: row-reverse;
      justify-content: flex-end;
      gap: 4px;
      margin: 2px 0 10px;
    }

    .rating-options input {
      display: none;
    }

    .rating-options label {
      font-size: 26px;
      line-height: 1;
      color: #d8d8d0;
      cursor: pointer;
      transition: color .12s ease, transform .12s ease;
    }

    .rating-options label:hover,
    .rating-options label:hover ~ label,
    .rating-options input:checked ~ label {
      color: #f6b73c;
    }

    .rating-options label:hover {
      transform: translateY(-1px);
    }

    .score-summary {
      margin-top: 10px;
      padding: 8px 10px;
      border-radius: 10px;
      background: #fff;
      border: 1px solid #eeeeea;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .score-summary .score-label {
      font-size: 12px;
      color: #888;
      font-weight: 700;
    }

    .score-summary .score-value {
      font-size: 13px;
      color: #1a1a2e;
      font-weight: 900;
    }

    .comment-type {
      display: inline-flex;
      align-items: center;
      border-radius: 12px;
      padding: 2px 7px;
      font-size: 11px;
      font-weight: 800;
      background: #f0f0ea;
      color: #666;
      margin-right: 5px;
    }

    .comment-type.pros {
      background: #e8f5e9;
      color: #2e7d32;
    }

    .comment-type.cons {
      background: #fff3e0;
      color: #e65100;
    }

    .comment-rating {
      color: #f6b73c;
      font-size: 12px;
      font-weight: 800;
      margin-left: 6px;
      white-space: nowrap;
    }
    /* v385: 거주기간 배지(신뢰 신호) — 후기 작성자가 얼마나 살았는지 */
    .lived-badge {
      display: inline-flex;
      align-items: center;
      margin-left: 6px;
      padding: 2px 7px;
      border-radius: 10px;
      background: #eef4ff;
      color: #3b6fb0;
      font-size: 11px;
      font-weight: 800;
      white-space: nowrap;
    }
    /* v460: 커뮤니티 글 작성자 거주 지역(도/현) 꼬리표 */
    .author-region {
      display: inline-flex;
      align-items: center;
      padding: 2px 7px;
      border-radius: 10px;
      background: #f0f4ef;
      color: #5a7a55;
      font-size: 11px;
      font-weight: 800;
      white-space: nowrap;
    }
    .square-meta-left .author-region { margin-left: 4px; }

    .unified-review-lines {
      display: grid;
      gap: 8px;
      margin: 8px 0 10px;
    }

    .unified-review-line {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 8px;
      align-items: start;
      font-size: 13px;
      line-height: 1.55;
      color: #333;
    }

    .unified-review-label {
      display: inline-flex;
      align-items: center;
      border-radius: 12px;
      padding: 3px 8px;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .unified-review-label.pros {
      background: #eef8ee;
      color: #2d8a42;
    }

    .unified-review-label.cons {
      background: #fff0ed;
      color: #e85d4a;
    }

    .write-textarea {
      width: 100%;
      min-height: 108px;
      resize: vertical;
      border: 1.5px solid #e0e0da;
      border-radius: 10px;
      padding: 10px 12px;
      font-size: 13px;
      line-height: 1.6;
      font-family: inherit;
      outline: none;
    }

    .write-textarea:focus {
      border-color: #e85d4a;
    }

    .write-modal-actions {
      display: flex;
      gap: 8px;
      margin-top: 14px;
    }

    .write-submit,
    .write-cancel,
    .write-open-btn {
      border: none;
      border-radius: 20px;
      padding: 9px 14px;
      font-size: 12px;
      font-weight: 800;
      font-family: inherit;
      cursor: pointer;
    }

    .write-submit,
    .write-open-btn {
      background: #e85d4a;
      color: #fff;
    }

    .write-cancel {
      background: #f5f5f0;
      color: #666;
    }

    .write-open-btn {
      width: 100%;
    }

    .question-group {
      margin-top: 12px;
      border-top: 1px solid #f0f0ea;
      padding-top: 10px;
    }

    .question-group-title {
      font-size: 12px;
      font-weight: 800;
      color: #1a1a2e;
      margin-bottom: 8px;
    }

    .question-card {
      background: #fff8f6;
      border: 1px solid #ffd5cc;
      border-radius: 10px;
      padding: 10px 12px;
      margin-bottom: 8px;
    }

    .reply-section {
      margin-top: 10px;
      padding-top: 8px;
      border-top: 1px solid #eeeeea;
    }

    .reply-card {
      padding: 7px 9px;
      border-radius: 8px;
      background: #fff;
      border: 1px solid #eeeeea;
      margin-bottom: 6px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 7px;
      align-items: start;
    }

    .reply-meta {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 3px;
      white-space: nowrap;
    }

    .reply-del {
      background: none;
      border: none;
      padding: 0;
      color: #c0392b;
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
      cursor: pointer;
    }

    .nearby-reviews-section {
      margin-top: 16px;
      padding-top: 13px;
      border-top: 1px dashed #ddd9d0;
    }
    .nearby-reviews-head {
      font-size: 12px;
      color: #8a8580;
      line-height: 1.55;
      margin-bottom: 10px;
    }
    .nearby-reviews-head b { color: #5b54e0; font-weight: 800; }
    .nearby-area-label {
      font-size: 12px;
      font-weight: 800;
      color: #b8472f;
      margin: 12px 0 6px;
    }

    .reply-text {
      font-size: 12px;
      color: #555;
      line-height: 1.5;
      min-width: 0;
    }

    .reply-author,
    .reply-date {
      color: #999;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.5;
      white-space: nowrap;
    }

    .reply-write {
      display: flex;
      gap: 6px;
      margin-top: 8px;
    }

    .reply-write input {
      flex: 1;
      min-width: 0;
      order: 1;
      border: 1.5px solid #e0e0da;
      border-radius: 16px;
      padding: 7px 10px;
      font-size: 12px;
      font-family: inherit;
      outline: none;
    }

    .reply-write input:focus {
      border-color: #e85d4a;
    }

    .reply-submit {
      order: 2;
      border: none;
      border-radius: 16px;
      padding: 7px 10px;
      background: #1a1a2e;
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      font-family: inherit;
      cursor: pointer;
      white-space: nowrap;
    }

    .load-more-wrap {
      padding: 2px 0 12px;
      position: relative;
      z-index: 2;
    }

    .load-more-btn {
      display: block;
      width: 100%;
      border: 1.5px solid #e0e0da;
      border-radius: 18px;
      padding: 9px 12px;
      background: #fff;
      color: #1a1a2e;
      font-size: 12px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
      pointer-events: auto;
    }

    .load-more-btn:hover {
      border-color: #e85d4a;
      color: #e85d4a;
    }

    .load-more-btn span {
      color: #999;
      font-weight: 800;
      margin-left: 4px;
    }





    .square-compose {
      margin: 14px 16px;
      padding: 12px;
      border: 1px solid #eeeeea;
      border-radius: 10px;
      background: #fff;
      overflow: hidden;
    }

    .square-compose textarea {
      width: 100%;
      box-sizing: border-box;
      border: 1.5px solid #e0e0da;
      border-radius: 10px;
      padding: 8px 10px;
      font-size: 12px;
      font-family: inherit;
      outline: none;
      background: #fff;
      color: #1a1a2e;
    }

    .square-compose textarea {
      min-height: 72px;
      resize: vertical;
      line-height: 1.55;
      margin-bottom: 8px;
    }

    .square-compose textarea:focus {
      border-color: #e85d4a;
    }

    .char-counter {
      margin: -2px 2px 8px;
      text-align: right;
      color: #aaa;
      font-size: 12px;
      font-weight: 800;
      line-height: 1.2;
    }

    .char-counter.near-limit {
      color: #d9822b;
    }

    .char-counter.at-limit {
      color: #e85d4a;
    }

    .reply-write {
      flex-wrap: wrap;
    }

    .reply-write .char-counter {
      order: 3;
      flex: 1 0 100%;
      margin: -2px 70px -5px 0; /* v372: 카운터(0/300) 아래 여백 약간 축소 */
      font-size: 11px;
    }

    .square-edit-textarea + .char-counter,
    .comment-edit-textarea + .char-counter {
      margin-top: 4px;
      margin-bottom: 2px;
    }

    .square-photo-tools {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin: 2px 0 10px;
    }

    /* v378: 내용칸 0/1000 카운터를 오른쪽으로 띄워, 사진첨부 줄과 같은 줄에(한 줄 절약).
       float 우측 → 뒤따르는 flex(.square-photo-tools)가 BFC라 float 왼쪽으로 흐름. */
    #squareBoardPostContent + .char-counter {
      float: right;
      margin: 0 0 0 8px;
    }

    .square-photo-input {
      display: none;
    }

    .square-photo-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 32px;
      border: 1.5px solid #e0e0da;
      border-radius: 16px;
      background: #fff;
      color: #1a1a2e;
      padding: 7px 11px;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
    }

    .square-photo-button:hover {
      border-color: #e85d4a;
      color: #e85d4a;
    }

    .square-photo-note {
      color: #888;
      font-size: 12px;
      line-height: 1.45;
    }

    .square-photo-preview {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      border: 1px solid #eeeeea;
      border-radius: 10px;
      background: #fafaf7;
      padding: 8px;
      margin: 0 0 10px;
    }

    .square-photo-preview[hidden] {
      display: none;
    }

    .square-photo-preview-item {
      position: relative;
      min-width: 0;
    }

    .square-photo-preview-item img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 8px;
      background: #f1f0ea;
    }

    .square-photo-preview-title {
      color: #1a1a2e;
      font-size: 12px;
      font-weight: 900;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .square-photo-preview-sub {
      color: #888;
      font-size: 12px;
      line-height: 1.45;
      grid-column: 1 / -1;
    }

    .square-photo-remove {
      position: absolute;
      top: 5px;
      right: 5px;
      border: 1.5px solid #e0e0da;
      border-radius: 999px;
      background: #fff;
      color: #666;
      width: 24px;
      height: 24px;
      padding: 0;
      font-size: 12px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
    }

    .square-card-photo-grid {
      margin: 8px 0 10px;
      display: grid;
      grid-template-columns: minmax(0, 220px);
    }

    .square-card-photo-thumb {
      position: relative;
      border: none;
      background: transparent;
      padding: 0;
      cursor: pointer;
      text-align: left;
      font-family: inherit;
    }

    .square-card-photo {
      width: 100%;
      max-height: 260px;
      object-fit: cover;
      border: 1px solid #eeeeea;
      border-radius: 10px;
      background: #f6f5ef;
    }

    .square-photo-more-badge {
      position: absolute;
      right: 8px;
      bottom: 8px;
      border-radius: 999px;
      background: rgba(26, 26, 46, 0.9);
      color: #fff;
      padding: 5px 8px;
      font-size: 12px;
      font-weight: 900;
    }

    .photo-viewer-box {
      width: min(720px, calc(100vw - 32px));
      max-height: min(760px, calc(100vh - 32px));
      overflow: hidden;
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 24px 80px rgba(0,0,0,.24);
      display: flex;
      flex-direction: column;
    }

    .photo-viewer-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 18px;
      border-bottom: 1px solid #eeeeea;
    }

    .photo-viewer-title {
      color: #1a1a2e;
      font-size: 16px;
      font-weight: 950;
    }

    .photo-viewer-body {
      padding: 14px 18px 18px;
      overflow-y: auto;
    }

    .photo-viewer-stage {
      position: relative;
      display: grid;
      place-items: center;
      min-height: 260px;
      border-radius: 12px;
      background: #f6f5ef;
      overflow: hidden;
      touch-action: pan-y;
    }

    .photo-viewer-main {
      width: 100%;
      max-height: 520px;
      object-fit: contain;
      border-radius: 12px;
      background: #f6f5ef;
      border: 1px solid #eeeeea;
    }

    .photo-viewer-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      border: 1px solid rgba(255,255,255,.72);
      border-radius: 999px;
      background: rgba(26,26,46,.74);
      color: #fff;
      font-size: 24px;
      font-weight: 900;
      line-height: 1;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 24px rgba(0,0,0,.18);
    }

    .photo-viewer-nav:hover {
      background: rgba(26,26,46,.9);
    }

    .photo-viewer-prev {
      left: 12px;
    }

    .photo-viewer-next {
      right: 12px;
    }

    .photo-viewer-index {
      position: absolute;
      left: 50%;
      bottom: 12px;
      transform: translateX(-50%);
      border-radius: 999px;
      background: rgba(26,26,46,.82);
      color: #fff;
      padding: 5px 9px;
      font-size: 12px;
      font-weight: 900;
    }

    .photo-viewer-thumbs {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      margin-top: 10px;
    }

    .photo-viewer-thumb {
      border: 2px solid transparent;
      border-radius: 10px;
      background: transparent;
      padding: 0;
      cursor: pointer;
      overflow: hidden;
    }

    .photo-viewer-thumb.active {
      border-color: #e85d4a;
    }

    .photo-viewer-thumb img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      display: block;
    }

    @media (max-width: 640px) {
      .photo-viewer-box {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 14px;
      }

      .photo-viewer-body {
        padding: 10px 12px 14px;
      }

      .photo-viewer-nav {
        width: 34px;
        height: 34px;
        font-size: 20px;
      }

      .photo-viewer-prev {
        left: 8px;
      }

      .photo-viewer-next {
        right: 8px;
      }
    }

    .square-submit {
      width: 100%;
      box-sizing: border-box;
      border: none;
      border-radius: 18px;
      padding: 9px 12px;
      background: #e85d4a;
      color: #fff;
      font-size: 12px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
    }

    .square-filter-tabs {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 7px;
      padding: 0 16px 10px;
    }

    .square-filter-btn {
      border: 1.5px solid #e0e0da;
      border-radius: 16px;
      background: #fff;
      color: #555;
      padding: 6px 11px;
      font-size: 12px;
      font-weight: 800;
      font-family: inherit;
      cursor: pointer;
    }

    .square-filter-btn.active {
      background: #1a1a2e;
      border-color: #1a1a2e;
      color: #fff;
    }

    .square-feed {
      padding: 0 16px 4px; /* v376: 더보기 버튼 위 여백 절반 축소(16→4) */
    }

    .square-card {
      border: 1px solid #eeeeea;
      border-radius: 10px;
      background: #fff;
      padding: 11px 12px;
      margin-bottom: 10px;
    }

    .square-card.question {
      border-color: #ffd5cc;
      background: #fff8f6;
    }

    .square-card.review {
      border-color: #e6eddc;
      background: #fbfff8;
    }

    .square-card.partner {
      border-color: #dfe7f2;
      background: #fbfdff;
    }

    .square-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-size: 11px;
      color: #999;
      font-weight: 800;
      margin-bottom: 6px;
    }

    .square-meta-right {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .square-owner-actions {
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .square-owner-action {
      border: 1px solid #e0e0da;
      border-radius: 12px;
      background: #fff;
      color: #666;
      padding: 3px 7px;
      font-size: 11px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
    }

    .square-owner-action:hover {
      border-color: #e85d4a;
      color: #e85d4a;
    }

    .square-owner-action.danger {
      color: #e85d4a;
    }

    .square-edit-textarea {
      width: 100%;
      min-height: 84px;
      resize: vertical;
      border: 1.5px solid #e0e0da;
      border-radius: 10px;
      padding: 10px 12px;
      font-size: 13px;
      line-height: 1.6;
      font-family: inherit;
      outline: none;
      color: #333;
      background: #fff;
    }

    .square-edit-textarea:focus {
      border-color: #e85d4a;
    }

    .square-edit-actions {
      display: flex;
      gap: 6px;
      justify-content: flex-end;
      margin-top: 8px;
    }

    .square-kind {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      border-radius: 12px;
      padding: 4px 8px;
      background: #eef8ee;
      color: #2d8a42;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .square-card.question .square-kind {
      background: #fff0ed;
      color: #e85d4a;
    }

    .square-card.review .square-kind {
      background: #eef8ee;
      color: #2d8a42;
    }

    .square-card.partner .square-kind {
      background: #eef4ff;
      color: #315fa8;
    }

    .square-partner-title {
      color: #1a1a2e;
      font-size: 16px;
      font-weight: 900;
      line-height: 1.45;
      margin-top: 8px;
    }

    .square-partner-body {
      color: #444;
      font-size: 13px;
      font-weight: 650;
      line-height: 1.7;
      margin-top: 10px;
      white-space: pre-wrap;
    }

    .square-partner-hint {
      color: #999;
      font-size: 12px;
      font-weight: 800;
      margin-top: 7px;
    }

    .square-target-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 6px;
    }

    .square-target {
      font-size: 12px;
      color: #666;
      font-weight: 800;
      min-width: 0;
    }

    .square-text {
      font-size: 13px;
      line-height: 1.6;
      color: #333;
      margin-bottom: 8px;
      word-break: break-all; /* v384: iOS서 keep-all/break-word로도 긴 한글이 안 깨져 가로로 터짐 → break-all(어디서든 분리)로 확실히 */
      overflow-wrap: anywhere;
    }
    /* v145: 공백 없는 긴 텍스트가 카드 밖으로 튀어나오지 않도록 강제 줄바꿈 */
    .square-target,
    .square-partner-title,
    .square-partner-body,
    .square-detail-post-title,
    .square-review-line-text {
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .square-review-lines {
      display: grid;
      gap: 7px;
      margin-bottom: 8px;
    }

    .square-review-line {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 8px;
      align-items: start;
      font-size: 12px;
      line-height: 1.55;
      color: #333;
    }
    /* v382: 띄어쓰기 없는 긴 문자열이 줄바꿈 안 돼 가로로 터지던 것(페이지가 옆으로 밀림) 수정.
       후기 content span·댓글·대댓글·통합후기 content에 줄바꿈 강제. */
    .square-review-line > span:not(.square-review-label),
    .unified-review-content,
    .comment-text,
    .reply-text {
      overflow-wrap: anywhere;
      word-break: break-all; /* v384: iOS 확실히 분리 */
      min-width: 0;
    }

    .square-review-label {
      display: inline-flex;
      align-items: center;
      border-radius: 12px;
      padding: 3px 7px;
      font-size: 11px;
      font-weight: 900;
      white-space: nowrap;
    }

    .square-review-label.pros {
      background: #eef8ee;
      color: #2d8a42;
    }

    .square-review-label.cons {
      background: #fff0ed;
      color: #e85d4a;
    }

    .square-review-rating {
      color: #f3a51b;
      font-size: 12px;
      font-weight: 900;
      margin-left: 6px;
    }

    .square-link {
      border: 1px solid #e0e0da;
      border-radius: 14px;
      padding: 5px 9px;
      background: #fff;
      color: #1a1a2e;
      font-size: 12px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
      flex-shrink: 0;
    }

    .square-target-actions {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    /* v371: 배지+타겟이름을 메타 한 줄에(왼쪽 그룹) */
    .square-meta-left {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      flex: 1;
    }
    .square-meta-left .square-target {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    /* v371: 투표(왼) + 타겟 액션버튼(오른) 한 줄 */
    .square-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 4px;
    }
    .square-foot .square-target-actions {
      margin-left: auto;
    }
    .square-foot .square-vote-actions {
      margin: 0;
    }

    .square-link.secondary {
      color: #1a1a2e;
      background: #fafaf7;
    }

    .square-preview-foot {
      padding: 12px 16px 8px; /* v584: 더보기 버튼 위 여백 추가(정렬칩 아래 여백 이상). 아래 8px 유지 */
      display: grid;
      gap: 8px;
    }



    [hidden] {
      display: none !important;
    }

    .board-page {
      min-height: 100vh;
      padding: 82px 20px 40px;
      background: #f8f6f0;
    }

    .board-shell {
      max-width: 1180px;
      margin: 0 auto;
    }

    .board-head {
      margin-bottom: 16px;
    }

    .board-title {
      font-size: 28px;
      font-weight: 950;
      color: #1a1a2e;
      margin-bottom: 7px;
    }

    .board-sub {
      font-size: 13px;
      line-height: 1.6;
      color: #666;
    }
    /* v374: 부제 줄바꿈은 모바일에서만('쌓이는,' 뒤), PC는 한 줄 유지 */
    .board-sub-mbr { display: none; }

    .community-layout {
      display: grid;
      grid-template-columns: 190px minmax(0, 1fr);
      gap: 16px;
      align-items: start;
    }

    .community-side,
    .community-main {
      background: #fff;
      border: 1px solid #eeeeea;
      border-radius: 12px;
      min-width: 0; /* v459: 그리드 아이템이 board-list 긴 콘텐츠 min-content로 늘어나 가로넘침 → 그리드 트랙폭으로 제한 */
    }

    .community-side {
      padding: 12px;
      position: sticky;
      top: 76px;
    }

    .community-side-title {
      font-size: 12px;
      font-weight: 900;
      color: #999;
      padding: 4px 6px 8px;
    }

    .community-side-divider {
      border: none;
      border-top: 1px solid #eeeee8;
      margin: 6px 4px;
    }

    .community-category {
      width: 100%;
      border: none;
      background: transparent;
      border-radius: 9px;
      padding: 9px 10px;
      color: #333;
      font-size: 13px;
      font-weight: 800;
      text-align: left;
      cursor: pointer;
      font-family: inherit;
    }

    .community-category:hover,
    .community-category.active {
      background: #f8f6f0;
      color: #e85d4a;
    }

    .community-category.soon {
      color: #aaa;
      cursor: default;
    }

    .community-main {
      padding: 14px;
    }

    .community-main.partner-mode .square-compose {
      display: none;
    }

    .community-main .square-compose {
      margin-top: 0;
    }

    .community-partner-notice {
      border: 1px solid #e8e8e2;
      border-radius: 10px;
      background: #fff;
      padding: 18px;
      margin-bottom: 14px;
    }

    .community-partner-notice[hidden] {
      display: none;
    }

    .community-partner-title {
      color: #1a1a2e;
      font-size: 19px;
      font-weight: 900;
      margin-bottom: 8px;
    }

    .community-partner-sub {
      color: #666;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.6;
      margin-bottom: 12px;
    }

    .community-partner-btn {
      border: 1px solid #e0e0da;
      border-radius: 20px;
      background: #fff;
      color: #1a1a2e;
      padding: 8px 14px;
      font-size: 12px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
    }

    .community-partner-btn:hover {
      border-color: #e85d4a;
      color: #e85d4a;
    }

    .community-pinned {
      display: grid;
      gap: 8px;
      margin: 12px 0 8px;
    }

    /* v96: 핀드 카드 — 배지+제목 인라인, 컴팩트 */
    .community-pinned-card {
      border: 1px solid #eee7dd;
      border-radius: 10px;
      background: #fffaf2;
      padding: 9px 13px;
    }

    .community-official-card {
      border-color: #e8e8e2;
      background: #fffdf7;
    }

    /* v96: 배지를 제목 왼쪽에 인라인 */
    .community-pin-head {
      display: flex;
      align-items: baseline;
      gap: 7px;
      margin-bottom: 3px;
    }

    .community-pinned-label {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      background: #1a1a2e;
      color: #fff;
      padding: 2px 7px;
      font-size: 11px;
      font-weight: 900;
      flex-shrink: 0;
    }

    .community-official-card .community-pinned-label {
      background: #f0eee8;
      color: #555;
    }

    .community-pinned-title {
      color: #1a1a2e;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.4;
    }

    .community-pinned-text {
      color: #777;
      font-size: 12px;
      line-height: 1.5;
      margin-top: 2px;
    }

    .community-hot-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-top: 7px;
      color: #aaa;
      font-size: 12px;
      font-weight: 700;
    }

    .community-compose-tools {
      display: flex;
      gap: 8px;
      align-items: center;
      margin: 10px 0 0;
    }

    .community-post-type-select {
      min-width: 170px;
      height: 38px;
      border: 1.5px solid #e0e0da;
      border-radius: 19px;
      background: #fafaf7;
      color: #1a1a2e;
      padding: 0 12px;
      font-size: 12px;
      font-weight: 900;
      font-family: inherit;
      outline: none;
    }

    .community-compose-tools .square-submit {
      flex: 1;
      margin-top: 0;
    }

    .community-search {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      gap: 8px;
      align-items: center;
      margin: 12px 0 16px; /* v584: 검색/초기화 행 아래 여백 ↑ — 정렬칩과 시각적 구분 */
    }
    .community-search[hidden] { display: none; } /* v419: display:grid가 hidden 속성을 덮으므로 명시 */

    .community-search input {
      width: 100%;
      height: 42px;
      border: 1.5px solid #e0e0da;
      border-radius: 21px;
      background: #fafaf7;
      padding: 0 15px;
      color: #333;
      font-size: 13px;
      font-family: inherit;
      outline: none;
    }

    .community-search input:focus {
      border-color: #e85d4a;
      background: #fff;
    }

    .community-search button {
      height: 42px;
      border-radius: 21px;
      padding: 0 14px;
      font-size: 12px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
      white-space: nowrap;
    }

    .community-search-submit {
      border: 1.5px solid #1a1a2e;
      background: #1a1a2e;
      color: #fff;
    }

    .community-search-clear {
      border: 1.5px solid #e0e0da;
      background: #fff;
      color: #666;
    }

    .board-page .square-compose,
    .board-page .square-filter-tabs,
    .board-page .square-feed,
    .board-page .square-preview-foot {
      padding-left: 0;
      padding-right: 0;
      margin-left: 0;
      margin-right: 0;
    }

    .board-page .square-compose {
      padding: 14px;
      box-sizing: border-box;
    }

    .board-page .square-card {
      border-radius: 12px;
      padding: 14px 16px;
    }

    .board-page .square-card-photo-grid {
      grid-template-columns: minmax(0, 280px);
    }

    .board-count {
      color: #999;
      font-size: 12px;
      font-weight: 800;
      margin-right: 8px;
    }

    /* v95: 커뮤니티 정렬 토글 */
    .board-sort-tabs {
      display: flex;
      gap: 4px;
      margin-left: auto;
    }

    .board-sort-btn {
      padding: 4px 10px;
      border-radius: 14px;
      border: 1.5px solid #e0e0da;
      background: #fff;
      color: #888;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
    }

    .board-sort-btn.active {
      background: #1a1a2e;
      color: #fff;
      border-color: #1a1a2e;
    }

    .board-load-more {
      justify-self: center; /* v375: 풀폭 박스 → 가운데 작은 알약(가벼운 화살표 더보기) */
      width: auto;
      border: 1px solid #e8e8e2;
      border-radius: 18px;
      background: #fafafa;
      color: #777;
      padding: 7px 22px;
      font-size: 12px;
      font-weight: 800;
      font-family: inherit;
      cursor: pointer;
    }
    .board-load-more:hover { background: #f3f3ef; }

    /* v123: 게시판형 목록 */
    .square-title-input {
      display: none;
      width: 100%;
      box-sizing: border-box;
      border: 1.5px solid #e5e7eb;
      border-radius: 8px;
      padding: 9px 12px;
      font-size: 14px;
      font-family: inherit;
      margin-bottom: 10px;
      outline: none;
    }
    .square-title-input:focus { border-color: #e85d4a; }
    .square-title-input.visible { display: block; }
    .board-list { display: flex; flex-direction: column; border-top: 1px solid #eee; }
    .board-list-row {
      display: flex;
      flex-direction: column;
      gap: 3px;
      padding: 11px 4px;
      border-bottom: 1px solid #f2f2f2;
      cursor: pointer;
    }
    .board-list-row:hover { background: #fafafa; }
    .board-list-row-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .board-list-row-main {
      display: flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
      flex: 1;
    }
    .board-list-row-sub {
      font-size: 12px;
      color: #888;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding-left: 2px;
      min-width: 0; /* v459: flex 자식이 줄어들어 한 줄 말줄임(긴 한글 가로넘침 방지) */
      max-width: 100%;
    }
    .board-list-badge {
      font-size: 11px;
      padding: 2px 6px;
      border-radius: 4px;
      white-space: nowrap;
      background: #f0f0f0;
      color: #666;
      flex-shrink: 0;
    }
    .board-list-badge.market { background: #fff3e0; color: #d84315; }
    .board-list-badge.life   { background: #e8f5e9; color: #2e7d32; }
    .board-list-photo-badge {
      font-size: 11px;
      padding: 2px 5px;
      border-radius: 4px;
      background: #f0f0f0;
      color: #888;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .board-list-title {
      font-size: 13px;
      color: #1a1a2e;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      min-width: 0; /* v459: flex 자식 축소 허용 → 말줄임(긴 한글 가로넘침 방지) */
      flex: 1 1 auto;
    }
    .board-list-row-meta {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
      font-size: 12px;
      color: #aaa;
      white-space: nowrap;
    }
    .square-detail-post-title {
      font-size: 16px;
      font-weight: 800;
      color: #1a1a2e;
      margin-bottom: 6px;
      line-height: 1.4;
    }

    @media (max-width: 1100px) {
      .community-layout {
        grid-template-columns: 160px minmax(0, 1fr);
      }
    }

    @media (max-width: 760px) {
      .board-page {
        padding: 16px 12px calc(84px + env(safe-area-inset-bottom, 0));
      }

      .community-layout {
        grid-template-columns: 1fr;
      }

      .community-side {
        position: static;
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;   /* v584: 가로 스크롤바 숨김(오른쪽 페이드로 '더 있음' 표시) */
        gap: 6px;
        padding: 8px;
      }
      .community-side::-webkit-scrollbar { display: none; }

      .community-side-title {
        display: none;
      }

      .community-category {
        width: auto;
        white-space: nowrap;
        display: flex;            /* v373: 📌 이모지 베이스라인 차이로 정착가이드가 낮아 보이던 것 — 세로 중앙 정규화 */
        align-items: center;
        line-height: 1.2;
      }

      /* v417: 가로 스크롤에서 그룹 경계 세로선(운영자 / 지도출처 / 커뮤니티). 얇은 1px라 간격 영향 최소 */
      .community-side-divider {
        display: block;
        flex: 0 0 auto;
        align-self: center;
        width: 1px;
        height: 20px;
        border: none;
        background: #d8d8d2;
        margin: 0 2px;
        padding: 0;
      }

      /* v370: 오른쪽 끝 페이드 — 옆에 더 있음을 알림(마지막 항목 반쯤 가림). 끝까지 스크롤하면 JS가 클래스 제거 */
      .community-side.has-more-right {
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent 100%);
        mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent 100%);
      }

      .community-compose-tools {
        grid-template-columns: 1fr;
        display: grid;
      }

      .community-post-type-select {
        width: 100%;
      }

      .square-photo-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .photo-viewer-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .community-search {
        grid-template-columns: minmax(0, 1fr) auto;
      }

      .community-search-clear {
        display: none;
      }
    }

    /* 메인 */
    .main {
      display: flex;
      height: 100vh;
      padding-top: 56px;
      position: relative;
    }

    #map {
      flex: 1;
    }

    /* 패널 */
    .left-panels {
      display: flex;
      flex-direction: row;
      z-index: 10;
      position: relative;
    }

    .detail-panel {
      width: 0;
      overflow: hidden;
      background: #fff;
      border-right: 0px solid #e8e8e2;
      transition: width 0.3s ease, border-width 0.3s ease;
      order: 0;
      display: flex;
      flex-direction: column;
    }

    .detail-panel.open {
      width: 400px;
      border-right-width: 1px;
      overflow-y: auto;
    }

    .side-panel {
      width: 0;
      overflow: hidden;
      background: #fff;
      border-right: 0px solid #e8e8e2;
      transition: width 0.3s ease, border-width 0.3s ease;
      order: 1;
      display: flex;
      flex-direction: column;
    }

    .side-panel.open {
      width: 380px;
      border-right-width: 1px;
      overflow-y: auto;
    }

    .side-inner {
      width: 380px;
    }

    /* v318: hidden 속성이 .building-inner{display:flex} 등 클래스 규칙에 덮이지 않게 강제.
       (오른쪽 패널에서 생활권/행정구역 상호배타 토글이 hidden으로 동작) */
    .building-inner[hidden], .side-inner[hidden] { display: none !important; }

    .detail-inner {
      width: 400px;
    }

    .panel-header {
      padding: 14px 16px;
      border-bottom: 1px solid #f0f0ea;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      background: #fff;
      z-index: 10;
    }
    /* v952/v978: 패널 헤더 X가 스크롤바에 붙어 잘리던 것 — 오른쪽 여백 확대.
       v978: 건물상세는 .side-panel(스크롤 컨테이너)인데 v952가 .building-panel만 잡아 안 먹었음 → .side-panel도 포함. */
    .building-panel .panel-header, .side-panel .panel-header { padding-right: 24px; }

    .panel-header h3 {
      font-size: 16px;
      font-weight: 700;
      color: #1a1a2e;
    }

    .icon-btn {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      border: 1.5px solid #e0e0da;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 14px;
      color: #555;
    }

    .icon-btn:hover {
      background: #f5f5f0;
    }

    /* 지역 탭 */
    .area-tabs {
      padding: 12px 16px 0;
      display: none;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .area-tabs::-webkit-scrollbar {
      display: none;
    }

    .area-tag {
      padding: 6px 12px;
      border-radius: 16px;
      font-size: 12px;
      font-weight: 600;
      white-space: nowrap;
      cursor: pointer;
      border: 1.5px solid #e0e0da;
      color: #555;
      background: #fff;
      transition: all 0.15s;
      margin-bottom: 12px;
    }

    .area-tag.active {
      background: #e85d4a;
      color: #fff;
      border-color: #e85d4a;
    }

    .area-section {
      display: none;
    }

    .area-section.active {
      display: block;
    }

    /* 지역 정보 */
    .area-info {
      margin: 12px 16px;
      padding: 14px;
      background: #f8f6f0;
      border-radius: 12px;
      border-left: 3px solid #e85d4a;
    }

    .area-info h3 {
      font-size: 16px;
      font-weight: 700;
      color: #1a1a2e;
      margin-bottom: 4px;
    }

    .area-info p {
      font-size: 12px;
      color: #666;
      line-height: 1.6;
      margin-bottom: 12px;
    }

    /* v389: 생활권 동네 사진 스트립 — 후기에 달린 사진을 좋아요순으로 모아 설명 위에 표시 */
    .area-photo-strip { margin: 12px 16px; }
    .area-photo-track {
      display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px;
      -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .area-photo-track::-webkit-scrollbar { display: none; }
    .area-photo-item {
      flex: 0 0 auto; width: 104px; height: 78px; padding: 0; border: none;
      border-radius: 10px; overflow: hidden; cursor: pointer; background: #efece6;
    }
    .area-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

    .area-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .area-stat {
      background: #fff;
      border-radius: 8px;
      padding: 8px;
      text-align: center;
    }

    .area-stat .label {
      font-size: 11px;
      color: #999;
      margin-bottom: 2px;
    }

    .area-stat .value {
      font-size: 13px;
      font-weight: 700;
      color: #1a1a2e;
    }

    .review-tags {
      padding: 0 16px 8px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .rtag {
      padding: 4px 10px;
      border-radius: 12px;
      font-size: 12px;
      font-weight: 500;
    }

    .rtag.good {
      background: #e8f5e9;
      color: #2e7d32;
    }

    .rtag.warn {
      background: #fff3e0;
      color: #e65100;
    }

    /* 카테고리 필터 */
    .cat-tabs {
      padding: 0 16px 8px;
      display: flex;
      gap: 6px;
      overflow-x: auto;
      scrollbar-width: none;
      border-bottom: 1px solid #f0f0ea;
      margin-bottom: 8px;
    }

    .cat-tabs::-webkit-scrollbar {
      display: none;
    }

    .cat-tab {
      padding: 5px 12px;
      border-radius: 14px;
      font-size: 12px;
      font-weight: 600;
      white-space: nowrap;
      cursor: pointer;
      border: 1.5px solid #e0e0da;
      color: #555;
      background: #fff;
      transition: all 0.15s;
    }

    .cat-tab.active {
      background: #e85d4a;
      color: #fff;
      border-color: #e85d4a;
    }

    /* 댓글 */
    .comments-section {
      margin: 0 16px 16px;
    }

    .comments-title {
      font-size: 13px;
      font-weight: 700;
      color: #1a1a2e;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .review-sort-tabs {
      display: flex;
      align-items: center;
      justify-content: flex-end; /* v364: 정렬 필터 우측 정렬 */
      gap: 6px;
      flex-wrap: wrap;
      margin: 0 0 10px;
    }

    .review-sort-btn {
      padding: 5px 10px;
      border-radius: 14px;
      border: 1.5px solid #e0e0da;
      background: #fff;
      color: #555;
      font-size: 12px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      white-space: nowrap;
    }

    .review-sort-btn.active {
      background: #e85d4a; /* v364: 검정→브랜드 코랄 */
      border-color: #e85d4a;
      color: #fff;
    }

    .review-count-inline {
      font-size: 12px;
      color: #888;
      font-weight: 700;
      margin-left: auto;
    }

    .comment-write {
      display: flex;
      gap: 8px;
      margin-bottom: 12px;
    }

    .comment-write input {
      flex: 1;
      border: 1.5px solid #e0e0da;
      border-radius: 20px;
      padding: 8px 14px;
      font-size: 12px;
      outline: none;
      font-family: inherit;
      min-width: 0;
    }

    .comment-write input:focus {
      border-color: #e85d4a;
    }

    .comment-submit {
      padding: 8px 14px;
      background: #e85d4a;
      color: #fff;
      border: none;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
    }

    .comment-card {
      background: #f8f8f5;
      border-radius: 10px;
      padding: 10px 12px;
      margin-bottom: 8px;
      border: 1px solid #eeeeea;
    }

    .comment-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 5px;
      gap: 8px;
    }

    .comment-author {
      font-size: 12px;
      font-weight: 700;
      color: #1a1a2e;
    }

    .comment-meta-right {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      flex-wrap: wrap;
      justify-content: flex-end;
      margin-left: auto;
    }

    .comment-date {
      font-size: 11px;
      color: #aaa;
      white-space: nowrap;
    }

    .comment-text {
      font-size: 12px;
      color: #444;
      line-height: 1.6;
      margin-bottom: 8px;
    }

    .comment-actions {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .comment-insight {
      margin-left: auto;
      color: #999;
      font-size: 11px;
      font-weight: 900;
      white-space: nowrap;
    }

    .comment-owner-actions {
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .comment-owner-action {
      border: 1px solid #e0e0da;
      border-radius: 12px;
      background: #fff;
      color: #666;
      padding: 3px 7px;
      font-size: 11px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
    }

    .comment-owner-action:hover {
      border-color: #e85d4a;
      color: #e85d4a;
    }

    .comment-owner-action.danger {
      color: #e85d4a;
    }

    .comment-edit-textarea {
      width: 100%;
      min-height: 76px;
      resize: vertical;
      border: 1.5px solid #e0e0da;
      border-radius: 10px;
      padding: 9px 11px;
      font-size: 12px;
      line-height: 1.6;
      font-family: inherit;
      outline: none;
      color: #333;
      background: #fff;
    }

    .comment-edit-textarea:focus {
      border-color: #e85d4a;
    }

    .comment-edit-actions {
      display: flex;
      justify-content: flex-end;
      gap: 6px;
      margin-top: 8px;
    }

    .vote-btn {
      display: flex;
      align-items: center;
      gap: 3px;
      padding: 3px 8px;
      border-radius: 12px;
      border: 1px solid #e0e0da;
      background: #fff;
      font-size: 12px;
      cursor: pointer;
      color: #555;
    }

    .vote-btn:hover {
      border-color: #e85d4a;
      color: #e85d4a;
    }

    .vote-btn:disabled,
    .reply-submit:disabled {
      opacity: 0.55;
      cursor: wait;
    }

    .login-prompt {
      text-align: center;
      padding: 16px;
      background: #f8f6f0;
      border-radius: 10px;
      margin-top: 8px;
    }

    .login-prompt-title {
      font-size: 13px;
      font-weight: 700;
      color: #1a1a2e;
      margin-bottom: 6px;
    }

    .login-prompt-sub {
      font-size: 12px;
      color: #666;
      margin-bottom: 10px;
    }

    .login-prompt-btn {
      padding: 8px 20px;
      background: #e85d4a;
      color: #fff;
      border: none;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
    }

    /* 상세 패널 */
    .detail-imgs {
      height: 200px;
      background: #e8e8e0;
      flex-shrink: 0;
    }

    .detail-imgs img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .building-photo-empty {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 8px;
      background: linear-gradient(135deg, #f8f6f0 0%, #efeee8 100%);
      color: #777;
      text-align: center;
      font-size: 12px;
      font-weight: 700;
    }

    .building-photo-empty .photo-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      color: #e85d4a;
      font-size: 20px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .detail-body {
      padding: 8px 16px 16px; /* v1223: 좌우 비대칭(왼 16·오른 24) 제거 — 우측 패널(20px)과 세로선을 맞춘다.
         v951이 '스크롤바에 박스가 붙지 않게' 오른쪽만 넓혔는데, 그 결과 양쪽 여백이 눈에 띄게 달랐다(사용자 지적). */
    }

    .detail-price {
      font-size: 22px;
      font-weight: 800;
      color: #e85d4a;
      margin-bottom: 3px;
    }

    .detail-title {
      font-size: 19px;
      font-weight: 800;
      color: #1a1a2e;
      margin-bottom: 2px;
    }
    .detail-title-ko {
      font-size: 13px;
      font-weight: 600;
      color: #6b6b80;
      margin-bottom: 4px;
    }

    /* v1227: 주소 = 읽는 줄 + 복사 버튼. 인라인 style(색·크기)로 덮여 있던 것도 여기로 모았다. */
    .detail-addr {
      display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
      font-size: 12px;
      color: #8a8a96;
      margin-bottom: 14px;
      line-height: 1.55;
    }
    /* v1230: '주소' 라벨 — 원문이 한국어·일본어·영문으로 섞여 있어 무슨 줄인지 안 보였다. */
    .addr-label {
      flex-shrink: 0; font-size: 11px; font-weight: 800; color: #a8a8b4;
      background: #f4f4f7; border-radius: 5px; padding: 2px 6px;
    }
    .addr-val { flex: 1 1 auto; min-width: 0; }

    .addr-copy {
      flex-shrink: 0; border: 1px solid #dcdce4; background: #fff; border-radius: 7px;
      padding: 2px 8px; font-size: 11px; font-weight: 800; color: #6b7280;
      font-family: inherit; cursor: pointer;
    }
    .addr-copy:hover { border-color: #35629e; color: #35629e; }
    /* v307: 건물 패널 → 생활권/동네 패널 바로가기 버튼 */
    .bld-context-row { display: flex; gap: 8px; margin: 4px 0 12px; flex-wrap: wrap; }
    .bld-context-btn {
      flex: 1; min-width: 120px; padding: 9px 12px; border: 1px solid #e0ddf0; border-radius: 10px;
      background: #f6f5fc; color: #4a3fa0; font-size: 13px; font-weight: 700; font-family: inherit;
      cursor: pointer; white-space: nowrap;
    }
    .bld-context-btn:hover { background: #ece9f8; }

    .building-topline {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 9px;
    }

    .building-type-badge {
      display: inline-flex;
      align-items: center;
      height: 24px;
      padding: 0 9px;
      border-radius: 12px;
      background: #fff1ee;
      color: #e85d4a;
      font-size: 12px;
      font-weight: 800;
    }

    .building-source-badge {
      display: inline-flex;
      align-items: center;
      height: 24px;
      padding: 0 9px;
      border-radius: 12px;
      background: #f5f5f0;
      color: #777;
      font-size: 12px;
      font-weight: 700;
    }

    .building-one-liner {
      margin: 12px 0;
      padding: 11px 12px;
      border-radius: 10px;
      background: #fff8f6;
      border: 1px solid #ffd5cc;
      color: #444;
      font-size: 12px;
      line-height: 1.6;
      font-weight: 600;
    }

    /* ── v114: 건물 패널 개편 ── */
    .foreigner-status-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 4px 0 8px;
      flex-wrap: wrap;
    }
    .foreigner-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 5px 10px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 800;
    }
    .foreigner-badge.ok { background: #e8f7ee; color: #1e7e38; }
    .foreigner-badge.conditional { background: #fff3cd; color: #856404; }
    .foreigner-badge.unknown { background: #f5f5f0; color: #888; }
    .foreigner-badge-note {
      font-size: 12px;
      color: #888;
      font-weight: 500;
    }
    .building-section-title {
      font-size: 12px;
      font-weight: 700;
      color: #999;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin: 16px 0 7px;
    }
    .life-check-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 4px;
    }
    .life-check-tag {
      padding: 5px 10px;
      border-radius: 14px;
      background: #f0f4ff;
      color: #3a4a8a;
      font-size: 12px;
      font-weight: 700;
    }
    .life-check-empty {
      font-size: 12px;
      color: #bbb;
      padding: 4px 0;
    }
    .caution-tag {
      padding: 5px 10px;
      border-radius: 14px;
      background: #fff0f0;
      color: #c0392b;
      font-size: 12px;
      font-weight: 700;
    }
    .external-links-section { margin: 0 16px 10px; }
    .external-links-btns { display: flex; }
    .external-link-btn {
      flex: 1;
      display: block;
      text-align: center;
      padding: 8px 12px;
      border-radius: 8px;
      background: #f5f5f0;
      border: none;
      color: #555;
      font-size: 12px;
      font-weight: 700;
      text-decoration: none;
      font-family: inherit;
    }
    .external-link-btn:hover { background: #eaeae4; }
    .official-card > .external-link-btn { margin-top: 8px; } /* v337: 문의 버튼 아래 업체 페이지 링크 간격 */
    /* v975: 방 없는 '라이트 셰어' — 방·공실 확인을 업체 페이지로 유도하는 CTA */
    .official-shop-cta { display: block; text-align: center; margin-top: 10px; padding: 11px; border-radius: 11px; background: #eef2f8; border: 1px solid #dae5f2; color: #2b5089; font-weight: 800; font-size: 14px; text-decoration: none; }
    .official-shop-cta:active { background: #e3ece6; }

    /* v337: 인앱 문의 폼 모달 */
    .inq-box { background:#fff; border-radius:18px; width:min(440px,92vw); max-height:88vh; overflow-y:auto; padding:20px; box-shadow:0 20px 60px rgba(0,0,0,.25); }
    .inq-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:14px; }
    .inq-title { font-size:19px; font-weight:900; color:#1a1a2e; }
    .inq-sub { font-size:12px; color:#888; margin-top:3px; }
    .inq-label { display:block; font-size:12px; font-weight:800; color:#1a1a2e; margin:12px 0 5px; }
    .inq-req { color:#e85d4a; }
    .inq-hint { font-weight:500; color:#aaa; font-size:12px; }
    .inq-input, .inq-textarea { width:100%; box-sizing:border-box; border:1px solid #ddd; border-radius:10px; padding:10px 12px; font-size:14px; font-family:inherit; color:#1a1a2e; }
    .inq-textarea { resize:vertical; }
    .inq-check { display:flex; align-items:center; gap:7px; font-size:12px; color:#555; margin-top:12px; cursor:pointer; }
    .inq-consent { font-size:12px; color:#999; line-height:1.5; margin:10px 0 0; }
    /* v632: 부동산 선택 팝업 + 입력폼 상단 부동산 카드 */
    .agc-box { background:#fff; border-radius:18px; width:min(440px,92vw); max-height:88vh; overflow-y:auto; padding:20px; box-shadow:0 20px 60px rgba(0,0,0,.25); }
    .inq-agency-card { background:#fff7f5; border:1px solid #f0c8c0; border-radius:11px; padding:10px 12px; margin-bottom:6px; }
    .inq-agency-card .iac-nm { font-size:14px; font-weight:800; color:#c4452f; }
    .inq-agency-card .iac-intro { font-size:12px; color:#666; line-height:1.5; margin-top:3px; white-space:pre-line; }
    .myorg-add-soft { background:#f4f1ea; color:#6a655c; }
    .inq-actions { display:flex; gap:8px; margin-top:18px; }
    .inq-submit { flex:1; background:#e85d4a; color:#fff; border:none; border-radius:12px; padding:13px; font-size:14px; font-weight:800; font-family:inherit; cursor:pointer; }
    .inq-submit:disabled { background:#ccc; cursor:default; }
    .inq-cancel { flex:0 0 auto; background:#f3f3ef; color:#666; border:none; border-radius:12px; padding:13px 18px; font-size:14px; font-weight:700; font-family:inherit; cursor:pointer; }

    /* v341: 정착가이드 카테고리 + 운영자 리치텍스트 에디터 */
    .guide-category { color:#b8472f; font-weight:800; }
    .guide-category.active { background:#e85d4a; color:#fff; }
    .guide-compose { border:1.5px solid #f0d6cf; border-radius:14px; padding:14px; margin-bottom:14px; background:#fffaf8; }
    .guide-compose-label { font-size:12px; font-weight:800; color:#b8472f; margin-bottom:10px; }
    .guide-toolbar { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
    .guide-tool { background:#fff; border:1px solid #ddd; border-radius:7px; padding:5px 10px; font-size:12px; font-weight:700; font-family:inherit; color:#444; cursor:pointer; }
    .guide-tool:hover { background:#f3f3ef; }
    .guide-editor { min-height:180px; border:1px solid #ddd; border-radius:10px; padding:12px 14px; font-size:14px; line-height:1.7; color:#1a1a2e; background:#fff; overflow-y:auto; }
    .guide-editor:focus { outline:2px solid #e85d4a33; }
    .guide-editor:empty::before { content:attr(data-placeholder); color:#bbb; }
    .guide-editor h3, .guide-content h3 { font-size:19px; font-weight:800; margin:14px 0 6px; }
    .guide-editor h4, .guide-content h4 { font-size:16px; font-weight:700; margin:12px 0 5px; }
    .guide-editor ul, .guide-content ul { padding-left:20px; margin:8px 0; list-style:disc; }
    .guide-editor li, .guide-content li { margin:3px 0; }
    .guide-editor hr, .guide-content hr { border:0; border-top:1px solid #e3e3e8; margin:18px 0; height:0; }
    .guide-editor img, .guide-content img { max-width:100%; height:auto; border-radius:10px; margin:10px 0; display:block; }
    .guide-content { line-height:1.75; }
    /* v508: 가이드 상세를 얌생이 팝업 대신 '읽기용 풀 리더'로 */
    .square-detail-box.guide-reader { width:min(760px, calc(100vw - 24px)); max-height:calc(100vh - 28px); }
    .square-detail-box.guide-reader .square-detail-body { background:#fff; padding:22px 26px 32px; }
    .square-detail-box.guide-reader .square-card { border:none; background:transparent; box-shadow:none; padding:0; margin:0; }
    .square-detail-box.guide-reader .square-meta { display:none; }
    .square-detail-box.guide-reader .square-detail-post-title { font-size:22px; line-height:1.35; margin:0 0 16px; }
    .square-detail-box.guide-reader .guide-content { font-size:16px; line-height:1.85; }

    /* v342: 이용약관·개인정보 처리방침 모달 */
    .legal-box { background:#fff; border-radius:16px; width:min(560px,94vw); max-height:88vh; display:flex; flex-direction:column; box-shadow:0 20px 60px rgba(0,0,0,.25); }
    .legal-head { display:flex; justify-content:space-between; align-items:center; padding:18px 20px 12px; border-bottom:1px solid #f0f0ea; }
    .legal-title { font-size:16px; font-weight:900; color:#1a1a2e; }
    .legal-body { padding:18px 20px; overflow-y:auto; font-size:13px; line-height:1.7; color:#333; }
    .legal-body h4 { font-size:14px; font-weight:800; color:#1a1a2e; margin:16px 0 6px; }
    .legal-body h4:first-child { margin-top:0; }
    .legal-body p { margin:6px 0; }
    .legal-body ul { padding-left:18px; margin:6px 0; list-style:disc; }
    .legal-body li { margin:3px 0; }
    .legal-body .legal-note { font-size:12px; color:#999; background:#faf7f2; border-radius:8px; padding:10px 12px; margin-top:14px; }
    .legal-foot { padding:12px 20px 18px; text-align:right; }

    /* v345: 빈 화면(콜드스타트) — 따뜻한 카피 + 행동유도 */
    .empty-feed { padding:26px 18px; text-align:center; }
    .empty-feed-emoji { font-size:30px; line-height:1; margin-bottom:9px; }
    /* v662: OS 이모지 → 모노크롬 라인 아이콘 공용(currentColor라 문맥색 따라감) */
    .ico{display:inline-block;width:1.1em;height:1.1em;vertical-align:-.16em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
    .ico .iac{stroke:var(--ac,#e85d4a);}      /* v667: 살래 코랄 포인트(듀오톤). 기본=코랄 폴백, active 부모가 --ac:#fff 상속 시 흰색 */
    .ico .iaf{fill:var(--ac,#e85d4a);stroke:none;}
    .tf-theme-ico .ico{width:24px;height:24px;vertical-align:middle;}
    .share-icon-btn .ico{width:16px;height:16px;vertical-align:middle;}
    .empty-feed-emoji .ico{width:36px;height:36px;stroke-width:1.5;}
    .chomei-building-icon .ico{width:20px;height:20px;color:#9a988f;}
    /* v916: 동네 패널 '이 동네 담당 부동산·셰어' 카드 */
    .chomei-agencies { margin: 6px 0 2px; }
    .chomei-agency-card { display:flex; align-items:center; gap:9px; text-decoration:none; background:#fff7f5; border:1px solid #f0d8d2; border-radius:11px; padding:9px 11px; margin-bottom:6px; }
    .chomei-agency-card:hover { background:#fdeeea; }
    .chomei-agency-card .cac-ic { flex:none; color:#c4452f; display:flex; }
    .chomei-agency-card .cac-ic .ico { width:20px; height:20px; }
    .chomei-agency-card .cac-body { flex:1; min-width:0; display:flex; flex-direction:column; }
    .chomei-agency-card .cac-nm { font-size:13px; font-weight:800; color:#1a1a2e; }
    .chomei-agency-card .cac-intro { font-size:12px; color:#8a8178; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .chomei-agency-card .cac-go { flex:none; color:#c4452f; font-weight:800; }
    .chomei-agency-toggle { background:none; border:none; color:#8a8178; font-size:12px; font-weight:700; font-family:inherit; cursor:pointer; padding:4px 2px; }
    /* v665: 추가 컨텍스트 */
    .vote-btn .ico{width:14px;height:14px;margin-right:3px;vertical-align:-.2em;}
    .search-suggestion-icon .ico{width:18px;height:18px;}
    .brand-logo{width:18px;height:18px;margin-right:8px;vertical-align:-.22em;display:inline-block;flex-shrink:0;}
    .rrw-photo-btn .ico{width:16px;height:16px;margin-right:5px;vertical-align:-.2em;}
    .brand-card-link .ico,.iac-nm .ico{width:15px;height:15px;margin-right:5px;vertical-align:-.2em;}
    .bld-context-btn .ico,.external-link-btn .ico{width:14px;height:14px;margin-right:4px;vertical-align:-.18em;} /* v733: 🏘️·📍 이모지 → 라인 아이콘(링크·이미지 버튼과 통일) */
    .empty-feed-title { font-size:14px; font-weight:800; color:#3a3a4a; margin-bottom:5px; }
    .empty-feed-sub { font-size:12px; color:#9a9aa5; line-height:1.65; max-width:300px; margin:0 auto; }

    .building-chip-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin: 12px 0 14px;
    }

    .building-chip {
      padding: 5px 9px;
      border-radius: 14px;
      background: #f5f5f0;
      color: #555;
      font-size: 12px;
      font-weight: 700;
    }

    .building-chip.positive {
      background: #eef8ee;
      color: #2d7a35;
    }

    .building-chip.neutral {
      background: #f5f5f0;
      color: #555;
    }

    .spec-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 7px;
      margin-bottom: 14px;
    }

    .spec-item {
      background: #f8f6f0;
      border-radius: 8px;
      padding: 9px 10px;
    }

    .spec-label {
      font-size: 11px;
      color: #999;
      margin-bottom: 2px;
    }

    .spec-value {
      font-size: 13px;
      font-weight: 700;
      color: #1a1a2e;
    }

    .section-title {
      font-size: 13px;
      font-weight: 700;
      color: #1a1a2e;
      margin-bottom: 10px;
      padding-bottom: 6px;
      border-bottom: 1px solid #f0f0ea;
    }
    /* v365: 리뷰 제목 + 전체/후기/질문 탭을 한 줄로(컴팩트) */
    .review-head-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 14px; /* v366: 위 Google Maps 위치보기 버튼과 간격 */
      margin-bottom: 10px;
    }
    .review-head-row .section-title {
      margin: 0;
      padding: 0;
      border: 0;
    }
    .review-head-row .building-review-tabs {
      margin: 0;
      flex: 0 0 auto;
    }
    /* v452: 카테고리(전체/후기/질문)와 정렬(최신순/추천순/댓글많은순)을 한 줄에 — 카테고리 좌·정렬 우 */
    .review-controls-row {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin: 8px 0 10px;
    }
    /* v805: 리뷰 탭·정렬을 iOS식 세그먼트 컨트롤로 — 트랙(연회색) + 활성=딥그린 인셋 pill */
    .review-controls-row .cat-tabs,
    .review-controls-row .building-review-tabs,
    .review-controls-row .review-sort-tabs {
      margin: 0; padding: 3px; border: none; border-bottom: none;
      flex: 0 0 auto; gap: 2px; overflow: visible; align-items: center;
      background: #eceef2; border-radius: 11px;
    }
    .review-controls-row .review-sort-tabs { margin-left: auto; justify-content: flex-start; }
    .review-controls-row .cat-tab,
    .review-controls-row .building-review-tab,
    .review-controls-row .review-sort-btn {
      border: none; background: transparent; color: #5b6472;
      border-radius: 8px; padding: 6px 14px; font-size: 12px; font-weight: 700; box-shadow: none;
    }
    .review-controls-row .cat-tab:not(.active):hover,
    .review-controls-row .building-review-tab:not(.active):hover,
    .review-controls-row .review-sort-btn:not(.active):hover {
      color: #23385c; background: rgba(0,0,0,.045);
    }
    .review-controls-row .cat-tab.active,
    .review-controls-row .building-review-tab.active,
    .review-controls-row .review-sort-btn.active {
      background: #35629e; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12);
    }
    .review-controls-collapsed { display: none !important; } /* v804: 후기+질문 적으면 필터/정렬 숨김 */
    /* v453: 우리집 답변 허브 */
    .myhome-hub-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
    .myhome-hub-title { font-size: 16px; font-weight: 800; color: #1a1a2e; }
    .myhome-map-btn { padding: 6px 12px; border: 1px solid #e0ddd5; border-radius: 999px; background: #fff; color: #555; font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer; flex: 0 0 auto; }
    .myhome-hub-actions { display: flex; gap: 6px; flex: 0 0 auto; } /* v466 */
    .myhome-unset-btn { padding: 6px 12px; border: 1px solid #f0d6d2; border-radius: 999px; background: #fff; color: #c0524a; font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer; flex: 0 0 auto; }
    .myhome-hub-intro { font-size: 13px; color: #777; line-height: 1.6; margin-bottom: 14px; }
    .myhome-section { margin-bottom: 18px; }
    .myhome-section-title { font-size: 13px; font-weight: 800; color: #1a1a2e; margin-bottom: 8px; }
    .myhome-cnt { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e85d4a; color: #fff; font-size: 12px; align-items: center; justify-content: center; margin-left: 4px; vertical-align: middle; }
    .myhome-fill-card { border: 1px dashed #e0c9a8; background: #fffdf6; border-radius: 12px; padding: 18px 16px; text-align: center; }
    .myhome-fill-title { font-size: 14px; font-weight: 800; color: #1a1a2e; margin-bottom: 6px; }
    .myhome-fill-sub { font-size: 13px; color: #777; line-height: 1.6; margin-bottom: 10px; }
    .myhome-fill-btn { display: block; width: 100%; box-sizing: border-box; padding: 11px; border: none; border-radius: 10px; background: #e85d4a; color: #fff; font-size: 13px; font-weight: 800; font-family: inherit; cursor: pointer; margin-top: 8px; }
    .myhome-fill-btn.ghost { background: #fff; color: #e85d4a; border: 1px solid #e85d4a; }
    /* v454: 우리집 탭 '답변 없는 질문' 배지 */
    .nav-tab-badge { display: inline-flex; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 5px; border-radius: 999px; background: #e85d4a; color: #fff; font-size: 11px; font-weight: 800; align-items: center; justify-content: center; vertical-align: middle; box-sizing: border-box; }
    .mtab { position: relative; }
    .mtab-badge { position: absolute; top: 2px; left: calc(50% + 7px); min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: #e85d4a; color: #fff; font-size: 9px; font-weight: 800; line-height: 1; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
    /* v1190: 우리집 미등록 유도 점 — 알림 배지(코랄 숫자)와 겹치지 않게 '배지 없을 때만' JS가 켠다.
       색은 그린(#2e5a4a = 선택·신뢰 역할). 코랄은 CTA 전용이라 상단 네비엔 쓰지 않는다. */
    .nav-tab-dot { display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-radius: 50%; background: #35629e; vertical-align: middle; animation: homeNudgePulse 2.4s ease-in-out infinite; }
    .nav-tab.active .nav-tab-dot { background: #8fb4e8; }
    .mtab-dot { position: absolute; top: 4px; left: calc(50% + 9px); width: 6px; height: 6px; border-radius: 50%; background: #35629e; animation: homeNudgePulse 2.4s ease-in-out infinite; }
    @keyframes homeNudgePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.78); } }
    @media (prefers-reduced-motion: reduce) { .nav-tab-dot, .mtab-dot { animation: none; } }

    /* v1190: 우리집 등록 유도 툴팁(1회) — 탭 위치에 JS가 좌표를 잡아 띄운다. */
    .home-nudge-tip { position: fixed; z-index: 4200; max-width: 260px; background: #2b5089; color: #fff; border-radius: 12px; padding: 12px 34px 12px 14px; box-shadow: 0 8px 24px rgba(0,0,0,.22); font-size: 13px; line-height: 1.6; letter-spacing: -0.2px; opacity: 0; transform: translateY(-4px); transition: opacity .22s, transform .22s; }
    .home-nudge-tip.open { opacity: 1; transform: translateY(0); }
    .home-nudge-tip b { font-weight: 800; }
    .home-nudge-tip .hn-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: none; background: none; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1; cursor: pointer; font-family: inherit; }
    .home-nudge-tip .hn-x:hover { color: #fff; }
    .home-nudge-tip .hn-arrow { position: absolute; width: 10px; height: 10px; background: #2b5089; transform: rotate(45deg); }
    .home-nudge-tip.pos-below .hn-arrow { top: -5px; }
    .home-nudge-tip.pos-above .hn-arrow { bottom: -5px; }

    /* v484/v487: 인앱 알림 (우리집 허브에 통합) */
    .home-notif-sec { margin: 0 0 12px; }
    .home-notif-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
    .home-notif-ttl { font-size: 14px; font-weight: 800; color: #1a1a2e; }
    .home-notif-count { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e85d4a; color: #fff; font-size: 12px; font-weight: 800; align-items: center; justify-content: center; vertical-align: middle; }
    .home-notif-sec .notif-list { max-height: 40vh; overflow-y: auto; background: #faf9f5; border-radius: 12px; padding: 4px; }
    .nav-bell { position: relative; font-size: 15px; padding-left: 12px; padding-right: 12px; }
    .notif-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.28); z-index: 9150; }
    .notif-center { position: fixed; z-index: 9200; background: #fff; border: 1px solid #ececec; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.18); width: min(380px, 92vw); max-height: 70vh; display: flex; flex-direction: column; overflow: hidden; top: 64px; right: 16px; }
    .notif-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #f0f0ea; flex: 0 0 auto; }
    .notif-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: #1a1a2e; }
    .notif-head-actions { display: flex; align-items: center; gap: 6px; }
    .notif-readall { font-size: 12px; color: #1a1a2e; background: #f1f0ea; border: none; border-radius: 8px; padding: 5px 10px; font-weight: 700; cursor: pointer; }
    .notif-list { overflow-y: auto; padding: 6px; flex: 1 1 auto; min-height: 0; }
    .notif-item { display: block; width: 100%; text-align: left; border: none; background: #fff; border-radius: 10px; padding: 10px 12px; cursor: pointer; font-family: inherit; }
    .notif-item + .notif-item { margin-top: 2px; }
    .notif-item:hover { background: #f7f6f1; }
    .notif-item.unread { background: #fff5f2; }
    .notif-item-top { font-size: 13px; color: #1a1a2e; line-height: 1.4; }
    .notif-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e85d4a; margin-left: 3px; vertical-align: middle; }
    .notif-item-snip { font-size: 12px; color: #777; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
    .notif-item-time { font-size: 12px; color: #aaa; margin-top: 4px; }
    .notif-empty { padding: 32px 16px; text-align: center; color: #aaa; font-size: 13px; }
    @media (max-width: 768px) {
      .notif-center { top: auto; bottom: 0; right: 0; left: 0; width: 100%; max-height: 76vh; border-radius: 16px 16px 0 0; }
    }

    .fee-row {
      display: flex;
      justify-content: space-between;
      padding: 6px 0;
      font-size: 12px;
      border-bottom: 1px solid #f8f8f5;
    }

    .fee-label {
      color: #666;
    }

    .fee-value {
      font-weight: 600;
      color: #1a1a2e;
    }

    .fee-highlight {
      color: #e85d4a !important;
      font-weight: 700 !important;
    }

    .korean-tips {
      background: #fff8f6;
      border-radius: 10px;
      padding: 12px;
      margin: 12px 0;
      border: 1px solid #ffd5cc;
    }

    .korean-tips h5 {
      font-size: 12px;
      font-weight: 700;
      color: #e85d4a;
      margin-bottom: 8px;
    }

    .tip-item {
      font-size: 12px;
      color: #555;
      padding: 3px 0;
      display: flex;
      gap: 6px;
      line-height: 1.5;
    }

    .tip-dot {
      color: #e85d4a;
      font-weight: 700;
      flex-shrink: 0;
    }

    /* v78: 한국인 거주 체크 (건물 단위 핵심 정보 = JIBU 해자) */
    .korstay-section {
      background: #f8f9fb;
      border: 1px solid #e6eaf0;
      border-radius: 12px;
      padding: 12px;
      margin: 14px 0;
    }

    .korstay-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 10px;
    }

    .korstay-head h5 {
      font-size: 13px;
      font-weight: 800;
      color: #1a1a2e;
    }

    .korstay-note {
      font-size: 11px;
      color: #8a93a3;
      flex-shrink: 0;
    }

    .korstay-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 7px;
    }

    .korstay-item {
      background: #fff;
      border: 1px solid #eceff4;
      border-radius: 8px;
      padding: 8px 10px;
    }

    .korstay-label {
      display: block;
      font-size: 11px;
      color: #99a0ad;
      margin-bottom: 2px;
    }

    .korstay-value {
      display: block;
      font-size: 13px;
      font-weight: 700;
      color: #1a1a2e;
      line-height: 1.35;
    }

    .korstay-item.is-empty {
      background: #fbfbfc;
      border-style: dashed;
    }

    .korstay-item.is-empty .korstay-value {
      color: #b6bcc6;
      font-weight: 600;
    }

    .korstay-cta {
      margin-top: 10px;
      font-size: 12px;
      color: #6b7280;
      line-height: 1.5;
    }

    .kakao-btn {
      padding: 5px 11px;
      background: #fee500;
      color: #3c1e1e;
      border: none;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }

    .line-btn {
      padding: 5px 11px;
      background: #06c755;
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }

    .review-card-d {
      background: #f8f6f0;
      border-radius: 8px;
      padding: 10px;
      margin-bottom: 8px;
    }

    .review-meta {
      display: flex;
      justify-content: space-between;
      margin-bottom: 5px;
    }

    .reviewer {
      font-size: 12px;
      font-weight: 700;
      color: #1a1a2e;
    }

    .stars {
      font-size: 12px;
      color: #ffa800;
    }

    .review-text {
      font-size: 12px;
      color: #555;
      line-height: 1.6;
    }

    .cta-box {
      padding: 14px 16px;
      border-top: 1px solid #f0f0ea;
      position: sticky;
      bottom: 0;
      background: #fff;
      flex-shrink: 0;
    }

    .cta-btn {
      width: 100%;
      padding: 13px;
      background: #e85d4a;
      color: #fff;
      border: none;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
    }

    /* 구글맵 마커 */
    /* v1156: 지역핀 리디자인 — 채움 카드(동네명 + 월세) + 아래 꼬리. 건물핀(흰 말풍선)과 색·형태로 구분.
       v1159: 시안(assets/new.png) 반영 — 딥네이비 채움 + 흰 글자. 코랄은 액션(우리집추가 등) 전용으로 되돌림. */
    /* v1160: 시안(assets/new.png) 픽셀 측정 비율을 그대로 재현 — 카드높이(48px) 기준:
       좌여백 .180 · 상여백(cap) .257 · 하여백(cap) .210 · 줄간격 .162 · 반경 .102 · 꼬리 .180x.096 · 서브/이름 글자 .62
       좌측정렬(시안이 중앙정렬 아님) · 네이비 #35629e. */
    .gmap-area-marker {
      display: flex; flex-direction: column; align-items: flex-start; gap: 6.6px;
      background: #35629e;
      color: #fff;
      /* v1161: 은은한 흰 테두리 1px — 시안 크기 유지하려고 패딩을 1px씩 상쇄 */
      border: 1px solid rgba(255, 255, 255, 0.34);
      padding: 10.6px 7.6px 8.6px;
      border-radius: 5.4px;
      white-space: nowrap;
      box-shadow: 0 3px 9px rgba(16, 30, 50, 0.34);
      cursor: pointer;
      position: absolute;
      transform: translate(-50%, calc(-100% - 4.6px)); /* 카드가 지점 위에 떠 있고 꼬리가 지점을 가리킴 */
      z-index: 40;
      line-height: 1;
    }
    /* v1161: 꼬리 = 45° 회전 사각형 — 테두리가 카드에서 자연스럽게 이어지도록(삼각형 border트릭은 테두리 불가).
       윗변은 카드 하단 테두리를 덮어 이음새가 안 보이고, 아래 두 변에만 흰 선이 남는다. */
    .gmap-area-marker::after {
      content: ''; position: absolute; left: 50%; top: calc(100% + 1px);
      width: 6.5px; height: 6.5px; background: #35629e;
      border-right: 1px solid rgba(255, 255, 255, 0.34);
      border-bottom: 1px solid rgba(255, 255, 255, 0.34);
      border-bottom-right-radius: 1.5px;
      transform: translate(-50%, -50%) rotate(45deg);
    }
    .gmap-area-marker .ap-nm { font-size: 13px; font-weight: 900; letter-spacing: -0.4px; }
    .gmap-area-marker .ap-sub { font-size: 8.5px; font-weight: 800; opacity: 0.97; }
    /* v1207: 이 동네 건물 수 — 클러스터 원을 대체해 카드 안으로 들어왔다. 월세보다 한 톤 낮춰 주가 되지 않게. */
    .gmap-area-marker .ap-cnt { opacity: .82; }
    .gmap-area-marker:hover { background: #3f6fac; }
    .gmap-area-marker:hover::after { background: #3f6fac; } /* v1161: 꼬리가 회전 사각형이라 배경색으로 */

    /* v162: 도쿄 동네 이름 라벨 (줌인 시 면적 큰 동네) */
    .gmap-chome-label {
      position: absolute;
      transform: translate(-50%, -50%);
      font-size: 11px;
      font-weight: 600;
      color: #fff;
      background: #566a8e;
      padding: 3px 8px;
      border-radius: 9px;
      white-space: nowrap;
      pointer-events: auto;        /* v1137: 라벨(알약) 클릭 → 동네 패널. 폴리곤 클릭은 폐지 */
      cursor: pointer;
      z-index: 1;                  /* 건물·가격 핀(≥2)보다 아래 — 겹치면 핀 클릭이 우선 */
      letter-spacing: -0.2px;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
      transition: filter .12s;
    }
    .gmap-chome-label:hover { filter: brightness(1.12); }
    .gmap-chome-label:active { filter: brightness(0.94); }
    /* v1162: 지금 패널이 열려 있는 동네 — 흰 링 + 확대 + 위로 올려 '여기 보는 중'을 표시.
       배경색은 구별 색이라 그대로 두고(어느 구인지 정보 유지), 링·크기·그림자로만 구분. */
    .gmap-chome-label.sel {
      transform: translate(-50%, -50%) scale(1.18);
      box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(0, 0, 0, 0.35);
      font-weight: 800;
      z-index: 3;                  /* 선택된 동안은 건물핀(2)보다 위 */
    }

    /* v911: 가격핀 = 흰 말풍선 + 유형색 테두리 + 아래 꼬리(끝이 좌표를 가리킴). */
    .gmap-price-marker {
      background: #fff;
      color: #1a1a2e;
      padding: 4px 9px;
      border-radius: 11px;
      z-index: 2;                  /* v1137: 동네 라벨(z1) 위 */
      font-size: 11.5px;
      font-weight: 800;
      white-space: nowrap;
      border: 2px solid var(--pin-color, #1a1a2e);
      box-shadow: 0 2px 7px rgba(20, 26, 44, 0.22);
      cursor: pointer;
      position: absolute;
      transform: translate(-50%, calc(-100% - 8px));
      /* v935: 호버/탭은 항상 대상이 1개뿐이라 저비용 — transform·색만 애니메이션(필터 없음) */
      transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease, background-color .15s ease;
    }
    .gmap-price-marker::after {
      content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
      width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent;
      border-top: 8px solid var(--pin-color, #1a1a2e);
    }
    .gmap-price-marker::before {
      content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); z-index: 2;
      width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
      border-top: 5px solid #fff;
    }
    .gmap-price-marker:hover,
    .gmap-price-marker.active {
      border-color: var(--pin-hover, #e85d4a); color: #d64a34; background: #fff6f4;
      transform: translate(-50%, calc(-100% - 8px)) scale(1.08); /* v935: 살짝 확대 — 대상 1개뿐이라 저비용 */
      box-shadow: 0 4px 12px rgba(20, 26, 44, 0.28);
      z-index: 15;
    }
    .gmap-price-marker:hover::after,
    .gmap-price-marker.active::after { border-top-color: var(--pin-hover, #e85d4a); }
    .gmap-price-marker:hover::before,
    .gmap-price-marker.active::before { border-top-color: #fff6f4; }

    /* v846: 가격핀 색 = 출처가 아니라 유형(월세/셰어하우스/한달살이) 기준. */
    .gmap-official-pin { z-index: 5; }
    /* v625/v846: 부동산 호가 가격핀도 유형 색을 그대로 쓴다. */
    .gmap-quote-pin { z-index: 4; }
    .gmap-ended-quote-pin { color: #8a827a; border-color: var(--pin-ended, #8a827a); border-style: dashed; }
    .gmap-ended-quote-pin::after { border-top-color: var(--pin-ended, #8a827a); }
    .gmap-ended-quote-pin:hover,
    .gmap-ended-quote-pin.active { color: #6f675f; border-color: var(--pin-ended-hover, #6f675f); background: #f7f6f4; }
    .gmap-ended-quote-pin:hover::after,
    .gmap-ended-quote-pin.active::after { border-top-color: var(--pin-ended-hover, #6f675f); }

    /* v911: 건물 점핀 → 티어드롭(뾰족한 끝이 좌표를 정확히 가리킴). 색 = --pin-color(유형별). */
    .gmap-building-marker {
      position: absolute;
      transform: translate(-50%, -100%);
      cursor: pointer;
      line-height: 0;
      z-index: 2;                  /* v1137: 동네 라벨(z1) 위 — 겹쳐도 건물 핀이 먼저 클릭됨 */
      --pin-color: #6b7280;        /* v1212: 종류 미분류 기본색 — 남색은 지도 UI 네이비와 헷갈렸다 */
      /* v935: 호버/탭은 항상 대상이 1개뿐이라 저비용 — transform만 애니메이션(필터 없음) */
      transition: transform .15s ease;
    }
    /* v334/v846/v911: 티어드롭 색 = 유형. 월세 파랑, 한달살이 주황, 셰어/기숙사 보라, 종류 미분류는 회색(v1212). */
    .gmap-building-marker[data-usage~="sale"]       { --pin-color: #16a34a; }
    .gmap-building-marker[data-usage~="rental"]     { --pin-color: #2563eb; }
    .gmap-building-marker[data-usage~="short"]      { --pin-color: #f59e0b; }
    .gmap-building-marker[data-usage~="sharehouse"],
    .gmap-building-marker[data-usage~="dorm"]       { --pin-color: #8b5cf6; }
    /* v934: SVG 전체에 filter:drop-shadow(마커마다 24x31px 영역 필터 연산)는 마커 많을 때 지도 팬·줌이 느려짐
       → 훨씬 싼 방식(핀 아래 작은 블러 타원, ~10x4px만 필터)으로 교체. 시각 결과는 거의 동일. */
    .gmap-building-marker svg { display: block; overflow: visible; position: relative; z-index: 1; }
    .gmap-building-marker::after {
      content: ""; position: absolute; left: 50%; bottom: -1px; width: 10px; height: 4px;
      background: rgba(0, 0, 0, .3); border-radius: 50%; filter: blur(1.5px);
      transform: translateX(-50%); z-index: 0;
    }
    .gmap-building-marker .td-body { fill: #fff; stroke: var(--pin-color, #6b7280); stroke-width: 3; }
    .gmap-building-marker .td-dot  { fill: var(--pin-color, #6b7280); }

    /* v1212: 후기 있는 집 배지. 종류는 색, 후기는 배지 — 한 핀이 '셰어하우스 + 후기 있음'을 동시에 말한다.
       실측 후기 건물 12채(2%)뿐이라, 이걸 못 찾으면 살래의 해자가 지도에서 안 보인다.
       ::after/::before는 두 핀 모두 이미 꼬리·그림자에 쓰고 있어 자식 요소로 만든다. */
    .pin-rev-badge { display: none; }
    [data-has-review="true"] > .pin-rev-badge {
      display: block; position: absolute; top: -5px; right: -6px;
      width: 15px; height: 15px; border-radius: 50%;
      background: #111827; border: 1.5px solid #fff;
      color: #fff; font-size: 8.5px; line-height: 12px; text-align: center;
      font-style: normal; font-weight: 900; letter-spacing: 0;
      box-shadow: 0 1px 3px rgba(0,0,0,.35);
      z-index: 3; pointer-events: none;
    }
    .gmap-building-marker:hover { transform: translate(-50%, -100%) scale(1.08); z-index: 10; } /* v935: 호버 시 살짝 확대(대상 1개뿐) */
    .gmap-building-marker:hover .td-body { stroke: var(--pin-hover, #e85d4a); }
    .gmap-building-marker.active { z-index: 20; transform: translate(-50%, -100%) scale(1.14); }
    .gmap-building-marker.active .td-body { fill: var(--pin-hover, #e85d4a); stroke: var(--pin-hover, #e85d4a); }
    .gmap-building-marker.active .td-dot  { fill: #fff; }

    .gmap-building-marker .marker-label {
      display: none;
    }

    .gmap-building-marker.active .marker-label {
      display: none;
    }

    /* v1205b: .gmap-building-cluster(격자 군집, v1097에 제거됨) 잔재 CSS 삭제 — 딥그린 #39594b가
       남아 있어 색 정리 때 놓쳤다. app.js에서 이 클래스를 붙이는 코드는 없다. */
    /* v1084/v1087: 광역 줌의 '구별 1핀' — 숫자만. 격자 군집과 같은 숫자 원(딥그린) */
    /* v1205: 딥그린 원 → 건물핀과 같은 언어(흰 배경 + 네이비 테두리)로. 지도 위에서 그린은
       어울릴 상대가 없었고(지역핀=네이비, 건물핀=흰 알약), 폴리곤 녹색 면과 겹쳐 탁하게 보였다.
       '건물 묶음'이니 건물핀을 닮는 게 뜻에도 맞는다. */
    .gmap-ward-cluster {
      position: absolute;
      min-width: 34px; height: 26px; padding: 0 9px;
      border-radius: 999px;
      /* v1205c: align-items:baseline은 플렉스 줄을 컨테이너 위쪽에 붙여 글자가 위로 몰렸다.
         center로 바꾸고, 크기가 다른 두 글자(13px/10px)의 밑선은 .wc-u를 1px 내려 맞춘다. */
      display: inline-flex; align-items: center; justify-content: center; gap: 1px;
      background: #fff; border: 2px solid #35629e; color: #35629e;
      font-family: inherit;
      box-shadow: 0 2px 8px rgba(20, 26, 44, 0.24);
      cursor: pointer;
      transform: translate(-50%, -50%);
      z-index: 31;
    }
    .gmap-ward-cluster .wc-n { font-size: 13px; font-weight: 900; letter-spacing: -0.2px; line-height: 1; }
    .gmap-ward-cluster .wc-u { font-size: 10px; font-weight: 800; opacity: .72; line-height: 1; transform: translateY(1px); }
    .gmap-ward-cluster:hover { background: #35629e; color: #fff; }

    /* v317: 현재위치 버튼 (구글맵 커스텀 컨트롤, 우하단) */
    .gmap-loc-btn {
      position: absolute; right: 12px; bottom: 52px; z-index: 400; /* v583: 지도 래퍼에 붙여 정렬(.gmap-loc-btn=absolute). 컨트롤은 내부 오프셋이 있어 핀치 줌 위치가 안 맞았음 */
      width: 40px; height: 40px;
      border: none; border-radius: 50%;
      background: #fff; color: #1a73e8;
      box-shadow: 0 2px 8px rgba(0,0,0,.3);
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background .15s;
    }
    .gmap-loc-btn:hover { background: #f1f5fb; }
    .gmap-loc-btn.loading { opacity: .55; pointer-events: none; }
    .gmap-loc-btn svg { display: block; }
    @media (max-width: 760px) { .gmap-loc-btn { bottom: 82px; } } /* v583: 모바일 탭바 위로 */

    .map-pin-legend {
      display: none !important;
      position: fixed;
      left: 50%;
      bottom: 22px;
      transform: translateX(-50%);
      z-index: 20;
      align-items: center;
      gap: 10px;
      max-width: calc(100vw - 24px);
      overflow-x: auto;
      scrollbar-width: none;
      padding: 7px 10px;
      border: 1px solid #eeeeea;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.92);
      color: #555;
      font-size: 12px;
      font-weight: 900;
      box-shadow: 0 4px 16px rgba(0,0,0,.12);
      pointer-events: auto;
    }

    .map-pin-legend::-webkit-scrollbar {
      display: none;
    }

    .map-pin-legend-item {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
    }

    .map-pin-dot {
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: #fff;
      border: 2px solid #1a1a2e;
      box-shadow: 0 1px 4px rgba(0,0,0,.16);
    }

    .map-pin-dot.listing {
      background: #e85d4a;
      border-color: #fff;
      box-shadow: 0 0 0 1px #e85d4a, 0 1px 4px rgba(0,0,0,.18);
    }

    .map-pin-filter {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding-left: 8px;
      border-left: 1px solid #eeeeea;
    }

    .map-pin-filter-group {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding-left: 8px;
      border-left: 1px solid #eeeeea;
    }

    .map-pin-filter-label {
      color: #999;
      font-size: 11px;
      font-weight: 900;
      white-space: nowrap;
    }

    .map-pin-filter-btn {
      border: 1px solid #e0e0da;
      border-radius: 999px;
      background: #fff;
      color: #666;
      padding: 4px 8px;
      font-size: 11px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
      white-space: nowrap;
    }

    .map-pin-filter-btn.active {
      background: #1a1a2e;
      border-color: #1a1a2e;
      color: #fff;
    }

    .map-pin-filter-btn:hover {
      border-color: #e85d4a;
      color: #e85d4a;
    }

    .map-pin-filter-btn.active:hover {
      color: #fff;
    }

    body.community-page-open .map-pin-legend {
      display: none;
    }

    body.community-page-open .top-home-filter {
      display: none;
    }

    @media (max-width: 900px) {
      .map-pin-legend {
        left: 50%;
        bottom: 14px;
        flex-wrap: nowrap;
        gap: 4px;
        padding: 5px 8px;
        border-radius: 999px;
      }
      /* 모바일: 점 범례 숨기고 필터 버튼만 표시 */
      .map-pin-legend-item { display: none; }
      .map-pin-filter {
        width: auto;
        border-left: none;
        border-top: none;
        padding: 0;
        justify-content: center;
      }
      .map-pin-filter-group {
        width: auto;
        border-left: none;
        border-top: none;
        padding: 0;
        justify-content: center;
      }
      .map-pin-filter-label {
        display: none;
      }
    }

    /* ── v119: 통합 거주자 리뷰 wizard ── */
    .rrw-box {
      background: #fff;
      border-radius: 16px;
      padding: 20px;
      width: min(480px, calc(100vw - 32px));
      max-height: calc(100dvh - 48px);
      overflow-y: auto;
      box-shadow: 0 20px 60px rgba(0,0,0,.2);
    }
    .rrw-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 16px;
    }
    .rrw-main-title { font-size: 16px; font-weight: 800; color: #1a1a2e; }
    .rrw-prog {
      display: none;
      align-items: center;
      gap: 0;
      margin-top: 8px;
    }
    .rrw-prog-dot {
      width: 24px; height: 24px;
      border-radius: 50%;
      background: #e0e0da;
      color: #999;
      font-size: 12px;
      font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .rrw-prog-dot.active { background: #e85d4a; color: #fff; }
    .rrw-prog-dot.done  { background: #4aad6e; color: #fff; }
    .rrw-prog-line { flex: 1; height: 2px; background: #e0e0da; min-width: 8px; max-width: 24px; }
    .rrw-step-title { font-size: 16px; font-weight: 800; color: #1a1a2e; margin-bottom: 4px; }
    .rrw-step-sub { font-size: 12px; color: #888; margin-bottom: 14px; line-height: 1.5; }
    .rrw-choice-btns { display: flex; flex-direction: column; gap: 10px; margin: 8px 0; }
    .rrw-choice-btn {
      padding: 14px;
      border-radius: 12px;
      border: 2px solid #e0e0da;
      background: #fff;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      text-align: left;
      transition: all .15s;
    }
    .rrw-choice-btn.yes:hover, .rrw-choice-btn.yes.selected { border-color: #4aad6e; background: #eef8ee; color: #1e7e38; }
    .rrw-choice-btn.no:hover,  .rrw-choice-btn.no.selected  { border-color: #e85d4a; background: #fff8f6; color: #c0392b; }
    .rrw-field-label { font-size: 12px; font-weight: 700; color: #333; margin: 12px 0 5px; }
    .rrw-req { color: #e85d4a; }
    /* v180: 좌표 자동 인식 칩 */
    .rrw-auto-chip {
      display: flex; align-items: center; gap: 6px;
      background: #f1f6f2; border: 1px solid #cfe6d6; border-radius: 10px;
      padding: 10px 12px; margin: 4px 0 2px;
      font-size: 13px; font-weight: 600; color: #2c7a4b; line-height: 1.4;
    }
    .rrw-auto-chip.muted { background: #f6f6f4; border-color: #e4e4de; color: #999; font-weight: 500; }
    .rrw-stars { display: flex; gap: 6px; margin-bottom: 4px; }
    .rrw-star {
      font-size: 28px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 2px;
      color: #ddd;
      line-height: 1;
      font-family: inherit;
      transition: color .1s;
    }
    .rrw-star.active { color: #f0a030; }
    .rrw-period-btns { display: flex; gap: 8px; flex-wrap: wrap; }
    .rrw-period-btn {
      padding: 7px 14px;
      border-radius: 20px;
      border: 1.5px solid #e0e0da;
      background: #fff;
      font-size: 12px;
      font-weight: 500;
      cursor: pointer;
      font-family: inherit;
      transition: all .15s;
    }
    .rrw-period-btn.active { border-color: #1a1a2e; background: #1a1a2e; color: #fff; }
    /* v216: 건물 생활 체감 칩 */
    .rrw-optional { color: #aaa; font-weight: 400; font-size: 12px; }
    .rrw-traits { margin-top: 14px; }
    .rrw-trait-grp {
      display: grid;
      grid-template-columns: 96px repeat(3, minmax(92px, 1fr));
      gap: 8px 10px;
      align-items: center;
      max-width: 600px;
      margin: 0 auto 8px;
    }
    .rrw-trait-name { width: auto; font-size: 12px; color: #555; flex-shrink: 0; }
    .rrw-trait-chip {
      min-width: 0;
      font-size: 12px;
      line-height: 1.25;
      min-height: 32px;
      padding: 6px 10px;
      border: 1.5px solid #e2e2e2;
      border-radius: 16px;
      background: #fff;
      color: #666;
      cursor: pointer;
      text-align: center;
      white-space: nowrap;
    }
    .rrw-trait-chip.active { border-color: #1a1a2e; background: #1a1a2e; color: #fff; }
    .rrw-trait-rent {
      grid-column: 2 / 5;
      width: 100%;
      min-height: 36px;
      font-size: 12px;
      padding: 6px 10px;
      border: 1.5px solid #e2e2e2;
      border-radius: 10px;
    }
    .rrw-structure-trait .rrw-trait-chip:nth-of-type(3) { font-size: 12px; letter-spacing: 0; }
    /* v368: 건물 형태 5칩 — 단독주택을 2열(맨션 아래)로 강제 → 기타는 3열(타워맨션 아래)로 자동 흐름 */
    .rrw-form-trait .rrw-trait-chip:nth-of-type(4) { grid-column: 2; }
    /* v369: '건물 형태' 라벨을 두 칩 줄 사이(세로 중앙)에 위치 */
    .rrw-form-trait .rrw-trait-name { grid-row: 1 / 3; align-self: center; }
    /* v216: 건물 패널 거주자 응답 집계 */
    .building-summary-card {
      margin: 14px 0 16px;
      padding: 14px;
      border: 1px solid #ece9e2;
      border-radius: 12px;
      background: #fbfaf6;
    }
    .building-summary-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    .building-summary-title {
      font-size: 14px;
      font-weight: 900;
      color: #1a1a2e;
    }
    .building-summary-source {
      font-size: 12px;
      font-weight: 800;
      color: #888;
      white-space: nowrap;
    }
    .building-summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .building-summary-item {
      min-width: 0;
      padding: 10px;
      border-radius: 10px;
      background: #fff;
      border: 1px solid #f0eee8;
    }
    .building-summary-label {
      font-size: 12px;
      color: #999;
      font-weight: 700;
      margin-bottom: 4px;
    }
    .building-summary-value {
      font-size: 14px;
      color: #1a1a2e;
      font-weight: 900;
      line-height: 1.35;
      word-break: keep-all;
    }
    .building-summary-note {
      margin-top: 10px;
      color: #999;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.5;
    }
    .btrait-title { font-size: 12px; font-weight: 900; color: #1a1a2e; margin: 12px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .btrait-edit { font-size: 12px; font-weight: 700; color: #93233a; background: #fff; border: 1px solid #e0b8c0; border-radius: 7px; padding: 3px 9px; cursor: pointer; font-family: inherit; flex: none; }
    .btrait-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .btrait { font-size: 13px; background: #fff; border: 1px solid #f0eee8; border-radius: 10px; padding: 9px 10px; color: #444; }
    .btrait b { display: block; font-size: 12px; font-weight: 800; color: #999; margin: 0 0 3px; }
    .btrait-value { color: #1a1a2e; font-weight: 900; line-height: 1.35; word-break: keep-all; }
    .btrait-sub { font-size: 0.82em; font-weight: 700; color: #9a968c; } /* v448: '(거주자 제보)' 등 보조줄 */
    .btrait-split .btrait-sub { color: #c79356; }
    .btrait-split { border-color: #f0d6a8; background: #fdf6e8; } /* v406: 거주자 구조 의견 갈림 */
    .btrait-split .btrait-value { color: #b86818; }
    .trait-stars { color: #f0a030; letter-spacing: 0; font-size: 13px; white-space: nowrap; }
    .trait-stars .empty { color: #dedbd2; }
    .trait-score { margin-left: 4px; color: #1a1a2e; font-weight: 900; }
    .btrait-rating {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
      padding: 10px 12px;
      border-radius: 12px;
      background: #fff;
      border: 1px solid #eeeae2;
    }
    .btrait-rating-label { font-size: 12px; font-weight: 900; color: #777; }
    .btrait-rating-value { display: inline-flex; align-items: center; gap: 5px; font-weight: 900; color: #1a1a2e; }
    .short-stay-card {
      margin: 0 0 16px;
      padding: 13px 14px;
      border: 1px solid #f1d8d1;
      border-radius: 12px;
      background: #fff8f6;
    }
    .short-stay-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .short-stay-title {
      font-size: 13px;
      font-weight: 900;
      color: #1a1a2e;
    }
    /* v334: 월세/매매 타입 섹션 */
    .bld-type-card { background:#f4f7fb; border:1px solid #e2e8f2; border-radius:10px; padding:12px 14px; margin:10px 0; }
    .bld-type-card.sale { background:#f1faf3; border-color:#cdebd6; }
    .bld-type-head { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
    .bld-type-tag { font-size:12px; font-weight:800; color:#2563eb; background:#e6effe; border-radius:6px; padding:2px 8px; }
    .bld-type-tag.sale { color:#16a34a; background:#e3f6e9; }
    .bld-type-form { font-size:12px; color:#666; }
    .bld-type-price { font-size:16px; font-weight:800; color:#1a1a2e; }
    .bld-type-note { font-size:12px; font-weight:400; color:#888; }
    .bld-type-rooms { margin-top:6px; }
    .bld-type-room { display:flex; justify-content:space-between; font-size:12px; padding:3px 0; border-top:1px solid #eef1f6; }
    .bld-type-desc { font-size:12px; color:#999; margin:6px 0 0; }
    /* v609: 월세·매매 시세 관측치(기록) */
    .rent-obs:empty { display:none; }
    /* v877: 현재 매물과 시세 기록이 한 박스에 섞여 헷갈리던 것을 분리 — 박스 자체는 각 블록(.rent-obs-box)이 갖고, 호스트는 세로 배치만 */
    .rent-obs { display:flex; flex-direction:column; gap:10px; margin:10px 0; }
    .rent-obs-box { background:#fbfaf7; border:1px solid #ece8e0; border-radius:10px; padding:12px 14px; }
    .rent-obs-head { font-size:13px; font-weight:800; color:#1a1a2e; margin-bottom:8px; }
    .rent-obs-note { font-size:11px; font-weight:600; color:#aa9; }
    .rent-obs-row { padding:7px 0; border-top:1px solid #f0ece3; display:flex; align-items:center; gap:10px; }
    .rent-obs-info { flex:1; min-width:0; }
    .rent-obs-row:first-of-type { border-top:none; }
    .rent-obs-row-top { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
    .rent-obs-deal { font-size:12px; font-weight:800; color:#2563eb; background:#e6effe; border-radius:6px; padding:2px 7px; }
    .rent-obs-deal.sale { color:#16a34a; background:#e3f6e9; }
    .rent-obs-deal.sharehouse { color:#7c5bd6; background:#efe9fb; }
    .rent-obs-deal.monthly { color:#8b5cf6; background:#f1e9ff; }
    .rent-obs-type { font-size:12px; font-weight:700; color:#555; }
    .rent-obs-tag { font-size:11px; font-weight:700; color:#6a4a52; background:#f3e3e7; border-radius:6px; padding:2px 7px; }
    .rent-obs-price { font-size:14px; font-weight:800; color:#1a1a2e; margin-top:3px; }
    .rent-obs-count { font-size:12px; font-weight:600; color:#999; }
    .rent-obs-src { font-size:12px; color:#aaa; margin-top:2px; }
    .rent-obs-units { font-size:12px; color:#7a756c; margin-top:2px; } /* v635: 호실 목록 */
    /* v628: 사진을 글 오른쪽에(세로 공간 절약) */
    .rent-obs-photos { flex:none; display:flex; gap:4px; align-items:center; }
    .rent-obs-photo { position:relative; width:46px; height:46px; flex:none; }
    .rent-obs-photo img { width:100%; height:100%; object-fit:cover; border-radius:7px; cursor:pointer; background:#f1eef0; }
    .rent-obs-more { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,0.5); color:#fff; font-size:12px; font-weight:800; border-radius:7px; pointer-events:none; }
    .rent-obs-empty { font-size:12px; color:#aaa; padding:4px 0; }
    .rent-obs-section { margin-top:12px; }
    .rent-obs-section:first-child { margin-top:0; }
    .rent-obs-preserved { color:#826322; background:#f8edcf; }
    .rent-obs-add { margin-top:10px; width:100%; padding:8px; border:1px dashed #d8cfc4; border-radius:9px; background:#fff; color:#93233a; font-size:12px; font-weight:700; font-family:inherit; cursor:pointer; }
    .rent-obs-now { color:#1a8a4a; font-weight:800; }
    .rent-obs-now.done { color:#8a827a; background:#efece6; border-radius:5px; padding:1px 7px; font-weight:800; }
    .rent-obs-row.sold .rent-obs-amt { text-decoration:line-through; text-decoration-color:#c0503a; text-decoration-thickness:2px; color:#a8a29a; }
    .rent-obs-row.sold { opacity:.85; }
    /* v832: 건물패널 현재 매물 — 문의/미니홈피 버튼을 매물별 팝업 안으로 이동 */
    .listing-now-head { display:flex; align-items:baseline; gap:7px; margin-bottom:9px; }
    .listing-now-title { font-size:14px; font-weight:900; color:#1a1a2e; }
    .listing-now-note { font-size:12px; color:#aaa; font-weight:700; }
    .listing-cards { display:grid; gap:8px; }
    .listing-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:center; padding:12px 14px; border:1px solid #e8e3d9; border-radius:8px; background:#fff; }
    .listing-card.sold { opacity:.72; }
    /* v903: 카드 전체가 미니홈피 상세로 가는 링크 */
    a.listing-card { text-decoration:none; color:inherit; transition:border-color .12s, box-shadow .12s, transform .12s; }
    a.listing-card.clickable:hover { border-color:#2b5089; box-shadow:0 4px 14px rgba(31,61,52,.12); }
    .listing-more { font-size:12px; font-weight:800; color:#2b5089; white-space:nowrap; }
    .listing-main { min-width:0; }
    .listing-top { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:3px; }
    .listing-type { font-size:13px; font-weight:900; color:#1a1a2e; }
    .listing-chip { font-size:12px; font-weight:800; color:#2563eb; background:#e8f0ff; border-radius:7px; padding:2px 7px; }
    .listing-chip.foreign { color:#7c4054; background:#f3e3e7; }
    .listing-chip.move { color:#3f684f; background:#e5f3e9; }
    .listing-price { font-size:19px; font-weight:950; color:#1a1a2e; }
    .listing-price small { font-size:12px; font-weight:700; color:#8f897f; }
    .listing-meta { font-size:12px; color:#8f897f; margin-top:2px; line-height:1.45; }
    .listing-feats { display:flex; gap:4px; flex-wrap:wrap; margin-top:5px; }
    .listing-feat { font-size:12px; color:#6f6a60; background:#f3f0e9; border-radius:6px; padding:2px 6px; }
    .listing-side { display:flex; flex-direction:column; align-items:flex-end; gap:7px; }
    .listing-thumb { width:54px; height:54px; border-radius:8px; object-fit:cover; background:#f1eee8; cursor:zoom-in; }
    .listing-inquire { border:none; border-radius:9px; background:#2b5089; color:#fff; padding:7px 10px; font-size:12px; font-weight:900; font-family:inherit; cursor:pointer; white-space:nowrap; }
    .listing-inquire:disabled { background:#ddd6ca; color:#8f897f; cursor:not-allowed; }
    .listing-contact-box { background:#fff; border-radius:14px; max-width:430px; width:92%; padding:16px; box-sizing:border-box; }
    .listing-contact-head { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; margin-bottom:10px; }
    .listing-contact-kicker { font-size:12px; font-weight:900; color:#8f897f; margin-bottom:2px; }
    .listing-contact-title { font-size:16px; font-weight:950; color:#1a1a2e; }
    .listing-contact-sub { font-size:12px; color:#777; line-height:1.55; margin:2px 0 12px; }
    .listing-contact-summary { border:1px solid #eee8dd; border-radius:10px; background:#faf8f3; padding:10px 11px; margin-bottom:10px; }
    .listing-contact-price { font-size:19px; font-weight:950; color:#1a1a2e; }
    .listing-contact-meta { font-size:12px; color:#8f897f; margin-top:2px; line-height:1.45; }
    .listing-contact-actions { display:grid; gap:8px; }
    /* v886: 이 건물 중개 부동산에게만 뜨는 소개문 수정 링크(문의 버튼 아래, 절제된 텍스트 버튼) */
    .listing-intro-edit { margin:10px 0 0; background:none; border:none; padding:0; font:inherit; font-size:12px; font-weight:800; color:#8a857a; cursor:pointer; }
    .listing-intro-edit:hover { color:#e85d4a; }
    .listing-contact-btn { display:flex; align-items:center; justify-content:center; gap:7px; border-radius:11px; padding:12px 14px; font-size:14px; font-weight:950; text-decoration:none; font-family:inherit; cursor:pointer; }
    .listing-contact-btn.primary { border:none; background:#06c755; color:#fff; }
    .listing-contact-btn.primary.kakao { background:#fee500; color:#3a1d1d; }
    .listing-contact-btn.primary.relay { background:#e85d4a; color:#fff; border:none; }
    .listing-contact-btn.primary.email,
    .listing-contact-btn.primary.tel { background:#1a1a2e; color:#fff; }
    .listing-contact-btn.shop { border:1.5px solid #cfdcee; background:#fff; color:#35629e; }
    .listing-contact-btn.disabled { background:#f1eee8; color:#9a9488; border:none; cursor:default; }
    /* v619: 업자 매물 관리 모달 */
    .myobs-box { background:#fff; border-radius:14px; max-width:480px; width:92%; max-height:84vh; display:flex; flex-direction:column; overflow:hidden; }
    .myobs-head { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid #f0ede6; }
    .myobs-head h3 { margin:0; font-size:16px; font-weight:800; color:#1a1a2e; }
    .myobs-sub { font-size:12px; color:#777; line-height:1.5; padding:10px 16px 4px; }
    .myobs-list { padding:8px 12px 14px; overflow-y:auto; }
    .myobs-row { display:flex; align-items:center; gap:10px; padding:10px 4px; border-top:1px solid #f3efe8; }
    .myobs-row:first-child { border-top:none; }
    .myobs-row.down { opacity:0.6; }
    .myobs-info { flex:1; min-width:0; }
    .myobs-title { font-size:13px; color:#1a1a2e; display:flex; align-items:center; gap:5px; flex-wrap:wrap; }
    .myobs-meta { font-size:12px; color:#aaa; margin-top:3px; }
    .myobs-unit { font-size:12px; font-weight:700; color:#6a655c; background:#f1ede4; padding:1px 6px; border-radius:6px; } /* v635: 호실 */
    .myobs-ph { font-size:12px; color:#888; }
    .myobs-now-tag { font-size:11px; font-weight:800; color:#1a8a4a; background:#e3f5ea; border-radius:6px; padding:1px 6px; }
    .myobs-down-tag { font-size:11px; font-weight:800; color:#999; background:#eee; border-radius:6px; padding:1px 6px; }
    .myobs-exp-tag { font-size:11px; font-weight:800; color:#b8541a; background:#fbe9dc; border-radius:6px; padding:1px 6px; } /* v639: 자동 만료 */
    .myobs-soon-tag { font-size:11px; font-weight:800; color:#a07a00; background:#fbf3d6; border-radius:6px; padding:1px 6px; } /* v639: 곧 만료 */
    .myobs-actions { display:flex; flex-direction:column; gap:4px; flex:none; }
    .myobs-btn { font-size:12px; font-weight:700; font-family:inherit; border-radius:7px; padding:5px 9px; cursor:pointer; white-space:nowrap; border:1px solid #ddd; background:#fff; color:#555; }
    .myobs-btn.down { color:#b8860b; border-color:#e6cf9a; }
    .myobs-btn.restore { color:#1a8a4a; border-color:#aedcc0; }
    .myobs-btn.del { color:#c0392b; border-color:#e7b3ab; }
    /* v613: 관측치 입력폼 사진 미리보기/추가 */
    .obs-photos { display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
    .obs-photo { position:relative; width:56px; height:56px; border-radius:8px; overflow:hidden; }
    .obs-photo img { width:100%; height:100%; object-fit:cover; display:block; }
    .obs-photo-x { position:absolute; top:1px; right:1px; width:16px; height:16px; border-radius:50%; border:none; background:rgba(0,0,0,0.55); color:#fff; font-size:11px; line-height:16px; text-align:center; cursor:pointer; padding:0; }
    .obs-photo-add { display:inline-flex; align-items:center; gap:6px; padding:8px 12px; margin-top:8px; border:1px dashed #c9b3b9; border-radius:9px; background:#fff; color:#93233a; font-size:12px; font-weight:700; cursor:pointer; }
    .obs-src-note { font-size:12px; color:#888; background:#f7f5f0; border-radius:8px; padding:8px 10px; margin-top:8px; }
    /* v743: 매물 등록 폼 — 2열 필드 + 특장점 태그 토글 */
    .obsadd-bld { font-size:13px; font-weight:700; color:#93233a; margin-left:6px; }
    .obs-fieldrow { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
    .obs-fieldrow > div { min-width:0; }
    .official-edit-body .obs-check { display:flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:#333; margin-top:22px; white-space:nowrap; }
    .official-edit-body .obs-check input { width:auto; }
    .obs-feats { display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
    .obsfeat { font-size:12px; font-weight:700; color:#8a8178; background:#f4f1ea; border:1px solid #e6ded0; border-radius:8px; padding:5px 10px; cursor:pointer; user-select:none; }
    .obsfeat.on { color:#fff; background:#4577b0; border-color:#4577b0; }
    .obs-mininote { font-size:12px; color:#a29c8f; line-height:1.5; margin-top:4px; }
    /* v611: 문의 두 갈래 길(직접/대행) */
    /* v822: 건물패널 — 업체 대표 문의 + 미니홈피 바로가기 */
    .org-shop-links { display:flex; flex-direction:column; gap:8px; margin:12px 0 4px; }
    .org-shop-btn { display:flex; align-items:center; justify-content:center; gap:8px; font-size:16px; font-weight:900; border-radius:13px; padding:16px 18px; text-decoration:none; cursor:pointer; font-family:inherit; }
    .org-shop-btn.kakao { background:#fee500; color:#3a1d1d; }
    .org-shop-btn.line { background:#06c755; color:#fff; }
    .org-shop-btn.email { background:#1a1a2e; color:#fff; }
    .org-shop-btn.tel { background:#1a1a2e; color:#fff; }
    .org-shop-btn.shop { background:#fff; color:#35629e; border:1.5px solid #cfdcee; font-size:14px; font-weight:800; padding:11px 16px; }
    /* v630: 복수 중개 부동산 — 대표 강조 + 소개글, 나머지는 연한 카드 */
    /* v335: 운영자 이름 편집 버튼 */
    .name-edit-btn { font-size:12px; padding:1px 6px; margin-left:6px; border:1px solid #d8d8d0; border-radius:6px; background:#fff; color:#888; cursor:pointer; vertical-align:middle; }
    .name-edit-btn:hover { background:#f3f3ee; }
    .short-stay-badge {
      flex: 0 0 auto;
      padding: 4px 8px;
      border-radius: 999px;
      background: #ffe9e4;
      color: #e85d4a;
      font-size: 12px;
      font-weight: 900;
    }
    .short-stay-desc {
      margin: 0 0 10px;
      color: #666;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.55;
    }
    .short-stay-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 10px;
    }
    .short-stay-note {           /* v501: 운영자 입력 참고용 고지 */
      margin: 0;
      color: #b0867d;
      font-size: 11px;
      font-weight: 700;
      line-height: 1.5;
    }
    .brand-card {                /* v505: 셰어하우스 브랜드 한 줄 소개 */
      background: #f4f7fb;
      border: 1px solid #e3e9f2;
      border-radius: 14px;
      padding: 12px 14px;
      margin-bottom: 10px;
    }
    .brand-card-head {
      font-size: 13px;
      font-weight: 900;
      color: #33415c;
      margin-bottom: 5px;
    }
    .brand-card-desc {
      margin: 0;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.6;
      color: #5a6577;
    }
    .brand-card-link {       /* v518: 공식 홈페이지 링크 */
      display: inline-block;
      margin-top: 9px;
      font-size: 12px;
      font-weight: 800;
      color: #2f5fa6;
      text-decoration: none;
    }
    .short-stay-chip {
      padding: 5px 8px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid #f1d8d1;
      color: #555;
      font-size: 12px;
      font-weight: 900;
    }
    .short-stay-chip.positive {
      border-color: #d9eedc;
      background: #effaf0;
      color: #2c7a4b;
    }
    .short-stay-action {
      width: 100%;
      border: none;
      border-radius: 10px;
      background: #e85d4a;
      color: #fff;
      padding: 10px 12px;
      font-size: 13px;
      font-weight: 900;
      font-family: inherit;
      cursor: pointer;
    }
    .rrw-select, .rrw-input {
      width: 100%;
      border: 1.5px solid #e0e0da;
      border-radius: 10px;
      padding: 9px 12px;
      font-size: 13px;
      font-family: inherit;
      outline: none;
      background: #fff;
      box-sizing: border-box;
    }
    .rrw-select:focus, .rrw-input:focus { border-color: #e85d4a; }
    .rrw-textarea {
      width: 100%;
      border: 1.5px solid #e0e0da;
      border-radius: 10px;
      padding: 9px 12px;
      font-size: 13px;
      font-family: inherit;
      outline: none;
      resize: none;
      box-sizing: border-box;
      line-height: 1.5;
    }
    .rrw-textarea:focus { border-color: #e85d4a; }
    .rrw-photo-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
    .rrw-photo-btn {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 6px 12px;
      border-radius: 8px;
      background: #f5f5f0;
      border: none;
      font-size: 12px;
      font-weight: 600;
      color: #555;
      cursor: pointer;
      font-family: inherit;
    }
    .rrw-photo-preview { display: flex; gap: 6px; flex-wrap: wrap; }
    .rrw-photo-thumb {
      width: 56px; height: 56px;
      border-radius: 8px;
      object-fit: cover;
      border: 1px solid #e0e0da;
    }
    .rrw-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; }
    .rrw-nav-back {
      padding: 10px 18px;
      border-radius: 10px;
      border: 1.5px solid #e0e0da;
      background: #fff;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      color: #555;
    }
    .rrw-nav-next {
      flex: 1;
      padding: 11px;
      border-radius: 10px;
      border: none;
      background: #e85d4a;
      color: #fff;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      font-family: inherit;
    }
    .rrw-nav-next:disabled { background: #ccc; cursor: default; }

    /* ── v109: 건물 제보 모달 (v1190: 좌측하단 .bsub-fab 제거 — '우리집' 탭 점+툴팁으로 대체) ── */

    /* v287: 모바일 하단 탭바 — 데스크탑에선 숨김, 모바일에서만 표시 */
    .mobile-tabbar { display: none; }
    @media (max-width: 760px) {
      /* v349: 인스타식 플로팅 섬 하단바 */
      .mobile-tabbar {
        display: flex;
        position: fixed;
        left: 10px; right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom, 0));
        height: 56px;
        background: rgba(255,255,255,0.74);
        -webkit-backdrop-filter: saturate(180%) blur(16px);
        backdrop-filter: saturate(180%) blur(16px);
        border: 1px solid rgba(0,0,0,0.05);
        border-radius: 26px;
        box-shadow: 0 8px 28px rgba(0,0,0,0.16);
        z-index: 1200;
        padding: 0 4px;
      }
      .mtab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border: none;
        background: none;
        cursor: pointer;
        font-family: inherit;
        color: #aaa;
        padding: 6px 0 4px;
        border-radius: 18px;
      }
      .mtab svg { width: 24px; height: 24px; }
      .mtab span:not(.mtab-badge) { font-size: 12px; font-weight: 700; } /* v493: 배지 span은 라벨 폰트 규칙서 제외(숫자 정렬 깨짐 방지) */
      .mtab.active { color: #1a1a2e; }
      .mtab.active svg { stroke: #e85d4a; }
      /* 본문이 탭바에 가리지 않게 */
      .main { padding-bottom: 76px; }
    }

    /* v287: 모바일 전체화면 시트 (우리집·전체 탭) */
    .mobile-sheet {
      display: none;
      position: fixed;
      inset: 0;
      bottom: 0;
      background: #fafaf7;
      z-index: 3500; /* v337: 패널 위. v354: 더보기=전체화면(bottom 0, 플로팅 탭바까지 덮음, 자체 ✕로 닫음). 운영자(10000)·모달(9000)보다는 아래. */
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      touch-action: manipulation; /* v467: 시트(우리집·더보기)서 더블탭 확대 끔 */
    }
    .mobile-sheet.open { display: block; }
    .msheet-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px;
      background: #fff;
      border-bottom: 0.5px solid #eee;
    }
    .msheet-head h2 { font-size: 19px; font-weight: 900; margin: 0; color: #1a1a2e; }
    .msheet-body { padding: 16px; }
    .msheet-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      background: #fff;
      border: 0.5px solid #eee;
      border-radius: 12px;
      padding: 14px 16px;
      margin-bottom: 8px;
      font-size: 14px;
      font-weight: 700;
      color: #1a1a2e;
      font-family: inherit;
      cursor: pointer;
      text-align: left;
    }
    .msheet-row span { font-size: 12px; color: #999; font-weight: 500; }
    .msheet-section-label { font-size: 12px; font-weight: 800; color: #999; letter-spacing: 0.04em; margin: 14px 2px 8px; }
    /* v295: 마이페이지 접이식 섹션 */
    .msheet-acc-head { display: flex; align-items: center; justify-content: space-between; width: 100%; background: #fff; border: 0.5px solid #eee; border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: #1a1a2e; font-family: inherit; cursor: pointer; text-align: left; }
    .msheet-acc-meta { display: flex; align-items: center; gap: 8px; }
    .msheet-acc-count { font-size: 12px; font-weight: 700; color: #999; min-width: 16px; text-align: center; }
    .msheet-acc-arrow { display: inline-block; font-size: 12px; color: #bbb; transition: transform 0.18s; }
    .msheet-acc-head.open .msheet-acc-arrow { transform: rotate(180deg); }
    .msheet-acc-body { margin: -2px 0 8px; }
    .msheet-acc-body.collapsed { display: none; }
    .msheet-empty { color: #aaa; font-size: 13px; padding: 24px; text-align: center; line-height: 1.6; }
    .fav-bld-row { display: flex; align-items: stretch; gap: 8px; margin-bottom: 8px; }
    .fav-bld-main { flex: 1; min-width: 0; text-align: left; background: #fff; border: 0.5px solid #eee; border-radius: 12px; padding: 12px 14px; cursor: pointer; font-family: inherit; }
    .fav-bld-name { font-size: 14px; font-weight: 700; color: #1a1a2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .fav-bld-addr { font-size: 12px; color: #999; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .fav-bld-home { flex: 0 0 auto; border: 0.5px solid #e85d4a; background: #fff; color: #e85d4a; border-radius: 12px; padding: 0 12px; font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer; white-space: nowrap; }
    .fav-bld-home.on { background: #e85d4a; color: #fff; }
    .my-act-row { display: block; width: 100%; text-align: left; background: #fff; border: 0.5px solid #eee; border-radius: 12px; padding: 11px 14px; margin-bottom: 8px; cursor: pointer; font-family: inherit; }
    .my-act-text { font-size: 13px; color: #1a1a2e; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .my-act-date { font-size: 12px; color: #aaa; margin-top: 3px; }
    #bsubModal {
      display: none;
      position: fixed; inset: 0;
      z-index: 9000;
      background: rgba(0,0,0,.45);
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    #bsubModal.open { display: flex; }
    .bsub-box {
      background: #fff;
      border-radius: 16px;
      width: 100%;
      max-width: 420px;
      max-height: 90vh;
      overflow-y: auto;
      padding: 24px 20px 20px;
    }
    .bsub-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
    .bsub-title { font-size: 16px; font-weight: 800; color: #1a1a2e; }
    .bsub-sub { font-size: 12px; color: #888; margin-top: 3px; }
    .bsub-label { font-size: 12px; font-weight: 700; color: #333; margin: 14px 0 5px; }
    .bsub-input {
      width: 100%; border: 1.5px solid #e0e0da;
      border-radius: 10px; padding: 9px 12px;
      font-size: 13px; font-family: inherit;
      outline: none; box-sizing: border-box;
    }
    .bsub-input:focus { border-color: #e85d4a; }
    /* v589: 앱 내장 확인 모달 (브라우저 confirm 대체) */
    .ac-overlay { position: fixed; inset: 0; z-index: 9600; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 24px; }
    .ac-box { background: #fff; border-radius: 16px; width: 100%; max-width: 380px; padding: 22px 22px 18px; box-shadow: 0 12px 40px rgba(0,0,0,.28); font-family: inherit; }
    .ac-title { font-size: 16px; font-weight: 800; color: #1a1a2e; margin-bottom: 10px; }
    .ac-body { font-size: 14px; color: #555; line-height: 1.65; }
    .ac-hl { margin: 11px 0 4px; padding: 11px 13px; background: #f6f6f1; border-radius: 10px; font-weight: 700; color: #1a1a2e; font-size: 13px; word-break: break-all; line-height: 1.45; }
    .ac-addr { margin: 0 0 4px; padding: 0 2px; font-size: 12px; color: #777; word-break: break-all; line-height: 1.45; } /* v636: 중복 확인 주소줄 */
    .ac-note { margin-top: 10px; font-size: 12px; color: #e85d4a; font-weight: 700; }
    .ac-sub { margin-top: 7px; font-size: 12px; color: #999; line-height: 1.5; } /* v636: 다른 건물 안내 */
    .ac-actions { display: flex; gap: 8px; margin-top: 18px; }
    .ac-actions button { flex: 1; padding: 12px; border-radius: 12px; font-size: 14px; font-weight: 800; font-family: inherit; cursor: pointer; border: none; }
    .ac-cancel { background: #f0f0ea; color: #555; }
    .ac-cancel:hover { background: #e6e6df; }
    .ac-ok { background: #e85d4a; color: #fff; }
    .ac-ok:hover { background: #d44f3d; }
    .bsub-addr-row { display: flex; gap: 8px; }
    .bsub-addr-row .bsub-input { flex: 1; }
    .bsub-geo-btn {
      white-space: nowrap; border: 1.5px solid #e85d4a; border-radius: 10px;
      padding: 9px 12px; font-size: 12px; font-weight: 700; color: #e85d4a;
      background: #fff; cursor: pointer; font-family: inherit;
    }
    .bsub-geo-result { font-size: 12px; color: #666; margin-top: 5px; min-height: 16px; }
    .bsub-geo-result.ok { color: #4aad6e; }
    .bsub-geo-result.err { color: #e85d4a; }
    .bsub-select {
      width: 100%; border: 1.5px solid #e0e0da; border-radius: 10px;
      padding: 9px 12px; font-size: 13px; font-family: inherit;
      outline: none; background: #fff; box-sizing: border-box;
    }
    .bsub-photo-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:4px; }
    .bsub-photo-btn { cursor:pointer; font-size:12px; padding:6px 12px; border:1.5px dashed #ddd; border-radius:8px; color:#888; user-select:none; }
    .bsub-photo-preview { display:flex; gap:6px; flex-wrap:wrap; }
    .bsub-photo-thumb { position:relative; width:56px; height:56px; border-radius:6px; overflow:hidden; background:#f0f0f0; }
    .bsub-photo-thumb img { width:100%; height:100%; object-fit:cover; }
    .bsub-photo-thumb-remove { position:absolute; top:2px; right:2px; background:rgba(0,0,0,.55); color:#fff; border:none; border-radius:50%; width:18px; height:18px; font-size:11px; cursor:pointer; padding:0; line-height:18px; text-align:center; }
    /* v358: 등록 모달 지도 핀 */
    .bsub-geo-btn { margin-top: 10px; width: 100%; padding: 10px; border: 1.5px solid #e85d4a; background: #fff; color: #e85d4a; border-radius: 10px; font-size: 13px; font-weight: 800; font-family: inherit; cursor: pointer; }
    .bsub-geo-btn:hover { background: #fff5f3; }
    .bsub-map-wrap { margin-top: 10px; }
    .bsub-map { width: 100%; height: 200px; border-radius: 10px; overflow: hidden; background: #eee; }
    .bsub-map-hint { font-size: 12px; color: #888; margin-top: 6px; text-align: center; }
    .pin-edit-btn { color: #2563eb !important; border-color: #cdddfb; background: #f3f7ff !important; } /* v359: 위치 수정 버튼 */
    .bsub-actions { display: flex; gap: 8px; margin-top: 20px; }
    .bsub-submit {
      flex: 1; background: #e85d4a; color: #fff; border: none;
      border-radius: 10px; padding: 11px; font-size: 14px;
      font-weight: 800; cursor: pointer; font-family: inherit;
    }
    .bsub-cancel {
      background: #f5f5f0; color: #666; border: none;
      border-radius: 10px; padding: 11px 16px; font-size: 13px;
      cursor: pointer; font-family: inherit;
    }
    /* bsub 리뷰 섹션 */
    .bsub-review-section { margin-top: 2px; }
    .bsub-stars { display:flex; gap:2px; margin-bottom:8px; }
    .bsub-star { background:none; border:none; font-size:24px; color:#ddd; cursor:pointer; padding:2px 3px; line-height:1; transition:color .1s; }
    .bsub-star.active { color:#f5a623; }
    .bsub-period-row { display:flex; gap:6px; margin-bottom:8px; flex-wrap:wrap; }
    .bsub-period-btn { padding:5px 11px; border:1.5px solid #ddd; border-radius:20px; background:#fff; font-size:12px; cursor:pointer; font-family:inherit; color:#555; }
    .bsub-period-btn.active { border-color:#e85d4a; background:#e85d4a; color:#fff; }
    .bsub-review-textarea { width:100%; box-sizing:border-box; border:1.5px solid #e5e7eb; border-radius:8px; padding:8px 10px; font-size:13px; font-family:inherit; resize:vertical; outline:none; }
    .bsub-review-textarea:focus { border-color:#e85d4a; }
    /* 운영자 건물 카드 고도화 */
    .admin-bld-card { border: 1.5px solid #e0e0da; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
    /* v284: 건물 대표사진 */
    .cover-photos { margin: 10px 0; }
    .cover-photos.empty { margin: 8px 0; }
    /* v357: 대표사진 = 패널 폭 꽉 채운 캐러셀 + 화살표 */
    .cover-carousel { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #f0f0ea; }
    .cover-main { display: block; width: 100%; border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; }
    .cover-main-img { display: block; width: 100%; height: 260px; object-fit: cover; }
    .cover-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.42); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
    .cover-nav:hover { background: rgba(0,0,0,0.6); }
    .cover-nav.prev { left: 8px; }
    .cover-nav.next { right: 8px; }
    .cover-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,0.55); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 11px; }
    .cover-manage-btn { margin-top: 6px; font-size: 12px; color: #1a1a2e; background: #f1f0ea; border: none; border-radius: 8px; padding: 6px 12px; font-weight: 700; cursor: pointer; }
    .cover-mgr-box { background: #fff; border-radius: 14px; max-width: 460px; width: 92%; max-height: 86vh; overflow-y: auto; padding: 16px 18px; }
    .cover-mgr-head { display: flex; align-items: center; justify-content: space-between; }
    .cover-mgr-head h3 { font-size: 16px; margin: 0; }
    .cover-mgr-sub { font-size: 12px; color: #777; margin: 6px 0 10px; line-height: 1.5; }
    /* v612: 대표사진 직접 업로드 버튼 */
    .cover-mgr-upload { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; box-sizing: border-box; padding: 10px; margin-bottom: 12px; border: 1px dashed #c9b3b9; border-radius: 10px; background: #fff; color: #93233a; font-size: 13px; font-weight: 700; cursor: pointer; }
    .cover-mgr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    /* v614: 내 건물 목록 */
    .myorg-box { background:#fff; border-radius:14px; max-width:460px; width:92%; max-height:84vh; display:flex; flex-direction:column; overflow:hidden; }
    .myorg-head { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid #f0ede6; flex:0 0 auto; }
    .myorg-head h3 { margin:0; font-size:16px; font-weight:800; color:#1a1a2e; }
    .myorg-add { margin:12px 16px 0; padding:11px; border:1px dashed #c9b3b9; border-radius:10px; background:#fff; color:#93233a; font-size:13px; font-weight:800; font-family:inherit; cursor:pointer; }
    /* v715: 미니홈피 설정 모달 */
    .shopset-box #shopSetBody { padding:14px 16px 18px; overflow-y:auto; }
    .shopset-org { margin:12px 16px 0; padding:9px 10px; border:1px solid #e0dccf; border-radius:9px; font-size:13px; font-weight:700; font-family:inherit; color:#1a1a2e; background:#fff; width:calc(100% - 32px); }
    .shopset-hint { font-size:13px; color:#6f6a5e; line-height:1.6; background:#faf8f3; border:1px solid #efe9dd; border-radius:10px; padding:10px 12px; margin:0 0 14px; }
    .shopset-hint code { background:#efe9dd; border-radius:4px; padding:1px 5px; font-size:12px; }
    .shopset-l { display:block; font-size:13px; font-weight:800; color:#3a3a44; margin:12px 0 5px; }
    .shopset-sub { font-weight:600; color:#a29c8f; font-size:12px; }
    .shopset-box input[type=text], .shopset-box input[type=url], .shopset-box textarea { width:100%; box-sizing:border-box; border:1px solid #ddd7c9; border-radius:9px; padding:9px 11px; font-size:14px; font-family:inherit; color:#1a1a2e; background:#fff; }
    .shopset-box textarea { resize:vertical; line-height:1.5; }
    .shopset-keyrow { display:flex; align-items:center; border:1px solid #ddd7c9; border-radius:9px; overflow:hidden; }
    .shopset-keyrow span { flex:0 0 auto; font-size:13px; color:#8a857a; background:#f4f1ea; padding: 9px 11px; white-space:nowrap; }
    .shopset-keyrow input { border:none !important; border-radius:0 !important; padding-left:6px !important; }
    .shopset-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; }
    .shopset-preview { font-size:13px; font-weight:800; color:#c4452f; text-decoration:none; }
    .shopset-preview.off { color:#b5b0a3; font-weight:600; }
    .shopset-save { background:#2b5089; color:#fff; border:none; border-radius:10px; padding:11px 26px; font-size:14px; font-weight:800; font-family:inherit; cursor:pointer; }
    .shopset-save:disabled { opacity:.6; }
    /* v627: 업자 대량 등록 모달 */
    .opseed-box { background:#fff; border-radius:14px; max-width:560px; width:94%; max-height:88vh; display:flex; flex-direction:column; overflow:hidden; }
    .opseed-box .official-edit-head { padding:14px 16px; border-bottom:1px solid #f0ede6; }
    .opseed-body { padding:14px 16px; overflow-y:auto; }
    /* v629: 업자 모달 버튼 2×2 그리드(모바일서 글자 깨짐 방지) */
    .opseed-body .seed-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:12px 0; }
    .opseed-body .seed-actions .admin-org-btn { width:100%; box-sizing:border-box; padding:11px 8px; white-space:nowrap; text-align:center; }
    .opseed-intro-label { display:block; font-size:13px; font-weight:800; color:#444; margin:12px 0 5px; }
    .opseed-intro-label span { font-weight:500; color:#999; font-size:12px; }
    .opseed-body .opseed-intro { min-height:64px; }
    .myorg-list { padding:8px; overflow-y:auto; }
    .myorg-label { font-size:12px; font-weight:800; color:#999; padding:8px 6px 4px; }
    .myorg-row { display:flex; align-items:center; gap:10px; width:100%; text-align:left; background:#fff; border:none; border-radius:10px; padding:8px; cursor:pointer; font-family:inherit; }
    .myorg-row:hover { background:#faf8f3; }
    .myorg-thumb { width:52px; height:52px; border-radius:8px; object-fit:cover; flex:none; background:#f1eef0; }
    .myorg-thumb.empty { display:flex; align-items:center; justify-content:center; font-size:20px; color:#cbb4ba; }
    .myorg-info { flex:1; min-width:0; }
    .myorg-name { font-size:14px; font-weight:700; color:#1a1a2e; }
    .myorg-tag { font-size:11px; font-weight:800; border-radius:6px; padding:1px 6px; vertical-align:middle; }
    .myorg-dday { font-size:11px; font-weight:800; border-radius:6px; padding:1px 6px; margin-left:4px; vertical-align:middle; color:#3a7a52; background:#e3f5ea; } /* v640: 마감 카운트다운 */
    .myorg-dday.soon { color:#a07a00; background:#fbf3d6; }
    .myorg-dday.urgent { color:#c4452f; background:#fdeae6; }
    .myorg-dday.expired { color:#b8541a; background:#fbe9dc; }
    .myorg-tag.own { color:#16a34a; background:#e3f6e9; }
    .myorg-tag.ref { color:#e85d4a; background:#fdeae6; }
    .myorg-addr { font-size:12px; color:#999; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .myorg-addr-pending { color:#bbb; font-style:italic; } /* v641: 주소 역지오코딩 중 */
    .myorg-go { color:#ccc; font-size:19px; flex:none; }
    .cover-pick { position: relative; aspect-ratio: 4/3; border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #eee; }
    .cover-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .cover-pick.picked { border-color: #b83048; }
    .cover-pick-check { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,0.35); color: transparent; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
    .cover-pick.picked .cover-pick-check { background: #b83048; color: #fff; }
    /* v1304: 1번(대표)은 숫자 대신 '대표'를 넣어 폭이 넓다 — 알약 모양으로 */
    .cover-pick.first .cover-pick-check { width: auto; padding: 0 7px; border-radius: 11px; font-size: 11px; }
    /* '대표로' — 선택됐지만 1번이 아닌 사진에만. 좌하단은 출처 배지(cover-pick-src)가 쓰므로 좌상단. */
    .cover-pick-make {
      position: absolute; left: 4px; top: 4px; padding: 3px 8px; border-radius: 999px;
      background: rgba(0,0,0,0.62); color: #fff; font-size: 11px; font-weight: 700;
      line-height: 1.5; cursor: pointer; user-select: none;
    }
    .cover-pick-make:hover { background: #b83048; }
    /* v1238: 후보 사진의 출처 — 업체 방 사진과 거주자 리뷰 사진은 대표로 쓸 때 판단이 다르다.
       선택한 것은 체크(✓) 대신 순서 숫자를 보여준다(첫 번째가 대표사진). */
    .cover-pick-src {
      position: absolute; left: 4px; bottom: 4px;
      max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
      background: rgba(0,0,0,.62); color: #fff; border-radius: 6px;
      padding: 2px 6px; font-size: 10px; font-weight: 800; letter-spacing: -.2px;
    }
    .cover-mgr-actions { display: flex; gap: 8px; margin-top: 14px; }
    .cover-mgr-actions .official-cta { margin-top: 0; }
    /* v825: 업체 정보 카드 — 깔끔한 요약(핑크→중립 흰카드). 거주자 리뷰와 시각·의미 분리는 라벨로. */
    .official-card { background: #fff; border: 1px solid #e7ebf0; border-radius: 14px; padding: 14px 16px; margin: 12px 0; }
    .official-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .official-badge { font-size: 12px; font-weight: 700; color: #8a8f9a; background: #f2f4f7; padding: 4px 10px; border-radius: 20px; }
    .official-badge .ico { width: 1em; height: 1em; vertical-align: -.14em; margin-right: 2px; }
    .official-badge-share { font-size: 12px; font-weight: 800; color: #2f6b4f; background: #e7f3ec; }
    .listing-now-title .ico { width: 1em; height: 1em; vertical-align: -.13em; margin-right: 3px; color: #3a56d4; }
    .official-edit-btn { font-size: 12px; color: #5a6472; background: none; border: 1px solid #dfe3ea; border-radius: 8px; padding: 4px 12px; cursor: pointer; font-family: inherit; }
    .official-brandrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
    .official-brand { font-size: 16px; font-weight: 800; color: #1a1a2e; }
    .official-brand:empty { display: none; }
    .official-metapills { display: inline-flex; gap: 5px; }
    .official-pill { font-size: 12px; font-weight: 700; color: #5a6472; background: #f2f4f7; border-radius: 999px; padding: 3px 10px; }
    .official-price { font-size: 22px; font-weight: 900; color: #1a1a2e; margin: 2px 0; }
    .official-price-note { font-size: 12px; font-weight: 600; color: #9aa0ae; }
    .official-line { font-size: 13px; color: #5a6472; margin-top: 3px; }

    /* v1121: 공실 관측치 표시. 오크하우스 172동 중 79%가 만실이라, 만실에 배지를 달면
       지도·패널이 죽어 보인다 → 빈방 있는 곳만 눈에 띄게(초록), 만실은 CTA 위에 조용히(회색). */
    .vac-badge {
      display: inline-block; vertical-align: 4px; margin-left: 8px;
      font-size: 12px; font-weight: 800; color: #1f7a4d;
      background: #e8f6ee; border: 1px solid #bfe6cf; border-radius: 999px; padding: 3px 9px;
      white-space: nowrap;
    }
    .vac-full {
      display: flex; flex-direction: column; gap: 1px;
      font-size: 12px; font-weight: 700; color: #8a8f9a;
      margin: 10px 0 -2px;
    }
    .vac-full-sub { font-size: 12px; font-weight: 500; color: #a8adb8; }
    /* v1001: 13px→12px. 셰어 설비 desc가 특징칩(.official-feat 11.5px)보다 커서 튀어 보였음(사용자 지적).
       칩과 비슷한 크기로 맞추되 정보 블록이라 0.5px만 크게. 줄간격도 1.6→1.5로 조여 줄밀림 완화. */
    .official-desc { font-size: 12px; line-height: 1.5; color: #3d4350; margin: 10px 0 0; white-space: pre-wrap; }
    .official-rooms { display: grid; gap: 4px; margin-top: 8px; }
    .official-room { display: flex; justify-content: space-between; font-size: 12px; background: #fff; border-radius: 8px; padding: 5px 9px; }
    .official-room-type { font-weight: 700; color: #1a1a2e; }
    .official-room-price { color: #b83048; font-weight: 700; }
    /* v608: 셰어 방 — 공식 카드 표시(사진 썸네일 + 호실 + 공실 배지) */
    .of-rooms { display: grid; gap: 6px; margin-top: 8px; }
    .of-room { display: flex; gap: 9px; align-items: center; background: #f7f8fa; border-radius: 10px; padding: 6px; }
    .of-room-thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex: none; background: #eceff3; }
    .of-room-thumb.empty { display: flex; align-items: center; justify-content: center; font-size: 18px; color: #b8bfcb; }
    /* v903: 방 카드가 미니홈피 상세로 가는 클릭 대상 */
    .of-room.clickable { cursor: pointer; transition: background .12s, box-shadow .12s; }
    .of-room.clickable:hover { background: #eef1f6; box-shadow: 0 3px 10px rgba(31,61,52,.1); }
    .of-room-more { margin-left: auto; align-self: center; font-size: 12px; font-weight: 800; color: #2b5089; white-space: nowrap; padding-right: 4px; }
    .of-room-more:empty { display: none; }
    .of-room-info { flex: 1; min-width: 0; }
    .of-room-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .of-room-no { font-weight: 800; color: #1a1a2e; font-size: 13px; }
    .of-room-type { font-size: 12px; color: #555; }
    .of-room-vacant { font-size: 11px; font-weight: 800; color: #1a8a4a; background: #e3f5ea; border-radius: 20px; padding: 2px 7px; }
    .of-room-occupied { font-size: 11px; font-weight: 700; color: #999; background: #f0f0f0; border-radius: 20px; padding: 2px 7px; }
    /* v1241: 공실을 단정할 수 없는 방(업체 홈페이지에서 옮겨온 값) — 초록(공실)과 색으로 구분한다 */
    .of-room-unverified { font-size: 11px; font-weight: 700; color: #7a8494; background: #eef1f5; border-radius: 20px; padding: 2px 7px; }
    /* v1241: 가격을 제목 줄 우측으로 — 아랫줄에 두면 카드가 64px씩 쌓여 세로로만 길었다.
       ⚠️margin-left:auto는 좁은 폭에서 줄바꿈을 막으므로(v1224b 사고) 좁을 땐 해제한다. */
    .of-room-price { color: #1a1a2e; font-weight: 800; font-size: 13px; margin-left: auto; padding-left: 8px; }
    @media (max-width: 420px) { .of-room-price { margin-left: 0; padding-left: 0; } }
    /* 방에 사진이 하나도 없으면 썸네일 열이 빠지므로 좌우 여백을 본문 카드처럼 준다 */
    .of-rooms.no-thumb .of-room { padding: 8px 10px; }
    /* v910: 입주중(만실) 방 — 월세 매물처럼 글자에 취소선으로 '지금 못 들어감'을 확실히 인지 */
    .of-room.occupied .of-room-no,
    .of-room.occupied .of-room-type,
    .of-room.occupied .of-room-price { text-decoration: line-through; text-decoration-color: #b0392a; text-decoration-thickness: 2px; color: #a8a29a; }
    .of-room.occupied .of-room-thumb { filter: grayscale(1); opacity: .6; }
    .of-room-sub { font-size: 12px; color: #999; }
    /* v608: 셰어 방 — 편집기 */
    .of-room-edit { border: 1px solid #eadfe2; border-radius: 10px; padding: 10px; margin-top: 8px; background: #fcfafb; }
    .of-room-edit-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
    .of-room-edit-title { font-size: 12px; font-weight: 800; color: #93233a; }
    .of-room-del { font-size: 12px; color: #b83048; background: none; border: 1px solid #e0b8c0; border-radius: 7px; padding: 2px 8px; cursor: pointer; font-family: inherit; }
    .of-room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
    .of-room-grid input, .of-room-grid select, .of-room-grid textarea { padding: 7px 8px; border: 1px solid #ddd; border-radius: 7px; font-size: 12px; font-family: inherit; box-sizing: border-box; width: 100%; }
    .of-room-grid textarea { grid-column: 1 / -1; min-height: 64px; resize: vertical; line-height: 1.5; }
    .of-room-photos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .of-room-photo { position: relative; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; }
    .of-room-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .of-room-photo.cover { outline: 2px solid #b83048; outline-offset: -2px; }
    .of-room-photo-x { position: absolute; top: 1px; right: 1px; width: 16px; height: 16px; border-radius: 50%; border: none; background: rgba(0,0,0,0.55); color: #fff; font-size: 11px; line-height: 16px; cursor: pointer; padding: 0; text-align: center; }
    .of-room-cover-tag { position: absolute; bottom: 0; left: 0; right: 0; font-size: 11px; text-align: center; background: #b83048; color: #fff; font-weight: 800; cursor: pointer; }
    .of-room-photo:not(.cover) .of-room-cover-tag { background: rgba(0,0,0,0.45); }
    .of-room-photo-add { width: 56px; height: 56px; border: 1px dashed #c9b3b9; border-radius: 8px; background: #fff; color: #b83048; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
    .of-room-vacant-toggle { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 2px; color: #333; white-space: nowrap; }
    .of-room-vacant-toggle input[type=checkbox] { width: auto; flex: none; margin: 0; }
    .of-room-add-btn { width: 100%; margin-top: 8px; padding: 9px; border: 1px dashed #c9b3b9; border-radius: 9px; background: #fff; color: #93233a; font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; }
    /* v1036: 셰어하우스 조건표(listing.share). 전엔 desc 평문 한 덩어리라 위계가 없었다 —
       라벨 컬럼으로 '무슨 항목인지'를 분리하고, 입주가 막히는 제약만 아래 블록으로 올린다. */
    .share-spec { margin-top: 10px; }
    .share-row { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid #f0f2f5; }
    .share-row:first-child { border-top: 0; padding-top: 0; }
    .share-k { font-size: 12px; color: #8a92a0; line-height: 1.45; }
    .share-v { font-size: 13px; color: #2c3340; line-height: 1.5; }
    /* v1354: 내람 영상 링크 — 썸네일 없이 텍스트 한 줄(패널을 무겁게 하지 않는다) */
    .share-video { font-size: 13px; font-weight: 700; color: #2b5089; text-decoration: none; }
    .share-video:hover { text-decoration: underline; }
    .share-off { color: #a6adb9; }  /* '불가·유료·없음' — 있는 것과 구분 */
    .share-limit { display: flex; gap: 7px; align-items: flex-start; margin-top: 10px; padding: 9px 11px; border-radius: 9px; background: #fff3e0; color: #e65100; font-size: 12px; line-height: 1.45; }
    .share-limit .ico { width: 15px; height: 15px; flex: none; margin-top: 1px; }
    @media (max-width: 420px) { /* 좁으면 라벨을 값 위로 */
      .share-row { grid-template-columns: 1fr; gap: 2px; }
    }
    /* v1067: 초기비용 — 오크하우스·히다마리 강점(사례금·중개수수료 없음)을 부드러운 초록 카드로 */
    .init-cost { margin-top: 12px; padding: 12px 14px; border-radius: 11px; background: #f1f7f2; border: 1px solid #e0ecdf; }
    .init-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; }
    .init-head b { font-size: 13px; color: #2c3340; }
    .init-src { font-size: 12px; color: #86929a; }
    /* v1241: 169px 2열 그리드였는데 내용은 '보증금 3만엔'(60px)뿐이라 셀마다 90px가 비어
       키와 값이 양끝으로 벌어졌다(패널 폭 461px에서 드러남). 항목이 3~4개짜리 짧은 사실이라
       표로 세울 게 아니라 붙여써서 한 덩어리로 읽히게 한다. */
    .init-rows { display: flex; flex-wrap: wrap; gap: 3px 16px; }
    .init-row { display: inline-flex; align-items: baseline; gap: 6px; padding: 2px 0; }
    .init-k { font-size: 12px; color: #6a7580; }
    .init-v { font-size: 13px; color: #2c3340; font-weight: 600; }
    .init-free { color: #2e8b57; font-weight: 700; }
    @media (max-width: 420px) { .init-rows { gap: 3px 12px; } }
    .official-feats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f2f5; }
    .official-feat { font-size: 12px; color: #5a6472; background: #f2f4f7; border-radius: 7px; padding: 4px 9px; }
    .official-cta { width: 100%; margin-top: 10px; padding: 9px; border: none; border-radius: 10px; background: #b83048; color: #fff; font-size: 13px; font-weight: 800; font-family: inherit; cursor: pointer; }
    /* v902: 셰어하우스 미니홈피 문의 버튼(공식 카드 하단) */
    .official-contact-slot:empty { display: none; }
    .official-contact-btn { display: block; margin-top: 14px; padding: 12px; border-radius: 11px; background: #2b5089; color: #fff; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; }
    .official-contact-btn:hover { background: #3a6aa8; }
    /* v1079: 오크하우스 등 '이 집 자세히 보기' 링크 — 회색 공용버튼(구글맵과 공유) 대신 전용 CTA.
       아웃라인 그린 → 호버 시 채워짐. 문의(채운 그린)와 위계 구분·공존, 화살표가 살짝 밀린다. */
    .official-branch-btn { display: flex; align-items: center; justify-content: center; gap: 7px;
      margin-top: 12px; padding: 12px 14px; border-radius: 11px;
      background: #fff; border: 1.5px solid #2b5089; color: #2b5089;
      font-size: 14px; font-weight: 800; font-family: inherit; text-decoration: none;
      transition: background .16s ease, color .16s ease; }
    .official-branch-btn .obb-arrow { transition: transform .16s ease; font-weight: 700; }
    /* v1128: 흰→딥그린 채움은 너무 격했음(사용자 지적). 글자·테두리는 유지하고 배경만 옅은 그린 틴트 */
    .official-branch-btn:hover { background: #edf3fb; color: #2b5089; }
    .official-branch-btn:hover .obb-arrow { transform: translateX(3px); }
    .official-branch-btn:active { background: #e2ece6; }
    /* v1083: 어필리에이트 물건 옆 'ⓘ' — 제휴 혜택 안내 팝업 트리거(금색=보상 뉘앙스, CTA와 구분) */
    .official-branch-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
    .official-branch-row .official-branch-btn { margin-top: 0; flex: 1; }
    /* v1346: 원 = 버튼 테두리(옆 '자세히' 버튼과 같은 1.5px #2b5089), 글리프 = 점+둥근 막대 SVG.
       검정 PNG는 옆 버튼과 톤이 안 맞았다(사용자 지적). 크기는 34px 유지. */
    .pao-info-btn { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
      border: 1.5px solid #2b5089; background: #fff; color: #2b5089;
      cursor: pointer; line-height: 0; padding: 0;
      display: flex; align-items: center; justify-content: center; }
    .pao-info-btn svg { width: 19px; height: 19px; display: block; }
    .pao-info-btn:hover { background: #edf3fb; }  /* 옆 버튼 hover와 동일 */
    .pao-info-btn:active { background: #e2ece6; }
    .pao-info-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.42);
      display: flex; align-items: center; justify-content: center; z-index: 4000; padding: 20px; }
    .pao-info-box { position: relative; background: #fff; border-radius: 16px; max-width: 360px; width: 100%;
      padding: 22px 20px 20px; box-shadow: 0 14px 44px rgba(0,0,0,.22); }
    .pao-info-close { position: absolute; top: 9px; right: 12px; border: none; background: none;
      font-size: 17px; color: #9a9a95; cursor: pointer; line-height: 1; }
    .pao-info-h { font-size: 16px; font-weight: 800; color: #2b5089; margin-bottom: 10px; }
    .pao-info-p { font-size: 14px; line-height: 1.62; color: #333; margin-bottom: 12px; }
    .pao-info-p b { color: #2b5089; }
    .pao-info-note { font-size: 13px; line-height: 1.55; color: #7a7a72;
      background: #f7f6f2; border-radius: 9px; padding: 9px 11px; }
    .pao-info-note b { color: #8a6d1f; }
    /* v1095: 크로스하우스 추천코드 표시 + 복사 */
    .pao-code-row { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; }
    .pao-code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 19px; font-weight: 800;
      letter-spacing: 3px; color: #2b5089; background: #f4e9c4; border: 1.5px dashed #d8c98f;
      border-radius: 9px; padding: 7px 16px; }
    .pao-code-copy { border: 1.5px solid #2b5089; background: #fff; color: #2b5089; border-radius: 8px;
      padding: 8px 14px; font-weight: 800; font-size: 13px; cursor: pointer; font-family: inherit; }
    .pao-code-copy:hover { background: #2b5089; color: #fff; }
    /* v1096: 크로스하우스 팝업 안의 액션 버튼 스택(원클릭 신청 + 지점 이동) */
    .pao-actions { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; }
    .pao-actions .official-contact-btn { margin-top: 0; }
    .pao-actions .official-branch-btn { margin-top: 0; }
    /* v1099: PAO이용가능물건 배지 재현 — 오크하우스 페이지서 찾을 표시 안내 */
    .pao-plan-hint { text-align: center; margin: 2px 0 12px; }
    .pao-plan-cap { font-size: 12px; color: #8a6d1f; margin-bottom: 7px; }
    .pao-plan-img { width: 100%; display: block; border-radius: 10px; border: 1px solid #ececf0; }
    /* v1095: 문의폼 성별 라디오(크로스하우스) */
    .inq-radio-row { display: flex; gap: 18px; margin: 2px 0 4px; }
    .inq-radio { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #333; cursor: pointer; }
    .ch-apply-btn { background: #2b5089; border: none; font-family: inherit; cursor: pointer; }
    /* v1101: 크로스하우스 카드 CTA — 원클릭 신청(채움) + 자세히(아웃라인)를 한 줄에. 버튼 기본 테두리 제거 */
    .ch-apply-inline { flex: 1 1 0; min-width: 0; padding: 12px 8px; border: none; border-radius: 11px;
      background: #2b5089; color: #fff; font-weight: 800; font-size: 13.5px; font-family: inherit;
      cursor: pointer; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
    .ch-apply-inline:hover { background: #3a6aa8; }
    .official-branch-row .ch-detail-inline { flex: 0 0 auto; padding-left: 13px; padding-right: 13px; }
    /* v1127: 원클릭 신청·자세히 두 버튼 통일 + 살짝 얇게.
       자세히(.official-branch-btn)는 1.5px 테두리로 3px 더 높고 글씨도 14px(신청 13.5px)라
       더 크고 위쪽에 있어 보였다. 같은 padding·글씨·테두리폭(border-box)으로 높이·글자 정렬 일치.
       신청 버튼엔 투명 1.5px 테두리를 줘 테두리 분 높이를 맞춘다(채움색은 border-box라 그대로 보임). */
    .official-branch-row .ch-apply-inline,
    .official-branch-row .official-branch-btn {
      padding-top: 9px; padding-bottom: 9px; margin-top: 0;
      font-size: 14px; line-height: 1.25;
      border-width: 1.5px; border-style: solid;
    }
    .official-branch-row .ch-apply-inline { border-color: transparent; }
    .official-edit-box { background: #fff; border-radius: 14px; max-width: 440px; width: 92%; max-height: 86vh; overflow-y: auto; padding: 16px 18px; }
    .official-edit-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
    .official-edit-head h3 { font-size: 16px; margin: 0; }
    .official-edit-body { display: grid; gap: 4px; }
    .official-edit-body label { font-size: 12px; font-weight: 700; color: #555; margin-top: 8px; }
    .official-edit-body input:not([type=checkbox]), .official-edit-body select, .official-edit-body textarea { padding: 8px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 13px; font-family: inherit; box-sizing: border-box; width: 100%; }
    .official-edit-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 6px; }
    .official-edit-body .official-edit-check { font-size: 12px; font-weight: 500; color: #333; margin-top: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
    .official-edit-check input[type=checkbox] { width: auto; margin: 0; flex: none; }
    .official-edit-actions { display: flex; gap: 8px; margin-top: 14px; }
    .official-edit-actions .official-cta { margin-top: 0; width: auto; flex: 1; }
    .official-edit-cancel { padding: 9px 16px; border: 1px solid #ddd; border-radius: 10px; background: #fff; font-size: 13px; font-family: inherit; cursor: pointer; flex: none; white-space: nowrap; }
    .admin-section-label { font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.05em; padding: 8px 0 4px; margin-top: 4px; }
    /* v275: 업체 관리 */
    .admin-org-create { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
    .admin-org-input { padding: 7px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 12px; font-family: inherit; }
    .admin-org-create .admin-org-input:first-child { flex: 1; min-width: 160px; }
    .admin-org-btn { padding: 7px 14px; border: none; border-radius: 8px; background: #1a1a2e; color: #fff; font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer; }
    /* v399: 셰어하우스 일괄 시드 */
    .seed-help { font-size: 12px; color: #777; line-height: 1.6; margin: 2px 0 8px; }
    .seed-textarea { width: 100%; min-height: 120px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #ddd; border-radius: 10px; font-size: 13px; font-family: inherit; line-height: 1.6; resize: vertical; }
    .seed-actions { display: flex; gap: 8px; margin: 10px 0; }
    .seed-submit:disabled { opacity: 0.4; cursor: not-allowed; }
    .seed-summary { font-size: 12px; font-weight: 700; color: #1a1a2e; margin: 8px 0 6px; }
    .seed-row { font-size: 12px; color: #444; padding: 5px 0; border-bottom: 1px solid #f0efe9; }
    .seed-row span { color: #999; }
    .seed-row-bad { color: #b83048; }
    .seed-dup { color: #b86818 !important; margin-left: 6px; font-weight: 700; }
    /* v636: 대량등록 중복의심 줄 — 기존 건물 정보 + 연결/새로 선택 */
    .seed-row-dup { background: #fffaf2; border-radius: 8px; padding: 7px 9px; border-bottom: none; }
    .seed-dup-info { font-size: 12px; color: #8a6d3b; margin-top: 5px; line-height: 1.4; }
    .seed-dup-info span { color: #a98; }
    .seed-dup-choice { display: flex; gap: 6px; margin-top: 6px; }
    .sdc-btn { flex: 1; font-size: 12px; font-weight: 700; font-family: inherit; padding: 6px 4px; border-radius: 8px; border: 1.5px solid #e6e0d4; background: #fff; color: #8a857c; cursor: pointer; }
    .sdc-btn.on { border-color: #e85d4a; background: #fff1ee; color: #c4452f; }
    /* v446: 동네 테마 관리(운영자) */
    .atag-search { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #ddd; border-radius: 10px; font-size: 13px; font-family: inherit; margin: 4px 0 4px; }
    .atag-card { border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
    .atag-name { font-size: 13px; color: #1a1a2e; margin-bottom: 7px; }
    .atag-name span { color: #999; font-size: 12px; margin-left: 4px; }
    .atag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
    .atag-chip { padding: 5px 9px; border: 1px solid #ddd; border-radius: 999px; background: #fff; color: #888; font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer; line-height: 1.2; }
    .atag-chip.on { background: #1a1a2e; border-color: #1a1a2e; color: #fff; }
    .atag-desc { width: 100%; box-sizing: border-box; padding: 7px 10px; border: 1px solid #e2e2dc; border-radius: 8px; font-size: 12px; font-family: inherit; margin-bottom: 8px; }
    .atag-foot { display: flex; justify-content: flex-end; }
    /* v448: 테마 관리 동네 = 이름 버튼 목록(누르면 상세 모달) */
    .atag-area-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
    .atag-area-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #ddd; border-radius: 999px; background: #fff; color: #555; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; }
    .atag-area-btn.on { background: #eef0ff; border-color: #c3c9f5; color: #1a1a2e; }
    .atag-area-cnt { background: #1a1a2e; color: #fff; font-size: 11px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
    .admin-org-card { border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
    .admin-org-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
    .admin-org-name { font-weight: 700; font-size: 14px; color: #1a1a2e; }
    .admin-org-meta { font-size: 12px; color: #888; }
    .admin-org-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
    .admin-org-actions .admin-org-uid { flex: 1; min-width: 140px; }
    .admin-org-members { display: grid; gap: 4px; }
    .admin-org-member { display: flex; align-items: center; gap: 8px; font-size: 12px; background: #f7f7f4; border-radius: 6px; padding: 4px 8px; }
    .admin-org-member-id { font-family: monospace; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
    .admin-org-member-role { color: #1a1a2e; font-weight: 700; }
    .admin-org-member-del { border: none; background: none; color: #c0392b; font-size: 12px; cursor: pointer; }
    .admin-org-empty { font-size: 12px; color: #aaa; padding: 2px 0; }
    .admin-bld-org { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
    .admin-bld-org-label { font-size: 12px; color: #888; }
    .admin-bld-org .admin-org-input { flex: 1; }
    /* v989: 중개 업체가 2곳 이상일 때 목록(순번·이름·대표배지·개별삭제). 1곳이면 select에 이미 보여 생략. */
    .admin-ref-list { margin-top: 4px; display: flex; flex-direction: column; gap: 3px; }
    .admin-ref-row { display: flex; align-items: center; gap: 6px; padding: 4px 8px; background: #f4f2ec; border-radius: 6px; font-size: 12px; }
    .admin-ref-no { color: #aaa; font-weight: 700; min-width: 9px; }
    .admin-ref-name { flex: 1; color: #333; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .admin-ref-lead { background: #3a7a52; color: #fff; border-radius: 4px; padding: 1px 5px; font-size: 11px; font-weight: 700; flex: none; }
    .admin-ref-x { border: none; background: none; color: #c0392b; font-weight: 800; font-size: 12px; cursor: pointer; padding: 0 2px; flex: none; }
    .admin-ref-x:disabled { opacity: .4; cursor: default; }
    .admin-bld-name { font-weight: 700; font-size: 14px; color: #1a1a2e; }
    .admin-bld-addr { font-size: 12px; color: #666; margin-top: 2px; }
    .admin-bld-meta { font-size: 12px; color: #999; margin-top: 4px; }
    .admin-bld-photo-grid { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
    .admin-bld-photo { width:68px; height:68px; border-radius:7px; object-fit:cover; border:1px solid #eee; cursor:pointer; }
    .admin-bld-maps-btn { display:inline-flex; align-items:center; gap:4px; margin-top:6px; padding:4px 10px; background:#f0f7ff; color:#1a73e8; border-radius:6px; font-size:12px; border:1px solid #c8deff; cursor:pointer; font-family:inherit; text-decoration:none; }
    .admin-bld-review { background:#f9f9f9; border-radius:8px; padding:8px 10px; margin-top:8px; }
    .admin-bld-review-rating { color:#f5a623; font-size:13px; margin-bottom:3px; }
    .admin-bld-review-period { font-size:11px; color:#aaa; margin-bottom:4px; }
    .admin-bld-review-text { font-size:12px; color:#333; line-height:1.5; }
    .admin-bld-reject-row { margin-top:6px; display:none; }
    .admin-bld-reject-row.visible { display:block; }
    .admin-bld-reject-input { width:100%; box-sizing:border-box; border:1.5px solid #e5e7eb; border-radius:6px; padding:6px 8px; font-size:12px; font-family:inherit; margin-bottom:4px; }
    .admin-bld-reject-confirm { background:#e85d4a; color:#fff; border:none; border-radius:6px; padding:5px 12px; font-size:12px; font-weight:700; cursor:pointer; font-family:inherit; }
    .admin-bld-actions { display: flex; gap: 8px; margin-top: 10px; align-items:center; }
    .admin-bld-approve { background: #4aad6e; color: #fff; border: none; border-radius: 8px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
    .admin-bld-reject  { background: #f5f5f0; color: #e85d4a; border: 1.5px solid #e85d4a; border-radius: 8px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
    .admin-bld-goto    { background: #f0f4ff; color: #3a3fa0; border: 1.5px solid #c0c8f0; border-radius: 8px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
    .admin-bld-approve { background: #eef8ee; color: #1e7e38; border: 1.5px solid #a8d8b0; border-radius: 8px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
    .gmap-building-marker.pending-building { --pin-color: #f0a500; }

    .jibu-toast {
      position: fixed;
      right: 18px;
      bottom: 18px;
      z-index: 10000;
      background: #1a1a2e;
      color: #fff;
      padding: 10px 14px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 700;
      box-shadow: 0 8px 24px rgba(0,0,0,0.18);
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .18s ease, transform .18s ease;
      pointer-events: none;
    }
    .jibu-toast.show {
      opacity: 1;
      transform: translateY(0);
    }

  
    #jibuDebugBadge { display: none !important; }

    /* v102: 행정구역 패널 내부 스타일 */
    .chomei-panel-header-block {
      padding: 18px 16px 12px;
      border-bottom: 1px solid #f0f0ec;
    }
    /* v364: 이름·한자·구를 한 줄 인라인 + 길면 줄바꿈(패널 가로 넘침 방지) */
    .chomei-panel-name-row {
      display: flex;
      align-items: center;   /* v1224b: 칩이 이름 행에 들어오므로 baseline→center */
      flex-wrap: wrap;
      gap: 6px 8px;
    }
    .chomei-panel-name-ko {
      font-size: 22px;
      font-weight: 800;
      color: #1a1a2e;
      line-height: 1.2;
    }
    .chomei-panel-name-ja {
      font-size: 14px;
      color: #888;
    }
    .chomei-panel-name-ward {
      font-size: 12px;
      color: #aaa;
    }
    .chomei-panel-meta {
      font-size: 12px;
      color: #666;
      margin-top: 6px;
    }
    /* v1224b: 생활권 칩 — 이름 행 오른쪽에 붙는 유일한 버튼.
       옅은 파랑(#eef2f8+테두리)은 '눌리는 것'으로 안 읽혔다 → 채운 네이비로.
       지도 지역핀 카드·클러스터(#35629e 계열)와 같은 색 언어를 쓴다. */
    /* v1225: 채운 네이비 → 흰 배경 + 네이비 외곽선·글자(사용자 지시).
       지도 건물핀(흰 알약 + 네이비 테두리)과 같은 언어가 되고, 이름 옆에서 무게가 덜 눌린다. */
    .chomei-area-chip {
      margin-left: auto; flex-shrink: 0;
      display: inline-flex; align-items: center; gap: 5px;
      padding: 6px 11px; border-radius: 999px;
      background: #fff; border: 1.5px solid #35629e;
      color: #35629e; font-size: 12px; font-weight: 800; text-decoration: none;
    }
    /* v1228: hover에서 흰↔네이비로 완전히 뒤집히니 변화가 격했다 → 옅은 틴트 + 테두리만 진해진다. */
    .chomei-area-chip:hover { background: #f1f5fb; border-color: #2b5089; color: #2b5089; }
    .chomei-area-chip .cac-arrow { opacity: .8; }
    /* ⚠️v1224c: 390px에서 칩이 화면 밖으로 밀려났다(이름+일본어명+칩이 한 줄에 안 들어감).
       margin-left:auto가 남는 공간을 다 먹어 줄바꿈이 안 됐다 → 좁은 폭에서는 다음 줄로 내리고
       왼쪽 정렬한다. flex-wrap:wrap이 이미 켜져 있어 auto만 풀면 자연스럽게 내려간다. */
    @media (max-width: 520px) {
      .chomei-area-chip { margin-left: 0; }
    }

    .chomei-panel-desc {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
      margin-top: 10px;
    }
    /* v1211: 생활권 상세(정비본 285곳)로 보내는 버튼 — 설명을 베끼는 대신 제자리로.
       v1214: 라벨을 '근처 생활권'으로 낮췄다(중심점 최근접이라 큰 동네에선 소속이 어긋난다). */
    .chomei-area-link {
      display: flex; align-items: center; gap: 7px;
      margin-top: 12px; padding: 12px 14px;
      background: #eef2f8; border: 1px solid #dae5f2; border-radius: 11px;
      color: #2b5089; font-size: 13px; font-weight: 800; text-decoration: none;
    }
    .chomei-area-link .ico { width: 16px; height: 16px; flex-shrink: 0; }
    .chomei-area-link b { font-weight: 800; color: #5f6a78; }
    .chomei-area-link .cal-arrow { margin-left: auto; opacity: .7; }
    .chomei-area-link:hover { background: #e3ebf7; }
    /* v208: 행정구역(구·시) 설명 블록 */
    /* v1224: 구 정보 접기 — 町이 주인공. 펼치기 전에는 한 줄만 차지한다. */
    .ward-fold { margin-top: 8px; }   /* v1224b: 이름 바로 아래 — 구분선 없이 소속 표시처럼 */
    .ward-fold > summary {
      list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
      font-size: 12px; font-weight: 800; color: #6b7280;
    }
    .ward-fold > summary::-webkit-details-marker { display: none; }
    .ward-fold > summary::before { content: '▸'; font-size: 11px; opacity: .65; }
    .ward-fold[open] > summary::before { content: '▾'; }
    .ward-fold > summary:hover { color: #2b5089; }
    .ward-fold-body { margin-top: 9px; }
    .ward-fold-body p { margin: 0; font-size: 13px; line-height: 1.65; color: #555; }

    .chomei-ward-desc {
      font-size: 13px;
      color: #555;
      line-height: 1.65;
      margin-top: 10px;
      padding: 12px 14px;
      background: #f5f3ee;
      border-radius: 10px;
      border-left: 3px solid #b9a98a;
    }
    /* v1217: 이 町 자체의 지표 — 町 패널의 주인공. 이름 바로 아래에 두어 '클릭한 동네의 값'임을 분명히 한다.
       구 지표(.ward-stats)는 아래 구 박스 안에 있어 역할이 겹치지 않는다(町 값 ↔ 구 평균). */
    /* v1224: 배경 상자를 없앤다. 파란 박스(지표)와 파란 버튼(생활권)이 같은 색이라
       무엇이 클릭 가능한지 알 수 없었다(사용자 지적) → 색은 버튼에만 남기고 정보는 구분선으로 나눈다. */
    .chome-stats {
      margin-top: 12px; padding-top: 11px; border-top: 1px solid #ececf2;
      font-size: 12px; line-height: 1.7; color: #46536b;
    }
    /* 읽기(주) → 근거 수치(종) → 출처. 수치만 주면 1.16명이 무슨 뜻인지 독자가 알아야 한다. */
    .chome-stats .cs-read { font-size: 14px; font-weight: 800; color: #23385c; line-height: 1.5; }
    .chome-stats .cs-read .cs-dot { margin: 0 5px; opacity: .35; font-weight: 400; }
    .chome-stats .cs-nums { margin-top: 5px; font-size: 12px; color: #6b7789; }
    .chome-stats .cs-nums .cs-sep { margin: 0 5px; opacity: .45; }
    .chome-stats .cs-cmp { color: #96a2b4; }
    .chome-stats .cs-src { display: block; margin-top: 4px; font-size: 11px; color: #96a2b4; }

    /* v1215: 구 설명 박스 안 구조 지표 줄 — 도쿄 23구 공식 통계(세대당 인원·외국인·한국인·인구밀도).
       산문 아래에 얇은 구분선으로 붙여 '읽는 글'과 '비교하는 수치'를 분리한다. */
    .ward-stats {
      margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(184, 169, 138, .35);
      font-size: 12px; line-height: 1.75; color: #6b6250;
    }
    .ward-stats b { color: #4a4232; font-weight: 800; }
    .ward-stats i { font-style: normal; font-size: 11px; font-weight: 800; color: #a08a5c; }
    .ward-stats .ws-sep { margin: 0 6px; opacity: .45; }
    .ward-stats .ws-src { display: block; margin-top: 4px; font-size: 11px; color: #a89f90; }

    .chomei-ward-desc-label {
      display: inline-block;
      font-weight: 700;
      color: #6b5b3e;
      margin-right: 6px;
    }
    .chomei-color-bar {
      height: 4px;
      border-radius: 2px;
      margin-bottom: 16px;
    }
    .chomei-section-title {
      font-size: 14px;
      font-weight: 700;
      color: #1a1a2e;
      padding: 16px 16px 8px;
      border-top: 1px solid #f0f0ec;
    }
    .chomei-building-card {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      cursor: pointer;
      transition: background .15s;
    }
    .chomei-building-card:hover { background: #f8f8f5; }
    /* v364: 이 근처 건물 — 기본 1.5칸만 보이고 버튼으로 펼침 */
    .chomei-buildings-wrap.collapsed {
      flex: 0 0 auto; /* buildingInner가 flex column이라 max-height만으론 0으로 붕괴 */
      max-height: 315px;   /* v1125: 1.5장(92px) → 4.5장(카드 ≈70px). 클릭마다 인라인 max-height로 더 노출 */
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
      mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
    }
    .chomei-buildings-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      width: calc(100% - 40px);
      margin: 6px 20px 0;
      padding: 8px 16px;
      border: 1px solid #ececec;
      border-radius: 10px;
      background: #fafafa;
      color: #555;
      font-size: 12px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
    }
    .chomei-buildings-toggle:hover { background: #f3f3ef; }
    .chomei-buildings-toggle .cbt-arrow { font-size: 11px; }
    .chomei-building-icon {
      width: 36px;
      height: 36px;
      background: #f0f0ec;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      flex-shrink: 0;
    }
    .chomei-building-name {
      font-size: 13px;
      font-weight: 700;
      color: #1a1a2e;
    }
    .chomei-building-name-ko {
      font-size: 12px;
      font-weight: 600;
      color: #6b6b80;
      margin-top: 1px;
    }
    .chomei-building-sub {
      font-size: 12px;
      color: #888;
      margin-top: 2px;
    }
    .chomei-review-placeholder {
      padding: 24px 16px;
      text-align: center;
      color: #aaa;
      font-size: 13px;
      line-height: 1.6;
    }

    /* v100: 町名 팝업 */
    #chomeiPopup {
      position: fixed;
      bottom: 80px;
      left: 50%;
      transform: translateX(-50%) translateY(16px);
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0,0,0,.18);
      padding: 16px 20px;
      min-width: 240px;
      max-width: 320px;
      z-index: 2000;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s, transform .2s;
    }
    #chomeiPopup.open {
      opacity: 1;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }
    .chomei-popup-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 6px;
    }
    .chomei-popup-name-ko {
      font-size: 16px;
      font-weight: 800;
      color: #1a1a2e;
    }
    .chomei-popup-name-ja {
      font-size: 12px;
      color: #888;
      margin-top: 1px;
    }
    .chomei-popup-ward {
      font-size: 12px;
      color: #666;
      margin-bottom: 12px;
    }
    .chomei-popup-close {
      background: none;
      border: none;
      font-size: 19px;
      color: #aaa;
      cursor: pointer;
      line-height: 1;
      padding: 0 0 0 8px;
      flex-shrink: 0;
    }
    .chomei-popup-btn {
      display: block;
      width: 100%;
      padding: 9px 0;
      background: #1a1a2e;
      color: #fff;
      border: none;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      text-align: center;
    }

    .favorite-btn {
      border: 1.5px solid #e0e0da;
      background: #fff;
      color: #555;
      border-radius: 20px;
      padding: 6px 11px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: all .15s ease;
      white-space: nowrap;
    }
    .favorite-btn:hover {
      border-color: #e85d4a;
      color: #e85d4a;
      background: #fff8f6;
    }
    .favorite-btn.active {
      background: #e85d4a;
      color: #fff;
      border-color: #e85d4a;
    }

    .share-link-btn {
      border: 1.5px solid #e0e0da;
      background: #fff;
      color: #666;
      border-radius: 20px;
      padding: 6px 10px;
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      box-sizing: border-box;
      min-width: 65px; /* v596: 링크복사·이미지 버튼 크기 통일 */
      transition: all .15s ease;
      white-space: nowrap;
    }

    .share-link-btn:hover {
      border-color: #1a1a2e;
      color: #1a1a2e;
      background: #f8f6f0;
    }
    /* v599: 링크복사·이미지 = 아이콘 버튼(✕와 동일 30px 원형). 패널 버튼 줄 어수선함 정리 */
    .share-icon-btn {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      border: 1.5px solid #e0e0da;
      background: #fff;
      color: #1a1a2e; /* v733: 모바일(iOS)에서 currentColor가 시스템 파랑으로 상속되던 것 방지 — PC와 동일한 진회색 고정 */
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 14px;
      line-height: 1;
      padding: 0;
      flex: 0 0 auto;
      transition: all .15s ease;
    }
    .share-icon-btn:hover { border-color: #1a1a2e; background: #f8f6f0; }
    /* v595: 패널 이미지 저장 오버레이 */
    .imgsave-overlay { position: fixed; inset: 0; z-index: 9700; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; overflow: auto; }
    .imgsave-box { background: #fff; border-radius: 14px; padding: 14px; max-width: 92vw; display: flex; flex-direction: column; gap: 10px; }
    .imgsave-hint { font-size: 13px; color: #555; text-align: center; line-height: 1.5; }
    .imgsave-img { max-width: 100%; max-height: 68vh; object-fit: contain; border: 1px solid #eee; border-radius: 8px; }
    .imgsave-actions { display: flex; gap: 8px; justify-content: center; }
    .imgsave-dl, .imgsave-close { padding: 9px 18px; border-radius: 10px; font-size: 13px; font-weight: 800; font-family: inherit; cursor: pointer; text-decoration: none; border: none; }
    .imgsave-dl { background: #e85d4a; color: #fff; }
    .imgsave-close { background: #f0f0ea; color: #555; }

    .favorite-row {
      display: flex;
      gap: 8px;
      padding: 0 16px 10px;
      align-items: center;
      flex-wrap: wrap;
    }
    .favorite-hint {
      font-size: 12px;
      color: #888;
    }
    .detail-fav-row {
      display: flex;
      gap: 8px;
      align-items: center;
      margin: 8px 0 12px;
    }

  
    /* v11: 관심 수 폰트 크기 보정 */
    .favorite-row .fav-count,
    .detail-fav-row .fav-count {
      font-size: 12px !important;
      line-height: 1.4 !important;
      color: #888 !important;
      font-weight: 500 !important;
      white-space: nowrap !important;
    }

  
    /* v12: 오른쪽 매물 패널 크기 보정 + 건물 리뷰 */
    .building-panel.open {
      width: 380px !important;
    }

    .building-inner {
      width: 380px !important;
    }

    .building-panel .detail-imgs {
      height: 170px !important;
      flex-shrink: 0;
    }

    .building-review-section {
      padding: 0 16px 18px; /* v1223b: v1102가 detail-body의 비대칭(우 24·좌 16)에 맞춰 여기도 비대칭으로
         만들었다. detail-body를 20px 대칭으로 고쳤으니 여기도 20px로 따라간다(안 고치면 후기 섹션만 어긋난다). */
    }
    .building-review-section .chomei-section-title { border-top: none; } /* v584: 동네 '모두 보기' 박스 아래 구분선 제거 */

    .building-review-tabs {
      display: flex;
      gap: 6px;
      overflow-x: auto;
      scrollbar-width: none;
      margin: 8px 0 10px;
      padding-bottom: 2px;
    }

    .building-review-tabs::-webkit-scrollbar {
      display: none;
    }

    .building-review-tab {
      padding: 5px 10px;
      border-radius: 14px;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
      border: 1.5px solid #e0e0da;
      color: #555;
      background: #fff;
      transition: all .15s;
      font-family: inherit;
    }

    .building-review-tab.active {
      background: #1a1a2e;
      color: #fff;
      border-color: #1a1a2e;
    }

    .building-review-write {
      display: flex;
      gap: 8px;
      margin: 10px 0 12px;
    }

    .building-review-write input {
      flex: 1;
      border: 1.5px solid #e0e0da;
      border-radius: 20px;
      padding: 8px 12px;
      font-size: 12px;
      outline: none;
      font-family: inherit;
      min-width: 0;
    }

    .building-review-write input:focus {
      border-color: #e85d4a;
    }

    .building-review-submit {
      padding: 8px 13px;
      background: #e85d4a;
      color: #fff;
      border: none;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      font-family: inherit;
    }

    @media (max-width: 900px) {
      .building-panel.open {
        width: 100% !important;
      }
      .building-inner {
        width: 100% !important;
      }

      .brand-subtitle {
        font-size: 11px;
      }
    }

    @media (max-width: 640px) {
      .brand-subtitle {
        display: none;
      }
    }

  
    /* v13: 오른쪽 건물 패널 초기/닫기 버그 수정 */
    .building-panel {
      transform: translateX(100%);
      width: 380px !important;
      max-width: 380px !important;
      border-left-width: 1px;
      pointer-events: none;
    }

    .building-panel.open {
      transform: translateX(0);
      width: 380px !important;
      pointer-events: auto;
    }

    .building-inner {
      width: 380px !important;
    }

    /* v1123: 패널 스크롤바 정리
       ① 동네 패널(#buildingPanel)은 overflow-y:auto만 있어 overflow-x가 auto로 계산된다
          → 자식이 1px만 삐져나와도 불필요한 가로 스크롤바가 뜬다(사용자 지적). 가로는 숨긴다.
          (side-panel=건물상세는 이미 overflow-x:hidden이라 문제없었음)
       ② 두 패널 모두 브라우저 기본(굵은) 스크롤바 → 얇게. */
    .building-panel { overflow-x: hidden !important; }
    .building-panel, .side-panel { scrollbar-width: thin; scrollbar-color: #cfd2da transparent; }
    .building-panel::-webkit-scrollbar, .side-panel::-webkit-scrollbar { width: 7px; height: 0; }
    .building-panel::-webkit-scrollbar-thumb, .side-panel::-webkit-scrollbar-thumb { background: #cfd2da; border-radius: 4px; }
    .building-panel::-webkit-scrollbar-thumb:hover, .side-panel::-webkit-scrollbar-thumb:hover { background: #b3b7c2; }
    .building-panel::-webkit-scrollbar-track, .side-panel::-webkit-scrollbar-track { background: transparent; }

    @media (max-width: 900px) {
      .building-panel,
      .building-panel.open {
        width: 100% !important;
        max-width: 100% !important;
      }
      .building-inner {
        width: 100% !important;
      }
    }

  
    /* v14: 빈 오른쪽 흰 패널 완전 제거 */
    .building-panel {
      display: none !important;
      position: fixed !important;
      top: 56px !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 380px !important;
      max-width: 380px !important;
      background: #fff !important;
      border-left: 1px solid #e8e8e2 !important;
      z-index: 3000 !important;
      overflow-y: auto !important;
      overscroll-behavior: none !important;
      box-shadow: -8px 0 24px rgba(0,0,0,0.08) !important;
      transform: none !important;
      pointer-events: auto !important;
    }

    .building-panel.open {
      display: flex !important;
      flex-direction: column !important;
    }

    .building-inner {
      width: 380px !important;
      min-height: 100% !important;
      /* v513: display:flex면 .panel-header가 'sticky 플렉스 아이템'이라 Chrome/Blink에서 안 붙어
         스크롤 시 상단바가 사라짐. side-inner처럼 일반 블록으로 → sticky 헤더 정상. */
      display: block !important;
    }

    @media (max-width: 900px) {
      .building-panel,
      .building-panel.open {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
      }

      .building-inner {
        width: 100% !important;
      }
    }

    /* v76: mobile layout pass */
    @media (max-width: 760px) {
      :root {
        --jibu-mobile-header-height: 106px;
      }

      body {
        overflow: hidden;
      }

      body.community-page-open {
        overflow-x: hidden;
        overflow-y: auto;
      }

      /* v375: 모바일 커뮤니티에선 지도용 검색 플로팅바 숨김(커뮤니티 자체 검색 있음·공간 확보) */
      body.community-page-open .header {
        display: none;
      }

      .header {
        /* v86: height는 JS가 측정해 --jibu-mobile-header-height를 갱신 */
        /* v350: 인스타식 플로팅 섬(지도 위에 떠 있게) */
        height: auto;
        top: 8px; left: 8px; right: 8px;
        padding: 9px 12px;
        flex-wrap: wrap;
        align-content: flex-start;
        align-items: center;
        gap: 8px;  /* 탭 위아래 여백 동일하게 */
        background: rgba(255,255,255,0.74);
        -webkit-backdrop-filter: saturate(180%) blur(16px);
        backdrop-filter: saturate(180%) blur(16px);
        border: 1px solid rgba(0,0,0,0.05);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        border-radius: 22px;
        box-shadow: 0 6px 24px rgba(0,0,0,0.12);
      }

      .brand {
        align-items: center;  /* v603: 워드마크 수직중앙(폰에선 한글문구 숨김) */
      }

      .brand {
        order: 1;
        height: 34px;
        flex: 0 0 auto;
      }

      .logo {
        font-size: 19px;
      }

      .search-wrap {
        order: 2;
        flex: 1 1 110px; /* v709: 더보기 버튼 자리 확보 위해 살짝 축소(150→110) */
        max-width: none;
        min-width: 0;
      }

      /* v709: 검색창 옆 더보기 아이콘 버튼(하단 탭바 자리엔 동네비교가 들어감) */
      .mobile-more-btn {
        display: flex;
        order: 3;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        flex: 0 0 auto;
        border-radius: 50%;
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(255,255,255,0.9);
        color: #1a1a2e;
        cursor: pointer;
        padding: 0;
        position: relative; /* v1345: 운영자 미처리 배지 기준 */
      }

      .mobile-more-btn svg {
        width: 16px;
        height: 16px;
      }

      .search-bar {
        height: 34px;
        border-radius: 18px;
        padding: 0 10px;
      }

      .search-bar input {
        font-size: 13px;
      }

      .search-suggestions {
        top: 40px;
        max-height: min(58vh, 360px);
        overflow-y: auto;
      }

      .auth-area {
        order: 3;
        margin-left: 0;
        max-width: none;
      }

      .login-btn {
        max-width: 98px;
        padding: 6px 10px;
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      /* v287: 모바일은 상단=필터 전용. nav탭·auth는 하단 탭바/전체 탭으로 이동 */
      .nav-tabs,
      .auth-area {
        display: none !important;
      }

      .user-info {
        max-width: none;
        background: transparent;
        padding: 0;
        gap: 6px;
      }

      .user-nickname {
        display: none;
      }

      .logout-btn {
        padding: 3px 6px;
      }

      /* v281: nav-tabs(커뮤니티) + home-filter를 둘째 줄 한 줄에 합침 */
      .nav-tabs {
        order: 4;
        width: auto;
        flex: 0 0 auto;
        overflow-x: visible;
        scrollbar-width: none;
        padding-bottom: 0;
      }

      .nav-tabs::-webkit-scrollbar {
        display: none;
      }

      .nav-tab,
      .contact-nav-btn {
        flex: 0 0 auto;
        padding: 6px 10px;
        font-size: 12px;
      }

      /* v355: 필터 줄은 헤더 카드(반투명) 밖으로 — 버튼만 지도 위에 띄움. 헤더 카드는 로고+검색만 */
      .top-home-filter {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: auto;
        min-width: 0;
        padding: 1px 2px;
        background: transparent;
      }

      .top-home-filter-btn {
        padding: 7px 12px;
        font-size: 12px;
      }

      /* v488: 반투명 유리 → 불투명 흰색(너무 투명해 지도 위에서 잘 안 보임). 테두리·그림자로 또렷하게 */
      .top-home-filter .tf-dd-btn {
        background: #fff;
        border-color: rgba(0,0,0,0.14);
        color: #1a1a2e;
        box-shadow: 0 1px 4px rgba(0,0,0,0.12);
      }

      .main {
        height: 100dvh;
        padding-top: var(--jibu-mobile-header-height);
      }

      #map {
        min-height: calc(100dvh - var(--jibu-mobile-header-height));
      }

      .rrw-box {
        width: calc(100vw - 28px);
        max-width: none;
        margin: 0 auto;
        padding: 18px 22px;
        border-radius: 18px;
      }

      .rrw-trait-grp {
        grid-template-columns: 78px repeat(3, minmax(0, 1fr));
        gap: 8px;
        max-width: none;
      }

      .rrw-trait-name {
        grid-column: 1;
      }

      .rrw-trait-chip {
        min-height: 34px;
        padding: 7px 6px;
      }

      .rrw-trait-rent {
        min-height: 38px;
      }

      .rrw-structure-trait .rrw-trait-chip:nth-of-type(3) {
        font-size: 12px;
        padding-left: 3px;
        padding-right: 3px;
        white-space: nowrap;
      }

      .left-panels {
        position: fixed;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        z-index: 3600; /* v354: 건물상세 전체화면이 헤더(3500) 위로 — 부모 스택컨텍스트를 헤더 위로 올림 */
        display: block;
        pointer-events: none;
      }

      .detail-panel,
      /* v354: 건물상세 = 전체화면(커뮤니티식). transform 슬라이드 대신 display 토글(전환 잔상 회피) */
      .side-panel {
        position: fixed;
        inset: 0;
        width: 100% !important;
        height: 100dvh;
        max-height: none;
        background: #fff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none !important;
        transition: none !important;
        display: none;
        flex-direction: column;
        pointer-events: auto;
        overflow-y: auto;
        z-index: 3600;
      }

      .detail-panel.open,
      .side-panel.open {
        display: flex;
        width: 100% !important;
      }

      .side-inner,
      .detail-inner {
        width: 100% !important;
      }

      .panel-header {
        padding: 12px 20px;
      }

      .area-tabs {
        padding: 10px 14px 0;
      }

      .area-info {
        margin: 10px 14px;
        padding: 12px;
      }

      .favorite-row,
      .review-tags,
      .cat-tabs {
        padding-left: 14px;
        padding-right: 14px;
      }

      .comments-section {
        margin-left: 14px;
        margin-right: 14px;
      }

      .review-sort-tabs,
      .cat-tabs,
      .building-review-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
      }

      .review-sort-tabs::-webkit-scrollbar,
      .cat-tabs::-webkit-scrollbar,
      .building-review-tabs::-webkit-scrollbar {
        display: none;
      }

      /* v607: 좁은 폭(갤럭시 등)에서 카테고리(좌)+정렬(우)를 한 줄에 욱여넣으면
         정렬 그룹 폭이 부족해 첫 칩(최신순)이 flex-end로 컨테이너 왼쪽 밖에 잘려
         얇은 띠(슬리버)로만 보이던 문제 → 모바일에선 두 줄로 분리(카테고리 위/정렬 아래),
         정렬은 전체폭에서 좌측 정렬로 모두 보이게. (지역리뷰는 이미 두 줄이라 무영향) */
      .review-controls-row {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
      }
      .review-controls-row::-webkit-scrollbar { display: none; }
      .review-controls-row .cat-tabs,
      .review-controls-row .building-review-tabs,
      .review-controls-row .review-sort-tabs {
        flex: 0 0 auto;
        overflow: visible;
      }
      .review-controls-row .review-sort-tabs { margin-left: auto; }

      .comment-card,
      .question-card,
      .square-card {
        border-radius: 12px;
      }

      /* v354: 생활권·행정구역 = 바텀시트(옛 건물상세 크기, ~72dvh) */
      .building-panel {
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: min(72dvh, 640px) !important;
        border-left: 0 !important;
        border-top: 1px solid #e8e8e2 !important;
        border-radius: 18px 18px 0 0 !important;
        box-shadow: 0 -14px 30px rgba(0,0,0,0.16) !important;
      }

      .building-panel.open {
        width: 100% !important;
        max-width: 100% !important;
      }

      .building-inner {
        width: 100% !important;
      }

      .building-panel .detail-imgs {
        height: 145px !important;
      }

      .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .map-pin-legend {
        left: 12px;
        right: 12px;
        bottom: 12px;
        transform: none;
        max-width: none;
        justify-content: center;
      }

      .board-page {
        padding: 16px 10px calc(84px + env(safe-area-inset-bottom, 0)); /* v375: 헤더 숨김 → 상단 패딩 축소 / v374: 하단 탭바 회피 */
      }

      .board-sub { display: none; } /* v378: 모바일에선 부제 제거(공간 확보, PC는 유지) */
      .board-sub-mbr { display: inline; } /* v374: 모바일만 '쌓이는,' 뒤 줄바꿈 (이제 부제 숨겨져 무의미하나 무해) */

      .board-title {
        font-size: 22px;
      }

      .board-sub {
        font-size: 12px;
      }

      .community-main {
        padding: 10px;
      }

      .community-side {
        border-radius: 12px;
        padding: 8px;
      }

      .community-search {
        grid-template-columns: minmax(0, 1fr) auto;
      }

      .community-search-clear {
        display: none;
      }

      .square-detail-box,
      .write-modal-box,
      .contact-modal-box {
        width: calc(100vw - 22px);
        max-height: calc(100dvh - 28px);
      }

      .write-modal-box,
      .contact-modal-box {
        overflow-y: auto;
      }

      .jibu-toast {
        left: 12px;
        right: 12px;
        bottom: 12px;
        text-align: center;
      }
    }

    @media (max-width: 420px) {
      .header {
        gap: 6px;
      }

      .nav-tab,
      .contact-nav-btn {
        padding-left: 9px;
        padding-right: 9px;
      }

      .area-stats {
        grid-template-columns: 1fr;
      }

      .square-card .square-target-row,
      .community-hot-foot {
        align-items: flex-start;
        flex-direction: column;
      }
    }

  
/* ══ 이하: 구 2번째 인라인 블록(v813 랜딩 등) — 원래도 첫 블록 뒤 순서 ══ */
    /* v657: 랜딩 — 비대칭 복원 + 묶음사진 세로스택 + 사진 호버/클릭(지도) + SALLAE 고정 */
    /* v724: 랜딩 라이트 재작업 — 딥그린을 배경에서 텍스트·액센트로 뒤집음(크림 바탕). 에디토리얼 구조·사진 에세이는 유지. */
    #landingPage{position:fixed;inset:0;z-index:5000;background:#f5f1e8;overflow-y:auto;-webkit-overflow-scrolling:touch;color:#24352c;-webkit-font-smoothing:antialiased;}
    html.lp-skip #landingPage{display:none;}
    /* v813: 로그인 사용자 브랜드 로딩화면 — 지도 로딩을 가림(랜딩이 로그아웃 유저 로딩 가리듯) */
    #brandLoading{position:fixed;inset:0;z-index:6000;background:#f5f1e8;display:none;align-items:center;justify-content:center;color:#2e5a4a;}
    html.lp-loading #brandLoading{display:flex;}
    #brandLoading.hide{opacity:0;pointer-events:none;transition:opacity .4s ease;}
    #brandLoading .bl-inner{text-align:center;padding:0 24px;}
    #brandLoading .bl-logo{border-radius:12px;opacity:.95;}
    #brandLoading .bl-title{font-size:22px;font-weight:800;letter-spacing:.02em;margin:12px 0 4px;color:#1f3b30;}
    #brandLoading .bl-sub{font-size:13px;color:#8d8778;margin-bottom:16px;}
    #brandLoading .bl-bar{width:120px;height:3px;border-radius:2px;background:rgba(46,90,74,.15);overflow:hidden;margin:0 auto;}
    #brandLoading .bl-bar span{display:block;height:100%;width:40%;background:#2e5a4a;border-radius:2px;animation:blslide 1.1s ease-in-out infinite;}
    @keyframes blslide{0%{margin-left:-40%}100%{margin-left:100%}}
    .lp-wrap{max-width:760px;margin:0 auto;padding:0 22px 76px;}
    .lp-head{display:flex;justify-content:flex-end;align-items:flex-start;padding:24px 0 8px;}
    /* SALLAE: 스크롤 따라오는 고정 세로 타이틀 */
    .lp-vtitle{position:fixed;left:5px;top:50%;transform:translateY(-50%) rotate(180deg);writing-mode:vertical-rl;font-size:18px;font-weight:500;letter-spacing:.16em;margin:0;color:#2e5a4a;line-height:1;pointer-events:none;z-index:30;}
    .lp-nav{font-size:13px;color:#2e5a4a;background:none;border:none;font-family:inherit;cursor:pointer;padding:6px 0 0;}
    .lp-nav:active{opacity:.55;}
    .lp-intro{font-size:16px;line-height:1.8;margin:30px 0 44px;max-width:440px;font-weight:400;word-break:keep-all;}
    .lp-intro .dim{color:#8d8778;}
    /* v724: 30초 진단 카드 — 크림 바탕 위 딥그린 블록(브랜드색이 기능 앵커로) */
    .lp-diag{background:#2e5a4a;color:#e9e7db;border-radius:18px;padding:26px 22px 24px;margin:0 0 56px;max-width:560px;}
    .lp-diag-t{font-size:19px;font-weight:600;margin:0 0 6px;letter-spacing:-.01em;word-break:keep-all;}
    .lp-diag-s{font-size:13.5px;color:#9fb1a3;line-height:1.65;margin:0 0 18px;word-break:keep-all;}
    .lp-diag-btns{display:flex;flex-wrap:wrap;gap:10px;}
    .lp-diag-go{background:#e9e7db;color:#1f3b30;border:none;border-radius:11px;padding:13px 18px;font-size:14.5px;font-weight:700;font-family:inherit;cursor:pointer;}
    .lp-diag-go:active{opacity:.85;}
    .lp-diag-alt{background:none;color:#cfd8cb;border:1px solid rgba(233,231,219,.38);border-radius:11px;padding:13px 16px;font-size:13.5px;font-family:inherit;cursor:pointer;}
    .lp-diag-alt:active{opacity:.7;}
    .lp-diag-foot{font-size:12.5px;line-height:1.6;color:#9fb1a3;margin:14px 0 0;word-break:keep-all;}
    .lp-item{margin:0 0 54px;}
    .lp-fig{margin:0;position:relative;}
    .lp-fig img{display:block;width:100%;height:auto;background:rgba(36,53,44,.06);}
    /* 위치정보 있는 사진: 호버 시 초록 오버레이 + 클릭→지도 */
    .lp-fig.clickable{cursor:pointer;}
    .lp-fig.clickable::after{content:'';position:absolute;inset:0;background:#2e5a4a;opacity:0;transition:opacity .3s ease;pointer-events:none;}
    .lp-fig.clickable:hover::after{opacity:.74;}
    .lp-fig.clickable:active::after{opacity:.74;}
    .lp-cap{display:flex;gap:12px;margin:14px 2px 0;}
    .lp-cap .n{font-size:11px;color:rgba(36,53,44,.4);font-variant-numeric:tabular-nums;padding-top:2px;}
    .lp-cap b{display:block;font-size:13px;font-weight:500;color:#24352c;}
    .lp-cap .sub{display:block;font-size:12px;color:#8d8778;margin-top:2px;}
    /* 묶음(한 주제 두 사진): 세로로 거의 붙여 스택, 캡션은 아래 */
    .lp-two{display:grid;grid-template-columns:1fr;gap:4px;}
    .lp-two img{display:block;width:100%;height:auto;background:rgba(36,53,44,.06);}
    .lp-block{margin:0 0 54px;}
    .lp-kicker{font-size:11px;letter-spacing:.18em;color:#6f8a7c;margin:0 0 16px;text-transform:uppercase;}
    .lp-areas{font-size:16px;line-height:2.15;margin:0 0 14px;}
    .lp-areas a{color:#24352c;text-decoration:none;margin-right:18px;white-space:nowrap;border-bottom:1px solid rgba(36,53,44,.22);}
    .lp-areas a:active{opacity:.5;}
    .lp-areas .more{color:#6f8a7c;white-space:nowrap;}
    .lp-stat{font-size:12.5px;color:#8d8778;}
    .lp-quote{font-size:21px;line-height:1.55;font-weight:400;margin:0 0 12px;letter-spacing:-.01em;word-break:keep-all;color:#2e5a4a;}
    .lp-quote-by{font-size:12.5px;color:#8d8778;}
    /* v659: 정보성 문장(세 질문) — 빈 공간에 감성적으로. 박스 없음. */
    .lp-say{font-size:18px;line-height:1.7;margin:0;color:#24352c;font-weight:400;word-break:keep-all;}
    .lp-say .dim{color:#8d8778;}
    .lp-say .q{display:block;font-size:12px;letter-spacing:.2em;color:rgba(36,53,44,.35);margin:0 0 12px;}
    .lp-note{font-size:12.5px;line-height:1.7;color:#8d8778;margin:16px 0 0;word-break:keep-all;}
    .lp-enter{display:inline-block;font-size:16px;color:#2e5a4a;background:none;border:none;border-bottom:1px solid #2e5a4a;padding:0 1px 5px;font-family:inherit;cursor:pointer;}
    .lp-foot{margin-top:60px;padding-top:22px;border-top:1px solid rgba(36,53,44,.15);display:flex;flex-wrap:wrap;gap:20px;font-size:12px;}
    .lp-foot a,.lp-foot button{color:#8d8778;text-decoration:none;background:none;border:none;font-family:inherit;font-size:12px;cursor:pointer;padding:0;letter-spacing:.04em;}
    .lp-foot a:active,.lp-foot button:active{color:#24352c;}
    /* PC: 좌우 비대칭 배치 + 큰 여백 */
    @media (min-width:760px){
      .lp-wrap{max-width:1080px;padding:0 40px 120px;}
      .lp-head{padding:34px 0 0;}
      .lp-vtitle{font-size:32px;left:28px;letter-spacing:.14em;}
      .lp-intro{font-size:19px;line-height:1.85;max-width:540px;margin:46px 0 60px;}
      .lp-diag{padding:32px 30px 28px;margin:0 0 96px;}
      .lp-diag-t{font-size:22px;}
      .lp-diag-s{font-size:14.5px;}
      .lp-item{margin-bottom:104px;}
      .lp-item.pos-l{margin-right:auto;}
      .lp-item.pos-r{margin-left:auto;}
      .lp-item.w38{width:38%;}.lp-item.w42{width:42%;}.lp-item.w46{width:46%;}.lp-item.w50{width:50%;}.lp-item.w54{width:54%;}.lp-item.w58{width:58%;}.lp-item.w60{width:60%;}.lp-item.w62{width:62%;}.lp-item.w70{width:70%;}
      .lp-block{max-width:600px;margin-bottom:96px;}
      .lp-block.pos-r{margin-left:auto;}
      .lp-quote{font-size:31px;}
      .lp-say{font-size:24px;line-height:1.6;}
      .lp-enter{font-size:19px;}
    }
    /* v724: 동네 추천(30초 진단) 위저드 + 허브 */
    .reco-box{background:#fff;width:100%;max-width:480px;max-height:86vh;overflow-y:auto;border-radius:20px;padding:18px 18px 20px;margin:0 16px;box-sizing:border-box;-webkit-overflow-scrolling:touch;}
    .reco-head{display:flex;align-items:center;gap:10px;margin-bottom:4px;}
    .reco-back{background:none;border:none;font-size:19px;color:#8a8178;cursor:pointer;padding:4px 6px;font-family:inherit;}
    .reco-head-t{flex:1;min-width:0;}
    .reco-head-t b{display:block;font-size:16px;color:#1a1a2e;font-weight:800;word-break:keep-all;}
    .reco-head-t span{display:block;font-size:12px;color:#8a8178;margin-top:2px;}
    .reco-dots{display:flex;gap:5px;margin:10px 2px 14px;}
    .reco-dots span{width:22px;height:4px;border-radius:2px;background:#eceae3;}
    .reco-dots span.on{background:#e85d4a;}
    .reco-chips{display:flex;flex-direction:column;gap:9px;margin:8px 0 4px;}
    .reco-chips-wrap{flex-direction:row;flex-wrap:wrap;}
    .reco-chip{border:1.5px solid #e3e0d8;background:#fff;border-radius:12px;padding:13px 14px;font-size:14px;color:#333;font-family:inherit;cursor:pointer;text-align:left;word-break:keep-all;}
    .reco-chips-wrap .reco-chip{padding:9px 13px;border-radius:20px;font-size:13px;}
    .reco-chip em{font-style:normal;font-size:12px;color:#b3ad9f;margin-left:6px;}
    .reco-chip.sel{border-color:#e85d4a;background:#fbe7e2;color:#c4452f;font-weight:700;}
    .reco-cta{display:block;width:100%;background:#e85d4a;color:#fff;border:none;border-radius:13px;padding:14px;font-size:16px;font-weight:800;font-family:inherit;cursor:pointer;margin-top:14px;}
    .reco-note{font-size:12px;color:#a39a8f;line-height:1.6;margin:12px 2px 0;word-break:keep-all;}
    /* v727: 예산 범위 결과 중앙값 + 동네·역 앵커 검색 */
    .reco-median{font-size:13px;color:#5f6a78;background:#edf2f9;border-radius:9px;padding:8px 11px;margin:0 0 10px;word-break:keep-all;}
    .reco-median b{color:#35629e;}
    .reco-or{font-size:12px;color:#a39a8f;margin:16px 2px 8px;font-weight:600;}
    .reco-anchor-wrap{display:flex;gap:8px;}
    .reco-anchor-in{flex:1;min-width:0;box-sizing:border-box;border:1.5px solid #e3e0d8;border-radius:11px;padding:12px 13px;font-size:14px;font-family:inherit;color:#333;}
    .reco-anchor-in:focus{outline:none;border-color:#35629e;}
    .reco-anchor-btn{flex-shrink:0;background:#35629e;color:#fff;border:none;border-radius:11px;padding:0 14px;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;white-space:nowrap;}
    .reco-anchor-btn:disabled{opacity:.6;}
    .reco-results{display:flex;flex-direction:column;gap:14px;margin-top:10px;}
    .reco-card{border:1.5px solid #eceae3;border-radius:14px;overflow:hidden;}
    .reco-card-body{display:block;padding:14px 14px 12px;text-decoration:none;color:inherit;}
    .reco-card-body:active{background:#faf8f3;}
    .reco-card-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
    .reco-card-top b{font-size:16px;color:#1a1a2e;}
    .reco-badge{font-size:12px;font-weight:700;padding:3px 9px;border-radius:8px;}
    .reco-rent{font-size:13px;color:#555;margin-top:6px;}
    .reco-rent b{color:#c4452f;}
    .reco-over{font-size:12px;color:#b3813a;}
    .reco-under{font-size:12px;color:#2e8a5f;}
    .reco-desc{font-size:13px;color:#777;line-height:1.55;margin-top:6px;word-break:keep-all;}
    .reco-mth{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px;}
    .reco-mth span{font-size:12px;color:#35629e;background:#edf2f9;border-radius:8px;padding:3px 8px;}
    .reco-card-acts{display:flex;border-top:1px solid #f0eee7;}
    .reco-card-act{flex:1;text-align:center;padding:11px 8px;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;text-decoration:none;background:none;border:none;color:#555;}
    .reco-card-act:active{background:#faf8f3;}
    .reco-card-act.map{border-left:1px solid #f0eee7;color:#e85d4a;}
    .reco-foot{margin-top:14px;}
    /* v727: 로그인 유인 카드 — 눈에 띄는 블록(초록 배경 + 흰 CTA 버튼) */
    .reco-login,.reco-hub-login{background:#edf2f9;border-radius:12px;padding:14px 15px;margin-top:14px;}
    .reco-login-top{margin-top:4px;margin-bottom:14px;} /* v906: 결과 카드 위로 올린 로그인 유도 — 카드와 간격 확보 */
    .reco-hub-login{margin-top:18px;}
    .reco-login-t{font-size:14px;font-weight:700;color:#35629e;margin:0 0 4px;word-break:keep-all;}
    .reco-login-d{font-size:13px;color:#5f6a78;line-height:1.6;margin:0 0 12px;word-break:keep-all;}
    .reco-login-btn{display:block;width:100%;background:#35629e;color:#fff;border:none;border-radius:10px;padding:12px;font-size:14px;font-weight:700;font-family:inherit;cursor:pointer;}
    .reco-login-btn:active{opacity:.85;}
    .reco-again{display:block;width:100%;background:#fff;border:1.5px solid #e3e0d8;color:#555;border-radius:12px;padding:11px;font-size:14px;font-weight:700;font-family:inherit;cursor:pointer;margin-top:12px;}
    .reco-again-top{margin-top:0;margin-bottom:10px;}  /* v1128: 허브에서 추천 목록 '위'에 놓을 때 */
    /* 허브(모바일 시트/PC 모달 내부) */
    .reco-hub-sec{padding:2px 0 6px;}
    .reco-hub-title{font-size:16px;font-weight:800;color:#1a1a2e;margin:4px 0 8px;}
    .reco-hub-title .reco-hub-sub{font-size:12px;color:#8a8178;font-weight:400;margin-left:6px;}
    .reco-hub-desc{font-size:13px;color:#7d756b;line-height:1.65;margin:0 0 4px;word-break:keep-all;}
    .reco-hub-divider{font-size:12px;letter-spacing:.08em;color:#a39a8f;margin:20px 0 8px;padding-top:16px;border-top:1px solid #eceae3;font-weight:700;}
    /* v733: 로그인 허브 2단 — 상단 알림 공용, 아래 왼쪽 우리집·오른쪽 진단. 좁은 화면은 1단으로 접힘. */
    .reco-hub-notif{margin-bottom:6px;}
    .reco-hub-grid{display:grid;grid-template-columns:1fr;gap:12px;}
    @media (min-width:720px){
      .official-edit-box.reco-hub-box{max-width:900px;}
      .reco-hub-grid{grid-template-columns:1fr 1fr;gap:26px;align-items:start;}
      .reco-hub-col-home{border-right:1px solid #eceae3;padding-right:26px;}
    }
    /* v727: 로그인 모달은 다른 오버레이(동네추천 허브·위저드가 같은 9999·나중 DOM) 위로 확실히 */
    #loginModal{z-index:10002;}
    /* v648: 하단 프로모 팝업(정착가이드) */
    .promo-overlay{position:fixed;inset:0;z-index:4000;background:rgba(20,18,28,.32);display:none;align-items:flex-end;}
    .promo-overlay.open{display:flex;}
    .promo-sheet{background:#fff;width:100%;max-width:520px;margin:0 auto;border-radius:20px 20px 0 0;padding:22px 20px 16px;animation:promoUp .25s ease;}
    @keyframes promoUp{from{transform:translateY(100%);}to{transform:translateY(0);}}
    .promo-tag{display:inline-block;font-size:12px;font-weight:800;color:#c4452f;background:#fbe7e2;padding:3px 10px;border-radius:8px;}
    .promo-title{font-size:19px;font-weight:800;color:#1a1a2e;margin:11px 0 6px;}
    .promo-sub{font-size:13px;color:#7d756b;line-height:1.6;margin:0 0 16px;}
    .promo-cta{display:block;width:100%;background:#e85d4a;color:#fff;border:none;border-radius:13px;padding:14px;font-size:16px;font-weight:800;font-family:inherit;cursor:pointer;}
    .promo-foot{display:flex;justify-content:space-between;align-items:center;margin-top:14px;}
    .promo-noshow{display:flex;align-items:center;gap:7px;font-size:13px;color:#8a8178;cursor:pointer;}
    .promo-close{background:none;border:none;color:#a39a8f;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;padding:6px 4px;}
  
/* v1220: PC 패널 폭 — 1440px 화면에서 두 패널이 380px(화면의 26%)로 고정돼 있었다.
   실측 결과 380px에서는 '밀도 6,067명/km²'가 두 줄로 깨지고 구 지표가 3줄로 늘어져 흐름이 끊긴다.
   clamp(400px, 32vw, 500px): 화면 너비의 32%로 하되 400~500px을 벗어나지 않는다.
     1024px→400 · 1280px→410 · 1440px→461 · 1600px 이상→500(상한)
   작은 노트북에서는 지도를 지키고 큰 모니터에서는 패널을 넉넉히 준다.
   ⚠️ 폭을 지정하는 기존 선언이 6군데 중복돼 있다(v13·v14 시절 잔재, 전부 !important).
      그것들을 정리하지 않고 '맨 끝 + min-width:901px'로 덮는다 — 우선순위가 확실하고,
      모바일(760px 이하 100%)은 이 규칙 밖이라 영향이 없다.
   ★.building-inner/.side-inner도 380px로 따로 고정돼 있어 함께 100%로 풀어야 한다
     (안 풀면 패널만 넓어지고 내용은 380px에 머물러 오른쪽이 빈다). */
/* ⚠️v1223c: .side-panel은 '닫힘 = width:0'인 flex 컬럼(order:1)이다. v1220이 .open 없이
   .side-panel 자체에 500px을 강제해, 아무것도 안 열었는데 왼쪽에 빈 흰 컬럼이 생겼다
   (다른 창 갔다 오면 보인다는 제보 = 패널을 닫은 상태의 첫 화면). .open 에만 적용한다.
   .building-panel은 position:fixed라 닫혀 있어도 레이아웃을 밀지 않아 문제가 없었다. */
@media (min-width: 901px) {
  .building-panel,
  .building-panel.open,
  .side-panel.open {
    width: clamp(400px, 32vw, 500px) !important;
    max-width: clamp(400px, 32vw, 500px) !important;
  }
  .building-inner,
  .side-inner {
    width: 100% !important;
    max-width: 100% !important;
  }
}

    /* v1383: 외국어 안내 바 — 얇게, 헤더 아래. 본문 번역이 아니라 '한국어 서비스임 + 영업 동선' 안내다. */
    .xlang-bar{position:fixed;left:0;right:0;top:56px;z-index:3400;display:flex;align-items:center;gap:10px;padding:7px 14px;background:#fbf3ef;border-bottom:1px solid #f0ded5;font-size:12.5px;color:#7a5c4e;}
    /* ★헤더가 position:fixed(z-index 3500·PC 56px)라 static으로 두면 그 뒤에 완전히 깔린다.
       지도 위에 떠 있게 두는 쪽을 택했다 — .main의 padding-top을 건드리면 지도·패널 높이가 전부 밀린다. */
    @media(max-width:760px){ .xlang-bar{top:var(--jibu-mobile-header-height,106px);} }
    .xlang-bar[hidden]{display:none;}
    .xlang-msg{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
    .xlang-cta{color:#c4452f;font-weight:700;text-decoration:none;white-space:nowrap;}
    .xlang-cta:hover{text-decoration:underline;}
    .xlang-x{background:none;border:none;color:#b09a8e;font-size:18px;line-height:1;cursor:pointer;padding:0 2px;font-family:inherit;}
    @media(max-width:520px){ .xlang-bar{font-size:11.5px;padding:6px 11px;gap:8px;} }

    /* v1384: 필터 결과 0일 때의 안내(지도 가운데) + 구조 섹션 실측 안내 */
    .map-filter-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:60;
      background:rgba(255,255,255,.97);border:1px solid #ece2da;border-radius:16px;padding:18px 20px;
      max-width:min(340px,86vw);text-align:center;box-shadow:0 10px 30px rgba(40,30,25,.14);}
    .map-filter-empty[hidden]{display:none;}
    .mfe-t{font-size:15px;font-weight:800;color:#2b2118;margin-bottom:6px;}
    .mfe-s{font-size:12.5px;color:#7d756b;line-height:1.6;margin-bottom:13px;}
    .mfe-btn{background:#e85d4a;color:#fff;border:none;border-radius:11px;padding:9px 18px;
      font-size:13.5px;font-weight:700;font-family:inherit;cursor:pointer;}
    .tf-sec-note{font-size:11.5px;color:#8a8078;line-height:1.55;margin-top:7px;}
    .tf-sec-note[hidden]{display:none;}
    .tf-sec-note b{color:#c4452f;}

/* v1400: 후기 폼 '선택' 힌트 + 밤길 질문 줄바꿈 허용(선택지가 길다) */
.write-form-hint{font-size:12px;font-weight:600;color:var(--jibu-text-3,#8a8a8a);margin-left:4px;}
.night-safe-options{flex-wrap:wrap;}
