:root { color-scheme: light; --paper:#fbfaf7; --ink:#222c2a; --muted:#5e6861; --line:#d4d7ce; --terra:#a34832; }
    * { box-sizing:border-box; }
    body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.55 "DM Sans","PingFang SC","Microsoft YaHei",sans-serif; }
    body:has(dialog[open]) { overflow:hidden; }
    button,a { font:inherit; color:inherit; }
    button { cursor:pointer; }
    button:focus-visible,a:focus-visible { outline:3px solid #ad4628; outline-offset:4px; }
    .wrap { width:min(1216px,calc(100% - 8vw)); margin:auto; }
    header { border-bottom:1px solid var(--line); }
    .mast { min-height:78px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
    .identity { display:flex; align-items:center; gap:12px; }
    .mark { position:relative; width:35px; height:35px; background:#ec974d; border-radius:50%; overflow:hidden; flex:none; }
    .mark::before,.mark::after { content:""; position:absolute; background:#234a46; width:50px; height:33px; transform:rotate(-29deg); left:-6px; top:23px; }
    .mark::after { background:var(--paper); width:43px; height:3px; top:22px; }
    .brand { font-family:"Instrument Serif",Georgia,serif; font-size:25px; letter-spacing:-.05em; line-height:1; }
    .mastMeta { color:var(--muted); font-size:14px; }
    main { padding:48px 0 42px; }
    .head { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:28px; }
    h1 { font-family:"DM Serif Text","Songti SC","STSong","SimSun",serif; font-size:clamp(44px,6.5vw,82px); line-height:1.05; font-weight:500; letter-spacing:-.065em; margin:0 0 12px; }
    .head p,.summary { margin:0; color:var(--muted); }
    .filters { display:flex; align-items:center; justify-content:space-between; gap:12px; border-block:1px solid var(--line); padding:12px 0; margin-bottom:24px; }
    .tabset { display:flex; gap:6px; flex-wrap:wrap; }
    .tab { background:transparent; border:1px solid transparent; border-radius:20px; padding:6px 16px; font-size:14px; font-weight:600; }
    .tab:hover { background:#ebece5; }
    .tab[aria-pressed=true] { color:white; background:var(--ink); }
    .summary,.type { font:13px/1.4 "IBM Plex Mono",Consolas,monospace; letter-spacing:.025em; }
    .gallery { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:30px 22px; }
    .tile { grid-column:span 5; display:block; width:100%; text-align:left; padding:0; margin:0; border:0; background:none; }
    .tile:nth-child(4n+1),.tile:nth-child(4n) { grid-column:span 7; }
    .plate { display:block; width:100%; height:clamp(200px,23vw,310px); overflow:hidden; background:#e8dfd2; border-radius:3px; }
    .plate img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
    .tile:hover img { transform:scale(1.025); }
    .caption { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:12px 1px 0; }
    .caption strong { font-size:20px; letter-spacing:-.03em; display:block; }
    .sub { font-size:14px; color:var(--muted); display:block; margin-top:2px; }
    .type { color:var(--muted); padding-top:6px; white-space:nowrap; }
    footer { border-top:1px solid var(--line); padding:22px 0 28px; color:var(--muted); font-size:14px; }
    dialog { width:min(820px,94vw); max-height:90vh; max-height:90dvh; padding:0; overflow:auto; border:0; border-radius:9px; color:var(--ink); background:var(--paper); box-shadow:0 18px 70px #132a2750; }
    dialog::backdrop { background:#1a221ec7; }
    .dialogBar,.dialogFoot { padding:16px 20px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
    .dialogBar strong { font-size:21px; }
    .close { border:1px solid var(--line); background:transparent; border-radius:100px; padding:5px 13px; }
    .full { display:block; width:100%; max-height:57vh; object-fit:contain; background:#eeeae2; }
    .details { margin:0; color:var(--muted); font-size:14px; }
    .download { flex:none; text-decoration:none; color:#fff; background:var(--terra); padding:8px 14px; border-radius:5px; font-weight:600; }
    @media(max-width:700px) { .wrap{width:calc(100% - 34px)} .mast{min-height:60px} .brand{font-size:22px} main{padding-top:32px} .head{margin-bottom:20px} .tab{padding:5px 10px} .gallery{gap:22px 12px;grid-template-columns:repeat(2,minmax(0,1fr))} .tile,.tile:nth-child(n){grid-column:span 1} .plate{height:clamp(155px,30vw,210px)} .type{display:none} .caption strong{font-size:17px} }
    @media(max-width:480px) { .tile:nth-child(n){grid-column:1/-1} .plate{height:auto;aspect-ratio:1.78} .filters{align-items:start;gap:4px} .summary{white-space:nowrap;padding-top:7px} .mastMeta{font-size:13px} .dialogBar,.dialogFoot{padding:12px} .dialogFoot{align-items:flex-start} }
    @media(prefers-reduced-motion:reduce){ .plate img{transition:none} }
.identity { text-decoration:none; }
.mainNav,.foot,.actions { display:flex; align-items:center; gap:20px; }
.mainNav a,.foot a { text-decoration:none; color:var(--muted); font-size:15px; }
.mainNav a:hover,.foot a:hover { text-decoration:underline; }
.mainNav a[aria-current] { color:var(--ink); font-weight:700; text-decoration:underline; text-underline-offset:7px; text-decoration-thickness:2px; }
.edition { color:var(--muted); text-align:right; font-size:15px; }
.edition span,.spec { display:block; font:13px/1.6 "IBM Plex Mono",Consolas,monospace; margin:4px 0 0; color:var(--muted); }
.type { font-size:12px; }
.foot { justify-content:space-between; }
.dialogFoot { align-items:center; }
.actions { gap:8px; flex-wrap:wrap; flex:none; }
.actions .close { border-radius:5px; padding:8px 12px; }
.series { color:var(--terra); font-size:13px; }
.notice { display:block; padding:0 20px 12px; color:var(--terra); font-size:14px; }
.notice:empty { display:none; }
.skip { position:absolute; top:0; left:10px; z-index:3; transform:translateY(-130%); background:var(--ink); color:white; padding:8px 16px; }
.skip:focus { transform:none; }
.aboutSplit { display:grid; grid-template-columns:1.1fr 1fr; align-items:start; gap:clamp(24px,5vw,72px); border-top:1px solid var(--line); padding-top:30px; }
.aboutPrint { margin:0; }
.aboutPrint img { display:block; max-width:100%; border-radius:3px; }
.aboutPrint figcaption { display:flex; justify-content:space-between; padding:10px 0; font-size:15px; }
.aboutPrint figcaption span,.notes dt { color:var(--muted); }
.notes h2 { font:600 22px/1.3 "DM Serif Text","Songti SC",serif; margin:24px 0 10px; }
.notes h2:first-child { margin-top:0; }
.notes p { margin:0; color:var(--muted); }
.notes dl { margin:0; }
.notes dl div { display:flex; justify-content:space-between; padding:6px 0; border-bottom:1px solid var(--line); }
.notes .download { display:inline-block; margin-top:20px; }
@media(max-width:700px) { .edition{display:none}.aboutSplit{grid-template-columns:1fr}.aboutPrint{max-width:530px}.dialogFoot{flex-direction:column;align-items:flex-start}.mainNav{gap:14px} }
@media(max-width:480px) { .foot{align-items:start;gap:8px;flex-wrap:wrap}.foot a{font-size:14px}.spec{overflow-wrap:anywhere} }
