.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(20, 24, 32, 0.72);
    backdrop-filter: blur(4px);
}

.welcome-overlay[hidden] {
    display: none !important;
}

body.welcome-open {
    overflow: hidden;
}

.welcome-modal {
    position: relative;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem 2rem 1.75rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    animation: welcomeIn 0.35s ease-out;
}

@keyframes welcomeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-close {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #888;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.welcome-close:hover {
    background: rgba(255, 89, 0, 0.12);
    color: rgba(255, 89, 0, 1);
}

.welcome-badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 89, 0, 0.12);
    border: 1px solid rgba(255, 89, 0, 0.35);
    color: rgba(255, 89, 0, 1);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.welcome-title {
    margin: 0 0 1rem;
    font-family: "Nunito", sans-serif;
    font-size: 1.75rem;
    color: #2b3038;
    line-height: 1.2;
}

.welcome-body p {
    margin: 0 0 0.9rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #4a515c;
}

.welcome-body strong {
    color: #2b3038;
}

.welcome-body kbd {
    display: inline-block;
    padding: 0.1rem 0.35rem;
    border: 1px solid #d0d4da;
    border-radius: 0.25rem;
    background: #f4f5f7;
    font-family: monospace;
    font-size: 0.85em;
}

.welcome-note {
    margin-bottom: 0 !important;
    padding: 0.75rem 0.9rem;
    border-left: 3px solid rgba(255, 89, 0, 0.8);
    background: rgba(255, 89, 0, 0.06);
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.9rem !important;
}

.welcome-start {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 0.65rem;
    background: rgba(255, 89, 0, 1);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 150ms ease, transform 120ms ease;
}

.welcome-start:hover {
    background: rgba(230, 78, 0, 1);
    transform: translateY(-1px);
}
