:root{
  --ink:#0f172a;
  --muted:#64748b;
  --paper:#ffffff;
  --surface:#f8fafc;
  --line:#e2e8f0;
  --accent:#14b8a6;
  --danger:#dc2626;
  --success:#047857;
  --radius:18px;
}

*{box-sizing:border-box}

body{
  margin:0;
  background:#fafafa;
  color:var(--ink);
}

.settings-wrap{
  max-width:1100px;
  min-height: 100vh;
  margin:0 auto;
  padding:118px 24px 80px;
}

.pc-page-head{
  margin:0 0 24px;
}

.pc-page-head h1{
  margin:0 0 10px;
  font-size:clamp(32px, 5vw, 48px);
  line-height:1.05;
  font-weight: 500;
}

.pc-sub{
  margin:0;
  max-width:700px;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
}

.pc-settings-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}

.pc-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:0 12px 30px rgba(15,23,42,.05);
}

.pc-card-title{
  margin:0 0 6px;
  font-size:22px;
  font-weight: 500;
  line-height:1.2;
}

.pc-card-sub{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.6;
}

.pc-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.pc-avatar-row{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:4px;
}

.pc-avatar-shell{
  width:92px;
  height:92px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid var(--line);
  background:linear-gradient(135deg, #f8fafc, #eef2ff);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.pc-avatar-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.pc-avatar-fallback{
  width:100%;
  height:100%;
  display:flex;
  padding-bottom: 7px;
  align-items:center;
  justify-content:center;
  font-size:60px;
  color:#334155;
}

.pc-avatar-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.pc-avatar-copy strong{
  font-size:15px;
  font-weight: 600;
}

.pc-avatar-copy span{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.pc-label{
  font-size:14px;
  font-weight:600;
}

.pc-input{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  outline:none;
}

.pc-input:focus{
  border-color:#94a3b8;
  box-shadow:0 0 0 4px rgba(148,163,184,.12);
}

.pc-file{
  padding:10px 12px;
}

.pc-help{
  margin:-4px 0 0;
  font-size:14px;
  color:var(--muted);
  line-height:1.5;
}

.pc-actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:4px;
}

.pc-status{
  margin:0;
  padding:12px 14px;
  border-radius:12px;
  background:#f8fafc;
  color:#334155;
  font-size:14px;
  line-height:1.5;
}

.pc-status.is-error{
  background:#fef2f2;
  color:var(--danger);
}

.pc-status.is-success{
  background:#ecfdf5;
  color:var(--success);
}

.pc-empty{
  margin:0 0 24px;
}

.pc-empty h2{
  margin:0 0 8px;
  font-size:20px;
}

.pc-empty p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.6;
}

@media (max-width: 860px){
  .pc-settings-grid{
    grid-template-columns:1fr;
  }

  .settings-wrap{
    padding-top:104px;
  }
}

@media (max-width: 560px){
  .settings-wrap{
    padding-left:16px;
    padding-right:16px;
  }

  .pc-card{
    padding:18px;
  }

  .pc-avatar-row{
    align-items:flex-start;
  }
}