@import '_content/Quiz.Shared/Quiz.Shared.jx7z3g9wb1.bundle.scp.css';

/* /Components/Pages/Help.razor.rz.scp.css */
.help[b-g3xfhs7ehm] {
    min-height: 100vh;
    box-sizing: border-box;
    padding: 24px 16px 40px;
}

/* The background is light: the texts on the UWP's dark translucent panel (#77222222). */
.help-content[b-g3xfhs7ehm] {
    position: relative;
    box-sizing: border-box;
    padding: 16px;
    background: rgba(34, 34, 34, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

h1[b-g3xfhs7ehm] {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
}

.intro[b-g3xfhs7ehm] {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.share-picture[b-g3xfhs7ehm] {
    width: 100%;
    max-width: 352px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.guess[b-g3xfhs7ehm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 460px;
}

    .guess label[b-g3xfhs7ehm] {
        font-weight: 600;
    }

.guess-row[b-g3xfhs7ehm] {
    display: flex;
    gap: 8px;
}

    .guess-row input[b-g3xfhs7ehm] {
        flex: 1;
        min-width: 0;
        height: 44px;
        box-sizing: border-box;
        padding: 0 12px;
        border: 1px solid #666;
        border-radius: 4px;
        background: #111;
        color: #fff;
        font: inherit;
        font-size: 16px;
    }

    .guess-row .check[b-g3xfhs7ehm] {
        height: 44px;
        min-width: 110px;
    }

.result[b-g3xfhs7ehm] {
    min-height: 1.5em;
}

    .result.correct[b-g3xfhs7ehm] {
        color: #7CFC7C;
    }

    .result.almost[b-g3xfhs7ehm] {
        color: #FFD54F;
    }

    .result.wrong[b-g3xfhs7ehm] {
        color: #FF8A80;
    }

.play[b-g3xfhs7ehm] {
    height: 64px;
    min-width: 260px;
    margin-top: 6px;
    font-size: 18px;
}

@media (max-width: 479.98px) {
    h1[b-g3xfhs7ehm] {
        font-size: 22px;
    }

    .intro[b-g3xfhs7ehm] {
        font-size: 14px;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Main menu, modelled on the UWP app's MainPage (SplitView + background + packages). Texts sit on the UWP's dark
   translucent panels (#77222222), as the background is light. */

.main-page[b-uhftjbld6a] {
    --pane-compact: 50px;
    --pane-open: 250px;
    position: relative;
    min-height: 100vh;
    color: #fff;
}

/* ---------- Side pane (UWP SplitView, CompactOverlay) ---------- */

.pane[b-uhftjbld6a] {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;
    width: var(--pane-compact);
    overflow-x: hidden;
    overflow-y: auto;
    background: #222;
    transition: width 0.2s ease;
}

    .pane.open[b-uhftjbld6a] {
        width: var(--pane-open);
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.6);
    }

.pane-row[b-uhftjbld6a] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: var(--pane-open);
    height: 50px;
    margin-bottom: 15px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

    .pane-row:first-child[b-uhftjbld6a] {
        margin-bottom: 25px;
    }

.pane-icon[b-uhftjbld6a] {
    flex: 0 0 var(--pane-compact);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 18px;
}

.pane-label[b-uhftjbld6a] {
    flex: 0 0 198px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 18px;
}

.pane-row:hover .pane-label[b-uhftjbld6a] {
    background: rgba(255, 255, 255, 0.32);
}

.pane-row:hover .pane-icon[b-uhftjbld6a] {
    background: rgba(255, 255, 255, 0.1);
}

.version[b-uhftjbld6a] {
    width: var(--pane-open);
    padding-right: 2px;
    text-align: right;
    visibility: hidden;
}

.pane.open .version[b-uhftjbld6a] {
    visibility: visible;
}

/* ---------- Stage ---------- */

.stage[b-uhftjbld6a] {
    position: relative;
    min-height: 100vh;
    margin-left: var(--pane-compact);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    background-image: url("Assets/backgroundmenu.jpg");
}

.dev-tools[b-uhftjbld6a] {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.page-content[b-uhftjbld6a] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- Coins / store row ---------- */

.store-row[b-uhftjbld6a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
    padding: 5px;
    background: rgba(34, 34, 34, 0.47);
}

.coins[b-uhftjbld6a] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 4px;
    font-size: 15px;
}

    .coins img[b-uhftjbld6a] {
        width: 30px;
    }

.store[b-uhftjbld6a] {
    flex-direction: row;
    gap: 10px;
}

    .store img[b-uhftjbld6a] {
        width: 30px;
    }

.reward-line[b-uhftjbld6a] {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .reward-line img[b-uhftjbld6a] {
        height: 18px;
    }

.reward .social[b-uhftjbld6a] {
    height: 22px;
}

/* ---------- Packages ---------- */

.packs[b-uhftjbld6a] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pack[b-uhftjbld6a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 340px;
    margin: 10px;
}

.pack-label[b-uhftjbld6a] {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.play[b-uhftjbld6a] {
    width: 170px;
}

.full-version[b-uhftjbld6a] {
    display: flex;
    flex-direction: column;
    margin: 0 25px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    background: rgba(34, 34, 34, 0.47);
    font-size: 15px;
    line-height: 1.6;
}

.full-version-title[b-uhftjbld6a] {
    margin: 10px 0 20px;
    font-size: 17px;
}

.buy[b-uhftjbld6a] {
    align-self: center;
    width: 208px;
    margin-top: 20px;
}

/* ---------- Responsive (same breakpoints as the UWP visual states) ---------- */

@media (max-width: 1169px) {
    .full-version[b-uhftjbld6a] {
        display: none;
    }
}

@media (max-width: 969px) {
    .pack[b-uhftjbld6a] {
        width: 250px;
    }
}

@media (max-width: 749px) {
    .pack[b-uhftjbld6a] {
        width: 210px;
    }
}

@media (max-width: 499px) {
    .packs[b-uhftjbld6a] {
        flex-direction: column;
    }

    .pack[b-uhftjbld6a] {
        width: 197px;
    }
}

/* ---------- More games (inside QuizMessageBox, UWP CrossPromotionMsgBox) ---------- */

.promo[b-uhftjbld6a] {
    display: flex;
    gap: 10px;
    height: 100%;
    min-height: 0;
}

.promo-games[b-uhftjbld6a] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.promo-icon[b-uhftjbld6a] {
    width: 70px;
    height: 70px;
    padding: 0;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    opacity: 0.7;
}

    .promo-icon img[b-uhftjbld6a] {
        width: 100%;
        height: 100%;
        display: block;
    }

    .promo-icon:hover[b-uhftjbld6a] {
        opacity: 1;
    }

    .promo-icon.selected[b-uhftjbld6a] {
        border-color: #fff;
        opacity: 1;
    }

.promo-banner[b-uhftjbld6a] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .promo-banner img[b-uhftjbld6a] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

@media (max-width: 479.98px) {
    .promo-icon[b-uhftjbld6a] {
        width: 48px;
        height: 48px;
    }
}

/* ---------- Language picker (inside QuizMessageBox) ---------- */

.languages[b-uhftjbld6a] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    white-space: normal;
}

.language[b-uhftjbld6a] {
    height: 44px;
    padding: 0 6px;
}

@media (max-width: 479.98px) {
    .languages[b-uhftjbld6a] {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* /Components/Pages/LevelGallery.razor.rz.scp.css */
/* Level gallery, modelled on the UWP app's LevelGallery page: the level's 32 posters in rows. */

.level-gallery[b-njso7fzntp] {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.back[b-njso7fzntp] {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.47); /* visible on the light background */
}

/* Horizontal scroller; the grid is centered when it fits. */
.posters[b-njso7fzntp] {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
}

/* --per-row posters per row and --h (poster height), set by window height below, like the UWP app:
   4 rows of 8, 3 of 11, 2 of 16. Posters are 352 x 516 (width = 0.682 x height). */
.poster-grid[b-njso7fzntp] {
    --per-row: 8;
    /* Fill up to ~90% of the width or the height (4 rows), never smaller than the UWP size. Whole pixels. */
    --h: round(down, max(110px, min(23.2vh - 12px, 16.7vw - 15px)), 1px);
    display: grid;
    grid-template-columns: repeat(var(--per-row), calc(var(--h) * 0.682));
    grid-auto-rows: var(--h);
    gap: 10px;
    width: max-content;
    margin: 0 auto;
    padding: 0 30px;
    list-style: none;
}

/* One poster (list item): its link fills it, with the thumbnail and the "solved" veil stacked inside. */
.poster > a[b-njso7fzntp] {
    display: grid;
    width: 100%;
    height: 100%;
}

    .poster > a > *[b-njso7fzntp] {
        grid-area: 1 / 1;
        width: 100%;
        height: 100%;
    }

.poster:hover[b-njso7fzntp] {
    outline: 3px solid rgba(255, 255, 255, 0.7);
}

.poster:active[b-njso7fzntp] {
    outline-color: rgba(255, 255, 0, 0.7);
}

.thumb[b-njso7fzntp] {
    object-fit: cover;
}

.check[b-njso7fzntp] {
    pointer-events: none;
}

@media (min-height: 400px) and (max-height: 499.98px) {
    .poster-grid[b-njso7fzntp] {
        --per-row: 11;
        --h: round(down, 33.3vh - 30px, 1px);
    }
}

@media (max-height: 399.98px) {
    .poster-grid[b-njso7fzntp] {
        --per-row: 16;
        --h: round(down, max(80px, 50vh - 35px), 1px);
    }
}
/* /Components/Pages/LevelSelect.razor.rz.scp.css */
/* Level select, modelled on the UWP app's LevelSelect page: a horizontal row of curtains, one per level. */

.level-select[b-bbruul74jf] {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.back[b-bbruul74jf] {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.47); /* visible on the light background */
}

/* Horizontal scroller; the row is centered when it fits and scrolls when it doesn't. */
.levels[b-bbruul74jf] {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
}

.levels-row[b-bbruul74jf] {
    display: flex;
    gap: 20px;
    width: max-content;
    margin: 0 auto;
    padding: 0 30px;
    list-style: none;
}

    .levels-row > li[b-bbruul74jf] {
        display: flex;
    }

/* Curtain and text share one grid cell (like the UWP Grid). A link (open level) or a button (locked), looking the same. */
.level[b-bbruul74jf] {
    display: grid;
    text-decoration: none;
    justify-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

    .level > *[b-bbruul74jf] {
        grid-area: 1 / 1;
    }

    .level:hover[b-bbruul74jf] {
        filter: brightness(1.15);
    }

    .level:active[b-bbruul74jf] {
        filter: brightness(0.9);
    }

.curtain[b-bbruul74jf] {
    height: 400px;
    width: auto;
}

.level-text[b-bbruul74jf] {
    align-self: end;
    margin: 0 10px 30px;
    font-size: 20px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Same height breakpoint as the UWP visual states. */
@media (max-height: 499px) {
    .curtain[b-bbruul74jf] {
        height: 200px;
    }

    .level-text[b-bbruul74jf] {
        margin-bottom: 12px;
        font-size: 14px;
    }
}
/* /Components/Pages/Question.razor.rz.scp.css */
/* Question page, modelled on the UWP app's Question page. Three layouts, like its visual states:
   - wide (>= 1020 x 660): coins menu left of the big poster, hints below it, answer row at the bottom;
   - default: everything stacked with a smaller poster;
   - short (< 500 high): menu | poster | hints in one row, answer row below.
   The background is light: texts sit on the UWP's dark translucent panels (#77222222). */

.question[b-zsglc4wfcv] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 12px 24px;
}

.back[b-zsglc4wfcv] {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.47); /* visible on the light background */
}

.page-content[b-zsglc4wfcv] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    min-width: 0; /* lets the answer row shrink on narrow phones instead of overflowing */
}

/* ---------- Menu, poster and hints ---------- */

.main-content[b-zsglc4wfcv] {
    display: grid;
    grid-template-areas: "menu" "logo" "hints";
    justify-items: center;
    align-items: center;
    row-gap: 8px;
}

.menu[b-zsglc4wfcv] {
    grid-area: menu;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 360px;
    padding: 6px;
    background: rgba(34, 34, 34, 0.47);
}

.coins[b-zsglc4wfcv] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 8px;
    font-size: 15px;
}

    .coins img[b-zsglc4wfcv] {
        width: 30px;
    }

.menu-btn[b-zsglc4wfcv] {
    flex-direction: row;
    gap: 10px;
    width: 170px;
    height: 50px;
    font-size: 13px;
}

    .menu-btn img[b-zsglc4wfcv] {
        width: 24px;
    }

.poster-panel[b-zsglc4wfcv] {
    grid-area: logo;
    position: relative;
    /* The frame's shape (marco.png, 480 x 520); the poster (352 x 516) nearly as high, centered, bottoms aligned. */
    height: 210px;
    aspect-ratio: 480 / 520;
}

.poster-img[b-zsglc4wfcv] {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 99%;
    aspect-ratio: 352 / 516;
    object-fit: cover;
}

.frame[b-zsglc4wfcv] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hints[b-zsglc4wfcv] {
    grid-area: hints;
    display: flex;
    gap: 4px;
}

.hint[b-zsglc4wfcv] {
    width: 100px;
    height: 63px;
    padding: 0 6px;
    font-size: 13px;
}

.cost[b-zsglc4wfcv] {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .cost img[b-zsglc4wfcv] {
        height: 25px;
    }

/* ---------- Answer row ---------- */

.answer-row[b-zsglc4wfcv] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%; /* full row; the answer box shrinks to fit on narrow phones */
    margin-top: 12px;
}

.feedback[b-zsglc4wfcv] {
    width: 56px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.answer[b-zsglc4wfcv] {
    width: 260px;
    min-width: 0;
    height: 44px;
    padding: 0 8px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font: inherit;
    font-size: 20px;
    text-align: center;
}

    .answer:hover[b-zsglc4wfcv] {
        border-color: rgba(255, 255, 255, 0.85);
    }

    .answer:focus[b-zsglc4wfcv] {
        outline: none;
        border-color: #fff;
        background: #fff;
        color: #000;
    }

.check[b-zsglc4wfcv] {
    width: 110px;
    height: 50px;
    flex-shrink: 0;
}

/* ---------- Already solved ---------- */

.resolved[b-zsglc4wfcv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin-top: 10px;
    padding: 0 10px;
    background: rgba(34, 34, 34, 0.47);
}

.logo-name[b-zsglc4wfcv] {
    margin: 10px 0 5px;
    font-size: 20px;
}

.description[b-zsglc4wfcv] {
    width: 320px;
    max-width: 100%;
    height: 200px;
    overflow-y: auto;
    padding: 10px;
    font-size: 13px;
    text-align: justify;
    white-space: pre-line;
}

/* ---------- Message box content (rendered by QuizMessageBox, styled here) ---------- */

strong[b-zsglc4wfcv] {
    display: block;
    margin-bottom: 4px;
    text-align: center;
}

.reward-icon[b-zsglc4wfcv] {
    height: 40px;
}

/* ---------- Wide window (UWP state Width1020Height660 = the XAML defaults) ---------- */

@media (min-width: 1020px) and (min-height: 660px) {
    .main-content[b-zsglc4wfcv] {
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas:
            "menu logo ."
            ".    hints .";
        row-gap: 0;
    }

    .menu[b-zsglc4wfcv] {
        flex-direction: column;
        align-items: flex-end;
        justify-self: end;
        max-width: none;
        margin-right: 12px;
    }

    .coins[b-zsglc4wfcv] {
        align-self: center;
    }

        .coins img[b-zsglc4wfcv] {
            width: 40px;
            margin: 10px;
        }

    .poster-panel[b-zsglc4wfcv] {
        height: 450px;
        margin-bottom: 29px;
    }

    .hint[b-zsglc4wfcv] {
        width: 130px;
        height: 80px;
        font-size: 15px;
    }

    .cost img[b-zsglc4wfcv] {
        height: 40px;
    }

    .answer[b-zsglc4wfcv] {
        width: 500px;
    }

    .check[b-zsglc4wfcv] {
        width: 170px;
    }

    .logo-name[b-zsglc4wfcv] {
        height: 30px;
        font-size: 25px;
    }

    .description[b-zsglc4wfcv] {
        width: 720px;
        height: 220px;
    }
}

/* ---------- Short window (UWP state Width0Height0) ---------- */

@media (max-height: 499.98px) {
    .question[b-zsglc4wfcv] {
        padding-top: 48px;
    }

    .main-content[b-zsglc4wfcv] {
        grid-template-columns: auto auto auto;
        grid-template-areas: "menu logo hints";
        column-gap: 10px;
    }

    .menu[b-zsglc4wfcv] {
        flex-direction: column;
        max-width: 190px;
    }

    .poster-panel[b-zsglc4wfcv] {
        height: 180px;
    }

    .hints[b-zsglc4wfcv] {
        flex-direction: column;
    }

    .hint[b-zsglc4wfcv] {
        height: 60px;
    }

    .description[b-zsglc4wfcv] {
        width: 230px;
        height: 65px;
        font-size: 11px;
    }

    .logo-name[b-zsglc4wfcv] {
        font-size: 13px;
    }
}

/* ---------- Ask a friend: fallback menu (inside QuizMessageBox) ---------- */

.share-menu[b-zsglc4wfcv] {
    display: flex;
    gap: 16px;
    align-items: center;
    text-align: center;
    white-space: normal;
}

.share-preview[b-zsglc4wfcv] {
    width: 200px;
    max-width: 40%;
    aspect-ratio: 352 / 516;
    flex-shrink: 0;
}

.share-actions[b-zsglc4wfcv] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
}

    .share-actions .img-btn[b-zsglc4wfcv] {
        height: 44px;
    }

.share-intro[b-zsglc4wfcv] {
    margin-bottom: 4px;
}

.share-links[b-zsglc4wfcv] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

    .share-links .img-btn[b-zsglc4wfcv] {
        padding: 0 6px;
    }

@media (max-width: 599.98px) {
    .share-menu[b-zsglc4wfcv] {
        flex-direction: column;
    }

    .share-preview[b-zsglc4wfcv] {
        width: 110px;
        max-width: none;
    }

    .share-actions[b-zsglc4wfcv] {
        width: 100%;
    }

    .share-links[b-zsglc4wfcv] {
        grid-template-columns: repeat(2, 1fr);
    }
}
