:root{
  --bg: #0b1220;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --border: rgba(255,255,255,.12);
  --accent: #7c5cff;
  --good: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
}
@media (prefers-color-scheme: light){
  :root{
    --bg: #f6f7fb;
    --card: rgba(0,0,0,.04);
    --card2: rgba(0,0,0,.06);
    --text: rgba(0,0,0,.9);
    --muted: rgba(0,0,0,.62);
    --border: rgba(0,0,0,.12);
    --shadow: 0 18px 45px rgba(16,24,40,.18);
  }
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin:0;
  font: 14px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Noto Sans","PingFang SC","Microsoft YaHei",sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 15% 15%, rgba(124,92,255,.25), transparent 45%),
              radial-gradient(1000px 500px at 85% 20%, rgba(34,197,94,.18), transparent 40%),
              var(--bg);
}

.container{ width:min(1120px, calc(100% - 32px)); margin:0 auto; }

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

.brand{ display:flex; align-items:center; gap:12px; }
.logo{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(34,197,94,.85));
  color:white; font-weight:800;
  box-shadow: var(--shadow);
}
.title{ font-size: 15px; font-weight: 800; letter-spacing: .2px; }
.subtitle{ font-size: 12px; color: var(--muted); }

.pill{
  padding: 8px 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  font-weight: 650;
}
.pill.good{ border-color: rgba(34,197,94,.45); color: var(--good); }
.pill.warn{ border-color: rgba(245,158,11,.45); color: var(--warn); }
.pill.bad{ border-color: rgba(239,68,68,.45); color: var(--bad); }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  padding: 18px 0 28px;
}
.card{
  grid-column: span 12;
  padding: 16px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card), transparent);
  box-shadow: var(--shadow);
}
@media (min-width: 920px){
  .card:nth-child(1){ grid-column: span 5; }
  .card:nth-child(2){ grid-column: span 7; }
  .card:nth-child(3){ grid-column: span 7; }
  .card:nth-child(4){ grid-column: span 5; }
}

h2{ margin: 0 0 10px 0; font-size: 15px; }

.kv{ display:grid; grid-template-columns: 110px 1fr; gap: 8px 10px; }
.k{ color: var(--muted); }
.v code{ padding: 2px 6px; border-radius: 8px; border:1px solid var(--border); background: var(--card2); }

.steps{ margin: 0; padding-left: 18px; }
.stepTitle{ font-weight: 750; margin-top: 4px; }
.stepBody{ color: var(--muted); }

.hint{ margin: 10px 0 0; color: var(--muted); }

.formRow{ margin: 10px 0; display:grid; gap: 6px; }
.label{ font-weight: 650; color: var(--muted); }
.input{
  height: 40px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline: none;
}
.input:focus{ border-color: rgba(124,92,255,.6); box-shadow: 0 0 0 4px rgba(124,92,255,.18); }

.cmdBlock{ margin-top: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: rgba(0,0,0,.18); }
@media (prefers-color-scheme: light){ .cmdBlock{ background: rgba(255,255,255,.6);} }
.cmdTitle{ font-weight: 750; margin-bottom: 8px; }
.cmd{
  margin:0;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  overflow:auto;
  white-space: pre-wrap;
  word-break: break-word;
}
@media (prefers-color-scheme: light){ .cmd{ background: rgba(0,0,0,.06);} }

.btn{
  margin-top: 10px;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(124,92,255,.55);
  background: rgba(124,92,255,.15);
  color: var(--text);
  font-weight: 750;
  cursor: pointer;
}
.btn:hover{ background: rgba(124,92,255,.22); }

.footer{ display:flex; flex-wrap:wrap; gap: 10px 16px; align-items:center; justify-content:space-between; padding: 6px 0 24px; }
.muted{ color: var(--muted); }



/* ===== Personal Home Add-ons ===== */
.pills{display:flex;gap:10px;align-items:center}
.pill-ok{border-color: rgba(80,200,120,.35); background: rgba(80,200,120,.12)}

.hero{display:grid;grid-template-columns:1.3fr .9fr;gap:22px;align-items:stretch}
@media (max-width: 900px){.hero{grid-template-columns:1fr}}

h1{font-size: clamp(28px, 3vw, 44px); margin: 0 0 10px}
.lead{font-size: 16px; line-height: 1.7; margin: 0 0 14px}
.grad{
  background: linear-gradient(90deg, rgba(120,170,255,1), rgba(255,140,180,1));
  -webkit-background-clip:text; background-clip:text; color: transparent;
}

.ctaRow{display:flex;gap:12px;flex-wrap:wrap;margin: 12px 0 18px}
.btnPrimary,.btnGhost{
  display:inline-flex;align-items:center;justify-content:center;
  height:40px;padding:0 14px;border-radius:12px;
  text-decoration:none; font-weight:600; border:1px solid rgba(255,255,255,.14);
}
.btnPrimary{background: rgba(255,255,255,.12)}
.btnGhost{background: transparent}

.miniRow{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media (max-width: 900px){.miniRow{grid-template-columns:1fr}}
.mini{padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.10);background: rgba(255,255,255,.04)}
.miniK{font-size:12px;opacity:.72}
.miniV{font-size:14px;margin-top:6px}

.profile{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.avatar{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  font-weight:800;
}
.profileName{font-weight:800}
.profileTag{font-size:13px;opacity:.75;margin-top:2px}

.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin: 10px 0 6px}
@media (max-width: 900px){.stats{grid-template-columns:1fr}}
.stat{padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.10);background: rgba(255,255,255,.04)}
.statK{font-size:12px;opacity:.72}
.statV{font-size:16px;margin-top:6px;font-weight:700}

.contactList{display:grid;gap:10px}
.contactItem{
  display:flex;justify-content:space-between;align-items:center;
  padding:12px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  text-decoration:none;
  cursor:pointer;
}
.contactItem:hover{background: rgba(255,255,255,.06)}
.ciK{opacity:.75}
.ciV{font-weight:700}

.list{display:grid;gap:10px}
.listItem{
  display:block;
  padding:12px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  text-decoration:none;
}
.listItem:hover{background: rgba(255,255,255,.06)}
.liTitle{font-weight:800}
.liDesc{margin-top:6px;line-height:1.6}

.note{padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.10);background: rgba(255,255,255,.04)}
.noteTitle{font-weight:800}
.noteBody{margin-top:6px;line-height:1.7}
