/* Photo mode: the shared .character-setup sheet supplies the frame and colours. */
#photo-sheet{z-index:2600}
#photo-preview{display:block;width:100%;height:auto;max-height:min(22vh,200px);object-fit:contain;border-radius:12px;margin:12px 0}
.photo-frames,.photo-actions{display:flex;gap:8px;flex-wrap:wrap}
.photo-frames button{flex:1;min-height:44px}
.photo-frames button[aria-pressed=true]{background:var(--mp-ink,#111)!important;color:var(--mp-on-ink,#fff)!important}
.photo-actions{margin-top:12px}
.photo-actions button{flex:1;min-height:44px}
.photo-actions button[hidden]{display:none}
#photo-sheet .fine{margin:10px 0 0;font-size:12px}
#photo-close{display:block;margin-top:6px;padding:8px 0;font-size:13px;font-weight:600;text-decoration:underline;cursor:pointer}
@media (max-height:700px){#photo-preview{max-height:16vh;margin:6px 0}#photo-sheet .fine{display:none}#photo-sheet h2{margin:2px 0}.photo-actions{margin-top:8px}#photo-close{margin-top:2px;padding:6px 0}}
