:root {
    --mud-palette-background: #1a1a27ff;
    --mud-default-borderradius: 12px !important;
}

html, body {
    font-family: Inter var, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif !important;
}

.disable-dbl-tap-zoom {
    touch-action: manipulation;
}

.main-title {
    color: white;
}

.header-logo {
    height: 48px;
    width: auto;
    padding-right: 8px;
}

.app-bar-link {
    height: 100%;
    padding-inline: 16px !important;
    background-color: transparent !important;
    border-radius: 0px !important;
}

.app-bar-link:hover {
    background-color: rgb(255, 255, 255, .1) !important;
}

.inverted-button:hover {
    background-color: rgb(255, 255, 255, .1) !important;
}

.branded-text {
    font-family: "Poppins", sans-serif !important;
    text-transform: uppercase;
}

.branded-text-normal {
    font-family: "Poppins", sans-serif !important;
}

.text-secondary {
    color: rgb(255, 255, 255, 0.575);
}

.font-1 {
    font-size: 1rem !important;
}

.w-100{
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

.mh-400 {
    min-height: 400px;
}

.h-75{
    height: 75vh !important;
}

.text-center {
    text-align: center;
}

.main-content {
    margin-inline: 16px;
    margin-top: 16px;
    min-height: 100vh;
}

.ad-bg {
    position: relative;
    height: 90px;
    width: 100%;
    background-color: var(--mud-palette-surface) !important;
    border-radius: var(--mud-default-borderradius);
}

#ad-background-text {
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    height: 56px;
    font-weight: bold;
}

.scroll-menu {
    top: 66px;
    right: 0px;
    position: fixed;
    cursor: pointer;
    z-index: 100;
}

.ad-main {
    height: 120px;
    position: relative;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hoverable{
    transition: 0.2s;
}

.hoverable :hover {
    cursor: pointer;
}

.big-hoverable {
    height: 333px;
    display: block !important;
    color: var(--mud-palette-text-primary);
    border-radius: var(--mud-default-borderradius);
    transition: 0.2s !important;
}

.big-hoverable :hover {
    cursor: pointer !important;
    transform: scale(1.01) !important;
}

.filter-section {
    position: absolute !important;
}

.clear-filter-button {
    background-color: var(--mud-palette-action-default) !important;
}

.default-fab {
    background-color: var(--mud-palette-background) !important;
    border:1px solid var(--mud-palette-action-default) !important;
}

.bg-color {
    background-color: var(--mud-palette-background) !important
}

.disabled-td p {
    color: gray !important;
}

.mt-tabs {
    border-top-right-radius: var(--mud-default-borderradius);
    border-top-left-radius: var(--mud-default-borderradius);
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.bluesky-wrapper {
    height: 60px;
    width: 60px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.bluesky-wrapper:hover {
    background-color: rgb(from var(--mud-palette-info) r g b / 12%);
    cursor: pointer;
}

.flex {
    display: flex !important;
}

.justify-center{
    justify-content: center;
}

.align-center{
    align-items: center;
}

.flex-center {
    display: flex;
    align-items: center;
}

.flex-end {
    display: flex;
    align-items: end;
}

.flex-right {
    margin-left: auto !important;
}

.flex-left {
    margin-right: auto !important;
}

.filled-card-header {
    background-color: var(--mud-palette-divider);
    border-top-left-radius: var(--mud-default-borderradius);
    border-top-right-radius: var(--mud-default-borderradius);
    margin: -16px;
    padding: 1rem;
    position: relative;
}

.filled-card-body{
    margin-top: 2rem;
    position: relative;
}

.profile-banner-premium {
    
}

.pb-foil {
    background-size: 1800% 1800% !important;
    background: linear-gradient(124deg, rgb(255, 36, 0, 0.3), rgb(232, 29, 29, 0.3), rgb(232, 183, 29, 0.3), rgb(227, 232, 29, 0.3), rgb(29, 232, 64, 0.3), rgb(29, 221, 232, 0.3), rgb(43, 29, 232, 0.3), rgb(221, 0, 243, 0.3), rgb(221, 0, 243, 0.3));
    -webkit-animation: rainbow 18s ease infinite;
    -z-animation: rainbow 18s ease infinite;
    -o-animation: rainbow 18s ease infinite;
    animation: rainbow 18s ease infinite;
}

.pb-mythic {
    background-size: 1800% 1800% !important;
    background: linear-gradient(124deg, rgb(255, 42, 0, 0.3), rgb(235, 32, 0, 0.3), rgb(255,168,0, 0.3), rgb(232, 183, 29, 0.3), rgb(232, 183, 29, 0.3), rgb(227, 232, 0, 0.3));
    -webkit-animation: rainbow 10s ease infinite;
    -z-animation: rainbow 10s ease infinite;
    -o-animation: rainbow 10s ease infinite;
    animation: rainbow 10s ease infinite;
}

@-webkit-keyframes rainbow {
    0% {
        background-position: 0% 82%
    }

    50% {
        background-position: 100% 19%
    }

    100% {
        background-position: 0% 82%
    }
}

@-moz-keyframes rainbow {
    0% {
        background-position: 0% 82%
    }

    50% {
        background-position: 100% 19%
    }

    100% {
        background-position: 0% 82%
    }
}

@-o-keyframes rainbow {
    0% {
        background-position: 0% 82%
    }

    50% {
        background-position: 100% 19%
    }

    100% {
        background-position: 0% 82%
    }
}

@keyframes rainbow {
    0% {
        background-position: 0% 82%
    }

    50% {
        background-position: 100% 19%
    }

    100% {
        background-position: 0% 82%
    }
}

.profile-banner-emblem {
    font-size: 108px !important;
    position: absolute;
    right: 32px;
    top: 32px;
    opacity: .66;
}

.profile-stats-grid-custom {
    font-family: "Poppins", sans-serif;
}

.profile-stats-grid .stats-item {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    margin-top: 2px;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
}

.profile-stats-grid svg {
    margin-right: 0.275rem;
}

.profile-stats-grid-custom svg {
    margin-right: 0.275rem;
}

.profile-stats-grid-stat {
    font-size: 1.275rem !important;
    margin-left: 4px;
}

.player-stat-section {
    border: 1px solid var(--mud-palette-divider);
    padding-left: 4px;
    padding-right: 4px;
    padding-block: 3px;
}

.widget-text {
    font-family: "Poppins", sans-serif !important;
    font-size: 5rem;
    text-align: center;
}

.discord-brand-link {
    padding-left: 12px;
    padding-right: 12px;
    transition: all .2s ease;
    filter: grayscale(10%);
}

.discord-shoutout {
    padding-left: 5rem;
    padding-right: 5rem;
}

.discord-brand-link-wrapper:hover {
    cursor: pointer;
}

.discord-brand-link-wrapper:hover .discord-brand-link {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    transform: scale(1.01);
}

    .discord-brand-link-wrapper:hover .hover-underline::before {
        transform: scaleX(1);
    }
    
    .discord-brand-link-wrapper:hover .hover-underline::after {
        transform: scaleX(1);
    }

.hover-underline {
    position: relative;
    display: inline-block;
}

    .hover-underline::after,
    .hover-underline::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: linear-gradient(to right, var(--mud-palette-primary), var(--mud-palette-secondary));
        bottom: -4px;
        left: 0;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s ease-out;
    }

.hover-underline::before {
    top: -4px;
    transform-origin: left;
}

.deck-card {
    position: relative;
    border-radius: var(--mud-default-borderradius);
    transition: all .1s ease-in-out;
    border: 3px solid rgb(77, 77, 77, 0.77);
}

.deck-card-body {
    padding: 12px;
}

.deck-card:hover {
    cursor: pointer;
    border: 3px solid rgb(255, 255, 255, 0.575) !important;
}

.discord-card {
    height: 100%;
    background-color: var(--mud-palette-background);
    border-radius: var(--mud-default-borderradius);
    min-height: 136px;
    border: 3px solid rgb(255, 255, 255, 0.575);
    transition: all .1s ease-in-out;
}

.discord-card:hover {
    cursor: pointer;
    background-color: #3d3d4f86;
    border: 3px solid rgb(255, 255, 255, 0.575) !important;
}

.discord-card-body {
    padding: 0px 16px 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--mud-default-borderradius);
}

.discord-card-header {
    padding: 12px 16px 12px 16px;
}

.discord-card-footer {
    padding: 12px 16px 12px 16px;
    display: flex;
    flex-wrap: wrap;
}

.discord-ad-card {
    border-radius: var(--mud-default-borderradius);
    min-height: 164px;
    height: 100%;
    border: 3px solid rgb(255, 255, 255, 0.575);
    background-position: center;
    position: relative;
    background-image: linear-gradient(155deg, rgba(22, 14, 88, 0.9) 30%, rgba(61, 0, 20, 0.9) 80%), url(https://cards.scryfall.io/art_crop/front/8/a/8a28c1e8-1969-40bc-a6fb-5494b88eb9ac.jpg?1680464068);
    transition: all .1s ease-in-out !important;
}

    .discord-ad-card:hover {
        cursor: pointer;
        border: 3px solid var(--mud-palette-primary) !important;
    }

.online-indicator {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    background-color: #0fcc45;
    border-radius: 50%;
    position: relative;
}

.blink {
    display: block;
    width: 15px;
    height: 15px;
    background-color: #0fcc45;
    opacity: 0.7;
    border-radius: 50%;
    animation: blink 1s linear infinite;
}

@keyframes blink {
    100% {
        transform: scale(2, 2);
        opacity: 0;
    }
}

.dice-select .mud-input-slot {
    display: flex !important;
}

.dice-select-item p {
    display: flex !important;
}

.achievement {
    border-radius: 10px;
    height: 44px;
    width: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.achievement-icon-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 36px;
    border-radius: 8px;
    border: 2px solid var(--mud-palette-surface);
}

    .achievement-icon-container svg {
        /*margin-top: 4px;*/
    }

.achievements-grid {
    margin: auto;
}

.achievement-see-all-link {
    border: 3px solid var(--mud-palette-text-primary);
    background-color: transparent;
    transition: 0.4s;
}

    .achievement-see-all-link:hover {
        cursor: pointer !important;
        border: 3px solid var(--mud-palette-text-primary);
        background-color: var(--mud-palette-text-primary);
        color: var(--mud-palette-surface);
    }

.locked-achievement {
    background-color: var(--mud-palette-grey-dark);
}

.common {
    background-color: var(--mud-palette-info);
}

.uncommon {
    background-color: var(--mud-palette-tertiary);
}

.rare {
    background-color: var(--mud-palette-warning);
}

.mythic {
    background: linear-gradient(-45deg, #f44336ff, rgb(255, 162, 31), #f44336ff, rgb(218, 112, 38), rgb(255, 162, 31), #f44336ff, rgb(218, 112, 38), #f44336ff, rgb(218, 112, 38));
    background-size: 200% 200%;
    animation: mythicAchievement 4s ease infinite;
}

@keyframes mythicAchievement {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media only screen and (min-width: 900px) and (max-width:1800px) {
    .widget-text {
        font-size: 3vw;
        text-align: center;
    }
}

/*LOADING SPINNER*/
.spinner {
    animation: rotator 1.4s linear infinite;
}

.login-image {
    background-size: 105%;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.register-image {
    background-size: 115%;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.foil {
    background-image: linear-gradient( -225deg, var(--mud-palette-text-primary) 0%, var(--mud-palette-text-primary) 45%, #fff 50%, var(--mud-palette-text-primary) 75%, var(--mud-palette-text-primary) 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    font-weight: bold;
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

@keyframes rotator {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(270deg);
    }
}

.path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    transform-origin: center;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}

.bold {
    font-weight: bold !important;
}

.italic {
    font-style: italic !important;
}

@keyframes colors {
    0% {
        stroke: rgba(119, 107, 231, 1);
    }

    25% {
        stroke: rgba(255, 64, 129, 1);
    }

    50% {
        stroke: rgba(119, 107, 231, 1);
    }

    75% {
        stroke: rgba(255, 64, 129, 1);
    }

    100% {
        stroke: rgba(119, 107, 231, 1);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }

    50% {
        stroke-dashoffset: 46.75;
        transform: rotate(135deg);
    }

    100% {
        stroke-dashoffset: 187;
        transform: rotate(450deg);
    }
}

@keyframes shakeX {
    from, to {
        transform: translate3d(0, 0, 0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translate3d(-10px, 0, 0);
    }

    20%, 40%, 60%, 80% {
        transform: translate3d(10px, 0, 0);
    }
}

.shakeX {
    animation: .5s shakeX ease-in-out;
}

.fade-me-0_5s {
    animation: fadeIn 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-animation: fadeIn 0.5s;
}

.fade-me-0_3s {
    animation: fadeIn 0.3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-animation: fadeIn 0.3s;
}

.fade-me-1s {
    animation: fadeIn 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-animation: fadeIn 1s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-me-out-1s {
    animation: fadeout 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    -webkit-animation: fadeout 1s;
}

@keyframes fadeout {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.mud-charts-xaxis text{
    font-size: 30px;
}

/* mana icons */
.mana {
    background-image: url('../images/mana-colored.svg');
    background-repeat: no-repeat;
    background-size: auto 700%;
    display: inline-block;
    font-size: 100%;
}

    .mana.small {
        height: 1em;
        width: 1em;
    }

    .mana.medium {
        height: 2em;
        width: 2em;
    }

    .mana.large {
        height: 4em;
        width: 4em;
    }

    .mana.s0 {
        background-position: 0 0;
    }

    .mana.s1 {
        background-position: 11.1% 0;
    }

    .mana.s2 {
        background-position: 22.2% 0;
    }

    .mana.s3 {
        background-position: 33.3% 0;
    }

    .mana.s4 {
        background-position: 44.4% 0;
    }

    .mana.s5 {
        background-position: 55.5% 0;
    }

    .mana.s6 {
        background-position: 66.6% 0;
    }

    .mana.s7 {
        background-position: 77.7% 0;
    }

    .mana.s8 {
        background-position: 88.8% 0;
    }

    .mana.s9 {
        background-position: 99.9% 0;
    }

    .mana.s10 {
        background-position: 0 16%;
    }

    .mana.s11 {
        background-position: 11.1% 16.6%;
    }

    .mana.s12 {
        background-position: 22.2% 16.6%;
    }

    .mana.s13 {
        background-position: 33.3% 16.6%;
    }

    .mana.s14 {
        background-position: 44.4% 16.6%;
    }

    .mana.s15 {
        background-position: 55.5% 16.6%;
    }

    .mana.s16 {
        background-position: 66.6% 16.6%;
    }

    .mana.s17 {
        background-position: 77.7% 16.6%;
    }

    .mana.s18 {
        background-position: 88.8% 16.6%;
    }

    .mana.s19 {
        background-position: 99.9% 16.6%;
    }

    .mana.s20 {
        background-position: 0 33%;
    }

    .mana.sx {
        background-position: 11.1% 33.3%;
    }

    .mana.sy {
        background-position: 22.2% 33.3%;
    }

    .mana.sz {
        background-position: 33.3% 33.3%;
    }

    .mana.sw {
        background-position: 44.4% 33.3%;
    }

    .mana.su {
        background-position: 55.5% 33.3%;
    }

    .mana.sb {
        background-position: 66.6% 33.3%;
    }

    .mana.sr {
        background-position: 77.7% 33.3%;
    }

    .mana.sg {
        background-position: 88.8% 33.3%;
    }

    .mana.ss {
        background-position: 99.9% 33.3%;
    }

    .mana.swu {
        background-position: 0 50%;
    }

    .mana.swb {
        background-position: 11.1% 50%;
    }

    .mana.sub {
        background-position: 22.2% 50%;
    }

    .mana.sur {
        background-position: 33.3% 50%;
    }

    .mana.sbr {
        background-position: 44.4% 50%;
    }

    .mana.sbg {
        background-position: 55.5% 50%;
    }

    .mana.srw {
        background-position: 66.6% 50%;
    }

    .mana.srg {
        background-position: 77.7% 50%;
    }

    .mana.sgw {
        background-position: 88.8% 50%;
    }

    .mana.sgu {
        background-position: 99.9% 50%;
    }

    .mana.s2w {
        background-position: 0 66.6%;
    }

    .mana.s2u {
        background-position: 11.1% 66.6%;
    }

    .mana.s2b {
        background-position: 22.2% 66.6%;
    }

    .mana.s2r {
        background-position: 33.3% 66.6%;
    }

    .mana.s2g {
        background-position: 44.4% 66.6%;
    }

    .mana.swp {
        background-position: 55.5% 66.6%;
    }

    .mana.sup {
        background-position: 66.6% 66.6%;
    }

    .mana.sbp {
        background-position: 77.7% 66.6%;
    }

    .mana.srp {
        background-position: 88.8% 66.6%;
    }

    .mana.sgp {
        background-position: 99.9% 66.6%;
    }

    .mana.st {
        background-position: 0% 83.3%;
    }

    .mana.sq {
        background-position: 11.1% 83.3%;
    }

    .mana.sc {
        background-position: 77.7% 83.3%;
    }

    .mana.se {
        background-position: 88.8% 83.3%;
    }

    .mana.s1000000 {
        background-position: 0 100%;
    }

        .mana.s1000000.small {
            width: 4.9em;
        }

        .mana.s1000000.medium {
            width: 9.7em;
        }
    /*.mana.s1000000.large { width: 18.8em; }*/
    .mana.s100 {
        background-position: 60% 100%;
    }

        .mana.s100.small {
            width: 1.8em;
        }

        .mana.s100.medium {
            width: 3.7em;
        }
    /*.mana.s100.large { width: 10.8em; }*/
    .mana.schaos {
        background-position: 76.5% 100%;
    }

        .mana.schaos.small {
            width: 1.2em;
        }

        .mana.schaos.medium {
            width: 2.3em;
        }
    /*.mana.sc.large { width: 4.6em; }*/
    .mana.shw {
        background-position: 83.5% 100%;
    }

        .mana.shw.small {
            width: 0.5em;
        }

        .mana.shw.medium {
            width: 1em;
        }
    /*.mana.shw.large { width: 2em; }*/
    .mana.shr {
        background-position: 89% 100%;
    }

        .mana.shr.small {
            width: 0.5em;
        }

        .mana.shr.medium {
            width: 1em;
        }

.ms-2::before{
    content: unset !important;
}
/*.mana.shr.large { width: 2em; }*/

.shadow {
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=-1, OffY=1, Color='#000')";
    filter: url(#shadow);
    -webkit-filter: drop-shadow(-1px 1px 0px #000);
    filter: drop-shadow(-1px 1px 0px #000);
}

.inline-badge-default {
    border-radius: var(--mud-default-borderradius);
    background-color: var(--mud-palette-surface);
    padding-inline: 8px;
    padding-block: 4px;
    font-weight: bold;
    color: var(--mud-palette-text-primary);
    font-size: 0.75rem;
    font-family: Roboto, Helvetica, Arial, "sans-serif" !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.inline-badge {
    border-radius: var(--mud-default-borderradius);
    background-color: var(--mud-palette-primary);
    padding-inline: 8px;
    padding-block: 4px;
    font-weight: bold;
    color: var(--mud-palette-white);
    font-size: 0.75rem;
    font-family: Roboto, Helvetica, Arial, "sans-serif" !important;
    white-space: nowrap;
}

.inline-badge-secondary {
    border-radius: var(--mud-default-borderradius);
    background-color: var(--mud-palette-secondary);
    padding-inline: 8px;
    padding-block: 4px;
    font-weight: bold;
    color: var(--mud-palette-white);
    font-size: 0.75rem;
}

.inline-badge-inverted {
    border-radius: var(--mud-default-borderradius);
    background-color: rgba(20, 20, 31, .5);
    border: 1px solid;
    padding-inline: 8px;
    padding-block: 4px;
    font-weight: bold;
    font-size: 0.75rem;
    font-family: Roboto, Helvetica, Arial, "sans-serif" !important;
    white-space: nowrap;
}

.blur {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.blur-light {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.tooltip-background {
    background: rgb(from rgb(51, 51, 61) r g b / 75%) !important;
}

.dialog-background {
    background: rgb(from var(--mud-palette-surface) r g b / 75%) !important;
}

.dialog-background-title {
    background: var(--mud-palette-primary) !important;
    color: white !important;
    opacity: .85;
    height: 64px;
}

.dialog-background-surface {
    background: rgb(from var(--mud-palette-surface) r g b / 75%);
}

/*Mud overrid*/
.badge-dark > svg {
    fill: var(--mud-palette-surface) !important;
}

.mud-avatar > .mud-image {
    width: auto !important;
}

.mud-dialog-container {
    overflow: auto;
}



.mud-table-cell {
    padding: 8px !important;
}

.fence-pattern {
    --s: 42px; /* control the size*/
    --c1: #88abc222;
    --c2: #fad3b2ff;
    --g: #0000 45%,var(--c1) 46% 54%,#0000 55%;
    background: linear-gradient( 60deg,var(--g)), linear-gradient(-60deg,var(--g)) var(--c2);
    background-size: var(--s) calc(tan(60deg)*var(--s));
}

.graph-paper-pattern {
    --s: 72px; /* control the size*/
    --c1: #ffffff11;
    --c2: #ffffff00;
    --_g: #0000 90deg,var(--c1) 0;
    background: conic-gradient(from 90deg at 2px 2px,var(--_g)), conic-gradient(from 90deg at 1px 1px,var(--_g)), var(--c2);
    background-size: var(--s) var(--s), calc(var(--s)/5) calc(var(--s)/5);
    background-position: 36px;
}

.hearts-pattern {
    --s: 64px; /* control the size*/
    --c1: #e7525b33;
    --c2: #ffffff00;
    --_g: 80%,var(--c1) 25.4%,#0000 26%;
    background: radial-gradient(at 80% var(--_g)), radial-gradient(at 20% var(--_g)), conic-gradient(from -45deg at 50% 41%,var(--c1) 90deg,var(--c2) 0) calc(var(--s)/2) 0;
    background-size: var(--s) var(--s);
}

.cubic-pattern {
    --s: 100px; /* control the size*/
    --c1: #1d1d1daa;
    --c2: #4e4e4e99;
    --c3: #3c3c3c;
    background: repeating-conic-gradient(from 30deg,#0000 0 120deg,var(--c3) 0 50%) calc(var(--s)/2) calc(var(--s)*tan(30deg)/2), repeating-conic-gradient(from 30deg,var(--c1) 0 60deg,var(--c2) 0 120deg,var(--c3) 0 50%);
    background-size: var(--s) calc(var(--s)*tan(30deg));
}

.rotate-3d-effect {
    animation: rotateAnimation 5s linear infinite;
}

.icon-glow {
    animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
    }

    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
    }
}

@keyframes rotateAnimation {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(360deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

@-webkit-keyframes rotateAnimation {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(360deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

.overflow-hidden {
    overflow: hidden;
}

/*animated tiles*/
.ms-default-floater {
    background-color: rgb(255, 255, 255, 0.33);
    border-radius: 16px;
}

.floater-effect {
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
}

    .floater-effect li {
        position: absolute;
        display: block;
        list-style: none;
        width: 20px;
        height: 20px;
        animation: tile-spin 25s linear infinite;
        -webkit-animation: tile-spin 25s linear infinite;
        bottom: -150px;
    }

        .floater-effect li:nth-child(1) i {
            left: 25%;
            width: 80px;
            height: 80px;
            animation-delay: 0s;
            -webkit-animation-delay: 0s;
            font-size: 70px;
        }


        .floater-effect li:nth-child(2) {
            left: 10%;
            width: 20px;
            height: 20px;
            animation-delay: 2s;
            -webkit-animation-delay: 2s;
            animation-duration: 12s;
            -webkit-animation-duration: 12s;
            font-size: 30px;
        }

        .floater-effect li:nth-child(3) {
            left: 70%;
            width: 20px;
            height: 20px;
            animation-delay: 4s;
            -webkit-animation-delay: 4s;
            font-size: 20px;
        }

        .floater-effect li:nth-child(4) {
            left: 40%;
            width: 60px;
            height: 60px;
            animation-delay: 0s;
            -webkit-animation-delay: 0s;
            animation-duration: 18s;
            -webkit-animation-duration: 18s;
            font-size: 60px;
        }

        .floater-effect li:nth-child(5) {
            left: 65%;
            width: 20px;
            height: 20px;
            animation-delay: 0s;
            -webkit-animation-delay: 0s;
            font-size: 40px;
        }

        .floater-effect li:nth-child(6) {
            left: 75%;
            width: 110px;
            height: 110px;
            animation-delay: 3s;
            -webkit-animation-delay: 3s;
            font-size: 110px;
        }

        .floater-effect li:nth-child(7) {
            left: 35%;
            width: 150px;
            height: 150px;
            animation-delay: 7s;
            -webkit-animation-delay: 7s;
            font-size: 150px;
        }

        .floater-effect li:nth-child(8) {
            left: 50%;
            width: 25px;
            height: 25px;
            animation-delay: 15s;
            -webkit-animation-delay: 15s;
            animation-duration: 45s;
            -webkit-animation-duration: 45s;
            font-size: 25px;
        }

        .floater-effect li:nth-child(9) {
            left: 20%;
            width: 15px;
            height: 15px;
            animation-delay: 2s;
            -webkit-animation-delay: 2s;
            animation-duration: 35s;
            -webkit-animation-duration: 35s;
            font-size: 15px;
        }

        .floater-effect li:nth-child(10) {
            left: 85%;
            width: 100px;
            height: 100px;
            animation-delay: 0s;
            -webkit-animation-delay: 0s;
            animation-duration: 11s;
            -webkit-animation-duration: 11s;
            font-size: 100px;
        }

@keyframes tile-spin {

    0% {
        transform: translateY(0);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-80vh);
        opacity: 0;
        border-radius: 50%;
    }
}

@-webkit-keyframes tile-spin {

    0% {
        -webkit-transform: translateY(0);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        -webkit-transform: translateY(-80vh);
        opacity: 0;
        border-radius: 50%;
    }
}


@media (prefers-reduced-motion: no-preference) {
    .scale-up-on-scroll {
        will-change: transform;
        animation: scale-a-lil linear both;
        -webkit-animation: scale-a-lil linear both;
        animation-timeline: view();
        -webkit-animation-timeline: view();
        animation-range: 20vh 60vh;
        -webkit-animation-range: 20vh 60vh;
    }
}

@keyframes scale-a-lil {
    from {
        scale: .8;
        opacity: .5;
    }
}

@-webkit-keyframes scale-a-lil {
    from {
        scale: .8;
        opacity: .5;
    }
}


@media (prefers-reduced-motion: no-preference) {
    .fade-in-on-scroll {
        will-change: transform;
        animation: fade-scroll linear both;
        -webkit-animation: fade-scroll linear both;
        animation-timeline: view();
        -webkit-animation-timeline: view();
        animation-range: 20vh 45vh;
        -webkit-animation-range: 20vh 45vh;
    }
}

@keyframes fade-scroll {
    from {
        opacity: 0.1;
    }
}

@-webkit-keyframes fade-scroll {
    from {
        opacity: 0.1;
    }
}


@media (prefers-reduced-motion: no-preference) {
    .slide-left-on-scroll {
        will-change: transform;
        animation: slide-from-right linear both;
        -webkit-animation: slide-from-right linear both;
        animation-timeline: view();
        -webkit-animation-timeline: view();
        animation-range: 10vh 40vh;
        -webkit-animation-range: 10vh 40vh;
    }
}

@keyframes slide-from-right {
    from {
        transform: translateX(48px);
        opacity: 0.1;
    }
}

@-webkit-keyframes slide-from-right {
    from {
        -webkit-transform: translateX(48px);
        opacity: 0.1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .slide-right-on-scroll {
        will-change: transform;
        animation: slide-from-left linear both;
        -webkit-animation: slide-from-left linear both;
        animation-timeline: view();
        -webkit-animation-timeline: view();
        animation-range: 10vh 40vh;
        -webkit-animation-range: 10vh 40vh;
    }
}

@keyframes slide-from-left {
    from {
        transform: translateX(-48px);
        opacity: 0.1;
    }
}

@-webkit-keyframes slide-from-left {
    from {
        -webkit-transform: translateX(-48px);
        opacity: 0.1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .slide-fade-up {
        will-change: transform;
        animation: slide-fade-up linear both;
        -webkit-animation: slide-fade-up linear both;
        animation-timeline: view();
        -webkit-animation-timeline: view();
        animation-range: 10vh 30vh;
        -webkit-animation-range: 10vh 30vh;
    }
}

@keyframes slide-fade-up {
    from {
        transform: translateY(48px);
        opacity: 0.33;
    }
}

@-webkit-keyframes slide-fade-up {
    from {
        -webkit-transform: translateY(48px);
        opacity: 0.33;
    }
}



.fastFadeDown {
    animation: fastFadeDown .33s;
    -webkit-animation: fastFadeDown .33s;
}

@keyframes fastFadeDown {
    from {
        opacity: 0;
        transform: translate3d(0, -3px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes fastFadeDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -3px, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
    }
}



.fadeInDown {
    animation: fadeInDown .5s;
    -webkit-animation: fadeInDown .5s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -20px, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation: fadeInUp 1s;
    -webkit-animation: fadeInUp 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
    }
}

@media only screen and (max-width: 764px) {
    .app-bar-link {
        display: none !important;
    }

    .main-title {
        font-size: 18px !important;
    }

    .hover-underline{
        font-size: 12px !important;
    }

    .discord-shoutout {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .no-min-w{
        min-width: unset !important;
    }

    .partner-image.split {
        height: 400px;
    }
}

@media only screen and (max-width: 400px) {
    .main-title {
        display: none !important;
    }

    .header-logo {
        height: 42px;
        width: auto;
        padding-right: 6px;
    }

    .lt-buttons-container {
        align-items: start !important;
        transform: translateY(-2vw);
    }
}

.dialog-root {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: white;
    overflow: hidden;
    z-index: 1300; /* higher than app bar */
}

.lt-dialog-body {
    flex: 1;
    overflow: auto;
    margin-top: 48px;
    overflow: hidden;
}


/*life tracker*/
.four-player-grid {
    display: grid;
    width: 100%;
    height: 100%;
    gap: 0.25rem;
    box-sizing: border-box;
    grid-template-areas:
        "player0 player1"
        "player2 player3";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.grid-player {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

.grid-player0 {
    grid-area: player0;
}

.grid-player1 {
    grid-area: player1;
}

.grid-player2 {
    grid-area: player2;
}

.grid-player3 {
    grid-area: player3;
}

.player-wrapper {
    position: relative;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgb(255,255,255,0.1);
    border-radius: var(--mud-default-borderradius);
}

.lt-wrapper {
    position: relative;
    z-index: 0;
    max-width: max-content;
    max-height: max-content;
}

.fs-stretch {
    width: 100dvmax;
    height: calc(100dvmin - 48px);
    overflow: hidden;
}

.lt-background {
    width: 100%;
    height: 100%;
    background-color: var(--mud-palette-surface);
}

.lt-buttons-container {
    align-items: center;
}

.player-rotate-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.frame-0, .frame-1, .cd-1 {
    transform: rotate(180deg);
}
.frame-2, .frame-3, .cd-2 {
    transform: rotate(0deg);
}

@media (orientation: portrait) {
    .rotate-portrait {
        transform: rotate(90deg);
    }

    .fs-stretch {
        width: calc(100dvmax - 48px) !important;
        height: 100dvmin !important;
        overflow: hidden;
    }

    .cd-1 {
        transform: rotate(270deg);
    }
    .cd-2 {
        transform: rotate(90deg);
    }
}


/* Split version for users with 2 images */
.partner-image.split {
    position: relative;
}

    .partner-image.split .partner-1 {
        position: absolute;
    }

    .partner-image.split .partner-2 {
        position: absolute;
        -webkit-clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
        clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    }

        .partner-2:hover {
            position: absolute;
            -webkit-clip-path: none !important;
            clip-path: none !important;
        }

.partner-1:hover {
    z-index: 1;
}

.compare-less{
    color: var(--mud-palette-error) !important;
}

.compare-more {
    color: var(--mud-palette-success) !important;
}

.compare-card-highlight {
    background-color: rgba(var(--mud-palette-success-rgb), 0.1) !important;
    border: 2px rgba(var(--mud-palette-success-rgb), 1) solid !important;
}