:root{
  --bg:#06070a;
  --panel:#0c0f16;
  --panel2:#0a0c12;
  --stroke:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.62);
  --muted2:rgba(255,255,255,.48);
  --good:#9ff7c7;
  --bad:#ff9fa6;
  --shadow: 0 24px 60px rgba(0,0,0,.55);
  --r:18px;
  --r2:26px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:var(--bg);
}

.bg{
  position:fixed; inset:0;
  background: radial-gradient(900px 600px at 20% 10%, rgba(255,255,255,.06), transparent 60%),
              radial-gradient(900px 600px at 80% 30%, rgba(255,255,255,.05), transparent 60%);
  pointer-events:none;
}

.topbar{
  position:sticky; top:0; z-index:5;
  padding:14px 16px;
  background: linear-gradient(to bottom, rgba(6,7,10,.92), rgba(6,7,10,.55));
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.brand{display:flex; align-items:center; justify-content:center; text-decoration:none}
.logo{height:34px; width:auto; display:block}

.wrap{max-width:980px; margin:0 auto; padding:18px 14px 90px}
.card{
  background: linear-gradient(180deg, rgba(12,15,22,.92), rgba(10,12,18,.92));
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-pad{padding:16px}

.grid{display:grid; gap:14px}
@media(min-width:900px){ .grid.cols2{grid-template-columns: 1.1fr .9fr;} }

.h1{font-size:22px; margin:0 0 6px}
.muted{color:var(--muted)}
.small{font-size:12.5px;color:var(--muted2)}
.hr{height:1px;background:rgba(255,255,255,.08); margin:14px 0}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  border-radius: 14px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
}
.btn:hover{background: rgba(255,255,255,.09)}
.btn.primary{
  background: rgba(255,255,255,.92);
  color:#0b0c10;
  border-color: rgba(255,255,255,.9);
}
.btn.primary:hover{background: rgba(255,255,255,.98)}
.btn.danger{border-color: rgba(255,159,166,.35); background: rgba(255,159,166,.10)}
.btn.good{border-color: rgba(159,247,199,.35); background: rgba(159,247,199,.10)}
.btn.full{width:100%}

.input, .textarea, .select{
  width:100%;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding:12px 12px;
  color:var(--text);
  outline:none;
}
.textarea{min-height:120px; resize:vertical}
.label{font-size:12.5px;color:var(--muted); margin:0 0 6px}
.row{display:grid; gap:10px}
@media(min-width:720px){ .row.cols2{grid-template-columns: 1fr 1fr} }

.toast{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.toast.bad{border-color: rgba(255,159,166,.35); background: rgba(255,159,166,.12)}
.toast.good{border-color: rgba(159,247,199,.35); background: rgba(159,247,199,.10)}

.cover{
  height:210px;
  background:#0b0c10;
  border-bottom:1px solid rgba(255,255,255,.08);
  position:relative;
}
.cover img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.02)}
.avatar{
  width:96px;height:96px;border-radius: 24px;
  border:1px solid rgba(255,255,255,.14);
  background:#0c0f16;
  overflow:hidden;
  position:absolute; left:16px; bottom:-26px;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-head{padding:44px 16px 14px}
.name{
  display:flex; align-items:center; gap:10px;
  font-size:22px; font-weight:700; margin:0;
}
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  width:20px;height:20px;border-radius: 10px;
  background: rgba(255,255,255,.9);
  color:#0b0c10; font-size:13px;
}
.socials{display:grid; gap:10px; margin-top:12px}
.social{
  display:flex; align-items:center; gap:10px;
  padding:12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.social img{
  width:22px;height:22px;border-radius:8px; object-fit:cover;
  border:1px solid rgba(255,255,255,.10);
}
.social .globe{
  width:22px;height:22px;border-radius:8px;
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
}
.social a{color:var(--text); text-decoration:none}
.social a:hover{text-decoration:underline}

.footer{position:fixed; bottom:0; left:0; right:0; padding:12px 14px; background:rgba(6,7,10,.7); backdrop-filter: blur(10px); border-top:1px solid rgba(255,255,255,.06)}
.footer-inner{max-width:980px;margin:0 auto; display:flex; justify-content:center}
