/* Category banner animations, copied from the approved Markets screens design. */
.bk-live {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: #ff4d4f;
  display: inline-block;
  animation: bklive 1.2s ease-in-out infinite;
}
@keyframes bklive {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 77, 79, 0);
  }
}
.bk-pop {
  animation: bkpop 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes bkpop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.bk-banner svg * {
  transform-box: fill-box;
}
.a-pulse {
  transform-origin: center;
  animation: apulse 1.8s ease-in-out infinite;
}
.a-ring {
  transform-origin: center;
  animation: aring 2.2s ease-out infinite;
}
@keyframes apulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.6);
  }
}
@keyframes aring {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
.a-dash {
  animation: adash 2s linear infinite;
}
@keyframes adash {
  to {
    stroke-dashoffset: -72;
  }
}
.a-scan {
  animation: ascan 4s ease-in-out infinite;
}
@keyframes ascan {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateX(620px);
    opacity: 0;
  }
}
.a-tick {
  animation: atick 3s ease-in-out infinite;
}
@keyframes atick {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
.a-float {
  animation: afloat 3s ease-in-out infinite;
}
@keyframes afloat {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-14px) rotate(6deg);
  }
}
.a-sway {
  transform-origin: 50% 0;
  animation: asway 3.5s ease-in-out infinite;
}
@keyframes asway {
  0%,
  100% {
    transform: rotate(-14deg);
  }
  50% {
    transform: rotate(14deg);
  }
}
.a-twinkle {
  transform-origin: center;
  animation: atw 1.6s ease-in-out infinite;
}
@keyframes atw {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.7) rotate(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(20deg);
  }
}
.a-fall {
  animation: afall 3.6s linear infinite;
}
@keyframes afall {
  to {
    transform: translateY(260px) rotate(300deg);
  }
}
.a-bounce {
  animation: abounce 2.2s ease-in-out infinite;
}
@keyframes abounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.04);
  }
}
.a-flick {
  animation: aflick 2.4s steps(1) infinite;
}
@keyframes aflick {
  0%,
  100% {
    opacity: 1;
  }
  45% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
  55% {
    opacity: 0.4;
  }
}
.a-roll {
  animation: aroll 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes aroll {
  0% {
    transform: translate(600px, 170px) rotate(0);
  }
  50% {
    transform: translate(1000px, 130px) rotate(540deg);
  }
  100% {
    transform: translate(1130px, 170px) rotate(900deg);
  }
}
.a-pop2 {
  transform-origin: center;
  animation: apop2 2.4s ease-in-out infinite;
}
@keyframes apop2 {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
.a-glow {
  transform-origin: center;
  animation: aglow 3s ease-in-out infinite;
}
@keyframes aglow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.55;
  }
}
.a-drive {
  animation: adrive 7s linear infinite;
}
@keyframes adrive {
  0% {
    transform: translate(520px, 140px);
  }
  100% {
    transform: translate(1240px, 140px);
  }
}
.a-wave {
  animation: awave 3s linear infinite;
}
@keyframes awave {
  to {
    transform: translateX(-80px);
  }
}
.bk-banner svg .d2 {
  animation-delay: -0.9s;
}
.bk-banner svg .d3 {
  animation-delay: -1.8s;
}
.a-sweep {
  transform-origin: 50% 100%;
  animation: asweep 6s ease-in-out infinite;
}
@keyframes asweep {
  0%,
  100% {
    transform: rotate(-14deg);
    opacity: 0.45;
  }
  50% {
    transform: rotate(14deg);
    opacity: 1;
  }
}
.a-fr {
  animation: afr 7s ease-in-out infinite alternate;
}
@keyframes afr {
  0%,
  40% {
    fill: #f43f5e;
  }
  60%,
  100% {
    fill: #38bdf8;
  }
}
.a-fb {
  animation: afb 7s ease-in-out infinite alternate;
}
@keyframes afb {
  0%,
  40% {
    fill: #38bdf8;
  }
  60%,
  100% {
    fill: #f43f5e;
  }
}
.a-tug {
  transform-origin: 0 50%;
  animation: atug 7s ease-in-out infinite alternate;
}
@keyframes atug {
  0% {
    transform: scaleX(0.38);
  }
  100% {
    transform: scaleX(0.66);
  }
}
.a-race {
  transform-origin: 0 50%;
  animation: arace 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes arace {
  0% {
    transform: scaleX(0.08);
  }
  60%,
  90% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0.08);
  }
}
.a-blink {
  animation: ablink 1s steps(1) infinite;
}
@keyframes ablink {
  50% {
    opacity: 0;
  }
}
.a-seat {
  animation: aseat 9s ease-in-out infinite both;
}
@keyframes aseat {
  0% {
    opacity: 0.14;
    transform: scale(0.5);
  }
  12% {
    opacity: 0.14;
    transform: scale(0.5);
  }
  22% {
    opacity: 1;
    transform: scale(1.35);
  }
  30%,
  86% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.14;
    transform: scale(0.5);
  }
}
.a-tugr {
  transform-origin: 0 50%;
  animation: atugr 7s ease-in-out infinite alternate;
}
@keyframes atugr {
  0% {
    transform: scaleX(0.66);
  }
  100% {
    transform: scaleX(0.38);
  }
}
.a-drop {
  animation: adrop 3s ease-in infinite;
}
@keyframes adrop {
  0% {
    transform: translateY(-46px);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  75% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}
.a-spinc {
  transform-box: fill-box;
  transform-origin: center;
  animation: aspinc 16s linear infinite;
}
@keyframes aspinc {
  to {
    transform: rotate(360deg);
  }
}
.a-spinr {
  transform-box: fill-box;
  transform-origin: center;
  animation: aspinr 16s linear infinite;
}
@keyframes aspinr {
  to {
    transform: rotate(-360deg);
  }
}
.a-mer {
  transform-box: fill-box;
  transform-origin: center;
  animation: amer 6s ease-in-out infinite;
}
@keyframes amer {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bk-banner svg *,
  .bk-live,
  .bk-pop {
    animation: none !important;
    transition: none !important;
  }
}
.bk-fade {
  animation: bkfade 0.5s ease both;
}
@keyframes bkfade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.bk-banner {
  min-height: 200px;
}
@media (max-width: 760px) {
  .bk-banner {
    min-height: 170px;
  }
  .bk-bantxt {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bk-fade {
    animation: none;
  }
}
@media (max-width: 600px) {
  .bk-banner svg {
    opacity: 0.3;
  }
}
