@font-face { font-family: 'Gallery Serif'; src: url('fonts/gallery-serif.woff2?v=4baf3927d025c45d') format('woff2'); font-display: swap; }
:root { color-scheme: light; --paper:#f3efe6; --ink:#343d34; --muted:#5f6958; --gold:#826238; }
:root[data-theme="dark"] { color-scheme:dark; --paper:#242e30; --ink:#eee9db; --muted:#a8b1a9; --gold:#d3bd8b; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:14px/1.8 'Segoe UI','Microsoft YaHei',sans-serif; }
a { color:inherit; text-decoration:none; } a:hover { color:var(--gold); }
button { cursor:pointer; font:inherit; color:inherit; border:0; background:transparent; }
a:focus-visible,button:focus-visible { outline:2px solid var(--gold); outline-offset:5px; }
header { margin:0 auto; max-width:1440px; padding:32px min(6vw,86px); display:flex; justify-content:space-between; gap:24px; align-items:center; }
.photo-brand { font:22px/1.5 'Gallery Serif','SimSun',serif; letter-spacing:.08em; }
.photo-brand span { display:block; font:9px/2 'Segoe UI',sans-serif; color:var(--muted); letter-spacing:.17em; }
header>a:last-child { font-size:12px; border-bottom:1px solid #92774555; min-height:44px; display:inline-flex; align-items:center; padding-block:8px; }
main { max-width:1440px; margin:auto; padding:30px min(6vw,86px) 50px; }
figure { margin:0; text-align:center; }
figure>img { display:block; max-height:72vh; max-width:100%; height:auto; width:auto; margin:auto; box-shadow:0 16px 50px #28312515; }
[data-theme="dark"] figure>img { box-shadow:0 16px 50px #0004; }
figcaption { padding:32px 8px; }
.photo-label { font:10px/1.8 'Segoe UI',sans-serif; letter-spacing:.18em; color:var(--gold); }
h1 { font:400 clamp(28px,3vw,42px)/1.6 'Gallery Serif','SimSun',serif; letter-spacing:.06em; margin:10px 0; }
.photo-description { margin:0; color:var(--muted); }
.photo-category { font-size:11px; color:var(--muted); margin-top:18px; }
nav { display:flex; justify-content:space-between; border-block:1px solid #737a6a33; padding:8px 0; font-size:12px; }
nav a { display:inline-flex; align-items:center; min-height:44px; padding-inline:4px; }
nav span { display:flex; align-items:center; font-variant-numeric:tabular-nums; color:var(--muted); }
footer { max-width:1440px; margin:auto; padding:0 6% 36px; display:flex; justify-content:center; gap:30px; flex-wrap:wrap; font-size:12px; }
footer>a,footer>button { display:inline-flex; align-items:center; min-height:44px; padding-inline:4px; }
#copy-status { flex-basis:100%; text-align:center; color:var(--muted); }
.not-found { min-height:calc(100svh - 170px); display:grid; place-items:center; text-align:center; padding-block:35px; }
.not-found>div { max-width:560px; }
.empty-arch { display:block; width:160px; height:150px; margin:0 auto 30px; color:var(--gold); }
.not-found h1 { font-size:clamp(28px,5vw,44px); }
.not-found p { color:var(--muted); margin:18px 0 30px; }
.return-gallery { display:inline-block; border-bottom:1px solid var(--gold); padding:10px 4px; }
@media(max-width:760px) { header { padding:22px; } .photo-brand { font-size:17px; } header>a:last-child { font-size:11px; } main { padding:20px 18px 35px; } figure>img { max-height:65svh; } figcaption { padding:25px 0; } .photo-description { font-size:14px; } footer { gap:20px; } }
