
/* =========================================================
   MATEMATICAZ GAMIFICATION
   ========================================================= */

.mz-game {
    margin: 30px 0 60px;
}


/* HERO */

.mz-game-hero {
    position: relative;

    display: grid;
    grid-template-columns:
        120px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 26px;

    overflow: hidden;

    padding: 34px;

    border-radius: 26px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(255,255,255,.17),
            transparent 300px
        ),
        linear-gradient(
            120deg,
            #0f172a,
            #1d4ed8 54%,
            #6d28d9
        );

    color: #fff;

    box-shadow:
        0 25px 65px
        rgba(30,64,175,.22);
}


.mz-game-hero::after {
    content:
        "π  ∫  Σ  ∞  ∇  √x";

    position: absolute;

    right: 20px;
    bottom: -22px;

    color:
        rgba(255,255,255,.06);

    font-family:
        Georgia, serif;

    font-size: 68px;

    letter-spacing: 13px;

    pointer-events: none;
}


.mz-game-rank-emblem {
    position: relative;
    z-index: 2;

    width: 112px;
    height: 112px;

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

    border:
        2px solid
        rgba(255,255,255,.35);

    border-radius: 30px;

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

    box-shadow:
        inset 0 0 25px
        rgba(255,255,255,.08),
        0 15px 35px
        rgba(0,0,0,.22);

    backdrop-filter:
        blur(8px);

    font-family:
        Georgia, serif;

    font-size: 58px;
}


.mz-game-rank-info {
    position: relative;
    z-index: 2;
}


.mz-game-rank-info > span {
    color: #bfdbfe;

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

    letter-spacing: .14em;
}


.mz-game-rank-info h1 {
    margin: 6px 0 3px;

    color: #fff;

    font-size:
        clamp(
            29px,
            4vw,
            46px
        );

    font-weight: 950;

    letter-spacing: -1px;
}


.mz-game-rank-info p {
    margin: 0 0 15px;

    color:
        rgba(255,255,255,.73);

    font-size: 12px;
}


.mz-game-xp-track {
    max-width: 560px;
    height: 10px;

    overflow: hidden;

    border-radius: 999px;

    background:
        rgba(255,255,255,.14);
}


.mz-game-xp-track > div {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #60a5fa,
            #a78bfa,
            #f0abfc
        );

    box-shadow:
        0 0 16px
        rgba(167,139,250,.8);
}


.mz-game-rank-info small {
    display: block;

    margin-top: 7px;

    color:
        rgba(255,255,255,.55);

    font-size: 8px;
}


.mz-game-hero-stats {
    position: relative;
    z-index: 2;

    display: grid;

    gap: 8px;
}


.mz-game-hero-stats > div {
    min-width: 130px;

    padding: 12px 14px;

    border:
        1px solid
        rgba(255,255,255,.15);

    border-radius: 13px;

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

    backdrop-filter:
        blur(7px);
}


.mz-game-hero-stats strong {
    display: block;

    color: #fff;

    font-size: 17px;
}


.mz-game-hero-stats span {
    color:
        rgba(255,255,255,.58);

    font-size: 8px;
}


/* SUMMARY */

.mz-game-summary {
    display: grid;

    grid-template-columns:
        repeat(
            6,
            minmax(0,1fr)
        );

    gap: 10px;

    margin-top: 15px;
}


.mz-game-summary article {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 15px 8px;

    border:
        1px solid #e2e8f0;

    border-radius: 14px;

    background: #fff;

    box-shadow:
        0 5px 18px
        rgba(15,23,42,.04);
}


.mz-game-summary article > span {
    font-size: 17px;
}


.mz-game-summary strong {
    margin-top: 4px;

    color: #0f172a;

    font-size: 19px;
}


.mz-game-summary small {
    margin-top: 3px;

    color: #94a3b8;

    font-size: 8px;

    text-align: center;
}


/* GENERAL SECTIONS */

.mz-game-section {
    margin-top: 35px;
}


.mz-game-section > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 15px;
}


.mz-game-section > header span {
    color: #2563eb;

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

    letter-spacing: .12em;
}


.mz-game-section > header h2 {
    margin: 4px 0 0;

    color: #0f172a;

    font-size: 27px;
    font-weight: 950;

    letter-spacing: -.6px;
}


.mz-game-section > header p {
    margin: 0;

    color: #94a3b8;

    font-size: 9px;
}


/* MISSIONS */

.mz-game-missions {
    display: grid;

    gap: 9px;
}


.mz-game-missions article {
    display: grid;

    grid-template-columns:
        48px
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 13px;

    padding: 14px;

    border:
        1px solid #e2e8f0;

    border-radius: 15px;

    background: #fff;

    transition:
        transform .15s ease,
        border-color .15s ease;
}


.mz-game-missions article:hover {
    transform:
        translateY(-2px);

    border-color: #bfdbfe;
}


.mz-game-missions article.is-complete {
    border-color: #86efac;

    background:
        linear-gradient(
            90deg,
            #f0fdf4,
            #fff
        );
}


.mz-game-missions article.is-claimed {
    opacity: .72;
}


.mz-mission-icon {
    width: 48px;
    height: 48px;

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

    border-radius: 14px;

    background:
        #eef4ff;

    color: #2563eb;

    font-size: 23px;
}


.mz-mission-info > span {
    color: #2563eb;

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

    letter-spacing: .09em;
}


.mz-mission-info h3 {
    margin: 3px 0;

    color: #0f172a;

    font-size: 13px;
}


.mz-mission-info p {
    margin: 0;

    color: #64748b;

    font-size: 9px;
}


.mz-mission-progress {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 8px;
}


.mz-mission-progress > div {
    width: 180px;
    height: 6px;

    overflow: hidden;

    border-radius: 999px;

    background: #e2e8f0;
}


.mz-mission-progress > div > span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #3b82f6,
            #8b5cf6
        );
}


.mz-mission-progress small {
    color: #94a3b8;

    font-size: 8px;
}


.mz-mission-reward {
    min-width: 95px;

    text-align: right;
}


.mz-mission-reward > strong {
    display: block;

    color: #7c3aed;

    font-size: 10px;
}


.mz-mission-reward > span {
    display: block;

    margin-top: 5px;

    color: #94a3b8;

    font-size: 8px;
}


.mz-game-claim {
    min-height: 33px;

    margin-top: 7px;

    padding: 0 12px;

    border: 0;
    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );

    color: #fff;

    font-size: 9px;
    font-weight: 850;

    cursor: pointer;
}


.mz-mission-done {
    color: #059669 !important;
}


/* SPECIALTIES */

.mz-specialty-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap: 12px;
}


.mz-specialty-grid article {
    min-width: 0;

    position: relative;

    padding: 17px;

    border:
        1px solid #e2e8f0;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #fff,
            #f8fafc
        );

    box-shadow:
        0 6px 20px
        rgba(15,23,42,.04);
}


.mz-specialty-symbol {
    width: 43px;
    height: 43px;

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

    margin-bottom: 11px;

    border-radius: 12px;

    background:
        #eef4ff;

    color: #2563eb;

    font-family:
        Georgia, serif;

    font-size: 24px;
}


.mz-specialty-title h3 {
    margin: 0;

    color: #0f172a;

    font-size: 13px;
}


.mz-specialty-title span {
    display: block;

    margin-top: 3px;

    color: #7c3aed;

    font-size: 8px;
    font-weight: 800;
}


.mz-specialty-xp {
    display: block;

    margin-top: 12px;

    color: #334155;

    font-size: 10px;
}


.mz-specialty-progress {
    height: 7px;

    margin-top: 7px;

    overflow: hidden;

    border-radius: 999px;

    background: #e2e8f0;
}


.mz-specialty-progress > span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #8b5cf6
        );
}


.mz-specialty-grid article > small {
    display: block;

    margin-top: 6px;

    color: #94a3b8;

    font-size: 7px;
}


.mz-specialty-details {
    display: flex;

    gap: 10px;

    margin-top: 11px;

    color: #64748b;

    font-size: 8px;
}


/* AWARDS */

.mz-award-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    gap: 11px;
}


.mz-award-grid article {
    position: relative;

    min-height: 180px;

    padding: 17px;

    border:
        1px solid #e2e8f0;

    border-radius: 17px;

    background: #fff;

    overflow: hidden;
}


.mz-award-grid article.is-unlocked {
    border-color: #c4b5fd;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(139,92,246,.13),
            transparent 100px
        ),
        #fff;

    box-shadow:
        0 7px 24px
        rgba(124,58,237,.08);
}


.mz-award-grid article.is-locked {
    filter:
        grayscale(.75);

    opacity: .56;
}


.mz-award-emblem {
    width: 54px;
    height: 54px;

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

    margin-bottom: 10px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #1d4ed8,
            #7c3aed
        );

    color: #fff;

    box-shadow:
        0 9px 23px
        rgba(79,70,229,.24);

    font-size: 27px;
}


.mz-award-type {
    color: #7c3aed;

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

    letter-spacing: .1em;
}


.mz-award-grid h3 {
    margin: 5px 0;

    color: #0f172a;

    font-size: 13px;
}


.mz-award-grid p {
    min-height: 36px;

    margin: 0;

    color: #64748b;

    font-size: 8px;
    line-height: 1.5;
}


.mz-award-grid article > strong {
    display: inline-block;

    margin-top: 10px;

    color: #2563eb;

    font-size: 8px;
}


/* XP BREAKDOWN */

.mz-game-xp-info {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    margin-top: 35px;

    overflow: hidden;

    border:
        1px solid #e2e8f0;

    border-radius: 15px;

    background: #fff;
}


.mz-game-xp-info > div {
    padding: 16px;

    text-align: center;
}


.mz-game-xp-info > div + div {
    border-left:
        1px solid #e2e8f0;
}


.mz-game-xp-info span {
    display: block;

    color: #94a3b8;

    font-size: 7px;
    font-weight: 850;
}


.mz-game-xp-info strong {
    display: block;

    margin-top: 4px;

    color: #0f172a;

    font-size: 18px;
}


/* PROFILE PANEL */

.mz-profile-game {
    display: grid;

    grid-template-columns:
        65px
        minmax(0,1fr)
        auto
        auto;

    align-items: center;

    gap: 15px;

    margin:
        22px 0;

    padding: 18px;

    border:
        1px solid #ddd6fe;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #eef2ff,
            #faf5ff
        );
}


.mz-profile-game-emblem {
    width: 65px;
    height: 65px;

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

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #1d4ed8,
            #7c3aed
        );

    color: #fff;

    font-family:
        Georgia, serif;

    font-size: 34px;
}


.mz-profile-game > div:nth-child(2) > span {
    color: #6d28d9;

    font-size: 7px;
    font-weight: 900;
}


.mz-profile-game h2 {
    margin: 3px 0;

    color: #0f172a;

    font-size: 18px;
}


.mz-profile-game p {
    margin: 0;

    color: #64748b;

    font-size: 8px;
}


.mz-profile-game-progress {
    max-width: 300px;

    height: 6px;

    margin-top: 7px;

    overflow: hidden;

    border-radius: 999px;

    background: #ddd6fe;
}


.mz-profile-game-progress span {
    display: block;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #8b5cf6
        );
}


.mz-profile-game-stats {
    display: flex;

    gap: 8px;
}


.mz-profile-game-stats > span {
    padding: 7px 9px;

    border-radius: 999px;

    background: #fff;

    color: #64748b;

    font-size: 8px;
}


.mz-profile-game > a {
    color: #2563eb !important;

    font-size: 9px;
    font-weight: 850;

    text-decoration: none !important;
}


/* HOME */

.mz-game-home-strip {
    display: grid;

    grid-template-columns:
        44px
        auto
        minmax(100px,1fr)
        auto
        auto
        auto;

    align-items: center;

    gap: 11px;

    margin:
        20px 0;

    padding: 10px;

    border:
        1px solid #ddd6fe;

    border-radius: 14px;

    background:
        linear-gradient(
            90deg,
            #fff,
            #eef2ff,
            #faf5ff
        );

    color: #334155 !important;

    text-decoration: none !important;
}


.mz-game-home-symbol {
    width: 44px;
    height: 44px;

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

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #2563eb,
            #7c3aed
        );

    color: #fff;

    font-family:
        Georgia, serif;

    font-size: 23px;
}


.mz-game-home-strip small {
    display: block;

    color: #7c3aed;

    font-size: 7px;
    font-weight: 900;
}


.mz-game-home-strip strong {
    display: block;

    color: #0f172a;

    font-size: 10px;
}


.mz-game-home-progress {
    height: 6px;

    overflow: hidden;

    border-radius: 999px;

    background: #ddd6fe;
}


.mz-game-home-progress span {
    display: block;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #8b5cf6
        );
}


.mz-game-home-xp,
.mz-game-home-streak {
    font-size: 9px;
    font-weight: 800;
}


/* TOAST */

.mz-game-toast {
    position: fixed;

    z-index: 99999;

    left: 50%;
    bottom: 30px;

    transform:
        translate(-50%,25px);

    opacity: 0;

    display: flex;
    align-items: center;

    gap: 8px;

    padding:
        12px
        18px;

    border-radius: 999px;

    background: #0f172a;

    color: #fff;

    box-shadow:
        0 18px 45px
        rgba(15,23,42,.35);

    transition:
        opacity .2s ease,
        transform .2s ease;
}


.mz-game-toast.is-visible {
    opacity: 1;

    transform:
        translate(-50%,0);
}


.mz-game-toast strong {
    color: #c4b5fd;
}


/* LOGIN */

.mz-game-login {
    max-width: 600px;

    margin:
        60px auto;

    padding: 55px;

    border:
        1px solid #ddd6fe;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #fff,
            #eef2ff
        );

    text-align: center;
}


.mz-game-login-symbol {
    font-size: 60px;

    color: #6d28d9;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .mz-game-hero {
        grid-template-columns:
            90px
            minmax(0,1fr);
    }


    .mz-game-hero-stats {
        grid-column:
            1 / -1;

        grid-template-columns:
            repeat(3,1fr);
    }


    .mz-game-summary {
        grid-template-columns:
            repeat(3,1fr);
    }


    .mz-specialty-grid {
        grid-template-columns:
            repeat(2,1fr);
    }


    .mz-award-grid {
        grid-template-columns:
            repeat(3,1fr);
    }


    .mz-profile-game {
        grid-template-columns:
            65px
            minmax(0,1fr);
    }


    .mz-profile-game-stats,
    .mz-profile-game > a {
        grid-column:
            1 / -1;
    }

}


@media (max-width: 650px) {

    .mz-game-hero {
        grid-template-columns:
            72px
            minmax(0,1fr);

        padding: 20px;
    }


    .mz-game-rank-emblem {
        width: 72px;
        height: 72px;

        border-radius: 20px;

        font-size: 38px;
    }


    .mz-game-hero-stats {
        grid-template-columns:
            1fr;
    }


    .mz-game-summary {
        grid-template-columns:
            repeat(2,1fr);
    }


    .mz-game-section > header {
        align-items: flex-start;
        flex-direction: column;
    }


    .mz-game-missions article {
        grid-template-columns:
            43px
            minmax(0,1fr);
    }


    .mz-mission-reward {
        grid-column:
            1 / -1;

        text-align: left;
    }


    .mz-specialty-grid {
        grid-template-columns:
            1fr;
    }


    .mz-award-grid {
        grid-template-columns:
            repeat(2,1fr);
    }


    .mz-game-xp-info {
        grid-template-columns:
            1fr;
    }


    .mz-game-xp-info > div + div {
        border-left: 0;

        border-top:
            1px solid #e2e8f0;
    }


    .mz-game-home-strip {
        grid-template-columns:
            44px
            minmax(0,1fr)
            auto;

        gap: 8px;
    }


    .mz-game-home-progress {
        grid-column:
            1 / -1;
    }


    .mz-game-home-xp {
        display: none;
    }

}


@media (max-width: 430px) {

    .mz-award-grid {
        grid-template-columns:
            1fr;
    }


    .mz-profile-game-stats {
        flex-direction: column;
    }

}



/* =========================================================
   ASCENSION 1.1
   ========================================================= */

.mz-adventure,
.mz-board,
.mz-season {
    margin: 30px 0 60px;
}


.mz-adventure-hero {
    display: grid;

    grid-template-columns:
        90px
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 20px;

    padding: 28px;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(255,255,255,.16),
            transparent 260px
        ),
        linear-gradient(
            125deg,
            #0f172a,
            #312e81,
            #7c3aed
        );

    color: #fff;

    box-shadow:
        0 24px 60px
        rgba(76,29,149,.22);
}


.mz-prestige-emblem {
    width: 82px;
    height: 82px;

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

    border:
        1px solid
        rgba(255,255,255,.28);

    border-radius: 23px;

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

    font-family: Georgia, serif;
    font-size: 46px;
}


.mz-adventure-hero span,
.mz-meta-section header > span,
.mz-board header > span,
.mz-season-hero > span {
    font-size: 8px;
    font-weight: 900;

    letter-spacing: .14em;
}


.mz-adventure-hero h1 {
    margin: 4px 0;

    color: #fff;

    font-size: 32px;
}


.mz-adventure-hero p {
    margin: 0;

    color:
        rgba(255,255,255,.65);
}


.mz-adventure-actions {
    display: flex;
    gap: 8px;
}


.mz-adventure-actions a {
    padding: 10px 13px;

    border-radius: 10px;

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

    color: #fff !important;

    font-size: 9px;
    font-weight: 800;

    text-decoration: none !important;
}


/* Sections */

.mz-meta-section {
    margin-top: 32px;
}


.mz-meta-section header {
    margin-bottom: 13px;
}


.mz-meta-section header > span {
    color: #6d28d9;
}


.mz-meta-section h2 {
    margin: 4px 0;

    color: #0f172a;

    font-size: 24px;
}


.mz-meta-section header p {
    margin: 0;

    color: #94a3b8;

    font-size: 9px;
}


/* Titles */

.mz-title-grid,
.mz-inventory-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap: 9px;
}


.mz-equip {
    min-height: 80px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 13px;

    border:
        1px solid #e2e8f0;

    border-radius: 14px;

    background: #fff;

    color: #334155;

    cursor: pointer;
}


.mz-equip strong {
    color: #0f172a;
}


.mz-equip span,
.mz-equip small {
    margin-top: 4px;

    color: #94a3b8;

    font-size: 8px;
}


.mz-equip.is-selected {
    border-color: #8b5cf6;

    background:
        #f5f3ff;

    box-shadow:
        inset 0 0 0 1px
        #c4b5fd;
}


.mz-equip.is-locked {
    opacity: .45;

    cursor: not-allowed;
}


/* Chests */

.mz-chest-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap: 10px;
}


.mz-chest-grid article {
    padding: 18px;

    border:
        1px solid #e2e8f0;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #fff,
            #f8fafc
        );

    text-align: center;
}


.mz-chest-grid article.is-ready {
    border-color: #c4b5fd;

    box-shadow:
        0 9px 30px
        rgba(124,58,237,.12);
}


.mz-chest-grid article.is-locked {
    opacity: .5;
}


.mz-chest {
    width: 58px;
    height: 58px;

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

    margin: 0 auto 10px;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #1d4ed8,
            #7c3aed
        );

    color: #fff;

    font-size: 30px;

    box-shadow:
        0 10px 25px
        rgba(79,70,229,.23);
}


.mz-chest-grid h3 {
    color: #0f172a;
}


.mz-chest-grid button,
.mz-special-missions button {
    min-height: 34px;

    padding: 0 13px;

    border: 0;
    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );

    color: #fff;

    font-size: 9px;
    font-weight: 850;

    cursor: pointer;
}


/* Special missions */

.mz-special-missions {
    display: grid;

    gap: 9px;
}


.mz-special-missions article {
    display: grid;

    grid-template-columns:
        48px
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 13px;

    padding: 14px;

    border:
        1px solid #e2e8f0;

    border-radius: 15px;

    background: #fff;
}


.mz-special-icon {
    width: 48px;
    height: 48px;

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

    border-radius: 14px;

    background: #f5f3ff;

    color: #6d28d9;

    font-size: 24px;
}


.mz-special-missions h3 {
    margin: 0;

    color: #0f172a;
}


.mz-special-missions p {
    margin: 3px 0 8px;

    color: #64748b;

    font-size: 9px;
}


.mz-special-progress {
    max-width: 360px;
    height: 6px;

    overflow: hidden;

    border-radius: 999px;

    background: #e2e8f0;
}


.mz-special-progress span {
    display: block;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #8b5cf6
        );
}


/* Season */

.mz-season-mini,
.mz-season-hero {
    margin-top: 35px;

    padding: 25px;

    border:
        1px solid #ddd6fe;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #eef2ff,
            #faf5ff,
            #fff
        );
}


.mz-season-mini h2,
.mz-season-hero h1 {
    color: #0f172a;
}


.mz-season-mini a {
    display: inline-block;

    margin-top: 10px;

    color: #2563eb !important;

    font-weight: 850;

    text-decoration: none !important;
}


/* Leaderboard */

.mz-board > header {
    margin-bottom: 18px;
}


.mz-board > header > span {
    color: #2563eb;
}


.mz-board h1 {
    margin: 4px 0;

    color: #0f172a;

    font-size: 42px;
}


.mz-board-tabs {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 16px;
}


.mz-board-tabs a {
    padding: 8px 11px;

    border:
        1px solid #e2e8f0;

    border-radius: 999px;

    background: #fff;

    color: #475569 !important;

    font-size: 8px;
    font-weight: 800;

    text-decoration: none !important;
}


.mz-board-list {
    display: grid;

    gap: 7px;
}


.mz-board-list > a {
    display: grid;

    grid-template-columns:
        44px
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 12px;

    padding: 12px;

    border:
        1px solid #e2e8f0;

    border-radius: 13px;

    background: #fff;

    color: #334155 !important;

    text-decoration: none !important;
}


.mz-board-position {
    width: 40px;
    height: 40px;

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

    border-radius: 12px;

    background: #eef4ff;

    color: #2563eb;

    font-size: 16px;
    font-weight: 900;
}


.mz-board-list > a:nth-child(1)
.mz-board-position {
    background: #fef3c7;
    color: #b45309;
}


.mz-board-list > a:nth-child(2)
.mz-board-position {
    background: #f1f5f9;
    color: #475569;
}


.mz-board-list > a:nth-child(3)
.mz-board-position {
    background: #ffedd5;
    color: #c2410c;
}


.mz-board-list strong {
    display: block;

    color: #0f172a;
}


.mz-board-list span {
    color: #94a3b8;

    font-size: 8px;
}


/* Reward toast */

.mz-meta-toast {
    position: fixed;

    z-index: 100001;

    left: 50%;
    bottom: 30px;

    transform:
        translate(-50%,30px);

    opacity: 0;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px 20px;

    border:
        1px solid
        rgba(255,255,255,.2);

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #312e81
        );

    color: #fff;

    box-shadow:
        0 18px 50px
        rgba(15,23,42,.42);

    transition:
        .25s ease;
}


.mz-meta-toast.is-visible {
    opacity: 1;

    transform:
        translate(-50%,0);
}


.mz-meta-toast > div {
    font-size: 28px;
}


.mz-meta-toast strong,
.mz-meta-toast small {
    display: block;
}


/* LEVEL UP */

.mz-level-up-overlay {
    position: fixed;

    z-index: 100000;

    inset: 0;

    opacity: 0;

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

    background:
        rgba(2,6,23,.82);

    backdrop-filter:
        blur(8px);

    transition:
        opacity .3s ease;
}


.mz-level-up-overlay.is-visible {
    opacity: 1;
}


.mz-level-up-card {
    width:
        min(
            430px,
            calc(100vw - 30px)
        );

    padding: 40px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 28px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(139,92,246,.35),
            transparent 220px
        ),
        linear-gradient(
            145deg,
            #0f172a,
            #1e1b4b
        );

    color: #fff;

    text-align: center;

    box-shadow:
        0 30px 100px
        rgba(0,0,0,.55);

    transform:
        scale(.85);

    animation:
        mzLevelIn .45s
        forwards;
}


@keyframes mzLevelIn {

    to {
        transform: scale(1);
    }

}


.mz-level-symbol {
    width: 90px;
    height: 90px;

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

    margin: 0 auto 18px;

    border-radius: 27px;

    background:
        linear-gradient(
            145deg,
            #2563eb,
            #8b5cf6
        );

    font-family:
        Georgia, serif;

    font-size: 50px;

    box-shadow:
        0 0 50px
        rgba(139,92,246,.5);
}


.mz-level-up-card small {
    color: #c4b5fd;

    font-weight: 900;

    letter-spacing: .18em;
}


.mz-level-up-card h2 {
    margin: 8px 0;

    color: #fff;

    font-size: 42px;
}


.mz-level-up-card > strong {
    display: block;

    color: #ddd6fe;

    font-size: 15px;
}


.mz-level-up-card button {
    margin-top: 25px;

    min-height: 38px;

    padding: 0 18px;

    border: 0;
    border-radius: 10px;

    background: #fff;

    color: #312e81;

    font-weight: 850;

    cursor: pointer;
}


@media (max-width: 700px) {

    .mz-adventure-hero {
        grid-template-columns:
            70px
            minmax(0,1fr);
    }


    .mz-adventure-actions {
        grid-column:
            1 / -1;
    }


    .mz-title-grid,
    .mz-inventory-grid,
    .mz-chest-grid {
        grid-template-columns:
            1fr;
    }


    .mz-special-missions article {
        grid-template-columns:
            44px
            minmax(0,1fr);
    }


    .mz-special-missions article > div:last-child {
        grid-column:
            1 / -1;
    }

}

