/* ═══════════════════════════════════════════════════
   생명선지도 PC 전용 스타일
   — 모바일 규칙은 map.css, PC 관련 설정은 이 파일에 분리
   ═══════════════════════════════════════════════════ */

/* ── 국내/해외 토글 — 패널 밖, 지도 왼쪽 상단에 플로팅 ──
   (PC에서 map.js가 body 직속으로 이동시키며 이 클래스를 붙임) */
.pc-float-toggle{
    position: fixed;
    /* 기본(모바일 사이즈) — 검색바(46px) 바로 아래 왼쪽. PC 사이즈 위치는 아래 @media에서 */
    top: calc(12px + 46px + 10px + env(safe-area-inset-top, 0px));
    left: 14px;
    z-index: 110;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: rgba(255,255,255,.95);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    transition: left .3s ease;
}
.pc-float-toggle::before{
    content: '해외';
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #808896;
}
.pc-float-toggle::after{
    content: '국내';
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #808896;
}
/* 작은 일반 토글스위치 (bootstrap-toggle 재스타일) */
.pc-float-toggle .toggle{
    width: 34px !important;
    height: 18px !important;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 999px !important;
    background: #3d7ff0;            /* on = 국내 */
    box-shadow: inset 0 1px 2px rgba(0,0,0,.08);
    transition: background .2s ease;
}
.pc-float-toggle .toggle.off{
    background: #638a0c;            /* off = 해외 */
}
.pc-float-toggle .toggle .toggle-group{
    display: none;                  /* 라벨 버튼 숨기고 노브만 그림 */
}
.pc-float-toggle .toggle::after{
    content: '';
    position: absolute;
    top: 50%;              /* 픽셀 반올림과 무관하게 항상 수직 정중앙 */
    transform: translateY(-50%);
    left: 19px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    transition: left .2s ease;
}
.pc-float-toggle .toggle.off::after{
    left: 3px;
}

.toggle.btn-xs {
    min-width: 38px !important;
}

@media (min-width: 673px){

    /* ── 국내/해외 토글 — PC 사이즈: 사이드바 바로 우측 상단 ── */
    .pc-float-toggle{
        top: calc(14px + env(safe-area-inset-top, 0px));   /* 아이패드 앱 — 상태바(노치)와 안 겹치게 */
        left: calc(372px + 14px);   /* 패널 오른쪽 옆 */
    }
    /* 상세 사이드바가 열리면 토글을 그 오른쪽으로 */
    body.pc-detail-open .pc-float-toggle{
        left: calc(744px + 14px);
    }

    /* ── 왼쪽 세로 패널 — 검색바 + 교회정보 + 집회일정 ── */
    .search_wrapper{
        top: 0;
        left: 0;
        width: 372px;
        height: 100%;
        padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 0;   /* 상단 여백 = 캡슐(pc-float-toggle top 14px)과 동일 정렬, 아이패드 앱은 상태바 아래로 */
        background: rgba(255,255,255,.92);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-right: 1px solid rgba(25,32,50,.08);
        box-shadow: 4px 0 18px rgba(0,0,0,.08);
        /* 검색바·교회헤더는 고정, 아래 내용(#pcScroll)만 스크롤 */
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transition: transform .3s ease;
    }
    /* 스크롤 영역 — 검색바·교회헤더 아래 나머지 전부 */
    .pc-scroll{
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        margin: 0 -18px;            /* 스크롤바를 패널 가장자리로 */
        padding: 0 18px 20px;
    }
    /* 고정 교회 헤더 — 교회명 + 캡슐 탭 (교회 선택 시 표시) */
    .pc-ch-head{
        flex: none;
        position: relative;
        padding: 14px 0 10px;
        border-bottom: 1px solid rgba(25,32,50,.08);
        margin-bottom: 6px;
    }
    .pc-ch-head .pc-back{
        top: 14px;
    }
    .pc-ch-head .pc-ch-tabs{
        margin-bottom: 0;
    }
    /* 패널 접힘 — 왼쪽으로 슬라이드 아웃 */
    body.pc-panel-closed .search_wrapper{
        transform: translateX(-100%);
    }
    body.pc-panel-closed .pc-float-toggle{
        left: 14px;             /* 국내/해외 토글도 왼쪽으로 */
    }

    /* ── 패널 접기/펼치기 버튼 — 패널 오른쪽 가장자리 중간 ── */
    .pc-panel-toggle{
        position: fixed;
        top: 50%;
        left: 372px;
        transform: translateY(-50%);
        z-index: 101;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 56px;
        background: #fff;
        border: 1px solid rgba(25,32,50,.12);
        border-left: 0;
        border-radius: 0 10px 10px 0;
        box-shadow: 4px 0 10px rgba(0,0,0,.08);
        color: #666;
        font-size: 13px;
        cursor: pointer;
        transition: left .3s ease;
    }
    body.pc-panel-closed .pc-panel-toggle{
        left: 0;
    }
    /* 상세 사이드바가 열려 있는 동안은 버튼 숨김 */
    body.pc-detail-open .pc-panel-toggle{
        display: none;
    }
    .flex{
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 0;
    }
    .searchFrm input{
        border: 1px solid rgba(25,32,50,.18);
        box-shadow: 0 2px 8px rgba(0,0,0,.10);
    }
    .searchFrm input:focus{
        border-color: rgba(61,127,240,.55);
        box-shadow: 0 2px 8px rgba(0,0,0,.10), 0 0 0 3px rgba(61,127,240,.25);
    }
    .searchFrm .searchList{
        box-shadow: 0 4px 14px rgba(0,0,0,.10);
    }

    /* ── 교회 정보/집회일정 — 하단 카드 대신 패널 안 카드 섹션 (map.js가 생성) ── */
    .footer{
        display: none;
    }
    .pc-sec{
        margin-top: 14px;
    }
    /* 카드 박스 효과 없이 내용만 — 패널 여백 절약 */
    .pc-card{
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }
    .pc-name{
        margin: 6px 40px 10px;      /* 좌우 40px — 뒤로가기 버튼과 겹침 방지 */
        text-align: center;
        font-size: 17px;
        font-weight: 700;
        color: #1b1f27;
    }
    /* 교회정보 — 교회명 왼쪽 원형 라인 뒤로가기 (목록에서 진입 시) */
    #pcInfo{
        position: relative;
    }
    .pc-back{
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 1px solid rgba(0,0,0,.18);
        border-radius: 50%;
        background: #fff;
        color: #333;
        font-size: 14px;
        cursor: pointer;
        box-shadow: 0 1px 3px rgba(0,0,0,.08);
    }
    .pc-back:hover{
        border-color: rgba(0,0,0,.35);
    }
    .pc-hero{
        margin: 4px 0 14px;
    }
    .pc-hero img{
        display: block;
        margin: 0 auto;
        width: 170px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 28px;
        box-shadow: 0 6px 18px rgba(0,0,0,.15);
    }
    /* 사진 방향별 — 가로형은 넓게, 세로형은 길게 */
    .pc-hero img.ph-land{
        width: min(250px, 100%);
        aspect-ratio: 3 / 2;
    }
    .pc-hero img.ph-port{
        width: 150px;
        aspect-ratio: 3 / 4;
    }
    /* 필드 행 — 필드명(작게)/값 + 오른쪽 아이콘 */
    .pc-fields{
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .pc-fields li{
        position: relative;     /* 링크 확장(stretched-link) 기준 */
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 4px;
        border-bottom: 1px solid rgba(25,32,50,.08);
    }
    /* 행 전체 투명 링크 (텍스트 자체에는 링크 없음) */
    .pc-fields .row-link{
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
    }
    /* 링크 클릭 범위 — 글자가 아니라 행 전체 */
    .pc-fields .fld p a::after{
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
    }
    .pc-fields .addr-copy{
        position: relative;
        z-index: 1;             /* 행 전체 링크 위에서도 복사 버튼 동작 */
    }
    .pc-fields li:last-child{
        border-bottom: 0;
    }
    .pc-fields .fld{
        flex: 1;
        min-width: 0;
    }
    .pc-fields .fld-name{
        display: block;
        margin-bottom: 2px;
        font-size: 11px;
        color: #8a91a0;
    }
    .pc-fields .fld p{
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        color: #222;
        word-break: break-all;
    }
    .pc-fields .fld p a{
        color: #222;
    }
    .pc-fields .fld-ico{
        flex: none;
        color: #aeb4c0;
        font-size: 16px;
    }
    .pc-fields .addr-copy{
        margin-top: 5px;
        padding: 4px 10px;
        border: 0;
        border-radius: 999px;
        background: #f2f4f7;
        font-size: 11px;
        font-weight: 600;
        color: #555;
        cursor: pointer;
    }
    .pc-fields .addr-copy.copied{
        background: #3d7ff0;
        color: #fff;
    }
    .pc-actions{
        margin-top: 14px;
    }

    /* ── 검색결과 — 교회 행 좌우 여백을 집회 행과 일치 ── */
    #pcListChurches .ch-item{
        padding-left: 4px;
        padding-right: 4px;
        gap: 10px;
        border-radius: 0;   /* 라운드 제거 — 구분선이 행 끝까지 닿게 */
    }
    #pcChurchesBody .ch-item{
        padding-left: 4px;
        padding-right: 4px;
        gap: 10px;
        border-radius: 0;
    }
    /* 구분선 — 모달(좌68/우12)보다 좌우로 넓게: 사진 오른쪽부터 행 끝까지 */
    #pcListChurches .ch-item + .ch-item::before,
    #pcChurchesBody .ch-item + .ch-item::before{
        left: 58px;   /* 패딩4 + 사진44 + 간격10 */
        right: 0;
    }
    /* 근처교회 — 오버 배경을 패널 가장자리까지 (pc-scroll 패딩 18px 상쇄) */
    #pcListChurches #nearbyBody .ch-item{
        margin: 0 -18px;
        padding-left: 22px;
        padding-right: 22px;
    }
    #pcListChurches #nearbyBody .ch-item + .ch-item::before{
        left: 76px;   /* 패딩 22 + 사진 44 + 간격 10 — 사진 아래는 구분선 없음 */
        right: 18px;
    }

    /* ── 검색결과 그룹 타이틀 (교회/집회 구분) ── */
    .pc-group-title{
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 26px 2px 8px;
        font-size: 15px;
        font-weight: 700;
        color: #4a515e;
        letter-spacing: .3px;
    }
    .pc-group-title:first-child{
        margin-top: 6px;
    }
    .pc-group-title span{
        padding: 1px 8px;
        border-radius: 999px;
        background: #eceef2;
        font-size: 11px;
        color: #666;
    }
    .pc-group-empty{
        margin: 4px 2px 8px;
        font-size: 12px;
        color: #a6acb8;
    }

    /* ── 집회일정 목록 ── */
    .pc-seminars{
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .pc-seminars .pc-sem{
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 4px;   /* 행 사이 여백 넉넉하게 */
        cursor: pointer;
    }
    /* 구분선 — 강사 사진 아래는 비우고 내용부터 (교회 목록과 동일한 룰) */
    .pc-seminars .pc-sem + .pc-sem::before{
        content: '';
        position: absolute;
        top: 0;
        left: 56px;   /* 패딩4 + 사진42 + 간격10 */
        right: 0;
        height: 1px;
        background: rgba(25,32,50,.08);
    }
    /* 오버 표시 — 배경을 패널 가장자리까지 (pc-scroll 패딩 18px 상쇄) */
    .pc-seminars .pc-sem:hover, .pc-seminars .pc-sem:active{
        background: #f5f7fa;
    }
    .pc-scroll .pc-seminars .pc-sem{
        margin: 0 -18px;
        padding-left: 22px;
        padding-right: 22px;
    }
    .pc-scroll .pc-seminars .pc-sem + .pc-sem::before{
        left: 74px;   /* 패딩 22 + 사진 42 + 간격 10 — 사진 아래는 구분선 없음 */
        right: 18px;
    }
    /* 강사 미지정 — 상반신 실루엣 폴백 (어깨가 원 아래로 잘리게) */
    .pc-sem-photo .sem-sil{
        font-size: 32px;
        transform: translateY(10px);
        color: #c6ccd6;
    }
    /* 강사 사진 — 원형, 없으면 사람 아이콘 폴백 */
    .pc-sem-photo{
        flex: none;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        overflow: hidden;
        background: #eceef2;
        color: #aeb4c0;
        font-size: 17px;
    }
    .pc-sem-photo img{
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* 규모(대/중/소) — 제목 앞 작은 라벨 */
    .pc-sem-size{
        display: inline-flex;       /* 위아래 여백 비대칭 해결 — flex 수직 중앙 */
        align-items: center;
        height: 18px;
        margin-right: 2px;
        padding: 0 7px;
        border-radius: 999px;
        background: #9aa1ab;        /* 규모 구분 없이 회색 통일 */
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        vertical-align: 2px;
    }
    .pc-sem-info{
        flex: 1;
        min-width: 0;
    }
    .pc-sem-info .t{
        margin: 0 0 2px;
        font-size: 13px;
        font-weight: 700;
        color: #222;
    }
    .pc-sem-info .s{
        margin: 0;
        font-size: 12px;
        color: #666;
    }
    .pc-sem-arrow{
        flex: none;
        color: #c3c9d2;
        font-size: 14px;
    }
    .pc-sem-empty{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 0;
        font-size: 13px;
        color: #8a91a0;
    }

    /* ── 클러스터 교회목록 카드 ── */
    .pc-churches-title{
        margin: 2px 2px 8px;
        text-align: center;
        font-size: 15px;
        font-weight: 700;
        color: #1b1f27;
    }

    /* ── 집회일정 상세 — 패널 오른쪽에 붙는 두 번째 사이드바 ── */
    .pc-side2{
        position: fixed;
        top: 0;
        left: 372px;
        width: 372px;
        height: 100%;
        z-index: 90;                /* 패널(100) 뒤로 슬라이드 인/아웃 */
        padding: calc(20px + env(safe-area-inset-top, 0px)) 18px 20px;   /* 아이패드 앱 — 상태바 아래로 */
        background: #f3f5f8;
        border-right: 1px solid rgba(25,32,50,.08);
        box-shadow: 4px 0 18px rgba(0,0,0,.08);
        overflow-y: auto;
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform .3s ease, visibility 0s linear .3s;
    }
    .pc-side2.on{
        transform: none;
        visibility: visible;
        transition: transform .3s ease, visibility 0s;
    }
    /* 우측 상단 X 닫기 — 다른 닫기버튼과 동일 모양(원+엑스) */
    .pc-side2-close{
        position: absolute;
        top: calc(12px + env(safe-area-inset-top, 0px));
        right: 12px;
        width: 38px;
        height: 38px;
        line-height: 38px;
        text-align: center;
        font-size: 30px;
        color: #111;
        cursor: pointer;
    }
    .pc-side2-title{
        margin: 8px 36px 14px;
        font-size: 16px;
    }
    /* 일정 저장하기 / 초대장 발송 — 회색 배경 위에서도 캡슐형이 보이게 */
    .pc-side2 .ci-btn{
        background: #fff;
        border: 1px solid rgba(25,32,50,.12);
        box-shadow: 0 2px 8px rgba(0,0,0,.06);
    }

    /* ── 로드뷰 오버레이 — 새창 대신 지도 영역 위에 표시 ── */
    .rv-overlay{
        position: fixed;
        top: 20px;
        left: calc(372px + 20px);
        right: 20px;
        bottom: 20px;
        z-index: 150;
        display: none;
        overflow: hidden;
        border-radius: 22px;
        background: #000;
        box-shadow: 0 12px 40px rgba(0,0,0,.35);
    }
    .rv-overlay.on{
        display: block;
    }
    .rv-overlay #rvContainer{
        width: 100%;
        height: 100%;
    }
    .rv-close{
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 10;
        width: 38px;
        height: 38px;
        line-height: 38px;
        text-align: center;
        font-size: 30px;
        color: #fff;
        cursor: pointer;
        filter: drop-shadow(0 1px 3px rgba(0,0,0,.6));
    }

    /* ── 페이지 모달 나란히 모드 — 두 모달을 좌우로 ── */
    .page-modal.pm-push-left .pm-box{
        transform: translateX(calc(-50% - 10px));
    }
    .page-modal.pm-side-right .pm-box{
        transform: translateX(calc(50% + 10px));
    }
    /* 나란히 뜨는 임원명단 창은 그림자 약하게 */
    .page-modal.pm-side-right .pm-box{
        box-shadow: 0 8px 24px rgba(0,0,0,.12);
    }

    /* ── 방명록 탭 — 글쓰기 입력바를 패널 맨 아래에 fixed (내용에 밀리지 않음) ── */
    #pcExtraBody .gb-composer{
        position: fixed;
        left: 0;
        bottom: 0;
        width: 372px;               /* 패널 폭과 동일 */
        box-sizing: border-box;
        margin: 0;
        padding: 12px 18px;
        background: rgba(255,255,255,.97);
        border-top: 1px solid rgba(25,32,50,.08);
        box-shadow: 0 -4px 14px rgba(0,0,0,.06);
        z-index: 120;
        /* 패널 접힘(translateX) 시 조상 transform 기준이 되어 함께 밀려나감 */
    }
    /* 고정 입력바에 마지막 글이 가리지 않게 */
    #pcExtraBody .gb-card{
        padding-bottom: 70px;
    }

    /* ── 교회 캡슐 탭 (교회정보/집회일정/교회사진/방명록) ── */
    .pc-ch-tabs{
        display: flex;
        justify-content: center;   /* 사이드바 가로 중앙 정렬 */
        gap: 4px;
        margin: 24px 0 12px;       /* 메뉴 위 여백 */
    }
    .pc-ch-tabs a{
        padding: 6px 15px;
        border-radius: 999px;
        background: #eceef2;
        font-size: 12px;
        font-weight: 600;
        color: #4a515e;
        cursor: pointer;
        white-space: nowrap;
        text-decoration: none !important;
    }
    .pc-ch-tabs a.on{
        background: #222;
        color: #fff;
    }
    .pc-ch-tabs a:hover:not(.on){
        background: #e2e6ec;
    }
}


/* ── PC 근처교회 — 반경 슬라이더 타이틀 + '근방' 행 스크롤 시 상단 고정 ── */
.pc-nearby-head{
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff;
    margin: 0 -18px;              /* pc-scroll 좌우 패딩까지 흰 배경으로 덮기 */
    padding: 14px 18px 6px;       /* 위 여백을 헤더 안쪽으로 — 첫 픽셀부터 고정 */
    border-bottom: 1px solid rgba(25,32,50,.08);
}
/* 근처교회 모드 — 섹션 위 여백 제거 (여백이 헤더 밖에 있으면 그만큼 따라 움직임) */
#pcList:has(.pc-nearby-head){
    margin-top: 0;
}
.pc-nearby-head .pc-group-title{
    margin: 6px 2px 8px;
}
/* 근방 행(지역 헤더) — 오버 배경을 패널 가장자리까지 */
.pc-nearby-head #nearbyHead .ch-item{
    margin: 0 -18px;
    padding-left: 22px;
    padding-right: 22px;
    border-radius: 0;
}


/* ── 주유보기 토글 — 국내/해외 플로팅 알약의 오른쪽 칸 ── */
.pc-float-toggle .fuel-float{
    order: 3;                                   /* 맨 오른쪽 (성도 뒤) */
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid rgba(25,32,50,.14);  /* 구분선 */
}
.pc-float-toggle .fuel-float::before{
    content: '주유소';
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #808896;
}


/* 주유보기 스위치 색 — 켬 노랑 / 끔 회색 */
.pc-float-toggle .fuel-float .toggle{
    background: #f59f00;
}
.pc-float-toggle .fuel-float .toggle.off{
    background: #b0b6c0;
}


/* ── 교회/집회 모드 토글 — 국내/해외 오른쪽 칸 ── */
.pc-float-toggle .mode-float{
    order: 1;                                   /* '국내' 라벨 뒤, 주유(2) 앞 */
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid rgba(25,32,50,.14);
}
.pc-float-toggle .mode-float::before{
    content: '교회';
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #808896;
}
.pc-float-toggle .mode-float::after{
    content: '집회';
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #808896;
}
.pc-float-toggle .mode-float .toggle{
    background: #e03131;                        /* 켬 = 집회 (빨강) */
}
.pc-float-toggle .mode-float .toggle.off{
    background: #12b886;                        /* 끔 = 교회 (초록) */
}



/* ── 성도 위치 토글 — 집회 뒤, 주유 앞 칸 ── */
.pc-float-toggle .saints-float{
    order: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid rgba(25,32,50,.14);
}
.pc-float-toggle .saints-float::before{
    content: '성도';
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #808896;
}
.pc-float-toggle .saints-float .toggle{
    background: #1c7ed6;                        /* 켬 = 성도 (파랑) */
}
.pc-float-toggle .saints-float .toggle.off{
    background: #b0b6c0;                        /* 끔 = 회색 */
}


/* ── 더보기(⋯) — 캡슐 맨 오른쪽, 부가 토글은 아래 패널에 ── */
.pc-float-toggle .more-float{
    order: 4;
    position: relative;
    z-index: 130;   /* 주간선택 바보다 위 */
    display: flex;
    align-items: center;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid rgba(25,32,50,.14);
}
.more-btn{
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f3f5;
    color: #4a515e;
    font-size: 14px;
    cursor: pointer;
}
.more-btn:active{
    background: #e2e5ea;
}
.more-panel{
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 130;   /* 주간선택 바(110)보다 위 — 겹칠 때 토글 스위치가 가려지지 않게 */
    display: flex;
    flex-direction: column;     /* 토글들을 위아래 줄로 */
    align-items: stretch;
    min-width: 132px;
    padding: 3px 14px;
    background: rgba(255,255,255,.72);   /* 반투명 + 블러 */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.more-panel .fuel-float,
.more-panel .saints-float,
.more-panel .pub-float{
    order: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;   /* 라벨 왼쪽 · 스위치 오른쪽 */
    gap: 14px;
    margin: 0;
    padding: 10px 0;
    border: 0;
}
/* 줄 사이 구분선 — 5% 투명 검정 */
.more-panel > div + div{
    border-top: 1px solid rgba(0,0,0,.05);
}

/* ── 공공포인트 토글 줄 — 라벨은 data-label 속성으로 ── */
.pc-float-toggle .pub-float::before{
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #808896;
}
/* 스위치 켬 색 — 마커 색과 동일 계열 (끔은 공통 회색) */
#pubWrap_park .toggle:not(.off){ background: #1c7ed6; }
#pubWrap_subway .toggle:not(.off){ background: #12b886; }
#pubWrap_bank .toggle:not(.off){ background: #364fc7; }
#pubWrap_pharm .toggle:not(.off){ background: #e03131; }

/* 도움말 링크 줄 — 패널 맨 아래, 토글 줄 라벨과 같은 왼쪽 라인 */
.more-panel .more-help{
    display: flex;
    align-items: center;
    padding: 10px 0;
}
.more-panel .more-help a{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #808896;
    text-decoration: none !important;
    cursor: pointer;   /* href 없는 앵커(기능안내 모달 호출) */
}
.pc-float-toggle .pub-float .toggle.off{ background: #b0b6c0; }


/* 성도 상세 — 주소 클릭 시 지도 이동 */
.sd-addr-row{
    cursor: pointer;
}
