/* (c) UnlockRapide - unlockrapide.com */
.bf-ribbon {
    position: relative; z-index: 5;
    height: 44px; background: #0a0c11; color: #fff;
}
.bf-ribbon-in {
    width: min(1280px, calc(100% - 28px)); height: 100%; margin: 0 auto;
    display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1;
}
.bf-ribbon-k {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.bf-ribbon-k svg { display: block; width: 16px; height: 16px; flex: none; color: #f2b84b; }
.bf-ribbon-p {
    display: inline-flex; align-items: center; flex: none; height: 22px; padding: 0 8px;
    border-radius: 6px; background: #f2b84b; color: #1c1404;
    font-size: 12.5px; font-weight: 850; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.bf-ribbon-sep { width: 1px; height: 16px; flex: none; background: rgba(255, 255, 255, .22); }
.bf-ribbon-d { min-width: 0; overflow: hidden; color: rgba(255, 255, 255, .78); white-space: nowrap; text-overflow: ellipsis; }
.bf-ribbon-d::first-letter { text-transform: uppercase; }
.bf-ribbon-sp { flex: 1; }
.bf-ribbon-l { flex: none; color: rgba(255, 255, 255, .66); font-size: 12.5px; white-space: nowrap; }
.bf-cd { display: flex; align-items: center; gap: 4px; flex: none; font-variant-numeric: tabular-nums; }
.bf-cd-u {
    display: inline-flex; align-items: baseline; justify-content: center; gap: 2px;
    min-width: 44px; height: 28px; padding: 7px 8px 0; border-radius: 7px;
    background: rgba(255, 255, 255, .09); font-size: 13.5px; font-weight: 750; line-height: 1;
}
.bf-cd-u b { font-weight: inherit; }
.bf-cd-u small { color: rgba(255, 255, 255, .62); font-size: 10.5px; font-weight: 600; }
@media (max-width: 860px) {
    .bf-ribbon-sep, .bf-ribbon-d, .bf-ribbon-l { display: none; }
}
@media (max-width: 560px) {
    .bf-ribbon { height: 40px; }
    .bf-ribbon-in { gap: 8px; width: calc(100% - 24px); font-size: 12px; }
    .bf-ribbon-k { gap: 6px; font-size: 11px; letter-spacing: .1em; }
    .bf-ribbon-k svg { width: 14px; height: 14px; }
    .bf-ribbon-p { height: 20px; padding: 0 6px; font-size: 11.5px; }
    .bf-cd { gap: 3px; }
    .bf-cd-u { min-width: 0; height: 24px; padding: 6px 5px 0; font-size: 12px; }
    .bf-cd-u small { font-size: 9.5px; }
}
@media (max-width: 359px) {
    .bf-ribbon-k svg { display: none; }
}

.nx-hero > .bf-stars {
    position: absolute; inset: 0; z-index: 0;
    display: block; width: 100%; height: 100%; pointer-events: none;
}

.nx-card > .bf-tag {
    position: absolute; top: 0; right: 16px; z-index: 3;
    display: flex; flex-direction: column; align-items: center; pointer-events: none;
    transform-origin: 50% 0; transform: rotate(-2deg);
    animation: bf-swing 1.5s cubic-bezier(.3, .7, .4, 1) .35s both;
}
.bf-tag-s { display: block; width: 1.5px; height: 14px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 .5px rgba(10, 12, 17, .3); }
.bf-tag-b {
    position: relative; display: block; min-width: 54px; padding: 13px 8px 6px;
    border: 1.5px solid #fff; border-radius: 7px; background: #0a0c11; color: #fff;
    font-size: 14px; font-weight: 850; line-height: 1; letter-spacing: -.01em; text-align: center;
    white-space: nowrap; font-variant-numeric: tabular-nums;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .32);
}
.bf-tag-b::before {
    content: ""; position: absolute; top: 4px; left: 50%;
    width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #fff;
}
@keyframes bf-swing {
    0% { transform: rotate(16deg); }
    35% { transform: rotate(-6deg); }
    65% { transform: rotate(3deg); }
    100% { transform: rotate(-2deg); }
}

@media (max-width: 960px) {
    .nx-hero .nx-fan-card > .bf-tag { right: 9px; }
    .nx-hero .nx-fan-card .bf-tag-s { height: 8px; }
    .nx-hero .nx-fan-card .bf-tag-b { min-width: 38px; padding: 9px 5px 4px; border-width: 1px; font-size: 10.5px; }
    .nx-hero .nx-fan-card .bf-tag-b::before { top: 3px; width: 4px; height: 4px; margin-left: -2px; }
}

.nx-hero .nx-fan .nx-fan-card .bf-was { display: none; }

.shop-service-row .service-thumb > .bf-pill {
    position: absolute; top: 5px; right: 5px; z-index: 2;
    display: grid; place-items: center; height: 20px; padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, .85); border-radius: 6px; background: #0a0c11; color: #fff;
    font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .28); pointer-events: none;
}

.bf-was {
    flex: none; margin-right: 6px;
    color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap;
    font-variant-numeric: tabular-nums; text-decoration: line-through; text-decoration-thickness: 1.5px;
}

@media (prefers-reduced-motion: reduce) {
    .nx-card > .bf-tag { animation: none; }
}
