/* Esteira de previews da /express (EXP-006, H1 -> H6c). Geometria em variaveis definidas por esteira-express.js:
   --hx-w (largura), --hx-cw/--hx-ch (= retangulo da TELA do aparelho: o cartao central cobre o buraco), --hx-cx/--hx-cy (centro da tela), --hx-p, --hx-m. */
.hx-esteira {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 1;
  width: var(--hx-w, 100%); margin-left: calc(var(--hx-w, 100%) / -2);
  overflow: hidden; touch-action: pan-y; overscroll-behavior-x: contain; user-select: none; -webkit-user-select: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--hx-m, 10%), #000 calc(100% - var(--hx-m, 10%)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--hx-m, 10%), #000 calc(100% - var(--hx-m, 10%)), transparent);
}
.hx-esteira:focus { outline: none; }
.hx-esteira:focus-visible { outline: 3px solid #1478FF; outline-offset: -3px; }
.hx-arrasta { cursor: grabbing; }
.hx-trilho {
  position: absolute; inset: 0; margin: 0; padding: 0; list-style: none;
}
.hx-cartao {
  position: absolute; left: 50%; top: var(--hx-cy, 50%); visibility: hidden;
  width: var(--hx-cw, 160px); height: var(--hx-ch, 100px);
  margin: calc(var(--hx-ch, 100px) / -2) 0 0 calc(var(--hx-cw, 160px) / -2);
  border-radius: 0; /* H6c: sem 3D, sem moldura/outline, sem bloco de cor: o cartao so aparece com a imagem pronta (esteira-express.js: opacidade 0 ate o img carregar) */
  box-shadow: 0 10px 26px -14px rgb(14 38 80 / .34), 0 1px 4px rgb(14 38 80 / .08);
}
.hx-anda .hx-cartao.hx-v { will-change: transform, opacity; } /* so durante o movimento/intro (esteira-express.js liga/desliga hx-anda) */
.hx-cartao a {
  display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; -webkit-tap-highlight-color: transparent;
  transition: opacity .26s ease var(--d, 0s), transform .26s ease var(--d, 0s);
}
.hx-cartao img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; -webkit-user-drag: none; }
.hx-sai .hx-cartao a { opacity: 0; transform: translateY(12px); transition-duration: .18s; transition-delay: 0s; }
.hx-viva { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .hx-cartao a { transition: none; } }
/* H6c: FLEX (flex-carousel.js). O wrapper .hx-flex (geometria inline do esteira-express.js: simetrico em torno da tela) fica ATRAS do aparelho (.hx-disp z 2) e recebe o ponteiro;
   o motor DOM vira fallback invisivel (so os <a> reais ficam para foco/clique/leitor de tela). Sem layout: tudo posicionado (CLS 0). */
.hx-flex { position: absolute; left: 50%; z-index: 1; overflow: hidden; pointer-events: auto; -webkit-mask-image: linear-gradient(180deg, transparent, #000 var(--hx-fade, 0px), #000 calc(100% - var(--hx-fade, 0px)), transparent); mask-image: linear-gradient(180deg, transparent, #000 var(--hx-fade, 0px), #000 calc(100% - var(--hx-fade, 0px)), transparent); }
.hx-flex .flex-carousel { cursor: pointer; }
.hx-flex .flex-carousel[data-dragging] { cursor: grabbing; }
.hx-esteira.hx-flex-on { pointer-events: none; }
.hx-esteira.hx-fx .hx-cartao { opacity: 0 !important; transition: opacity .35s ease; }
.hx-esteira.hx-fx { -webkit-mask-image: none; mask-image: none; }
