/* BASIC css start */
#specialEvt { background: #fff }
/*
#specialEvt .cont-pop .cont { padding:10px; min-height:375px; min-height:379px;position: relative; }
#specialEvt .cont-pop .cont img { width:100% }
*/
#specialEvt .cont-pop .cont { padding:0; min-height:0; position:relative;} /* 이미지 주변 10px 여백 제거 */
#specialEvt .cont-pop .cont img {display:block; width:100%; height:auto;} /* 팝업 너비에 맞추고 이미지 아래쪽의 기본 틈 제거 */

#specialEvt .close-wrap { position: relative; padding:5px 0; height:15px; color:#fff; background:#000 }
#specialEvt .close-wrap .close { position: relative; width:295px; margin-top:2px; margin-left: auto; margin-right: auto; text-align: left; }
#specialEvt .close-wrap .close form { *margin-left:-13px }
#specialEvt .close-wrap .close label { vertical-align:bottom; line-height:14px }
#specialEvt .close-wrap .close input { margin-top:-3px; vertical-align:middle }
#specialEvt .close-wrap .close .btn-close { padding:1px 4px 0; line-height:12px; position: absolute; right: 0px; top:0; *top:1px; font-size:11px; background:#fff }
#specialEvt .closedEvt {
    position: absolute;
    top: 15px;
    right: 15px;
}


/* 팝업 하단 클로즈 버튼 영역 정렬 조정 */
#specialEvt .close-wrap {height: auto; padding: 7px 0;}
#specialEvt .close-wrap .close {margin-top: 0; width: fit-content;}
#specialEvt .close-wrap .close label {line-height: 0; vertical-align: middle;}
#specialEvt .close-wrap .close .btn-close {position: static; display: inline-block; vertical-align: middle; margin-top: -3px;}












/* 700px 너비는 유지하고, 이미지 + 하단 닫기 영역에 맞춰 높이 조정 */
#MAKESHOPLY0 {
    height: auto !important;
    overflow: hidden !important;
}

/* 내부 영역도 내용에 맞춰 높이 조정 */
#MAKESHOPLY0 > .event_inner {
    height: auto !important;
}







/* 닫기 버튼: 짙은 반투명 원형 배경 */
#specialEvt .closedEvt {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    box-shadow: none;
    cursor: pointer;
}

/* 흰색 X: 과하게 굵지 않게 표시 */
#specialEvt .closedEvt svg {
    display: block;
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 1.8;
}

/* 마우스를 올리면 배경을 더 진하게 */
#specialEvt .closedEvt:hover {
    background: rgba(0, 0, 0, 0.85);
}

/* 키보드로 선택할 때 위치 표시 */
#specialEvt .closedEvt:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* BASIC css end */

