/* WM 2026 Tippspiel · Floating Hilfe-Link */

.wm-floating-help,
.wm-floating-help * {
    box-sizing: border-box;
}

.wm-floating-help {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 9999;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wm-help-main {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.wm-help-button,
.wm-help-mini {
    border: 0;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.wm-help-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px 0 12px;
    border-radius: 999px;
    color: #10131c;
    background: linear-gradient(135deg, #8bd7ff, #f0d88d);
    font-weight: 950;
    letter-spacing: .01em;
    text-decoration: none;
}

.wm-help-button:hover,
.wm-help-button:focus-visible {
    color: #10131c;
    outline: 2px solid rgba(240, 216, 141, .65);
    outline-offset: 4px;
}

.wm-help-button-icon,
.wm-help-mini {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #10131c;
    background: rgba(255, 255, 255, .58);
    font-weight: 1000;
}

.wm-help-hide {
    position: absolute;
    right: -7px;
    top: -9px;
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(12,16,28,.92);
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0,0,0,.34);
}

.wm-help-hide:hover,
.wm-help-hide:focus-visible {
    outline: none;
    background: rgba(255,120,120,.92);
}

.wm-help-mini {
    display: none;
    width: 46px;
    height: 46px;
    color: #10131c;
    background: linear-gradient(135deg, #8bd7ff, #f0d88d);
    font: inherit;
    font-size: 1.25rem;
    font-weight: 1000;
}

.wm-floating-help.is-hidden .wm-help-main {
    display: none;
}

.wm-floating-help.is-hidden .wm-help-mini {
    display: inline-grid;
}

@media (max-width: 640px) {
    .wm-floating-help {
        right: 12px;
        bottom: 12px;
    }

    .wm-help-button {
        min-height: 48px;
        padding-right: 14px;
    }
}
