* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {           /* ① 높이 100 % 확보 */
    height: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;


}

body {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    display: flex;
    flex-direction: column;
}

input::placeholder,
textarea::placeholder {
    color: #c0c0c0;   /* 원하는 색 */
    opacity: 1;       /* Safari 등에서 흐려지는 기본값 무력화 */
}

.header {
    width: 100%;
    height: 60px;
    background-color: #a5d1f21a;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    /*position: sticky;
    top: 0;*/
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 0 0 60px;
}

.header-left {
    flex-shrink: 0;
    width: clamp(70px, 10vw, 100px);
}
.header-left a {
    display: flex;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-center {
    display: flex;
    gap: 8px;
    align-items: center;
}
.header-center a {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    box-sizing: border-box;
    height: 26px;
}

.header-center a span {
    display: block;
}

.header-center a img {
    width: 26px;
}

.mobile-header-right {
    display: none;
}

.layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}


.main-content {
    flex: 1; /* 핵심: 이게 있어야 푸터가 밀림 */
}


#mypageBtn span {
    padding-left: 5px;
}


#buyBtn::after {
    content: "";
    position: absolute;
    bottom: -4px; /* 글자보다 약간 아래 */
    width: 85%; /* 글자보다 살짝 짧게 */
    height: 2px;
    background-color: #ffaf28;
    left: 50%;
    transform: translateX(-50%); /* 가운데 정렬 */
}


#sellInfoBtn::after {
    content: "";
    position: absolute;
    bottom: -4px;
    width: 85%;
    height: 2px;
    background-color: #0081ff;
    left: 50%;
    transform: translateX(-50%);
}

/*#toggleSellBtn.toggle_active {
    color: #0081ff;
}*/

.w_btn_group_func {
    display: flex;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    background-color: #fff;
    padding: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.w_btn_group_line {
    display: none;
    position: relative;
    width: 1px;
    height: 38px;
    background-color: #efefef;
}
.w_btn_group_line:after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 13px;
    background-color: #a2a2a2;
}
.w_btn_group_func a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 80px;
    height: 38px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    background-color: #efefef;
    cursor: pointer;
}
.w_btn_group_func a.toggle_active {
    border: none;
}
#toggleBuyBtn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: #4f4949;
}
/*#toggelBuyBtn:after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 0.5px;
    height: 13px;
    background-color: #a2a2a2;
    z-index: 10;
}*/
#toggleBuyBtn.toggle_active {
    background-color: #f5a020;

}
#toggleBuyBtn.toggle_active:after {
    display: none;
}
#toggleSellBtn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#toggleSellBtn.toggle_active {
    background-color: #0081ff;
    color: #fff;

}



.login-icon {
    width: 32px;
    height: 32px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}
.container {
    width: 100%;
    height: calc(100dvh - 60px); /* 주소창 포함한 동적 높이에서 헤더 제외 */
    position: relative;
}

/* 파일업로드 공통 */
.file-upload {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ccc;
    margin-top: 15px;
}

.file-name {
    flex: 1;
    padding: 10px 16px;
    background: #fff;
    color: #999;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-btn {
    background: #f5a020;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
}

.upload-btn:hover {
    background: #ee9a1b;
}


/* 약관등 팝업 관련 */
.terms-popup {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-height: 80vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.terms-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
}

.terms-body {
    max-height: 60vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #333;

    /* ✅ 스크롤바 숨기기 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */

    /* Webkit (Chrome, Safari) */
}
.terms-body::-webkit-scrollbar {
    display: none;
}


/* 알림 팝업 */
body.modal-open {
    overflow: hidden;
}

.ios-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.ios-modal-hidden {
    display: none;
}

.ios-modal-box {
    background: white;
    border-radius: 14px;
    /* 280px 이면 '꼭 적어야 하는 칸이 비어있습니다.' 같은 한 문장이 두 줄로 끊긴다.
       좁은 폰(320px)에서도 넘치지 않게 화면 폭을 넘지 않는 선에서 넓힌다. (2026-09-21) */
    width: min(300px, calc(100vw - 40px));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 한글 제목이 "있습니/다" 처럼 단어 중간에서 끊기던 것 (2026-09-21) */
.ios-modal-title { word-break: keep-all; }
.ios-modal-title {
    margin: 20px 16px 8px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.ios-modal-message {
    margin: 0 16px 20px;
    font-size: 14px;
    color: #444;
    line-height: 1.55;
    /* 낱말 가운데가 끊겨 "연락드 / 리겠습니다" 처럼 보였다.
       제목에만 걸려 있던 규칙을 본문에도 건다. (2026-09-22) */
    word-break: keep-all;
}

.ios-modal-button-wrap {
    border-top: 1px solid #ccc;
}

.ios-modal-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #007aff;
    background: none;
    border: none;
    cursor: pointer;
}

.ios-modal-btn:hover {
    background: #f2f2f2;
}

/* 처음엔 숨김 → JS로 필요할 때만 보여줌 */
#modalCancelBtn      { display:none; }

/* 두 개 버튼이 보일 때 가로 배치 */
.ios-modal-button-wrap.two-btns{
    display:flex;
}
.ios-modal-button-wrap.two-btns .ios-modal-btn{
    flex:1 1 50%;
}
.ios-modal-button-wrap.two-btns .ios-modal-btn + .ios-modal-btn{
    border-left:1px solid #ccc;
}

/* 취소 버튼 색상(선택) */
.ios-cancel-btn{ color:#ff3b30; }



.main-footer {
    background-color: #007bff;
    color: #ffffff;
    padding: 30px 20px;
    font-size: 14px;
    line-height: 1.7;
    position: static; /* ★ 고정 제거 */
    z-index: auto;
    margin-top: auto;    /* 남은 공간 ↗ 자동 채우기 → 푸터는 맨 아래 */


}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;

}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-company {
    font-size: 12px;
    color: #d0d4e4;
    margin-bottom: 12px;
}

.footer-copy {
    font-size: 12px;
    color: #bbb;
}



/* 페이징 */

/* 전체 페이징 감싸는 영역 */
.paging_wrap {
    text-align: center;
    margin-top: 30px;
}

/* 내부 pagination 컨테이너 */
.pagination {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 공통 버튼 스타일 */
.pagination a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    min-width: 36px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

/* 현재 페이지 */
.pagination a.active {
    background-color: #0081ff;
    color: #fff;
    font-weight: bold;
    border-color: #0081ff;
    pointer-events: none;
}

/* 이전/다음/처음/끝 버튼 스타일 */
.pagination a.first,
.pagination a.prev,
.pagination a.next,
.pagination a.last {
    font-weight: bold;
}

/* 호버 효과 */
.pagination a:hover:not(.active) {
    background-color: #f4f4f4;
    border-color: #999;
}

/* ⬇️ 공통 CSS(한 번만) – 기존 파일에 이어붙이기 */
#loading_overlay{
    position:fixed; inset:0;
    display:flex; align-items:center; justify-content:center;
    background:rgba(0,0,0,.35);      /* 반투명 배경 */
    z-index:99999;
}
#loading_overlay .loader{
    width:48px; height:48px;
    border:5px solid rgba(255,255,255,.3);
    border-top-color:#fff;
    border-radius:50%;
    animation:spin 1s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}



/* mobile menu */
.mobile_menu {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    z-index: 1000;
    height: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile_menu_nav {
    display: flex;
    height: 100%;
}
.mobile_menu_nav a {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.mobile_nav_icon {
    font-size: 30px;
}
.mobile_nav_text {
    font-size: 13px;
    color: #595959;
}

.icon {
    width: 24px;
    height: 24px;
    stroke: #999;
    transition: stroke 0.2s;
}
/*.icon:hover {
    stroke: #0081ff;
}

.mobile_nav_text:hover {
    color: #0081ff;
}*/



/* 클릭 후 활성 색 */
.icon.is-active { stroke:#0081ff; }

.mobile_nav_text.is-active {
    color: #0081ff;
}



/* ===================== SVG 핀 마커 ===================== */
.w-sell-marker,
.w-deals-marker {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.w-pin-drop {
    display: block;
    line-height: 0;
    transition: filter .15s ease, transform .15s ease;
}
/* N 뱃지 */
/* 결제한 중개사의 매물 — 마커 왼쪽 위 왕관. N 배지(오른쪽 위)와 겹치지 않는다 (2026-09-16) */
.w-sell-marker .w-marker-crown {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 22px; height: 22px;
    background: #fff;
    border-radius: 50%;
    border: 1.5px solid #f2c94c;
    font-size: 13px; line-height: 1;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
/* 👑 매물 핀은 왕관과 테두리가 같이 반짝인다 (2026-09-21 사용자 요청)
   - 핀 테두리: SVG 바깥 선(stroke)의 진하기를 오르내리게 한다
   - 핀 전체  : 원래 그림자(--pin-shadow)는 그대로 두고 금빛 번짐만 겹친다
   ⚠️ 선택(active) 상태의 filter 는 !important 라 그때는 이 반짝임이 멈춘다 — 의도한 동작. */
.w-sell-marker--crown .w-pin-body{
    animation: pinEdgeShine 2.2s ease-in-out infinite;
}
@keyframes pinEdgeShine{
    0%, 100% { stroke-opacity: .45; }
    50%      { stroke-opacity: 1;   }
}
.w-sell-marker--crown .w-pin-drop{
    animation: pinGoldGlow 2.2s ease-in-out infinite;
}
@keyframes pinGoldGlow{
    0%, 100% { filter: drop-shadow(0 5px 8px var(--pin-shadow)) drop-shadow(0 0 2px rgba(247,201,72,.55)); }
    50%      { filter: drop-shadow(0 5px 8px var(--pin-shadow)) drop-shadow(0 0 10px rgba(247,201,72,.95)); }
}
.w-sell-marker--crown .w-marker-crown{
    animation: crownTwinkle 2.2s ease-in-out infinite;
}
@keyframes crownTwinkle{
    0%, 100% { transform: scale(1);    box-shadow: 0 1px 3px rgba(0,0,0,.25), 0 0 3px rgba(247,201,72,.55); }
    50%      { transform: scale(1.14); box-shadow: 0 1px 3px rgba(0,0,0,.25), 0 0 11px rgba(247,201,72,1); }
}
/* 움직임을 불편해하는 사용자에게는 멈춘 금테만 남긴다 */
@media (prefers-reduced-motion: reduce){
    .w-sell-marker--crown .w-pin-body,
    .w-sell-marker--crown .w-pin-drop,
    .w-sell-marker--crown .w-marker-crown{ animation: none; }
}

.w-sell-marker .w-marker-new,
.w-deals-marker .w-marker-new {
    position: absolute;
    top: 2px;
    right: 0px;
    width: 15px; height: 15px;
    background: #ff3b30;
    color: #fff;
    font-size: 8.5px;
    font-weight: 800;
    border-radius: 50%;
    border: 1.5px solid #fff;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
/* 선택(active) 상태 */
.w-sell-marker.w-marker-active .w-pin-drop,
.w-deals-marker.w-marker-active .w-pin-drop {
    filter: brightness(1.3) drop-shadow(0 6px 14px rgba(0,0,0,.5)) !important;
    transform: scale(1.12);
    transform-origin: 40px 112px;
}
.w-sell-marker.w-marker-active,
.w-deals-marker.w-marker-active {
    z-index: 10002;
    background: transparent !important;
}
.w-marker-z-index { z-index: 200 !important; }

/* ===================== 네모 말풍선 마커 (실거래) ===================== */
.w-marker {
    position: relative;
    display: inline-block;
    background: #2F4B7C;
    border-radius: 7px;
    padding: 3px 7px 4px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    min-width: 60px;
    font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.28);
    transition: transform .15s ease, box-shadow .15s ease;
}
.w-marker-top-text {
    font-size: 9px;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    line-height: 1.1;
    letter-spacing: -0.2px;
}
.w-marker-main-text {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin: 1px 0 0;
}
.w-marker-bottom-text {
    font-size: 8px;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    line-height: 1.1;
    letter-spacing: -0.2px;
}
.w-marker-arrow {
    display: block;
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #2F4B7C;
}
.w-marker-tcat-deals            { background: #2F4B7C; }
.w-marker-tcat-deals-arrow      { border-top-color: #2F4B7C; }
.w-deals-marker.w-marker-active {
    background: #e8456b !important;
    transform: scale(1.1) translateY(-2px);
    z-index: 10002;
}
.w-deals-marker.w-marker-active .w-marker-arrow { border-top-color: #e8456b !important; }

/* ===================== 보물지도 카테고리 핀 마커 (세련된 pill 스타일) ===================== */
.tcat-pin {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.tcat-pin-inner {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px 6px 9px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.28);
    white-space: nowrap;
    position: relative;
    border: 1.5px solid rgba(255,255,255,.35);
}
/* 삼각형 꼬리 */
.tcat-pin-inner::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}
.tcat-pin-icon {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,.95);
    flex-shrink: 0;
}
.tcat-pin-price {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.3px;
    line-height: 1;
}
/* 카테고리별 색상 */
.tcat-pin-camping .tcat-pin-inner           { background: #2d6a4f; }
.tcat-pin-camping .tcat-pin-inner::after    { border-top: 8px solid #2d6a4f; }

.tcat-pin-factory .tcat-pin-inner           { background: #37474f; }
.tcat-pin-factory .tcat-pin-inner::after    { border-top: 8px solid #37474f; }

.tcat-pin-nongmak .tcat-pin-inner           { background: #7c5c42; }
.tcat-pin-nongmak .tcat-pin-inner::after    { border-top: 8px solid #7c5c42; }

.tcat-pin-building .tcat-pin-inner          { background: #c0392b; }
.tcat-pin-building .tcat-pin-inner::after   { border-top: 8px solid #c0392b; }

/* hover */
.tcat-pin:hover .tcat-pin-inner { filter: brightness(1.12); }

/* active (선택됨) */
.tcat-pin.w-marker-active {
    transform: translateY(-3px) scale(1.18) !important;
    z-index: 10002 !important;
}
.tcat-pin.w-marker-active .tcat-pin-inner {
    box-shadow: 0 4px 16px rgba(0,0,0,.45) !important;
    border-color: rgba(255,255,255,.7) !important;
}

/* ===================== 보물지도 카테고리별 active 마커 색상 (말풍선 전용) ===================== */
.w-marker.w-marker-active.w-marker-active-camping { background-color: #2E7D32 !important; }
.w-marker.w-marker-active.w-marker-active-camping .w-marker-arrow { border-top-color: #2E7D32 !important; }

.w-marker.w-marker-active.w-marker-active-factory { background-color: #37474F !important; }
.w-marker.w-marker-active.w-marker-active-factory .w-marker-arrow { border-top-color: #37474F !important; }

.w-marker.w-marker-active.w-marker-active-nongmak { background-color: #6D4C41 !important; }
.w-marker.w-marker-active.w-marker-active-nongmak .w-marker-arrow { border-top-color: #6D4C41 !important; }

.w-marker.w-marker-active.w-marker-active-building { background-color: #B71C1C !important; }
.w-marker.w-marker-active.w-marker-active-building .w-marker-arrow { border-top-color: #B71C1C !important; }



/* .w-deals-marker defined in SVG pin section above */


.w-cluster {
    background:#0081ff;
    position: relative;
    color:white;
    border-radius:50%;
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index: 1000;
}
.w-cluster-buy-color {
    background:#ffaf28 !important;
}




@media screen and (max-width: 1032px) {
    .header {
        flex-direction: row; /* 기존처럼 수평 배치 */
        height: 60px;        /* ✅ 고정 높이 재지정 */
        align-items: center;

    }

    .header-center {
        gap: 5px;
    }

    .header-center a {
        font-size: 12px;
    }


    .header-right {
        display: none;
        /*flex-wrap: nowrap;
        gap: 16px;*/
    }

    .mobile-header-right {
        display: block;
    }

    .mobile-search-btn {
        cursor: pointer;
    }
    .mobile-search-btn .icon {
        width: 30px;
        height: 30px;
    }

    .terms-popup {
        padding: 9px;
    }

    .w_btn_group_func {
        top: 10px;
        padding: 3px;
    }
    .w_btn_group_func.mobile-search-active {
        top: 80px;
    }
    .w_btn_group_func a {
        width: 65px;
        height: 28px;
        font-size: 14px;
    }
    .w_btn_group_line {
        height: 28px;
    }

    .mobile_menu {
        display: block;
    }

    .main-footer {
        padding-bottom: 90px;
    }


}

.w_btn_view_term {
    font-size: 12px;
    color: #333;
    cursor: pointer;
    text-decoration: underline;
}

.w_btn_common {
    flex: 1;
    padding: 12px 0;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}
.w_btn_yellow {
    background-color: #ffaf28;
    color: #333;

}
.w_btn_blue {
    background-color: #0081ff;
    color: #fff;
}



.ph-red::placeholder { color:#e74c3c; font-size: 13px}
.ph-blue::placeholder { color:#3380fd; }

/* ============================================================
   앱 설치 CTA 배너 (모바일 전용 — iOS/Android JS 감지)
   ============================================================ */
#app-install-banner {
    display: none; /* JS가 모바일 감지 후 flex로 전환 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 8px 12px;
    gap: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
}
.app-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid #eee;
    padding: 3px;
}
.app-banner-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.app-banner-info strong {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}
.app-banner-info span {
    font-size: 11px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-banner-btn {
    background: #3380FD;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none !important;
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-block;
}
.app-banner-close {
    background: none;
    border: none;
    color: #bbb;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    padding: 4px 2px;
}

/* ===== 회원가입 화면 (2026-09-11 복원) ===== */
.join-modal { max-width: 420px; max-height: 86vh; overflow-y: auto; }
.join-tabs { display: flex; gap: 0; margin-bottom: 14px; border-bottom: 2px solid #eee; }
.join-tab {
  flex: 1; padding: 11px 0; border: none; background: none; cursor: pointer;
  font-size: 15px; font-weight: 700; color: #aaa; border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.join-tab.active { color: #0081ff; border-bottom-color: #0081ff; }
.join-body input[type="text"], .join-body input[type="tel"] {
  width: 100%; padding: 11px 12px; margin-bottom: 8px;
  border: 1.5px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; outline: none;
}
.join-body input:focus { border-color: #0081ff; }
.join-row { display: flex; gap: 6px; }
.join-row input { flex: 1; }
.join-btn-sub {
  flex-shrink: 0; padding: 0 12px; margin-bottom: 8px; border: none; border-radius: 8px;
  background: #555; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.join-btn-sub:disabled { background: #ccc; cursor: default; }
.join-msg { font-size: 12px; min-height: 18px; margin-bottom: 6px; }
.join-msg.ok  { color: #16a34a; }
.join-msg.err { color: #dc2626; }
.join-sec-title { font-size: 13px; font-weight: 800; color: #444; margin: 14px 0 8px; }
.join-file {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  border: 1.5px dashed #ddd; border-radius: 8px; margin-bottom: 8px; font-size: 13px; color: #888;
}
.join-file span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.join-file-btn {
  flex-shrink: 0; padding: 5px 12px; background: #555; color: #fff;
  border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.join-note { font-size: 11px; color: #999; line-height: 1.5; margin-bottom: 4px; }
.join-agree { margin: 16px 0 12px; display: flex; flex-direction: column; gap: 7px; }
.join-agree label { font-size: 13px; color: #555; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.join-agree a { font-size: 12px; color: #888; text-decoration: underline; margin-left: auto; }
.join-submit {
  width: 100%; padding: 13px; border: none; border-radius: 10px;
  background: #0081ff; color: #fff; font-size: 15px; font-weight: 800; cursor: pointer;
}
.join-submit:disabled { background: #ccc; cursor: default; }

/* 중개전문가 탭 말풍선 — 옛 사이트에 있던 안내 (2026-09-12) */
.join-tab { position: relative; overflow: visible; }
.join-tab-bubble {
  position: absolute; left: 50%; top: -26px; transform: translateX(-50%);
  padding: 4px 10px; border-radius: 14px;
  background: #333; color: #fff; font-size: 11px; font-weight: 600;
  white-space: nowrap; line-height: 1.5; pointer-events: none;
}
.join-tab-bubble::after {
  content: ''; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #333;
}
.join-btn-sub { background: #0081ff; }
.join-file-btn { background: #0081ff; }
.join-tabs { overflow: visible; margin-top: 22px; }
.join-modal { overflow-y: auto; }

/* 가입 화면 폭 정렬 (2026-09-12)
   reset_code.css 의 `button { all: unset }` 때문에 버튼은 box-sizing 이 content-box 로
   돌아가고 display 도 inline 이 된다. 입력칸과 계산 기준이 달라져서 "동의하고 가입하기"
   버튼만 좌우로 더 튀어나왔다. 둘을 같은 기준으로 맞춘다. */
.join-body,
.join-body input,
.join-body .join-row,
.join-file,
.join-submit,
.join-btn-sub { box-sizing: border-box; }
.join-submit { display: block; width: 100%; }
.join-body input { display: block; }

/* 말풍선 깜빡임 (2026-09-12)
   중개사가 자기 탭을 못 찾고 일반회원으로 가입해 버리는 걸 막으려는 안내라
   눈에 띄어야 한다. 다만 깜빡임이 불편한 사용자도 있어 설정을 존중한다. */
@keyframes joinBubbleBlink {
  0%, 45%  { opacity: 1; }
  55%, 95% { opacity: 0.15; }
  100%     { opacity: 1; }
}
.join-tab-bubble { animation: joinBubbleBlink 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .join-tab-bubble { animation: none; }
}


/* 팔아요! 등록에서 검색창으로 들어왔을 때 뜨는 안내 (2026-09-16)
   커서만 깜빡여서는 뭘 치라는 건지 모른다는 문의가 많았다 */
.search-hint{
    margin:6px 4px 0;padding:8px 11px;border-radius:8px;
    background:#eaf4ff;border:1px solid #bcdcff;color:#0b5ed7;
    font-size:13px;line-height:1.5;
}
.search-hint b{font-weight:800;}
.search-hint span{display:block;margin-top:2px;color:#5b7fa6;font-size:12px;font-weight:600;}


/* 지번 검색 후 "파란 땅을 누르세요" 안내 (2026-09-21)
   지도 위에 떠 있어야 눈에 들어온다. 검색창 밑에 깔면 아무도 안 본다. */
.pick-hint{
    position:absolute; left:50%; transform:translateX(-50%);
    top:86px; z-index:60;
    display:flex; align-items:center; gap:10px;
    max-width:calc(100% - 32px);
    padding:11px 16px; border-radius:10px;
    background:rgba(17,24,39,.92); color:#fff;
    font-size:13.5px; line-height:1.45;
    box-shadow:0 6px 20px rgba(0,0,0,.28);
    animation:pickHintIn .25s ease-out;
}
/* 🔴 이 줄이 없으면 hidden 이 안 먹는다.
   브라우저 기본 [hidden]{display:none} 은 우선순위가 가장 낮아서
   바로 위 .pick-hint{display:flex} 에 진다. 실제로 처음부터 떠 있었다. (2026-09-21) */
.pick-hint[hidden]{ display:none !important; }
.pick-hint b{ color:#7cc4ff; font-weight:800; }
.pick-hint em{ font-style:normal; color:#c7cdd6; font-size:12px; }
.pick-hint-dot{
    flex:0 0 auto; width:11px; height:11px; border-radius:50%;
    background:#3b9dff; box-shadow:0 0 0 0 rgba(59,157,255,.7);
    animation:pickHintPulse 1.4s infinite;
}
@keyframes pickHintPulse{
    0%{ box-shadow:0 0 0 0 rgba(59,157,255,.7); }
    70%{ box-shadow:0 0 0 10px rgba(59,157,255,0); }
    100%{ box-shadow:0 0 0 0 rgba(59,157,255,0); }
}
@keyframes pickHintIn{ from{ opacity:0; transform:translate(-50%,-6px); } to{ opacity:1; transform:translate(-50%,0); } }
@media (max-width:768px){
    .pick-hint{ top:auto; bottom:96px; font-size:13px; padding:10px 14px; }
}

/* 상권분석·유동인구 결제 안내 창 (2026-09-23) */
.bft-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:10070;
  display:flex;align-items:center;justify-content:center;padding:20px;}
.bft-box{position:relative;width:100%;max-width:360px;background:#fff;border-radius:16px;
  padding:28px 24px 20px;box-shadow:0 10px 40px rgba(0,0,0,.22);text-align:center;}
.bft-close{position:absolute;top:10px;right:14px;border:none;background:none;font-size:26px;
  line-height:1;color:#b0b8c1;cursor:pointer;}
.bft-badge{display:inline-block;padding:4px 12px;border-radius:20px;background:#e8f3ff;
  color:#0081ff;font-size:12px;font-weight:700;margin-bottom:10px;}
.bft-head h3{font-size:18px;font-weight:800;color:#1b1e21;margin:0 0 10px;word-break:keep-all;}
.bft-desc{margin:0 0 16px;font-size:14px;color:#5b6472;line-height:1.6;word-break:keep-all;}
.bft-cost{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:18px;}
.bft-price{font-size:20px;font-weight:800;color:#0081ff;}
.bft-bal{font-size:13px;color:#94a3b8;}
.bft-go{width:100%;box-sizing:border-box;padding:14px 0;border:none;border-radius:12px;
  background:#0081ff;color:#fff;font-size:16px;font-weight:700;cursor:pointer;}
.bft-go:disabled{background:#b8cfe8;cursor:default;}
.bft-alt{width:100%;box-sizing:border-box;margin-top:8px;padding:12px 0;border:1px solid #d7e0ea;
  border-radius:12px;background:#fff;color:#4a5568;font-size:14px;font-weight:600;cursor:pointer;}
.bft-alt:hover{background:#f6f9fc;}
.bft-fine{margin-top:12px;font-size:11.5px;color:#98a2ad;line-height:1.6;word-break:keep-all;}

/* 유동인구 — 켠 뒤 무엇을 해야 하는지 한 줄 안내 (2026-09-23) */
.ft-hint-bar{position:relative;margin:8px 10px 10px;padding:10px 30px 10px 12px;border-radius:10px;
  background:#fff6e5;border:1px solid #ffd79a;color:#8a5a00;font-size:12.5px;line-height:1.55;
  word-break:keep-all;}
.ft-hint-bar b{color:#6b4500;}
.ft-hint-x{position:absolute;top:4px;right:6px;border:0;background:none;font-size:18px;line-height:1;
  color:#b98b3e;cursor:pointer;}

/* 관심 지번 목록 (마이페이지, 2026-09-23) */
.lf-wrap{padding:22px 20px 26px;font-family:'Pretendard',sans-serif}
.lf-head{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.lf-head h2{margin:0;font-size:18px;font-weight:800;color:#141b25}
.lf-head span{font-size:12.5px;font-weight:700;color:#0081ff}
.lf-head .lf-x{margin-left:auto;border:1px solid #d6dde7;background:#fff;border-radius:8px;
  padding:6px 13px;font-size:12.5px;color:#5b6472;cursor:pointer}
.lf-empty{padding:50px 20px;text-align:center;color:#8a94a3;font-size:13.5px;line-height:1.8;
  border:1px dashed #d9e0e8;border-radius:12px}
.lf-list{list-style:none;margin:0;padding:0}
.lf-list li{display:flex;align-items:center;gap:8px;border-bottom:1px solid #eef1f5}
.lf-item{flex:1 1 auto;display:flex;align-items:center;gap:11px;padding:13px 4px;
  text-decoration:none;color:inherit;min-width:0}
.lf-item:hover{background:#f7fbff}
.lf-ico{font-size:17px;flex:0 0 auto}
.lf-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.lf-txt b{font-size:13.5px;font-weight:700;color:#1f2733;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lf-txt em{font-style:normal;font-size:11.5px;color:#8a94a3}
.lf-del{flex:0 0 auto;border:1px solid #f0c9cb;background:#fff;color:#c02a2f;border-radius:7px;
  padding:5px 11px;font-size:11.5px;cursor:pointer}
.lf-del:hover{background:#fdecec}

/* ── 휴대폰에서 안내 말풍선이 하단 메뉴에 가려 잘리던 것 (2026-09-23 사용자 신고) ──
   .pick-hint 는 지도 안에 absolute 로 떠 있었는데, 휴대폰에서는 지도가 화면을 꽉 채워
   말풍선이 하단 메뉴(60px, fixed) 아래로 들어가 글이 잘렸다.
   휴대폰에서는 화면 기준으로 띄우고 **하단 메뉴 위**에 놓는다. */
@media (max-width: 768px) {
    .pick-hint {
        position: fixed;
        top: auto;
        bottom: calc(60px + env(safe-area-inset-bottom, 0px) + 12px);
        left: 12px; right: 12px;
        /* 하단 메뉴가 z-index:1000 이다. 기본값(60)이면 그 뒤로 숨을 수 있다. */
        z-index: 1001;
        transform: none;
        max-width: none;
        padding: 12px 14px;
        font-size: 13px;
        align-items: flex-start;
    }
    .pick-hint-dot { margin-top: 4px; }
    .pick-hint em { display: block; margin-top: 3px; }
}

/* 로고 옆 화면 이름 (2026-09-23) — 휴대폰에서만 보인다.
   넓은 화면은 좌측 패널 머리말이 제 몫을 하므로 굳이 겹쳐 쓰지 않는다. */
.header-pagetitle { display: none; }
@media (max-width: 768px) {
    /* ⚠️ .header-left 는 width 가 clamp(70~100px) 로 묶여 있고 로고 img 는 width:100% 다.
       그대로 flex 로 만들면 로고가 눌려 사라진다 (실제로 사라졌다).
       화면 이름을 옆에 두려면 **폭 제한을 풀고** 로고 크기를 따로 잡아야 한다. */
    .header-left { display: flex; align-items: center; gap: 9px; width: auto; }
    .header-left a { flex: 0 0 auto; width: 82px; line-height: 0; }
    .header-left a img { width: 100%; height: auto; }
    .header-pagetitle {
        display: inline-block;
        font-size: 15px; font-weight: 800; color: #0081ff;
        white-space: nowrap; letter-spacing: -.3px;
        padding-left: 9px; border-left: 1px solid #dbe3ec;
    }
}

/* 하단 메뉴 글자 잘림 방지 (2026-09-23 사용자 신고)
   칸이 7개까지 늘어나 휴대폰에서 글자가 접히고 잘렸다.
   글자는 줄바꿈 없이, 칸에 맞춰 조금 작게. */
.mobile_menu_nav a { min-width: 0; padding: 0 2px; }
.mobile_nav_text {
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: -.4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 400px) { .mobile_nav_text { font-size: 11px; } }
@media (max-width: 360px) { .mobile_nav_text { font-size: 10.5px; letter-spacing: -.6px; } }

/* 매물 핀을 줄이면서 위에 붙는 뱃지도 같이 줄인다 (2026-09-23).
   핀만 작아지고 왕관·N 이 그대로면 뱃지가 핀보다 커 보인다.
   ⚠️ 실거래 핀(.w-deals-marker)의 N 은 그대로 둔다 — 그 핀은 안 줄였다. */
.w-sell-marker .w-marker-crown { width: 18px; height: 18px; font-size: 11px; }
.w-sell-marker .w-marker-new   { width: 13px; height: 13px; font-size: 7.5px; }

/* 마이페이지 — 땅콩으로 뭘 할 수 있는지 (2026-09-23) */
.peanut-use-list{list-style:none;margin:10px 0 0;padding:0;background:#fff;border-radius:10px;overflow:hidden}
.peanut-use-list li + li{border-top:1px solid #eef1f5}
.peanut-use-list a{display:flex;align-items:center;gap:9px;padding:12px 13px;
  text-decoration:none;color:inherit}
.peanut-use-list a:hover{background:#f7fbff}
.pu-ico{font-size:16px;flex:0 0 auto}
.pu-name{flex:1 1 auto;font-size:13.5px;font-weight:600;color:#1f2733;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pu-cost{flex:0 0 auto;font-size:12px;font-weight:800;color:#d98200;white-space:nowrap}
.pu-go{flex:0 0 auto;color:#b7c0cb;font-size:17px;line-height:1}
.peanut-note{margin-top:9px;font-size:11.5px;color:#8a94a3;line-height:1.5}

/* 휴대폰 오른쪽 위 플래티넘·땅콩 입구 (2026-09-23 사용자 지시 — 돋보기 왼쪽)
   ⚠️ 기본값(숨김)을 **미디어쿼리보다 먼저** 적어야 한다.
      뒤에 적었더니 같은 힘으로 나중 규칙이 이겨서 휴대폰에서도 안 보였다. */
.mobile-premium-btn { display: none; }
@media (max-width: 768px) {
    .mobile-header-right { display: flex; align-items: center; gap: 8px; }
    .mobile-premium-btn {
        display: inline-flex; align-items: center; gap: 3px;
        padding: 5px 9px; border-radius: 15px;
        background: linear-gradient(135deg, #1d6b4f, #2a9d6f); color: #fff;
        font-size: 11.5px; font-weight: 800; letter-spacing: -.3px;
        text-decoration: none; white-space: nowrap; line-height: 1;
    }
    /* 아주 좁은 화면에서는 왕관만 */
    @media (max-width: 360px) { .mobile-premium-btn span { display: none; } }
}
