.comment-list, .comment-replies { list-style: none; padding-top: 0; padding-bottom: 0; }
.comment-list { margin: 0; padding-left: 0; }
.comment-list > li { min-width: 0; }
.comment-entry:not(.pb-comment) { display: flex; flex-direction: column; gap: var(--s-3); }
.comment-header:not(.pb-comment__head) { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.comment-header strong { font-weight: 800; }
.comment-time:not(.pb-comment__time) { color: var(--muted); font-size: var(--f-size-caption); }
.comment-entry .body-text { min-height: 0; padding: 0; margin: 0; }
.comment-primary-actions, .comment-more-actions:not(.pb-comment__more) { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.comment-more-actions:not(.pb-comment__more) { margin-left: auto; }
.comment-actions:not(.pb-comment__actions) { gap: var(--s-3); flex-wrap: wrap; }
.comment-replies:not(.pb-replies) { display: grid; gap: var(--s-3); margin: var(--s-3) 0 0 var(--s-3); padding-left: var(--s-4); }
.comment-replies .comment-replies:not(.pb-replies) { margin-left: 0; }
@media(max-width:480px) {
  .comment-replies:not(.pb-replies) { margin-left: var(--s-1); padding-left: var(--s-3); }
  .comment-more-actions:not(.pb-comment__more) { margin-left: 0; flex-basis: 100%; }
}

html[data-design="initial"] .pebble-only, html[data-design="pebble"] .initial-only { display: none; }
html[data-design="pebble"] .comments .pb-head h2 { margin: 0; }
html[data-design="pebble"] .comments .pb-head form { margin: 0; }
html[data-design="pebble"] .comments #comment-form { margin-top: var(--s-5); }

html[data-design="initial"] .comment-heading { display: contents; }
html[data-design="initial"] .comment-heading form { order: -1; }



.attachment-preview[hidden] { display: none; }
.attachment-preview { display: grid; gap: var(--s-3); margin-block: var(--s-3); }
.attachment-preview figure { min-width: 0; margin: 0; padding: var(--s-3); border: 1px solid var(--c-line); overflow-wrap: anywhere; }
.attachment-preview figcaption { margin-bottom: var(--s-2); }
.attachment-preview img { display: block; max-width: 100%; max-height: 240px; object-fit: contain; }
.attachment-preview canvas { display: block; max-width: 100%; height: auto; margin-block: var(--s-2); }
html[data-design="pebble"] .attachment-preview img { border-radius: var(--r-panel); }
