/* detail8b: cheaper glow, offscreen pause, low-end tier.
   Appearance stays 虹膜展廊; we only change how the glow is painted and when
   heavy filters run. Shimmer + card tilt stay on. */
.neo-card{transform-style:flat;}
.neo-card-hero{transform-style:preserve-3d;}

/* Pre-rendered bloom (baked blur). No live filter:blur on every card. */
.neo-card-bloom{
  background:
    url("/theme/img/fx/bloom-card-dark.webp") center / 100% 100% no-repeat !important;
  filter:none !important;
  opacity:1 !important;
}
[data-theme="light"] .neo-card-bloom{
  background-image:url("/theme/img/fx/bloom-card-light.webp") !important;
}
.neo-card-hero .neo-card-bloom{
  background-image:url("/theme/img/fx/bloom-hero-dark.webp") !important;
  filter:none !important;
  opacity:1 !important;
}
[data-theme="light"] .neo-card-hero .neo-card-bloom{
  background-image:url("/theme/img/fx/bloom-hero-light.webp") !important;
}

/* Off-viewport cards: pause animation, drop backdrop-filter and iris paint. */
.neo-card.is-offscreen .neo-card-bloom,
.neo-card.is-offscreen .neo-streak,
.neo-card.is-offscreen .neo-card-face::before{
  visibility:hidden;
}
.neo-card.is-offscreen .neo-card-face,
.neo-card.is-offscreen .neo-buy{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.neo-card.is-offscreen,
.neo-card.is-offscreen *{
  animation-play-state:paused !important;
}
 .zone-entry.is-offscreen{animation-play-state:paused !important;}


/* Low-end / reduced-motion tiers. Colors, border, typography unchanged. */
html[data-fx="lite"] .neo-card-face,
html[data-fx="lite"] .header-inner,
html[data-fx="lite"] .site-header,
html[data-fx="lite"] .pay-pills,
html[data-fx="lite"] .neo-buy,
html[data-fx="lite"] .panel,
html[data-fx="lite"] .notice,
html[data-fx="lite"] .catalog-layout .cat-side,
html[data-fx="lite"] .cat-main,
html[data-fx="lite"] .login-card,
html[data-fx="lite"] .auth-panel,
html[data-fx="lite"] .account-panel,
html[data-fx="lite"] .help-list,
html[data-fx="lite"] .guide-card,
html[data-fx="lite"] .lookup-split form{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
html[data-fx="lite"] .neo-card-hero{
  filter:none;
}
html[data-fx="lite"] .kh-slogan-shimmer,
html[data-fx="lite"] [class*="slogan"]{
  filter:none;
}
html[data-fx="reduce"] .neo-card,
html[data-fx="reduce"] .neo-card-hero,
html[data-fx="reduce"] .detail-art .neo-card-hero{
  transition:none !important;
}

.hall .pay-pills{min-height:64px;box-sizing:border-box;}
@media (max-width: 860px){.hall .pay-pills{min-height:54px;}}
