.gotripcn-language-switcher {
  position: fixed;
  right: clamp(18px, 2.4vw, 28px);
  top: clamp(18px, 2vh, 26px);
  z-index: 10000;
  font-family: "Roboto", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gotripcn-language-trigger {
  display: inline-flex;
  min-width: 0;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  cursor: pointer;
  border: 1px solid rgba(17, 19, 29, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(17, 19, 29, 0.72);
  box-shadow:
    0 8px 22px rgba(83, 91, 145, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.gotripcn-language-trigger:hover,
.gotripcn-language-trigger:focus-visible,
.gotripcn-language-trigger[aria-expanded="true"] {
  color: #11131d;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(17, 19, 29, 0.18);
  outline: none;
  box-shadow:
    0 12px 28px rgba(83, 91, 145, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transform: translateY(-1px);
}

.gotripcn-language-mark {
  color: #5e54e8;
  font-size: 12px;
  line-height: 1;
}

.gotripcn-language-current {
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: normal;
}

.gotripcn-language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 166px;
  padding: 7px;
  border: 1px solid rgba(38, 45, 74, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(77, 86, 139, 0.22), 0 1px 0 rgba(255, 255, 255, 0.84) inset;
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: right top;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gotripcn-language-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.gotripcn-language-option {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0 11px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(17, 19, 29, 0.56);
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1;
  text-align: left;
  text-transform: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gotripcn-language-option:hover,
.gotripcn-language-option:focus-visible {
  color: #11131d;
  border-color: rgba(38, 45, 74, 0.08);
  background: rgba(77, 86, 139, 0.06);
  outline: none;
}

.gotripcn-language-option.is-active {
  color: #11131d;
  border-color: rgba(214, 184, 117, 0.28);
  background: rgba(214, 184, 117, 0.14);
}

.gotripcn-language-option-code {
  color: rgba(156, 167, 184, 0.56);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .gotripcn-language-switcher {
    right: 14px;
    top: 14px;
  }

  .gotripcn-language-trigger {
    min-height: 30px;
    padding: 6px 12px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gotripcn-language-trigger,
  .gotripcn-language-menu,
  .gotripcn-language-option {
    transition-duration: 0.01ms;
  }
}
