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

html {
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #333;
  background: #fff;
  font-family: PingFangSC-Regular, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

.page {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
}

.top,
.middle,
.detail {
  width: 100%;
}

.middle {
  height: auto;
  background: #e61e3d;
}

.download-banner {
  display: block;
  width: 100%;
}

.app-version {
  margin: 10px 0 25px;
  padding: 0 14px;
  color: #666;
  font-family: PingFangSC, "PingFang SC", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  text-align: center;
}

.app-version .flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.app-version .rule {
  color: #0098db;
}

.app-version .rule a {
  padding: 2px 0;
}

.version-row {
  gap: 12px;
}

#toast {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#toast[hidden] {
  display: none;
}

#toast .txt {
  max-width: 80vw;
  padding: 10px;
  border-radius: 5px;
  color: #fff;
  background-color: rgba(0, 0, 0, .7);
  text-align: center;
}

@media (min-width: 751px) {
  body {
    background: #f5f5f5;
  }

  .page {
    min-height: 100vh;
    box-shadow: 0 0 24px rgba(0, 0, 0, .08);
  }
}

@media (max-width: 360px) {
  .app-version {
    font-size: 11px;
  }
}
