.bff {
    --bff-red: #e5232b;
    --bff-ink: #0a0a0a;
    --bff-line: #2a2a2a;
    --bff-panel: #161616;
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: var(--bff-h, 100svh);
    background: var(--bff-ink);
    color: #fff;
    font-family: Archivo, system-ui, sans-serif;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.bff a { color: inherit; text-decoration: none; }
.bff button { font: inherit; }
.bff__glow {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 50% at 50% 100%, rgba(229, 35, 43, .18), transparent 70%);
}
.bff__col {
    position: relative; width: 100%; max-width: 520px; height: 100%;
    box-shadow: 0 0 0 1px #1f1f1f; display: flex; flex-direction: column; background: var(--bff-ink);
}
@media (min-width: 1000px) { .bff__col { max-width: 1100px; } }

.bff__head {
    position: absolute; top: 0; left: 0; right: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 16px 18px; background: linear-gradient(#0a0a0a 30%, transparent); pointer-events: none;
}
.bff__brand, .bff__tools { display: flex; align-items: center; gap: 8px; pointer-events: auto; white-space: nowrap; }
.bff__pill {
    background: var(--bff-red); font-family: Anton, Impact, sans-serif; font-size: 13px; letter-spacing: .06em;
    text-transform: uppercase; padding: 5px 8px; border-radius: 4px;
}
.bff__sub { font-size: 12px; font-weight: 700; color: #d4d4d4; }
.bff__seen { font-size: 12px; font-weight: 700; color: #9a9a9a; white-space: nowrap; }
.bff__ghost {
    border: 1px solid var(--bff-line); background: var(--bff-panel); color: #fff; border-radius: 999px;
    padding: 7px 12px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.bff__ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 420px) {
    .bff__seen, .bff__sub { display: none; }
    .bff__ghost { padding: 6px 10px; }
    .bff__add { font-size: 12px; letter-spacing: .03em; padding: 0 10px; gap: 8px; }
    .bff__add span { white-space: nowrap; }
}

.bff__feed {
    flex: 1; min-height: 0; overflow-y: scroll; scroll-snap-type: y mandatory;
    scrollbar-width: none; overscroll-behavior: contain; outline: none;
}
.bff__feed::-webkit-scrollbar { display: none; }
.bff__card {
    position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always;
    display: flex; flex-direction: column; overflow: hidden;
}
.bff__media {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 70px 24px 250px;
}
.bff__media img {
    max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6));
}
.bff__fade {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, #0a0a0a 0%, rgba(10, 10, 10, .92) 22%, rgba(10, 10, 10, 0) 55%);
}
.bff__pct {
    position: absolute; top: 60px; left: 16px; background: var(--bff-red);
    font-family: Anton, Impact, sans-serif; font-size: 40px; line-height: 1; padding: 10px 14px; border-radius: 6px;
    box-shadow: 0 10px 30px rgba(229, 35, 43, .4);
}
.bff__flag {
    position: absolute; top: 60px; right: 16px; background: #fff; color: var(--bff-red);
    font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 4px;
}
.bff__flag--kind { background: #facc15; color: #111; }

.bff__rail {
    position: absolute; right: 12px; bottom: 250px; z-index: 2;
    display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.bff__round {
    border: 0; cursor: pointer; width: 48px; height: 48px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .4); transition: background .2s, transform .2s;
}
.bff__round:hover { transform: scale(1.06); }
.bff__round.is-on { background: var(--bff-red); animation: bff-pop .35s ease; }

.bff__info { position: relative; margin-top: auto; padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.bff__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #d4d4d4; flex-wrap: wrap; }
.bff__maker { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9a9a9a; }
.bff__stars-on { color: #facc15; letter-spacing: 1px; }
.bff__stars-off { color: #4a4a4a; letter-spacing: 1px; }
.bff__name {
    margin: 0; color: #fff; font-family: Anton, Impact, sans-serif; font-weight: 400;
    font-size: clamp(28px, 8vw, 40px); line-height: 1; text-transform: uppercase; text-wrap: balance;
    padding-right: 60px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bff__blurb {
    margin: 0; font-size: 14px; line-height: 1.45; color: #bdbdbd;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bff__price { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; flex-wrap: wrap; }
.bff__price b { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 44px; line-height: 1; color: var(--bff-red); }
.bff__price s { font-size: 16px; color: #9a9a9a; }
.bff__price span { margin-left: auto; font-size: 12px; font-weight: 700; color: #fff; }
.bff__actions { display: flex; gap: 8px; }
.bff__add {
    flex: 1; border: 0; cursor: pointer; min-height: 52px; border-radius: 6px; padding: 0 12px;
    background: var(--bff-red); color: #fff; font-weight: 900; font-size: 14px; letter-spacing: .1em;
    text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: background .2s, color .2s;
}
.bff__add:hover { background: #c81c23; }
.bff__add.is-in { background: #fff; color: #111; }
.bff__add:disabled { opacity: .7; cursor: progress; }
.bff__details {
    min-height: 52px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--bff-line); background: var(--bff-panel);
    display: flex; align-items: center; font-size: 13px; font-weight: 700;
}
.bff__details:hover { border-color: #fff; }
.bff__hint {
    display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12px; color: #9a9a9a;
    margin-top: 4px; animation: bff-bob 1.4s ease-in-out infinite;
}

@media (min-width: 1000px) {
    .bff__col { max-width: 1180px; }
    .bff__card {
        display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
        gap: 56px; align-items: center; padding: 68px 48px 36px;
    }
    .bff__media {
        position: relative; inset: auto; height: 100%; min-height: 0; padding: 40px;
        border-radius: 18px; overflow: hidden;
        background: radial-gradient(70% 60% at 50% 40%, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    }
    .bff__media img { width: 100%; height: 100%; }
    .bff__fade { display: none; }
    .bff__pct { top: 88px; left: 68px; font-size: 46px; }
    .bff__flag { top: 92px; right: auto; left: auto; }
    .bff__flag { left: calc(68px + 150px); }
    .bff__rail { right: auto; left: 68px; bottom: 56px; flex-direction: row; }
    .bff__info { margin: 0; padding: 0; width: auto; gap: 14px; }
    .bff__name { font-size: clamp(38px, 3.2vw, 48px); padding-right: 0; }
    .bff__blurb { font-size: 15px; -webkit-line-clamp: 4; }
    .bff__price b { font-size: 56px; }
    .bff__price span { margin-left: 0; color: #d4d4d4; }
    .bff__actions { margin-top: 6px; }
    .bff__hint { display: none; }
}

.bff__arrows { display: none; }
@media (min-width: 1240px) {
    .bff__arrows {
        position: absolute; right: -64px; top: 50%; transform: translateY(-50%);
        display: flex; flex-direction: column; gap: 10px;
    }
}
.bff__arrow {
    border: 1px solid var(--bff-line); background: var(--bff-panel); color: #fff; width: 48px; height: 48px;
    border-radius: 999px; font-size: 18px; cursor: pointer;
}
.bff__arrow--next { background: var(--bff-red); border-color: var(--bff-red); }

.bff__empty { margin: auto; padding: 24px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; color: #d4d4d4; }
.bff__btn { background: var(--bff-red); color: #fff !important; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; padding: 14px 22px; border-radius: 6px; }

.bff__toast {
    position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 25;
    background: #fff; color: #111; border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4); display: flex; gap: 10px; align-items: center; white-space: nowrap;
}
.bff__toast a { color: var(--bff-red) !important; text-decoration: underline; }

@keyframes bff-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes bff-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .bff__hint, .bff__round.is-on { animation: none; }
}
