/* ── Support FAB (Floating Action Button) ── */
.support-fab-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Move above bottom tab bar on mobile */
@media (max-width: 1023px) {
    .support-fab-wrapper {
        bottom: calc(var(--bottom-bar-h, 72px) + 16px);
    }
}

.support-fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e45e10, #ff8a3d);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(228, 94, 16, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.support-fab-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(228, 94, 16, 0.45);
}
.support-fab-btn--open {
    background: #374151;
}
.support-fab-btn--open:hover {
    box-shadow: 0 6px 24px rgba(55, 65, 81, 0.45);
}

/* ── Menu popup ── */
.support-menu {
    position: absolute;
    bottom: 64px;
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    animation: supportMenuIn 0.2s ease-out;
}
@keyframes supportMenuIn {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.support-menu-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 10px;
    font-weight: 700;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.support-menu-items {
    padding: 6px 0;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #1f2937;
    transition: background 0.15s;
}
.support-item:hover {
    background: #f9fafb;
}

.support-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-item-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.support-item-label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}
.support-item-sublabel {
    font-size: 11px;
    color: #9ca3af;
}

/* ── Dark mode ── */
html.dark .support-menu {
    background: #1f2937;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
html.dark .support-menu-header {
    color: #e5e7eb;
    border-bottom-color: #374151;
}
html.dark .support-item { color: #e5e7eb; }
html.dark .support-item:hover { background: #374151; }
html.dark .support-item-label { color: #e5e7eb; }
html.dark .support-item-sublabel { color: #6b7280; }
