*{box-sizing:border-box}body{margin:0;background:#071122;color:#f0f3f8;font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}.wrap{max-width:1040px;margin:auto;padding:38px 16px}header{text-align:center;padding:28px 0 30px}.eyebrow{font-size:12px;letter-spacing:2px;color:#e8bc71}h1{font-size:clamp(28px,5vw,45px);margin:8px 0 4px}h1 em{font-style:normal;color:#e8bc71}header p{color:#bbc9da}.panel{background:#13223c;border:1px solid #304867;border-radius:18px;padding:24px;margin:0 0 22px}label{font-weight:600;display:block;margin:8px 0}input[type=file],input[type=password]{width:100%;border:1px solid #58708b;padding:12px;background:#0a1b34;border-radius:10px;color:#fff}button{display:block;width:100%;margin-top:14px;border:0;border-radius:10px;background:#d8ad69;color:#102039;font:700 16px system-ui;padding:14px;cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}.note{color:#abbcd0;font-size:13px}.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:14px;margin:17px 0}.status{padding:12px 0;color:#f6cd8c;white-space:pre-wrap}.results-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.results-head h2{margin:0}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:14px}.tile{background:#091c35;border:1px solid #3d5670;border-radius:12px;overflow:hidden}.tile img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#061021}.tile .meta{padding:10px;overflow-wrap:anywhere;font-size:12px}.tile a{color:#ffdb98}footer{text-align:center;color:#b0bfce;font-size:13px;padding:32px 0}footer a{color:#edc68c}.copyright{border-top:1px solid #33435b;padding:18px 5px;margin-top:20px;color:#dfbb75}.copyright div{color:#bdcad8}#preview img{max-width:220px;max-height:200px;margin:14px 0;border-radius:12px}hr{border:0;border-top:1px solid #3d5670;margin:26px 0}@media(max-width:600px){.panel{padding:16px}}
/* Results pagination */
#loadMore[hidden]{display:none!important}
.load-more{max-width:340px;margin:24px auto 0;background:#304b70;color:#fff;border:1px solid #6185ad}
.load-more:hover:not(:disabled){background:#42658f}

/* V2.6: direct downloads / bulk ZIP */
.tile .meta .download-file{display:inline-block;margin-top:8px;padding:7px 11px;border-radius:8px;background:#dfb873;color:#102039;text-decoration:none;font-weight:700}
.download-controls{background:#102d43;border:1px solid #427083;padding:14px;border-radius:12px;margin:12px 0 18px}
.download-controls[hidden],#downloadChunk[hidden]{display:none!important}
.download-controls button{margin:8px 0 5px}
#downloadChunk{background:#355c79;color:#fff}
.zip-progress{white-space:pre-wrap;color:#efce9d;font-size:13px;margin-top:8px}
