.display-lotto-container {
    max-width: 100%;
}

.display-thai-lotto {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: fit-content;
    background: transparent;
    max-width: 100%;
}

.display-thai-lotto__title {
    font-size: 1.25em;
    font-weight: bold;
    border: 2.88px solid;
    border-image-source: linear-gradient(180deg, #272727 0%, #000000 100%);

}

.display-thai-lotto__title .title--text {
    background: linear-gradient(180deg, #AA7610 0%, #DBB043 14.6%, #F5F1A4 39.01%, #CFAD55 54.36%, #BC9333 64.34%, #AD7713 82.76%, #AD7713 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.display-thai-lotto__title .title--date {
    color: #fff;
}

.display-thai-lotto__content {
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 1em;

    position: relative;
    border-radius: 0.75em;
    background: #212121;
    border: 0.5px solid #e7c151;
    height: 205px;
    max-width: 100%;
    overflow: hidden;
}


.display-thai-lotto__content .content--left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reward-first {
    display: flex;
    align-items: center;
    background: #383838;
    border-radius: 0.5em;
    padding: 0.25em 0.5em;
}

.reward-first .reward-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5em 1em;
    background: #212121;
    border-radius: 0.5em;
}

.reward-first .reward-title .top {
    text-shadow: 1px 1px #000000
}

.reward-first .reward-title .bottom {
    font-weight: bold;
    font-size: 2.25em;
    text-shadow: 2px 2px #000000;
    line-height: 0.5;

}

@supports (-webkit-text-stroke: 2px #131313) {
    .reward-first .reward-title .bottom {
        -webkit-text-stroke: 2px #131313;
        -webkit-text-fill-color: #fff;
    }
}

.reward-first .reward-number {
    font-size: 3em;
    font-style: normal;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: #0c0c0c;
    text-shadow: 3px 0 0 #F5F1A4, -3px 0 0 #CEAC54, 0 3px 0 #CEAC54,
        0 -2px 0 #CEAC54, 2px 0 0 #F5F1A4, -2px 0 0 #CEAC54, 0 3px 0 #CEAC54, 0 -3px 0 #CEAC54, 2px 2px #F5F1A4,
        -2px -2px 0 #F5F1A4, 2px -2px 0 #DBB043, -2px 2px 0 #AA7610;
    padding: 0 0.5em;
}

.reward-three_front_back {
    display: flex;
    margin-top: 0.25em;
}

.reward-front, .reward-back {
    flex: 1;
    background: #383838;
    border-radius: 0.5em;
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reward-front {
    margin-right: 2px;
}

.reward-back {
    margin-left: 2px;
}

.reward-front .front-title, .reward-back .back-title {
    background: #212121;
    border-radius: 0.3em;
    width: 100%;
    text-align: center;
}

.reward-front .front-number, .reward-back .back-number {
    font-weight: bold;
    font-size: 2em;
    text-shadow: 2px 2px #000000;
}

@supports (-webkit-text-stroke: 2px #131313) {
    .reward-front .front-number, .reward-back .back-number {
        -webkit-text-stroke: 2px #131313;
        -webkit-text-fill-color: #fff;
    }
}



.display-thai-lotto__content .content--right {
    padding: 0.5em;
    background: #383838;
    height: 100%;
    display: flex;
    border-radius: 0.5em;
    margin-left: 4px;
    flex-direction: column;
    align-items: center;
}

.reward-two_back-title {
    display: flex;
    flex-direction: column;
    line-height: 1;
    align-items: center;
    background: #212121;
    border-radius: 0.3em;
    width: 100%;
    text-align: center;
    padding: 0.5em;
}

.reward-two_back-number {
    flex: 1;
    color: #0c0c0c;
    font-size: 3em;
    font-style: normal;
    font-weight: bold;
    display: flex;
    align-items: center;
}

@supports (-webkit-text-stroke: 2px #e7c151) {
    .reward-two_back-number {
        -webkit-text-stroke: 2px #e7c151;
        -webkit-text-fill-color: #0c0c0c;
    }
}

.display-lotto-container {
    margin-bottom: 1em;
}

@media only screen and (max-width: 768px) {

    .display-thai-lotto__title {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1;
        margin-bottom: 0.5em;
    }

    .display-thai-lotto__content .content--left {
        max-width: 80%;
        height: 100%;
    }

    .reward-first .reward-title .top {
        font-size: 14px;
        white-space: nowrap;
    }

    .reward-first .reward-number {
        padding: 0;
        font-size: 2.25em;
        flex: 1;
        text-align: center;
        letter-spacing: 4px;
    }

    .reward-front .front-number, .reward-back .back-number {
        font-size: 1.75em;
    }

    .reward-front, .reward-back {
        max-width: 49%;
    }

    .reward-first {
        flex: 1;
    }
    .countdown--body{
        flex-wrap: wrap;
    }
    @supports (-webkit-text-stroke: 2px #ffdc73) {
        .reward-first .reward-number, .reward-two_back-number {
            text-shadow: unset;
            -webkit-text-stroke: 1px #ffdc73;
            -webkit-text-fill-color: #0c0c0c;
        }

    }
}

.display-lotto-countdown {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    width: fit-content;
    padding: 0.5em;
    background: #383838d4;
    margin-top: 0.5em;
    border-radius: 0.5em;
    flex-direction: column;
    min-width: 95%;
    max-width: 100%;
    position: absolute;
    z-index: 1;
    bottom: 37px;
    width: 100%;
    border-radius: unset;
}

.countdown--head {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    font-size: 12px;
    white-space: nowrap;
    text-align: center;
}

.countdown--body {
    display: flex;
    justify-content: center;
}

.display-lotto-countdown>.countdown--body>[class^="countdown-"] {
    margin: 0 2px;
    display: flex;
    flex-direction: column;
    padding: 0.5em;
    line-height: 1;
    align-items: center;
    background: #212121;
    border-radius: 0.25em;
    flex: 1;
    max-width: 40px;
    margin-bottom: 1px;
}

.countdown-lotto-title {
    font-size: 10px;
    color: #e9e9e9;
}

.countdown-lotto-amount {
    font-size: 14px;
}