@charset "utf-8";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 23.4375px;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #fff;
  color: #333;
  min-height: 100vh;
  padding-bottom: 2.65rem;
}

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

img {
  display: block;
  width: 100%;
  border: 0;
}

/* 顶栏 */
.header {
  position: relative;
  height: 2.35rem;
  line-height: 2.35rem;
  background: #f23030 url("bg-201610211723.png") center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.header-title {
  font-size: 0.85rem;
  font-weight: normal;
}

.menu-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem 0.65rem;
}

.menu-btn span {
  display: block;
  height: 0.09rem;
  margin: 0.17rem 0;
  background: #fff;
  border-radius: 1px;
}

/* 侧栏菜单 */
.nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 98;
}

.nav-mask.open { display: block; }

.nav-panel {
  position: fixed;
  top: 0;
  right: -72%;
  width: 72%;
  max-width: 300px;
  height: 100%;
  background: #fff;
  z-index: 99;
  transition: right 0.3s ease;
  overflow: hidden;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.12);
}

.nav-panel.open { right: 0; }

.nav-panel-header {
  position: relative;
  height: 2.35rem;
  line-height: 2.35rem;
  background: #f23030 url("bg-201610211723.png") center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.nav-panel-title {
  font-size: 0.85rem;
}

.nav-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem 0.65rem;
}

.nav-close-btn span {
  display: block;
  height: 0.09rem;
  margin: 0.17rem 0;
  background: #fff;
  border-radius: 1px;
}

.nav-list {
  background: #fff;
}

.nav-item {
  display: flex;
  align-items: center;
  min-height: 1.92rem;
  padding: 0.47rem 0.6rem;
  border-bottom: 1px solid #ededed;
  color: #666;
}

.nav-item.active {
  color: #f23030;
}

.nav-icon {
  flex: 0 0 0.85rem;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.43rem;
}

.nav-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-text {
  flex: 1;
  font-size: 0.64rem;
  line-height: 1.2;
}

.nav-arrow {
  flex: 0 0 0.43rem;
  width: 0.43rem;
  height: 0.64rem;
  color: #ccc;
}

.nav-item.active .nav-arrow {
  color: #f23030;
}

.nav-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* 页面内容 */
.page {
  max-width: 768px;
  margin: 0 auto;
  background: #fff;
}

.module {
  background: #fff;
}

/* 栏目标题 */
.module-title {
  padding: 0.51rem 0.64rem 0.34rem;
}

.module-title-text {
  display: inline-block;
  position: relative;
  font-size: 0.68rem;
  color: #f23030;
  line-height: 1.2;
  padding-bottom: 0.21rem;
}

.module-title-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.37rem;
  height: 0.09rem;
  background: #f23030;
}

/* 横幅图 */
.module-banner img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* 说明文字 */
.module-text {
  padding: 0.64rem 0.64rem 0.77rem;
}

.module-text p {
  font-size: 0.6rem;
  line-height: 1.8;
  color: #333;
  text-align: left;
  word-break: break-all;
}

/* 版权信息 */
.module-footer {
  padding: 0.64rem 0.64rem 0.85rem;
  background: #f5f5f5;
  text-align: center;
}

.module-footer p {
  font-size: 0.51rem;
  line-height: 1.85;
  color: #999;
}

/* 底部下载栏 */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  height: 2.65rem;
  background: #f23030 url("bg-201610211723.png") center / cover no-repeat;
}

.bottom-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding-top: 0.13rem;
}

.bottom-bar-item img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  margin-bottom: 0.11rem;
}

.bottom-bar-item span {
  font-size: 0.49rem;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 768px) {
  body {
    background: #282828;
  }

  .page {
    max-width: 512px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  }

  .bottom-bar {
    max-width: 512px;
    left: 50%;
    transform: translateX(-50%);
  }
}
