/* Neutral official-publisher identity; the Poll badge retains its existing blue. */
html body :is(.post-card,.detail,.ap338-card).ap513-official {
 --ap377-header-rgb:128,137,150!important;
 --ap503-accent:#808996!important;
 --ap378-inset-line:rgba(128,137,150,.35)!important;
 border-top:5px solid #808996!important;
}
html body :is(.post-card,.detail).ap513-official > .by {
 background:rgba(128,137,150,.16)!important;
}
html body :is(.post-card,.detail).ap513-official > .ap502-content-inset {
 border-top-color:rgba(128,137,150,.35)!important;
}
html body .ap513-official.ap503-selected > :is(.by,.ap502-content-inset) {
 background-color:color-mix(in srgb,#808996 15%,var(--ap378-inset,#f7f5fa))!important;
}
html body .ap513-logo {object-fit:contain;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;flex:none}
.ap513-yay-header{display:flex;align-items:center;gap:8px;padding:6px 0 8px}
.ap513-yay-header>.pill{margin-left:auto}
.ap513-publish{margin-bottom:6px}

/* Detail pages: match the feed's full-width official author band.
   The gray tint reaches the card edges without changing the blue Poll badge. */
html body .detail.ap513-official {
 --ap515-detail-pad:20px;
 padding:var(--ap515-detail-pad);
}
html body .detail.ap513-official > .by {
 box-sizing:border-box;
 width:calc(100% + 2 * var(--ap515-detail-pad));
 max-width:none;
 margin:calc(-1 * var(--ap515-detail-pad)) calc(-1 * var(--ap515-detail-pad)) 12px;
 padding:12px var(--ap515-detail-pad);
 align-self:stretch;
 border-radius:12px 12px 0 0;
 min-width:0;
}
@media(max-width:600px){
 html body .detail.ap513-official{--ap515-detail-pad:15px}
 html body .detail.ap513-official > .by{padding-block:9px}
}
