:root{
  --bg:#070a12;
  --card:#0b1020;
  --muted:#9ca3af;
  --text:#e5e7eb;
  --accent:#7dd3fc;
  --accent2:#a78bfa;
  --danger:#fb7185;
  --ok:#34d399;
  --border: rgba(255,255,255,0.08);
}
*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 0%, rgba(125,211,252,0.18), transparent 55%),
              radial-gradient(900px 700px at 95% 25%, rgba(167,139,250,0.16), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none;}
.container{
  max-width:1100px;
  margin:0 auto;
  padding:28px 18px 44px;
}
.header{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  border:1px solid var(--border);
  background:rgba(11,16,32,0.62);
  backdrop-filter: blur(10px);
  padding:14px 16px;
  border-radius:18px;
}
.brand{
  display:flex;
  gap:12px;
  align-items:center;
}
.brand img{width:160px; height:auto;}
.pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}
.pill{
  border:1px solid var(--border);
  background: rgba(255,255,255,0.03);
  padding:8px 12px;
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
}
.main{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap:16px;
}
@media (max-width: 920px){
  .main{grid-template-columns: 1fr; }
  .pills{justify-content:flex-start;}
}
.card{
  border:1px solid var(--border);
  background:rgba(11,16,32,0.62);
  backdrop-filter: blur(10px);
  border-radius:22px;
  padding:18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}
.hero h1{
  margin:0 0 10px;
  font-size:34px;
  letter-spacing:-0.02em;
}
.hero p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.55;
}
.row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.btn{
  cursor:pointer;
  border:1px solid var(--border);
  padding:11px 14px;
  border-radius:14px;
  font-weight:650;
  background: rgba(255,255,255,0.04);
  color:var(--text);
  transition: transform .05s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14);}
.btn:active{transform: translateY(1px);}
.btn.primary{
  border-color: rgba(125,211,252,0.25);
  background: linear-gradient(135deg, rgba(125,211,252,0.18), rgba(167,139,250,0.16));
}
.btn.danger{
  border-color: rgba(251,113,133,0.25);
  background: rgba(251,113,133,0.08);
}
small.hint{color:var(--muted);}
.kv{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  margin-top:12px;
}
.kv .item{
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 12px;
  background: rgba(255,255,255,0.03);
}
.kv .k{color:var(--muted); font-size:12px; margin-bottom:6px;}
.kv .v{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:12.5px; overflow:auto;}
.footer{
  margin-top:14px;
  color:var(--muted);
  font-size:12.5px;
}
.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:7px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,0.03);
  color:var(--muted);
  font-size:12px;
}
.dot{
  width:9px; height:9px; border-radius:50%;
  background: var(--danger);
}
.dot.ok{background: var(--ok);}
.mini{
  margin-top:12px;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.55;
}
.codebox{
  margin-top:10px;
  border:1px solid var(--border);
  background: rgba(0,0,0,0.25);
  padding:12px;
  border-radius:16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:12px;
  overflow:auto;
}
