@charset "UTF-8";

body.p-read {
  background: #111216;
  color: #dfe3ea;
}

.reader-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 20180722;
}

.reader-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #34c8f3, #5b8cff 58%, #ff8a3d);
  box-shadow: 0 0 12px rgba(52, 200, 243, 0.65);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
}

.read__header {
  top: 0 !important;
  height: 60px !important;
  background: rgba(20, 21, 25, 0.76) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  transform: translateY(0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.read__header.is-hidden {
  transform: translateY(calc(-100% - 2px));
}

.read__logo {
  top: 13px !important;
  width: 142px;
  height: 34px;
}

.read__logo > a,
.reader-brand-logo {
  width: 100%;
  height: 100%;
  display: block;
}

.reader-brand-logo {
  object-fit: contain;
  object-position: left center;
}

.reader-brand-logo--light {
  display: none;
}

.theme-white .reader-brand-logo--dark {
  display: none;
}

.theme-white .reader-brand-logo--light {
  display: block;
}

.read__crumb {
  max-width: calc(100vw - 560px);
  line-height: 60px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.read__crumb a,
.read__crumb .comic-title {
  color: #d7dbe2 !important;
}

.read__crumb .last-crumb {
  color: #969da9 !important;
}

.page-index__btn {
  height: 28px !important;
  line-height: 28px !important;
  margin-left: 16px !important;
  color: #c8ced8 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.06);
}

.in-header__user {
  height: 60px !important;
  padding-right: 24px !important;
}

.in-header__user > ul {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.in-header__user .user-item {
  float: none !important;
  margin: 0 !important;
  color: #aeb5c0;
  transition: none !important;
}

.in-header__user .user-item > a {
  box-sizing: border-box;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: inherit;
  transition: background 160ms ease, border-color 160ms ease;
}

.in-header__user .user-item > a:hover {
  color: #eef2f8;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.in-header__user .user-item > a .iconfont {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  font-size: 19px !important;
  line-height: 1 !important;
}

.in-header__user .item-text {
  display: inline !important;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1 !important;
  opacity: 1;
}

.j-header-his::after,
.j-header-coll::after,
.j-header-avatar::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.j-header-avatar::after {
  height: 10px;
}

.j-header-his:hover > .in-dialog--his,
.j-header-his:focus-within > .in-dialog--his,
.j-header-coll:hover > .in-dialog--coll,
.j-header-coll:focus-within > .in-dialog--coll,
.j-header-avatar:hover > .dialog__header-avatar,
.j-header-avatar:focus-within > .dialog__header-avatar {
  display: block !important;
}

.in-header__avatar {
  width: 40px !important;
  height: 40px !important;
  margin-top: 10px !important;
  margin-left: 12px !important;
  padding: 2px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.in-header__avatar:hover {
  border-color: rgba(109, 162, 255, 0.75) !important;
  box-shadow: 0 8px 22px rgba(55, 102, 190, 0.26);
  transform: translateY(-1px) !important;
}

.in-header__avatar > a,
.in-header__avatar > a > img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.in-header__avatar > a > .header-avatar__image {
  opacity: 0;
  animation: header-avatar-fallback 0s linear 3s forwards;
  transition: opacity 0.14s ease;
}

.in-header__avatar > a > .header-avatar__image.is-avatar-ready {
  opacity: 1;
  animation: none;
}

@keyframes header-avatar-fallback {
  to { opacity: 1; }
}

.in-dialog--his,
.in-dialog--coll,
.dialog__header-avatar .in-dialog--avatar {
  box-sizing: border-box;
  width: 368px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  background: rgba(25, 27, 33, 0.96) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.46) !important;
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  overflow: hidden;
  animation: reader-popover-in 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.in-dialog--his,
.in-dialog--coll {
  top: 48px !important;
  left: auto !important;
  right: -96px;
  text-indent: 0 !important;
  text-align: left;
}

.in-dialog--coll {
  right: -46px;
}

.dialog__header-avatar .in-dialog--avatar {
  top: 50px !important;
  right: 0 !important;
  width: 286px !important;
}

.in-header__user .triangle,
.dialog__header-avatar .triangle {
  display: none !important;
}

.in-dialog__title {
  box-sizing: border-box;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef2f8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.in-dialog__title .more {
  float: none;
  margin: 0;
  color: #7eabff !important;
  font-size: 12px;
  font-weight: 600;
}

.in-dialog__title .more::after {
  content: "›";
  margin-left: 5px;
  font-size: 16px;
  line-height: 1;
}

.in-dialog__title .more:hover {
  color: #a6c5ff !important;
  text-decoration: none !important;
}

.in-dialog__offline {
  box-sizing: border-box;
  margin: 10px 12px 0;
  padding: 8px 10px;
  border: 1px solid rgba(109, 162, 255, 0.13);
  border-radius: 8px;
  color: #aeb7c5;
  background: rgba(80, 126, 214, 0.1);
  font-size: 12px;
  line-height: 20px;
  text-indent: 0;
}

.in-dialog--his .hl,
.in-dialog--coll .hl {
  color: #7eabff !important;
}

.in-dialog--his .hl:hover,
.in-dialog--coll .hl:hover {
  text-decoration: none !important;
}

.in-dialog__user-list {
  box-sizing: border-box;
  max-height: min(420px, calc(100vh - 150px));
  margin: 0;
  padding: 4px 7px 8px !important;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 171, 255, 0.5) transparent;
}

.in-dialog__user-list::-webkit-scrollbar {
  width: 5px;
}

.in-dialog__user-list::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(126, 171, 255, 0.5);
}

.in-dialog__user-list .list-item {
  box-sizing: border-box;
  min-height: 100px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 50px;
  grid-template-rows: auto auto auto;
  column-gap: 11px;
  align-items: center;
  padding: 12px 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 7px;
  transition: background 160ms ease;
}

.in-dialog__user-list .list-item:last-child {
  border-bottom-color: transparent !important;
}

.in-dialog__user-list .list-item:hover {
  background: rgba(255, 255, 255, 0.055) !important;
}

.in-dialog__user-list .cover {
  grid-column: 1;
  grid-row: 1 / 4;
  float: none !important;
  width: 58px !important;
  height: 78px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px !important;
  background: #30343d;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.28) !important;
  overflow: hidden;
}

.in-dialog__user-list .cover > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.in-dialog__user-list .comic-title,
.in-dialog__user-list .read-at,
.in-dialog__user-list .update {
  grid-column: 2;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  text-indent: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.in-dialog__user-list .comic-title {
  grid-column: 2 / 4;
  color: #eef2f8 !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 22px;
}

.in-dialog__user-list .comic-title a {
  color: inherit;
}

.in-dialog__user-list .read-at,
.in-dialog__user-list .update {
  color: #9ea7b5 !important;
  font-size: 12px !important;
  line-height: 18px;
}

.in-dialog__user-list .read-at a,
.in-dialog__user-list .update a {
  color: #c8ced8;
}

.in-dialog__user-list .update a.hl {
  color: #ffad73 !important;
}

.in-dialog__user-list .read {
  position: static !important;
  grid-column: 3;
  grid-row: 2 / 4;
  align-self: center;
  box-sizing: border-box;
  width: 48px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(109, 162, 255, 0.24);
  border-radius: 7px;
  color: #8bb3ff !important;
  background: rgba(80, 126, 214, 0.12);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-indent: 0;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.in-dialog__user-list .read::after {
  content: "›";
  font-size: 15px;
}

.in-dialog__user-list .read:hover {
  color: #fff !important;
  border-color: rgba(109, 162, 255, 0.52);
  background: rgba(80, 126, 214, 0.3);
  text-decoration: none !important;
}

.in-dialog__empty {
  box-sizing: border-box;
  min-height: 144px;
  height: auto !important;
  padding: 64px 20px 24px !important;
  color: #9ea7b5;
  background: none !important;
  font-size: 13px;
  line-height: 22px;
  text-indent: 0;
}

.in-dialog__empty::before {
  content: "";
  position: absolute;
  left: 50%;
  margin: -42px 0 0 -18px;
  width: 36px;
  height: 28px;
  border: 1px solid rgba(126, 171, 255, 0.22);
  border-radius: 7px;
  background: rgba(80, 126, 214, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.dialog__header-avatar .in-dialog--avatar .row-1 {
  box-sizing: border-box;
  height: auto !important;
  min-height: 132px;
  padding: 16px !important;
  background: none !important;
}

.reader-user-card__eyebrow {
  margin: 0 0 7px;
  color: #7eabff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.dialog__header-avatar .in-dialog--avatar .base-info {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 0;
}

.dialog__header-avatar .in-dialog--avatar .nickname {
  min-width: 0;
  max-width: 160px;
  margin: 0 !important;
  color: #eef2f8;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dialog__header-avatar .in-dialog--avatar .vip-tag {
  flex: 0 0 auto;
}

.dialog__header-avatar .in-dialog--avatar .logout {
  box-sizing: border-box;
  float: none !important;
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 6px;
  color: #aeb7c5;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  line-height: 18px;
}

.dialog__header-avatar .in-dialog--avatar .logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.reader-user-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}

.reader-user-shortcuts > a {
  box-sizing: border-box;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #cbd2dd;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.reader-user-shortcuts > a:hover {
  color: #eef2f8;
  border-color: rgba(109, 162, 255, 0.3);
  background: rgba(80, 126, 214, 0.14);
}

.reader-user-shortcuts .iconfont {
  color: #7eabff;
  font-size: 17px;
}

.theme-white .in-header__user .user-item {
  color: #626b78;
}

.theme-white .in-header__user .user-item > a {
  color: #626b78;
}

.theme-white .in-header__user .user-item > a:hover {
  color: #232a35;
  border-color: rgba(35, 42, 53, 0.1);
  background: rgba(35, 42, 53, 0.055);
}

.theme-white .in-header__avatar {
  border-color: rgba(35, 42, 53, 0.12) !important;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 18px rgba(38, 45, 58, 0.12);
}

.theme-white .in-dialog--his,
.theme-white .in-dialog--coll,
.theme-white .dialog__header-avatar .in-dialog--avatar {
  border-color: rgba(34, 40, 52, 0.11) !important;
  background: rgba(250, 251, 253, 0.97) !important;
  box-shadow: 0 22px 52px rgba(38, 45, 58, 0.2) !important;
}

.theme-white .in-dialog__title {
  color: #242b36;
  border-bottom-color: rgba(34, 40, 52, 0.09);
}

.theme-white .in-dialog__offline {
  color: #697383;
  border-color: rgba(65, 112, 202, 0.12);
  background: rgba(65, 112, 202, 0.07);
}

.theme-white .in-dialog__user-list .list-item {
  border-bottom-color: rgba(34, 40, 52, 0.08) !important;
}

.theme-white .in-dialog__user-list .list-item:hover {
  background: rgba(34, 40, 52, 0.045) !important;
}

.theme-white .in-dialog__user-list .cover {
  border-color: rgba(34, 40, 52, 0.1);
  background: #e8ebf0;
  box-shadow: 0 7px 18px rgba(38, 45, 58, 0.14) !important;
}

.theme-white .in-dialog__user-list .comic-title {
  color: #242b36 !important;
}

.theme-white .in-dialog__user-list .read-at,
.theme-white .in-dialog__user-list .update,
.theme-white .in-dialog__empty {
  color: #707a89 !important;
}

.theme-white .in-dialog__user-list .read-at a,
.theme-white .in-dialog__user-list .update a {
  color: #4e5867;
}

.theme-white .dialog__header-avatar .in-dialog--avatar .nickname {
  color: #242b36;
}

.theme-white .dialog__header-avatar .in-dialog--avatar .logout {
  color: #697383;
  background: rgba(34, 40, 52, 0.055);
}

.theme-white .reader-user-shortcuts > a {
  color: #4e5867;
  border-color: rgba(34, 40, 52, 0.09);
  background: rgba(34, 40, 52, 0.035);
}

.theme-white .reader-user-shortcuts > a:hover {
  color: #273142;
  border-color: rgba(65, 112, 202, 0.22);
  background: rgba(65, 112, 202, 0.08);
}

@keyframes reader-popover-in {
  from { opacity: 0; transform: translateY(-5px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.read-container {
  padding-top: 76px !important;
  background: radial-gradient(circle at 50% 8%, #252830 0, #17191e 28%, #101115 72%) !important;
}

.rd-article-wr {
  width: min(800px, calc(100vw - 260px)) !important;
  min-width: 720px;
  margin: 0 auto 48px !important;
  background: #08090b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.64), 0 0 32px rgba(91, 140, 255, 0.08) !important;
}

.rd-article__pic {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  background: #fff;
}

.rd-article__pic img {
  width: 100% !important;
  height: auto;
  display: block;
  background: #fff;
}

.rd-article__pic.reader-page-loading {
  height: 400px;
  min-height: 400px !important;
  background: linear-gradient(135deg, #edf1f6 0%, #e5eaf1 100%);
  isolation: isolate;
}

.rd-article__pic.reader-page-loading img {
  height: 400px !important;
  opacity: 0;
}

.rd-article__pic.reader-page-loading::before {
  content: "漫";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 140, 255, 0.16);
  border-radius: 8px;
  color: rgba(55, 96, 180, 0.32);
  font-size: 25px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 10px 30px rgba(69, 84, 116, 0.08);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.rd-article__pic.reader-page-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.62) 48%, transparent 61%);
  transform: translateX(-100%);
  animation: reader-page-shimmer 1.65s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.rd-article__pic.reader-page-loaded {
  height: auto;
  background: #fff;
}

.rd-article__pic.reader-page-error {
  height: auto;
  min-height: 0 !important;
  background: #242830;
}

.rd-article__pic.reader-page-error::before {
  content: none;
}
.reader-image-error { display: none; }
.reader-page-error > img { display: none !important; }
.rd-article__pic.reader-error-merged { display: none !important; }
.reader-page-error .reader-image-error {
  box-sizing: border-box; min-height: 210px; padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: #eef1f6; text-align: center; cursor: default;
  border-bottom: 1px solid #363e49;
}
.reader-image-error strong { font-size: 19px; line-height: 1.5; }
.reader-image-error small { color: #aeb8c8; font-size: 14px; line-height: 1.6; }
.reader-image-error > div { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.reader-image-error button, .reader-image-error a {
  box-sizing: border-box; min-height: 44px; padding: 10px 20px; border: 1px solid #515c6d;
  border-radius: 8px; background: transparent; color: #e1e7f0; font: inherit; font-size: 14px;
  line-height: 22px; text-decoration: none; cursor: pointer;
}
.reader-image-error button { background: #1685e6; border-color: #1685e6; color: white; }
.reader-image-error button:disabled { opacity: .55; cursor: wait; }
.reader-image-error button:focus-visible, .reader-image-error a:focus-visible { outline: 2px solid #67b9ff; outline-offset: 3px; }
.rd-article-wr.reader-all-failed {
  width: min(560px, calc(100% - 48px)) !important; min-height: 0 !important;
  min-width: 0; margin: clamp(28px, 4vh, 48px) auto 0 !important;
  border: 1px solid #363e49; border-bottom: 0; border-radius: 16px 16px 0 0; overflow: hidden;
  box-sizing: border-box; box-shadow: none !important;
}
.reader-all-failed .reader-image-error { min-height: 230px; border-bottom: 0; }
.theme-white .reader-page-error { background: #f7f9fc; }
.theme-white .reader-image-error { color: #263349; border-color: #d9e0e9; }
.theme-white .reader-image-error small { color: #637086; }
.theme-white .reader-image-error a { color: #384e6e; border-color: #c4cfde; }
.theme-white .rd-article-wr.reader-all-failed { border-color: #d9e0e9; }

.rd-article__end {
  width: min(660px, calc(100% - 48px)) !important;
  margin: 56px auto 120px !important;
  padding: 44px 48px 38px;
  box-sizing: border-box;
  text-align: center;
  color: #f4f6fa;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(39, 43, 52, 0.94), rgba(25, 28, 34, 0.92));
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
}

.chapter-complete__heading {
  margin-bottom: 30px;
}

.chapter-complete__eyebrow {
  width: fit-content;
  min-height: 28px;
  margin: 0 auto 16px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  color: #ffb27f;
  font-size: 14px;
  font-weight: 600;
  line-height: 26px;
  border: 1px solid rgba(255, 154, 91, 0.22);
  border-radius: 6px;
  background: rgba(255, 122, 36, 0.09);
}

.chapter-complete__check {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 17px;
  position: relative;
  border-radius: 50%;
  background: #e57838;
}

.chapter-complete__check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.chapter-complete__title {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 36px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn--next-chapter {
  width: min(100%, 420px) !important;
  height: 58px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 11px;
  box-sizing: border-box;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1 !important;
  border: 1px solid rgba(255, 173, 119, 0.36);
  border-radius: 8px !important;
  background: linear-gradient(135deg, #dc7134, #c75b25) !important;
  box-shadow: 0 14px 32px rgba(163, 70, 25, 0.28) !important;
}

.btn--next-chapter.hide {
  display: none !important;
}

.btn--next-chapter:hover {
  color: #fff !important;
  border-color: rgba(255, 190, 145, 0.5);
  background: linear-gradient(135deg, #e27a3d, #cd622a) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 17px 38px rgba(163, 70, 25, 0.34) !important;
}

.btn--next-chapter__label {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1 !important;
  white-space: nowrap;
}

.btn--next-chapter .iconfont {
  position: static !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px !important;
  line-height: 1 !important;
  flex: 0 0 auto;
}

.rd-article__end .last-chapter {
  margin: 0 auto;
}

.rd-article__end .last-chapter .txt1 {
  color: #f5f7fb;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.rd-article__end .last-chapter .txt2 {
  margin-top: 8px;
  color: #9ea6b4;
  font-size: 14px;
  line-height: 22px;
}

.rd-article__end .end__handles {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.rd-article__end .end__handles .btn--collect,
.rd-article__end .chapter-complete__detail {
  float: none;
  width: auto;
  min-width: 132px;
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  color: #c7ccd6;
  font: inherit;
  font-size: 14px;
  line-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.rd-article__end .end__handles .btn--collect:hover,
.rd-article__end .chapter-complete__detail:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.rd-article__end .end__handles .btn--collect .iconfont,
.rd-article__end .chapter-complete__detail .iconfont {
  display: inline-block;
  margin: 0;
  color: currentColor;
  font-size: 18px;
  line-height: 1;
}

.rd-article__end .end__handles .btn--collect .txt,
.rd-article__end .end__handles .btn--collect .txt-hl {
  margin: 0;
  color: currentColor;
  font-size: 14px;
  line-height: 1;
}

.rd-article__end .end__handles .btn--collect.hl {
  color: #ff9a5b;
  border-color: rgba(255, 122, 36, 0.32);
  background: rgba(255, 122, 36, 0.1);
}

.rd-article__end .end__handles .btn--collect.hl .iconfont {
  color: currentColor;
}

.rd-article__end .end__handles .btn--collect:focus-visible,
.rd-article__end .chapter-complete__detail:focus-visible,
.rd-article__end .btn--next-chapter:focus-visible {
  outline: 2px solid #ff9a5b;
  outline-offset: 3px;
}

.rd-aside {
  top: auto !important;
  right: 20px !important;
  bottom: 28px;
  width: auto !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 8px !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px !important;
  background: rgba(30, 32, 38, 0.8) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.reader-page-counter {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  min-width: 62px;
  height: 30px;
  padding: 0 10px;
  box-sizing: border-box;
  color: #dfe5ee;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 30px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(30, 32, 38, 0.82);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
}

.reader-page-counter__divider {
  padding: 0 4px;
  color: #7e8795;
}

.rd-aside__item,
.rd-aside__item.j-rd-light {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #aeb5c0;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.rd-aside__item:hover,
.rd-aside__item.active {
  color: #fff !important;
  background: rgba(91, 140, 255, 0.18);
  transform: translateY(-2px);
}

.rd-aside__item .iconfont {
  margin: 0 !important;
  font-size: 25px !important;
  line-height: 1 !important;
}

.rd-aside__item .txt {
  position: absolute;
  left: 50%;
  bottom: 56px;
  min-width: 48px;
  padding: 7px 9px;
  color: #eef1f6;
  line-height: 18px !important;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(18, 19, 23, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.rd-aside__item:hover > .txt {
  opacity: 1;
  transform: translate(-50%, 0);
}

.aside__catalog {
  top: auto !important;
  right: 0 !important;
  bottom: 62px;
  width: 480px !important;
  max-width: calc(100vw - 48px);
  max-height: min(620px, calc(100vh - 120px));
  box-sizing: border-box;
  color: #e7ebf2;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(35, 38, 46, 0.97), rgba(22, 24, 29, 0.97)) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  overflow: hidden;
}

.catalog__head {
  width: auto !important;
  height: auto !important;
  padding: 16px 16px 13px;
  box-sizing: border-box;
  line-height: normal !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.025);
  overflow: visible !important;
}

.catalog__head-row {
  height: 32px;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog__title {
  margin: 0;
  color: #f7f8fb;
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
}

.catalog__total {
  margin-left: 6px;
  color: #8f98a7;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.catalog__total::before { content: "("; }
.catalog__total::after { content: ")"; }

.catalog__tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.catalog__tool {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aeb6c2;
  font: inherit;
  font-size: 17px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.catalog__tool:hover,
.catalog__tool[aria-pressed="true"] {
  color: #ffad77;
  border-color: rgba(255, 138, 61, 0.26);
  background: rgba(255, 122, 36, 0.09);
}

.catalog__search {
  height: 38px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  color: #7f8998;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 7px;
  background: rgba(8, 10, 14, 0.22);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.catalog__search:focus-within {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(8, 10, 14, 0.32);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.025);
}

.catalog__search > .iconfont {
  flex: 0 0 auto;
  margin: 0 !important;
  color: #778190;
  font-size: 16px !important;
  line-height: 1 !important;
}

.catalog__search-input {
  min-width: 0;
  height: 36px;
  flex: 1;
  padding: 0;
  color: #edf0f5;
  font: inherit;
  font-size: 13px;
  line-height: 36px;
  border: 0;
  outline: 0;
  background: transparent;
}

.catalog__search-input::placeholder { color: #697382; }
.catalog__search-input::-webkit-search-cancel-button { display: none; }

.catalog__search-clear {
  width: 24px;
  height: 24px;
  padding: 0;
  flex: 0 0 24px;
  color: #8e97a4;
  font: inherit;
  font-size: 17px;
  line-height: 22px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.catalog__search-clear:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.catalog__list {
  max-height: min(500px, calc(100vh - 242px)) !important;
  padding: 8px 11px 14px !important;
  box-sizing: border-box;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) rgba(255, 255, 255, 0.045);
}

.catalog__list::-webkit-scrollbar { width: 5px; }
.catalog__list::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.045); }
.catalog__list::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
}
.catalog__list::-webkit-scrollbar-thumb:hover { background: rgba(255, 154, 91, 0.52); }

.catalog__group {
  margin-top: 5px;
}

.catalog__group.catalog-group-filtered,
.catalog__item.catalog-filtered {
  display: none !important;
}

.catalog__group-title {
  height: 30px;
  margin: 0 3px 7px !important;
  padding: 0 4px !important;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #aeb6c3 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 30px;
  letter-spacing: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065) !important;
}

.catalog__group-title::before {
  position: static !important;
  width: 3px !important;
  height: 12px !important;
  flex: 0 0 3px;
  background: #d96b31 !important;
  transform: none !important;
}

.catalog__group-title em {
  color: #687281;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.catalog__group-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.catalog__item {
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 10px 0 12px;
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  color: #c6ccd6 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  border: 1px solid rgba(255, 255, 255, 0.065) !important;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.028);
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.catalog__item:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-1px);
}

.catalog__item .index {
  width: 28px;
  margin: 0 !important;
  flex: 0 0 28px;
  color: #707a89;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  overflow: visible;
}

.catalog__item .comic-title {
  min-width: 0;
  max-width: none !important;
  flex: 1;
  color: inherit;
  font-weight: 600;
  line-height: 18px;
}

.aside__catalog .catalog__item.current-chapter {
  color: #fff !important;
  border-color: rgba(255, 129, 57, 0.26) !important;
  background: linear-gradient(90deg, rgba(255, 104, 32, 0.18), rgba(255, 104, 32, 0.035)) !important;
  box-shadow: inset 3px 0 0 #e8793b, 0 0 18px rgba(255, 98, 14, 0.07);
}

.aside__catalog .catalog__item.current-chapter .index { color: #ffad77; }

.catalog__reading {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: #ffad77;
}

.catalog__reading i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #ff8a45;
  box-shadow: 0 0 8px rgba(255, 122, 54, 0.75);
}

.catalog__reading em {
  font-size: 10px;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
}

.catalog__list[data-view="grid"] .catalog__group-items {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.catalog__list[data-view="grid"] .catalog__item {
  height: 48px !important;
  padding: 0 5px;
  justify-content: center;
}

.catalog__list[data-view="grid"] .catalog__item .index {
  width: auto;
  flex: 0 0 auto;
  color: #aeb6c3;
  font-size: 13px;
}

.catalog__list[data-view="grid"] .catalog__item .comic-title,
.catalog__list[data-view="grid"] .catalog__item > .icon-rd-cion,
.catalog__list[data-view="grid"] .catalog__item > .icon-rd-vip,
.catalog__list[data-view="grid"] .catalog__reading em {
  display: none;
}

.catalog__list[data-view="grid"] .catalog__reading {
  position: absolute;
  right: 6px;
  top: 6px;
}

.catalog__empty {
  padding: 42px 20px 46px;
  color: #747e8d;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

.catalog__tool:focus-visible,
.catalog__search-clear:focus-visible,
.catalog__item:focus-visible {
  outline: 2px solid rgba(255, 145, 82, 0.75);
  outline-offset: 2px;
}

.rd-guess {
  top: auto !important;
  left: 24px !important;
  bottom: 24px;
  width: 144px !important;
  height: min(520px, calc(100vh - 110px)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
  background: rgba(27, 29, 34, 0.78) !important;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.36) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rd-guess__comic-wr {
  position: relative;
  width: 100% !important;
  height: calc(100% - 48px);
  margin-left: 0 !important;
  padding: 10px 10px 24px !important;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  scrollbar-gutter: stable;
}

.rd-guess__comic {
  width: 112px !important;
  height: 149px !important;
  margin: 0 auto 16px !important;
  overflow: visible !important;
}

.rd-guess__comic a {
  position: relative;
  box-sizing: border-box;
}

.rd-guess__comic .guess-cover {
  opacity: 1;
  transition: opacity 180ms ease, transform 500ms ease !important;
}

.rd-guess__comic.is-loading a,
.rd-guess__comic.is-error a {
  background: linear-gradient(135deg, #e9edf3, #dfe5ed) !important;
}

.rd-guess__comic.is-loading .guess-cover,
.rd-guess__comic.is-error .guess-cover {
  opacity: 0;
}

.rd-guess__comic.is-loading a::before,
.rd-guess__comic.is-error a::before {
  content: "漫";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 140, 255, 0.16);
  border-radius: 8px;
  color: rgba(55, 96, 180, 0.34);
  font-size: 18px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.rd-guess__comic.is-loading a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.68) 48%, transparent 62%);
  transform: translateX(-100%);
  animation: guess-cover-shimmer 1.5s ease-in-out infinite;
  z-index: 1;
}

.rd-guess__comic.is-error a::before {
  content: "!";
  color: #8b94a3;
  border-color: rgba(80, 88, 102, 0.12);
}

.rd-guess__comic:hover a {
  transform: translateY(-2px) !important;
}

.rd-guess__comic:hover img {
  transform: scale(1.04) !important;
}

.rd-guess.slide-up {
  width: 46px !important;
  height: 46px !important;
  border-radius: 10px;
}

html.reader-guess-collapsed .rd-guess {
  width: 46px !important;
  height: 46px !important;
  border-radius: 10px;
  transition: none !important;
}

html.reader-guess-collapsed .rd-guess__comic-wr {
  display: none !important;
}

.theme-white .read__header,
.theme-white .rd-aside,
.theme-white .rd-guess,
.theme-white .aside__catalog {
  color: #242832;
  background: rgba(248, 249, 252, 0.88) !important;
  border-color: rgba(20, 24, 32, 0.1);
}

.theme-white .read__crumb a,
.theme-white .read__crumb .comic-title {
  color: #2c313b !important;
}

.theme-white .read__crumb .last-crumb {
  color: #5f6876 !important;
}

.theme-white .read__crumb .iconfont {
  color: #8b93a0 !important;
}

.theme-white .rd-guess__handle {
  color: #454c58 !important;
  background: rgba(41, 48, 62, 0.06) !important;
  border-bottom-color: rgba(41, 48, 62, 0.08) !important;
}

.theme-white .aside__catalog {
  color: #303744;
  border-color: rgba(34, 40, 52, 0.11);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(239, 242, 247, 0.97)) !important;
  box-shadow: 0 22px 60px rgba(41, 48, 62, 0.2), inset 0 1px 0 #fff !important;
}

.theme-white .catalog__head {
  border-bottom-color: rgba(34, 40, 52, 0.08);
  background: rgba(255, 255, 255, 0.46);
}

.theme-white .catalog__title { color: #273142; }
.theme-white .catalog__total { color: #7a8493; }

.theme-white .catalog__tool {
  color: #657080;
  border-color: rgba(34, 40, 52, 0.1);
  background: rgba(34, 40, 52, 0.035);
}

.theme-white .catalog__tool:hover,
.theme-white .catalog__tool[aria-pressed="true"] {
  color: #c75b25;
  border-color: rgba(199, 91, 37, 0.22);
  background: rgba(218, 104, 47, 0.075);
}

.theme-white .catalog__search {
  color: #788392;
  border-color: rgba(34, 40, 52, 0.1);
  background: rgba(34, 40, 52, 0.035);
}

.theme-white .catalog__search:focus-within {
  border-color: rgba(34, 40, 52, 0.16);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(34, 40, 52, 0.035);
}

.theme-white .catalog__search > .iconfont { color: #7a8493; }
.theme-white .catalog__search-input { color: #303744; }
.theme-white .catalog__search-input::placeholder { color: #9199a5; }
.theme-white .catalog__search-clear { color: #7a8493; }
.theme-white .catalog__search-clear:hover { color: #303744; background: rgba(34, 40, 52, 0.06); }

.theme-white .catalog__list {
  scrollbar-color: rgba(34, 40, 52, 0.24) rgba(34, 40, 52, 0.045);
}

.theme-white .catalog__list::-webkit-scrollbar-track { background: rgba(34, 40, 52, 0.045); }
.theme-white .catalog__list::-webkit-scrollbar-thumb { background: rgba(34, 40, 52, 0.2); }
.theme-white .catalog__list::-webkit-scrollbar-thumb:hover { background: rgba(199, 91, 37, 0.48); }

.theme-white .catalog__group-title {
  color: #677281 !important;
  border-bottom-color: rgba(34, 40, 52, 0.075) !important;
}

.theme-white .catalog__group-title em { color: #9aa2ae; }

.theme-white .catalog__item {
  color: #505b6b !important;
  border-color: rgba(34, 40, 52, 0.08) !important;
  background: rgba(255, 255, 255, 0.52);
}

.theme-white .catalog__item:hover {
  color: #242c38 !important;
  border-color: rgba(34, 40, 52, 0.14) !important;
  background: #fff;
}

.theme-white .catalog__item .index { color: #8c95a2; }

.theme-white .aside__catalog .catalog__item.current-chapter {
  color: #873d18 !important;
  border-color: rgba(199, 91, 37, 0.22) !important;
  background: linear-gradient(90deg, rgba(218, 104, 47, 0.14), rgba(218, 104, 47, 0.025)) !important;
  box-shadow: inset 3px 0 0 #d66a31, 0 0 16px rgba(199, 91, 37, 0.05);
}

.theme-white .aside__catalog .catalog__item.current-chapter .index,
.theme-white .catalog__reading { color: #c75b25; }

.theme-white .catalog__empty { color: #858e9b; }

.theme-white .rd-article__end {
  color: #273142;
  border-color: rgba(34, 40, 52, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 249, 0.94));
  box-shadow: 0 20px 54px rgba(41, 48, 62, 0.12);
}

.theme-white .chapter-complete__eyebrow {
  color: #c75b25;
  border-color: rgba(199, 91, 37, 0.2);
  background: rgba(218, 104, 47, 0.075);
}

.theme-white .chapter-complete__title,
.theme-white .rd-article__end .last-chapter .txt1 {
  color: #273142;
}

.theme-white .rd-article__end .last-chapter .txt2 {
  color: #727c8b;
}

.theme-white .rd-article__end .end__handles .btn--collect,
.theme-white .rd-article__end .chapter-complete__detail {
  color: #596474;
  border-color: rgba(34, 40, 52, 0.11);
  background: rgba(34, 40, 52, 0.04);
}

.theme-white .rd-article__end .end__handles .btn--collect:hover,
.theme-white .rd-article__end .chapter-complete__detail:hover {
  color: #273142;
  border-color: rgba(34, 40, 52, 0.18);
  background: rgba(34, 40, 52, 0.075);
}

.theme-white .rd-article__end .end__handles .btn--collect.hl {
  color: #e96616;
  border-color: rgba(233, 102, 22, 0.25);
  background: rgba(255, 122, 36, 0.09);
}

.theme-white .rd-article__end .btn--next-chapter {
  color: #fff !important;
  border-color: rgba(199, 91, 37, 0.28);
  background: linear-gradient(135deg, #d86b2f, #bf5420) !important;
  box-shadow: 0 12px 28px rgba(167, 70, 25, 0.22) !important;
}

.theme-white .rd-article__end .btn--next-chapter:hover {
  color: #fff !important;
  border-color: rgba(199, 91, 37, 0.42);
  background: linear-gradient(135deg, #df7438, #c65c27) !important;
  box-shadow: 0 15px 32px rgba(167, 70, 25, 0.28) !important;
}

.theme-white .rd-article__end .btn--next-chapter__label,
.theme-white .rd-article__end .btn--next-chapter .iconfont {
  color: #fff;
}


.theme-white .rd-guess__comic a {
  background: #fff !important;
  border-color: rgba(34, 40, 52, 0.1) !important;
  box-shadow: 0 6px 18px rgba(38, 45, 58, 0.12) !important;
}

.theme-white .rd-guess__comic:hover a {
  border-color: rgba(255, 122, 36, 0.35) !important;
  box-shadow: 0 10px 24px rgba(38, 45, 58, 0.16) !important;
}

.theme-white .rd-aside__item {
  color: #626b78;
}

.theme-white .reader-page-counter {
  color: #303642;
  border-color: rgba(20, 24, 32, 0.1);
  background: rgba(248, 249, 252, 0.9);
}

.theme-white .read-container {
  background: radial-gradient(circle at 50% 8%, #fff 0, #f2f4f8 58%, #e7eaf0 100%) !important;
}

.theme-white .rd-article-wr {
  box-shadow: 0 24px 70px rgba(41, 48, 62, 0.16) !important;
}

.rd-article__end.reader-end-incomplete .chapter-complete__check { display: none; }
.reader-page-counter__failure { display: none; }
.reader-counter-failed .reader-page-counter__position { display: none; }
.reader-counter-failed .reader-page-counter__failure { display: inline; }
.rd-article__end .reader-failure-catalog { display: none; }
.rd-article__end.reader-end-failed {
  box-sizing: border-box; width: min(560px, calc(100% - 48px)) !important;
  margin: 0 auto 80px !important; padding: 20px 24px !important;
  border: 1px solid #363e49 !important; border-radius: 0 0 16px 16px !important;
  background: #242830 !important; box-shadow: none !important;
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.reader-end-failed .chapter-complete__heading { display: none; }
.reader-end-failed .end__handles { display: contents; }
.reader-end-failed .end__handles::before, .reader-end-failed .end__handles::after { display: none; }
.reader-end-failed .end__handles > :not(.reader-failure-catalog) { display: none !important; }
.rd-article__end.reader-end-failed .reader-failure-catalog {
  display: inline-flex; order: 1; width: 100%; min-width: 0; margin: 0;
}
.reader-end-failed .last-chapter { grid-column: 1 / -1; order: 0; }
.rd-article__end.reader-end-failed .btn--next-chapter {
  margin: 0 !important; width: 100% !important; height: 44px !important; order: 2;
  background: transparent !important; box-shadow: none !important;
  border: 1px solid #515c6d; color: #dce5f2 !important;
}
.reader-end-failed .btn--next-chapter__label { color: inherit !important; font-size: 15px !important; }
.rd-article__end.reader-end-failed .btn--next-chapter .iconfont { color: inherit; }
.theme-white .rd-article__end.reader-end-failed { background: #f7f9fc !important; border-color: #d9e0e9 !important; }
.theme-white .rd-article__end.reader-end-failed .btn--next-chapter { color: #384e6e !important; border-color: #c4cfde; }

@keyframes reader-page-shimmer {
  60%, 100% { transform: translateX(100%); }
}

@keyframes guess-cover-shimmer {
  60%, 100% { transform: translateX(100%); }
}

@media (max-width: 1260px) {
  .rd-guess { display: none; }
  .rd-article-wr { width: min(800px, calc(100vw - 150px)) !important; }
}

@media (max-width: 1060px) {
  .read__crumb { max-width: 390px; }
  .rd-aside {
    right: 14px !important;
    bottom: 14px;
    width: 60px !important;
    height: auto !important;
    flex-direction: column;
  }
  .rd-aside__item .txt {
    left: auto;
    right: 56px;
    bottom: 50%;
    transform: translate(6px, 50%);
  }
  .rd-aside__item:hover > .txt {
    transform: translate(0, 50%);
  }
  .aside__catalog {
    right: 62px !important;
    bottom: 0;
  }
  .rd-article-wr { width: 800px !important; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .read__header,
  .reader-progress__bar,
  .rd-aside__item,
  .rd-aside__item .txt {
    transition-duration: 0.01ms !important;
  }
  .rd-article__pic.reader-page-loading::after {
    animation: none;
  }
  .rd-guess__comic.is-loading a::after {
    animation: none;
  }
}
