:root {
  color-scheme: light;
  --paper: #f9f7f1;
  --ink: #272921;
  --muted: #605e51;
  --line: #ddd8c9;
  --gold: #8b5e1f;
  --wash: #eee8da;
  --green: #29382c;
  --serif: Georgia, "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: system-ui, "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 30px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #926022; outline-offset: 4px; }
.wrap { width: min(1216px, calc(100% - 96px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; top: 8px; left: 8px; background: var(--paper); padding: 12px; }
.site-head { border-bottom: 1px solid var(--line); }
.topbar, .foot { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.watch-logo { display: inline-flex; align-items: center; gap: .28em; white-space: nowrap; font: 700 23px/1.1 var(--serif); letter-spacing: -.045em; }
.watch-logo .mark { color: #a77837; font: 24px/1 var(--sans); margin-right: 4px; }
.primary-nav, .regions, .foot nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.primary-nav a:hover, .foot nav a:hover, .regions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.regions { gap: 10px; color: var(--muted); font-size: 11px; }
.regions [aria-current] { background: var(--wash); color: var(--ink); border-radius: 20px; padding: 5px 9px; }
.language-picker select { background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:7px 26px 7px 12px;font-size:12px;max-width:145px;cursor:pointer; }
.watch-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; padding: 66px 0 74px; border-bottom: 1px solid var(--line); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; }
.watch-hero h1 { font-size: clamp(36px, 4vw, 61px); line-height: 1.21; letter-spacing: -.038em; margin: 0; }
:lang(zh) .watch-hero h1 { letter-spacing: -.05em; font-size: clamp(32px, 3.6vw, 55px); line-height: 1.35; }
.hero-copy > p { max-width: 500px; color: var(--muted); margin: 22px 0 25px; }
.hero-covers { position: relative; display: flex; align-items: center; justify-content: center; min-height: 334px; padding: 20px 24px; isolation: isolate; }
.hero-covers::before { content: ""; position: absolute; inset: 8% 0; z-index: -1; background: #eee5d3; border-radius: 50%; }
.hero-cover { flex: 0 0 34%; display: block; transform: rotate(-9deg) translateX(10%); position: relative; }
.hero-cover:nth-child(2) { z-index: 2; transform: translateY(-10%); }
.hero-cover:nth-child(3) { transform: rotate(9deg) translateX(-10%); }
.hero-cover img { width: 100%; display: block; height: auto; box-shadow: 4px 12px 25px #23180c3b; border-radius: 2px 3px 3px 2px; }
.watch-search, .request-form { display: flex; gap: 0; align-items: stretch; max-width: 540px; }
.watch-search input, .request-form input, .list-controls select {
  background: #fdfbf6; color: var(--ink); border: 1px solid #c8c1ae; padding: 11px 15px; min-width: 0;
}
.watch-search input, .request-form input { flex: 1; border-right: 0; border-radius: 3px 0 0 3px; }
.watch-search button, .watch-button { color: #fffdf5; background: var(--green); border: 1px solid var(--green); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 3px; }
.watch-search button, .request-form button { border-radius: 0 3px 3px 0; white-space: nowrap; }
.watch-search button:hover, .watch-button:hover { background: #415443; }
.watch-button:disabled { opacity: .72; cursor: default; }
.watch-section { padding: 42px 0 48px; }
.section-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.section-line h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); }
.section-line > a, .text-action { color: var(--gold); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.watch-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
.collection-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0; }
.collection-grid a { display:block;padding:28px;background:var(--wash);border:1px solid var(--line);border-radius:4px; }
.collection-grid h3 { font-size:28px;margin:0 0 10px; }
.collection-grid p { color:var(--muted);margin:0 0 20px; }
.collection-grid span { font-size:13px;color:var(--gold); }
.collection-tabs { display:flex;gap:12px;flex-wrap:wrap;margin-top:22px; }
.collection-tabs a { padding:8px 18px;border:1px solid var(--line);border-radius:24px;font-size:14px; }
.collection-tabs [aria-current="page"] { background:var(--green);color:var(--paper); }
.watch-card { min-width: 0; }
.watch-card > a { display: block; height: 100%; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.watch-card a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.card-art { display: grid; place-items: center; height: clamp(170px, 21vw, 275px); border-radius: 3px; padding: 20px; }
.tone-1 { background: #e6e8df; }
.tone-2 { background: #eee6d5; }
.tone-3 { background: #e9ded2; }
.card-art img, .detail-cover img { max-width: 100%; width: auto; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(3px 6px 7px #2b201837); }
.cover-figure { margin: 0; width: 100%; height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; justify-items: center; gap: 7px; }
.cover-figure img { min-height: 0; max-height: 100%; max-width: 100%; }
.cover-figure figcaption { font: 10px/1.5 var(--sans); color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.hero-cover .cover-figure { height: auto; grid-template-rows: auto auto; }
.compact-lead .detail-cover { height: 170px; }
.hero-cover figcaption { font-size: 9px; }
.book-lead.bibliographic-lead { grid-template-columns: 180px minmax(0,1fr); align-items: start; row-gap: 16px; }
.book-lead.bibliographic-lead .detail-cover { grid-row: 1 / 3; height: 280px; padding: 16px; }
.book-facts { grid-column: 2; min-width: 0; }
.book-facts dl { margin: 0; padding: 0; border: 0; background: none; font-size: 13px; }
.book-facts dl > div { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.book-facts dt { color: var(--muted); }
.book-facts dd { margin: 0; overflow-wrap: anywhere; }
.book-facts a { text-decoration: underline; text-underline-offset: 3px; }
.edition-note { margin: 9px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 13px; color: var(--gold); font-size: 12px; }
.watch-card h3 { margin: 3px 0 4px; font-size: clamp(18px, 2vw, 24px); line-height: 1.25; overflow-wrap: anywhere; }
.watch-card p { color: var(--muted); margin: 0; font-size: 13px; }
.category-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.category-grid a { display: block; height: 100%; padding: 17px 43px 16px 16px; border: 1px solid var(--line); border-radius: 3px; position: relative; }
.category-grid a:hover { background: var(--wash); }
.category-grid h3 { font-size: 19px; margin: 0 0 4px; }
.category-grid p { color: var(--muted); font-size: 13px; margin: 0; }
.category-grid span { position: absolute; top: 18px; right: 16px; color: var(--gold); }
.site-foot { margin-top: 25px; border-top: 1px solid var(--line); }
.foot { flex-wrap: wrap; padding: 18px 0; }
.foot small { color: var(--muted); font-size: 12px; }
.page-intro { padding: 56px 0 28px; }
.page-intro h1 { margin: 0; font-size: clamp(32px, 4vw, 51px); line-height: 1.18; }
.page-intro p { color: var(--muted); max-width: 680px; margin: 13px 0 20px; }
.info-page { min-height: 48vh; }
.listing { padding-top: 0; min-height: 38vh; }
.list-controls { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 12px 0 22px; }
.list-controls p { color: var(--muted); margin: 0; }
.list-controls label { font-size: 13px; color: var(--muted); }
.list-controls select { padding: 5px 8px; margin-left: 5px; border-radius: 3px; }
.search-empty { margin: 0; padding: 60px 18px; text-align: center; background: #f3efe5; border-radius: 4px; }
.search-empty h2 { margin: 0; font-size: 26px; }
.request-form { margin: 12px auto; max-width: 385px; }
.form-status { color: var(--green); margin: 8px 0; font-size: 14px; }
.form-status.error { color: #8b3c31; }
.search-empty .text-action { display: inline-block; margin-top: 12px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin: 24px 0 18px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb span { margin: 0 7px; color: var(--gold); }
.book-lead { display: grid; grid-template-columns: minmax(210px, 325px) 1fr; align-items: center; gap: 48px; padding-bottom: 36px; }
.detail-cover { height: clamp(255px, 30vw, 380px); padding: 24px; border-radius: 4px; display: grid; place-items: center; }
.book-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.book-tags a { background: var(--wash); padding: 4px 10px; border-radius: 20px; font-size: 12px; color: #674a24; }
.book-tags a:hover { text-decoration: underline; }
.book-lead h1 { font-size: clamp(31px,4.2vw,54px); line-height: 1.1; margin: 15px 0 8px; }
.original-title, .byline { color: var(--muted); margin: 5px 0; }
.original-title { font: 18px/1.4 var(--serif); }
.book-description { max-width: 580px; }
.edition { color: var(--muted); font-size: 13px; margin: 15px 0 20px; }
.edition > div { display: flex; flex-wrap: wrap; column-gap: 12px; margin: 4px 0; }
.edition dt { min-width: 7em; }
.edition dd { margin: 0; color: var(--ink); }
.edition a { text-decoration: underline; text-underline-offset: 3px; }
.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; }
.book-detail-layout { display: grid; grid-template-columns: 185px minmax(0, 800px); gap: 35px; }
.book-contents { position: sticky; top: 24px; align-self: start; display: grid; gap: 9px; border-top: 1px solid var(--line); padding: 15px 0; }
.book-contents p { margin: 0 0 2px; color: var(--muted); font-size: 12px; }
.book-contents a { color: var(--green); font-size: 14px; }
.book-contents a:hover { text-decoration: underline; text-underline-offset: 4px; }
.reading-column { min-width: 0; }
.detail-section { border-top: 1px solid var(--line); padding: 27px 0 31px; }
.detail-section h2 { font-size: clamp(24px,2.6vw,32px); margin: 0 0 14px; }
.reading-notes > p { margin: 0 0 14px; }
.reading-notes > :last-child { margin-bottom: 0; }
.reading-notes dl { background: #f3efe5; border-radius: 4px; padding: 12px 17px; }
.reading-notes dl > div { display: grid; grid-template-columns: minmax(92px, 155px) 1fr; column-gap: 10px; margin: 5px 0; font-size: 14px; }
.reading-notes dt, .reading-notes .editor-note { color: var(--muted); }
.reading-notes dd { margin: 0; }
.reading-notes .editor-note { font-size: 13px; }
.reading-notes .idea-list { list-style: none; margin: 0 0 12px; padding: 0; }
.reading-notes .idea-list li { display: flex; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.reading-notes .idea-list li span { color: var(--gold); font-size: 13px; }
.reading-notes .idea-list p { margin: 0; }
.reading-notes .source-list { padding-left: 20px; }
.reading-notes .source-list a, .reading-notes .review-entry a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.video-pending { display: flex; align-items: center; gap: 11px; border: 1px dashed #c8bfa7; border-radius: 4px; background: #f3efe5; margin: 0; color: var(--muted); padding: 13px 17px; font-size: 14px; }
.video-pending span { font-size: 21px; color: var(--gold); }
.mode-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--wash); padding: 4px; border-radius: 4px; margin: 0 0 13px; }
.mode-tabs button { border: 0; border-radius: 3px; padding: 7px 14px; font-size: 14px; background: transparent; color: var(--ink); }
.mode-tabs [aria-pressed="true"] { color: #fffdf5; background: var(--green); }
.script-text { line-height: 1.9; }
.script-text h3 { font-size: 20px; margin: 0 0 9px; }
.script-text h4 { font-size: 19px; margin: 23px 0 8px; }
.script-text p { margin: 0 0 14px; }
.video-frame { aspect-ratio: 16 / 9; background: #eee9de; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.compact-lead { grid-template-columns: 110px minmax(0,1fr); align-items: center; padding: 18px 0 24px; gap: 25px; }
.compact-lead .detail-cover { height: 150px; padding: 8px; margin: 0; }
.compact-lead h1 { margin: 8px 0; font-size: clamp(28px,4vw,43px); }
.compact-lead .byline { margin: 8px 0; }
.video-page { max-width: 1000px; padding-top: 20px; }
.video-page h1 { font-size: clamp(24px,4vw,36px); margin: 15px 0 8px; }
.video-description { color: var(--muted); margin: 8px 0 18px; line-height: 1.65; }
.version-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.version-links [aria-current="page"] { outline: 2px solid var(--gold); outline-offset: 3px; }
.video-caption { display: flex; gap: 15px; align-items: center; color: var(--muted); font-size: 13px; }
.video-thumbnail { width: 100px; height: auto; }
.video-book-credit { font-size: 14px; }
.video-card .text-action { display: inline-block; margin-top: 8px; }
.queue-table { overflow-x: auto; }
.queue-table table { border-collapse: collapse; width: 100%; margin-bottom: 20px; }
.queue-table th, .queue-table td { text-align: left; padding: 11px; border-bottom: 1px solid var(--line); }
.queue-table td:first-child { overflow-wrap: anywhere; max-width: 420px; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 52px); }
  .topbar { flex-wrap: wrap; justify-content: space-between; padding: 14px 0; gap: 12px; }
  .primary-nav { order: 3; width: 100%; }
  .watch-hero { gap: 24px; padding: 48px 0; }
  .hero-covers { min-height: 246px; }
  .watch-grid { gap: 15px; }
  .book-lead { gap: 29px; }
  .book-detail-layout { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .collection-grid { grid-template-columns:1fr;gap:12px; }
  .collection-grid a { padding:20px; }
  .primary-nav { flex-wrap:wrap; }
  .wrap { width: calc(100% - 32px); }
  .watch-logo { font-size: 19px; }
  .watch-logo .mark { font-size: 19px; margin: 0; }
  .regions { gap: 6px; font-size: 10px; }
  .regions [aria-current] { padding: 4px 6px; }
  .primary-nav { gap: 18px; font-size: 12px; }
  .watch-hero { grid-template-columns: 1fr; gap: 15px; padding: 35px 0 20px; }
  .watch-hero h1 { font-size: clamp(30px,9vw,43px); }
  :lang(zh) .watch-hero h1 { font-size: clamp(26px,7.3vw,42px); }
  .hero-copy > p { margin: 13px 0 19px; }
  .hero-covers { min-height: 0; max-width: 360px; width: 100%; margin: auto; padding: 17px 28px 13px; }
  .watch-section { padding: 28px 0 32px; }
  .watch-grid, .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 12px; }
  .card-art { height: clamp(145px,46vw,232px); padding: 13px; }
  .card-meta { margin-top: 9px; font-size: 11px; }
  .watch-card p { font-size: 12px; }
  .category-grid a { padding: 11px 22px 11px 10px; }
  .category-grid h3 { font-size: 15px; }
  .category-grid p { font-size: 11px; }
  .category-grid span { top: 10px; right: 8px; font-size: 11px; }
  .page-intro { padding: 34px 0 20px; }
  .listing { padding-top: 0; }
  .book-lead { display: block; padding-bottom: 26px; }
  .book-lead.compact-lead { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 17px; padding: 12px 0 18px; }
  .book-lead.bibliographic-lead { grid-template-columns: 96px minmax(0,1fr); gap: 16px; }
  .book-lead.bibliographic-lead .detail-cover { grid-row: 1; height: 170px; padding: 8px; }
  .book-facts { grid-column: 1 / -1; }
  .book-facts dl > div { grid-template-columns: 94px minmax(0,1fr); gap: 12px; font-size: 12px; }
  .compact-lead .detail-cover { height: 112px; margin: 0; }
  .compact-lead h1 { font-size: 25px; }
  .detail-cover { height: 215px; padding: 17px; margin-bottom: 17px; }
  .book-detail-layout { display: block; }
  .book-contents { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
  .book-contents p { width: 100%; }
  .book-contents a { font-size: 13px; }
  .detail-section { padding: 20px 0; }
  .search-empty { padding: 38px 12px; }
  .foot { gap: 13px; }
  .foot nav { flex-wrap: wrap; gap: 8px 13px; }
}
