/* 修复翻译后页面布局错乱问题 */
[translate] {
  display: inherit !important;
}

h1, h2, h3, h4, h5, h6 {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* 禁用手机端双击放大 */
html, body {
  touch-action: manipulation;
}
.weixin-icon{
  cursor: pointer;
}

/* 语言选择下拉框样式 */
#translate-language-selector {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

@media (max-width: 1000px) {
  #translate-language-selector {
    width: 130px;
  }
  .mini-logo{
    width: 100px;
  }
  .small-header{
    gap: 2px;
  }
  .mini-gap{
    gap: 6px;
    font-size: 12px;
  }
  .mini-gap a{
    width: fit-content;
  }
}

@media (max-width: 1200px) {
  #translate-language-selector {
    width: 130px;
  }

  .mini-gap{
    gap: 6px;
    font-size: 14px;
  }
}

#translate-language-selector select,
.translate-language-selectorSelectLanguage {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 32px 6px 12px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
  min-width: 120px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e2e8f0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

#translate-language-selector select:hover,
.translate-language-selectorSelectLanguage:hover {
  border-color: rgba(31, 228, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.08);
}

#translate-language-selector select:focus,
.translate-language-selectorSelectLanguage:focus {
  border-color: rgba(31, 228, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(31, 228, 255, 0.1);
}

#translate-language-selector select option,
.translate-language-selectorSelectLanguage option {
  background-color: #0F1A36;
  color: #e2e8f0;
  padding: 8px;
}
.mask-style{
  background-color: rgba(0, 0, 0, 0.9);
}

.qrcode-style-img{
  width: 330px;
  height: 300px;
  border-radius: 6px;
}

.contact{
  display: flex;
  align-items: center;
}

.label{
  width: fit-content;
  min-width: 55px;
}

.addr-style{
  flex: 1;
}

.qrcode-center{
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact-qrcode{
  width: 110px;
  height: 95px;
}

/* 锚点定位时避开顶部导航栏 */
#services,
#advantages,
#process,
#contact {
  scroll-margin-top: 100px;
}

@media (max-width: 430px) {
  .mobile-style {
    font-size: 22px !important;
  }
  
  /* 移动端导航栏可能更小，调整偏移量 */
  #services,
  #advantages,
  #process,
  #contact {
    scroll-margin-top: 80px;
  }
}

.subtitle-icon {
  min-width: 40px;
  min-height: 40px;
}
