.orig-page {
  background: #faf9f6;
  padding: 24px 0 64px;
}

.orig-page .breadcrumb {
  margin-bottom: 24px;
}

.orig-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 445px;
  gap: 24px;
  align-items: start;
}

.orig-main {
  min-width: 0;
}

.orig-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
}

.orig-title i {
  width: 4px;
  height: 32px;
  background: #940a0a;
}

.orig-rule {
  height: 1px;
  background: #e2e2e2;
  margin: 8px 0 24px;
}

.orig-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: #f3f3f3;
  padding: 16px;
  margin-bottom: 24px;
}

.orig-cats strong {
  font-size: 14px;
  line-height: 22px;
  padding-right: 8px;
}

.orig-cats button {
  border: 0;
  background: transparent;
  font-size: 14px;
  line-height: 22px;
  color: #555;
  cursor: pointer;
}

.orig-cats button.is-active {
  color: #940a0a;
  font-weight: 500;
}

.orig-works {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 64px;
}

.orig-item {
  display: flex;
  gap: 16px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(226, 226, 226, 0.5);
  color: inherit;
}

.orig-cover {
  width: 96px;
  height: 128px;
  flex-shrink: 0;
  border: 1px solid #e2e2e2;
  background: #e2e2e2;
  overflow: hidden;
}

.orig-cover img {
  width: 96px;
  height: 128px;
  object-fit: cover;
}

.orig-item h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
}

.orig-item .author {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.orig-subtitle {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  color: #1a1c1c;
  margin: 32px 0 16px;
}

.orig-subtitle:first-of-type {
  margin-top: 0;
}

.orig-works--articles {
  margin-bottom: 24px;
}

.orig-empty {
  font-size: 14px;
  color: #888;
  padding: 16px 0;
}

.orig-item p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 22px;
  color: #555;
  opacity: 0.8;
}

.pager--orig button,
.pager--orig a,
.pager--orig span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #e2e2e2;
  border-radius: 0;
  color: #5a403d;
  text-decoration: none;
  background: #fff;
}

.pager--orig button.is-active,
.pager--orig span.is-active {
  background: #940a0a;
  border-color: #940a0a;
  color: #fff;
}

.pager--orig button.is-disabled,
.pager--orig span.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.pager--orig img {
  width: 6px;
  height: 9px;
}

.orig-side .side-box__head i {
  height: 20px;
  background: #940a0a;
}

.orig-side .side-box__head h2 {
  font-size: 20px;
  line-height: 28px;
}

.orig-side .hot-list {
  gap: 16px;
}

.book-page {
  position: relative;
  background: #faf9f6;
  padding: 24px 0 64px;
  overflow: hidden;
}

.book-page .breadcrumb {
  margin-bottom: 24px;
}

.book-page .breadcrumb img {
  width: 5px;
  height: 8px;
}

.book-page__bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 411px;
  pointer-events: none;
}

.book-page__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
}

.book-page .container {
  position: relative;
  z-index: 1;
}

.book-hero {
  display: flex;
  align-items: stretch;
  gap: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.book-cover {
  width: 280px;
  height: 373px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.book-cover img {
  width: 280px;
  height: 373px;
  object-fit: cover;
}

.book-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 8px 0;
}

.book-info h1 {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 56px;
  letter-spacing: -1px;
  font-weight: 600;
  color: #1a1c1c;
}

.book-info .author {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: rgba(26, 28, 28, 0.8);
}

.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.book-tags span {
  background: rgba(226, 226, 226, 0.7);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #555;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.book-syn {
  position: relative;
  margin-top: 24px;
  font-size: 16px;
  line-height: 26px;
  color: #555;
}

.book-syn::before {
  content: "“";
  position: absolute;
  left: -16px;
  top: 40px;
  transform: translateY(-50%);
  font-size: 80px;
  line-height: 80px;
  color: #dadada;
  opacity: 0.2;
  font-family: Georgia, "Liberation Serif", serif;
  font-weight: 700;
  pointer-events: none;
}

.book-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  align-self: flex-start;
  background: #940a0a;
  color: #fff;
  border-radius: 4px;
  padding: 13px 32px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.7px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.book-read:hover {
  background: #6c0003;
}

.book-read img {
  width: 22px;
  height: 19.5px;
}

.toc {
  margin-top: 64px;
}

.toc h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 32px;
  margin-bottom: 32px;
}

.toc-list {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  overflow: hidden;
}

.toc-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #1a1c1c;
  border-bottom: 1px solid #e2e2e2;
}

.toc-list a:last-child {
  border-bottom: 0;
}

.toc-list a:hover {
  background: rgba(155, 27, 27, 0.03);
}

.toc-list a:hover span {
  color: #6c0003;
}

.toc-list img {
  width: 13.33px;
  height: 13.33px;
  flex-shrink: 0;
}

.chapter-page {
  background: #fdfbf7;
  padding: 24px 0 96px;
}

.chapter-page .breadcrumb {
  margin-bottom: 24px;
}

.chapter-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 48px;
}

.chap-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(226, 226, 226, 0.3);
}

.chap-nav a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 22px;
  color: rgba(90, 64, 61, 0.7);
}

.chap-nav a.toc-link {
  font-size: 16px;
  color: #1a1c1c;
}

.chap-nav img.prev,
.chap-nav img.next {
  width: 8px;
  height: 13px;
}

.chap-nav img.toc-ico {
  width: 17px;
  height: 12px;
}

.chap-head {
  text-align: center;
  margin: 64px 0 16px;
}

.chap-head h1 {
  font-size: 40px;
  line-height: 56px;
  font-weight: 400;
}

.chap-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 22px;
  color: #555;
}

.chap-body {
  opacity: 0.9;
  padding-bottom: 32px;
}

.chap-body p {
  font-size: 18px;
  line-height: 40.5px;
  color: #1a1c1c;
  text-indent: 32px;
  text-align: justify;
}

.chap-body p + p {
  margin-top: 24px;
}

.chap-body .sep {
  text-align: center;
  text-indent: 0;
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 8px;
  margin: 24px 0;
}

.chap-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 33px;
  border-top: 1px solid rgba(226, 226, 226, 0.3);
}

.chap-foot a {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chap-foot a.next {
  align-items: flex-end;
  text-align: right;
}

.chap-foot small {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.6px;
  color: #5a403d;
}

.chap-foot strong {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: #333;
}

.chap-menu {
  width: 48px;
  height: 48px;
  border: 1px solid #e2e2e2;
  border-radius: 9999px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.chap-menu img {
  width: 18px;
  height: 10px;
}

.float-acts {
  position: fixed;
  right: 32px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 20;
}

.float-acts a {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(226, 226, 226, 0.5);
  border-radius: 9999px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.float-acts img.comment {
  width: 17px;
  height: 17px;
}

.float-acts img.top {
  width: 12px;
  height: 7px;
}

.float-acts .to-top {
  opacity: 0;
  pointer-events: none;
}

.float-acts .to-top.is-on {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1200px) {
  .orig-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .book-cover,
  .book-cover img {
    width: 200px;
    height: 266px;
  }
  .book-info h1,
  .chap-head h1 {
    font-size: 28px;
    line-height: 40px;
  }
}

@media (max-width: 768px) {
  .orig-layout,
  .book-hero {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .book-hero {
    align-items: center;
  }
  .book-cover,
  .book-cover img {
    width: 220px;
    height: 293px;
  }
  .book-info {
    width: 100%;
    padding: 0;
  }
  .book-info h1 {
    font-size: 24px;
    line-height: 34px;
    letter-spacing: 0;
  }
  .book-read {
    margin-top: 24px;
  }
  .toc h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 16px;
  }
  .toc-list a {
    padding: 14px 16px;
    font-size: 16px;
    line-height: 24px;
  }
  .chapter-wrap {
    padding: 0 16px;
  }
  .chap-foot {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .chap-foot a.next {
    align-items: flex-start;
    text-align: left;
  }
  .float-acts {
    right: 12px;
    bottom: 80px;
  }
}
