/* Shared comment containers: feed, profile, reels, shared posts and SIDES. */
.iw-inline-comments,.iw-post-comments,.comments{--iw-comment-surface:rgba(12,21,32,.86);--iw-comment-border:rgba(163,184,211,.17);--iw-comment-text:#e7edf5;--iw-comment-muted:#a0aec0;--iw-comment-accent:#e8c67b}
[data-post-card] .iw-inline-comments{padding-top:12px;border-top:1px solid var(--iw-comment-border)}
[data-post-card] .iw-inline-comments .iw-comment-list,.iw-post-comments .iw-comment-list,.comments .comment-list{display:grid;gap:8px;min-width:0;max-height:420px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#536174 transparent;padding:2px 5px 3px 0;margin-top:10px}
[data-post-card] .iw-inline-comments article[data-comment-id],.iw-post-comments article[data-comment-id],.comments .comment-item{display:grid;gap:4px;box-sizing:border-box;min-width:0;margin:0;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--iw-comment-text);text-align:left;font:400 13px/1.5 system-ui,-apple-system,sans-serif;overflow-wrap:anywhere}
[data-post-card] .iw-comment-heading{display:flex;align-items:center;gap:10px;min-width:0;margin:0}
[data-post-card] .iw-comment-heading>strong,#page-creator-profile [data-post-card] .iw-comment-heading>strong{font-size:12px;font-weight:650;line-height:1.4;color:var(--iw-comment-text);overflow-wrap:anywhere}
[data-post-card] .iw-comment-author{display:flex;align-items:center;gap:8px;min-width:0;color:var(--iw-comment-text);text-decoration:none;line-height:1.35}
[data-post-card] .iw-comment-author>strong{font-size:12px;font-weight:650;overflow-wrap:anywhere}
[data-post-card] .iw-comment-author:hover>strong{text-decoration:underline;text-underline-offset:3px}
html body [data-post-card] img.iw-comment-avatar{display:block;flex:none;width:28px;height:28px;min-height:0;max-height:28px;margin:0;padding:0;object-fit:cover;border-radius:50%;border:1px solid var(--iw-comment-border)}
[data-post-card] .iw-inline-comments article[data-comment-id]>span{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}
[data-post-card] article[data-comment-id]>.iw-comment-body,[data-post-card] article[data-comment-id]>small{margin-left:36px}
[data-post-card] .iw-inline-comments article[data-comment-id]>small,.comments .comment-meta>span{opacity:1;color:var(--iw-comment-muted);font:400 10px/1.5 system-ui;letter-spacing:0;text-transform:none;font-variant-numeric:tabular-nums}
[data-post-card] .iw-comment-options{flex:0 0 28px;width:28px;max-width:28px;min-width:28px;margin-left:auto;align-self:center}
[data-post-card] .iw-comment-options summary{width:28px;height:26px;margin:-3px 0;color:var(--iw-comment-muted);border-radius:7px;font-size:20px}
[data-post-card] .iw-comment-options summary:hover{background:#ffffff0b;color:var(--iw-comment-text)}
[data-post-card] .iw-comment-interactions{gap:2px 6px;margin:0 0 -3px 31px;min-width:0}
[data-post-card] .iw-comment-interactions button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:4px 7px;border:1px solid transparent;border-radius:7px;font:500 11px/1.4 system-ui;color:var(--iw-comment-muted);background:transparent}
[data-post-card] .iw-comment-interactions button:hover{background:#ffffff09;color:var(--iw-comment-text)}
[data-post-card] .iw-comment-interactions button[aria-pressed=true]{background:#e8c67b0c;color:var(--iw-comment-accent);border-color:#e8c67b22}
[data-post-card] .iw-comment-interactions button:focus-visible,.comments .comment-submit:focus-visible,.comments .comment-report:focus-visible,.comments .comment-author:focus-visible{outline:2px solid var(--iw-comment-accent);outline-offset:2px}
[data-post-card] .iw-inline-comments article.iw-comment-reply{margin-left:16px;border:0;background:transparent}
[data-post-card] .iw-comment-parent{font-size:11px;margin:0;padding:0;min-height:22px}
[data-post-card] .iw-comment-field textarea{border-color:var(--iw-comment-border);background:var(--iw-comment-surface);border-radius:14px;color:var(--iw-comment-text)}
[data-post-card] .iw-inline-comments .iw-comment-form{align-items:start;column-gap:8px}
[data-post-card] .iw-inline-comments .iw-comment-form[data-inline-reply]{box-sizing:border-box;padding:2px 0 6px 12px;margin:0;min-width:0}
[data-post-card] .iw-comment-form[data-inline-reply] .iw-comment-reply-context{justify-content:space-between;gap:8px;min-width:0}
[data-post-card] .iw-comment-form[data-inline-reply] .iw-comment-reply-context>span{min-width:0;overflow-wrap:anywhere}
[data-post-card] .iw-comment-form [data-comment-status]:empty{display:none}
[data-post-card] .iw-comment-self{border:1px solid var(--iw-comment-border)}
.comments{padding-top:14px;border-top:1px solid var(--iw-comment-border)}
.comments .comment-form{gap:8px}
.comments .comment-identity{margin-bottom:2px;font-size:12px;color:var(--iw-comment-muted)}
.comments .comment-input{min-height:40px;box-sizing:border-box;padding:10px 12px;background:var(--iw-comment-surface);border:1px solid var(--iw-comment-border);border-radius:12px;font:13px/1.4 system-ui}
.comments .comment-input:focus{border-color:#b49b5d;outline:1px solid #b49b5d40}
.comments .comment-submit{align-self:center;min-height:36px;padding:8px 13px;border:1px solid #e8c67b70;border-radius:10px;background:#e8c67b;color:#111b27;font:600 11px/1.4 system-ui;cursor:pointer}
.comments .comment-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0;opacity:1;letter-spacing:0;text-transform:none;font-size:11px}
.comments .comment-author{margin:0;gap:7px;color:var(--iw-comment-text);font:650 12px/1.4 system-ui;text-transform:none;letter-spacing:0}
.comments .comment-avatar{width:26px;height:26px;border:1px solid var(--iw-comment-border)}
.comments .comment-report{margin-left:auto;padding:4px 6px;min-height:28px;background:transparent;border:0;border-radius:6px;color:var(--iw-comment-muted);font:500 10px/1.4 system-ui;cursor:pointer}
.comments .comment-report:hover{background:#ffffff0b;color:var(--iw-comment-text)}
.comments .comment-item>div:last-child{white-space:pre-wrap;overflow-wrap:anywhere}
.comments .comment-body{margin-left:35px;line-height:1.6}
html[data-iw-theme=light] .iw-inline-comments,html[data-iw-theme=light] .iw-post-comments{--iw-comment-surface:#f7f9fc;--iw-comment-border:#cbd5e1;--iw-comment-text:#1f2e41;--iw-comment-muted:#566579;--iw-comment-accent:#896615}
html[data-iw-theme=light] [data-post-card] .iw-inline-comments article.iw-comment-reply{background:transparent}
@media(max-width:480px){[data-post-card] .iw-inline-comments article[data-comment-id],.iw-post-comments article[data-comment-id],.comments .comment-item{padding:8px 0;border-radius:0}[data-post-card] .iw-inline-comments article.iw-comment-reply{margin-left:12px}.comments .comment-meta>span{flex-basis:100%;order:3}.comments .comment-input{font-size:16px}}

/* Reply groups use a small arrow, without adding cards or boxed panels. */
[data-post-card] .iw-comment-list [data-comment-id][hidden]{display:none!important}
[data-post-card] .iw-comment-age{flex:none;white-space:nowrap;color:var(--iw-comment-muted);font:400 10px/1.4 system-ui}
[data-post-card] .iw-comment-replies-toggle{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--iw-comment-muted);font:500 11px/1.4 system-ui;padding:4px 7px;min-height:30px;cursor:pointer}
[data-post-card] .iw-comment-replies-toggle svg{width:10px;height:10px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
[data-post-card] .iw-comment-replies-toggle[aria-expanded=true] svg{transform:rotate(90deg)}
[data-post-card] .iw-comment-replies-toggle:focus-visible{outline:2px solid var(--iw-comment-accent);outline-offset:1px}
