#intro {
  position: absolute;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  background:
    linear-gradient(
      #7fd0ff,
      #d6f2ff 62%,
      #fff3c4);
}
.isun {
  position: absolute;
  top: 13%;
  right: 6%;
  width: 84px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bus);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .55);
  animation: sunpulse 3s ease-in-out infinite;
}
@keyframes sunpulse {
  0%, 100% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .55);
  }
  50% {
    box-shadow: 0 0 0 22px rgba(255, 255, 255, .25);
  }
}
.fsym {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.fsym span {
  position: absolute;
  bottom: -100px;
  font-family: var(--font-display);
  font-weight: 700;
  opacity: 0;
  animation: fsym linear infinite;
}
@keyframes fsym {
  0% {
    transform: translateY(0) rotate(-8deg);
    opacity: 0;
  }
  12% {
    opacity: .6;
  }
  80% {
    opacity: .5;
  }
  100% {
    transform: translateY(-1500px) rotate(14deg);
    opacity: 0;
  }
}
.cloud {
  position: absolute;
  left: -30%;
  height: 26px;
  width: 96px;
  border-radius: 999px;
  background: #fff;
  animation: drift 22s linear infinite;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud::before {
  width: 42px;
  height: 42px;
  left: 14px;
  top: -20px;
}
.cloud::after {
  width: 30px;
  height: 30px;
  left: 50px;
  top: -12px;
}
@keyframes drift {
  to {
    left: 110%;
  }
}
.istrip {
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 22%;
  width: 640%;
  display: flex;
}
#intro.play .istrip {
  animation: ifly 26s linear infinite;
}
@keyframes ifly {
  to {
    transform: translateX(-50%);
  }
}
.iblk {
  position: relative;
  width: 6.25%;
  flex: none;
}
.iin {
  position: absolute;
  left: 9%;
  bottom: 0;
  width: 82%;
}
.iin svg {
  display: block;
  width: 100%;
  height: auto;
}
.iin span {
  position: absolute;
  left: 50%;
  bottom: 68%;
  z-index: 3;
  transform: translateX(-50%);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  white-space: nowrap;
  box-shadow: 0 4px 0 var(--ink);
}
.iroad {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: #3b4266;
  border-top: 4px solid var(--ink);
}
.iroad::after,
.road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 6px;
  background:
    repeating-linear-gradient(
      90deg,
      #ffe27a 0 36px,
      transparent 36px 72px);
  background-size: 72px 6px;
  animation: roadmove .45s linear infinite paused;
}
@keyframes roadmove {
  to {
    background-position: -72px 0;
  }
}
#intro.play .iroad::after,
#scene.driving .road::after {
  animation-play-state: running;
}
.ibus {
  position: absolute;
  bottom: 16%;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: min(34%, 460px);
  z-index: 4;
}
.ibus svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin .5s linear infinite paused;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes bob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-4px);
  }
}
#intro.play .wheel {
  animation-play-state: running;
}
#intro.play .ibus svg {
  animation: bob .22s ease-in-out infinite alternate;
}
.ibrand {
  position: absolute;
  left: 0;
  right: 0;
  top: 3%;
  z-index: 8;
  padding: 0 12px;
  text-align: center;
}
.ititle {
  display: flex;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 118px;
  line-height: 1;
  letter-spacing: 2px;
}
#stage.port .ititle {
  font-size: 86px;
}
.ch {
  display: inline-block;
  opacity: 0;
  color: var(--lc);
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--ink);
  transform: translateY(60px) scale(.4);
}
#intro.play .ch {
  animation: hop .6s cubic-bezier(.3, 1.8, .5, 1) forwards, wave 2.4s ease-in-out infinite;
  animation-delay: calc(.3s + var(--i)*.08s), calc(1.5s + var(--i)*.12s);
}
@keyframes hop {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes wave {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: translateY(-10px) rotate(-3deg);
  }
}
.isub {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  color: #fff;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 4px 0 var(--ink);
  opacity: 0;
}
#intro.play .isub {
  animation: rise2 .6s ease-out 1.5s forwards;
}
@keyframes rise2 {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.enter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3%;
  margin-inline: auto;
  width: max-content;
  z-index: 9;
  font-size: 42px;
  min-height: 88px;
  padding: 10px 46px;
  animation: pulse 1.4s ease-in-out infinite, glow 1.3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    scale: 1;
  }
  50% {
    scale: 1.06;
  }
}
.ifade {
  position: absolute;
  inset: 0;
  z-index: 12;
  background: #cfd8e8;
  opacity: 0;
  pointer-events: none;
}
.dl,
.dr {
  transform-box: fill-box;
}
.dl {
  transform-origin: left center;
}
.dr {
  transform-origin: right center;
}
#intro.entering .dl,
#intro.entering .dr {
  animation: dopen .45s ease-in forwards;
}
@keyframes dopen {
  to {
    transform: scaleX(0);
  }
}
#intro.entering .ibus {
  transform-origin: 80% 45%;
  animation: izoom 1.2s cubic-bezier(.65, 0, .9, .4) .35s forwards;
}
@keyframes izoom {
  to {
    transform: scale(12);
  }
}
#intro.entering .ibrand {
  opacity: 0;
  transition: opacity .3s;
}
#intro.entering .enter {
  animation: none;
  opacity: 0;
  transition: opacity .2s;
}
#intro.entering .ifade {
  animation: ifade .5s ease-in 1.1s forwards;
}
@keyframes ifade {
  to {
    opacity: 1;
  }
}
