.cs-header .presentation-language,
.eco .eco-header .presentation-language,
.eco .eco-toolbar .presentation-language {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0 0 0 auto;
  flex: none;
  font: 13px/1.55 Inter, Arial, sans-serif;
  color: #777;
}

.presentation-language :is(a, [aria-current="page"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 3px;
  color: #555;
  text-decoration: none;
}

.presentation-language :is(a:hover, [aria-current="page"]) {
  color: #161616;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.presentation-language a:focus-visible {
  outline: 2px solid #161616;
  outline-offset: 3px;
}

@media (max-width: 650px) {
  .eco .eco-header:has(.presentation-language) {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .eco-header > nav:not(.presentation-language) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .eco-header > .presentation-language {
    grid-column: 2;
    grid-row: 1;
  }

  .cs-header:has(.presentation-language) .cs-account {
    display: none;
  }
}

.km-deck .bar .presentation-language {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex: none;
  font: 13px/1.55 Inter, Arial, sans-serif;
  color: #777;
}

.km-deck .bar .presentation-language button {
  min-width: 44px;
  min-height: 44px;
  padding: 6px 3px;
  background: transparent;
  border: 0;
  color: #555;
  font: inherit;
}

.km-deck .bar .presentation-language button:is(:hover, [aria-pressed="true"]) {
  color: #161616;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.km-deck .bar .presentation-language button:focus-visible {
  outline: 2px solid #161616;
  outline-offset: 3px;
}
