:root{
  --bg:#071022;
  --card:#0f1a2e;
  --text:#e8eefc;
  --muted:#b6c2e2;
  --accent:#2aa6ff;
  --border:rgba(255,255,255,0.10);
  --shadow:0 10px 25px rgba(0,0,0,0.25);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui, Segoe UI, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

.top{
  padding:18px 22px;
  background:linear-gradient(90deg,#0b1220 0%, #0e1e36 55%, #0b1220 100%);
  border-bottom:3px solid var(--accent);
}

.brand{
  font-weight:800;
  letter-spacing:0.5px;
  text-transform:lowercase;
  font-size:18px;
}

.title{
  margin-top:6px;
  font-size:18px;
  font-weight:650;
  color:var(--muted);
}

.sub{
  margin-top:6px;
  font-size:13px;
  color:var(--muted);
}

.wrap{
  max-width:1200px;
  margin:18px auto;
  padding:0 18px 28px;
}

.controls{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.search{
  flex:1;
  min-width:260px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#0b162b;
  color:var(--text);
  outline:none;
}

.count{
  color:var(--muted);
  font-size:13px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:14px;
}

@media (max-width: 1200px){
  .grid{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px){
  .grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px){
  .grid{ grid-template-columns:repeat(1, minmax(0, 1fr)); }
}

.tile{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  min-height:190px;
}

.tileHead{
  display:flex;
  gap:10px;
  align-items:flex-start;
  justify-content:space-between;
}

.tileTitle{
  font-weight:750;
  font-size:14px;
  line-height:1.25;
}

.pill{
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(42,166,255,0.40);
  background:rgba(42,166,255,0.14);
  color:var(--text);
  white-space:nowrap;
}

.tileBody{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
  flex:1;
}

.tags{
  margin-top:10px;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.tag{
  font-size:11px;
  padding:3px 7px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.06);
  color:var(--muted);
}

.tileFoot{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
}

.btn{
  display:inline-block;
  text-decoration:none;
  font-weight:700;
  font-size:12px;
  padding:9px 12px;
  border-radius:12px;
  border:1px solid rgba(42,166,255,0.45);
  background:rgba(42,166,255,0.18);
  color:var(--text);
}

.btn:hover{
  background:rgba(42,166,255,0.26);
}

.muted{ color:var(--muted); font-size:12px; }

.hash{
  margin-top:10px;
  color:rgba(230,238,252,0.55);
  font-size:11px;
}

.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.empty{
  margin-top:18px;
  color:var(--muted);
}


.back{
  display:inline-block;
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
}
.back:hover{ color:var(--text); }

.tile{ min-height:210px; }
.grid{ justify-content:flex-start; }
