:root {
  --bg: #faf6f0;
  --card: #ffffff;
  --ink: #241f1b;
  --muted: #8a7f74;
  --accent: #b8632f;
  --accent-soft: #f3d9c8;
  --border: #ece2d6;
  --serif: "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  --sans: -apple-system, "PingFang SC", "Segoe UI", sans-serif;
  font-family: var(--sans);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

.lib-header {
  padding: 64px 24px 8px;
  text-align: center;
}
.lib-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.lib-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.1rem;
  letter-spacing: 0.5px;
}
.lib-tagline {
  margin: 14px auto 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.zh-inline-en { color: var(--muted); font-weight: 400; font-size: 0.8em; }

.shelf {
  max-width: 880px;
  margin: 56px auto 80px;
  padding: 0 24px;
}

/* ---- hero book ---- */
.hero-book {
  display: flex;
  gap: 48px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(36, 31, 27, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-book:hover {
  box-shadow: 0 24px 48px rgba(36, 31, 27, 0.12);
  border-color: var(--accent-soft);
}

.hero-cover {
  width: 240px;
  min-width: 240px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(36, 31, 27, 0.28);
}

.hero-info { min-width: 0; }
.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.hero-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
}
.hero-title-en {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--muted);
}
.hero-blurb {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink);
}
.hero-blurb--secondary { color: var(--muted); }
.hero-cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
}
.hero-cta-en { font-weight: 400; }

/* ---- more shelf ---- */
.more-shelf { margin-top: 64px; }
.more-shelf-title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.more-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.more-slot { flex-shrink: 0; text-align: center; }
.more-slot-cover {
  width: 90px;
  aspect-ratio: 2 / 3;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #fff 0%, var(--bg) 100%);
}
.more-slot-label {
  margin: 8px 0 0;
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: var(--muted);
}
.more-slot-note {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero-book { flex-direction: column; padding: 28px 24px; gap: 28px; }
  .hero-cover { width: 180px; min-width: 180px; }
  .hero-info { text-align: center; }
  .more-row { flex-direction: column; text-align: center; }
}
