@charset "utf-8";

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraLight.woff') format('woff');
    font-weight: 200;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
    font-weight: 300;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff') format('woff');
    font-weight: 500;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
    font-weight: 600;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
    font-weight: 700;
}


/* Base theme mapping */
body {
    font-family: var(--content-font-family);
    font-size: var(--content-font-size);
    color: var(--content-font-color);
    line-height: 1.5;
}

.board-skin-basic {max-width:900px; margin: 40px auto;}
.board-skin-basic:has(.type_list) {max-width: 900px;}

.theme-box {
    background: var(--container-bg-color);
    border: 1px solid var(--container-border-color);}

.thread_wrap .thread-box {
    background: var(--container-bg-color);
    border: 1px solid var(--container-border-color);
    border-radius: var(--container-border-radius);
}
.thread_title strong {
    font-size: 16px;
    color: var(--title-font-color);
}
.frm_input,
textarea,
select {
    background: var(--form-bg-color);
    border: 1px solid var(--form-border-color);
    border-radius: var(--form-border-radius);
    color: var(--form-text-color);
}
/* 버튼 영역 */
.btn_confirm {
    margin-top: 0; 
    padding-top: 5px;
}
.btn_submit,
.ui-btn,
.ui-btn.point {
    display: inline-flex;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-radius: var(--btn-primary-radius);
}

.btn_cancel,
.ui-btn.admin {
    background: var(--btn-accent-bg);
    color: var(--btn-accent-text);
    border-radius: var(--btn-accent-radius);
}

.thread_notice {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.thread_cate {
    background: var(--primary-color);
    color: var(--accent-color);
}

.board-notice   { width: 264px; padding: 10px; margin: 0 auto; text-align: center; box-sizing: border-box; font-family: var(--thread-font);}

.bo_fx {position:relative;padding: 10px 0; display: flex; align-items: center; justify-content: flex-start; gap: 8px;}
.bo_fx .chk_all{ position:static; margin: 0;}

@media all and (max-width: 640px) {
#bo_v_con * {max-width:100%;}

    .bo_fx  {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 20px 10px !important;
    }
}

.board-write    {
    background:var(--card-bg-color);
    border-radius: var(--btn-accent-radius);
    margin: 50px auto;
    padding: 20px;
}

.board-write h3 {
    font-size: 26px;
    text-align: center;
    padding: 30px 0 20px;
} 
.board-write .write-notice  {
    display: none;

}
.board-write > dl {position:relative;}
.board-write > dl > dt { width:70px;position:absolute;line-height:32px;text-align:center; }
.board-write > dl > dd { width:100%;margin-left:0;padding-left:70px;box-sizing:border-box;line-height:32px;}
.board-write input.frm_input.full   { width: 100%; display:block;margin:5px 0;}

#bo_v_bot   { padding: 20px 0; overflow: hidden; border: none !important;}
.bo_v_nb    { float: left; }
.bo_v_com   {display: flex;float: right;gap: 6px;}

#navi_category { text-align: center; padding: 20px 0; }
#navi_category li { display: inline-block; padding: 0 20px; }

.bo_sch_wrap {display: flex; align-items: center; justify-content: space-between; gap: 10px;}
#bo_sch {margin: 0; text-align: left; flex: 1;}
.bo_sch_admin {flex: 0 0 auto;}

.txt-point,
.thread_admin a {color:var(--accent-color) !important}
.theme-box .ui-btn.point {background: var(--btn-primary-bg); color:var(--btn-primary-text); padding: 5px 10px;margin: 3px auto;}
.thread_admin a {margin-left: 5px;}
.frm_info {line-height: 1.4;font-size: 13px;}

.td_chk {position: absolute; top: 5px; right: 5px; z-index: 1;}




/* 타래 작성 영역 */
.thread_btn {margin-bottom: 20px; display: flex; justify-content: flex-end;}
.thread_write {display: none;}

#preview {display: flex;gap: 10px;}
.preview-container {position: relative;display: inline-block;}
.preview-img {width: 100px;height: 100px;object-fit: cover;border: 1px solid #ddd;}
.remove-btn {position: absolute;top: 5px;right: 5px;background: red;color: white;border: none;border-radius: 50%;width: 20px;height: 20px;text-align: center;line-height: 20px;cursor: pointer;font-size: 14px;}
#upload-btn {font-size: 20px;}
.content-tools {display: flex;margin-bottom: 3px;flex-direction: row-reverse;}
.txtggu-btn {border: 1px solid var(--btn-primary-text);background: var(--btn-primary-bg);color: var(--btn-primary-text);font-size: 12px;padding: 5px 9px;border-radius: 6px;cursor: pointer;}
.txtggu-btn:hover {border: 1px solid var(--btn-primary-bg);background: var(--btn-primary-text);color: var(--btn-primary-bg);font-size: 12px;padding: 5px 9px;border-radius: 6px;cursor: pointer;}
.board-write .btn_confirm {text-align: right;}
#wr_content::-webkit-scrollbar {display: none;}
.preview-container {margin-bottom: 10px;}

/* 공지, 분류 */
.thread_cate {display: inline-block; margin-bottom: 5px; background: var(--secondary-color); border-radius: 5px; padding: 5px 10px; color: #fff;}
.thread_notice {display: inline-block; margin-bottom: 5px; font-weight: bold; border-radius: 5px; padding: 4px 9px; border: 1px solid var(--secondary-color); color: var(--secondary-color); margin-right: 5px;}

/* 타래 영역 */
.thread_admin {position: static; display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 8px;}

.thread_wrap {width:900px; margin-top:20px;}
.thread_wrap .list_title {box-sizing: border-box;}
.thread_wrap .thread-box {margin-bottom: 10px; padding: 20px 30px; border-radius: 20px; font-size: 14px; font-family: var(--thread-font);}
.thread_wrap .thread-box:last-child {margin: 0;}
.thread_wrap .thread-box > .thread_wr {position: relative;}
.thread_wrap .thread-box .thread_info {margin-bottom: 10px;}
.thread_wrap .thread-box .name {margin-right: 5px; font-weight: bold; font-size: 1.2em;}
.thread_wrap .thread-box .date {opacity: 0.6;}
.thread_wrap .thread-box .thread_title {margin-bottom: 10px; font-size: 1.2em;}
.thread_content {line-height: 1.5;}
.thread_content details {display: inline-block; width: 100%;}
.thread_content details summary {font-weight: bold;}

/* 이미지 영역 */
.thread_wrap .thread-box .img_box_wrap {display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; height: 300px;}
.thread_wrap .thread-box .img_box_wrap.img_box_2 {height:150px}

.thread_wrap .thread-box .img_box_wrap.img_box_2 .img_box,
.thread_wrap .thread-box .img_box_wrap.img_box_3 .img_box,
.thread_wrap .thread-box .img_box_wrap.img_box_4 .img_box {width: calc(50% - 5px);}
.thread_wrap .thread-box .img_box_wrap.img_box_5 .img_box,
.thread_wrap .thread-box .img_box_wrap.img_box_6 .img_box {width: calc(33.33% - 20px/3);}
.thread_wrap .thread-box .img_box_wrap.img_box_7 .img_box,
.thread_wrap .thread-box .img_box_wrap.img_box_8 .img_box {width: calc(25% - 30px/4);}

.thread_wrap .thread-box .img_box_wrap .img_box {border-radius: 10px; overflow: hidden; height: calc(50% - 5px);}
.thread_wrap .thread-box .img_box_wrap.img_box_1 .img_box,
.thread_wrap .thread-box .img_box_wrap.img_box_2 .img_box {height: 100%;}
.thread_wrap .thread-box .img_box_wrap img {width: 100%; height: 100%; object-fit: cover;}


/* 스포일러 처리 */
.thread_main {position: relative;}
.thread_main.spoiler {filter: blur(15px) grayscale(1); opacity:0.5; margin: 30px 0;}
.spoiler_sec {position: absolute;top: 0;left: 0;width: 100%;height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; z-index: 1;}
.spoiler_sec p {color: #fff; font-size: 17px; text-shadow: 0 0 3px black, 0 0 3px black;}
.spoiler_sec button {margin-top: 5px; background: #000; border: 1px solid rgba(255,255,255,0.5); border-radius: 10px; padding: 5px 15px; color: #fff; pointer-events: all;}

/* 비밀글 */
.pass-form form {display: flex; gap: 5px; margin-top: 5px;}

/* 답글 */
.thread_bottom {margin-top: 10px;}
.thread_bottom button {border: none; background:none; font-size: 14px;}

.thread_co_wrap {padding-left: 20px;border-left: 2px solid var(--secondary-color, var(--secondary-color)); margin-top: 15px;}
.thread_reply_write {padding-left: 20px; border-left: 2px solid var(--secondary-color, var(--secondary-color)); margin-top: 15px;}
.thread_co_wrap, .thread_co {position: relative;}
.thread_co {margin-top:20px;}
.thread_co .thread_admin {top: 0; right: 0;}
.thread_co_wrap a {color: var(--secondary-color);}

/* 이미지 확대보기 */
.thread_img_full {position: fixed; top: 0; left: 0; display: none; align-items: center; justify-content: center; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000;}
.thread_img_full .thread_img_wrap {max-height: 100%;}
.thread_img_full .thread_img_wrap img {max-height: 100vh;}
.thread_img_full .thread_img_close {position: absolute; top: 20px; right: 20px; font-size: 32px; border: none; background: none; color: #fff;}
.thread_img_full .thread_img_prev,
.thread_img_full .thread_img_next {position: absolute; top: 50%; transform: translateY(-50%); font-size: 28px; border: none; background: rgba(0,0,0,0.4); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;}
.thread_img_full .thread_img_prev {left: 20px;}
.thread_img_full .thread_img_next {right: 20px;}


/* 목록형 */
.type_list {display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--thread-font);}
.type_list > .list-box {position: relative; width: calc(25% - 60px/4);}
.type_list > .list-box .list_thumb {width: 100%; height: 300px; transition: all 0.3s;}
.type_list > .list-box .list_thumb img {width: 100%; height: 100%; object-fit: cover;}
.type_list > .list-box .list_thumb.no_img {display: flex; align-items: center; justify-content: center; font-size: 30px; background: rgba(255,255,255,0.5);}
.type_list > .list-box > a {display: block; position: relative;border-radius: 15px; overflow: hidden; box-shadow:0 0 6px rgba(0,0,0,0.2)}
.type_list > .list-box > a:hover .list_thumb {transform: scale(1.05);}
.type_list > .list-box .list_title {position: absolute; bottom: 0px; left: 0; padding: 70px 15px 15px; width: 100%; font-size: 18px; color: #fff; background: linear-gradient(0deg, #000, transparent); font-weight: bold; line-height: 1.3;}
.type_list > .list-box .list_title span {display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;}

@media (max-width:768px) {
    .type_list > .list-box {width: calc(33.33% - 40px/3);}
}

@media (max-width:576px) {
    .type_list > .list-box {width: calc(50% - 20px/2);}
}

@media (max-width:420px) {
    .type_list > .list-box {width: 100%;}
}


/* 답글 스타일 */
.thread_reply {position: absolute; bottom: 0; right: 0;}
.thread_reply button {border: none;background: none;font-size: 14px;}
.board-comment-write {display: none;}
.board-comment-list .board-comment-write {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(0,0,0,0.18);
}
.board-comment-write.is-edit .comment-preview,
.board-comment-write.is-edit .comment-existing-images,
.board-comment-write.is-edit .comment-upload-help {display: none;}
.board-comment-write.is-edit .comment-edit-title {font-size: 13px; opacity: 0.8; margin-bottom: 6px;}
.board-comment-write.is-edit .comment-textarea {min-height: 80px;}
.board-comment-write.is-edit .comment-controls {display: flex; align-items: center; gap: 10px; margin-top: 8px;}
.board-comment-write.is-edit .comment-upload-btn {margin-right: 6px;}
.comment-edit-wrap {padding: 20px;margin-top: 10px;background: var(--card-bg-color);border: 1px dashed var(--card-border-color);border-radius: 10px;}
.board-comment-form {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; margin-top: 5px;}
.board-comment-form textarea {border: 1px solid var(--secondary-color, var(--secondary-color));width: 100%;height: 100px;}
.comment-dropzone {position: relative; width: 100%;}
.comment-controls {display: flex;align-items: center;}
.comment-dropzone.dragover textarea {outline: 2px dashed var(--secondary-color); outline-offset: 2px;}
.comment-upload-btn {display: inline-flex;align-items: center;justify-content: center;width: 25px;height: 25px;border-radius: 6px;cursor: pointer;margin-right: 10px;}
.comment-image-input {display: none;}
.comment-preview {display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px;}
.comment-preview img {max-width: 90px; max-height: 90px; object-fit: cover; border-radius: 6px;}
.comment-upload-help {font-size: 12px; opacity: 0.7; margin-top: 4px;}
.comment-external-links {display: flex; flex-wrap: wrap; gap: 6px; width: 100%; margin-top: 6px;}
.comment-external-links .frm_input {flex: 1 1 0; min-width: 120px;}
.comment-existing-images {display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px;}
.comment-existing-item {position: relative;}
.comment-existing-item img {max-width: 90px; max-height: 90px; object-fit: cover; border-radius: 6px;}
.comment-delete-label {position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,0.6); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;}
.comment-delete-label input {margin: 0;}
.comment-upload .frm_input {width: 100%;}
.comment-images {margin-top: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;}
.comment-images img {width: 100%; height: 150px; object-fit: cover; border-radius: 6px;}
.hash-tag {color: var(--lt-color-point, var(--secondary-color)); text-decoration: none; font-weight: 600;}
.hash-tag:hover {text-decoration: underline;}
.board-comment-list {margin-top: 10px;}
.board-comment-list .item {border: none; padding: 10px; border-radius: 5px;}
.board-comment-list .item + .item {margin-top: 5px;}
.co_head_wrap {display: flex; gap: 10px; align-items: center;}
.co-meta {display: inline-flex; align-items: center; gap: 8px;}
.co_head_wrap .co-name {font-weight: bold; font-size: 16px;}
.co-date {opacity: 0.8; font-size: 0.9em;}
.co-actions {margin-left: auto; display: inline-flex; gap: 10px; align-items: center;}
.co-action-btn {color: inherit; opacity: 0.8;}
.co-action-btn:hover {opacity: 1;}
.like_area {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.like_number {
    font-size: 12px;
    color: var(--secondary-color);
}

.like_btn {
    display: flex;
    align-items: center;
    font-size: 13px;
    border: 0;
    background: transparent;
    color: var(--secondary-color);
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 0;
}

.like_btn:hover {
    transform: scale(1.1);
}

.like_btn:active {
    transform: scale(0.95);
}

.like_btn.active {
    color: var(--primary-color);
}

.like_btn.active i {
    color: var(--primary-color);
}

.likers-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.likers-modal.show {
    display: flex;
}

.likers-modal-content {
    background: var(--card-bg-color, #fff);
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.likers-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 10px;
}

.likers-modal-header h3 {
    margin: 0;
    font-size: 16px;
    color: var(--text-color, #333);
}

.likers-modal-close {
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color, #666);
    line-height: 1;
}

.likers-modal-close:hover {
    color: var(--primary-color, #007bff);
}

.likers-modal-body {
    padding: 0px 20px 15px;
    overflow-y: auto;
    flex: 1;
}

.likers-loading {
    text-align: center;
    color: var(--secondary-color, #666);
    padding: 20px;
}

.likers-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.likers-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-color, #eee);
}

.likers-list li:last-child {
    border-bottom: none;
}

.liker-info {
    display: flex;
    flex-direction: column;
}

.liker-name {
    font-weight: 500;
    color: var(--text-color, #333);
}

.liker-id {
    font-size: 12px;
    color: var(--secondary-color, #999);
}

.liker-datetime {
    font-size: 11px;
    color: var(--secondary-color, #999);
}

.likers-list-empty {
    text-align: center;
    color: var(--secondary-color, #999);
    padding: 20px;
}

.like_number.clickable {
    cursor: pointer;
}

.like_number.clickable:hover {
    text-decoration: underline;
    color: var(--primary-color, #007bff);
}
/* ================================
   Mobile Optimization Patch
   (아래를 CSS 맨 아래에 추가)
================================ */

/* 공통: 화면 폭을 안전하게 */
.board-skin-basic,
.thread_wrap {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* 🔥 기존에 thread_wrap이 width:900px로 박혀있어서 모바일에서 좌우 스크롤 유발 */
.thread_wrap { width: 100%; }

/* 작은 화면에서 전체 좌우 여백 확보 */
@media (max-width: 768px) {
  .board-skin-basic { margin: 20px auto; padding: 0 12px; }
  .thread_wrap { margin-top: 12px; padding: 0 12px; }

  /* 카드: 패딩/라운드/텍스트 크기 살짝 다운 */
  .thread_wrap .thread-box {
    padding: 16px 16px;
    border-radius: 16px;
    font-size: 13px;
  }

  .thread_wrap .thread-box .name { font-size: 1.05em; }
  .thread_wrap .thread-box .thread_title { font-size: 1.08em; }

  /* 공지/분류 뱃지: 터치 친화 */
  .thread_notice,
  .thread_cate {
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
  }

  /* 상단 버튼/관리 링크 영역: 줄바꿈 자연스럽게 */
  .thread_admin {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* 작성 버튼 영역: 너무 끝으로만 가지 않게 */
  .thread_btn {
    margin-bottom: 12px;
  }

  /* 글쓰기 박스: 좌우 여백 */
  .board-write {
    margin: 24px auto;
    padding: 18px;
  }
  .board-write h3 {
    font-size: 20px;
    padding: 18px 0 12px;
  }

  /* 폼 요소: 터치/가독성 */
  .frm_input,
  textarea,
  select {
    font-size: 14px;
  }

  /* 프리뷰: 작은 화면에서 줄바꿈 */
  #preview {
    flex-wrap: wrap;
    gap: 8px;
  }
  .preview-img {
    width: 84px;
    height: 84px;
  }
  .remove-btn {
    width: 22px;
    height: 22px;
    line-height: 22px;
  }
}

/* 이미지 영역: 모바일에서 높이 고정이 답답해서 "최대 높이"로 바꾸고 비율 유연화 */
@media (max-width: 768px) {
  .thread_wrap .thread-box .img_box_wrap {
    height: auto;                /* ✅ 고정높이 제거 */
    max-height: 520px;           /* 너무 길어지면 적당히 제한 */
  }

  .thread_wrap .thread-box .img_box_wrap .img_box {
    height: auto;                /* ✅ 카드 내부에서 자연 높이 */
    aspect-ratio: 1 / 1;         /* ✅ 정사각형 기본(취향이면 4/3로 바꿔도 됨) */
  }

  .thread_wrap .thread-box .img_box_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 이미지 1~2장일 때는 좀 더 크게 보이게 */
  .thread_wrap .thread-box .img_box_wrap.img_box_1 .img_box,
  .thread_wrap .thread-box .img_box_wrap.img_box_2 .img_box {
    aspect-ratio: 4 / 3;
  }
}

/* 목록형(type_list): 모바일에서 계산식이 빡세서 grid로 안정화 */
@media (max-width: 768px) {
  .type_list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .type_list > .list-box { width: auto; }
  .type_list > .list-box .list_thumb { height: 220px; }
  .type_list > .list-box .list_title { font-size: 14px; padding: 60px 12px 12px; }
}

@media (max-width: 576px) {
  .type_list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type_list > .list-box .list_thumb { height: 200px; }
}

@media (max-width: 420px) {
  .type_list { grid-template-columns: 1fr; }
  .type_list > .list-box .list_thumb { height: 240px; }
}

/* 댓글/답글: 모바일에서 들여쓰기 과하면 본문이 좁아짐 */
@media (max-width: 576px) {
  .thread_co_wrap,
  .thread_reply_write {
    padding-left: 12px;
  }

  .thread_co_wrap { border-left-width: 2px; }

  .co_head_wrap {
    gap: 8px;
    flex-wrap: wrap;
  }

  .co-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
    gap: 12px;
  }

  .board-comment-form textarea {
    height: 92px;
    font-size: 14px;
  }

  .comment-images img { height: 120px; }
  .comment-preview img,
  .comment-existing-item img { max-width: 76px; max-height: 76px; }
}

/* 이미지 확대 모달: 작은 화면에서 안전 여백 + 버튼 터치 영역 */
@media (max-width: 576px) {
  .thread_img_full .thread_img_wrap img {
    max-width: 92vw;
    max-height: 86vh;
  }

  .thread_img_full .thread_img_close {
    top: 14px;
    right: 14px;
    font-size: 34px;
  }

  .thread_img_full .thread_img_prev,
  .thread_img_full .thread_img_next {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }
  .thread_img_full .thread_img_prev { left: 10px; }
  .thread_img_full .thread_img_next { right: 10px; }
}

/* 좋아요/액션 버튼: 손가락 영역 확보 */
@media (max-width: 576px) {
  .like_btn {
    padding: 6px 6px;
    font-size: 14px;
  }

  .like_number { font-size: 13px; }
}

/* likers modal: 모바일에서 폭/높이 안정 */
@media (max-width: 576px) {
  .likers-modal-content {
    width: 92%;
    max-width: none;
    max-height: 78vh;
    border-radius: 12px;
  }
  .likers-modal-header { padding: 14px 16px 8px; }
  .likers-modal-body { padding: 0 16px 14px; }
}

/* iOS/모바일에서 긴 링크/문자열이 박스 밖으로 튀는 것 방지 */
.thread_content,
.thread_title,
.board-comment-list,
.likers-modal-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}
