.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost-header,
.btn-fill-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-ghost-header {
  background: #fff;
  color: #5b4ad0;
  border: 1.5px solid #d9ccff;
}
.btn-ghost-header:hover { background: #f7f5ff; }
.btn-fill-header {
  background: #7b68ee;
  color: #fff;
}
.btn-fill-header:hover { background: #6d58e9; }
.header-user {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: #333;
}
.page-soft { background: #f8f6ff; min-height: calc(100vh - 84px); padding: 48px 0 80px; }
.split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: start;
}
.side-card {
  background: #fff;
  border: 1px solid #efeafc;
  border-radius: 18px;
  padding: 28px 24px;
}
.avatar-lg {
  width: 144px; height: 144px; border-radius: 50%;
  border: 8px solid #d9ccff; object-fit: cover; margin: 0 auto; display: block;
}
.side-card h1 { text-align: center; font-size: 28px; margin-top: 20px; font-family: Montserrat, sans-serif; }
.bio { text-align: center; color: #666; margin-top: 12px; line-height: 1.5; }
.hr { height: 1px; background: #ece8ff; margin: 28px 0; }
.kv { display: flex; justify-content: space-between; margin: 14px 0; color: #666; }
.kv b { color: #333; }
.kv b.accent { color: #7b68ee; }
.plan {
  border: 1px solid #ece8ff; border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; background: #fff;
}
.plan .row { display: flex; justify-content: space-between; font-weight: 700; }
.plan p { color: #777; font-size: 13px; margin-top: 6px; white-space: pre-line; }
.ghost-btn {
  width: 100%; text-align: left;
  border: 1px solid #ece8ff; background: #fff;
  border-radius: 12px; padding: 12px 16px;
  font-weight: 600; cursor: pointer; margin-bottom: 10px; font-family: inherit;
}
.ghost-btn:hover { background: #f7f5ff; }
.ghost-btn.danger { border-color: #fecaca; color: #ef4444; }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #7b68ee; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 8px 12px;
}
.post-row {
  background: #fff; border: 1px solid #efeafc; border-radius: 16px;
  display: grid; grid-template-columns: 240px 1fr; overflow: hidden;
}
.post-row .thumb { background: #ece7ff; min-height: 180px; position: relative; }
.post-row .info { padding: 22px 24px; }
.post-row h3 { font-size: 24px; font-weight: 800; font-family: Montserrat, sans-serif; margin-top: 12px; }
.list { display: grid; gap: 22px; }
.section-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; gap: 16px; }
.btn-purple {
  display: inline-flex; align-items: center; justify-content: center;
  background: #7b68ee; color: #fff; border: 0; border-radius: 8px;
  padding: 12px 22px; font-weight: 700; cursor: pointer; font-family: inherit; text-decoration: none;
}
.btn-purple:hover { background: #6d58e9; }
.btn-purple.wide { width: 100%; height: 48px; margin-top: 24px; }
.lock {
  position: absolute; top: 12px; left: 12px;
  background: #fff; color: #6e5ae6;
  font-size: 12px; font-weight: 700;
  padding: 6px 10px; border-radius: 999px;
}
.notice {
  background: #ece7ff; color: #4a3db8; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px;
}
.auth-card input, .auth-card select, textarea.field {
  width: 100%; border: 1px solid #ddd; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 16px; font-size: 15px; outline: none; font-family: inherit;
}
.auth-card label { display: block; font-weight: 600; color: #555; margin-bottom: 8px; }
.auth-card input:focus { border-color: #7b68ee; box-shadow: 0 0 0 3px #d9ccff; }
.err { color: #ef4444; font-size: 14px; margin: -8px 0 14px; min-height: 18px; }
.demo-row { display: grid; gap: 8px; margin-top: 16px; }
.demo-row button {
  width: 100%; border: 1px solid #ece8ff; background: #f7f5ff; border-radius: 10px;
  padding: 10px 12px; text-align: left; cursor: pointer; font-family: inherit;
}
@media (max-width: 900px) {
  .split, .post-row { grid-template-columns: 1fr; }
}
