/* Minimal sign-in / games-only signup modal for puzzle pages */

.games-account-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
}

.games-account-lightbox[hidden] {
    display: none !important;
}

.games-account-lightbox__panel {
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0f172a;
    color: #f8fafc;
    border-radius: 14px;
    border: 2px solid rgba(250, 183, 25, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    padding: 1.35rem 1.5rem 1.5rem;
    position: relative;
}

.games-account-lightbox__close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.games-account-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.games-account-lightbox__title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.games-account-lightbox__note {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(248, 250, 252, 0.75);
}

.games-account-lightbox__tabs {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.games-account-lightbox__tab {
    flex: 1;
    padding: 0.55rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: transparent;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.games-account-lightbox__tab.is-active {
    background: rgba(250, 183, 25, 0.2);
    border-color: rgba(250, 183, 25, 0.55);
    color: #fab719;
}

.games-account-lightbox__form {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.games-account-lightbox__form.is-active {
    display: flex;
}

.games-account-lightbox__form label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(248, 250, 252, 0.75);
}

.games-account-lightbox__form input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.9);
    color: #f8fafc;
    font-size: 1rem;
    box-sizing: border-box;
}

.games-account-lightbox__form input:focus {
    outline: 2px solid rgba(250, 183, 25, 0.55);
    outline-offset: 1px;
}

.games-account-lightbox__error {
    min-height: 1.25rem;
    font-size: 0.85rem;
    color: #fca5a5;
    margin: 0;
}

.games-account-lightbox__submit {
    margin-top: 0.25rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #fab719, #f59e0b);
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.games-account-lightbox__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
