/* v9.6.13: Flatten actual legacy .comment > div bubbles and restore theme parity. */
:root,html[data-theme="dark"]{--hcm13-surface:#1d2c26;--hcm13-name:#a9e9cf;--hcm13-copy:#ecf4ef;--hcm13-action:#8fc8ff;--hcm13-rule:rgba(190,213,200,.16)}
html[data-theme="light"]{--hcm13-surface:#fff;--hcm13-name:#11664f;--hcm13-copy:#253b32;--hcm13-action:#125b9d;--hcm13-rule:rgba(39,70,54,.16)}
/* Post area adopts the selected theme instead of retaining a dark-only panel. */
html[data-theme="light"] body .hcm964-post.panel.post,
html[data-theme="light"] body .hcm964-post .feed-comments,
html[data-theme="light"] body .hcm964-post .hcm9612-thread-content{color:var(--hcm13-copy)!important;background:#fff!important}
html[data-theme="dark"] body .hcm964-post .feed-comments{background:transparent!important;color:var(--hcm13-copy)!important}
/* Explicitly remove capsules from both the PHP-generated and JS-generated comments. */
body .hcm964-post .feed-comments .comment,
body .hcm964-post .feed-comments .comment > div,
body .hcm964-post .feed-comments .comment > div > div,
body .hcm964-post .feed-comments .comment .hcm9612-thread-content,
body .hcm964-post .feed-comments .comment .hcm9612-thread-actions,
body .hcm964-post .feed-comments .comment .comment-body,
body .hcm964-post .feed-comments .comment strong{
 background:transparent!important;background-color:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;
 filter:none!important;text-shadow:none!important;
}
body .hcm964-post .feed-comments .comment{
 display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;
 gap:9px!important;align-items:start!important;min-height:0!important;
 padding:10px 0!important;margin:0!important;
 border-bottom:1px solid var(--hcm13-rule)!important;color:var(--hcm13-copy)!important;
}
body .hcm964-post .feed-comments .comment > div,
body .hcm964-post .feed-comments .comment .hcm9612-thread-content{
 min-width:0!important;width:auto!important;margin:0!important;padding:0!important;
 display:block!important;line-height:1.45!important;
}
body .hcm964-post .feed-comments .comment strong,
body .hcm964-post .feed-comments .comment .hcm9612-thread-content > strong{
 color:var(--hcm13-name)!important;font-weight:750!important;font-size:13px!important;
 display:block!important;line-height:1.45!important;margin:0 0 2px!important;padding:0!important;
}
body .hcm964-post .feed-comments .comment .comment-body{
 display:block!important;color:var(--hcm13-copy)!important;opacity:1!important;
 padding:0!important;margin:0!important;font-size:13px!important;line-height:1.45!important;
}
body .hcm964-post .feed-comments .comment button.feed-reply,
body .hcm964-post .feed-comments .comment button.feed-edit-comment,
body .hcm964-post .feed-comments .comment button.feed-reply.small,
body .hcm964-post .feed-comments .comment button.feed-edit-comment.small{
 all:unset!important;box-sizing:border-box!important;display:inline-block!important;
 width:auto!important;min-width:0!important;height:auto!important;
 color:var(--hcm13-action)!important;font-size:12px!important;font-weight:700!important;
 line-height:1.4!important;cursor:pointer!important;vertical-align:baseline!important;
 margin:5px 14px 0 0!important;padding:0!important;background:none!important;
 border:none!important;border-radius:0!important;box-shadow:none!important;
}
body .hcm964-post .feed-comments .comment button.feed-reply:hover,
body .hcm964-post .feed-comments .comment button.feed-edit-comment:hover{text-decoration:underline!important}
body .hcm964-post .feed-comments .comment button:focus-visible{outline:2px solid var(--hcm13-action)!important;outline-offset:3px!important}
body .hcm964-post .feed-comments .comment > img,
body .hcm964-post .feed-comments .comment > .avatar,
body .hcm964-post .feed-comments .comment > .mini{width:28px!important;height:28px!important;object-fit:cover!important;border-radius:50%!important}
body .hcm964-post .feed-comments .comment[data-parent-id]:not([data-parent-id="0"]){margin-left:16px!important;padding-left:9px!important;border-left:1px solid var(--hcm13-rule)!important}
/* Legacy comment form colours match the selected page theme. */
html[data-theme="light"] body .hcm964-post .commentform input{background:#fff!important;color:#253b32!important;border-color:#cbd9d0!important}
html[data-theme="light"] body .hcm964-post .commentform input::placeholder{color:#64786d!important}
