/*
 * ABC3 Ko-fi
 * Ko-fi injects its floating widget outside the module placeholder, therefore
 * these selectors intentionally target Ko-fi's documented/generated wrappers.
 * Exact offsets are applied by abc3kofi.js after asynchronous widget creation.
 */
html.abc3kofi-active .floatingchat-container-wrap,
html.abc3kofi-active .floatingchat-container-wrap-mobi,
html.abc3kofi-active .floating-chat-kofi-popup-iframe,
html.abc3kofi-active .floating-chat-kofi-popup-iframe-mobi,
html.abc3kofi-active .floating-chat-kofi-popup-iframe-closer-mobi {
    transition: bottom 160ms ease, left 160ms ease, right 160ms ease;
}

/* Prevent Ko-fi's mobile wrapper from consuming the whole viewport width. */
html.abc3kofi-active .floatingchat-container-wrap-mobi {
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
}

/* Keep the floating button clickable above HumHub/ABC3 navigation layers. */
html.abc3kofi-active .floatingchat-container-wrap,
html.abc3kofi-active .floatingchat-container-wrap-mobi {
    pointer-events: auto;
}
