/* Original Recovery Stage 4: static, state-matched illustration layers only. */
.sp4-scene{display:block;width:100%;height:auto;isolation:isolate}
#art svg.sp4-scene{width:100%;height:100%;object-fit:contain;transform:none!important;filter:none!important}
.scene-polish,.scene-polish *{animation:none}
#modal .sp4-viewer{aspect-ratio:1672/941!important}

/* Give the two new camp decisions the same readable illustration row as the
   reviewed first camp. Stage 1 retains control of all story/choice typography. */
@media(min-aspect-ratio:5/6) and (min-height:501px){
 #game:is([data-master-page="31"],[data-master-page="44"]) #crewstrip{top:calc(var(--hud-edge,76px) + .5rem);bottom:auto}
}
@media(max-aspect-ratio:5/6){
 #game:is([data-master-page="31"],[data-master-page="44"]):not([data-phase="travel"]):not([data-phase="trailReport"]):not([data-phase="campArrival"]){
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto max-content max-content max-content!important;
  align-content:start;
 }
 /* Explicit full-width placement prevents a base row rule from creating an
    implicit second column beside the illustration on narrow camp screens. */
 #game:is([data-master-page="31"],[data-master-page="44"]):not([data-phase="travel"]):not([data-phase="trailReport"]):not([data-phase="campArrival"]) > :is(#route-progress,#hud,#crewstrip,#art,#panel){grid-column:1/-1!important;min-width:0}
 #game:is([data-master-page="31"],[data-master-page="44"]):not([data-phase="travel"]):not([data-phase="trailReport"]):not([data-phase="campArrival"]) #art{
  position:relative;inset:auto;grid-row:4!important;align-self:start;
  width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1672/941;
  z-index:2;border-radius:.75rem;background:#102635;box-shadow:0 0 0 1px #c9a6674f;
 }
 #game:is([data-master-page="31"],[data-master-page="44"]) #art svg.sp4-scene{width:100%;height:auto;aspect-ratio:1672/941}
 #game:is([data-master-page="31"],[data-master-page="44"]):not([data-phase="travel"]):not([data-phase="trailReport"]):not([data-phase="campArrival"]) #panel{
  grid-row:5!important;height:auto;min-height:0;max-height:none;overflow:visible;
  align-self:start;justify-content:flex-start;
 }
}
