section.card {
  margin-bottom: var(--space-4);
}
section.card h4 {
  margin-top: 0;
  margin-bottom: var(--space-4);
}
.theme-swatch {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 2px solid var(--border-primary);
  background: var(--surface-container-low);
  cursor: pointer;
}
.theme-swatch.active {
  box-shadow: 4px 4px 0 var(--border-primary);
}
.theme-swatch .colors {
  display: flex;
}
.theme-swatch .colors span {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-primary);
}
.wl-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  margin: 4px 6px 0 0;
  border: 2px solid var(--border-primary);
  background: var(--surface-container-low);
}
.locked-inline {
  opacity: 0.5;
}

/* Profile section */
#profile-section .profile-content {
  display: flex;
  align-items: center;
  gap: 24px;
}
#profile-section .avatar-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-container-low);
  border: 2px solid var(--border-primary);
  cursor: pointer;
  flex-shrink: 0;
}
#profile-section .avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#profile-section .avatar-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  padding: 4px;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.2s;
}
#profile-section .avatar-wrapper:hover .avatar-overlay {
  opacity: 1;
}
#profile-section .profile-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#profile-section .profile-field label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  display: block;
}
#profile-section .profile-field span {
  font-size: 14px;
  color: var(--text-primary);
}
#profile-section.locked {
  opacity: 0.4;
  pointer-events: none;
}
