/*! Conveyor (conveyor 1.0.0) by Frontier Templates. Styles for the vanilla build.
Licensed gem: Licensed with Full Access, for the sites you build; do not resell the gem itself. https://frontiertemplates.com/gems/conveyor */
/* Conveyor. Every rule is scoped to .cvy so the gem drops into any page. Give it a width; 200 px tall reads well. */
.cvy {
  --cvy-belt: #16181d;
  --cvy-ink: #e9ecf2;
  --cvy-size: 26px;
  --cvy-r: 60px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 120px;
  background: transparent;
  color: var(--cvy-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
/* the root sizes itself the same whatever the host page's reset says */
.cvy, .cvy *, .cvy *::before, .cvy *::after { box-sizing: border-box; }
.cvy-stage {
  position: absolute;
  inset: 0;
  perspective: 520px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.cvy-grab .cvy-stage { cursor: grabbing; }
.cvy-band, .cvy-curl {
  position: absolute;
  left: 0;
  top: 50%;
  height: calc(var(--cvy-size) * 3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 28%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.4)),
    var(--cvy-belt);
}
/* the tread: its own layer, slid by the script, so the belt never repaints as it runs */
.cvy-band { overflow: hidden; }
.cvy-tread {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -24px;
  right: -24px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 24px);
}
.cvy-band {
  transform: translateY(-50%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 -1px 0 rgba(0, 0, 0, 0.5) inset;
}
.cvy-curl {
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* the turn away from the light, and the glint where the belt rounds the roller */
.cvy-curl::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, var(--gl, 0)), rgba(255, 255, 255, var(--gl, 0))) rgba(0, 0, 0, var(--sh, 0));
}
.cvy-plates {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}
.cvy-plate {
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--cvy-size) * 0.32);
  height: var(--cvy-size);
  white-space: nowrap;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  color: var(--cvy-ink);
}
.cvy-plate svg { width: calc(var(--cvy-size) * 0.82); height: calc(var(--cvy-size) * 0.82); flex: none; display: block; }
.cvy-plate b { font-size: calc(var(--cvy-size) * 0.86); font-weight: 650; letter-spacing: -0.02em; line-height: 1; font-style: normal; }
.cvy-plate img { display: block; height: 100%; width: auto; }
.cvy-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  list-style: none;
}
.cvy-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--cvy-ink);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.cvy-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); }
.cvy-btn:focus-visible { outline: 2px solid var(--cvy-ink); outline-offset: 2px; }
.cvy-btn svg { width: 14px; height: 14px; }
.cvy-ico-play { display: none; }
.cvy-paused .cvy-ico-play { display: block; }
.cvy-paused .cvy-ico-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .cvy-btn { transition: none; }
}
