html {
    background: transparent !important;
}
body {
    background: transparent !important;
}

.bg-layer {
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

.bg-full {
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#bg-wave {
    position: absolute;
    inset: 0;
}

.bg-tl {
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
}

.bg-br {
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
}

/* Right-edge repeating vertical pattern strip (placeholder: vertibg.png) */
.bg-vert {
    top: 0;
    right: 0;
    bottom: 0;
    width: 96px;
    background-image: url("/static/assets/vertibg.png");
    background-repeat: repeat-y;
    background-position: top right;
    background-size: 96px auto;
    z-index: 1;
}

/* Admin: animated background off -> solid theme bg (no grey wash) */
.anim-bg-off,
.anim-bg-off body {
    background: var(--color-bg) !important;
}
.anim-bg-off .bg-full,
.anim-bg-off #bg-wave {
    display: none !important;
}
.anim-bg-off main.app-main::before {
    display: none;
}
.bg-wave > canvas{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    background-size: cover;
    opacity: 10%;
}

main.app-main {
    position: relative;
    z-index: 2;
    background: transparent !important;
}
main.app-main::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: rgba(15, 15, 18, 0.50);
    /*background-image: url("/static/assets/goldenvein.png")!important;*/
    background-size: cover;
    background-color: center;
    filter: blur(6px);
    pointer-events: none;
    z-index: -1;
    height: 100%;
}
