/* 0.6.3 – cinematic panoramas for every owned planet, every player.
   Biome-specific backdrop and real player-owned ship traffic.
 */
.game .screen.empire-dashboard .colony-scene{
 position:relative;
 isolation:isolate;
 overflow:hidden;
 background:#0d2239;
}
.game .screen.empire-dashboard .colony-scene .lalonde-reference-backdrop{
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 object-fit:cover;
 object-position:center center;
 display:none;
 opacity:0;
 pointer-events:none;
 user-select:none;
 -webkit-user-drag:none;
 z-index:0;
}
.game .screen.empire-dashboard .colony-scene.reference-photo-active .lalonde-reference-backdrop{
 display:block;
 opacity:1;
}
.game .screen.empire-dashboard .colony-scene.reference-photo-active #colonyCanvas{
 display:none!important;
}
.game .screen.empire-dashboard .colony-scene #colonyTrafficCanvas{
 display:none;
 position:absolute!important;
 inset:0;
 z-index:3;
 height:100%!important;
 width:100%!important;
 pointer-events:none;
}
.game .screen.empire-dashboard .colony-scene.reference-photo-active #colonyTrafficCanvas{
 display:block;
}
.game .screen.empire-dashboard .colony-scene.reference-photo-active::after{
 pointer-events:none;
 z-index:2;
 background:linear-gradient(to top,#03102033,transparent 28%),
            linear-gradient(to right,#04132428,transparent 12%,transparent 88%,#04132422);
}
.game .screen.empire-dashboard .colony-scene.reference-photo-active .scene-overlay{
 z-index:5;
 max-width:min(43%,310px);
}
.game .screen.empire-dashboard .colony-scene.reference-photo-active .scene-bottom{
 z-index:5;
}
@media(max-width:760px){
 .game .screen.empire-dashboard .colony-scene .lalonde-reference-backdrop{
  object-position:54% center;
 }
 .game .screen.empire-dashboard .colony-scene.reference-photo-active .scene-overlay{
  max-width:67%;
  top:7px;
  left:8px;
 }
 .game .screen.empire-dashboard .colony-scene.reference-photo-active .scene-overlay strong{
  font-size:15px;
 }
 .game .screen.empire-dashboard .colony-scene.reference-photo-active .scene-bottom{
  left:6px;right:6px;bottom:7px;
 }
}
@media(prefers-reduced-motion:reduce){
 .game .screen.empire-dashboard .colony-scene .lalonde-reference-backdrop{
  transition:none;
 }
}

/* The HTML picture tag uses AVIF where supported, WebP as a real fallback.
   Keep the image absolutely positioned relative to the scene, not the inline picture. */
.game .screen.empire-dashboard .colony-scene .lalonde-reference-picture{display:contents}

/* Enable the traffic control while keeping decorative overlays click-through. */
.scene-bottom > [data-action="toggle-traffic"] { pointer-events:auto; }
