/* /Components/Account/Login.razor.rz.scp.css */
/* The sign-in card: the red Q, the heading and a one-line welcome, centred above the form. */
.login-head[b-ldxph83ef6] {
    text-align: center;
    margin-bottom: 1.25rem;
}

.login-mark[b-ldxph83ef6] {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    margin: -0.25rem auto 0.5rem;
}

.login-head h1[b-ldxph83ef6] {
    margin-bottom: 0.35rem;
}

.login-welcome[b-ldxph83ef6] {
    font-weight: 600;
    margin-bottom: 0.35rem;
}

/* "quiz" in the brand red italic, as in the logo. */
.login-welcome em[b-ldxph83ef6] {
    color: var(--accent);
}

.login-head .muted[b-ldxph83ef6] {
    margin: 0;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* The brand preview: the logo on a cream card, navy links, a warm line under it. */
.topbar[b-7j30jk3exr] {
    background: var(--card);
    color: var(--text);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 8px 20px -18px rgba(33, 28, 50, 0.45);
}

.topbar-inner[b-7j30jk3exr] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topbar[b-7j30jk3exr]  a {
    color: var(--text);
    text-decoration: none;
}

.brand[b-7j30jk3exr] {
    display: flex;
    align-items: center;
    flex: none;
    border-radius: 6px;
}

.brand img[b-7j30jk3exr] {
    display: block;
    height: 2rem;
    width: auto;
}

/* overflow-x: auto also clips vertically, so the nav gets 4px of padding (cancelled by the negative margin)
   to leave room for the links' focus ring. */
.mainnav[b-7j30jk3exr] {
    display: flex;
    gap: 0.2rem;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px;
    margin: -4px;
}

.mainnav[b-7j30jk3exr]  a {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
    font-weight: 500;
}

/* Hover is only a light tint, so it never looks like the selected page. */
.mainnav[b-7j30jk3exr]  a:hover {
    background: var(--brand-soft);
}

/* The page you are on: a navy pill with cream text, like the selected segment elsewhere in the panel. */
.mainnav[b-7j30jk3exr]  a.active {
    background: var(--brand);
    color: var(--card);
    font-weight: 600;
}

.mainnav[b-7j30jk3exr]  a.active:hover {
    background: var(--brand-dark);
}

.mainnav[b-7j30jk3exr]  a:focus-visible {
    outline: 3px solid rgba(33, 28, 50, 0.3);
    outline-offset: 1px;
}

.logout[b-7j30jk3exr] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.user[b-7j30jk3exr] {
    color: var(--muted);
    font-size: 0.9rem;
}

.logout-button[b-7j30jk3exr] {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.logout-button:hover[b-7j30jk3exr] {
    background: var(--brand-soft);
    border-color: var(--brand);
}

.content[b-7j30jk3exr] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
}

@media (max-width: 760px) {
    .topbar-inner[b-7j30jk3exr] {
        gap: 0.45rem 0.75rem;
        padding: 0.55rem 0.75rem 0.45rem;
    }

    .brand img[b-7j30jk3exr] {
        height: 1.75rem;
    }

    .mainnav[b-7j30jk3exr] {
        order: 3;
        flex-basis: 100%;
    }

    .logout[b-7j30jk3exr] {
        margin-left: auto;
    }

    .user[b-7j30jk3exr] {
        display: none;
    }

    .content[b-7j30jk3exr] {
        padding: 1rem 0.75rem 3rem;
    }
}

@media print {
    .topbar[b-7j30jk3exr] {
        display: none;
    }

    .content[b-7j30jk3exr] {
        padding: 0;
        max-width: none;
    }
}

#blazor-error-ui[b-7j30jk3exr] {
    background: #fff4d6;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-7j30jk3exr] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-sp9nqgeh9r],
.components-reconnect-repeated-attempt-visible[b-sp9nqgeh9r],
.components-reconnect-failed-visible[b-sp9nqgeh9r],
.components-pause-visible[b-sp9nqgeh9r],
.components-resume-failed-visible[b-sp9nqgeh9r],
.components-rejoining-animation[b-sp9nqgeh9r] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-sp9nqgeh9r],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-sp9nqgeh9r],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-sp9nqgeh9r],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-sp9nqgeh9r],
#components-reconnect-modal.components-reconnect-retrying[b-sp9nqgeh9r],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-sp9nqgeh9r],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-sp9nqgeh9r],
#components-reconnect-modal.components-reconnect-failed[b-sp9nqgeh9r],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-sp9nqgeh9r] {
    display: block;
}


#components-reconnect-modal[b-sp9nqgeh9r] {
    background-color: var(--card);
    color: var(--text);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 14px 34px -12px rgba(33, 28, 50, 0.35);
    /* The dialog itself takes focus when it opens; its button keeps its own focus ring. */
    outline: none;
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-sp9nqgeh9r 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-sp9nqgeh9r 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-sp9nqgeh9r 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-sp9nqgeh9r]::backdrop {
    background-color: rgba(33, 28, 50, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-sp9nqgeh9r 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-sp9nqgeh9r {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-sp9nqgeh9r {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-sp9nqgeh9r {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-sp9nqgeh9r] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-sp9nqgeh9r] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-sp9nqgeh9r] {
    border: 0;
    background-color: var(--brand);
    color: var(--card);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

    #components-reconnect-modal button:hover[b-sp9nqgeh9r] {
        background-color: var(--brand-dark);
    }

    #components-reconnect-modal button:active[b-sp9nqgeh9r] {
        background-color: var(--brand);
    }

.components-rejoining-animation[b-sp9nqgeh9r] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-sp9nqgeh9r] {
        position: absolute;
        border: 3px solid var(--brand);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-sp9nqgeh9r 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-sp9nqgeh9r] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-sp9nqgeh9r {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Quizzes/QuizQr.razor.rz.scp.css */
.qr-screen[b-sd4mfdzc59] {
    min-height: 100vh;
    background: var(--card);
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.qr-toolbar[b-sd4mfdzc59] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.qr-message[b-sd4mfdzc59] {
    max-width: 560px;
    margin: 3rem auto;
}

.qr-layout[b-sd4mfdzc59] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
}

.qr-code[b-sd4mfdzc59] {
    flex: none;
    width: min(82vh, 58vw);
    aspect-ratio: 1;
}

/* The code keeps its white quiet zone; on the cream screen it sits like a white card. */
.qr-code[b-sd4mfdzc59]  svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 2%;
    box-shadow: 0 0 0 1px var(--border), 0 14px 34px -18px rgba(33, 28, 50, 0.3);
}

.qr-info[b-sd4mfdzc59] {
    max-width: 34rem;
}

/* The logo above the title on screen; the printed sheet has it at the bottom instead (.qr-print-logo). */
.qr-logo[b-sd4mfdzc59] {
    display: block;
    height: clamp(1.6rem, 2.6vw, 2.6rem);
    width: auto;
    margin-bottom: clamp(1rem, 2.2vw, 2rem);
}

.qr-title[b-sd4mfdzc59] {
    font-size: clamp(1.8rem, 3.6vw, 3.4rem);
    margin-bottom: 1.25rem;
    color: var(--brand);
}

.qr-print-title[b-sd4mfdzc59],
.qr-print-logo[b-sd4mfdzc59] {
    display: none;
}

.qr-steps[b-sd4mfdzc59] {
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    padding-left: 1.4em;
    margin: 0 0 1.5rem;
}

.qr-steps li + li[b-sd4mfdzc59] {
    margin-top: 0.35em;
}

.qr-alt[b-sd4mfdzc59] {
    border-top: 2px dashed var(--border);
    padding-top: 1rem;
}

.qr-alt-label[b-sd4mfdzc59] {
    color: var(--muted);
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
}

.qr-url[b-sd4mfdzc59] {
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    font-weight: 600;
    word-break: break-all;
    margin: 0.25rem 0 0.5rem;
}

.qr-code-text[b-sd4mfdzc59] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: clamp(2rem, 4.2vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text);
}

.qr-live[b-sd4mfdzc59] {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    color: var(--muted);
}

.qr-live strong[b-sd4mfdzc59] {
    color: var(--text);
    font-size: 1.3em;
}

@media (max-aspect-ratio: 1/1), (max-width: 760px) {
    .qr-layout[b-sd4mfdzc59] {
        flex-direction: column;
        gap: 1rem;
    }

    .qr-code[b-sd4mfdzc59] {
        width: min(92vw, 62vh);
    }

    .qr-info[b-sd4mfdzc59] {
        text-align: center;
    }

    .qr-logo[b-sd4mfdzc59] {
        margin-inline: auto;
    }

    .qr-steps[b-sd4mfdzc59] {
        display: inline-block;
        text-align: left;
    }
}

@media print {
    @page {
        size: A4 portrait;
        margin: 12mm;
    }

    .qr-screen[b-sd4mfdzc59] {
        min-height: auto;
        padding: 0;
        background: none;
    }

    .qr-layout[b-sd4mfdzc59] {
        flex-direction: column;
        gap: 6mm;
    }

    .qr-code[b-sd4mfdzc59] {
        width: 150mm;
    }

    .qr-code[b-sd4mfdzc59]  svg {
        box-shadow: none;
    }

    .qr-info[b-sd4mfdzc59] {
        text-align: center;
        max-width: none;
    }

    .qr-title[b-sd4mfdzc59],
    .qr-logo[b-sd4mfdzc59] {
        display: none;
    }

    .qr-print-title[b-sd4mfdzc59] {
        display: block;
        text-align: center;
        font-size: 26pt;
        margin: 0 0 6mm;
        color: var(--brand);
    }

    .qr-print-logo[b-sd4mfdzc59] {
        display: block;
        height: 10mm;
        width: auto;
        margin: 8mm auto 0;
    }

    .qr-steps[b-sd4mfdzc59] {
        display: inline-block;
        text-align: left;
        font-size: 14pt;
    }

    .qr-url[b-sd4mfdzc59] {
        font-size: 14pt;
    }

    .qr-code-text[b-sd4mfdzc59] {
        font-size: 30pt;
    }
}
/* /Components/Pages/WordGames/WordGameQr.razor.rz.scp.css */
.qr-screen[b-fti2qpuc5r] {
    min-height: 100vh;
    background: var(--card);
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.qr-toolbar[b-fti2qpuc5r] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.qr-message[b-fti2qpuc5r] {
    max-width: 560px;
    margin: 3rem auto;
}

.qr-layout[b-fti2qpuc5r] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
}

.qr-code[b-fti2qpuc5r] {
    flex: none;
    width: min(82vh, 58vw);
    aspect-ratio: 1;
}

/* The code keeps its white quiet zone; on the cream screen it sits like a white card. */
.qr-code[b-fti2qpuc5r]  svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 2%;
    box-shadow: 0 0 0 1px var(--border), 0 14px 34px -18px rgba(33, 28, 50, 0.3);
}

.qr-info[b-fti2qpuc5r] {
    max-width: 34rem;
}

/* The logo above the title on screen; the printed sheet has it at the bottom instead (.qr-print-logo). */
.qr-logo[b-fti2qpuc5r] {
    display: block;
    height: clamp(1.6rem, 2.6vw, 2.6rem);
    width: auto;
    margin-bottom: clamp(1rem, 2.2vw, 2rem);
}

.qr-title[b-fti2qpuc5r] {
    font-size: clamp(1.8rem, 3.6vw, 3.4rem);
    margin-bottom: 1.25rem;
    color: var(--brand);
}

.qr-print-title[b-fti2qpuc5r],
.qr-print-logo[b-fti2qpuc5r] {
    display: none;
}

.qr-steps[b-fti2qpuc5r] {
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    padding-left: 1.4em;
    margin: 0 0 1.5rem;
}

.qr-steps li + li[b-fti2qpuc5r] {
    margin-top: 0.35em;
}

.qr-alt[b-fti2qpuc5r] {
    border-top: 2px dashed var(--border);
    padding-top: 1rem;
}

.qr-alt-label[b-fti2qpuc5r] {
    color: var(--muted);
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
}

.qr-url[b-fti2qpuc5r] {
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    font-weight: 600;
    word-break: break-all;
    margin: 0.25rem 0 0.5rem;
}

.qr-code-text[b-fti2qpuc5r] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: clamp(2rem, 4.2vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text);
}

.qr-live[b-fti2qpuc5r] {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    color: var(--muted);
}

.qr-live strong[b-fti2qpuc5r] {
    color: var(--text);
    font-size: 1.3em;
}

@media (max-aspect-ratio: 1/1), (max-width: 760px) {
    .qr-layout[b-fti2qpuc5r] {
        flex-direction: column;
        gap: 1rem;
    }

    .qr-code[b-fti2qpuc5r] {
        width: min(92vw, 62vh);
    }

    .qr-info[b-fti2qpuc5r] {
        text-align: center;
    }

    .qr-logo[b-fti2qpuc5r] {
        margin-inline: auto;
    }

    .qr-steps[b-fti2qpuc5r] {
        display: inline-block;
        text-align: left;
    }
}

@media print {
    @page {
        size: A4 portrait;
        margin: 12mm;
    }

    .qr-screen[b-fti2qpuc5r] {
        min-height: auto;
        padding: 0;
        background: none;
    }

    .qr-layout[b-fti2qpuc5r] {
        flex-direction: column;
        gap: 6mm;
    }

    .qr-code[b-fti2qpuc5r] {
        width: 150mm;
    }

    .qr-code[b-fti2qpuc5r]  svg {
        box-shadow: none;
    }

    .qr-info[b-fti2qpuc5r] {
        text-align: center;
        max-width: none;
    }

    .qr-title[b-fti2qpuc5r],
    .qr-logo[b-fti2qpuc5r] {
        display: none;
    }

    .qr-print-title[b-fti2qpuc5r] {
        display: block;
        text-align: center;
        font-size: 26pt;
        margin: 0 0 6mm;
        color: var(--brand);
    }

    .qr-print-logo[b-fti2qpuc5r] {
        display: block;
        height: 10mm;
        width: auto;
        margin: 8mm auto 0;
    }

    .qr-steps[b-fti2qpuc5r] {
        display: inline-block;
        text-align: left;
        font-size: 14pt;
    }

    .qr-url[b-fti2qpuc5r] {
        font-size: 14pt;
    }

    .qr-code-text[b-fti2qpuc5r] {
        font-size: 30pt;
    }
}

/* Today's top players next to the code, for the class screen. */
.qr-board[b-fti2qpuc5r] {
    margin-top: 1.5rem;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.qr-board h2[b-fti2qpuc5r] {
    font-size: 1.15em;
    margin: 0 0 0.4rem;
}

.qr-board ol[b-fti2qpuc5r] {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.qr-board li[b-fti2qpuc5r] {
    display: flex;
    gap: 0.6rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--border);
}

.qr-board .rank[b-fti2qpuc5r] {
    min-width: 2rem;
    font-weight: 700;
    color: var(--muted);
}

.qr-board .name[b-fti2qpuc5r] {
    flex: 1;
}

.qr-board .points[b-fti2qpuc5r] {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
