.qb-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--qb-surface);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.qb-cookie-banner[hidden] {
    display: none !important;
}

.qb-cookie-banner__link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.qb-cookie-banner__link:hover {
    color: var(--qb-accent);
}

.qb-music-player {
    margin-top: 0.75rem;
}

.qb-spotify-embed {
    display: block;
    border: 0;
    border-radius: 12px;
    max-width: 100%;
}

.qb-spotify-embed-host {
    width: 100%;
    min-height: 152px;
    border-radius: 12px;
    overflow: hidden;
}

.qb-spotify-embed-host--compact {
    min-height: 80px;
    border-radius: 8px;
}

.qb-music-player--compact .qb-spotify-embed {
    border-radius: 8px;
}

.qb-track-card__cover {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
}

.qb-track-play-btn {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
}

.qb-track-play-btn.is-playing {
    box-shadow: 0 0 0 3px rgba(var(--qb-accent-rgb), 0.25);
}

.qb-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.qb-breadcrumb__item:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--tblr-secondary);
}

.qb-breadcrumb__item a {
    color: var(--tblr-secondary);
    text-decoration: none;
}

.qb-breadcrumb__item a:hover {
    color: var(--qb-accent);
}

.qb-breadcrumb__item--current {
    color: var(--qb-text);
}

.qb-seo-page {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.qb-seo-landing__hero {
    padding: 2rem 0 2.75rem;
    background: linear-gradient(160deg, rgba(var(--qb-accent-rgb), 0.14) 0%, var(--qb-bg) 45%, var(--qb-surface) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.qb-seo-landing__hero--compact {
    padding: 1.25rem 0 1rem;
}

.qb-seo-landing__hero--compact .qb-seo-landing__hero-inner {
    margin-top: 0.5rem;
}

.qb-seo-landing__hero--compact .qb-seo-landing__title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    margin-bottom: 0.5rem;
}

.qb-seo-landing__hero--compact .qb-seo-landing__intro {
    margin-bottom: 0;
}

.qb-seo-landing__hero-inner {
    max-width: 42rem;
    margin-top: 1rem;
}

.qb-catalog-hero__grid {
    display: grid;
    gap: 1rem 1.25rem;
    align-items: center;
    margin-top: 1rem;
}

.qb-catalog-hero__grid--with-mascot {
    grid-template-columns: minmax(0, 1fr) minmax(5rem, 20%);
}

.qb-catalog-hero__mascot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
}

.qb-catalog-hero__mascot-img {
    display: block;
    width: auto;
    max-width: min(100%, calc(7.5rem + 100px));
    height: auto;
    max-height: clamp(calc(10rem + 100px), 28vh, calc(16rem + 100px));
    object-fit: contain;
}

@media (min-width: 768px) {
    .qb-catalog-hero__grid--with-mascot {
        grid-template-columns: 4fr 1fr;
        gap: 1.25rem 1.75rem;
    }

    .qb-catalog-hero__mascot-img {
        max-width: 100%;
        max-height: min(calc(16rem + 100px), 42vh);
    }
}

@media (min-width: 992px) {
    .qb-catalog-hero__grid--with-mascot {
        gap: 1.5rem 2rem;
    }

    .qb-catalog-hero__mascot {
        min-height: 100%;
        align-self: stretch;
    }

    .qb-catalog-hero__mascot-img {
        max-height: min(calc(16rem + 100px), 42vh);
    }

    .qb-catalog-hero__grid--with-mascot .qb-seo-landing__hero-inner {
        max-width: none;
        margin-top: 0;
    }
}

.qb-seo-landing__eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(var(--qb-accent-rgb), 0.12);
    color: var(--qb-accent);
    font-size: 0.875rem;
    font-weight: 600;
}

.qb-seo-landing__title {
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--qb-text);
}

.qb-seo-landing__intro {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--tblr-secondary, #64748b);
}

.qb-seo-landing__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.qb-seo-landing__highlight {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--qb-text);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.qb-seo-landing__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.qb-seo-landing__body {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem 0 3rem;
}

.qb-seo-landing__sections {
    margin-bottom: 0;
}

.qb-seo-landing__sections--stack .qb-seo-landing__card {
    box-shadow: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.qb-seo-landing__sections--stack .qb-seo-landing__card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Juridiska sidor – flytande text uppifrån och ned */
.qb-seo-landing--document .qb-seo-landing__hero--document {
    padding-bottom: 0;
}

.qb-seo-landing__body--document {
    padding-top: 1.5rem;
}

.qb-seo-landing--document .qb-seo-landing__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.qb-seo-landing--document .qb-seo-landing__intro {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.65;
}

.qb-seo-landing__body--document .qb-legal-document {
    margin-top: 2rem;
    margin-bottom: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.qb-legal-document {
    max-width: 42rem;
}

.qb-seo-landing__hero-inner.qb-legal-document {
    max-width: 42rem;
}

.qb-legal-document__section + .qb-legal-document__section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.qb-legal-document__heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.qb-legal-document__text {
    margin: 0 0 0.875rem;
    color: var(--tblr-secondary, #667382);
    line-height: 1.65;
}

.qb-legal-document__text:last-child {
    margin-bottom: 0;
}

.qb-seo-landing__card {
    position: relative;
    padding: 1.5rem 1.35rem 1.35rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    background: var(--qb-surface, #fff);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.qb-seo-landing__card-figure {
    margin: -1.5rem -1.35rem 1rem;
}

.qb-seo-landing__card-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--qb-bg, #f8fafc);
}

.qb-seo-landing__card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: var(--qb-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
}

.qb-seo-landing__card-title {
    margin-bottom: 0.75rem;
    color: var(--qb-accent);
}

.qb-seo-landing__card-text {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--tblr-secondary, #64748b);
}

.qb-seo-landing__card-text:last-child {
    margin-bottom: 0;
}

.qb-seo-landing__tip-group {
    margin-bottom: 0;
}

.qb-seo-landing__tip-group:last-of-type {
    margin-bottom: 0;
}

.qb-seo-landing__tip-group-title {
    margin-bottom: 1.25rem;
    color: var(--qb-accent);
}

.qb-seo-landing__tips {
    margin-bottom: 0;
}

.qb-seo-landing__tip {
    position: relative;
    padding: 1.35rem 1.35rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    background: var(--qb-surface, #fff);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.qb-seo-landing__tip-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: var(--qb-accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
}

.qb-seo-landing__tip-title {
    margin-bottom: 0.65rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--qb-text);
}

.qb-seo-landing__tip-text {
    margin-bottom: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--tblr-secondary, #64748b);
}

.qb-quiz-hero__together-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 34rem;
    margin: 0 0 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(var(--qb-accent-rgb), 0.1);
    border: 1px solid rgba(var(--qb-accent-rgb), 0.2);
    color: var(--tblr-body-color, #1e293b);
    font-size: 0.9375rem;
    font-weight: 500;
}

.qb-quiz-hero__together-note svg {
    flex: 0 0 auto;
    margin-top: 0.15rem;
    color: var(--qb-accent);
}

.qb-quiz-together {
    margin-bottom: 0;
    padding: 2.25rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(var(--qb-accent-rgb), 0.12) 0%, rgba(var(--qb-accent-rgb), 0.04) 100%);
    border: 1px solid rgba(var(--qb-accent-rgb), 0.18);
}

.qb-quiz-together__badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--qb-accent);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.qb-quiz-together__header {
    max-width: 44rem;
    margin: 0 auto 1.75rem;
}

.qb-quiz-together__lead {
    color: var(--tblr-secondary, #64748b);
}

.qb-quiz-together__step {
    height: 100%;
    padding: 1.25rem 1.25rem 1.35rem;
    border-radius: 0.9rem;
    background: var(--qb-surface, #fff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    font-size: 0.9375rem;
    color: var(--tblr-secondary, #475569);
}

.qb-quiz-together__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.6rem;
    border-radius: 50%;
    background: rgba(var(--qb-accent-rgb), 0.12);
    color: var(--qb-accent);
    font-weight: 800;
}

.qb-quiz-together__actions {
    margin-top: 1.75rem;
}

.qb-seo-landing__cta-panel {
    margin-bottom: 0;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(var(--qb-accent-rgb), 0.12) 0%, rgba(var(--qb-accent-rgb), 0.04) 100%);
    border: 1px solid rgba(var(--qb-accent-rgb), 0.18);
}

.qb-seo-landing__cta-panel-inner {
    max-width: 36rem;
    margin-inline: auto;
    text-align: center;
}

.qb-seo-landing__cta-panel-inner--form {
    max-width: 32rem;
}

.qb-seo-register__form-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    text-align: left;
}

.qb-seo-landing__cta-panel-text {
    color: var(--tblr-secondary, #64748b);
}

.qb-seo-landing__related {
    margin-bottom: 0;
}

.qb-seo-landing__faq {
    margin-bottom: 0;
}

.qb-seo-landing__back a {
    font-weight: 600;
}

.qb-wish-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.qb-feedback-form__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.qb-feedback-form__option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 5.5rem;
    padding: 0.75rem 0.5rem;
    border: 2px solid rgba(15, 23, 42, 0.12);
    border-radius: 1rem;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    text-align: center;
}

.qb-feedback-form__option:hover {
    border-color: rgba(244, 126, 74, 0.45);
}

.qb-feedback-form__option.is-selected {
    border-color: var(--tblr-primary, #f47e4a);
    box-shadow: 0 0 0 3px rgba(244, 126, 74, 0.18);
    background: rgba(244, 126, 74, 0.06);
}

.qb-feedback-form__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.qb-feedback-form__icon {
    width: 2rem;
    height: 2rem;
    color: var(--tblr-primary, #f47e4a);
}

.qb-feedback-form__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.qb-feedback-form__label {
    font-weight: 600;
    font-size: 0.95rem;
}

.qb-feedback-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.qb-feedback-badge--good {
    background: rgba(47, 179, 68, 0.12);
    color: #2fb344;
}

.qb-feedback-badge--ok {
    background: rgba(66, 153, 225, 0.12);
    color: #4299e1;
}

.qb-feedback-badge--bad {
    background: rgba(214, 57, 57, 0.12);
    color: #d63939;
}

.qb-home-stats__card--feedback .qb-home-stats__value {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.qb-quiz-share__menu {
    min-width: 12.5rem;
}

.qb-share-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 500;
}

.qb-share-link__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    color: #fff;
}

.qb-share-link__icon svg {
    display: block;
}

.qb-share-link--facebook .qb-share-link__icon {
    background: #1877f2;
}

.qb-share-link--instagram .qb-share-link__icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.qb-share-link--x .qb-share-link__icon {
    background: #000;
}

.qb-share-link--messages .qb-share-link__icon {
    background: #34c759;
}

.qb-share-link--email .qb-share-link__icon {
    background: #ea4335;
}

/* ---------------------------------------------------------------------------
   Katalogfilter och listvy
   --------------------------------------------------------------------------- */

.qb-catalog-filter__decades {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.qb-catalog__module-nav-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
}

.qb-catalog-filter__decades-label {
    font-size: 0.85rem;
    color: var(--tblr-secondary, #6c757d);
    margin-right: 0.25rem;
}

.qb-catalog-filter__chip {
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 2rem;
    background: #fff;
    color: var(--tblr-body-color, #1d273b);
    padding: 0.2rem 0.85rem;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

a.qb-catalog-filter__chip-link {
    text-decoration: none;
}

.qb-catalog-filter__chip:hover {
    border-color: var(--tblr-primary, #206bc4);
    color: var(--tblr-primary, #206bc4);
}

.qb-catalog-filter__chip--active,
.qb-catalog-filter__chip--active:hover {
    background: var(--tblr-primary, #206bc4);
    border-color: var(--tblr-primary, #206bc4);
    color: #fff;
}

.qb-catalog__results--loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.qb-catalog-filter--loading {
    opacity: 0.85;
}

.qb-catalog-toast {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 1080;
    transform: translateX(-50%) translateY(120%);
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    line-height: 1.3;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
    max-width: min(92vw, 28rem);
    text-align: center;
}

.qb-catalog-toast--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.qb-catalog-toast--error {
    background: rgba(180, 35, 24, 0.95);
}

.qb-quiz-card__meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 500;
}

/* Mjuk övergång när korten filtreras eller vyn växlas */
@keyframes qb-catalog-card-in-grid {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes qb-catalog-card-in-list {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.qb-catalog__grid .qb-catalog__item {
    animation: qb-catalog-card-in-grid 0.25s ease;
}

.qb-catalog__grid.qb-catalog--list .qb-catalog__item {
    animation: qb-catalog-card-in-list 0.25s ease;
}

/* Listvy: korten blir kompakta horisontella rader */
.qb-catalog--list > .qb-catalog__item {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .qb-catalog--list .qb-home-quiz-card {
        flex-direction: row;
        align-items: center;
        height: auto;
    }

    /* Liten tumnagel med luft runt om, i stället för fullhöjdsbild */
    .qb-catalog--list .qb-home-quiz-card__media {
        width: 9rem;
        flex: 0 0 9rem;
        aspect-ratio: 16 / 10;
        align-self: center;
        margin: 1rem 0 1rem 1rem;
        border-radius: 0.625rem;
        overflow: hidden;
    }

    .qb-catalog--list .qb-home-quiz-card__media .qb-home-quiz-card__cover {
        width: 100%;
        height: 100%;
        aspect-ratio: unset;
        object-fit: cover;
    }

    .qb-catalog--list .qb-home-quiz-card .card-body {
        padding: 1rem 1.25rem;
    }

    /* Reservera plats till höger endast när kortet har knappar */
    .qb-catalog--list .qb-home-quiz-card:has(.qb-home-quiz-card__actions) .card-body {
        padding-right: 12rem;
    }

    .qb-catalog--list .qb-home-quiz-card .card-title {
        font-size: 1.125rem;
        margin-bottom: 0.35rem;
    }

    .qb-catalog--list .qb-quiz-card__meta {
        margin-top: 0.5rem !important;
    }

    .qb-catalog--list .qb-home-quiz-card__description {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0;
        flex-grow: 0 !important;
    }

    /* Knapparna samlas i en fast kolumn längst till höger, vertikalt centrerad */
    .qb-catalog--list .qb-home-quiz-card__actions {
        position: absolute;
        top: 50%;
        right: 1.25rem;
        transform: translateY(-50%);
        z-index: 2;
        width: 9rem;
        margin: 0 !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem !important;
    }

    /* d-inline / d-inline-block på formulär och delningsknapp övertrumfas
       så att alla knappar staplas med samma bredd */
    .qb-catalog--list .qb-home-quiz-card__actions > * {
        display: block !important;
        width: 100%;
    }

    .qb-catalog--list .qb-home-quiz-card__actions .btn {
        width: 100%;
    }
}

/* Felanmälan */
.qb-footer__bug-report {
    margin-top: auto;
    background: var(--qb-bug-report-bg, #ffeadc);
    border-top: 1px solid rgba(var(--qb-accent-rgb), 0.28);
    border-bottom: 1px solid rgba(var(--qb-accent-rgb), 0.18);
    padding: 0.85rem 0;
    color: var(--qb-text);
}

.qb-footer__bug-report-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qb-footer__bug-report-btn {
    --bs-btn-color: #9a3412;
    --bs-btn-border-color: rgba(var(--qb-accent-rgb), 0.55);
    --bs-btn-bg: #fff;
    --bs-btn-hover-color: #7c2d12;
    --bs-btn-hover-bg: rgba(var(--qb-accent-rgb), 0.08);
    --bs-btn-hover-border-color: var(--qb-accent);
    font-weight: 600;
}

.qb-bug-report-fab {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 1040;
}

.qb-bug-opt-list {
    text-align: left;
}

.qb-bug-opt {
    text-align: left;
    white-space: normal;
}

.qb-bug-swal .swal2-html-container {
    max-height: 60vh;
    overflow-y: auto;
}

.qb-bug-report-pre {
    font-size: 0.75rem;
    max-height: 24rem;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Quizvärd: rundor med facit på publik quiz-sida */
.qb-quiz-detail__rounds-accordion .accordion-item {
    overflow: hidden;
    border-color: rgba(0, 0, 0, 0.08);
}

.qb-quiz-detail__round-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    background: #fff;
    box-shadow: none;
}

.qb-quiz-detail__round-toggle::after {
    margin-left: 0;
    flex-shrink: 0;
}

.qb-quiz-detail__round-toggle:not(.collapsed) {
    background: rgba(var(--qb-accent-rgb), 0.05);
}

.qb-auth-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-weight: 600;
    background: #fff;
    border-color: rgba(15, 23, 42, 0.14);
    color: #1e293b;
}

.qb-auth-google-btn:hover,
.qb-auth-google-btn:focus {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.22);
    color: #0f172a;
}

.qb-auth-google-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qb-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--tblr-secondary, #64748b);
    font-size: 0.875rem;
}

.qb-auth-divider::before,
.qb-auth-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: rgba(15, 23, 42, 0.12);
}

.qb-quiz-detail__round-toggle-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.qb-quiz-detail__round-toggle .badge {
    margin-left: auto;
    margin-right: 0.35rem;
    flex-shrink: 0;
}

.qb-quiz-details__round-note {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #626976;
    background: rgba(var(--qb-accent-rgb), 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.qb-quiz-details__question {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.qb-quiz-details__question + .qb-quiz-details__question {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.qb-quiz-details__question:nth-child(even) {
    background: rgba(15, 23, 42, 0.015);
}

.qb-quiz-details__question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(var(--qb-accent-rgb), 0.12);
    color: var(--qb-accent-hover);
    font-size: 0.8125rem;
    font-weight: 700;
}

.qb-quiz-details__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.15rem 0.35rem 0.15rem 0;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2rem;
    background: var(--qb-bg, #f8fafc);
    font-size: 0.8125rem;
    color: var(--qb-text);
}

.qb-quiz-details__chip--answer {
    background: rgba(47, 179, 68, 0.08);
    border-color: rgba(47, 179, 68, 0.25);
    font-weight: 600;
}

.qb-quiz-details__chip-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #2fb344;
}

.qb-quiz-details__chip:not(.qb-quiz-details__chip--answer) .qb-quiz-details__chip-label {
    color: #626976;
}

.qb-quiz-details__options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.4rem;
    max-width: 34rem;
}

.qb-quiz-details__option {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.3rem 0.65rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #626976;
    background: rgba(15, 23, 42, 0.03);
}

.qb-quiz-details__option--correct {
    background: rgba(47, 179, 68, 0.1);
    color: var(--qb-text);
    font-weight: 600;
}

.qb-quiz-details__option-mark {
    display: inline-block;
    width: 1rem;
    flex-shrink: 0;
    text-align: center;
    color: #2fb344;
    font-weight: 700;
}

.qb-quiz-details__clues {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.4rem;
    max-width: 40rem;
}

.qb-quiz-details__clue {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.3rem 0.65rem;
    border-radius: 0.375rem;
    background: rgba(15, 23, 42, 0.03);
}

.qb-quiz-details__clue-points {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    flex-shrink: 0;
    padding: 0.05rem 0.4rem;
    border-radius: 2rem;
    background: rgba(var(--qb-accent-rgb), 0.12);
    color: var(--qb-accent-hover);
    font-size: 0.75rem;
    font-weight: 700;
}
