[flex-center] {
    display: flex;
    align-items: center;
    justify-content: center;
}

[flex-between] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@font-face {
    font-family: 'Playfair Display SC';
    font-weight: bold;
    font-style: normal;
    font-display: auto;
    src: url('../../../../api/fonts/Playfair_Display_SC/PlayfairDisplaySC-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'PT Serif';
    font-weight: normal;
    font-style: normal;
    font-display: auto;
    src: url('../../../../api/fonts/PT_Serif/PTSerif-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'PT Serif';
    font-weight: bold;
    font-style: normal;
    font-display: auto;
    src: url('../../../../api/fonts/PT_Serif/PTSerif-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 600;
    font-style: normal;
    font-display: auto;
    src: url('../../../../api/fonts/Roboto/Roboto-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Alibaba Sans';
    font-weight: 600;
    font-style: normal;
    font-display: auto;
    src: url('../../../../api/fonts/Alibaba_Sans/AlibabaSans-Medium.woff2') format('woff2');
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

a {
    color: #000000;
    text-decoration: none;
}

* {
    box-sizing: border-box;
}

:root {
    --van-overlay-background: rgba(0, 0, 0, 0.5);
}

h2 {
    line-height: 25px;
}

img {
    object-fit: cover;
}

#app {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    max-width: 450px;
    position: relative;

    display: flex;
    flex-direction: column;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

/* header start*/
header {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100%;
    max-width: 450px;
    z-index: 5;

    height: 50px;
    padding: 0 15px;
    background: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-family: Playfair Display SC, sans-serif;
    font-size: 1.13rem;
    font-weight: bold;
    line-height: 1.78rem;
    text-transform: uppercase;
    letter-spacing: 0.0009375em;
    color: #333333;
}

header > :first-child img {
    width: 1.56rem;
    margin-right: .28rem;
}

header > :last-child img {
    width: 1.44rem;
    margin-left: 1.13rem;
}
/* header end*/

/* menu start*/
#app > .van-popup {
    height: 100%;
    width: calc(100vw - 10rem);
    padding: 1.69rem .63rem;

    font-family: PT Serif, sans-serif;
    font-size: 1rem;
    color: #333333;
}

#app > .van-popup .header {
    font-family: Playfair Display SC, sans-serif;
    font-size: 0.81rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.0009375em;
    color: #333333;

    text-align: center;
    margin-bottom: 1rem;
}

#app > .van-popup .header img {
    width: 1.56rem;
    margin-bottom: .34rem;
}

#app > .van-popup > :not(.header) {
    padding: .7rem 0;
    border-bottom: 0.0625rem solid rgba(216, 216, 216, 0.3);
}

#app > .van-popup .url_blod {
    font-weight: bold;
    font-size: 1.13rem;
}
/* menu end */

main {
    flex: 1;
}

main .van-popup {
    gap: 1.88rem;
    padding: 1.25rem;
    flex-direction: column;
}

main .van-popup .logo {
    width: 2.19rem;
}

main .van-popup .title {
    font-family: Roboto, sans-serif;
    font-size: 1.13rem;
    font-weight: 500;
    line-height: 150%;
    text-transform: uppercase;
    letter-spacing: 0.0009375em;
    color: #333333;
}

main .van-popup .btn {
    width: 17.5rem;
    height: 3.44rem;
    background: #8756BC;
    border-radius: 0.19rem;

    font-family: Alibaba Sans, sans-serif;
    font-size: 1.13rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #FFFFFF;
}

.main_title {
    font-size: 21px;
    font-weight: bold;
    color: #353535;
    line-height: 27px;
    padding-top: 75px;
}

.main_detail {
    font-size: 14px;
    font-weight: 400;
    color: #3B3B3B;
    line-height: 18px;
}

.td-content-text {
    position: relative;
}

.td-content-image {
    text-align: center;
}

._margin {
    padding-left: 5%;
    padding-right: 5%;
}

main .article-info {
    margin: 0.75rem 0;
    font-family: PT Serif, sans-serif;
    font-size: 0.63rem;
    color: #999999;
}

main .article-info .author {
    font-size: 0.88rem;
    font-weight: bold;
    line-height: 1.22rem;
    color: #444444;
    margin-bottom: .25rem;
}

main .article-info img {
    width: 2.5rem;
    height: 2.5rem;
    padding: .65rem;
    border: 1px solid rgba(153, 153, 153, 0.15);
    border-radius: 0.5rem;
    margin-left: 1rem;
}

.topic .topic_title {
    font-family: Alibaba Sans, sans-serif;
    font-size: 1.13rem;
    font-weight: 500;
    line-height: 100%;
    color: #000000;
    text-transform: uppercase;
}

.topic a {
    gap: .63rem;
    display: flex;
    margin-top: .94rem;
}

.topic a img {
    width: 7.81rem;
    height: 6.13rem;
    flex-shrink: 0;
}

.topic a .aTitle {
    font-family: PT Serif, sans-serif;
    font-size: 0.94rem;
    font-weight: bold;
    line-height: 140%;
    color: #000000;
    margin-bottom: .63rem;
}

.topic a .aDes {
    font-family: Noto Sans, sans-serif;
    font-size: 0.75rem;
    font-weight: normal;
    line-height: 140%;
    letter-spacing: normal;
    color: #666666;
}

/* footer */
footer {
    padding: 1rem 0;
    font-size: .75rem;
    text-align: center;
}
/* footer */

#article-reward {
    margin: -30px auto 0;
    font-weight: 700;
    position: relative;
    z-index: 0;
    padding-bottom: 36px;
}

.more-btn {
    height: 50px;
    width: 300px;
    margin: 0 auto;
    border-radius: 0.19rem;
    box-sizing: border-box;
    background: #8756BC;
    animation: btnAnimation 1s ease-in-out infinite alternate;
    cursor: default;

    font-family: Alibaba Sans, sans-serif;
    font-size: 1.13rem;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
    letter-spacing: normal;
    color: #FFFFFF;
}

@keyframes btnAnimation {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(67, 142, 139, 0.2);
    }

    100% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(67, 142, 139, 0.3);
    }
}

.mask {
    position: absolute;
    width: 100%;
    height: 180px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, #FFFFFF 44%);
    bottom: 0;
    z-index: -1;
}

/* toast */
#reward-toast {
    display: none;
    padding: 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);

    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 110%;
    text-align: center;

    left: 50%;
    bottom: 16vh;
    z-index: 12;
    position: fixed;
    transform: translateX(-50%);
}

.toast-popup {
    display: none;
    padding: 9.167vw 6.111vw;
    width: 70.28vw;
    text-align: center;
    border-radius: 1.39vw;
    background: rgba(0, 0, 0, 0.7);
    top: 50%;
    left: 50%;
    z-index: 99;
    color: #FFFFFF;
    position: fixed;
    transform: translate(-50%, -50%);
    font-family: 'Roboto Flex 400,', sans-serif;
    font-weight: 400;
}

.toast-popup .toast-subtitle {
    font-family: HarmonyOS Sans SC, sans-serif;
    font-size: 3.61vw;
    font-weight: normal;
    line-height: 5.33vw;
    text-align: center;
    letter-spacing: -0.063894vw;
    color: rgba(255, 255, 255, 0.54);
}
