:root{ --accent:#0b74de; --muted:#6b7280 }
*{box-sizing:border-box}
body{font-family:Inter,system-ui,Arial,sans-serif;margin:0;background:#f6f7fb;color:#111}
.container{max-width:980px;margin:28px auto;padding:20px;background:#fff;border-radius:12px;box-shadow:0 6px 30px rgba(16,24,40,0.06)}
h1{margin:0 0 8px;font-size:20px}
p.lead{margin:0 0 18px;color:var(--muted)}

.controls{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
button, .file-btn{background:var(--accent);border:none;color:#fff;padding:10px 14px;border-radius:8px;font-weight:600;cursor:pointer}
button.ghost{background:#eef2ff;color:var(--accent);border:1px solid #e6eefc}
.file-btn{position:relative;overflow:hidden}
.file-btn input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}

.dropzone{border:2px dashed #e6eefc;padding:18px;border-radius:10px;text-align:center;color:var(--muted);margin-bottom:12px}

.thumbs{display:flex;flex-wrap:wrap;gap:10px}
.thumb{width:140px;border-radius:8px;overflow:hidden;border:1px solid #eef2ff;background:#fff;padding:8px;display:flex;flex-direction:column;gap:8px}
.thumb img{width:100%;height:100px;object-fit:cover;border-radius:6px}
.thumb .meta{font-size:12px;color:#333;display:flex;justify-content:space-between;align-items:center}
.small{font-size:12px;color:var(--muted)}

.actions{display:flex;gap:8px}
.btn-small{padding:6px 8px;border-radius:7px;font-size:13px}

.footer{margin-top:14px;color:var(--muted);font-size:13px}
@media (max-width:600px){.thumb{width:48%}}
