.guest-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
  max-width: 100%;
  min-width: 0;
}
.guest-langs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 252, 248, 0.88);
  color: #1c2430;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
}
.guest-langs a img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.guest-langs a[aria-current="true"] {
  border-color: var(--pine);
  box-shadow: 0 0 0 1px var(--pine);
}
.guest-langs.is-hero {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  margin: 0;
  max-width: calc(100% - 20px);
}
.guest-hero:not(.has-photo) .guest-langs.is-hero {
  position: static;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 10px auto;
}
.site-head .guest-langs {
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: min(280px, 48vw);
  margin-left: auto;
  scrollbar-width: none;
}

@media (max-width: 1180px) {
  .site-head .guest-langs {
    flex-basis: 100%;
    max-width: none;
    justify-content: flex-end;
  }
}
.site-head .guest-langs::-webkit-scrollbar { display: none; }
.gate-bar {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.gate-bar .guest-langs { margin: 0; }
