:root{color-scheme:dark;--bg:#141514;--panel:#1c1e1c;--line:#30332f;--text:#eeeee7;--muted:#92988e;--accent:#e7bc80;--accent-dim:#392e20}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}button,input,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar{height:78px;padding:0 max(28px,calc((100vw - 1360px)/2));border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:650;letter-spacing:.05em}.brand-mark{width:32px;height:32px;border-radius:9px;border:1px solid #6b5639;display:grid;place-items:center;color:var(--accent);font-size:25px;line-height:1}.brand-divider{margin:0 16px;color:#565b51;font-weight:400}.brand-detail{font-size:12px;font-weight:400;letter-spacing:.02em;color:var(--muted)}.public-label{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:11px}.public-label>span{width:6px;height:6px;background:#a6bb8b;border-radius:50%}
main{max-width:1416px;margin:0 auto;padding:34px 28px 24px}.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted);margin:0 0 35px;min-height:20px}.breadcrumbs a:hover{color:var(--accent)}.breadcrumbs [aria-current]{color:var(--text)}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:36px}.eyebrow{margin:0 0 11px;color:var(--accent);font:10px/1.4 ui-monospace,Consolas,monospace;letter-spacing:.23em}h1{margin:0;font-size:clamp(28px,3.2vw,42px);font-weight:550;letter-spacing:-.03em;line-height:1.3;overflow-wrap:anywhere}.title-dot{color:var(--accent)}.subtitle{margin:13px 0 0;font-size:12px;color:var(--muted)}.search{border:1px solid var(--line);border-radius:9px;background:#191b18;min-height:44px;width:275px;display:flex;align-items:center;gap:10px;padding:0 12px;flex-shrink:0}.search:focus-within{border-color:#88704d}.search svg{width:18px;height:18px;color:var(--muted);flex-shrink:0}.search input{width:100%;min-width:0;padding:10px 0;border:0;background:transparent;color:var(--text);outline:none;font-size:12px}.search input:focus-visible{outline:none}.search input::placeholder{color:#767d70}.search kbd{color:#666f5f;font:16px monospace}.section-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding:17px 0 23px;color:var(--muted);font-size:12px}.section-name{display:flex;align-items:center;gap:9px;color:#c4c9bd}.section-name>svg{width:15px;height:15px}.number-pill{border:1px solid var(--line);font:10px/1.4 ui-monospace,Consolas,monospace;color:var(--muted);border-radius:5px;padding:2px 6px;margin-left:2px}.section-hint{font-size:11px;color:#858d7e}.back-link{font-size:12px;color:var(--accent)}.back-link:hover{color:#ffe1b8}
.album-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.album-card{min-width:0;min-height:191px;border:1px solid var(--line);border-radius:13px;background:var(--panel);padding:24px;display:flex;flex-direction:column;transition:transform .18s,border-color .18s,background .18s}.album-card:hover{transform:translateY(-3px);border-color:#786346;background:#22241f}.album-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.folder-icon{width:47px;height:38px;stroke:var(--accent);stroke-width:1.25;fill:#a77a3820}.album-arrow{font-size:17px;color:#6e7766;transition:transform .18s}.album-card:hover .album-arrow{color:var(--accent);transform:translateX(3px)}.album-name{margin:0 0 8px;font-size:15px;font-weight:550;line-height:1.6;overflow-wrap:anywhere}.album-meta{margin-top:auto;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.album-meta .tiny-dot{width:3px;height:3px;background:#626a5b;border-radius:50%}.skeleton{height:191px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(100deg,#1c1e1c 20%,#262922 45%,#1c1e1c 70%);background-size:200% 100%;animation:shimmer 2s infinite}@keyframes shimmer{to{background-position:-200% 0}}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:20px 16px}.photo-card{padding:0;border:1px solid var(--line);border-radius:11px;background:var(--panel);overflow:hidden;color:var(--text);text-align:left;min-width:0;transition:transform .18s,border-color .18s}.photo-card:hover{border-color:#88704d;transform:translateY(-3px)}.photo-frame{position:relative;aspect-ratio:4/5;background:#20231e;overflow:hidden}.photo-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s,transform .3s}.photo-frame img.loaded{opacity:1}.photo-card:hover img{transform:scale(1.035)}.photo-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#4f5946;font-size:32px}.photo-placeholder.failed{color:var(--muted);font-size:12px;padding:20px}.photo-caption{display:flex;align-items:center;gap:10px;padding:12px}.photo-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1;font-size:11px}.photo-size{color:var(--muted);font:10px ui-monospace,Consolas,monospace;flex-shrink:0}.empty{text-align:center;padding:70px 20px;border:1px dashed var(--line);border-radius:12px}.empty>span{font-size:32px;color:var(--accent)}.empty h2{font-size:18px;font-weight:500;margin:10px 0}.empty p{color:var(--muted);font-size:12px;margin-bottom:20px}.error{background:#33291d;border:1px solid #796040;border-radius:10px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.error p{margin:0;color:#edceaa}.end-note{margin:32px 0 0;text-align:center;font-size:11px;color:#7e8776}main>footer{margin-top:48px;padding-top:19px;border-top:1px solid var(--line);color:#777f70;font-size:10px;display:flex;justify-content:space-between;gap:20px}.footer-dot{margin:0 8px;color:#555e4d}.button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 15px;border:1px solid #404738;border-radius:8px;background:transparent;color:var(--text);font-size:12px;gap:8px}.button:hover{background:#2a3024;border-color:#687253}.button:disabled{opacity:.3;cursor:default}.button.primary{background:var(--accent);border-color:var(--accent);color:#302415;font-weight:550}
dialog{width:min(1280px,calc(100vw - 40px));height:min(960px,calc(100dvh - 40px));max-width:none;max-height:none;border:1px solid #49503e;border-radius:14px;padding:0;background:#141612;color:var(--text);overflow:hidden}dialog::backdrop{background:#000d;backdrop-filter:blur(10px)}.viewer-shell{display:flex;flex-direction:column;height:100%}.viewer-head{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding:12px 18px;flex-shrink:0}#viewer-title{font-size:12px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.keyboard-hint{color:var(--muted);font-size:10px}.icon-button{width:36px;height:36px;border:0;background:transparent;color:var(--text);font-size:27px;border-radius:7px;line-height:1}.icon-button:hover{background:#30362a}.viewer-body{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#0c0e0b;padding:16px}.viewer-body img{max-width:100%;max-height:100%;object-fit:contain}.viewer-loading{position:absolute;color:var(--muted);font-size:12px;z-index:0}.viewer-body img{position:relative;z-index:1}.viewer-error{position:absolute;z-index:2;color:#eccaa1;font-size:12px;background:#30291e;padding:12px 18px;border-radius:8px}.viewer-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:13px 18px;border-top:1px solid var(--line);margin:0;flex-shrink:0}.viewer-nav{display:flex;align-items:center;gap:15px}#viewer-count{color:var(--muted);font:11px ui-monospace,Consolas,monospace;min-width:65px;text-align:center}
@media(max-width:1100px){.album-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.album-card{padding:20px;min-height:180px}.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.photo-size{display:none}}@media(max-width:760px){.topbar{height:64px;padding:0 18px}.brand-divider{margin:0 10px}.brand-detail{font-size:10px}.public-label{font-size:10px}main{padding:25px 16px 20px}.breadcrumbs{margin-bottom:26px;font-size:11px}.intro{align-items:stretch;flex-direction:column;gap:22px;margin-bottom:24px}.search{width:100%}.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.album-card{min-height:169px;padding:17px}.album-top{margin-bottom:19px}.folder-icon{width:40px;height:32px}.album-name{font-size:13px}.album-meta{font-size:10px}.section-hint{display:none}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.photo-caption{padding:10px}.photo-name{font-size:10px}.section-bar{font-size:11px;padding-bottom:18px}.back-link{font-size:11px}main>footer{font-size:9px;gap:10px}.error{align-items:flex-start;flex-direction:column}dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:10px}.viewer-head{padding:8px 10px}.keyboard-hint{display:none}.viewer-foot{flex-direction:column;padding:12px;gap:12px}.viewer-nav{width:100%;justify-content:space-between;gap:7px}.viewer-foot>a{width:100%}.viewer-body{padding:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
