.lf-locale {
  position: relative;
  flex: none;
  color: #17253a;
}
.lf-locale__button {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: .45rem;
  padding: .32rem .55rem;
  color: #fff;
  background: #1c2838;
  border: 1px solid #718095;
  border-radius: 5px;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
}
.lf-locale__button::-webkit-details-marker { display: none; }
.lf-locale__button::marker { content: ""; }
.lf-locale__button:focus-visible,
.lf-locale__option:focus-visible { outline: 2px solid #579ded; outline-offset: 2px; }
.lf-locale__chevron {
  width: .32rem;
  height: .32rem;
  margin: -.12rem .15rem 0 .12rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.lf-locale[open] .lf-locale__chevron { margin-top: .13rem; transform: rotate(225deg); }
.lf-locale > .lf-locale__menu {
  position: absolute;
  z-index: 1200;
  inset: calc(100% + 7px) 0 auto auto;
  display: grid;
  gap: 1px;
  width: max-content;
  min-width: 11.5rem;
  padding: 6px;
  margin: 0;
  color: #1c2a39;
  background: #fff;
  border: 1px solid #e2e8ef;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(8, 21, 38, .22), 0 2px 6px rgba(8, 21, 38, .08);
  list-style: none;
  transform-origin: top right;
  animation: lf-locale-in .14s ease-out;
}
@keyframes lf-locale-in {
  from { opacity: 0; transform: translateY(-4px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.lf-locale__menu li { margin: 0; padding: 0; list-style: none; }
.lf-locale__option {
  display: flex;
  align-items: center;
  gap: .62rem;
  min-height: 36px;
  padding: .42rem .6rem .42rem .55rem;
  color: #1c2a39;
  border-radius: 7px;
  font-size: .82rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background .12s ease, color .12s ease;
}
.lf-locale__option:hover, .lf-locale__option:focus-visible { color: #14202d; background: #f3f6f9; }
.lf-locale__option.is-current {
  color: #246347;
  background: #eaf5ee;
  font-weight: 650;
  box-shadow: inset 3px 0 0 #2f8f62;
}
.lf-locale__flag {
  display: inline-block;
  flex: none;
  width: 20px;
  height: 14px;
  border: 1px solid rgba(18, 32, 48, .14);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(18, 32, 48, .12);
}
.lf-locale__flag--en {
  background:
    linear-gradient(0deg, transparent 37%, #fff 37% 42%, #cf2338 42% 58%, #fff 58% 63%, transparent 63%),
    linear-gradient(90deg, transparent 37%, #fff 37% 42%, #cf2338 42% 58%, #fff 58% 63%, transparent 63%),
    #17366d;
}
.lf-locale__flag--fr { background: linear-gradient(90deg, #183891 33%, #fff 33% 66%, #ed334c 66%); }
.lf-locale__flag--de { background: linear-gradient(#111 33%, #cc2024 33% 66%, #f5ce37 66%); }
.lf-locale__flag--it { background: linear-gradient(90deg, #15874e 33%, #fff 33% 66%, #d4283c 66%); }
.lf-locale__flag--es { background: linear-gradient(#ad202d 24%, #ffcc38 24% 76%, #ad202d 76%); }
.lf-locale__flag--zh { background: radial-gradient(circle at 25% 31%, #fada43 0 14%, transparent 16%), #d82632; }
.lf-locale-float { position: fixed; top: .65rem; right: .75rem; z-index: 900; }
@media (max-width: 42rem) {
  .okb-actions .lf-locale__name { display: none; }
  .okb-actions .lf-locale__button { min-height: 32px; padding: .25rem .4rem; }
}
