.help-close-btn {
    position: fixed;
    top: max(12px, env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    background: #06122c;
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(6, 18, 44, 0.35);
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.help-close-btn:hover,
.help-close-btn:focus {
    background: #0a1f4a;
    outline: none;
}

.help-close-btn:active {
    transform: scale(0.97);
}

body.has-help-close {
    padding-top: env(safe-area-inset-top, 0px);
}

@media (max-width: 768px) {
    .help-close-btn {
        top: max(10px, env(safe-area-inset-top, 0px));
        right: max(10px, env(safe-area-inset-right, 0px));
        padding: 9px 14px;
        font-size: 0.8rem;
    }
}
