# [C (gcc)], 131 bytes

<!-- language-all: lang-c -->

    p(v){v&&printf("%d",v);puts("");}L(a,v,A,s){srand(clock());s=1000;for(s=5;--s;)A=rand()%(v+1),p(a>44&a<60&s<3|a>59?v-=A,A:0);p(v);}

[Try it online!][TIO-jlxyqmrk]

##Degolfed:
    p(v){ // Printing helper function
        v&&printf("%d",v); //Print v if non-zero
        puts("");}
    L(a,v,A,s){ // Called as L(minutes)
        srand(clock()); s=1000; // Init rng and lava
        for(s=5;--s;) // Loop through the layers
             A=rand()%(v+1), // Generate random number in [0, v]
             //Unfortunately, 1000 is too large for clock() to distribute nicely
             p( // Print
                a>44&a<60&s<3|a>59? // Determine whether something should be printed.
                    v-=A,A // Deduct the random number from v, then return it.
                    :0);
        p(v);} // Print the remainder on the last line

[C (gcc)]: https://gcc.gnu.org/
[TIO-jlxyqmrk]: https://tio.run/##VY9BTsMwEEXXySkiS43GjS054FS0jouy5wbAwnJJa7VNojg1i5CrMxgWIDazmPma977lR2sRBwh0Dnk@jK6bWiCrA2GBquE2eSCEquUJDAusYZ7OfjTdAeylt2egVAVdCiFU24/gdaU494o2@idDVxCKkrIBzF7K3NQbkfv6/sPsq@1j4LphzU5ESoSrBa/GdWAj1p7MuF4HNafJ99dolDldqszVNo6ioPGQ/JlmV9fdpje/e@kIy8zUOwjP7jWqxVj0/r/4rZQmS7og3gmUEmWF1RY3Ah8Exjqftr2Yo0f@/gU "C (gcc) – Try It Online"