/* AI Tools Vault 2.11.0: First-look pictures. Everything lives under .avf (the class vault-fan.js puts on its container).
   Sizes are in "units": --avf-u is one unit in px, chosen by the engine so the box always fits its room.
   Only transforms and opacity move. */

/* ---------- colours: the store theme when inside the store, fixed values elsewhere (Command Center preview) ---------- */
.avf {
  --avf-accent: var(--accent, #ff5a1f); --avf-brand: var(--brand, #3b6cf6); --avf-surface: var(--surface, #fff); --avf-ink: var(--ink, #0f172a);
  --avf-bg2: var(--bg-2, #e9eef6); --avf-glass: var(--glass, rgba(255,255,255,.86)); --avf-shc: var(--shc, 15,23,42);
  --avf-u: 1px; --avf-dur: 700ms; --avf-r: calc(var(--avf-u) * 18);
}
.avf.avf-solo { --avf-accent: #ff5a1f; --avf-brand: #3b6cf6; --avf-surface: #fff; --avf-ink: #0f172a; --avf-bg2: #e9eef6; --avf-glass: rgba(255,255,255,.86); --avf-shc: 15,23,42; }
.avf.avf-solo.avf-dark { --avf-brand: #8ea8ff; --avf-surface: #17191f; --avf-ink: #f3f4f7; --avf-bg2: #15171c; --avf-glass: rgba(14,15,19,.86); --avf-shc: 0,0,0; }
.avf.avf-rd-square { --avf-r: 0px; }
.avf.avf-rd-pill { --avf-r: calc(var(--avf-u) * 40); }

/* ---------- the box ---------- */
.avf.avf-own { position: relative; display: block; box-sizing: border-box; width: var(--avf-w, 440px); height: var(--avf-h, 252px); max-width: 100%; margin: 0 auto; padding: 0; }
.avf, .avf * { -webkit-tap-highlight-color: transparent; }
.avf .avf-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: block; }

/* In the store the header box belongs to the look in use; when a layout of ours is in it, the box is ours.
   (The fan keeps the look's own box and cards, so it is drawn exactly as before.) */
#aitv-root:not([data-tp-hero="center"]):not(.stg-hero-x) .av-hero-art.avf.avf-own {
  width: var(--avf-w, 440px) !important; height: var(--avf-h, 252px) !important; max-width: 100% !important; margin: 0 auto !important; padding: 0 !important;
  border: 0 !important; gap: 0 !important; zoom: 1 !important; grid-template-columns: none !important;
}
#aitv-root[data-tp-hero="show"]:not(.stg-hero-x) .av-hero-art.avf.avf-own { margin: 10px auto 0 !important; }
@media (min-width: 981px) {
  #aitv-root:not([data-tp-hero="center"]):not(.stg-hero-x) .av-hero-art.avf.avf-own { display: block !important; }
}
@media (max-width: 980px) {
  /* the 4 looks put the pictures under the words on small screens */
  #aitv-root[data-lk]:not([data-tp-hero="center"]):not(.stg-hero-x) .av-hero-art.avf.avf-own { display: block !important; order: 0 !important; margin: 6px auto 0 !important; }
  /* the plain store hides its fan there; a layout of ours is shown under the words instead */
  @supports selector(:has(*)) {
    #aitv-root:not([data-lk]):not(.stg-hero-x) .av-hero-in:has(> .avf.avf-own) { grid-template-columns: minmax(0, 1fr); }
    #aitv-root:not([data-lk]):not(.stg-hero-x) .av-hero-art.avf.avf-own { display: block !important; margin: 4px auto 0 !important; }
  }
}
/* the fan inside the store: size is a simple zoom of the look's own drawing (wide screens only) */
@media (min-width: 1181px) {
  #aitv-root:not([data-tp-hero="show"]) .av-hero-art.avf.avf-store.avf-s-s { zoom: .86; }
  #aitv-root:not([data-tp-hero="show"]) .av-hero-art.avf.avf-store.avf-s-l { zoom: 1.1; }
  #aitv-root:not([data-tp-hero="show"]) .av-hero-art.avf.avf-store.avf-s-xl { zoom: 1.2; }
}

/* ---------- a card ---------- */
.avf.avf-own .avf-card {
  position: absolute; box-sizing: border-box; display: block; margin: 0; padding: 0; overflow: hidden; cursor: zoom-in; font: inherit; color: inherit; text-align: left;
  border: calc(var(--avf-u) * 4) solid var(--avf-surface); border-radius: var(--avf-r); background: var(--avf-bg2); appearance: none; -webkit-appearance: none;
  box-shadow: 0 calc(var(--avf-u) * 18) calc(var(--avf-u) * 40) rgba(var(--avf-shc), .20), 0 2px 6px rgba(var(--avf-shc), .10);
}
.avf.avf-own .avf-card:focus-visible { outline: 3px solid var(--avf-accent); outline-offset: 2px; }
.avf .avf-pic { position: absolute; inset: 0; display: block; overflow: hidden; perspective: 700px; }
.avf .avf-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 15%; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: opacity .35s; }
.avf img.avf-img.avf-fr {
  left: calc(var(--fx, 50) * (1 - var(--fz, 1)) * 1%); top: calc(var(--fy, 50) * (1 - var(--fz, 1)) * 1%);
  width: calc(var(--fz, 1) * 100%); height: calc(var(--fz, 1) * 100%); object-position: calc(var(--fx, 50) * 1%) calc(var(--fy, 50) * 1%);
}
/* a picture still on its way: a calm placeholder, never a half-drawn image */
.avf .avf-card.avf-wait .avf-img { opacity: 0; }
.avf .avf-card.avf-wait .avf-pic { background: linear-gradient(135deg, rgba(var(--avf-shc), .06), rgba(var(--avf-shc), .14)); }

/* names */
.avf.avf-own .avf-cap {
  position: absolute; left: calc(var(--avf-u) * 6); right: calc(var(--avf-u) * 6); bottom: calc(var(--avf-u) * 6); z-index: 4; display: flex; gap: 5px; align-items: center;
  padding: 5px 8px; border-radius: 10px; background: var(--avf-glass); color: var(--avf-ink); font-size: 10.5px; font-weight: 600; line-height: 1.2; text-align: left;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s; pointer-events: none;
}
.avf .avf-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avf.avf-own .avf-card:hover .avf-cap, .avf.avf-own .avf-card:focus-visible .avf-cap, .avf.avf-own.avf-cap-always .avf-cap { opacity: 1; transform: none; }
.avf.avf-cap-off .avf-cap { display: none !important; }
#aitv-root .avf.avf-store.avf-cap-always .av-fan .avf-cap { opacity: 1; transform: none; }

/* ---------- frames ---------- */
.avf.avf-own.avf-fr-bold .avf-card { border: 3px solid #111; box-shadow: calc(var(--avf-u) * 6) calc(var(--avf-u) * 6) 0 #111; }
.avf.avf-own.avf-fr-polaroid .avf-card { border: 1px solid rgba(var(--avf-shc), .16); background: #fff; box-shadow: 0 calc(var(--avf-u) * 12) calc(var(--avf-u) * 26) rgba(var(--avf-shc), .22); }
.avf.avf-own.avf-fr-polaroid .avf-pic { inset: 6% 6% calc(6% + 20px) 6%; }
.avf.avf-own.avf-fr-polaroid .avf-cap, .avf.avf-own.avf-fr-polaroid .avf-card:hover .avf-cap {
  left: 6%; right: 6%; bottom: 3px; height: 20px; padding: 0; justify-content: center; background: none; color: #111; opacity: 1; transform: none; font-size: 10px; border-radius: 0;
}
#aitv-root .avf.avf-store.avf-fr-bold .av-fan { border: 3px solid #111 !important; box-shadow: 6px 6px 0 #111 !important; }
#aitv-root .avf.avf-store.avf-fr-polaroid .av-fan { border-color: #fff !important; background: #fff !important; }
#aitv-root .avf.avf-store.avf-fr-polaroid .av-fan .avf-pic { bottom: 22px; }
#aitv-root .avf.avf-store.avf-fr-polaroid .av-fan .avf-cap { left: 0; right: 0; bottom: 0; height: 22px; padding: 0 4px; justify-content: center; background: #fff; color: #111; opacity: 1; transform: none; border-radius: 0; font-size: 10px; }
#aitv-root .avf.avf-store.avf-rd-square .av-fan { border-radius: 0 !important; }
#aitv-root .avf.avf-store.avf-rd-pill .av-fan { border-radius: 34px !important; }
#aitv-root .avf.avf-store.avf-mo-none .av-fan { animation: none !important; }

/* ---------- effects inside a picture ---------- */
.avf.avf-fx-shine .avf-pic::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.6), rgba(255,255,255,0));
  transform: translateX(-160%) skewX(-18deg); animation: avf-shine 5.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .3s);
}
@keyframes avf-shine { 0%, 58% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(360%) skewX(-18deg); } }
.avf.avf-fx-tilt .avf-card .avf-pic { transition: transform .18s ease-out; }
.avf.avf-fx-tilt .avf-card:hover .avf-pic { transform: perspective(520px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) scale(1.07); }

/* ---------- effects around the pictures ---------- */
.avf.avf-own .avf-glow {
  position: absolute; inset: 6% 2% -6%; border-radius: 50%; filter: blur(12px);
  background: radial-gradient(closest-side, rgba(255,90,31,.26), rgba(255,90,31,0)), radial-gradient(closest-side at 28% 40%, rgba(59,108,246,.20), rgba(59,108,246,0));
}
.avf .avf-star {
  position: absolute; width: 16px; height: 16px; background: #ffc531; display: block;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: avf-twinkle 2.8s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.41s);
}
.avf .avf-star:nth-of-type(1) { left: 1%; top: 6%; }
.avf .avf-star:nth-of-type(2) { right: 2%; top: 0; width: 22px; height: 22px; background: var(--avf-accent); }
.avf .avf-star:nth-of-type(3) { left: 46%; top: -4%; width: 12px; height: 12px; }
.avf .avf-star:nth-of-type(4) { left: -2%; bottom: 14%; width: 20px; height: 20px; background: var(--avf-brand); }
.avf .avf-star:nth-of-type(5) { right: -1%; bottom: 22%; }
.avf .avf-star:nth-of-type(6) { left: 24%; bottom: -3%; width: 12px; height: 12px; background: var(--avf-accent); }
.avf .avf-star:nth-of-type(7) { right: 22%; bottom: -4%; width: 18px; height: 18px; }
@keyframes avf-twinkle { 0%, 100% { transform: scale(.2) rotate(0deg); opacity: 0; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }
.avf .avf-ring {
  position: absolute; inset: 0; z-index: 3; display: block; padding: 3px; border-radius: inherit; overflow: hidden; pointer-events: none;
  -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);
}
.avf .avf-ring::before {
  content: ''; position: absolute; left: -60%; top: -60%; width: 220%; height: 220%;
  background: conic-gradient(var(--avf-accent), #ffc531, #22c55e, var(--avf-brand), #d946ef, var(--avf-accent)); animation: avf-turn 3.6s linear infinite;
}
@keyframes avf-turn { to { transform: rotate(360deg); } }

/* ---------- idle movement ---------- */
.avf.avf-own.avf-mo-float .avf-card { animation: avf-float 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s); }
.avf.avf-own.avf-mo-float .avf-cube { animation: avf-float 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.9s); }
.avf.avf-own.avf-l-tiles .avf-card, .avf.avf-own.avf-l-marquee .avf-card, .avf.avf-own .avf-card.avf-face { animation: none; }
@keyframes avf-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ---------- how a picture changes (the new one sits above the old one) ---------- */
.avf .avf-img.avf-in, .avf .avf-img.avf-out { animation-duration: var(--avf-dur); animation-fill-mode: both; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
.avf .avf-img.avf-in-fade { animation-name: avf-in-fade; }
.avf .avf-img.avf-in-slide { animation-name: avf-in-slide; }
.avf .avf-img.avf-out-slide { animation-name: avf-out-slide; }
.avf .avf-img.avf-in-flip { animation-name: avf-in-flip; }
.avf .avf-img.avf-out-flip { animation-name: avf-out-flip; }
.avf .avf-img.avf-in-zoom { animation-name: avf-in-zoom; }
.avf .avf-img.avf-out-zoom { animation-name: avf-out-zoom; }
@keyframes avf-in-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes avf-in-slide { from { transform: translateX(101%); } to { transform: translateX(0); } }
@keyframes avf-out-slide { from { transform: translateX(0); } to { transform: translateX(-101%); } }
@keyframes avf-in-flip { 0%, 50% { transform: rotateY(-90deg); } 100% { transform: rotateY(0deg); } }
@keyframes avf-out-flip { 0% { transform: rotateY(0deg); } 50%, 100% { transform: rotateY(90deg); } }
@keyframes avf-in-zoom { from { transform: scale(1.55); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes avf-out-zoom { from { transform: scale(1); opacity: 1; } to { transform: scale(.86); opacity: 0; } }

/* ==================== layout: fan (outside the store; inside it the look draws the fan) ==================== */
.avf.avf-own.avf-l-fan .avf-card {
  --sp: 66; left: calc(50% - var(--avf-u) * 72 + var(--d) * var(--sp) * var(--avf-u)); top: calc(var(--avf-u) * 18 + var(--ad) * var(--ad) * var(--avf-u) * 5);
  width: calc(var(--avf-u) * 144); height: calc(var(--avf-u) * 192); transform: rotate(calc(var(--d) * 7deg)); transform-origin: 50% 110%;
  transition: transform .5s cubic-bezier(.2, 1.3, .4, 1), box-shadow .3s;
}
.avf.avf-own.avf-l-fan.n3 .avf-card { --sp: 100; }
.avf.avf-own.avf-l-fan.n4 .avf-card { --sp: 82; }
.avf.avf-own.avf-l-fan .avf-card.is-mid { left: calc(50% - var(--avf-u) * 78); top: calc(var(--avf-u) * 4); width: calc(var(--avf-u) * 156); height: calc(var(--avf-u) * 208); }
.avf.avf-own.avf-l-fan:hover .avf-card { transform: rotate(calc(var(--d) * 10deg)) translateX(calc(var(--d) * 12px)); }
.avf.avf-own.avf-l-fan .avf-card:hover { transform: rotate(calc(var(--d) * 4deg)) translateY(-10px) scale(1.05); z-index: 20 !important; }

/* ==================== layout: 3D carousel ==================== */
.avf .avf-stage { position: absolute; inset: 0; z-index: 1; perspective: calc(var(--avf-u) * 880); perspective-origin: 50% 46%; transform-style: preserve-3d; }
.avf .avf-stage::after {
  content: ''; position: absolute; left: 12%; right: 12%; bottom: calc(var(--avf-u) * 4); height: calc(var(--avf-u) * 22); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--avf-shc), .30), rgba(var(--avf-shc), 0)); filter: blur(4px); pointer-events: none;
}
.avf.avf-own.avf-l-coverflow .avf-card {
  left: calc(50% - var(--avf-u) * 78); top: calc(var(--avf-u) * 22); width: calc(var(--avf-u) * 156); height: calc(var(--avf-u) * 208);
  transform: translate3d(calc(var(--x, 0) * var(--avf-u)), 0, calc(var(--z, 0) * var(--avf-u))) rotateY(var(--ry, 0deg));
  transition: transform .75s cubic-bezier(.3, .9, .3, 1), opacity .45s, box-shadow .3s;
}
.avf.avf-own.avf-l-coverflow .avf-card:not(.is-mid) .avf-pic::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(var(--avf-shc), .22); transition: opacity .3s; pointer-events: none; }
.avf.avf-own.avf-l-coverflow .avf-card:not(.is-mid):hover .avf-pic::before { opacity: 0; }
.avf.avf-own.avf-l-coverflow .avf-card.is-far { opacity: 0; pointer-events: none; }
.avf.avf-own.avf-l-coverflow .avf-card.avf-warp { transition: none; opacity: 0; }

/* ==================== layout: 3D cubes ==================== */
.avf .avf-cubes { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: space-evenly; }
.avf .avf-cube { --e: calc(var(--avf-u) * 168); position: relative; flex: none; width: var(--e); height: var(--e); perspective: calc(var(--e) * 4.4); perspective-origin: 50% 30%; }
.avf .avf-c2 .avf-cube { --e: calc(var(--avf-u) * 138); }
.avf .avf-c3 .avf-cube { --e: calc(var(--avf-u) * 100); margin-top: 7%; }
.avf .avf-c3 .avf-cube:nth-child(2) { --e: calc(var(--avf-u) * 116); margin-top: -7%; }
.avf .avf-c2 .avf-cube:nth-child(2) { margin-top: 6%; }
.avf .avf-c2 .avf-cube:nth-child(1) { margin-top: -6%; }
.avf .avf-cube-in {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translateZ(calc(var(--e) * -.5)) rotateX(-14deg) rotateY(var(--ry, -24deg)); transition: transform .9s cubic-bezier(.5, -.25, .3, 1.25);
}
.avf.avf-own .avf-card.avf-face {
  left: 0; top: 0; width: 100%; height: 100%; border-radius: min(var(--avf-r), calc(var(--avf-u) * 8)); box-shadow: none;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; border-width: calc(var(--avf-u) * 3);
}
.avf.avf-own.avf-fr-bold .avf-card.avf-face { box-shadow: none; }
.avf .avf-face.avf-f0 { transform: rotateY(0deg) translateZ(calc(var(--e) * .5)); }
.avf .avf-face.avf-f1 { transform: rotateY(90deg) translateZ(calc(var(--e) * .5)); }
.avf .avf-face.avf-f2 { transform: rotateY(180deg) translateZ(calc(var(--e) * .5)); }
.avf .avf-face.avf-f3 { transform: rotateY(270deg) translateZ(calc(var(--e) * .5)); }
.avf .avf-lid {
  position: absolute; inset: 0; display: block; box-sizing: border-box; transform: rotateX(90deg) translateZ(calc(var(--e) * .5)); border-radius: min(var(--avf-r), calc(var(--avf-u) * 8));
  border: calc(var(--avf-u) * 3) solid var(--avf-surface);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 8px, rgba(255,255,255,0) 8px 16px), linear-gradient(135deg, var(--avf-accent), #ffc531);
}
.avf.avf-fr-bold .avf-lid { border: 3px solid #111; }
.avf .avf-cube-sh { position: absolute; left: -6%; right: -6%; bottom: -24%; height: 20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--avf-shc), .34), rgba(var(--avf-shc), 0)); filter: blur(3px); }

/* ==================== layout: flip-tile wall ==================== */
.avf .avf-grid {
  position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 2), minmax(0, 1fr));
  gap: calc(var(--avf-u) * 9); grid-auto-flow: dense;
}
.avf.avf-own.avf-l-tiles .avf-card { position: relative; width: auto; height: auto; min-width: 0; min-height: 0; border-width: calc(var(--avf-u) * 3); box-shadow: 0 calc(var(--avf-u) * 8) calc(var(--avf-u) * 18) rgba(var(--avf-shc), .16); transition: transform .3s cubic-bezier(.2, 1.3, .4, 1), box-shadow .3s; }
.avf.avf-own.avf-l-tiles.avf-fr-bold .avf-card { border-width: 3px; box-shadow: calc(var(--avf-u) * 5) calc(var(--avf-u) * 5) 0 #111; }
.avf.avf-own.avf-l-tiles .avf-card:hover { transform: translateY(-4px) scale(1.03); z-index: 5; }
.avf .avf-grid .avf-w2 { grid-column: span 2; }
.avf .avf-grid .avf-b2 { grid-column: span 2; grid-row: span 2; }

/* ==================== layout: two sliding rows ==================== */
.avf.avf-own.avf-l-marquee {
  overflow: hidden; overflow: clip visible;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0), #000 7%, #000 93%, rgba(0,0,0,0)); mask-image: linear-gradient(90deg, rgba(0,0,0,0), #000 7%, #000 93%, rgba(0,0,0,0));
}
.avf .avf-row { position: absolute; left: 0; right: 0; z-index: 1; height: calc(var(--avf-u) * 150); }
.avf .avf-row0 { top: calc(var(--avf-u) * 2); }
.avf .avf-row1 { top: calc(var(--avf-u) * 162); }
.avf .avf-belt { display: flex; width: max-content; animation: avf-slide calc(var(--len, 4) * 5.4s) linear infinite; will-change: transform; }
.avf .avf-row1 .avf-belt { animation-direction: reverse; }
.avf.avf-own.avf-l-marquee .avf-card { position: relative; flex: none; width: calc(var(--avf-u) * 124); height: calc(var(--avf-u) * 150); margin-right: calc(var(--avf-u) * 10); box-shadow: 0 calc(var(--avf-u) * 6) calc(var(--avf-u) * 14) rgba(var(--avf-shc), .16); }
.avf.avf-own.avf-l-marquee.avf-fr-bold .avf-card { box-shadow: calc(var(--avf-u) * 4) calc(var(--avf-u) * 4) 0 #111; }
@keyframes avf-slide { to { transform: translateX(-50%); } }

/* ---------- hover lift for the 3D carousel and the rows ---------- */
.avf.avf-own.avf-l-coverflow .avf-card .avf-img, .avf.avf-own.avf-l-marquee .avf-card .avf-img, .avf.avf-own.avf-l-tiles .avf-card .avf-img { transition: opacity .35s, scale .35s; }
.avf.avf-own.avf-l-marquee .avf-card:hover .avf-img, .avf.avf-own.avf-l-coverflow .avf-card:hover .avf-img { scale: 1.06; }

/* ---------- the welcome moment: once, when the page first shows the pictures ---------- */
.avf.avf-enter.avf-l-fan .avf-card, #aitv-root .avf.avf-enter.avf-store .av-fan { animation: avf-e-deal .55s cubic-bezier(.2, 1.25, .4, 1) both !important; animation-delay: calc(var(--i, 0) * 90ms) !important; }
.avf.avf-own.avf-enter.avf-l-coverflow .avf-card { animation: avf-e-pop .6s cubic-bezier(.2, 1.2, .4, 1) both; animation-delay: calc(var(--ap, 0) * 120ms); }
.avf.avf-enter .avf-cube-in { animation: avf-e-cube .95s cubic-bezier(.3, 1.2, .5, 1) both; }
.avf.avf-enter .avf-cube:nth-child(2) .avf-cube-in { animation-delay: .12s; }
.avf.avf-enter .avf-cube:nth-child(3) .avf-cube-in { animation-delay: .24s; }
.avf.avf-own.avf-enter.avf-l-tiles .avf-card { animation: avf-e-flip .5s cubic-bezier(.3, 1.1, .5, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
.avf.avf-enter .avf-row0 { animation: avf-e-left .8s cubic-bezier(.2, .9, .3, 1) both; }
.avf.avf-enter .avf-row1 { animation: avf-e-right .8s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes avf-e-deal { from { opacity: 0; translate: 0 70px; scale: .86; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes avf-e-pop { from { opacity: 0; scale: .45; rotate: y 70deg; } to { opacity: 1; scale: 1; rotate: y 0deg; } }
@keyframes avf-e-cube { from { opacity: 0; scale: .3; rotate: y -220deg; } to { opacity: 1; scale: 1; rotate: y 0deg; } }
@keyframes avf-e-flip { from { opacity: 0; scale: .8; rotate: y 90deg; } to { opacity: 1; scale: 1; rotate: y 0deg; } }
@keyframes avf-e-left { from { opacity: 0; translate: -45% 0; } to { opacity: 1; translate: 0 0; } }
@keyframes avf-e-right { from { opacity: 0; translate: 45% 0; } to { opacity: 1; translate: 0 0; } }

/* ---------- pauses and reduced motion ---------- */
.avf.avf-off *, .avf.avf-off *::before, .avf.avf-off *::after { animation-play-state: paused !important; }
.avf.avf-held .avf-belt { animation-play-state: paused; }
.avf.avf-rm *, .avf.avf-rm *::before, .avf.avf-rm *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .avf *, .avf *::before, .avf *::after { animation: none !important; transition: none !important; }
}

/* the dark "window" look gives its pictures a white edge: ours follow */
#aitv-root[data-lk="window"] .avf.avf-own { --avf-surface: #fff; }
