:root{
  --bg:#0b0c10;
  --card:#12141a;
  --border:#232632;
  --muted:#a8adbd;
  --text:#eef0f6;
  --btn:#2a2f3c;
  --btn2:#1b1f2a;
  --shadow: 0 10px 25px rgba(0,0,0,.28);
  --radius:14px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

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

.brand{ display:flex; align-items:center; gap:12px; }
.logo{
  width:40px; height:40px; border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, #2a2f3c, #1b1f2a);
  border:1px solid var(--border);
  font-weight:900;
}
.title{ font-weight:800; letter-spacing:.6px; }
.subtitle{ color:var(--muted); font-size:13px; margin-top:2px; }

.nav{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.navBtn{
  appearance:none; border:1px solid var(--border);
  background:transparent;
  color:var(--text);
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
  opacity:.9;
}
.navBtn[aria-selected="true"]{
  background:var(--btn2);
  opacity:1;
}

.wrap{
  max-width:980px;
  margin:16px auto;
  padding:0 14px;
  display:grid;
  gap:14px;
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
}

.cardHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.row{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }

.btn{
  border:1px solid #3a4154;
  background:var(--btn);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:650;
}
.btn:hover{ filter:brightness(1.1); }
.btn:active{ transform: translateY(1px); }
.btnGhost{
  background:transparent;
  border:1px solid var(--border);
  opacity:.9;
}

.muted{ color:var(--muted); }
.small{ font-size:13px; }
code{ background:#0f1117; border:1px solid var(--border); padding:1px 6px; border-radius:8px; }

.tab{ display:none; }
.tab.isActive{ display:block; }

.wall{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-content:flex-start;
  min-height:140px;
  padding:10px;
  border-radius:12px;
  border:1px dashed #2f3446;
  background: rgba(0,0,0,.12);
}
.tag{
  padding:6px 10px;
  border-radius:999px;
  background:#1b1f2a;
  border:1px solid #2a2f3c;
  font-weight:900;
  letter-spacing:.7px;
  user-select:none;
}

.statsLine{
  display:flex; gap:14px; flex-wrap:wrap;
  margin-top:8px;
}
.statsLine .k{ color:var(--muted); margin-right:6px; }
.statsLine .v{ font-weight:900; }

.grid{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap:10px;
}

.grid2{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width:860px){
  .grid2{ grid-template-columns: 1fr; }
}

.panel{
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px;
  background: rgba(0,0,0,.12);
}
.panelTitle{ font-weight:800; margin-bottom:8px; }
.bigNumber{ font-size:48px; font-weight:950; letter-spacing:1px; }

.friends{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:8px;
}
.friendRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px;
  border-radius:12px;
  border:1px solid #2a2f3c;
  background:#10131b;
}
.badge{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--border);
  padding:3px 8px;
  border-radius:999px;
}

.list{ margin:0; padding-left:18px; }
.foot{
  max-width:980px;
  margin:0 auto 18px auto;
  padding:0 14px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
}
