.qbb-module,
.qbb-module * {
    box-sizing: border-box;
}

.hero-live-wall .hero-col.right-col.qbb-mounted {
    min-width: 0;
    overflow: hidden;
}

.qbb-module {
    --qbb-red: #ff2a2a;
    --qbb-surface: #090909;
    --qbb-line: rgba(255, 255, 255, 0.13);
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 468px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 95% 0%, rgba(255, 42, 42, 0.16), transparent 35%),
        var(--qbb-surface);
    border-top: 4px solid var(--qbb-red);
    font-family: inherit;
}

.qbb-header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 66px;
    padding: 15px 16px 13px;
    background: rgba(9, 9, 9, 0.97);
    border-bottom: 1px solid var(--qbb-line);
}

.qbb-heading {
    margin: 0;
    color: #fff;
    font-size: clamp(17px, 1.25vw, 21px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.qbb-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    color: #bdbdbd;
    font-size: 11px;
    white-space: nowrap;
}

.qbb-live::before {
    width: 7px;
    height: 7px;
    content: "";
    border-radius: 50%;
    background: var(--qbb-red);
    box-shadow: 0 0 0 4px rgba(255, 42, 42, 0.15);
}

.qbb-viewport {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.qbb-viewport::before,
.qbb-viewport::after {
    position: absolute;
    z-index: 2;
    right: 0;
    left: 0;
    height: 28px;
    content: "";
    pointer-events: none;
}

.qbb-viewport::before {
    top: 0;
    background: linear-gradient(#090909, transparent);
}

.qbb-viewport::after {
    bottom: 0;
    background: linear-gradient(transparent, #090909);
}

.qbb-track {
    display: flex;
    flex-direction: column;
    will-change: transform;
    animation: qbb-scroll var(--qbb-duration, 34s) linear infinite;
}

.qbb-module:hover .qbb-track,
.qbb-module:focus-within .qbb-track,
.qbb-module.is-detail .qbb-track {
    animation-play-state: paused;
}

.qbb-group {
    display: flex;
    flex-direction: column;
}

.qbb-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 104px;
    padding: 15px 16px 14px 48px;
    color: #fff;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--qbb-line);
    border-radius: 0;
    cursor: pointer;
    appearance: none;
}

.qbb-card:hover,
.qbb-card:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.qbb-rank {
    position: absolute;
    top: 17px;
    left: 15px;
    color: var(--qbb-red);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.qbb-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #9c9c9c;
    font-size: 10px;
    line-height: 1;
}

.qbb-source {
    display: inline-flex;
    padding: 4px 6px;
    color: #fff;
    font-weight: 800;
    background: var(--qbb-red);
}

.qbb-title {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qbb-excerpt {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    color: #c9c9c9;
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.qbb-detail {
    position: absolute;
    z-index: 5;
    inset: 66px 0 0;
    display: none;
    flex-direction: column;
    padding: 18px 17px 16px;
    overflow: auto;
    color: #fff;
    background: #0b0b0b;
}

.qbb-module.is-detail .qbb-detail {
    display: flex;
}

.qbb-detail-back {
    align-self: flex-start;
    margin: 0 0 18px;
    padding: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.qbb-detail-back:hover,
.qbb-detail-back:focus-visible {
    color: var(--qbb-red);
    outline: none;
}

.qbb-detail-source {
    align-self: flex-start;
    padding: 5px 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    background: var(--qbb-red);
}

.qbb-detail-title {
    margin: 13px 0 11px;
    color: #fff;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.4;
}

.qbb-detail-summary {
    margin: 0;
    color: #d3d3d3;
    font-size: 14px;
    line-height: 1.85;
}

.qbb-detail-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 16px;
    color: #ff5b5b;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.qbb-detail-link:hover,
.qbb-detail-link:focus-visible {
    color: #fff;
}

.qbb-empty {
    display: grid;
    min-height: 300px;
    padding: 24px;
    place-items: center;
    color: #aaa;
    font-size: 14px;
}

@keyframes qbb-scroll {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@media (max-width: 768px) {
    .qbb-module {
        min-height: 430px;
    }

    .qbb-heading {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qbb-track {
        animation: none;
    }

    .qbb-viewport {
        overflow-y: auto;
    }
}

