.reader-community { max-width: 960px; margin: 56px auto 0; padding: clamp(26px,4vw,48px); border: 1px solid #dca3a330; border-radius: 10px; background: #f7dbce06; color: #f5eadd; }
.community-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid #dca3a330; }
.community-reactions { display: flex; align-items: center; flex-wrap: wrap; flex-shrink: 0; max-width: 100%; gap: 12px 18px; }
.community-eyebrow { font: 400 10px/1.7 var(--sans); text-transform: uppercase; letter-spacing: 2px; color: #d7aaa9; margin: 0 0 12px; }
.community-head h3 { font: 500 clamp(32px,3vw,42px)/1.1 var(--serif); margin: 0; letter-spacing: -.4px; }
.community-like { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 9px; border: 1px solid #d68d9d65; border-radius: 24px; color: #f3cfcc; background: #bc536b15; min-height: 44px; padding: 8px 15px; font: 400 13px/1.5 var(--sans); transition: background .2s; }
.community-like:hover, .community-like[aria-pressed="true"] { background: #b9516a35; }
.community-icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.community-heart { color: #f28fa5; }
.community-like[aria-pressed="true"] .community-heart { fill: currentColor; }
.community-bubble { width: 19px; height: 19px; }
.community-count { display: flex; align-items: center; gap: 8px; margin: 0; color: #d9b6b4; font: 400 13px/1.7 var(--sans); }
.community-comment { padding: 25px 0; border-bottom: 1px solid #dca3a325; }
.community-comment-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font: 400 12px/1.7 var(--sans); color: #d1a5a6; }
.community-comment-meta strong { color: #f3dfd6; font-weight: 500; }
.community-comment-meta time { font-size: 10px; }
.community-comment-body { font: 400 16px/1.8 var(--sans); margin: 12px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-empty { color: #d9b6b4; font: 400 14px/1.8 var(--sans); margin: 22px 0 0; }
.community-form { margin-top: 24px; display: grid; gap: 20px; }
.community-form label { display: grid; gap: 9px; font: 400 12px/1.7 var(--sans); color: #e7c4be; }
.community-form input, .community-form textarea { width: 100%; min-width: 0; border: 1px solid #dca3a345; border-radius: 6px; background: #f7dbce09; color: #f5eadd; font: 400 16px/1.6 var(--sans); padding: 12px 15px; }
.community-form input { max-width: 320px; }
.community-form textarea { resize: vertical; min-height: 128px; }
.community-form textarea::placeholder { color: #bc949c; opacity: 1; }
.community-form-foot { display: flex; justify-content: flex-end; }
.community-submit { color: #3c202b; background: #efc9bd; border: 0; border-radius: 30px; padding: 13px 24px; min-height: 46px; font: 500 13px/1.5 var(--sans); white-space: nowrap; }
.community-submit:hover { background: #f6ded1; }
.community-status { min-height: 1.6em; margin: 14px 0 0; color: #eec7bf; font: 400 12px/1.6 var(--sans); }
.community-signin { display: inline-block; color: #efc9bd; margin-top: 26px; padding-block: 10px; font: 400 14px/1.7 var(--sans); text-decoration: underline; text-underline-offset: 5px; }
.community-delete, .community-retry { background: none; border: 0; color: #d9a7af; font: 400 11px/1.6 var(--sans); min-height: 44px; padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; }
.reader-community [hidden] { display: none !important; }
.reader-community :is(button,a,input,textarea):focus-visible { outline: 2px solid #efc9bd; outline-offset: 4px; }
.reader-community button:disabled { cursor: wait; opacity: .6; }
@media (max-width: 800px) {
  .community-head { align-items: flex-start; flex-direction: column; gap: 22px; }
}
@media (max-width: 600px) {
  .reader-community { padding: 26px 20px; margin: 35px -10px 0; }
  .community-head { gap: 20px; padding-bottom: 20px; }
  .community-head h3 { font-size: 32px; }
  .community-reactions { gap: 20px; }
  .community-form input { max-width: none; }
  .community-submit { width: 100%; }
  .community-comment-meta { flex-wrap: wrap; gap: 4px 14px; }
}
@media (prefers-reduced-motion: reduce) { .community-like { transition: none; } }
