/* ===== SAFE PREFIXED CSS ===== */

.sx-menu-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #111;
    color: #fff;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sx-menu-icon {
    width: 18px;
    display: grid;
    gap: 4px;
}

.sx-menu-icon span {
    display: block;
    height: 2px;
    background: #fff;
}

/* ===== OVERLAY ===== */

.sx-menu-overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99999;
}

.sx-menu-overlay.sx-open {
    display: block;
}

.sx-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.sx-menu-panel {
    position: absolute;
    inset: 0;
    background: #111;
    color: #fff;
    overflow: auto;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    padding: 20px;
}

/* ===== HEADER ===== */

.sx-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sx-menu-title {
    font-size: 18px;
    font-weight: 600;
}

.sx-menu-close {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
}

/* ===== MENU ITEMS ===== */

.sx-menu-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: auto;
}

@media(min-width:700px) {
    .sx-menu-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.sx-menu-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 16px;
}

.sx-menu-card a {
    text-decoration: none;
    color: #fff;
    display: block;
}

.sx-menu-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.sx-menu-card-desc {
    font-size: 13px;
    opacity: 0.7;
}

/* ===== SCROLL LOCK ===== */

.sx-menu-body-lock {
    overflow: hidden;
}