/*! autotranslate.css — language bar for the auto-translated landing pages */

#at-bar {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e7ee;
  box-shadow: 0 10px 30px rgba(22, 25, 29, 0.16);
  font: 500 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #16191d;
}

#at-bar #at-sel {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d7dde6;
  border-radius: 8px;
  padding: 6px 26px 6px 10px;
  font: inherit;
  color: #16191d;
  background: #f7f9fc url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2369707a'/%3E%3C/svg%3E") no-repeat right 9px center;
  cursor: pointer;
  max-width: 160px;
}

#at-bar #at-sel:focus {
  outline: 2px solid #1290f3;
  outline-offset: 1px;
}

#at-bar #at-off {
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: #69707a;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
}

#at-bar #at-off:hover {
  background: #f1f4f9;
  color: #16191d;
}

/* Google 注入的 iframe / 顶部横幅一律藏掉，只留我们自己的语言条 */
.skiptranslate iframe,
iframe.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

#at-slot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 560px) {
  #at-bar {
    right: 10px;
    bottom: 10px;
    padding: 6px 8px;
  }
  #at-bar #at-sel {
    max-width: 120px;
  }
}
