/* guest.css — practice without an account: the trial-over prompt and the save-progress card.
   Follows the same brutalist look as the other modals and summary cards. */

/* ---- trial-over prompt ---- */

.guest-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 101;
}

.guest-modal {
    box-sizing: border-box;
    width: 92%;
    max-width: 460px;
    padding: 32px;
    background-color: var(--as-white);
    border: 3px solid var(--as-black);
    box-shadow: 12px 12px 0 var(--as-yellow);
    text-align: left;
}

.guest-modal .guest-modal-text {
    margin: 0 0 24px 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--as-black);
    text-align: left;
}

.guest-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.guest-btn {
    display: block;
    box-sizing: border-box;
    padding: 16px;
    background-color: var(--as-yellow);
    border: 0;
    color: var(--as-black);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, box-shadow .15s, color .15s;
}

.guest-btn:hover {
    background-color: var(--as-black);
    color: var(--as-yellow);
    box-shadow: 4px 4px 0 var(--as-yellow);
}

/* Outlined variant. The border is paid for out of the padding so both buttons are the same height. */
.guest-btn--ghost {
    padding: 13px;
    background-color: var(--as-white);
    border: 3px solid var(--as-black);
}

.guest-btn--ghost:hover {
    background-color: var(--as-black);
    color: var(--as-white);
    box-shadow: 4px 4px 0 var(--as-black);
}

@media (max-width: 1000px) {
    .guest-modal {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        box-shadow: 0 6px 0 var(--as-yellow);
    }
}

/* ---- save-progress button on the end-of-session screen ---- */

/* Just a spacing wrapper: same max-width as the row of buttons below it
   (.lp-quest-finish-actions), so the two line up instead of a plain lp-btn
   running the full card width while its siblings are narrower. */
.lp-guest-save {
    max-width: 500px;
    margin: 24px auto 0;
}
