/* 重置默认 margin、padding */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 设置默认字体和行高 */
html,
body {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  /* 允许水平和垂直平移，但禁止缩放 */
  touch-action: pan-x pan-y;
}

/* 去掉列表默认样式 */
ul,
ol {
  list-style: none;
}

/* 去掉链接下划线并继承字体颜色 */
a {
  text-decoration: none;
  color: inherit;
}

/* p标签默认样式 */
p {
  line-height: 1.5;
  font-size: var(--font-small);
}

/* 去掉表单元素默认样式 */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  resize: none;
}

/* 完全透明背景 */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  background-color: transparent !important;
  -webkit-text-fill-color: inherit !important;
}

/* 图片、视频 */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  max-width: 100%;
  height: auto;
  display: block;
}

canvas {
  display: block;
  /* 用JS设置实际尺寸 */
}

/* 表格边框折叠 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 强制行内元素垂直对齐 */
hr {
  height: 1px;
  margin: var(--gap-small) 0;
  border: none;
  background-color: var(--color-grey2);

}

@media (min-width: 1100px) {
  p {
    font-size: var(--font-base);
  }

  hr {
    margin: var(--gap-base) 0;
  }
}

/* 轻提示 */
.toast {
  width: 100%;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  position: fixed;
  top: -60px;
  right: 0;
  left: 0;
  z-index: 100;
}

.toast .toast-box {
  padding: 10px 15px;
  font-size: 13px;
  color: var(--color-white);
  background: var(--color-black2);
  border-radius: 3px;
  display: inline;
}

/* 单行文本超出省略号 */
.single-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

:root {
  /* 颜色 */
  --color-theme: #3276ff;
  --color-theme-hover: #1a56db;
  --color-theme1: #d9e4fe;
  --color-inverse: #ff976a;
  --color-background: #f5f6fa;
  --color-white: #fff;
  --color-black: #000;
  --color-black1: #333;
  --color-black2: #666;
  --color-danger: #ff3232;
  --color-hot: #F57070;
  --color-blood: #ff7824;
  --color-blood-hover: #ff8c3d;
  --color-purple: #962FF0;
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-gold: #f2bc1a;
  --color-info: #17a2b8;
  --color-grey: #888;
  --color-grey1: #eee;
  --color-grey2: #ebedf5;
  --color-transparent: transparent;

  /* 字号 */
  --font-tiny: 0.7rem;
  --font-small: 0.8125rem;
  --font-base: 1rem;
  --font-h1: 2rem;
  --font-h2: 1.75rem;
  --font-h3: 1.5rem;
  --font-h4: 1.25rem;
  --font-h5: 1rem;
  --font-h6: 0.875rem;

  /* 间隔 */
  --gap-tiny: 5px;
  --gap-mini: 7.5px;
  --gap-small: 10px;
  --gap-middle: 15px;
  --gap-base: 20px;
  --gap-large: 40px;

  /* 宽度 */
  --media-max-width: 1330px;
  --media-min-width: 1100px;
  --media-content-width: 800px;
}

/* 字体 */
@font-face {
  font-family: 'Untitled';
  src: url('./fonts/Untitled.woff2') format('woff2'),
    url('./fonts/Untitled.ttf') format('truetype'),
    url('./fonts/Untitled.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.icon {
  /* Use !important to prevent extensions from overriding this font. */
  font-family: "Untitled" !important;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 顶部标题盒子 */
.title-top-box {
  margin-bottom: var(--gap-small);
  padding: 30px 0;
  font-size: 18px;
  background-color: var(--color-white);
  text-align: center;
}

.title-top-box span {
  color: var(--color-theme);
}

/* 文字标题 */
.title-top-text {
  padding: 30px 0;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
}

.title-top-subtext {
  margin-bottom: var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-grey);
}

/* 文字布局盒子 */
.title-base,
.title-flex {
  padding: var(--gap-tiny) 0;
  font-size: var(--font-small);
  font-weight: 450;
}

@media (min-width: 1100px) {

  .title-base,
  .title-flex {
    padding: var(--gap-small) 0;
    font-size: var(--font-base);
  }
}

.title-base.padding {
  padding: var(--gap-small);
}

.title-base .text-color {
  color: var(--color-theme);
}

.title-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.title-flex.justify-center {
  justify-content: center;
}

.title-flex.between {
  justify-content: space-between;
}

.title-flex>.item {
  display: flex;
  align-items: center;
}

.title-flex>.item.text-cursor {
  color: var(--color-theme);
  cursor: pointer;
}

/* 按钮 */
.btn {
  padding: var(--gap-mini) var(--gap-small);
  font-size: var(--font-small);
  white-space: nowrap;
  border-radius: var(--gap-tiny);
  display: flex;
  align-items: center;
  user-select: none;
}

.btn.disabled,
.btn[disabled] {
  cursor: not-allowed !important;
  opacity: 0.9;
}

.btn.theme {
  background-color: var(--color-theme);
  color: var(--color-white);
}

.btn.light {
  color: var(--color-theme);
  background-color: var(--color-theme1);
}

.btn.border {
  border: 1px solid var(--color-theme);
}

.btn.blood {
  background-color: var(--color-blood);
  color: var(--color-white);
}

.btn.active {
  background-color: var(--color-grey1);
  color: var(--color-grey);
}

.btn.text {
  background-color: var(--color-theme1);
  color: var(--color-theme);
}

.btn.text:hover {
  color: var(--color-theme-hover);
}

.btn>.icon {
  height: var(--gap-middle);
  margin-right: var(--gap-tiny);
}

.btn-group {
  display: flex;
  gap: var(--gap-small);
  align-items: center;
  justify-content: flex-start;
}

.btn-group.center {
  justify-content: center;
}

.btn-group>.btn {
  flex: 0 0 auto;
  margin: 0;
}

.btn-list {
  padding-bottom: var(--gap-tiny);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-tiny);
}

.btn-list .btn {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

@media (min-width: 1100px) {
  .btn {
    cursor: pointer;
    padding: var(--gap-small) var(--gap-middle);
  }

  .btn.disabled:hover,
  .btn[disabled]:hover {
    background-color: inherit !important;
    color: inherit !important;
  }

  .btn.theme:hover {
    background-color: var(--color-theme-hover);
  }

  .btn.light:hover {
    color: var(--color-white);
    background-color: var(--color-theme);
  }

  .btn.blood:hover {
    background-color: var(--color-blood-hover);
  }

  .btn.active:hover {
    background-color: var(--color-grey1);
  }

  .btn-list {
    padding-bottom: var(--gap-small);
  }
}

/* 下拉框-月份选择 */
.select-month {
  width: 130px;
  height: 35px;
  padding: 0 var(--gap-small);
  margin-bottom: var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-theme);
  background-color: var(--color-theme1);
  border: 1px solid var(--color-theme);
  border-radius: var(--gap-tiny);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  cursor: pointer;
}

.select-month>.icon {
  width: 15px;
  height: 15px;
  color: var(--color-grey);
}

.select-month>.select-option-box {
  width: 130px;
  background-color: var(--color-theme1);
  position: absolute;
  top: 35px;
  left: 0;
  z-index: 1;
  display: none;
}

.select-month>.select-option-box>.item {
  display: block;
  padding: var(--gap-small);
}

.select-month>.select-option-box>.item:hover {
  color: var(--color-white);
  background-color: var(--color-theme);
}

@media (min-width: 1100px) {
  .select-month {
    font-size: var(--font-base);
  }
}

/* 面包屑 */
.bread-crumb {
  line-height: 40px;
  font-size: var(--font-base);
  display: none;
}

.bread-crumb>a {
  color: var(--color-theme);
}

@media (min-width: 1100px) {
  .bread-crumb {
    display: block;
  }
}

/* 播放器 */
.player-box {
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: var(--gap-tiny);
  background-color: var(--color-black);
}

@media (min-width: 1100px) {
  .player-box {
    margin-bottom: var(--gap-small);
  }
}

/* 列表项-文章 */
.item-article {
  padding-bottom: var(--gap-tiny);
  transition: transform 0.3s ease;
  border-bottom: 1px solid var(--color-grey1);
  overflow: hidden;
}

@media (min-width: 1100px) {
  .item-article {
    padding-bottom: var(--gap-small);
  }

  .item-article:hover {
    transform: scale(0.97);
  }
}

.item-article:last-child {
  border-bottom: 0;
}

.item-article>.title {
  padding-bottom: var(--gap-tiny);
  font-size: var(--font-small);
  font-weight: 900;
  margin: 0;
  color: var(--color-black1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

@media (min-width: 1100px) {
  .item-article>.title {
    font-size: var(--font-base);
  }
}

.item-article>.desc {
  font-size: var(--font-small);
  margin: 0;
  color: var(--color-black1);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  width: auto;

}

.item-article-img {
  width: 100%;
  aspect-ratio: 3.3333333333333;
  margin-bottom: var(--gap-tiny);
  border-radius: var(--gap-tiny);
  display: flex;
  gap: var(--gap-tiny);
  position: relative;
  z-index: 1;
  cursor: pointer;
  overflow: hidden;
}

.item-article-img .mark-box {
  font-size: var(--font-small);
  font-weight: 900;
  color: var(--color-white);
  display: flex;
  gap: var(--gap-small);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.item-article-img .mark-item {
  padding: var(--gap-tiny) var(--gap-small);
  border-top-left-radius: var(--gap-tiny);
  border-bottom-right-radius: var(--gap-tiny);
}

.item-article-img .mark-item.hot {
  background-color: var(--color-hot);
}

@media (min-width: 1100px) {
  .item-article-img {
    gap: var(--gap-small);
    border-radius: var(--gap-small);
  }

  .item-article-img .mark-box {
    font-size: var(--font-base);
  }

  .item-article-img .mark-item {
    padding: var(--gap-small) var(--gap-base);
    border-top-left-radius: var(--gap-small);
    border-bottom-right-radius: var(--gap-small);
  }
}

.item-article-img .img-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.item-article-img .img-box>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-article-info {
  margin-top: var(--gap-tiny);
  font-size: var(--font-small);
  display: flex;
  justify-content: space-between;
}

@media (min-width: 1100px) {
  .item-article-info {
    font-size: var(--font-small);
  }
}

.item-article-info .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
}

.item-article-info .icon {
  font-size: var(--font-small);
  color: var(--color-theme);
}

.item-article-info>div,
.item-article-info>a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}

.item-article-info>div span,
.item-article-info>a span {
  padding-left: var(--gap-tiny);
  font-weight: normal;
  color: var(--color-theme);
}

/* 列表项-往期贴文 */
.item-article-history {
  margin-bottom: var(--gap-tiny);
  font-size: var(--font-small);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.item-article-history:hover>.left {
  color: var(--color-theme);
}

.item-article-history:hover>.right {
  color: var(--color-white);
  background-color: var(--color-theme);
}

.item-article-history>.left {
  width: 130px;
  height: 40px;
  line-height: 40px;
  padding-left: 13px;
  font-size: var(--font-small);
  color: var(--color-black);
}

.item-article-history>.right {
  flex: 1;
  padding: var(--gap-small) 15px;
  font-size: var(--font-small);
  color: var(--color-theme);
  background-color: var(--color-white);
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

@media (min-width: 1100px) {
  .item-article-history {
    margin-bottom: var(--gap-small);
    font-size: var(--font-base);
  }

  .item-article-history>.left {
    font-size: var(--font-base);
  }

  .item-article-history>.right {
    font-size: var(--font-base);
  }
}

/* 列表项-作者列表项 */
.item-author-base {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--color-white);
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.item-author-base>.rank-badge {
  width: auto;
  height: 20px;
  position: absolute;
  top: var(--gap-tiny);
  left: var(--gap-tiny);
  font-size: var(--font-small);
  font-weight: bold;
  color: var(--color-black1);
}

.item-author-base>.rank-badge>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-author-base>.avatar {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-grey2);
  border-radius: 100%;
  overflow: hidden;
}

.item-author-base>.name {
  width: 100%;
  margin-top: 8px;
  padding: 0 var(--gap-tiny);
  text-align: center;
  font-size: var(--font-small);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-author-base>.fans {
  font-size: 12px;
  color: #969799;
  margin-top: 4px;
}

@media (min-width: 1100px) {
  .item-author-base>.rank-badge {
    font-size: var(--font-base);
  }

  .item-author-base>.avatar {
    width: 64px;
    height: 64px;
  }

  .item-author-base>.name {
    padding: 0 var(--gap-small);
  }
}

/* 作者详情列表项 */
.item-author {
  padding: var(--gap-small);
  background-color: var(--color-white);
  border-radius: var(--gap-tiny);
  display: flex;
  flex-direction: column;
}

.item-author:last-child {
  margin-bottom: 0;
}

.item-author>.header {
  padding-bottom: var(--gap-tiny);
  border-bottom: 1px solid var(--color-grey2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-author>.header>.header-img {
  width: 64px;
  height: 64px;
  margin-right: var(--gap-small);
  border: 1px solid var(--color-grey2);
  border-radius: 100%;
  overflow: hidden;
}

.item-author>.header>.info {
  flex: 1;
}

.item-author>.header>.info .title {
  margin: 0;
  font-size: var(--font-small);
  font-weight: 500;
}

.item-author>.header>.info .text {
  margin: var(--gap-tiny) 0 0 0;
  font-size: var(--font-tiny);
  color: var(--color-theme);
}

.item-author>.header>.info .text span {
  color: var(--color-grey);
}

.item-author>.descript {
  margin: 5px 0 0 0;
  font-size: var(--font-tiny);
  font-style: normal;
  font-weight: normal;
}

.item-author>.descript span {
  color: var(--color-grey);
}

@media (min-width: 1100px) {
  .item-author {
    padding: 20px;
  }

  .item-author>.header {
    padding-bottom: var(--gap-small);
  }

  .item-author>.header>.header-img {
    margin-right: 20px;
  }

  .item-author>.header>.info .text {
    margin: var(--gap-small) 0 0 0;
    font-size: var(--font-small);
  }

  .item-author>.descript {
    margin: var(--gap-small) 0 0 0;
    font-size: var(--font-small);
  }
}

/* 标签列表项 */
.item-tag {
  margin-bottom: var(--gap-small);
}

.item-tag:last-child {
  margin-bottom: 0;
}

.item-tag>.title {
  padding-bottom: var(--gap-small);
  font-size: var(--font-h3);
}

.item-tag>.detail {
  display: flex;
  gap: var(--gap-small);
  flex-wrap: wrap;
}

/* 列表项-海角热搜 */
.item-article-hot {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.item-article-hot>.index-box {
  height: 18px;
  margin-right: var(--gap-small);
  overflow: hidden;
  font-size: var(--font-small);
  font-weight: 450;
  color: var(--color-black1);
}

.item-article-hot>.index-box>img {
  width: auto;
  height: 100%;
}

.item-article-hot>.title {
  flex: 1;
  font-size: var(--font-small);
  color: var(--color-black1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

.item-article-hot>.icon {
  width: var(--gap-base);
  color: var(--color-blood);
}

.item-article-hot>.text {
  color: var(--color-theme);
}

@media (min-width: 1100px) {
  .item-article-hot:hover>.title {
    color: var(--color-theme);
  }

  .item-article-hot>.title {
    font-size: var(--font-base);
  }
}

/* 视频列表项 */
.item-video {
  overflow: hidden;
}

.item-video>.top {
  width: 100%;
  aspect-ratio: 1.77777778;
  border-radius: var(--gap-small);
  overflow: hidden;
  position: relative;
}

.item-video>.top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-video .mark {
  display: flex;
  align-items: center;
  gap: var(--gap-tiny);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.item-video .mark>p {
  padding: var(--gap-tiny) var(--gap-small);
  font-size: var(--font-tiny);
  color: var(--color-white);
  background-color: var(--color-theme);
  border-bottom-right-radius: var(--gap-small);
}

.item-video .mark .coin {
  background-color: var(--color-blood);
}

.item-video .mark .vip {
  background-color: var(--color-purple);
}

.item-video .info-box {
  width: 100%;
  padding: 0 var(--gap-tiny) var(--gap-tiny) var(--gap-tiny);
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
}

.item-video .info-box .text {
  font-size: var(--font-small);
  color: var(--color-white);
}

.item-video>.bottom {
  padding-top: var(--gap-tiny);
  font-size: var(--font-small);
  font-weight: bolder;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

@media (min-width: 1100px) {
  .item-video .mark>p {
    padding: var(--gap-tiny) var(--gap-small);
    font-size: var(--font-small);
    border-bottom-right-radius: var(--gap-small);
  }
}

/* 小说列表项 */
.item-novel {
  padding: var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-black1);
  background-color: var(--color-grey2);
  border-radius: var(--gap-small);
  overflow: hidden;
  cursor: pointer;
}

.item-novel .name {
  font-size: var(--font-base);
  font-weight: 900;
}

.item-novel .mark {
  display: flex;
  align-items: center;
  gap: var(--gap-tiny);
}

.item-novel .mark>p {
  padding: var(--gap-tiny) var(--gap-small);
  font-size: var(--font-tiny);
  color: var(--color-white);
  background-color: var(--color-theme);
  border-bottom-right-radius: var(--gap-small);
  border-top-left-radius: var(--gap-small);
}

.item-novel .mark .coin {
  background-color: var(--color-blood);
}

.item-novel .mark .vip {
  background-color: var(--color-purple);
}

.item-novel>.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-novel>.info {
  padding: var(--gap-small) 0;
  display: flex;
}

.item-novel>.info>p {
  padding: 0 var(--gap-tiny);
  white-space: nowrap;
  border-right: 1px solid var(--color-grey1);
}

.item-novel>.info>p:first-child {
  padding-left: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

.item-novel>.info>p:last-child {
  border-right: none;
}

.item-novel>.text-box {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

.item-novel>.bottom {
  margin-top: var(--gap-small);
  display: flex;
  gap: var(--gap-tiny);
  flex-wrap: wrap;
}

.item-novel>.bottom>button {
  padding: var(--gap-tiny) var(--gap-small);
  font-size: var(--font-tiny);
  white-space: nowrap;
  color: var(--color-theme);
  background-color: var(--color-theme1);
  border-radius: var(--gap-tiny);
}

@media (min-width: 1100px) {
  .item-novel .mark>p {
    font-size: var(--font-small);
  }
}

/* 动漫 */
.item-cartoon {
  overflow: hidden;
}

.item-cartoon>.top {
  width: 100%;
  aspect-ratio: 0.7;
  border-radius: var(--gap-small);
  overflow: hidden;
  position: relative;
}

.item-cartoon>.top>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-cartoon>.top .mark {
  display: flex;
  align-items: center;
  gap: var(--gap-tiny);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.item-cartoon>.top .mark>p {
  padding: var(--gap-tiny) var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-white);
  background-color: var(--color-theme);
  border-bottom-right-radius: var(--gap-small);
}

.item-cartoon>.top .mark>p.coin {
  background-color: var(--color-blood);
}

.item-cartoon>.top .mark>p.vip {
  background-color: var(--color-purple);
}

.item-cartoon .info-box {
  width: 100%;
  padding: 0 var(--gap-tiny) var(--gap-tiny) var(--gap-tiny);
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
}

.item-cartoon .info-box .text {
  font-size: var(--font-small);
  color: var(--color-white);
}

.item-cartoon>.bottom {
  padding-top: var(--gap-tiny);
  font-size: var(--font-small);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

/* 卡通剧集列表项 */
.item-episode {
  overflow: hidden;
}

.item-episode>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-episode>.top {
  width: 100%;
  aspect-ratio: 0.7;
  border-radius: var(--gap-small);
  overflow: hidden;
  position: relative;
}

.item-episode>.top .mark {
  display: flex;
  align-items: center;
  gap: var(--gap-tiny);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.item-episode>.top .mark>p {
  padding: var(--gap-tiny) var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-white);
  background-color: var(--color-theme);
  border-bottom-right-radius: var(--gap-small);
}

.item-episode>.top .mark>p.coin {
  background-color: var(--color-blood);
}

.item-episode>.top .mark>p.vip {
  background-color: var(--color-purple);
}

.item-episode .info-box {
  width: 100%;
  padding: 0 var(--gap-tiny) var(--gap-tiny) var(--gap-tiny);
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
}

.item-episode .info-box .text {
  font-size: var(--font-small);
  color: var(--color-white);
}

.item-episode>.bottom {
  padding-top: var(--gap-tiny);
  font-size: var(--font-small);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

/* 小说-章节列表项 */
.item-chapter {
  width: 100%;
  padding: var(--gap-middle);
  font-size: var(--font-small);
  color: var(--color-black1);
  background-color: var(--color-grey1);
  border-radius: var(--gap-small);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-chapter .icon-coin {
  width: 15px;
  height: 15px;
  color: var(--color-gold);
}

.item-chapter .icon-vip {
  width: 15px;
  height: 15px;
  color: var(--color-blood);
}

.item-chapter .icon-free {
  white-space: nowrap;
  color: var(--color-theme);
}

@media (min-width: 1100px) {
  .item-chapter {
    cursor: pointer;
  }

  .item-chapter:hover {
    color: var(--color-theme);
    background-color: var(--color-theme1);
  }
}

/* 横向滚动消息 */
.horizontal-notice {
  --notice-height: 40px;
  --scroll-speed: 20s;
  width: 100%;
  height: var(--notice-height);
  padding: 0 16px;
  font-size: var(--font-small);
  color: var(--color-theme);
  background-color: var(--color-background);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 2;
  overflow: hidden;
}

.horizontal-notice>.icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  font-size: var(--font-h5);
}

.horizontal-notice .marquee-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.horizontal-notice .marquee-content {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  animation: marquee var(--scroll-speed) linear infinite;
  padding-left: 100%;
  cursor: pointer;
  will-change: transform;
}

.horizontal-notice .marquee-content::after {
  content: attr(data-text);
  padding-left: 40px;
}

/* .horizontal-notice:hover .marquee-content {
  animation-play-state: paused;
} */

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .horizontal-notice {
    --notice-height: 36px;
    --scroll-speed: 15s;
    padding: 0 12px;
  }
}

/* 手机端头部二级分类 */
.horizontal-nav {
  display: flex;
}

.horizontal-nav>.btn {
  width: 45px;
  height: 45px;
  padding: 12.5px;
  font-size: var(--font-h4);
  color: var(--color-grey);
}

.horizontal-nav a {
  height: 45px;
  line-height: 45px;
  padding: 0 var(--gap-small);
  font-size: var(--font-small);
  white-space: nowrap;
  display: block;
  position: relative;
}

.horizontal-nav a.active::after {
  content: '';
  width: 30px;
  height: 2px;
  background-color: var(--color-theme);
  border-radius: 2px;
  position: absolute;
  bottom: 7.5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

@media (min-width: 1100px) {
  .horizontal-nav {
    display: none;
  }
}

/* 广告-首页 */
.home-ad {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

.home-ad>.mack {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  z-index: 11;
}

.index-ad {
  max-width: 450px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 12;
}

.index-ad>.icon {
  font-size: var(--font-h1);
  color: var(--color-grey);
  margin-top: var(--gap-small);
  cursor: pointer;
  user-select: none;
}

.index-ad>.icon:hover {
  color: var(--color-grey2);
}

.index-ad>.img-box {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

/* 广告-轮播 */
.ad-carousel {
  width: 100%;
  aspect-ratio: 10 / 3;
  margin-bottom: var(--gap-tiny);
  border-radius: var(--gap-tiny);
  overflow: hidden;
}

.ad-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-banner {
  margin-bottom: var(--gap-tiny);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ad-banner a {
  display: block;
  width: 100%;
  margin-bottom: var(--gap-tiny);
  aspect-ratio: 8.5/1;
  border-radius: var(--gap-tiny);
  overflow: hidden;
}

.ad-banner a:last-child {
  margin-bottom: 0;
}

.ad-banner a img {
  display: block;
  width: 100%;
  height: 100%;
}

/* 广告-icon */
.ad-icon {
  margin-bottom: var(--gap-tiny);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap-tiny);
}

.ad-icon>a {
  width: 100%;
  overflow: hidden;
}

.ad-icon .img-box {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--gap-tiny);
  overflow: hidden;
}

.ad-icon .img-box img {
  display: block;
  width: 100%;
  height: 100%;
}

.ad-icon .text {
  margin: 2.5px 0 0 0;
  text-align: center;
  font-size: var(--font-tiny);
  color: var(--color-grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 广告-大图 */
.ad-img {
  width: 100%;
  margin-bottom: var(--gap-tiny);
  aspect-ratio: 2;
  border-radius: var(--gap-tiny);
  overflow: hidden;
  display: block;
}

.ad-img img {
  width: 100%;
  height: 100%;
  display: block;
}

@media (min-width: 1100px) {
  .ad-carousel {
    margin-bottom: var(--gap-small);
    border-radius: var(--gap-small);
  }

  .ad-banner {
    margin-bottom: var(--gap-small);
  }

  .ad-banner a {
    border-radius: var(--gap-small);
  }

  .ad-icon {
    margin-bottom: var(--gap-small);
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap-small);
  }

  .ad-img {
    margin-bottom: var(--gap-small);
    border-radius: var(--gap-small);
  }
}

/* 布局 */
.layout-main {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gap-small);
  display: flex;
  justify-content: center;
  position: relative;
  overflow-y: auto;
}

.layout-left {
  width: 250px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
}

.layout-center {
  width: 100%;
  max-width: var(--media-content-width);
  padding: 0 var(--gap-small);
  position: relative;
}

.layout-right {
  width: 250px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
}

@media (max-width: 1100px) {
  .layout-main {
    padding: 0 var(--gap-tiny);
  }

  .layout-left,
  .layout-right {
    display: none;
  }

  .layout-center {
    max-width: unset;
    padding: 0;
  }
}

.right-header {
  padding-left: var(--gap-small);
  margin-bottom: var(--gap-small);
  font-size: var(--font-base);
  color: var(--color-block1);
  border-left: 4px solid var(--color-theme);
}

/* 公共-左侧导航 */
.left-nav {
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  overflow: hidden;
  position: sticky;
}

.left-nav,
.left-scroll {
  display: flex;
  flex: 1;
  flex-direction: column
}

.left-nav-box {
  flex: 1;
  margin-bottom: var(--gap-small);
  overflow: hidden
}

.left-nav-title {
  padding: var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-black1);
  background-color: var(--color-theme1);
  border-bottom: 1px solid var(--color-grey1);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  user-select: none;
}

.left-nav-title.active {
  background-color: var(--color-theme);
  color: var(--color-white)
}

.left-nav-title>.icon {
  margin-right: var(--gap-tiny);
  width: 15px
}

.left-nav-text {
  color: var(--color-grey);
  font-size: var(--font-tiny);
  padding: 0 var(--gap-small)
}

.left-list-box {
  flex: 1;
  padding: var(--gap-small);
  display: none;
  flex-direction: column;
}

.left-list-box.active {
  display: flex
}

.left-bottom-list,
.left-center-list,
.left-top-list {
  -moz-column-gap: var(--gap-small);
  column-gap: var(--gap-small);
  display: grid;
  gap: var(--gap-small);
  grid-template-columns: repeat(2, 1fr);
  padding: var(--gap-small)
}

.left-bottom-list>a,
.left-center-list>a,
.left-top-list>a {
  padding: 7.5px 0;
  border: 1px solid var(--color-theme);
  border-radius: var(--gap-tiny);
  color: var(--color-theme);
  font-size: var(--font-small);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.left-bottom-list>a.nav-item,
.left-center-list>a.nav-item,
.left-top-list>a.nav-item {
  background-color: var(--color-grey2);
  border: 1px solid var(--color-theme1);
  color: var(--color-theme)
}

.left-bottom-list>a.nav-item.active,
.left-center-list>a.nav-item.active,
.left-top-list>a.nav-item.active {
  background-color: var(--color-theme);
  color: var(--color-white)
}

.left-bottom-list>a>.icon,
.left-center-list>a>.icon,
.left-top-list>a>.icon {
  font-size: var(--font-base);
}

.left-bottom-list>a>span,
.left-center-list>a>span,
.left-top-list>a>span {
  font-size: var(--font-small);
  margin-left: var(--gap-tiny);
  white-space: nowrap
}

.left-top-list {
  overflow: hidden;
  padding: 0
}

@media(min-width:1100px) {
  .left-nav-title {
    font-size: var(--font-base);
    padding: 15px var(--gap-small)
  }

  .left-nav-title>.icon {
    margin-right: 10px;
    width: 20px
  }

  .left-nav-title:hover {
    background-color: var(--color-theme);
    color: var(--color-white)
  }

  .left-nav-text {
    font-size: var(--font-small)
  }

  .left-bottom-list>a,
  .left-center-list>a,
  .left-top-list>a {
    padding: var(--gap-small) 0
  }

  .left-top-list>a:hover {
    background-color: var(--color-theme);
    color: var(--color-white)
  }
}

/* pc端头部 */
.desktop-header {
  background-color: var(--color-white);
  border-bottom: var(--gap-small) solid var(--color-background);
  display: none;
}

.desktop-header .desktop-header-box {
  max-width: var(--media-max-width);
  padding: 0 var(--gap-small);
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.desktop-header-logo {
  display: flex;
  align-items: center;
}

.desktop-header-logo .desktop-header-img {
  width: 48px;
  height: 48px;
}

.desktop-header-logo .desktop-header-text-box {
  margin-left: 2.5px;
}

.desktop-header-logo .desktop-header-text-box>.title {
  font-size: var(--font-base);
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-theme);
}

.desktop-header-logo .desktop-header-text-box>.description {
  font-size: var(--font-tiny);
  white-space: nowrap;
}

.desktop-header-search {
  width: 100%;
  max-width: 690px;
  padding: 0 var(--gap-small);
  display: flex;
  flex-direction: column;
  position: relative;
}

.desktop-search-box {
  flex: 1;
  padding-left: 15px;
  border-radius: 20px;
  background-color: var(--color-grey2);
  display: flex;
  align-items: stretch;
}

.desktop-search-box>input {
  flex: 1;
  display: block;
}

.desktop-search-box>.desktop-search-btn {
  height: 32px;
  line-height: 32px;
  margin: var(--gap-tiny) var(--gap-tiny) var(--gap-tiny) 0;
  padding: 0 20px;
  white-space: nowrap;
  color: var(--color-white);
  background-color: var(--color-theme);
  border-radius: var(--font-base);
  cursor: pointer;
}

.desktop-search-history {
  padding: 20px 20px 0 20px;
  position: absolute;
  top: 100%;
  left: 50%;
  background-color: var(--color-white);
  z-index: 9999;
  border-radius: 0 0 var(--gap-tiny) var(--gap-tiny);
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: translate(-50%, 0);
  display: none;
}

.desktop-search-history .search-title {
  margin-bottom: var(--gap-small);
  padding-left: var(--gap-small);
  font-size: var(--font-base);
  font-weight: 500;
  border-left: 3px var(--color-theme) solid;
}

.desktop-search-history .search-list {
  padding-bottom: var(--gap-small);
  display: flex;
  flex-wrap: wrap;
}

.desktop-search-history .search-list>.btn {
  margin: 0 var(--gap-small) var(--gap-small) 0;
  padding: var(--gap-tiny) var(--gap-small);
  border: 1px solid var(--color-theme);
  border-radius: var(--gap-tiny);
  font-size: var(--font-small);
  color: var(--color-theme);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-search-history .search-list>.btn:hover {
  color: var(--color-white);
  background-color: var(--color-theme);
}

.desktop-search-history .search-text-list {
  margin-bottom: var(--gap-small);
  display: flex;
  flex-direction: column;
}

.desktop-search-history .search-text-list>.text {
  margin-bottom: var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-theme);
  text-decoration: underline;
  white-space: wrap;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-search-history .search-text-list>.text:last-child {
  margin-bottom: 0;
}

.desktop-search-history .search-text-list>.text:hover {
  color: var(--color-theme-hover);
}

.desktop-header-auth {
  display: flex;
  align-items: center;
  gap: 20px;
}

.desktop-header-auth>.btn {
  padding: var(--gap-tiny) 25px;
  font-size: var(--font-base);
  white-space: nowrap;
  color: var(--color-white);
  background-color: var(--color-theme);
  border: 1px solid var(--color-theme);
  border-radius: 3px;
  display: none;
}

.desktop-header-auth>.btn.btn-line {
  color: var(--color-theme);
  background-color: var(--color-theme1);
}

.desktop-header-auth>.avatar {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-image: url('images/loading.png');
  background-repeat: no-repeat;
  background-position: 100%;
  background-size: cover;
  display: none;
}

.desktop-header-auth>.name {
  padding: var(--gap-tiny);
  font-size: var(--font-base);
  color: var(--color-theme);
  white-space: nowrap;
  background-color: var(--color-theme1);
  border: 1px solid var(--color-theme);
  border-radius: 3px;
}

.desktop-header-auth>.active {
  display: block;
}

/* 手机端头部 */
.mobile-header {
  height: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  display: none;
}

.mobile-header>.active-box {
  display: flex;
  align-items: center;
}

.mobile-header>.active-box>.icon,
.mobile-header>.icon {
  width: 55px;
  height: 55px;
  font-size: var(--font-h3);
  color: var(--color-theme);
  padding: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-header .avatar-box {
  width: 55px;
  height: 55px;
  padding: 12.5px;
}

.mobile-header .avatar-box .avatar-img {
  font-size: var(--font-small);
  border-radius: 100%;
  overflow: hidden;
}

.mobile-header>.logo {
  display: flex;
  align-items: center;
}

.mobile-header>.logo .img {
  width: 40px;
  height: 40px;
}

.mobile-header>.logo .text-box {
  margin-left: var(--gap-tiny);
}

.mobile-header>.logo .text-box>.title {
  font-size: var(--font-small);
  font-weight: 500;
}

.mobile-header>.logo .text-box>.description {
  font-size: 12px;
}

.mobile-header-popup {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  overflow: hidden;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.mobile-header-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-header-popup.show .popup-box {
  left: 0;
}

.mobile-header-popup .popup-box {
  width: 60%;
  height: 100%;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: -100%;
  top: 0;
  z-index: 1;
  transition: left 0.5s ease;
}

.mobile-header-popup .popup-box .popup-logo {
  padding: 20px;
  display: flex;
}

.mobile-header-popup .popup-box .popup-logo .popup-img {
  width: 48px;
  height: 48px;
}

.mobile-header-popup .popup-box .popup-logo .popup-text-box {
  margin-left: var(--gap-tiny);
}

.mobile-header-popup .popup-box .popup-logo .popup-text-box>.title {
  font-size: var(--font-small);
  font-weight: 500;
}

.mobile-header-popup .popup-box .popup-logo .popup-text-box>.description {
  font-size: 12px;
}

.mobile-header-popup .popup-box .popup-close {
  width: 65px;
  height: 65px;
  padding: 20PX;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

/* 手机端头部-手机端搜索框弹框 */
.mobile-search-popup {
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
  transition: right 0.5s ease;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 8;
}

.mobile-search-popup.show {
  right: 0;
}

.mobile-search-header {
  background-color: var(--color-white);
  display: flex;
  align-items: center;
}

.mobile-search-header .icon {
  width: 55px;
  height: 55px;
  padding: 15px;
  font-size: 25px;
  color: var(--color-theme);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-search-header>.search-box {
  flex: 1;
  height: 40px;
  padding: 0 15px;
  background-color: var(--color-background);
  border-radius: 20px;
  display: flex;
  align-items: center;
}

.mobile-search-header>.search-box>input {
  width: 100%;
  height: 100%;
  font-size: var(--font-small);
  color: var(--color-grey);
}

.mobile-search-header>.btn {
  margin: 0 var(--gap-small) 0 var(--gap-small);
  padding: 0 var(--gap-base);
  height: 35px;
  line-height: 35px;
  font-size: var(--font-small);
  white-space: nowrap;
  color: var(--color-white);
  background-color: var(--color-theme);
  border-radius: var(--gap-tiny);
}

.mobile-search-popup>.search-list {
  flex: 1;
  padding: var(--gap-small);
  overflow-y: auto;
}

.mobile-search-popup>.search-list .tag-title {
  margin: 0 0 var(--gap-small) 0;
  font-size: var(--font-small);
}

.mobile-search-popup>.search-list .tag-box {
  padding-bottom: var(--gap-small);
  display: flex;
  gap: var(--gap-tiny);
  flex-wrap: wrap;
}

.mobile-search-popup>.search-list .tag-box .btn {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.mobile-search-popup>.search-list .text-box {
  padding-bottom: var(--gap-small);
  display: flex;
  gap: var(--gap-tiny);
  flex-wrap: wrap;
}

.mobile-search-popup>.search-list .text-box .text {
  max-width: 100%;
  margin-bottom: var(--gap-tiny);
  font-size: var(--font-small);
  color: var(--color-theme);
  text-decoration: underline;
  white-space: wrap;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-search-popup>.search-list .text-box .text:last-child {
  margin-bottom: 0;
}

@media (min-width: 1100px) {
  .mobile-header {
    display: none;
  }

  .desktop-header {
    display: block;
  }
}

@media (max-width: 1100px) {
  .mobile-header {
    display: flex;
  }

  .desktop-header {
    display: none;
  }
}

/* 移动端-底部导航 */
.mobile-footer-nav {
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 0 5px var(--color-grey);
  display: flex;
  position: relative;
  z-index: 1;
}

.mobile-footer-nav>.item {
  flex: 1;
  color: var(--color-grey);
}

.mobile-footer-nav>.item.active {
  color: var(--color-theme);
}

.mobile-footer-nav>.item>a {
  width: 100%;
  padding: var(--gap-small) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-footer-nav>.item>a>.icon {
  font-size: var(--font-base);
}

.mobile-footer-nav>.item>a>.text {
  margin-top: var(--gap-tiny);
  font-size: var(--font-small);
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .mobile-footer-nav {
    display: none;
  }
}

/* 手机端-添加到桌面 */
.add-desktop {
  padding: var(--gap-base);
  color: var(--color-white);
  background-color: #323232;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: space-between;
}

.add-desktop>img {
  width: 40px;
  height: 40px;
}

.add-desktop .info {
  flex: 1;
  padding-left: var(--gap-base);
  display: flex;
  align-items: center;
}

.add-desktop .info>span {
  padding: 4px 12px 6px;
  margin-right: var(--gap-tiny);
  color: var(--color-white);
  background-color: var(--color-theme);
  border-radius: var(--gap-tiny);
}

.add-desktop .close {
  width: 40px;
  height: 40px;
  padding: var(--gap-small);
  font-size: var(--font-base);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
}

@media (min-width: 1100px) {
  .add-desktop {
    display: none;
  }
}

/* 模态框-遮罩层 */
.mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 4;
}

/* 模态框-遮罩层动画 */
.mask-enter-active,
.mask-leave-active {
  transition: opacity 0.25s ease;
}

.mask-enter-from,
.mask-leave-to {
  opacity: 0;
}

/* 模态框-中间弹窗 */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.modal-content {
  width: auto;
  z-index: 5;
}

.modal-enter-active,
.modal-leave-active {
  transition: all 0.3s ease;
}

.modal-enter-from,
.modal-leave-to {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

/* 模态框-底部弹窗动画 */
.sheet {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 5;
}

.sheet-content {
  width: 100%;
  max-height: 80vh;
  background: var(--color-white);
  border-radius: 16px 16px 0 0;
  padding: 16px;
  overflow-y: auto;
}

.sheet-enter-active,
.sheet-leave-active {
  transition: all 0.3s ease;
}

.sheet-enter-from,
.sheet-leave-to {
  transform: translateY(100%);
  opacity: 0;
}

/* 选项卡-色块 */
.tab {
  flex: 1;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tab .tab-header {
  border: var(--gap-tiny);
  display: flex;
  border-bottom: 1px solid var(--color-grey1);
  overflow: hidden;
}

.tab .tab-header>.item {
  flex: 1;
  padding: var(--gap-small);
  font-size: var(--font-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.tab .tab-header>.item.active {
  color: var(--color-white);
  background-color: var(--color-theme);
}

.tab .tab-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tab .tab-body .tab-tbody-item {
  display: none;
}

.tab .tab-body .tab-tbody-item.active {
  display: block;
}

.tab-footer {
  padding: var(--gap-small) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-footer>a {
  padding: var(--gap-tiny) var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-theme);
  background-color: var(--color-theme1);
  border-radius: var(--gap-tiny);
  display: none;
  cursor: pointer;
}

.tab-footer>a.active {
  display: block;
}

.tab-footer>a:hover {
  color: var(--color-white);
  background-color: var(--color-theme);
}

/* 选项卡-线条 */
.tab.line {
  background-color: transparent;
}

.tab.line .tab-header {
  border-bottom: none;
}

.tab.line .item.active {
  color: var(--color-black1);
  background-color: transparent;
}

.tab.line .item>div {
  width: 25px;
  height: 3px;
  margin-top: var(--gap-tiny);
  background-color: transparent;
}

.tab.line .item.active>div {
  background-color: var(--color-theme);
}

/* 桌面端右侧up主和贴文 */
.right-author-item,
.right-article-item {
  padding: var(--gap-small);
  font-size: var(--font-base);
  color: var(--color-block1);
  display: flex;
  align-items: center;
}

.right-author-item:hover,
.right-article-item:hover {
  color: var(--color-theme);
}

.right-author-item:last-child,
.right-article-item:last-child {
  padding-bottom: 0;
}

.right-author-item>.rank,
.right-article-item>.rank {
  width: 32px;
  height: 18px;
  margin-right: var(--gap-tiny);
  font-size: var(--font-small);
  text-align: center;
}

.right-author-item>.rank>img,
.right-article-item>.rank>img {
  width: auto;
  height: 18px;
  margin: 0 auto;
}

.right-author-item>.multiple {
  flex: 1;
  width: auto;
  font-size: var(--font-small);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.right-article-item>.avatar {
  width: 30px;
  height: 30px;
  margin-right: var(--gap-small);
  border: 1px solid var(--color-grey1);
  border-radius: 100%;
  overflow: hidden;
}

.right-article-item>.info {
  flex: 1;
  overflow: hidden;
  display: block;
}

.right-article-item>.info>.text {
  font-size: var(--font-small);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: auto;
}

.right-article-item>.info>.text>.color-text {
  color: var(--color-theme);
}

/* swiper-垂直滚动 */
.vertical-swiper {
  overflow: hidden;
}

.vertical-swiper-wrapper {}

.vertical-swiper-slide {}

/* swiper-水平滚动 */
.horizontal-swiper {
  overflow: hidden;
}

.horizontal-swiper .swiper-slide {
  flex-shrink: 1;
}

/* swiper-轮播 */
.carousel-swiper {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-swiper-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition-timing-function: ease-out;
}

.carousel-swiper-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.carousel-swiper-next,
.carousel-swiper-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.125);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  z-index: 1;
  user-select: none;
}

.carousel-swiper-prev {
  left: 10px;
}

.carousel-swiper-next {
  right: 10px;
}

.carousel-swiper-prev:hover,
.carousel-swiper-next:hover {
  background: rgba(0, 0, 0, 0.5);
}

.carousel-swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.carousel-swiper-pagination-bullet.active {
  background: #000;
}

/* 底部 */
footer {
  margin: var(--gap-large) 0 var(--gap-small) 0;
  position: relative;
}

.footer-nav {
  display: flex;
  align-items: center;
}

.footer-nav>.box {
  flex: 1;
  text-align: center;
  font-size: var(--font-small);
  color: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-nav>.box>.icon {
  width: 30px;
  height: 30px;
  font-size: var(--font-h4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.footer-nav>.box>p {
  margin: var(--gap-tiny) 0 0 0;
}

.footer-title {
  margin-bottom: var(--gap-small);
  font-size: var(--font-base);
  font-weight: bold;
}

.footer-description {
  padding-bottom: var(--gap-tiny);
  font-size: var(--font-small);
  font-style: normal;
}

.footer-description>a {
  color: var(--color-theme);
}

.footer-copyy {
  padding: var(--gap-small) var(--gap-tiny) var(--gap-tiny) var(--gap-tiny);
  text-align: center;
  font-size: var(--font-small);
}

.footer-copyy>a {
  color: var(--color-theme);
}

.footer-single-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-small);
}

.footer-single-list>.item {
  font-size: var(--font-small);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (min-width: 1100px) {
  .footer-nav>.box:hover {
    color: var(--color-theme);
  }

  .footer-nav>.box>.icon {
    width: 25px;
    height: 25px;
  }

  .footer-description {
    padding-bottom: var(--gap-small);
    font-size: var(--font-base);
    font-style: normal;
  }

  .footer-single-list {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-base);
  }

  .footer-single-list>.item {
    font-size: var(--font-base);
    justify-content: center;
  }

  .footer-single-list>.item:hover {
    color: var(--color-theme);
  }
}

/* 无列表数据 */
.no-data {
  font-size: var(--font-small);
  text-align: center;
  padding: 20px;
  color: var(--color-black);
}

@media (min-width: 1100px) {
  .no-data {
    font-size: var(--font-base);
  }
}

/* 分页 */
.pagination {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination>a {
  margin: 1px;
  padding: var(--gap-small);
  font-size: var(--font-small);
  white-space: nowrap;
  color: var(--color-theme);
  background-color: var(--color-background);
  border: 1px solid var(--color-theme);
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.pagination>a.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
  color: var(--color-grey);
  border: 1px solid var(--color-grey);
}

.pagination>a.active {
  color: var(--color-white);
  background-color: var(--color-theme);
}

@media (min-width: 1100px) {
  .pagination>a {
    margin: 1px;
    font-size: var(--font-small);
  }
}

/* 首页-列表 */
.index-list {
  margin-bottom: var(--gap-tiny);
  display: grid;
  gap: var(--gap-tiny);
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 1100px) {
  .index-list {
    margin-bottom: var(--gap-small);
    gap: var(--gap-small);
  }
}

/* 往期贴文 */
.article-history {}

.article-history-list {}

/* 文章详情 */
.article-detail-info {
  padding-bottom: var(--gap-small);
  font-size: var(--font-base);
  display: flex;
  align-items: center;
}

.article-detail-info>.author {
  width: 30px;
  height: 30px;
  color: var(--color-theme);
  border-radius: 100%;
  overflow: hidden;
}

.article-detail-info>.icon {
  width: 20px;
  height: 20px;
  color: var(--color-theme);
}

.article-detail-info>.name {
  margin-left: var(--gap-small);
  margin-right: var(--gap-base);
  font-size: var(--font-small);
  color: var(--color-theme);
  cursor: pointer;
}

.article-detail-info>.time {
  font-size: var(--font-small);
  color: var(--color-grey);
}

.article-detail-nav {
  width: 30px;
  height: auto;
  display: none;
  position: fixed;
  top: 80px;
  left: calc(50% - var(--media-content-width) / 2 - 50px);
  z-index: 1;
}

.article-detail-nav li {
  padding: var(--gap-small) 0;
  color: var(--color-black2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.article-detail-nav li.active {
  color: var(--color-theme);
}

.article-detail-nav li:hover {
  color: var(--color-theme);
}

.article-detail-nav li .icon {
  font-size: var(--font-base);
}

.article-detail-nav li span {
  font-size: var(--font-small);
}

.article-detail-like .icon {
  width: 20px;
  height: 20px;
  background-image: url('../image/icon/like.png');
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

.article-detail-like.active .icon {
  background-image: url('../image/icon/like-active.png');
}

.article-detail-link-author {
  height: 80px;
  font-size: var(--font-base);
  color: var(--color-theme);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-detail-link-author:hover {
  text-decoration: underline;
}

.article-detail-copy-share {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3.33333333;
  margin: 0 auto;
  cursor: pointer;
}

.article-detail-like-box {
  padding: 20px 0 15px 0;
  color: var(--color-grey);
  border: 2px dotted var(--color-theme1);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.article-detail-like-box:hover,
.article-detail-like-box.active {
  color: var(--color-theme);
}

.article-detail-like-box:hover>.icon,
.article-detail-like-box.active>.icon {
  background-image: url('../image/icon/praise-active.png');
}

.article-detail-like-box>.text {
  font-size: var(--font-small);
  text-align: center;
}

.article-detail-like-box>.icon {
  width: 20px;
  height: 20px;
  margin-top: var(--gap-tiny);
  background-image: url('../image/icon/praise.png');
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

.article-detail-like-box>.count {
  margin-top: var(--gap-tiny);
  font-size: var(--font-small);
}

.article-detail-pagination {
  display: flex;
  gap: var(--gap-tiny);
}

.article-detail-pagination>.item {
  flex: 1;
}

.article-detail-pagination .prev,
.article-detail-pagination .next {
  flex: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.article-detail-pagination .prev:hover>.title,
.article-detail-pagination .next:hover>.title {
  font-weight: 900;
}

.article-detail-pagination .prev>.title,
.article-detail-pagination .next>.title {
  padding: var(--gap-small) 0;
  font-size: var(--font-small);
  color: var(--color-theme);
}

.article-detail-pagination .prev>.title.right,
.article-detail-pagination .next>.title.right {
  text-align: right;
}

.article-detail-pagination .prev>.box,
.article-detail-pagination .next>.box {
  flex: 1;
  width: 100%;
  aspect-ratio: 3.33333333;
  display: flex;
  gap: var(--gap-small);
}

.article-detail-pagination .prev>.box>.img-box,
.article-detail-pagination .next>.box>.img-box {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.article-detail-pagination .prev>.box>.img-box>img,
.article-detail-pagination .next>.box>.img-box>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail-recommend-btn {
  font-size: var(--font-small);
  color: var(--color-theme);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.article-detail-recommend-btn:hover {
  font-weight: 900;
}

.article-detail-recommend-btn .icon {
  width: 14px;
  height: 14px;
  margin-left: var(--gap-tiny);
  font-size: initial;
}

.article-detail-recommend {
  display: flex;
  gap: var(--gap-tiny);
}

.article-detail-recommend .item {
  flex: 1;
}

.article-detail-recommend .item .img-box {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.article-detail-recommend .item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail-recommend .item .text {
  margin-top: var(--gap-tiny);
  font-size: var(--font-tiny);
  text-align: justify;
  color: var(--color-theme);
}

@media (min-width: 1100px) {
  .article-detail-info>.name {
    font-size: var(--font-base);
  }

  .article-detail-pagination {
    gap: var(--gap-small);
  }

  .article-detail-recommend {
    gap: var(--gap-small);
  }

  .article-detail-recommend .item .text {
    font-size: var(--font-small);
  }

  .article-detail-nav {
    display: block;
  }
}

/* 作者列表 */
.author-list {
  padding-bottom: var(--gap-small);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-tiny);
}

@media (min-width: 1100px) {
  .author-list {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-small);
  }
}

/* 作者详情 */
.author-detail {
  margin-bottom: var(--gap-tiny);
}

.author-detail-list {
  margin-bottom: var(--gap-tiny);
  display: grid;
  gap: var(--gap-tiny);
  grid-template-columns: repeat(1, 1fr);
}

.author-detail-article-list {
  display: grid;
  gap: var(--gap-tiny);
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 1100px) {
  .author-detail {
    margin-bottom: var(--gap-small);
  }

  .author-detail-list {
    margin-bottom: var(--gap-small);
    gap: var(--gap-small);
  }

  .author-detail-article-list {
    gap: var(--gap-small);
  }
}

/* 标签列表 */
.tag-list {}

/* 海角热搜 */
.article-hot-list {
  margin-bottom: var(--gap-small);
  font-size: var(--font-base);
  display: grid;
  gap: var(--gap-small);
  grid-template-columns: repeat(1, 1fr);
}

/* 搜索页 */
.search-tab-header {
  display: flex;
  font-size: var(--font-small);
  color: var(--color-black1);
}

.search-tab-header>.item {}

.search-tab-header-underline {
  display: flex;
  font-size: var(--font-small);
  color: var(--color-black1);
}

/* 视频页 */
.video-list {
  display: grid;
  gap: var(--gap-tiny);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1100px) {
  .video-list {
    gap: var(--gap-small);
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 视频详情 */
.video-detail-info {
  padding-bottom: var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-grey);
  display: flex;
}

.video-detail-info>.text {
  padding-left: var(--gap-large);
}

.video-active-box {
  padding-bottom: var(--gap-tiny);
  font-size: var(--font-tiny);
  color: var(--color-grey);
  display: flex;
  align-items: center;
}

.video-active-box>.left {
  flex: 1;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.video-active-box>.left>.item {
  padding-right: var(--gap-tiny);
  display: flex;
  align-items: center;
}

.video-active-box>.left>.item:last-child {
  padding-right: 0;
}

.video-active-box>.left>.item>.icon {
  width: 10px;
  height: 10px;
  margin-right: var(--gap-tiny);
}

@media (min-width: 1100px) {
  .video-active-box>.left>.item {
    padding-right: var(--gap-base);
  }

  .video-active-box>.left>.item>.icon {
    width: var(--gap-base);
    height: var(--gap-base);
    margin-right: var(--gap-tiny);
  }
}

/* 小说 */
.novel-list {
  display: grid;
  gap: var(--gap-tiny);
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 1100px) {
  .novel-list {
    gap: var(--gap-small);
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 小说详情页 */
.novel-detail {
  margin-bottom: var(--gap-tiny);
  padding: var(--gap-small);
  background-color: var(--color-white);
  border-radius: var(--gap-small);
}

.novel-detail>.title {
  font-size: var(--font-base);
  font-weight: 450;
}

.novel-detail>.info-box {
  padding: var(--gap-small) 0;
  font-size: var(--font-tiny);
  display: flex;
}

.novel-detail>.info-box>.item {
  padding: 0 var(--gap-tiny);
  white-space: nowrap;
  position: relative;
}

.novel-detail>.info-box>.item::after {
  content: '';
  height: .7rem;
  width: 1px;
  background-color: var(--color-grey);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.novel-detail>.info-box>.item:first-child {
  padding-left: 0;
}

.novel-detail>.info-box>.item:last-child {
  border-right: none;
}

.novel-detail>.info-box>.item.color-text {
  color: var(--color-blood);
}

.novel-detail .desc {
  padding-bottom: var(--gap-small);
  font-size: var(--font-small);
}

.novel-chapter-box>.list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--gap-tiny);
}

.novel-detail-active {
  padding: var(--gap-small);
  font-size: var(--font-small);
  background-color: var(--color-white);
  border-radius: var(--gap-tiny);
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 70px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.novel-detail-active>.info {
  flex: 1;
  padding-left: var(--gap-small);
}

.novel-detail-active>.info>.icon {
  width: var(--gap-base);
  height: var(--gap-base);

}

@media (min-width: 1100px) {
  .novel-detail {
    margin-bottom: var(--gap-tiny);
  }

  .novel-detail>.title {
    padding: var(--gap-small);
    font-size: var(--font-base);
  }

  .novel-chapter-box>.list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-small);
  }

  .novel-detail-active {
    display: none;
  }
}

/* 动漫 */
.cartoon-list {
  display: grid;
  gap: var(--gap-small);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1100px) {
  .cartoon-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 动漫-详情页 */
.carton-detail-header {
  padding-top: var(--gap-small);
  overflow: hidden;
}

.carton-detail-header>.title {
  font-size: var(--font-h2);
  color: var(--color-black);
}

.carton-detail-header>.subtitle {
  padding: var(--gap-small) 0;
  font-size: var(--font-small);
  color: var(--color-black);
}

.carton-detail-header>.text {
  padding-bottom: var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-black1);
}

.cartoon-detail-active-box {
  padding: var(--gap-small);
  font-size: var(--font-small);
  background-color: var(--color-white);
  border-radius: var(--gap-tiny);
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 70px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cartoon-detail-active-box>.info {
  flex: 1;
  padding-left: var(--gap-small);
  display: flex;
  align-items: center;
}

.cartoon-detail-active-box>.info>.icon {
  margin-right: var(--gap-tiny);
  font-size: var(--font-base);
}

@media (min-width: 1100px) {
  .cartoon-detail-active-box {
    display: none;
  }

  .cartoon-recommend-box {
    padding: 0 var(--gap-small);
  }

  .carton-detail>.title {
    padding: var(--gap-small);
    font-size: var(--font-base);
  }

  .carton-detail>.list-box {
    padding: 0 var(--gap-small);
  }

  .active-box {
    display: none;
  }
}

.episode-list {
  margin-bottom: var(--gap-tiny);
  display: grid;
  gap: var(--gap-tiny);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1100px) {
  .episode-list {
    margin-bottom: var(--gap-small);
    gap: var(--gap-small);
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 动漫-剧集 */
.episode-header {
  padding-bottom: var(--gap-small);
  font-size: var(--font-small);
  color: var(--color-grey);
  display: flex;
}

.episode-header>.text {
  padding-left: var(--gap-base);
}

.episode-video-info {
  font-size: var(--font-tiny);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.episode-video-info>.icon {
  width: 12px;
  height: 12px;
}

.episode-video-info>.text-grey {
  color: var(--color-grey);
}

.episode-video-info>.text-black {
  color: var(--color-black1);
}

.episode-index-list {
  margin-bottom: var(--gap-small);
  display: flex;
  gap: var(--gap-small);
  flex-wrap: wrap;
}

.episode-index-list>.item {
  padding: var(--gap-tiny) var(--gap-small);
  color: var(--color-theme);
  background-color: var(--color-theme1);
  border-radius: var(--gap-tiny);
  display: flex;
  align-items: center;
  justify-content: center;
}

.episode-index-list>.item.active {
  color: var(--color-white);
  background-color: var(--color-theme);
}

/* 小说章节详情 */
.chapter-active-box {
  padding: 10px;
  gap: var(--gap-small);
  position: fixed;
  bottom: 60px;
  left: 10px;
  right: 10px;
  z-index: 1;
}

.chapter-active-box>.btn {
  padding: var(--gap-small) var(--gap-base);
  font-size: var(--font-small);
  color: var(--color-theme);
  background-color: var(--color-theme1);
  border-radius: var(--gap-tiny);
  user-select: none;
}

.chapter-active-box>.btn[disabled],
.chapter-active-box>.btn.disabled {
  pointer-events: none;
  cursor: not-allowed;
  color: var(--color-white);
  background-color: var(--color-grey);
}

@media (min-width: 1100px) {
  .chapter-active-box {
    max-width: var(--media-content-width);
    margin: 0 auto;
    bottom: var(--gap-small);
  }

  .chapter-active-box>.btn {
    cursor: pointer;
  }

  .chapter-active-box>.btn:hover {
    color: var(--color-white);
    background-color: var(--color-theme);
  }
}

/* 小说章节目录-模态框 */
.chapter-menu-modal {
  max-width: 400px;
  margin: 0 auto;
  padding: var(--gap-small);
  background-color: #fafafa;
  border-radius: var(--gap-small) var(--gap-small) 0 0;
  position: absolute;
  left: 0;
  bottom: -500px;
  right: 0;
  z-index: 1;
  overflow: hidden;
  transition: all 0.3s ease;
}

.chapter-menu-modal.active {
  bottom: 100%;
}

.chapter-menu-modal .info-box {
  margin-bottom: var(--gap-small);
  display: flex;
  align-items: center;
}

.chapter-menu-modal .info-box .poster {
  width: 50px;
  aspect-ratio: 5/7;
}

.chapter-menu-modal .info-box .poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-menu-modal .info-box .info {
  flex: 1;
  padding-left: var(--gap-small);
}

.chapter-menu-modal .info-box .info .title {
  font-size: var(--font-base);
  font-weight: 900;
}

.chapter-menu-modal .info-box .info .subtitle {
  padding: var(--gap-tiny) 0;
  font-size: var(--font-small);
  font-weight: normal;
  color: var(--color-grey);
}

.chapter-menu-modal .info-box .info .text {
  font-size: var(--font-small);
  font-weight: normal;
  color: var(--color-grey);
}

.chapter-menu-box {}

.chapter-menu-list {
  height: 300px;
  display: flex;
  flex-direction: column;
  grid-template-columns: repeat(5, 1fr);
}

.chapter-menu-list .item {
  padding: var(--gap-small) 0;
  font-size: var(--font-small);
  color: var(--color-black1);
  border-bottom: 1px solid #eeeeee;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}

.chapter-menu-list .item:last-child {
  border-bottom: 0;
}

.chapter-menu-list .item.active {
  color: var(--color-blood);
}

@media (hover: hover) {
  .chapter-menu-list>.item:hover {
    color: var(--color-blood);
  }
}

/* 富文本html容器 */
.html-content {
  margin-bottom: var(--gap-tiny);
  font-size: var(--font-small);
}

.html-content p {
  font-size: var(--font-small);
}

.html-content img {
  width: 100%;
}

@media (min-width: 1100px) {
  .html-content {
    margin-bottom: var(--gap-small);
    font-size: var(--font-base);
  }

  .html-content p {
    font-size: var(--font-base);
  }
}