.stats_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 1000px;
}
.stat_row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
.stat_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 100%;
}
.stat_display_box {
    width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-color: var(--elementBGLight);
    border: var(--defaultBorder);
    border-radius: 15px;
    padding: 25px;
}

.stat_box {
    width: 125px;
    height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.stat_text {
    text-align: center;
    font: var(--normalFont);
    font-size: 1rem;
    /*font-weight: bold;*/
}


.stat_title {
    text-align: center;
    font: var(--normalFont);
    font-size: 1.2rem;
}
.top_ten_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
    justify-content: center;
    align-items: space-between;
    row-gap: 15px;
}

.stat_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: max-content;
}


.top_ten {
    font-family:
        "Microsoft YaHei",
        "PingFang SC",
        "Hiragino Sans GB",
        "STHeiti",
        sans-serif;
    font-weight: 300;
    padding-top: 10px;
    padding-bottom: 10px;
    border: var(--defaultBorder);
    border-radius: 5px;
    width: 150px;
    background-color: var(--elementBG);
    cursor: pointer;
}
.top_ten > * {
    font-family:
        "Microsoft YaHei",
        "PingFang SC",
        "Hiragino Sans GB",
        "STHeiti",
        sans-serif;
}
.top_ten_characters {
    font-size: 1.2rem;
}
.top_ten.focused {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    max-width: 600px;
    padding: 2rem;
    z-index: 100;
    max-height: 90vh;
    overflow-y: auto;
}

/*.top_ten.focused .top_ten_number {*/
/*    position: absolute;*/
/*    top: 25px;*/
/*    left: 25px;*/
/*    font-size: 1.2rem;*/
/*}*/
/* New, larger font sizes for the focused card state */
.top_ten.focused .top_ten_characters {
    font-size: 2.5rem;
}

.top_ten.focused .top_ten_english {
    font-size: 1.5rem;
}

.top_ten.focused .top_ten_pinyin {
    font-size: 1.3rem;
    padding-bottom: 10px;
}
.top_ten.focused .top_ten_example {
    font-size: 1.3rem;
    font-weight: 400;
    padding-bottom: 10px;
}
.top_ten.focused .top_ten_example:hover{
    transform: scale(1.05);
    color: lightblue;
}
.top_ten.focused .top_ten_example:active {
    transform: scale(1);
}

.top_ten.focused .top_ten_example_english {
    font-size: 1.1rem;
    font-weight: 400;
}

.top_ten_extra {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    display: none;
    opacity: 0;
    text-align: center;
}

.top_ten.focused .top_ten_extra {
    display: block;
    opacity: 1;
}



@media(max-width: 1000px){
    .stats_container {
        width: 350px;
        min-width: 95%;
    }
}






































































@media(max-width: 768px) {
    .stat_row {
        flex-direction: column;
    }
    .stat_display_box {
        /*width: 95%;*/
    }
}