/* Host integration only; original R4 stylesheet is unchanged. */
[data-yalda-hero] {
  direction:ltr; text-align:left; line-height:normal;
  /* Match the existing host header's 5rem row and 1px border. */
  --yalda-host-header:calc(5rem + 1px);
  --yalda-stage-height:calc(100svh - var(--yalda-host-header));
  --app-w:min(calc(100cqw - min(40px,4cqw)),calc(var(--yalda-stage-height)*1.31));
}
[data-yalda-hero] figure {margin:0;}
[data-yalda-hero] .stage {top:var(--yalda-host-header);height:var(--yalda-stage-height);}
/* Keep the original no-JS/loading poster in the available host viewport. */
[data-yalda-hero] .safe-in {transform:translate(calc((100cqw - var(--app-w))/2),calc(var(--yalda-stage-height)*.091145833));}
[data-yalda-hero] .yalda {transform:translate(calc((100cqw - var(--app-w))/2),calc(var(--yalda-stage-height)*1.1));}
[data-yalda-hero] .moving-model {transform:translate(calc(50cqw - var(--app-w)*.37717),calc(var(--yalda-stage-height)*.5 - var(--app-w)*.11993));}
@media(max-width:575.98px) {[data-yalda-hero] {--yalda-host-header:calc(4.4rem + 1px);}}
@container yalda (max-width:600px) {
  [data-yalda-hero] .safe-in {transform:translate(calc((100cqw - var(--app-w))/2),calc(var(--yalda-stage-height)*.360989579));}
  [data-yalda-hero] .moving-model {transform:translate(calc(50cqw - var(--app-w)*.37717),calc(var(--yalda-stage-height)*.360989579 + var(--app-w)*.1929675));}
}
@media print {[data-yalda-hero] .stage {top:0;}}
