:root {
  --primary-color: #ee892f;
}

body {
  font-size: .28rem;
}

#pageScroll {
  position: absolute;
  width: 100%;
  left: 50%;
  top: 0;
  height: 100%;
  max-width: 600px;
  transform: translateX(-50%);
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(1.4rem + constant(safe-area-inset-bottom));
  padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
  background: linear-gradient(0deg, #E8E8E8, #fff);
}

.project {
  padding: .5rem .3rem;
  background: #f1d3d3 url(../img/bg.png) no-repeat 0 0 / 100% auto;
}

.project-info .cover-box {
  border-radius: .32rem;
  min-height: 2rem;
  background: #f5f5f5;
  overflow: hidden;
  position: relative;
  box-shadow: 0px .19rem 0.46rem 0px rgba(246, 137, 137, 0.34);
}

.project-info .cover-box .cover-img {
  width: 100%;
  height: auto;
  vertical-align: top;
  border-radius: inherit;
}

.cover-box .donate-scroll {
  position: absolute;
  bottom: .3rem;
  right: .3rem;
  left: .3rem;
  width: calc(100% - .6rem);
  overflow: hidden;
  height: 1.7rem;
}

.cover-box .donate-list {
  position: absolute;
  top: 0;
  right: 0;
  min-height: 100%;
}

.cover-box .donate-list.ani {
  transform-origin: center center;
  animation: 40s loop linear infinite normal;
}

@keyframes loop {
  0% {
    transform: translateY(1.7rem);
  }

  100% {
    transform: translateY(-100%);
  }
}

.cover-box .donate-list .item {
  width: fit-content;
  padding: 0 .2rem;
  font-size: .24rem;
  color: #fff;
  height: .5rem;
  line-height: 1;
  border-radius: .25rem;
  background: rgba(0, 0, 0, 0.7);
  margin-top: .1rem;
  margin-left: auto;
}

.cover-box .donate-list .item:first-child {
  margin-top: 0;
}

.cover-box .donate-list .item .name {
  color: #E30014;
  margin-right: .1rem;
}

.pro-box {
  position: relative;
  margin: .5rem 0 0;
  background:#ee882f86;
  border-radius: .32rem;
  padding: .2rem;
}

.pro-box .logo {
  position: absolute;
  right: .36rem;
  top: .3rem;
  width: 1.42rem;
  height: 1.42rem;
}

.pro-box .info {
  background: #fff;
  box-shadow: 0px 0px .08rem 0px rgba(208, 69, 69, 0.65), 0px 0px .18rem 0px rgba(255, 255, 255, 0.35);
  border-radius: .36rem;
  padding: .3rem;
}

.pro-box .pro-title {
  font-size: .38rem;
  color: #202624;
  max-width: calc(100% - 1.5rem);
  line-height: 1.4;
}

.pro-box .sub-title {
  font-size: .3rem;
  color: #999;
  margin-top: 5px;
  max-width: calc(100% - 1.5rem);
}

.pro-box .data {
  margin-top: .3rem;
}

.pro-box .data-item {
  font-size: .24rem;
  color: #666;
}

.pro-box .data-item .num {
  font-size: .36rem;
  color: #000;
  font-family: dinc;
  margin-top: 5px;
}

.prog-wrap {
  margin-top: .3rem;
  height: .72rem;
  background: #ffe6e5;
  box-shadow: 0px 2px 0px 0px rgba(208, 69, 69, 0.35);
  border-radius: .36rem;
  padding: 0 .2rem;
  position: relative;
}

.prog-lab {
  font-size: .28rem;
  color: #1A1A1A;
}

.prog-box {
  position: relative;
  height: .08rem;
  background: #DCDCDC;
  border-radius: .04rem;
  margin: 0 .2rem;
}

.prog-box .prog {
  position: absolute;
  left: 0;
  top: 0;
  height: .08rem;
  width: 0;
  background: linear-gradient(-90deg,#ee882f86 0%,#ee882f 100%);
  border-radius: .04rem;
}

.prog-box .prog::after {
  content: '';
  display: block;
  width: .18rem;
  height: .18rem;
  background:#ee882f86;
  border: 1px solid;
  border-image: linear-gradient(0deg, #E7FFD4, #F7FFFD) 10 10;
  border-radius: 50%;
  position: absolute;
  right: -.09rem;
  top: 50%;
  transform: translateY(-50%);
}

.prog-wrap .per {
  font-size: .24rem;
  color: #666;
}

.prog-data {
  margin-left: .36rem;
  font-size: .28rem;
  color: #333;
  line-height: .42rem;
}

.box {
  background: #fff;
  border-radius: .32rem;
  position: relative;
  margin-top: .7rem;
  padding: .7rem .3rem;
}

.box img {
  vertical-align: top;
}

.box .title {
  font-size: .36rem;
  font-weight: bold;
  color: #004B44;
  position: absolute;
  left: 0;
  top: -0.2rem;
  width: 2rem;
  height: .92rem;
  text-align: center;
  line-height: 1.5;
  background: url(../img/title-bg.png) no-repeat 0 0 / 100% 100%;
}

.box .content {
  font-size: .28rem;
  color: #666;
  padding: 2% 0 .8rem;
  /* height: 1000px; */
  overflow: hidden;
  line-height: 1.5;
}

.box .content.collapse {
  height: 400px;
}

.box .content img {
  max-width: 100%;
  min-width: 1rem;
  width: auto;
  height: auto;
  margin: .1rem 0;
}

.box .detail-mask {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.8rem;
  display: block;
}

.box .detail-mask.detail-mask-bg {
  background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), #fff 60%, #fff);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 60%, #fff);
}

.box .expand-all {
  height: .8rem;
  font-size: .24rem;
  color: #797979;
  margin-top: .3rem;
  -webkit-tap-highlight-color: transparent;
}

.box .expand-all.no {
  color: #999;
}

.box .detail-mask .expand-all {
  position: absolute;
  left: .3rem;
  bottom: .3rem;
  width: calc(100% - 0.6rem);
}

.box .expand-all img {
  width: .24rem;
  height: .24rem;
  margin-left: 5px;
  transform-origin: center center;
}

.box .detail-mask:not(.detail-mask-bg) .expand-all img {
  transform: rotate(180deg);
}

.box .puber .name {
  font-size: .3rem;
  color: #3F4045;
}

.box .txt-item {
  margin-top: .2rem;
}

.box .txt-item .lab {
  color: #999;
  font-size: .3rem;
  margin-right: .2rem;
}

.box .txt-item .val {
  color: #3F4045;
  word-break: break-all;
  font-size: .3rem;
}

.box .record-info {
  margin-top: .3rem;
  background: #f8e6ef;
  border-radius: .1rem;
  padding: .1rem .2rem .3rem;
}

.box .warn-text {
  font-size: .26rem;
  color: #5a1d0a;
  margin-top: .12rem;
  line-height: 1.5;
  font-weight: bold;
}

.box .line {
  margin: .2rem 0;
  width: calc(100% + .4rem);
  transform: translateX(-.2rem);
  height: 1px;
  background: #E6E6E6;
}

.box .beian {
  margin: .3rem 0 .16rem;
  background: #FFF9F5;
  border-radius: .1rem;
  padding: .2rem;
}

.box .txt {
  font-size: .26rem;
  color: #3F4045;
}

.box .rank-link {
  font-size: .26rem;
  color: #666;
  position: absolute;
  right: 0;
  top: .08rem;
}

.box .rank-link img {
  height: .36rem;
  margin-right: 4px;
}

.content_tabs {
  position: fixed;
  left: 0;
  top: 0;
  background: #fff;
  z-index: 999;
  width: 100%;
  height: .8rem;
  transition: all .2s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.content_tabs.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.content_tabs .tab {
  width: 33.33%;
  height: .8rem;
  text-align: center;
  font-size: .28rem;
  color: #666;
  line-height: .8rem;
  position: relative;
}

.content_tabs .tab.cur {
  color: #000;
  font-weight: bold;
}

.content_tabs .tab.cur::after {
  content: '';
  display: block;
  width: .5rem;
  height: 2px;
  border-radius: 1px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: var(--primary-color);
}

.pos {
  position: relative;
  top: -60px;
}

/* 项目动态 */
.box .feedback {
  margin-top: .3rem;
}

.box .feedback .item {
  padding: .2rem 0;
}

.box .feedback .item .detail {
  overflow: hidden;
}

.box .feedback .item .fd-title {
  font-size: .28rem;
  color: #010101;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.box .feedback .item .time {
  font-size: .28rem;
  color: #8F9091;
  font-weight: normal;
}

.box .feedback .item .info {
  padding: 0;
  margin: .16rem 0 0;
  font-size: .24rem;
  color: #707070;
  width: 100%;
  text-indent: 2em;
}

.box .feedback .item .info img {
  width: 2rem;
  height: auto;
  margin: .2rem 0;
  display: block;
}

.box .feedback .item .imgs a {
  display: block;
  margin-top: .2rem;
  margin-right: .2rem;
  width: 1.4rem;
  height: 1.4rem;
}

.box .feedback .item .imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  font-size: .24rem;
  color: #999;
  line-height: 1.8;
  padding: 0 .3rem;
  box-sizing: border-box;
  background: none;
  margin-top: .4rem;
}

.footer img {
  height: .68rem;
  width: auto;
}

.btns {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: .2rem .3rem;
  box-sizing: border-box;
  padding-bottom: calc(0.2rem + constant(safe-area-inset-bottom) / 2);
  /*兼容 IOS<11.2*/
  padding-bottom: calc(0.2rem + env(safe-area-inset-bottom) / 2);
  /*兼容 IOS>11.2*/
}

.btns .btn {
  text-align: center;
  height: 1rem;
  background: linear-gradient(86deg, #F28E26 0%, #FD644F 100%);
  font-size: .48rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-all;
  padding: .1rem;
  overflow: hidden;
  line-height: 1.5;
  flex: 1;
  box-sizing: border-box;
  border-radius: .5rem;
}

.btns .btn.single {
  background-color: #ccc;
}

/*图片预览*/
#bigImg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .8);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: none;
  z-index: 999;
}

#bigImg .bd {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 10;
}

#bigImg .bd li {
  float: left;
  overflow: hidden;
  width: 100%;
}

#bigImg .bd li img {
  width: 100%;
  max-height: 100rem;
}

#bigImg .pageState {
  text-align: right;
  color: #fff;
  font-size: .3rem;
  margin-right: .3rem;
  margin-bottom: .3rem;
}

.popup {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .7);
  left: 0;
  top: 0;
  z-index: 999;
}


/*支付完成*/
.dialog-a,
.dialog-a .mask {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;
}

.dialog-a {
  display: none;
}

.dialog-a.show {
  display: block;
}

.dialog-a .mask {
  background: rgba(0, 0, 0, 0.6);
}

.dialog-a .con {
  position: absolute;
  width: 85%;
  max-width: 6rem;
  padding: .4rem;
  background: #fff;
  top: 50%;
  left: 50%;
  text-align: center;
  font-size: .3rem;
  transform: translate3d(-50%, -50%, 0);
  z-index: 999;
  box-sizing: border-box;
  border-radius: .12rem;
}

.dialog-a .con .txt {
  color: #364664;
  font-size: .36rem;
  margin-bottom: .2rem;
}

.dialog-a .con .ed {
  display: block;
  color: #ff7b7c;
  font-size: .32rem;
  width: fit-content;
  border: 1px solid #ff7b7c;
  border-radius: .08rem;
  height: .64rem;
  line-height: .6rem;
  margin: 0 auto;
  padding: 0 .2rem;
  box-sizing: border-box;
}

.dialog-a .con .txt2 {
  color: #9aa2b1;
  font-size: .28rem;
  margin-top: .2rem;
}

.dialog-a .con .un {
  color: #ff7b7c;
}

.ways {
  padding: .2rem 0;
}

.ways .title {
  font-size: .28rem;
  color: #000;
  margin-bottom: .2rem;
  font-weight: 600;
}

.ways .item {
  width: 100%;
  padding: .2rem .1rem;
}

.ways .item:first-child:not(:last-child) {
  border-right: 1px solid #D2D2D2;
}

.ways .item img {
  width: auto;
  height: .36rem;
}

.ways .item .sel {
  display: none;
}

.ways .item.on .sel {
  display: inline-block;
}

.ways .item p {
  margin: 0;
}

.ways .item p img {
  margin-left: .2rem;
}

.ways .no-check {
  display: block;
  width: .32rem;
  height: .32rem;
  border: 1px solid #ccc;
  border-radius: 100%;
}

.ways .item.on .no-check {
  display: none;
}

#payTips {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

#payTips.active {
  background-color: rgba(0, 0, 0, .7);
  opacity: 1;
  z-index: 299;
  pointer-events: all;
}

/***支付***/
.pay {
  background: #fff;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 399;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
  border-radius: .2rem .2rem 0 0;
  transform: translateY(100%);
  transition: .4s ease;
  padding-bottom: constant(safe-area-inset-bottom);
  /*兼容 IOS<11.2*/
  padding-bottom: env(safe-area-inset-bottom);
  /*兼容 IOS>11.2*/
}

#payTips.active .pay {
  transform: translateY(0);
}

.pay-info {
  padding: .4rem;
}

.pay-info .cover {
  width: 2.24rem;
  height: 1.72rem;
  border-radius: .24rem;
  background: #EFEFEF;
  margin-right: .22rem;
}

.pay-info .cover img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.pay-info .info {
  overflow: hidden;
}

.pay-info .name {
  font-size: .32rem;
  color: #000;
  line-height: .42rem;
}

.pay-info .total {
  font-size: .32rem;
  color: var(--primary-color);
  line-height: .42rem;
  margin-top: .12rem;
  font-weight: bold;
}

.pay .t {
  line-height: .88rem;
  color: #3E3E3F;
}

.pay .t .close {
  position: absolute;
  right: 0;
  top: 0;
  width: .8rem;
  height: .8rem;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.pay .t .close img {
  width: .36rem;
  height: .36rem;
  margin-top: .22rem;
  vertical-align: top;
}

.pay .t span {
  margin-left: .2rem;
  color: #56504d;
  font-size: .3rem;
  cursor: pointer;
}

.pay-box {
  margin: 0 .4rem;
  padding: 0 0 .4rem;
}

.ppd-ul li {
  width: 32%;
  height: .6rem;
  color: #333;
  line-height: .6rem;
  text-align: center;
  margin-bottom: .12rem;
  margin-right: 2%;
  box-sizing: border-box;
  position: relative;
  border: 1px solid #D2D2D2;
  border-radius: .3rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ppd-ul li:nth-child(3n) {
  margin-right: 0;
}

.ppd-ul li.on {
  border-color: #FD644F;
  color: #FD644F;
  background: rgba(235, 97, 15, 0.1);
}

.ppd-ul li span {
  font-size: .28rem;
}

.diy-inp {
  width: 100%;
  height: .6rem;
  line-height: .56rem;
  border: 1px solid #D2D2D2;
  border-radius: .3rem;
  font-size: .28rem;
  color: #333;
  text-align: center;
  box-sizing: border-box;
  margin-bottom: .2rem;
  outline: none;
}

.diy-inp:disabled {
  background: none;
}

.diy-inp::-webkit-input-placeholder {
  color: #999;
}

.diy-inp.on {
  border-color: var(--primary-color);
}

.random {
  width: 32%;
  height: .6rem;
  padding: 0 .2rem;
  font-size: .28rem;
  color: #333;
  border: 1px solid #D2D2D2;
  border-radius: .3rem;
  margin-left: 2%;
  box-sizing: border-box;
  margin-bottom: .2rem;
  line-height: 1;
  flex-shrink: 0;
}

.random img {
  width: .26rem;
  height: .26rem;
  margin-right: .12rem;
  transform-origin: 50% 50%;
}

.random .active {
  animation: rotate 1s linear;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.ppd-prop {
  text-align: center;
  margin: .16rem 0;
  font-size: .28rem;
  color: #999;
}

#chk {
  -webkit-appearance: none;
  width: .24rem;
  height: .24rem;
  border: 1px solid #E1E1E1;
  outline: none;
}

#chk:checked {
  background: url(../img/check.png) no-repeat;
  background-size: .22rem;
  border-color: #999;
}

.ppd-prop .prop {
  color: var(--primary-color);
  font-size: .28rem;
}

.pay-box .btn {
  display: block;
  margin-top: .3rem;
  width: 100%;
  height: 1rem;
  line-height: 1rem;
  text-align: center;
  color: #fff;
  font-size: .48rem;
  font-weight: bold;
  letter-spacing: 1px;
  background: linear-gradient(86deg, #F28E26 0%, #FD644F 100%);
  border-radius: .5rem;
}

.pay .box .btn.disable {
  background: #ccc;
}

.pay .box .btn.disable .btn-link {
  -webkit-tap-highlight-color: transparent;
}

.pay .prot {
  font-size: .28rem;
  color: #b0a7a2;
  text-align: center;
  margin-top: .2rem;
}

.pay .prot .p {
  color: #56504d;
  font-size: .28rem;
}

.pay .prot .p a {
  color: var(--primary-color);
}

.nodata {
  text-align: center;
  font-size: .28rem;
  color: #9F9F9E;
  margin: .3rem 0;
}

.skeleton {
  position: fixed;
  inset: 0;
  font-size: .28rem;
  color: #707070;
}