:root{
  --bg:#071123;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:16px;
  --radius2:22px;
  --accent:#4aa3ff;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% 0%, #0c1f3a 0%, var(--bg) 55%) fixed;
  color: var(--text);
  text-decoration:none;
}

img{ max-width:100%; display:block; }

.container{
  max-width:1180px;
  margin:0 auto;
  padding:22px;
}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:14px 22px;
  background: rgba(7,17,35,.72);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(10px);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
}
.brandLogo{
  width:44px; height:44px;
  border-radius:12px;
  object-fit:cover;
  box-shadow: var(--shadow);
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.brandText{ line-height:1.1; }
.brandName{ font-weight:800; }
.brandTag{ color:var(--muted); font-size:12px; margin-top:2px; }

.nav{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  color:var(--muted);
  font-size:13px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}
.nav a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
}

.hero{
  display:grid;
  grid-template-columns: 1.6fr 1fr;
  gap:18px;
  align-items:start;
  margin-top:16px;
}

.card{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.cardInner{ padding:18px; }

.hTitle{
  font-weight:900;
  font-size:34px;
  letter-spacing:.2px;
  margin:0 0 6px 0;
}
.hSub{ color:var(--muted); margin:0 0 14px 0; font-size:14px; }

.btnRow{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:12px;
  padding:10px 12px;
  font-weight:800;
  font-size:13px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
}
.btn.primary{
  background: rgba(74,163,255,.18);
  border-color: rgba(74,163,255,.35);
}
.btn:hover{ filter:brightness(1.06); }

.featureGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}
.feature{
  border-radius:18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  padding:14px;
  min-height:110px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.featureTitle{ font-weight:900; }
.featureDesc{ color:var(--muted); font-size:13px; line-height:1.35; }
.featureImg{
  margin-top:auto;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
}
.featureImg img{ height:120px; width:100%; object-fit:cover; }

.sideCardHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.sideTitle{ font-weight:900; font-size:16px; }

.kv{ display:flex; flex-direction:column; gap:8px; }
.kvRow{
  display:flex;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px dashed rgba(255,255,255,.10);
  padding-bottom:6px;
}
.kvRow span{ color:var(--muted); }
.kvRow b{ font-weight:900; }

.muted{ color:var(--muted); }
.error{ color:#ffb4b4; font-weight:800; }

.newsWrap{ margin-top:14px; }
.newsList{
  max-height:360px;
  overflow:auto;
  padding-right:6px;
}
.newsItem{
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:12px;
  margin-bottom:10px;
}
.newsTitle{ font-weight:900; margin-bottom:6px; }
.newsMeta{ color:var(--muted); font-size:12px; margin-bottom:6px; }
.newsDesc{ color:var(--muted); font-size:12px; line-height:1.35; }
.newsLink{
  display:inline-block;
  margin-top:8px;
  font-weight:900;
  color: var(--accent);
}

.section{
  margin-top:18px;
}
.sectionHead{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:12px;
  padding:14px 18px;
  border-bottom:1px solid var(--border);
}
.sectionTitle{ font-weight:900; }
.sectionSub{ color:var(--muted); font-size:12px; }

.sectionBody{ padding:14px 18px; }

.galleryGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}
.gTile{
  width:100%;
  height:190px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  cursor:pointer;
  background: rgba(255,255,255,.04);
}
.gTile img{ width:100%; height:100%; object-fit:cover; }

.hotlineImg{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
}
.hotlineImg img{ width:100%; height:220px; object-fit:cover; }

.statusBox{
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  font-weight:800;
}
.statusBox.ok{ border-color: rgba(74,255,160,.25); }
.statusBox.warn{ border-color: rgba(255,200,74,.25); }
.statusBox.bad{ border-color: rgba(255,74,74,.25); color:#ffb4b4; }

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
}
.badge.ok{ border-color: rgba(74,255,160,.25); }
.badge.warn{ border-color: rgba(255,200,74,.25); }
.badge.bad{ border-color: rgba(255,74,74,.25); }

.txRow{
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  margin-bottom:10px;
}
.txTop{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.txId{ font-weight:900; }
.txMeta{ color:var(--muted); font-size:12px; margin-top:6px; }
.txDetails{ margin-top:8px; font-size:13px; line-height:1.35; }

.formGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
label{ font-size:12px; color:var(--muted); font-weight:800; display:block; margin-bottom:6px; }
input, select, textarea{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:10px 10px;
  outline:none;
}
textarea{ min-height:110px; resize:vertical; }

.tableHead, .tableRow{
  display:grid;
  grid-template-columns: 1.4fr 1.1fr 1fr .9fr .8fr;
  gap:10px;
  padding:10px 10px;
}
.tableHead{
  font-weight:900;
  border-bottom:1px solid rgba(255,255,255,.12);
  color: var(--muted);
}
.tableRow{
  border-bottom:1px solid rgba(255,255,255,.06);
}
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.miniGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
.miniCard{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding:14px;
}
.miniTitle{ color:var(--muted); font-size:12px; font-weight:900; }
.miniValue{ font-size:26px; font-weight:900; margin-top:6px; }

.footer{
  margin-top:18px;
  padding:18px 6px;
  text-align:center;
  color: var(--muted);
  font-size:12px;
}

@media (max-width: 980px){
  .hero{ grid-template-columns:1fr; }
  .featureGrid{ grid-template-columns:1fr; }
  .galleryGrid{ grid-template-columns:1fr; }
  .formGrid{ grid-template-columns:1fr; }
  .miniGrid{ grid-template-columns:1fr 1fr; }
  .topbar{ position:static; }
}
