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

/* 隐藏滚动条 */
*::-webkit-scrollbar {
    display: none;
}
*{
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hidden { display: none; }
.h-200{ height: 200px; }

a:hover, a:focus, a:active { text-decoration: none; }
img { object-fit: cover; }
a {
    text-decoration: none;
    /* 文字改为柔和深灰，适配浅色背景 */
    color: #4A4A4A;
}

body {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    /* 主文字改为柔和深灰 */
    color: #4A4A4A;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, Microsoft YaHei, Arial, sans-serif;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top left;
    /* 替换为你的渐变背景图 */
    background-image: url(../../img/abcd/bg.png);
    /* 底色改为和背景匹配的浅白 */
    background-color: #F8F9FF;
}

#app { font-size: .24rem; }
.swiper-c{ overflow: hidden; }
.text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.px-12 { padding: 0 .24rem; }
.px8 { padding: 0 .16rem; }
.mt-12{ margin-top: .24rem; }
.mb-8{ margin-bottom: 8px; }
.mt-4{ margin-top: .08rem; }
.mb-0{ margin-bottom: 0 !important; }

.my-sticky {
    position: sticky;
    top: 0;
    display: flex;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    height: 1rem;
    align-items: center;
    background-image: url(../../img/abcd/bg.png);
    z-index: 11;
    padding: 8px;
    /* 增加半透明白色背景，提升可读性 */
    background-color: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
}
.marquee-wrap { padding: .08rem 0; width: 100%; }
.scrollable-content{
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 1rem;
}
.marquee-box {
    display: flex;
    align-items: center;
    height: .72rem;
    padding: .1rem;
    /* 改为半透明白色，和背景融合 */
    background: rgba(255,255,255,0.6);
    border-radius: .35rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.marquee-box .container-main {
    flex: 1;
    margin: 0 .15rem;
    font-size: .2rem;
    overflow: hidden;
    color: #4A4A4A;
}

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

.marquee-box .btn-more {
    width: 1.42rem;
    height: .5rem;
    line-height: .5rem;
    border-radius: .25rem;
    text-align: center;
    font-size: .22rem;
    /* 改为和背景呼应的粉紫渐变 */
    background: linear-gradient(90deg, #FFB9D1 0%, #B4D8FF 100%);
    color: #4A4A4A;
}

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

.waterfall-flow{ columns:2; column-gap: 5px; }
.column-gap-11 { column-gap: 11px; }

.flow-item {
    margin-bottom: 5px;
    display: block;
    width: 100%;
    border-radius: 10px;
    break-inside:avoid;
    /* 卡片改为半透明白色，柔和不突兀 */
    background-color: rgba(255,255,255,0.75);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.home .flow-item{ margin-bottom: 11px; }
.flow-h-img{ width: 100%; height: auto; }
#ad1-swiper { margin-top: .24rem; overflow: hidden; }

.top-sticky {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 11;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    background-image: url(../../img/abcd/bg.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    background-color: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
}
.go-home{ width: 1.6rem; height: .72rem; }

.jgg-wrap { margin-bottom: .16rem; margin-top: .24rem; }
.xm-title {
    font-size: .28rem;
    /* 标题改为深一点的柔和色 */
    color: #5A5A5A;
    margin-bottom: .16rem;
}
.jgg-conter {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .22rem;
}
.jgg-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #4A4A4A;
}
.jgg-img {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: .2rem;
    margin-bottom: .12rem;
}

.ad1-item {
    display: flex;
    align-items: center;
    padding: .32rem;
    /* 改为半透明白色，适配浅色背景 */
    background-color: rgba(255,255,255,0.7);
    width: 4.18rem;
 }
 .hp-ad .ad1-item:first-child {
    border-top-left-radius: .2rem;
    border-top-right-radius: .2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
 }
 .hp-ad .ad1-item:last-child {
    border-bottom-left-radius: .2rem;
    border-bottom-right-radius: .2rem;
 }
 .ad1-item-img{
     width: 1rem;
     height: 1rem;
     margin-right: .16rem;
     border-radius: 5px;
 }
 .ad1-item-info {
     flex: 1;
    max-width: 2.18rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
 }
 .ad1-name {
     color: #4A4A4A;
     font-weight: 700;
     font-size: .28rem;
 }
 .ad1-sub-text{
     color: #8A8A8A;
 }
 
 .grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}
.ad2-item {
   display: flex;
   align-items: center;
   border-radius: 5px;
   /* 改为半透明白色卡片 */
   background-color: rgba(255,255,255,0.7);
   padding: 4px;
}
.ad2-item-img{
    width: .88rem;
    height: .88rem;
    margin-right: .16rem;
}
.ad2-item-info {
    flex: 1;
   max-width: 2.18rem;
   text-overflow: ellipsis;
   white-space: nowrap;
   overflow: hidden;
   text-align: left;
}
.ad2-name {
    color: #4A4A4A;
    font-weight: 700;
    font-size: .28rem;
}
.ad2-sub-text{
    color: #8A8A8A;
}

.flow-text-wrap { padding: 8px; }
.flow-img-wrap { position: relative; }
.flow-ab {
    position: absolute;
    width: 100%;
    padding: 0 8px;
    bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
}

.sound {
    /* 改为更柔和的半透明白色 */
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: .82rem;
    height: .4rem;
    display: flex;
    align-items: center;
    padding: 0 3px;
}
.praise {
    border-radius: .82rem;
    height: .4rem;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.25);
    padding: 0 3px;
}
.praise img { margin-right: 3px; }

.flow-img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    min-height: 3.26rem;
}
.flow-text1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flow-name {
    flex: 0 0 auto;
    width: 1.92rem;
    font-size: .28rem;
    font-weight: 700;
    color: #4A4A4A;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.flow-add { font-size: .2rem; color: #8A8A8A; }

.flow-tips { width: 100%; display: flex; }
.flow-tips div {
    margin-right: 6px;
    /* 改为和背景呼应的浅青色 */
    background-color: rgba(100, 210, 200, 0.2);
    color: #33B8A8;
    border-radius: 30px;
    height: .32rem;
    padding: 0 4px;
    margin: 6px 0;
    font-size: .2rem;
    margin-right: 4px;
}
.flow-tips div:last-child { margin-right: 0; }

#banner1-swiper,#banner2-swiper{
    overflow: hidden;
    margin-top: .2rem;
}
.banner1-img,.banner2-img{
    width: 100%;
    aspect-ratio: 64 / 35;
    border-radius: .2rem;
}
#banner1-swiper .swiper-pagination-bullet,#banner2-swiper .swiper-pagination-bullet {
    width: 0.08rem;
    height: 0.08rem;
    background-color: rgba(0,0,0,0.2);
}
#banner1-swiper .swiper-pagination-bullet-active,#banner2-swiper .swiper-pagination-bullet-active{
    width: .16rem !important;
    border-radius: .16rem;
    /* 改为和背景呼应的浅紫 */
    background-color: #B4A8E0 !important;
}

.live-tab{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .14rem;
    margin-bottom: 8px;
}
.live-tab-item{
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top left;
    padding: .12rem;
    color: #4A4A4A;
    font-size: .2rem;
    background-color: rgba(255,255,255,0.6);
    border-radius: .1rem;
}
.live-tab-title {
    font-size: .24rem;
    font-weight: 700;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    color: #4A4A4A;
}
.live-tab-title  span {
    max-width: .96rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex: 0 0 auto;
}
.avatar1{
   width: 1.22rem;
   height: .28rem;
}
.live-count{
    /* 改为柔和的绿色 */
    color: #40C050;
}

.live-wrap,.qq-wrap{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .22rem;
}
.live-item {
    width: 3.48rem;
    position: relative;
}
.hot-icon{
    position: absolute;
    top: 0;
    left: 0;
}
.live-item-img {
    width: 100%;
    height: 5.2rem;
    border-radius: 10px;
  }

  .center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    /* 改为和背景呼应的粉紫+浅蓝渐变 */
    background: linear-gradient(90deg, #FFB9D1 0%, #B4D8FF 100%);
    box-shadow: 0px 0px 10px 0px rgba(255,100,150,0.3);
    border-radius: .62rem;
    height: .72rem;
    line-height: .72rem;
    color: #4A4A4A;
    padding: 0 .24rem;
    white-space:nowrap;
  }
  .bt-info {
    position: absolute;
    display:flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    bottom: 0;
    height: .8rem;
    padding:0 4px;
    overflow: hidden;
    color: #fff;
    /* 改为柔和的半透明黑渐变 */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom-left-radius: .2rem;
    border-bottom-right-radius: .2rem;
  }
  .bt-info img {
    width: 0.24rem;
    height: 0.24rem;
    margin-right: 0.08rem;
  }
  .bt-info-left {
     color: #fff;
     display: flex;
     align-items: center;
  }
  .bt-info-left .dian {
     width: .08rem;
     height: .08rem;
     border-radius: 50%;
     background-color: #40C050;
     margin-right: .04rem;
  }
  .bt-info-left .online-num {
      color: #40C050;
  }
  .bt-t {
    display: flex;
    align-items: center;
  }

  .item-s4 {
    padding: .22rem;
    margin-bottom: .2rem;
    /* 改为半透明白色卡片 */
    background: rgba(255,255,255,0.75);
    border-radius: .2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.item-s4 .header {
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-s4 .header .cover {
    width: 1.34rem;
    height: 1.34rem;
}
.cover img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.flex-1 { flex: 1; }
.ml12 { margin-left: .24rem; }
.item-s4 .header .name {
    font-size: .4rem;
    font-weight: 600;
    color: #4A4A4A;
}

.address {
    border: 1px solid rgba(100, 210, 200, 0.3);
    height: .44rem;
    border-radius: .14rem;
    padding: 0 10px;
    width: 2rem;
    margin-top: 8px;
    white-space: nowrap;
    color: #7A7AB8;
}

.flex-middle { align-items: center; }
.flex { display: flex; }
.item-s4 .header .btn-detail {
    width: 2rem;
    height: .68rem;
    line-height: .68rem;
    text-align: center;
    font-size: .28rem;
    color: #fff;
    font-weight: 700;
    border-radius: .33rem;
    /* 改为和背景呼应的浅紫渐变 */
    background: linear-gradient(270deg, #B4A8E0 0%, #D4B8F0 100%);
}
.fc-text { margin-bottom: 8px; color: #4A4A4A; }
.fc-item{
    background-color: rgba(255,255,255,0.6);
    padding: 8px;
    margin-bottom: 4px;
    border-radius: 4px;
}
.fc-title{
    color: #B480B8;
    margin-right: 4px;
}
.fc-flex{
    display: flex;
    margin-bottom: 8px;
}
.fc-flex:last-child { margin-bottom: 0; }
.fc-flex div{
    flex: 1;
    width: 100%;
    margin-right: 4px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #4A4A4A;
}
.fc-flex div:last-child { margin-right: 0; }
.no-wrap{
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #4A4A4A;
}
.item-s4 .more-preview {
    display: grid;
    gap: .2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: .28rem
}
.item-s4 .more-preview img {
    width: 2rem;
    height: 2.68rem;
    border-radius: .13rem
}
.address {
    border: 1px solid rgba(0,0,0,0.1);
    height: .44rem;
    border-radius: .14rem;
    padding: 0 10px;
    width: 2rem;
    margin-top: 8px;
    white-space: nowrap;
    color: #898DC7;
}   

.qq-wrap .qq-item {
    background-color: rgba(255,255,255,0.75);
    width: 100%;
    padding: 6px;
    border-radius: .2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.qq-wrap .qq-img {
    width: 3.24rem;
    height: 3.24rem;
    border-radius: .2rem;
}
.qq-title {
    margin: 8px 0;
    font-size: .36rem;
    font-weight: 700;
    color: #4A4A4A;
}
.qq-info {
    display: flex;
    justify-content: space-between;
    font-size: .24rem;
    color: #8A8A8A;
}
.qq-pic {
    font-size: .28rem;
    color: #33B8A8;
    font-weight: 600;
}

.nav1, .nav2, .nav3 {
    display: flex;
    align-items: center;
    height: .54rem;
    margin-bottom: .16rem;
}
.nav-item {
    color: #8A8A8A;
    margin-right: .4rem;
    font-size: .28rem;
}
.nav-item.active {
    color: #4A4A4A;
    font-weight: 600;
    font-size: .32rem;
}
.nav-item.active::after {
    content: '';
    width: .4rem;
    height: .06rem;
    position: relative;
    display: block;
    top: .1rem;
    left: 25%;
    transform: translateY(-25%);
    border-radius: .5rem;
    /* 改为和背景呼应的粉紫渐变 */
    background: linear-gradient(270deg, #FFB9D1 0%, #B4D8FF 100%);
    margin-bottom: .16rem;
}

.flow-img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    min-height: 3.26rem;
}
.flow-text2 {
    color: #6A6A6A;
    line-height: 16px;
}
.g-name { font-size: .28rem; color: #4A4A4A; }
.g-info{
    margin-left: 2px;
    color: #9582B4;
    font-weight: 600;
}
.text2{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #6A6A6A;
}
.g-pic{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: .12rem;
    margin-bottom: .06rem;
}
.g-bg{
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 1.62rem;
    height: .48rem;
    text-align: center;
    line-height: .48rem;
}
.g-l-bg{ background-image: url(../../img/abcd/l-bg.svg); }
.g-r-bg { background-image: url(../../img/abcd/r-bg.svg); }
#zp1-swper,#zp2-swper,#zp3-swper{
    overflow: hidden;
    margin: .2rem 0;
}

.footer-nav{
    position: fixed;
    bottom: 0;
    left: 50%;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    /* 改为半透明白色，和背景融合 */
    background-color: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    z-index: 12;
    max-width: 500px;
    margin: 0 auto;
    transform: translateX(-50%);
}
.footer-item {
    height: 1rem;
    padding-top: .12rem;
    padding-bottom: .16rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: #8A8A8A;
    font-size: .2rem;
    align-items: center;
}
.footer-item.active{
    /* 改为和背景呼应的粉紫色 */
    color: #E773A4;
    font-weight: 600;
}
.footer-item div:first-child,.footer-item img {
    height: .48rem;
    width: .48rem;
}

.s-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .2rem;
    padding-top: .24rem;
    padding-bottom: .2rem;
}
.s-wrap .lf-g {
    border-radius: .2rem;
    background-color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.s-wrap .ad-name {
    font-weight: 700;
    font-size: .28rem;
    color: #4A4A4A;
}
.lf-g-load { color: #8A8A8A; }
.lf-g .lf-g-img {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: .2rem;
    margin-right: 0.16rem;
}
.go-icon {
    position: absolute;
    top: .24rem;
    right: 0;
}

.zp-menu-wrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
    overflow: hidden;
}
.zp-menu-item {
    flex: 1;
    margin-right: 5px;
}
.zp-menu-item img { width: 100%; }
.zp-swper{ overflow: hidden; }