/* The menu stays anchored to the live title scene, in world coordinates. */
#ui .t2 .lg {
  width: min(calc(var(--fs, 64px) * 8.8), calc(100vw - 48px));
  height: auto;
  font-size: var(--fs, 64px);
  line-height: 0;
}
#ui .t2 .half {
  display: block;
}
#ui .t2 .half img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
#ui .t2 .title-shuriken {
  position: absolute;
  right: -0.5em;
  top: -0.25em;
  width: 0.65em;
  height: 0.65em;
  opacity: 0;
  transition: opacity 0.3s;
}
#ui .t2.ready .title-shuriken {
  opacity: 1;
}
#ui .t2 .title-shuriken svg {
  width: 100%;
  height: 100%;
  animation: title-shuriken-turn 12s linear infinite;
  filter: drop-shadow(0 3px 0 #17134366);
}
@keyframes title-shuriken-turn {
  to {
    transform: rotate(360deg);
  }
}
#ui .t2 .slash {
  top: 50%;
  width: 110%;
  height: 0.025em;
  box-shadow: 0 0 0.1em #8fd0ff;
}
#ui .t2.ready .slash {
  opacity: 0.15;
  box-shadow: none;
  transition: opacity 0.4s;
}
#ui .t2.cut .half.a {
  translate: calc(var(--nx) * 0.045em) calc(var(--ny) * 0.045em);
}
#ui .t2.cut .half.b {
  translate: calc(var(--nx) * -0.045em) calc(var(--ny) * -0.045em);
}
#ui .t2.ready .half.a {
  translate: calc(var(--nx) * 0.018em) calc(var(--ny) * 0.018em);
  rotate: -0.25deg;
}
#ui .t2.ready .half.b {
  translate: calc(var(--nx) * -0.018em) calc(var(--ny) * -0.018em);
  rotate: 0.25deg;
}
#ui .t2 .premise {
  display: none;
}
#ui .t2 .tmenu {
  width: min(calc(var(--fs, 64px) * 4.2), calc(100vw - 60px));
  left: var(--lx, 50%);
  display: block;
  margin: 0;
  top: calc(var(--gy, 78%) - 16px);
}
#ui .t2 .tmenu .btn {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  padding: 0 8px;
  border-radius: 22px;
  font: 400 26px/1 var(--pop);
  text-transform: uppercase;
  gap: 6px;
  box-shadow:
    inset 0 3px 0 #d5bfff,
    inset 0 -6px 0 #4b2ac2,
    0 6px 0 #21154e;
  --b-hi: #a48bff;
  --b-lo: #633fe6;
  --b-ink: #322077;
  --gloss: linear-gradient(#ffffff18, #ffffff00 52%);
}
#ui .t2 .tmenu #bPlay {
  --b-hi: #79ff3d;
  --b-lo: #20ca08;
  --b-ink: #195514;
  box-shadow:
    inset 0 3px 0 #c3ff8e,
    inset 0 -6px 0 #19a608,
    0 6px 0 #152444;
}
#ui .t2 .tmenu .btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
#ui .t2.ready .tmenu .btn {
  animation: title-button-pop 0.42s cubic-bezier(0.2, 1.5, 0.45, 1) both;
}
#ui .t2 .title-secondary {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  display: flex;
  gap: 10px;
}
#ui .t2 .title-secondary .btn {
  visibility: hidden;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  min-width: 0;
  padding: 0 12px;
  border-radius: 17px;
  font: 400 16px/1 var(--pop);
  text-transform: uppercase;
}
#ui .t2 .title-secondary .btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
#ui .t2.ready .title-secondary .btn {
  visibility: visible;
  animation: title-button-pop 0.42s cubic-bezier(0.2, 1.5, 0.45, 1) 0.14s both;
}
#ui .t2.ready .title-secondary .btn + .btn {
  animation-delay: 0.28s;
}
@keyframes title-button-pop {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.65);
  }
  65% {
    opacity: 1;
    transform: translateY(-5px) scale(1.06);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#ui .t2 .tchips .chip {
  width: 46px;
  height: 46px;
  min-width: 0;
  padding: 10px;
}
#ui .t2 .title-language {
  position: absolute;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px;
  border: 2px solid #cbbdff;
  border-radius: 17px;
  background: #26195de6;
  color: #fff;
  font: 400 16px/1 var(--pop);
}
#ui .t2 .title-language select {
  max-width: 145px;
  min-height: 36px;
  border: 0;
  padding: 0 4px;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
#ui .t2 .title-language option {
  background: #26195d;
  color: #fff;
}
#ui .t2 .title-language select:focus-visible,
#ui .t2 button:focus-visible {
  outline: 3px solid #fff4a0;
  outline-offset: 4px;
}
#ui .t2.gate .tap {
  top: calc(var(--gy, 78%) - clamp(32px, 7vh, 70px));
  font: 400 clamp(20px, 3.5vh, 28px) / 1.2 var(--pop);
  padding: 12px 18px;
  color: #fff;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-shadow: 0 2px 4px #142444b3;
  -webkit-text-stroke: 0;
}
#ui[data-calm] .t2 .title-shuriken svg,
#ui[data-calm] .t2.ready .tmenu .btn,
#ui[data-calm] .t2.ready .title-secondary .btn {
  animation: none;
}
@media (max-height: 540px) {
  #ui .t2 .tmenu {
    top: calc(var(--gy, 78%) - 8px);
  }
  #ui .t2 .tmenu .btn {
    min-height: 50px;
    font-size: 22px;
    gap: 8px;
    border-radius: 17px;
  }
  #ui .t2 .tmenu .btn svg {
    width: 22px;
    height: 22px;
  }
  #ui .t2 .title-secondary {
    gap: 8px;
  }
  #ui .t2 .title-secondary .btn {
    min-height: 44px;
    padding: 0 10px;
    font-size: 14px;
    gap: 6px;
  }
  #ui .t2 .title-secondary .btn svg {
    width: 18px;
    height: 18px;
  }
  #ui .t2 .title-language {
    bottom: 8px;
    font-size: 14px;
  }
}
@media (orientation: portrait) {
  #ui .t2 .tmenu {
    width: min(260px, calc(100vw - 48px));
    left: 50%;
    top: calc(var(--gy, 60%) + 32px);
    translate: -50% 0;
  }
  #ui .t2 .tmenu .btn {
    min-height: 56px;
    font-size: 19px;
  }
  #ui .t2 .title-language {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #ui .t2 .title-shuriken svg,
  #ui .t2.ready .tmenu .btn,
  #ui .t2.ready .title-secondary .btn {
    animation: none;
  }
}

/* Sound controls must stay above the animated logo, including on small screens. */
#ui .t2 .tchips {
  z-index: 50;
}
#ui .t2 .sndpop {
  width: 260px;
  min-width: 0;
  padding: 12px 16px;
  background: linear-gradient(#6750dd, #4430a8);
  color: #fff;
  border: 3px solid #23154f;
  box-shadow:
    inset 0 3px #b39cff,
    0 7px 0 #18103d,
    0 14px 24px #17103366;
}
#ui .t2 .sndpop .row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px;
  min-height: 48px;
  margin: 0;
}
#ui .t2 .sndpop .row > span {
  font: 400 18px/1.1 var(--pop);
  color: #fff;
}
#ui .t2 .sndpop .row input {
  width: 110px;
  margin: 0;
}
/* End of src/ui/title.css */

/* End of dist-static/assets/title-DIOALJ8k.css */
