.language-picker {
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(227, 184, 90, .25);
  border-radius: 16px;
  background: rgba(3, 15, 10, .65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.language-picker a[data-language] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 11px;
  color: #c9d4cd;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color .15s ease, color .15s ease;
}
.language-picker a[data-language]:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}
.language-picker a[data-language][aria-current="page"] {
  color: #201a0c;
  background: #e3b85a;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .2);
}
.language-picker a[data-language]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
#ageGate .language-picker {
  display: flex;
  width: 100%;
  max-width: 328px;
  margin: 0 auto 22px;
}
#ageGate .language-picker a[data-language] { padding-inline: 6px; font-size: 13px; }
.language-select { display: none; }
@media (max-width: 640px) {
  header > nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px !important;
  }
  header > nav > a:first-child { grid-column: 1; grid-row: 1; min-width: 0; gap: 7px !important; }
  header > nav > a:first-child svg { width: 28px; min-width: 28px; }
  header > nav > a:first-child .disp { font-size: clamp(16px, 4.4vw, 22px) !important; }
  header > nav > :not(a):not(.language-picker) { grid-column: 1 / -1; }
  header > nav .language-picker { grid-column: 2; grid-row: 1; justify-self: end; }
  .language-picker.has-language-select,
  #ageGate .language-picker.has-language-select {
    display: block;
    width: 64px;
    padding: 0;
    border: 0;
    border-radius: 9px;
  }
  #ageGate .language-picker.has-language-select { margin: 0 0 14px auto; }
  .language-picker.has-language-select a[data-language] { display: none !important; }
  .language-select {
    display: block;
    width: 64px;
    min-height: 36px;
    padding: 0 20px 0 8px;
    border: 1px solid rgba(227, 184, 90, .45);
    border-radius: 9px;
    appearance: none;
    -webkit-appearance: none;
    background: #102b1e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23e3b85a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 12px 8px no-repeat;
    color: #e3b85a;
    background-position: right 7px center;
    background-size: 10px 7px;
    font: 800 12px Manrope, sans-serif;
    cursor: pointer;
  }
  .language-select:focus-visible { outline: 2px solid #e3b85a; outline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .language-picker a[data-language] { transition: none; }
}
