/* Original footer colors, geometry and opacity timelines; blur is baked once. */
.welcome-fix { contain: layout paint style; }
.welcome-fix .item { background: none !important; filter: none !important; border-radius: 0; }
.welcome-fix .ray > .item { position: relative; }
.welcome-fix .item::before { content: ""; position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }

.welcome-fix .blur.xl > .item.item-a::before {left:-300px;top:-300px;width:1130px;height:781px;background-image:url('/assets/images/footer-20260929/glow-xl-a.webp');}
.welcome-fix .blur.xl > .item.item-b::before {left:-300px;top:-300px;width:1130px;height:781px;background-image:url('/assets/images/footer-20260929/glow-xl-b.webp');}
.welcome-fix .blur.xl > .item.item-c::before {left:-300px;top:-300px;width:1130px;height:781px;background-image:url('/assets/images/footer-20260929/glow-xl-c.webp');}
.welcome-fix .blur.xm > .item.item-a::before {left:-192px;top:-192px;width:774px;height:498px;background-image:url('/assets/images/footer-20260929/glow-xm-a.webp');}
.welcome-fix .blur.xm > .item.item-b::before {left:-192px;top:-192px;width:774px;height:498px;background-image:url('/assets/images/footer-20260929/glow-xm-b.webp');}
.welcome-fix .blur.xm > .item.item-c::before {left:-192px;top:-192px;width:774px;height:498px;background-image:url('/assets/images/footer-20260929/glow-xm-c.webp');}
.welcome-fix .blur.xs > .item.item-a::before {left:-348px;top:-348px;width:1008px;height:787px;background-image:url('/assets/images/footer-20260929/glow-xs-a.webp');}
.welcome-fix .blur.xs > .item.item-b::before {left:-348px;top:-348px;width:1008px;height:787px;background-image:url('/assets/images/footer-20260929/glow-xs-b.webp');}
.welcome-fix .blur.xs > .item.item-c::before {left:-348px;top:-348px;width:1008px;height:787px;background-image:url('/assets/images/footer-20260929/glow-xs-c.webp');}
.welcome-fix .ray.xl > .item:first-child::before {left:-66px;top:-66px;width:636px;height:654px;background-image:url('/assets/images/footer-20260929/ray-xl-first.webp');}
.welcome-fix .ray.xl > .item:last-child::before {left:-66px;top:-66px;width:636px;height:654px;background-image:url('/assets/images/footer-20260929/ray-xl-last.webp');}
.welcome-fix .ray.xm > .item:first-child::before {left:-54px;top:-54px;width:329px;height:536px;background-image:url('/assets/images/footer-20260929/ray-xm-first.webp');}
.welcome-fix .ray.xm > .item:last-child::before {left:-54px;top:-54px;width:329px;height:536px;background-image:url('/assets/images/footer-20260929/ray-xm-last.webp');}
.welcome-fix .ray.xs > .item:first-child::before {left:-30px;top:-30px;width:181px;height:295px;background-image:url('/assets/images/footer-20260929/ray-xs-first.webp');}
.welcome-fix .ray.xs > .item:last-child::before {left:-30px;top:-30px;width:181px;height:295px;background-image:url('/assets/images/footer-20260929/ray-xs-last.webp');}

/* Raster backgrounds retain the SVG artwork without live Gaussian filters. */
body::before {
  background-image: url('/assets/images/bottom-blur-pc-20261109.webp');
}
@media (max-width: 580px) {
  body::before {
    background-image: url('/assets/images/bottom-blur-phone-20261109.webp');
  }
}

/* Flatten individual glow tiles; only two desktop groups animate below. */
#root .welcome-fix .item {
  animation: none !important;
  transform: none !important;
  will-change: auto !important;
  opacity: .6;
}
@media (max-width: 960px), (prefers-reduced-motion: reduce) {
  html body .shop__block__right__header-bg-container__image {
    animation: none !important;
    transform: none;
    will-change: auto;
  }
}

@keyframes hf-footer-glow {
  0%, 100% { opacity: .65; transform: translate3d(-8px, 0, 0); }
  50% { opacity: 1; transform: translate3d(8px, 0, 0); }
}
@keyframes hf-footer-rays {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}
@media (min-width: 961px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #root .welcome-fix .welcome-effect-blur {
    animation: hf-footer-glow 7s ease-in-out infinite;
    will-change: opacity, transform;
  }
  #root .welcome-fix .welcome-effect-ray {
    animation: hf-footer-rays 5s ease-in-out infinite;
    will-change: opacity;
  }
}
html[data-hf-hidden="1"] #root .welcome-fix .welcome-effect-blur,
html[data-hf-hidden="1"] #root .welcome-fix .welcome-effect-ray,
html[data-hf-footer-visible="0"] #root .welcome-fix .welcome-effect-blur,
html[data-hf-footer-visible="0"] #root .welcome-fix .welcome-effect-ray {
  animation-play-state: paused !important;
}
.shop__block__left__products__container,
.shop__block__right__description__main {
  min-height: 0;
  overflow: hidden auto;
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}
.shop__block__left__products__container > .shop__block__left__products {
  flex: 0 0 auto;
}
.shop__block__left__products__container:focus-visible,
.shop__block__right__description__main:focus-visible {
  outline: 2px solid #f98a18;
  outline-offset: -2px;
}

/* Keep long text expansion out of the per-frame layout pipeline. */
.rules__item-content { transition: none; }
.rules__list { overflow-anchor: none; }
.rules__item-toggle {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* One route commit, with stable page width and no whole-page opacity layer. */
html { scrollbar-gutter: stable; }
.route-fade { animation: none; }
@view-transition { navigation: none; }
/* This previously rotated a 1894px square under a small product header. */
html body .shop__block__right__header-bg-container__image {
  animation: none !important;
  transform: none;
  will-change: auto;
}

/* Smooth measured opening, with the text laid out at its natural height once. */
.rules__item-content { display: block; overflow: hidden; }
.rules__item-content > .rules__item-inner { contain: layout style; }
/* Restore the original card texture while keeping it inside a paint boundary. */
.shop__block__right__header { contain: layout paint style; }
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  html body .shop__block__right__header-bg-container__image {
    animation: product-head-spin 30s linear infinite !important;
    will-change: transform;
    width: 1100px;
    height: 1100px;
    left: -103px;
    background-image: url('/assets/images/product-texture-center-20261109.webp');
  }
  .shop__block__right__header__selector {
    background: linear-gradient(115deg, #352927a6, #292531b8);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.route-fade { animation: route-fade-in .18s ease-out backwards; }
@media (prefers-reduced-motion: reduce) {
  .route-fade { animation: none; }
}
