.game-nav-mounted {
    padding-top: 84px;
}

.game-nav-root {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.game-nav-dock {
    width: min(760px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(8, 14, 24, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    pointer-events: auto;
}

.game-nav-btn {
    appearance: none;
    border: none;
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.game-nav-btn.primary {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    box-shadow: 0 10px 28px rgba(0, 114, 255, 0.24);
}

.game-nav-icon {
    line-height: 1;
    font-size: 1.1rem;
}

.game-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 9997;
}

.game-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.game-nav-sheet {
    position: fixed;
    top: 84px;
    left: 50%;
    z-index: 9998;
    width: min(720px, calc(100vw - 28px));
    max-height: calc(100vh - 112px);
    overflow: auto;
    background: rgba(7, 12, 20, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transform: translate(-50%, -12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.game-nav-sheet.open {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.game-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.game-nav-title {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0;
}

.game-nav-subtitle {
    margin: 4px 0 0;
    color: #9eb1c8;
    font-size: 0.86rem;
    line-height: 1.35;
}

.game-nav-close {
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    min-width: 40px;
    min-height: 40px;
    border-radius: 999px;
    font-size: 1.1rem;
    cursor: pointer;
}

.game-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.game-nav-link {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.game-nav-link.is-current {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(56, 189, 248, 0.12);
}

.game-nav-link-label {
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0;
}

.game-nav-link-meta {
    font-size: 0.78rem;
    color: #9eb1c8;
}

.game-call-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.game-call-action,
.game-call-open,
.game-call-save {
    appearance: none;
    border: none;
    min-height: 48px;
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.game-call-action.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #8fffc0;
    border: 1px solid rgba(37, 211, 102, 0.22);
}

.game-call-label {
    display: block;
    margin-bottom: 8px;
    color: #dbeafe;
    font-size: 0.84rem;
    font-weight: 800;
}

.game-call-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.game-call-input {
    min-width: 0;
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    padding: 0 14px;
    font: inherit;
    outline: none;
}

.game-call-input:focus {
    border-color: rgba(56, 189, 248, 0.58);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.game-call-save {
    background: #fff;
    color: #0f172a;
}

.game-call-open {
    width: 100%;
    margin-top: 10px;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
}

.game-call-open.disabled {
    opacity: 0.48;
}

.game-call-status {
    min-height: 20px;
    margin: 10px 0 0;
    color: #9eb1c8;
    font-size: 0.82rem;
    line-height: 1.35;
}

.game-call-status.is-error {
    color: #fca5a5;
}

@media (max-width: 760px) {
    .game-nav-mounted {
        padding-top: 0;
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    .game-nav-root {
        top: auto;
        bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .game-nav-dock {
        width: min(420px, calc(100vw - 20px));
        border-radius: 24px;
    }

    .game-nav-btn {
        min-height: 54px;
        padding: 6px 8px;
        flex-direction: column;
        gap: 4px;
        font-size: 0.74rem;
    }

    .game-nav-icon {
        font-size: 1.25rem;
    }

    .game-nav-sheet {
        top: auto;
        bottom: calc(84px + env(safe-area-inset-bottom));
        width: calc(100vw - 20px);
        max-height: calc(100vh - 112px - env(safe-area-inset-bottom));
        border-radius: 24px;
        transform: translate(-50%, 14px);
    }

    .game-nav-sheet.open {
        transform: translate(-50%, 0);
    }

    .game-nav-grid,
    .game-call-actions {
        grid-template-columns: 1fr;
    }

    .game-call-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .game-nav-text {
        font-size: 0.68rem;
    }
}
