/* ── 宠物编辑:Vital 风格表单页 ── */ .page { min-height: 100vh; background: #f1f2f6; } .nav { display: flex; align-items: center; padding: 14rpx 28rpx; gap: 16rpx; } .nav-back { font-size: 28rpx; font-weight: 600; color: #6e7280; } .nav-title { flex: 1; font-size: 32rpx; font-weight: 700; color: #1b1b20; text-align: center; } .nav-save { font-size: 28rpx; font-weight: 700; color: #7563e0; } .scroll { } .form { padding: 0 28rpx; } .avatar-section { display: flex; flex-direction: column; align-items: center; padding: 28rpx 0 32rpx; gap: 12rpx; } .pet-avatar { width: 140rpx; height: 140rpx; border-radius: 44rpx; display: flex; align-items: center; justify-content: center; box-shadow: 0 12rpx 28rpx rgba(27, 27, 32, 0.10); } .pet-emoji-big { font-size: 72rpx; line-height: 1; } .avatar-tip { font-size: 24rpx; color: #b9bdc6; } .field-group { background: #ffffff; border-radius: 36rpx; overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 24rpx; } .field-item { display: flex; align-items: center; justify-content: space-between; padding: 24rpx 28rpx; border-bottom: 1rpx solid rgba(27, 27, 32, 0.05); } .field-item:last-child { border-bottom: none; } .field-item-col { flex-direction: column; align-items: flex-start; gap: 14rpx; } .field-label { font-size: 28rpx; font-weight: 600; color: #1b1b20; flex-shrink: 0; } .field-input { flex: 1; font-size: 28rpx; color: #1b1b20; text-align: right; } .field-select { display: flex; align-items: center; gap: 8rpx; font-size: 28rpx; color: #6e7280; } .select-arrow { font-size: 36rpx; color: #b9bdc6; font-weight: 300; } .field-textarea { width: 100%; min-height: 100rpx; font-size: 28rpx; color: #1b1b20; line-height: 1.6; } .gender-btns { display: flex; gap: 14rpx; } .gender-btn { background: #f1f2f6; border-radius: 999rpx; padding: 12rpx 24rpx; font-size: 26rpx; color: #6e7280; font-weight: 600; } .g-active { background: #2b2b30; color: #fff; } .placeholder-text { color: #b9bdc6; } .tags-section { margin-bottom: 28rpx; } .tags-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16rpx; } .tags-title { font-size: 26rpx; font-weight: 600; color: #b9bdc6; } .tags-count { font-size: 22rpx; color: #b9bdc6; font-variant-numeric: tabular-nums; } .tag-grid { display: flex; gap: 14rpx; flex-wrap: wrap; margin-bottom: 20rpx; } .tag-chip { background: #ffffff; border-radius: 999rpx; padding: 12rpx 24rpx; font-size: 26rpx; color: #6e7280; font-weight: 600; } .tag-on { background: rgba(139, 124, 246, 0.12); color: #7563e0; } .custom-tag-row { display: flex; gap: 14rpx; align-items: center; margin-top: 4rpx; } .custom-tag-input { flex: 1; height: 68rpx; background: #ffffff; border-radius: 999rpx; padding: 0 24rpx; font-size: 26rpx; color: #1b1b20; } .custom-tag-add { background: #2b2b30; color: #fff; border-radius: 999rpx; padding: 14rpx 30rpx; font-size: 26rpx; font-weight: 600; flex-shrink: 0; } .add-disabled { background: #e7e9ef; color: #b9bdc6; } /* 删除:唯一保留的警示色,降饱和处理 */ .delete-btn { text-align: center; font-size: 28rpx; color: #d4596a; background: rgba(212, 89, 106, 0.08); border-radius: 999rpx; padding: 24rpx; margin-top: 40rpx; }