xmp,pre{
    max-width: 100%;
    white-space: pre-wrap;
    font-weight: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}

textarea{
    font-weight: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}
.layered-popup {
    display:none;
    position: absolute;
    width:500px;
    z-index: 8;
    top:70px;
    font-size:20px;
    padding-left:5px;
    padding-right:5px;
}
.popup-wrap {
    position: absolute;
    width: 100%;
    text-align: center;
}
.popup-inner{
    position: relative;
    width: 1460px;
    display: inline-block;
}
.layered-popup img {
    width: 100%;
    border: 1px solid black;
    /*float: left;*/
    /*height: 340px;*/
}
.layered-popup .button_area{
    text-align: center;
}
.layered-popup .button_area .button{
    background-color: var(--blue);
    color: white;
    display: inline-block;
    width: 50%;
    float: left;
    font-size: 13px;
    padding: 8px 12px;
    cursor: pointer;
}
.layered-popup .button_area .button:nth-child(1){
    border-right: 1px solid black;
}
.text-tiny{
    font-size: 0.7em !important;
}
.text-small{
    font-size: 0.85em !important;
}
.text-big{
    font-size: 1.4em !important;
}
.text-huge{
    font-size: 1.8em !important;
}
.board_noti li a{
    position: relative;
}
.board_noti li a .board-delete-btn{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: red;
}
.main_video_slide .slick-arrow{
    display: none !important;
}
@media only screen and (max-width: 1024px){
    .layered-popup{
        left: unset !important;
        right: 50px !important;
        top: 80px !important;
    }
    .popup-wrap{
        width: 100%;
    }
    .popup-inner{
        width: 100%;
    }
    .pop-img-wrap{
        height: 200px;
    }
}

@media only screen and (max-width: 768px){
    .layered-popup{
        left:0px!important;
        top:66px!important;
        width: 100% !important;
        padding:0px!important;
    }
    .layered-popup img{
        width: 100%;
        /*height: 100vw;*/
    }
}
/* 응원게시판 리스트: 메시지는 한 줄만(말줄임) 노출하고, 전체 내용은 항목 클릭 시 모달로 확인 */
.board_noti.support_noti li a.support_item{
    cursor: pointer;
}
.board_noti.support_noti li a .cont{
    min-width: 0;
}
.board_noti.support_noti li a .tit{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.board_noti.support_noti li a .tit .msg{
    font-weight: inherit;
}

/* 응원게시판 상세 모달 — 응원 메시지 카드 디자인 (삭제 모달과 동일한 dim/z-index 체계 사용) */
.support_modal{
    display: none;
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-46%) scale(.98);
    width: 90%;
    max-width: 460px;
    background: #FFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(191,0,0,.20), 0 6px 18px rgba(0,0,0,.12);
    z-index: 9999;
    transition: opacity .25s ease, transform .25s ease;
}
.support_modal.show{
    display: block;
}
.support_modal.active{
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
}
.support_modal_inner{
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    box-sizing: border-box;
}
/* 상단 그라데이션 헤더 + 배지 */
.support_modal_head{
    flex: 0 0 auto;
    padding: 22px 24px 20px;
    text-align: center;
    background: linear-gradient(115deg, #BF0000, #FB9292);
}
.support_modal_badge{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255,255,255,.22);
    border-radius: 999px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
}
/* 응원메시지 카드(스크롤 영역) */
.support_modal_card{
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    margin: 20px;
    padding: 26px 22px 20px;
    background: var(--light-red, #fff4f4);
    border: 1px solid #ffdede;
    border-radius: 14px;
}
.support_modal_quote{
    position: absolute;
    top: 4px;
    left: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 60px;
    line-height: 1;
    font-weight: 700;
    color: rgba(191,0,0,.16);
    pointer-events: none;
}
.support_modal_body{
    position: relative;
    padding-top: 12px;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    line-height: 1.75;
    font-size: 17px;
    color: #333;
    text-align: center;
}
/* 작성자 서명 */
.support_modal_sign{
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed #f0c4c4;
    text-align: right;
}
.support_modal_sign .writer{
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: var(--black, #000);
}
.support_modal_sign .writer:not(:empty)::before{
    content: "— ";
}
.support_modal_sign .date{
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #a58a8a;
}
.support_modal .btn_area{
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0 20px 22px;
}
.support_modal .btn_area > *{
    min-width: 96px;
    /* 사이트 버튼이 display:flex 라 min-width로 넓어지면 텍스트가 왼쪽으로 몰림 → 가운데 정렬 */
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 응원게시판 SNS 참여 이벤트(배너+SNS버튼+카카오폼) 접기/펼치기 */
.support_sns_toggle{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 18px;
    background: var(--red, #bf0000);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-sizing: border-box;
    margin-bottom: 12px;
}
.support_sns_toggle_icon{
    width: 9px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    /* 펼침 상태: 위쪽 화살표(^) = 클릭 시 접힘 */
    transform: rotate(-135deg);
    transition: transform .3s ease;
    flex: 0 0 auto;
    margin-top: 3px;
}
.support_sns_area.is-collapsed .support_sns_toggle_icon{
    /* 접힘 상태: 아래쪽 화살표(v) = 클릭 시 펼침 */
    transform: rotate(45deg);
    margin-top: -3px;
}
/* grid-template-rows 1fr↔0fr 로 높이 애니메이션(내부 요소 overflow:hidden 필요) */
.support_sns_collapse{
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows .35s ease;
}
.support_sns_area.is-collapsed .support_sns_collapse{
    grid-template-rows: 0fr;
}
.support_sns_collapse_inner{
    min-height: 0;
    overflow: hidden;
}
