:root{
  --bg:#070a12;
  --fg:#dce9ff;
  --muted:#8aa3c7;

  --glass: rgba(16, 24, 40, .46);
  --stroke: rgba(140, 198, 255, .18);

  --accent:#6aa7ff;
  --accent2:#a36bff;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --r:18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x:hidden;
}

.cursor-glow{
  position:fixed;
  width:520px;
  height:520px;
  border-radius:50%;
  pointer-events:none;
  z-index:-1;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle at center, rgba(106,167,255,.18) 0%, rgba(163,107,255,.10) 28%, rgba(0,0,0,0) 62%);
  filter: blur(6px);
  opacity:.9;
}

#stars{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:-2;
}

.glass{
  background: var(--glass);
  border:1px solid var(--stroke);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.top{
  position:sticky;
  top:0;
  z-index:50;
  margin:14px 14px 0 14px;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{ display:flex; align-items:center; gap:12px; }
.dot{
  width:12px; height:12px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 22px rgba(106,167,255,.55);
}
.title{ font-weight:900; letter-spacing:.6px; }
.sub{ font-size:12px; color:var(--muted); margin-top:2px; }

.status{ display:flex; align-items:center; gap:8px; }
.status-dot{
  width:10px; height:10px; border-radius:50%;
  background: rgba(255,255,255,.16);
  box-shadow: 0 0 16px rgba(255,255,255,.08);
}
.status-text{ font-size:12px; color: var(--muted); }

.wrap{
  padding:14px;
  max-width: 1040px;
  margin:0 auto;
}

.hero{
  padding:18px;
  margin-top:14px;
}
.hero h1{
  margin:0 0 10px 0;
  letter-spacing:.4px;
  font-size:28px;
}
.muted{ color:var(--muted); }
.hero p{ margin:0 0 14px 0; line-height:1.6; }

.cta{ display:flex; flex-wrap:wrap; gap:10px; margin:12px 0 8px 0; }

.btn{
  border:none;
  cursor:pointer;
  border-radius:14px;
  padding:10px 14px;
  color:var(--fg);
  background: linear-gradient(135deg, rgba(106,167,255,.28), rgba(163,107,255,.18));
  border:1px solid rgba(106,167,255,.30);
  transition:.15s;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); opacity:.92; }

.btn.ghost{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
}

.links{
  display:flex;
  gap:14px;
  margin-top:10px;
  font-size:12px;
}
.links a{
  color: rgba(220,233,255,.78);
  text-decoration:none;
  border-bottom:1px solid rgba(220,233,255,.20);
}
.links a:hover{ border-bottom-color: rgba(106,167,255,.55); }

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:14px;
  margin-top:14px;
}
.card{
  padding:14px;
}
.card-title{ font-weight:900; margin-bottom:6px; }

.toast-wrap{
  position:fixed;
  top:16px;
  left:50%;
  transform: translateX(-50%);
  z-index:3000;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.toast{
  min-width: 280px;
  max-width: min(520px, calc(100vw - 28px));
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(16,24,40,.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: pop .18s ease;
}
.toast.good{ border-color: rgba(106,167,255,.32); }
.toast.bad{ border-color: rgba(255,77,125,.34); }
.toast .t{ font-weight:900; }
.toast .d{ font-size:12px; color:var(--muted); margin-top:3px; }
@keyframes pop{ from{ opacity:.2; transform: translateY(-6px);} to{ opacity:1; transform:none;} }

@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}
