/* Immediate native taps; retain the approved layout, controls and zoom policy. */
a, button, [role="button"] { touch-action: manipulation; }
button:active, .rb-back-projects-button:active { filter: brightness(.92); }
.rb-photo-load-status { position:absolute; bottom:18px; left:18px; right:18px; color:#fff; font:500 14px/1.4 Arial,sans-serif; text-align:center; pointer-events:none; }
.rb-photo-load-status:empty { display:none; }

/* Retry exists only while a selected photo is failed or unusually slow. */
.rb-photo-retry { display:inline-block; margin-left:8px; padding:3px 9px; border:1px solid #fff; border-radius:3px; background:#fff; color:#003A6E; font:600 13px/1.3 Arial,sans-serif; cursor:pointer; pointer-events:auto; }
.rb-photo-retry:focus-visible { outline:2px solid #8fc4ef; outline-offset:3px; }

/* Keep routine loading available to assistive technology without a flash over
   the retained photo. Only genuine errors and unusually slow loads are visible. */
.rb-photo-load-status[data-photo-state="pending"] { width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0; }
