.comments { clear:both; width:100%; min-width:0; box-sizing:border-box; margin:1.3rem 0; color:#222; text-align:left; font:normal .94rem/1.55 system-ui,sans-serif; }
.comments h2 {margin:0; padding:.6rem .75rem; border-bottom:1px solid #dfe2e9; font-size:1rem; }
.comments .comment-row {font-size:13px; font-weight:400; position:relative; padding:4px .8rem; line-height:1.35; border-bottom:1px solid #dfe2e9; overflow-wrap:anywhere; background:white;}
.comments .comment-reply {padding-left:2.2rem; background:#f2f5fc;}
.comment-reply::before {content:"ㄴ"; position:absolute; left:.8rem; color:#52648e; font-weight:bold;}
.comments .comment-row > strong {font-size:13px; font-weight:400;}
.comments .comment-row .comment-text {margin:1px 0; white-space:pre-wrap; line-height:1.45; font-size:13px; font-weight:400;}
.comments .mention {color:#51779f;}
.comments time {color:#797d86; font-size:11px; font-weight:400;}
.comments button {width:auto; min-height:32px; padding:.2rem .6rem; border:0; border-radius:.3rem; background:transparent; color:#626872; font:inherit; cursor:pointer;}
.comments .comment-row > button:not(.erase) {min-height:20px; padding:0 .5rem; line-height:20px; vertical-align:middle;}
.comments .erase {float:right; min-width:40px; min-height:32px; padding:0 5px; font-size:11px; line-height:1; color:#787e88;}

.comments form {display:block; padding:0; margin:.7rem 0; background:white; border:1px solid #999da6; border-radius:0; overflow:hidden;}
.comments form .identity {display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #dcdde2;}
.comments .identity label {position:relative; display:flex; margin:0; min-width:0; border-right:1px solid #dcdde2;}
.comments .identity input,.comments form textarea {display:block; width:100%; min-width:0; box-sizing:border-box; margin:0; padding:10px; color:#222; background:white; border:0; border-radius:0; font:400 16px/1.4 system-ui,sans-serif;}
.comments .identity input[name=nickname] {color:#354672; padding-right:34px;}
.comments .identity .clear-name {position:absolute; right:8px; top:50%; transform:translateY(-50%); border-radius:50%; background:#bfc1c7; color:white; padding:0; width:21px; height:21px; min-height:0; line-height:20px;}
.comments form textarea {min-height:112px; resize:vertical;}
.comments .reply-tools {display:flex; align-items:center; gap:6px; padding:8px 10px; border-top:1px solid #dcdde2;}
.comments .reply-tools button {margin:0; width:auto; background:transparent; color:#606574; font-size:20px;}
.comments .reply-tools .text-tool {font:600 17px Georgia,serif; min-height:25px; border:1px solid #aaaeb8; padding:1px 5px;}
.comments .reply-tools button[type=submit] {margin-left:auto; border-radius:0; background:#394b90; color:white; font:bold 15px system-ui,sans-serif; padding:7px 16px;}
.comments .reply-to,.comments .emoji-list {padding:6px 10px; background:#f5f6fa;}
.comments [hidden] {display:none!important;}
.comments [role=status] {font-size:.85rem;}

dialog.comment-delete-dialog {position:fixed; inset:0; box-sizing:border-box; width:min(78vw,340px); max-height:90dvh; margin:auto; padding:0; border:0; border-radius:0; background:white; color:#111; text-align:center; font:16px/1.4 system-ui,sans-serif;}
.comment-delete-dialog::backdrop {background:rgba(0,0,0,.31);}
.comment-delete-dialog form {display:grid; width:64%; margin:0 auto; gap:14px; padding:39px 0; border:0; background:white;}
.comment-delete-dialog strong {font-size:16px;}
.comment-delete-dialog input {box-sizing:border-box; width:100%; min-width:0; height:34px; padding:4px 8px; border:1px solid #cdd0d8; border-radius:0; font:inherit;}
.comment-delete-dialog button {padding:0; border:1px solid #d4d6dd; border-radius:0; background:#fff; color:#151515; font:600 15px system-ui,sans-serif; cursor:pointer;}
.comment-delete-dialog .dismiss {position:absolute; top:10px; right:10px; width:25px; height:25px; color:#9599a3; font:26px/21px Arial,sans-serif;}
.comment-delete-dialog .actions {display:grid; grid-template-columns:1fr 1fr; gap:8px;}
.comment-delete-dialog .actions button {width:100%; min-height:34px;}
.comment-delete-dialog button[type=submit] {background:#394b90; border-color:#394b90; color:white;}
.comment-delete-dialog p {margin:0; font-size:13px; color:#a52b36;}
.comment-delete-dialog [hidden] {display:none;}
