.comment-media .media { padding:16px 0; margin:0; border-top:1px solid #edf0f4; }
.comment-media .media-body { min-width:0; }
.comment-media .media-heading { margin-bottom:8px; }
.comment-media .media-content { line-height:1.7; overflow-wrap:anywhere; }
.asami-comment-image { margin:12px 0 2px; }
.asami-comment-image img { display:block; width:auto; max-width:min(100%,680px); max-height:680px; height:auto; border:1px solid #e6e9ee; border-radius:12px; object-fit:contain; background:#f7f8fa; }
form.asami-comment3-enabled.comment-form .comment-box { border:1px solid #e3e7ed; border-radius:14px; padding:16px; background:#fff; box-shadow:0 6px 22px rgba(25,35,50,.06); }
form.asami-comment3-enabled.comment-form .comment-content { display:flex; align-items:flex-start; column-gap:12px; }
form.asami-comment3-enabled.comment-form .comment-content .comment-cell:first-child { display:block; flex:1 1 auto; min-width:0; }
form.asami-comment3-enabled.comment-form #wr_content { min-height:112px; padding:14px; border-radius:10px; line-height:1.6; }
form.asami-comment3-enabled.comment-form .comment-content .comment-cell.comment-submit { display:flex; flex:0 0 80px; align-items:center; justify-content:center; box-sizing:border-box; width:80px; height:44px; min-height:44px; padding:0; line-height:1; text-align:center; color:#fff; background:#2f6fed; border:0; border-radius:8px; font-size:14px; }
.asami-comment-tools { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:10px 0 4px; }
.asami-comment-file-label { display:inline-flex; gap:7px; align-items:center; min-height:38px; margin:0; padding:8px 13px; border:1px solid #d9dee6; border-radius:9px; color:#343b46; background:#f8f9fb; cursor:pointer; }
.asami-comment-file-label:hover { border-color:#aeb8c6; background:#fff; }
.asami-comment-file-label input { position:absolute; width:1px; height:1px; opacity:0; }
.asami-comment-file-label.is-uploading { opacity:.55; pointer-events:none; }
.asami-comment-upload-cancel { min-height:38px; padding:8px 12px; border:1px solid #efc5c1; border-radius:9px; color:#b33b32; background:#fff7f6; }
.asami-comment-help { color:#7b8491; font-size:12px; }
.asami-comment-status { width:100%; min-height:18px; color:#50729a; font-size:12px; }
.asami-comment-status.is-error { color:#c0392b; }
.asami-comment-preview { display:none; width:100%; gap:10px; flex-wrap:wrap; }
.asami-comment-preview.is-visible { display:flex; }
.asami-comment-preview-card { position:relative; overflow:hidden; width:220px; max-width:100%; border:1px solid #e1e5eb; border-radius:10px; background:#f7f8fa; }
.asami-comment-preview-card img, .asami-comment-preview-card iframe { display:block; width:100%; height:135px; border:0; object-fit:cover; }
.asami-comment-preview-title { padding:7px 9px; color:#667080; font-size:12px; }
@media (max-width:767px) {
    .comment-media .media { padding:13px 0; }
    .comment-media .photo { margin-right:10px; }
    .comment-media .photo img, .comment-media .photo i { width:42px !important; height:42px !important; }
    form.asami-comment3-enabled.comment-form .comment-box { padding:12px; border-radius:11px; }
    form.asami-comment3-enabled.comment-form .comment-content { display:block; }
    form.asami-comment3-enabled.comment-form .comment-content .comment-cell { display:block; width:100%; }
    form.asami-comment3-enabled.comment-form #wr_content { border-radius:9px; }
    form.asami-comment3-enabled.comment-form .comment-content .comment-cell.comment-submit { display:flex; flex:0 0 auto; align-items:center; justify-content:center; width:100%; margin-top:8px; line-height:1; }
    .asami-comment-tools { align-items:flex-start; }
    .asami-comment-help { width:100%; }
    .asami-comment-preview-card { width:100%; }
    .asami-comment-preview-card img, .asami-comment-preview-card iframe { height:auto; aspect-ratio:16/9; }
}
