.typing-surface.play-fall-surface {
  min-height: 280px;
}
.typing-surface.play-fall-surface #verseText,
.typing-surface.play-fall-surface .tooltipn {
  display: none !important;
}
.fall-stage {
  position: relative;
  display: none;
  overflow: hidden;
  height: 280px;
  border-radius: 0.75rem;
  background: linear-gradient(#f7fbff, #e8f2ff);
}
.typing-surface.play-fall-surface .fall-stage {
  display: block;
}
.fall-stage[data-skin="manna"] {
  background: linear-gradient(#fff8e8, #f3e0b8);
}
.fall-stage[data-skin="leaves"] {
  background: linear-gradient(#eef8ea, #cfe8c4);
}
.fall-stage[data-skin="rain"] {
  background: linear-gradient(#eaf4ff, #c5ddf6);
}
.fall-stage[data-skin="snow"] {
  background: linear-gradient(#f5f9fd, #d4e3f2);
}
.fall-stage[data-skin="cloud"] {
  background: linear-gradient(#eef2f6, #cfd8e4);
}
.fall-stage[data-skin="drop"] {
  background: linear-gradient(#e6f4ff, #b7d8f4);
}
.fall-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.75rem 0;
  font-size: 0.85rem;
  font-family: Quicksand, sans-serif;
}
.fall-hud-lives {
  letter-spacing: 0.12em;
  color: #c45c4a;
}
.fall-hud-wave {
  flex: 1;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.fall-items {
  position: absolute;
  inset: 2.1rem 0 0 0;
}
.fall-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: rgba(0, 0, 0, 0.08);
}
.fall-item {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 2.1rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  text-align: center;
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 1.15rem;
  font-weight: 600;
  color: #2c3e50;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  will-change: transform;
  user-select: none;
}
.fall-stage[data-skin="manna"] .fall-item {
  background: #fff3cc;
  border: 1px solid #e6c56a;
}
.fall-stage[data-skin="leaves"] .fall-item {
  background: #e4f5d8;
  border: 1px solid #7dae5b;
  border-radius: 1.2rem 0.4rem 1.2rem 0.4rem;
}
.fall-stage[data-skin="rain"] .fall-item {
  background: #d9ecff;
  border: 1px solid #6aa3d8;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
}
.fall-item.has-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.05rem 0.3rem 0.2rem;
  min-width: 2.6rem;
}
.fall-item-icon {
  font-size: 2.15rem;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.12));
}
.fall-item.has-icon .fall-item-label {
  margin-top: -3rem;
  /*background: rgba(255, 255, 255, 0.88);*/
  border-radius: 999px;
  padding: 4px 0.38rem;
  font-size: 1.5rem;
  /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);*/
  z-index: 100;
}
.fall-stage[data-skin="snow"] .fall-item-icon {
  /*color: #8fb7dc;
  font-size: 2.35rem;*/
  color: #ccd6e0;
  font-size: 3.35rem;
}
.fall-stage[data-skin="cloud"] .fall-item-icon {
  color: #b7c3d3;
  font-size: 2.45rem;
}
.fall-stage[data-skin="drop"] .fall-item-icon {
  /*color: #3b8fd0;
  font-size: 2.35rem;*/
  color: #a2c3dd;
  font-size: 3.35rem;
}
.fall-item.is-target {
  outline: 2px solid #2b6cb0;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.18);
}
.fall-item.is-open {
  /*  outline: 1px dashed rgba(43, 108, 176, 0.55);
  */
}
.fall-item .is-typed {
  color: #198754;
}
.fall-item.is-hit {
  opacity: 0;
  transform: scale(1.15);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.fall-item.is-miss {
  opacity: 0;
  transition: opacity 0.12s ease;
}
.fall-over,
.fall-win {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Quicksand, sans-serif;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.55);
}
@media (prefers-reduced-motion: reduce) {
  .fall-item {
    transition: none;
  }
}
