/* v340 — EN / ES control has no enclosing panel; selected language has a green fill.
   Only the text contrast changes with the active background.
   Position, dimensions, language logic and touch targets are unchanged. */
html body > .language-switch{
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-left:0!important;
  box-shadow:none!important;
  color:#e9edf0!important;
  -webkit-text-fill-color:#e9edf0!important;
}
html body > .language-switch button.language-choice,
html body > .language-switch button.language-choice:is(.is-current,[aria-pressed="true"]),
html body > .language-switch button.language-choice:hover,
html body > .language-switch button.language-choice:not(.is-current){
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  color:#e9edf0!important;
  -webkit-text-fill-color:#e9edf0!important;
}
html body > .language-switch .language-divider{
  color:#e9edf0!important;
  -webkit-text-fill-color:#e9edf0!important;
  opacity:1!important;
}
html body > .language-switch button.language-choice:is(.is-current,[aria-pressed="true"]){
  text-decoration:underline!important;
  text-underline-offset:4px!important;
  text-decoration-thickness:2px!important;
}
html body:has(#work.active:is([data-cat="animation2d"],[data-cat="storyboard"]))
  > .language-switch,
html body:has(#work.active:is([data-cat="animation2d"],[data-cat="storyboard"]))
  > .language-switch .language-divider,
html body:has(#work.active:is([data-cat="animation2d"],[data-cat="storyboard"]))
  > .language-switch button.language-choice,
html body:has(#work.active:is([data-cat="animation2d"],[data-cat="storyboard"]))
  > .language-switch button.language-choice:is(.is-current,[aria-pressed="true"]),
html body:has(#work.active:is([data-cat="animation2d"],[data-cat="storyboard"]))
  > .language-switch button.language-choice:not(.is-current){
  color:#101418!important;
  -webkit-text-fill-color:#101418!important;
}

/* v340 — Restore the persistent neon selection chip for both languages.
   The group stays transparent and the inactive label follows the section
   background. A dark selected label remains legible in every section. */
html body > .language-switch button.language-choice:is(.is-current,[aria-pressed="true"]),
html body:has(#work.active:is([data-cat="animation2d"],[data-cat="storyboard"]))
  > .language-switch button.language-choice:is(.is-current,[aria-pressed="true"]){
  background:#d2ff4a!important;
  background-color:#d2ff4a!important;
  background-image:none!important;
  color:#101a20!important;
  -webkit-text-fill-color:#101a20!important;
  text-decoration:none!important;
}
