html {
  font-size: calc(100vw / 1920 * 100) !important;
}

* {
  box-sizing: border-box;
}

body.survey-page {
  margin: 0;
  color: #262626;
  background: #f7f7ff url('../img/page-bg@2x.png') center top / 100% auto no-repeat;
  font-family: 'HarmonyOS Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.survey-page__main {
  min-height: 16.8rem;
  padding-bottom: 1.2rem;
}

.survey-hero {
  position: relative;
  height: 4.8rem;
  overflow: hidden;
  background: transparent;
}

.survey-hero__inner {
  position: relative;
  width: 14.4rem;
  height: 100%;
  margin: 0 auto;
}

.survey-hero__title-row {
  display: flex;
  align-items: center;
  gap: 0.24rem;
  position: relative;
  z-index: 2;
  padding-top: 0.4rem;
}

.survey-hero h1 {
  margin: 0;
  color: #4448dc;
  font-size: 0.48rem;
  line-height: 0.58rem;
  font-weight: 700;
}

.survey-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  min-height: 0.29rem;
  padding: 0.05rem 0.18rem;
  border-radius: 0.32rem;
  color: #27b75e;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.16rem;
  line-height: 0.19rem;
  font-weight: 600;
}

.survey-hero__status i {
  width: 0.07rem;
  height: 0.07rem;
  border-radius: 50%;
  background: #38df77;
}

.survey-hero__art {
  position: absolute;
  top: 0.11rem;
  right: 1.76rem;
  width: 1.66rem;
  height: 1.43rem;
  display: block;
  object-fit: contain;
}

.survey-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 10.49rem) 3.67rem;
  gap: 0.24rem;
  width: 14.4rem;
  margin: -3.46rem auto 0;
}

.survey-content,
.survey-card {
  border-radius: 0.16rem;
  background: rgba(255, 255, 255, 0.96);
}

.survey-content {
  padding: 0.32rem 0.4rem 0.48rem;
}

.survey-section {
  padding: 0 0 0.4rem;
  margin-bottom: 0.4rem;
  border-bottom: 0.01rem solid #e8ecf5;
}

.survey-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.survey-section__heading {
  display: flex;
  align-items: center;
  gap: 0.16rem;
  margin-bottom: 0.24rem;
}

.survey-section__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.3rem;
  height: 0.32rem;
  flex: 0 0 auto;
  border-radius: 0.07rem;
  color: #fff;
  background: linear-gradient(145deg, #123f9f, #2682e6);
  font-size: 0.18rem;
  font-weight: 700;
}

.survey-section h2,
.survey-card h2 {
  margin: 0;
  color: #262626;
  font-size: 0.24rem;
  line-height: 0.32rem;
  font-weight: 700;
}

.survey-section__body,
.survey-card p,
.survey-card li {
  color: #262626;
  font-size: 0.2rem;
  line-height: 0.33rem;
}

.survey-section__body p,
.survey-section__body ul,
.survey-card p,
.survey-card ul {
  margin: 0;
}

.survey-section__body ul,
.survey-card ul {
  padding: 0;
  list-style: none;
}

.survey-section__body li,
.survey-card li {
  position: relative;
  margin-top: 0.24rem;
}

.survey-section__body li {
  padding-left: 0.43rem;
}

.survey-card li {
  padding-left: 0.23rem;
}

.survey-section__body li:first-child,
.survey-card li:first-child {
  margin-top: 0;
}

.survey-section__body li::before,
.survey-card li::before {
  content: '';
  position: absolute;
  top: 0.13rem;
  width: 0.07rem;
  height: 0.07rem;
  border-radius: 50%;
  background: #5f67ff;
  box-shadow: 0 0 0 0.03rem rgba(95, 103, 255, 0.14);
}

.survey-section__body li::before {
  left: 0.16rem;
}

.survey-card li::before {
  left: 0;
}

.survey-section__body a {
  color: #1967e8;
  text-decoration: none;
}

.survey-section__body a:hover {
  text-decoration: underline;
}

.survey-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
}

.survey-card {
  padding: 0.32rem;
}

.survey-card__title {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 0.24rem;
}

.survey-card__icon {
  width: 0.24rem;
  height: 0.24rem;
  flex: 0 0 auto;
  display: block;
}

.survey-card p {
  min-height: 0.66rem;
}

.survey-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  width: 100%;
  min-height: 0.56rem;
  margin-top: 0.24rem;
  border-radius: 0.64rem;
  color: #fff;
  background: linear-gradient(90deg, #0600b7, #265dee);
  font-size: 0.18rem;
  line-height: 0.32rem;
  font-weight: 700;
  text-decoration: none;
}

.survey-card__button:hover {
  color: #fff;
  opacity: 0.92;
}

.survey-card__button img {
  width: 0.18rem;
  height: 0.18rem;
  flex: 0 0 auto;
}

.survey-card--tips li {
  margin-top: 0.24rem;
}

.message-box {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.48);
}

.message-box.on {
  display: flex;
}

@media screen and (max-width: 1440px) {
  .survey-hero__inner,
  .survey-layout {
    width: 14rem;
  }

  .survey-layout {
    grid-template-columns: minmax(0, 9.9rem) 3.7rem;
  }
}

@media screen and (max-width: 750px) {
  html {
    font-size: calc(100vw / 750 * 100) !important;
  }

  .survey-page__main {
    min-height: 20rem;
    padding-bottom: 0.64rem;
  }

  .survey-hero {
    height: 3.6rem;
    background: transparent;
  }

  .survey-hero__inner,
  .survey-layout {
    width: auto;
    margin-right: 0.32rem;
    margin-left: 0.32rem;
  }

  .survey-hero__title-row {
    display: block;
    position: relative;
    z-index: 2;
    display: block;
    width: 6.4rem;
    padding-top: 0.54rem;
  }

  .survey-hero h1 {
    font-size: 0.46rem;
    line-height: 0.66rem;
  }

  .survey-hero__status {
    margin-top: 0.16rem;
    min-height: 0.48rem;
    padding: 0.07rem 0.18rem;
    font-size: 0.24rem;
    line-height: 0.32rem;
  }

  .survey-hero__status i {
    width: 0.12rem;
    height: 0.12rem;
  }

  .survey-hero__art {
    display: block;
    top: 0.2rem;
    right: -0.2rem;
    width: 2.9rem;
    height: 2.76rem;
    opacity: 0.88;
  }

  .survey-layout {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    width: auto;
    margin-top: -2.26rem;
  }

  .survey-sidebar {
    order: -1;
    gap: 0.32rem;
  }

  .survey-content,
  .survey-card {
    border-radius: 0.2rem;
  }

  .survey-content,
  .survey-card {
    padding: 0.36rem;
  }

  .survey-section {
    padding-bottom: 0.36rem;
    margin-bottom: 0.36rem;
  }

  .survey-section__heading {
    gap: 0.2rem;
    margin-bottom: 0.24rem;
  }

  .survey-section__number {
    width: 0.54rem;
    height: 0.5rem;
    border-radius: 0.1rem;
    font-size: 0.22rem;
  }

  .survey-section h2,
  .survey-card h2 {
    font-size: 0.34rem;
    line-height: 0.5rem;
  }

  .survey-section__body,
  .survey-card p,
  .survey-card li {
    font-size: 0.28rem;
    line-height: 0.48rem;
  }

  .survey-section__body li,
  .survey-card li {
    margin-top: 0.18rem;
  }

  .survey-section__body li {
    padding-left: 0.56rem;
  }

  .survey-card li {
    padding-left: 0.3rem;
  }

  .survey-section__body li::before,
  .survey-card li::before {
    top: 0.19rem;
    width: 0.1rem;
    height: 0.1rem;
  }

  .survey-section__body li::before {
    left: 0.16rem;
  }

  .survey-card li::before {
    left: 0;
  }

  .survey-card__title {
    gap: 0.16rem;
    margin-bottom: 0.24rem;
  }

  .survey-card__icon {
    width: 0.36rem;
    height: 0.36rem;
  }

  .survey-card p {
    min-height: 0;
  }

  .survey-card__button {
    min-height: 0.88rem;
    margin-top: 0.3rem;
    font-size: 0.3rem;
    line-height: 0.44rem;
  }

  .survey-card--tips li {
    margin-top: 0.2rem;
  }
}
