.loader { position: fixed; inset: 0; z-index: 9000000; color: var(--white); animation: ld-safety 0s 12s forwards; }
.loader.is-run { animation: none; }
@keyframes ld-safety { to { visibility: hidden; } }
.ld-top, .ld-bot { position: absolute; left: 0; right: 0; background: var(--red); }
.ld-top { top: 0; height: 60%; overflow: hidden; }
.ld-bot { bottom: 0; height: 40%; }
.ld-wm { position: absolute; top: 20px; left: var(--pad); width: calc(100% - 2 * var(--pad)); }
.ld-wm svg { width: 100%; height: auto; overflow: visible; }

.ld-prog { position: absolute; left: 0; right: 0; bottom: 40%; }
.ld-row { position: absolute; left: var(--pad); right: var(--pad); bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.ld-count { display: flex; font-size: 13px; line-height: 1; }
.ld-col { position: relative; width: 10px; height: 20px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 6px, #000 14px, transparent); mask-image: linear-gradient(transparent, #000 6px, #000 14px, transparent); }
.ld-strip { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; }
.ld-strip b { display: grid; place-items: center; height: 20px; font-weight: 400; font-variant-numeric: tabular-nums; }
.ld-cut { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.ld-arrows { width: 16px; height: auto; }
.ld-line { position: relative; height: 2px; }
.ld-dash { position: absolute; left: 0; right: 0; top: 0; border-top: 1px dashed rgb(255 255 255 / 0.85); }
.ld-solid { position: absolute; left: 0; top: -0.5px; width: 9%; height: 2px; background: var(--white); }
.ld-sc { position: absolute; left: 0; top: 0; width: 100%; height: 0; transform: translateX(7%); }
.ld-scissors { position: absolute; left: 0; top: -9px; width: 28px; height: 18px; }

.ld-dots { position: absolute; left: 50%; bottom: 28px; display: flex; gap: 20px; transform: translateX(-50%); }
.ld-dot { position: relative; display: block; width: 12px; height: 12px; transform: translateX(-80vw); }
.ld-dot::before { content: ""; position: absolute; inset: 0; background: var(--white); }
.ld-dot.d1::before { transform: rotate(45deg) scale(0.78); }

@media (max-width: 991px) {
  .ld-sc { transform: none; }
}
@media (max-width: 767px) {
  .ld-row { top: 12px; bottom: auto; }
  .ld-cut { font-size: 11px; gap: 8px; }
  .ld-dots { gap: 12px; bottom: 24px; }
  .ld-dot { width: 10px; height: 10px; transform: translateX(-70vw); }
}
html.rm .ld-prog, html.rm .ld-dots { display: none; }
