/*
 * Ported from https://betterdiscord.app/theme/Frosted%20Glass
 * by @officialdakari:extera.xyz
 * extended by lost+skunk (https://skunky.serveo.net)
 * Licensed under MIT
 */

#root {
    background-size: cover !important;
    background: url(https://git.extera.xyz/OfficialDakari/ExteraThemes/raw/branch/main/FrostedGlass/background.jpg);
}

.prxiv40._1mqalmd1:has(> div > div > div > div > div > img),
button[data-user-id] {
    background: transparent !important;
}

div._1mqalmd1._1mqalmd0._15sthwl8._1bugis91._15sthwla.cpipac3 {
    background: transparent;
}

div#root>.prxiv40,
div#root>.prxiv40>div,
div#root>.prxiv40>div>.prxiv41s {
    background-color: #00000030 !important;
}

button._13tt0gb6._1mqalmd1._1mqalmd0._1bugis90._1bugis91._13tt0gb7._13tt0gbf._13tt0gbi.cpipac3._99bnwe9 {
    background: transparent;
}

div.prxiv40>button.prxiv40._1mqalmd1._1mqalmd0.prxiv41.prxiv4e.prxiv41a.prxiv41k.u258z10._1mqalmd1._1mqalmd0.u258z11 {
    opacity: 0;
}

div._1kqi9iq0._1mqalmd1._1mqalmd0:has(textarea) {
    background: #00000050 !important;
    backdrop-filter: blur(10px);
    box-shadow: none;
}

div.prxiv40._1mqalmd1._1mqalmd0.prxiv41.prxiv417:has(textarea) {
    background: none !important;
    backdrop-filter: blur(10px);
}

.MuiModal-root {
    backdrop-filter: none;
}

._99bnwe2,
._4yxtfdm {
    backdrop-filter: blur(10px);
}

.MuiDrawer-root>.MuiPaper-root {
    backdrop-filter: blur(10px);
    background: #00000090;
}

div.prxiv41s._1mqalmd1>div.prxiv46>div>.MuiPaper-elevation4>.MuiToolbar-root.MuiToolbar-regular,
div.prxiv41s._1mqalmd1>div.prxiv46>div>.MuiPaper-elevation4:has(.MuiToolbar-root.MuiToolbar-regular),
div._171zqol0>div.prxiv46._1mqalmd1>div.MuiBox-root>.MuiPaper-elevation4>.MuiToolbar-root.MuiToolbar-regular,
div._171zqol0>div.prxiv46._1mqalmd1>div.MuiBox-root>.MuiPaper-elevation4:has(.MuiToolbar-root.MuiToolbar-regular) {
    background-color: #00000040;
    backdrop-filter: blur(15px);
}

div.MuiBottomNavigation-root {
    background-color: #00000040 !important;
    backdrop-filter: blur(30px);
}

div.prxiv40._1mqalmd1._1mqalmd0.prxiv41>div.prxiv41s>div.prxiv41s>div._171zqol0>div.prxiv41s>div.prxiv46>div._4yxtfd2 {
    background-color: #00000040 !important;
    backdrop-filter: blur(15px);
}

.MuiButton-root {
    backdrop-filter: blur(20px);
}

div._4yxtfd2._1mqalmd1._1mqalmd0._4yxtfd4._4yxtfdc._4yxtfdg._4yxtfdi._4yxtfdn,
div:has(header.MuiPaper-root),
div.prxiv40._1mqalmd1._1mqalmd0.prxiv41.prxiv46.prxiv41t>div>div>div {
    background-color: #00000040 !important;
}

.MuiAppBar-root:not(.appbar__has-banner),
.MuiAppBar-root:not(.appbar__has-banner)>.MuiToolbar-root {
    background-color: #00000040 !important;
    backdrop-filter: blur(5px);
}

div.prxiv40.prxiv41._1mqalmd0:has(.MuiBox-root)>div {
    background-color: #00000040 !important;
    backdrop-filter: blur(5px);
}