/* /Components/Admin/EditBonusEventDialog.razor.rz.scp.css */
/* Details on the left, the map on the right; stacked on narrow screens. */
.ph-event-edit[b-b80drb6o6x] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 1.5rem;
    align-items: start;
}

.ph-event-edit-place[b-b80drb6o6x] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ph-event-edit-map[b-b80drb6o6x] {
    height: 18rem;
}

.ph-event-edit-hint[b-b80drb6o6x] {
    margin: 0;
    color: #555;
    font-size: 0.8rem;
}

.ph-event-edit-coords[b-b80drb6o6x] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

    .ph-event-edit-coords[b-b80drb6o6x]  .mud-input-control {
        flex: 1;
    }

    .ph-event-edit-coords[b-b80drb6o6x]  .mud-button-root {
        margin-top: 0.9rem;
        white-space: nowrap;
    }

@media (max-width: 760px) {
    .ph-event-edit[b-b80drb6o6x] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ph-event-edit-map[b-b80drb6o6x] {
        height: 15rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-a37zg3b9md] {
    color-scheme: light only;
    background: #000;
    color: #fff;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

    #blazor-error-ui a[b-a37zg3b9md] {
        color: #fff;
        text-decoration: underline;
        margin-left: 0.5rem;
    }

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

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


#components-reconnect-modal[b-0ycyd4q3dw] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0ycyd4q3dw 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-0ycyd4q3dw] {
    border: 0;
    background-color: #000000;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0ycyd4q3dw] {
        background-color: #333333;
    }

    #components-reconnect-modal button:active[b-0ycyd4q3dw] {
        background-color: #000000;
    }

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

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

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

@keyframes components-rejoining-animation-b-0ycyd4q3dw {
    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/BonusEventPage.razor.rz.scp.css */
.ph-event-meta[b-46vnkc2ryr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.ph-event-text p[b-46vnkc2ryr] {
    margin: 0 0 0.75rem;
}

.ph-event-reward[b-46vnkc2ryr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

    .ph-event-reward[b-46vnkc2ryr]  .ph-pts {
        font-size: 1.8rem;
        line-height: 1;
    }

.ph-event-map[b-46vnkc2ryr] {
    height: 15rem;
}

.ph-event-maplinks[b-46vnkc2ryr] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    margin-top: 0.35rem;
    color: #555;
    font-size: 0.8rem;
}

    .ph-event-maplinks a[b-46vnkc2ryr] {
        margin-left: auto;
        font-weight: 500;
    }

.ph-event-note[b-46vnkc2ryr] {
    margin: 0;
    padding: 0.6rem 0.9rem;
    border: 2px dashed #9e9e9e;
    color: #555;
    font-size: 0.9rem;
}

/* ---------- Claiming ---------- */

.ph-claim[b-46vnkc2ryr] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 3px solid #000;
}

    .ph-claim p[b-46vnkc2ryr] {
        margin: 0;
    }

    .ph-claim[b-46vnkc2ryr]  .mud-button-root {
        border-width: 3px;
        font-weight: 700;
        letter-spacing: 0.06em;
    }

    .ph-claim[b-46vnkc2ryr]  .mud-button-root.mud-disabled {
        background-color: #e6e6e6;
    }

.ph-claim-msg[b-46vnkc2ryr] {
    padding: 0.6rem 0.9rem;
    border: 2px solid #000;
    font-size: 0.9rem;
}

    .ph-claim-msg.ph-claim-error[b-46vnkc2ryr] {
        background: #000;
        color: #fff;
    }

.ph-claim-done[b-46vnkc2ryr] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 1rem;
    background: #000;
    color: #fff;
}

    .ph-claim-done[b-46vnkc2ryr]  .ph-claim-done-icon {
        flex: none;
        font-size: 3rem;
    }

.ph-claim-done-title[b-46vnkc2ryr] {
    font-size: 2.4rem;
    line-height: 1;
}

.ph-claim-done-when[b-46vnkc2ryr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    color: #cfcfcf;
    font-size: 0.85rem;
}
/* /Components/Pages/HallOfFame.razor.rz.scp.css */
.ph-fame[b-53tl7spvbc] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 2rem;
    margin: 2rem 0 1rem;
}

.ph-fame-item[b-53tl7spvbc] {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Picture frame: thick black frame, white mat with a thin inner line, hung slightly crooked. */
.ph-frame[b-53tl7spvbc] {
    width: 100%;
    border: 12px solid #000;
    background: #fff;
    padding: 14px;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.18);
    transform: rotate(var(--tilt, 0deg));
    transition: transform 0.3s ease;
}

.ph-fame-item:nth-child(1) .ph-frame[b-53tl7spvbc] { --tilt: -1.4deg; }
.ph-fame-item:nth-child(2) .ph-frame[b-53tl7spvbc] { --tilt: 0.9deg; }
.ph-fame-item:nth-child(3) .ph-frame[b-53tl7spvbc] { --tilt: -0.6deg; }

.ph-fame-item:hover .ph-frame[b-53tl7spvbc] {
    transform: rotate(0deg);
}

.ph-frame-mat[b-53tl7spvbc] {
    border: 1px solid #000;
    padding: 6px;
}

.ph-frame-photo[b-53tl7spvbc] {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(1); /* keeps the black & white look; remove this line for colour photos */
}

.ph-frame-empty[b-53tl7spvbc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #f2f2f2;
    color: #555;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

    .ph-frame-empty img[b-53tl7spvbc] {
        width: 40%;
        opacity: 0.35;
    }

figcaption[b-53tl7spvbc] {
    margin-top: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ph-fame-name[b-53tl7spvbc] {
    font-size: 1.7rem;
    line-height: 1;
}

.ph-fame-year[b-53tl7spvbc] {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: #555;
}

@media (max-width: 700px) {
    .ph-fame[b-53tl7spvbc] {
        grid-template-columns: minmax(0, 1fr);
        max-width: 280px;
        margin-inline: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ph-frame[b-53tl7spvbc] {
        transition: none;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.ph-home[b-u0ww6iz7mo] {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* The panda walks underneath the content. Text gets a white backing (sized to the text, since
   flex items shrink to fit) so the panda disappears behind it instead of showing through the letters. */
.ph-title[b-u0ww6iz7mo],
.ph-tagline[b-u0ww6iz7mo],
.ph-status[b-u0ww6iz7mo] {
    background: #fff;
    padding: 0.15rem 0.6rem;
}

.ph-tagline[b-u0ww6iz7mo] {
    margin: 0.5rem 0 2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Two buttons per row (2 × 11rem + gap), one per row on narrow phones. */
.ph-nav[b-u0ww6iz7mo] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 24rem;
}

    .ph-nav form[b-u0ww6iz7mo] {
        display: contents;
    }

    .ph-nav[b-u0ww6iz7mo]  .mud-button-root {
        min-width: 11rem;
        border-width: 3px;
        font-weight: 700;
        letter-spacing: 0.08em;
        background-color: #fff;
    }

    .ph-nav[b-u0ww6iz7mo]  .mud-button-filled {
        background-color: #000;
    }

    .ph-nav[b-u0ww6iz7mo]  .mud-button-root.mud-disabled {
        background-color: #e6e6e6;
    }

.ph-status[b-u0ww6iz7mo] {
    margin: 1rem 0 2rem;
    color: #555;
    font-size: 0.9rem;
}

    .ph-status a[b-u0ww6iz7mo] {
        color: #000;
        font-weight: 700;
    }

/* ---------- Show/hide the page (bottom-left button) ---------- */

.ph-home[b-u0ww6iz7mo] {
    transition: opacity 0.25s ease, visibility 0.25s;
}

    /* Hidden content no longer catches clicks, so the whole screen is free for growing bamboo. */
    .ph-home.ph-ui-hidden[b-u0ww6iz7mo] {
        opacity: 0;
        visibility: hidden;
    }

.ph-ui-toggle[b-u0ww6iz7mo] {
    position: fixed;
    left: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 3px solid #000;
    background: #fff;
    color: #000;
    box-shadow: 3px 3px 0 #000;
    cursor: pointer;
}

    .ph-ui-toggle:hover[b-u0ww6iz7mo] {
        background: #000;
        color: #fff;
    }

    .ph-ui-toggle:focus-visible[b-u0ww6iz7mo] {
        outline: 3px solid #000;
        outline-offset: 3px;
    }
/* /Components/Pages/Hunt.razor.rz.scp.css */
/*
    Wide screens: bonus event + tasks on the left; intro, points and buttons stacked on the right.
    The last row (1fr) soaks up the extra height of the tall left column, so the right-hand blocks keep
    their own heights. Phones: one column in page order (see the media query at the bottom).
*/
.ph-hunt[b-uww9bfl3uh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 17.5rem;
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
        "main intro"
        "main points"
        "main buttons"
        "main .";
    gap: 1.25rem 2rem;
    align-items: start;
    margin-top: 1.25rem;
}

    .ph-hunt h2[b-uww9bfl3uh] {
        font-size: 1.6rem;
        line-height: 1;
        margin: 0 0 0.75rem;
    }

.ph-hunt-main[b-uww9bfl3uh] {
    grid-area: main;
    min-width: 0;
}

.ph-hunt-intro[b-uww9bfl3uh] {
    grid-area: intro;
}

.ph-points[b-uww9bfl3uh] {
    grid-area: points;
}

.ph-hunt-buttons[b-uww9bfl3uh] {
    grid-area: buttons;
}

/* ---------- Bonus event: one wide tile above the tasks ---------- */

.ph-bonus[b-uww9bfl3uh] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1rem;
    border: 3px solid #000;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

    .ph-bonus[href][b-uww9bfl3uh] {
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

        .ph-bonus[href]:hover[b-uww9bfl3uh],
        .ph-bonus[href]:focus-visible[b-uww9bfl3uh] {
            transform: translate(-3px, -3px);
            box-shadow: 5px 5px 0 #000;
            outline: none;
        }

    .ph-bonus[b-uww9bfl3uh]  .ph-bonus-icon {
        flex: none;
        font-size: 2.4rem;
    }

.ph-bonus-text[b-uww9bfl3uh] {
    flex: 1;
    min-width: 0;
}

.ph-bonus-kicker[b-uww9bfl3uh] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #555;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ph-bonus-name[b-uww9bfl3uh] {
    margin-top: 0.15rem;
    font-size: 2.2rem;
    line-height: 1;
    overflow-wrap: anywhere;
}

.ph-bonus-when[b-uww9bfl3uh] {
    margin-top: 0.2rem;
    color: #555;
    font-size: 0.85rem;
}

.ph-bonus-side[b-uww9bfl3uh] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .ph-bonus-side[b-uww9bfl3uh]  .ph-pts {
        font-size: 2rem;
        line-height: 1;
    }

    .ph-bonus-side[b-uww9bfl3uh]  .ph-bonus-go {
        font-size: 1.4rem;
    }

.ph-bonus-claimed[b-uww9bfl3uh] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Running right now: inverted, with a blinking "live" dot. */
.ph-bonus-live[b-uww9bfl3uh] {
    background: #000;
    color: #fff;
}

    .ph-bonus-live .ph-bonus-kicker[b-uww9bfl3uh],
    .ph-bonus-live .ph-bonus-when[b-uww9bfl3uh] {
        color: #cfcfcf;
    }

    .ph-bonus-live[href]:hover[b-uww9bfl3uh],
    .ph-bonus-live[href]:focus-visible[b-uww9bfl3uh] {
        box-shadow: 5px 5px 0 #9e9e9e;
    }

.ph-bonus-dot[b-uww9bfl3uh] {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #fff;
    animation: ph-bonus-blink-b-uww9bfl3uh 1.4s ease-in-out infinite;
}

@keyframes ph-bonus-blink-b-uww9bfl3uh {
    50% {
        opacity: 0.2;
    }
}

/* Nothing running or planned: dashed and greyed out, like a planned task. */
.ph-bonus-none[b-uww9bfl3uh] {
    border-style: dashed;
    border-color: #9e9e9e;
    color: #9e9e9e;
}

    .ph-bonus-none .ph-bonus-kicker[b-uww9bfl3uh] {
        color: #8a8a8a;
    }

/* ---------- Task tiles ---------- */

.ph-tasks[b-uww9bfl3uh] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.9rem;
}

.ph-tasks > li[b-uww9bfl3uh] {
    display: flex;
}

.ph-task[b-uww9bfl3uh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 8.5rem;
    padding: 0.65rem 0.75rem 0.7rem;
    border: 3px solid #000;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

    /* Clickable tiles (active tasks with a page) lift up a little. */
    .ph-task[href][b-uww9bfl3uh] {
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

        .ph-task[href]:hover[b-uww9bfl3uh],
        .ph-task[href]:focus-visible[b-uww9bfl3uh] {
            transform: translate(-3px, -3px);
            box-shadow: 5px 5px 0 #000;
            outline: none;
        }

.ph-task-icons[b-uww9bfl3uh] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: auto;
}

    .ph-task-icons[b-uww9bfl3uh]  .ph-task-type {
        font-size: 1.6rem;
    }

    .ph-task-icons[b-uww9bfl3uh]  .ph-task-state {
        font-size: 2rem;
    }

.ph-task-name[b-uww9bfl3uh] {
    margin-top: 0.75rem;
    font-size: 2rem;
    line-height: 1;
    overflow-wrap: anywhere;
}

.ph-task-status[b-uww9bfl3uh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    margin-top: 0.25rem;
    color: #555;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Finished: inverted tile, white check. */
.ph-task-done[b-uww9bfl3uh] {
    background: #000;
    color: #fff;
}

    .ph-task-done .ph-task-status[b-uww9bfl3uh] {
        color: #cfcfcf;
    }

    .ph-task-done[href]:hover[b-uww9bfl3uh],
    .ph-task-done[href]:focus-visible[b-uww9bfl3uh] {
        box-shadow: 5px 5px 0 #9e9e9e;
    }

.ph-task-status[b-uww9bfl3uh]  .ph-task-go {
    font-size: 1.1rem;
}

/* Not open yet: dashed and greyed out. */
.ph-task-planned[b-uww9bfl3uh] {
    border-style: dashed;
    border-color: #9e9e9e;
    color: #9e9e9e;
}

    .ph-task-planned .ph-task-status[b-uww9bfl3uh] {
        color: #8a8a8a;
    }

/* ---------- Intro, points, buttons (right column on wide screens) ---------- */

.ph-hunt-intro p[b-uww9bfl3uh] {
    margin: 0 0 0.75rem;
}

    .ph-hunt-intro p:last-child[b-uww9bfl3uh] {
        margin-bottom: 0;
    }

.ph-points[b-uww9bfl3uh] {
    border: 3px solid #000;
    padding: 0.9rem 1rem 1rem;
}

    .ph-points h2[b-uww9bfl3uh] {
        font-size: 1.4rem;
        margin: 0;
    }

.ph-points-total[b-uww9bfl3uh] {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

    .ph-points-total[b-uww9bfl3uh]  .ph-pts {
        font-size: 3.4rem;
        line-height: 1;
    }

.ph-points-rank[b-uww9bfl3uh] {
    color: #555;
    font-size: 0.85rem;
}

.ph-points-empty[b-uww9bfl3uh] {
    margin: 0.75rem 0 0;
    color: #555;
    font-size: 0.85rem;
}

.ph-hunt-buttons[b-uww9bfl3uh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

    .ph-hunt-buttons[b-uww9bfl3uh]  .mud-button-root {
        border-width: 3px;
        font-weight: 700;
        letter-spacing: 0.08em;
    }

    .ph-hunt-buttons[b-uww9bfl3uh]  .mud-button-root.mud-disabled {
        background-color: #e6e6e6;
    }

@media (max-width: 760px) {
    /* Phones: intro + buttons first, then the bonus event and tasks, the score block last. */
    .ph-hunt[b-uww9bfl3uh] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-template-areas:
            "intro"
            "buttons"
            "main"
            "points";
        row-gap: 1.5rem;
    }

    /* Two tiles per row on phones; the smaller name still fits the longest month ("Červenec") at 360px. */
    .ph-tasks[b-uww9bfl3uh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .ph-task[b-uww9bfl3uh] {
        min-height: 7.5rem;
    }

    .ph-task-name[b-uww9bfl3uh] {
        font-size: 1.75rem;
    }

    .ph-bonus[b-uww9bfl3uh] {
        gap: 0.6rem;
        padding: 0.7rem 0.75rem;
    }

        .ph-bonus[b-uww9bfl3uh]  .ph-bonus-icon {
            font-size: 1.9rem;
        }

    .ph-bonus-name[b-uww9bfl3uh] {
        font-size: 1.75rem;
    }

    .ph-bonus-side[b-uww9bfl3uh]  .ph-pts {
        font-size: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ph-task[href][b-uww9bfl3uh],
    .ph-bonus[href][b-uww9bfl3uh] {
        transition: none;
    }

    .ph-bonus-dot[b-uww9bfl3uh] {
        animation: none;
    }
}
/* /Components/Pages/Leaderboard.razor.rz.scp.css */
.ph-ranking[b-05vlnjqpl2] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

    .ph-ranking th[b-05vlnjqpl2] {
        padding: 0 0.6rem 0.4rem;
        border-bottom: 3px solid #000;
        color: #555;
        font-size: 0.75rem;
        font-weight: 500;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        text-align: left;
    }

        .ph-ranking th:last-child[b-05vlnjqpl2] {
            text-align: right;
        }

    .ph-ranking td[b-05vlnjqpl2] {
        padding: 0.55rem 0.6rem;
        border-bottom: 1px solid #d9d9d9;
        vertical-align: middle;
    }

.ph-rank-place[b-05vlnjqpl2] {
    width: 3.5rem;
    font-size: 1.6rem;
    line-height: 1;
}

.ph-rank-name[b-05vlnjqpl2] {
    overflow-wrap: anywhere;
}

.ph-rank-points[b-05vlnjqpl2] {
    font-size: 1.6rem;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

/* Your own row */
.ph-rank-mine[b-05vlnjqpl2] {
    background: #f2f2f2;
    font-weight: 700;
}

/* The leader(s) */
.ph-rank-first[b-05vlnjqpl2] {
    background: #000;
    color: #fff;
}

    .ph-rank-first td[b-05vlnjqpl2] {
        border-bottom-color: #000;
    }

    .ph-rank-first .ph-rank-me[b-05vlnjqpl2] {
        border-color: #fff;
    }

.ph-rank-empty[b-05vlnjqpl2] {
    margin-top: 1.5rem;
    color: #555;
}

/* ---------- Clickable rows: open the player's point log ---------- */

.ph-rank-hint[b-05vlnjqpl2] {
    color: #555;
    font-size: 0.85rem;
}

.ph-ranking tbody tr[b-05vlnjqpl2] {
    cursor: pointer;
}

    .ph-ranking tbody tr:hover[b-05vlnjqpl2] {
        background: #e9e9e9;
    }

    .ph-ranking tbody tr.ph-rank-first:hover[b-05vlnjqpl2] {
        background: #2a2a2a;
    }

/* The name is the real button (keyboard / screen readers); it looks like plain text. */
.ph-rank-player[b-05vlnjqpl2] {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s ease;
}

    .ph-ranking tbody tr:hover .ph-rank-player[b-05vlnjqpl2],
    .ph-rank-player:focus-visible[b-05vlnjqpl2] {
        text-decoration-color: currentColor;
    }

    .ph-rank-player:focus-visible[b-05vlnjqpl2] {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }
/* /Components/Shared/MessageBoardView.razor.rz.scp.css */
.ph-board[b-jc6cn40xm2] {
    width: 100%;
    background: #fff;
    border: 3px solid #000;
    padding: 1rem 1.25rem 1.25rem;
    text-align: left;
}

.ph-board-head[b-jc6cn40xm2] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

    .ph-board-head h2[b-jc6cn40xm2] {
        font-size: 2rem;
        margin: 0;
    }

.ph-live[b-jc6cn40xm2] {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

    .ph-live[b-jc6cn40xm2]::before {
        content: "";
        width: 0.55rem;
        height: 0.55rem;
        border-radius: 50%;
        background: #000;
        animation: ph-pulse-b-jc6cn40xm2 1.6s ease-in-out infinite;
    }

@keyframes ph-pulse-b-jc6cn40xm2 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.ph-board-compose[b-jc6cn40xm2] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

    .ph-board-compose[b-jc6cn40xm2]  .mud-input-control {
        flex: 1;
        margin-top: 0;
    }

    .ph-board-compose[b-jc6cn40xm2]  .mud-button-root {
        margin-top: 0.35rem;
        flex-shrink: 0;
    }

.ph-board-error[b-jc6cn40xm2] {
    margin: 0 0 0.5rem;
    font-weight: 700;
}

    .ph-board-error[b-jc6cn40xm2]::before {
        content: "⚠ ";
    }

.ph-board-list[b-jc6cn40xm2] {
    margin-top: 0.75rem;
    max-height: 45vh;
    overflow-y: auto;
    border-top: 1px solid #000;
    scrollbar-color: #000 #fff;
}

.ph-board-empty[b-jc6cn40xm2] {
    color: #555;
    padding: 1rem 0 0;
    margin: 0;
}

.ph-msg[b-jc6cn40xm2] {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid #d9d9d9;
}

    .ph-msg header[b-jc6cn40xm2] {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem 0.75rem;
        align-items: baseline;
        margin-bottom: 0.2rem;
    }

    .ph-msg time[b-jc6cn40xm2] {
        color: #555;
        font-size: 0.8rem;
    }

    .ph-msg p[b-jc6cn40xm2] {
        margin: 0;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

@media (max-width: 600px) {
    .ph-board-compose[b-jc6cn40xm2] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Components/Shared/PlayerPointsDialog.razor.rz.scp.css */
.ph-player-title[b-2pm0tp1q8r] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ph-player-name[b-2pm0tp1q8r] {
    font-size: 2rem;
    line-height: 1;
}

.ph-player-summary[b-2pm0tp1q8r] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

    .ph-player-summary[b-2pm0tp1q8r]  .ph-player-total {
        font-size: 2.6rem;
        line-height: 1;
    }

.ph-player-rank[b-2pm0tp1q8r] {
    color: #555;
    font-size: 0.85rem;
}

.ph-player-empty[b-2pm0tp1q8r] {
    margin: 0.75rem 0 0;
    color: #555;
}
/* /Components/Shared/PointsAwardedDialog.razor.rz.scp.css */
.ph-award[b-zoq2rm0n7y] {
    padding-top: 1.25rem;
    text-align: center;
}

/* Big "+1 🎋" that pops in. */
.ph-award-amount[b-zoq2rm0n7y] {
    font-size: 4.5rem;
    line-height: 1;
    animation: ph-award-pop-b-zoq2rm0n7y 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ph-award-title[b-zoq2rm0n7y] {
    margin: 0.5rem 0 0;
    font-size: 1.8rem;
    line-height: 1.1;
}

.ph-award-list[b-zoq2rm0n7y] {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0.5rem 0 0;
    border-top: 2px solid #000;
    text-align: left;
}

    .ph-award-list li[b-zoq2rm0n7y] {
        display: flex;
        align-items: baseline;
        gap: 0.6rem;
        padding: 0.3rem 0;
    }

        .ph-award-list li strong[b-zoq2rm0n7y] {
            flex: none;
            min-width: 3rem;
        }

@keyframes ph-award-pop-b-zoq2rm0n7y {
    from {
        transform: scale(0.3) rotate(-12deg);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ph-award-amount[b-zoq2rm0n7y] {
        animation: none;
    }
}
/* /Components/Shared/PointsHistory.razor.rz.scp.css */
.ph-points-history[b-q9xlufcjp8] {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0 0.4rem 0 0;
    max-height: 15rem;
    overflow-y: auto;
    border-top: 2px solid #000;
}

    .ph-points-history li[b-q9xlufcjp8] {
        padding: 0.45rem 0;
        border-bottom: 1px solid #e0e0e0;
        font-size: 0.85rem;
    }

        .ph-points-history li:last-child[b-q9xlufcjp8] {
            border-bottom: none;
        }

.ph-points-line[b-q9xlufcjp8] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.ph-points-when[b-q9xlufcjp8] {
    color: #555;
    font-size: 0.75rem;
}

.ph-points-comment[b-q9xlufcjp8] {
    margin-top: 0.1rem;
    color: #333;
    overflow-wrap: anywhere;
}
/* /Components/Shared/WanderingPanda.razor.rz.scp.css */
.ph-panda[b-hu5kqc96i8] {
    position: fixed;
    top: 0;
    left: 0;
    width: 96px;
    /* Below the page content (which sits at z-index 1), so text and buttons are never covered. */
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    /* Hidden until the script places it, so it doesn't flash in the corner. */
    opacity: 0;
    transition: opacity 0.6s ease;
}

    .ph-panda[data-state][b-hu5kqc96i8] {
        opacity: 1;
    }

.ph-panda-svg[b-hu5kqc96i8] {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    transform-origin: 50% 95%;
    animation: ph-waddle-b-hu5kqc96i8 0.55s ease-in-out infinite alternate;
    filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.12));
}

.black[b-hu5kqc96i8], .leg[b-hu5kqc96i8] {
    fill: #000;
}

.fur[b-hu5kqc96i8] {
    fill: #fff;
    stroke: #000;
    stroke-width: 3;
}

.eye[b-hu5kqc96i8] {
    fill: #fff;
}

.mouth[b-hu5kqc96i8] {
    fill: none;
    stroke: #000;
    stroke-width: 2;
    stroke-linecap: round;
}

/* The pupils look where the panda is heading (--look-x / --look-y set from JS, range -1..1). */
.pupils[b-hu5kqc96i8] {
    transform: translate(calc(var(--look-x, 0) * 1.4px), calc(var(--look-y, 0) * 1.4px));
    transition: transform 0.3s ease;
}

.leg-left[b-hu5kqc96i8] {
    animation: ph-step-b-hu5kqc96i8 0.55s ease-in-out infinite alternate;
}

.leg-right[b-hu5kqc96i8] {
    animation: ph-step-b-hu5kqc96i8 0.55s ease-in-out infinite alternate-reverse;
}

/* Sitting still for a moment. */
.ph-panda[data-state="resting"] .ph-panda-svg[b-hu5kqc96i8],
.ph-panda[data-state="resting"] .leg[b-hu5kqc96i8] {
    animation-play-state: paused;
}

@keyframes ph-waddle-b-hu5kqc96i8 {
    from { transform: rotate(-5deg); }
    to { transform: rotate(5deg); }
}

@keyframes ph-step-b-hu5kqc96i8 {
    from { transform: translateY(0); }
    to { transform: translateY(-4px); }
}

/* ---------- Feeding minigame ---------- */

/* Munching: a quick squash while eating. */
.ph-panda[data-state="eating"] .ph-panda-svg[b-hu5kqc96i8] {
    animation: ph-munch-b-hu5kqc96i8 0.2s ease-in-out infinite alternate;
}

.ph-panda[data-state="eating"] .leg[b-hu5kqc96i8] {
    animation-play-state: paused;
}

@keyframes ph-munch-b-hu5kqc96i8 {
    from { transform: scale(1, 1); }
    to { transform: scale(1.05, 0.95); }
}

/* The bamboo: placed by panda.js with its bottom centre on the clicked spot. Same layer as the panda,
   so it stays below the page content; the panda (later in the page) is drawn over it. */
.ph-sprout[b-hu5kqc96i8] {
    position: fixed;
    top: 0;
    left: 0;
    width: 44px;   /* SPROUT_W / SPROUT_H in panda.js */
    height: 76px;
    z-index: 0;
    pointer-events: none;
    display: none;
}

    .ph-sprout[data-state][b-hu5kqc96i8] {
        display: block;
    }

.ph-sprout-svg[b-hu5kqc96i8] {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: 50% 100%;
}

.ph-sprout[data-state="growing"] .ph-sprout-svg[b-hu5kqc96i8] {
    animation: ph-grow-b-hu5kqc96i8 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Eaten from the top down, bite by bite (1.3 s = EAT_MS in panda.js). */
.ph-sprout[data-state="eaten"] .ph-sprout-svg[b-hu5kqc96i8] {
    animation: ph-eaten-b-hu5kqc96i8 1.3s steps(5, end) forwards;
}

@keyframes ph-grow-b-hu5kqc96i8 {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes ph-eaten-b-hu5kqc96i8 {
    from { clip-path: inset(0 0 0 0); }
    to { clip-path: inset(100% 0 0 0); }
}

/* Five dots above her head, popped up briefly after each bamboo; one turns green per bamboo. */
.ph-panda-dots[b-hu5kqc96i8] {
    position: absolute;
    left: 50%;
    top: -18px;
    display: flex;
    gap: 5px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .ph-panda-dots.show[b-hu5kqc96i8] {
        opacity: 1;
    }

.ph-panda-dot[b-hu5kqc96i8] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #000;
    box-shadow: 0 0 0 2px #fff;
}

    .ph-panda-dot.on[b-hu5kqc96i8] {
        background: #43a047;
        animation: ph-dot-pop-b-hu5kqc96i8 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

/* All five: a little wave. */
.ph-panda-dots.done .ph-panda-dot[b-hu5kqc96i8] {
    animation: ph-dot-wave-b-hu5kqc96i8 0.45s ease-in-out infinite alternate;
}

    .ph-panda-dots.done .ph-panda-dot:nth-child(2)[b-hu5kqc96i8] { animation-delay: 0.09s; }
    .ph-panda-dots.done .ph-panda-dot:nth-child(3)[b-hu5kqc96i8] { animation-delay: 0.18s; }
    .ph-panda-dots.done .ph-panda-dot:nth-child(4)[b-hu5kqc96i8] { animation-delay: 0.27s; }
    .ph-panda-dots.done .ph-panda-dot:nth-child(5)[b-hu5kqc96i8] { animation-delay: 0.36s; }

@keyframes ph-dot-pop-b-hu5kqc96i8 {
    from { transform: scale(0.2); }
    to { transform: scale(1); }
}

@keyframes ph-dot-wave-b-hu5kqc96i8 {
    from { transform: translateY(0); }
    to { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .ph-panda-svg[b-hu5kqc96i8],
    .leg[b-hu5kqc96i8],
    .ph-sprout-svg[b-hu5kqc96i8],
    .ph-panda-dot[b-hu5kqc96i8],
    .ph-panda[data-state="eating"] .ph-panda-svg[b-hu5kqc96i8],
    .ph-panda-dots.done .ph-panda-dot[b-hu5kqc96i8] {
        animation: none !important;
    }
}

/* ---------- Speech bubble (clicking on the panda) ---------- */

/* Placed by panda.js above her head; above the page content (z-index 1) and the show/hide button (2). */
.ph-bubble[b-hu5kqc96i8] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    max-width: min(220px, calc(100vw - 16px));
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.2s; /* stay visible while fading out */
}

    .ph-bubble.show[b-hu5kqc96i8] {
        visibility: visible;
        transition-delay: 0s;
    }

.ph-bubble-text[b-hu5kqc96i8] {
    position: relative;
    padding: 0.45rem 0.7rem;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    box-shadow: 3px 3px 0 #000;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    opacity: 0;
    transform: scale(0.6);
    transform-origin: var(--tail-x, 50%) 100%;
    transition: opacity 0.15s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

    .ph-bubble.show .ph-bubble-text[b-hu5kqc96i8] {
        opacity: 1;
        transform: scale(1);
    }

    /* The tail, pointing at her head (--tail-x set by panda.js). */
    .ph-bubble-text[b-hu5kqc96i8]::after {
        content: "";
        position: absolute;
        left: var(--tail-x, 50%);
        bottom: -7px;
        width: 10px;
        height: 10px;
        margin-left: -6px;
        background: #fff;
        border-right: 2px solid #000;
        border-bottom: 2px solid #000;
        transform: rotate(45deg);
    }

/* Near the top of the screen the bubble goes under her feet instead, tail pointing up. */
.ph-bubble.below .ph-bubble-text[b-hu5kqc96i8] {
    transform-origin: var(--tail-x, 50%) 0;
}

    .ph-bubble.below .ph-bubble-text[b-hu5kqc96i8]::after {
        top: -7px;
        bottom: auto;
        transform: rotate(-135deg);
    }

/* Annoyed: heavier border and a little shake. */
.ph-bubble.annoyed .ph-bubble-text[b-hu5kqc96i8] {
    border-width: 3px;
    animation: ph-bubble-shake-b-hu5kqc96i8 0.3s ease-in-out 2;
}

@keyframes ph-bubble-shake-b-hu5kqc96i8 {
    0%, 100% { translate: 0; }
    25% { translate: -4px 0; }
    75% { translate: 4px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ph-bubble-text[b-hu5kqc96i8],
    .ph-bubble.annoyed .ph-bubble-text[b-hu5kqc96i8] {
        transition: none;
        animation: none;
    }
}
