@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --bg: #faf7f1;
  --ink: #211e1a;
  --muted: #605d56;
  --line: #c9c2b6;
  --accent: #a6351b;
  --serif:
    Georgia, "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun,
    serif;
  --sans: "Source Sans 3", "Microsoft YaHei", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover,
summary:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select,
summary {
  cursor: pointer;
}
button,
select,
input[type="search"],
.btn,
.menu-toggle {
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 2px;
}
.btn {
  text-decoration: none;
  display: inline-block;
}
input[type="checkbox"] {
  accent-color: var(--accent);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1390px, 93%);
  margin: auto;
}
.top,
.foot,
.row,
.actions,
.controls,
.paging {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top {
  border-bottom: 1px solid var(--ink);
  min-height: 78px;
  gap: clamp(15px, 2.6vw, 50px);
}
.logo {
  font:
    700 clamp(34px, 3.6vw, 51px) / 1 Georgia,
    serif;
  letter-spacing: -0.065em;
  text-decoration: none;
}
.logo i {
  font-style: normal;
}
.top .logo {
  margin-right: auto;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(13px, 1.65vw, 30px);
}
nav a {
  text-decoration: none;
  font: 600 clamp(14px, 1.25vw, 19px) / 1.7 var(--serif);
  padding: 7px 0;
}
nav a[aria-current] {
  box-shadow: inset 0 -2px var(--accent);
}
.clock {
  border-left: 1px solid var(--accent);
  padding-left: 14px;
  min-width: 99px;
  text-align: right;
  line-height: 1.1;
}
.clock small {
  display: block;
  font: 11px/1.35 var(--sans);
  color: var(--muted);
}
.clock time {
  font:
    500 20px/1.2 Georgia,
    serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.menu-toggle {
  display: none;
}
main {
  min-height: 72vh;
  padding-bottom: 55px;
}
section {
  margin: 30px 0;
}
.definition {
  font: clamp(15px, 1.4vw, 21px) / 1.65 var(--serif);
  margin: 24px 0 30px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0 0 12px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  text-wrap: pretty;
}
h1 {
  font-size: clamp(36px, 4.4vw, 66px);
  line-height: 1.16;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(26px, 2.65vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 23px;
  line-height: 1.35;
}
.hero {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: stretch;
  gap: clamp(24px, 4vw, 65px);
  padding-bottom: 30px;
}
.hero .copy {
  align-self: center;
}
.hero h1 {
  font-size: clamp(33px, 3.25vw, 50px);
  margin: 16px 0 23px;
}
.hero .copy > p:not(.eyebrow) {
  font: clamp(17px, 1.4vw, 22px) / 1.8 var(--serif);
  max-width: 29em;
}
.hero figure {
  margin: 0;
  display: flex;
  align-items: center;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-title {
  margin: -.4rem 0 .8rem;
  color: var(--accent);
  font: italic 1.08rem/1.4 var(--serif);
}
.hero .actions {
  margin-top: 23px;
  font: 15px var(--serif);
}
.hero .btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  padding: 12px 21px;
}
.eyebrow,
.meta,
small {
  font: 13px/1.65 var(--sans);
  color: var(--muted);
}
.eyebrow {
  color: var(--accent);
  font-weight: 650;
  letter-spacing: 0.045em;
}
.home-trend,
.overview {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  border-top: 1px solid var(--ink);
  gap: clamp(26px, 4vw, 65px);
  padding-top: 30px;
  margin: 0;
}
.home-trend > div + div,
.overview > section + section {
  padding-left: clamp(15px, 2.5vw, 40px);
  border-left: 1px solid var(--line);
}
.home-trend p {
  max-width: 31em;
}
.overview {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.overview section {
  margin: 0;
}
.overview h2 {
  font-size: clamp(22px, 2.1vw, 32px);
}
.overview .meta {
  margin-top: 12px;
}
.controls {
  gap: 8px;
  margin: 14px 0;
}
.controls select,
.controls input {
  min-height: 38px;
  max-width: 100%;
  font-size: 14px;
}
.controls label {
  font-size: 14px;
  white-space: nowrap;
}
.filters {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filters input {
  flex: 1 1 230px;
  min-width: 140px;
}
.filters button {
  background: var(--ink);
  color: white;
}
.filters > a,
.text-action,
.numbers summary {
  font-size: 14px;
}
.text-action {
  background: none;
  border: 0;
  color: var(--accent);
  padding: 5px 0;
}
.row {
  justify-content: space-between;
}
.chart {
  width: 100%;
  height: auto;
  display: block;
}
.chart text {
  fill: var(--muted);
  font: 13px var(--sans);
}
.chart line {
  stroke: #d8d1c5;
  stroke-width: 1;
}
.series {
  color: var(--accent);
}
.s1 {
  color: #323b40;
}
.series polyline {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.s1 polyline {
  stroke-dasharray: 6 4;
}
.series circle {
  fill: currentColor;
}
.chart a {
  color: inherit;
}
.chart a:hover circle,
.chart a:focus circle {
  stroke: currentColor;
  stroke-width: 4;
}
.numbers {
  margin: 8px 0;
  color: var(--muted);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th,
td {
  padding: 6px;
  border-bottom: 1px solid var(--line);
}
.bars a, .tag-bars > div {
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(30px, 1fr) 57px;
  align-items: center;
  gap: 12px;
  font: 14px var(--sans);
  text-decoration: none;
  margin: 12px 0;
}
.bars a:hover span {
  text-decoration: underline;
}
.bars b {
  text-align: right;
  font-weight: 500;
}
.bars meter {
  width: 100%;
  height: 12px;
  appearance: none;
  background: #e8e0d3;
  border: 0;
}
.bars meter::-webkit-meter-bar {
  background: #e8e0d3;
  border: 0;
  border-radius: 0;
}
.bars meter::-webkit-meter-optimum-value {
  background: #b55b42;
}
.bars meter::-moz-meter-bar {
  background: #b55b42;
}
.shelf {
  margin-top: 37px;
  border-top: 1px solid var(--ink);
  padding-top: 26px;
}
.editions,
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.editions a,
.cards a {
  display: block;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.editions strong {
  display: block;
  font: 500 clamp(42px, 4.1vw, 62px)/1.08 var(--serif);
  letter-spacing: -.035em;
  margin: 7px 0;
}
.editions em,
.cards b {
  font: 14px var(--sans);
  color: var(--accent);
}
.cards h3 {
  margin: 4px 0;
}
.list {
  border-top: 1px solid var(--ink);
}
.paper {
  border-bottom: 1px solid var(--line);
  padding: 16px 0 20px;
}
.paper h3 {
  font-size: clamp(20px, 1.8vw, 29px);
  margin: 3px 0;
  overflow-wrap: anywhere;
}
.paper h3 a {
  text-decoration: none;
}
.paper h3 a:hover {
  text-decoration: underline;
}
.paper p {
  max-width: 75ch;
}
.tag {
  display: inline-block;
  font: 12px var(--sans);
  color: #695d51;
  margin: 6px 10px 0 0;
}
.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 7px 0;
}
.paper-tags .label-group a {
  text-decoration: none;
  padding: 1px 7px;
  border: 1px solid #d8cdbf;
  border-radius: 2px;
  color: #604b39;
  font: 13px/1.55 var(--sans);
}
.paper-detail {
  margin: 8px 0;
}
.abstract-body {
  padding: 10px 0;
  overflow-wrap: anywhere;
}
.abstract-body p[lang="en"] {
  font:
    18px/1.65 Georgia,
    serif;
}
.paper-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 13px;
}
.paper-actions a,
summary {
  color: var(--accent);
}
.box {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.paging {
  margin: 16px 0;
}
.empty {
  padding: 25px 0;
}
#papers {
  scroll-margin-top: 12px;
}
.foot {
  border-top: 1px solid var(--ink);
  padding: 22px 0 32px;
  font-size: 13px;
}
.foot .logo {
  font-size: 29px;
}
.foot a:first-of-type {
  margin-left: auto;
}
.reader {
  width: 100%;
  height: 72vh;
  border: 0;
}
.reading {
  margin-top: 18px;
}
@media (max-width: 850px) {
  .top {
    min-height: 66px;
    gap: 15px;
  }
  .clock {
    order: 1;
  }
  .menu-toggle {
    display: block;
    order: 2;
    font-size: 14px;
  }
  nav {
    display: none;
    order: 3;
    width: 100%;
    border-top: 1px solid var(--line);
    gap: 14px;
    padding: 5px 0 10px;
  }
  nav.open {
    display: flex;
  }
  .hero {
    gap: 20px;
  }
  .hero h1 {
    font-size: clamp(30px, 4.2vw, 36px);
  }
  .hero .copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .definition {
    margin: 17px 0;
  }
  .home-trend,
  .overview {
    gap: 20px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .wrap {
    width: 91%;
  }
  .clock {
    padding-left: 9px;
    min-width: 83px;
  }
  .clock time {
    font-size: 17px;
  }
  .menu-toggle {
    padding: 5px 9px;
  }
  .hero,
  .home-trend,
  .overview {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(28px, 7.2vw, 36px);
    margin: 10px 0;
  }
  .hero .actions {
    margin-top: 14px;
  }
  .hero img {
    max-height: 300px;
    object-fit: cover;
  }
  .home-trend > div + div,
  .overview > section + section {
    border-left: 0;
    padding-left: 0;
  }
  .overview > section + section {
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .editions {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .editions a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .editions strong {
    font-size: 26px;
    margin: 0;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .foot a:first-of-type {
    margin-left: 0;
  }
  .filters input {
    flex-basis: 100%;
  }
  .filters select {
    max-width: 100%;
  }
  .numbers table {
    font-size: 13px;
  }
  .top nav a {
    font-size: 16px;
  }
}

.clock {
  position: relative;
  padding-bottom: 5px;
}
.clock::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: var(--elapsed, 0%);
  max-width: 100%;
  height: 1px;
  background: var(--accent);
}
.controls input[type="checkbox"] {
  min-height: 0;
  vertical-align: middle;
}
@media (max-width: 850px) {
  .top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 9px;
    padding-block: 9px;
  }
  .top .logo {
    font-size: clamp(27px, 7vw, 36px);
  }
  nav {
    grid-column: 1/-1;
  }
  .clock {
    min-width: 0;
  }
  .menu-toggle {
    white-space: nowrap;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-weight: 600;
  letter-spacing: -0.062em;
}
.logo img {
  width: 0.74em;
  height: 0.74em;
}
.logo i {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.07em;
}
.hero .cover-print {
  display: block;
  margin: 0;
  align-self: center;
}
.cover-print > a {
  display: block;
}
.hero .cover-print img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  max-height: none;
  object-fit: cover;
  object-position: 50% 57%;
}
.cover-print figcaption {
  padding-top: 0.5rem;
  font: 12px/1.5 var(--sans);
  color: var(--muted);
}
.cover-print figcaption a {
  white-space: nowrap;
}
@media (min-width: 651px) {
  .editions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.chart .year-guide {
  stroke: var(--muted);
  stroke-dasharray: 2 4;
  pointer-events: none;
}
.inspect-year {
  padding: 12px 0;
  border-block: 1px solid var(--line);
}
.inspect-year label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.inspect-year strong {
  color: var(--ink);
  font: bold 20px var(--serif);
}
.inspect-year input {
  flex: 1;
  min-width: 48px;
  accent-color: var(--accent);
  cursor: pointer;
}
.year-values {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: 8px;
}
.year-values a {
  display: grid;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.year-values a:hover b, .year-values a:focus-visible b {
  text-decoration: underline;
}
.year-values span {
  color: var(--muted);
  font-size: 12px;
}
.year-values b {
  color: var(--accent);
  font-size: 17px;
}
.about-page {
  max-width: 47rem;
  margin: 2.6rem auto 5rem;
}
.about-page .about-lead {
  font: clamp(18px, 2vw, 24px)/1.8 var(--serif);
}
.about-page section {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  margin-top: 2rem;
}
.paper-actions a { overflow-wrap: anywhere; }

.chart text, .editions strong, .year-values, .inspect-year, .numbers, .bars b, .clock time, .paging {
  font-variant-numeric: lining-nums tabular-nums;
}
.chart .end-label { color: var(--accent); pointer-events: none; }
.chart .end-label.s1 { color: #323b40; }
.chart .end-label text { fill: currentColor; font-weight: 600; }
.end-label path { fill: none; stroke: currentColor; stroke-width: 1; }
.end-label.s1 path { stroke-dasharray: 3 2; }
.figure-plot { position:relative; padding-block:6px 3px; }
.trend-stroke { fill:none; stroke:currentColor; stroke-width:2.6; stroke-linejoin:round; stroke-linecap:round; }
.s1 .trend-stroke { stroke-dasharray:6 4; }
.series .hit { fill:transparent; stroke:none; }
.chart a:hover .hit, .chart a:focus .hit { stroke:none; }
.series .selected-dot { stroke:var(--paper,#faf7f1); stroke-width:2; pointer-events:none; }
.chart .ref-guide { stroke:var(--accent); stroke-dasharray:5 3; opacity:.65; }
.year-navigation { display:flex; align-items:center; gap:14px; }
.year-navigation label { flex:1; }
.ref-year { font:inherit; font-size:12px; padding:.45em .7em; background:transparent; color:var(--ink); border:1px solid var(--line); border-radius:3px; white-space:nowrap; }
.ref-year[aria-pressed="true"] { color:var(--accent); border-color:currentColor; }
.time-figure .year-values { gap:8px; margin-top:12px; }
.year-values .value-card { padding:9px 12px; border-inline-start:3px solid var(--accent); background:rgba(166,53,27,.045); }
.year-values .value-card.s1 { border-color:#39464a; background:rgba(56,70,75,.045); }
.year-values .value-card.s1 b { color:#39464a; }
.value-card small { color:var(--muted); min-height:1.35em; font-size:12px; }
.value-card[href] span::after { content:" ↗"; }
@media(prefers-reduced-motion:no-preference) {
  .selected-dot { transition:cx .12s ease-out,cy .12s ease-out; }
  .value-card, .ref-year { transition:background-color .15s; }
  .value-card[href]:hover { background:rgba(166,53,27,.09); }
}
.year-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
}
.reading-page {
  max-width: 864px;
  margin: clamp(22px, 4vw, 56px) auto 4rem;
}
.reading-back { font-size: 14px; color: var(--muted); }
.reading-page .paper {
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 3vw, 34px);
}
.reading-page h1 {
  margin: .45em 0 .3em;
  font-size: clamp(26px, 3vw, 43px);
  line-height: 1.32;
  overflow-wrap: anywhere;
}
.reading-page .paper > p[lang=en] {
  font: clamp(17px, 1.65vw, 23px)/1.48 Georgia, serif;
  color: var(--muted);
  max-width: none;
}
.reading-page .paper-detail, .reading-page .paper-actions {
  max-width: 744px;
  margin-inline: auto;
}
.reading-page .paper-detail {
  margin-top: 1.65rem;
  border-top: 1px solid var(--line);
  padding-top: .75rem;
}
.reading-page .abstract-body p {
  max-width: 100%;
  margin: .45em 0 1.3em;
  line-height: 1.85;
}
.reading-page .abstract-body p[lang=en] { line-height: 1.65; }
.study-summary { max-width:744px; margin:2.3rem auto 4rem; border-top:1px solid var(--line); }
.study-summary h2 { font-size:clamp(1.5rem,3vw,2rem); margin:1.4rem 0 .6rem; }
.study-body > p:not(.meta) { font-size:clamp(1rem,1.3vw,1.15rem); line-height:1.95; margin:1.15em 0; }
.study-loc { color:var(--muted); font-size:.72em; white-space:normal; }
.study-body details { margin-top:1.8rem; }
.study-body li { margin:.5rem 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.loading-page { padding-block: 1.5rem; }
.loading-block { padding: 25px 0; border-top: 1px solid var(--line); }
.loading-block i {
  display: block;
  width: min(76%, 680px);
  height: .8rem;
  margin-block: 1rem;
  background: #e9e3d9;
}
.loading-block i:first-child { height: 1.6rem; width: min(55%, 480px); }
.loading-block i:last-child { width: min(44%, 340px); }
@media (max-width: 720px) {
  .top { grid-template-columns: minmax(0, 1fr) auto; }
  .top .clock { display: none; }
}
.paper-tags .label-group {display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:.3rem;margin-right:.6rem}
.label-group small {font:600 .74rem/1.5 system-ui;color:#5a554d}
.paper-tags .label-topics a {background:#f5e7df;border-color:#ddb9a8;color:#823c26}
.paper-tags .label-methods a {background:#e7eff3;border-color:#b9ccd6;color:#294e64}
.paper-tags .label-data a {background:#e7efe8;border-color:#bdcfc0;color:#30563b}
.study-body h3 {margin-top:1.6rem}
.catalogue-breakdown {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .65rem;
  margin: .8rem 0 1.4rem;
  font-variant-numeric: tabular-nums;
}
.catalogue-breakdown a { text-underline-offset: .19em; }

.definition { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:.25rem 1rem; margin:16px 0 19px; }
.definition a, .feature-authors { font: .86rem/1.5 var(--sans); color:var(--muted); }
.definition a { text-decoration:none; }
.definition a:hover { text-decoration:underline; }
.feature-authors { margin:-.3rem 0 1rem; }
.cover-print > a { background:#e7e2d9; box-shadow:0 0 0 1px rgba(50,38,24,.10); }
.hero .cover-print img { display:block; aspect-ratio:auto var(--photo-ratio); }
form.filters { display:grid; gap:.75rem; }
.filter-main, .filter-actions, .filter-options, .filter-chips { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; }
.filter-main input { min-width:0; }
.filter-actions { gap:1rem; margin-inline:.35rem; font-size:.9rem; }
.more-filters { margin:0; }
.more-filters summary { cursor:pointer; color:var(--accent); width:fit-content; font-size:.9rem; }
.filter-options { margin-top:.6rem; }
.filter-chips a, .catalogue-breakdown a { text-decoration:none; border:1px solid var(--line); border-radius:3px; padding:.18rem .58rem; font:.86rem/1.65 var(--sans); }
.filter-chips a { color:var(--ink); background:#f1ebe2; }
.filter-chips a span { color:var(--accent); margin-left:.2rem; }
.filter-chips a:hover, .catalogue-breakdown a:hover, .paper-tags .label-group a:hover { border-color:currentColor; text-decoration:underline; text-underline-offset:3px; }
.numbers a { text-underline-offset:3px; }
@media(max-width:650px) {
  #main-nav.open { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 .75rem; }
  #main-nav a { text-align:center; padding:9px 0; }
  .filter-main, .filter-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .filter-main input { width:100%; grid-column:1/-1; }
  .filter-main select, .filter-options select { width:100%; min-width:0; }
  .filter-actions { margin:0; justify-content:flex-start; }
  .definition { margin:12px 0 16px; }
}
