/* Give the photographs room to move without exposing their edges. */
.journey-card .journey-media{height:auto;min-height:0;max-height:480px;aspect-ratio:3/2}
.journey-media>.slot-image{inset:-5%;width:110%;height:110%;max-width:none;object-fit:cover;transition:opacity .5s ease}
.journey-media.has-image>.home-window,.journey-media.has-image>.portrait-tile,.journey-media.has-image>.tv-tile,.journey-media.has-image>.local-rings{visibility:hidden}
.journey-media.has-image::after{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;background:linear-gradient(180deg,#0b111b30,transparent 35%,transparent 55%,#0b111b85)}
.journey-media.has-image .frame-number{color:#fff;text-shadow:0 2px 12px #0008;background:#141c2380;border:1px solid #ffffff38;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:23px;line-height:1}
.card-game .journey-media{border-radius:30px 30px 6px 6px}
.photo-caption{position:absolute;bottom:18px;left:20px;right:18px;z-index:5;font-size:11px;font-weight:700;letter-spacing:.04em;line-height:1.5;color:#fff;text-shadow:0 1px 8px #0008;opacity:0;transition:opacity .4s}
.has-image .photo-caption{opacity:1}
.journey-caption>.photo-source{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-height:44px;max-width:100%;font:500 10px/1.5 var(--body);color:#56616c;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.photo-source>span{flex-shrink:0}.photo-source:focus-visible{outline:2px solid #b81725;outline-offset:3px}
@media(max-width:700px){.photo-caption{left:16px;bottom:15px;font-size:11px}.journey-media.has-image .frame-number{width:38px;height:38px;font-size:21px}}
@media(prefers-reduced-motion:reduce){.journey-media>.slot-image,.photo-caption{transition:none}}
.reduce-motion .journey-media>.slot-image,.reduce-motion .photo-caption{transition:none}
