#map {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Pretendard', 'Pretendard Variable', sans-serif;
    font-weight: normal;
    /*overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;*/
    letter-spacing: normal;
    line-height: 1;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    word-break: break-all;
    word-wrap: break-word;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    word-break: keep-all;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden
}

html {
    overflow-y: scroll
}

body {
    font-size: 13px;
    color: #333;
    -webkit-text-size-adjust: none
}

body,
html {
    height: 100%
}

a,
a:active,
a:hover,
a:link,
a:visited {
    color: inherit;
    text-decoration: none
}

ol,
ul {
    list-style: none
}

a,
fieldset,
img,
table {
    border: 0
}

p {
    word-break: keep-all
}

select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    border: none;
}

select::-ms-expand {
    display: none;
}

select {
    vertical-align: middle;
    padding-left: 10px;
    border: none;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    -moz-appearance: none;
    appearance: none;
}

.sound_only {
    display: inline-block !important;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0;
    line-height: 0;
    border: 0 !important;
    overflow: hidden !important;
}

.ico {
    display: inline-block;
    vertical-align: top;
}

.ico img {
    width: 30px
}

.blind,
legend {
    display: block;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: -9999em;
}

.wrap {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 217px;
    height: 231px;
    margin-left: -110px;
    text-align: left;
    overflow: hidden;
    font-size: 12px;
    font-family: 'Malgun Gothic', dotum, '돋움', sans-serif;
    line-height: 1.5;
}

.wrap * {
    padding: 0;
    margin: 0;
}

.wrap .info {
    width: 217px;
    height: 220px;
    border-radius: 5px;
    border-bottom: 2px solid #ccc;
    border-right: 1px solid #ccc;
    overflow: hidden;
    background: #fff;
}

.wrap .info:nth-child(1) {
    border: 0;
    box-shadow: 0px 1px 2px #888;
}

.info .title {
    padding: 5px 0 0 10px;
    height: 30px;
    background: #eee;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    font-weight: bold;
}

.info .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #888;
    width: 17px;
    height: 17px;
    background: url('https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/overlay_close.png');
}

.info .close:hover {
    cursor: pointer;
}

.info .body {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%
}

.info .img {
    height: 184px
}

.info .img img {
    max-width: 100%;
    height: 100%
}

.info:after {
    content: '';
    position: absolute;
    margin-left: -12px;
    left: 50%;
    bottom: 0;
    width: 22px;
    height: 12px;
    background: url('https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/vertex_white.png')
}

.info .link {
    color: #5085BB;
}

button {
    border: 0;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    text-transform: inherit;
}

/*+,- 버튼*/
.btn_box {
    position: absolute;
    right: 16px;
    top: 60px;
    z-index: 999999;
    font-size: 0;
}

.btn_box button {
    display: block;
}

.btn_box button.zoomin_btn {
    margin-bottom: 10px;
    width: 46px;
    height: 46px;
    background: url("/static/img/icon/ico_plus.53cc8caaeb6e.svg") no-repeat rgba(0, 0, 0, .3) 50%/50% auto;
    border-radius: 50%;
}

.btn_box button.zoomout_btn {
    margin-bottom: 10px;
    width: 46px;
    height: 46px;
    background: url("/static/img/icon/ico_minus.33d446d81cc0.svg") no-repeat rgba(0, 0, 0, .3) 50%/50% auto;
    border-radius: 50%;
}

.btn_box button.satellite_btn {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
}

button.satellite_btn.active {
    background-color: #2866cc;
    color: #fff;
    border-color: #2866cc;
    box-shadow: 0 3px 10px rgba(40, 102, 204, 0.3);
}

.btn_box button.terrain_btn {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
}

button.terrain_btn.active {
    background-color: #2866cc;
    color: #fff;
    border-color: #2866cc;
    box-shadow: 0 3px 10px rgba(40, 102, 204, 0.3);
}

.map_box {
    position: absolute;
    width: 100vw;
    top: 0;
    left: 50%;
    margin-left: -50vw;
    height: calc(100vh - 165px);
}

#infoList {
    position: fixed;
    bottom: 0px;
    right: 0px;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column-reverse;
    max-height: 100vh;
    overflow: hidden;
}

#infoList button {
    all:unset;
    cursor: pointer;
    background: #2866cc;
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#infoList ul {
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    overflow-y: scroll;
    background: #fff;
    margin: 0
}

#infoList ul li {
    font-size: 15px;
    color: #212121;
    padding: 10px 0;
}

#infoList ul li+li {
    border-top: 1px solid #e4e4e4;
}

#infoList ul li span {
    vertical-align: middle;
    margin-right: 17px;
}

#infoList ul li span img {
    width: 25px
}




.info-container {
    position: fixed;
    bottom: 0em;
    left: 0px;
    z-index: 999;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    pointer-events: none;
}

.info-container * {
    pointer-events: all;
}


#infoList2{
    position:fixed;
    top:0px;
    left:0px;
    z-index: 10;
    width:100%;
    max-width:720px;
    margin:0 auto;
    /* background:#fff; */
    /* border:1px solid #e5e7eb; */
    /* border-radius:16px; */
    /* box-shadow:0 6px 24px rgba(0,0,0,.06); */
    overflow:hidden;
  }

#infoList2 button {
    all:unset;
    background: #122443;
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    cursor:pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#infoList2 ul {
    /* width: 100%; */
    width: 100%;
    box-sizing: border-box;
    padding: 0 96px 0px 16px;
    /* overflow-y: scroll; */
    /* background: #fff; */
    flex-wrap: wrap; /* 💡 핵심! 한 줄 다 차면 자동으로 다음 줄로 */
    gap: 10px;       /* 아이템 간 간격 */
    margin: 0
}

#infoList2 ul li {
    /* padding : 16px 8px; */
    background-color: #fff;
    border-radius: 12px;
    font-size: 14px;
    color: #212121;
    padding: 8px 8px;
    box-shadow:0 2px 4px rgba(0,0,0,.2);
    border : 2px solid transparent;
    
}

#infoList2 ul li+li {
    
    /* border-top: 1px solid #e4e4e4; */
}

/* #infoList2 ul li span {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-right: 37px;
} */

.color-circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
    position: relative;
    vertical-align: middle;
    top: -1px;
}

#infoList2 ul li span img {
    width: 25px
}

.course_btn {
    cursor: pointer
}

#infoList2 ul li {
    color: #9b9b9b
}

#infoList2 ul li.on {
    color: #000 !important;
    font-weight: 600;
    border : 2px solid #2866cc;
}

.label {
    width: 200px;
    height: 24px;
    ;
}

.label * {
    display: inline-block;
    vertical-align: top;
}

.label .left {
    background: url("https://t1.daumcdn.net/localimg/localimages/07/2011/map/storeview/tip_l.png") no-repeat;
    display: inline-block;
    height: 24px;
    overflow: hidden;
    vertical-align: top;
    width: 7px;
}

.label .center {
    background: url(https://t1.daumcdn.net/localimg/localimages/07/2011/map/storeview/tip_bg.png) repeat-x;
    display: inline-block;
    height: 24px;
    font-size: 14px;
    line-height: 24px;
}

.label .right {
    background: url("https://t1.daumcdn.net/localimg/localimages/07/2011/map/storeview/tip_r.png") -1px 0 no-repeat;
    display: inline-block;
    height: 24px;
    overflow: hidden;
    width: 6px;
}

.tabs {
    display: flex;
    padding: 8px 16px;
    gap: 12px;
    overflow: auto;
}

.tab {
    width: fit-content;
    padding : 8px 8px;
    text-align: center;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px;
    box-shadow:0 2px 4px rgba(0,0,0,.2);
}

.tab.active {
    background-color: #2866cc;
    color: white;
}

.course_list {
    display: none;
    /* 기본적으로 숨김 처리 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.course_list.active {
    display: flex;
    /* 활성화된 리스트만 표시 */
}

.toggle-button:after {
    content : "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff; /* 위쪽에만 색상을 주어 아래 화살표 형태 */
    transition: transform 0.3s ease;
}

.toggle-button.reversed:after{
    transform: rotate(180deg);
}

.toggle-button.open:after {
    transform: rotate(180deg);
}

.toggle-button.reversed.open:after{
    transform: rotate(0deg);
}

.toggle-button ~ .toggle-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.toggle-button.open ~ .toggle-content {
    height: fit-content;
    opacity: 1;
    max-height: none;
}

/* 코스 정보 박스 (좌하단) */
#courseInfoBox {
    position: fixed;
    bottom: 20px;
    left: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 8px;
    z-index: 999;
    max-width: 400px;
    pointer-events: none;
}


.course-info-details {
    font-size: 14px;
    color: #000;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-info-details > div:before {
    content: "• ";
    font-weight: bold;
}