/* ==========================================================
   女神漫画 · xdseo.cn
   阅读专栏 / 书页排版风格
   ========================================================== */

:root {
  --ink: #2c3a45;
  --ink-soft: #5d6b76;
  --ink-faint: #8b949c;
  --blue: #5b7c99;
  --blue-deep: #3f5f7a;
  --blue-soft: #e8eef3;
  --clay: #c1735a;
  --clay-soft: #f6e7e1;
  --paper: #f7f4ee;
  --paper-2: #fffdf8;
  --line: #ded7c9;
  --line-soft: #ece6da;
  --serif: "Songti SC", "Noto Serif SC", SimSun, "宋体", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --shadow: 0 18px 40px -24px rgba(44, 58, 69, .35);
  --radius: 4px;
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  background-image:
    linear-gradient(90deg, rgba(91, 124, 153, .045) 1px, transparent 1px);
  background-size: 72px 100%;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: .01em; margin: 0; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 99;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 2px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 头部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 238, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.head-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand-txt strong { font-family: var(--serif); font-size: 19px; letter-spacing: .06em; }
.brand-txt em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: .26em;
  color: var(--ink-faint);
  margin-top: 2px;
}

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--clay);
  transition: width .25s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.btn-top {
  flex: 0 0 auto;
  background: var(--blue-deep);
  color: #fff;
  font-size: 14px;
  letter-spacing: .04em;
  padding: 10px 22px;
  border-radius: 2px;
  transition: background .2s, transform .2s;
}
.btn-top:hover { background: var(--ink); transform: translateY(-1px); }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.burger span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */

.hero { padding: 74px 0 64px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--clay);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow span { width: 34px; height: 1px; background: var(--clay); }

.hero h1 {
  font-size: clamp(44px, 6.4vw, 74px);
  line-height: 1.08;
  letter-spacing: .04em;
  margin-bottom: 16px;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(18px, 2.1vw, 23px);
  color: var(--blue-deep);
  margin-bottom: 20px;
}

.lede {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 33em;
  line-height: 1.9;
}

.dl-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn-hero {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  background: var(--clay);
  color: #fff;
  padding: 14px 34px;
  border-radius: 2px;
  box-shadow: 0 14px 26px -16px rgba(193, 115, 90, .9);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-hero strong { font-size: 19px; letter-spacing: .1em; font-weight: 700; }
.btn-hero em { font-style: normal; font-size: 11.5px; opacity: .88; letter-spacing: .05em; }
.btn-hero:hover {
  background: #aa5f47;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -16px rgba(193, 115, 90, .95);
}

.link-quiet {
  font-size: 14px;
  color: var(--blue-deep);
  border-bottom: 1px solid rgba(91, 124, 153, .4);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.link-quiet:hover { color: var(--clay); border-color: var(--clay); }

.facts {
  display: flex;
  gap: 42px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.facts li { display: flex; flex-direction: column; }
.facts b { font-family: var(--serif); font-size: 23px; color: var(--blue-deep); line-height: 1.2; }
.facts span { font-size: 12.5px; color: var(--ink-faint); letter-spacing: .04em; margin-top: 4px; }

/* 书堆 */

.stack {
  position: relative;
  height: 520px;
}

.st-card {
  position: absolute;
  width: 62%;
  margin: 0;
  background: #fff;
  padding: 8px 8px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, .05);
}
.st-card img { width: 100%; }

.st-back {
  top: 26px;
  left: 0;
  transform: rotate(-7deg);
  z-index: 1;
  opacity: .92;
}
.st-mid {
  top: 0;
  right: 2%;
  transform: rotate(5deg);
  z-index: 2;
}
.st-front {
  top: 96px;
  left: 20%;
  transform: rotate(-1.5deg);
  z-index: 3;
  width: 58%;
}

.st-note {
  position: absolute;
  right: 0;
  bottom: 8px;
  z-index: 4;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 10px 14px;
  transform: rotate(-3deg);
  box-shadow: 0 10px 20px -14px rgba(44, 58, 69, .5);
}
.st-note::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 34px;
  height: 11px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(193, 115, 90, .28);
}

/* ---------- 分隔带 ---------- */

.rule-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 24px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--blue-deep);
  letter-spacing: .18em;
  background: var(--paper-2);
}
.rule-band i { width: 4px; height: 4px; border-radius: 50%; background: var(--clay); opacity: .75; }

/* ---------- 通用板块 ---------- */

.section { padding: 76px 0; }

.sec-head { margin-bottom: 44px; max-width: 760px; }
.sec-no {
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--clay);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.sec-head h2 {
  font-size: clamp(25px, 3.3vw, 35px);
  line-height: 1.3;
  margin-bottom: 10px;
}
.sec-note { font-size: 14px; color: var(--ink-faint); }

/* ---------- 01 书单 ---------- */

.book-list { border-top: 1px solid var(--line); }

.book {
  display: grid;
  grid-template-columns: 54px 96px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.book:hover { background: rgba(255, 253, 248, .8); }

.bk-no {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-faint);
  letter-spacing: .08em;
}

.bk-cover { display: block; width: 96px; overflow: hidden; box-shadow: 0 10px 20px -14px rgba(44, 58, 69, .6); }
.bk-cover img { width: 100%; transition: transform .4s ease; }
.book:hover .bk-cover img { transform: scale(1.045); }

.bk-meta { font-size: 12px; letter-spacing: .1em; color: var(--blue); margin-bottom: 6px; }
.bk-body h3 { font-size: 21px; margin-bottom: 6px; }
.bk-body h3 a { transition: color .2s; }
.bk-body h3 a:hover { color: var(--clay); }
.bk-body > p:last-child { font-size: 14.5px; color: var(--ink-soft); line-height: 1.75; max-width: 46em; }

.bk-go {
  font-size: 13.5px;
  color: var(--blue-deep);
  border: 1px solid var(--line);
  padding: 8px 20px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.bk-go:hover { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }

/* ---------- 02 长评 ---------- */

.sec-voices {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.voices { display: flex; flex-direction: column; gap: 8px; }

.voice {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-top: 1px solid var(--line-soft);
}
.voice:first-child { border-top: none; padding-top: 0; }

.vq {
  font-family: var(--serif);
  font-size: 62px;
  line-height: .8;
  color: var(--clay);
  opacity: .5;
}

.v-body h3 { font-size: 20px; margin-bottom: 12px; }
.v-body > p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.95;
  max-width: 52em;
}

.v-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-faint);
}
.av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 13px;
  color: #fff;
  font-family: var(--serif);
}
.av-1 { background: var(--blue); }
.av-2 { background: var(--clay); }
.av-3 { background: #7e8d72; }
.v-name { color: var(--ink); font-weight: 600; }
.v-stars { color: #d99b3d; letter-spacing: .08em; }
.v-src { margin-left: auto; }

/* ---------- 03 更新日历 ---------- */

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.day {
  padding: 18px 14px 22px;
  border-right: 1px solid var(--line-soft);
  min-height: 178px;
}
.day:last-child { border-right: none; }

.d-name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .06em;
}
.d-date {
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.day ul li {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  padding: 7px 0 7px 12px;
  position: relative;
  border-top: 1px dashed var(--line-soft);
}
.day ul li:first-child { border-top: none; }
.day ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.day-hi { background: var(--clay-soft); }
.day-hi .d-name { color: #a8543c; }
.day-hi ul li::before { background: var(--clay); }

.day-rest { background: rgba(91, 124, 153, .05); }
.day-rest ul li::before { background: var(--ink-faint); }

.week-note {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 14px;
}

/* ---------- 04 在线阅读 ---------- */

.sec-read { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.how-steps h3 { font-size: 21px; margin-bottom: 22px; }
.how-steps ol { display: flex; flex-direction: column; gap: 20px; }
.how-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; }
.how-steps li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--blue);
  color: var(--blue-deep);
  border-radius: 50%;
  font-size: 13px;
  font-family: var(--serif);
}
.how-steps strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.how-steps p { font-size: 14px; color: var(--ink-soft); }

.cmp-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 14px;
}
.cmp-table caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 22px;
  color: var(--ink);
}
.cmp-table th,
.cmp-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.cmp-table thead th {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-faint);
  font-weight: 500;
  text-transform: uppercase;
}
.cmp-table tbody th { font-weight: 500; color: var(--ink); }
.cmp-table td { color: var(--ink-soft); }
.cmp-table .yes { color: var(--clay); font-weight: 600; }

/* ---------- 05 FAQ ---------- */

.faq-wrap { display: grid; grid-template-columns: .78fr 1.22fr; gap: 56px; align-items: start; }
.faq-wrap .sec-head { margin-bottom: 0; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  font-size: 15.5px;
  font-family: var(--serif);
  position: relative;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  font-size: 20px;
  color: var(--clay);
  font-family: var(--sans);
  transition: transform .25s;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--clay); }
.faq details p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  padding: 0 34px 20px 0;
  margin-top: -4px;
}

/* ---------- 结尾 CTA ---------- */

.final {
  background: var(--ink);
  color: #f2ece1;
  padding: 66px 0;
}
.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
}
.final-kicker {
  font-size: 11.5px;
  letter-spacing: .22em;
  color: rgba(242, 236, 225, .55);
  margin-bottom: 12px;
}
.final h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.final p { font-size: 14.5px; color: rgba(242, 236, 225, .72); max-width: 40em; }
.btn-final { background: var(--clay); flex: 0 0 auto; }

/* ---------- 页脚 ---------- */

.site-footer {
  background: #23303a;
  color: rgba(242, 236, 225, .6);
  padding: 30px 0;
  font-size: 12.5px;
}
.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.f-brand { color: rgba(242, 236, 225, .92); letter-spacing: .06em; }

/* ---------- 响应式 ---------- */

@media (max-width: 1000px) {
  .shell { width: calc(100% - 40px); }

  .hero { padding: 52px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .stack { height: 430px; max-width: 480px; margin: 0 auto; width: 100%; }

  .book { grid-template-columns: 40px 82px 1fr; gap: 18px; }
  .bk-cover { width: 82px; }
  .bk-go { display: none; }

  .week { grid-template-columns: repeat(4, 1fr); }
  .day { border-bottom: 1px solid var(--line-soft); }
  .day:nth-child(4n) { border-right: none; }
  .day:nth-last-child(-n+3) { border-bottom: none; }

  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .faq-wrap .sec-head { margin-bottom: 4px; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 6px 20px 14px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }

  .burger { display: flex; margin-left: 4px; }
  .btn-top { padding: 9px 16px; font-size: 13px; }
  .brand-txt em { display: none; }

  .hero h1 { font-size: clamp(40px, 12vw, 54px); }
  .dl-row { gap: 16px; }
  .btn-hero { width: 100%; align-items: center; }
  .facts { gap: 26px; justify-content: space-between; }
  .facts b { font-size: 20px; }

  .stack { height: 372px; }
  .st-front { width: 64%; left: 16%; top: 76px; }
  .st-note { font-size: 12.5px; padding: 8px 11px; }

  .rule-band { gap: 12px; font-size: 12.5px; letter-spacing: .1em; }

  .section { padding: 52px 0; }
  .sec-head { margin-bottom: 30px; }

  .book {
    grid-template-columns: 70px 1fr;
    gap: 16px;
    padding: 18px 0;
    align-items: start;
  }
  .bk-no { display: none; }
  .bk-cover { width: 70px; grid-row: span 2; }
  .bk-body h3 { font-size: 18px; }
  .bk-body > p:last-child {
    font-size: 13.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .bk-meta { font-size: 11px; }

  .voice { grid-template-columns: 34px 1fr; gap: 14px; padding: 26px 0; }
  .vq { font-size: 44px; }
  .v-body h3 { font-size: 17.5px; }
  .v-body > p { font-size: 14px; }
  .v-src { margin-left: 0; width: 100%; }

  .week { grid-template-columns: repeat(2, 1fr); }
  .day:nth-child(2n) { border-right: none; }
  .day { min-height: 0; padding: 15px 13px 18px; }
  .day:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-soft); }
  .day:last-child { border-bottom: none; }

  .cmp-table th, .cmp-table td { padding: 11px 10px; font-size: 13px; }
  .faq summary { font-size: 14.5px; }
  .final { padding: 48px 0; }
  .btn-final { width: 100%; align-items: center; }
  .foot-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 400px) {
  .facts { flex-wrap: wrap; }
  .day { padding: 13px 11px 16px; }
  .day ul li { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
