:root{
  --bg:#0b0d10;
  --text:#ffffff;
  --muted:#9aa3b2;

  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.14);

  --shadow: 0 18px 70px rgba(0,0,0,.55);
  --shadow2: 0 12px 40px rgba(0,0,0,.22);

  --r2:24px;

  --accent:#06b6d4;
  --accent2:#7c3aed;

  --danger:#fb7185;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 20% 10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(1100px 700px at 120% 20%, rgba(6,182,212,.10), transparent 60%),
    var(--bg);
  min-height:100svh;
  overflow-x:hidden;
}

/* miejsce na srNav */
body{ padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width:861px){ body{ padding-bottom:0; } }

.page{ padding:18px; }
@media (max-width:700px){ .page{ padding:0; } }

.wrap{ width:100%; max-width:1120px; margin:0 auto; }

/* HERO */
.hero{
  position:relative;
  border-radius: var(--r2);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.02);
  min-height: 260px;
}
@media (max-width:700px){
  .hero{ border-radius:0; border-left:0; border-right:0; }
}
.heroImg{
  position:absolute; inset:0;
  background: url("/img/profil-bg.jpg") center / cover no-repeat;
  filter: saturate(1.05);
}
.heroImg::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(900px 600px at 30% 20%, rgba(0,0,0,.22), rgba(0,0,0,.82));
}

.backLink{
  position:absolute;
  right:14px; top:14px;
  z-index:3;
  font-size:12px;
  color:rgba(255,255,255,.86);
  text-decoration:none;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.04);
}
.backLink:hover{ border-color: var(--line2); }

.heroInner{
  position:relative; z-index:2;
  padding:18px 18px 16px;
  text-align:center;
}

.mark{ display:flex; justify-content:center; margin-top:4px; margin-bottom:12px; }
.markDot{
  width:56px;height:56px;
  border-radius:999px;
  display:grid; place-items:center;
  font-weight:1000;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.title{ font-size:26px; font-weight:900; letter-spacing:-0.02em; }
.sub{ margin-top:8px; color:rgba(154,163,178,.95); font-size:13px; }

.metaRow{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:12px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(154,163,178,.95);
  font-size:12px;
  font-weight:800;
}
.chip strong{ color: rgba(255,255,255,.92); font-weight:900; }

.chipBtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  font-size:12px;
  font-weight:1000;
  cursor:pointer;
}
.chipBtn:hover{ border-color: rgba(255,255,255,.18); }
.chipBtn.danger{
  border-color: rgba(251,113,133,.45);
  background: rgba(251,113,133,.10);
  color:#fecaca;
}

/* CARD */
.card{
  margin-top:16px;
  border-radius: var(--r2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow2);
  padding:16px;
}
@media (max-width:700px){
  .card{ border-radius:0; border-left:0; border-right:0; margin-top:0; }
}

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:12px;
}
@media (max-width:820px){
  .grid2{ grid-template-columns:1fr; }
}

.box{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  padding:12px;
}

.label{
  font-size:12px;
  color:rgba(154,163,178,.96);
  font-weight:900;
}
.value{
  margin-top:8px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-size:13px;
  word-break:break-word;
  color:rgba(238,242,255,.95);
}

.input{
  margin-top:8px;
  width:100%;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:rgba(238,242,255,.95);
  font-size:13px;
  outline:none;
}
.input::placeholder{ color: rgba(167,176,198,.72); }
.input:focus{
  border-color: rgba(6,182,212,.55);
  box-shadow: 0 0 0 4px rgba(6,182,212,.10);
}

.hint{
  margin-top:8px;
  color:rgba(154,163,178,.95);
  font-size:12px;
  line-height:1.35;
}

.apps{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.chipApp{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:rgba(226,232,240,.92);
  font-weight:900;
}
.chipApp.on{
  border-color: rgba(34,197,94,.45);
  background: rgba(34,197,94,.10);
  color:#bbf7d0;
}

.actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.btn{
  border-radius:999px;
  padding:10px 12px;
  font-weight:1000;
  font-size:12px;
  cursor:pointer;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:rgba(238,242,255,.95);
}
.btn:hover{ border-color: rgba(255,255,255,.18); }
.btn.primary{
  border:none;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow:0 14px 35px rgba(0,0,0,.30);
}
.btn.primary:hover{ filter:brightness(1.05); }

.msg{
  margin-top:12px;
  font-size:13px;
  min-height:18px;
}
.msg.ok{ color:#4ade80; }
.msg.err{ color: var(--danger); }
