@charset "UTF-8";
/* ============================================================================
   메인(index.jsp) 임시 CSS

   임시로 잡아 둔 파일

   불러오는 곳 : index.jsp <head> (main.css 바로 뒤)
   선택자 범위 : 지도 위 규칙은 전부 #mapWrap 안으로 한정

   ----------------------------------------------------------------------------
   목차 - 화면에서 "언제 보이는가" 기준으로 나눴다.

   1. 마우스오버(호버) 상자 - 지도 위에 마우스를 올리면 뜨고, 벗어나면 사라진다
        1-1 .hoverInfoWrap    호버 상자 공용 위치 (내용물만 아래 셋 중 하나로 바뀐다)
        1-2 .areaHoverInfo    기상특보 구역 / 산사태 구역         164 x 100 + 꼬리 14
        1-3 .cctvHoverInfo    CCTV 마커                          264 x 219 + 꼬리 14
        1-4 .jeboHoverInfo    제보영상 마커                       264 x 243 + 꼬리 14

   2. 클릭 정보창 - 지도 마커를 클릭하면 뜬다
        2-1 .markerClickInfoWrap / .markerClickInfo
                              재난 마커 말풍선 (지진/태풍/산불/사회재난 등)
                              180~274 x 106 + 꼬리 14. 지도 다른 곳을 클릭하면 닫힌다
        2-2 .stationClickInfoWrap / .stationClickInfo
                              우리지역 관측소 정보창 (호우/태풍/대설/홍수/대기오염)
                              X 버튼으로만 닫힌다. 말꼬리 없음
        2-3 .myLocationInfoWrap / .myAreaWeather
                              내위치 마커 위 우리지역 날씨 정보창 (우리지역 평시)
                              180 x 216. X 로 닫고 내위치 마커를 누르면 다시 열린다

   3. 지도 위 기타 - 항상 / 조건에 따라 지도 위에 붙어 있는 것
        3-1 .mapReportBadge   제보영상 마커 안의 건수 뱃지 ("+N")
        3-2 .mapMarker        지도 마커 전부 (재난 / CCTV / 순간영상 / 제보영상 / 관측소 / 내위치). 크기와 기준점
        3-3 .map-layer_*      지도 위 버튼 묶음이 마커·정보창·hover 상자보다 위에 오도록 겹침 순서
        3-4 .mapVideoStage    우리지역 날씨영상이 끝나면 마지막 장면에 멈춰 보이게
        (지도 오른쪽 CCTV / 제보영상 / 순간영상 버튼은 퍼블 main.css 의 .map-layer_rc .marker-type-wrap 을 쓴다)

   4. 좌측 패널 / 2단 패널
        4-1 #scopePanelError  패널 불러오기 실패 안내
        4-2 예/특보 아이콘     main.css 에 없는 8종 (태풍/해일/강풍/풍랑/열대야/한파/건조/황사)

   5. 팝업
        5-1 제보영상 팝업 사진 (popup/main/reportVideo.jsp, 모바일 mobile/popup/main/reportVideo.jsp 공통)

   ----------------------------------------------------------------------------
   상자 구조 - 지도 위 상자는 전부 두 겹이다.
     감싸는 위치용 div (*Wrap) + 실제로 보이는 내용물 div (*Info)
     내용물의 말꼬리(:after)는 position:absolute 라 Wrap 의 높이 계산에 안 잡힌다.
     그래서 각 Wrap 에 padding-bottom 으로 꼬리 높이를 보정해 둔다. (각 Wrap 규칙 주석 참고)
   ============================================================================ */


/* ############################################################################
   1. 마우스오버(호버) 상자
   ############################################################################ */

/* ===== 1-1 호버 상자 공용 위치 (.hoverInfoWrap) ===== */
/* ----- 지도 hover 상자의 위치 -----
   OpenLayers 는 좌상단만 앵커에 놓고, 실제 정렬은 여기서 한다.
   (OL 의 positioning 계산은 내용물의 offsetWidth 에 의존해서 믿을 수 없다
    - 마커 팝업 .markerClickInfoWrap 도 같은 이유로 직접 잡는다)
   상자는 항상 마커(또는 커서) 위로 뜬다. */
#mapWrap .hoverInfoWrap {
    position: absolute;
    z-index: 100;
    pointer-events: none;
    transform: translate(-50%, -100%);
    /*  .markerClickInfoWrap 과 같은 이유. 안의 말꼬리(:after)가 position:absolute 라
        auto-height 에 안 잡혀서 translateY(-100%) 기준이 몸통 바닥이 되어
        버린다. 패딩으로 그만큼(11px) 높이 계산에 포함시킨다. */
    padding-bottom: 11px;
}
/* CCTV / 제보영상 상자는 안의 썸네일을 누를 수 있어야 한다.*/
#mapWrap .hoverInfoWrap.cctv,
#mapWrap .hoverInfoWrap.report { pointer-events: none; }
#mapWrap .hoverInfoWrap .cctvHoverInfo,
#mapWrap .hoverInfoWrap .jeboHoverInfo { pointer-events: auto; }


/* ===== 1-2 기상특보 구역 / 산사태 구역 (.areaHoverInfo) ===== */
/* ------------------------------------------------------------
   지도 마우스오버 상자 (기상특보 / 산사태가 같은 모양을 쓴다)
   디자인에 있는 X 닫기 버튼은 넣지않음
   ------------------------------------------------------------ */
#mapWrap .areaHoverInfo {
    position: relative;
    box-sizing: border-box;
    width: 164px;
    /*  높이는 내용에 맞춘다(허그). 특보 2건이면 아래 값들이 맞아떨어져 100px 이 된다.
        14 + 22(제목) + 6 + 20 + 4 + 20 + 14 = 100
        3건이면 24(4+20)만큼 늘어난다. */
    padding: 14px 16px;
    background: #fff;
    border-radius: 8px;
    text-align: left;

    /*  box-shadow 가 아니라 filter 로 그림자를 준다.
        box-shadow 는 사각형 테두리를 따라 그려져서 말꼬리가 붙는 자리에
        그림자 선이 가로질러 남는다(점선처럼 보이던 것).
        drop-shadow 는 말꼬리까지 합친 바깥 윤곽을 따라 그려서 이음새가 없다. */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .08))
            drop-shadow(0 0 2px rgba(0, 0, 0, .08));
}

/* 말꼬리. 상자 아래 중앙에서 가리킨다. 다른 정보창들과 같은 18x14
   (좌 9 + 우 9 = 밑변 18, 위 14 = 높이 14). 상자 안으로 3px 겹쳐 넣는다.
   1px 만으로는 경계에 옅은 선이 실측으로도 남는 게 확인돼서(.markerClickInfo 주석
   참고) 여유 있게 늘렸다. */
#mapWrap .areaHoverInfo:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid #fff;
}

/* 제목. 구역 이름 ("서울 동남권" 등) */
#mapWrap .areaHoverInfo .areaHoverTitle {
    display: block;
    margin-bottom: 6px;
    font-size: 15px; font-weight: 700; line-height: 22px;
    color: #17181a;
    word-break: keep-all;
}

/*  첫 줄에 margin-top 을 주면 제목의 margin-bottom 과 상쇄되어(큰 쪽만 남아)
    높이가 어긋난다. 줄 사이 간격만 p + p 로 준다. */
#mapWrap .areaHoverInfo p {
    display: flex; align-items: center; gap: 6px;
    margin: 0;
    font-size: 13px; line-height: 20px;
    color: #3c4043;
    white-space: nowrap;
}
#mapWrap .areaHoverInfo p + p { margin-top: 4px; }

/* 점(Dot). 특보 줄 앞의 동그라미. 특보 색으로 채운다.
   열대야주의보(#FFFFCC)처럼 흰 바탕에 가까운 색이 있어 테두리를 한 줄 둔다. */
#mapWrap .areaHoverInfo .areaHoverDot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .15);
    box-sizing: border-box;
    flex-shrink: 0;
}

/* ===== 1-3 CCTV 마커 (.cctvHoverInfo) ===== */
/* -----------------------------------------------------------------
  전국 재난 상세 지도 CCTV 정보창

   본체 264x219 = 상단 글자 영역 264x72 + 하단 썸네일 영역 264x147.
   상단: 패딩 상/우/하/좌 12/48/8/16, 글자 묶음 200x52, 줄 간격 4.
   하단: 패딩 0/16/16/16, 썸네일 232x131, 반경 4.
   꼬리: 본체 아래 18x14. 전체 외곽 높이는 233px.
   ----------------------------------------------------------------- */
#mapWrap .cctvHoverInfo {
    position: relative;
    box-sizing: border-box;
    width: 264px;
    height: 219px;
    background: #fff;
    border-radius: 8px;
    text-align: left;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .08))
            drop-shadow(0 0 2px rgba(0, 0, 0, .08));
}
#mapWrap .mapCctvHeader {
    box-sizing: border-box;
    width: 264px;
    height: 72px;
    padding: 12px 48px 8px 16px;
}
#mapWrap .mapCctvText {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 200px;
    height: 52px;
}
#mapWrap .mapCctvMedia {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    width: 264px;
    height: 147px;
    padding: 0 16px 16px;
}
/* 마커에서 썸네일로 이동할 때 22px 간격을 건널 수 있게 투명한 영역을 둔다. */
#mapWrap .cctvHoverInfo:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -22px;
    width: 264px;
    height: 22px;
}
#mapWrap .cctvHoverInfo:after {
    /* 흰색 삼각형 18x14. 말꼬리 끝은 마커 윗변에서 2px 위에 온다(JS hoverGap).
       본체와 3px 겹쳐 붙인다. 1px 만으로는 두 도형의 접합부에 안티앨리어싱
       선이 실측(스크린샷 픽셀)으로도 남는 게 확인돼서 여유 있게 늘렸다.
       filter:drop-shadow 라 box-shadow 이음새 문제는 없지만, 이 선은 그거랑 별개다. */
    content: '';
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid #fff;
}
/* 라이브 영상(KBS)은 CCTV LIVE(빨강), 이미지만 있는 기관(국토교통부·경찰청)은 CCTV IMAGE(파랑) */
#mapWrap .cctvHoverInfo .label-red,
#mapWrap .cctvHoverInfo .label-blue {
    display: flex;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    min-width: 20px;
    height: 24px;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
    white-space: nowrap;
}
/* 외곽 86x24, 테두리 1. 피그마 좌우 8px 은 바깥부터 잰 값이라 CSS padding 은 8-1=7px */
#mapWrap .cctvHoverInfo .label-red {
    width: 86px;
    padding: 0 calc(8px - 1px);
    border: 1px solid #E81717;
    border-radius: 12px;
    color: #E81717;
}
#mapWrap .cctvHoverInfo .label-red:before {
    content: '';
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E81717;
}
/* 외곽 88x24 = 좌우 패딩 8 + 글자 72 */
#mapWrap .cctvHoverInfo .label-blue {
    width: 88px;
    padding: 0 8px;
    border-radius: 4px;
    background: #F2F8FF;
    color: #145DB3;
}
#mapWrap .cctvHoverInfo .mapCctvName {
    display: block;
    width: 200px;
    height: 24px;
    overflow: hidden;
    color: #181D25;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#mapWrap .cctvHoverInfo .mapCctvThumb {
    display: block;
    position: relative;
    width: 232px;
    height: 131px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: #181d25;
    cursor: pointer;
}
#mapWrap .cctvHoverInfo .mapCctvThumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#mapWrap .cctvHoverInfo .mapCctvPlay {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(24, 29, 37, .78);
    transform: translate(-50%, -50%);
}
#mapWrap .cctvHoverInfo .mapCctvPlay:after {
    content: '';
    position: absolute;
    left: 15px;
    top: 11px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #fff;
}


/* ===== 1-4 제보영상 마커 (.jeboHoverInfo) ===== */
/* -----------------------------------------------------------------
  전국 재난 상세 지도 제보영상 정보창    (디자인: index고도화/제보영상_레이어.png)

   본체 264x243 = 상단 헤더 264x44 + 하단 미디어 264x199.
   꼬리 영역 264x14 를 더하면 전체 264x257.
   헤더: 패딩 상/우/하/좌 12/48/8/16. 뱃지 묶음 200x24, 간격 4.
   미디어: 패딩 0/16/16/16, 간격 8. 썸네일 232x131 고정, 반경 4.

   :before 는 화면에 안 보이는 투명 영역이다. (CCTV 정보창과 같은 이유)
   마커와 정보창 사이 실제 간격은 2px 뿐이라, 마우스가 마커에서 정보창으로
   건너가는 사이 지도의 빈 곳을 지나면 그 순간 마우스오버가 끊긴다.
   그 틈을 이 투명 영역으로 덮어 정보창이 깜빡이지 않게 한다.
   :after 가 실제로 보이는 흰 삼각형 꼬리다. (18x14, 264x14 영역 한가운데)
   ----------------------------------------------------------------- */
#mapWrap .jeboHoverInfo {
    position: relative;
    box-sizing: border-box;
    width: 264px;
    height: 243px;
    background: #fff;
    border-radius: 8px;
    text-align: left;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .08))
            drop-shadow(0 0 2px rgba(0, 0, 0, .08));
}
#mapWrap .jeboHoverInfo:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -22px;
    width: 264px;
    height: 22px;
}
#mapWrap .jeboHoverInfo:after {
    /* cctvHoverInfo:after 와 같은 이유로 3px 겹친다(접합부 안티앨리어싱 선 방지). */
    content: '';
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid #fff;
}
#mapWrap .mapReportHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 264px;
    height: 44px;
    padding: 12px 48px 8px 16px;
}
#mapWrap .mapReportBadges {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 200px;
    height: 24px;
}
#mapWrap .jeboHoverInfo .mapReportLabel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 58px;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    background: #F2F8FF;
    color: #145DB3;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
    white-space: nowrap;
}
#mapWrap .jeboHoverInfo .mapReportCount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 28px;
    height: 20px;
    padding: 0 6px;
    border: 1px solid #003897;
    border-radius: 9999px;
    background: #fff;
    color: #003897;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
    white-space: nowrap;
}
#mapWrap .mapReportMedia {
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    width: 264px;
    height: 199px;
    padding: 0 16px 16px;
}
#mapWrap .jeboHoverInfo .mapReportThumb {
    display: block;
    position: relative;
    width: 232px;
    height: 131px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: #181d25;
    cursor: pointer;
}
#mapWrap .jeboHoverInfo .mapReportThumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#mapWrap .jeboHoverInfo .mapReportThumb img.rotate90{transform: rotate(90deg) scale(0.56) }
#mapWrap .jeboHoverInfo .mapReportThumb img.rotate180{transform: rotate(180deg)}
#mapWrap .jeboHoverInfo .mapReportThumb img.rotate270{transform: rotate(270deg) scale(0.56) }
/* 재생 아이콘은 CCTV 와 같은 모양을 그대로 쓴다. (.mapCctvPlay 참고) */
#mapWrap .jeboHoverInfo .mapReportPlay {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(24, 29, 37, .78);
    transform: translate(-50%, -50%);
}
#mapWrap .jeboHoverInfo .mapReportPlay:after {
    content: '';
    position: absolute;
    left: 15px;
    top: 11px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #fff;
}
#mapWrap .jeboHoverInfo .mapReportText {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    width: 232px;
    height: 44px;
    margin: 0;
    color: #181D25;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
}



/* ############################################################################
   2. 클릭 정보창
   ############################################################################ */

/* ===== 2-1 재난 마커 말풍선 (.markerClickInfo) - 지도 다른 곳을 클릭하면 닫힘 ===== */
/* ------------------------------------------------------------
   재난 마커 클릭 팝업 (markerClickInfo - 지진/태풍/사회재난/산불 등 재난 유형 공용)

   팝업은 vworld 의 showPop() 이 아니라 VworldMap 이 만든 ol.Overlay 로 띄운다.
   showPop 은 팝업을 자기 방식대로 배치해서 마커 중앙 정렬이 되지 않았다.
   지금은 positioning 'bottom-center' 라 마커 정중앙 위에 붙고,
   꼬리표도 .markerClickInfo 가 직접 그린다.
   ------------------------------------------------------------ */
/* 팝업의 "하단 중앙"이 마커 좌표에 오도록 확정한다.
   OpenLayers 는 이 엘리먼트의 좌상단을 마커 좌표(+offset)에 놓으므로,
   translate(-50%, -100%) 를 걸면 하단 중앙이 정확히 그 지점에 맞는다.
   OL 의 positioning 옵션 해석에 의존하지 않는 방식이다. */
#mapWrap .markerClickInfoWrap {
    position: absolute;
    z-index: 95;
    /* OpenLayers 가 감싸는 틀은 마우스를 받지 않게 해 두었다(index.jsp passThroughOverlayBox). 말풍선은 받는다 */
    pointer-events: auto;
    transform: translate(-50%, -100%);
    /*  안의 .markerClickInfo:after(말꼬리)는 position:absolute 라 이 엘리먼트의
        auto-height 계산에 안 잡힌다. translateY(-100%) 의 기준이 "몸통
        바닥"이 되어 말꼬리(밑으로 11px 튀어나옴)가 그만큼 더 낮게 그려진다.
        패딩으로 그 11px 을 높이 계산에 강제로 포함시켜, -100% 기준을
        "말꼬리 끝"으로 맞춘다. (markerClickInfo:after 의 bottom:-11px 과 같은 값) */
    padding-bottom: 11px;
}

/*  디자인: index고도화/산불마커및상자.png, 피그마_사회재난.png (다섯 유형 공용)

    상자        274 x 106
    말꼬리까지  274 x 120   (말꼬리 14)
    마커까지    274 x 196   (간격 4 + 마커 72)

    높이 106 은 아래 값들의 합이다. 주소가 두 줄이 되면 그만큼 늘어난다.
      14 + 20(머리) + 6 + 26(상태) + 6 + 20(주소) + 14 = 106

    최대폭은 원래 산불 이미지만 보고 241 로 뒀었는데, 사회재난 디자인을
      다시 재보니 274 였다. 다섯 유형이 같은 상자를 쓰므로 전부 274 로 맞춘다. */
#mapWrap .markerClickInfo {
    position: relative;

    /*  폭은 글자에 맞춰 늘어난다. 180 에서 시작해 274 까지 늘어나고,
        더 길면 274 에서 줄바꿈된다.
        width:auto 로 두면 이 상자가 절대위치 안에 있어 글자만큼 안 벌어진다.
        max-content 로 "글자 폭 그대로"를 먼저 잡고 min/max 로 가둔다. */
    width: max-content;
    min-width: 180px;
    max-width: 274px;

    padding: 14px 12px;
    background: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: left;

    /*  box-shadow 가 아니라 filter 로 준다. 이유는 위 .areaHoverInfo 주석 참고. */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .08))
            drop-shadow(0 0 2px rgba(0, 0, 0, .08));
}

/*  말풍선 꼬리표. 상자 아래 중앙에서 마커를 가리킨다.  디자인 18 x 14
    테두리로 그린 삼각형이다. 좌 9 + 우 9 = 밑변 18, 위 14 = 높이 14.
    상자 안으로 3px 겹쳐 넣는다. 1px 만으로는 두 흰 면의 경계에 옅은 선이
    실측(스크린샷 픽셀)으로도 남는 게 확인돼서 여유 있게 늘렸다. */
#mapWrap .markerClickInfo:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid #fff;
}

/* 썸네일이 있을 때만 노출 (디자인 예시에는 없음) */

/* 상단: "산불" 라벨 + 발생일시.
   우측 끝에 닫기 버튼이 겹쳐 있으므로 그만큼 여백을 비워 둔다. */
#mapWrap .markerClickInfo .markerClickHead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; line-height: 20px; white-space: nowrap; }
#mapWrap .markerClickInfo .markerClickHead .markerClickCate { font-size: 13px; font-weight: 500; color: #8a9099; }
#mapWrap .markerClickInfo .markerClickHead .markerClickDate { font-size: 13px; color: #9aa1a9; }

/* 진화상태 + 단계 배지 */
#mapWrap .markerClickInfo .topArea {
    display: flex; align-items: center; gap: 8px;
    height: 26px; margin: 0 0 6px; padding-bottom: 0; border-bottom: none;
    white-space: nowrap;
}
#mapWrap .markerClickInfo .topArea strong {
    float: none; display: inline-bloc k;
    font-size: 18px; font-weight: 700; color: #17181a;
    line-height: 26px; vertical-align: middle;
}
/* 배지는 테두리형이 아니라 연한 배경으로 채운 형태 */
#mapWrap .markerClickInfo .topArea em.stepBadge {
    display: inline-flex; align-items: center; gap: 4px;
    margin: 0; height: 26px; padding: 0 10px;
    line-height: 1; font-size: 12px; font-weight: 500;
    color: #33383d; border: 0; border-radius: 13px;
    vertical-align: middle; white-space: nowrap;
}
/* 경고 아이콘: 피그마 Ic-Caution.svg 14x14  */
#mapWrap .markerClickInfo .topArea em.stepBadge .stepWarnIcon {
    flex: 0 0 14px; width: 14px; height: 14px;
    background: url(/static/images/Ic-Caution.svg) no-repeat center / 14px 14px;
}

/* 산불 단계가 아닌 뱃지(태풍 강도 등). 색으로 등급을 나타내지 않는다.
   피그마: 흰 배경 + 테두리 1px #DCDDDE, 높이 24, 최소너비 20, 좌우 패딩 8, 간격 4 (아래 산불 배지와 같은 모양, "강도 1"일 때 43px) */
#mapWrap .markerClickInfo .topArea em.badgeNeutral {
    box-sizing: border-box; height: 24px; min-width: 20px; min-height: 24px;
    padding: 0 8px; gap: 4px;
    background: #ffffff; border: 1px solid #dcddde; border-radius: 4px;
}

/* 산불 단계 배지.
   피그마: 배경 채움 -> 흰 배경 + 테두리 1px #DCDDDE, 높이 24, 최소너비 20, 좌우 패딩 8, 간격 4
     (너비는 글자 길이에 맞춰 늘어난다. "산불 2단계"일 때 86px) */
#mapWrap .markerClickInfo .topArea em.step00,
#mapWrap .markerClickInfo .topArea em.step01,
#mapWrap .markerClickInfo .topArea em.step02,
#mapWrap .markerClickInfo .topArea em.step03,
#mapWrap .markerClickInfo .topArea em.step04,
#mapWrap .markerClickInfo .topArea em.step05 {
    box-sizing: border-box; height: 24px; min-width: 20px; min-height: 24px;
    padding: 0 8px; gap: 4px;
    background: #ffffff; border: 1px solid #dcddde; border-radius: 4px;
}
/* 예전 단계별 색 (배경 / ⚠ 아이콘)
   step00 해제     #eef0f2 / #9aa1a9
   step01 초기대응 #e7f4ea / #43a047
   step02 1단계    #fdf1d6 / #f0a500
   step03 2단계    #ffe9d8 / #ff7815
   step04 3단계    #fde3e4 / #c31821
   step05 4단계    #f7dada / #740000 */

/* 주소 */
#mapWrap .markerClickInfo p { margin: 0; font-size: 13px; line-height: 20px; color: #3c4043; word-break: keep-all; }

/* ===== 2-2 우리지역 관측소 정보창 (.stationClickInfo) - X 로만 닫힘 ===== */
/* ------------------------------------------------------------
   우리지역 관측소 클릭 정보창 (VworldMap.showStationClickInfoAtFeature)
   디자인: index고도화/호우관측소.png (현재 호우 관측소만)
     X 버튼 32x32 + 간격 8 + 정보창 180x168 (+ 간격 8 + 마커 44) = 260
     정보창 = 머리 180x44 + 본문 180x124
       머리: 패딩 12/16/8/16, 관측소명 16/24 600 #181D25        -> 12+24+8 = 44
       본문: 패딩 0/16/16/16, 간격 4, "강수량" 148x22 + 표 148x82 -> 22+4+82+16 = 124
       표  : 테두리 1px #DCDDDE, 반경 4, 행 3줄 (4+18+4)=26       -> 26x3+선2+테두리2 = 82
   말꼬리 없음. 마커 위 8px 은 JS 가 offset 으로 준다. X 로만 닫힌다.
   ------------------------------------------------------------ */
#mapWrap .stationClickInfoWrap {
    position: absolute;
    z-index: 95;
    /* OpenLayers 가 감싸는 틀은 마우스를 받지 않게 해 두었다(index.jsp passThroughOverlayBox). 정보창(X 버튼)은 받는다 */
    pointer-events: auto;
    transform: translate(-50%, -100%);
}
#mapWrap .stationClickInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 180px;
}
#mapWrap .stationClickClose {
    display: block;
    width: 32px; height: 32px;
    padding: 0; border: 0;
    background: none;
    cursor: pointer;
}
#mapWrap .stationClickClose img { display: block; width: 32px; height: 32px; }
#mapWrap .stationClickBox {
    box-sizing: border-box;
    width: 180px; min-width: 180px;
    background: #fff;
    border-radius: 8px;
    /*  그림자는 피그마 값이 없어 다른 정보창과 같은 값으로 둔다. */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .08))
            drop-shadow(0 0 2px rgba(0, 0, 0, .08));
}
#mapWrap .stationClickHead { padding: 12px 16px 8px; }
#mapWrap .stationClickTit {
    display: block;
    font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: 0;
    color: #181D25;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/*  본문 = 묶음(강수량 / 풍속)들. 묶음 사이 12, 묶음 안(제목 22 + 표) 4.
    호우: 강수량 108 + 하단 16 = 124  /  태풍: 강수량 108 + 12 + 풍속 81 + 16 = 217 */
#mapWrap .stationClickBody {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 16px;
}
#mapWrap .stationClickGroup {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
#mapWrap .stationClickLabel {
    display: flex; align-items: center; gap: 4px;
    height: 22px; margin: 0;
    font-size: 14px; font-weight: 500; line-height: 22px; letter-spacing: 0;
    color: #181D25;
}
#mapWrap .stationClickLabel img { display: block; width: 16px; height: 16px; flex-shrink: 0; }
#mapWrap .stationClickTable {
    width: 148px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #DCDDDE;
    border-radius: 4px;
    overflow: hidden;
    table-layout: fixed;
}
#mapWrap .stationClickTable th,
#mapWrap .stationClickTable td {
    padding: 4px 8px;
    font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: 0;
}
#mapWrap .stationClickTable tr + tr th,
#mapWrap .stationClickTable tr + tr td { border-top: 1px solid #DCDDDE; }
#mapWrap .stationClickTable th {
    /*  왼쪽 칸 너비는 피그마 값이 없어 스크린샷 비율로 잡았다. */
    width: 64px;
    text-align: left;
    color: #34383F;
    background: #F7F7F7;
    border-right: 1px solid #DCDDDE;
}
#mapWrap .stationClickTable td {
    text-align: right;
    color: #181D25;
    white-space: nowrap;
}
/*  위아래 두 줄 표 (태풍 풍속). 148x55 = 테두리 2 + 제목 줄 27(구분선 포함) + 값 줄 26
    제목 줄 "최대 순간풍속" 146x27 배경 #F7F7F7, 값 줄 146x26. 구분선은 위의 tr + tr td 가 그린다. */
#mapWrap .stationClickTable--stack th {
    width: auto;
    border-right: 0;
}
/*  디자인(index고도화/태풍관측소.png): 제목 줄과 값 줄 모두 가운데 정렬 */
#mapWrap .stationClickTable--stack th,
#mapWrap .stationClickTable--stack td { text-align: center; }

/*  홍수 "현재 수위" 표 (index고도화/홍수관측소_사진.png). 146x38, 한 줄 두 칸
      "현재 수위" 72.5x36 (배경 #F7F7F7, 오른쪽 구분선 1) + 값 71.5x36  (+ 바깥 테두리 2 = 146)
      값 칸 = 패딩 4 + 수위 18 + 추세 삼각형 10 + 패딩 4 = 36 */
#mapWrap .stationClickTable--level { width: 146px; }
#mapWrap .stationClickTable--level th {
    width: 72.5px;
    box-sizing: border-box;
    height: 36px;
    vertical-align: middle;
}
#mapWrap .stationClickTable--level td { vertical-align: top; text-align: right; }
#mapWrap .stationClickLevelNow { display: block; line-height: 18px; }
/*  추세 삼각형 10x10 (상승 _up / 하강 _down / 변화 없음 _unchanged) */
#mapWrap .stationClickTrend { display: block; width: 10px; height: 10px; margin-left: auto; }

/*  주의보 / 경보 수위 148x36 = 18 x 2줄. 점 6x6 + 간격 4 + 이름 + 기준 수위(오른쪽 정렬)
    글자 12/18 400 #34383F */
#mapWrap .stationClickLevels { margin: 0; padding: 0; list-style: none; }
#mapWrap .stationClickLevels li {
    display: flex; align-items: center; gap: 4px;
    height: 18px;
    font-size: 12px; font-weight: 400; line-height: 18px; letter-spacing: 0;
    color: #34383F;
}
#mapWrap .stationClickLevels li img { display: block; width: 6px; height: 6px; flex-shrink: 0; }
#mapWrap .stationClickLevelName { white-space: nowrap; }
#mapWrap .stationClickLevelValue { margin-left: auto; text-align: right; white-space: nowrap; }

/*  대기오염 초미세/미세먼지 표 (index고도화/대기오염관측소.png). 148x83, 두 줄
      이름 칸 73.5x40 (배경 #F7F7F7, 오른쪽 구분선 1) + 값 칸 72.5x40  (+ 바깥 테두리 2 = 148)
      값 칸 = 패딩 4 + "● 등급" 18 + "33μg/m³" 14 + 패딩 4 = 40
      줄 사이 구분선은 위의 tr + tr td 가 그린다. */
#mapWrap .stationClickTable--dust th {
    width: 73.5px;
    box-sizing: border-box;
    vertical-align: middle;
}
#mapWrap .stationClickTable--dust td { vertical-align: top; text-align: right; }
#mapWrap .stationClickDustGrade {
    display: flex; justify-content: flex-end; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: 0;
    color: #181D25;
}
#mapWrap .stationClickDustGrade img { display: block; width: 6px; height: 6px; flex-shrink: 0; }
#mapWrap .stationClickDustValue {
    display: block;
    font-size: 10px; font-weight: 400; line-height: 14px; letter-spacing: 0;
    color: #34383F;
    text-align: right;
}

/* ===== 2-3 내위치 날씨 정보창 (.myAreaWeather) - 우리지역 평시, X 로 닫고 내위치 마커로 다시 염 ===== */
/* ------------------------------------------------------------
   내위치 마커 위 "우리지역 날씨" 정보창 (VworldMap.setMyLocationInfo, 내용은 ScopeMap.buildMyAreaWeatherInfo)
   디자인: index고도화/우리지역날씨정보창.png
     X 버튼 32x32 + 간격 8 + 정보창 180x216 (+ 간격 8 + 내위치 마커) = 328
     정보창 = 머리 180x42 + 본문 180x174
       머리: 패딩 12/16/12/16, 간격 4, 위치 아이콘 14x14 + 이름 12/18 500 #181D25
       본문: 패딩 0/16/16/16, 간격 16, 날씨+먼지 148x110 + 더보기 버튼 148x32
         날씨+먼지: 간격 12, 날씨 줄 97x46 (아이콘 44 + 간격 8 + 기온/하늘 45x46) + 먼지 상자 148x52
         먼지 상자: 테두리 1px #F1F1F2, 칸 49x34 두 개 + 가운데 세로선(높이 34, 1px #F1F1F2)
   말꼬리 없음. 마커 위 8px 은 JS 가 offset 으로 준다.
   ------------------------------------------------------------ */
#mapWrap .myLocationInfoWrap {
    position: absolute;
    z-index: 95;
    /* OpenLayers 틀은 마우스를 받지 않게 해 두었다(passThroughOverlayBox). 정보창(X / 더보기)은 받는다 */
    pointer-events: auto;
    transform: translate(-50%, -100%);
}
#mapWrap .myAreaWeather {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 180px;
}
#mapWrap .myAreaWeatherClose {
    display: block;
    width: 32px; height: 32px;
    padding: 0; border: 0;
    background: none;
    cursor: pointer;
}
#mapWrap .myAreaWeatherClose img { display: block; width: 32px; height: 32px; }
#mapWrap .myAreaWeatherBox {
    box-sizing: border-box;
    width: 180px; min-width: 180px;
    height: 216px;
    background: #fff;
    border-radius: 8px;
    /*  그림자는 피그마 값이 없어 다른 정보창과 같은 값으로 둔다. */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .08))
            drop-shadow(0 0 2px rgba(0, 0, 0, .08));
}
#mapWrap .myAreaWeatherHead {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 42px;
    box-sizing: border-box;
    padding: 12px 16px;
}
#mapWrap .myAreaWeatherHead img { display: block; width: 14px; height: 14px; flex-shrink: 0; }
#mapWrap .myAreaWeatherName {
    display: block;
    min-width: 0;
    font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: 0;
    color: #181D25;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#mapWrap .myAreaWeatherBody {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px 16px;
}
#mapWrap .myAreaWeatherInfo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* 날씨 줄: 아이콘 44 + 간격 8 + 기온/하늘 */
#mapWrap .myAreaWeatherNow {
    display: flex;
    align-items: center;
    justify-content: center;   /* 아이콘 + 기온/하늘 묶음(97)을 가로 가운데 */
    gap: 8px;
    height: 46px;
}
#mapWrap .myAreaWeatherIcon {
    display: block;
    width: 44px; height: 44px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: 100%;
}
/* 아이콘은 퍼블 .ico-weather[data-state=wNN] 와 같은 그림 (main.css 는 .panel-weather 안으로만 잡혀 있어 따로 둔다) */
#mapWrap .myAreaWeatherIcon[data-state=w01] { background-image: url(/static/images/svg/ico-weather01.svg); }
#mapWrap .myAreaWeatherIcon[data-state=w02] { background-image: url(/static/images/svg/ico-weather02.svg); }
#mapWrap .myAreaWeatherIcon[data-state=w03] { background-image: url(/static/images/svg/ico-weather03.svg); }
#mapWrap .myAreaWeatherIcon[data-state=w04] { background-image: url(/static/images/svg/ico-weather04.svg); }
#mapWrap .myAreaWeatherIcon[data-state=w05] { background-image: url(/static/images/svg/ico-weather05.svg); }
#mapWrap .myAreaWeatherIcon[data-state=w06] { background-image: url(/static/images/svg/ico-weather06.svg); }
#mapWrap .myAreaWeatherIcon[data-state=w07] { background-image: url(/static/images/svg/ico-weather07.svg); }
#mapWrap .myAreaWeatherIcon[data-state=w08] { background-image: url(/static/images/svg/ico-weather08.svg); }
#mapWrap .myAreaWeatherIcon[data-state=w09] { background-image: url(/static/images/svg/ico-weather09.svg); }
#mapWrap .myAreaWeatherIcon[data-state=w10] { background-image: url(/static/images/svg/ico-weather10.svg); }
#mapWrap .myAreaWeatherIcon[data-state=w11] { background-image: url(/static/images/svg/ico-weather11.svg); }
#mapWrap .myAreaWeatherText { display: flex; flex-direction: column; margin: 0; }
#mapWrap .myAreaWeatherTemp {
    display: block;
    font-size: 18px; font-weight: 600; line-height: 28px; letter-spacing: 0;
    color: #181D25;
    white-space: nowrap;
}
#mapWrap .myAreaWeatherSky {
    display: block;
    font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: 0;
    color: #181D25;
    white-space: nowrap;
}
/* 먼지 상자: 칸 49x34 두 개, 칸 사이 가운데 세로선 */
#mapWrap .myAreaWeatherAir {
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-sizing: border-box;
    padding: 8px 0;
    border: 1px solid #F1F1F2;
    border-radius: 8px;
}
#mapWrap .myAreaWeatherAirLine {
    display: block;
    width: 0; height: 34px;
    border-left: 1px solid #F1F1F2;
}
#mapWrap .myAreaWeatherDust {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* 등급(점 + 글자)을 이름 바로 아래 왼쪽에 붙인다 */
    width: 49px;
}
#mapWrap .myAreaWeatherDustName {
    display: block;
    font-size: 10px; font-weight: 400; line-height: 14px; letter-spacing: 0;
    color: #181D25;
    white-space: nowrap;
}
#mapWrap .myAreaWeatherDustGrade {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: 0;
    color: #181D25;
    white-space: nowrap;
}
/* 등급 점 6x6. 피그마 값: 보통 #1ABE38, 나쁨 #FFA30F.
   좋음 / 매우 나쁨은 아직 값이 없어 임시 색이다 (퍼블 확인 필요). */
#mapWrap .myAreaWeatherDustGrade.is-good::before,
#mapWrap .myAreaWeatherDustGrade.is-normal::before,
#mapWrap .myAreaWeatherDustGrade.is-bad::before,
#mapWrap .myAreaWeatherDustGrade.is-very-bad::before {
    content: '';
    display: block;
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
#mapWrap .myAreaWeatherDustGrade.is-good::before     { background: #00A2FA; }
#mapWrap .myAreaWeatherDustGrade.is-normal::before   { background: #1ABE38; }
#mapWrap .myAreaWeatherDustGrade.is-bad::before      { background: #FFA30F; }
#mapWrap .myAreaWeatherDustGrade.is-very-bad::before { background: #FF1F33; }
/* 우리지역 날씨 더보기 (새 창, /special/nationwide/town) */
#mapWrap .myAreaWeatherMore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    width: 148px; height: 32px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(52, 56, 63, .05);
    font-size: 14px; font-weight: 500; line-height: 22px; letter-spacing: 0;
    color: #181D25;
    text-decoration: none;
    white-space: nowrap;
}


/* ############################################################################
   3. 지도 위 기타
   ############################################################################ */

/* ===== 3-1 제보영상 마커 건수 뱃지 (.mapReportBadge) ===== */
/*  지도 위 제보영상 마커에 겹쳐 그리는 건수 뱃지.  (디자인: 제보영상마커.png)
    마커 태그(.reportMarker) 안에 들어 있어 마커와 같이 움직인다. (ScopeMap.drawDetailReport, VworldMap.addMarker 의 badge)
    위치는 피그마 기준 "마커 이미지 좌상단에서 top:-8 left:16.5" (3-2 .reportMarker .mapReportBadge)

    패딩(좌우 6px)을 넣지 않는다.
      전체 20px 에서 테두리(2px)+패딩(12px)을 border-box 로 빼면 콘텐츠가 6px 밖에 안 남는데,
      숫자 하나는 그보다 넓어서(8px) 중앙정렬이 패딩 쪽으로 밀려 비대칭으로 보였다.
      (피그마의 20px 는 테두리를 뺀 값이라 border-box 계산과 안 맞는다)
      패딩 없이 flex 중앙정렬만 쓰면 숫자가 자릿수와 무관하게 원 정중앙에 온다. */
#mapWrap .mapReportBadge {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    border: 1px solid #C5C7C9;
    border-radius: 9999px;
    background: #fff;
    pointer-events: none;
}
#mapWrap .mapReportBadge span {
    color: #181D25;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
    white-space: nowrap;
}

/* ===== 3-2 지도 마커 (.mapMarker) ===== */
/* 지도 마커는 전부 HTML 태그
   (예전 canvas 마커 버전은 index_canvas.jsp /index-renewal-canvas 에 보관)

   태그의 왼쪽 위가 좌표에 놓인다. 그림의 어느 점을 좌표에 맞출지는 transform translate 로 정한다.
     핀 모양  : 뾰족한 끝 (가로 -50%, 세로 = 핀 끝 y / 그림 높이)
     원 모양  : 한가운데 (-50%, -50%)
   크기를 바꿔도 말풍선 / hover 상자 / 관측소 정보창은 화면에서 마커 높이를 다시 재서 같은 간격으로 뜬다.
   크기를 바꿀 때 translate 의 % 는 그대로 두면 된다(그림 비율이 같으면 기준점도 같다).
   마커끼리 겹치는 순서는 JS 가 정한다. (index.jsp MARKERS.zIndex, 태그를 감싸는 상자에 들어간다) */
/* 마우스(hover / 클릭)는 그림(img)만 받는다. 태그 네모 전체가 받으면 가까운 마커끼리 겹칠 때
   위에 깔린 마커의 빈 부분이 아래 마커를 가려 hover 가 안 됐다.
   이벤트는 img 에서 마커 태그로 올라가므로 index.jsp 의 mouseenter / click 은 그대로 동작한다. */
#mapWrap .mapMarker {
    position: relative;
    pointer-events: none;
}
#mapWrap .mapMarker img {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    cursor: pointer;
}

/* 재난 마커 (/static/images/main/, index.jsp MARKERS) */
/* 지진 / 지진해일 earthquake_tidalWave_marker.png 64x64. 원 모양이라 한가운데를 진앙에 */
#mapWrap .disasterMarker.earthquake {
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
}
/* 태풍 typhoon_marker.png / 사회재난 socialDisaster_marker.png / 산불(상황도 없음) fire_without_map.png 52x52.
   핀 끝(위에서 64px = 85.333%)을 좌표에 */
#mapWrap .disasterMarker.typhoon,
#mapWrap .disasterMarker.social,
#mapWrap .disasterMarker.fireNoMap {
    width: 52px;
    height: 52px;
    transform: translate(-50%, -85.333%);
}
/* 산불(상황도 있음) fire_with_map.png / 산불(진화완료) fire_extinguished.png 52x52.
   핀 끝(위에서 72px = 87.805%)을 좌표에 */
#mapWrap .disasterMarker.fireWithMap,
#mapWrap .disasterMarker.fireOut {
    width: 52px;
    height: 52px;
    transform: translate(-50%, -87.805%);
}

/* CCTV cctv_marker.png / 지진 순간영상(같은 그림) 48x48. 그림 맨 아래 가운데(핀 끝)를 좌표에 */
#mapWrap .cctvMarker,
#mapWrap .vodMarker {
    width: 32px;
    height: 32px;
    transform: translate(-50%, -100%);
}

/* 제보영상 jebo_marker.png(1건) / jebo_markers.png(여러 건) 32x32. 맨 아래 가운데를 좌표에 */
#mapWrap .reportMarker {
    width: 32px;
    height: 32px;
    transform: translate(-50%, -100%);
}
#mapWrap .reportMarker .mapReportBadge {
    position: absolute;
    top: -8px;
    left: 16.5px;
}

/* 우리지역 관측소 *_stn.svg 60x60 (안에 44x44 원, 나머지는 그림자 여백). 원 바로 아래(위에서 48px = 80%)를 좌표에.
   종류별로 따로 줄 때: .stationMarker.typhoon / .downpour / .heavySnow / .flood / .airPollution */
#mapWrap .stationMarker {
    width: 32px;
    height: 32px;
    transform: translate(-50%, -80%);
    transition: 0.1s all ease-in-out;
}
#mapWrap .stationMarker.active{
    width: 48px; height: 48px;
}
/* 내위치 Marker_blue_Pin.png 64x75 (그림자 여백 포함).
   기준점: 가로 가운데, 핀 끝(세로 60.5/75 = 약 81%) */
#mapWrap .myLocationMarker {
    width: 52px;
    height: 52px;
    transform: translate(-50%, -81%);
}
/* 내위치는 평소 클릭 동작이 없어 그림도 마우스를 받지 않는다. (그 밑의 지도 / 마커를 그대로 누를 수 있게)
   우리지역 평시에는 눌러서 닫은 날씨 정보창(2-3)을 다시 열 수 있다 (.is-clickable) */
#mapWrap .myLocationMarker img {
    pointer-events: none;
    cursor: default;
}
#mapWrap .myLocationMarker.is-clickable img {
    pointer-events: auto;
    cursor: pointer;
}

/* hover 효과 예시 (필요하면 퍼블이 값 조정). 기준점(좌표 지점)을 중심으로 커지게 transform-origin 을 맞춘다.
#mapWrap .stationMarker img { transition: transform .15s; transform-origin: 50% 80%; }
#mapWrap .stationMarker:hover img { transform: scale(1.2); }
*/

/* ===== 3-3 지도 위 버튼 묶음 겹침 순서 (.map-layer_*) ===== */
/* 지도 위 버튼 묶음(.map-layer_*: 지도/기상영상 선택, CCTV·제보영상 버튼, 범례·확대축소, 재난 LIVE)은
   퍼블 main.css 의 z-index 1 그대로 쓴다.
   마커(HTML 태그, z-index 1~90)와 정보창(95~100)은 OpenLayers 지도 상자(.ol-viewport) 안에 그려지고,
   버튼 묶음은 그 상자의 형제다. 지도 상자를 자기 쌓임 단위로 묶어 두면 안쪽 z-index 는 상자 안에서만
   비교되므로, 버튼(1)이 마커/정보창에 가려지지 않는다(지도 위 버튼은 지도 위 어떤 것에도 가려지면 안 됨).
*/
#mapWrap .ol-viewport {
    isolation: isolate;
}

/* ===== 3-4 날씨영상 끝난 화면 (.mapVideoStage) ===== */
/* 평시 우리지역 날씨영상은 반복하지 않는다  playVideo, repeat:false). 끝나면(jw-state-complete)
   jwplayer 가 미리보기 판과 다시보기 아이콘을 덮는데, 그걸 숨겨서 마지막 장면이 그대로 보이게 한다.
   release 메인 우리지역 날씨영상(ui.css .type_ourArea .fullscreenArea .jw-preview / .jw-display-controls)과 같은 방식.
   전국 기상영상은 반복이라 complete 가 되지 않아 해당 없음.
   release브랜치에서 index/우리지역에서 처리한 방식 그대로 가져옴
 */
#mapWrap .mapVideoStage .jw-state-complete .jw-preview {
    background: none !important;
}
#mapWrap .mapVideoStage .jw-state-complete .jw-display-controls {
    display: none;
}

#mapWrap .vw-notice{display: none;}

#mapWrap .ol-overlay-container{
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);

    /* 위치 변화가 부드럽게 렌더링되도록 유도 */
    will-change: transform, left, top;
}


/* ############################################################################
   4. 좌측 패널 / 2단 패널
   ############################################################################ */

/* ===== 4-1 패널 불러오기 실패 안내 (#scopePanelError) ===== */
#scopePanelError { padding: 12px; color: #b00020; }
#scopePanelError[hidden] { display: none; }
/* ===== 4-2 제보 영상 썸네일 (2단 패널 #reportVideo) =====
   퍼블 main.css 가 .box-swiper 슬라이드 버튼마다 재생 아이콘(:before)을 그린다.
   제보 영상은 영상/이미지 모두 썸네일만 보인다
   같은 모양인 "행동요령 영상"(.action-tip__wrap)은 그대로 재생 아이콘이 보인다.
   지진 순간영상(#earthquakeMoment, 제보영상과 같은 box-swiper 구조)도 기본 썸네일만 보이게 같이 뺀다 */
.panel #reportVideo .swiper .swiper-slide > button:before,
.panel #earthquakeMoment .swiper .swiper-slide > button:before { display: none; }

/* ===== 4-3 홍수 예/특보 아이콘 (main.css 이관 대상) =====
  예특보 왼쪽패널 홍수 아이콘 추가: images/icon/alerts/Ic-floodStn.svg */
.panel #alerts .alerts-list li#flood:before {
    background-image: url(/static/images/icon/alerts/Ic-floodStn.svg);
}
#panel2.panel-flood .alert-status::before {
    background-image: url("/static/images/icon/alerts/Ic-floodStn.svg");
}

/* ############################################################################
   5. 팝업
   ############################################################################ */

/* ===== 5-1 제보영상 팝업 사진 (#layerArea.layer__reportVideo) =====
   제보영상 이미지를 칸 안에 비율 그대로 맞춘다.
   PC popup/main/reportVideo.jsp, 모바일 mobile/popup/main/reportVideo.jsp 공통  */
#layerArea.layer__reportVideo .main-video-player > img {
    width: 100%; height: 100%; object-fit: contain;
}
