.dream-comments { color: #e8edf3; font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.dream-comments [hidden] { display: none; }
.dream-comments .feed-reactions { display: flex; align-items: center; gap: 22px; margin-bottom: 12px; }
.dream-comments-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 0; border: 0; background: transparent; color: #f4f5f7; font: inherit; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.dream-comments-toggle svg { flex-shrink: 0; }
.dream-comments-toggle[aria-expanded="true"] { color: #78c7e8; }
.dream-comments :focus-visible { outline: 2px solid #41b4e5; outline-offset: 3px; }
.dream-comments .dream-comments-toggle:focus-visible { outline: none; color: #c5e8f8; }
.dream-comments-reveal { display: flow-root; }
.dream-comments-panel { margin: 0 0 18px; padding: 14px 0 0; border-top: 1px solid #29343f; }
.dream-comments-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 14px; }
.dream-comments-panel h3 { margin: 0; font-size: 16px; font-weight: 650; }
.dream-comments-loading { display: inline-flex; align-self: center; align-items: center; gap: 3px; height: 16px; color: #92a7b9; opacity: 0; transition: opacity .22s ease; }
.dream-comments-loading.is-loading { opacity: 1; }
.dream-comments-loading > span { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.dream-comments-loading.is-loading > span { animation: comment-loading-dot .9s ease-in-out infinite; }
.dream-comments-loading.is-loading > span:nth-child(2) { animation-delay: .15s; }
.dream-comments-loading.is-loading > span:nth-child(3) { animation-delay: .3s; }
@keyframes comment-loading-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.dream-comments-list { display: flex; flex-direction: column; gap: 18px; margin: 12px 0; padding: 0; list-style: none; }
.dream-comment { min-width: 0; }
.dream-comment-main { display: flex; align-items: flex-start; gap: 8px; }
.dream-comment-main .dream-comment-text { flex: 1; min-width: 0; }
.dream-comment-actions { display: inline-flex; align-items: flex-start; gap: 6px; flex-shrink: 0; }
.dream-comment-like { display: inline-flex; align-items: center; gap: 3px; min-height: 26px; margin-top: -3px; }
.dream-comment-like button { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 0; background: transparent; color: #92a7b9; cursor: pointer; }
.dream-comment-like button[aria-pressed="true"] { color: #ef4055; }
.dream-comment-like button[aria-pressed="true"] svg { fill: currentColor; }
.dream-comment-like button:disabled { opacity: .6; }
.dream-comment-like-count { color: #92a7b9; font-size: 11px; font-variant-numeric: tabular-nums; }
.dream-comment-like-error { margin: 6px 0 0; }
.dream-comment-like-error a { color: #78c7e8; }
.dream-comment-author { color: #f4f5f7; font-weight: 650; text-decoration: none; }
.dream-comment-author:hover { color: #fff; }
.dream-comment-link { color: #78c7e8; text-decoration: none; cursor: pointer; }
.dream-comment-link:hover, .dream-comment-link:focus-visible { color: #c5e8f8; text-decoration: underline; }
.dream-comment-date { display: block; margin-top: 5px; color: #8e959f; font-size: 11px; }
.dream-comment-text { margin: 0; color: #c3d0dc; white-space: pre-wrap; overflow-wrap: anywhere; }
.dream-comments-status, .dream-comments-notice { margin: 10px 0; color: #92a7b9; font-size: 13px; }
.dream-comments-notice a { color: #78c7e8; }
.dream-comments-status:empty { display: none; }
.dream-comment-form { display: grid; gap: 8px; margin-top: 18px; }
.dream-comment-form label { color: #c3d0dc; font-size: 13px; }
.dream-comment-form textarea { box-sizing: border-box; width: 100%; min-height: 82px; max-height: 300px; resize: vertical; padding: 10px 12px; border: 1px solid #345264; border-radius: 8px; background: #0b1620; color: #e1e8ee; font: inherit; font-size: 16px; }
.dream-comment-form button, .dream-comments-more { justify-self: start; padding: 8px 14px; border: 1px solid #345264; border-radius: 8px; background: #14232f; color: #c5e8f8; font: inherit; font-size: 13px; cursor: pointer; }
.dream-comment-form button:disabled, .dream-comments-more:disabled { opacity: .6; }
.dream-comment-error { margin: 0; color: #f1a8a8; font-size: 13px; }
.dream-comment-menu { position: relative; flex-shrink: 0; }
.dream-comment-menu summary { display: grid; place-items: center; width: 28px; height: 28px; margin-top: -3px; color: #92a7b9; font-weight: 700; letter-spacing: 1px; cursor: pointer; list-style: none; }
.dream-comment-menu summary::-webkit-details-marker { display: none; }
.dream-comment-menu-panel { position: absolute; right: 0; top: 100%; z-index: 40; width: 170px; padding: 5px; border: 1px solid #29343f; border-radius: 10px; background: #17202a; box-shadow: 0 10px 24px #0007; }
.dream-comment-menu button { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 6px; background: transparent; color: #e8edf3; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.dream-comment-menu button:hover { background: #25313e; }
.dream-comment-menu button:disabled { opacity: .6; }
.dream-comment-menu .dream-comment-danger, .dream-comment-editor .dream-comment-danger { color: #fa8f8f; }
.dream-comment-editor { margin-top: 8px; }
.dream-comment-editor > p { margin: 0; font-size: 13px; }
.dream-comment-editor-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .dream-comments-loading { transition: none; } .dream-comments-loading.is-loading > span { animation: none; } }
