.fx-modal-backdrop {
    position: fixed;

    top: 0;
    bottom: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 100%;
    max-width: var(--fx-app-width);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0, 0, 0, .80);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    z-index: 10000;
}

.fx-modal {
    position: relative;

    width: 100%;
    max-width: 360px;

    padding: 28px 24px 24px;

    border: 1px solid var(--fx-gold-dark);
    border-radius: 22px;

    background:
        radial-gradient(
            ellipse at top,
            #55100d,
            #1e1112 55%
        );

    text-align: center;

    box-shadow:
        0 20px 80px rgba(0, 0, 0, .6),
        0 0 30px rgba(212, 175, 55, .07);

    animation: fxModalEnter .25s ease both;
}

.fx-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;

    width: 30px;
    height: 30px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, .07);

    color: var(--fx-text-muted);

    font-size: 23px !important;
    line-height: 1;
}

.fx-modal-emblem {
    width: 130px;
    margin: 0 auto 10px;

    filter: drop-shadow(
        0 0 14px rgba(255, 70, 0, .25)
    );
}

.fx-modal-kicker {
    color: var(--fx-gold);
    font-size: 10px;
    letter-spacing: 4px;
}

.fx-modal h2 {
    margin: 12px 0 5px;

    color: var(--fx-gold-light);

    font-size: 26px;
    font-weight: 900;

    letter-spacing: 1px;
}

.fx-modal h3 {
    margin: 8px 0;

    font-size: 17px;
    font-weight: 600;
}

.fx-modal p {
    margin: 12px 0 24px;

    font-size: 13px;
    line-height: 1.7;

    color: var(--fx-text-muted);
}

body.fx-modal-open {
    overflow: hidden;
}

@keyframes fxModalEnter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fx-modal {
        animation: none;
    }
}