@import url("../english/styles.css?v=2");

.hero-art .speech-bubble {
  top: -4%;
  right: -1%;
  box-sizing: border-box;
  width: clamp(174px, 18vw, 204px);
  max-width: min(60%, 214px);
  min-height: 44px;
  padding: 0 14%;
  font-family: "Baloo 2", "Hiragino Sans", "Yu Gothic", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 900;
  line-height: 1.08;
  overflow: visible;
  overflow-wrap: normal;
  text-orientation: mixed;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  transform: rotate(3deg);
}

.hero-art .speech-bubble .bubble-local {
  display: inline-block;
  max-width: none;
  text-align: center;
  line-height: 1.08;
  overflow-wrap: normal;
  text-orientation: mixed;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(180deg, #685ee2, var(--purple));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  box-shadow: 0 5px 0 var(--purple-dark), 0 9px 22px rgba(0, 0, 0, .22);
  font: 900 14px "Nunito", "Microsoft YaHei", "PingFang SC", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.back-button:hover,
.back-button:focus-visible {
  border-color: rgba(255, 208, 113, .55);
  box-shadow: 0 7px 0 var(--purple-dark), 0 12px 26px rgba(0, 0, 0, .26);
  transform: translateY(-2px);
  outline: none;
}

.back-button:active {
  box-shadow: 0 2px 0 var(--purple-dark), 0 6px 16px rgba(0, 0, 0, .22);
  transform: translateY(3px);
}

@media (max-width: 600px) {
  .nav-actions {
    gap: 8px;
  }

  .hero-art .speech-bubble {
    top: -4%;
    right: 1%;
    width: clamp(164px, 48vw, 178px);
    max-width: calc(100% - 24px);
    padding: 0 14%;
    font-size: 14px;
  }

  .back-button {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 13px;
    font-size: 12px;
  }
}
