/* Scoped high-resolution portrait improvements. Keep Cine[Files] bottom navigation untouched. */
#talent-room-page .tr-portrait img{image-rendering:auto;object-fit:contain!important;background:#08120d;aspect-ratio:auto!important;max-height:min(70vh,800px)!important;width:100%!important}
#talent-room-page .tr-profile-hero{align-items:start}
#talent-room-page .tr-person>img{image-rendering:auto}
#talent-room-page .tr-hd-upload{border:1px solid #62816b;border-radius:15px;background:linear-gradient(135deg,#112d1d,#0b180f);padding:20px;margin:22px 0;display:grid;gap:12px;min-width:0}
#talent-room-page .tr-hd-upload h3{font-size:20px;margin:0}
#talent-room-page .tr-hd-upload p{line-height:1.5;font-size:13px;color:#b7c9b8;margin:0}
#talent-room-page .tr-hd-upload label{font-weight:600;color:#e5cc88;display:grid;gap:10px}
#talent-room-page .tr-hd-upload input{width:100%;max-width:100%;font-size:14px;color:#dce9de}
#talent-room-page .tr-hd-upload button{justify-self:start;padding:11px 16px;max-width:100%}
#talent-room-page .tr-hd-status{min-height:21px}
@media(max-width:760px){#talent-room-page .tr-portrait img{max-height:65svh!important;object-fit:contain!important}#talent-room-page .tr-hd-upload{padding:15px}}
/* Never enlarge an existing 256px account avatar to poster size. Wait for the original. */
#talent-room-page .tr-portrait img:not([data-tr-portrait]),
#talent-room-page .tr-portrait img[data-tr-portrait]:not([data-tr-portrait-loading="done"]){max-width:256px!important;width:100%!important;height:auto!important;max-height:256px!important;aspect-ratio:1!important;object-fit:contain!important;margin:0 auto!important}
