* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 37.5px;
}

body {
    color: #333;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: inherit;
}

.app {
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
}

.header {
    width: 100%;
    height: 1.28rem;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: .05rem solid #ede6e6;
}

.category {
    display: flex;
    margin-right: auto;
}

.category img {
    width: .5rem;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    max-height: 1rem;
    width: auto;
    display: block;
}

.banner-ad {
    margin: .2rem 0;
    width: 100vw;
    text-align: center;
    color: #b9b9b9;
    min-height: 3rem;
    font-size: 0.2rem;
}

.content {
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.item {
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.item:hover {
    transform: translateX(5px);
}

.item img {
    width: 100%;
    border-radius: 20px;
}

.item-title {
    font-size: .46em;
    margin-bottom: 5px;
    font-weight: 500;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 控制显示行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 确保行高计算准确 */
    /* max-height: calc(1.5em * 2); */
    /* 根据行高动态计算最大高度 */
}

.item-line {
    width: 100%;
    border-top: 1px solid #9E9FA2;
    margin: 18px 0px;
}

.item-line:last-child {
    display: none;
}

.category-menu {
    position: absolute;
    top: 1.4rem;
    left: .1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    /* display: none; */
    flex-direction: column;
    width: 3rem;
    z-index: 100;
    /* 初始状态 */
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.category-menu.show {
    opacity: 1;
    transform: scaleY(1);
}

.category-menu a {
    padding: 10px;
    text-decoration: none;
    color: #4BA8FF;
    font-size: .34rem;
    display: block;
    border-bottom: 1px solid #EBEBEB;
    font-weight: 500;
}

.category-menu a:hover {
    background-color: #f0f0f0;
}

/* detail */
.question img {
    width: 100%;
    margin-top: .2rem;
    border-radius: 20px;
}

.question-title {
    color: #ff7c59;
    font-size: .48rem;
    font-weight: 600;
}

.sub-item {
    /* width: 100%; */
    box-shadow: 0 .06rem .2rem #cecece;
    padding: .13333rem .13333rem .4rem;
    margin-top: .32rem;
    border-radius: .05333rem;
}

.sub-item img {
    width: 100%;
}

.sub-title {
    color: #ff7c59;
    font-size: .3rem;
    padding: 10px;
}

.sub-answer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: .2rem;
}

.sub-answer-item {
    width: calc(50% - .1rem);
    /* margin: .13333rem; */
    background-color: #f0f0f0;
    padding: .26667rem;
    box-sizing: border-box;
    font-size: .37rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-answer-img {
    flex: 0 0 calc(50% - .2rem);
    max-width: 100%;
    background: #f0f0f0;
}

.option-checked-img {
    padding: .1rem;
    background: #ff4081;
    box-sizing: border-box;
}


.option-checked {
    background-color: #ff4081;
    color: white;
    font-weight: bold;
}

.submit {
    width: 100%;
    height: .9rem;
    font-size: .4rem;
    margin-top: .4rem;
    margin-left: 50%;
    transform: translate(-50%);
}

.submit-btn {
    background: #ff4081;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.submit-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.heart {
    margin-top: .66667rem;
    color: #fff;
    width: 1.33333rem;
    height: .53333rem;
    background: linear-gradient(-90deg, #fa22ed 0%, #ff5691 100%);
    border-radius: .26667rem;
    font-size: .32rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.might-like {
    width: calc(100% + 20px);
    height: 1rem;
    margin-top: .6rem;
    background-image: linear-gradient(90deg, #ff7c59 0, #ffb431 100%), linear-gradient(#fc4260, #fc4260);
    color: #fff;
    font-size: .46rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -10px;
}

.footer {
    background: #1d2431;
    color: #fff;
    text-align: center;
    padding: 0.2rem;
    font-size: 0.24rem;
}

.footer_content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.foot_pd {
    padding: .1rem .4rem;
    text-decoration: underline;
}

.loading-result p {
    font-size: .34667rem;
    text-align: center;
    margin-top: .53333rem;
}

.loader {
    margin: 2.66667rem auto;
    font-size: .66667rem;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load5 1.1s infinite ease;
    animation: load5 1.1s infinite ease;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

@keyframes load5 {

    0%,
    to {
        box-shadow: 0 -2.6em #058af0, 1.8em -1.8em #058af033, 2.5em 0 #058af033, 1.75em 1.75em #058af033, 0 2.5em #058af033, -1.8em 1.8em #058af033, -2.6em 0 #058af080, -1.8em -1.8em #058af0b3
    }

    12.5% {
        box-shadow: 0 -2.6em #058af0b3, 1.8em -1.8em #058af0, 2.5em 0 #058af033, 1.75em 1.75em #058af033, 0 2.5em #058af033, -1.8em 1.8em #058af033, -2.6em 0 #058af033, -1.8em -1.8em #058af080
    }

    25% {
        box-shadow: 0 -2.6em #058af080, 1.8em -1.8em #058af0b3, 2.5em 0 #058af0, 1.75em 1.75em #058af033, 0 2.5em #058af033, -1.8em 1.8em #058af033, -2.6em 0 #058af033, -1.8em -1.8em #058af033
    }

    37.5% {
        box-shadow: 0 -2.6em #058af033, 1.8em -1.8em #058af080, 2.5em 0 #058af0b3, 1.75em 1.75em #058af0, 0 2.5em #058af033, -1.8em 1.8em #058af033, -2.6em 0 #058af033, -1.8em -1.8em #058af033
    }

    50% {
        box-shadow: 0 -2.6em #058af033, 1.8em -1.8em #058af033, 2.5em 0 #058af080, 1.75em 1.75em #058af0b3, 0 2.5em #058af0, -1.8em 1.8em #058af033, -2.6em 0 #058af033, -1.8em -1.8em #058af033
    }

    62.5% {
        box-shadow: 0 -2.6em #058af033, 1.8em -1.8em #058af033, 2.5em 0 #058af033, 1.75em 1.75em #058af080, 0 2.5em #058af0b3, -1.8em 1.8em #058af0, -2.6em 0 #058af033, -1.8em -1.8em #058af033
    }

    75% {
        box-shadow: 0 -2.6em #058af033, 1.8em -1.8em #058af033, 2.5em 0 #058af033, 1.75em 1.75em #058af033, 0 2.5em #058af080, -1.8em 1.8em #058af0b3, -2.6em 0 #058af0, -1.8em -1.8em #058af033
    }

    87.5% {
        box-shadow: 0 -2.6em #058af033, 1.8em -1.8em #058af033, 2.5em 0 #058af033, 1.75em 1.75em #058af033, 0 2.5em #058af033, -1.8em 1.8em #058af080, -2.6em 0 #058af0b3, -1.8em -1.8em #058af0
    }
}

.again {
    margin-top: .26rem;
    color: #333;
    width: 100%;
    height: .6rem;
    background: #fff;
    font-size: .3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: .026rem solid #999;
    font-weight: 600;
}

.overflow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -999;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(5px);
}

.ads-close {
    position: absolute;
    left: 2%;
    top: 3px;
    z-index: 1001;
    width: 22px;
    background: transparent;
    border: none;
    opacity: 0.4;
    cursor: not-allowed;
}

.dialog {
    z-index: 1000;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 127.55102vw !important;
    overflow: hidden;
    font-size: .3rem;
    background-color: transparent;
    color: rgba(0, 0, 0, 0.36);
    border-radius: 2vw;
    transform: translate3d(-50%, -50%, 0);
    backface-visibility: hidden;
    transition: .3s;
    transition-property: transform, opacity;
}

.article-content-html {
    overflow: hidden;
    padding: 16px 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

.article-content-html img {
    width: 100% !important;
    border-radius: 10px;
}

/* hidden unfilled ad */
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}