/* V52: language switch only. A thin glass lens, not a filled colour badge.
   The visible lens is inset within unchanged 44px native link targets. */
body .language-pill,
body[data-page=home] .language-pill{position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:1px;min-height:44px;padding:0 3px;border:0!important;border-radius:24px;background:none!important;box-shadow:none}
body .language-pill::before,
body[data-page=home] .language-pill::before{content:'';position:absolute;inset:6px 0;z-index:-1;border:1px solid #c8e0ee38;border-radius:24px;background:#102438;box-shadow:inset 0 1px 0 #ffffff12,0 2px 8px #00000014;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none}
body .language-pill a,
body[data-page=home] .language-pill a{position:relative;isolation:isolate;display:grid;place-items:center;min-width:44px;min-height:44px;padding:0 5px;border:0;border-radius:22px;background:transparent!important;color:#d4e2eb!important;-webkit-text-fill-color:#d4e2eb!important;font-size:11px;line-height:1.2;font-weight:400;text-shadow:none!important;box-shadow:none!important;filter:none!important;text-align:center;touch-action:manipulation;transition:color .18s ease}
body .language-pill a::before,
body[data-page=home] .language-pill a::before{content:'';position:absolute;inset:9px 1px;z-index:-1;border:1px solid transparent;border-radius:20px;background:transparent;box-shadow:none;pointer-events:none;transition:background .18s ease,border-color .18s ease}
body .language-pill a[aria-current],
body .language-pill a[aria-current]:is(:hover,:focus-visible,:active,.is-touch-pressed,.is-interaction-pressed){background:transparent!important;color:#f1fafc!important;-webkit-text-fill-color:#f1fafc!important;font-weight:600;text-shadow:none!important}
body .language-pill a[aria-current]::before,
body[data-page=home] .language-pill a[aria-current]::before{inset:9px 1px;border-color:#d9edf624;background:#d0e8f410;box-shadow:inset 0 1px 0 #ffffff0d}
@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){
 body .language-pill::before,
 body[data-page=home] .language-pill::before{background:linear-gradient(135deg,#c0ddef0f,#0a192c20),#0c1e30b8;-webkit-backdrop-filter:blur(12px) saturate(115%);backdrop-filter:blur(12px) saturate(115%)}
}
@media(hover:hover) and (pointer:fine){
 body .language-pill a:hover{background:transparent!important;color:#f1fafc!important;-webkit-text-fill-color:#f1fafc!important}
 body .language-pill a:hover::before{border-color:#d9edf63b;background:#d0e8f41a}
}
body .language-pill a:focus-visible{background:transparent!important;color:#f1fafc!important;-webkit-text-fill-color:#f1fafc!important;outline:2px solid #c5e4ec;outline-offset:2px}
body .language-pill a:is(:active,.is-touch-pressed,.is-interaction-pressed){background:transparent!important;color:#f1fafc!important;-webkit-text-fill-color:#f1fafc!important}
body .language-pill a:is(:active,.is-touch-pressed,.is-interaction-pressed)::before{border-color:#d9edf64d;background:#d0e8f420}
@media(prefers-reduced-motion:reduce){body .language-pill a,body .language-pill a::before,body[data-page=home] .language-pill a,body[data-page=home] .language-pill a::before{transition:none!important}}
@media(prefers-reduced-transparency:reduce){
 body .language-pill::before,
 body[data-page=home] .language-pill::before{background:#102438!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
@media(forced-colors:active){
 body .language-pill::before,
 body[data-page=home] .language-pill::before{background:Canvas!important;border-color:ButtonText!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}
 body .language-pill a,body[data-page=home] .language-pill a,body .language-pill a:is(:hover,:focus-visible,:active,.is-touch-pressed,.is-interaction-pressed){background:transparent!important;color:ButtonText!important;-webkit-text-fill-color:currentColor!important}
 body .language-pill a::before{background:transparent!important;box-shadow:none!important}
 body .language-pill a[aria-current],body .language-pill a[aria-current]:is(:hover,:focus-visible,:active,.is-touch-pressed,.is-interaction-pressed){color:HighlightText!important;-webkit-text-fill-color:currentColor!important}
 body .language-pill a[aria-current]::before,
 body[data-page=home] .language-pill a[aria-current]::before{background:Highlight!important;border-color:Highlight!important}
 body .language-pill a:focus-visible{outline-color:Highlight!important}
}
