* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 10vw;
}

@media (min-width: 540px) {
  html {
    font-size: 54px;
  }
}

body {
  margin: 0;
  color: #333;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

img {
  border: 0;
  max-width: 100%;
}

.page {
  min-height: 100vh;
  background: #fff;
  color: #999;
  font-size: 0.32rem;
}

.store {
  width: 10rem;
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
}

.inner {
  width: 8.8rem;
  margin: 0 auto;
}

.hero {
  display: flex;
  flex-direction: column;
  padding: 0.4rem 0 0.28rem;
  border-bottom: 0.02667rem solid #eee;
}

.hero-top {
  display: flex;
}

.app-icon-wrap {
  width: 2.66667rem;
  height: 2.66667rem;
  border-radius: 0.53333rem;
  overflow: hidden;
  flex: none;
  background: #ff3ea5;
}

.app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
}

.hero-main {
  flex: 1;
  min-width: 0;
  margin-left: 0.53333rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-name {
  margin: 0;
  font-size: 0.61333rem;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.16rem;
  margin-top: 0.2rem;
}

.install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 0.74667rem;
  padding: 0 0.34667rem;
  border-radius: 0.13333rem;
  background: #1989fa;
  color: #fff;
  font-size: 0.34667rem;
  line-height: 0.74667rem;
}

.install-btn:active {
  opacity: 0.85;
}

.install-btn svg {
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.05333rem;
  flex: none;
}

.plat-hint {
  font-size: 0.28rem;
  color: #8e8e93;
}

.plat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;
  margin-top: 0.36rem;
}

.plat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  min-height: 1.42rem;
  padding: 0.16rem 0.08rem;
  border-radius: 0.2rem;
  background: #f4f5f7;
  color: #1989fa;
  font-size: 0.29333rem;
  font-weight: 600;
  line-height: 1.2;
}

.plat-btn svg {
  width: 0.5rem;
  height: 0.5rem;
}

.plat-btn.is-current {
  background: #1989fa;
  color: #fff;
}

.plat-btn.is-off {
  opacity: 0.38;
  pointer-events: none;
  background: #f4f5f7;
  color: #8e8e93;
}

.plat-btn:active:not(.is-off) {
  opacity: 0.82;
}

.stats {
  display: flex;
  padding: 0.4rem 0;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12rem;
  bottom: 0.12rem;
  width: 0.02667rem;
  background: #eee;
}

.stat-label,
.stat-sub {
  font-size: 0.32rem;
  color: #999;
}

.stat-value {
  margin-top: 0.13333rem;
  font-size: 0.42667rem;
  font-weight: 700;
  color: #999;
  line-height: 1.1;
}

.stat-sub {
  margin-top: 0.13333rem;
}

.stat-stars {
  display: flex;
  gap: 0.04rem;
  margin-top: 0.16rem;
  color: #b8b8bc;
}

.stat-stars svg {
  width: 0.28rem;
  height: 0.28rem;
}

.section {
  padding: 0.4rem 0 0;
}

.section + .section {
  margin-top: 0.13333rem;
}

.reviews {
  margin-top: 0.53333rem;
  padding-top: 0;
}

.label {
  margin: 0 0 0.26667rem;
  font-size: 0.53333rem;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.dl-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dl-card {
  display: flex;
  align-items: center;
  min-height: 1.52rem;
  padding: 0.28rem 0.28rem 0.28rem 0.24rem;
  background: #f7f7f8;
  border-radius: 0.21333rem;
}

.dl-badge {
  width: 0.96rem;
  height: 0.96rem;
  margin-right: 0.24rem;
  border-radius: 0.21333rem;
  color: #fff;
  font-size: 0.24rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.dl-badge.android {
  background: #34c759;
}

.dl-badge.ios {
  background: #111;
}

.dl-badge.pc {
  background: #1989fa;
}

.dl-meta {
  flex: 1;
  min-width: 0;
}

.dl-name {
  font-size: 0.37333rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.dl-desc {
  margin-top: 0.06rem;
  font-size: 0.29333rem;
  color: #8e8e93;
  line-height: 1.35;
}

.dl-action,
.dl-mini,
.sheet-btn {
  flex: none;
  height: 0.64rem;
  padding: 0 0.28rem;
  border-radius: 0.32rem;
  background: #1989fa;
  color: #fff;
  font-size: 0.29333rem;
  font-weight: 600;
}

.dl-action.is-off,
.dl-mini.is-off {
  background: #d8d8dc;
  color: #8e8e93;
  pointer-events: none;
}

.dl-card-pc .dl-split {
  margin-left: auto;
}

.dl-action:active:not(.is-off),
.dl-mini:active:not(.is-off) {
  opacity: 0.85;
}

.dl-split {
  display: flex;
  gap: 0.12rem;
  flex: none;
}

.dl-mini {
  padding: 0 0.2rem;
  font-size: 0.26667rem;
}

.intro-text,
.version-text {
  margin: 0;
  font-size: 0.37333rem;
  color: #333;
  line-height: 1.5;
}

.score-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.score-left {
  padding-top: 0.04rem;
}

.score-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: #4a4a4e;
  line-height: 1.14;
}

.score-cap {
  margin-top: 0.04rem;
  font-size: 0.32rem;
  color: #999;
}

.score-right {
  flex: 1;
  margin-left: 0.4rem;
  padding-top: 0.08rem;
}

.bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.08rem;
}

.bar-stars {
  display: flex;
  justify-content: flex-end;
  width: 1.7rem;
  color: #c8c8cc;
  gap: 0.02rem;
}

.bar-stars svg {
  width: 0.2rem;
  height: 0.2rem;
}

.bar-track {
  flex: 1;
  height: 0.08rem;
  margin-left: 0.26667rem;
  background: #e9e9ec;
  border-radius: 0.04rem;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #4a4a4e;
  border-radius: 0.04rem;
}

.score-count {
  margin: 0.12rem 0 0;
  text-align: right;
  font-size: 0.32rem;
  color: #999;
}

.review-card {
  margin-top: 0.32rem;
  padding: 0.4rem;
  background: #f9f9f9;
  border-radius: 0.13333rem;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-title {
  font-size: 0.37333rem;
  font-weight: 700;
  color: #333;
}

.review-date {
  font-size: 0.32rem;
  color: #333;
}

.review-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.26667rem;
}

.review-user-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.avatar {
  width: 0.64rem;
  height: 0.64rem;
  margin-right: 0.16rem;
  border-radius: 50%;
  background: #d8d8dc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.avatar svg {
  width: 0.4rem;
  height: 0.4rem;
}

.review-author {
  font-size: 0.32rem;
  color: #999;
}

.review-stars {
  display: flex;
  color: #ffb400;
  gap: 0.04rem;
}

.review-stars svg {
  width: 0.24rem;
  height: 0.24rem;
}

.review-body {
  margin: 0.26667rem 0 0;
  font-size: 0.37333rem;
  color: #333;
  line-height: 1.5;
}

.info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 1.17333rem;
  padding: 0.32rem 0;
  border-bottom: 0.02667rem solid #eee;
  font-size: 0.32rem;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-k {
  color: #999;
  flex: none;
  padding-right: 0.32rem;
}

.info-v {
  color: #333;
  text-align: right;
  max-width: 6.2rem;
  line-height: 1.45;
}

.disclaimer {
  margin-top: 0.2rem;
  padding: 0.26667rem 0.53333rem 0.53333rem;
  background: #f9f9f9;
  color: #999;
  font-size: 0.34667rem;
  line-height: 1.6;
}

.disclaimer b {
  font-weight: 400;
}

.qr-section {
  display: none;
  text-align: center;
  padding-bottom: 0.4rem;
}

.qr-section.show {
  display: block;
}

.page-qr {
  width: 3.6rem;
  height: 3.6rem;
  margin: 0.12rem auto 0;
}

.page-qr img,
.page-qr canvas,
.page-qr table {
  width: 3.6rem !important;
  height: 3.6rem !important;
  margin: 0 auto;
}

.qr-tip {
  margin: 0.2rem 0 0;
  font-size: 0.32rem;
  color: #8e8e93;
}

.sheet-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(0, 0, 0, 0.42);
  align-items: flex-end;
  justify-content: center;
}

.sheet-mask.show {
  display: flex;
}

.sheet {
  width: 10rem;
  max-width: 540px;
  padding: 0.4rem 0.4rem calc(0.48rem + env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 0.32rem 0.32rem 0 0;
}

.sheet h3 {
  margin: 0 0 0.28rem;
  font-size: 0.42667rem;
  color: #333;
  text-align: center;
}

.sheet-btn {
  display: block;
  width: 100%;
  height: 0.96rem;
  margin-bottom: 0.16rem;
  border-radius: 0.2rem;
  font-size: 0.37333rem;
}

.ios-steps {
  margin: 0 0 0.24rem;
  padding: 0 0.16rem 0 0.56rem;
  color: #333;
  font-size: 0.34667rem;
  line-height: 1.7;
}

.ios-steps li {
  margin-bottom: 0.08rem;
}

.ios-guide-note {
  margin: 0 0 0.28rem;
  font-size: 0.29333rem;
  color: #8e8e93;
  text-align: center;
}

.sheet-cancel {
  display: block;
  width: 100%;
  height: 0.96rem;
  margin-top: 0.08rem;
  border-radius: 0.2rem;
  background: #f2f2f7;
  color: #333;
  font-size: 0.37333rem;
}

.wx-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  text-align: center;
}

.wx-mask.show {
  display: block;
}

.wx-inner {
  padding: 0.5rem 0.5rem 0;
  text-align: right;
}

.wx-arrow {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: auto;
}

.wx-text {
  margin: 0.2rem 0 0;
  font-size: 0.4rem;
  line-height: 1.6;
  text-align: right;
}

.toast {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 3000;
  min-width: 2.56rem;
  max-width: 70%;
  padding: 0.32rem 0.4rem;
  color: #fff;
  font-size: 0.37333rem;
  line-height: 1.4;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 0.21333rem;
  transform: translate(-50%, -50%);
}

.toast.show {
  display: block;
}
