.site-switch-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 0.14rem;
  min-height: 1rem;
  padding: 0.14rem 0.18rem calc(0.14rem + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  box-sizing: border-box;
  font-size: 0.3rem;
  line-height: 1.35;
  font-weight: 400;
}

.site-switch-bar[hidden] {
  display: none !important;
}

body.site-switch-bar-visible {
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

.site-switch-bar__close {
  flex: 0 0 auto;
  width: 0.56rem;
  height: 0.56rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 0.36rem;
  line-height: 1;
  cursor: pointer;
}

.site-switch-bar__main {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  font-size: 0.3rem;
  font-weight: 400;
}

.site-switch-bar__prefix {
  color: #fff;
  flex-shrink: 0;
  font-size: 0.3rem;
  font-weight: 400 !important;
}

.site-switch-bar__highlight {
  color: #ffeb3b;
  font-weight: 700;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 0.18rem;
  font-size: 0.3rem;
}

.site-switch-bar__go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0.68rem;
  padding: 0 0.24rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff176 0%, #ffeb3b 100%);
  color: #c62828;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.28rem;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.site-switch-bar__go-text {
  font-size: 0.28rem;
}

body.site-switch-bar-visible #caifu-back-to-top {
  bottom: calc(1.36rem + env(safe-area-inset-bottom, 0px));
}
