:root {
  color-scheme: dark;
  --ground: #101615;
  --surface: #161d1b;
  --line: #35403b;
  --ink: #f2f4ee;
  --muted: #acb7b0;
  --accent: #b8e4cc;
  font: 16px/1.55 Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 0; min-height: 100vh; margin: 0; background: var(--ground); color: var(--ink); }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1104px, 100% - 64px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 3; inset: 10px auto auto 10px; padding: 6px 10px; border-radius: 4px; background: var(--accent); color: #172c22; }
.masthead { border-bottom: 1px solid #2a3330; }
.top { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 650; letter-spacing: -.04em; }
.language { position: relative; display: flex; align-items: center; }
.language select { height: 40px; padding: 0 24px 0 32px; border: 0; background: transparent; color: var(--ink); font-size: 14px; appearance: none; }
.language option { color: var(--ink); background: var(--surface); }
.language::after { position: absolute; right: 6px; width: 6px; height: 6px; top: 15px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); content: ""; pointer-events: none; }
.globe { position: absolute; left: 4px; width: 17px; height: 17px; border: 1.3px solid var(--muted); border-radius: 50%; pointer-events: none; }
.globe::before { position: absolute; inset: -1px 3.5px; border-inline: 1px solid var(--muted); border-radius: 50%; content: ""; }
.globe::after { position: absolute; left: 0; right: 0; top: 7px; border-top: 1px solid var(--muted); content: ""; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 263px; padding-block: 36px; border-bottom: 1px solid var(--line); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(43px, 5.4vw, 76px); line-height: 1.05; letter-spacing: -.065em; font-weight: 585; }
:lang(zh-CN) h1 { letter-spacing: -.035em; }
.hero p, .missing p { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); }
.archive-art { position: relative; flex: 0 0 32%; max-width: 340px; height: 176px; display: grid; place-items: center; overflow: hidden; background-image: radial-gradient(#52615660 .9px, transparent 1px); background-size: 12px 12px; mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent); }
.folio { position: relative; width: 120px; height: 85px; transform: rotate(-10deg) skewY(-4deg); }
.folio i, .folio b, .folio::before { position: absolute; width: 107px; height: 76px; border: 1px solid #789382; border-radius: 4px; display: block; background: #202d26; }
.folio::before { content: ""; top: -12px; left: 13px; transform: rotate(15deg); background: repeating-linear-gradient(0deg, transparent 0 5px, #48605288 5px 6px), #1d2b24; }
.folio i { top: -6px; left: 7px; transform: rotate(7deg); background: #2c3c32; }
.folio b { top: 0; left: 0; border-color: #95b39d; background: linear-gradient(125deg,#3b5143,#26382d); box-shadow: -9px 12px 28px #050a0770; }
.folio b::before { content: ""; position: absolute; top: 13px; left: 13px; width: 32px; height: 3px; background: #b8d6bb; box-shadow: 0 8px #698575; }
.folio b::after { content: ""; position: absolute; bottom: 9px; left: 11px; right: 11px; border-top: 1px solid #78927f; }
.library { padding-block: 35px 72px; }
.toolbar, .section-title { display: flex; align-items: center; }
.toolbar { min-height: 45px; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-title { gap: 12px; }
h2 { font-size: 26px; line-height: 1.2; font-weight: 590; letter-spacing: -.045em; }
#count { font: 13px/1.5 ui-monospace, Consolas, monospace; color: var(--muted); padding: 1px 8px; border: 1px solid var(--line); border-radius: 5px; }
.search { display: flex; align-items: center; gap: 12px; width: min(255px, 45%); border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding-inline: 13px 7px; }
.search:focus-within { border-color: var(--accent); }
.search input { width: 100%; min-width: 0; height: 40px; border: 0; color: var(--ink); background: transparent; font-size: 14px; }
.search input:focus-visible { outline-offset: 0; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.magnifier { flex: 0 0 auto; position: relative; width: 12px; height: 12px; border: 1.4px solid var(--muted); border-radius: 50%; }
.magnifier::after { content: ""; position: absolute; right: -4px; bottom: -2px; width: 6px; border-top: 1.4px solid var(--muted); transform: rotate(46deg); }
.catalog { width: 100%; border-collapse: collapse; table-layout: fixed; }
.catalog th { padding: 10px 9px; border-block: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 500; text-align: start; }
.catalog th:first-child, .catalog td:first-child { padding-left: 0; }
.catalog td { padding: 20px 9px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.catalog th:nth-child(1) { width: 53%; }
.catalog th:nth-child(2) { width: 12%; }
.catalog th:nth-child(3) { width: 17%; }
.catalog td:last-child { padding-right: 0; text-align: end; }
.asset { display: flex; align-items: flex-start; gap: 15px; }
.asset-copy { min-width: 0; overflow-wrap: anywhere; }
.asset h3 { font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.asset p, .info { color: var(--muted); font-size: 14px; }
.asset p { margin-top: 3px; white-space: pre-line; }
.filename { display: block; color: #a0ada5; font: 12px/1.6 ui-monospace, Consolas, monospace; margin-top: 3px; overflow-wrap: anywhere; }
.format, .state-icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 50px; color: var(--accent); background: #213129; border: 1px solid #3b5043; border-radius: 5px; }
.format { font: 600 11px/1 ui-monospace, Consolas, monospace; }
.info { font-variant-numeric: tabular-nums; }
.mobile-label { display: none; }
.download, .action { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #476351; border-radius: 5px; color: var(--accent); background: #203027; font-size: 14px; font-weight: 550; padding: 7px 13px; text-decoration: none; }
.download:hover, .action:hover { border-color: #a8d3b7; background: #293d30; }
.arrow { position: relative; width: 12px; height: 14px; border-bottom: 1.5px solid currentColor; }
.arrow::before { content: ""; position: absolute; top: 0; left: 5px; height: 9px; border-left: 1.5px solid currentColor; }
.arrow::after { content: ""; position: absolute; left: 3px; top: 4px; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.state { text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 45px 18px 48px; background: var(--surface); }
.state h3 { margin: 13px 0 4px; font-size: 20px; font-weight: 580; letter-spacing: -.025em; }
.state p { font-size: 15px; color: var(--muted); }
.state-icon { width: 45px; height: 43px; margin-inline: auto; }
.folder { position: relative; display: inline-block; width: 21px; height: 13px; margin-top: 3px; border: 1.5px solid currentColor; border-radius: 2px; }
.folder::before { content: ""; position: absolute; left: -1.5px; top: -4px; width: 9px; height: 3px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 2px 3px 0 0; background: #213129; }
.action { margin-top: 15px; }
.missing { padding-block: 80px; }
.missing .download { margin-top: 28px; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .archive-art { flex-basis: 24%; height: 130px; }
  .folio { transform: scale(.74) rotate(-10deg) skewY(-4deg); }
  .hero { min-height: 219px; }
  .catalog, .catalog tbody, .catalog tr { display: block; }
  .catalog thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .catalog tr { display: grid; grid-template-columns: auto 1fr auto; padding: 17px 0; border-top: 1px solid var(--line); }
  .catalog tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .catalog td { padding: 0; border: 0; }
  .catalog td:first-child { grid-column: 1 / -1; margin-bottom: 13px; }
  .catalog td.info { align-self: center; margin-right: 12px; font-size: 12px; }
  .mobile-label { display: block; font-size: 11px; color: var(--muted); }
  .catalog td:last-child { align-self: center; }
}
@media (max-width: 490px) {
  .wrap { width: calc(100% - 32px); }
  .top { min-height: 61px; }
  .hero { min-height: 185px; padding-block: 32px; }
  .archive-art { display: none; }
  .library { padding-top: 22px; }
  .toolbar { flex-wrap: wrap; gap: 14px; }
  .search { width: 100%; }
  .asset { gap: 10px; }
  .state { padding: 33px 15px; }
}
