
.resfsdivs{
    max-width: 24rem;
    margin: 0.75rem auto 0 auto;
    display: none;
}

.restongji{
    max-width: 24rem;
    margin: 0.75rem auto 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 0.5rem;
    border: 1px solid #eee;
    padding: 0.5rem;
    display: grid;
}

.restongji div:first-child {
    grid-column: span 2;
}

.night .restongji{
    border: 1px solid #444;
}

.restongji>div{
    padding: 0.75rem 0;
    background-color: #f6f7fa;
    border-radius: 3px;
}

.night .restongji>div{
    background-color: #181a1b;
    border: 1px solid #444;
}

.restongji>div>div:nth-child(1){
    margin-bottom: 0.5rem;
}

.restongji>div>div:nth-child(2){
    font-size: 0.5rem;
}

@media screen and (max-width: 940px) {
    .restongji {
        max-width: 100%;
    }
}

@media screen and (max-width: 580px) {
    .restongji {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*************************************************/

.resgongshi{
    border: 1px solid #eee;
    background-color: #f6f7fa;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.night .resgongshi{
    border: 1px solid #444;
    background-color: #181a1b;
}

.resgongshi>div:nth-child(1){
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    vertical-align: middle;
    margin: 0 8px;
}

.resgongshi .numerator {
    border-bottom: 2px solid #03d28d;
    padding: 8px 16px;
    min-width: 60px;
    text-align: center;
}

.resgongshi .denominator {
    padding: 8px 16px;
    min-width: 60px;
    text-align: center;
}

.resgongshi>div:nth-child(2){
    display: inline-block;
    color: #04d48f;
    font-size: 2rem;
    margin: 0 16px;
}

.resgongshi>div:nth-child(3){
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    vertical-align: middle;
    margin: 0 8px;
}

/*************************************************/

#stepsContainer{
    border: 1px solid #eee;
    background-color: #f6f7fa;
    margin: 0.75rem auto 0 auto;
    padding: 0 0.5rem;
    border-radius: 3px;
}

.night #stepsContainer{
    border: 1px solid #444;
    background-color: #181a1b;
}

#stepsContainer>div{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: #fff;
    margin: 0.5rem 0;
    border-radius: 3px;
}

.night #stepsContainer>div{
    background-color: #444;
    color: #bbb;
}

#stepsContainer>div span:nth-child(1){

}

#stepsContainer>div span:nth-child(2){
    
}

@media screen and (max-width: 940px) {
    .resfsdivs {
        max-width: 100%;
    }
}