.yobi-startup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  background: #fff;
}

.yobi-startup-mark {
  position: relative;
  width: clamp(174px, 46vw, 220px);
  aspect-ratio: 1024 / 853;
  isolation: isolate;
}

.yobi-startup-mark img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.yobi-startup-mark::before,
.yobi-startup-mark::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 13.7%;
  left: 24.2%;
  width: 16.4%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
}

.yobi-startup-mark::after {
  left: 59.1%;
}

.yobi-startup-ball {
  position: absolute;
  z-index: 2;
  top: 14.3%;
  left: 24.7%;
  width: 15.4%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #10141d;
  animation: yobi-juggle-dark 3s ease-in-out infinite;
}

.yobi-startup-ball.is-blue {
  left: 59.6%;
  background: #0864f5;
  animation-name: yobi-juggle-blue;
}

@keyframes yobi-juggle-dark {
  0%, 10%, 90%, 100% { transform: translate(0, 0); }
  30%, 70% { transform: translate(102%, -85%); }
  50% { transform: translate(225%, 0); }
}

@keyframes yobi-juggle-blue {
  0%, 10%, 90%, 100% { transform: translate(0, 0); }
  30%, 70% { transform: translate(-102%, -125%); }
  50% { transform: translate(-225%, 0); }
}

.yobi-startup-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .yobi-startup-mark::before,
  .yobi-startup-mark::after { display: none; }
  .yobi-startup-ball { display: none; }
}