
.lsum {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: auto;
  background: transparent;              
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.lsum .lsum-board { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
.lsum .lsum-presenter {
  position: absolute; z-index: 1; pointer-events: none; transform-origin: 50% 100%;
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1), opacity 200ms ease;
}
.lsum .lsum-bubble {
  position: absolute; z-index: 4; left: 50%; pointer-events: none;
  transform: translateX(-50%) translateY(12px) scale(.96);
  max-width: 62%; width: max-content; box-sizing: border-box;
  padding: .45em .8em; border: 8px solid #169F99; border-radius: 44px;
  background: #FFFBEA; color: #174D59; font: 700 42px/1.2 "Fredoka", "Nunito", system-ui, sans-serif;
  text-align: center; text-wrap: balance;
  opacity: 0; transition: opacity 200ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1);
}
.lsum .lsum-bubble.show { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.lsum .lsum-bubble::after {            
  content: ''; position: absolute; left: 50%; bottom: -28px; width: 40px; height: 40px; margin-left: -20px;
  background: #FFFBEA; border: 8px solid #169F99; border-top: 0; border-left: 0; transform: rotate(45deg);
  border-bottom-right-radius: 8px;
}
.lsum .lsum-bubble .w { opacity: 0; transition: opacity 140ms linear; }
.lsum .lsum-bubble .w.in { opacity: 1; }
.lsum .lsum-bubble .w.key { color: #f07b12; }
.lsum .lsum-next {
  position: absolute; z-index: 5; left: 50%; bottom: 150px;
  opacity: 0; translate: -50% 10px; transition: opacity 240ms ease, translate 240ms cubic-bezier(.22, 1, .36, 1);
}
.lsum .lsum-next[hidden] { display: none !important; }
.lsum .lsum-next.is-in { opacity: 1; translate: -50% 0; }
@media (prefers-reduced-motion: reduce) {
  .lsum .lsum-presenter, .lsum .lsum-bubble, .lsum .lsum-next, .lsum .lsum-bubble .w { transition: none; }
}
