/* ──────────────────────────────────────────────────────────────
   view/board/skin/common.comment.php 의 <style> 블록을 옮긴 것 (커서룰 §10)

   ⚠ <link> 를 «있던 그 자리» 에 두었다. 이 규칙들은 본문 안에서 실리므로
     머리글(<head>)의 꾸밈보다 뒤에 온다 — 겹 수가 같으면 뒤가 이긴다.
     머리글로 올리면 힘겨루기 결과가 달라진다.
   ────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    /* 모바일 환경 댓글 영역 여백 최소화 */
    .comment-section {
        margin-top: 30px !important;
        padding: 20px 12px !important; /* 좌우 여백을 최소화하여 공간 극대화 */
        border-radius: 12px !important;
        box-shadow: none !important;
        border-left: none !important;
        border-right: none !important;
    }
    .comment-list {
        gap: 12px !important;
        margin-bottom: 25px !important;
    }
    .comment-item {
        padding: 14px 12px !important; /* 개별 댓글 좌우 여백 축소 */
        border-radius: 8px !important;
    }
    #commentTextareaWrap textarea {
        padding: 12px !important;
        font-size: 0.9rem !important;
        height: 80px !important;
    }
    #commentForm button[type="submit"] {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}
