[data-phnx-language-ui]{font:14px/1.4 system-ui,sans-serif;color:#f5f5f7;--phnx-lang-bg:#202126;--phnx-lang-line:#44454c;--phnx-lang-text:#f5f5f7}
[data-theme="light"] [data-phnx-language-ui]{--phnx-lang-bg:#fff;--phnx-lang-line:#d4d5db;--phnx-lang-text:#202126}
.phnx-language-trigger{position:fixed;z-index:180;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;justify-content:center;gap:7px;min-width:66px;min-height:42px;padding:9px 12px;border:1px solid var(--phnx-lang-line);border-radius:24px;background:var(--phnx-lang-bg);color:var(--phnx-lang-text);font:600 12px/1 system-ui,sans-serif;box-shadow:0 3px 16px #0003;cursor:pointer}
.phnx-language-trigger svg{flex:none}.phnx-language-trigger:hover{filter:brightness(1.13)}
.phnx-language-dialog{position:fixed;inset:auto 18px calc(72px + env(safe-area-inset-bottom,0px)) auto;margin:0;width:min(310px,calc(100vw - 32px));max-height:calc(100dvh - 160px);overflow:auto;padding:18px;border:1px solid var(--phnx-lang-line);border-radius:18px;background:var(--phnx-lang-bg);color:var(--phnx-lang-text);box-shadow:0 16px 70px #0005;font:14px/1.4 system-ui,sans-serif;box-sizing:border-box}
.phnx-language-dialog::backdrop{background:#0006}.phnx-language-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.phnx-language-heading strong{font-size:16px}.phnx-language-close{border:0;background:transparent;color:inherit;font-size:27px;line-height:1;min-width:36px;min-height:36px;cursor:pointer}
.phnx-language-options{display:grid;gap:5px}.phnx-language-options button,.phnx-language-auto{width:100%;min-height:42px;padding:10px 12px;border:1px solid transparent;border-radius:9px;background:transparent;color:inherit;display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;font:inherit;cursor:pointer;white-space:normal}.phnx-language-options button:hover,.phnx-language-options button[aria-pressed="true"]{border-color:var(--phnx-lang-line);background:#8882}.phnx-language-auto{border-top:1px solid var(--phnx-lang-line);border-radius:0;margin-top:10px;font-size:12px}
[data-phnx-language-ui] button:focus-visible{outline:2px solid #ed446b;outline-offset:3px}
:fullscreen .phnx-language-trigger{display:none}
@media(max-width:700px){.phnx-language-trigger{right:12px;bottom:calc(86px + env(safe-area-inset-bottom,0px));min-height:40px}.phnx-language-dialog{right:12px;bottom:calc(138px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 165px)}}
@media print{[data-phnx-language-ui]{display:none!important}}
