:root {
  --deep: #041510; --deep-2: #0b241b; --gold: #d4ae6a; --gold-2: #f2d28e;
  --paper: #f8f2e7; --surface: var(--deep); --surface-raised: var(--deep-2);
  --text: var(--paper); --secondary: #b9c1b9; --accent: var(--gold); --line: rgba(212,174,106,.26);
  --serif: "Songti SC", "STSong", Georgia, serif; --sans: "PingFang SC", "Avenir Next", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--text); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
button, a, input, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, select { font: inherit; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; text-wrap: pretty; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
svg { display: block; width: 24px; height: 24px; }
img { max-width: 100%; height: auto; display: block; }
button:disabled { cursor: wait; opacity: .6; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 5; left: 16px; top: 8px; transform: translateY(-150%); padding: 12px 16px; background: var(--gold); color: var(--deep); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { max-width: 1200px; padding: 21px 30px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 18px; letter-spacing: 2px; flex-shrink: 0; }
.brand-mark { width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--accent); font-size: 22px; }
.brand small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 2.5px; margin-top: 5px; color: var(--secondary); }
nav { display: flex; align-items: center; gap: 32px; font-size: 13px; color: var(--secondary); margin-left: auto; }
nav a { display: flex; align-items: center; min-height: 44px; }
.nav-current { color: var(--text); }
.language-switch { display: flex; border: 1px solid var(--line); padding: 2px; flex-shrink: 0; }
.language-switch button { border: 0; min-width: 42px; min-height: 40px; padding: 6px 8px; background: transparent; color: var(--secondary); font-size: 11px; }
.language-switch button[aria-pressed="true"] { color: var(--accent); background: var(--surface-raised); }
.listen-page { max-width: 1200px; padding: 0 30px; margin: auto; }
.breadcrumb { display: flex; gap: 16px; font-size: 12px; color: var(--secondary); padding: 25px 0 32px; align-items: center; }
.breadcrumb a { min-height: 30px; display: flex; align-items: center; }
.breadcrumb > span:last-child { color: var(--accent); }
.book-layout { display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 88px; padding: 13px 0 52px; }
.book-visual { padding-top: 3px; }
.cover-wrap { position: relative; box-shadow: 12px 18px 44px #0008; }
.cover-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 1px 0 #f2d28e40, inset -1px 0 #f2d28e30; }
.cover { width: 100%; aspect-ratio: 1054 / 1492; object-fit: contain; }
.cover-caption { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; font-size: 10px; letter-spacing: 1.5px; color: var(--secondary); }
.cover-caption span:last-child { letter-spacing: 2px; }
.cover-note { margin-top: 35px; padding-left: 19px; border-left: 1px solid var(--accent); font-size: 19px; font-family: var(--serif); line-height: 1.8; color: var(--accent); letter-spacing: 2px; max-width: 280px; }
.book-eyebrow { display: flex; align-items: center; gap: 20px; font-size: 12px; letter-spacing: 2px; color: var(--accent); }
.free-label { font-size: 11px; letter-spacing: 1px; border: 1px solid var(--line); padding: 5px 10px; }
h1#book-title { font-family: var(--serif); font-size: 66px; font-weight: 500; letter-spacing: 7px; line-height: 1.35; margin: 21px 0 8px; white-space: nowrap; }
h1#book-title > span { font-size: 27px; letter-spacing: 5px; padding-left: 21px; color: var(--accent); }
.book-subtitle { font-family: var(--serif); font-size: 21px; line-height: 1.65; letter-spacing: 1px; }
.publication { margin-top: 13px; font-size: 12px; color: var(--accent); letter-spacing: 1.5px; line-height: 1.7; }
.book-description { font-size: 14px; line-height: 1.9; color: var(--secondary); margin-top: 16px; }
.player { margin-top: 29px; padding: 25px 0 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.now-row { display: flex; align-items: center; justify-content: space-between; }
.small-label { font-size: 10px; letter-spacing: 2px; color: var(--accent); }
.audio-language { font-size: 11px; color: var(--secondary); }
#now-title { font-size: 18px; font-family: var(--serif); font-weight: 500; margin: 10px 0 20px; letter-spacing: .7px; line-height: 1.6; }
#now-title > span { font-size: 14px; color: var(--secondary); }
.timeline input { width: 100%; margin: 0; height: 28px; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; display: block; --played: 0%; }
.timeline input::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right,var(--accent) var(--played),var(--line) var(--played)); border-radius: 0; }
.timeline input::-moz-range-track { height: 3px; background: var(--line); }
.timeline input::-moz-range-progress { background: var(--accent); height: 3px; }
.timeline input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; background: var(--gold-2); width: 12px; height: 12px; border-radius: 50%; margin-top: -4.5px; }
.timeline input::-moz-range-thumb { border: 0; width: 12px; height: 12px; background: var(--gold-2); border-radius: 50%; }
.times { font-size: 11px; color: var(--secondary); font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; margin-top: 4px; letter-spacing: 1px; }
.player-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 12px; }
.transport { display: flex; align-items: center; gap: 23px; }
.skip { position: relative; width: 44px; height: 44px; border: 0; background: transparent; padding: 8px; color: var(--secondary); }
.skip svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.skip > span { position: absolute; inset: 16px 0 0; text-align: center; font-size: 9px; letter-spacing: 0; }
.skip:hover { color: var(--accent); }
.play { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--gold); border-radius: 50%; background: var(--gold); color: var(--deep); transition: background .2s,transform .2s; }
.play:hover { background: var(--gold-2); transform: scale(1.04); }
.play svg { fill: currentColor; width: 23px; height: 23px; }
.play .play-glyph { margin-right: 3px; }
.pause-glyph { display: none; }
.is-playing .play-glyph { display: none; }
.is-playing .pause-glyph { display: block; }
.playback-options { display: flex; gap: 10px; align-items: center; font-size: 11px; color: var(--secondary); }
select { color: var(--text); background: var(--surface-raised); border: 1px solid var(--line); padding: 10px 8px; min-height: 44px; font-size: 12px; cursor: pointer; }
.player-message { min-height: 17px; margin-top: 13px; font-size: 11px; color: var(--secondary); line-height: 1.6; }
.chapter-section { padding-top: 24px; }
.chapter-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 16px; }
.chapter-header h2 { font-family: var(--serif); font-size: 18px; font-weight: 500; flex-shrink: 0; }
.chapter-header > span { font-size: 11px; color: var(--secondary); text-align: right; line-height: 1.6; }
.chapter { display: grid; grid-template-columns: 28px minmax(0,1fr) 48px 26px; gap: 12px; align-items: center; text-align: left; width: 100%; min-height: 79px; border: 0; border-bottom: 1px solid var(--line); padding: 15px 14px; background: transparent; }
.chapter.active, .chapter:hover { background: var(--surface-raised); }
.chapter-number { font-size: 13px; font-family: Georgia,serif; color: var(--secondary); }
.chapter.active .chapter-number { color: var(--accent); }
.chapter-copy strong { font-family: var(--serif); font-size: 17px; font-weight: 500; display: block; line-height: 1.6; }
.chapter-copy small { display: block; font-size: 11px; color: var(--secondary); margin-top: 3px; line-height: 1.5; }
.chapter-time { font-size: 11px; color: var(--secondary); text-align: right; font-variant-numeric: tabular-nums; }
.chapter-indicator { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.chapter-indicator svg { fill: currentColor; width: 12px; height: 12px; margin-left: -1px; }
.listening-note { font-size: 11px; color: var(--secondary); margin-top: 15px; line-height: 1.7; }
.listen-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 11px; color: var(--secondary); padding: 24px 0 34px; gap: 20px; }
.listen-footer a { color: var(--accent); }
.noscript-note { margin-bottom: 28px; color: var(--secondary); line-height: 1.8; }
.noscript-note a { text-decoration: underline; color: var(--accent); }
html[data-language="en"] .book-eyebrow, html[data-language="en"] .publication { letter-spacing: .5px; }
@media (min-width: 1450px) { .book-layout { gap: 110px; grid-template-columns: 330px minmax(0,1fr); } }
@media (max-width: 1050px) {
  .book-layout { grid-template-columns: 260px minmax(0,1fr); gap: 48px; }
  h1#book-title { font-size: 53px; letter-spacing: 4px; }
  h1#book-title > span { font-size: 23px; padding-left: 14px; }
  .book-subtitle { font-size: 18px; }
  .book-description br { display: none; }
  nav { gap: 22px; }
}
@media (max-width: 760px) {
  .header-inner { padding: 15px 20px; gap: 16px; }
  .brand { font-size: 16px; gap: 10px; }
  .brand-mark { width: 34px; height: 34px; font-size: 18px; }
  .brand small { font-size: 8px; }
  .header-inner nav { gap: 0; font-size: 12px; }
  .header-inner nav > a:not(.home-link) { display: none; }
  .listen-page { padding: 0 22px; }
  .breadcrumb { padding: 16px 0 22px; font-size: 10px; gap: 11px; }
  .book-layout { grid-template-columns: 190px minmax(0,1fr); gap: 30px; padding: 0 0 34px; }
  .cover-note { font-size: 16px; letter-spacing: 1px; }
  .cover-caption { font-size: 8px; letter-spacing: .5px; flex-direction: column; gap: 7px; }
  .book-eyebrow { font-size: 10px; gap: 9px; letter-spacing: 1px; }
  .free-label { font-size: 9px; padding: 4px 6px; }
  h1#book-title { font-size: 37px; letter-spacing: 2px; margin-top: 17px; }
  h1#book-title > span { font-size: 17px; padding-left: 10px; letter-spacing: 2px; }
  .book-subtitle { font-size: 16px; }
  .book-description { font-size: 12px; margin-top: 12px; }
  .player { margin-top: 21px; }
  .transport { gap: 14px; }
}
@media (max-width: 600px) {
  .header-inner { gap: 12px; }
  .brand-mark { display: none; }
  .header-inner nav .home-link { font-size: 11px; }
  .language-switch button { min-width: 34px; min-height:44px; }
  .book-layout { display: grid; grid-template-columns: 128px minmax(0,1fr); column-gap: 22px; row-gap: 0; align-items: start; }
  .book-visual { display: block; grid-column: 1; grid-row: 1/5; padding: 0; min-width: 0; }
  .cover-wrap { box-shadow: 7px 11px 29px #0005; }
  .cover-note { display: none; }
  .cover-caption { display: flex; justify-content: center; align-items: center; margin-top: 12px; font-size: 10px; }
  .cover-caption span:first-child { display: none; }
  .book-content { display: contents; }
  .book-content > .book-eyebrow { grid-column: 2; grid-row: 1; display: block; line-height: 1.5; padding-top: 1px; font-size: 10px; }
  .book-content > .book-eyebrow .free-label { display: block; width: fit-content; margin-top: 8px; font-size: 9px; padding: 3px 6px; }
  h1#book-title { grid-column: 2; grid-row: 2; font-size: 32px; letter-spacing: 1px; margin: 13px 0 6px; line-height: 1.35; }
  h1#book-title > span { display: block; font-size: 18px; letter-spacing: 4px; padding: 0; margin-top: 5px; }
  .book-subtitle { grid-column: 2; grid-row: 3; font-size: 14px; letter-spacing: 0; line-height: 1.7; margin-top: 6px; }
  .publication { grid-column: 1/-1; grid-row: 5; font-size: 12px; margin-top: 23px; }
  .book-description { grid-column: 1/-1; grid-row: 6; font-size: 14px; line-height: 1.8; margin-top: 9px; }
  .book-description br { display: none; }
  .player { grid-column: 1/-1; grid-row: 7; margin-top: 24px; padding-top: 22px; width: 100%; }
  #now-title { font-size: 19px; margin-bottom: 18px; }
  .small-label { font-size: 11px; }
  .audio-language, .player-message, .listening-note, .times { font-size: 12px; }
  .transport { gap: 23px; }
  .play { width: 62px; height: 62px; }
  .playback-options { font-size: 12px; }
  .player-actions { margin-top: 15px; }
  .chapter-section { grid-column: 1/-1; grid-row: 8; padding-top: 25px; width: 100%; }
  .chapter-header h2 { font-size: 21px; }
  .chapter { padding: 17px 9px; grid-template-columns: 22px minmax(0,1fr) 44px 25px; gap: 8px; }
  .chapter-copy strong { font-size: 18px; }
  .chapter-copy small { font-size: 12px; }
  .listen-footer { font-size: 10px; flex-direction: column; padding: 24px 0; }
  html[data-language="en"] .chapter-copy strong { font-size: 16px; }
  html[data-language="en"] .book-subtitle { font-size: 13px; }
}
@media (max-width: 360px) {
  .book-layout { grid-template-columns: 112px minmax(0,1fr); column-gap: 16px; }
  h1#book-title { font-size: 28px; letter-spacing: 0; }
  .book-subtitle, .book-description { font-size: 13px; }
  .book-content > .book-eyebrow .free-label { font-size: 8px; }
  .chapter-header > span { font-size: 10px; }
  .chapter-copy strong { font-size: 16px; }
  .transport { gap: 14px; }
  .playback-options { gap: 6px; }
  html[data-language="en"] .playback-options { flex-direction:column;gap:2px; }
  .header-inner { padding-inline: 16px; gap: 8px; }
  .brand { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
