/* Skeleton screens (js/skeleton.js, Design System `componentes/esqueletos`). Shapes take their tone from
   the text color of the area they cover, so they follow light, dark and every public-site theme. */
.hc-skeleton-host { position: relative; isolation: isolate; }
/* Hidden frame where destinations are laid out ahead of time to measure them; never seen or reached. */
.hc-skeleton-probe {
  position: fixed; left: -200vw; top: 0; border: 0; margin: 0; padding: 0;
  visibility: hidden; pointer-events: none; z-index: -1;
}
.hc-skeleton-cover {
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  overflow: hidden; pointer-events: auto; cursor: progress;
  background: var(--portal-canvas, var(--bg, #fff)); color: inherit;
  animation: hc-skeleton-in .18s ease-out both;
}
.hc-skeleton-label {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hc-skeleton {
  --hc-skeleton-base: color-mix(in srgb, currentColor 8%, transparent);
  --hc-skeleton-shine: color-mix(in srgb, currentColor 15%, transparent);
  position: absolute; display: block; box-sizing: border-box; border-radius: 6px;
  background-color: var(--hc-skeleton-base);
  background-image: linear-gradient(100deg, transparent 20%, var(--hc-skeleton-shine) 40%, transparent 60%);
  background-size: 200vw 100%; background-attachment: fixed; background-repeat: no-repeat;
  animation: hc-skeleton-shine 1.4s linear infinite;
}
.hc-skeleton-text { border-radius: 999px; }
.hc-skeleton-media { border-radius: 10px; }
.hc-skeleton-box {
  border-radius: 14px; background-image: none; animation: none;
  background-color: color-mix(in srgb, currentColor 3%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 9%, transparent);
}
/* Images that are still arriving keep their place with the same surface. */
img.hc-img-loading { background-color: color-mix(in srgb, currentColor 8%, transparent); }
@keyframes hc-skeleton-shine { from { background-position: 100vw 0; } to { background-position: -100vw 0; } }
@keyframes hc-skeleton-in { from { opacity: 0; } to { opacity: 1; } }
/* Reduced motion: the shapes stay still; the area still announces «Cargando…». */
@media (prefers-reduced-motion: reduce) { .hc-skeleton, .hc-skeleton-cover { animation: none; } }
:root[data-reduced-motion="true"] .hc-skeleton, :root[data-reduced-motion="true"] .hc-skeleton-cover { animation: none; }
/* Static sample for the Design System page: the same shapes in normal flow, without inline positions. */
.hc-skeleton-sample { display: grid; gap: 10px; max-width: 22rem; padding: 16px; position: relative; }
.hc-skeleton-sample .hc-skeleton { position: static; height: 12px; }
.hc-skeleton-sample .hc-skeleton-media { height: 6rem; }
.hc-skeleton-sample .hc-skeleton-title { height: 18px; width: 55%; }
.hc-skeleton-sample .hc-skeleton-short { width: 65%; }
.hc-skeleton-sample .hc-skeleton-control { width: 6rem; height: 32px; border-radius: 10px; }
