.discord-help {
    position: fixed; z-index: 64; right: 24px; bottom: 24px;
    width: min(340px, calc(100vw - 32px)); padding: 22px;
    border: 1px solid #bb91f56b; border-radius: 20px;
    background: radial-gradient(ellipse at top left, #763ab345, transparent 75%), #141020;
    box-shadow: 0 16px 50px #0007, 0 0 30px #a367ec18;
    color: #f6f0ff; animation: discord-help-enter .65s cubic-bezier(.2,.8,.2,1) both;
}
.discord-help-close {
    position: absolute; right: 8px; top: 8px; width: 36px; height: 36px;
    border: 0; border-radius: 50%; background: transparent; color: #c7b7dc;
    font-size: 24px; cursor: pointer;
}
.discord-help-close:hover { background: #ffffff0d; color: white; }
.discord-help-icon {
    display: grid; place-items: center; width: 48px; height: 48px;
    margin-bottom: 14px; border: 1px solid #c6a0ff65; border-radius: 15px;
    background: linear-gradient(140deg, #9255dc, #6535ba);
    animation: discord-help-glow 3s ease-in-out infinite;
}
.discord-help-icon svg { width: 28px; height: 28px; fill: currentColor; }
.discord-help h2 { margin: 0 0 8px; font: 650 21px/1.25 'Segoe UI', sans-serif; letter-spacing: -.02em; }
.discord-help p { margin: 0 0 18px; color: #bfb1ce; font: 400 14px/1.6 'Segoe UI', sans-serif; }
.discord-help-link {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 44px; padding: 11px 14px; border: 1px solid #c4a0ff75;
    border-radius: 10px; background: linear-gradient(115deg, #713bc6, #8e48cf);
    color: #fff; text-decoration: none; font: 600 14px/1.4 'Segoe UI', sans-serif;
    transition: background .2s, box-shadow .2s;
}
.discord-help-link:hover { background: #8750d4; box-shadow: 0 0 18px #ad75fa35; }
@keyframes discord-help-enter { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes discord-help-glow { 50% { box-shadow: 0 0 20px #ae71ef60; transform: translateY(-2px); } }
@media(max-width: 1100px) { .discord-help { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); } }
@media(max-height: 500px) { .discord-help { bottom: 12px; padding: 16px; } .discord-help-icon { display: none; } }
@media(prefers-reduced-motion: reduce) { .discord-help, .discord-help-icon { animation: none; } .discord-help-link { transition: none; } }

/* Match the header Discord button's purple shimmer and sparkles. */
.discord-help { border-color: #c3a0ff90; box-shadow: 0 16px 50px #0007, 0 0 30px #9c5bff30; }
.discord-help-icon { background: linear-gradient(115deg, #6233ce, #8c43dc 55%, #6438c9); }
.discord-help .discord-help-link { position: relative; isolation: isolate; overflow: hidden; border-color: #c3a0ff; background: linear-gradient(115deg, #6233ce, #8c43dc 55%, #6438c9); box-shadow: 0 0 22px #9c5bff40, inset 0 1px 0 #ffffff40; }
.discord-help-link::before { position: absolute; z-index: -1; inset: -80% -50%; content: ''; background: linear-gradient(115deg, transparent 40%, #ffffff40 49%, transparent 57%); transform: translateX(-75%); animation: discord-shimmer 5s ease-in-out infinite; pointer-events: none; }
.discord-help .discord-help-link:hover { box-shadow: 0 6px 30px #a36aff80, inset 0 1px 0 #ffffff66; }
.discord-help-sparkles { position: absolute; top: 28px; left: 85px; color: #ecd8ff; font-size: 14px; pointer-events: none; text-shadow: 35px 14px 3px #b674fb, 130px -8px 3px #c69afa; animation: discord-twinkle 3s ease-in-out infinite; }
@media(prefers-reduced-motion: reduce) { .discord-help-link::before, .discord-help-sparkles, .discord-help-icon { animation: none; } }
