#intro-scene-trigger{
  position: fixed;
  top: 6px;
  left: 6px;
  z-index: 502;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.25);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  line-height: 22px;
  text-align: center;
  transition: color 0.25s ease, transform 0.2s ease, opacity 0.25s ease;
}
#intro-scene-trigger:hover{
  color: rgba(255,214,110,0.95);
  transform: scale(1.18);
}
#intro-scene-trigger.spent{
  opacity: 0.15;
  pointer-events: none;
}
#intro-scene-trigger:disabled{
  cursor: default;
}
#intro-scene-overlay{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 84px;
  z-index: 500;
  pointer-events: none;
  overflow: visible;
}
.intro-char{
  position: absolute;
  bottom: 0;
  will-change: left;
}
.intro-char.flip .intro-sprite{
  transform: scaleX(-1);
}
.intro-char.lean-flip .intro-sprite{
  transform: scaleX(-1);
}
.intro-sprite{
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
}
.intro-bubble{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #10141c;
  padding: 7px 13px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.intro-bubble::after{
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #fff;
}
.intro-bubble.show{
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
.intro-edge-bubble{
  position: fixed;
  left: 14px;
  top: 96px;
  z-index: 501;
  background: #fff;
  color: #10141c;
  padding: 10px 16px;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  max-width: 280px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.intro-edge-bubble.show{
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 640px){
  #intro-scene-overlay{ height: 74px; }
  .intro-bubble{ font-size: 10.5px; padding: 6px 10px; }
  .intro-edge-bubble{ font-size: 11.5px; max-width: 220px; top: 84px; }
}
