/* The hidden chest rests in front of the lighthouse door. */
.game[data-scene=treasure] .treasure-photo{height:clamp(160px,30vw,245px);object-position:center}
.game[data-scene=treasure] .treasure-chest-v2{width:clamp(110px,28%,170px);bottom:4%}
.mission-dialog[data-scene=treasure] .mission-dialog__media>img:not(.mission-treasure-chest){object-position:center}
.mission-dialog[data-scene=treasure] .mission-dialog__media>img.mission-treasure-chest{position:absolute;z-index:2;left:50%;bottom:4%;width:clamp(78px,25%,135px);height:auto;padding:0;object-fit:contain;transform:translateX(-50%);filter:drop-shadow(0 5px 4px #15261e99);pointer-events:none}
@media(max-width:390px){.game[data-scene=treasure] .treasure-photo{height:160px}.game[data-scene=treasure] .treasure-chest-v2{width:110px}}
/* Focus the dialog heading silently on open; keyboard focus on buttons stays visible. */
.mission-dialog__title[tabindex="-1"]:focus,.lighthouse-intro-title[tabindex="-1"]:focus,.lighthouse-recap h2[tabindex="-1"]:focus{outline:none}
.recap-art[data-station="3"] .recap-treasure-chest{position:absolute;left:50%;bottom:4%;width:clamp(110px,28%,170px);height:auto;object-fit:contain;transform:translateX(-50%);filter:drop-shadow(0 5px 4px #15261e99)}
