:root{
  --bg:#0a0a0a;
  --panel:#0f1115;
  --panel2:#0c0e12;
  --text:#f3f4f6;
  --muted:#a1a1aa;
  --border:#1f232b;
  --accent:#00e701; 
  --accent2:#00c600;
  --danger:#ef4444;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius:18px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background:
    radial-gradient(900px 600px at 15% -10%, rgba(0,231,1,.20), transparent 55%),
    radial-gradient(900px 600px at 90% 0%, rgba(0,231,1,.08), transparent 55%),
    linear-gradient(180deg, #050607 0%, var(--bg) 25%, var(--bg) 100%);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
.container{max-width:1120px; margin:0 auto; padding:26px 18px}
.nav{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(14px);
  background: rgba(5,6,7,.72);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:1120px; margin:0 auto;
  padding:14px 18px;
  display:flex; gap:14px; align-items:center; justify-content:space-between
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.2px;
}
.brand-mark{
  width:12px;height:12px;border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(0,231,1,.10), 0 0 22px rgba(0,231,1,.22);
  display:inline-block;
}
.links{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.link{
  padding:9px 12px; border-radius:999px;
  border:1px solid transparent;
  color:var(--muted); font-size:14px;
}
.link:hover{border-color:var(--border); color:var(--text); background: rgba(255,255,255,.03)}
.link.active{
  border-color: rgba(0,231,1,.55);
  color: var(--text);
  background: rgba(0,231,1,.08);
}
.hero{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(15,17,21,.82), rgba(10,10,10,.72));
  border-radius: 24px;
  padding:18px;
  box-shadow: var(--shadow);
}
.hero h1{margin:0 0 8px; font-size:36px; line-height:1.05}
.hero p{margin:0; color:var(--muted); max-width:72ch; line-height:1.55}
.h1{font-size:32px; line-height:1.1; margin:0 0 8px}
.sub{color:var(--muted); margin:0 0 18px; max-width:72ch; line-height:1.55}
.grid{display:grid; grid-template-columns:repeat(12,1fr); gap:14px}
.card{
  grid-column: span 6;
  background: linear-gradient(180deg, rgba(15,17,21,.92), rgba(12,14,18,.92));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.card.small{grid-column: span 4}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px; line-height:1.55}
.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  padding:2px 7px; border:1px solid var(--border); border-radius:10px; color:var(--muted); font-size:12px;
}
.panel{
  background: rgba(15,17,21,.78);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.row{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
.input{
  flex:1; min-width:240px;
  padding:12px 14px;
  background: rgba(5,6,7,.55);
  border:1px solid var(--border);
  border-radius:14px;
  color:var(--text);
  outline:none;
}
.input:focus{
  border-color: rgba(0,231,1,.65);
  box-shadow: 0 0 0 4px rgba(0,231,1,.12);
}
.button{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(0,231,1,.55);
  background: linear-gradient(180deg, rgba(0,231,1,.16), rgba(0,231,1,.08));
  color:var(--text);
  cursor:pointer;
  font-weight:700;
}
.button:hover{background: linear-gradient(180deg, rgba(0,231,1,.22), rgba(0,231,1,.10))}
.button.ghost{border-color:var(--border); background:transparent; color:var(--muted); font-weight:600}
.button.ghost:hover{color:var(--text); background: rgba(255,255,255,.04)}
.hr{height:1px; background:var(--border); margin:14px 0}
.note{color:var(--muted); font-size:13px; line-height:1.5}
.pillbar{display:flex; gap:8px; flex-wrap:wrap}
.pill{
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  cursor:pointer;
  user-select:none;
  font-size:13px;
  background: rgba(255,255,255,.02);
}
.pill:hover{background: rgba(255,255,255,.04)}
.pill.active{
  border-color: rgba(0,231,1,.55);
  background: rgba(0,231,1,.08);
  color: var(--text);
}
.table{width:100%; border-collapse:collapse}
.table th,.table td{border-bottom:1px solid var(--border); padding:10px 8px; text-align:left; font-size:14px}
.table th{color:var(--muted); font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.08em}
.table tr:hover td{background: rgba(255,255,255,.02)}
.thumb{
  width:42px; height:42px; border-radius:12px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--border);
  display:grid; place-items:center;
  overflow:hidden;
}
.thumb img{width:100%; height:100%; object-fit:contain}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace}
.right{margin-left:auto}
.toast{
  position:fixed; bottom:16px; left:50%; transform:translateX(-50%);
  background: rgba(15,17,21,.95);
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:999px;
  color:var(--text);
  font-size:13px;
  box-shadow: var(--shadow);
  opacity:0; pointer-events:none; transition:.2s;
}
.toast.show{opacity:1}
.modal-backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,.65);
  display:none; align-items:center; justify-content:center;
  padding:18px; z-index:60;
}
.modal-backdrop.open{display:flex}
.modal{
  width:min(760px, 100%);
  background: linear-gradient(180deg, rgba(15,17,21,.98), rgba(10,10,10,.96));
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow: var(--shadow);
  padding:16px;
}
.modal-head{display:flex; gap:12px; align-items:center}
.modal-title{font-size:16px; font-weight:900}
.close{border:1px solid var(--border); background:transparent; color:var(--muted); border-radius:14px; padding:10px 12px; cursor:pointer}
.close:hover{color:var(--text); background: rgba(255,255,255,.04)}
.footer{margin-top:22px; color:var(--muted); font-size:12px; line-height:1.5}
@media (max-width: 860px){
  .card{grid-column: span 12}
  .card.small{grid-column: span 12}
  .hero h1{font-size:30px}
}
.footer-line{margin-top:6px}
.footer-line:first-child{margin-top:0}
