*{box-sizing:border-box}
:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#222b25;background:#f7f8f4;--green:#284d3e;--line:#dce1d8}
body{margin:0}button,input,a{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #78a884;outline-offset:3px}[hidden]{display:none!important}
.wrap{width:min(1392px,92%);margin:auto}.top{background:#fafbf7;border-bottom:1px solid var(--line)}.bar{height:76px;display:flex;align-items:center;gap:36px}
.brand{display:inline-flex;align-items:center;gap:10px;font-family:Georgia,serif;font-weight:bold;font-size:38px;letter-spacing:-2.5px;text-decoration:none;line-height:1}.brand img{border-radius:11px}.gallery-link{font-size:14px;font-weight:650;text-decoration:none;color:var(--green)}
#search-form{margin-left:auto;display:flex;align-items:center;gap:11px;border:1px solid #dce1d8;border-radius:24px;background:#f0f2ed;padding:10px 15px;width:min(330px,43vw)}#search{min-width:0;flex:1;border:0;background:transparent;font-size:14px;color:#223429}#search:focus{outline:0}#search-form:focus-within{outline:2px solid #88a48c}.glass{width:14px;height:14px;border:1.7px solid #718477;border-radius:50%;position:relative;flex:none}.glass:after{content:"";width:6px;height:1.6px;background:#718477;position:absolute;right:-5px;bottom:-2px;transform:rotate(46deg)}kbd{font:12px monospace;border:1px solid #ced5ca;border-radius:4px;padding:1px 5px;color:#728070}
#feature{position:relative;isolation:isolate;margin:24px 0 32px;overflow:hidden;border-radius:18px;height:clamp(280px,30vw,415px);color:white;background:#314b43}#cover{width:100%;height:100%;object-fit:cover;object-position:center 49%}#feature:after{position:absolute;z-index:0;inset:0;content:"";background:linear-gradient(83deg,rgba(7,23,21,.79),rgba(8,25,22,.16) 60%,transparent),linear-gradient(0deg,#101b183b,transparent 60%);pointer-events:none}.hero-body,.pager{position:absolute;z-index:1}.hero-body{left:clamp(22px,4vw,64px);bottom:clamp(25px,3.6vw,58px)}.feature-label{font-size:12px;font-weight:650;letter-spacing:.18em;display:flex;align-items:center;gap:10px;margin:0 0 14px}.feature-label span{height:2px;width:24px;background:#e1e7b7}h1{font-family:"Songti SC","STSong","SimSun",Georgia,serif;font-weight:600;line-height:1.14;margin:0;letter-spacing:.035em;font-size:clamp(32px,4.2vw,64px)}#hero-meta{font-size:13px;color:#eef2e8;letter-spacing:.065em;margin:13px 0 22px}.hero-open{border:0;border-radius:24px;padding:10px 18px;background:#f3f5dd;color:#203629;font-size:14px;font-weight:650}.hero-open span{margin-left:7px}.pager{right:3%;bottom:24px;display:flex;align-items:center;gap:10px;font:12px Consolas,monospace;text-shadow:0 1px 4px #111}.pager button{background:#18251f65;color:white;border:1px solid #ffffff80;border-radius:50%;width:32px;height:32px;font:23px/1 Georgia}
#library{padding-bottom:60px;scroll-margin-top:15px}#feature[hidden]+#library{margin-top:28px}.section-heading{display:flex;align-items:baseline;gap:13px}.section-heading h2{font-size:clamp(24px,2.2vw,34px);margin:0;letter-spacing:.03em}.section-heading span{color:#68746b;font-size:13px}#filters,#tags,.actions{display:flex;flex-wrap:wrap;gap:8px}#filters{margin:15px 0 22px}#filters button,#retry,.action,.actions button{border-radius:24px;padding:8px 15px;border:1px solid var(--line);background:#fbfcf8;color:#435446;font-size:13px;text-decoration:none}#filters [aria-pressed="true"],.actions button:first-child{background:var(--green);color:white;border-color:var(--green)}
#grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px}.card{appearance:none;display:block;background:none;border:none;border-radius:11px;text-align:left;padding:0;color:inherit;width:100%}.thumb{overflow:hidden;aspect-ratio:16/9;border-radius:11px;background:#dce3d8}.thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .24s}.card:hover img{transform:scale(1.025)}.card-title{display:block;font-size:17px;font-weight:650;margin:10px 0 4px}.card-meta{font-size:12px;letter-spacing:.04em;color:#657268}#notice{padding:22px 0;color:#55675b}
dialog{width:min(830px,92vw);max-height:92vh;padding:0;border:0;border-radius:18px;background:#fafbf7;color:#223329;box-shadow:0 20px 90px #101b184f}dialog::backdrop{background:#101b18bc}.photo{position:relative;background:#152019;display:grid;place-items:center}.photo img{width:100%;height:min(47vh,460px);object-fit:contain}.photo #close{position:absolute;top:14px;right:14px;border:1px solid #ffffff99;background:#1c2921ab;color:white;width:34px;height:34px;border-radius:50%;font-size:23px;line-height:1}.detail-body{padding:20px clamp(17px,3vw,32px) 25px}.detail-body h2{margin:4px 0 10px;font-size:27px}#detail-meta,.source,#feedback,#lock-note{font-size:13px;color:#58695c;line-height:1.55;margin:8px 0}.source a{text-underline-offset:2px}#tags button{padding:3px 9px;border:0;border-radius:6px;background:#e9eee6;color:#47604e;font-size:12px}.actions{margin-top:17px}.actions button,.action{font-weight:600}.action{display:inline-block}#feedback:empty{display:none}
@media(min-width:1550px){#grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.wrap{width:92%}#grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 13px}.bar{gap:20px}}
@media(max-width:560px){.bar{height:64px;gap:12px}.brand{font-size:30px;gap:7px}.brand img{width:31px;height:31px}.gallery-link,kbd{display:none}#search-form{width:51%;padding:9px 12px}#feature{margin:15px 0 24px;height:280px;border-radius:12px}.hero-body{left:20px;bottom:28px}.pager{bottom:16px;gap:5px}.pager button{width:27px;height:27px}.card-title{font-size:15px}.card-meta{font-size:11px}#filters{gap:6px;margin:13px 0 16px}#filters button{padding:7px 11px}.detail-body h2{font-size:21px}.photo img{height:auto;max-height:45vh}}
@media(prefers-reduced-motion:reduce){.thumb img{transition:none}}
