.archivehead {
  display:flex; align-items:baseline; gap:clamp(12px,2vw,28px);
  padding:clamp(20px,4vw,64px) 0 clamp(14px,3vw,44px);
}
#count {color:var(--hot);font:500 clamp(14px,2vw,28px)/1 ui-monospace,monospace;letter-spacing:-.07em}
.record-filters {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:clamp(20px,3.5vw,52px)}
.record-filter {padding:.42em 1.05em;border:1px solid #595854;border-radius:2em;font-size:13px;color:#bbb9b3;background:transparent}
.record-filter[aria-pressed="true"] {background:#eceae4;color:#191917;border-color:#eceae4}
.record-filter:hover {border-color:#eceae4}
.record-row {border-top:1px solid #4a4945}
.record-row:last-child {border-bottom:1px solid #4a4945}
.record-tile {
  display:grid;grid-template-columns:3ch auto minmax(0,1fr) auto auto;
  width:100%;align-items:center;gap:clamp(12px,2.6vw,44px);min-height:100px;padding:20px 0;
  border:0;background:transparent;color:inherit;text-align:left;
}
.record-number,.record-tag,.record-arrow {font:500 12px/1.25 ui-monospace,"Microsoft YaHei",monospace;color:#b1b0aa}
.record-tag {font-family:inherit;font-size:14px}
.record-name {font-size:clamp(25px,3.7vw,62px);font-weight:620;letter-spacing:-.055em;line-height:1.12;overflow-wrap:anywhere;transition:color .18s,transform .25s}
.record-arrow {font-size:clamp(22px,3vw,44px);font-weight:300}
.record-tile:is(:focus-visible,:hover) .record-name,.record-tile:is(:focus-visible,:hover) .record-arrow {color:var(--hot)}
.record-tile:is(:focus-visible,:hover) .record-name {transform:translateX(4px)}
.record-portrait {
  display:grid;place-items:center;position:relative;isolation:isolate;overflow:hidden;
  aspect-ratio:3/4;background:linear-gradient(135deg,#292824 0%,#181817 55%,#6c2a23 120%);color:#e8e6df;
}
.record-portrait img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.record-initials {font-family:"Songti SC","Noto Serif CJK SC",SimSun,serif;font-size:clamp(18px,7vw,100px);font-weight:500;letter-spacing:-.12em;line-height:1}
.record-tile .record-portrait {width:clamp(42px,4.6vw,72px)}
.record-tile .record-initials {font-size:20px}
#preview {position:fixed;left:0;top:0;z-index:8;pointer-events:none;width:clamp(140px,18vw,260px);max-height:60svh}
#preview .record-portrait {box-shadow:0 12px 35px #0006;animation:record-peek .2s ease-out both}
@keyframes record-peek {from{opacity:0;scale:.96}to{opacity:1;scale:1}}
#stage {padding:clamp(20px,3vw,48px) 0}
#stage:has(#empty[hidden]) {padding:0}
#empty {display:inline-flex;align-items:center;padding:1em 1.5em;border:1px solid #706f68;background:transparent;color:#e6e4dd;border-radius:2em;font:inherit}
#empty:hover {border-color:var(--hot);color:var(--hot)}
#status,.record-filter-empty {font-size:14px;color:#b6b5af;margin:14px 0 0}
#status:empty {display:none}
.record-tap {display:grid;grid-template-columns:minmax(75px,32%) 1fr;gap:20px;align-items:center;padding:0 0 22px}
.record-tap-copy {min-width:0}
.record-excerpt {color:#c0bdb6;font-size:14px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.record-read {color:var(--hot);background:transparent;border:0;padding:.5em 0;text-decoration:underline;text-underline-offset:4px}
#index [hidden],#detail [hidden] {display:none!important}
body:has(.record-dialog[open]) {overflow:hidden}
.record-dialog {
  box-sizing:border-box;position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;
  padding:0;margin:0;border:0;background:var(--ink);color:var(--paper);overflow:auto;overscroll-behavior:contain;
}
.record-dialog::backdrop {background:#111110}
.record-sheet {min-height:100%;display:flex;flex-direction:column;padding:0 clamp(18px,5.2vw,90px)}
.record-top,.record-credit,.record-pager {display:flex;align-items:center;justify-content:space-between;gap:14px}
.record-top {padding:clamp(18px,2.6vw,40px) 0;border-bottom:1px solid #4f4e48}
.record-top span,.record-credit,.record-source small,.record-pager span {font:500 12px/1.5 ui-monospace,monospace;letter-spacing:.045em;color:#b5b3ab}
.record-back,.record-pager button {border:0;background:none;color:inherit;padding:8px 0;font:inherit;cursor:pointer}
.record-back:hover,.record-pager button:enabled:hover {color:var(--hot)}
.record-story {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:clamp(24px,6vw,120px);flex:1;padding:clamp(32px,6vw,100px) 0}
.record-visual {position:sticky;top:24px}
.record-photo .record-portrait {max-height:66vh;width:100%;background-color:#21211f}
.record-photo .record-portrait img {object-fit:contain;background:#21211f}
.record-credit {margin:12px 0}
.record-credit .record-no {color:var(--hot)}
#detailName {margin:0 0 clamp(20px,3vw,50px);font-size:clamp(42px,6.5vw,110px);font-weight:650;line-height:1.1;letter-spacing:-.065em;overflow-wrap:anywhere}
.record-prose {font:400 clamp(17px,1.35vw,23px)/1.95 system-ui,sans-serif;color:#dbd9d2}
.record-prose p,.record-source p {white-space:pre-wrap;overflow-wrap:anywhere}
.record-prose p {margin:0 0 1.2em}
.record-source {margin-top:clamp(24px,5vw,72px);border-top:1px solid #4f4e48;padding-top:16px}
.record-source p {font-size:14px;line-height:1.8;color:#c7c4bd;margin:9px 0}
.record-pager {border-top:1px solid #4f4e48;padding:18px 0 28px}
.record-pager button:disabled {opacity:.34;cursor:default}
::view-transition-group(archive-portrait) {animation-duration:.46s;animation-timing-function:cubic-bezier(.22,.72,.25,1)}
::view-transition-old(archive-portrait),::view-transition-new(archive-portrait){height:100%;width:100%;object-fit:cover}
@media(max-width:700px){
  .record-tile{grid-template-columns:2.8ch 41px minmax(0,1fr) auto;gap:12px;min-height:78px;padding:12px 0}
  .record-tile .record-tag{display:none}
  .record-tile .record-portrait{width:41px}
  .record-visual{position:static}
  .record-story{grid-template-columns:1fr;gap:24px}
  .record-photo .record-portrait{width:min(100%,320px);max-height:50svh;margin:0 auto}
  .record-top span{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  #preview .record-portrait,.record-name{animation:none;transition:none}
  .record-tile:is(:focus-visible,:hover) .record-name{transform:none}
}
