:root{
  --bg:#0b0c10;--card:#141622;--text:#f1f1f1;--muted:#a9acb5;
  --btn:#2d7dff;--btn2:#2a2d3a;--border:rgba(255,255,255,.08);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.35 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.wrap{max-width:1024px;margin:0 auto;padding:18px}
.header{display:flex;gap:14px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
h1{margin:0;font-size:28px}
.sub{margin:6px 0 0;color:var(--muted)}
.actions{display:flex;gap:10px}
button{
  border:1px solid var(--border);background:var(--btn);color:white;
  padding:10px 12px;border-radius:12px;cursor:pointer;font-weight:650
}
button.secondary{background:var(--btn2)}
.meta{margin:14px 0;color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.card{
  background:var(--card);border:1px solid var(--border);border-radius:18px;
  padding:14px;display:flex;flex-direction:column;gap:10px;overflow:hidden
}
.row{display:flex;justify-content:space-between;gap:10px;align-items:center}
.badge{
  display:inline-flex;padding:6px 10px;border-radius:999px;
  background:rgba(45,125,255,.18);border:1px solid rgba(45,125,255,.35);font-weight:800
}
.small{color:var(--muted);font-size:13px}
a{color:#9fc1ff;text-decoration:none;word-break:break-all}
a:hover{text-decoration:underline}
.empty{color:var(--muted);padding:22px 0}
.thumb{
  width:100%;height:170px;object-fit:contain;background:rgba(255,255,255,.04);
  border:1px solid var(--border);border-radius:14px
}
.iconBtn{
  width:36px;height:36px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;
  background:var(--btn2);border:1px solid var(--border);cursor:pointer
}
.iconBtn.danger{background:rgba(185,58,58,.25);border-color:rgba(185,58,58,.5)}
.iconBtn svg{width:18px;height:18px;fill:currentColor}
