/* lang-switcher.css — compact dropdown with anchors, no bullets */
.lang-switcher{position:relative;display:inline-block;margin-left:16px}

/* Toggle button */
.lang-switcher .ls__btn{
  display:inline-flex;align-items:center;gap:.45rem;
  padding:.35rem .6rem;border:1px solid #e3e6eb;border-radius:.5rem;
  background:#fff;cursor:pointer;font:inherit;line-height:1;user-select:none
}
.lang-switcher .ls__btn:focus-visible{outline:2px solid #1c1f27;outline-offset:2px}
.lang-switcher .ls__icon{font-size:1rem}
.lang-switcher .ls__caret{width:10px;height:10px;display:inline-block}

/* Menu panel */
.lang-switcher .ls__menu{
  position:absolute;right:0;top:calc(100% + .35rem);min-width:14rem;
  background:#fff;border:1px solid #e3e6eb;border-radius:.5rem;
  padding:.25rem;margin:0;box-shadow:0 8px 24px rgba(0,0,0,.08);
  display:none;z-index:1000
}
.lang-switcher[data-open="1"] .ls__menu{display:block}
.lang-switcher .ls__list{list-style:none;margin:0;padding:0}
.lang-switcher .ls__item{list-style:none;margin:0}
.lang-switcher .ls__link{
  display:flex;justify-content:space-between;gap:.75rem;
  padding:.5rem .6rem;border-radius:.375rem;text-decoration:none;color:inherit
}
.lang-switcher .ls__link:hover,
.lang-switcher .ls__link:focus{background:#f4f6fa}
.lang-switcher .ls__link[aria-current="true"]{font-weight:600}
.lang-switcher .ls__code{opacity:.6;font-variant:small-caps}

@media (max-width:480px){
  .lang-switcher .ls__btn{padding:.3rem .5rem}
  .lang-switcher .ls__menu{min-width:11rem}
}
