/* Facebook comment block (tools/site-sync/comments.mjs, kind 'facebook'). Loaded only on registered pages.
   Drawn to match a Facebook post's comment thread: grey bubbles, bold name, the Like / Reply row and the
   blue reaction badge. Like and Reply are text, not controls: these are copies, not a live thread. */
.fbc { max-width: 720px; margin: 0 auto; padding: 40px 20px 52px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI Historic', 'Segoe UI', Helvetica, Arial, sans-serif; color: #050505; }
.fbc * { box-sizing: border-box; }
.fbc-title { font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; color: #1F2A2E; margin: 0 0 14px; }
.fbc-card { background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); padding: 12px 16px 14px; }
.fbc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 0 12px; border-bottom: 1px solid #ced0d4; margin-bottom: 12px; font-size: 15px; }
.fbc-sort { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #65676b; }
.fbc-sort svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fbc-count { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #050505; }
.fbc-f { flex: none; width: 22px; height: 22px; display: block; }
.fbc-list { list-style: none; margin: 0; padding: 0; }
.fbc-c { display: flex; gap: 6px; align-items: flex-start; margin: 0 0 12px; }
.fbc-c[hidden] { display: none; }
.fbc-av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 2px; font-size: 14px; font-weight: 600; color: #fff; }
.fbc-main { min-width: 0; flex: 1 1 auto; }
.fbc-bubble { position: relative; display: inline-block; max-width: 100%; background: #f0f2f5; border-radius: 18px; padding: 8px 12px; }
.fbc-name { display: block; font-size: 13px; font-weight: 600; line-height: 16px; color: #050505; }
.fbc-text { margin: 2px 0 0; font-size: 15px; line-height: 20px; white-space: pre-line; overflow-wrap: anywhere; }
.fbc-likes { position: absolute; right: -6px; bottom: -10px; display: inline-flex; align-items: center; gap: 3px; background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); padding: 1px 5px 1px 2px; font-size: 13px; line-height: 18px; color: #65676b; }
.fbc-likes svg { width: 18px; height: 18px; display: block; }
.fbc-bubble.has-likes { margin-right: 8px; }
.fbc-meta { display: flex; gap: 12px; padding: 4px 0 0 12px; font-size: 12px; line-height: 16px; color: #65676b; }
.fbc-meta b { font-weight: 600; }
.fbc-see { font: inherit; font-weight: 600; color: #050505; background: none; border: 0; padding: 0 0 0 2px; cursor: pointer; }
.fbc-see:hover { text-decoration: underline; }
.fbc-more { font: inherit; font-size: 15px; font-weight: 600; color: #65676b; background: none; border: 0; padding: 2px 0; cursor: pointer; }
.fbc-more:hover { text-decoration: underline; }
/* The in-body card. It sits inside the article, so every rule that styles text is scoped under .fbc to outrank the
   page's own `.article p` and `a` rules. */
.fbc-inline { max-width: none; padding: 6px 0 26px; }
.fbc-inline .fbc-head { border-bottom: 0; padding-bottom: 6px; margin-bottom: 8px; font-size: 14px; }
.fbc-src { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #050505; }
.fbc .fbc-all { display: inline-block; margin-top: 2px; font-size: 15px; color: #65676b; font-weight: 600; text-decoration: none; }
.fbc .fbc-all:hover { text-decoration: underline; }
.fbc-inline .fbc-c:last-child { margin-bottom: 4px; }
.fbc .fbc-text { margin: 2px 0 0; color: #050505; }
.fbc-note { margin: 12px 2px 0; font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 0.8rem; line-height: 1.45; color: #8a9290; }
@media (max-width: 480px) {
  .fbc { padding: 32px 12px 44px; }
  .fbc-card { padding: 10px 12px 12px; }
}
