:root{
  --bg:#0b0d10;
  --card:#12151a;
  --text:#e8edf2;
  --muted:#aab4bf;
  --line:#2a313a;
  --link:#9fd3ff;
  --button:#1a2430;
  --button-border:#2a3a4a;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background:linear-gradient(180deg, #07090c 0%, var(--bg) 100%);
  color:var(--text);
  line-height:1.55;
}

a{ color:var(--link); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 18px;
}

.site-header{
  border-bottom:1px solid var(--line);
  background:rgba(10,12,15,.85);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.brand-mark{
  width:44px; height:44px;
  border:1px solid var(--line);
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-weight:700;
  letter-spacing:.5px;
  background:rgba(255,255,255,.03);
}

.brand-text h1{
  margin:0;
  font-size: 20px;
  letter-spacing: .2px;
}

.subtitle{
  margin:2px 0 0 0;
  color:var(--muted);
  font-size: 13.5px;
}

.nav{
  display:flex;
  gap:12px;
  margin-top:12px;
  flex-wrap:wrap;
}

.nav a{
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:10px;
  background:rgba(255,255,255,.02);
}

.nav a.active{
  border-color: var(--line);
  background: rgba(255,255,255,.04);
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top:16px;
}

@media (min-width: 820px){
  .grid{ grid-template-columns: 1fr 1fr; }
}

.card{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px;
}

.card h2{
  margin: 0 0 8px 0;
  font-size: 16px;
}

.muted{ color:var(--muted); }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.block{
  display:block;
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius: 12px;
  background: rgba(0,0,0,.20);
  overflow:auto;
  white-space: pre-wrap;
}

.list{ margin: 8px 0 0 18px; }

.button{
  display:inline-block;
  padding:10px 12px;
  border-radius: 12px;
  border: 1px solid var(--button-border);
  background: var(--button);
  text-decoration:none !important;
}

.notice{
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 12px 12px;
  margin: 10px 0 14px 0;
  background: rgba(255,255,255,.02);
}

.table-wrap{ overflow:auto; border-radius: 12px; border: 1px solid var(--line); }
.table{
  width:100%;
  border-collapse:collapse;
  min-width: 860px;
  background: rgba(0,0,0,.12);
}

.table th, .table td{
  padding: 10px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th{
  text-align:left;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .25px;
  background: rgba(255,255,255,.02);
}

.site-footer{
  border-top:1px solid var(--line);
  margin-top: 26px;
  background: rgba(10,12,15,.55);
}
