* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
@font-face {
  font-family: "HYa3gj";
  src: url('https://xhsc.app.xinhuanet.com/download-source/files/fonts/HYZhongSongJ.ttf');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* 异步加载时显示系统字体，加载完再切换 */
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: rgba(0, 46, 176, 1);
}
.two_line {
  /* overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical; */
  line-height: 1.5;
  word-break: break-all;
}
#app {
  width: 100%;
  max-width: 750px;
  min-height: 100vh;
  margin: 0 auto;
  box-sizing: border-box;
  font-family: HYa3gj;
  display: flex;
  flex-direction: column;
}
.contain {
  display: flex;
  flex-direction: column; /* 垂直排列 */
  gap: 5px; /* 两个盒子固定相隔15px */
}
/* .go-cj {
  width: 100%;
  height: 1.4rem;
  margin-top: .2rem;
  display: flex;
  justify-content: center;
} */
.go-cj {
  width: 60px;
  height: 60px;
  background: url(https://my-statics-cdn.app.xinhuanet.com/uploadfile/h5activity/whjs2022/images/join-choujiang.png?01) no-repeat center;
  background-size: 100% 100%;
  position: fixed;
  right: 0.2rem;
  bottom: 2rem;
}
.home {
  width: 100%;
  max-width: 750px;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  flex-shrink: 0;
}
.home-img {
  width: 100%;
  display: block;
}
.home_content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  margin: 0 auto 0;
  transform: translateY(-35%);
  border-radius: 12px;
  padding: 18px 14px;
  background: linear-gradient(to bottom, rgba(236, 250, 255, 0.3) 0%, rgba(236, 250, 255, 1) 25px);
}
.home_text {
  font-family: "PingFang SC", "苹方-简", sans-serif;
  font-size: 0.3rem;
  line-height: 0.5rem;
  text-align: justify;
  text-indent: 2.2em;
}
.list_back {
  width: 100%;
  max-width: 750px;
  min-height: calc(100vh - 400px);
  background-color: rgba(236, 250, 255, 1);
  border-radius: 16pt 16pt 0pt 0pt;
  padding: 1rem 20px;
  box-sizing: border-box;
  margin: -0.8rem auto;
}
.top {
  width: 100%;
  height: 27.62rem;
  background-image: url("../images/top_bg.png");
  background-size: cover;
}
.top_desc {
  font-size: 0.3rem;
  line-height: 0.44rem;
  color: #7C6028;
  text-align: justify;
  padding: 10.08rem 0.8rem 0;
  box-sizing: border-box;
}
.title {
  width: 5.95rem;
  height: 1.28rem;
  margin: 1.84rem auto 0;
  background-image: url("../images/title.png");
  background-size: cover;
}
.list {
  margin-top: -1rem;
}
.list_item {
  width: 100%;
  height: 100%;
  background-size: cover;
  padding: 19px 0.4% 0.4% 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto;  /* 水平居中 */
  border-bottom: 1px solid rgba(234, 234, 234, 1);
  margin-bottom: 6px;
}
.list_item.selected {
  .list_item_select_btn {
    background-image: url("../images/selected.png");
  }
}
.list_item_sort {
  width: 39px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.30);
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 25px;
  right: 8px;
}
.list_item_select_btn {
  width: 50%;
  height: 1.16rem;
  background-image: url("../images/select.png");
  background-size: cover;
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
}
.list_item_img {
  width: 100%;
  aspect-ratio: 343/192;
  background-position: center;  /* 图片居中 */
  background-repeat: no-repeat;  /* 不重复 */
  border-radius: 6px;
}
.list_item_content_title {
  /* height: 1rem; */
  width: 100%;
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 0.36rem;
  line-height: 0.5rem;
  color: #4F5A42;
  letter-spacing: 0.01rem;
  text-align: left;
}
.list_item_content_nums {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.24rem;
  line-height: 1;
  color: #7A8866;
}
.submit {
  width: 100%;
  max-width: 750px;
  height: 1.16rem;
  margin-top: 1.02rem;
  background-image: url("../images/submit.png");
  background-size: cover;
  display: flex;
  align-items: center;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
  z-index: 100;
}
.select_num {
  width: 53%;
  font-size: 0.3rem;
  line-height: 1.16rem;
  color: #4F6960;
  text-align: center;
}
.submit_btn {
  flex: 1;
  height: 100%;
}
.toast_box {
  width: 100%;
  font-size: .24rem;
  line-height: .28rem;
  color: #FFFFFF;
  text-align: center;
  position: fixed;
  left: 0;
  top: 40%;
  z-index: 999;
  .toast {
    max-width: 5.5rem;
    display: inline-block;
    background: rgba(52, 58, 64, .8);
    border-radius: .12rem;
    padding: .24rem .24rem;
    box-sizing: border-box;
  }

  .toast_pc {
    max-width: 50%;
    font-size: 24px;
    line-height: 30px;
    display: inline-block;
    background: rgba(0, 0, 0, .6);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
  }
}
.explain-wrapper {
  padding: .1rem .1rem .12rem .2rem;
  box-sizing: border-box;
  font-size: .24rem;
  line-height: .26rem;
  color: #ffffff;
  cursor: pointer;
  position: absolute;
  top: 2.2rem;
  left: 50%;
  transform: translate(calc(3.75rem - 0.6rem), 0);
  z-index: 1;
  width: .6rem;
  background-color: rgba(255, 255, 255, .3);
  border-radius: .24rem 0 0 .24rem;
}
/* 活动说明 */
.hdsm-toast {
  width: 100%;
  max-width: 7.5rem;
  height: 100%;
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 100;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

.hdsm-toast-all {
  width: 100%;
  max-width: 7.5rem;
  height: 100%;
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 100;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

.hdsm-content {
  width: 100%;
  height:95vh;
  overflow: hidden;
  background: url('../images/explain_bg.png');
  background-size: cover;
  padding: 0.66rem  0;
  box-sizing: border-box;
  border-radius: 0.24rem 0.24rem 0 0;
  font-size: .32rem;
  line-height: .52rem;
  color: #333;
  text-align: justify;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
}

.hdsm-content-all {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url('../images/explain_bg.png');
  background-size: cover;
  padding: 0.66rem  0;
  font-size: .32rem;
  line-height: .52rem;
  box-sizing: border-box;
  color: #333;
  text-align: justify;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
}

.hdsm-content p {
  margin-bottom: 0.2rem;
}
/* 弹窗内部滚动容器，防止滚动穿透 */
.hdsm-content .flex1,
.hdsm-content-all .flex1 {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.close {
  width: .32rem;
  height: .32rem;
  position: absolute;
  right: .32rem;
  top: .24rem;
  cursor: pointer;
}
.hdsm {
  width: 100%;
  text-align: center;
  font-size: 0.48rem;
  font-weight: 600;
  color: rgba(0, 46, 176, 1);
  padding-bottom: .4rem;
  line-height: .5rem;
}

/* 评论弹框 */
.comment_btn {
  margin-top: 1rem;
  width: 100%;
  height: 1.44rem;
  background-image: url("../images/comment_btn.png");
  background-size: cover;
}
.pl-toast {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  display: none;
}
.pl-content {
  width: 6.06rem;
  height: 8.72rem;
  background: url(../images/pl-bg.png) no-repeat center;
  background-size: 100%;
  /* position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%); */
  padding: .62rem .32rem 0;
  box-sizing: border-box;
  position: relative;
}
.pl-wrapper {
  width: 6.08rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}
.close-toast {
  width: .7rem;
  height: .7rem;
  background: url(https://my-statics-cdn.app.xinhuanet.com/uploadfile/h5activity/qgwh/images/close-toast.png) no-repeat center;
  background-size: 100% 100%;
  margin: .32rem auto 0;
}
.pl-content-title {
  width: 100%;
  font-size: 0.36rem;
  font-weight: 400;
  color: #106A3D;
  margin-bottom: .26rem;
}
.text-content {
  background-color:#FFFFFF;
  border-radius: .24rem;
  width: 100%;
  height: 5.18rem;
  padding: .36rem .2rem .52rem .36rem;
  box-sizing: border-box;
}
#txt {
  width: 100%;
  height: 100%;
  font-size: 0.32rem;
  font-weight: 400;
  color:#333;/* rgba(255, 255, 255, 0.8);*/
  line-height: 0.56rem;
  outline: none;
  border: none;
  background: transparent;
}
.btn-upload-pl {
  position: absolute;
  left: 50%;
  bottom: .52rem;
  transform: translateX(-50%);
  background:url(../images/bg-button.png) center center no-repeat;
  width:5.48rem;
  height:0.9rem;
  background-size:100% 100%;

  font-weight: 500;
  font-size: 0.32rem;
  color: rgba(188, 106, 8, 1);
  line-height: 0.65rem;
  text-align: center;
}
.load_more {
  width: 80%;
  height: 1rem;
  border-radius: 20pt;
  background-color: rgba(19, 163, 250, 1);
  color: rgba(0, 46, 176, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.37rem;
  margin-right: auto;
  margin-left: auto;
  margin-top: 0.5rem;
}
.title-wrap {
  display: flex;
  align-items: center; /* 让横线和文字垂直居中 */
  gap: 16px; /* 横线和文字的间距，可按需调整 */
  padding: 0 20px; /* 整体左右留白 */
  margin-top: 0.5rem;
}
.line {
  flex: 1; /* 横线自动占满剩余宽度 */
  height: 1px;
  background-color: #4096ff; /* 匹配图中蓝色线条 */
}
.title-text {
  font-size: 0.48rem;
  font-family: PingFangSC-Regular;
  color: rgba(0, 46, 176, 1);
  white-space: nowrap; /* 文字不换行 */
}

/* 底部固定栏样式 */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 1.2rem;
  background: rgba(236, 250, 255, 1);
  backdrop-filter: blur(10px);
  z-index: 99;
}

.bottom-bar-content {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.32rem;
  box-sizing: border-box;
  gap: 0.32rem;
}

.btn-comment {
  flex: 1;
  height: 0.8rem;
  background: rgba(191, 232, 255, 1);
  border-radius: 0.4rem;
  border: none;
  color: rgba(0, 102, 204, 1);
  font-size: 0.32rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-comment:hover {
  background: rgba(150, 210, 255, 1);
}

.btn-comment:active {
  transform: scale(0.98);
}

.btn-submit {
  flex: 2;
  height: 0.8rem;
  background: linear-gradient(135deg, rgba(19, 163, 250, 1) 0%, rgba(0, 46, 176, 1) 100%);
  border-radius: 0.4rem;
  border: none;
  color: #ffffff;
  font-size: 0.32rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(19, 163, 250, 0.3);
}

.btn-submit:active {
  transform: scale(0.98);
}

.selected-count {
  font-size: 0.28rem;
}

.submit-text {
  font-size: 0.32rem;
}

/* 为页面底部预留空间，避免内容被固定栏遮挡 */
.list_back {
  padding-bottom: 1.4rem;
}
.pl-item {
  margin-bottom: 0.26rem;
  /* 可选：撑开容器，避免文字挤在一起 */
  display: flex;
  gap: 6px; /* 标题和内容间距 */
}
.pl_titile {
  font-size: 0.3rem;
  font-weight: bold;
  color: #000000;
}
.pl_content {
  font-size: 0.3rem;
  /* font-weight: bold; */
  color: #000000;
}
.detail_back {
  margin: 0.32rem auto 0;
  width: 3.62rem;
  height: 0.8rem;
  background-image: url("../images/detail_back.png");
  background-size: cover;
}