/* Layout belongs to /next/. The shared loader owns progress, errors and retry. */
html[data-next-loading] {
  --largo-loading-web: none;
  --largo-loading-mobile: none;
  --largo-loading-image: none;
  --next-logo: url("./design/brand/largo-lar-go-white-emerald-20261025-64f110d147.png");
}
html[data-next-loading] body :is(#boot.boot, [data-largo-loader], [data-largo-art]) {
  background: #000 !important;
}
html[data-next-loading] body [data-largo-art] {
  container: loading-area / size;
}
html[data-next-loading] body [data-largo-art] .largo-unified-frame {
  width: min(100cqw, 140.5cqh, 1660px) !important;
  height: auto !important;
  aspect-ratio: 1487 / 1058;
  background: var(--next-logo) center 3.8% / 9.3% auto no-repeat,
    url("./design/loading/collection-web.webp") center 40% / 89% auto no-repeat !important;
}
html[data-next-loading] .largo-unified-frame::before,
html[data-next-loading] .largo-unified-frame::after {
  position: absolute;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
  white-space: nowrap;
}
html[data-next-loading] .largo-unified-frame::before {
  content: "LOADING…";
  left: 20%;
  top: 70.4%;
  font-size: 8.55cqw;
  font-weight: 900;
  letter-spacing: -.055em;
  color: white;
}
html[data-next-loading] .largo-unified-frame::after {
  content: "Загружаем Largo Games";
  top: 89.2%;
  left: 0;
  width: 100%;
  font-size: 2.18cqw;
  font-weight: 600;
  text-align: center;
  color: #a8a8ab;
}
html[data-next-loading] body [data-largo-art] .largo-unified-percent {
  left: 68.5% !important;
  top: 72.1% !important;
  width: 12.4% !important;
  height: 8.4% !important;
  font: 800 4.2cqw/1 Arial, sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  border: max(1px, .23cqw) solid #b4f32d !important;
  border-radius: 1.1cqw !important;
}
html[data-next-loading] body [data-largo-art] .largo-unified-track {
  left: 20% !important;
  top: 84.1% !important;
  width: 60% !important;
  height: 2.3% !important;
  background: #333 !important;
}
html[data-next-loading] body [data-largo-art] .largo-unified-fill {
  background: linear-gradient(90deg, #42f133, #b6f323) !important;
  opacity: 1 !important;
}
@container loading-area (aspect-ratio < 1) {
  html[data-next-loading] body [data-largo-art] .largo-unified-frame {
    width: min(96cqw, 62cqh, 740px) !important;
    aspect-ratio: 1 / 1.56;
    background: var(--next-logo) center top / 20% auto no-repeat,
      url("./design/loading/collection-mobile.webp") center 48% / 90% auto no-repeat !important;
  }
  html[data-next-loading] .largo-unified-frame::before {
    left: 6%;
    top: 78%;
    font-size: 12cqw;
  }
  html[data-next-loading] body [data-largo-art] .largo-unified-percent {
    left: 73% !important;
    top: 78.6% !important;
    width: 21% !important;
    height: 6.9% !important;
    font-size: 6.3cqw !important;
    border-radius: 2.2cqw !important;
  }
  html[data-next-loading] body [data-largo-art] .largo-unified-track {
    top: 89% !important;
    left: 6% !important;
    width: 88% !important;
    height: 1.6% !important;
  }
  html[data-next-loading] .largo-unified-frame::after {
    top: 94%;
    font-size: 3.8cqw;
  }
}
html[data-next-loading] body [data-largo-has-error] [data-largo-art] .largo-unified-frame {
  top: 35% !important;
  transform: translate(-50%, -50%) scale(.64) !important;
}
html[data-next-loading] #launch-loader,
html[data-next-loading] #account-loading {
  width: min(100%, 860px);
  height: min(60dvh, 620px);
}
