/* The loader updates the numeric value and fill. Platform-specific timing and visibility stay in the loader. */
.screen > .loading-region, .screen .loading-label {display:none;}
@media (max-aspect-ratio: 4/5), (max-width: 430px) {
  html body > .screen {
    position: relative !important; top: 0 !important; left: 0 !important; height: 600px !important; max-width: 100%;
    background: linear-gradient(180deg,#211b1c33,transparent 20%,#241d19 35%,#171716),url('../img/prehistory/loading_sky.jpg') center top / 100% 22% no-repeat,#201c1b !important;
    box-shadow: 0 0 0 100vmax #090e13 !important;
  }
  html body > .screen::before {
    position:absolute;z-index:1;top:8.6%;left:0;right:0;color:#f3e7ce;
    font:italic 900 clamp(27px,5vw,37px)/1 Arial,Helvetica,sans-serif;letter-spacing:-1.8px;text-align:center;text-shadow:0 3px 9px #000c;pointer-events:none;
  }
  html body > .screen > .loading-region {display:block;position:absolute;z-index:1;top:15.5%;left:0;right:0;text-align:center;
    font:800 8px/12px Arial,sans-serif;letter-spacing:1.8px;text-transform:uppercase;color:#e9cda2;}
  html body > .screen::after {content:'';position:absolute;inset:16% 0 auto;width:100%;height:76%;
    background:url('../img/prehistory/loading_gate.jpg') center / cover no-repeat;mask-image:linear-gradient(transparent,#000 4% 90%,transparent);pointer-events:none;}
  html body > .screen > .persent {z-index:2;bottom:64px !important;color:#efd7b3 !important;font:800 15px/20px Arial,sans-serif !important;text-align:center;}
  html body > .screen .loading-label {display:inline;text-transform:uppercase;}
  html body > .screen .loading-label::after {content:' · ';}
  html body > .screen .loading-value {color:#ffaa41;}
  html body > .screen > .loading-line {z-index:2;bottom:46px !important;left:9% !important;width:82% !important;height:8px !important;
    border:1px solid #bf925c;border-radius:3px;background:#1a1b1bea !important;box-shadow:0 2px 4px #0009;}
  html body > .screen > .loading-line > .loading-line-fill {border-radius:2px;background:linear-gradient(#ffc34d,#f58717 64%,#bc561c) !important;}
  html body > .screen > .top-block {
    z-index: 3;
    top: 126px;
    right: 12px;
    max-width: 52%;
    padding: 6px 8px;
    border: 1px solid #b58c5b;
    border-radius: 5px;
    background: #101b23eb;
    font: 700 12px/1.3 Arial, Helvetica, sans-serif;
  }
}
