/* Critical mobile opening — до React bundle; desktop и боты на wide viewport не грузят */
@media (max-width: 1023px) {
  @font-face {
    font-display: swap;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 700;
    src: url("/fonts/Montserrat-SemiBold.woff") format("woff");
  }

  #pobeda-mobile-lcp-fallback {
    background: #000;
    box-sizing: border-box;
    color: #fff;
    font-family: Montserrat, system-ui, sans-serif;
    inset: 0;
    overflow: hidden;
    position: fixed;
    width: 100%;
    z-index: 49;
  }

  #pobeda-mobile-lcp-fallback .pobeda-lcp-fallback__bg {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: 50% 46%;
    position: absolute;
    width: 100%;
  }

  #pobeda-mobile-lcp-fallback .pobeda-lcp-fallback__scrim {
    background:
      linear-gradient(
        90deg,
        rgba(10, 14, 20, 0.09) 0%,
        rgba(10, 14, 20, 0.04) 32%,
        rgba(10, 14, 20, 0.018) 58%,
        rgba(10, 14, 20, 0.005) 78%,
        transparent 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.022) 0%,
        rgba(0, 0, 0, 0.005) 40%,
        rgba(0, 0, 0, 0.025) 100%
      );
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
  }

  #pobeda-mobile-lcp-fallback .pobeda-lcp-fallback__title {
    -webkit-text-stroke: 0.25px rgba(255, 255, 255, 0.45);
    font-size: clamp(28px, 7.8vw, 34px);
    font-weight: 700;
    left: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
    max-width: calc(100% - 48px);
    position: absolute;
    right: 24px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 2px 14px rgba(0, 0, 0, 0.55);
    top: calc(4.25rem + 44px + env(safe-area-inset-top, 0px));
    z-index: 2;
  }
}

@media (min-width: 1024px) {
  #pobeda-mobile-lcp-fallback {
    display: none !important;
  }
}
