* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, 
    "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background-color: #f8f8f8;
    padding-bottom: 55px; /* 为tabbar留出空间 */
    user-select:none;
}
#class1,#class2,#class3,#class4 {
	display:none;
}
.wechat{
	
	display:none;
}
.wechat_content{
	width:100%;
	font-size:16px;
	line-height: 28px;
	text-align:center;  
	padding-top:50px;
	margin-top:30px;
	font-weight:normal;
}
.wechat_excl img{
	width: 50px;
	height: 50px;
}
.wechat_img img{
	width: 150px;
	height: 150px;
}
.wechat_tip{
	padding:10px 20px;
}
/* 轮播图区域 */
.swiper-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #ddd;
}

.swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-out;
    cursor: grab;
}

.swiper-slide {
    flex: 0 0 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: center center / cover no-repeat;
    display: block;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 3px;
}

.swiper-pagination-bullet-active {
    background-color: #fff;
}

       /* 滚动文字区域容器 */
.tip {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 8px 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 喇叭图标样式 */
.tip_icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 文字滚动区域 */
.tip_text {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 18px;
}

/* 滚动文字样式 */
.tip_scroll_text {
    position: absolute;
    white-space: nowrap;
    font-size: 13px; /* 字号10px */
    color: red; /* 红色文字 */
    animation: scroll 20s linear infinite; /* 滚动动画 */
}

/* 滚动动画关键帧 */
@keyframes scroll {
    0% {
transform: translateX(5%); /* 从右侧开始 */
    }
    100% {
transform: translateX(-100%); /* 滚动到左侧 */
    }
}
/* 卡片组区域 */
.section {
    margin: 10px;
    border-radius: 12px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header img {
    cursor:pointer;
}

.section-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.section-more {
    font-size: 13px;
    color: #999;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 10px;
    gap: 25px;
}

.card {
    text-align: center;
    text-decoration: none;
    color: #333;
}

.card-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 保持1:1比例 */
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-name {
    margin-top: 5px;
    font-size: 12px;
    height: 36px;
    line-height: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 0 2px;
    word-break: break-all;
}

/* 底部tabbar */
.tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    height: 55px;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 0px 0;
    z-index: 100;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor:pointer;
    font-size: 12px;
    color: #888;
}

.tab-item.active {
    color: #ff3f45; 
}

.tab-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
    position: relative;
}

.tab-icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s;
}

.tab-icon-light {
    opacity: 1;
}

.tab-icon-dark {
    opacity: 0;
}

.tab-item.active .tab-icon-light {
    opacity: 0;
}

.tab-item.active .tab-icon-dark {
    opacity: 1;
}
.tab-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}
/* 操作提示样式 */
/* 遮罩层 */
.weui-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}
/* 提示框容器 */
.weui-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(40, 40, 40, 0.85);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 15px 20px;
  max-width: 70%;
  text-align: center;
  z-index: 5000;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 图标容器 */
.weui-toast__icon {
  margin-bottom: 10px;
  width: 24px;
  height: 24px;
}
/* 内置图标样式 */
.weui-icon-warn {
  color: #f8f8f8;  /* 警告黄 */
}
.weui-icon-error {
  color: #FA5151;  /* 错误红 */
}
/* 提示内容 */
.weui-toast__content {
  font-size: 16px;
  line-height: 1.4;
  word-break: break-word;
}