body.profile-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  user-select: text;
}

.profile-header {
  background: linear-gradient(180deg, var(--ym-purple-light), var(--ym-purple));
  color: white;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.profile-header h1 {
  font-size: 14px;
  font-weight: bold;
}

.profile-back {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

.profile-back:hover {
  background: rgba(255, 255, 255, 0.26);
  color: white;
}

.profile-card h2.yoyo-section-heading {
  margin-bottom: 8px;
}

.profile-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}

.profile-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ym-border);
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 12px;
}

.profile-card h2 {
  font-size: 12px;
  color: var(--ym-purple);
  margin-bottom: 8px;
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: var(--ym-purple-light);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  overflow: hidden;
  border: 1px solid var(--ym-border);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.profile-hint {
  font-size: 10px;
  color: #666;
  margin-top: 4px;
}

.profile-actions {
  margin-bottom: 10px;
}

.profile-msg {
  padding: 8px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  font-size: 11px;
}

.profile-msg.ok {
  background: #e6ffe6;
  border: 1px solid #66cc66;
  color: #006600;
}

.profile-msg.err {
  background: #ffe0e0;
  border: 1px solid #ff6666;
  color: #cc0000;
}

.profile-card .ym-btn {
  margin-top: 4px;
}

.profile-card input[readonly] {
  background: #f0eaf8;
  color: #444;
}

.profile-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 13px;
  cursor: pointer;
}

.profile-toggle input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
