/* =========================================================
   RJJ WORLD
   COMPLETED FAN SCORECARD
========================================================= */

:root {

    --bout-bg: #030609;

    --bout-panel: #090e14;

    --bout-panel-2: #0d131b;

    --bout-border: #263544;

    --bout-text: #f7f7f7;

    --bout-muted: #929ba7;

    --bout-gold: #f4b63d;

    --bout-red: #ff263f;

    --bout-blue: #087dff;

}


/* =========================================================
   PAGE
========================================================= */

body.boutPage {

    margin: 0;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 104, 255, .16),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #020407 0%,
            #05080c 50%,
            #020304 100%
        );

    color: var(--bout-text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

}


.boutWrap {

    width: min(
        calc(100% - 28px),
        820px
    );

    margin: 0 auto;

    padding:
        30px 0
        60px;

}


/* =========================================================
   BRAND
========================================================= */

.boutBrand {

    padding:
        20px
        15px
        30px;

    text-align: center;

}


.boutBrandLogo {

    color: #fff;

    font-size: 52px;

    font-weight: 900;

    font-style: italic;

    line-height: .9;

    letter-spacing: -5px;

    text-shadow:
        0 0 22px
        rgba(0, 115, 255, .75);

}


.boutBrandWorld {

    margin-top: 8px;

    font-size: 19px;

    letter-spacing: 8px;

}


.boutBrandTag {

    margin-top: 11px;

    color: var(--bout-gold);

    font-size: 11px;

    letter-spacing: 4px;

}


/* =========================================================
   BACK
========================================================= */

.boutBack {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin:
        0 0
        16px
        4px;

    color: #d9dde3;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

}


.backArrow {

    font-size: 25px;

}


/* =========================================================
   EXPORT CARD
========================================================= */

.scorecardExport {

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 35%,
            rgba(255, 30, 55, .06),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 35%,
            rgba(0, 119, 255, .08),
            transparent 30%
        ),
        #05090d;

    border:
        1px solid
        #244158;

    border-radius: 22px;

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

}


.scorecardExport::before {

    content: "";

    position: absolute;

    top: 0;

    left: 20%;

    width: 60%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--bout-gold),
            transparent
        );

    box-shadow:
        0 0 18px
        rgba(244, 182, 61, .8);

}


/* =========================================================
   HERO
========================================================= */

.boutHero {

    padding:
        25px;

}


.heroTop {

    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    gap: 15px;

}


.eventDetails {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.eventName {

    font-size: 15px;

    letter-spacing: 3px;

    text-transform: uppercase;

}


.eventDate {

    color: #adb5c0;

    font-size: 11px;

    letter-spacing: 2px;

}


.completedBadge {

    padding:
        9px
        17px;

    background:
        linear-gradient(
            180deg,
            #4e3915,
            #241a09
        );

    border:
        1px solid
        #8c6827;

    border-radius: 12px;

    color: #fff;

    font-size: 12px;

    letter-spacing: 1px;

}


/* =========================================================
   FIGHTERS
========================================================= */

.fighters {

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 18px;

    margin-top: 38px;

}


.fighter {

    font-size:
        clamp(
            21px,
            4vw,
            36px
        );

    font-weight: 900;

    text-transform: uppercase;

}


.fighterRed {

    text-align: right;

    text-shadow:
        0 8px 22px
        rgba(255, 38, 63, .28);

}


.fighterBlue {

    text-align: left;

    text-shadow:
        0 8px 22px
        rgba(8, 125, 255, .35);

}


.versus {

    color:
        var(--bout-gold);

    font-size: 22px;

    font-weight: 900;

}


.boutMeta {

    margin:
        15px 0
        25px;

    color: #b6bec8;

    font-size: 12px;

    text-align: center;

    letter-spacing: 3px;

}


/* =========================================================
   FINAL SCORE
========================================================= */

.finalScoreCard {

    overflow: hidden;

    background:
        rgba(5, 10, 15, .92);

    border:
        1px solid
        #293b4d;

    border-radius: 17px;

}


.finalScoreTitle {

    padding:
        18px 15px
        4px;

    color:
        var(--bout-gold);

    font-size:
        clamp(
            24px,
            5vw,
            34px
        );

    font-weight: 900;

    text-align: center;

    letter-spacing: 1px;

}


.averageFans {

    padding:
        4px 15px
        17px;

    color: #e6e9ed;

    font-size: 14px;

    text-align: center;

}


.fanIcon {

    margin-right: 8px;

    color: #fff;

    font-size: 10px;

}


.finalScores {

    display: grid;

    grid-template-columns:
        1fr
        1px
        1fr;

    border-top:
        1px solid
        #182839;

}


.finalCorner {

    padding:
        20px
        12px
        25px;

    text-align: center;

}


.finalRed {

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(255, 0, 36, .36),
            transparent 68%
        );

}


.finalBlue {

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(0, 108, 255, .42),
            transparent 68%
        );

}


.scoreDivider {

    align-self: center;

    width: 1px;

    height: 70%;

    background:
        linear-gradient(
            transparent,
            var(--bout-gold),
            transparent
        );

}


.finalName {

    font-size: 15px;

    font-weight: 800;

    text-transform: uppercase;

}


.finalNumber {

    margin-top: 5px;

    font-size:
        clamp(
            58px,
            12vw,
            90px
        );

    font-weight: 900;

    line-height: 1;

}


.finalRed
.finalNumber {

    color:
        var(--bout-red);

    text-shadow:
        0 0 28px
        rgba(255, 38, 63, .38);

}


.finalBlue
.finalNumber {

    color:
        var(--bout-blue);

    text-shadow:
        0 0 30px
        rgba(8, 125, 255, .48);

}


.noScores {

    padding: 35px;

    color:
        var(--bout-muted);

    text-align: center;

}


/* =========================================================
   ROUND TABLE
========================================================= */

.roundTable {

    overflow: hidden;

    margin-top: 16px;

    border:
        1px solid
        #293744;

    border-radius: 14px;

}


.roundTableHeader,
.roundRow {

    display: grid;

    grid-template-columns:
        .65fr
        1fr
        1fr
        2fr;

    align-items: stretch;

}


.roundTableHeader {

    background:
        #0d131a;

    border-bottom:
        1px solid
        #34404c;

}


.roundTableHeader
> div {

    padding:
        12px
        8px;

    color: #dfe3e8;

    font-size: 11px;

    text-align: center;

}


.roundTableHeader
.redColumn {

    border-top:
        3px solid
        var(--bout-red);

}


.roundTableHeader
.blueColumn {

    border-top:
        3px solid
        var(--bout-blue);

}


.roundRow {

    min-height: 55px;

    border-bottom:
        1px solid
        #26313b;

}


.roundRow:last-child {

    border-bottom: 0;

}


.roundRow
> div {

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        9px
        7px;

    border-right:
        1px solid
        #26313b;

}


.roundRow
> div:last-child {

    border-right: 0;

}


.roundNumber {

    color: #fff;

    font-size: 20px;

    font-weight: 900;

}


.roundScore {

    font-size: 21px;

    font-weight: 900;

}


.redScore {

    color:
        var(--bout-red);

}


.blueScore {

    color:
        var(--bout-blue);

}


/* =========================================================
   FAN SPLIT
========================================================= */

.fanSplit {

    gap: 8px;

}


.splitPercent {

    min-width: 30px;

    color: #e6e8eb;

    font-size: 11px;

    text-align: center;

}


.splitBar {

    display: flex;

    overflow: hidden;

    width: 100%;

    max-width: 150px;

    height: 15px;

    background:
        #111821;

}


.splitRed {

    display: block;

    height: 100%;

    background:
        var(--bout-red);

}


.splitBlue {

    display: block;

    height: 100%;

    background:
        var(--bout-blue);

}


.evenVotes {

    padding:
        5px 10px;

    background:
        #080c11;

    border-bottom:
        1px solid
        #26313b;

    color:
        var(--bout-muted);

    font-size: 10px;

    text-align: center;

}


.totalRow {

    background:
        #080d12;

    font-weight: 900;

}


.totalRow
.redScore,
.totalRow
.blueScore {

    font-size: 25px;

}


/* =========================================================
   EXPORT BRANDING
========================================================= */

.exportBranding {

    display: flex;

    flex-direction: column;

    align-items: center;

    padding:
        35px 10px
        10px;

}


.exportBranding
> span {

    color: #cfd3d9;

    font-size: 10px;

    letter-spacing: 4px;

}


.exportBranding
strong {

    margin-top: 5px;

    color: #fff;

    font-size: 35px;

    font-style: italic;

    font-weight: 900;

}


.exportBranding
strong span {

    color:
        var(--bout-gold);

}


.exportBranding
small {

    color:
        var(--bout-gold);

    font-size: 9px;

    letter-spacing: 3px;

}


/* =========================================================
   BUTTONS
========================================================= */

.scorecardAction {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    width: 100%;

    min-height: 70px;

    margin-top: 16px;

    padding:
        12px
        20px;

    border-radius: 15px;

    cursor: pointer;

    font-family: inherit;

}


.scorecardAction
.actionIcon {

    font-size: 31px;

    font-weight: 900;

}


.scorecardAction
> span:last-child {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.scorecardAction
strong {

    font-size: 14px;

    letter-spacing: .5px;

}


.scorecardAction
small {

    margin-top: 3px;

    font-size: 11px;

}


.downloadAction {

    background:
        linear-gradient(
            135deg,
            #ffd267,
            #e79b24
        );

    border:
        1px solid
        #ffd568;

    color: #090909;

}


.shareAction {

    background:
        #0c1219;

    border:
        1px solid
        #36516b;

    color: #fff;

}


.scorecardAction:disabled {

    cursor: wait;

    opacity: .65;

}


.shareMessage {

    min-height: 20px;

    margin-top: 10px;

    color:
        var(--bout-muted);

    font-size: 12px;

    text-align: center;

}


/* =========================================================
   FOOTER
========================================================= */

.boutFooter {

    display: flex;

    flex-direction: column;

    align-items: center;

    padding:
        45px 0
        15px;

}


.boutFooter
> span {

    color: #d0d4da;

    font-size: 11px;

    letter-spacing: 5px;

}


.boutFooter
strong {

    margin-top: 6px;

    color: #fff;

    font-size: 45px;

    font-style: italic;

    font-weight: 900;

}


.boutFooter
strong span {

    color:
        var(--bout-gold);

}


.boutFooter
small {

    color:
        var(--bout-gold);

    font-size: 9px;

    letter-spacing: 3px;

}


/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 600px) {

    .boutWrap {

        width:
            calc(100% - 20px);

        padding-top: 10px;

    }


    .boutBrand {

        padding-bottom: 20px;

    }


    .boutBrandLogo {

        font-size: 42px;

    }


    .boutBrandWorld {

        font-size: 15px;

    }


    .boutBrandTag {

        font-size: 8px;

        letter-spacing: 2.5px;

    }


    .boutHero {

        padding: 16px;

    }


    .heroTop {

        align-items: center;

    }


    .eventName {

        font-size: 12px;

        letter-spacing: 2px;

    }


    .completedBadge {

        padding:
            7px
            11px;

        font-size: 10px;

    }


    .fighters {

        gap: 9px;

        margin-top: 28px;

    }


    .fighter {

        font-size: 20px;

    }


    .versus {

        font-size: 17px;

    }


    .finalScoreTitle {

        font-size: 25px;

    }


    .averageFans {

        font-size: 12px;

    }


    .roundTableHeader,
    .roundRow {

        grid-template-columns:
            .55fr
            .9fr
            .9fr
            1.7fr;

    }


    .roundTableHeader
    > div {

        padding:
            10px
            3px;

        font-size: 9px;

    }


    .roundRow
    > div {

        padding:
            8px
            3px;

    }


    .roundScore {

        font-size: 18px;

    }


    .roundNumber {

        font-size: 17px;

    }


    .fanSplit {

        gap: 3px;

    }


    .splitPercent {

        min-width: 24px;

        font-size: 9px;

    }


    .splitBar {

        height: 12px;

    }


    .scorecardAction {

        min-height: 65px;

    }


    .boutFooter
    strong {

        font-size: 38px;

    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media
(max-width: 390px) {

    .fighter {

        font-size: 17px;

    }


    .roundTableHeader,
    .roundRow {

        grid-template-columns:
            .48fr
            .78fr
            .78fr
            1.55fr;

    }


    .splitPercent {

        min-width: 20px;

        font-size: 8px;

    }

}