img {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-drag: none;
}

#menuToggleBtn {
  border-radius: 50%;
  border: 1px solid white;
  font-size: 12px;
  padding: 8px 10px;
  color: transparent;
}

.media-controls-container {
  border-radius: 20px !important;
}

html {
  scrollbar-gutter: stable both-edges;
}

#mainNav, #mainNav .navbar-brand, #mainNav .navbar-color {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC","Hiragino Sans GB","Noto Sans SC","Microsoft YaHei", sans-serif !important;
  font-weight: 200 !important;
  letter-spacing: 0 !important;
  transition: color .2s ease, opacity .2s ease;
  font-synthesis: none;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  html[lang="zh"] #mainNav .navbar-color {
    font-size: 14px !important;
  }
}

@media (max-width: 576px) {
  .ai-section .ai-card {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 99% !important;
    max-width: 99% !important;
    top: 6% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 18px !important;
    box-sizing: border-box;
  }
}

@media (max-width: 576px) {
  .ai-section .ai-card h1:first-child {
    padding: 14px 10px !important;
    line-height: 1.15;
  }
}

@media (max-width: 576px) {
  .ai-section .ai-card h1 {
    padding: 0 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 576px) {
  .hero-love-title {
    font-size: 1.8rem !important;
    padding: 28px 14px !important;
    line-height: 1.2;
  }
}

#headline {
  font-size: 3.6rem;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #headline {
    font-size: 3.6rem;
  }
}

@media (max-width: 576px) {
  #headline {
    font-size: 2.7rem;
  }
}

@media (max-width: 400px) {
  #headline {
    font-size: 2rem;
  }
}

