* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.hidden {
    display: none;
}
.block {
    display: block;
}
.mt0{
    margin-top: 0 !important;
}
.mt5{
    margin-top: .1rem;
}
a:hover,
a:focus,
a:active {
    text-decoration: none
}

a {
    text-decoration: none;
    color: #b8b0a2;
}
img {
    max-width: 100%;
    object-fit: cover;
}
body {
    max-width: 500px;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    color: #b8b0a2;
    background-color: #000000;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, Microsoft YaHei, Arial, sans-serif;
}

#app {
    font-size: .24rem;
    background-color: #0a0a0b;
    background-image: radial-gradient(120% 36% at 50% 0%, rgba(217, 180, 92, .12) 0%, rgba(10, 10, 11, 0) 62%);
    padding-bottom: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    min-height: 100vh;
    min-height: 100dvh;
}
.relative{
    position: relative;
}
.text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}
.px-8{
    padding: 0 .16rem;
}
.my-sticky {
    position: sticky;
    top: 0;
    z-index: 11;
    padding: 0 8px 0 8px;
    padding-top: env(safe-area-inset-top);
    background: linear-gradient(180deg, #141210 0%, #0a0a0b 100%);
    border-bottom: 1px solid rgba(217, 180, 92, .45);
    border-bottom-left-radius: .2rem;
    border-bottom-right-radius: .2rem;
    box-shadow: 0 .08rem .24rem rgba(0, 0, 0, .55);
}
.notif{
    width: .32rem;
    height: .32rem;
}
.marquee-wrap {
    padding: .08rem 0;
    width: 100%;
}
.marquee-box {
    display: flex;
    align-items: center;
    height: .72rem;
    padding: .1rem;
    font-size: .26rem;
    font-weight: 600;
    padding-left: .24rem;
    background: #1b1710;
    border: 1px solid rgba(217, 180, 92, .32);
    border-radius: .35rem;
    color: #e6c46f;
}
.marquee-box .container-main {
    flex: 1;
    margin: 0 .15rem;
    font-size: .2rem;
    overflow: hidden
}

.marquee-box p {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    font-size: .28rem;
    animation: vMarquee 10s linear infinite
}

.marquee-box .btn-more {
    width: 1.42rem;
    height: .5rem;
    line-height: .5rem;
    border-radius: .25rem;
    text-align: center;
    font-size: .22rem;
    color: #1a1205;
    font-weight: 700;
    background: linear-gradient(90deg, #f2d68c 0%, #c79a3b 100%);
    box-shadow: 0 .06rem .16rem rgba(199, 154, 59, .3);
}

@keyframes vMarquee {
    0% {
        transform: translate3d(0, 0, 0)
    }

    100% {
        transform: translate3d(-100%, 0, 0)
    }
}


.nav-c {
    display: flex;
    flex: 1;
}

.nav-c .item {
    flex: 1;
}

.nav-c img {
    width: 1.2rem;
    height: auto;
}
.swiper-c {
    width: 100%;
}

.banner-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .1rem;
    margin-top: .1rem;
}
.banner-card{
    display: flex;
    align-items: center;
    gap: .1rem;
    min-width: 0;
    background-color: #222222;
    border: 1px solid rgba(217, 180, 92, .22);
    border-radius: .16rem;
}
.banner-card-img{
    width: .88rem;
    height: .88rem;
    flex: none;
    border-radius: .12rem;
}
.banner-card-info{
    flex: 1;
    min-width: 0;
}
.banner-card-title{
    font-size: .28rem;
    font-weight: 600;
    color: #f2ead8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-card-sub{
    margin-top: .04rem;
    font-size: .2rem;
    color: #9a948a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-card-btn{
    width: .44rem;
    height: .44rem;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f2d68c 0%, #c79a3b 100%);
}
.block{
    display: block;
}
.banner-img {
    width: 100%;
    aspect-ratio: 64 / 35;
    border-radius: .2rem;
}
.item-wrap{
    margin-top: .24rem;
    padding: 0 .16rem;
}
.title-img{
    width: auto;
    height: .36rem;
}
.jgg-wrap{
    padding: .16rem;
    background-color: #222222;
    border: 1px solid rgba(217, 180, 92, .18);
    border-radius: .2rem;
}
.grid-col-5{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .16rem;
}
.jgg-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.jgg-img {
    width: 1.24rem;
    height: 1.24rem;
    border-radius: .2rem;
    margin-bottom: .08rem;
}
.jgg-item  .text {
    color: #e7dfcd;
    text-align: center;
}
.title-wrap{
    margin-bottom: .08rem;
}
.grid-col-2{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .1rem;
}

.qq-item {
    background-color: #222222;
    border: 1px solid rgba(217, 180, 92, .22);
    width: 100%;
    border-radius: .2rem;
    overflow: hidden;
}

.qq-img {
    width: 3.54rem;
    height: 3.54rem;
}
.qq-info-wrap{
    padding: .1rem;
}
.qq-title {
    margin-bottom: 6px;
    font-size: .36rem;
    font-weight: 600;
    color: #e6c46f;
}
.qq-info {
    display: flex;
    justify-content: space-between;
    font-size: .24rem;
    color: #9a948a;
}
.qq-pic {
    font-size: .28rem;
    color: #d9b45c;
    font-weight: 600;
}
.qq-pic-icon{
    font-size: .24rem;
    font-weight: 400;
}



.gril-item {
    display: block;
    width: 100%;
    border-radius: 10px;
    background-color: #222222;
    border: 1px solid rgba(217, 180, 92, .22);
    overflow: hidden;
}
.gril-img-wrap {
    position: relative;
}
.gril-img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 3.3rem;
}
.gf-tips {
    width: 1.74rem;
    height: .6rem;
    background-color: #0000004D;
    border-radius: .64rem;
    padding: .08rem;
    display: flex;
    align-items: center;
    color: #FFFFFFCC;
    font-weight: 700;
}
.gf-tips img {
    width: .44rem;
    height: auto;
}
.like-tips img {
    width: .44rem;
    height: auto;
}
.gril-l img {
    width: auto;
    height: .6rem;
}
.gril-r img {
    width: auto;
    height: .6rem;
}
.gril-top{
    position: absolute;
    top: 0;
    padding: 0.08rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.like-tips{
    width: 1.16rem;
    height: .6rem;
    background-color: #0000004D;
    border-radius: .64rem;
    padding: .08rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FFFFFFCC;
}
.gril-bottom{
    position: absolute;
    bottom:-.3rem;
    padding: 0 .16rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.gril-text-wrap{
    margin-top: .3rem;
    padding: .16rem;
    overflow: hidden;
}
.gril-text-wrap2{
    padding: .16rem;
    overflow: hidden;
}
.gril-text{
    display: flex;
    margin-bottom: .12rem;
    justify-content: space-between;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
.gril-text:last-child{
    margin-bottom: 0;
}
.gril-name {
    flex: 1;
    font-size: .28rem;
    font-weight: 600;
    color: #e6c46f;
}

.color1{
    color: #d9b45c;
    font-size: .26rem;
    font-weight: 600;
    display: block;
}
.gti{
    flex: 0 0 auto;
    width: 2.7rem;
    color: #bdb6aa;
}
.gtc{
    text-wrap: nowrap;
    margin-right: .08rem;
    color: #d9b45c;
    font-weight: 600;
}

.gril-add{
    flex: 0 0 auto;
    width: 1.5rem;
    color: #98928a;
}

.live-item {
    border-radius: .2rem;
    background-color: #222222;
    border: 1px solid rgba(217, 180, 92, .22);
    display: block;
}
.live-img{
    width: 100%;
    height: 5.06rem;
    border-radius: .2rem;
}
#ad-swiper .live-img {
    width: 3.32rem;
    height: 4.74rem;
}
.live-top-info{
    position: absolute;
    top: 0;
    padding: .08rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.live-top-l{
    display: flex;
    align-items: center;
    background-color: #0000004D;
    border-radius: .64rem;
    width: 2.04rem;
    height: .6rem;
    padding: 0 .16rem;
}
.live-p-icon{
    margin-right: .1rem;
}
.live-count{
    color: #fff;
}
.live-num{
    font-weight: 600;
}
.live-info-wrap{
    padding: .16rem;
}
.live-t{
    color: #f2ead8;
    font-weight: 600;
    margin-bottom: .08rem;
    font-size: .32rem;
}
.live-inner{
    color: #8d8880;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-like span {
    color: #d9b45c
}
.live-count1 {
    display: flex;
    align-items: center;
}
.live-num1{
    color: #e6c46f;
}
.live-t-icon{
    width: .6rem;
    height: .6rem;
}

.grid-col-3{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .1rem;
}


.ad1-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #222222;
    border-radius: .2rem;
    padding: .16rem;
    overflow: hidden;
    border: 2px solid rgba(217, 180, 92, .28);
}

.ad1-item-img{
    width: 1.2rem;
    height: 1.2rem;
    border-radius: .2rem;
}
.ad1-item .text {
    font-size: .28rem;
    font-weight: 600;
    text-align: center;
    color: #e6c46f;
    margin: 8px 0 2px 0;
}
.ad1-item .sub-text {
    color: #98928a;

}

.ab-icon{
    position: absolute;
    top: 0;
    left: 0;
}

/* 骨架屏动画 */
.skeleton {
    background: linear-gradient(90deg, #1a1a1d 25%, #26262a 50%, #1a1a1d 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 图片懒加载样式 */
img[data-src] {

    background-color: #1a1a1d;
}

img.lazy-loaded {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 不同类型图片的骨架屏尺寸 */
.jgg-img.skeleton {
    width: 1.24rem !important;
    height: 1.24rem !important;
    border-radius: .2rem;
    display: block !important;
}

.gril-img.skeleton {
    width: 100% !important;
    height: 4.72rem !important;
    min-height: 4.72rem !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover !important;
    display: block !important;
}

.live-img.skeleton {
    width: 100% !important;
    height: 5.06rem !important;
    min-height: 5.06rem !important;
    border-radius: .2rem;
    object-fit: cover !important;
    display: block !important;
}

.qq-img.skeleton {
    width: 3.54rem !important;
    height: 3.54rem !important;
    min-height: 3.54rem !important;
    object-fit: cover !important;
    display: block !important;
}

.banner-img.skeleton {
    width: 100% !important;
    aspect-ratio: 64 / 35 !important;
    border-radius: .2rem;
    object-fit: cover !important;
}

.ad1-item-img.skeleton {
    width: 1.2rem !important;
    height: 1.2rem !important;
    border-radius: .2rem;
    object-fit: cover !important;
}
