@charset "UTF-8";
/* ============================================================================
   모바일 메인(mobile/index.jsp) 임시 CSS - 퍼블리셔 이관 대상

   퍼블 모바일 main.css / bottomSheet.css 에 없는 것을 개발이 임시로 잡아 둔 파일이다.
   퍼블리셔가 옮기면 이 파일과 mobile/index.jsp 의 <link> 를 지운다.

   지도 위 마커 / 호버·클릭 정보창은 PC 와 같은 /static/css/index_temp.css 를 같이 불러 쓴다.
   (그 파일은 규칙이 전부 #mapWrap 안으로 한정돼 있어 모바일 퍼블 마크업에 닿지 않는다)

   목차
     (1. 지도 영역 - #mapArea )
     2. 바텀시트 본문 (위치 조회 중 본문 숨김 포함)
     3. 팝업 - 3D 태풍경로 / 3D 산불상황도 / 3D 산사태 위험지도 지도 칸 높이
     4. 팝업 - 날씨영상 끝난 화면 (우리지역 평시)
     5. 지도 - 내위치 날씨 정보창 (우리지역 평시, .myAreaWeather--m)
     6. 팝업 - 제보영상 (fade 로 겹친 안 보이는 슬라이드의 터치 차단)
     (제보영상 팝업 사진 규칙은 PC index_temp.css 5-1 을 같이 쓴다)
   ============================================================================ */

/* ===== 2. 바텀시트 본문 =====
   패널 불러오기 실패 안내 (#scopePanelError, PC index_temp.css 4-1 과 같다) */
#scopePanelError { padding: 12px 0; color: #b00020; }
#scopePanelError[hidden] { display: none; }

/* 현재 위치를 조회하는 중 화면(#loading-location-wrap)이 떠 있는 동안 그 아래 본문은 안 보이게 처리
   느린 폰에서 뉴스 대표 썸네일(main.css .list-grid#visual .thumb > img, translateZ(0) 로 따로 그려지는 층)이
   흰 로딩 화면을 뚫고 비쳐 겹쳐 보임. 로딩 화면은 첫 패널을 그리면 지워지므로(hideLocationLoading) 그때 같이 풀린다.
   visibility 라서 자리는 그대로 차지한다 (스와이퍼 크기 계산 등은 영향 없음) */
#loading-location-wrap ~ #scopePanelContent,
#loading-location-wrap ~ .inner-bottom { visibility: hidden; }

/* 예/특보 목록 아이콘 (li id = IndexPanelService FORECAST_ALERT_IDS).
   퍼블 모바일 main.css 에는 산사태 / 호우 / 대설 / 폭염 4개만 있어 나머지를 PC main.css 에서 그대로 가져왔다 */
.panel #alerts .alerts-list li#typhoon:before { background-image: url(/static/images/icon/alerts/ico-typhoon.svg); }
.panel #alerts .alerts-list li#tidalWave:before { background-image: url(/static/images/icon/alerts/ico-tidalWave.svg); }
.panel #alerts .alerts-list li#strongWind:before { background-image: url(/static/images/icon/alerts/ico-strongWind.svg); }
.panel #alerts .alerts-list li#highWave:before { background-image: url(/static/images/icon/alerts/ico-highWave.svg); }
.panel #alerts .alerts-list li#tropicalNight:before { background-image: url(/static/images/icon/alerts/ico-tropicalNight.svg); }
.panel #alerts .alerts-list li#coldWave:before { background-image: url(/static/images/icon/alerts/ico-coldWave.svg); }
.panel #alerts .alerts-list li#dry:before { background-image: url(/static/images/icon/alerts/ico-dry.svg); }
.panel #alerts .alerts-list li#yellowDust:before { background-image: url(/static/images/icon/alerts/ico-yellowDust.svg); }
.panel #alerts .alerts-list li#fineDust:before { background-image: url(/static/images/icon/alerts/ico-fineDust.svg); }
.panel #alerts .alerts-list li#ultrafineDust:before { background-image: url(/static/images/icon/alerts/ico-ultrafineDust.svg); }

/* ===== 3. 팝업 - 3D 태풍경로 / 3D 산불상황도 / 3D 산사태 위험지도 지도 칸 높이 =====
   퍼블 모바일 원본(mobile/popup/typhoonRoute3D-sample.jsp, forestFiresDiagram3D-test.jsp)은 지도 자리에
   글자만 있어 높이가 없다. 3D 지도 iframe 이 제목(content-title) 아래 남은 화면을 다 쓰게 한다.
   (layer-full 은 세로 flex, layer__content--full 은 flex:1 - 퍼블 m/common.css)
    */
#layerArea.layer__typhoonRoute3D .layer__content--full,
#layerArea.layer__forestFiresDiagram .layer__content--full,
#layerArea.layer__landslideRiskMap .layer__content--full {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#layerArea.layer__typhoonRoute3D .layer__content--full > div:last-child,
#layerArea.layer__forestFiresDiagram .layer__content--full > div:last-child,
#layerArea.layer__landslideRiskMap .layer__content--full > div:last-child {
    flex: 1;
    min-height: 0;
}

/* ===== 4. 팝업 - 날씨영상 끝난 화면 (mobile/popup/main/weatherVideo.jsp, 우리지역 평시) =====
   PC index_temp.css 3-4 와 같다. 우리지역 날씨영상은 반복하지 않아(repeat:false) 끝나면(jw-state-complete)
   jwplayer 가 미리보기 판(검은 화면)과 다시보기 아이콘을 덮는다. 그걸 숨겨 마지막 장면이 그대로 보이게 한다.
   전국 기상영상은 반복이라 complete 가 되지 않아 해당 없음. */
#layerArea.layer__weatherVideo .jw-state-complete .jw-preview {
    background: none !important;
}
#layerArea.layer__weatherVideo .jw-state-complete .jw-display-controls {
    display: none;
}

/* ===== 5. 지도 - 내위치 날씨 정보창 (우리지역 평시) =====
   모바일 피그마 Main-우리지역-평시-Map. PC 정보창(/static/css/index_temp.css 2-3 .myAreaWeather)의 모바일판.
   마크업 mobile/index.jsp buildMyAreaWeatherInfo (.myAreaWeather--m), 정보창을 누르면 날씨 2단 패널.
     X 버튼 32x32 (원형, #FFFFFF 88% - 그림 Btn-Ic.svg) + 간격 6 + 정보창 129x58 (+ 간격 6 + 내위치 마커, JS MY_LOCATION_INFO_GAP)
     정보창: 반경 8, 패딩 8/12, 간격 8, #FFFFFF
       아이콘 36.67x36.46 + 기온 / 하늘 57 폭
       기온 16/24 600 #181D25, 하늘 12/18 500 #181D25 */
#mapWrap .myAreaWeather--m {
    width: 129px;
    gap: 6px;
}
#mapWrap .myAreaWeather--m .myAreaWeatherBox {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 129px; min-width: 129px;
    height: 58px;
    padding: 8px 12px;
    text-decoration: none;
    cursor: pointer;
}
#mapWrap .myAreaWeather--m .myAreaWeatherIcon {
    width: 36.67px; height: 36.46px;
}
#mapWrap .myAreaWeather--m .myAreaWeatherText {
    width: 57px;
}
#mapWrap .myAreaWeather--m .myAreaWeatherTemp {
    font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: 0;
    color: #181D25;
}
#mapWrap .myAreaWeather--m .myAreaWeatherSky {
    font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: 0;
    color: #181D25;
}

/* ===== 6. 팝업 - 제보영상 (mobile/popup/main/reportVideo.jsp) =====
   모바일 팝업은 Swiper fade 효과라 안 보이는 슬라이드도 같은 자리에 겹쳐 있다.
   그 안의 jwplayer 가 터치를 가로채면 보이는 영상 대신 다른 제보 영상이 재생되므로 막는다 */
#layerArea.layer__reportVideo .reportVideo-swiper .swiper-slide:not(.swiper-slide-active) * {
    pointer-events: none !important;
}


#mapWrap .vw-notice{display: none;}