/* BBMnet / Freccerosse v1.0.1 - formato compatto in una sola riga, topbar-r.
 * La correzione e' scoped al modulo: non modifica la topbar T4 globale. */
.fr-counter {
    --fr-counter-accent: #c7475b;
    box-sizing: border-box;
    display: block;
    width: min(360px, 100%);
    max-width: 100%;
    min-width: 0;
    height: 44px;
    margin: 0 0 0 auto;
    font-family: inherit;
    color: #242b33;
}
.fr-counter *,
.fr-counter *::before,
.fr-counter *::after { box-sizing: border-box; }
.fr-counter__body {
    isolation: isolate;
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 5px 12px 5px 16px;
    overflow: hidden;
    border: 1px solid rgba(30, 40, 53, .11);
    border-radius: 10px;
    background: linear-gradient(112deg, #fff 0%, #fff 65%, #fff8f9 100%);
    box-shadow: 0 4px 12px rgba(22, 35, 48, .085);
    white-space: nowrap;
}
.fr-counter__body::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--fr-counter-accent);
}
.fr-counter__mark {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #fdf0f2;
    color: var(--fr-counter-accent);
}
.fr-counter__mark svg {
    display: block;
    width: 17px;
    height: 17px;
}
.fr-counter__info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 11px;
    flex: 1 1 auto;
    min-width: 0;
}
.fr-counter__eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 auto;
    min-width: 0;
    color: #606a75;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1;
    text-transform: uppercase;
}
.fr-counter__label {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.fr-counter__dot {
    display: inline-block;
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fr-counter-accent);
}
.fr-counter__value {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    color: #202937;
    font-size: 26px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -.035em;
    font-variant-numeric: tabular-nums lining-nums;
    white-space: nowrap;
}
/* La descrizione resta leggibile agli screen reader, ma non occupa una seconda riga. */
.fr-counter__subtitle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* La freccia decorativa grande e' rimossa per evitare ingombri in topbar. */
.fr-counter__decor { display: none; }
.fr-counter--flash .fr-counter__value { animation: frcounter-tick .3s ease-out; }
@keyframes frcounter-tick {
    0% { opacity: .55; transform: translateY(2px); }
    100% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
    .fr-counter { width: min(320px, 100%); }
    .fr-counter__body { gap: 8px; padding-right: 9px; padding-left: 12px; }
    .fr-counter__mark { flex-basis: 26px; width: 26px; height: 26px; }
    .fr-counter__info { gap: 8px; }
    .fr-counter__eyebrow { font-size: 9px; }
    .fr-counter__value { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .fr-counter--flash .fr-counter__value { animation: none; }
}
