.support-launcher {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
}

.support-launcher-panel {
    width: min(86vw, 270px);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.28);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.14);
    padding: 0.75rem;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.support-launcher.is-open .support-launcher-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.support-launcher-label {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #475569;
    padding: 0 0.2rem;
}

.support-launcher-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    text-decoration: none;
    color: #1f2937;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    padding: 0.58rem 0.7rem;
    margin-bottom: 0.45rem;
    transition: border-color 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.support-launcher-link:hover {
    transform: translateY(-1px);
    border-color: rgba(99, 102, 241, 0.55);
    background: rgba(255, 255, 255, 0.95);
}

.support-launcher-link:last-of-type {
    margin-bottom: 0;
}

.support-launcher-link i {
    color: #6366f1;
}

.support-launcher-link.primary {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(140deg, rgba(79, 70, 229, 0.98), rgba(99, 102, 241, 0.96));
    box-shadow: 0 9px 22px rgba(79, 70, 229, 0.35);
}

.support-launcher-link.primary i {
    color: #ffffff;
}

.support-launcher-note {
    margin: 0.55rem 0 0;
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.35;
    padding: 0 0.2rem;
}

.support-launcher-toggle {
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
    color: #312e81;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.support-launcher-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(79, 70, 229, 0.65);
    background: rgba(255, 255, 255, 0.95);
}

.support-launcher-toggle-icon {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 9999px;
    background: #4f46e5;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.73rem;
    transition: transform 0.18s ease;
}

.support-launcher.is-open .support-launcher-toggle-icon {
    transform: rotate(45deg);
}

html.theme-dark .support-launcher-panel {
    border-color: rgba(129, 140, 248, 0.35);
    background: rgba(12, 22, 44, 0.88);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.55);
}

html.theme-dark .support-launcher-label {
    color: #a7b5c9;
}

html.theme-dark .support-launcher-link {
    color: #dbe7ff;
    border-color: rgba(71, 85, 105, 0.8);
    background: rgba(15, 23, 42, 0.72);
}

html.theme-dark .support-launcher-link:hover {
    border-color: rgba(129, 140, 248, 0.75);
    background: rgba(30, 41, 59, 0.86);
}

html.theme-dark .support-launcher-note {
    color: #93a5bf;
}

html.theme-dark .support-launcher-toggle {
    border-color: rgba(99, 102, 241, 0.58);
    background: rgba(12, 22, 44, 0.86);
    color: #dbe7ff;
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.45);
}

html.theme-dark .support-launcher-toggle:hover {
    border-color: rgba(129, 140, 248, 0.8);
    background: rgba(15, 23, 42, 0.95);
}

@media (max-width: 640px) {
    .support-launcher {
        right: 0.75rem;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
    }

    .support-launcher-toggle {
        width: 2.75rem;
        height: 2.75rem;
    }
}
