/* ==UserStyle==
@name           Wplace username unstyler
@namespace      wplace.daavko.moe
@version        1.0.0
@description    Removes custom styles from usernames in Wplace modals with username tables.
@author         daavko
@license        WTFPL
@updateURL      https://wplace.daavko.moe/userstyles/wplace-username-unstyler.user.css
==/UserStyle== */

@-moz-document domain("wplace.live") {
    :is(.modal table td *:has(.avatar) ~ * *, .absolute.bottom-0 > .rounded-t-box *:has(.avatar) ~ * *) {
        &[style*='font-family:'] {
            font-family: unset !important;
        }
        &[style*='animation:'] {
            animation: unset !important;
        }
        &[style*='text-shadow:'] {
            text-shadow: unset !important;
        }
        &[style*='color:'] {
            color: unset !important;
        }
        &[style*='background-image:'] {
            background: unset !important;
        }
        &[style*='background:'] {
            background: unset !important;
        }
        &[style*='filter:'] {
            filter: unset !important;
        }
    }
}
