/* The gutter is the available width of each outer lane, in CSS pixels. */
.thanks-air {
  --thanks-lane: var(--thanks-air-gutter, 88px);
  --thanks-size: min(72px, var(--thanks-lane));
  --thanks-edge: max(0px, calc((var(--thanks-lane) - var(--thanks-size)) / 2));
  position: fixed;
  inset: 0;
  z-index: 36;
  overflow: hidden;
  contain: strict;
  pointer-events: none !important;
  user-select: none;
}
.thanks-air[hidden] {display: none !important}
.thanks-air > canvas.thanks-air-item {
  display: block;
  position: absolute;
  box-sizing: border-box;
  width: var(--thanks-size);
  height: calc(var(--thanks-size) * 1.125);
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none !important;
  transform-origin: center;
}
.thanks-air > [data-kind="heart"] {
  left: var(--thanks-edge);
  top: 35%;
  animation: thanks-air-heart 5.7s ease-in-out -1s infinite alternate;
}
.thanks-air > [data-kind="balloon"] {
  right: var(--thanks-edge);
  top: 0;
  animation: thanks-air-rise 12s linear -3.2s infinite;
}
.thanks-air > [data-kind="ribbon"] {
  left: var(--thanks-edge);
  top: 0;
  animation: thanks-air-fall 10.7s linear -6s infinite;
}
.thanks-air > [data-kind="firework"] {
  right: var(--thanks-edge);
  top: 26%;
  animation: thanks-air-spark 7s ease-in-out -2s infinite alternate;
}
@keyframes thanks-air-heart {
  from {transform: translateY(-3px) rotate(-3deg)}
  to {transform: translateY(4px) rotate(2deg)}
}
@keyframes thanks-air-rise {
  0% {opacity: 0; transform: translateY(86vh) rotate(5deg)}
  7% {opacity: 1}
  33% {transform: translateY(63vh) rotate(-5deg)}
  62% {transform: translateY(42vh) rotate(3deg); opacity: 1}
  90% {transform: translateY(13vh) rotate(-4deg); opacity: 1}
  96%, 100% {transform: translateY(7vh) rotate(-2deg); opacity: 0}
}
@keyframes thanks-air-fall {
  0% {opacity: 0; transform: translateY(6vh) rotate(-12deg)}
  7% {opacity: 1}
  28% {transform: translateY(30vh) rotate(12deg)}
  55% {transform: translateY(53vh) rotate(-9deg)}
  83% {opacity: 1; transform: translateY(76vh) rotate(13deg)}
  96%, 100% {opacity: 0; transform: translateY(91vh) rotate(-7deg)}
}
@keyframes thanks-air-spark {
  from {transform: translateY(0)}
  to {transform: translateY(3px)}
}
@media (max-width: 1100px) {
  .thanks-air {--thanks-lane: var(--thanks-air-gutter, 55px); --thanks-size: min(48px, var(--thanks-lane))}
}
@media (max-width: 700px) {
  .thanks-air {--thanks-lane: var(--thanks-air-gutter, 32px); --thanks-size: min(32px, var(--thanks-lane))}
}
.thanks-air[data-paused]:not([data-paused="false"]) > .thanks-air-item {
  animation: none;
  transform: none;
  opacity: 1;
}
.thanks-air[data-paused]:not([data-paused="false"]) > [data-kind="balloon"] {top: 68%}
.thanks-air[data-paused]:not([data-paused="false"]) > [data-kind="ribbon"] {top: 76%}
@media (prefers-reduced-motion: reduce) {
  .thanks-air > canvas.thanks-air-item {animation: none; transform: none; opacity: 1}
  .thanks-air > [data-kind="balloon"] {top: 68%}
  .thanks-air > [data-kind="ribbon"] {top: 76%}
}
@media print {
  .thanks-air {display: none !important}
}
