/* Shared inline vector artwork, matching count positioning and action button sizes. */
:root{--ap372-gray:#747581;--ap372-purple:#7946bd;--ap372-teal:#008f96;--ap372-action-bg:rgba(110,110,130,.15)}
html[data-ap332-theme="dark"]{--ap372-gray:#c0c1cb;--ap372-purple:#bc9cf2;--ap372-teal:#36d0cb}
.ap372-icon.ap313-comment-icon,.ap372-icon{display:inline-block!important;width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;vertical-align:middle;flex:none;filter:none!important;color:var(--ap372-gray)!important;overflow:visible}
:is(a,button,summary):is(:hover,:focus-visible,:active,[aria-expanded="true"]) .ap372-icon,details[open]>summary .ap372-icon{color:var(--ap372-purple)!important;filter:none!important}
:is(a,button,summary):is(:hover,:focus-visible,:active,[aria-expanded="true"]) .ap372-accent,details[open]>summary .ap372-accent{stroke:var(--ap372-teal)}
:is(a,button,summary):is(:hover,:focus-visible,:active,[aria-expanded="true"]) .ap372-dots,details[open]>summary .ap372-dots{fill:var(--ap372-teal)}
.ap372-action, .ap315-row .ap315-icons>a.ap372-action, .ap338-card .ap369-yay-icons>a.ap372-action,.ap342-actions>a.ap372-action,.ap346-game-share>a.ap372-action{
 position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;flex:0 0 40px!important;padding:0!important;margin:0!important;border:1px solid var(--muted,#8e809d)!important;border-radius:10px!important;background:transparent!important;color:var(--text)!important;text-decoration:none!important;box-shadow:none!important;overflow:hidden
}
.ap315-row .ap315-icons>a.ap372-action,.ap315-row .ap315-icons>button.ap346-share{border:0!important;background:var(--ap372-action-bg)!important;border-radius:9px!important}
.ap372-action>.ap372-icon,.ap372-action>.ap372-icon.ap313-comment-icon{position:absolute!important;left:50%!important;bottom:3px!important;transform:translateX(-50%);width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;margin:0!important}
.ap372-action>.ap372-count{position:absolute;top:3px;right:4px;font-size:10px;line-height:1;font-weight:650;color:var(--text);max-width:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
.ap372-action:is(:hover,:focus-visible,:active),.ap315-row .ap315-icons>a.ap372-action:is(:hover,:focus-visible,:active){background:rgba(112,67,189,.15)!important}
.ap372-action:focus-visible{outline:2px solid var(--ap372-purple);outline-offset:2px}
.ap342-actions>.ap372-eye,.ap342-actions:not(:has(>.ap372-eye))>.ap372-chat{margin-left:auto!important}
.ap342-actions:has(>.ap372-eye)>.ap372-chat{margin-left:0!important}
.ap346-game-share{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:6px!important;flex-wrap:wrap}
.bars-page .bars-paper-links>a.ap372-action{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;flex:0 0 36px!important;border-radius:9px!important}
.bars-paper-links .ap372-action>.ap372-icon{width:22px!important;height:22px!important;bottom:2px!important}
.bars-paper-links .ap372-action>.ap372-count{top:2px;right:3px}
.ap338-card .ap369-yay-footer{flex-wrap:wrap!important;align-items:center!important;gap:5px!important}
.ap338-card .ap369-yay-icons{margin-left:auto!important;gap:5px!important}
form .ap363-comment-actions>.ap363-comment-submit .ap372-icon{width:19px!important;height:19px!important;margin:0!important}
.sports-new-comment .ap363-comment-actions,.sports-reply-form .ap363-comment-actions{justify-content:flex-end!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important}
.sports-new-comment .ap363-comment-actions>.ap363-comment-submit,.sports-reply-form .ap363-comment-actions>.ap363-comment-submit{width:auto!important;align-self:center!important}

/* Full Battle share is deliberately monochrome; entry shares keep their branded artwork. */
.ap346-share.ap373-full-battle-share>.ap314-share-art{color:#111!important;filter:none!important;pointer-events:none}
html[data-ap332-theme="dark"] .ap346-share.ap373-full-battle-share>.ap314-share-art{color:#fff!important}

/* v0.3.75: match the Battle paper palette and compact comment share. */
:root{--ap375-paper-odd:#8a55c7;--ap375-paper-even:#23afb5}
.bars-paper-card{border-top-color:var(--ap375-paper-odd)}
.bars-paper-card:nth-child(even){border-top-color:var(--ap375-paper-even)}
.bars-feed-card .bars-feed-content.ap375-counter{margin-top:10px;border-top-color:var(--ap375-paper-odd)}
.bars-feed-card .bars-feed-content.ap375-counter.ap375-even{border-top-color:var(--ap375-paper-even)}
.ap375-entry-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.ap375-counter .bars-feed-opening{white-space:pre-wrap;overflow-wrap:anywhere}
.bars-feed-card .ap375-feed-reactions,.bars-feed-card .ap375-counter .ap334-entry-reactions{margin:4px 0 0}
.bars-feed-card .ap334-entry-reactions{min-height:0!important;padding-block:4px!important}
.bars-feed-card .ap334-entry-reactions .bars36-used:empty{display:none}
.ap375-view-entries{margin:4px 0}
.bars75-comment button.ap346-share{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border:0!important;border-radius:10px!important;padding:0!important}
.bars75-comment button.ap346-share .ap314-share-art{width:20px!important;height:20px!important;bottom:2px!important}
.bars75-comment button.ap346-share .ap346-count{font-size:9px!important;top:2px!important;right:3px!important}
.bars-comment:target{outline:2px solid #8050c5;border-radius:8px;scroll-margin-top:80px}
.ap375-yay-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px}
.ap375-yay-grid>.ap338-card{width:auto;min-width:0;max-width:none;box-sizing:border-box}

/* v0.3.76: compact entry-only actions inside each homepage Bars box.
   The existing reaction widget can replace itself without replacing its share sibling. */
.bars-feed-card .ap376-entry-actions{--ap376-control:28px;display:grid;grid-template-columns:minmax(0,1fr) var(--ap376-control);align-items:center;gap:6px;margin-top:8px;min-width:0;overflow:visible}
.bars-feed-card .ap376-entry-actions>.ap334-entry-reactions{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;margin:0!important;padding:0!important;min-height:0!important;min-width:0;width:100%;overflow:visible}
.bars-feed-card .ap376-entry-actions .bars36-used{grid-column:1;grid-row:1;min-width:0}
.bars-feed-card .ap376-entry-actions .ap334-entry-controls{grid-column:2;grid-row:1;justify-content:flex-end;gap:4px}
.bars-feed-card .ap376-entry-actions [data-bars75-status]:empty{display:none}
.bars-feed-card .ap376-entry-actions .ap334-entry-controls>.bars36-picker>summary,.bars-feed-card .ap376-entry-actions .ap334-entry-controls>.bars36-login{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box!important;width:var(--ap376-control)!important;height:var(--ap376-control)!important;min-width:var(--ap376-control)!important;min-height:var(--ap376-control)!important;max-width:var(--ap376-control)!important;padding:0!important;margin:0!important;border-radius:7px!important;font-size:17px!important;line-height:1!important;text-decoration:none;background:#eee7f8}
.bars-feed-card .ap376-entry-actions>button.ap346-share{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box!important;width:var(--ap376-control)!important;height:var(--ap376-control)!important;min-width:var(--ap376-control)!important;min-height:var(--ap376-control)!important;max-width:var(--ap376-control)!important;flex:0 0 var(--ap376-control)!important;margin:0!important;padding:0!important;border:0!important;border-radius:7px!important;background:var(--ap372-action-bg)!important;box-shadow:none!important}
.bars-feed-card .ap376-entry-actions>button.ap346-share>.ap314-share-art{width:17px!important;height:17px!important;max-width:17px!important;bottom:2px!important}
.bars-feed-card .ap376-entry-actions>button.ap346-share>.ap346-count{font-size:9px;top:2px;right:2px;max-width:24px}
.bars-feed-card .ap376-entry-actions>button.ap346-share:focus-visible,.bars-feed-card .ap376-entry-actions .bars36-login:focus-visible{outline:2px solid var(--ap372-purple);outline-offset:2px}
.bars-feed-card .bars-feed-content.ap375-counter{margin-top:0}
html[data-ap332-theme="dark"] .bars-feed-card .ap376-entry-actions .ap334-entry-controls>.bars36-login{background:#192536;color:#eef3ff}
@media(pointer:coarse){.bars-feed-card .ap376-entry-actions{--ap376-control:36px}}

/* v0.3.77: full-width, category-tinted author bands on the homepage feed.
   Use the same palette as the existing category pills (comment-icons313.css).
   Do not clip the existing action menus or change non-feed author headers. */
.ap-personal-feed > .post-card{--ap377-feed-pad:20px;--ap377-header-rgb:37,99,235;--ap377-header-alpha:.10;padding:var(--ap377-feed-pad)}
@media(max-width:600px){.ap-personal-feed > .post-card{--ap377-feed-pad:15px}}
.ap-personal-feed > .post-card:has(> .by .pill-question){--ap377-header-rgb:13,148,136}
.ap-personal-feed > .post-card:has(> .by .pill-rant){--ap377-header-rgb:121,75,190}
.ap-personal-feed > .bars-feed-card{--ap377-header-rgb:220,38,38}
html[data-ap332-theme="dark"] .ap-personal-feed > .post-card{--ap377-header-alpha:.14}
.ap-personal-feed > .post-card > .by{
 align-self:stretch;
 margin:calc(-1 * var(--ap377-feed-pad)) calc(-1 * var(--ap377-feed-pad)) 0;
 padding:12px var(--ap377-feed-pad);
 background-color:rgba(var(--ap377-header-rgb),var(--ap377-header-alpha));
 border-radius:16px 16px 0 0;
 min-width:0;
}
/* Keep the reaction artwork/labels and compact buttons at their current size. */
.ap-personal-feed > .bars-feed-card .ap376-entry-actions{margin-top:16px}
.ap-personal-feed > .bars-feed-card .ap376-entry-actions .bars36-used{justify-content:flex-start;justify-self:stretch;text-align:left}
