/* Post tools: quote, ⋯ menu, report, link cards (Broken Ear Core). */

/* Header row: date on the left, ⋯ on the right. bbPress's link row and #id move into the menu. */
.be-tools-on #bbpress-forums div.bbp-reply-header .bbp-meta { display: flex !important; flex-wrap: nowrap; align-items: center; gap: 10px; }
.be-tools-on #bbpress-forums div.bbp-reply-header .bbp-admin-links,
.be-tools-on #bbpress-forums div.bbp-reply-header .bbp-reply-permalink { display: none !important; }
.be-more { position: relative; margin-left: auto; }
.be-more__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--be-muted, #5a626e); font: 700 13px/1 system-ui, sans-serif; letter-spacing: 1px; cursor: pointer; }
.be-more__btn:hover, .be-more__btn[aria-expanded="true"] { background: var(--be-line-soft, #eceef1); color: var(--be-text, #111418); }
.be-more__menu { position: fixed; z-index: 9999; display: flex; flex-direction: column; min-width: 190px; padding: 6px; border: 1px solid var(--be-line, #dadde2); border-radius: 10px; background: var(--be-card, #fff); box-shadow: 0 12px 32px rgba(11, 13, 16, 0.16); }
.be-more__menu[hidden] { display: none; }
#bbpress-forums .be-more__item, .be-more__item { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 6px; background: none; color: var(--be-text, #111418) !important; font: 500 14px/1.2 var(--be-font-body, system-ui, sans-serif); letter-spacing: 0; text-align: left; text-decoration: none; text-transform: none; cursor: pointer; }
.be-more__item:hover, .be-more__item:focus-visible { background: var(--be-line-soft, #eceef1); }
.be-more__sep { height: 1px; margin: 4px 6px; background: var(--be-line, #dadde2); }
.be-toast { position: absolute; right: 0; top: calc(100% + 4px); z-index: 61; padding: 6px 10px; border-radius: 6px; background: var(--be-ink, #0b0d10); color: #fff; font-size: 12px; white-space: nowrap; }
#bbpress-forums div.bbp-reply-header time.be-time { cursor: default; }

/* Quote, reactions and fact check on one row. */
.be-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.be-actions > .be-react, .be-actions > .be-fc { margin-top: 0 !important; }
.be-tools__quote { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border: 1px solid var(--be-line, #dadde2); border-radius: 17px; background: var(--be-card, #fff); color: var(--be-text, #111418); font: 600 13px/1 var(--be-font-body, system-ui, sans-serif); cursor: pointer; }
.be-tools__quote:hover { border-color: var(--be-link, #1c5bd8); color: var(--be-link, #1c5bd8); }

/* Quotes */
#bbpress-forums .bbp-reply-content blockquote { position: relative; margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--be-line, #dadde2); border-left: 4px solid var(--be-blue, #4585ff); border-radius: 8px; background: var(--be-paper, #f3f4f6); font-style: normal; font-size: 15px; color: var(--be-text, #111418); }
#bbpress-forums .bbp-reply-content blockquote p { margin: 0 0 8px; padding: 0; }
#bbpress-forums .bbp-reply-content blockquote p:last-child { margin-bottom: 0; }
#bbpress-forums .bbp-reply-content blockquote::before { content: none; }
body #bbpress-forums .bbp-reply-content blockquote a.be-quote__head { display: block; margin: -12px -16px 10px; padding: 8px 16px; border-bottom: 1px solid var(--be-line, #dadde2); border-radius: 0 8px 0 0; background: var(--be-line-soft, #eceef1); color: var(--be-text, #111418); font-weight: 700; font-size: 14px; text-decoration: none; }
body #bbpress-forums .bbp-reply-content blockquote a.be-quote__head::after { content: " ↗"; color: var(--be-muted, #5a626e); font-weight: 400; }
body #bbpress-forums .bbp-reply-content blockquote a.be-quote__head:hover { color: var(--be-link, #1c5bd8); }
#bbpress-forums .bbp-reply-content blockquote.is-folded { max-height: 220px; overflow: hidden; margin-bottom: 0; }
#bbpress-forums .bbp-reply-content blockquote.is-folded::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--be-paper, #f3f4f6)); pointer-events: none; }
.be-quote__more { display: block; margin: 0 0 14px; padding: 6px 0; border: 0; background: none; color: var(--be-link, #1c5bd8); font: 600 13px var(--be-font-body, system-ui, sans-serif); cursor: pointer; }

/* Link cards */
#bbpress-forums a.be-lc { display: flex; max-width: 560px; margin: 0 0 14px; overflow: hidden; border: 1px solid var(--be-line, #dadde2); border-radius: 10px; background: var(--be-card, #fff); color: var(--be-text, #111418); text-decoration: none; }
#bbpress-forums a.be-lc:hover { border-color: var(--be-link, #1c5bd8); }
.be-lc__img { flex: 0 0 150px; background: var(--be-paper, #f3f4f6); }
.be-lc__img img { display: block; width: 100%; height: 100%; min-height: 100px; object-fit: cover; margin: 0 !important; border-radius: 0 !important; }
.be-lc__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 14px; }
.be-lc__site { color: var(--be-muted, #5a626e); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.be-lc__title { font-size: 15px; line-height: 1.3; }
.be-lc__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--be-muted, #5a626e); font-size: 13px; line-height: 1.4; }
@media (max-width: 600px) {
	#bbpress-forums a.be-lc { flex-direction: column; }
	.be-lc__img { flex-basis: auto; aspect-ratio: 1.91 / 1; }
}

/* Report dialog */
.be-report { width: min(440px, calc(100vw - 32px)); padding: 22px; border: 0; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); color: #111418; font-family: var(--be-font-body, system-ui, sans-serif); }
.be-report::backdrop { background: rgba(11, 13, 16, 0.55); }
.be-report h2 { margin: 0 0 12px; padding: 0; font-size: 18px; }
.be-report__opt { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 15px; cursor: pointer; }
.be-report__note { width: 100%; margin-top: 10px; padding: 8px 10px; border: 1px solid #dadde2; border-radius: 8px; font: inherit; box-sizing: border-box; }
.be-report__msg { min-height: 1em; margin: 8px 0 0; padding: 0; color: #b42318; font-size: 13px; }
.be-report__row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.be-report__row button { height: 40px; padding: 0 16px; border-radius: 8px; font: 600 14px inherit; cursor: pointer; }
.be-report__cancel { border: 1px solid #dadde2; background: #fff; color: #111418; }
.be-report__send { border: 0; background: #0b0d10; color: #fff; }
.be-report__done { margin: 0; padding: 8px 0; font-size: 16px; font-weight: 600; }
