.container {
    width: 100%;
    max-width: 642px;
    margin: 0 auto;
    user-select: none; /* 标准语法 */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    font-family: -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, PingFang SC, SF UI Text, Arial, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei;
    background-color: #f0f2f5;
}

@media (max-width: 375px) {
    html {
        font-size: 100%;
    }
}

#login, #noLogin {
 text-align:center;
}

.top {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 0.5625rem 0.625rem;
    align-items: center;
    border-bottom: 0.0625rem solid #f1f1f1;
    background: #fff;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right-service {
    margin-right: 0.5625rem;
    width: 1.375rem;
    text-align: center;
}

.header-right-servicee img, #noLogin img, #login img {
    width: 1.375rem;
    height: 1.375rem;
}

.header-right-service p, #noLogin p, #login p {
    font-weight: 400;
    font-size: 0.5625rem;
    color: #6b6b6b;
    white-space: nowrap;
    transform: scale(0.9)
}

.header-right-img img {
    border-radius: 100%;
    height: 1.875rem;
    width: 1.875rem;
}

.message {
    background: #f5f5f5;
    height: 1.5625rem;
    margin: 0.3125rem 0.625rem;
    padding: 0 0.625rem;
    border-radius: 1.5625rem;
    display: flex;
    align-items: center;
}

    .message img {
        width: 0.75rem;
        height: 0.625rem;
        margin-right: 0.3125rem;
    }

    .message p {
        font-weight: 400;
        font-size: 0.6875rem;
        color: #171717;
        line-height: 1rem;
    }

.text {
    font-size: 0.75rem;
    color: #171717;
    line-height: 1.0625rem;
    margin: 0 0.625rem 0.3125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .text p {
        margin-right: 0.625rem;
    }

.golden-text {
    color: #d88400;
}

.text-btn {
    width: 2.375rem;
    height: 2.375rem;
    border: 0.0625rem solid #d88400;
    border-radius: 0.25rem;
    flex-shrink: 0;
    padding: 0.375rem;
    font-size: 0.75rem;
    line-height: 0.75rem;
    color: #d88400;
    box-sizing: border-box;
}

.nav-top {
    display: flex;
    align-items: center;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 0.625rem;
    background: #f0f2f5;
    font-size: 1rem;
    color: #858585;
    line-height: 2.875rem;
    overflow-y: hidden;
    height: 2.875rem;
    padding-left: calc(0.625rem + 0.425rem);
}

    .nav-top::-webkit-scrollbar {
        height: 0.25rem;
    }

    .nav-top::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0);
        border-radius: 0.25rem;
        transition: 0.2s;
    }

    .nav-top:hover::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
    }
/* 当屏幕宽度小于450px时，隐藏滚动条 */
@media (max-width: 450px) {
    .nav-top::-webkit-scrollbar {
        display: none;
    }
}

/* .nav-top::-webkit-scrollbar {
  display: none;
} */

.nav-top p {
    margin-right: 1.5rem;
    display: inline-block;
    white-space: nowrap;
}

.nav-bottom {
    display: flex;
    align-items: center;
    overflow-x: auto;
    flex-wrap: nowrap;
    background: #ff6868;
    padding: 0.625rem;
    font-size: 0.9375rem;
    color: #ffffff;
    overflow-y: hidden;
    /* scrollbar-width: none; */
    height: 2.5rem;
}

    .nav-bottom::-webkit-scrollbar {
        height: 0.25rem;
    }

    .nav-bottom::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0);
        border-radius: 0.25rem;
        transition: 0.2s;
    }

    .nav-bottom:hover::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.5);
    }
/* 当屏幕宽度小于450px时，隐藏滚动条 */
@media (max-width: 450px) {
    .nav-bottom::-webkit-scrollbar {
        display: none;
    }
}

.nav-bottom img {
    width: 0.6875rem;
    height: 0.6875rem;
    margin-bottom: 0.1875rem;
}

/* .nav-bottom::-webkit-scrollbar {
  display: none;
} */

.nav-bottom p {
    margin-right: 1.5rem;
    display: inline-block;
    white-space: nowrap;
}

/*    .nav-bottom p:first-child {
        margin-right: 0.9375rem;
        display: inline-block;
        white-space: nowrap;
    }*/

.main {
    background-color: #f0f2f5;
    min-height: 100vh;
    padding-top: 0.625rem;
    padding-bottom: 1.875rem;
}

.tabs {
    background: #fff;
    margin: 0 0.625rem;
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    display: flex;
    height: 4.125rem;
    box-sizing: border-box;
    padding: 0.5rem 0.875rem;
    align-items: center;
}

.tabs-left {
    display: flex;
    align-items: center;
}

    .tabs-left img {
        width: 1.4375rem;
        height: 1.4375rem;
        margin-right: 0.25rem;
    }

.line {
    height: 100%;
    width: 0.0625rem;
    background: #f1f1f1;
    margin: 0 0.9375rem;
}

.tabs-golden-text {
    font-weight: 400;
    font-size: 0.75rem;
    color: #c48348;
    line-height: 1rem;
    width: 1.5rem;
}

.tabs-text {
    font-size: 0.8125rem;
    color: #333;
    line-height: 0.875rem;
}

.tabs-icon {
    width: 1.875rem;
    height: 1.875rem;
}

.tabs-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    padding: 0 0.25rem;
}

.tabs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1.875rem;
    gap: 0.25rem;
}

.vip-wrapper {
    /* display: flex;
  overflow-x: auto; */
    margin: 0.625rem;
    overflow: hidden;
    /* scrollbar-width: none; */
    /* padding: 0.625rem 0; */
    padding-bottom: 0.625rem;
}

.swiper {
    width: 100%;
    height: 27.875rem;
    overflow: hidden;
    padding: 0.625rem 0;
}

.swiper-wrapper {
    width: 100% !important;
    padding: 0 0.625rem;
}

.swiper-slide {
    width: 65% !important;
}

/* .vip-wrapper::-webkit-scrollbar {
  display: none;
} */

.vip-new {
    width: 65%;
    height: 27.875rem;
    flex-shrink: 0;
    background: linear-gradient(180deg, #ffdddb 0%, #ffffff 8%, #ffffff 100%);
    box-shadow: 0rem 0.1875rem 0.375rem 0.0625rem rgba(70, 13, 13, 0.1);
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    padding: 1rem;
    box-sizing: border-box;
}

.vip-read {
    width: 65%;
    height: 27.875rem;
    flex-shrink: 0;
    background: linear-gradient(180deg, #ffdddb 0%, #ffffff 8%, #ffffff 100%);
    box-shadow: 0rem 0.1875rem 0.375rem 0.0625rem rgba(70, 13, 13, 0.1);
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    padding: 1rem;
    box-sizing: border-box;
}

.vip-title {
    font-weight: 600;
    font-size: 1rem;
    color: #171717;
}

.vip-item {
    display: flex;
    align-items: center;
    margin: 0.875rem 0;
    overflow: hidden;
}

    .vip-item img {
        width: 3rem;
        height: 4rem;
        margin: 0 0.375rem;
        border-radius: 0.25rem;
    }

.vip-new a.vip-item:nth-of-type(1) .vip-index {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #ff6868;
}

.vip-new a.vip-item:nth-of-type(2) .vip-index {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #ee8549;
}

.vip-new a.vip-item:nth-of-type(3) .vip-index {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #dcb92d;
}

.vip-new a.vip-item:nth-of-type(n + 4) .vip-index {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #171717;
}

.vip-read a.vip-item:nth-of-type(1) .vip-read-index {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #ff6868;
}

.vip-read a.vip-item:nth-of-type(2) .vip-read-index {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #ee8549;
}

.vip-read a.vip-item:nth-of-type(3) .vip-read-index {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #dcb92d;
}

.vip-read a.vip-item:nth-of-type(n + 4) .vip-read-index {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #171717;
}

.normal-text {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #171717;
}

.vip-item-title {
    font-weight: 500;
    font-size: 0.875rem;
    color: #171717;
    line-height: 1.125rem;
    margin-bottom: 0.25rem;
}

.vip-item-desc {
    font-weight: 400;
    font-size: 0.75rem;
    color: #9f9f9f;
    line-height: 0.875rem;
}

.common-bgc {
    background: linear-gradient(180deg, #ffdddb 0%, #ffffff 11%, #ffffff 100%);
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    margin: 0.625rem;
    padding: 1rem 0.625rem 0.625rem;
}

.update-wrapper {
    margin-top: 0;
}

.main-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-item-header-left {
    display: flex;
    align-items: center;
}

    .main-item-header-left img {
        width: 1.4375rem;
        height: 1.4375rem;
        margin-right: 0.25rem;
    }

    .main-item-header-left p {
        font-weight: 600;
        font-size: 1rem;
        color: #171717;
    }

.main-item-header-right {
    display: flex;
    align-items: center;
}

    .main-item-header-right p {
        font-weight: 400;
        font-size: 0.8125rem;
        color: #888888;
    }

    .main-item-header-right img {
        width: 0.8125rem;
        height: 0.8125rem;
        margin-left: 0.125rem;
    }

.update-content {
    margin: 0 auto;
    /* display: flex
; */
    /* flex-wrap: wrap; */
    margin-top: 1rem;
    /* row-gap: 0.5rem; */
    /* column-gap: 0.4375rem; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.update-content-item {
    border-radius: 0.25rem;
    padding-bottom: 0.625rem;
}

    .update-content-item .img-wrapper {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding-top: 133%;
    }

        .update-content-item .img-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0.25rem;
        }

    .update-content-item h1 {
        font-weight: 500;
        font-size: 0.875rem;
        color: #191919;
        line-height: 1rem;
        margin: 0.375rem 0;
    }

    .update-content-item p {
        font-weight: 400;
        font-size: 0.75rem;
        color: #9f9f9f;
        line-height: 0.875rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
    }

.tap-content {
    padding-top: 0.1rem;
}

.tap-content-item {
    display: flex;
    padding: 0.625rem 0;
    border-bottom: 0.0625rem solid #f0f0f0;
    gap: 0.625rem;
}

.tap-content .tap-content-item:last-child {
    display: flex;
    padding: 0.625rem 0;
    border-bottom: 0;
    gap: 0.625rem;
}

.tap-content-item-left {
    flex-shrink: 0;
}

    .tap-content-item-left img {
        width: 4.125rem;
        height: 5.5rem;
        border-radius: 0.25rem;
    }

.tap-content-item-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tap-item-title {
    font-weight: 500;
    font-size: 1rem;
    color: #333333;
    line-height: 1.25rem;
}

.tap-item-desc {
    font-weight: 400;
    font-size: 0.75rem;
    color: #666666;
    line-height: 1rem;
}

.tap-item-bottom {
    display: flex;
    justify-content: space-between;
}

.tap-item-bottom-writer {
    font-weight: 400;
    font-size: 0.75rem;
    color: #a6a6a6;
    line-height: 1.25rem;
}

.tap-item-bottom-tag-type {
    border-radius: 0.125rem 0.125rem 0.125rem 0.125rem;
    border: 0.0625rem solid #ff4e98;
    font-weight: 400;
    font-size: 0.625rem;
    color: #ff4e98;
    line-height: 1.25rem;
    padding: 0.125rem;
}

.tap-item-bottom-tag-status {
    font-weight: 400;
    font-size: 0.625rem;
    color: #ff824d;
    line-height: 1.25rem;
    border-radius: 0.125rem 0.125rem 0.125rem 0.125rem;
    border: 0.0625rem solid #ff824d;
    padding: 0.125rem;
}

.tap-item-bottom-tag-chapter {
    border-radius: 0.125rem 0.125rem 0.125rem 0.125rem;
    border: 0.0625rem solid #47a566;
    font-weight: 400;
    font-size: 0.625rem;
    color: #47a566;
    line-height: 1.25rem;
    padding: 0.125rem;
}

.premium-content {
    padding-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 两列布局 */
    gap: 10px;
}

.premium-content-item {
    width: 100%;
    border-radius: 0.5rem;
}

    .premium-content-item .img-wrapper {
        width: 100%;
        padding-top: 133%;
        overflow: hidden;
        position: relative;
    }

        .premium-content-item .img-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0.5rem;
        }

    .premium-content-item h1 {
        margin: 0.5rem 0;
        font-weight: 400;
        font-size: 0.875rem;
        color: #191919;
        line-height: 1.375rem;
    }

    .premium-content-item p {
        margin: 0 0.5rem 0.9375rem;
        font-weight: 400;
        font-size: 0.75rem;
        color: #a6a6a6;
        line-height: 1.25rem;
    }

.hot-wrapper {
    background-image: url(../image/hotbg_slices/hotbg@2x.png);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    margin: 0.625rem;
    padding: 1rem 0.625rem 0.625rem;
    background-color: #fff;
}

.newest-wrapper {
    background-image: url(../image/listenbg_slices/listenbg@2x.png);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    margin: 0.625rem;
    padding: 1rem 0.625rem 0.625rem;
    background-color: #fff;
}

.hot-content {
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 1rem;
}

.hot-content-item {
    width: 23%;
}

.hot-content-item-img {
    width: 4.25rem;
    height: 5.625rem;
}

.hot-content-item img {
    width: 100%;
    height: 6.4375rem;
    object-fit: cover;
    border-radius: 0.25rem 0.25rem 0.25rem 0.25rem;
    margin-bottom: 0.25rem;
    background-image: url("/Content/template101beta/image/placeholder.svg");
    background-size: 100% 100%;
}

.hot-content-item h1 {
    font-weight: 500;
    font-size: 0.875rem;
    color: #171717;
    line-height: 1rem;
}

.hot-content-item p {
    font-weight: 400;
    font-size: 0.75rem;
    color: #9f9f9f;
    line-height: 0.875rem;
}

.ellipsis-2-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.ellipsis-1-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.premium-title {
    font-weight: 400;
    font-size: 0.875rem;
    color: #191919;
    line-height: 1.375rem;
    margin: 0.5rem 0.5rem 0.3125rem;
}


@media(min-width:642px) {
    .nav-top {
        display: flex;
        align-items: center;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0.325rem 0.625rem 0;
        background: #f0f2f5;
        font-size: 1rem;
        color: #858585;
        line-height: 2.875rem;
        overflow-y: hidden;
        height: 2.875rem;
        padding-left: calc(0.625rem + 0.425rem);
    }

    .nav-bottom {
        display: flex;
        align-items: center;
        overflow-x: auto;
        flex-wrap: nowrap;
        background: #ff6868;
        padding: 0.625rem;
        font-size: 0.9375rem;
        color: #ffffff;
        overflow-y: hidden;
        /* scrollbar-width: none; */
        height: 2.5rem;
        padding-bottom: 0.325rem;
    }
}
