* { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background: #fdfaf3;
    color: #2e2b26;
    line-height: 1.7;
  }
  a { text-decoration: none; color: inherit; }

  .page { max-width: 1060px; margin: 0 auto; padding: 0 24px 60px; }

  /* ---------- Top bar ---------- */
  .topbar {
    background:
      radial-gradient(1.6px 1.6px at 12% 30%, rgba(255,244,214,.8) 50%, transparent 51%),
      radial-gradient(1.4px 1.4px at 78% 40%, rgba(255,244,214,.7) 50%, transparent 51%),
      radial-gradient(1.8px 1.8px at 50% 70%, rgba(255,244,214,.6) 50%, transparent 51%),
      linear-gradient(135deg, #1d3452 0%, #29466e 100%);
    border-bottom: 5px solid #d9a441;
    padding: 16px 24px;
    position: sticky; top: 0; z-index: 60;
  }
  .topbar .inner { max-width: 1060px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
  .topbar a.back {
    color: #f3d488;
    font-size: 13.5px; letter-spacing: 1px;
    border: 1px solid rgba(217,164,65,.6);
    border-radius: 999px;
    padding: 5px 16px;
    transition: all .2s;
  }
  .topbar a.back:hover { background: #d9a441; color: #1d3452; border-color: #d9a441; }
  .topbar .crumb { color: #8fa2c0; font-size: 13px; letter-spacing: 1px; }
  .topbar .account-nav { margin-left: auto; }

  /* ---------- Book header ---------- */
  .book-head {
    display: flex; gap: 36px; align-items: center;
    padding: 44px 8px 38px;
    border-bottom: 1px dashed #e2d5bb;
  }
  .book-head .cover {
    flex-shrink: 0;
    width: 218px;
    box-shadow: 0 20px 44px rgba(30,30,60,.28);
    border-radius: 4px;
    transform: rotate(-2deg);
  }
  .book-head .cover img { display: block; width: 100%; height: auto; border-radius: 4px; }
  .book-head .info h1 {
    font-family: Georgia, "Songti SC", serif;
    font-size: 40px; color: #1d3452; letter-spacing: 3px;
  }
  .book-head .info h1 .en {
    display: block; font-size: 20px; font-style: italic;
    color: #5a6f8c; font-weight: normal; letter-spacing: 1px; margin-top: 6px;
  }
  .book-head .info .meta { margin-top: 12px; font-size: 13.5px; color: #8d8069; }
  .book-head .info .meta b { color: #1d3452; }
  .book-head .info .desc { margin-top: 14px; font-size: 14.5px; color: #4a443a; max-width: 600px; }
  .book-head .info .tags { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
  .book-head .info .tags span {
    font-size: 11.5px; letter-spacing: 1px;
    color: #1d3452; background: #f3e9d2;
    border: 1px solid #e0cfa6; border-radius: 999px; padding: 3px 12px;
  }

  /* ---------- Chapters ---------- */
  .chap-sec { padding: 40px 8px 0; }
  .chap-sec h2 {
    font-family: Georgia, "Songti SC", serif;
    font-size: 22px; color: #1d3452; letter-spacing: 2px;
    display: flex; align-items: center; gap: 12px;
  }
  .chap-sec h2 .en { font-size: 13px; font-style: italic; color: #9a8f7c; font-weight: normal; letter-spacing: 1px; }
  .chap-sec .progress { margin: 10px 0 22px; font-size: 13px; color: #8d8069; }
  .chap-sec .progress b { color: #1d3452; }
  .progress .bar {
    margin-top: 8px; height: 8px; width: 260px; max-width: 100%;
    background: #eadfc7; border-radius: 999px; overflow: hidden;
  }
  .progress .bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #d9a441, #e9c46a); border-radius: 999px; }

  .chap {
    display: flex; align-items: center; gap: 22px;
    background: #fffdf6;
    border: 1px solid #e4dbc4;
    border-radius: 14px;
    padding: 20px 26px;
    margin-bottom: 16px;
    transition: all .22s ease;
    box-shadow: 0 4px 14px rgba(70,52,20,.05);
  }
  .chap:hover {
    transform: translateX(8px);
    border-color: #c9a24b;
    box-shadow: 0 10px 26px rgba(70,52,20,.12);
    background: #fffdf0;
  }
  .chap .no {
    flex-shrink: 0;
    width: 66px; height: 66px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d3452, #29466e);
    color: #f3d488;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-size: 10px; letter-spacing: 1px;
  }
  .chap .no .num { font-family: Georgia, serif; font-size: 22px; color: #fff7e6; line-height: 1; }
  .chap .txt { flex: 1; min-width: 0; }
  .chap .txt h3 { font-size: 20px; color: #1d3452; letter-spacing: 1px; font-family: Georgia, "Songti SC", serif; }
  .chap .txt h3 .en { font-style: italic; font-size: 14px; color: #6b7f9c; font-weight: normal; margin-left: 10px; letter-spacing: .5px; }
  .chap .txt p { font-size: 13.5px; color: #7c7260; margin-top: 4px; }
  .chap .txt .feat { font-size: 12px; color: #a08c68; margin-top: 6px; }
  .chap .go {
    flex-shrink: 0;
    font-size: 13px; letter-spacing: 1px;
    color: #1d3452; border: 1px solid #cdb98a; border-radius: 999px;
    padding: 8px 18px;
    background: #fff;
    transition: all .2s;
    white-space: nowrap;
  }
  .chap:hover .go { background: #1d3452; color: #f3d488; border-color: #1d3452; }

  .note {
    margin-top: 26px;
    text-align: center;
    font-size: 12.5px; color: #9a8f7c;
    border-top: 1px dashed #e2d5bb;
    padding-top: 20px;
  }

  /* ---------- Footer ---------- */
  footer {
    background: #1d3452; color: #93a5c2;
    text-align: center; font-size: 12.5px;
    padding: 22px 20px; letter-spacing: 1px;
    border-top: 4px solid #d9a441;
  }
  footer .star { color: #d9a441; letter-spacing: 6px; font-size: 13px; margin-bottom: 6px; }

  @media (max-width: 760px) {
    .page { padding: 0 16px 48px; }
    .topbar { padding: 12px 16px; }
    .topbar .inner { min-width: 0; gap: 10px; }
    .topbar .crumb { min-width: 0; overflow-wrap: anywhere; }
    .book-head { flex-direction: column; text-align: center; gap: 22px; padding: 32px 0; }
    .book-head .cover { width: 180px; transform: none; }
    .book-head .info h1 { font-size: 30px; }
    .book-head .info h1 .en { overflow-wrap: anywhere; }
    .book-head .info .tags { justify-content: center; }
    .chap-sec { padding: 30px 0 0; }
    .chap { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px 14px; padding: 16px; }
    .chap:hover { transform: none; }
    .chap .no { width: 56px; height: 56px; }
    .chap .txt h3 { font-size: 18px; overflow-wrap: anywhere; }
    .chap .txt h3 .en { display: block; margin: 2px 0 0; overflow-wrap: anywhere; }
    .chap .go { grid-column: 2; justify-self: start; margin: 0; }
  }
  @media (max-width: 420px) {
    .page { padding: 0 12px 40px; }
    .chap { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 12px; padding: 14px; }
    .chap .no { width: 48px; height: 48px; font-size: 8px; }
    .chap .no .num { font-size: 19px; }
    .chap .txt h3 { font-size: 17px; }
  }
.book-head .empty-cover{display:flex;align-items:center;justify-content:center;width:218px;height:270px;background:linear-gradient(145deg,#29466e,#182d48);color:#e9c46a}

/* Reading progress */
.chapter-progress{display:flex;align-items:center;gap:9px;margin-top:10px}.chapter-progress>span{width:120px;height:6px;overflow:hidden;border-radius:999px;background:#eadfc7}.chapter-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d9a441,#e9c46a);transition:width .25s ease}.chapter-progress b{color:#7b6d55;font-size:11px;font-weight:500}.chap.is-complete .chapter-progress b{color:#347353}
