The idiom 'a close shave' means a narrow escape from danger or a difficult situation, barely avoiding something bad. It originates from shaving - if you have a 'close shave,' you narrowly miss cutting yourself. 'Shaving daily' and 'not hygienic' are literal interpretations, while 'real encounter' doesn't capture the idiom's meaning of escaping harm.