@font-face { font-family: Archivo; src: url(/static/fonts/Archivo-Variable.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/static/fonts/Satoshi-Variable.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url(/static/fonts/CrimsonPro-Variable.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Azeret Mono"; src: url(/static/fonts/AzeretMono-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #fff; --sheet: #fff; --ink: #111; --muted: #6e6e6e; --line: #e4e4e4; --wash: #f3f3f3;
  --danger: #a3301b; --ok: #2b5a36;
  --zh-sans: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --zh-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", serif;
  --font: Satoshi, var(--zh-sans);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 40px; --s7: 64px; --s8: 112px; --s9: 176px;
  --r: 6px; --ctl: 36px;
  --t-xs: 12px; --t-sm: 14px; --t-md: 16px; --t-lg: 22px; --t-xl: 34px;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-md)/1.6 var(--font); font-feature-settings: "tnum"; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: #fff; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
img { display: block; max-width: 100%; height: auto; }
.en { color: var(--muted); }
.mut { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 公开站：共用骨架 ---------- */
.pub header.site { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3) var(--s5); padding: var(--s6) var(--gutter) var(--s5); }
.pub .name { text-decoration: none; display: flex; align-items: baseline; gap: .5em; }
.pub .meta { color: var(--muted); font-size: var(--t-sm); }
.pub header nav { margin-left: auto; display: flex; gap: var(--s5); font-size: var(--t-sm); }
.pub header nav a, .filters a, .pager a { text-decoration: none; color: var(--muted); transition: color .2s; }
.pub header nav a:hover, .filters a:hover, .pager a:hover, .filters a[aria-current] { color: var(--ink); }
.pub main { padding: 0 var(--gutter) var(--s8); min-height: 60vh; }
.pub footer.site { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding: var(--s5) var(--gutter) 96px; font-size: var(--t-xs); color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s4) 0 var(--s6); font-size: var(--t-sm); }
.filters a[aria-current] { text-decoration: underline; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; }
.grid a { display: block; text-decoration: none; }
.plate { margin: 0; display: flex; }
.plate img { object-fit: contain; transition: opacity .4s cubic-bezier(.2, .7, .2, 1); }
.grid a:hover .plate img { opacity: .8; }
.cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s3); margin: var(--s3) 0 0; font-size: var(--t-sm); line-height: 1.45; }
.cap .t { flex: 1 1 auto; min-width: 0; }
.cap .t .en { margin-left: .5em; }
.cap .y, .cap .sold, .cap .no { color: var(--muted); }
.cap .no { display: none; }
.share-title { font-size: var(--t-xl); font-weight: 400; line-height: 1.15; margin: var(--s5) 0 var(--s6); max-width: 22ch; text-wrap: balance; }
.empty { color: var(--muted); padding: var(--s7) 0; }
.empty .en { display: block; }

.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: var(--s7); align-items: start; padding-top: var(--s4); }
.stage img#main { max-height: 84vh; width: auto; margin: 0 auto; }
.noimg { aspect-ratio: 4/3; background: var(--wash); }
.thumbs { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; margin-top: var(--s4); }
.thumbs button { border: 0; padding: 0; background: none; cursor: pointer; opacity: .4; transition: opacity .2s; }
.thumbs button:hover, .thumbs button[aria-current] { opacity: 1; }
.thumbs img { height: 56px; width: auto; }
.info { position: sticky; top: var(--s6); }
.info h1 { margin: 0; font-size: var(--t-xl); font-weight: 400; line-height: 1.15; text-wrap: balance; }
.info h1 .en { display: block; font-size: var(--t-lg); margin-top: var(--s1); }
.info .year { margin: var(--s2) 0 var(--s5); color: var(--muted); }
.info dl { display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s4); margin: 0; font-size: var(--t-sm); }
.info dt { color: var(--muted); white-space: nowrap; }
.info dd { margin: 0; }
.info dd .en { display: block; }
.avail { margin: var(--s5) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--t-sm); }
.avail b { font-weight: 500; margin-left: var(--s3); }
.avail.sold { color: var(--muted); }
.desc { margin-top: var(--s5); font-size: var(--t-sm); max-width: 65ch; }
.desc p { margin: 0 0 var(--s3); }
.pager { display: flex; justify-content: space-between; gap: var(--s4); margin-top: var(--s6); font-size: var(--t-sm); }
.pager span { display: flex; gap: var(--s4); }

.about { max-width: 1080px; }
.about blockquote { margin: var(--s5) 0 var(--s7); font-size: var(--t-lg); line-height: 1.75; max-width: 36em; }
.about blockquote p { margin: 0 0 var(--s3); }
.about section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--s5); padding: var(--s6) 0; border-top: 1px solid var(--line); }
.about h2 { margin: 0; font-size: var(--t-md); font-weight: 500; line-height: 1.4; }
.about h2 .en { display: block; font-weight: 400; }
.prose { max-width: 66ch; font-size: var(--t-sm); line-height: 1.85; }
.prose p { margin: 0 0 var(--s4); }
.prose .en { margin-top: var(--s5); }
.ex { list-style: none; margin: 0; padding: 0; font-size: var(--t-sm); columns: 2 320px; column-gap: var(--s6); }
.ex li { display: grid; grid-template-columns: 3.5em 1fr; gap: var(--s3); padding: var(--s1) 0; break-inside: avoid; }
.ex .y { color: var(--muted); }
.ex em { font-style: normal; color: var(--muted); margin-left: .5em; }

.pub header nav a[aria-current] { color: var(--ink); }
.ptitle { font-size: var(--t-xl); font-weight: 400; line-height: 1.15; margin: var(--s4) 0 var(--s6); }
.ptitle .en { margin-left: .4em; }

/* 展览列表：一行一个展览，有图的在右侧带缩略图 */
.exlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.exlist a { display: grid; grid-template-columns: 4.5em minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) 7em 96px; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.exlist a:hover { background: #fafafa; }
.exlist .y, .exlist .v, .exlist .d, .exlist .k { color: var(--muted); font-size: var(--t-sm); }
.exlist .t .en { display: block; font-size: var(--t-sm); }
.exlist figure { margin: 0; aspect-ratio: 4 / 3; background: transparent; overflow: hidden; }
.exlist figure img { width: 100%; height: 100%; object-fit: cover; }

/* 展览详情 */
.exd > header { margin: var(--s4) 0 var(--s6); }
.exd > header .y { color: var(--muted); margin: 0 0 var(--s2); }
.exd h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
.exd h1 .en { display: block; font-size: .5em; margin-top: var(--s2); }
.exd .hero { margin: 0 0 var(--s6); }
.exd .hero img { width: 100%; max-height: 80vh; object-fit: contain; object-position: left center; }
.exbody { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: var(--s7); margin-bottom: var(--s7); }
.exbody dl { display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s4); margin: 0; font-size: var(--t-sm); align-content: start; }
.exbody dt { color: var(--muted); white-space: nowrap; }
.exbody dd { margin: 0; }
.exgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--s4); margin-bottom: var(--s7); }
.exworks { border-top: 1px solid var(--line); padding-top: var(--s5); }
.exworks h2 { font-size: var(--t-md); font-weight: 500; margin: 0 0 var(--s5); }
.about .ex a { text-decoration: none; }
.about .ex a:hover { text-decoration: underline; }

/* 各版式下的展览 */
.look-a .ptitle, .look-a .exd h1 { font-weight: 700; letter-spacing: -.03em; }
.look-a .exlist { border-top: 2px solid var(--ink); }
.look-b .ptitle, .look-b .exd > header { text-align: center; }
.look-b .ptitle { font-size: 15px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: var(--s7); }
.look-b .exlist { max-width: 1000px; margin: 0 auto; border-top: 0; }
.look-b .exlist a { grid-template-columns: 4.5em minmax(0, 2fr) minmax(0, 1.4fr) 96px; border-bottom-color: transparent; padding: var(--s5) 0; }
.look-b .exlist .d, .look-b .exlist .k { display: none; }
.look-b .exd { max-width: 1100px; margin: 0 auto; }
.look-b .exd .hero img { object-position: center; }
.look-c .ptitle { font-size: clamp(34px, 5vw, 64px); }
.look-c .exlist a { grid-template-columns: 4.5em minmax(0, 2fr) minmax(0, 1.2fr) 160px; padding: var(--s5) 0; }
.look-c .exlist .d, .look-c .exlist .k { display: none; }
.look-c .exlist .t { font-size: 22px; }
.look-d .ptitle { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.look-d .exlist { border-top: 1px solid var(--line); }
.look-d .exlist a { grid-template-columns: 4em minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) 6em 56px; padding: var(--s2) 0; font-size: 12px; }
.look-d .exlist .t .en { display: none; }
.look-d .exd h1 { font-size: 22px; font-weight: 600; }

@media (max-width: 760px) {
  .exlist a, .look-b .exlist a, .look-c .exlist a, .look-d .exlist a { grid-template-columns: 3.5em 1fr 72px; }
  .exlist .v, .exlist .d, .exlist .k { display: none; }
  .exbody { grid-template-columns: 1fr; gap: var(--s5); }
}

/* 版式对比条（后台定稿后自动消失） */
.looks { position: fixed; left: 50%; bottom: var(--s4); transform: translateX(-50%); z-index: 5; display: flex; gap: 2px; padding: 4px; background: rgb(17 17 17 / .92); border-radius: 99px; box-shadow: 0 8px 28px rgb(0 0 0 / .22); font: 400 13px/1 Satoshi, var(--zh-sans); max-width: calc(100% - 32px); overflow-x: auto; }
.looks a { color: #bdbdbd; text-decoration: none; padding: 9px 14px; border-radius: 99px; white-space: nowrap; transition: background .2s, color .2s; }
.looks a:hover { color: #fff; }
.looks a[aria-current] { background: #fff; color: #111; }
.looks b { font-weight: 700; margin-right: 4px; }

/* ===== A 美术馆 Kunsthalle：瑞士网格，巨型无衬线名字，方格陈列 ===== */
.look-a { --font: Archivo, var(--zh-sans); }
.look-a header.site { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--s4); padding-top: var(--s5); align-items: end; }
.look-a .name { grid-column: 1 / -1; order: 2; flex-direction: column; gap: 0; margin-top: var(--s7); }
.look-a .en-name { font-size: clamp(48px, 10.5vw, 168px); font-weight: 700; font-stretch: 88%; letter-spacing: -.045em; line-height: .86; }
.look-a .zh-name { font-size: clamp(20px, 2.4vw, 36px); font-weight: 600; margin-top: var(--s3); }
.look-a .meta { grid-column: 1 / 7; order: 1; color: var(--ink); }
.look-a header nav { grid-column: 7 / -1; order: 1; justify-content: flex-end; }
.look-a header nav a { color: var(--ink); }
.look-a .filters { border-top: 2px solid var(--ink); padding-top: var(--s3); margin-top: 0; }
.look-a .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--s6) var(--s4); }
.look-a .plate { aspect-ratio: 1; align-items: flex-start; justify-content: flex-start; }
.look-a .plate img { max-height: 100%; width: auto; }
.look-a .cap { border-top: 1px solid var(--ink); padding-top: var(--s2); font-size: var(--t-xs); }
.look-a .info h1 { font-weight: 700; letter-spacing: -.02em; font-size: 40px; }
.look-a .info h1 .en { color: var(--ink); font-weight: 400; }

/* ===== B 画廊 Gallery：一屏一件，居中，大量留白 ===== */
.look-b { --font: Satoshi, var(--zh-sans); }
.look-b header.site { flex-direction: column; align-items: center; text-align: center; padding-top: var(--s7); padding-bottom: var(--s7); }
.look-b .name { flex-direction: column; align-items: center; gap: var(--s2); }
.look-b .en-name { font-size: 15px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.look-b .zh-name { font-size: 13px; letter-spacing: .5em; color: var(--muted); }
.look-b .meta { display: none; }
.look-b header nav { margin: 0; }
.look-b .filters { justify-content: center; margin-bottom: var(--s8); }
.look-b .grid { grid-template-columns: 1fr; gap: var(--s9); max-width: 1100px; margin: 0 auto; }
.look-b .plate { justify-content: center; }
.look-b .plate img { max-height: 78vh; width: auto; }
.look-b .cap { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: var(--s1); margin-top: var(--s5); }
.look-b .cap .t .en { display: block; margin: 0; font-style: normal; }
.look-b .work { grid-template-columns: 1fr; gap: var(--s6); max-width: 1100px; margin: 0 auto; }
.look-b .info { position: static; text-align: center; max-width: 560px; margin: 0 auto; }
.look-b .info h1 { font-weight: 500; font-size: 26px; }
.look-b .info dl { justify-content: center; text-align: left; }
.look-b .pager { justify-content: center; gap: var(--s6); }

/* ===== C 摄影书 Photobook：衬线斜体，错落的编排 ===== */
.look-c { --font: "Crimson Pro", var(--zh-serif); font-size: 18px; }
.look-c header.site { padding-top: var(--s7); padding-bottom: var(--s7); }
.look-c .name { flex-direction: column; gap: 0; }
.look-c .en-name { font-size: clamp(40px, 6vw, 88px); font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.look-c .zh-name { font-size: clamp(22px, 2.4vw, 34px); font-weight: 400; letter-spacing: .3em; margin-top: var(--s3); }
.look-c .meta { align-self: flex-end; font-size: var(--t-md); }
.look-c header nav { font-size: var(--t-md); align-self: flex-end; }
.look-c .filters { font-size: var(--t-md); }
.look-c .grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s5); row-gap: var(--s8); align-items: end; }
.look-c .grid li:nth-child(4n+1) { grid-column: 1 / 8; }
.look-c .grid li:nth-child(4n+2) { grid-column: 9 / 13; align-self: start; }
.look-c .grid li:nth-child(4n+3) { grid-column: 3 / 7; }
.look-c .grid li:nth-child(4n+4) { grid-column: 8 / 13; }
.look-c .plate img { width: 100%; max-height: 90vh; }
.look-c .cap { font-size: var(--t-md); }
.look-c .cap .t .en { }
.look-c .info h1 { font-weight: 400; font-size: 44px; }
.look-c .info h1 .en { }
.look-c .about blockquote { font-size: 26px; }

/* ===== D 档案 Archive：编号索引，等宽数据，密排小图 ===== */
.look-d { --font: "Azeret Mono", var(--zh-sans); font-size: 13px; }
.look-d header.site { border-bottom: 1px solid var(--ink); padding-top: var(--s5); padding-bottom: var(--s3); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.look-d .name { gap: 1.5em; }
.look-d .en-name { font-weight: 600; }
.look-d .meta { color: var(--ink); }
.look-d .meta::before { content: "/ "; color: var(--muted); }
.look-d header nav { font-size: 12px; }
.look-d .filters { font-size: 12px; margin: var(--s4) 0 var(--s5); }
.look-d .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: var(--s5) var(--s3); }
.look-d .plate { aspect-ratio: 1; background: var(--wash); align-items: center; justify-content: center; padding: 10%; }
.look-d .plate img { max-height: 100%; width: auto; }
.look-d .cap { font-size: 11px; line-height: 1.5; flex-direction: column; gap: 0; letter-spacing: .02em; }
.look-d .cap .no { display: block; color: var(--ink); font-weight: 600; }
.look-d .cap .t .en { display: none; }
.look-d .info h1 { font-size: 22px; font-weight: 600; }
.look-d .info dl { font-size: 12px; border-top: 1px solid var(--line); padding-top: var(--s3); }
.look-d .about blockquote { font-size: 15px; }

@media (max-width: 760px) {
  .pub header nav { margin-left: 0; }
  .work { grid-template-columns: 1fr; gap: var(--s5); }
  .info { position: static; }
  .stage img#main { max-height: 70vh; }
  .about section { grid-template-columns: 1fr; gap: var(--s3); }
  .look-a .meta, .look-a header nav { grid-column: 1 / -1; justify-content: flex-start; }
  .look-c .grid { grid-template-columns: 1fr 1fr; row-gap: var(--s6); }
  .look-c .grid li:nth-child(n) { grid-column: auto; align-self: auto; }
  .look-c .grid li:nth-child(3n+1) { grid-column: 1 / -1; }
  .look-b .grid { gap: var(--s8); }
  .looks { font-size: 12px; }
  .looks a { padding: 8px 10px; }
}

/* ---------- 后台：档案风格，左侧菜单 ---------- */
.adm { --font: "Azeret Mono", var(--zh-sans); --side: 216px; --ctl: 30px; font-size: 13px; background: #fff; }
.adm .side { position: fixed; inset: 0 auto 0 0; width: var(--side); display: flex; flex-direction: column; padding: var(--s5) var(--s4); border-right: 1px solid var(--line); background: #fff; z-index: 3; }
.adm .brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; padding: 0 var(--s2) var(--s6); }
.adm .brand b { font-weight: 600; letter-spacing: .06em; font-size: 13px; }
.adm .brand span { color: var(--muted); font-size: 12px; }
.adm .side nav { display: flex; flex-direction: column; gap: 2px; }
.adm .side nav a { display: flex; justify-content: space-between; align-items: center; padding: 7px var(--s2); border-radius: 4px; text-decoration: none; color: var(--muted); transition: background .15s, color .15s; }
.adm .side nav a:hover { background: var(--wash); color: var(--ink); }
.adm .side nav a[aria-current] { background: var(--ink); color: #fff; }
.adm .side nav i { font-style: normal; font-size: 12px; opacity: .7; }
.adm main { margin-left: var(--side); padding: var(--s6) clamp(16px, 4vw, 48px) var(--s8); max-width: calc(var(--side) + 1240px); }
.adm h1 { font: 600 20px/1.3 var(--font); letter-spacing: -.01em; margin: 0; display: flex; align-items: baseline; gap: var(--s3); }
.adm h1 small, .adm h2 small { font: 400 13px var(--font); color: var(--muted); }
.adm h1 a { text-decoration: none; }
.adm h2 { font: 600 13px/1.3 var(--font); margin: 0 0 var(--s4); letter-spacing: .02em; }
.head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-bottom: var(--s5); padding-bottom: var(--s4); border-bottom: 1px solid var(--ink); }
.head > :first-child { margin-right: auto; }
.hint { margin: 0 0 var(--s4); font-size: 12px; max-width: 72ch; }
.flash { border-radius: 4px; padding: var(--s2) var(--s3); margin: 0 0 var(--s4); background: #eef5ef; color: var(--ok); display: inline-block; }

.adm input, .adm select, .adm textarea { font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 0 10px; height: var(--ctl); width: 100%; transition: box-shadow .15s, background .15s; }
.adm textarea { height: auto; padding: 6px 10px; line-height: 1.7; resize: vertical; }
.adm input:hover, .adm select:hover, .adm textarea:hover { box-shadow: 0 1px 4px rgb(0 0 0 / .06); }
.adm input:focus, .adm select:focus, .adm textarea:focus { outline: none; box-shadow: 0 0 0 3px rgb(17 17 17 / .1); }
.adm input[type=checkbox] { width: 14px; min-height: 0; height: 14px; padding: 0; accent-color: var(--ink); margin: 0; }
.adm button, .adm .btn { font: inherit; display: inline-flex; align-items: center; justify-content: center; height: var(--ctl); padding: 0 var(--s3); border-radius: 4px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 12px; letter-spacing: .01em; white-space: nowrap; text-decoration: none; transition: box-shadow .15s, background .15s, transform .1s; }
.adm button:hover, .adm .btn:hover { box-shadow: 0 2px 6px rgb(0 0 0 / .07); background: #fafafa; }
.adm button:active, .adm .btn:active { transform: translateY(1px); }
.adm button:disabled { opacity: .4; cursor: default; box-shadow: none; }
.adm button.primary, .adm .btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.adm button.primary:hover, .adm .btn.primary:hover { background: #333; }
.adm button.link { border: 0; background: none; padding: 0; height: auto; min-height: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.adm button.link:hover { box-shadow: none; color: var(--ink); background: none; }
.adm .danger { color: var(--danger) !important; }
.tag { display: inline-block; font-size: 11px; padding: 1px var(--s2); border-radius: 99px; background: var(--wash); color: var(--muted); }
.search { flex: 0 1 300px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; padding: 2px; }
.seg { padding: 2px; height: var(--ctl); align-items: stretch; }
.seg a { display: flex; align-items: center; padding: 0 10px; font-size: 12px; border-radius: 3px; text-decoration: none; color: var(--muted); }
.seg a:hover { color: var(--ink); background: var(--wash); }
.seg a[aria-current] { background: var(--ink); color: #fff; }
.row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.row input { flex: 1; min-width: 200px; }

.list { width: 100%; border-collapse: collapse; }
.list th { text-align: left; font-weight: 400; color: var(--muted); font-size: 11px; letter-spacing: .04em; padding: 0 var(--s3) var(--s2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.list td { padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); vertical-align: middle; }
.list td:not(.t):not(.chips) { white-space: nowrap; }
.list .r { text-align: right; }
.list tbody tr { transition: background .15s; }
.list tbody tr:hover { background: #fafafa; }
.list.works tbody tr { cursor: pointer; }
.list td.th, .list th.th { width: 52px; padding-right: 0; }
.list td.th img, .ph { width: 36px; height: 36px; object-fit: cover; border-radius: 2px; background: var(--wash); display: block; }
.list .no { color: var(--muted); font-size: 12px; }
.list td.t a { text-decoration: none; font-weight: 600; }
.list td.t .mut { margin-left: .8em; }
.list td form { display: inline-flex; align-items: center; gap: var(--s2); }
.list tr.dead { color: var(--muted); }
.list.edit td { padding: var(--s1) var(--s2); }
.list.edit input, .list.edit select { border-color: transparent; background: transparent; }
.list.edit tr:hover input, .list.edit tr:hover select, .list.edit input:focus { border-color: var(--line); background: #fff; }
td.act { display: flex; gap: var(--s3); align-items: center; justify-content: flex-end; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.chips a { text-decoration: none; }
.chips a:hover { text-decoration: underline; }
.linkcell { display: inline-flex; align-items: center; gap: var(--s3); }
.linkcell button { height: 24px; padding: 0 var(--s2); }
.yr { width: 76px !important; }
.grow { flex: 1; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: var(--s6) var(--s4); }
.cards a { display: block; text-decoration: none; }
.cards figure { margin: 0; aspect-ratio: 1; background: var(--wash); display: flex; align-items: center; justify-content: center; padding: 12%; transition: background .2s; }
.cards figure img { max-height: 100%; width: auto; object-fit: contain; box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
.cards a:hover figure { background: #ebebeb; }
.cards .meta { display: flex; flex-direction: column; margin-top: var(--s3); font-size: 12px; line-height: 1.6; }
.cards .meta .no { font-weight: 600; }
.cards .meta b { font-weight: 400; font-size: 13px; }
.cards .meta span { color: var(--muted); }
.cards .meta .no { color: var(--ink); }

.emptybox { border: 1px dashed var(--line); border-radius: 4px; padding: var(--s7) var(--s5); text-align: center; }
.emptybox p { margin: 0 0 var(--s2); }
.card { border: 1px solid var(--line); border-radius: 6px; padding: var(--s5); margin-bottom: var(--s5); background: #fff; }
.card.narrow { max-width: 640px; }
.stack { display: grid; gap: var(--s4); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); }
.grid2 > h2, .grid2 .wide { grid-column: 1 / -1; }
.addline { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.addline input:not(.yr) { flex: 1; min-width: 160px; width: auto; }
.addline select { width: auto; }
label > span { display: block; font-size: 11px; letter-spacing: .03em; color: var(--muted); margin-bottom: var(--s1); }
label.ck { display: inline-flex; align-items: center; gap: var(--s2); }
fieldset.pub { border: 0; border-top: 1px solid var(--line); padding: var(--s4) 0 0; margin: 0; display: grid; grid-template-columns: auto 160px 100px auto; gap: var(--s4); align-items: end; }
fieldset.pub legend { font-weight: 600; padding: 0; }
fieldset.pub p { margin: 0; font-size: 12px; }
.actions { display: flex; justify-content: flex-end; }
details.new > summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: var(--s2); }
details.new > summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 3px; background: var(--ink); color: #fff; font-weight: 400; }
details.new[open] > summary { margin-bottom: var(--s4); }
.picker { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: var(--s3); }
.picker label { display: block; cursor: pointer; position: relative; font-size: 12px; }
.picker input { position: absolute; top: 6px; left: 6px; z-index: 1; }
.picker figure { margin: 0; aspect-ratio: 1; background: var(--wash); display: flex; align-items: center; justify-content: center; padding: 10%; border-radius: 3px; transition: box-shadow .15s; }
.picker figure img { max-height: 100%; width: auto; }
.picker label:has(input:checked) figure { box-shadow: 0 0 0 2px var(--ink); }
.picker span { display: block; margin-top: var(--s1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker i { font-style: normal; color: var(--muted); }
.keys { display: grid; grid-template-columns: 80px 1fr; gap: var(--s2); margin: 0; }
.keys dt { font-weight: 600; }
.keys dd { margin: 0; color: var(--muted); }

.imgs { display: flex; flex-wrap: wrap; gap: var(--s4); }
.imgs figure { margin: 0; width: 132px; }
.imgs figure img { width: 132px; height: 132px; object-fit: contain; background: var(--wash); border-radius: 3px; }
.imgs figcaption { display: flex; justify-content: space-between; margin-top: var(--s2); font-size: 12px; }
.drop { width: 132px; height: 132px; border: 1px dashed var(--line); border-radius: 3px; display: grid; place-items: center; text-align: center; cursor: pointer; color: var(--muted); transition: background .15s; font-size: 12px; }
.drop:hover { background: #fafafa; }
.drop input { position: absolute; opacity: 0; width: 1px; }
.drop:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.eds { width: 100%; border-collapse: collapse; }
.eds th { text-align: left; font-weight: 400; font-size: 11px; color: var(--muted); padding: 0 var(--s2) var(--s2); }
.eds td { padding: var(--s1) var(--s2); }
.eds td.act { display: flex; gap: var(--s3); align-items: center; white-space: nowrap; }
.eds select { min-width: 84px; }

.addrow { display: flex; flex-wrap: wrap; gap: var(--s4); margin: var(--s4) 0 0; }
.addrow form { display: flex; gap: var(--s2); }
.addrow input { width: auto; }
.danger-zone { margin-top: var(--s6); text-align: right; }

.login { display: grid; place-items: center; min-height: 100vh; background: #fff; }
.login form { width: min(340px, calc(100% - 32px)); display: grid; gap: var(--s4); }
.login h1 { display: block; margin-bottom: var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid var(--ink); font-size: 15px; letter-spacing: .06em; }
.err { color: var(--danger); margin: 0; }

@media (max-width: 860px) {
  .adm .side { position: static; width: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: var(--s3) var(--s4); }
  .adm .brand { padding-bottom: var(--s3); }
  .adm .side nav { flex-direction: row; overflow-x: auto; }
    .adm main { margin-left: 0; padding-top: var(--s5); }
  .grid2 { grid-template-columns: 1fr; }
  fieldset.pub { grid-template-columns: 1fr 1fr; }
  .list th:nth-child(5), .list td:nth-child(5), .list th:nth-child(6), .list td:nth-child(6) { display: none; }
  .eds, .eds tbody, .eds tr, .eds td { display: block; }
  .eds thead { display: none; }
  .eds tr { padding: var(--s3) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
td.act button.link.danger, .imgs button.link.danger { color: var(--muted) !important; text-decoration: none; }
td.act button.link.danger:hover, .imgs button.link.danger:hover { color: var(--danger) !important; }

/* 下拉框：自绘箭头，留出右边距 */
.adm select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236e6e6e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 10px 6px; }
.list.edit select { background-image: none; }
.list.edit tr:hover select, .list.edit select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236e6e6e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* 分区：左栏小标题，右栏内容，只用一条细线分隔 */
.sec { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--s5); padding: var(--s5) 0; border-top: 1px solid var(--line); }
.head + .sec, .head + form > .sec:first-child { border-top: 0; padding-top: 0; }
.sec > h2 { margin: 0; display: flex; flex-direction: column; gap: var(--s1); padding-top: 2px; }
.sec > h2 small { margin: 0; font-size: 11px; line-height: 1.5; }
.sec .grid2 { gap: var(--s3) var(--s4); }
.sec .narrow { max-width: 480px; }
.stack { display: grid; gap: var(--s4); }
.savebar { position: sticky; bottom: 0; display: flex; justify-content: flex-end; padding: var(--s3) 0; margin-bottom: var(--s3); background: linear-gradient(to bottom, rgb(255 255 255 / 0), #fff 30%); }
.pubrow { display: flex; flex-wrap: wrap; gap: var(--s5); margin-bottom: var(--s4); }
.pricerow { display: grid; grid-template-columns: 200px 120px; gap: var(--s3); margin-bottom: var(--s3); }
.sec .hint { margin: 0; }
.sec .hint b { font-weight: 600; color: var(--ink); }
.addline { margin-bottom: var(--s5); }
.clip { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eds input, .eds select { min-width: 0; }
.eds td:nth-child(1) { width: 80px; } .eds td:nth-child(2) { width: 100px; } .eds td:nth-child(3) { width: 100px; } .eds td:nth-child(5) { width: 140px; }
@media (max-width: 860px) { .sec { grid-template-columns: 1fr; gap: var(--s3); } .pricerow { grid-template-columns: 1fr 1fr; } }
.sec.full { grid-template-columns: 1fr; gap: var(--s4); }
.sec.full > h2 { flex-direction: row; align-items: baseline; gap: var(--s3); }
.eds input[name=collector] { min-width: 110px; }
.edswrap { overflow-x: auto; }
.eds input[name=note] { min-width: 120px; }

/* 左下角账号菜单：固定在侧栏底部，向上展开 */
.adm .side { height: 100vh; overflow-y: auto; }
.acct { margin-top: auto; position: relative; border-top: 1px solid var(--line); padding-top: var(--s3); }
.acct summary { list-style: none; display: flex; align-items: center; gap: var(--s3); padding: 6px var(--s2); border-radius: 4px; cursor: pointer; transition: background .15s; }
.acct summary::-webkit-details-marker { display: none; }
.acct summary:hover, .acct[open] summary { background: var(--wash); }
.acct .av { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 12px; flex: none; }
.acct .who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.acct .who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.acct .who i { font-style: normal; color: var(--muted); font-size: 11px; }
.acct .menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); display: flex; flex-direction: column; gap: 2px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 30px rgb(0 0 0 / .12); }
.acct .menu a, .acct .menu button.link { display: block; width: 100%; text-align: left; padding: 7px var(--s2); border-radius: 4px; color: var(--ink); text-decoration: none; font-size: 12px; }
.acct .menu a:hover, .acct .menu button.link:hover { background: var(--wash); }
.acct .menu a[aria-current] { background: var(--ink); color: #fff; }
.acct .menu form { display: block; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
@media (max-width: 860px) { .adm .side { height: auto; } .acct { margin-top: var(--s2); } .acct .menu { bottom: auto; top: calc(100% + 6px); z-index: 5; } }
.eds input[name=label] { min-width: 64px; } .eds select { min-width: 84px; } .eds input[name=price] { min-width: 90px; } .eds input[type=date] { min-width: 132px; }
.eds th { white-space: nowrap; }
.sec > div, .sec > dl { min-width: 0; }
.cards.exh figure { aspect-ratio: 4 / 3; padding: 0; overflow: hidden; }
.cards.exh figure img { width: 100%; height: 100%; max-height: none; object-fit: cover; box-shadow: none; }
.yrbig { font-size: 40px; font-weight: 300; letter-spacing: -.03em; color: #c4c4c4; }
.adm .side { padding-bottom: var(--s2); }
.acct { padding-top: var(--s2); }
.narrowish { max-width: 640px; }
.hint b { font-weight: 600; color: var(--ink); }
.list select[name=role] { min-width: 96px; }
.list input[name=name] { min-width: 120px; }
.list input[name=password] { min-width: 120px; }
.adm select:disabled { opacity: .6; cursor: default; }
.list td.nowrap { white-space: nowrap; }
.exlist .k { white-space: nowrap; }
.exd .hero img { width: auto; max-width: 100%; max-height: 72vh; }
.look-b .exd .hero img { margin: 0 auto; }
.look-d .exlist a { grid-template-columns: 4em minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.2fr) 7.5em 56px; }
/* D 档案：展览里的参展作品不用灰底方格（暗色竖幅缩成一排排黑条），改成按原比例等高排列 */
.look-d .exworks .grid { display: flex; flex-wrap: wrap; gap: var(--s6) var(--s5); align-items: flex-end; }
.look-d .exworks .grid li { flex: none; }
.look-d .exworks .plate { aspect-ratio: auto; background: none; padding: 0; height: 240px; }
.look-d .exworks .plate img { height: 100%; width: auto; max-height: none; }
.look-d .exworks .cap { max-width: 100%; }
@media (max-width: 760px) { .look-d .exworks .plate { height: 160px; } }
.psearch { display: inline-flex; }
.psearch input { font: inherit; font-size: inherit; color: inherit; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 2px 0; width: 9em; outline: none; transition: border-color .2s, width .3s; }
.psearch input:focus { border-bottom-color: var(--ink); width: 13em; }
.psearch input::placeholder { color: var(--muted); }
.bigsearch input { width: 100%; max-width: 760px; font: inherit; font-size: clamp(18px, 2.2vw, 26px); border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: var(--s3) 0; outline: none; color: inherit; }
.bigsearch input::placeholder { color: #b4b4b4; }
.hits { color: var(--muted); font-size: var(--t-sm); margin: var(--s5) 0 var(--s6); }
.sres { margin-bottom: var(--s7); }
.sres h2 { font-size: var(--t-md); font-weight: 500; margin: 0 0 var(--s5); }
.login h1 small { display: block; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.look-b .bigsearch, .look-b .hits { text-align: center; }
.look-b .bigsearch input { text-align: center; }
.look-b .sres h2 { text-align: center; }
/* 文献库扩展 */
.adm .side nav + nav { margin-top: var(--s4); }
.adm .side .grp { font: 500 10px var(--font); letter-spacing: .12em; color: #a2a29d; margin: 0 0 4px; padding: 0 var(--s2); }
.vtag, .vis { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 99px; background: var(--wash); color: var(--muted); white-space: nowrap; }
.v-verified { background: #e7f1e9; color: var(--ok); } .v-conflict { background: #f7e6e2; color: var(--danger); }
.v-public { background: #e7eef7; color: #2b4f7a; } .v-private { background: #f1ece4; color: #7a5b2b; }
.ver { border-top: 1px solid var(--line); padding: var(--s4) 0; }
.ver:first-child { border-top: 0; padding-top: 0; }
.vhead { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.vhead input { width: auto; flex: 1 1 120px; } .vhead input.yr { flex: 0 0 64px; } .vhead select { width: auto; }
.vsum { margin: var(--s2) 0 var(--s3); font-size: 12px; color: var(--muted); }
.warn { color: var(--danger); font-weight: 600; }
.mono { font-family: "Azeret Mono", monospace; font-size: 12px; } .mono.big { font-size: 16px; font-weight: 600; }
.linkbox { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px var(--s4); max-height: 260px; overflow-y: auto; padding: var(--s2) 0; }
.files { list-style: none; margin: 0 0 var(--s3); padding: 0; }
.files li { display: flex; gap: var(--s3); align-items: center; padding: 6px 0; border-bottom: 1px solid var(--wash); }
.files form { margin-left: auto; }
.filt { display: flex; flex-wrap: wrap; gap: 6px var(--s3); margin: -8px 0 var(--s4); font-size: 12px; }
.filt a { text-decoration: none; color: var(--muted); padding: 2px 0; }
.filt a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.roles { display: grid; grid-template-columns: 80px 1fr; gap: 4px var(--s3); margin: 0 0 var(--s5); font-size: 12px; }
.roles dt { font-weight: 600; } .roles dd { margin: 0; color: var(--muted); }

/* 前台档案扩充：沿用现有字号、间距、字体；白底与轻反馈。 */
.pub header.site nav { flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }
.pub header.site nav a { white-space: nowrap; padding-block: var(--s2); }
.pub header.site .psearch { max-width: 100%; }
.pub main { min-height: 0; }
.pub .skip { position: fixed; top: var(--s2); left: var(--gutter); padding: var(--s2) var(--s4); background: var(--paper); z-index: 20; transform: translateY(-200%); }
.pub .skip:focus { transform: none; }
.pub .archive-section { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }
.pub .archive-section > h2 { font-size: var(--t-lg); font-weight: 400; margin: 0 0 var(--s5); }
.pub .archive-section > h2 .en { font-size: var(--t-sm); margin-left: var(--s3); }
.pub h3 { font-size: var(--t-lg); font-weight: 400; line-height: 1.45; margin: var(--s2) 0; }
.pub h3 .en { display: block; font-size: var(--t-sm); }
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: var(--s6); padding-block: var(--s5); }
.hero-copy h1 { font-size: var(--t-xl); font-weight: 400; line-height: 1.3; margin: var(--s5) 0; }
.hero-copy h1 .en { display: block; font-size: var(--t-lg); }
.hero-copy > p { max-width: 24em; }
.hero-copy > a { display: inline-block; margin-top: var(--s5); font-size: var(--t-sm); padding-block: var(--s2); }
.hero-art { min-width: 0; text-decoration: none; }
.hero-art figure { margin: 0; }
.hero-art img { width: 100%; max-height: 66vh; object-fit: contain; }
.hero-art figcaption { color: var(--muted); font-size: var(--t-sm); margin-top: var(--s3); }
.home-exhibitions, .series-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.home-exhibitions a, .series-grid a { display: block; text-decoration: none; }
.home-exhibitions figure, .series-grid figure { margin: 0; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; }
.home-exhibitions img, .series-grid img { width: 100%; height: 100%; object-fit: contain; }
.home-exhibitions p, .series-grid p { font-size: var(--t-sm); margin: var(--s2) 0; }
.series-grid { list-style: none; padding: 0; margin: 0; }
.series-caption { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: baseline; margin-top: var(--s4); }
.series-caption h3 { flex: 1; }
.archive-no { display: none; color: var(--muted); font-size: var(--t-sm); }
.series-desc { margin-block: var(--s5) var(--s7); }
.home-text { max-width: 66ch; }
.home-text > p { font-size: var(--t-md); }
.home-text > p.mut { font-size: var(--t-sm); }
.text-list, .version-list, .gallery-list, .attachment-list { list-style: none; padding: 0; margin: 0; }
.text-list li { border-bottom: 1px solid var(--line); }
.text-list a { display: block; padding: var(--s5) 0; text-decoration: none; transition: background .2s; }
.text-list p { font-size: var(--t-sm); margin: var(--s2) 0 0; }
.text-list > li > a > .mut { font-size: var(--t-sm); }
.text-detail { max-width: 100%; }
.text-detail > header { max-width: 70ch; margin-bottom: var(--s6); }
.text-meta { color: var(--muted); font-size: var(--t-sm); }
.pub .reading { max-width: 70ch; font-size: var(--t-md); line-height: 1.85; overflow-wrap: anywhere; }
.work-context { margin-top: var(--s7); }
.series-link { font-size: var(--t-sm); }
.series-link a { margin-left: var(--s4); }
.version-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.version-list h3, .gallery-list h3 { font-size: var(--t-md); }
.version-list p { font-size: var(--t-sm); margin: var(--s2) 0; }
.timeline section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); gap: var(--s5); border-top: 1px solid var(--line); padding-block: var(--s5); }
.timeline h2 { font-size: var(--t-lg); font-weight: 400; margin: 0; }
.timeline ul { list-style: none; padding: 0; margin: 0; }
.timeline li + li { margin-top: var(--s5); }
.timeline li > .en { display: block; }
.timeline p { margin: var(--s2) 0 0; font-size: var(--t-sm); }
.collect-page { max-width: 70ch; }
.gallery-list li + li { margin-top: var(--s5); }
.gallery-list p { margin-block: var(--s1); font-size: var(--t-sm); }
.verify-entry { display: inline-block; margin-top: var(--s3); padding-block: var(--s2); }
.verify-form { max-width: 66ch; margin-block: var(--s6); }
.verify-form label { display: block; margin-bottom: var(--s2); font-size: var(--t-sm); }
.verify-form input { width: 100%; min-width: 0; min-height: var(--ctl); border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); padding: var(--s2) var(--s3); font: inherit; font-size: var(--t-sm); }
.verify-form input:hover { background: var(--wash); }
.verify-form > p { font-size: var(--t-sm); }
.serial-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.verify-form button { margin-top: var(--s5); border: 0; border-radius: var(--r); background: var(--ink); color: var(--paper); font: inherit; font-size: var(--t-sm); min-height: var(--ctl); padding: var(--s2) var(--s5); cursor: pointer; transition: box-shadow .2s, transform .15s; }
.verify-form button:active { transform: scale(.97); }
.verify-form button:disabled { opacity: .5; cursor: wait; }
.verify-valid { color: var(--ok); font-weight: 500; }
.verify-missing { color: var(--danger); }
.verify-result { border-top: 1px solid var(--line); padding-top: var(--s5); }
.verify-work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s5); align-items: start; }
.verify-work img { max-height: 45vh; object-fit: contain; }
.verify-work h2 { font-size: var(--t-lg); font-weight: 400; margin: 0; }
.verify-work h2 .en { display: block; font-size: var(--t-sm); }
.verify-work dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s2) var(--s4); font-size: var(--t-sm); }
.verify-work dt { color: var(--muted); }
.verify-work dd { margin: 0; overflow-wrap: anywhere; }
.attachment-list a { display: inline-block; padding-block: var(--s2); }
.pub :is(.hero-art, .home-exhibitions a, .series-grid a) { transition: background .2s, box-shadow .2s; }
.pub .text-list a:hover { background: var(--wash); }
.pub a:active { opacity: .7; }
.pub :is(.text-list, .series-caption, .timeline, .collect-page, .hero-copy) { overflow-wrap: anywhere; }
/* A 沿网格阅读；B 居中留白；C 摄影书错落；D 编号索引。 */
.look-a .home-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.look-b .home-hero { display: flex; flex-direction: column; text-align: center; gap: var(--s5); }
.look-b .hero-copy > p { margin-inline: auto; }
.look-b .hero-copy h1 { margin-block: var(--s3); }
.look-b .hero-art { width: 100%; max-width: 75%; }
.look-b .hero-art figcaption { text-align: center; }
.look-b .archive-section > h2, .look-b .home-text { text-align: center; margin-inline: auto; }
.look-b .series-grid { column-gap: var(--s7); }
.look-c .home-hero { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: end; }
.look-c .series-grid li:nth-child(even) { margin-top: var(--s7); }
.look-c .home-exhibitions a:nth-child(even) { padding-top: var(--s6); }
.look-c .home-text { margin-left: auto; }
.look-d .home-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.look-d .archive-no { display: inline; }
.look-d .series-grid { display: block; }
.look-d .series-grid li + li { border-top: 1px solid var(--line); }
.look-d .series-grid a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s5); padding-block: var(--s5); }
.look-d .series-grid figure { grid-row: span 2; }
.look-d .series-caption { margin: 0; align-self: end; }
.look-d .series-grid p { align-self: start; }
@media (max-width: 800px) {
  .pub header.site nav { width: 100%; margin-left: 0; justify-content: flex-start; }
  .pub header.site nav .psearch { flex-basis: 100%; }
  .home-hero, .look-a .home-hero, .look-c .home-hero, .look-d .home-hero { grid-template-columns: minmax(0, 1fr); }
  .look-b .hero-art { max-width: 100%; }
  .hero-copy > a { margin-top: var(--s2); }
  .home-exhibitions, .series-grid { gap: var(--s5); }
  .look-b .series-grid { column-gap: var(--s5); }
  .version-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .home-exhibitions, .series-grid, .look-d .series-grid a, .verify-work { grid-template-columns: minmax(0, 1fr); }
  .look-c .series-grid li:nth-child(even), .look-c .home-exhibitions a:nth-child(even) { margin-top: 0; padding-top: 0; }
  .look-d .series-grid figure { grid-row: auto; }
  .timeline section { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .pub .archive-section { margin-top: var(--s6); }
  .serial-inputs { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .pub *, .pub *::before, .pub *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .verify-form button:active { transform: none; }
}
/* 交付审查修订：可见焦点、对比度、只读与操作反馈。 */
.pub .psearch input:focus-visible, .pub .bigsearch input:focus-visible { outline: 2px solid var(--ink); outline-offset: var(--s1); }
.pub .bigsearch input::placeholder { color: var(--muted); }
.pub .looks a:focus-visible { outline-color: var(--paper); }
.pub .looks a[aria-current]:focus-visible { outline-color: var(--muted); outline-offset: calc(-1 * var(--s1)); }
.pub :is(.home-exhibitions a, .series-grid a):hover { background: var(--wash); }
.pub .hero-art:hover { box-shadow: 0 var(--s1) var(--s3) color-mix(in srgb, var(--ink) 12%, transparent); }
.pub :is(.home-text, .timeline, .collect-page, .attachment-list, .hero-copy, .text-detail) a:hover { color: var(--ink); background: var(--wash); }
.pub .verify-form input { border-color: var(--muted); transition: background .2s; }
.verify-form button:not(:disabled):hover { box-shadow: 0 var(--s1) var(--s3) color-mix(in srgb, var(--ink) 12%, transparent); }
.verify-form button:disabled:active { transform: none; }
.pub .thumbs button:disabled { cursor: wait; }
.pub .thumbs button:active { opacity: 1; }
.pub .series-caption :is(h2, h3), .pub .text-list h2 { font-size: var(--t-lg); font-weight: 400; line-height: 1.45; margin: var(--s2) 0; }
.pub .series-caption :is(h2, h3) { flex: 1; }
.pub .series-caption h2 .en, .pub .text-list h2 .en { display: block; font-size: var(--t-sm); }
.series-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.series-fields:disabled { opacity: 1; }
.adm .series-list td { white-space: normal; overflow-wrap: anywhere; }
.adm .series-list { table-layout: fixed; width: 100%; }
.look-d .hero-copy h1, .look-d .archive-section > h2, .look-d .series-caption :is(h2, h3), .look-d .text-list :is(h2, h3) { font-size: var(--t-lg); }
.pub .empty { padding-block: var(--s5); }
@media (max-width: 800px) {
 .pub :is(.psearch input, .bigsearch input, .verify-form input) { font-size: var(--t-md); }
 .pub header.site nav a, .pub .filters a, .pub .pager a, .pub .verify-entry, .pub .attachment-list a { min-height: calc(var(--ctl) + var(--s2)); display: inline-flex; align-items: center; }
 .pub .verify-form button, .pub .verify-form input { min-height: calc(var(--ctl) + var(--s2)); }
}
/* 首页大图区：页头已有名字，这里只放一句定位，避免重复 */
.hero-copy h1 { font-size: var(--t-xl); line-height: 1.35; margin: 0; max-width: 14em; text-wrap: balance; }
.look-b .hero-copy h1 { margin-inline: auto; }
.look-d .hero-copy h1 { font-size: var(--t-lg); }
/* 导航项变多后：A、C 版导航单独占一行，不和名字、副标题挤在一起 */
.look-a header nav { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
.look-c header.site { flex-wrap: wrap; }
.look-c header nav { flex-basis: 100%; margin-left: 0; flex-wrap: wrap; align-self: auto; }

/* ===== E / F：菜单栏在左侧 ===== */
.side-nav { --side: 248px; }
.side-nav header.site { position: fixed; inset: 0 auto 0 0; width: var(--side); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: var(--s6) var(--s5); border-right: 1px solid var(--line); background: var(--paper); overflow-y: auto; z-index: 4; }
.side-nav header.site .name { display: flex; flex-direction: column; gap: var(--s1); margin: 0 0 var(--s7); grid-column: auto; order: 0; }
.side-nav header.site nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; grid-column: auto; order: 0; }
.side-nav header.site nav a { padding: 7px 0; white-space: normal; }
.side-nav header.site .psearch { margin-top: var(--s5); }
.side-nav header.site .psearch input { width: 100%; }
.side-nav main, .side-nav footer.site { margin-left: var(--side); }
.side-nav .looks { left: calc(50% + var(--side) / 2); }

/* E 工作室：沉静的无衬线，名字分两行，菜单留白宽 */
.look-e { --font: Satoshi, var(--zh-sans); }
.look-e header.site .en-name { font: 600 15px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.look-e header.site .zh-name { font: 400 14px/1.3 var(--font); color: var(--muted); letter-spacing: .3em; margin: 0; }
.look-e header.site nav a { font-size: 13px; padding: 5px 0; color: var(--muted); }
.look-e header.site nav a[aria-current] { color: var(--ink); font-weight: 600; }
.look-e header.site nav a:hover { color: var(--ink); }
.look-e .home-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); padding-top: var(--s6); }
.look-e .filters { border-top: 0; }

/* F 索引：等宽字、编号菜单，像一本档案目录的目次 */
.look-f header.site { counter-reset: nav; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 0; }
.look-f header.site .name { background: var(--ink); color: var(--paper); margin: calc(-1 * var(--s6)) calc(-1 * var(--s5)) var(--s6); padding: var(--s6) var(--s5) var(--s5); }
.look-f header.site .name .en-name { font-weight: 600; }
.look-f header.site .name .zh-name { color: #bdbdbd; }
.look-f header.site nav a { counter-increment: nav; display: grid; grid-template-columns: 2.4em 1fr; border-bottom: 1px solid var(--line); padding: 9px 0; color: var(--muted); }
.look-f header.site nav a::before { content: counter(nav, decimal-leading-zero); color: #b0b0b0; }
.look-f header.site nav a[aria-current], .look-f header.site nav a:hover { color: var(--ink); background: var(--wash); }
.look-f header.site nav a .en { display: none; }

@media (max-width: 860px) {
  .side-nav header.site { position: static; width: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: var(--s5) var(--gutter); }
  .side-nav header.site .name { margin-bottom: var(--s4); }
  .look-f header.site .name { margin: calc(-1 * var(--s5)) calc(-1 * var(--gutter)) var(--s4); padding: var(--s5) var(--gutter); }
  .side-nav header.site nav { flex-direction: row; flex-wrap: wrap; gap: var(--s2) var(--s4); }
  .look-f header.site nav a { display: inline-block; border: 0; }
  .side-nav main, .side-nav footer.site { margin-left: 0; }
  .side-nav .looks { left: 50%; }
}
/* D 档案、F 索引：菜单只留中文，避免和英文名字的那一行混在一起 */
.look-d header.site nav .nav-en, .look-f header.site nav .nav-en { display: none; }

/* ---------- 后台：数据总览 ---------- */
.adm { --ov-gap: var(--s4); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ov-gap); margin-bottom: var(--ov-gap); }
.kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { position: relative; display: grid; gap: var(--s1); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: #fff; transition: box-shadow .2s, background .2s, transform .2s cubic-bezier(.2, .8, .2, 1); }
.kpi:hover { box-shadow: 0 6px 20px rgb(0 0 0 / .07); background: #fcfcfc; transform: translateY(-1px); }
.kpi .lbl { color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.kpi b { font: 300 var(--t-xl)/1.1 var(--font); letter-spacing: -.03em; margin-top: var(--s3); }
.kpi .sub { color: var(--muted); font-size: 12px; padding-top: var(--s3); margin-top: var(--s2); border-top: 1px solid var(--line); }
.ov { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ov-gap); }
.ov > .card { margin: 0; }
.ov .card { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r); background: #fff; min-width: 0; }
.ov .card.wide { grid-column: 1 / -1; }
.ov .card h2 { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s5); }
.ov .card h2 small { margin-left: auto; }
.ov-empty { margin: 0; color: var(--muted); padding: var(--s5) 0; }
.stack { height: 10px; border-radius: 99px; background: var(--wash); overflow: hidden; }
.stack i { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.stack.thin { height: 4px; margin-top: var(--s5); }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s5); margin: var(--s5) 0 0; }
.legend dt { display: flex; align-items: center; gap: var(--s2); color: var(--muted); font-size: 12px; }
.legend dd { margin: var(--s1) 0 0; font-size: var(--t-lg); font-weight: 300; letter-spacing: -.02em; }
.legend dd small { font-size: 12px; color: var(--muted); margin-left: var(--s2); letter-spacing: 0; }
.legend dd.warn { color: var(--danger); }
.sw { width: 8px; height: 8px; border-radius: 2px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); }
.sw.on { background: var(--ink); box-shadow: none; }
.ring-row { display: flex; align-items: baseline; gap: var(--s5); }
.ring-row .big { font: 300 var(--t-xl)/1 var(--font); letter-spacing: -.03em; }
.ring-row .big small { font-size: var(--t-sm); color: var(--muted); margin-left: 2px; }
.ring-row p { margin: 0; color: var(--muted); }
.ring-row strong { color: var(--ink); font-weight: 600; }
.cols { display: flex; align-items: flex-end; gap: var(--s2); height: 168px; }
.cols a { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: var(--s1); text-decoration: none; color: var(--muted); font-size: 11px; border-radius: 4px; transition: background .2s; }
.cols a:hover { background: var(--wash); color: var(--ink); }
.cols i { width: min(28px, 70%); background: var(--ink); border-radius: 3px 3px 0 0; }
.cols a:hover i { background: #333; }
.cols .y { padding-top: var(--s1); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.bars li { display: grid; grid-template-columns: 6em minmax(0, 1fr) 3em; align-items: center; gap: var(--s3); }
.bars i { height: 6px; background: var(--wash); border-radius: 99px; overflow: hidden; }
.bars b { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.bars em { font-style: normal; text-align: right; }
.rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rank a { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s2) var(--s2); margin: 0 calc(-1 * var(--s2)); border-radius: 4px; text-decoration: none; color: var(--ink); transition: background .15s; }
.rank a:hover { background: var(--wash); }
.rank li + li a { border-top: 1px solid var(--line); border-radius: 0; }
.rank li + li a:hover { border-radius: 4px; }
.rank span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank em { font-style: normal; color: var(--muted); white-space: nowrap; }
@media (max-width: 1100px) { .kpis, .kpis.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .ov { grid-template-columns: 1fr; } .adm { --ov-gap: var(--s3); } .kpis, .kpis.three { grid-template-columns: 1fr 1fr; } .kpi, .ov .card { padding: var(--s4); } .legend { grid-template-columns: 1fr 1fr; } .adm .side nav a { white-space: nowrap; gap: var(--s1); } }
.todo { list-style: none; margin: var(--s5) 0 0; padding: 0; }
.todo a { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s2); margin: 0 calc(-1 * var(--s2)); border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .15s; }
.todo li:first-child a { border-top: 0; }
.todo a:hover { background: var(--wash); border-radius: 4px; }
.todo em { font-style: normal; font-weight: 600; }
.todo em.done { font-weight: 400; color: var(--ok); }
