* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body, p, h1, ul, li, span, a, strong, b {
  margin: 0;
  padding: 0;
}

html {
  font-size: 50px;
}

::-webkit-scrollbar { width: 0; height: 0; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 0.24rem;
  line-height: 1;
  color: #111;
  background: #fff;
  user-select: none;
}

li { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; display: block; }

.center {
  width: 100%;
  max-width: 7.5rem;
  margin: 0 auto;
}

.mobile-wrap {
  position: relative;
  min-height: 100vh;
  background: #fff;
}

main {
  width: 100%;
  padding: 0.3rem 5%;
}

.app-item {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 0.4rem;
}

.app-item .left {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.4rem;
  overflow: hidden;
  background: #efe4ff;
}

.app-item .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-item .right {
  width: calc(100% - 2.6rem);
}

.app-item .right strong {
  display: block;
  color: #111;
  font-size: 0.4rem;
  line-height: 1.4;
}

#appName {
  display: inline;
}

#appBadge {
  color: #8e8e93;
  font-size: 0.24rem;
  border: 1px solid #8e8e93;
  border-radius: 0.08rem;
  padding: 0.02rem 0.1rem;
  margin-left: 0.1rem;
  vertical-align: middle;
}

.app-item .right > p {
  font-size: 0.28rem;
  line-height: 1.4;
  color: #8e8e93;
}

.install-box {
  padding-top: 0.4rem;
}

.down {
  display: inline-block;
  min-width: 2.1rem;
  height: 0.62rem;
  line-height: 0.62rem;
  padding: 0 0.15rem;
  background: #017afe;
  border-radius: 0.3rem;
  color: #fff;
  font-size: 0.28rem;
  text-align: center;
  border: 0;
  cursor: pointer;
}

.down:active { opacity: 0.85; }

.app-tip {
  width: 100%;
  padding-top: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.app-tip .score .star,
.app-tip .age b {
  color: #8e8e93;
  font-weight: 700;
  font-size: 0.34rem;
  line-height: 1.2;
}

.app-tip .stars {
  color: #8e8e93;
  font-size: 0.22rem;
  letter-spacing: -0.02rem;
}

.app-tip .score p,
.app-tip .age p {
  color: #d8d8d8;
  font-size: 0.24rem;
  line-height: 1.6;
}

.app-tip .mid {
  text-align: center;
}

.app-tip .age {
  text-align: right;
}

.app-tip .age b {
  display: block;
}

.public-title {
  display: block;
  width: 100%;
  font-size: 0.3rem;
  line-height: 1.2;
  letter-spacing: 0.02rem;
  color: #111;
}

.comment {
  width: 100%;
  padding: 0.34rem 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.comment .public-title {
  margin-bottom: 0.2rem;
}

.comment .left {
  text-align: center;
  padding-left: 0.2rem;
}

.comment .left b {
  display: block;
  font-size: 1.2rem;
  color: #4c4c50;
  line-height: 1.1;
}

.comment .left p {
  font-size: 0.28rem;
  color: #8e8e93;
  font-weight: 700;
}

.comment .right {
  flex: 0.9 1 auto;
  min-width: 4rem;
}

.comment .right > p {
  font-size: 0.28rem;
  color: #8e8e93;
  line-height: 1.4;
  text-align: right;
}

.star-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.06rem;
}

.star-row span {
  width: 1.2rem;
  color: #c7c7cc;
  font-size: 0.16rem;
  text-align: right;
  letter-spacing: -0.02rem;
}

.star-row .line {
  width: calc(100% - 1.6rem);
  height: 0.05rem;
  border-radius: 0.3rem;
  background: #e5e5e5;
  overflow: hidden;
}

.star-row .line i {
  display: block;
  height: 100%;
  background: #8e8e93;
  border-radius: 0 0.3rem 0.3rem 0;
}

.reviews {
  width: 100%;
  padding: 0.34rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.reviews .public-title {
  margin-top: 0.12rem;
  margin-bottom: 0.08rem;
}

.reviews .public-title:first-child {
  margin-top: 0;
}

.reviews p {
  font-size: 0.25rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 0.15rem;
}

.app-info {
  width: 100%;
  padding: 0.34rem 0 0.6rem;
}

.app-info ul li {
  display: flex;
  justify-content: space-between;
  padding: 0.15rem 0;
  border-bottom: 1px solid #e5e5e5;
  line-height: 1.4;
}

.app-info ul li:last-child {
  border-bottom: none;
}

.app-info ul li span {
  flex: 0 0 auto;
  font-size: 0.24rem;
  color: #8e8e93;
  white-space: nowrap;
  margin-right: 0.24rem;
}

.app-info ul li p {
  width: 80%;
  color: #333;
  font-size: 0.24rem;
  text-align: right;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(20px);
  max-width: 80%;
  padding: 0.2rem 0.32rem;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.26rem;
  border-radius: 0.12rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wechat-tip {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
}

.wechat-tip.show { display: block; }

.wechat-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.wechat-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  max-width: 320px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 0.24rem;
  padding: 0.4rem 0.32rem 0.32rem;
  text-align: center;
}

.wechat-box p {
  font-size: 0.3rem;
  line-height: 1.6;
  color: #333;
}

.wechat-box button {
  margin-top: 0.28rem;
  width: 100%;
  height: 0.72rem;
  border: 0;
  border-radius: 0.36rem;
  background: #017afe;
  color: #fff;
  font-size: 0.28rem;
}

@media (min-width: 750px) {
  html { font-size: 100px; }
}
