/* Loaded directly by the Dusk layout so this component needs no Vite rebuild. */
.sparks-online {
    box-sizing: border-box;
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 0.375rem;
    padding: 0.1875rem 0.3125rem 0.1875rem 0.5rem;
    border: 1px solid rgb(216 180 254 / 72%);
    border-radius: 9999px;
    background: linear-gradient(115deg, #4b197d, #722ed1 58%, #4c1d95);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.125rem;
    white-space: nowrap;
}

.sparks-online__icon {
    width: 1.125rem;
    height: 1.125rem;
    object-fit: contain;
    image-rendering: pixelated;
}

.sparks-online__count {
    min-inline-size: 1.375rem;
    padding-inline: 0.3125rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 19%);
    font-variant-numeric: tabular-nums;
    text-align: center;
}

@media (max-width: 480px) {
    .sub-header:has(.sparks-online),
    .sub-header__row:has(.sparks-online) {
        height: auto;
        min-height: 40px;
    }

    .sub-header__row:has(.sparks-online) {
        flex-wrap: wrap;
        gap: 0.25rem 0.5rem;
        padding-block: 0.25rem;
    }

    .sub-header__links:has(.sparks-online) {
        flex-wrap: wrap;
        gap: 0.25rem 0.5rem;
    }
}
