:root{--bg:#f7f5f0;--surface:#fffefa;--ink:#292b27;--muted:#696c64;--line:#dfdfd5;--blue:#3167a9;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'PingFang SC','Microsoft YaHei',sans-serif;line-height:1.5}.site-header{border-bottom:1px solid var(--line)}.header-inner{max-width:1560px;margin:auto;padding:0 32px;height:64px;display:flex;align-items:center;gap:50px}.brand{text-decoration:none;color:var(--ink);font-size:18px}.brand strong{font-weight:600}nav{display:flex;gap:30px}nav a{font-size:12px;color:var(--muted);text-decoration:none}nav a.active{color:var(--ink);font-weight:600}a:hover,button:hover{color:var(--blue)}main{max-width:1560px;margin:auto;padding:44px 32px 80px}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:34px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--blue)}h1{font-family:'Songti SC',serif;font-size:clamp(30px,4vw,50px);font-weight:500;margin:10px 0}.page-heading p,#history-status{color:var(--muted);font-size:13px}.back-link{color:var(--blue);text-decoration:none;font-size:12px;white-space:nowrap}.history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.history-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}.history-thumb{display:block;width:100%;height:250px;padding:0;border:0;background:var(--bg);cursor:zoom-in}.history-thumb img{display:block;width:100%;height:100%;object-fit:contain}.history-meta{padding:13px 15px}.history-date{display:block;font-size:12px;color:var(--muted);margin-bottom:12px}.history-actions{display:flex;justify-content:space-between;gap:10px;align-items:center}.history-actions a,.history-actions button{font:inherit;font-size:12px;padding:0;border:0;background:none;color:var(--blue);cursor:pointer}.history-actions button{color:var(--muted)}#image-dialog{border:0;padding:18px;border-radius:16px;background:var(--surface);color:var(--ink);max-width:min(94vw,1500px);max-height:94vh;box-shadow:0 20px 80px #0006}#image-dialog::backdrop{background:#10130fdd;backdrop-filter:blur(4px)}#image-dialog img{display:block;max-width:calc(94vw - 36px);max-height:calc(94vh - 95px);width:auto;height:auto;object-fit:contain;margin:auto}#image-close{position:absolute;top:14px;right:14px;border:0;border-radius:50%;width:36px;height:36px;background:#fffefae8;color:#222;font-size:24px;cursor:pointer}#large-caption{text-align:center;font-size:12px;color:var(--muted);margin:10px 0 0}
body.dark{--bg:#22231f;--surface:#2b2d27;--ink:#f4f1e8;--muted:#b6b8ad;--line:#42453a;--blue:#95b7dd;color-scheme:dark}
@media(max-width:600px){.header-inner{padding:0 16px;gap:18px;height:58px}.brand{font-size:16px}nav{gap:12px}nav a{font-size:10px}nav a:nth-child(2){display:none}main{padding:28px 16px 60px}.page-heading{align-items:start}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.history-thumb{height:190px}.history-meta{padding:10px}.history-date,.history-actions a,.history-actions button{font-size:10px}}
@media(max-width:380px){.history-grid{grid-template-columns:1fr}.history-thumb{height:260px}.back-link{font-size:10px}}
