/* --- [핵심] 지도 컨테이너 높이 강제 지정 (이게 없으면 안 보임) --- */
.yodot-map-wrapper {
    position: relative;
    width: 100%;
    height: 600px; /* PC 기본 높이 */
    height: 80vh;  /* 모바일은 화면의 80% */
    min-height: 500px;
    background-color: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin-bottom: 30px;
}

#yodot-full-map {
    width: 100%;
    height: 100% !important; /* 부모 높이 채우기 */
}

/* --- 상단 검색바 및 버튼 --- */
.map-top-bar {
    position: absolute;
    top: 15px; left: 15px; right: 15px;
    z-index: 10;
    pointer-events: none; /* 클릭 통과 */
}

.search-box {
    pointer-events: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 10px 15px;
    display: flex; align-items: center;
    max-width: 400px;
}
.search-box i { color: #999; margin-right: 10px; }
.search-box input { border: none; width: 100%; font-size: 14px; outline: none; }

.refresh-btn {
    position: absolute;
    top: 80px; left: 15px;
    z-index: 10;
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #333;
}
.refresh-btn:hover { background-color: #f9f9f9; }
.refresh-btn i { color: #e91e63; margin-right: 5px; }

.filter-heart-btn {
    position: absolute;
    top: 80px; left: 110px;
    z-index: 10;
    width: 34px; height: 34px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    color: #ccc;
}
.filter-heart-btn.active { background: #e91e63; color: #fff; border-color: #e91e63; }

/* --- 바텀 시트 --- */
.bottom-sheet {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 20;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.15);
    max-height: 85%;
    display: flex; flex-direction: column;
}
.bottom-sheet.open { transform: translateY(0); }

.sheet-handle-area {
    padding: 12px 0; text-align: center; cursor: pointer;
    background: #fff; border-radius: 20px 20px 0 0; flex-shrink: 0;
}
.sheet-handle-bar { width: 40px; height: 5px; background: #ddd; border-radius: 3px; display: inline-block; }

.sheet-content {
    padding: 0 20px 20px 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.sheet-place-img {
    height: 180px; border-radius: 12px;
    background-size: cover; background-position: center;
    margin-bottom: 15px; background-color: #eee;
    display: flex; justify-content: center; align-items: center; border: 1px solid #eee;
}
.sheet-place-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.sheet-place-title { font-size: 20px; font-weight: bold; color: #333; }
.btn-like-toggle { background: none; border: none; font-size: 24px; color: #ddd; cursor: pointer; padding: 0; }
.btn-like-toggle.liked { color: #e91e63; }

.sheet-place-addr { font-size: 14px; color: #666; margin-bottom: 20px; display: flex; align-items: center; gap: 6px; }
.badge-cat { font-size: 11px; background: #333; color: #fff; padding: 3px 6px; border-radius: 4px; }
.sheet-divider { border: 0; border-top: 1px solid #eee; margin: 0 -20px 20px -20px; }

/* 주변 장소 리스트 */
.nearby-places-section h4 { margin: 0 0 15px 0; font-size: 16px; font-weight: bold; color: #333; }
.nearby-list ul { list-style: none; padding: 0; margin: 0; }
.nearby-list li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid #f5f5f5; cursor: pointer;
}
.nearby-list li:last-child { border-bottom: none; }
.nearby-info { display: flex; align-items: center; }
.nearby-name { font-size: 14px; font-weight: 600; color: #333; }
.nearby-cat { font-size: 12px; color: #888; margin-left: 5px; }
.nearby-dist { font-size: 13px; color: #e91e63; font-weight: 600; }
.no-nearby { text-align: center; color: #999; padding: 20px; font-size: 13px; }
.placeholder-text { text-align: center; color: #999; padding: 40px 0; }

/* --- 기본 스타일 (이전 유지) --- */
#yodot-planner-app, #yodot-my-itinerary-wrapper { font-family: sans-serif; color: #333; box-sizing: border-box; }
#yodot-planner-app { background: #fff; max-width: 480px; margin: 0 auto; border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden; min-height: 600px; }
/* ... (나머지 스타일은 그대로 유지) ... */