/* Opt-in translation preview: ?translation=1. The default game stays unchanged. */
.translation-level-badge {
  display: block;
  margin-top: 5px;
  font: 500 11px/1.4 "PingFang SC", sans-serif;
  opacity: .75;
}

.translation-story-active .video-overlay.is-story {
  bottom: clamp(42px, 8dvh, 72px);
}

.story-meaning {
  position: absolute;
  z-index: 32;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  min-height: clamp(42px, 8dvh, 72px);
  max-height: clamp(42px, 8dvh, 72px);
  margin: 0;
  padding: 5px 3%;
  color: #5c4b39;
  background: #fff8da;
  border-top: 2px solid #e2cfa9;
  font: 650 clamp(13px, 1.55vw, 22px)/1.35 "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: center;
  text-wrap: balance;
  pointer-events: none;
}

.translation-story-active .story-caption {
  right: 13%;
  left: 13%;
  height: auto;
  min-height: 16.3%;
  padding: 6px 3%;
  font-size: clamp(16px, 2.5vw, 29px);
  line-height: 1.1;
}
