.album-section { margin:0 0 30px; }
.album-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:14px; scroll-margin-top:20px; }
.album-heading h3 { margin:0 0 6px; }
.album-heading h3 span,.album-heading p span { font-size:11px; color:var(--muted); font-weight:400; margin-left:9px; }
.album-heading p { color:#b9bdc8; font-size:12px; margin:0; overflow-wrap:anywhere; }
.album-range { color:var(--muted); font-size:11px; white-space:nowrap; }
.album-selector { display:flex; flex-direction:column; gap:8px; max-width:560px; margin-bottom:18px; color:var(--muted); font-size:12px; }
.album-selector select { width:100%; min-height:42px; padding:10px 12px; border:1px solid #363b47; border-radius:8px; background:#111318; color:var(--text); font:inherit; font-size:13px; }
.album-selector select:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.album-pagination { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-bottom:16px; }
.album-pagination-bottom .album-pagination { margin-top:16px; margin-bottom:0; }
.album-pagination .secondary-button { min-height:32px; padding:7px; }
.album-pagination label { display:flex; gap:7px; align-items:center; color:#a8adba; font-size:11px; }
.album-pagination input { width:55px; padding:6px; border:1px solid #363b47; border-radius:6px; background:#111318; color:var(--text); text-align:center; }
.album-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px 12px; }
.album-image-card { display:flex; flex-direction:column; text-align:left; background:transparent; padding:0; min-width:0; }
.album-image-frame { display:flex; align-items:center; justify-content:center; position:relative; width:100%; height:200px; border:1px solid #30333d; border-radius:8px; overflow:hidden; background:#111318; }
.album-image-frame img { display:block; width:100%; height:100%; object-fit:contain; opacity:0; }
.album-image-card.is-loaded img { opacity:1; }
.album-image-status { position:absolute; font-size:10px; color:#797f8b; text-align:center; padding:12px; }
.album-image-card.is-loaded .album-image-status { display:none; }
.album-image-card.is-error .album-image-status { color:#dcaa91; }
.album-image-name { display:block; width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:7px 1px; font-size:11px; color:#a1a8b6; }
.album-image-zoom { position:absolute; left:8px; top:8px; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; border:1px solid #585a65; color:#e2e2e8; background:#111318bd; }
.album-image-zoom svg { width:17px; height:17px; }
.album-image-card:hover .album-image-frame { border-color:var(--accent); }
.album-video-card .album-image-frame { background:linear-gradient(145deg,#23212a,#111318 72%); }
.album-video-play { position:absolute; display:grid; place-items:center; width:52px; height:52px; border:1px solid #8d6d5c; border-radius:50%; background:#17171bd9; color:var(--accent); }
.album-video-play svg { width:27px; height:27px; margin-left:2px; fill:currentColor; stroke-width:1; }
.album-video-format { position:absolute; left:9px; bottom:9px; padding:2px 6px; border:1px solid #4b4040; border-radius:4px; background:#111318d9; color:#d5b29e; font-size:10px; letter-spacing:.7px; }
.album-video-card:hover .album-video-play { background:#372a24; border-color:var(--accent); }
.album-state { grid-column:1/-1; color:var(--muted); padding:20px 0; font-size:12px; }
.album-state .secondary-button { margin-left:10px; }
.album-viewer-dialog { width:min(1280px,calc(100vw - 32px)); height:min(950px,calc(100dvh - 48px)); max-width:calc(100vw - 32px); max-height:calc(100dvh - 48px); overflow:hidden; padding:20px; background:#121318; }
.album-viewer-dialog::backdrop { background:#050608e8; }
.album-viewer-dialog { -webkit-user-select:none; user-select:none; }
.album-viewer-dialog img { -webkit-user-drag:none; }
.album-viewer-shell { display:flex; flex-direction:column; height:100%; min-height:0; }
.album-viewer-heading { display:flex; align-items:center; gap:16px; flex-shrink:0; padding-bottom:12px; }
.album-viewer-heading h2 { flex:1; font-size:14px; margin:0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.album-viewer-count { color:var(--muted); font-size:12px; white-space:nowrap; }
.album-viewer-stage { display:flex; flex:1; min-height:0; gap:12px; align-items:center; }
.album-viewer-arrow { flex-shrink:0; width:38px; height:48px; display:grid; place-items:center; border-radius:7px; background:#24262d; color:#d9dce4; }
.album-viewer-arrow:hover { color:var(--accent); }
.album-viewer-canvas { flex:1; min-width:0; height:100%; position:relative; display:flex; align-items:center; justify-content:center; }
.album-viewer-canvas img { display:block; width:100%; height:100%; max-height:100%; object-fit:contain; }
.album-viewer-canvas img:not([src]) { visibility:hidden; }
.album-viewer-canvas video { display:block; width:100%; height:100%; max-height:100%; object-fit:contain; background:#090a0d; }
.album-viewer-canvas video:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.album-viewer-state { position:absolute; display:flex; flex-direction:column; align-items:center; gap:12px; max-width:100%; padding:20px; pointer-events:none; }
.album-viewer-state button { pointer-events:auto; }
.album-viewer-status { margin:0; color:#9aa2b1; font-size:12px; text-align:center; }
.album-viewer-state .secondary-button { min-height:34px; padding:8px 14px; }
.album-viewer-thumbnails { display:flex; gap:8px; justify-content:center; flex-shrink:0; padding-top:15px; height:97px; overflow-x:auto; }
.album-viewer-thumb { display:flex; position:relative; flex-shrink:0; width:64px; height:78px; padding:3px; border:1px solid #333742; border-radius:5px; background:#17191e; align-items:center; justify-content:center; }
.album-viewer-thumb.selected { border-color:var(--accent); background:var(--accent-soft); }
.album-viewer-thumb img { max-width:100%; width:100%; height:100%; object-fit:contain; }
.album-viewer-thumb span { position:absolute; bottom:2px; right:3px; padding:0 3px; border-radius:3px; font-size:9px; color:#d7dae2; background:#111318c9; }
.album-video-thumb { background:linear-gradient(145deg,#2b2425,#17191e); }
.album-video-symbol { position:absolute; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#111318dc; color:var(--accent); }
.album-video-symbol svg { width:17px; height:17px; margin-left:2px; fill:currentColor; stroke-width:1; }
.album-video-thumb .album-video-format { left:3px; top:3px; bottom:auto; right:auto; padding:0 3px; font-size:7px; line-height:1.5; letter-spacing:.3px; }
@media(max-width:800px) { .album-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .album-image-frame { height:170px; } .album-heading { align-items:flex-start; } }
@media(max-width:520px) { .album-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .album-image-frame { height:180px; } .album-heading { flex-direction:column; gap:7px; } .album-pagination { justify-content:flex-start; } .album-viewer-dialog { width:calc(100vw - 16px); height:calc(100dvh - 16px); max-width:calc(100vw - 16px); max-height:calc(100dvh - 16px); padding:12px; } .album-viewer-stage { gap:6px; } .album-viewer-arrow { width:28px; } .album-viewer-thumbnails { justify-content:flex-start; } .album-viewer-heading { gap:8px; } }
