/* V3.9 — SAV local photo previews, independent of global theme */
.sav-photos { margin: 20px 0 16px; padding: 15px; border: 1px solid #73dfff66; border-radius: 12px; background: linear-gradient(145deg,#15415c38,#07152550); box-shadow: inset 0 1px 1px #ddfaff33; }
.sav-photos legend { padding: 0 7px; color: #e8faff; font-size: .96rem; font-weight: 650; }
.sav-photos-optional { font-size: .81rem; font-weight: 450; color: #d3e2ef; }
.sav-photos p { font-size: .83rem; line-height: 1.5; color: #dfedf9; margin: 0 0 10px; }
.sav-photos [hidden] { display: none !important; }
.sav-photos-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sav-photos .sav-photos-add { margin: 0; cursor: pointer; min-height: 44px; }
.sav-photos .sav-photos-add:disabled { cursor: not-allowed; }
#sav-photos-count { font-size: .86rem; font-variant-numeric: tabular-nums; color: #d9f9ff; }
.sav-photos-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.sav-photo { min-width: 0; padding: 7px; border: 1px solid #83c9e76b; border-radius: 10px; background: #07182b80; }
.sav-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px; background: #06101d; }
.sav-photo-name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .76rem; margin: 6px 0; }
.sav-photo-remove { width: 100%; min-height: 42px; border: 1px solid #97c4e766; background: #10243b; border-radius: 7px; color: #eff8ff; cursor: pointer; font-size: .8rem; }
.sav-photo-remove:hover { border-color: #ffb6cc; color: #ffd1de; }
.sav-photos .sav-photos-status { margin-top: 8px; color: #ffdda1; overflow-wrap: anywhere; }
.sav-photos .sav-photos-status:empty { display: none; }
.sav-photos .sav-photos-privacy { margin: 12px 0 0; color: #d1e4f3; font-size: .77rem; }
@media (max-width: 600px) { .sav-photos { padding: 12px; } .sav-photos-toolbar { align-items: flex-start; } .sav-photos-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
