* { box-sizing: border-box; font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; }
body { background: #0f1724; color: #e6eef8; margin: 0; padding: 28px; }
main { max-width: 920px; margin: 28px auto; }
header h1 { margin: 0; font-size: 28px; }
header .tag { margin: 6px 0 18px 0; color: #9fb0d9; }
.card { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); padding: 18px; border-radius: 12px; box-shadow: 0 6px 30px rgba(2,6,23,0.6); }
#drop-area { border: 1px dashed rgba(255,255,255,0.08); border-radius: 10px; padding: 18px; transition: box-shadow .15s, border-color .15s; }
#drop-area.highlight { border-color: #60a5fa; box-shadow: 0 8px 40px rgba(96,165,250,0.08); }
.muted { color: #9fb0d9; }
.file-label { color: #7cc3ff; cursor: pointer; text-decoration: underline; }
#file-input { display: none; }
.controls { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
select { background: rgba(255,255,255,0.02); color: #e6eef8; border: 1px solid rgba(255,255,255,0.04); padding: 8px 10px; border-radius: 8px; }
button { background: linear-gradient(180deg,#3b82f6,#0366d6); color: #fff; border: none; padding: 9px 14px; border-radius: 8px; cursor: pointer; font-weight: 600; }
button:hover { transform: translateY(-1px); }
#file-list { margin-top: 14px; display: grid; gap: 10px; }
.file-item { display: grid; gap: 8px; grid-template-columns: 56px 1fr; align-items: center; padding: 8px; border-radius: 8px; background: rgba(255,255,255,0.01); }
.thumb-wrap { width:56px; height:56px; overflow:hidden; border-radius:6px; background:rgba(255,255,255,0.02); display:flex; align-items:center; justify-content:center; }
.thumb { width:100%; height:100%; object-fit:cover; }
.meta { display:flex; gap:12px; align-items:center; }
.info .name { font-weight:600; color:#e6eef8; }
.info .size { color:#9fb0d9; font-size:13px; }
.progress { height:8px; background: rgba(255,255,255,0.03); border-radius: 6px; overflow:hidden; }
.progress .bar { height:100%; background: linear-gradient(90deg,#34d399,#06b6d4); width:0%; transition: width .2s; }
.status { font-size:13px; color:#9fb0d9; }
.error { color: #ff8080 !important; }
#result { margin-top: 18px; padding: 12px; border-radius: 8px; background: rgba(255,255,255,0.01); }
.res { padding:6px 0; }
.res a { color:#7cc3ff; text-decoration:none; }
.res.error { color:#ffb3b3; }

@media (max-width:640px){ main{padding:16px} .file-item{grid-template-columns:44px 1fr} }
