/* Statsora - Article stats badges */
.statsora-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.statsora-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: background 150ms, border-color 150ms;
}
.statsora-badge:hover { background: #e2e8f0; }
.statsora-badge strong { font-weight: 700; color: #0f172a; }
.statsora-icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.statsora-views .statsora-icon { color: #2563eb; }
.statsora-downloads .statsora-icon { color: #059669; }
.statsora-doi {
    color: #9333ea;
    font-size: 0.75rem;
    font-family: ui-monospace, SFMono-Regular, monospace;
}
.statsora-doi .statsora-icon { color: #9333ea; }
.statsora-doi:hover { background: #f3e8ff; border-color: #d8b4fe; }

/* TOC compact badges */
.statsora-toc-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: #64748b;
}
.statsora-toc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: inherit;
}
.statsora-toc-badge:hover { color: #0f172a; }
.statsora-toc-icon { width: 0.875rem; height: 0.875rem; }
.statsora-toc-doi {
    color: #7c3aed;
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: 0.6875rem;
}
.statsora-toc-doi:hover { color: #5b21b6; }
