.breadcrumb{display:none!important;}
.main_boundary,.sub_boundary{padding:0!important;}

#gw_top_btn {
    z-index: 0 !important;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, 'Noto Sans KR', sans-serif; background: #f0f0f0; }

.bm-header {
    background: #1d6fa4;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.bm-header .title { font-size: 15px; font-weight: bold; flex: 1; }
.bm-header .sub   { font-size: 11px; opacity: .8; margin-top: 2px; }

.img-tabs {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.img-tab {
    flex-shrink: 0;
    padding: 4px 14px;
    border: 1px solid #bbb;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
}
.img-tab.active { background: #1d6fa4; color: #fff; border-color: #1d6fa4; }

.map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    background: #fff;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: #666;
}
.zoom-btns { display: flex; gap: 5px; align-items: center; }
.zoom-btns button {
    border: 1px solid #ddd;
    background: #fff;
    padding: 3px 10px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 3px;
    line-height: 1.4;
}
.zoom-btns span { font-size: 12px; font-weight: bold; color: #1d6fa4; min-width: 40px; text-align: center; }

.canvas-scroll {
    overflow: auto;
    background: #e8e8e8;
    touch-action: pan-x pan-y;
    max-height: calc(100vh - 160px);
}
canvas { display: block; cursor: pointer; }

/* ── 팝업 ── */
.booth-popup {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 0 0 80px;
    transform: translateY(100%);
    transition: transform .3s ease;
    z-index: 200;
    box-shadow: 0 -4px 24px rgba(0,0,0,.18);
    height: 50vh;       /* max-height → height로 고정 */
    overflow-y: auto;
}

.booth-popup.show { transform: translateY(0); }

.popup-drag {
    width: 40px; height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 10px auto 0;
}
.popup-close {
    position: absolute;
    top: 10px; right: 16px;
    font-size: 22px;
    border: none;
    background: none;
    color: #bbb;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

/* 부스컷 이미지 */
.popup-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
    margin-top: 8px;
    background: #f5f5f5;
}
.popup-img-placeholder {
    width: 100%;
    height: 80px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 12px;
    margin-top: 8px;
}

/* 팝업 내용 */
.popup-body { padding: 14px 18px 0; }

.popup-num {
    font-size: 13px;
    font-weight: bold;
    color: #1d6fa4;
    background: #e8f0fb;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}
.popup-name {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 6px;
    line-height: 1.3;
}
.popup-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}
.popup-genre {
    font-size: 12px;
    color: #555;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: inline-block;
}
.popup-sns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.sns-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: bold;
}
.sns-tw { background: #e7f3ff; color: #1d9bf0; }
.sns-ig { background: #fce4ec; color: #e91e63; }

.popup-no-data {
    padding: 14px 18px;
    color: #bbb;
    font-size: 13px;
}

.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
    line-height: 2;
}