:root {
  --alto-franja: calc(60px + env(safe-area-inset-bottom, 0px));
}

#PBPgtGzQXsSps9n0 {
  --escala-ciudad: calc(var(--escala-franja) * .88);
  /* Baseline of the original buildings, measured from the top of the artwork. */
  --base-edificios: calc(42.65vw * var(--escala-ciudad));
  --bajar-edificios: calc(var(--alto-franja) - env(safe-area-inset-bottom, 0px) - var(--base-edificios) - 1px);
}

@media (max-width: 750px) and (orientation: portrait) {
  :root {
    --escala-ciudad-movil: .55;
    --alto-franja: calc(50.9vw * var(--escala-ciudad-movil) + env(safe-area-inset-bottom, 0px));
  }

  #PBPgtGzQXsSps9n0 {
    --escala-ciudad: var(--escala-ciudad-movil);
  }
}

/* The left illustration has the statue and skyline on one tile. Keep the
   statue anchored and move only the skyline down, together with the right tile. */
#PBPgtGzQXsSps9n0[data-ciudad-separada] #LBQF3qPjKGC6bC9y .Izwocg {
  clip-path: polygon(0 0, 26% 0, 26% 51%, 19.5% 56%, 20% 66%,
    22% 70%, 22% 73%, 24.5% 76%, 23% 82%, 26.5% 100%, 0 100%);
}

#PBPgtGzQXsSps9n0 [data-ciudad-franja] .Izwocg {
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 26.5% 100%, 23% 82%,
    24.5% 76%, 22% 73%, 22% 70%, 20% 66%, 19.5% 56%, 26% 51%);
}

#PBPgtGzQXsSps9n0 :is([data-ciudad-franja], #LB1qvpSDXmdGyjnf) {
  translate: 0 calc(var(--bajar-edificios) / var(--escala-ciudad));
}

#PBPgtGzQXsSps9n0:not([data-detalles-activos]) [data-ciudad-franja] {
  opacity: 0;
  visibility: hidden;
}

#LB5TcB5lgd3SkjcB {
  scale: calc(var(--escala-rotulo) * .95);
}
