/* AFK prompt — shown after a 4003 idle eviction (static/modules/afkModal.js).
   Visual language deliberately matches .tutorial-overlay in styles/premium.css. */

.afk-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Above .purchase-modal-overlay (10000) and .flag-system (10001) — the room is
       already disconnected, so nothing behind this is still actionable. */
    z-index: 10004;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.afk-overlay.active {
    opacity: 1;
}

.afk-content {
    background: #1e1e2e;
    border: 1px solid #3b3b5c;
    border-radius: 12px;
    padding: 32px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    color: #e2e8f0;
}

.afk-emoji {
    font-size: 2.5em;
    display: block;
    margin-bottom: 8px;
}

.afk-content h2 {
    margin: 0 0 6px;
    font-size: 1.4em;
    color: #f1f5f9;
}

.afk-body {
    margin: 0 0 28px;
    color: #94a3b8;
    font-size: 0.9em;
    line-height: 1.5;
}

.afk-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #6d28d9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.afk-btn:hover {
    background: #7c3aed;
}
