:root {
  color-scheme: light;
  --paper: #ebebeb;
  --surface: #fff;
  --row-shade: #f2f2f2;
  --charcoal: #252525;
  --ink: #151515;
  --muted: #575757;
  --rule: #d8d8d8;
  --gutter: clamp(16px, 5vw, 64px);
  --header-height: 68px;
  --tab-height: 64px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: calc(var(--tab-height) + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  -webkit-tap-highlight-color: #d4d4d4;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #656565; outline-offset: 3px; }
main:focus, h1:focus { outline: none; }
.symbols { position: absolute; width: 0; height: 0; }
.icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 3; left: 12px; top: 12px; background: #fff; padding: 10px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.content-width { width: min(100%, 1120px); margin-inline: auto; }

.site-header { background: #fff; border-bottom: 1px solid #dedede; padding-top: env(safe-area-inset-top); }
.header-inner {
  width: min(100%, 1120px);
  margin-inline: auto;
  min-height: calc(var(--header-height) - 1px);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: clamp(23px, 4vw, 29px); font-weight: 750; white-space: nowrap; line-height: 1; }
.brand img { display: block; width: 38px; height: 38px; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 66vh;
  height: 66svh;
  min-height: 360px;
  padding-top: clamp(28px, 4.9vh, 58px);
  overflow: hidden;
  border-radius: 4px;
  background: #0b0b0b;
  padding-bottom: clamp(12px, 2.4vh, 23px);
  color: #f6f6f6;
}
.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-inline: 12px;
  font-size: clamp(34px, 9.7vw, 62px);
  letter-spacing: -.045em;
  line-height: 1.15;
  font-weight: 750;
  text-align: center;
}
.orb-stage { flex: 1; min-height: 0; width: min(100%, 950px); position: relative; }
#orb { display: block; height: 100%; width: 100%; touch-action: pan-y pinch-zoom; cursor: grab; }
#orb:active { cursor: grabbing; }

.tagline {
  margin: 0;
  padding-inline: 13px;
  color: #d0d0d0;
  font-size: clamp(.875rem, 4vw, 1.125rem);
  text-align: center;
  line-height: 1.4;
  text-wrap: balance;
}
.home-offer, .home-latest {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: var(--gutter);
}
.home-offer { min-height: 58px; justify-content: space-between; }
.home-offer strong { font-size: 1.25rem; }
.home-offer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .9rem;
  border-radius: 3px;
  background: var(--charcoal);
  color: #fff;
  font-weight: 650;
}
.home-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: var(--gutter);
}
.home-categories a {
  display: grid;
  place-items: center;
  min-height: 46px;
  font-size: 1.0625rem;
  font-weight: 650;
}
.home-latest { min-height: 65px; padding-block: 9px; }
.home-latest h2 { margin: 0; font-size: 1rem; white-space: nowrap; }
.home-latest a {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 10px;
  min-width: 0;
  padding-block: 4px;
}
.home-latest strong { font-size: 1rem; line-height: 1.4; }

.tab-bar {
  position: fixed;
  z-index: 2;
  inset: auto 0 0;
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid var(--rule);
}
.tab-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tab-inner a {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  height: calc(var(--tab-height) - 1px);
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.1;
  white-space: nowrap;
}
.tab-inner a[aria-current] { color: var(--ink); font-weight: 700; }
.tab-inner a[aria-current]::before { content: ""; position: absolute; height: 2px; inset: -1px 0 auto; background: var(--ink); }
.tab-inner a:focus-visible { outline-offset: -5px; }

.page-heading, .content-row { background: var(--surface); }
.page-heading > div {
  padding: clamp(30px, 6vh, 68px) var(--gutter) clamp(28px, 5vh, 52px);
}
.page-heading h1 {
  margin: 0;
  font-size: clamp(2.7rem, 12vw, 5.2rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.intro {
  margin: 12px 0 0;
  max-inline-size: 38ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 4vw, 1.3rem);
  line-height: 1.55;
}
.overview { background: var(--paper); }
.overview-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 15px var(--gutter);
  min-height: 52px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--muted);
}
.overview-text strong { color: var(--ink); }
.book-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: var(--gutter);
}
.book-filters button {
  position: relative;
  border: 0;
  padding: 8px 0;
  text-align: start;
  min-height: 56px;
  background: transparent;
  color: var(--muted);
  font-size: clamp(1.125rem, 4.8vw, 1.4rem);
  white-space: nowrap;
}
.book-filters button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.book-filters button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  height: 3px;
  inset: auto 16% 0 0;
  background: var(--ink);
}
.book-filters button:focus-visible { outline-offset: -4px; }
.section-title { color: #fafafa; background: var(--charcoal); }
.section-title h2 {
  padding: 11px var(--gutter);
  margin-block: 0;
  font-size: clamp(1rem, 4.2vw, 1.2rem);
  line-height: 1.4;
  font-weight: 650;
}
.shade { background: var(--row-shade); }
main {
  min-height: calc(100vh - var(--header-height) - var(--tab-height));
  min-height: calc(100svh - var(--header-height) - var(--tab-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}
.row-inner { padding: clamp(16px, 3.7vh, 30px) var(--gutter); line-height: 1.6; }
#book-status, .content-row.shade .row-inner:not(.prose) { color: var(--muted); }
.story-link { display: grid; justify-items: start; gap: 4px; }
.story-link strong {
  font-size: clamp(1.4rem, 6vw, 2rem);
  line-height: 1.23;
  letter-spacing: -.02em;
}
.meta { color: var(--muted); font-size: .875rem; }
.row-deck { color: var(--muted); font-size: 1rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .9375rem;
  text-decoration: underline;
  text-underline-offset: .21em;
}
.prose h3 { margin: 0 0 7px; font-size: clamp(1.25rem, 5vw, 1.55rem); line-height: 1.35; }
.prose p { margin: 0; max-inline-size: 39em; font-size: 1.0625rem; line-height: 1.7; }

:root { --reading-size: 1.125rem; }
:root[data-reading-size="small"] { --reading-size: 1.0625rem; }
:root[data-reading-size="large"] { --reading-size: 1.3125rem; }
.reading-view {
  background: #f5f5f5;
  padding: clamp(24px, 5vh, 62px) clamp(20px, 6vw, 26px) 26px;
  line-break: strict;
}
.reading-frame {
  font-size: var(--reading-size);
  max-inline-size: 38em;
  margin-inline: auto;
  line-height: 1.8;
}
.reading-topic, .reading-meta {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
}
.reading-topic { margin: 0 0 8px; font-weight: 650; }
.reading-heading h1 {
  margin: 0;
  font-size: clamp(1.875rem, 5.5vw, 3.45rem);
  line-height: 1.18;
  letter-spacing: -.04em;
  font-weight: 750;
  text-wrap: balance;
}
.reading-intro {
  background: #fcfcfc;
  padding: .55em .82em;
  margin-block: .82em 1.55em;
}
.reading-deck { font-size: 1em; line-height: 1.6; margin: 0; color: #3e3e3e; }
.reading-meta { margin: .34rem 0 0; }
.reading-prose h2 {
  margin: 1.25em 0 .3em;
  font-size: 1.19em;
  font-weight: 700;
  line-height: 1.4;
}
.reading-prose h2:first-child { margin-top: 0; }
.reading-prose p { margin: 0 0 1em; }
.reading-prose blockquote {
  margin: 1.15em 0;
  padding: .62em .85em;
  background: #eaeaea;
  font-weight: 600;
}
.reading-footer { margin-top: 1.7em; font-size: 1rem; line-height: 1.6; }
.reading-note { margin: 0 0 .5rem; padding: .65rem .9rem; background: #ededed; }
p.reading-note { color: var(--muted); }
.reading-note strong { margin-inline-end: .2em; color: var(--ink); font-weight: 650; }
details.reading-note { padding-block: 0; background: #fafafa; }
.reading-note summary {
  padding-block: .575rem;
  min-height: 44px;
  cursor: pointer;
  font-weight: 650;
}
.reading-map {
  margin: 0;
  padding-bottom: .8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
  gap: 2px;
}
.reading-map > div { padding: 11px 13px; background: var(--row-shade); min-width: 0; }
.reading-map dt { font-weight: 650; }
.reading-map dd { margin: 0; color: var(--muted); }
.reading-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  min-inline-size: 0;
  margin: .95rem 0 .3rem;
  padding: 0;
  border: 0;
  font-size: .875rem;
  color: var(--muted);
}
.reading-controls legend { padding: 0 0 .2rem; }
.reading-controls label {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 44px;
  padding-inline: .65rem;
  cursor: pointer;
}
.reading-controls label:has(input:checked) { color: var(--ink); background: #e8e8e8; }
.reading-controls input { margin: 0; accent-color: var(--charcoal); }
.member-panel { padding-inline: var(--gutter); padding-block: clamp(20px, 4vh, 42px); }
.member-plan, .member-redemption { padding: 16px clamp(16px, 4vw, 30px); }
.member-plan { background: var(--charcoal); color: #fff; }
.member-plan h2, .member-redemption h3 { margin: 0; font-size: clamp(1.125rem, 4.5vw, 1.4rem); }
.member-plan p, .member-redemption p { margin: .3rem 0 0; }
.member-plan strong { font-size: 1.75rem; }
.member-plan .meta { color: #dadada; }
.member-redemption { background: var(--surface); }
.member-redemption p { color: var(--muted); line-height: 1.6; }

@media (hover: hover) {
  .tab-inner a:hover, .home-categories a:hover, .book-filters button:hover { background: #e2e2e2; }
  .home-latest a:hover strong, .story-link:hover strong { text-decoration: underline; text-underline-offset: .2em; }
}
@media (max-width: 480px) and (max-height: 600px) {
  :root { --header-height: 58px; --tab-height: 56px; }
  .hero {
    min-height: 0;
    height: min(66svh, calc(100svh - var(--header-height) - var(--tab-height) - 58px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    padding-top: clamp(16px, 4.2vh, 26px);
  }
}
@media (min-width: 720px) {
  :root { --header-height: 76px; --tab-height: 68px; }
  .book-filters { grid-template-columns: repeat(4, minmax(88px, 128px)); }
  .book-filters button { min-height: 60px; }
}


/* Keep the original grayscale framing and orb; simplify only the content rows. */
#books > .page-heading > div, #news > .page-heading > div, #member > .page-heading > div {
  padding-block: clamp(26px,5vh,56px);
}
.book-filters button { text-align: center; }
.book-filters button[aria-pressed="true"]::after { inset-inline: 18%; }
.edition-list-row { border-bottom: 1px solid var(--rule); }
.edition-list-row .row-inner { padding-block: clamp(15px,3vh,25px); }
.edition-list-row strong { font-size: clamp(1.2rem,5vw,1.72rem); }
.empty-line { margin: 0; color: var(--muted); }
.member-line {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:4px 14px; min-height:52px; padding:12px clamp(16px,4vw,30px);
  color:var(--ink); border-bottom:1px solid var(--rule); cursor:pointer;
}
.member-rows { background:var(--surface); }
summary.member-line { list-style:none; }
summary.member-line::-webkit-details-marker { display:none; }
summary.member-line::after { content:'+'; margin-left:auto; color:var(--muted); }
details[open] > summary.member-line::after { content:'−'; }
#favorite-list, .about-line { color:var(--muted); margin:0; padding:12px clamp(16px,4vw,30px) 16px; }
#favorite-list a { display:block; padding-block:6px; color:var(--ink); }
#member .member-plan { padding-block:17px; }
.save-reading { min-height:44px; padding:0 12px; margin-right:12px; border:1px solid var(--rule); background:var(--surface); color:var(--ink); cursor:pointer; }
.save-reading[aria-pressed="true"] { background:var(--charcoal); color:#fff; }

/* Rectilinear three-cell search, with the only saturated accent on the submit cell. */
.edition-search { padding:0 var(--gutter) clamp(17px,3vh,26px); background:var(--surface); }
.search-fitted { display:grid; grid-template-columns:auto minmax(0,1fr) 44px; max-width:580px; border:1px solid #d3d3d3; min-height:44px; background:#fff; }
.search-fitted input,.search-fitted select,.search-fitted button { margin:0; border:0; border-radius:0; background:none; color:var(--ink); }
.search-mode { position:relative; border-right:1px solid #d3d3d3; }
.search-mode::after { content:''; position:absolute; right:11px; top:calc(50% - 4px); width:6px; height:6px; border-bottom:1px solid #424242; border-right:1px solid #424242; transform:rotate(45deg); pointer-events:none; }
.search-fitted select { appearance:none; height:100%; padding:0 27px 0 11px; font-size:.87rem; cursor:pointer; }
.search-fitted input { appearance:none; padding:0 10px; min-width:0; width:100%; font-size:1rem; }
.search-fitted input::placeholder { color:#6d6d6d; }
.search-fitted button { display:grid; place-items:center; padding:0; background:#4275a0; color:white; cursor:pointer; }
.search-fitted button .icon { width:22px; height:22px; stroke-width:1.65; }
.search-fitted input:focus-visible,.search-fitted button:focus-visible,.search-fitted select:focus-visible { outline-offset:-3px; }
#news-years { background:var(--surface); }
.news-entry { border-bottom:1px solid #e4e4e4; background:#fff; }
.news-entry .story-link { padding-block:12px 13px; gap:3px; }
.news-entry .meta { font-size:.78rem; line-height:1.45; color:#666; }
.news-entry strong { font-size:clamp(1rem,4.4vw,1.23rem); font-weight:600; line-height:1.42; letter-spacing:0; }
#news-years section > .section-title h2 { font-size:.92rem; }
.profile-card { position:relative; display:grid; grid-template-columns:54px minmax(0,1fr) auto; align-items:center; gap:10px; background:var(--surface); padding:14px clamp(12px,3vw,24px); border-bottom:1px solid var(--rule); }
.avatar-pick { width:50px;height:50px;display:grid;place-items:center;border:1px solid #d6d6d6;border-radius:50%;background:#eee;overflow:hidden;cursor:pointer; }
.avatar-pick img { width:100%;height:100%;object-fit:cover; }
#profile-avatar-file { position:absolute; top:14px; left:12px; width:50px; height:50px; opacity:0; cursor:pointer; }
.profile-card:has(#profile-avatar-file:focus-visible) .avatar-pick { outline:2px solid #343434; outline-offset:3px; }
.profile-name { min-width:0; }
.profile-name span { display:block;font-size:.72rem;color:var(--muted); }
.profile-name input { display:block; width:100%; min-width:0; border:0; border-bottom:1px solid #ddd; color:var(--ink); background:transparent; padding:4px 0; font-size:1rem; }
.profile-save { min-height:44px; padding:0 10px; border:none; background:none; color:var(--ink); cursor:pointer; }
.profile-status { margin:0; padding:7px 14px; background:#f5f5f5; overflow-wrap:anywhere; }
.reader-settings { padding:8px clamp(14px,4vw,30px) 16px; background:#f5f5f5; }
.reader-settings fieldset { display:flex; align-items:center; flex-wrap:wrap; gap:5px; min-width:0; border:0; padding:0; margin:8px 0; }
.reader-settings legend { font-size:.82rem;color:var(--muted); }
.reader-settings label { display:flex; gap:4px; align-items:center; padding:6px; min-height:40px; font-size:.81rem; cursor:pointer; }
.reader-settings input { margin:0; accent-color:#242424; }
.reader-settings label:has(input:checked) { background:#e7e7e7; }
.reader-settings i { width:11px; height:11px; border:1px solid #aaa; }
.theme-eye { background:#f5efdd; }.theme-paper { background:#ede1cd; }.theme-gray { background:#f5f5f5; }
:root[data-reading-theme="eye"] .reading-view { background:#f5efdd; }
:root[data-reading-theme="eye"] .reading-intro,:root[data-reading-theme="eye"] .reading-note { background:#fbf6e9; }
:root[data-reading-theme="eye"] .reading-prose blockquote { background:#eae2ce; }
:root[data-reading-theme="paper"] .reading-view { background-color:#ede1cd; background-image:repeating-linear-gradient(7deg,transparent 0 4px,#765c4710 5px,transparent 6px 9px); }
:root[data-reading-theme="paper"] .reading-intro,:root[data-reading-theme="paper"] .reading-note { background:#f7eddd; }
:root[data-reading-theme="paper"] .reading-prose blockquote { background:#e7d7bd; }

@font-face { font-family:"门径宋";src:url("./assets/fonts/edition-serif-sc-v7.woff2") format("woff2");font-weight:200 900;font-display:swap }
@font-face { font-family:"门径黑";src:url("./assets/fonts/edition-black-sc-v7.woff2") format("woff2");font-weight:100 900;font-display:swap }
:root{--display-face:"门径宋","Songti SC","Noto Serif SC","Source Han Serif SC",STSong,serif;--ui-face:"门径黑","PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;font-family:var(--ui-face)}
.brand,.hero h1,.page-heading h1,.feature-head h2,.reading-heading h1,.reading-prose,.reading-preview p{font-family:var(--display-face)}
.brand{font-weight:700;letter-spacing:.005em}.hero h1{font-weight:680;letter-spacing:.02em;font-size:clamp(32px,9.1vw,60px)}
.page-heading h1{font-size:clamp(2.5rem,10vw,4.8rem);letter-spacing:.018em;font-weight:680}
.reading-heading h1{font-weight:690;letter-spacing:0}
.tagline,.edition-kicker,.reading-deck,.reading-meta{font-family:var(--ui-face);font-weight:430}
.edition-kicker{margin:11px 0 0;font-size:.9rem;line-height:1.6;letter-spacing:.055em;color:#585858}
#books{background:#fff;padding-bottom:26px}
.catalog-section{padding-inline:var(--gutter)}
.feature-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 0 12px;border-bottom:1px solid #292929}
.feature-head h2{margin:0;font-size:clamp(1.3rem,5vw,1.84rem);font-weight:685;letter-spacing:.025em;line-height:1.35}
.feature-head>span{font-size:.78rem;color:var(--muted)}
.catalog-section:first-of-type{margin-top:26px}.catalog-section.latest-shelf{margin-top:38px}
.catalog-section .empty-line{margin:0;padding:16px 0 22px;font-size:.875rem}
.catalog-entry{display:flex;align-items:center;gap:12px;padding-block:17px 19px;border-bottom:1px solid #e5e5e5}
.catalog-book{flex:1;min-width:0;display:grid;gap:5px}
.catalog-book strong{font-family:var(--display-face);font-weight:670;font-size:clamp(1.05rem,4.15vw,1.4rem);line-height:1.5;overflow-wrap:anywhere}
.catalog-book .meta{font-size:.72rem}
.catalog-map{flex:none;padding:7px 8px;display:inline-flex;align-items:center;min-height:42px;white-space:nowrap;border:1px solid #dedede;font-size:.76rem;color:#303030}
.catalog-map:hover,.catalog-map:focus-visible{background:#f1f1f1}
#reading-mind-map{scroll-margin-top:20px}
.news-entry strong{font-family:var(--display-face);font-weight:670;line-height:1.45}
#member{background:#f2f2f2}
.member-editorial{display:grid;gap:28px;padding-top:0;padding-bottom:35px}
#member .page-heading>div{padding-bottom:24px}
.profile-section,.account-section,.preferences-section{min-width:0}
.profile-card{grid-template-columns:71px minmax(0,1fr) auto;gap:13px;padding:19px clamp(13px,4vw,26px);border:0}
.avatar-pick{position:relative;width:64px;height:64px;overflow:visible}
.avatar-pick>img{width:64px;height:64px;border-radius:50%}
.avatar-camera{position:absolute;right:-2px;bottom:-2px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#2e2e2e;color:#fff;border:2px solid #fff}
.avatar-camera .icon{width:12px;height:12px}
#profile-avatar-file{top:19px;left:13px;width:64px;height:64px}
.profile-name span{font-size:.78rem;letter-spacing:.07em}
.profile-name input{border:0;padding:4px 0;color:#242424}
.profile-save{padding:0 9px;font-size:.82rem;background:#f1f1f1;min-height:42px}
.account-section .feature-head,.preferences-section .feature-head{padding-bottom:10px}
.member-editorial .member-line{border-color:#e6e6e6;min-height:53px;padding-block:12px}
.reader-settings{padding:16px clamp(12px,4vw,22px) 18px;background:#fff}
.reader-settings fieldset{margin:0 0 17px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.reader-settings legend{padding:0 0 8px;color:#343434;font-size:.89rem}
.reader-settings label{position:relative;padding:0;cursor:pointer;min-width:0}
.reader-settings label>input{position:absolute;opacity:0;width:100%;height:100%;inset:0;cursor:pointer}
.reader-settings label>span{display:flex;gap:4px;width:100%;min-height:52px;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e1e1e1;background:#f7f7f7;color:#303030;font-size:.78rem}
.reader-settings label>input:checked+span{border-color:#383838;box-shadow:inset 0 0 0 1px #383838;font-weight:650}
.reader-settings label>input:focus-visible+span{outline:2px solid #4275a0;outline-offset:3px}
.reader-settings .tone-options .theme-eye{background:#f5efdd}.reader-settings .tone-options .theme-paper{background:#ede1cd}.reader-settings .tone-options .theme-gray{background:#f5f5f5}
.reader-settings .tone-options .icon{width:18px;height:18px}
.sizing-options b{font-family:var(--display-face);font-size:1.1rem;font-weight:550;line-height:1.08}
.sizing-options label:first-of-type b{font-size:.9rem}.sizing-options label:last-of-type b{font-size:1.3rem}
.reading-preview{padding:12px 14px;min-height:89px;border:1px solid #e0e0e0;background:#f5f5f5;color:#292929}
.reading-preview small{display:block;margin-bottom:5px;font-size:.72rem;color:#504c46}
.reading-preview p{margin:0;font-size:var(--reading-size);line-height:1.58}
:root[data-reading-theme="eye"] .reading-preview{background:#f5efdd;border-color:#e1d4b9}
:root[data-reading-theme="paper"] .reading-preview{background:#ede1cd repeating-linear-gradient(7deg,transparent 0 4px,#765c4710 5px,transparent 6px 9px);border-color:#deceb3}
.about-panel{background:#fff}
@media(min-width:760px){
 .member-editorial{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 42px;align-items:start}
 .profile-section{grid-column:1;grid-row:1}.account-section{grid-column:1;grid-row:2}
 .preferences-section{grid-column:2;grid-row:1/span 3}.about-panel{grid-column:1;grid-row:3}
}

.skip { top:0; }
@media(min-width:760px){
 .member-editorial .profile-section{grid-column:1;grid-row:1}
 .member-editorial .account-section{grid-column:2;grid-row:1 / span 2}
 .member-editorial .about-panel{grid-column:1;grid-row:2}
}

/* Edition mastheads: weight in the title, space in the layout. */
.brand,.page-heading h1,.hero h1,.reading-heading h1 {font-family:var(--ui-face)}
.brand{font-weight:800;letter-spacing:-.037em}
.page-heading h1{font-weight:900;letter-spacing:-.038em;font-size:clamp(2.75rem,11.6vw,5.65rem);line-height:1.05}
.hero h1{font-weight:900;letter-spacing:-.028em;font-size:clamp(34px,9.3vw,64px)}
.reading-heading h1{font-weight:850;letter-spacing:-.02em;line-height:1.24}
#member{background:#f4f4f4}
#member .page-heading>div{border-bottom:1px solid #e1e1e1;padding-bottom:26px}
#member .edition-kicker{margin-top:13px;color:#535353;font-size:.875rem;letter-spacing:.045em}
.member-editorial{gap:24px;padding-top:23px;width:min(100%,950px);padding-bottom:40px}
.member-editorial .profile-section{background:#fff;border:1px solid #e1e1e1}
.member-editorial .profile-card{padding-top:18px;padding-bottom:18px;padding-inline:16px;column-gap:14px}
.member-editorial #profile-avatar-file{top:18px;left:16px}
.member-editorial .profile-name input{font-weight:620;color:#151515;line-height:1.45}
.member-editorial .profile-name input::placeholder{color:#636363;opacity:1;font-weight:420}
.member-editorial .profile-save{border:1px solid #d6d6d6;background:white;min-width:48px;letter-spacing:.025em}
.member-editorial .profile-save:hover{background:#f0f0f0}
.member-editorial .account-section{background:white;border:1px solid #282828}
.member-editorial .account-section .feature-head{background:#222;color:white;border:0;padding:15px 17px 16px}
.member-editorial .account-section .feature-head h2{color:white;font-family:var(--ui-face);font-size:1.1rem;font-weight:780;letter-spacing:.018em}
.member-editorial .account-section .member-line{padding-inline:17px;min-height:57px;gap:3px 12px}
.member-editorial .account-section .member-line span:first-child{font-size:.94rem;font-weight:550}
.member-editorial .member-line .meta{font-size:.75rem}
.member-editorial .about-panel{background:transparent;border-top:1px solid #cfcfcf}
.member-editorial .about-panel>.member-line{padding-inline:2px;border-bottom-color:#d8d8d8}
.member-editorial .about-panel>.about-line{padding-inline:2px}
@media(min-width:760px){
 .member-editorial{grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:22px 33px}
}
@media(max-width:390px){.member-editorial .profile-card{grid-template-columns:64px minmax(0,1fr) auto;gap:11px}}

@font-face{font-family:"门径现代";src:url("./assets/fonts/edition-plex-sc-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"门径现代";src:url("./assets/fonts/edition-plex-sc-700.woff2") format("woff2");font-weight:700;font-display:swap}
:root{
 --chosen-black:"门径黑","PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;
 --chosen-serif:"门径宋","Songti SC","Noto Serif SC",STSong,serif;
 --chosen-plex:"门径现代","PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;
 --ui-face:var(--chosen-black);--display-face:var(--chosen-black);
 --zone-ink:#222;--zone-label:#f6f6f6;--zone-muted:#c1c1c1;--zone-line:#454545;
}
:root[data-typeface="serif"]{--ui-face:var(--chosen-serif);--display-face:var(--chosen-serif)}
:root[data-typeface="plex"]{--ui-face:var(--chosen-plex);--display-face:var(--chosen-plex)}
:root[data-typeface="serif"] .page-heading h1,:root[data-typeface="serif"] .hero h1{font-weight:760;letter-spacing:.005em}
:root[data-typeface="plex"] .page-heading h1,:root[data-typeface="plex"] .hero h1,:root[data-typeface="plex"] .reading-heading h1{font-weight:700;letter-spacing:-.017em}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#books .page-heading,#books .edition-search,#member>.page-heading{background:#eee}
#books .overview{background:var(--zone-ink);border-block:1px solid #181818}
#books .book-filters{gap:0}
#books .book-filters button{min-height:67px;color:var(--zone-muted);font-size:clamp(1.02rem,4.2vw,1.2rem)}
#books .book-filters button[aria-pressed="true"]{color:white;background:#333}
#books .book-filters button[aria-pressed="true"]::after{background:white;inset-inline:25%;height:2px}
#books .book-filters button:hover{background:#383838;color:white}
#books .catalog-section{padding-top:8px}
#books .latest-shelf .feature-head{background:var(--zone-ink);color:var(--zone-label);border-bottom:0;margin:0 0 4px;padding:12px 13px}
#books .latest-shelf .feature-head h2{font-size:1.06rem;letter-spacing:.1em}
#news>.page-heading{background:var(--zone-ink);color:var(--zone-label);border-bottom:1px solid #151515}
#news>.page-heading>div{padding-block:clamp(31px,6vh,63px)}
#news>.edition-search{padding-top:19px;padding-bottom:19px}
#news-years .section-title{background:#292929}
#news-years .section-title h2{padding-block:13px}
#home .home-offer{background:white;min-height:65px}
#home .section-title{background:var(--zone-ink)}
#home .edition-list-row{background:white}
#member{background:#ededed}
#member .page-heading>div{border-bottom-color:#ccc}
.member-editorial .profile-section{background:var(--zone-ink);border-color:#171717;color:var(--zone-label)}
.member-editorial .profile-card{background:transparent;padding-block:23px}
.member-editorial #profile-avatar-file{top:23px}
.member-editorial .profile-name span{color:var(--zone-muted)}
.member-editorial .profile-name input{color:#fff}
.member-editorial .profile-name input::placeholder{color:#ddd}
.member-editorial .profile-save{background:#313131;color:#fff;border-color:#616161}
.member-editorial .profile-save:hover{background:#424242}
.member-editorial .avatar-camera{border-color:#222;background:#eee;color:#212121}
.member-editorial .account-section{border-color:#d3d3d3}
.member-editorial .account-section .feature-head{background:white;color:var(--ink);border-bottom:1px solid #ddd}
.member-editorial .account-section .feature-head h2{color:var(--ink)}
.type-panel{min-width:0;background:#fff;border:1px solid #cfcfcf}
.type-panel>.feature-head{color:#f6f6f6;background:var(--zone-ink);border-bottom:0;padding:13px 16px}
.type-panel>.feature-head h2{font-size:1.12rem;letter-spacing:.035em}
.type-panel>.feature-head>span{color:var(--zone-muted)}
.type-options{margin:0;padding:0 14px;min-inline-size:0;border:0}
.type-options label{display:grid;grid-template-columns:1rem minmax(0,1fr) auto;align-items:center;min-height:67px;gap:9px;cursor:pointer;border-bottom:1px solid #e6e6e6}
.type-options label:last-child{border-bottom:0}
.type-options input{accent-color:#222;margin:0;width:14px;height:14px}
.type-options label>span{display:grid;gap:3px;min-width:0}
.type-options label>span>span{font-size:.68rem;color:var(--muted);line-height:1.35}
.type-options label b{font-size:.92rem;line-height:1.3}
.type-options label:has(input:checked){background:#f1f1f1;box-shadow:0 0 0 8px #f1f1f1 inset}
.type-sample{font-size:clamp(.9rem,3.5vw,1.13rem);white-space:nowrap;letter-spacing:.045em}
[data-face="black"] .type-sample{font-family:var(--chosen-black);font-weight:900}
[data-face="serif"] .type-sample{font-family:var(--chosen-serif);font-weight:750}
[data-face="plex"] .type-sample{font-family:var(--chosen-plex);font-weight:700}
@media(min-width:760px){.member-editorial .type-panel{grid-column:1;grid-row:2}.member-editorial .about-panel{grid-column:2;grid-row:2;align-self:end}}
input,select,textarea,button{font-family:var(--ui-face)}
@media(min-width:760px){.member-editorial .account-section{grid-row:1}.member-editorial .about-panel{align-self:start}}

.skip{opacity:0;pointer-events:none}.skip:focus-visible{opacity:1;pointer-events:auto}

/* Same edge-to-edge section bands as the other main views, without a redundant masthead. */
#member .member-editorial{
 --account-inset:max(var(--gutter),calc((100vw - 1120px) / 2 + var(--gutter)));
 display:block;width:100%;padding:0 0 29px;margin:0;
}
#member .profile-section,#member .account-section,#member .type-panel,#member .about-panel{border-inline:0;width:100%}
#member .profile-section{border-top:0}
#member .account-section,#member .type-panel,#member .about-panel{margin-top:16px}
#member .profile-card{padding:20px var(--account-inset);grid-template-columns:64px minmax(0,1fr) auto;}
#member #profile-avatar-file{left:var(--account-inset);top:20px}
#member #profile-avatar-placeholder{color:#3b3b3b}
#member .profile-identity{min-width:0;display:grid;gap:3px}
#member .profile-identity .profile-name input{width:100%;font-size:1.18rem;line-height:1.32;padding:3px 0}
#member .profile-identity .profile-handle input{color:#d4d4d4;font-size:.88rem;font-weight:460}
#member .profile-identity .profile-handle input::placeholder{color:#c0c0c0}
#member .account-section .feature-head,#member .type-panel .feature-head,#member .account-section .member-line,#member .type-options,#member .about-panel>.member-line,#member #favorite-list,#member .about-panel>.about-line,#member .profile-status{padding-inline:var(--account-inset)}

/* Account: an identity masthead, editorial rules, and one line of type specimens. */
#member{background:#f7f7f7}
#member .member-editorial{padding-bottom:0;background:#f7f7f7}
#member .profile-section{border:0;background:#242424}
#member .profile-strip{padding:15px var(--account-inset);display:grid;grid-template-columns:49px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:86px}
#member .profile-emblem{width:49px;height:49px;border-radius:50%;display:grid;grid-template:100% / 100%;place-items:center;flex:none;overflow:hidden;background:#e9e9e9}
#member .profile-emblem img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}
#member .profile-summary{display:flex;flex-direction:column;gap:4px;min-width:0}
#member .profile-summary b,#member .profile-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#member .profile-summary b{font-size:1.2rem;line-height:1.25;font-weight:750;color:#fff}
#member .profile-summary span{font-size:.78rem;color:#c8c8c8}
#member .profile-edit{border:0;border-radius:0;background:none;color:#eee;padding:0 0 0 8px;min-height:44px;font-size:.78rem;font-weight:500}
#member .profile-edit:hover{text-decoration:underline;text-underline-offset:4px}
#member .account-section,#member .type-panel,#member .about-panel{margin-top:0;background:#fff;border:0}
#member .account-section .feature-head,#member .type-panel .feature-head{background:#eee;border-block:1px solid #d7d7d7;padding-block:10px;color:#222}
#member .account-section .feature-head h2,#member .type-panel .feature-head h2{font-size:.93rem;color:#222;font-weight:750;letter-spacing:.035em}
#member .account-section .member-line,#member .about-panel>.member-line{min-height:46px;border-bottom:1px solid #dedede;padding-block:8px}
#member .account-section .member-line span:first-child{font-size:.87rem;font-weight:570}
#member .account-section details:last-child>.member-line{border-bottom:0}
#member .type-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;padding-block:8px}
#member .type-options label{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:56px;border:0;border-inline-end:1px solid #e2e2e2}
#member .type-options label:last-child{border-inline-end:0}
#member .type-options label:has(input:checked){box-shadow:inset 0 -2px #222;background:#f0f0f0}
#member .type-options label:has(input:focus-visible){outline:2px solid #555;outline-offset:-3px}
#member .type-options label>input{position:absolute;opacity:0}
#member .type-options .type-sample{font-size:1.15rem;line-height:1.25;letter-spacing:.04em}
#member .type-options .type-label{font-size:.7rem;color:#555;font-weight:550}
#member .about-panel{border-top:1px solid #d7d7d7}
#member .about-panel>.member-line {font-size:.81rem;color:#444;background:#f7f7f7}
#member .profile-editor{width:min(390px,calc(100% - 30px));padding:0;color:#1a1a1a;background:#fff;border:1px solid #333;max-height:85dvh}
#member .profile-editor::backdrop{background:#0009}
#member .profile-editor header{display:flex;align-items:center;justify-content:space-between;padding:9px 16px;background:#222;color:white;}
#member .profile-editor header h2{font-size:1.05rem;line-height:1.3;margin:0;font-weight:700}
#member .profile-close{width:44px;height:44px;border:0;background:none;color:#fff;font-size:1.35rem}
#member .profile-editor-fields{display:grid;gap:13px;padding:17px}
#member .profile-editor-fields label{display:grid;gap:5px;font-size:.8rem;color:#444}
#member .profile-editor-fields input:not([type=file]){width:100%;font-size:1rem;color:#111;padding:9px 7px;border:1px solid #ccc;border-radius:0}
#member .profile-editor-fields #profile-avatar-file{position:static;opacity:1;width:100%;height:auto;min-height:35px}
#member .profile-editor-fields .profile-save{justify-self:start;background:#222;color:white;border:0;padding:0 13px}
#member .profile-editor-fields .profile-status{padding:6px 0;background:transparent;}
@media(min-width:760px){#member .profile-strip{min-height:94px}}

body:has(#member:not([hidden])){background:#f7f7f7}
#member .type-options label{min-height:73px}
#member .type-options .type-sample{font-size:clamp(.97rem,4.7vw,1.32rem)}
#member #favorite-list{background:#f7f7f7;border-top:1px solid #e7e7e7;padding-block:10px;font-size:.81rem}

/* Reference edition: silver light, editorial typography, four coordinated surfaces. */
:root{--edition-paper:#f8f8f8;--edition-rule:#dedede;--edition-black:#151515}
body{background:var(--edition-paper)}
.site-header{background:#f7f7f7;border-bottom-color:transparent}
.site-header .brand{font-family:var(--display-face);font-size:clamp(21px,4.9vw,27px);font-weight:600}
.site-header .brand .brand-wordmark{letter-spacing:.03em}
.site-header .brand img{width:39px;height:39px;border-radius:9px}
.header-account{display:none;width:39px;height:39px;border-radius:50%;place-items:center;background:#eaeaea;color:#222}
body:is([data-view="home"],[data-view="news"]) .header-account{display:grid}
body[data-view="home"] .header-account{background:#262626;color:#bbb}
:root:not([data-user-typeface]) :is(.site-header .brand,.page-heading h1,.feature-head h2,.profile-summary b,.catalog-book strong,.home-offer strong,#home-latest,.news-entry strong){font-family:var(--chosen-serif)}
.tab-bar{background:#f9f9f9;border-color:#e3e3e3}
.tab-inner a{font-size:.82rem;color:#676767;gap:5px}
.tab-inner a[aria-current]{color:#111}
.tab-inner a[aria-current]::before{height:2px;inset-inline:9px}
body:is([data-view="home"],[data-view="member"]) .tab-inner a[aria-current]::before{top:auto;bottom:5px;left:calc(50% - 9px);right:calc(50% - 9px)}
.tab-inner a .icon{width:21px;height:21px}

/* Preserve the original canvas and its exact available height. */
#home .hero{position:relative;border-radius:0}
#home #home-title{color:transparent;user-select:none;pointer-events:none}
#home .hero::after{content:'';position:absolute;pointer-events:none;inset:auto 0 0;height:clamp(31px,9svh,73px);background:radial-gradient(ellipse at 67% 135%,#f9f9f9 4%,#eeeeee 24%,#b8b8b8 42%,#656565 62%,transparent 78%);z-index:0}
#home .tagline{position:relative;z-index:1;color:#c9c9c9}
#home>.content-row,#home>section:last-child,#home .edition-list-row{background:#f8f8f8}
#home .home-offer{background:linear-gradient(180deg,#f5f5f5,#f9f9f9);min-height:75px;gap:8px;border-bottom:1px solid #e6e6e6}
.offer-copy{display:grid;gap:3px;min-width:0}
.offer-copy>span{white-space:nowrap;color:#2c2c2c;font-size:.78rem}
#home .offer-copy strong{font-size:1.68rem;font-weight:685;color:#151515}
.offer-copy small{font-size:.66rem;color:#727272;line-height:1.33}
#home .home-offer>a{min-height:34px;white-space:nowrap;padding:0 12px;border-radius:9px;background:linear-gradient(150deg,#282828,#141414);font-size:.83rem;font-weight:600}
#home .section-title{background:transparent;color:#171717;padding-inline:var(--gutter)}
#home .section-title h2{padding:18px 0 13px;border-bottom:1px solid var(--edition-rule);position:relative;font-size:1.11rem}
#home .section-title h2::after{content:'';position:absolute;bottom:-1px;left:0;width:34px;height:1px;background:#161616}

#books{background:linear-gradient(180deg,var(--site-masthead-black) 0 12px,#191919 38px,#383838 124px,#bcbcbc 197px,#f1f1f1 268px,#f8f8f8 375px);padding-bottom:24px}
#books>.page-heading{background:radial-gradient(ellipse at 112% 1%,#98989839 0%,transparent 56%);color:#f5f5f5;position:relative;overflow:hidden}
#books>.page-heading::before,#news>.page-heading::before,.latest-shelf .feature-head::before,.profile-section::before,#news-years .section-title::before{content:'';position:absolute;pointer-events:none;right:-9%;width:95%;height:62%;border-top:1px solid #a9a9a980;border-radius:56% 51% 0 0;transform:rotate(-14deg);filter:drop-shadow(0 -2px 7px #eee9)}
#books>.page-heading::before{top:38%;right:-14%;opacity:.5}
#books>.page-heading>div{position:relative;padding-top:clamp(20px,4vh,52px);padding-bottom:23px;z-index:1}
#books>.page-heading h1{font-weight:630;font-size:clamp(2rem,9.5vw,4rem);letter-spacing:.055em;line-height:1.13}
#books .edition-kicker{font-size:.82rem;letter-spacing:.12em;color:#e7e7e7;margin-top:8px}
#books .edition-search,#news>.edition-search{background:transparent;padding-block:0 17px}
#books .search-fitted,#news .search-fitted{width:100%;max-width:none;min-height:43px;grid-template-columns:auto minmax(0,1fr) 47px;background:#fafafa;border:1px solid #cdcdcd;border-radius:8px;overflow:hidden;box-shadow:0 5px 15px #2220000a}
#books .search-fitted button,#news .search-fitted button{background:#4275a0;border-radius:7px;margin:2px}
#books .search-mode,#news .search-mode{border-right:1px solid #dedede}
#books .overview{padding-inline:var(--gutter);background:transparent;border:0}
#books .book-filters{padding:0;border-radius:8px;overflow:hidden;background:linear-gradient(130deg,#202020,#303030);box-shadow:0 5px 16px #2223;grid-template-columns:repeat(4,minmax(0,1fr))}
#books .book-filters button{min-height:44px;font-size:.95rem;letter-spacing:.08em;background:none}
#books .book-filters button[aria-pressed="true"]{background:#282828}
#books .book-filters button[aria-pressed="true"]::after{inset-inline:21%}
#books .catalog-section:first-of-type{margin-top:25px}
#books .catalog-section{padding-top:3px}
#books .catalog-section .feature-head{border-bottom-color:var(--edition-rule);position:relative;padding-bottom:10px}
#books .catalog-section:not(.latest-shelf) .feature-head::after{content:'';position:absolute;left:0;bottom:-1px;width:39px;height:2px;background:#151515}
#books .catalog-section .feature-head h2{font-size:clamp(1.19rem,5.25vw,1.65rem);letter-spacing:.08em}
#catalog-scope{font-size:.76rem;color:#454545}
#catalog-scope::after{content:'›';padding-left:7px}
#books .catalog-entry{margin-top:13px;background:#fbfbfbdf;border:1px solid #f3f3f3;border-radius:10px;padding:12px 13px;min-height:77px;box-shadow:0 9px 19px #2220000d}
#books .catalog-book .meta{font-size:.67rem;color:#626262}
#books .catalog-book strong{font-size:clamp(1.02rem,4.56vw,1.45rem)}
#books .catalog-map{min-height:30px;border:1px solid #777;border-radius:8px;padding:2px 7px;font-size:.69rem}
#books .catalog-section.latest-shelf{margin-top:22px}
#books .latest-shelf .feature-head{overflow:hidden;background:linear-gradient(120deg,#141414,#303030);color:white;border:0;border-radius:7px;padding:9px 12px}
#books .latest-shelf .feature-head::before{top:73%;opacity:.50}
#books .latest-shelf .feature-head h2{font-size:1.12rem}

#news{background:#f9f9f9;padding-bottom:14px}
#news>.page-heading{overflow:hidden;position:relative;background:radial-gradient(ellipse at 25% 112%,#6b6b6b 0%,#1e1e1e 40%,#171717 70%,#111 92%);color:#f5f5f5}
#news>.page-heading::after{content:'';position:absolute;inset-block-start:-1%;right:-19%;width:clamp(205px,55vw,390px);height:112%;background:url("./assets/news-wire-orb.webp") right center / contain no-repeat;opacity:.86;pointer-events:none}
#news>.page-heading::before{top:78%;right:9%;opacity:.68}
#news>.page-heading>div{position:relative;z-index:1;padding-block:clamp(40px,7svh,68px) clamp(35px,5svh,58px)}
#news>.page-heading h1{font-weight:650;font-size:clamp(1.69rem,7.6vw,3.2rem);letter-spacing:.038em;line-height:1.2}
#news>.page-heading h1::after{content:'';width:27px;height:1px;background:transparent;display:block;margin-top:14px}
.news-kicker{margin:12px 0 0;color:#d2d2d2;font-size:.67rem;letter-spacing:.095em}
#news>.edition-search{padding-top:20px;padding-bottom:20px}
#news-years{padding-inline:var(--gutter);background:transparent}
#news-years>.section-title,#news-years section>.section-title{overflow:hidden;background:linear-gradient(128deg,#151515,#303030);position:relative;max-width:calc(1120px - 2 * var(--gutter));margin-inline:auto}
#news-years .section-title::before{top:75%;right:-4%;opacity:.65}
#news-years .section-title h2{position:relative;padding:9px 12px;font-size:1rem;letter-spacing:.065em}
#news-years .empty-line{padding:15px 0 17px;border-bottom:1px solid #dedede;color:#626262;font-size:.79rem}
#news-years .news-entry{border-bottom:1px solid #dedede;background:#f9f9f9}
#news-years .news-entry a{position:relative;padding:15px 14px 16px 0}
#news-years .news-entry a::after{content:'›';font-size:1.15rem;color:#3f3f3f;position:absolute;right:2px;top:20%}
#news-years .news-entry strong{font-size:1.17rem}
.news-deck{font-size:.77rem;line-height:1.55;color:#606060;margin:6px 0 0}

body:has(#member:not([hidden])),#member,#member .member-editorial{background:#f8f8f8}
#member .member-editorial{--account-inset:max(var(--gutter),calc((100vw - 1120px) / 2 + var(--gutter)));padding:4px 0 24px}
#member .profile-section{position:relative;overflow:hidden;width:min(calc(100% - 22px),1120px);max-width:1120px;margin-inline:auto;border-radius:10px;background:linear-gradient(144deg,#141414,#222);box-shadow:0 7px 19px #2222}
#member .profile-section:has(.profile-editor[open]){overflow:visible}
#member .profile-section::before{top:86%;right:-1%;width:54%;opacity:.8}
#member .profile-strip{position:relative;z-index:1;padding:17px 15px;min-height:100px;gap:13px;grid-template-columns:56px minmax(0,1fr) auto}
#member .profile-emblem{width:56px;height:56px;background:#f7f7f7}
#member .profile-summary b{font-size:1.3rem;font-weight:660}
#member .profile-summary span,#member .profile-edit{color:#c4c4c4}
#member .profile-edit span{margin-left:4px;color:#eee}
#member .account-section,#member .type-panel,#member .about-panel{background:transparent}
#member .account-section{margin-top:14px}
#member .account-section .feature-head,#member .type-panel .feature-head{background:transparent;border:0;padding-block:7px;color:#151515}
#member .account-section .feature-head h2,#member .type-panel .feature-head h2{font-size:1.05rem;font-weight:740;letter-spacing:.01em}
#member .account-section .member-line,#member .about-panel>.member-line{min-height:43px}
#member .account-section .member-line{border-top:1px solid #ddd;border-bottom:0}
#member #favorite-list{background:transparent;border-top:1px solid #e4e4e4;padding-block:9px 12px;font-size:.78rem}
#member .type-panel .feature-head{margin-top:4px}
#member .type-options{gap:5px;background:transparent;padding-block:10px 13px}
#member .type-options label{min-height:66px;border:1px solid #e3e3e3;border-radius:7px;background:#fafafa;gap:3px}
#member .type-options label:last-child{border-inline-end:1px solid #e3e3e3}
#member .type-options label:has(input:checked){box-shadow:none;border-color:#797979;background:#f0f0f0}
#member .type-options label:has(input:checked)::after{content:'✓';position:absolute;top:4px;right:4px;width:12px;height:12px;border-radius:50%;background:#2d2d2d;color:white;text-align:center;font-size:.57rem;line-height:12px}
#member .type-options .type-sample{font-size:clamp(.84rem,4.2vw,1.15rem);letter-spacing:0}
#member .type-options .type-label{font-size:.68rem}
#member .about-panel{border:0}
#member .about-panel>.member-line{background:transparent;border-top:1px solid #ddd;border-bottom:1px solid #ddd}
@media(min-width:760px){
 #member .profile-section{width:min(calc(100% - 2 * var(--gutter)),1120px)}
 #member .profile-strip{padding-inline:var(--gutter)}
 #books>.page-heading>div{padding-top:37px}
 #books .overview{width:min(100%,1120px);margin-inline:auto}
}
@media(max-width:365px){
 .offer-copy small{font-size:.59rem}
 #news>.page-heading::after{right:-24%}
 #news>.page-heading h1{font-size:1.59rem}
}

#home .orb-stage{z-index:auto}
#home .tagline{z-index:2;text-shadow:0 1px 4px #111d}
@media (hover:hover){.tab-inner a:hover{background:#f4f4f4}}

/* Homepage-only: one black seam and an off-axis silver horizon. */
:root{--site-masthead-black:var(--wq-dark,#0b0b0b)}
body:is([data-view="home"],[data-view="books"],[data-view="news"],[data-view="member"]) .site-header{background:var(--site-masthead-black);border-bottom-color:var(--site-masthead-black);color:#f2f2f0}
body[data-view="home"] .header-account{display:none}
#home .tagline{color:#d0d0d0;text-shadow:0 1px 3px #0b0b0b,0 0 7px #171717}

#home .hero{overflow:visible}
#home .hero::after{z-index:1}
#home .tagline{z-index:2}

/* Preserve the homepage light contour. */
#home{--ref-fold:clamp(20px,3.25svh,30px)}
#home .home-fold{height:var(--ref-fold);background:#0b0b0b}
#home .hero::after{bottom:calc(-1 * (var(--ref-fold) + 18px));height:clamp(103px,14.2svh,144px);background:url("./assets/home-reference-transition.webp") center bottom / 100% 100% no-repeat}
#home .home-offer{background:#f5f5f5}

/* Keep an initial #home link from scrolling past the brand header. */
#home{scroll-margin-top:calc(var(--header-height) + env(safe-area-inset-top))}


/* Silver typography is limited to the title, tagline and four bottom labels. */
@font-face{font-family:"银字补充";src:url("./assets/fonts/silver-title-supplement.woff2") format("woff2");font-weight:200 900;font-display:swap;unicode-range:U+4ED8}
.silver-heading{font-family:"银字补充",var(--chosen-serif);color:#e4e4e4}
#home .tagline .silver-heading{font-weight:620}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 .silver-heading{
  -webkit-background-clip:text;background-clip:text;
  color:transparent;text-shadow:none;
 }
 .silver-heading{
  background-image:linear-gradient(168deg,#fbfbfb 4%,#e6e6e6 26%,#f8f8f8 37%,#a1a1a1 49%,#c7c7c7 62%,#f0f0f0 80%,#bbb 93%);
  filter:drop-shadow(0 1px 0 #4d4d4d) drop-shadow(0 1px 0 #171717);
  -webkit-box-decoration-break:clone;box-decoration-break:clone;
 }
}
@media(forced-colors:active){
 .silver-heading{background-image:none;color:CanvasText;filter:none}
}


/* Low-power phones keep the approved frame moving on the compositor. */
@media(prefers-reduced-motion:no-preference){
 .orb-stage[data-orb-composite]{overflow:hidden}
 .orb-stage[data-orb-composite] #orb{
  animation:orb-composite-drift 19s ease-in-out infinite alternate;
  will-change:transform;
 }
 .orb-stage[data-orb-composite] #orb[data-orb-paused]{animation-play-state:paused}
 @keyframes orb-composite-drift{
  0%{transform:rotate(0deg)}
  100%{transform:rotate(8deg)}
 }
}

/* Only the displayed username uses the approved silver finish. */
#member #profile-display{
 font-family:"银字补充",var(--chosen-serif);
 color:#e5e5e5;
 width:fit-content;
 max-width:100%;
}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 #member #profile-display.silver-heading{color:transparent}
}
@media(forced-colors:active){
 #member #profile-display.silver-heading{color:CanvasText}
}

/* Date archive, scoped to the news tab. */
body[data-view="news"] .header-account{display:none}
#news .news-archive{padding-inline:var(--gutter)}
.news-date-band{background:#242424;color:#f4f4f4}
.news-date-band h2{margin:0;font-size:.96rem;font-weight:670;padding:9px 12px}
.news-date-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:11px 0;border-bottom:1px solid #dedede}
.news-date-filters label{display:flex;align-items:center;gap:7px;min-width:0;font-size:.77rem;color:#545454}
.news-date-filters label>span{flex-shrink:0;white-space:nowrap}.news-date-filters label>select{flex:1}
.news-date-filters select{min-width:0;width:100%;height:35px;border:1px solid #d3d3d3;border-radius:5px;background:#f7f7f7;font:inherit;color:#262626;padding:0 7px}
.news-date-filters select:disabled{opacity:.7}
#news #news-years{padding-inline:0}
.news-month-group>h3{margin:0;padding:6px 10px;background:#ececec;color:#4a4a4a;font-size:.76rem;font-weight:650;line-height:1.45}
.news-month-group+.news-month-group{margin-top:14px}
#news #news-years .news-archive-row{display:block;margin:0;padding:10px 10px 11px;border-bottom:1px solid #e2e2e2;background:#f9f9f9;color:#191919;text-decoration:none}
#news #news-years .news-archive-row time,#news #news-years .news-archive-row .meta{display:block;margin-bottom:2px;font-size:.73rem;color:#616161}
#news #news-years .news-archive-row strong{display:block;font-size:1rem;font-weight:650;line-height:1.43;overflow-wrap:anywhere}
#news #news-years .news-archive-row:hover strong{text-decoration:underline}
.news-archive-more{display:block;margin:14px auto;padding:7px 15px;border:1px solid #d1d1d1;background:#f7f7f7;color:#242424;font-size:.84rem}

/* The account page is intentionally more open, with settings closed initially. */
#member .member-editorial{padding-bottom:24px}
#member .profile-strip{min-height:97px;padding-block:17px}
#member .profile-edit{font-size:.83rem}
#member .account-section{margin-top:19px}
#member .account-section .feature-head{min-height:46px;padding-block:9px}
#member .account-section .feature-head h2{font-size:1.19rem}
#member .account-section .member-line,#member .about-panel>.member-line,#member .type-panel>summary{min-height:54px;padding-block:12px}
#member .account-section .member-line span:first-child,#member .type-panel #type-title,#member .about-panel>.member-line{font-size:1rem;font-weight:650}
#member .account-section .member-line .meta{font-size:.83rem}
#member .type-panel{margin-block:15px 10px}
#member .type-panel>summary{border-top:1px solid #ddd;border-bottom:1px solid #ddd;color:#171717;cursor:pointer}
#member .type-options{padding-block:13px 16px;gap:8px}
#member .type-options label{min-height:76px}
#member .type-options .type-label{font-size:.75rem}
#member .about-panel>.member-line{color:#171717}

/* Paint only: preserve the approved wordmark font, weight, size and position. */
.site-header .brand .brand-wordmark{color:#dedede}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 .site-header .brand .brand-wordmark{
  background-image:linear-gradient(169deg,#f9f9f9 9%,#d9d9d9 30%,#efefef 43%,#8d8d8d 56%,#c2c2c2 70%,#eee 93%);
  color:transparent;-webkit-background-clip:text;background-clip:text;
 }
}
@media(forced-colors:active){body .site-header .brand .brand-wordmark{color:LinkText!important;background:none}}

.payment-methods{margin-top:12px}.payment-methods button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
