/* -------------------------------------------------------------
   PC 뷰 (.comtList) 대댓글 최소 스타일 (기존 원본 스타일 100% 유지)
   ------------------------------------------------------------- */
.comtList ul li.is-reply {
    margin-left: 35px; /* 대댓글 들여쓰기 */
    background-color: #fafafa;
    border-left: 3px solid #d90000;
    padding-left: 14px;
}
.comtList ul li.is-reply .is-reply-mark {
    color: #d90000;
    font-weight: bold;
    margin-right: 4px;
}
.pc-comt-btn-wrap {
    font-size: 12px;
}
.pc-reply-link {
    color: #666;
    margin-right: 10px;
    text-decoration: none;
}
.pc-reply-link:hover {
    color: #d90000;
}
.pc-del-link {
    color: #999;
    text-decoration: none;
}
.pc-del-link:hover {
    color: #d90000;
    text-decoration: underline;
}

/* -------------------------------------------------------------
   모바일 뷰 & 공용 작성/삭제 레이어 스타일
   ------------------------------------------------------------- */
.comment-reply-btn-wrap { margin-top: 6px; }
.comment-reply-link {
    display: inline-block;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    padding: 2px 8px;
    background-color: #f3f3f3;
    border-radius: 3px;
    text-decoration: none;
}
.comment-reply-link:hover, .comment-reply-link.on {
    background-color: #d90000;
    color: #fff !important;
}

.comment-reply-layer {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 12px;
    margin-top: 8px;
    box-sizing: border-box;
}
.reply-header {
    font-size: 12px;
    color: #d90000;
    font-weight: bold;
    margin-bottom: 8px;
}
.reply-guest-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    width: 100%;
}
.reply-input {
    flex: 1;
    width: 50%;
    height: 34px;
    padding: 6px 10px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    font-size: 13px;
    background-color: #ffffff;
    box-sizing: border-box;
    outline: none;
    color: #333;
}
.reply-input:focus { border-color: #d90000; }
.reply-textarea {
    width: 100% !important;
    height: 65px !important;
    padding: 8px 10px !important;
    border: 1px solid #d5d5d5 !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
    resize: none !important;
    outline: none !important;
    margin-bottom: 6px !important;
    font-family: inherit !important;
}
.reply-textarea:focus { border-color: #d90000 !important; }
.reply-btn-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    align-items: center;
}
.reply-cancel-btn {
    display: inline-block;
    padding: 6px 14px;
    color: #555;
    font-size: 12px;
    background: #e8e8e8;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}
.reply-submit-btn {
    padding: 6px 16px !important;
    font-size: 12px !important;
    border-radius: 4px !important;
}

.reply-list-wrap { margin-top: 6px; }
.comment-item.is-reply {
    margin-top: 8px;
    margin-left: 20px;
    background: #fbfbfb;
    border-left: 2px solid #d90000;
    border-radius: 4px;
    padding: 8px 12px;
}
.comment-del-link {
    font-size: 11px;
    color: #999;
    padding: 2px 5px;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
}
.comment-del-link:hover { color: #d90000; text-decoration: underline; }

/* 삭제 팝업 모달 스타일 */
#guest_del_box {
    position: fixed;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guest_del_inner {
    background: #ffffff;
    width: 90%;
    max-width: 320px;
    margin: 0 auto;
    padding: 22px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    box-sizing: border-box;
}
.guest_del_inner h5 {
    font-size: 16px; font-weight: bold; margin-bottom: 8px; color: #111;
}
.guest_del_inner p {
    font-size: 13px; color: #666; line-height: 1.4; margin-bottom: 14px;
}
.guest_del_inner .closeBtn {
    position: absolute; right: 14px; top: 14px; background: none; border: none; font-size: 16px; color: #999; cursor: pointer;
}
.guestdelPass {
    width: 100%; height: 38px; padding: 8px 10px; border: 1px solid #d5d5d5; border-radius: 4px; font-size: 13px; box-sizing: border-box; margin-bottom: 14px; outline: none;
}
.guestdelPass:focus { border-color: #d90000; }
.guest_del_btns { display: flex; gap: 8px; }
.guest_del_btns button {
    flex: 1; height: 38px; border: none; border-radius: 4px; font-size: 13px; font-weight: bold; cursor: pointer;
}
.guest_del_btns .del_cancel_btn { background: #eee; color: #666; }
.guest_del_btns .submitBtn { background: #d90000; color: #fff; }
