/* Compact, non-sticky activity strip. Fits the same gutters as the shared footer. */
.community-presence{padding-block:12px;color:#d5d9df}
.community-presence__bar{position:relative;display:flex;align-items:center;gap:12px;min-height:38px;padding:4px 12px;border:1px solid #e7e7e725;border-radius:7px;background:linear-gradient(110deg,#f57c0010,#ffffff04 42%,#ffffff02);box-shadow:inset 0 1px #ffffff08;font:400 12px/20px var(--body,sans-serif)}
.community-presence__heading{display:flex;align-items:center;gap:8px;flex:none;white-space:nowrap}
.community-presence__heading h2{margin:0;font:550 13px/20px var(--heading,sans-serif);letter-spacing:-.025em;color:#f2f1ed}
.community-presence__dot{width:6px;height:6px;flex:none;border-radius:50%;background:#60b391;box-shadow:0 0 0 3px #60b39112}
.community-presence__window{font-size:11px;color:#aab4c0}
.community-presence__source{display:flex;align-items:center;gap:10px;min-width:0;flex:1;padding-left:12px;border-left:1px solid #e7e7e71f}
.community-presence__source>a{font-weight:600;color:#edc398;white-space:nowrap;text-decoration:none;text-underline-offset:3px}
.community-presence__source>a:hover{text-decoration:underline}
.community-presence__source>a:focus-visible,.community-presence__help summary:focus-visible{outline:2px solid #f7a649;outline-offset:4px;border-radius:3px}
.community-presence__source dl{display:flex;align-items:center;justify-content:space-between;flex:1;gap:9px;margin:0;min-width:0}
.community-presence__source dl>div{display:flex;align-items:baseline;gap:5px;white-space:nowrap}
.community-presence__source dt{font-size:11px;color:#aab4c0}.community-presence__source dd{margin:0;min-width:1ch;text-align:right;font:550 13px/20px var(--heading,sans-serif);font-variant-numeric:tabular-nums;color:#f2f1ed}
.community-presence__state{color:#edc398;font-size:10px;white-space:nowrap}.community-presence__state:empty{display:none}
.community-presence__help{flex:none}.community-presence__help summary{list-style:none;display:grid;place-items:center;width:28px;height:28px;border:1px solid #e7e7e729;border-radius:50%;font:600 12px/1 var(--heading,sans-serif);cursor:pointer;color:#b7bec9}.community-presence__help summary::-webkit-details-marker{display:none}
.community-presence__help[open] summary{border-color:#f57c0080;color:#f8b363}
.community-presence__help p{position:absolute;z-index:10;right:0;bottom:calc(100% + 8px);width:min(510px,100%);margin:0;padding:18px 20px;border:1px solid #e7e7e730;border-radius:8px;box-shadow:0 12px 35px #0004;background:#171d23;color:#d5d9df;font:400 13px/1.65 var(--body,sans-serif)}
.community-presence__noscript{font-size:12px;margin:5px 0 0;color:#aab4c0}
[data-theme=light] .community-presence{color:#26313c}[data-theme=light] .community-presence__bar{border-color:#1e1e1e24;background:linear-gradient(110deg,#f57c000c,#ffffff75 55%,#eef1f3b0);box-shadow:inset 0 1px #fff9}[data-theme=light] .community-presence__heading h2,[data-theme=light] .community-presence__source dd{color:#26313c}[data-theme=light] .community-presence__window,[data-theme=light] .community-presence__source dt,[data-theme=light] .community-presence__help summary,[data-theme=light] .community-presence__noscript{color:#55616f}[data-theme=light] .community-presence__source{border-color:#1e1e1e21}[data-theme=light] .community-presence__source>a,[data-theme=light] .community-presence__state{color:#914400}[data-theme=light] .community-presence__help summary{border-color:#1e1e1e30}[data-theme=light] .community-presence__help p{background:#faf9f5;color:#26313c;border-color:#1e1e1e29}
.community-presence__source--website{flex:0 0 auto}.community-presence__source--website dl{flex:0 0 auto}.community-presence__help p a{text-decoration:underline;text-underline-offset:3px}
@media(min-width:1101px){.community-presence__bar{flex-wrap:nowrap}}
@media(max-width:1100px){.community-presence__bar{gap:12px;flex-wrap:wrap}.community-presence__heading{flex:1}.community-presence__source{flex:1 1 calc(50% - 20px);order:2}.community-presence__help{order:1}.community-presence__source[data-presence-source=mybb]{padding-left:0;border:0}.community-presence__source{gap:12px}}
@media(max-width:600px){.community-presence__source{flex-basis:100%;padding:5px 0 0;border:0;border-top:1px solid #e7e7e721}.community-presence__source[data-presence-source=mybb]{border-top:1px solid #e7e7e721;padding-top:5px}.community-presence__source>a{min-width:66px}.community-presence__source dl{gap:9px}.community-presence__source dl>div{gap:4px}.community-presence__bar{gap:4px 12px;padding:6px 10px}.community-presence__help summary{width:26px;height:26px}.community-presence__source dd{font-size:12px}[data-theme=light] .community-presence__source{border-top-color:#1e1e1e21}}
@media(forced-colors:active){.community-presence__bar,.community-presence__help p{background:Canvas;color:CanvasText;border-color:CanvasText}.community-presence__dot{background:CanvasText;box-shadow:none}}
@media print{.community-presence{display:none}}

/* Website count shares the heading row at existing smaller-screen breakpoints. */
@media(max-width:1100px){.community-presence__source--website{order:0;flex:0 0 auto;padding-left:10px}.community-presence__bar{column-gap:10px}.community-presence__source dt{font-size:10px}}
@media(max-width:600px){.community-presence__window{display:none}.community-presence__source--website{flex:0 0 auto;order:0;padding:0 0 0 9px;border:0;border-left:1px solid #e7e7e721;gap:6px}.community-presence__source--website>a{min-width:0}.community-presence__source--website dl{gap:0}.community-presence__source--website dl>div{gap:4px}.community-presence__heading{gap:6px}.community-presence__heading h2{font-size:12px}.community-presence__source--website .community-presence__state{max-width:60px;overflow:hidden;text-overflow:ellipsis}[data-theme=light] .community-presence__source--website{border-left-color:#1e1e1e21}}
