label 先「住」在输入框里,:focus 或 :placeholder-shown 失效时缩小上浮变主题色——Material Design 的招牌交互,纯 CSS 判定「用户有没有输入过」的经典做法。