:root{
  --bg:#0b0d12;--card:#121622;--text:#eef2ff;--muted:#a5b4fc;--stroke:#26304a;
  --accent:#f97316;--good:#22c55e;--warn:#f59e0b;--bad:#ef4444;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(249,115,22,.22), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(99,102,241,.22), transparent 55%),
              var(--bg);
  color:var(--text);
}
.banner{position:sticky;top:0;z-index:20;background:rgba(11,13,18,.78);backdrop-filter:blur(10px);border-bottom:1px solid var(--stroke)}
.banner-inner{max-width:1200px;margin:0 auto;padding:14px 16px;display:flex;align-items:center;gap:14px}
.logo{width:54px;height:54px;object-fit:contain;background:#fff;border-radius:12px;padding:6px}
.title-wrap h1{font-size:20px;margin:0;line-height:1.1}
.subtitle{margin:4px 0 0 0;font-size:12px;color:var(--muted)}
.actions{margin-left:auto}
.btn{border:1px solid var(--stroke);background:linear-gradient(180deg,rgba(249,115,22,.18),rgba(18,22,34,.9));color:var(--text);padding:10px 12px;border-radius:12px;cursor:pointer;font-weight:700}
.btn:hover{border-color:rgba(249,115,22,.55)}
.container{max-width:1200px;margin:0 auto;padding:16px}
.card{background:rgba(18,22,34,.9);border:1px solid var(--stroke);border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.controls{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:12px;padding:14px;align-items:end}
.control label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
.control input,.control select{width:100%;padding:10px 10px;border-radius:12px;border:1px solid var(--stroke);background:rgba(11,13,18,.65);color:var(--text);outline:none}
.note{grid-column:1/-1;color:var(--muted);font-size:12px;margin-top:2px}
.note code{background:rgba(99,102,241,.18);border:1px solid rgba(99,102,241,.3);padding:2px 6px;border-radius:8px;color:var(--text)}
.status{margin:14px 0;color:var(--muted);font-size:13px}

.list{display:flex;flex-direction:column;gap:12px}

/* horizontal card */
.row-card{display:flex;gap:12px;padding:12px;align-items:stretch}
.thumb{
  width:160px;min-width:160px;height:120px;
  border-radius:14px;overflow:hidden;border:1px solid var(--stroke);
  background: rgba(99,102,241,.16);
  display:flex;align-items:center;justify-content:center
}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.thumb .ph{padding:10px;text-align:center;color:var(--muted);font-weight:800;font-size:12px}

.content{flex:1;display:flex;flex-direction:column;gap:8px}
.headline{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}
.name{margin:0;font-size:18px;font-weight:900;line-height:1.15}
.badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.badge{font-size:11px;padding:6px 8px;border-radius:999px;border:1px solid var(--stroke);background: rgba(11,13,18,.55);color: var(--text);white-space:nowrap}
.badge.good{border-color: rgba(34,197,94,.45)}
.badge.warn{border-color: rgba(245,158,11,.45)}
.badge.bad{border-color: rgba(239,68,68,.45)}
.badge.orange{border-color: rgba(249,115,22,.55)}

.meta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:6px 14px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}
.meta .row strong{color:var(--text);font-weight:800}

.summary{
  margin-top:2px;
  padding-top:8px;
  border-top:1px dashed rgba(38,48,74,.9);
  color: var(--muted);
  font-size:13px;
  line-height:1.45;
}
.links{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px}
.pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 10px;border-radius:999px;border:1px solid var(--stroke);
  background: rgba(11,13,18,.55);color: var(--text);text-decoration:none;
  font-size:12px;font-weight:800;
}
.pill:hover{border-color: rgba(99,102,241,.55)}
.pill.orange:hover{border-color: rgba(249,115,22,.65)}

.footer{padding:26px 0 30px;border-top:1px solid var(--stroke);margin-top:22px}
.muted{color:var(--muted);font-size:12px;margin:0}

@media (max-width: 1000px){
  .controls{grid-template-columns:1fr 1fr}
  .meta{grid-template-columns:1fr}
}
@media (max-width: 700px){
  .row-card{flex-direction:column}
  .thumb{width:100%;min-width:100%;height:180px}
  .headline{flex-direction:column;align-items:flex-start}
}
