/* 보내지 않을 말 - list_thread 원형을 유지하고 빠른 입력부만 추가 */
#bsk_list_wrap.bsk_thread .unsent_compose {
    margin: 20px 0 0 0;
    padding: 20px;
    background:
        linear-gradient(rgba(255,255,255,.0), rgba(255,255,255,.70)),
        url('./img/unsent.png') center center / cover no-repeat;
    border-radius: 14px;
}

#bsk_list_wrap.bsk_thread .unsent_compose_head h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
    color: #fff;
}

#bsk_list_wrap.bsk_thread .unsent_compose_head p {
    margin: 5px 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
}

#bsk_list_wrap.bsk_thread #unsent_quick_content {
    display: block;
    width: 100%;
    min-height: 112px;
    resize: vertical;
    padding: 14px 15px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 10px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 14px;
    line-height: 1.65;
    outline: none;
    box-sizing: border-box;
}

#bsk_list_wrap.bsk_thread #unsent_quick_content:focus {
    border-color: rgba(0,0,0,.28);
}

#bsk_list_wrap.bsk_thread .unsent_compose_foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 9px;
}

#bsk_list_wrap.bsk_thread .unsent_count {
    font-size: 12px;
    color: #fff;
    font-weight: 800;
}

#bsk_list_wrap.bsk_thread .unsent_count strong {
    font-weight: 400;
}

#bsk_list_wrap.bsk_thread .unsent_submit {
    min-width: 150px;
    justify-content: center;
    cursor: pointer;
    padding:10px 0;
}

#bsk_list_wrap.bsk_thread .unsent_submit:disabled {
    opacity: .6;
    cursor: default;
}

/* 비회원일 때만 보임: 이름은 '익명' 고정, 삭제 비밀번호 + 그누보드 기본 캡챠 */
#bsk_list_wrap.bsk_thread .unsent_guest_row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.06);
}

#bsk_list_wrap.bsk_thread .unsent_guest_password {
    width: 180px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 9px;
    background: #fff;
    font-size: 13px;
    box-sizing: border-box;
}

#bsk_list_wrap.bsk_thread .unsent_captcha {
    min-width: 0;
}

/* 캡챠의 기본 폭이 너무 넓을 때만 자연스럽게 줄어들게 함 */
#bsk_list_wrap.bsk_thread .unsent_captcha img {
    max-width: 100%;
    height: auto;
}
/* 비회원 캡차 높이 균형 */
#bsk_list_wrap.bsk_thread .unsent_captcha #captcha {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

#bsk_list_wrap.bsk_thread .unsent_captcha #captcha_info {
    display: inline-block;
    margin: 0 0 0 8px !important;
    width: auto !important;
    line-height: 1.4;
    white-space: nowrap;
}
/* unsent 목록 메타/제목 간격 최종 정리 */
#bsk_list_wrap.bsk_thread .th_head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 7px;
    line-height: 1.25;
}

#bsk_list_wrap.bsk_thread .th_name,
#bsk_list_wrap.bsk_thread .th_time {
    margin: 0;
}

#bsk_list_wrap.bsk_thread .th_time {
    color: #7f8793;
}

#bsk_list_wrap.bsk_thread .th_inline_good {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.25;
    color: #8793a3;
    text-decoration: none;
    white-space: nowrap;
}

#bsk_list_wrap.bsk_thread .th_inline_good strong {
    font-weight: 400;
    line-height: 1;
}

#bsk_list_wrap.bsk_thread .th_inline_good:hover,
#bsk_list_wrap.bsk_thread .th_inline_good.is_voted {
    color: var(--portal-primary);
}

#bsk_list_wrap.bsk_thread .unsent_delete {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.25;
    color: #8793a3;
    text-decoration: none;
    white-space: nowrap;
}

#bsk_list_wrap.bsk_thread .unsent_delete:hover {
    color: #333;
}

#bsk_list_wrap.bsk_thread .th_titrow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    line-height: 1.45;
}

#bsk_list_wrap.bsk_thread .bsk_list_tit.th_tit {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 4px;
}

#bsk_list_wrap.bsk_thread .unsent_msg {
    display: inline-block;
    min-width: 0;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

#bsk_list_wrap.bsk_thread .bsk_badge_new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    line-height: 18px;
    padding: 0 6px;
    margin: 0;
    transform: translateY(1px);
}
@media (max-width: 800px) {
    #bsk_list_wrap.bsk_thread .unsent_captcha #captcha_info {
        flex-basis: 100%;
        margin: 5px 0 0 !important;
        white-space: normal;
    }
}

@media (max-width: 600px) {
    #bsk_list_wrap.bsk_thread .unsent_compose {
        margin-bottom: 12px;
        padding: 15px;
        border-radius: 12px;
    }

    #bsk_list_wrap.bsk_thread .unsent_compose_head h3 {
        font-size: 18px;
    }

    #bsk_list_wrap.bsk_thread .unsent_compose_head p {
        margin-bottom: 11px;
        font-size: 12px;
    }

    #bsk_list_wrap.bsk_thread #unsent_quick_content {
        min-height: 96px;
        padding: 12px 13px;
        font-size: 14px;
    }

    #bsk_list_wrap.bsk_thread .unsent_guest_row {
        display: block;
    }

    #bsk_list_wrap.bsk_thread .unsent_guest_password {
        width: 100%;
        margin-bottom: 10px;
    }

    #bsk_list_wrap.bsk_thread .unsent_compose_foot {
        flex-wrap: wrap;
        gap: 8px;
    }

    #bsk_list_wrap.bsk_thread .unsent_count {
        width: 100%;
        text-align: right;
        font-weight: 800;
    }

    #bsk_list_wrap.bsk_thread .unsent_submit {
        width: 100%;
        min-width: 0;
        padding:14px 0;
        margin: 10px 0;
    }
}
