/* Original Recovery Stage 2: only the two composed survivor scenes. */
.ss2-scene{display:block;width:100%;height:auto;isolation:isolate}
#art svg.ss2-scene{width:100%;height:100%;object-fit:contain;transform:none!important;filter:none!important}
.survivor-scene .ss2-pose{visibility:hidden;animation:ss2-gait 1.08s steps(1,end) infinite;animation-delay:var(--ss2-delay,0s)}
@keyframes ss2-gait{0%{visibility:visible}8.333333333%{visibility:hidden}100%{visibility:hidden}}
.survivor-scene .ss2-team{animation:ss2-team-breath 3.6s ease-in-out infinite;transform-origin:center;transform-box:fill-box}
@keyframes ss2-team-breath{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.survivor-scene .ss2-flake{animation:ss2-snowfall var(--ss2-snow-duration,5s) linear infinite;animation-delay:var(--ss2-snow-delay,0s)}
@keyframes ss2-snowfall{from{transform:translate(40px,-60px)}to{transform:translate(-180px,130px)}}
.survivor-scene.ss2-fixed .ss2-pose{visibility:visible;animation:none!important}
.survivor-scene.ss2-fixed .ss2-team{animation:none!important;transform:none!important}
#game[data-flight-paused="true"] .survivor-scene *,
.ss2-paused .survivor-scene *{animation-play-state:paused!important}
#modal .ss2-viewer{aspect-ratio:1672/941!important}
/* This camp's portrait row clears Mabel's face on the desktop composition.
   The Stage 1 phone and short-landscape reading grids remain in control. */
@media(min-aspect-ratio:5/6) and (min-height:501px){
 #game[data-master-page="18"] #crewstrip{top:calc(var(--hud-edge,76px) + .5rem);bottom:auto}
}
/* On a phone the camp painting gets its own row before the story and four
   choices. The existing game scroll container accommodates enlarged text. */
@media(max-aspect-ratio:5/6){
 #game[data-master-page="18"]:not([data-phase="travel"]):not([data-phase="trailReport"]):not([data-phase="campArrival"]){
  grid-template-rows:auto auto max-content max-content max-content;align-content:start;
 }
 #game[data-master-page="18"] #art{
  position:relative;inset:auto;grid-column:1;grid-row:4;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[data-master-page="18"] #art svg.ss2-scene{width:100%;height:auto;aspect-ratio:1672/941}
 #game[data-master-page="18"]:not([data-phase="travel"]):not([data-phase="trailReport"]):not([data-phase="campArrival"]) #panel{
  grid-row:5;height:auto;min-height:0;max-height:none;overflow:visible;
  align-self:start;justify-content:flex-start;
 }
}
@media(prefers-reduced-motion:reduce){
 .survivor-scene *{animation:none!important}
 .survivor-scene .ss2-team,.survivor-scene .ss2-flake{transform:none!important}
 .survivor-scene:not(.ss2-fixed) .ss2-pose{visibility:hidden!important}
 .survivor-scene:not(.ss2-fixed) .ss2-pose[data-frame="0"]{visibility:visible!important}
}
