@import 'topg.Web.Client.sonlldzvuo.bundle.scp.css';

/* /Components/App.razor.rz.scp.css */
/* Shown until the WebAssembly creator has rendered its layout (no prerendering for /create). */
body:has(.mud-layout) .creator-boot[b-7cu62j9fvu] {
    display: none;
}

.creator-boot[b-7cu62j9fvu] {
    font-family: Roboto, sans-serif;
    color: #888;
    padding: 2rem;
    text-align: center;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
#components-reconnect-modal[b-ua1thx2gnn] {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1400;
    overflow: hidden;
    background-color: transparent;
    border: none;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
}

    #components-reconnect-modal[b-ua1thx2gnn]::backdrop {
        background: rgba(10, 16, 28, 0.5);
    }

    #components-reconnect-modal.components-reconnect-show[b-ua1thx2gnn],
    #components-reconnect-modal[open][b-ua1thx2gnn],
    #components-reconnect-modal.components-reconnect-failed[b-ua1thx2gnn],
    #components-reconnect-modal.components-reconnect-repeated-attempt[b-ua1thx2gnn],
    #components-reconnect-modal.components-reconnect-paused[b-ua1thx2gnn],
    #components-reconnect-modal.components-reconnect-resume-failed[b-ua1thx2gnn],
    #components-reconnect-modal.components-pause[b-ua1thx2gnn],
    #components-reconnect-modal.components-resume-failed[b-ua1thx2gnn] {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.components-reconnect-backdrop[b-ua1thx2gnn] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(90% 60% at 80% 0%, color-mix(in srgb, var(--mud-palette-primary, #594AE2) 12%, transparent), transparent 60%), radial-gradient(80% 55% at 0% 100%, color-mix(in srgb, var(--mud-palette-info, #2196f3) 16%, transparent), transparent 62%), rgba(8, 12, 20, 0.5);
}

.components-reconnect-surface[b-ua1thx2gnn] {
    width: min(480px, 100%);
    border-radius: var(--mud-default-borderradius, 12px);
    border: 1px solid color-mix(in srgb, var(--mud-palette-lines-default, #e0e0e0) 70%, transparent);
    background: var(--mud-palette-surface, #fff);
    box-shadow: var(--mud-elevation-24, 0 16px 30px rgba(0, 0, 0, 0.28));
    color: var(--mud-palette-text-primary, #1f2937);
    padding: 20px 20px 18px;
}

.components-reconnect-header[b-ua1thx2gnn] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

    .components-reconnect-header h2[b-ua1thx2gnn] {
        margin: 0;
        font-size: 1.05rem;
        font-weight: 600;
        line-height: 1.3;
    }

.components-reconnect-status-dot[b-ua1thx2gnn] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--mud-palette-warning, #f59e0b);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--mud-palette-warning, #f59e0b) 25%, transparent);
}

.components-reconnect-supporting[b-ua1thx2gnn],
.components-reconnect-message[b-ua1thx2gnn] {
    margin: 0;
    line-height: 1.45;
    font-size: 0.95rem;
}

.components-reconnect-supporting[b-ua1thx2gnn] {
    color: var(--mud-palette-text-secondary, #52607a);
    margin-bottom: 14px;
}

.components-reconnect-message[b-ua1thx2gnn] {
    font-weight: 500;
}

.components-reconnect-danger[b-ua1thx2gnn] {
    color: var(--mud-palette-error, #b00020);
}

.components-reconnect-actions[b-ua1thx2gnn] {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.components-reconnect-first-attempt-visible[b-ua1thx2gnn],
.components-reconnect-repeated-attempt-visible[b-ua1thx2gnn],
.components-reconnect-failed-visible[b-ua1thx2gnn],
.components-pause-visible[b-ua1thx2gnn],
.components-resume-failed-visible[b-ua1thx2gnn] {
    display: none;
}

dialog[open].components-reconnect-show .components-reconnect-first-attempt-visible[b-ua1thx2gnn] {
    display: block;
}

dialog[open].components-reconnect-show .components-rejoin-loader[b-ua1thx2gnn] {
    display: inline-flex;
}

dialog[open].components-reconnect-failed .components-reconnect-failed-visible[b-ua1thx2gnn] {
    display: block;
}

dialog[open].components-reconnect-failed #components-reconnect-button[b-ua1thx2gnn] {
    display: block;
}

dialog[open].components-reconnect-repeated-attempt .components-reconnect-repeated-attempt-visible[b-ua1thx2gnn] {
    display: block;
}

dialog[open].components-reconnect-repeated-attempt .components-rejoin-loader[b-ua1thx2gnn] {
    display: inline-flex;
}

dialog[open].components-reconnect-paused .components-pause-visible[b-ua1thx2gnn],
dialog[open].components-pause .components-pause-visible[b-ua1thx2gnn] {
    display: block;
}

dialog[open].components-reconnect-paused #components-resume-button[b-ua1thx2gnn],
dialog[open].components-pause #components-resume-button[b-ua1thx2gnn],
dialog[open].components-reconnect-resume-failed #components-resume-button[b-ua1thx2gnn],
dialog[open].components-resume-failed #components-resume-button[b-ua1thx2gnn] {
    display: block;
}

dialog[open].components-reconnect-resume-failed .components-resume-failed-visible[b-ua1thx2gnn],
dialog[open].components-resume-failed .components-resume-failed-visible[b-ua1thx2gnn] {
    display: block;
}

.components-rejoin-loader[b-ua1thx2gnn] {
    display: none;
    margin-bottom: 10px;
    gap: 8px;
}

    .components-rejoin-loader div[b-ua1thx2gnn] {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background-color: var(--mud-palette-primary, #594AE2);
        animation: reconnect-pulse-b-ua1thx2gnn 1.2s infinite ease-in-out both;
    }

        .components-rejoin-loader div:nth-child(1)[b-ua1thx2gnn] {
            animation-delay: -0.24s;
        }

        .components-rejoin-loader div:nth-child(2)[b-ua1thx2gnn] {
            animation-delay: -0.12s;
        }

@keyframes reconnect-pulse-b-ua1thx2gnn {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

#components-reconnect-button[b-ua1thx2gnn],
#components-resume-button[b-ua1thx2gnn] {
    display: none;
    min-width: 92px;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background-color: var(--mud-palette-primary, #594AE2);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    transition: filter 140ms ease, transform 140ms ease;
}

    #components-reconnect-button:hover[b-ua1thx2gnn],
    #components-resume-button:hover[b-ua1thx2gnn] {
        filter: brightness(0.95);
    }

    #components-reconnect-button:active[b-ua1thx2gnn],
    #components-resume-button:active[b-ua1thx2gnn] {
        transform: translateY(1px);
    }

@media (max-width: 600px) {
    .components-reconnect-backdrop[b-ua1thx2gnn] {
        padding: 14px;
    }

    .components-reconnect-surface[b-ua1thx2gnn] {
        padding: 16px;
    }
}
/* /Components/Pages/Questions/Host/SimpleTextQuestion.razor.rz.scp.css */
.hints-section[b-q5pwcwrufn] {
    background-color: #4d4a7a;
}

/* Lets long hints clamp instead of widening the table. */
.hint-content[b-q5pwcwrufn] {
    max-width: 0;
    width: 100%;
}

    .hint-content[b-q5pwcwrufn]  .hint-clamp {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.hint-thumb[b-q5pwcwrufn] {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .hint-thumb img[b-q5pwcwrufn] {
        width: 48px;
        height: 36px;
        object-fit: contain;
        background: rgba(0, 0, 0, 0.25);
        border-radius: 2px;
        flex: none;
    }
/* /Components/Pages/Questions/Player/HintGrid.razor.rz.scp.css */
/* Geometry follows layout() in docs/concepts/question-hints.html, with the hint area as the query container
   instead of fixed pixels, so the player's phone gets the same arrangement scaled down. */
.hint-area[b-3sx7mg5mvu] {
    --gap: 16px;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 144px;
    bottom: 16px;
    container-type: size;
}

.hint-block[b-3sx7mg5mvu] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

    .hint-block.grid[b-3sx7mg5mvu] {
        justify-content: center;
    }

    .hint-block.stacked[b-3sx7mg5mvu] {
        justify-content: flex-start;
    }

.hint-row[b-3sx7mg5mvu] {
    display: flex;
    justify-content: center;
    gap: var(--gap);
}

.hint-tile[b-3sx7mg5mvu] {
    position: relative;
    flex: none;
    box-sizing: border-box;
    width: var(--w);
    height: var(--h);
    border-radius: 6px;
    overflow: hidden;
}

/* Every row is a third of the area, so rows keep their height and spacing whatever the count. */
.stacked .hint-tile[b-3sx7mg5mvu] {
    --w: 100cqw;
    --h: calc((100cqh - 2 * var(--gap)) / 3);
}

/* The longer row sets the column width; the shorter row is centered with tiles of the same size. */
.grid .hint-tile[b-3sx7mg5mvu] {
    --col-w: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols));
    --row-h: calc((100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows));
}

.grid.text .hint-tile[b-3sx7mg5mvu] {
    --w: var(--col-w);
    --h: min(var(--row-h), var(--col-w));
}

.grid.image .hint-tile[b-3sx7mg5mvu] {
    --w: min(var(--col-w), (var(--row-h) - var(--cap)) * 4 / 3);
    --h: calc(var(--w) * 3 / 4 + var(--cap));
}

.hint-tile.shown[b-3sx7mg5mvu] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hint-tile.hidden[b-3sx7mg5mvu] {
    display: grid;
    place-items: center;
    border: 2px dashed rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.08);
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    font-size: calc(min(var(--w), var(--h)) * 0.38);
    line-height: 1;
}

.hint-text[b-3sx7mg5mvu] {
    position: absolute;
    inset: 0;
    padding: 16px;
    display: flex;
    /* Below the minimum font size a long hint can still overflow a small screen; "safe" keeps its start visible. */
    align-items: safe center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.stacked .hint-text[b-3sx7mg5mvu] {
    padding: 12px 24px;
    justify-content: flex-start;
    text-align: left;
}

.hint-image[b-3sx7mg5mvu] {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(100% - var(--cap));
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
}

    .hint-image img[b-3sx7mg5mvu] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

.hint-caption[b-3sx7mg5mvu] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 21px;
    color: rgba(255, 255, 255, 0.72);
}

    .hint-caption span[b-3sx7mg5mvu] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
/* /Components/Pages/Questions/Player/SimpleImageQuestion.razor.rz.scp.css */
/* The row keeps its height whether the text is shown or not, so toggling the text never resizes the image. */
.question-row[b-rsgflo9q6h] {
    flex: 0 0 4rem;
    height: 4rem;
    min-width: 0;
    padding: 0 1rem;
    box-sizing: border-box;
    overflow: hidden;
}

/* fit-text.js picks the largest size at which the wrapped text fits the row, so a short question stays on one line
   at 48px and a longer one moves to two smaller lines. Without wrapping, flex items would grow to the text's width
   and push the page wider than the screen. */
.question-text[b-rsgflo9q6h] {
    width: 100%;
    height: 100%;
    min-width: 0;
    display: flex;
    /* Below the minimum font size a long question can still overflow; "safe" keeps its start visible. */
    align-items: safe center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    overflow: hidden;
    overflow-wrap: anywhere;
}

    .question-text span[b-rsgflo9q6h] {
        min-width: 0;
    }
/* /Components/Pages/Questions/Player/SimpleTextQuestion.razor.rz.scp.css */
/* Positioned against the question panel, like the header in docs/concepts/question-hints.html. */
.hint-header[b-f2pkyabnfj] {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
}

    .hint-header span[b-f2pkyabnfj] {
        overflow: hidden;
        text-overflow: ellipsis;
    }
/* /Components/Pages/QuizPlayer.razor.rz.scp.css */
@keyframes timer-drain-vertical-b-z82n9r6m06 {
    from {
        height: 100%;
    }
    to {
        height: 0%;
    }
}

@keyframes timer-drain-horizontal-b-z82n9r6m06 {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

@keyframes timer-fade-b-z82n9r6m06 {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.3;
    }
}

@keyframes timer-shrink-b-z82n9r6m06 {
    from {
        transform: scaleY(1);
    }
    to {
        transform: scaleY(0);
    }
}

@keyframes timer-countdown-pulse-b-z82n9r6m06 {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.timer-container[b-z82n9r6m06] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.timer-bar-track[b-z82n9r6m06] {
    flex: 1;
    width: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.timer-bar-fill[b-z82n9r6m06] {
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #f44336, #ff9800, #4caf50);
    border-radius: 12px;
    transform-origin: bottom;
}

.timer-bar-fill.timer-active[b-z82n9r6m06] {
    animation-name: timer-drain-vertical-b-z82n9r6m06;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.timer-countdown[b-z82n9r6m06] {
    margin-top: 8px;
    font-size: 1.25rem;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    text-align: center;
}

.timer-animate-vertical[b-z82n9r6m06] {
    animation-name: timer-drain-vertical-b-z82n9r6m06;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.timer-animate-horizontal[b-z82n9r6m06] {
    animation-name: timer-drain-horizontal-b-z82n9r6m06;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.timer-animate-shrink[b-z82n9r6m06] {
    animation-name: timer-shrink-b-z82n9r6m06;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    transform-origin: bottom;
}

.timer-animate-fade[b-z82n9r6m06] {
    animation-name: timer-fade-b-z82n9r6m06;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
/* /Components/Pages/QuizSpectator.razor.rz.scp.css */
@keyframes timer-drain-vertical-b-5jtrnn4wz0 {
    from {
        height: 100%;
    }
    to {
        height: 0%;
    }
}

@keyframes timer-drain-horizontal-b-5jtrnn4wz0 {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

@keyframes timer-fade-b-5jtrnn4wz0 {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.3;
    }
}

@keyframes timer-shrink-b-5jtrnn4wz0 {
    from {
        transform: scaleY(1);
    }
    to {
        transform: scaleY(0);
    }
}

@keyframes timer-countdown-pulse-b-5jtrnn4wz0 {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.timer-container[b-5jtrnn4wz0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48px;
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.timer-bar-track[b-5jtrnn4wz0] {
    flex: 1;
    width: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.timer-bar-fill[b-5jtrnn4wz0] {
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #f44336, #ff9800, #4caf50);
    border-radius: 12px;
    transform-origin: bottom;
}

.timer-bar-fill.timer-active[b-5jtrnn4wz0] {
    animation-name: timer-drain-vertical-b-5jtrnn4wz0;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.timer-countdown[b-5jtrnn4wz0] {
    margin-top: 8px;
    font-size: 1.25rem;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    text-align: center;
}

.timer-animate-vertical[b-5jtrnn4wz0] {
    animation-name: timer-drain-vertical-b-5jtrnn4wz0;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.timer-animate-horizontal[b-5jtrnn4wz0] {
    animation-name: timer-drain-horizontal-b-5jtrnn4wz0;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.timer-animate-shrink[b-5jtrnn4wz0] {
    animation-name: timer-shrink-b-5jtrnn4wz0;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    transform-origin: bottom;
}

.timer-animate-fade[b-5jtrnn4wz0] {
    animation-name: timer-fade-b-5jtrnn4wz0;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
