@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
*,
*:after,
*::before {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    background: #eee;
}

#app {
    width: 480px;
    max-width: 100%;
    min-height: 100vh;
    background: #E4DEEB;
    margin: 0 auto;
}

.header {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.header .bg-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.header .logo {
    position: relative;
    text-align: center;
    margin-top: 43px;
    overflow: hidden;
}

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

.header .sponsor {
    margin-top: 20px;
    text-align: center;
}

.sponsor .sponsor-label {
    font-weight: 300;
    font-style: italic;
    font-size: 0.857em;
    margin-bottom: 10px;
}

.sponsor-banner {
    display: flex;
    justify-content: center;
    grid-gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.game-wrap {
    background: #E4DEEB;
    padding: 30px;
    position: relative;
    z-index: 10;
    margin-top: -1px;
}

.game-title {
    min-height: 68px;
    text-align: center;
    color: #fff;
    background: #9963DD;
    padding-top: 16px;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.265em;
    text-transform: uppercase;
}

.game-title:before,
.game-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 51%;
    height: 46px;
    background: #E4DEEB;
    border-radius: 0 100px 0 0;
    transform: translateY(50%);
}

.game-title:after {
    left: auto;
    right: 0;
    border-radius: 100px 0 0 0;
}

.game-progress {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    text-align: center;
    position: relative;
    margin-top: 40px;
    margin-bottom: 50px;
}

.game-progress:before {
    content: "";
    position: absolute;
    top: 25px;
    left: 40px;
    right: 40px;
    border-bottom: 2px solid #9963DD;
}

.game-progress .step {
    width: 100%;
    text-align: center;
    position: relative;
}

.game-progress .step.step-start .label {
    font-weight: 500;
    font-size: 15px;
    color: #431082;
    margin: 0;
    margin-top: 10px;
    bottom: auto;
    top: 100%;
    min-height: 0;
}

.game-progress .step .label {
    font-weight: bold;
    font-size: 11px;
    color: #7832D1;
    margin-bottom: 10px;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
}

.game-progress .step .circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.game-progress .step .circle .triangle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -5px;
}

.game-progress .step .circle .number {
    /* font-style: italic; */
    font-weight: 900;
    font-size: 22px;
    color: #BB80FF;
}

.game-progressbar {
    margin-bottom: 15px;
}

.progressbar {
    position: relative;
    overflow: hidden;
    height: 30px;
    margin-bottom: 5px;
}

.progressbar .bar {
    height: 100%;
    background: #BF9DF0;
    border-radius: 100px;
    display: flex;
    align-items: center;
    text-align: right;
    justify-content: flex-end;
    grid-gap: 10px;
}

.progressbar .bar .name {
    color: #7A50B2;
    font-size: 11px;
}

.progressbar .bar .number {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #fff;
    background: #DABEFF;
    border-radius: 50%;
    margin-right: 5px;
}

.game-record {
    display: flex;
    flex-wrap: nowrap;
    grid-gap: 17px;
    width: 100%;
    margin-bottom: 17px;
}

.game-record .item {
    width: 100%;
    text-decoration: none;
}

.card-game {
    background: #fff;
    height: 100%;
}

.card-game .card-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.card-game .title {
    padding: 10px;
    font-style: italic;
    font-size: 14px;
    color: #3C3C3C;
}

.card-list {
    background: #fff;
}

.card-list .card-heading {
    text-align: center;
    background: #FFC330;
    color: #fff;
    font-weight: 900;
    font-size: 11px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-list ul.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.card-list ul.list li {
    min-height: 38px;
    display: flex;
    align-items: center;
    grid-gap: 10px;
    font-size: 10px;
    padding: 10px;
    line-height: 1;
    word-break: break-all;
    font-size: 8px;
}

.card-list ul.list li:nth-child(even) {
    background: #F2F2F2;
}

.card-list ul.list li .number {
    width: auto;
    color: #9963DD;
    font-weight: 500;
    display: none;
}

.card-list ul.list li .name {
    color: #431082;
    word-break: break-all;
    width: 100%;
}

.card-list ul.list li .score {
    width: auto;
    color: #431082;
    white-space: nowrap;
}

.btn-view-leaderboard {
    height: 34px;
    background: #2C2C2C;
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    border: none;
    font-size: 8px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 360px) {
    .game-wrap {
        padding: 15px;
    }
    .game-record {
        grid-gap: 10px;
        margin-bottom: 10px;
    }
}


/* loader */

.game-progress .step .circle .number.lds-dual-ring {
    color: transparent;
}

.lds-dual-ring {
    display: inline-block;
    width: 50px;
    height: 50px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 34px;
    height: 34px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #ddd transparent #ddd transparent;
    animation: lds-dual-ring 1.2s linear infinite;
    margin-top: -18px;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}