/* Novel read — PC + H5 single DOM */

.novel-read-static {
  --nr-nav-bg: #3d3d3d;
  --nr-nav-bg-h5: #1c1c1c;
  --nr-muted: rgba(255, 255, 255, 0.55);
}

.novel-read-static .novel-crumb__current {
  color: var(--nr-muted);
}

.novel-read-view {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.novel-read-inner {
  display: flex;
  width: 100%;
  max-width: 1280px;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.novel-read-crumb {
  color: #fff;
  font-weight: 400;
}

/* Body text */
.novel-read-body {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  color: #fff;
  font-size: 16px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  line-height: 50px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}

.novel-read-body p {
  margin: 0 0 1em;
}

.novel-read-body p:last-child {
  margin-bottom: 0;
}

/* Chapter nav */
.novel-read-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 90px;
  border-radius: 6px;
  background: var(--nr-nav-bg);
  box-sizing: border-box;
}

.novel-read-nav__item {
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
}

.novel-read-nav__item:hover {
  opacity: 0.85;
}

/* ========== PC ========== */
@media (min-width: 769px) {
  .novel-read-view {
    padding: 24px 320px 60px;
    box-sizing: border-box;
  }

  .novel-read-crumb {
    font-size: 18px;
    line-height: 24px;
  }

  .novel-read-nav {
    min-height: 60px;
  }

}

@media (min-width: 769px) and (max-width: 1600px) {
  .novel-read-view {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* ========== H5 ========== */
@media (max-width: 768px) {
  .novel-read-view {
    padding: 12px 16px 24px;
  }

  .novel-read-crumb {
    font-size: 12px;
    line-height: 18px;
  }

  .novel-read-nav {
    padding: 18px 12px;
    background: var(--nr-nav-bg-h5);
  }

  .novel-read-nav__item {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
  }

  .novel-read-body {
    font-size: 14px;
    line-height: 40px;
  }

}
