@charset "utf-8";
/* CSS Document */

/*公共*/
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
	margin-bottom:70px;
    background: #f5f5f5
}
.activate i{color: #fe2e7a;font-weight: bold}
.activate p{color: #fe2e7a;}
.content {
    flex: 1;
    padding: 20px;
}
.weui-tabbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}
.weui-tabbar__item i {
    font-size: 18px
}
.weui-tabbar__item p {
    font-size: 13px
}
/*公共结束*/
/*首页开始*/
.top-container {
    position: relative;
}
.top-image {
    width: 100%;
    display: block;
}
.info-layer {
    position: absolute;
    bottom: -120px; /* 相对于图片底部调整位置 */
    left: 50%;
    transform: translateX(-50%);
    width: 88%; /* 宽度占父容器的95% */
    background-color: rgba(255, 255, 255, 1);
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10; /* 确保层级正确 */
    display: flex;
    flex-direction: column; /* 改为垂直布局以容纳倒计时信息 */
    align-items: center; /* 居中对齐 */
}
.info-items {
    display: flex;
    justify-content: space-around; /* 横向排列 */
    width: 100%; /* 占满父容器宽度 */
}
.info-item {
    display: flex;
    flex-direction: column; /* 垂直排列文字和数字 */
    align-items: center; /* 居中对齐 */
    font-size: 14px;
}
.info-item span {
    display: block;
}
.info-item .label {
    font-size: 13px;
	font-weight: bold;
    color: #888; /* 设置汉字的颜色 */
}
.info-item .value {
    font-size: 23px;
    font-weight: bold;
    font-family: 'Arial';
    color: #333; /* 设置数字的颜色 */
}
.countdown-info {
    padding: 10px 0 0;
    font-size: 15px;
    color: #000;
	letter-spacing: 2px;
    width: 100%; /* 宽度与整个 .info-layer 保持一致 */
    text-align: center;
}
 .line {
            width: 100%;  /* 设置线条宽度 */
            height: 2px;  /* 设置线条的高度，即线条粗细 */
            background: linear-gradient(to right,
				rgba(255, 103, 165, 0.1) 5%,
                rgba(255, 103, 165, 0.4) 15%,   /* 左侧部分，细 */
                rgba(255, 103, 165, 1) 50%,     /* 中间部分，粗 */
                rgba(255, 103, 165, 0.4) 85%,
				rgba(255, 103, 165,  0.1) 95%);  /* 右侧部分，细 */
        }
.countdown {
	font-family:  'Arial Black', sans-serif;
            font-size:19px;
	line-height: 25px;
            font-weight: bold;
            color: #ff0000;
        }
/*搜索*/
.search-container {
    margin-top: 110px; /* 确保不会被覆盖 */
    padding: 10px 0;
    text-align: center;
}
.weui-input {
    height: 40px;
    line-height: 40px;
    padding-left: 10px
}
.weui-search-bar {
    padding: 10px 8px;
}
.weui-search-bar__form {
    position: relative; /* 相对定位，用于放置图标 */
}
.search-icon {
    position: absolute; /* 绝对定位 */
    right: 10px; /* 距离输入框右侧 10px */
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999; /* 图标颜色 */
    cursor: pointer; /* 鼠标悬停显示为点击效果 */
}
.search-icon svg, .search-icon i {
    width: 100%;
    height: 100%;
}
/*图片列表*/		
 .no-result,.no-more {
            text-align: center;
            color: #888;
	 font-size: 10px;
            margin-bottom: 60px;
        }
.image-text {
    display: flex;
	padding:0 8px ;
    flex-wrap: wrap; /* 允许换行 */
    gap: 3px; /* 图片之间的间距 */
    justify-content: space-between;
}
.image-text-item {
    width: 49%; /* 每个项目占宽度的 48% */
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    box-sizing: border-box; /* 确保 padding 不会导致布局错乱 */
    margin-bottom: 10px; /* 给每个项目添加底部间距 */
}
.image-container {
    position: relative;
    width: 100%;
	height: 230px;
    border-radius: 5px;
    overflow: hidden;
}
.image-container img {
    width: 100%;
	height: 100%;
	object-fit: cover; /* 保持图片的宽高比，并裁剪超出部分 */
    display: block;
    border-radius: 5px;
}
.image-number {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: rgba(255, 255, 255,0.5);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #ff67a5
}
.image-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}
.info {
    display: flex;
    padding: 5px;
    flex-direction: column;
    align-items: flex-start;
	width: 100%;
}
.info .weui-cell{width: 100%;border:0;padding:0}
.info .name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}
.info  span {
    font-size: 14px;
	line-height: 35px;
    font-weight: normal;
}
.info .votes {
    font-size: 12px;
    color: #666;
}
.info .votes i{
	font-size: 17px;
	padding-right: 2px;
    color: #fe2d6f;
}

.vote-button {
    background: linear-gradient(90deg, #fc2d73, #ff96bc); /* 渐变色 */
    color: white;
    border: none;
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 5px;
	margin-bottom: 5px;
}
.vote-button:hover {
    background-color: #179917;
}

/*首页结束*/


/*关于*/
.my_top {
    display: flex;
    width: 100%;
    height: 150px;
}
.head-bgimg {
    width: 100%;
    height: 150px;
    background-color: #fff;
    position: relative;
}
.head-bgimg-text {
    display: flex;
    position: absolute;
    top: 22%;
    left: 15%;
}
.avatarBtn {
    border: none;
    border-color: transparent;
    background: none !important;
}
.avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.head-bgimg-concent {
    margin: 5px 0 0 30px;
    color: #fff;
}
.head-bgimg-concent .p1 {
    font-size: 18px;
    font-weight: bold;
}
.head-bgimg-concent .p2 {
    font-size: 15px;
}
/* 一条横线 */


.mycontainer {
    width: 90%;
    margin: 30px 5%; /* 给父级容器添加内边距 */
    box-sizing: border-box; /* 确保内边距不会影响宽度计算 */
    border: solid 1px rgba(0, 0, 0, 0.10);
    border-radius: 2px;
}
.weui-cell {
    background: #fff;
    border-bottom: solid 1px #e5e5e5;
}
.mycontainer .iconfont {
    padding-right: 5px;
    font-size: 19px;
    color: #fd7db0
}
.mycontainer p {
    color: #81848b;
    font-size: 15px
}

/*报名*/

/*详情页开始*/

/* 滚动图片容器 */
.swiper-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}
.swiper-slide {
    min-width: 100%;
    height: 450;
	overflow: hidden;
    position: relative;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 姓名显示 */
.swiper-slide .name {
    position: absolute;
    bottom: 10px; /* 距离最下面10px */
    left: 50%; /* 左侧距离50% */
    transform: translateX(-50%); /* 水平居中 */
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

/* 图片下方信息 */
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    font-size: 14px;
    background-color: #f5f5f5;
}
.info-item {
    text-align: center;
    flex: 1;
}
/*.info-item:not(:last-child) {
    border-right: 1px solid #ddd;
}*/
/* 参赛口号 */
.slogan {
    padding: 15px;
    font-size: 16px;
    text-align: center;
    background-color: white;
    border-top: 1px solid #ddd;
}
/* 底部按钮 */
		

/* 礼物弹层 */


/* 礼物清单部分 */
.gift-list {
    margin-bottom: 20px; /* 保留与底部按钮的距离 */
}
/* 礼物底部部分 */
.weui-half-screen-dialog{padding: 5px !important}
.gift-footer {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #ddd;
}
.js_wrap_btn_area {
    margin-top: 15px
}
.weui-footer__text {
    font-size: 13px;
    line-height: 35px;
    text-align: left
}
.cusbtn {
    margin-top: 25px;
    width: 90px !important;
    background: linear-gradient(to right, #ff9432, #ff4715);
    border-radius: 15px;
}
#popupService {
    position: fixed; /* 固定定位 */
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    /*    border-radius: 8px;*/
    width: 100%;
    height: 50px !important; /* 使用视口高度的80% */
}
/*详情页结束*/

/*赛事介绍*/
.weui-article{width: 96%;margin: 10px auto !important ;padding: 0}
   .article-header h1 {
	   font-weight: bold;
      font-size: 24px;
	  color: #ff7da9;
      margin-bottom: 10px;
    }
.article-content {
      padding: 15px;
      line-height: 1.8;
      font-size: 16px;
      color: #555;
      background: #fff;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	  margin-bottom: 60px;
    }
/* 深色模式下的样式 */
@media (prefers-color-scheme: dark) {
    /* 调整输入框背景和文字颜色 */
    input, textarea {
        background-color: #333; /* 设置深色背景 */
        color: white; /* 设置白色文字 */
    }

    /* 调整输入框边框颜色 */
    input, textarea {
        border: 1px solid #555; /* 适应深色模式的边框 */
    }

    /* 如果有其他背景色的元素 */
    body {
        background-color: #121212; /* 深色背景 */
        color: white; /* 确保文字是白色 */
    }

    /* 如果有按钮或其他交互元素 */
    button {
        background-color: #555;
        color: white;
    }
}
/*视频区域*/
    .video-container {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            width: 100%;
        }
        video {
            width: 100%;
            max-width: 100%;
            height: auto;
            outline: none;
			  object-fit: cover; /* 保持视频内容适应容器 */
        }
/* 深色模式下，调整背景色和文字颜色 */
@media (prefers-color-scheme: dark) {
    /* 更改背景色和文字颜色 */
    body {
        background-color: #121212; /* 深色背景 */
        color: white; /* 白色文字 */
    }

    /* 确保所有文本元素都使用白色或其他适合的颜色 */
    p, h1, h2, h3, h4, h5, h6, li, a {
        color: white; /* 或者使用适合的浅色 */
    }

    /* 你也可以设置深色模式下的输入框文字颜色 */
    input, textarea {
        color: white; /* 白色文字 */
        background-color: #333; /* 深色背景 */
    }
}