/* Page-change loader (installbox-loader-001): only on slow navigations. A glass card with a short track; three product
   cut-outs run across it one behind the other like cartoon characters (lean forward, hop, squash on landing), each with
   a ground shadow that follows. No full-screen cover. */
.ibx-ld { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.ibx-ld[hidden] { display: none !important; }
/* Clear glass (v2.1, Owner 2026-11-11): no frosting. The page stays sharp behind the card; the glass reads from a
   bright bevelled rim, inner edge light, a soft top sheen and a slight lift in brightness. */
.ibx-ld__card { --w: 440px; position: relative; isolation: isolate; width: var(--w); max-width: 100%; padding: 22px 0 18px; border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, .14));
  -webkit-backdrop-filter: blur(2.5px) saturate(120%) brightness(1.14) contrast(.88); backdrop-filter: blur(2.5px) saturate(120%) brightness(1.14) contrast(.88);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .4), inset 0 0 24px rgba(255, 255, 255, .22),
    0 1px 2px rgba(11, 42, 46, .08), 0 20px 48px rgba(11, 42, 46, .14);
  opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .3s, transform .55s cubic-bezier(.16, 1, .3, 1); }
/* Rim: a 1.5px gradient border, brightest at the top-left and bottom-right corners like light caught in a glass edge. */
.ibx-ld__card::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 2px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, .25) 30%, rgba(11, 42, 46, .1) 55%, rgba(255, 255, 255, .3) 75%, rgba(255, 255, 255, .95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
/* Sheen: a faint curved reflection across the upper half. */
.ibx-ld__card::after { content: ""; position: absolute; inset: 1.5px 1.5px 50%; z-index: -1; border-radius: 28px 28px 50% 50% / 28px 28px 22px 22px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); }
.ibx-ld.is-on .ibx-ld__card { opacity: 1; transform: none; }
/* iOS 26-style Liquid Glass (Chromium): the page refracts through a thick rounded rim while the centre stays clear.
   The lens map is drawn for the 440x152 desktop card, so phones keep the clear glass above. */
@media (min-width: 521px) {
  .ibx-ld.is-lens .ibx-ld__card { height: 152px; background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, .1));
    -webkit-backdrop-filter: url(#ibx-ld-lens) blur(.6px) saturate(150%) brightness(1.1); backdrop-filter: url(#ibx-ld-lens) blur(.6px) saturate(150%) brightness(1.1); }
}
/* Specular highlight drifts slowly along the rim, like light moving over glass. */
.ibx-ld__card::before { background-size: 220% 220%; animation: ibxLdSpec 7s ease-in-out infinite alternate; }
@keyframes ibxLdSpec { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

/* Track: products enter at the left edge and leave at the right, faded at both ends. */
.ibx-ld__track { position: relative; height: 112px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.ibx-ld__track::before { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(11, 42, 46, .14) 0 10px, transparent 10px 22px);
  animation: ibxLdGround .5s linear infinite; }
.ibx-ld__p { position: absolute; left: 0; bottom: 10px; width: 88px; height: 100px; transform: translateX(-96px);
  animation: ibxLdRun 3s linear infinite; }
.ibx-ld__p:nth-child(2) { animation-delay: 1s; }
.ibx-ld__p:nth-child(3) { animation-delay: 2s; }
.ibx-ld__b { position: absolute; inset: 0 0 4px; transform-origin: 50% 100%; animation: ibxLdHop .5s cubic-bezier(.3, 0, .5, 1) infinite; }
.ibx-ld__p:nth-child(2) .ibx-ld__b { animation-delay: -.17s; }
.ibx-ld__p:nth-child(3) .ibx-ld__b { animation-delay: -.34s; }
.ibx-ld__b img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 3px 6px rgba(11, 42, 46, .28)); } /* keeps the products legible over busy pages */
.ibx-ld__p::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -3px; height: 7px; border-radius: 50%;
  background: rgba(11, 42, 46, .2); animation: ibxLdShadow .5s cubic-bezier(.3, 0, .5, 1) infinite; }
.ibx-ld__p:nth-child(2)::after { animation-delay: -.17s; }
.ibx-ld__p:nth-child(3)::after { animation-delay: -.34s; }

@keyframes ibxLdRun { from { transform: translateX(-96px); } to { transform: translateX(var(--w)); } }
/* One stride: push off, airborne leaning forward, land with a small squash. */
@keyframes ibxLdHop {
  0% { transform: translateY(0) rotate(4deg) scale(1.06, .92); }
  18% { transform: translateY(-4px) rotate(8deg) scale(.96, 1.05); }
  50% { transform: translateY(-20px) rotate(7deg) scale(1); }
  82% { transform: translateY(-4px) rotate(3deg) scale(.98, 1.03); }
  100% { transform: translateY(0) rotate(4deg) scale(1.06, .92); }
}
@keyframes ibxLdShadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.55); opacity: .45; } }
@keyframes ibxLdGround { to { background-position: -22px 0; } }

@media (max-width: 520px) {
  .ibx-ld__card { --w: calc(100vw - 32px); }
}
/* Reduced motion: the three stand still in a row. */
@media (prefers-reduced-motion: reduce) {
  .ibx-ld__track::before, .ibx-ld__p, .ibx-ld__b, .ibx-ld__p::after, .ibx-ld__card::before { animation: none; }
  .ibx-ld__p:nth-child(1) { transform: translateX(calc(var(--w) / 2 - 150px)); }
  .ibx-ld__p:nth-child(2) { transform: translateX(calc(var(--w) / 2 - 44px)); }
  .ibx-ld__p:nth-child(3) { transform: translateX(calc(var(--w) / 2 + 62px)); }
}
