:root{
  --bg:#020611;
  --panel:rgba(4,14,28,.78);
  --panel2:rgba(7,25,42,.78);
  --line:rgba(93,224,255,.26);
  --line2:rgba(89,255,194,.28);
  --text:#eaffff;
  --muted:#a8bfca;
  --cyan:#5de0ff;
  --green:#59ffc2;
  --gold:#ffd166;
}

*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:Inter,Arial,sans-serif;
  background:
    radial-gradient(circle at 12% 12%,rgba(93,224,255,.20),transparent 30%),
    radial-gradient(circle at 82% 8%,rgba(89,255,194,.14),transparent 28%),
    radial-gradient(circle at 50% 90%,rgba(93,224,255,.10),transparent 32%),
    linear-gradient(135deg,#01030a,#03111f 50%,#01040b);
  overflow-x:hidden;
}

body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.026) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.026) 1px,transparent 1px);
  background-size:44px 44px;
  opacity:.75;
}

body:after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(255,255,255,.04),transparent 8%,transparent 92%,rgba(255,255,255,.035));
  mix-blend-mode:screen;
}

header#siteHeader{
  display:none;
}

main{
  position:relative;
  padding:26px 0 46px;
}

.wrap{
  width:min(1180px,94vw);
  margin:auto;
}

a{
  color:inherit;
  text-decoration:none;
}

.profile-hero{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:22px;
  align-items:center;
  border:1px solid rgba(93,224,255,.16);
  border-radius:28px;
  padding:30px;
  margin-bottom:18px;
  background:linear-gradient(135deg,rgba(4,14,28,.64),rgba(2,8,18,.40));
  box-shadow:0 0 70px rgba(93,224,255,.09);
}

.profile-avatar{
  width:92px;
  height:92px;
  border-radius:999px;
  border:3px solid var(--cyan);
  background:rgba(3,10,20,.72);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  font-size:30px;
  font-weight:950;
  color:var(--text);
  box-shadow:0 0 28px rgba(93,224,255,.20);
}

.profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.profile-title{
  margin:0;
  font-size:clamp(34px,5vw,58px);
  line-height:1.04;
  letter-spacing:-.045em;
  text-shadow:0 0 34px rgba(93,224,255,.38);
}

.lead,
.muted{
  color:var(--muted);
  line-height:1.65;
}

.profile-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}

.profile-pill{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid var(--line);
  background:rgba(3,10,20,.65);
  color:var(--muted);
}

.profile-pill.teal,
.profile-pill.green{
  color:var(--green);
  border-color:var(--line2);
  background:rgba(89,255,194,.08);
}

.profile-pill.blue,
.profile-pill.purple{
  color:var(--cyan);
  border-color:var(--line);
  background:rgba(93,224,255,.10);
}

.profile-pill.gray{
  color:var(--muted);
  border-color:var(--line);
  background:rgba(3,10,20,.65);
}

.privilege-panel{
  border:1px solid var(--line2);
  background:linear-gradient(135deg,rgba(5,28,38,.82),rgba(2,8,18,.78));
  border-radius:24px;
  padding:22px;
  margin:24px 0 18px;
  color:#d1edf3;
  line-height:1.68;
}

.privilege-panel strong{
  color:var(--green);
}

.profile-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.profile-card{
  position:relative;
  overflow:hidden;
  min-height:210px;
  display:flex;
  flex-direction:column;
  padding:24px;
  border:1px solid var(--line);
  border-radius:26px;
  background:linear-gradient(145deg,rgba(7,25,42,.84),rgba(2,8,18,.76));
  color:var(--text);
}

.profile-card:before{
  content:"";
  position:absolute;
  inset:-45%;
  background:radial-gradient(circle,rgba(93,224,255,.14),transparent 45%);
  opacity:0;
  transition:.22s ease;
}

.profile-card:hover{
  border-color:rgba(93,224,255,.62);
  box-shadow:0 0 34px rgba(93,224,255,.13);
}

.profile-card:hover:before{
  opacity:1;
}

.profile-card > *{
  position:relative;
}

.profile-card h2{
  margin:0 0 16px;
  color:var(--cyan);
  font-size:22px;
  line-height:1.25;
}

.profile-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:11px 0;
  border-bottom:1px solid rgba(93,224,255,.12);
}

.profile-row:last-child{
  border-bottom:0;
}

.profile-row span:first-child{
  color:var(--muted);
}

.profile-row strong{
  text-align:right;
  color:var(--text);
}

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

.price-mini div{
  background:rgba(3,10,20,.50);
  border:1px solid rgba(93,224,255,.18);
  border-radius:18px;
  padding:12px;
}

.price-mini span{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.price-mini strong{
  display:block;
  margin-top:5px;
  color:var(--text);
}

.status-box{
  margin-top:12px;
}

label{
  display:block;
  margin-top:14px;
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}

input,
textarea{
  width:100%;
  box-sizing:border-box;
  margin-top:7px;
  padding:12px;
  border:1px solid rgba(93,224,255,.24);
  border-radius:14px;
  color:var(--text);
  background:rgba(3,10,20,.68);
  font:inherit;
  outline:none;
}

input:focus,
textarea:focus{
  border-color:rgba(93,224,255,.78);
  box-shadow:0 0 0 3px rgba(93,224,255,.10);
}

input[type=file]{
  border:1px dashed rgba(93,224,255,.35);
  border-radius:16px;
  padding:12px;
  width:100%;
  background:rgba(3,10,20,.50);
  color:var(--muted);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  border:1px solid rgba(93,224,255,.28);
  background:rgba(93,224,255,.10);
  color:var(--cyan);
  font-weight:900;
  cursor:pointer;
}

.btn.primary{
  color:var(--green);
  border-color:rgba(89,255,194,.32);
  background:rgba(89,255,194,.08);
}

.btn:hover{
  border-color:rgba(93,224,255,.78);
  box-shadow:0 0 22px rgba(93,224,255,.14);
}

@media(max-width:760px){
  main{padding-top:18px}
  .profile-hero{
    grid-template-columns:1fr;
    padding:22px;
    border-radius:22px;
  }
  .profile-grid{
    grid-template-columns:1fr;
  }
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:52px;
}

.brand{
  color:var(--text);
  text-decoration:none;
  font-weight:900;
  letter-spacing:.24em;
  text-transform:uppercase;
  text-shadow:0 0 18px rgba(93,224,255,.45);
}

.top-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.mini-link{
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(3,10,20,.65);
  padding:10px 14px;
  color:var(--text);
  font-size:13px;
  text-decoration:none;
}

.terminal-label{
  color:var(--green);
  letter-spacing:.26em;
  font-size:12px;
  font-weight:900;
  margin-bottom:14px;
}

.profile-card .btn{
  margin-top:auto;
}

.profile-card label + input,
.profile-card input + label,
.profile-card input + .btn,
.profile-card p + input{
  margin-top:12px;
}

@media(max-width:760px){
  .topbar{
    align-items:flex-start;
    flex-direction:column;
    margin-bottom:28px;
  }

  .top-actions{
    width:100%;
    justify-content:flex-start;
  }

  .mini-link{
    border-radius:18px;
  }
}

.power-logout{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(255,107,138,.42);
  background:rgba(255,107,138,.08);
  color:#ff6b8a;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
  opacity:.72;
  transition:.22s ease;
}

.top-actions:hover .power-logout,
.power-logout:hover,
.power-logout:focus{
  opacity:1;
  color:#fff;
  background:#dc2626;
  border-color:#ff6b8a;
  box-shadow:0 0 28px rgba(255,107,138,.34);
  outline:none;
}
