:root{
  --bg:#070b12;
  --bg2:#0a1020;
  --card:#0d1527;
  --card2:#0b1324;
  --border:rgba(255,255,255,.08);
  --text:#e9eefb;
  --muted:rgba(233,238,251,.65);
  --accent:#19e0a3;
  --accent2:#10b981;
  --bad:#ff5c7a;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 600px at 30% -10%, rgba(25,224,163,.22), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(34,211,238,.14), transparent 60%),
    linear-gradient(180deg, var(--bg), #05070c);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;}
.muted{color:var(--muted)}
.bad{color:var(--bad)}
.pre{padding:14px; border:1px solid var(--border); border-radius:14px; background:rgba(0,0,0,.25); overflow:auto}

/* Header */
.topbar{
  position:sticky; top:0; z-index:50;
  background: linear-gradient(180deg, rgba(9,14,24,.92), rgba(9,14,24,.70));
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.topbarInner{
  max-width:1200px;
  margin:0 auto;
  padding:16px 18px;
  display:flex;
  align-items:center;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px; min-width:260px;
}
.logoDot{
  width:14px; height:14px; border-radius:999px;
  border:2px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(25,224,163,.12);
}
.brandTitle{
  font-weight:800; letter-spacing:.6px;
  color:var(--accent);
  font-size:20px;
}
.brandSub{font-size:12px; color:var(--muted); margin-top:2px}

.searchWrap{
  flex:1;
  display:flex; align-items:center; gap:10px;
}
.searchWrap input{
  flex:1;
  height:42px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
.searchWrap input::placeholder{color:rgba(233,238,251,.45)}
.btn{
  height:42px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid rgba(25,224,163,.35);
  background: linear-gradient(180deg, rgba(25,224,163,.18), rgba(25,224,163,.08));
  color:var(--text);
  font-weight:700;
  cursor:pointer;
}
.btn:hover{border-color:rgba(25,224,163,.65)}
.btn:disabled{opacity:.6; cursor:not-allowed}

.nav{
  display:flex; gap:10px; align-items:center;
}
.nav a{
  padding:10px 12px;
  border-radius:14px;
  color:var(--muted);
  border:1px solid transparent;
}
.nav a:hover{color:var(--text); border-color:var(--border); background: rgba(255,255,255,.03)}
.nav a.active{
  color:var(--text);
  border-color:var(--border);
  background: rgba(255,255,255,.04);
}

/* Layout */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:28px 18px 60px;
}
.h1{
  font-size:44px;
  margin:14px 0 6px;
  letter-spacing:.2px;
}
.p{color:var(--muted); margin:0 0 20px; line-height:1.55}

.grid{
  display:grid;
  gap:14px;
}
.grid.cards{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 980px){
  .brand{min-width:auto}
  .grid.cards{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 560px){
  .grid.cards{grid-template-columns: 1fr;}
  .topbarInner{flex-wrap:wrap}
  .searchWrap{width:100%}
}

/* Card */
.card{
  border:1px solid var(--border);
  border-radius:18px;
  background: linear-gradient(180deg, rgba(15,25,44,.72), rgba(12,18,33,.62));
  box-shadow: var(--shadow);
  padding:16px;
}
.cardTitle{font-size:13px; color:var(--muted); margin-bottom:6px}
.cardValue{font-size:30px; color:var(--accent); font-weight:800}
.cardNote{font-size:12px; color:rgba(233,238,251,.55); margin-top:6px}

/* Sections */
.section{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
@media (max-width: 980px){
  .section{grid-template-columns: 1fr;}
}

.list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.listRow{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.16);
}
.listRow:hover{border-color:rgba(25,224,163,.35)}
.rowTitle{font-weight:800}
.rowSub{font-size:12px; color:var(--muted); margin-top:2px}
.rowMeta{font-size:12px; color:rgba(233,238,251,.70); text-align:right}
.rowMeta .muted{font-size:11px}

/* Detail table */
.table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:18px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.14);
}
.table tr{border-bottom:1px solid var(--border)}
.table tr:last-child{border-bottom:none}
.table th, .table td{
  padding:14px 16px;
  text-align:left;
}
.table th{color:var(--muted); width:200px; font-weight:600}
.table td{color:var(--text)}
.k{color:var(--muted)}
.v{word-break:break-all}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(25,224,163,.35);
  background: rgba(25,224,163,.08);
  color:var(--accent);
  font-weight:800;
}

.footer{
  max-width:1200px;
  margin:0 auto;
  padding:20px 18px;
  border-top:1px solid var(--border);
  color:rgba(233,238,251,.45);
  text-align:center;
}
