/* Persistent photo title and print/framing action order. */
#journey-controls.journey-controls-active #caption #title{opacity:1!important;max-height:none!important;pointer-events:auto;text-align:left;cursor:default;text-decoration:none;}
#journey-controls #title:disabled{opacity:1;color:inherit;cursor:default;}
#journey-controls.journey-controls-active #caption #title:not(:disabled){cursor:pointer;}
#journey-controls.journey-controls-active #caption #title:not(:disabled):hover{text-decoration:underline;text-underline-offset:.16em;text-decoration-thickness:1px;}
#journey-controls #title:focus-visible{outline:1px solid currentColor;outline-offset:6px;}
#series-title-recall{display:none!important;}
.desktop-photo-metadata #chapter{order:0;}
.desktop-photo-metadata #fit{order:1;}

#journey-controls #title{display:block;border:0;padding:0;background:transparent;font-family:Georgia,serif;font-weight:700;line-height:1.1;}

/* Tighten the desktop gap by 6px without shrinking either click target. */
@media(min-width:801px) and (min-height:501px),(min-width:951px){
 #journey-controls.journey-controls-active #caption .desktop-photo-metadata{translate:0 10px}
}

/* Keep the series introduction beside the camera in the expanded photo view. */
@media(min-width:801px) and (min-height:501px),(min-width:951px){
 body.photo-expanded:not(.print-open) #experience #series-overview-open{visibility:visible;}
}

#experience>#return-journey-grid{position:absolute;left:40px;bottom:28px;z-index:8;height:44px;min-height:44px;padding:10px 0;border:0;background:transparent;color:#fff;font:12px/1.4 Arial,sans-serif;letter-spacing:.04em;text-shadow:0 1px 5px #000;cursor:pointer}
#experience>#return-journey-grid:hover{text-decoration:underline;text-underline-offset:4px}
body.print-open #experience>#return-journey-grid{display:none}
@media(max-width:800px),(max-width:950px) and (max-height:500px){#experience>#return-journey-grid{left:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px))}}

#mobile-original-note{display:none}
@media(max-width:800px),(max-width:950px) and (max-height:500px){
 body.photo-expanded:not(.print-open) #experience>#mobile-original-note:not([hidden]){display:block;position:absolute;right:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:9;min-height:44px;padding:10px 0;border:0;background:transparent;color:#fff;font:12px/1.4 Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;text-shadow:0 1px 5px #000;cursor:pointer}
}

@media(max-width:800px),(max-width:950px) and (max-height:500px){
 body.photo-expanded #experience #fit{display:none!important}
 body.photo-expanded:not(.print-open) #experience>#mobile-original-note:not([hidden]){top:var(--mobile-photo-bottom,70%);bottom:auto;right:20px;font-size:11px;letter-spacing:.04em;text-decoration:none}
 #mobile-original-note::after{content:' ↗';display:inline-block;margin-left:5px;font-size:15px}
}
