.photo-restore-page #history{margin-top:14px;padding:14px;border:1px solid #e3d8f4;border-radius:14px;background:#faf8ff;max-height:480px;overflow-y:auto}
.photo-restore-page #history::before{content:'选择一张历史照片';display:block;margin-bottom:12px;font-weight:700;color:#4f3b78}
.photo-restore-page #history .history-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px}
.photo-restore-page #history .history-picker-grid button{display:grid;gap:5px;justify-items:center;min-width:0;padding:5px;overflow:hidden;text-align:center}
.photo-restore-page #history .history-picker-grid img{display:block;width:100%;height:120px;object-fit:cover;border-radius:8px}
.photo-restore-page #history .history-picker-grid small{font-size:12px}
.photo-restore-page #history>p{margin:12px 0;color:#6d627b}
@media(max-width:760px){.photo-restore-page #history .history-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
