.txt-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
}
.main-dash {
  max-width: 1280px;
  /*padding-bottom: 64px;*/
}
.container-bg {
  background: #EFF2F7;
}
/* 설계서 v1.0 「2. 여백 좁게」
   제목 위, 제목↔부제 사이, 부제↔고속도로 목록 사이를 각각 좁히고
   제목과 부제의 자간을 넓힌다. 줄인 세로 여백만큼 띠 높이도 함께 줄인다.
   줄인 값 합계 36px (235 -> 199) */
.main-top {
  width: 100%;
  min-height: 199px;
  background-color: #eef2f7;
}
.inner {
  padding-bottom: 13px !important;
}
.main-top-inner {
  width: 1280px;
  margin: 0 auto;
  position: relative;
  padding: 0px 0 0px;
}
.main-top-left {
  background: url("../../../images/main-bg.png") no-repeat 0 0;
  height: 199px;
}
/* 제목 위 여백 40 -> 24, 부제 아래(고속도로 목록과의 사이) 18 -> 8 */
.main-title {
  padding: 24px 0 8px 0;
}
.main-top h2 {
  font-size: 36px;
  font-weight: 700;
  background: none;
  line-height: normal;
  padding: 0;
  letter-spacing: 0.03em;
  color: #1d1d1d;
}
/* 위 패딩은 제목과의 사이 10 -> 4, 아래 패딩은 10 -> 6 */
.main-top p {
  font-size: 18px;
  padding: 4px 0 6px;
  letter-spacing: 0.03em;
}
.main-top p span {
  font-weight: 600;
  color: #1d56bc;
}
.main-btn-area {
  position: relative;
  display: grid;
  gap: 10px;
}
.main-btn-area .main-btn-set, .main-btn-area .main-btn-all {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 10px;
}
.main-btn-area .main-btn-all {
  border-radius: 10px;
  padding: 15px;
  background: #fff;
  box-shadow: 0px 0px 10px 4px rgba(36, 107, 235, 0.1);
  z-index: 1;
}
/* 고속도로 선택 영역만 한 줄로 배치 */
.main-btn-area .highway-btn-set {
  flex-wrap: nowrap;
}
.main-btn-area .main-btn-set span {
  padding-right: 15px;
  font-size: 16px;
  color: #1d1d1d;
}
/* 고속도로 타이틀 스타일 추가 */
.main-btn-area .highway-btn-set-title {
  display: flex;
  align-items: center;
  margin-right: 15px;
}
.main-btn-area .highway-btn-set-title span {
  padding-right: 15px;
  font-size: 16px;
  color: #1d1d1d;
  white-space: nowrap;
  min-width: auto;
}
.main-btn-area .main-btn-set ul, .main-btn-area .main-btn-all ul {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.main-btn-area .main-btn-set ul.sub-btn-area, .main-btn-area .main-btn-all ul.sub-btn-area {
  width: 100%;
  padding-left: 75px;
}
.main-btn-area .main-btn-set ul li a {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background-color: #fff;
  font-size: 15px;
  box-shadow: 0px 4px 4px 0px rgba(36, 107, 235, 0.1);
  backdrop-filter: blur(5px);
  color: #798498;
}
.main-btn-area .main-btn-all ul li a {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #A8B2C5;
  border-radius: 10px;
  background-color: #fff;
  font-size: 15px;
  box-shadow: 0px 4px 4px 0px rgba(36, 107, 235, 0.1);
  backdrop-filter: blur(5px);
  color: #798498;
}
.main-btn-area .main-btn-set ul li a.active, .main-btn-area .main-btn-all ul li a.active {
  font-weight: 600;
  color: #1d1d1d;
}
.main-btn-area .main-btn-set ul.road-set li a:hover, .main-btn-area .main-btn-all ul.road-set li a:hover {
  background-color: #246beb;
  color: #fff;
  opacity: 0.5;
}
.main-btn-area .main-btn-set ul.road-set li a:focus, .main-btn-area .main-btn-all ul.road-set li a:focus {
  box-shadow: var(--krds-box-shadow-outline-inset);
  outline-offset: -0.4rem;
}
.main-btn-area .main-btn-set ul.road-set li a.active, .main-btn-area .main-btn-all ul.road-set li a.active {
  background-color: #246beb;
  color: #fff;
  opacity: 1;
}
.main-btn-area .main-btn-set ul.stat-btn li a, .main-btn-area .main-btn-all ul.stat-btn li a {
  width: 100px;
  justify-content: center;
}
.main-btn-area .main-btn-set ul li a.green.active, .main-btn-area .main-btn-set ul.sub-btn-area li a.green {
  background-color: #f7fdfb;
}
.main-btn-area .main-btn-set ul li a.yellow.active, .main-btn-area .main-btn-set ul.sub-btn-area li a.yellow {
  background-color: #fffcf6;
}
.main-btn-area .main-btn-set ul li a.org.active, .main-btn-area .main-btn-set ul.sub-btn-area li a.org {
  background-color: #fff7f6;
}
.main-btn-area .main-btn-set ul li a.red.active, .main-btn-area .main-btn-set ul.sub-btn-area li a.red {
  background-color: #fffafb;
}
.main-btn-area .main-btn-set ul li a.border {
  border: 1px solid #ddd;
}
.badge {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  padding: 0 !important;
}
.badge.green {
  background-color: #01bb7e;
}
.badge.yellow {
  background-color: #ffb724;
}
.badge.org {
  background-color: #ff6a47;
}
.badge.red {
  background-color: #eb003b;
}
.main-top-right {
  position: absolute;
  bottom: -65px;
  right: 35px;
}
.main-top-right img {
  width: 100%;
}
section {
  display: flex;
  gap: 20px;
  flex-direction: column;
}
.road-top-info {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 66px;
  padding: 0 20px;
  border-radius: 10px;
  background-color: #fff;
  font-size: 18px;
  box-shadow: 0px 4px 4px 0px rgba(36, 107, 235, 0.1);
  backdrop-filter: blur(5px);
}
.section-top {
  display: flex;
  align-items: center;
  position: relative;
  height: 66px;
  gap: 20px;
}
.road-top-info .section-top h3 {
  align-items: center;
}
.section-top .legend-view, .section-top .legend-icon {
  display: none;
}
.section-top .legend ul {
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 28px;
}
.section-top .legend ul li {
  color: #1d1d1d;
  font-size: 17px;
  padding-left: 18px;
  position: relative;
}
.section-top .legend ul li:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.section-top .legend ul li.grn:before {
  background-color: #0ecc8e;
}
.section-top .legend ul li.yel:before {
  background-color: #ffb724;
}
.section-top .legend ul li.org:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #fb584c;
}
.section-top .legend ul li.red:before {
  background-color: #eb003b;
}
section > p:first-of-type {
  font-size: 20px;
  font-weight: 600;
  display: inline-block;
  padding-left: 10px;
  line-height: normal;
  color: #1d1d1d;
}
.main-area {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr;
  height: 638px;
}
.row-2 {
  display: grid;
  gap: 20px;
  grid-template-rows: 2fr 1fr;
}
.card {
  border-radius: 16px;
  padding: 15px;
  background: #fff;
}
.card-title {
  display: flex;
  flex-direction: column;
}
.card-title .reference-time {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  width: 100%;
  font-size: 12.5px;
}
.card-title .reference-time span {
  margin-right: 5px;
  color: #656C72;
}
.remark {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  font-size: 12.5px;
  color: #656C72;
  text-align: end;
}
.card.shadow {
  box-shadow: 0px 0px 10px 4px rgba(36, 107, 235, 0.1);
}
.card.border {
  border: 1px solid #e9e9e9;
}
.card.road-info {
  width: 280px;
  padding: 30px 10px 30px 15px !important;
}
.card.p40 {
  padding: 30px 40px;
}
.card.p30 {
  padding: 30px 30px;
}
.card.p20 {
  padding: 30px 20px;
}
.card > p:first-of-type {
  font-size: 16px;
  color: #555;
  font-weight: 500;
}
.card.road-stat {
  height: 206px;
}
.location-info {
  display: flex;
  flex-direction: row;
}
.location-info .loc {
  display: flex;
  gap: 4px;
  align-items: center;
}
.location-info .loc span {
  font-size: 17px;
}
.location-info .loc .flag {
  width: 55px;
  height: 32px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 400;
  color: #1d1d1d;
  background-repeat: no-repeat;
}
.location-info .loc .flag.up {
  background-color: #fff6f6;
}
.location-info .loc .flag.down {
  background-color: #e6f1fc;
}
.location-info .loc .reset-btn {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background-color: #fff;
  background-image: url(../../../images/kma/ops/icon-reset.svg);
  border: 1px solid #c8c8c8;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  isolation: isolate;
}
.location-info .loc .reset-btn:after {
  content: "";
  position: absolute;
  background: white;
  border-radius: 100%;
  z-index: -1;
  inset: 0;
  opacity: 0.3;
  transition: 0.35s;
}
.location-info .loc .reset-btn:hover:after {
  transition: 0.35s;
  opacity: 0;
}
.location-info .distance {
  display: flex;
  align-items: center;
  margin-left: 20px;
  font-size: 16px;
}
.location-info .distance span {
  color: #1d1d1d;
  font-weight: 600;
  padding-left: 4px;
}
.location-time {
  display: flex;
  align-items: center;
}
.location-time p {
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 8px;
}
.location-time .reset-btn {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background-color: #fff;
  background-image: url("../../../images/kma/ops/img_rotate.png");
  border: 1px solid #c8c8c8;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  isolation: isolate;
}
.location-time .reset-btn:after {
  content: "";
  position: absolute;
  background: white;
  border-radius: 100%;
  z-index: -1;
  inset: 0;
  opacity: 0.3;
  transition: 0.35s;
}
.location-time .reset-btn:hover:after {
  transition: 0.35s;
  opacity: 0;
}
/*contents*/
.main-gis {
  position: relative;
  display: flex;
  min-height: 618px;
}
/* 상단 버튼이 네 덩이로 늘면서 기준시각이 꺾였다.
   한 줄을 유지하도록 줄바꿈을 막고 글자와 여백을 줄인다. */
.gis-btn-top .gis-time {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0 6px;
  border-radius: 4px;
  margin-top: 5px;
  color: #fff;
  font-size: 11px;
  height: 23px;
  background: rgba(0, 0, 0, 0.6)
}
.gis-btn-top {
  display: flex;
  /* 지도 기준시간 표기를 뺐으므로 버튼 묶음만 우측에 둔다. */
  justify-content: flex-end;
  height: 36px;
  width: 100%;
}
.gis-btn-top .gis-right {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 4px;
}
.gis-btn-top .gis-right .gis-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  padding: 0 6px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 0px 10px 4px rgba(36, 107, 235, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: #798498;
  width: 62px;
}
.gis-btn-top .gis-right .on {
  background: #246BEB;
  color: #fff;
}
.gis-legend {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  flex-direction: row;
  padding: 5px 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 0px 10px 4px rgba(36, 107, 235, 0.1);
  font-size: 12px;
}
.gis-legend ul {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.gis-legend ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 600;
}
.gis-legend ul li:nth-child(1) span {
  display: flex;
  border-top: 2px solid #56606E;
  border-bottom: 2px solid #56606E;
  margin-right: 5px;
  width: 22px;
  height: 8px;
  background: #8E9AA9;
}
.gis-legend ul li:nth-child(2) span {
  display: flex;
  margin-right: 5px;
  width: 22px;
  height: 8px;
  background: #FDEF37;
}
.gis-legend ul li:nth-child(3) span {
  display: flex;
  margin-right: 5px;
  width: 22px;
  height: 8px;
  background: #FF8C04;
}
.gis-legend ul li:nth-child(4) span {
  display: flex;
  margin-right: 5px;
  width: 22px;
  height: 8px;
  background: #EB003B;
}
.gis-btn-top .gis-right .map-more {
  display: flex;
  align-items: center;
  border-radius: 8px;
  height: 36px;
  width: 32px;
  background: rgba(0, 0, 0, 0.6)
}
.gis-btn-top .gis-right .map-more .icon-map-more {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 32px;
}
/* 설계서 v1.0: 확대/축소를 지도 좌하단이 아니라 상단 버튼 라인에 둔다.
   기본 .zoomin-box 는 세로 30x60 절대배치라 여기서 가로 36x36 두 칸으로 되돌린다. */
.gis-btn-top .gis-right .zoomin-box {
  position: relative;
  right: auto;
  bottom: auto;
  display: flex;
  flex-direction: row;
  width: auto;
  height: 36px;
}
.gis-btn-top .gis-right .zoomin-box .zoomin {
  width: 30px;
  height: 36px;
}
.gis-btn-top .gis-right .zoomin-box::after {
  top: 6px;
  left: 30px;
  width: 1px;
  height: 24px;
}
/* 콘존명과 "(관측)"을 한 덩이로 묶는다.
   .road-list 가 space-between 이라 따로 두면 양 끝으로 벌어진다. */
.road-scroll ul li .road-list .road-list-name {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
}
/* 설계서 v1.0 6번 — 콘존명 옆 "(관측)".
   이름보다 작고 흐리게 둬서 지점명과 구분되게 한다. */
.obs-mark {
  margin-left: 4px;
  font-size: 0.8em;
  font-weight: 400;
  color: #798498;
  vertical-align: baseline;
  white-space: nowrap;
}
.road-scroll {
  height: 585px;
  overflow-y: auto;
  padding-left: 10px;
  padding-top: 5px;
}
/* 스크롤바 전체 기본 꾸미기 */
.road-scroll::-webkit-scrollbar {
  width: 8px;
}
/* 스크롤바 막대 꾸미기 */
.road-scroll::-webkit-scrollbar-thumb {
  background-color: #dddddd;
  border: 2px solid #f8f8f8;
  border-radius: 4px;
}
/* 스크롤바 트랙 꾸미기 */
.road-scroll::-webkit-scrollbar-track {
  background-color: #f8f8f8;
  border-radius: 4px;
}
.road-scroll ul {
  position: relative;
}
.road-scroll ul:before {
  content: "";
  display: inline-block;
  width: 3px;
  height: calc(100% - 40px);
  background-color: #cdd7e4;
  position: absolute;
  top: 20px;
}
.road-scroll ul li {
  position: relative;
  margin-bottom: 15px;
  margin-top: 15px;
  margin-right: 4px;
}
.road-scroll ul li span.distance {
  position: absolute;
  top: 39px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
}
.road-scroll ul li:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border: 2px solid #cdd7e4;
  position: absolute;
  border-radius: 8px;
  top: 50%;
  transform: translateY(-50%);
  left: -4px;
  z-index: 2;
}
.road-scroll ul li:after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 100%;
  position: absolute;
  top: 74%;
}
.road-scroll ul li.orange:after {
  background-color: #FF8C04;
  z-index: 1;
}
.road-scroll ul li.yellow:after {
  background-color: #FDEF37;
  z-index: 1;
}
.road-scroll ul li.red:after {
  background-color: #EB003B;
  z-index: 1;
}
.road-scroll ul li.nodata:after {
  border-left: 1px solid #56606E;
  border-right: 1px solid #56606E;
  background-color: #8E9AA9;
  z-index: 1;
}
.road-scroll ul li .road-list {
  height: 45px;
  display: flex;
  align-items: center;
  border-radius: 25px;
  font-size: 16px;
  padding: 0 15px 0 20px;
  gap: 10px;
  justify-content: space-between;
  position: relative;
  margin-left: 2px;
  color: #1d1d1d;
}
.road-scroll ul li .road-list:after {
  z-index: 3;
}
.road-scroll ul li .road-list.green {
  background-color: #f7fdfb;
  font-weight: 600;
  z-index: 2;
}
.road-scroll ul li .road-list.green:before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #d9f5ec;
  position: absolute;
  left: -11px;
  z-index: 2;
}
.road-scroll ul li .road-list.green:after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background-color: #06a873;
  position: absolute;
  left: -5px;
}
.road-scroll ul li .road-list.yellow {
  background-color: transparent;
  font-weight: 600;
  z-index: 2;
}
.road-scroll ul li .road-list.yellow:before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #FFFCD9;
  position: absolute;
  left: -11px;
  z-index: 2;
}
.road-scroll ul li .road-list.yellow:after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background-color: #FDEF37;
  position: absolute;
  left: -5px;
  /*z-index:3;*/
}
.road-scroll ul li .road-list.orange {
  background-color: transparent;
  font-weight: 600;
  z-index: 2;
}
.road-scroll ul li .road-list.orange:before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #FFE3C2;
  position: absolute;
  left: -11px;
}
.road-scroll ul li .road-list.orange:after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background-color: #FF8C04;
  position: absolute;
  left: -5px;
}
.road-scroll ul li .road-list.red {
  background-color: transparent;
  font-weight: 600;
}
.road-scroll ul li .road-list.red:before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #FCE0E7;
  position: absolute;
  left: -11px;
  z-index: 2;
}
.road-scroll ul li .road-list.red:after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background-color: #EB003B;
  position: absolute;
  left: -5px;
}
.road-scroll ul li .road-list.no-data {
  background-color: transparent;
  font-weight: 600;
}
.road-scroll ul li .road-list.no-data:before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #CDD7E4;
  position: absolute;
  left: -11px;
  z-index: 2;
}
.road-scroll ul li .road-list.no-data:after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background-color: #56606E;
  position: absolute;
  left: -5px;
}
.road-scroll ul li .road-list p {
  font-size: 11px;
  color: #666;
}
.road-scroll ul li .road-list .road-desc {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
  text-align: left;
}
.road-scroll ul li .road-list p {
  color: #555;
  font-weight: 400;
  display: flex;
  gap: 2px;
  width: auto;
}
.road-scroll ul li .road-list p span {
  font-weight: 600;
  padding-left: 2px;
}
/* 선택된 콘존만 배경 표시 */
.road-scroll ul li .road-list.active.yellow {
  background-color: #fffcf6;
}

.road-scroll ul li .road-list.active.orange {
  background-color: #fff7f6;
}

.road-scroll ul li .road-list.active.red {
  background-color: #fffafb;
}

.road-scroll ul li .road-list.active.no-data {
  background-color: #f8f8f8;
}

/* 포커스(파란 테두리) 제거 */
.road-scroll ul li .road-list:focus {
  outline: none;
  box-shadow: none;
}
/* Add styles for disabled road list items */
.road-scroll ul li.disabled a, .road-scroll ul li a.disabled {
  cursor: not-allowed;
  pointer-events: none;
  color: #686868;
}
.card.temp {
  background: #f4f5f9 url(../../../images/kma/ops/icon_temperature.svg) top 30px right 40px no-repeat;
}
.card.weather {
  background-image: url(../../../images/kma/ops/icon_weather.svg);
}
.card.sun {
  background-image: url(../../../images/kma/ops/icon_sunshine.svg);
}
.card.rain {
  background-image: url(../../../images/kma/ops/icon_rain.svg);
}
.card.snow {
  background-image: url(../../../images/kma/ops/icon_snow.svg);
}
.card.lightning {
  background-image: url(../../../images/kma/ops/icon_lightning.svg);
}
.card.temperature {
  background-image: url(../../../images/kma/ops/icon_temperature.svg);
}
.current-temp {
  font-size: 50px;
  font-weight: 600;
  line-height: normal;
  color: #1d1d1d;
}
.current-short-term-temp {
  font-size: 50px;
  font-weight: 600;
  line-height: normal;
  color: #1d1d1d;
}
.current-temp span {
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #555;
}
.current-temp span strong {
  color: #1d1d1d;
  font-weight: 400;
}
.temp-desc {
  padding-top: 36px;
  font-size: 16px;
  display: flex;
  gap: 20px;
}
.temp-desc p {
  color: #555;
}
.temp-desc span {
  font-weight: bold;
  color: #1d1d1d;
  padding-left: 10px;
}
.card.road {
  background-image: url(../../../images/kma/ops/bg-road.svg);
  position: relative;
  background-position: right top;
  background-size: cover;
}
.main-dash .road:after {
  content: "";
  display: inline-block;
  width: 190px;
  height: 106px;
  background-repeat: no-repeat;
  position: absolute;
  right: 14px;
  bottom: 29px;
  background-image: url(../../../images/kma/ops/img_light.svg);
  animation: blink 1.5s infinite; /* 1.5초 간격으로 무한 반복 */
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*.card.road:hover:after {
  background-image: url(../../../images/kma/ops/img_light.svg);
}*/
.road .distance {
  font-size: 32px;
  font-weight: bold;
  line-height: normal;
  color: #1d1d1d;
}
.card.cctv {
  background-color: #f0f0f0;
  overflow: hidden;
  position: relative;
}
.card.cctv:after {
  content: "";
  display: inline-block;
  width: 175px;
  height: 147px;
  background-image: url(../../../images/kma/ops/img_cctv.svg);
  background-repeat: no-repeat;
  position: absolute;
  bottom: -10px;
  right: -10px;
}
.card.cctv:hover:after {
  transform: scale(1.2);
  transform-origin: right bottom;
  transition: transform 0.4s ease-in-out;
}
.card.cctv p {
  font-size: 24px;
  font-weight: bold;
  line-height: 2.5rem;
  position: relative;
  z-index: 1;
  color: #1d1d1d;
  padding-bottom: 20px;
}
.card.cctv h3 span {
  padding-left: 5px;
}
.card.cctv ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card.cctv ul li {
  color: #555;
  font-size: 17px;
  font-weight: 400;
  position: relative;
  z-index: 1;
  margin-bottom: 5px;
  display: inline-block;
  padding-right: 20px;
  line-height: 20px;
}
.card.cctv ul li a {
  line-height: 20px;
}
.card.cctv ul li:hover {
  font-weight: bold;
  background-image: url(../../../images/kma/ops/icon-arrow-right.svg);
  background-position: center right;
  background-repeat: no-repeat;
}
.card.acc {
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-row: 3/5;
  position: relative;
}
.card.acc:after {
  content: "";
  display: inline-block;
  width: 80px;
  height: 94px;
  background-image: url(../../../images/kma/ops/icon_acc.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 20px;
  right: 20px;
}
.card.acc:hover:after {
  transform: scale(1.2);
  /*transform-origin: right top;*/
  transition: transform 0.4s ease-in-out;
}
.acc > p:first-of-type {
  color: #1d1d1d;
}
.acc .dir-group {
  padding-top: 18px;
  display: grid;
  gap: 15px;
}
.acc .dir-group .direction {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 45px;
  color: #555;
}
.acc .dir-group .direction p {
  /* display: flex;
  align-items: stretch;*/
}
.acc .dir-group .direction p a {
  display: flex;
  align-items: stretch;
  font-weight: 600;
  font-size: 32px;
}
.acc .dir-group .direction p a span {
  font-size: 14px;
  color: #1d1d1d;
}
.acc .dir-group .direction p a i {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: 20px;
  background-image: url(../../../images/kma/ops/icon-arrow-right.svg);
  background-position: center center;
  background-repeat: no-repeat;
}
.acc .dir-group .direction p:hover a {
  font-weight: 800;
  /*  background-image: url(../../../images/kma/ops/icon-arrow-right.svg);
  background-position: center right;
  background-repeat: no-repeat;*/
}
.main-right-btm {
  display: grid;
  grid-template-columns: 317px 282px 330px;
  gap: 20px;
}
.card.wind {
  position: relative;
  background-color: #edf1f5;
  /*background-image: url(../../../images/kma/ops/icon_wind.svg);*/
  background-repeat: no-repeat;
  background-position: bottom 30px right 25px;
  grid-column: 1/2;
  grid-row: 2/3;
  /* height: 397px; */
}
.card.wind:after {
  content: "";
  display: inline-block;
  width: 84px;
  height: 84px;
  background-image: url(../../../images/kma/ops/icon_wind.svg);
  position: absolute;
  bottom: 30px;
  right: 30px;
}
.card.wind:hover:after {
  transform: scale(1.2);
  transition: transform 0.4s ease-in-out;
}
.wind .wind-dir {
  font-size: 32px;
  font-weight: bold;
  padding-top: 10px;
  line-height: 3.5rem;
  color: #1d1d1d;
}
.wind .wind-chart {
  padding-top: 20px;
  text-align: center;
}
.card.road-temp {
  background-color: #f8f8f8;
  position: relative;
  /*height: 271px;*/
  grid-row: 2/3;
}
.road-temp:after {
  content: "";
  display: inline-block;
  width: 98px;
  height: 28px;
  background-image: url(../../../images/kma/ops/icon_road.svg);
  position: absolute;
  bottom: 30px;
  right: 40px;
}
.road-temp:hover:after {
  transform: scale(1.2);
  transition: transform 0.4s ease-in-out;
}
.card.map {
  padding: 0;
  overflow: hidden;
  height: 270px;
  grid-row: 3 / 5;
}
.card.map img {
  max-width: fit-content;
}
.card.ice {
  grid-column: 2/3;
  grid-row: 3/5;
  /* height: 290px; */
}
.ice.safe {
  background-color: #f2fafd;
}
.ice.safe .ice-chart {
  background-image: url(../../../images/kma/ops/graph_safe.svg);
}
.ice.warning {
  background-color: #f7fdfb;
}
.ice.warning .ice-chart {
  background-image: url(../../../images/kma/ops/graph_warning.svg);
}
.ice.caution {
  background-color: #fffcf6;
}
.ice.caution .ice-chart {
  background-image: url(../../../images/kma/ops/graph_caution.svg);
}
.ice.danger {
  background-color: #fffafb;
}
.ice.danger .ice-chart {
  background-image: url(../../../images/kma/ops/graph_danger.svg);
}
.card.ice h4 {
  font-size: 20px;
  font-weight: 400;
  padding: 0 0 10px 0;
  color: #1d1d1d;
}
.card.ice > p {
  font-size: 14px;
  color: #555;
}
.ice .ice-chart {
  height: 135px;
  text-align: center;
  margin-top: 40px;
  background-repeat: no-repeat;
  background-position: center;
}
.ice .ice-chart p {
  font-size: 32px;
  font-weight: 600;
  line-height: normal;
  color: #1d1d1d;
  padding-top: 48px;
}
.ice .ice-chart p span {
  display: block;
  font-size: 14px;
  padding-top: 10px;
}
.ice.safe .ice-chart p span {
  color: #006be1;
}
.ice.warning .ice-chart p span {
  color: #00bb7e;
}
.ice.caution .ice-chart p span {
  color: #ff6a47;
}
.ice.danger .ice-chart p span {
  color: #eb003b;
}
.acc-flag {
  position: relative;
  /*  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;*/
  height: 180px;
  min-height: 280px;
}
.acc-flag.ice {
  grid-column: 3/4;
  grid-row: 3/5;
}
.acc-flag.hardwind {
  grid-row: 5/6;
}
.acc-flag > p:first-of-type {
  color: #1d1d1d;
  width: 100%;
  font-size: 16px;
}
.acc-flag h5 p {
  color: #555;
  font-size: 14px;
  text-align: left;
}
.acc-flag > p {
  width: 100%;
  color: #555;
  font-size: 14px;
  text-align: left;
}
.acc-flag.safe {
  background-color: #f7fdfb;
}
.acc-flag.warning {
  background-color: #fffcf6;
}
.acc-flag.caution {
  background-color: #fff7f6;
}
.acc-flag.danger {
  background-color: #fffafb;
}
.acc-flag.no-data {
  background-color: #f8f8f8;
}
.acc-flag .acc-flag-set {
  width: 116px;
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 60px;
  position: absolute;
  right: 30px;
  bottom: 30px;
  /*display:flex;*/
  align-items: center;
  min-height: 50px;
}
.acc-flag.safe .acc-flag-set {
  background-image: url(../../../images/kma/ops/icon_safety_flag.svg);
}
.acc-flag.warning .acc-flag-set {
  background-image: url(../../../images/kma/ops/icon_warning_flag.svg);
}
.acc-flag.caution .acc-flag-set {
  background-image: url(../../../images/kma/ops/icon_caution_flag.svg);
}
.acc-flag.danger .acc-flag-set {
  background-image: url(../../../images/kma/ops/icon_danger_flag.svg);
}
.acc-flag.no-data .acc-flag-set {
  width: 165px;
  height: 58px;
  display: flex;
  align-items: center;
  background-image: url(../../../images/kma/ops/icon-no-data.svg);
}
.acc-flag .acc-flag-set span {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #555;
}
.acc-flag .acc-flag-set p {
  font-size: 32px;
  color: #1d1d1d;
  font-weight: 600;
  line-height: normal;
}
.card.radar {
  background-image: url(../../../images/kma/ops/img_radar.png);
  background-repeat: no-repeat;
  background-position: left -10px center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
  height: 164px;
}
.radar h4 {
  font-size: 20px;
  color: #1d1d1d;
  width: 155px;
  font-weight: 400;
}
.radar div {
  width: 155px;
  font-size: 14px;
  color: #1d1d1d;
  display: flex;
  align-items: center;
}
.radar div p {
  font-size: 32px;
  font-weight: 600;
  padding-left: 10px;
}
.radar div p span {
  font-size: 14px;
}
/* swiper */
.danger-info {
  position: relative;
  padding: 0;
  grid-column: 1/2;
  grid-row: 3/5;
  background-color: #f8f8f8;
}
/*flag로 변경*/
/*.danger-info.bc-grn,
.danger-info .swiper .swiper-slide.grn {
  background-color: #f8f8f8;
}

.danger-info.bc-yel,
.danger-info .swiper .swiper-slide.yel {
  background-color: #f8f8f8;
}

.danger-info.bc-org,
.danger-info .swiper .swiper-slide.org {
  background-color: #f8f8f8;
}

.danger-info.bc-red,
.danger-info .swiper .swiper-slide.red {
  background-color: #f8f8f8;
}*/
.danger-info:before {
  content: "";
  display: inline-block;
  width: calc(100% - 60px);
  height: 1px;
  background-color: #e9e9e9;
  position: absolute;
  z-index: 2;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
}
/* .danger-info:after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 60px;
  background-image: url(../../../images/kma/ops/icon-alert-red.svg);
  background-repeat: no-repeat;
  background-size: auto 60px;
  position: absolute;
  left: -14px;
  top: -18px;
  z-index: 1;
} */
.danger-info > p:first-of-type {
  padding-bottom: 10px;
  position: absolute;
  z-index: 2;
  margin: 23px 0 0 30px;
  color: #1d1d1d;
}
.danger-info .swiper {
  border-radius: 16px;
  height: 100%;
}
.danger-info .swiper-slide {
  padding: 100px 30px 20px;
}
.danger-info .swiper-indicator {
  position: absolute;
  display: flex;
  gap: 4px;
  align-items: center;
  top: 20px;
  right: 30px;
}
.danger-info .swiper-indicator .swiper-button-next, .danger-info .swiper-indicator .swiper-button-prev {
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #e4e4e4;
  background-repeat: no-repeat;
  background-position: center center;
  position: static;
  margin-top: 0;
}
.danger-info .swiper-indicator .swiper-button-next {
  background-image: url(../../../images/kma/ops/swiper-arrow-st.svg);
}
.danger-info .swiper-indicator .swiper-button-prev {
  background-image: url(../../../images/kma/ops/swiper-arrow-st.svg);
  transform: rotate(180deg);
}
.danger-info .swiper-button-prev:after, .danger-info .swiper-button-next:after {
  content: none;
}
.danger-info .swiper-pagination {
  width: auto;
  position: static;
  padding-right: 4px;
  font-size: 14px;
  font-weight: 600;
  transform: none;
}
.danger-info .swiper-pagination .swiper-pagination-current {
  color: #003675;
}
.danger-info .danger-road-info {
  /*font-size: 16px;
  font-weight: 600;*/
  display: flex;
  gap: 5px;
  color: #1d1d1d;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
}
.danger-info .danger-road-info span {
  font-weight: 400;
}
.danger-info .danger-flag {
  /*padding-top: 6px;*/
  padding-top: 24px;
}
.danger-info .danger-flag ul {
  display: flex;
  justify-content: flex-end;
  gap: 38px;
  position: relative;
}
.danger-info .danger-flag ul:after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 100%;
  background-color: #dddddd;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.danger-info .danger-flag ul li {
  width: 50%;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  display: flex;
  /*flex-direction: column;*/
  gap: 5px;
  align-items: flex-start;
}
.danger-info .danger-flag ul li div {
  display: flex;
  flex-direction: column;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  cursor: unset;
}
.danger-info .danger-flag ul li .m-desc {
  /*display: none;*/
  display: inline-block;
  text-align: center;
  width: 100%;
  padding-top: 7px;
  font-size: 14px;
  color: #555;
}
.danger-info .danger-flag ul li span {
  font-size: 17px;
  color: #1d1d1d;
  font-weight: 600;
  /*  font-size: 14px;
  color: #555;*/
}
.danger-info .danger-flag ul li .flag {
  padding-left: 0px;
  position: relative;
  color: #1d1d1d;
  font-size: 17px;
  line-height: 1.5rem;
}
.danger-info .danger-flag ul li .no-data {
  padding-left: 0px;
  color: #555;
  font-size: 14px;
  text-align: center;
}
.danger-info .danger-flag ul li .flag:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  position: absolute;
  /*  left: 0;
  top: 0;*/
  right: -10px;
  left: auto;
  top: -10px;
  display: none;
}
.danger-info .swiper-slide .danger-flag ul li .flag.green:before {
  background-color: #0ecc8e;
}
.danger-info .swiper-slide .danger-flag ul li .flag.yellow:before {
  background-color: #ffb724;
}
.danger-info .swiper-slide .danger-flag ul li .flag.orange:before {
  background-color: #ff6a47;
}
.danger-info .swiper-slide .danger-flag ul li .flag.red:before {
  background-color: #eb003b;
}
.tooltip {
  position: absolute;
  min-width: 165px;
  background: #ffffff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 12px;
  border: 1px solid#B1B8BE;
  padding: 24px;
  font-size: 15px;
  z-index: 2;
  display: none;
  bottom: 90px;
  box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.1);
}
.tooltip.ice {
  left: 45px;
  display: none !important;
}
.tooltip.dis {
  left: 138px;
  display: none !important;
}
.tooltip:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 13px 13px 0;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
  z-index: 1;
  bottom: -13px;
  left: 170px;
}
.tooltip:before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 13px 13px 0;
  border-color: #b1b8be transparent;
  display: block;
  width: 0;
  z-index: 0;
  bottom: -14px;
  left: 170px;
}
.modal-content .road-stat p {
  font-size: 19px;
}
.modal-content .location-info .loc .flag {
  border: 1px solid #c6c6c6;
}
.accordion-item > div {
  font-size: 17px;
  color: #1e2124;
  /*margin-bottom: 10px;*/
}
.accordion-item > p:first-of-type {
  font-size: 17px;
  color: #1e2124;
  font-weight: 700;
  /*margin-bottom: 10px;*/
}
.accordion-item.border-0 {
  border-top: 0 !important;
}
.filter-tag-wrap .tag-in {
  padding: 24px 4px 10px;
  margin-bottom: 14px;
}
.filter-tag-wrap .tag-in .krds-btn-tag {
  border-radius: 6px;
  border: 1px solid #c6c6c6;
  display: flex;
  height: 40px;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
  position: relative;
}
/*.filter-tag-wrap .tag-in .krds-btn-tag:focus {*/
/*  box-shadow:none;*/
/*}*/
.filter-tag-wrap .tag-in .krds-btn-tag.active {
  border: 1px solid #246beb;
  background: #eff5ff;
  color: #1d56bc;
  font-weight: 600;
}
.filter-tag-wrap .tag-in .krds-btn-tag.active:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  padding-right: 4px;
  background-image: url(../../../images/kma/ops/icon-check.svg);
  background-repeat: no-repeat;
  background-position: center center;
}
.filter-tag-wrap .tag-btn {
  padding: 24px 0 24px 24px;
}
.filter-tag-wrap.full, .filter-tag-wrap.full .tag-in {
  width: 100%;
  padding: 0;
}
.filter-tag-wrap.full .tag-in .krds-btn-tag {
  flex-basis: 50%;
}
.accordion-body .road-info .road-list {
  font-weight: 600;
  font-size: 19px;
  background-color: #fff;
  justify-content: flex-start;
}
.accordion-body .road-scroll ul li .road-list .road-desc {
  gap: 12px;
}
.accordion-body .road-scroll ul li .road-list .road-desc p {
  font-size: 17px;
  color: #555;
}
.accordion-body .road-scroll ul li .road-list .road-desc span {
  font-weight: 400;
}
.filter-btn {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 8px 8px 10px 0px rgba(36, 107, 235, 0.05);
  background-image: url(../../../images/kma/ops/icon-filter.svg);
  background-position: right 16px center;
  background-repeat: no-repeat;
  color: #8e8e8e;
  font-size: 19px;
  text-align: left;
  display: none;
}
.modal-btn.between {
  justify-content: space-between !important;
}
.footer-bg {
  background: #fff !important;
}
.web-hide {
  display: none;
}
/* 노트북 & 테블릿 가로 (해상도 1024px ~ 1279px)*/
@media (max-width: 1024px) {
  /* 지도는 모바일에서도 보여준다. 콘존 목록과 상단 요약줄은 종전대로 숨긴다. */
  .w-road, .road-top-info {
    display: none;
  }
  /*
   * PC 기준 min-height(618px) 를 풀지 않으면 모바일에서 화면을 다 먹는다.
   * 구형 브라우저가 쓸 고정 높이를 먼저 두고, 아래 @supports 에서 비율로 올린다.
   */
  .main-gis {
    min-height: 0;
    height: 360px;
  }
  .mB15 {
    margin-bottom: 15px;
  }
  .web-hide {
    display: block;
  }
}
/*
 * 주소창 개폐로 값이 흔들리는 vh 대신 dvh 를 쓴다.
 * clamp 로 상·하한을 잡아 소형기기에서 너무 작아지거나
 * 태블릿에서 과하게 커지는 것을 막는다. 미지원 브라우저는 위 360px 고정.
 */
@supports (height: 1dvh) {
  @media (max-width: 1024px) {
    .main-gis {
      height: clamp(300px, 50dvh, 520px);
    }
  }
}
@media all and (max-width: 1279px) {
  .main-top {
    padding: 0 24px;
  }
  .main-top-inner {
    width: 100%;
  }
  .main-area {
    display: block;
    height: 100%;
  }
  .main-area .main-area-left {
    display: flex;
    flex-direction: column;
  }
  .main-area-right {
    /* display: flex;
    flex-wrap: wrap; */
    grid-template-columns: 50% auto;
  }
  .main-btn-set {
    width: 94%;
    overflow: hidden;
  }
  .road-scroll {
    height: 100%;
  }
  .card.temp {
    grid-column: 1/3;
  }
  .card.road {
    grid-column: 3/4;
  }
  .card.cctv {
    grid-column: 1/2;
  }
  .card.road-info {
    max-height: 1028px;
    height: 100%;
  }
  .card.acc {
    grid-column: 2/4;
    grid-row: 2/3;
  }
  .card.acc:after {
    content: none;
  }
  .card.wind {
    grid-column: 1/3;
    grid-row: 3/4;
    height: 400px;
  }
  .card.road-temp {
    grid-row: 3/4;
    /*height: 290px;*/
  }
  .card.ice {
    grid-column: 3/4;
    grid-row: 5/7;
    /*height: auto;*/
  }
  .ice .ice-chart {
    margin-top: 100px;
  }
  .card.map {
    grid-row: auto;
    grid-column: 1/3;
  }
  .card.map img {
    width: 100%;
    height: auto;
    max-width: none;
  }
  .card.radar {
    grid-column: 1/3;
    background-position: left 0 center;
  }
  .danger-info {
    grid-row: 4/5;
    grid-column: 1/2;
  }
  .acc-flag.dis {
    grid-row: 4/5;
    grid-column: 2/4;
  }
  .acc-flag.ice {
    grid-row: 5/6;
    grid-column: 1/2;
  }
  .acc-flag.hardwind {
    grid-row: 5/6;
    grid-column: 2/4;
  }
  .tooltip.ice {
    left: 197px;
  }
  .tooltip.dis {
    left: 287px;
  }
  .danger-info .danger-flag ul li .flag:before {
    display: inline-block;
  }
  .main-gis {
    margin-bottom: 15px;
  }
  .mB15 {
    margin-bottom: 15px;
  }
  .w-road {
    height: 350px;
    overflow: hidden;
  }
}
/* 테블릿 세로 (해상도 768px ~ 1023px)*/
@media all and (max-width: 1023px) {
  .main-area {
    display: block;
    height: 100%;
  }
  .tablet_hide {
    display: none;
  }
  .row-2 {
    display: grid;
    gap: 20px;
    grid-template-rows: 2fr;
  }
  .main-area .main-area-left {
    display: none;
  }
  .main-right-btm {
    grid-template-columns: 466px auto;
  }
  .filter-btn {
    width: 358px;
    display: inline-block;
  }
  .road-scroll {
    height: 300px;
  }
  .w-road {
    height: 350px;
    overflow: hidden;
  }
  .danger-info .danger-flag ul li .flag:before {
    display: inline-block;
  }
}
/* 모바일 가로 & 테블릿 세로 (해상도 480px ~ 767px)*/
@media all and (max-width: 767px) {
	/* PC 와 같은 폭으로 세로 여백을 줄인다. 설계서 v1.0 「2. 여백 좁게」 */
	.main-top-left {
    background: url(../../../images/mobile-bg.png) no-repeat right 0;
    height: 199px;
}
  .main-top-inner {
    padding: 0px 0 0px;
  }
  .main-top h2 {
    font-size: 25px;
  }
  .main-top p {
    font-size: 16px;
    padding: 4px 0 6px;
	  width: 241px;
  }
  .card-title .reference-time {
    font-size: 14px;
  }
  .main-top-right {
    right: -15px;
    top: 5px;
    height: min-content;
  }
  .main-top-right img {
    width: 180px;
  }
  .main-btn-area {
    position: relative;
  }
  .main-btn-set {
    width: 90%;
    overflow: hidden;
  }
  .menu .highway-swiper-button-open {
    width: 48px;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: url(../../../images/kma/ops/swiper-arrow.svg) no-repeat center center #fff;
    position: absolute;
    top: -2px;
  }
	.menu .highway-swiper-button-close {
    width: 48px;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: url(../../../images/kma/ops/swiper-arrow.svg) no-repeat center center #fff;
    position: absolute;
    top: 15px;
    right: 8px!important;
}
  section h4 {
    font-size: 25px;
  }
  .main-top {
    padding: 0 16px;
  }
  .section-top {
    justify-content: flex-start;
    align-items: center;
  }
  .section-top .legend.pc {
    display: none;
  }
  .section-top .legend-icon {
    margin-left: 8px;
  }
  .main-area-right {
    display: flex;
    flex-direction: column;
  }
  .row-2 {
    display: grid;
    gap: 20px;
    grid-template-rows: 2fr;
  }
  .card.temp, .card.road {
    width: 100%;
  }
  /*모바일 범례*/
  .section-top .legend ul {
    gap: unset;
    flex-wrap: wrap;
    justify-content: center;
  }
  .section-top .legend ul li {
    width: 47%;
    margin-right: 5%;
    margin-bottom: 10px;
  }
  .section-top .legend ul li:nth-child(even) {
    margin-right: 0%;
  }
  .section-top .legend ul li:nth-child(3), .section-top .legend ul li:nth-child(4) {
    margin-bottom: 0px;
  }
  .section-top .legend ul li span {
    color: #555;
    font-size: 15px;
    padding-left: 5px;
  }
  /*  .card.lightning {
    height: 195px;
  }*/
  .temp-desc {
    padding-top: 23px;
  }
  .card.road {
    height: 207px;
    background-image: url(../../../images/kma/ops/bg-road_m.svg);
    background-position: right bottom;
    background-size: auto;
    background-color: #f0efec;
    background-repeat: no-repeat;
  }
  .road:after {
    right: 50px;
    bottom: 50px;
  }
  .main-right-top {
    gap: 24px;
  }
  .main-right-btm {
    grid-template-columns: 100%;
  }
  .main-right-btm .card {
    grid-row: auto;
    grid-column: auto;
  }
  .card.road-temp {
    grid-row: 2/4;
    height: 270px;
  }
  .road-temp:after {
    right: 30px;
  }
  .card.ice {
    /*height: 223px;*/
    position: relative;
  }
  .ice .ice-chart {
    margin-top: 0;
    position: absolute;
    width: 180px;
    right: 30px;
    bottom: 30px;
  }
  .card.map img {
    width: auto;
    height: 100%;
  }
  .tooltip.ice, .tooltip.dis {
    display: none !important;
  }
  .danger-info .danger-road-info {
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
  }
  .danger-info .danger-flag {
    padding-top: 28px;
  }
  .danger-info .danger-flag ul {
    justify-content: center;
    position: relative;
  }
  .danger-info .danger-flag ul li {
    width: 50%;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .danger-info .danger-flag ul li span {
    font-size: 17px;
    color: #1d1d1d;
    font-weight: 600;
  }
  .danger-info .danger-flag ul li .flag {
    padding-left: 0;
  }
  .danger-info .danger-flag ul li .flag:before {
    right: -10px;
    left: auto;
    top: -10px;
  }
  .danger-info .danger-flag ul li .m-desc {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding-top: 7px;
    font-size: 17px;
    color: #1d1d1d;
  }
  .section-top .legend-icon {
    display: inline-block;
  }
  .legend-view {
    left: 30px;
    bottom: 55px;
    display: inline-block;
  }
  .tooltip:before, .tooltip:after {
    left: 210px;
  }
  .section-top .legend-view p {
    font-size: 17px;
    padding: 0 0 16px 0;
    font-weight: bold;
  }
  .section-top .legend-view ul {
    padding: 0;
  }
  .filter-btn {
    width: 100%;
    display: inline-block;
  }
  .card.temp {
    order: 1;
  }
  .card.road {
    order: 2;
  }
  .card.wind {
    order: 3;
    height: 100%;
  }
  .card.road-temp {
    order: 4;
  }
  .card.radar {
    order: 5;
  }
  .card.ice {
    order: 6;
  }
  .card.acc-flag {
    order: 7;
  }
  .card.cctv {
    order: 8;
  }
  .card.acc {
    order: 9;
  }
  .card.danger-info {
    order: 10;
  }
  .danger-info .danger-flag ul li a {
    flex-direction: row;
  }
  .main-dash .road:after {
    width: 190px;
    height: 106px;
    right: 40px;
    bottom: 46px;
  }
  .road-scroll {
    height: 300px;
  }
  .cont-box .road-top p {
    font-size: 18px !important;
  }
  .danger-info .danger-flag ul li .flag:before {
    display: inline-block;
  }
  /*  .swiper-wrapper {
    flex-direction: row !important;
  }*/
}
.krds-main-menu {
  border-top: none;
  border-bottom: none;
}
/*메인팝업*/
#notice-modal_0 {
  z-index: 99999;
}
#notice-modal_1 {
  z-index: 9999;
}
#notice-modal_1 {
  z-index: 999;
}
#container .main-top + .inner {
  padding-top: 0px !important;
}
/*메인스와이프 추가*/
.swiper.menu {
  width: 100%;
  height: 100%;
  padding: 5px 5px 50px;
}
/*.swiper.menu:before {
  content: "";
  display: inline-block;
  width: 55px;
  height: 100%;
  background-color: #e9f4fa;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.swiper.menu:after {
  content: "";
  display: inline-block;
  width: 55px;
  height: 100%;
  background-color: #e9f4fa;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}*/
.menu .swiper-wrapper {
  width: calc(100% - 40px);
}
.menu .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: auto !important;
}
.main-btn-area {
  position: relative;
}
.main-btn-area .menu.main-btn-set ul {
  flex-wrap: nowrap;
  position: relative;
}
.road .swiper-slide li a {
  font-size: 14px;
  padding: 2px 0;
}
.road .swiper-slide .bubble a:hover span {
  font-weight: 800;
  color: #246beb;
}
.road .swiper-slide .bubble a span {
  display: inline-block;
  width: 25px;
  padding-left: 5px;
  text-align: right;
}
.road .swiper-button-open:after, .road .swiper-button-close:after, .menu .swiper-button-open:after, .menu .swiper-button-close:after {
  content: none;
}
.menu .highway-swiper-button-open {
  width: 48px;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 50px;
  background:
    url(../../../images/kma/ops/swiper-arrow.svg)
    no-repeat center center #fff;
  position: absolute;

  top: 50%;
  right: 7px;
  transform: translateY(-50%) rotate(-90deg);

  z-index: 20;
}

.menu .highway-swiper-button-close {
  width: 48px;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 50px;
  background:
    url(../../../images/kma/ops/swiper-arrow.svg)
    no-repeat center center #fff;
  position: absolute;

  top: 7px;
  right: 7px;
  transform: rotate(90deg);

  z-index: 20;
}
.menu .swiper-button-close {
  left: 5px;
}
.menu .swiper-button-open {
  transform: rotate(180deg);
  right: 5px;
}
.main-btn-area .main-btn-set.menu span {
  padding-right: 0;
}
.road .swiper-pagination, .menu .swiper-pagination {
  /* bottom: -10px !important; */
}
.road .swiper-pagination-bullet-active, .menu .swiper-pagination-bullet-active {
  width: 20px;
  background-color: #246beb !important;
}
.road .swiper-pagination-bullet, .menu .swiper-pagination-bullet {
  opacity: 1;
  background-color: #8e8e8e;
}
.highway-swiper-button {
  width: 48px;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 50px;
  background: url(../../../images/kma/ops/swiper-arrow.svg) no-repeat center center #fff;
  position: absolute;
  top: 28px;
  cursor: pointer;
  z-index: 10;
}
.highway-swiper-button-close {
  transform: rotate(90deg);
  right: 5px;
}
.highway-swiper-button-open {
  transform: rotate(-90deg);
  right: 5px;
}
/* 위험정보 Swiper 스타일 */
.danger-info-swiper {
  position: relative;
}
.danger-swiper-indicator {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
}
.danger-swiper-button {
  width: 24px;
  height: 24px;
  border: 1px solid #ddd;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fff no-repeat center center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.danger-swiper-button-prev {
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15,18 9,12 15,6'%3E%3C/polyline%3E%3C/svg%3E"); */
  background-image: url(../../../images/kma/ops/swiper-arrow-st.svg);
  transform: rotate(180deg);
}
.danger-swiper-button-next {
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9,18 15,12 9,6'%3E%3C/polyline%3E%3C/svg%3E"); */
  background-image: url(../../../images/kma/ops/swiper-arrow-st.svg);
}
.danger-swiper-pagination {
  font-size: 14px;
  color: #666;
  padding-right: 4px;
  font-weight: bold;
}
/* 모바일 대응 */
@media all and (max-width: 767px) {
  .danger-swiper-indicator {
    position: absolute;
    top: 10px;
    right: 30px;
    justify-content: flex-end;
    margin-top: 0;
  }
  .danger-swiper-button {
    width: 40px;
    height: 40px;
  }
  .acc-flag {
    min-height: 180px;
  }
	.main-btn-set {
    width: 85%;
    overflow: hidden;
  }
	.road-cont ul li {
    font-size: 18px!important;
}
	.road-cont ul li span.risk-info{
		font-size: 16px!important;
	}
	.obser-info dt {
    display: flex;
    align-items: center;
    width: 80px;
    font-size: 18px!important;
}
	.obser-info dd {
    position: relative;
    margin-left: 45px;
    font-size: 28px;
    font-weight: 600;
}
	.road-cctv ul li{
		font-size: 18px!important;
	}
}
/*도로위험기상정보*/
.cont-box {
  display: flex;
  flex-direction: column;
  padding: 19px 10px;
  margin-top: 10px;
  border-radius: 8px;
  background: #F4F7FB;
}
.cont-box .road-top {
  display: flex;
  justify-content: center;
}
.cont-box .road-top p {
  display: flex;
  flex-direction: row;
  font-size: 15px;
  font-weight: 600;
}
.cont-box .road-top p .arrow-up {
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.road-cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 15px;
}
.road-cont ul {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.road-cont ul li {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  font-size: 15px;
}
.road-cont ul li:nth-child(1) {
  margin-bottom: 15px;
}
.road-cont ul li p {
  display: flex;
  width: 105px;
}
.road-cont ul li span.risk-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 15px;
}
.road-cont ul li span.nodata {
  padding: 5px 15px;
  border-top: 2px solid #56606E;
  border-bottom: 2px solid #56606E;
  color: #fff;
  font-weight: 600;
  background: #8E9AA9;
  text-align: center;
  width: 100%;
  height: 32px;
  font-size: 14px;
}
.road-cont ul li span.red {
  padding: 5px 15px;
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  background: #EB003B;
  text-align: center;
  width: 100%;
  height: 32px;
  font-size: 14px;
}
.road-cont ul li span.yellow {
  padding: 5px 15px;
  border-radius: 5px;
  color: #000;
  font-weight: 600;
  background: #FDEF37;
  text-align: center;
  width: 100%;
  height: 32px;
  font-size: 14px;
}
.road-cont ul li span.orange {
  padding: 5px 15px;
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  background: #FF8C04;
  text-align: center;
  width: 100%;
  height: 32px;
  font-size: 14px;
}
/*cctv*/
.road-cctv ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.road-cctv ul li {
  padding-left: 32px;
  background: url("../../../images/kma/ops/icon_cctv.png") no-repeat 0 center;
  height: 26px;
  color: #656C72;
  font-size: 15px;
}

.road-cctv ul li span.cctv-distance {
  margin-left: 6px;
  color: #000;
  font-weight: 600;
}
/*도로관측정보*/
.pagination {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 10px;
}
.pagination button {
  border-radius: 50px;
  height: 8px;
  width: 8px;
  background: #8E9AA9;
}
.pagination button.page-select {
  border-radius: 50px;
  height: 8px;
  width: 20px;
  background: #4E6078;
}
.obser-info {
  display: flex;
  flex-direction: row;
  gap: 15px;
  width: 100%;
}
.obser-info dt {
  display: flex;
  align-items: center;
  width: 80px;
  font-size: 15px;
}
.obser-info dd {
  position: relative;
  margin-left: 45px;
  font-size: 21px;
  font-weight: 600;
}
.obser-info dd span {
  font-size: 15px;
}
.obser-info dd.wind-direction {
  position: relative;
  width: 85px;
}
.obser-info dd.wind-direction .icon-wind {
  position: absolute;
  background: url("../../../images/kma/ops/icon_wind.svg") no-repeat right 0;
  transform: rotate(55deg);
  top: 8px;
  right: 0px;
  height: 15px;
  width: 13px
}
.gap20 {
  gap: 20px;
}
.zoomin-box {
  position: absolute;
  right: 15px;
  bottom: 55px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 0px 10px 4px rgba(36, 107, 235, 0.1);
  width: 30px;
  height: 60px;
}
.zoomin-box .zoomin {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
}
.zoomin-box::after {
  content: "";
  position: absolute;
  top: 30px;
  width: 30px;
  height: 1px;
  background: #CDD7E4;
}

#loader-wrapper {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.65);
}

#loader-wrapper #loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
    border: 5px solid #d9e2ec;
    border-top-color: #246beb;
    border-radius: 50%;
    animation: ops-loader-spin 0.8s linear infinite;
}

@keyframes ops-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/*
 * 풍향: 방위 글자 바로 옆에 화살표를 붙인다.
 * 종전에는 화살표가 position:absolute; right:0 으로 95px 폭 오른쪽 끝에
 * 고정돼 글자와 사이가 크게 벌어져 보였다.
 */
.main-new-obs-card .obser-info dd.main-new-wind-direction {
  position: relative;
  width: 95px;
  padding-right: 0;
  display: inline-flex;
  align-items: center;
  /* 콘존 목록의 "콘존명 (관측)" 과 같은 간격(4px)으로 맞춘다. */
  gap: 4px;
  /*
   * line-height 가 글자 크기의 1.5배라 글자 박스가 글자보다 10px 이상 크다.
   * 그 박스를 기준으로 중앙 정렬하면 화살표가 글자보다 위로 떠 보인다.
   * 글자 박스를 글자에 맞추고(line-height:1), 줄 높이는 min-height 로 유지한다.
   */
  line-height: 1;
  min-height: 1.5em;
}

.main-new-obs-card
.obser-info
dd.main-new-wind-direction
i.main-new-wind-icon {
  display: inline-block !important;
  position: static !important;

  flex: 0 0 auto !important;

  width: 14px !important;
  height: 16px !important;

  background-image:
    url("../../../images/kma/ops/icon_wind.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;

  opacity: 1 !important;
  visibility: visible !important;

  /* position:static 이라 세로 보정(translateY)이 필요 없다. 회전만 남긴다. */
  transform: rotate(var(--main-new-wind-degree, 0deg)) !important;

  transform-origin: center center !important;
}

#main-new-loader-wrapper {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(255, 255, 255, 0.65);
}

#main-new-loader-wrapper {
    display: none;
    /* 스피너와 안내 문구를 세로로 쌓아 가운데 둔다. */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 16px;
}
/* 표시할 때 flex 로 켜도록 JS 쪽과 맞춘다. */
#main-new-loader-wrapper.is-on {
    display: flex;
}
#main-new-loader-wrapper .main-new-loader-msg {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2a44;
    text-align: center;
}
#main-new-loader-wrapper .main-new-loader-sub {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #5a6478;
    text-align: center;
}
#main-new-loader-wrapper .main-new-loader {
    position: static;
    flex: 0 0 auto;

    width: 48px;
    height: 48px;
    margin: 0;

    border: 5px solid #d9e2ec;
    border-top-color: #246beb;
    border-radius: 50%;

    animation: main-new-loader-spin 0.8s linear infinite;
}

@keyframes main-new-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* 카드가 대시보드 높이(638px)를 넘지 않도록 안쪽 여백을 줄인다.
   항목 간격 20px 가 박스마다 4군데씩 있어 여기서 가장 많이 줄어든다. */
.main-new-obs-card .cont-box {
  padding: 15px 10px;
  margin-top: 10px;
  gap: 12px;
  row-gap: 12px;

  /* 남는 높이는 두 박스가 나눠 가져서 안내 문구가 카드 아래에 붙는다.
     반대로 내용이 넘치면 카드가 커지는 대신 이 영역만 줄어들고 스크롤된다.
     덕분에 대시보드 높이가 바뀌지 않고 하단 안내 문구도 잘리지 않는다. */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* 안내 문구를 카드 맨 아래에 두고 읽기 쉽게 키운다.
   관측값 영역은 JS가 카드 끝에 append 하므로 order 로 순서를 고정한다.
   카드 직계 자식이 되면서 .card > p:first-of-type 에 걸리므로
   선택자를 그보다 구체적으로 쓴다. */
.main-new-obs-card {
  display: flex;
  flex-direction: column;
}
.main-new-obs-card .card-title {
  order: 1;
}
.main-new-obs-card .pagination {
  order: 2;
}
/* 관측지점명 + 지점 전환 점. 값 박스 안 상단 가운데에 놓는다. */
.main-new-obs-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
}
.main-new-obs-head .main-new-obs-station {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
  text-align: center;
}
.main-new-obs-head .pagination {
  margin-top: 0;
  justify-content: flex-start;
}

.main-new-obs-card .main-new-obs-box {
  order: 3;
}
.main-new-obs-card .cont-box {
  order: 4;
}
.main-new-obs-card.card > p.remark {
  order: 5;
  justify-content: flex-end;
  text-align: right;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #E5EAF0;

  /* 카드 폭(가용 255px)에서 한 줄에 들어가는 크기. 13px 이면 258px 로 줄바꿈된다. */
  font-size: 12px;
  white-space: nowrap;
  font-weight: 500;
  color: #3F4A57;
  line-height: 1.45;
}

.main-new-cctv-card .road-cctv {
  overflow-y: visible;
}

/* CCTV 카드 자체 확장 방지 */
#MVP_OPS,
.main-new-cctv-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* 개선 메인 CCTV 목록 기본 상태 */
#MVP_OPS .road-cctv {
  width: 100%;
  max-width: 100%;
  min-width: 0;

  overflow-x: hidden;
  overflow-y: visible;
  box-sizing: border-box;
}

/* 3개 이상일 때 2개 높이까지만 노출 */
#MVP_OPS .road-cctv.has-scroll {
  height: 70px;
  max-height: 70px;

  overflow-y: auto;
  overflow-x: hidden;

  padding-right: 6px;
  box-sizing: border-box;
}

#MVP_OPS .road-cctv.has-scroll::-webkit-scrollbar {
  width: 6px;
}

#MVP_OPS .road-cctv.has-scroll::-webkit-scrollbar-thumb {
  background-color: #cdd7e4;
  border-radius: 6px;
}

#MVP_OPS .road-cctv.has-scroll::-webkit-scrollbar-track {
  background-color: transparent;
}

/* 목록 영역 폭 고정 */
#MVP_OPS .road-cctv ul {
  width: 100%;
  max-width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;

  box-sizing: border-box;
}

/* CCTV 항목 폭 확장 방지 */
#MVP_OPS .road-cctv ul li {
  display: block;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  padding-left: 32px;
  padding-right: 0;

  overflow: hidden;
  box-sizing: border-box;
}

/* CCTV 링크 */
#MVP_OPS .road-cctv ul li a {
  display: flex;
  align-items: center;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  overflow: hidden;
  white-space: nowrap;

  box-sizing: border-box;
}

/* CCTV명 말줄임 */
#MVP_OPS .road-cctv ul li a .cctv-name {
  display: block;

  flex: 1 1 0;
  min-width: 0;

  margin-left: 0;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 거리 고정 표시 */
#MVP_OPS .road-cctv ul li a .cctv-distance {
  display: block;

  flex: 0 0 auto;

  margin-left: 6px;

  white-space: nowrap;
}

.main-new-cctv-card
.road-cctv.has-scroll::-webkit-scrollbar {
  width: 6px;
}

.main-new-cctv-card
.road-cctv.has-scroll::-webkit-scrollbar-thumb {
  background-color: #cdd7e4;
  border-radius: 6px;
}

.main-new-cctv-card
.road-cctv.has-scroll::-webkit-scrollbar-track {
  background-color: transparent;
}


/* 고속도로 메뉴 공통 */
.main-btn-set.menu.highway-swiper,
.main-btn-all {
  position: relative;
  box-sizing: border-box;
  padding-right: 62px;
}

/* 축소 상태 */
.main-btn-set.menu.highway-swiper.is-collapsed {
  position: relative;
  width: 100%;
  padding-right: 62px;
  box-sizing: border-box;
  overflow: hidden;
}

.main-btn-set.menu.highway-swiper.is-collapsed #highway-list {
    position: relative;
    z-index: 1;

    -webkit-mask-image: none !important;
    mask-image: none !important;
}


/* 확대 상태 */
.main-btn-all.is-expanded {
  width: 100%;
  padding: 25px 62px 25px 15px;
  overflow: visible;
  height: auto !important;
}

.main-btn-all.is-expanded ul {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  flex-wrap: wrap !important;
  gap: 10px 6px;
  box-sizing: border-box;
}

.main-btn-all.is-expanded ul > li {
  flex: 0 0 auto;
  width: auto !important;
  margin-right: 0 !important;
}

/* 축소 상태 펼치기 버튼 */
/* 펼침/닫힘 버튼 공통 위치 */
.main-btn-set.menu.highway-swiper
.highway-swiper-button-open,
.main-btn-all
.highway-swiper-button-close {
  position: absolute;
  top: 20%;
  right: 7px;

  width: 40px;
  height: 40px;

  margin: 0;
  border: 1px solid #ddd;
  border-radius: 50%;

  background:
    url(../../../images/kma/ops/swiper-arrow.svg)
    no-repeat center center #fff;

  z-index: 30;
}

/* 펼침 버튼 */
.main-btn-set.menu.highway-swiper
.highway-swiper-button-open {
  transform: translateY(-30%) rotate(-90deg);
}

/* 닫힘 버튼 */
.main-btn-all
.highway-swiper-button-close {
  transform: translateY(-50%) rotate(90deg);
}

/* 설계서 v1.0 「5. 관측정보 수정」
   관측시각과 관측지점명을 두 줄로 나누고 오른쪽에 맞춘다.
   지점명은 도로위험기상정보의 구간명(15px/600)과 같은 크기로 키운다. */
.main-new-obs-card .main-new-obs-time,
.main-new-obs-card .main-new-obs-station {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;

  width: 100%;
  min-width: 0;

  white-space: nowrap;
  overflow: hidden;
}
.main-new-obs-card .main-new-obs-station {
  margin-top: 2px;
}

/* 값 박스 안 헤더에서는 가운데 정렬. 위 규칙보다 뒤에, 더 구체적으로 둔다. */
.main-new-obs-card .main-new-obs-head .main-new-obs-station {
  display: block;
  width: auto;
  max-width: 100%;
  margin-top: 0;
  text-align: center;

  /* 길어도 한 줄로 유지. 두 줄이 되면 카드가 영역을 넘는다. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 라벨은 고정 */
.main-new-obs-card .obs-label {
  flex: 0 0 auto;
  margin-right: 3px;
}

/* 지점명이 길면 이 줄에서만 말줄임한다 */
.main-new-obs-card
.main-new-obs-station
.obs-station-name {
  display: block;

  flex: 0 1 auto;
  min-width: 0;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  margin-right: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1d;
}

/* 관측시각은 항상 전부 보인다 */
.main-new-obs-card
.main-new-obs-time
.obs-time-value {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* 미설치 안내는 문장이 길어 왼쪽에 그대로 둔다 */
.main-new-obs-card .main-new-obs-time:has(.obs-empty-msg) {
  justify-content: flex-start;
}

.main-new-obs-card .main-new-obs-time .obs-empty-msg {
    font-size: 11px;
    display: block;
    width: 100%;
    line-height: 1.5;
}

/* 도로기상관측정보 주의 항목 강조 */
.main-new-obs-card
.obser-info
dd.observation-warning {
  color: #ff6a00;
  font-weight: 700;
}

/* ==============================
 * 신규 메인화면 공통 알림 팝업
 * ============================== */

/* 배경 마스크를 화면 전체에 표시 */
body .mask {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    z-index: 9998 !important;
}

/* 알림 팝업을 마스크보다 위에 표시 */
body #alert {
    position: fixed !important;
    z-index: 9999 !important;
}


/* ==================================================
 * 고속도로 Swiper 우측 고정 페이드
 * - PC / 태블릿 / 모바일 공통
 * - 움직이는 #highway-list에는 mask를 사용하지 않음
 * - 우측에만 고정된 그라데이션을 표시
 * ================================================== */
.main-btn-set.menu.highway-swiper.is-collapsed {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* 우측 고정 페이드
 * 펼치기 버튼 '왼쪽까지만' 두지 않고 우측 끝까지 덮는다.
 * 목록은 fade 아래(z-index:1), 펼치기 버튼은 fade 위(z-index:30)에 위치한다.
 */
.main-btn-set.menu.highway-swiper.is-collapsed::after {
    content: "";
    position: absolute;

    top: 0;
    right: 0;

    width: 150px;
    height: 50px;

    background: linear-gradient(
        to right,
        rgba(238, 242, 247, 0) 0%,
        rgba(238, 242, 247, 0.30) 28%,
        rgba(238, 242, 247, 0.72) 58%,
        rgba(238, 242, 247, 0.96) 76%,
        rgba(238, 242, 247, 1) 100%
    );

    pointer-events: none;
    z-index: 20;
}

/* 펼치기 버튼은 fade보다 위 */
.main-btn-set.menu.highway-swiper
.highway-swiper-button-open {
  z-index: 30;
}

/* 태블릿 */
@media all and (min-width: 768px) and (max-width: 1279px) {
    .main-btn-set.menu.highway-swiper.is-collapsed::after {
        right: 0;
        width: 135px;
    }
}

/* 모바일 */
@media all and (max-width: 767px) {
    .main-btn-set.menu.highway-swiper.is-collapsed::after {
        right: 0;
        width: 125px;
    }

    .main-btn-set.menu.highway-swiper #highway-list li a {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ==================================================
 * 신규 메인 모바일 고속도로 선택 영역
 * - 767px 이하에서 기존 Swiper/전체목록만 숨김
 * - 부모 .main-new-highway-select-area 는 유지
 *   (추후 모바일 전용 검색 버튼을 이 영역에 추가하기 위함)
 * ================================================== */
@media all and (max-width: 767px) {
  .main-new-highway-select-area .highway-swiper,
  .main-new-highway-select-area .main-btn-all {
    display: none !important;
  }
}

/* ==================================================
 * 신규 메인 모바일 고속도로 검색 버튼
 * - 기존 메인의 모바일 filter-btn 형태를 신규 메인 전용 클래스로 분리
 * - 기존 popFilterMain과 연결하지 않음
 * ================================================== */

/* PC/태블릿에서는 숨김 */
.main-new-mobile-highway-search {
  display: none;
}

/* 모바일에서만 표시 */
@media all and (max-width: 767px) {
  .main-new-highway-select-area .highway-swiper,
  .main-new-highway-select-area .main-btn-all {
    display: none !important;
  }

  .main-new-highway-select-area {
    display: block;
    width: 100%;
  }

  .main-new-mobile-highway-search {
    display: block;
    width: 100%;
    height: 56px;
    padding: 0 48px 0 16px;

    border: 0;
    border-radius: 8px;

    background-color: #fff;
    background-image: url(../../../images/kma/ops/icon-filter.svg);
    background-position: right 16px center;
    background-repeat: no-repeat;

    box-shadow: 8px 8px 10px 0 rgba(36, 107, 235, 0.05);

    color: #8e8e8e;
    font-size: 19px;
    text-align: left;

    cursor: pointer;
  }

  .main-new-mobile-highway-search-text {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* ==================================================
 * 신규 메인 모바일 전용 검색 팝업
 * - PC 조회 UI와 분리
 * - 기존 메인 모바일 검색필터와 유사한 bottom-sheet 구성
 * ================================================== */

body.main-new-mobile-search-open {
  overflow: hidden;
}

.main-new-mobile-search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.main-new-mobile-search-modal.is-open {
  display: block;
}

.main-new-mobile-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.main-new-mobile-search-dialog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  flex-direction: column;

  width: 100%;
  max-height: calc(100dvh - 24px);

  background: #fff;
  border-radius: 24px 24px 0 0;

  overflow: hidden;
  outline: none;

  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.14);
}

.main-new-mobile-search-header {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 68px;
  padding: 20px 58px 16px 20px;

  border-bottom: 1px solid #e6e8eb;
}

.main-new-mobile-search-title {
  margin: 0;
  padding: 0;

  color: #1d1d1d;
  font-size: 20px;
  font-weight: 700;
}

.main-new-mobile-search-close {
  position: absolute;
  top: 50%;
  right: 18px;

  width: 36px;
  height: 36px;

  border: 0;
  background: transparent;

  transform: translateY(-50%);
}

.main-new-mobile-search-close::before,
.main-new-mobile-search-close::after {
  content: "";

  position: absolute;
  top: 17px;
  left: 9px;

  width: 18px;
  height: 2px;

  border-radius: 2px;
  background: #1d1d1d;
}

.main-new-mobile-search-close::before {
  transform: rotate(45deg);
}

.main-new-mobile-search-close::after {
  transform: rotate(-45deg);
}

.main-new-mobile-search-body {
  flex: 1 1 auto;
  min-height: 0;

  padding: 20px;

  overflow-y: auto;
  overscroll-behavior: contain;
}

/* 현재 고속도로 현황 */
.main-new-mobile-current-road {
  padding: 18px;

  border-radius: 12px;
  background: #f4f7fb;
}

.main-new-mobile-current-road-title {
  margin: 0 0 14px;

  color: #1d1d1d;
  font-size: 17px;
  font-weight: 700;
}

.main-new-mobile-current-road-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.main-new-mobile-current-road-points {
  display: flex;
  align-items: center;
  gap: 6px;

  min-width: 0;

  color: #1d1d1d;
  font-size: 16px;
  font-weight: 600;
}

.main-new-mobile-current-road-points > span:first-child,
.main-new-mobile-current-road-points > span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 현재 고속도로 현황 - 방향 표시
 * 실제 신규 메인 방향 이미지 사용
 *
 * 주의: 파일명과 실제 방향 의미가 반대임
 * - 상행(.up)   -> flag-down.png
 * - 하행(.down) -> flag-up.png
 */
.main-new-mobile-direction-flag {
  display: inline-block;

  flex: 0 0 55px;

  width: 55px;
  height: 32px;
  padding: 0;

  border: 0;
  border-radius: 16px;

  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 22px 10px;

  box-sizing: border-box;

  /* 기존 상행/하행 텍스트는 화면에서 숨김 */
  color: transparent;
  font-size: 0;
  line-height: 0;

  overflow: hidden;
  white-space: nowrap;
}

/* 상행 = flag-down 이미지 */
.main-new-mobile-direction-flag.up {
  background-image: url("/static/images/flag-down.png");
}

/* 하행 = flag-up 이미지 */
.main-new-mobile-direction-flag.down {
  background-image: url("/static/images/flag-up.png");
}

/* 이전 CSS 화살표 제거 */
.main-new-mobile-direction-flag::before,
.main-new-mobile-direction-flag::after {
  content: none !important;
  display: none !important;
}

.main-new-mobile-current-distance {
  flex: 0 0 auto;

  margin: 0;

  color: #555;
  font-size: 14px;
}

.main-new-mobile-current-distance strong {
  margin-left: 4px;

  color: #1d1d1d;
  font-weight: 700;
}

.main-new-mobile-current-time {
  margin: 12px 0 0;

  color: #656c72;
  font-size: 13px;
  text-align: right;
}

/* 필터 섹션 */
.main-new-mobile-filter-section {
  padding-top: 24px;
}

.main-new-mobile-filter-section + .main-new-mobile-filter-section {
  margin-top: 24px;
  border-top: 1px solid #e6e8eb;
}

.main-new-mobile-filter-section-title {
  margin: 0 0 16px;

  color: #1e2124;
  font-size: 17px;
  font-weight: 700;
}

/* 고속도로 칩 */
.main-new-mobile-highway-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
}

.main-new-mobile-highway-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 40px;
  padding: 0 16px;

  border: 1px solid #c6c6c6;
  border-radius: 6px;

  background: #fff;

  color: #555;
  font-size: 15px;
}

.main-new-mobile-highway-chip.active {
  border-color: #246beb;
  background: #eff5ff;

  color: #1d56bc;
  font-weight: 600;
}

.main-new-mobile-highway-chip.active::before {
  content: "";

  width: 16px;
  height: 16px;
  margin-right: 4px;

  background:
    url(../../../images/kma/ops/icon-check.svg)
    no-repeat center center;
  background-size: 16px 16px;
}

/* 상행 / 하행 */
.main-new-mobile-direction-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;

  margin-bottom: 16px;
}

.main-new-mobile-direction-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 44px;

  border: 1px solid #c6c6c6;
  border-radius: 8px;

  background: #fff;

  color: #555;
  font-size: 15px;
  font-weight: 500;
}

.main-new-mobile-direction-btn.active {
  border-color: #246beb;
  background: #eff5ff;

  color: #1d56bc;
  font-weight: 700;
}

/* 구간목록 */
.main-new-mobile-conzone-wrap {
  position: relative;

  min-height: 150px;

  border: 1px solid #e6e8eb;
  border-radius: 10px;

  background: #fff;

  overflow: hidden;
}

.main-new-mobile-conzone-list {
  max-height: 260px;
  margin: 0;
  padding: 8px;

  overflow-y: auto;
}

.main-new-mobile-conzone-list li + li {
  margin-top: 6px;
}

.main-new-mobile-conzone-btn {
  display: flex;
  align-items: center;

  width: 100%;
  min-height: 44px;

  padding: 8px 14px;

  border: 0;
  border-radius: 22px;

  background: #fff;

  color: #1d1d1d;
  font-size: 15px;
  text-align: left;
}

.main-new-mobile-conzone-btn.active {
  background: #eff5ff;

  color: #1d56bc;
  font-weight: 700;
}

.main-new-mobile-conzone-btn.active::before {
  content: "";

  flex: 0 0 auto;

  width: 8px;
  height: 8px;

  margin-right: 8px;

  border-radius: 50%;
  background: #246beb;
}

.main-new-mobile-conzone-message {
  padding: 56px 16px;

  color: #656c72;
  font-size: 14px;
  text-align: center;
}

/* 하단 조회 영역 */
.main-new-mobile-search-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;

  padding:
    16px 20px
    calc(16px + env(safe-area-inset-bottom));

  border-top: 1px solid #e6e8eb;
  background: #fff;
}

.main-new-mobile-search-footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 48px;

  border-radius: 8px;

  font-size: 16px;
  font-weight: 700;
}

.main-new-mobile-search-footer-btn.secondary {
  border: 1px solid #c6c6c6;

  background: #fff;
  color: #1d1d1d;
}

.main-new-mobile-search-footer-btn.primary {
  border: 1px solid #246beb;

  background: #246beb;
  color: #fff;
}

.main-new-mobile-search-footer-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

/* 모바일 전용 팝업 */
@media all and (min-width: 768px) {
  .main-new-mobile-search-modal {
    display: none !important;
  }
}

/* ==================================================
 * 신규 모바일 검색 팝업 - 콘존 목록 스타일
 * 기존 브라우저 .road-scroll 콘존목록과 같은 시각 표현
 * ================================================== */

.main-new-mobile-conzone-wrap {
  position: relative;
  min-height: 150px;
  border: 0;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.main-new-mobile-conzone-list {
  position: relative;

  max-height: 280px;
  margin: 0;
  padding: 5px 8px 5px 14px;

  overflow-y: auto;
}

/* 세로 기준선 */
.main-new-mobile-conzone-list::before {
  content: "";

  position: absolute;
  top: 25px;
  left: 14px;

  width: 3px;
  height: calc(100% - 50px);

  background: #cdd7e4;
}

/* 콘존 한 줄 */
.main-new-mobile-conzone-list > li {
  position: relative;

  margin: 15px 4px 15px 0;
  padding-left: 0;
}

/* 기본 원 */
.main-new-mobile-conzone-list > li::before {
  content: "";

  position: absolute;
  top: 50%;
  left: -4px;

  width: 10px;
  height: 10px;

  background: #fff;
  border: 2px solid #cdd7e4;
  border-radius: 50%;

  transform: translateY(-50%);
  z-index: 3;
}

/* 다음 콘존까지 이어지는 위험색 선 */
.main-new-mobile-conzone-list > li::after {
  content: "";

  position: absolute;
  top: 74%;
  left: 0;

  width: 3px;
  height: 100%;

  z-index: 2;
}

.main-new-mobile-conzone-list > li.yellow::after {
  background: #fdef37;
}

.main-new-mobile-conzone-list > li.orange::after {
  background: #ff8c04;
}

.main-new-mobile-conzone-list > li.red::after {
  background: #eb003b;
}

.main-new-mobile-conzone-list > li.no-data::after {
  border-left: 1px solid #56606e;
  border-right: 1px solid #56606e;
  background: #8e9aa9;
}

/* 버튼 = 브라우저 road-list 모양 */
.main-new-mobile-conzone-btn {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  width: calc(100% - 2px);
  min-height: 45px;

  margin-left: 2px;
  padding: 0 15px 0 20px;

  border: 0;
  border-radius: 25px;

  background: transparent;

  color: #1d1d1d;
  font-size: 16px;
  font-weight: 600;
  text-align: left;

  box-sizing: border-box;
  cursor: pointer;

  z-index: 2;
}

.main-new-mobile-conzone-name {
  display: block;

  flex: 1 1 auto;
  min-width: 0;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 브라우저 콘존 목록의 위험 원 표현 */
.main-new-mobile-conzone-btn::before {
  content: "";

  position: absolute;
  left: -11px;
  top: 50%;

  width: 20px;
  height: 20px;

  border-radius: 50%;

  transform: translateY(-50%);
  z-index: 2;
}

.main-new-mobile-conzone-btn::after {
  content: "";

  position: absolute;
  left: -5px;
  top: 50%;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  transform: translateY(-50%);
  z-index: 3;
}

/* 주의 */
.main-new-mobile-conzone-btn.yellow::before {
  background: #fffcd9;
}

.main-new-mobile-conzone-btn.yellow::after {
  background: #fdef37;
}

/* 경고 */
.main-new-mobile-conzone-btn.orange::before {
  background: #ffe3c2;
}

.main-new-mobile-conzone-btn.orange::after {
  background: #ff8c04;
}

/* 위험 */
.main-new-mobile-conzone-btn.red::before {
  background: #fce0e7;
}

.main-new-mobile-conzone-btn.red::after {
  background: #eb003b;
}

/* 위험정보 없음 */
.main-new-mobile-conzone-btn.no-data::before {
  background: #cdd7e4;
}

.main-new-mobile-conzone-btn.no-data::after {
  background: #56606e;
}

/*
 * 브라우저 콘존목록과 동일:
 * 평상시에는 위험색 원/선만 보이고,
 * 선택된 콘존만 단계별 연한 배경을 표시한다.
 */
.main-new-mobile-conzone-btn.active.yellow {
  background: #fffcf6;
}

.main-new-mobile-conzone-btn.active.orange {
  background: #fff7f6;
}

.main-new-mobile-conzone-btn.active.red {
  background: #fffafb;
}

.main-new-mobile-conzone-btn.active.no-data {
  background: #f8f8f8;
}

/* 선택 상태는 별도 파란 테두리를 만들지 않고 기존 콘존목록처럼 배경으로만 표시 */
.main-new-mobile-conzone-btn.active {
  box-shadow: none;
  outline: none;
}

/* 스크롤바 */
.main-new-mobile-conzone-list::-webkit-scrollbar {
  width: 8px;
}

.main-new-mobile-conzone-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border: 2px solid #f8f8f8;
  border-radius: 4px;
}

.main-new-mobile-conzone-list::-webkit-scrollbar-track {
  background: #f8f8f8;
  border-radius: 4px;
}

/* ==================================================
 * 신규 모바일 검색 팝업 - 고속도로 목록 접기/펼치기
 * 기본 상태는 첫 번째 줄만 표시
 * ================================================== */

.main-new-mobile-filter-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 16px;
}

/* 기존 제목의 margin-bottom은 head가 담당 */
.main-new-mobile-filter-section-head
.main-new-mobile-filter-section-title {
  margin: 0;
}

.main-new-mobile-highway-toggle {
  position: relative;

  flex: 0 0 auto;

  width: 32px;
  height: 32px;

  margin-left: 8px;

  border: 0;
  border-radius: 50%;

  background: #fff;

  cursor: pointer;
}

/* 위/아래 화살표 */
.main-new-mobile-highway-toggle::before,
.main-new-mobile-highway-toggle::after {
  content: "";

  position: absolute;
  top: 15px;

  width: 8px;
  height: 2px;

  border-radius: 2px;
  background: #1d56bc;

  transition: transform 0.2s ease;
}

.main-new-mobile-highway-toggle::before {
  left: 9px;
  transform: rotate(45deg);
}

.main-new-mobile-highway-toggle::after {
  right: 9px;
  transform: rotate(-45deg);
}

/* 펼쳐진 상태에서는 위쪽 화살표 */
.main-new-mobile-highway-toggle.is-expanded::before {
  transform: rotate(-45deg);
}

.main-new-mobile-highway-toggle.is-expanded::after {
  transform: rotate(45deg);
}

.main-new-mobile-highway-chip-list {
  transition: max-height 0.25s ease;
}

/*
 * 칩 높이 40px 기준:
 * 접힘 상태에서는 첫 줄만 표시
 */
.main-new-mobile-highway-chip-list.is-collapsed {
  max-height: 40px;
  overflow: hidden;
}

/* 전체 펼침 */
.main-new-mobile-highway-chip-list.is-expanded {
  max-height: 500px;
  overflow: visible;
}

/* =========================================
 * 신규 메인 모바일 footer 왼쪽 정렬
 * ========================================= */
@media all and (max-width: 767px) {

  /* footer 전체 컨텐츠 왼쪽 정렬 */
  #krds-footer .f-cnt {
    width: 100%;
    align-items: flex-start !important;
  }

  /* 기상청 로고 */
  #krds-footer .f-logo {
    align-self: flex-start !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    background-position: left center !important;
  }

  /* 주소/문구 영역 */
  #krds-footer .f-cnt .f-info {
    width: 100%;
    align-self: flex-start !important;
  }

  /* WA / OPEN 등 하단 인증마크 */
  #krds-footer .link-mark {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    align-self: flex-start !important;

    width: 100%;

    margin-left: 0 !important;
    margin-right: 0 !important;

    text-align: left !important;
  }

  #krds-footer .link-mark a {
    margin-left: 0 !important;
  }
}
/* ===== 신규 메인 공지 팝업 위치 =====
   팝업 오른쪽 끝을 콘텐츠 영역(1280px) 우측선에 맞추고 화면 최상단에 붙인다.
   콘텐츠는 가운데 정렬이므로 뷰포트 우측 여백은 (100% - 1280px) / 2 이다.
   해상도가 1280px 보다 좁으면 음수가 되어 화면 밖으로 나가므로 0 으로 막는다.
   --notice-pop-offset 은 공지가 여러 개일 때 겹치지 않도록 왼쪽으로 밀어 주는 값이다.
   notice-pop-content-right 클래스가 붙은 신규 메인 팝업에만 적용된다.
   (이 CSS 는 기존 메인에도 로드되므로 클래스로 범위를 한정한다) */
/* section 에 인라인으로 width:fit-content 가 걸려 있어 퍼센트 기준이
   팝업 폭(560px)이 되어 버린다. 위치 계산 기준을 화면 전체로 되돌린다. */
.notice-pop-content-right {
  width: 100% !important;
}
.notice-pop-content-right .modal-dialog {
  position: absolute;
  top: 0;
  left: auto;
  right: calc(max(0px, (100% - 1280px) / 2) + var(--notice-pop-offset, 0px));
  margin: 0;
  /* modal-dialog 는 display:flex; align-items:center; height:100% 라
     팝업 본문(.modal-content)이 세로 가운데에 놓인다.
     윗면을 화면 최상단에 붙이기 위해 위쪽 정렬로 바꾸고 높이를 내용에 맞춘다. */
  align-items: flex-start;
  height: auto;
  min-height: 0;
}
