#poki-header-language{display:flex;align-items:center;justify-content:flex-end;min-width:112px;flex:none}
#poki-header-language .gm-language-widget{position:relative;inset:auto;z-index:30}
#poki-header-language .gm-language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:6px 10px;border:1px solid #3e6389;border-radius:9px;white-space:nowrap;font-size:13px}
#poki-header-language .gm-language-icon{width:20px;height:20px;font-size:12px}
#poki-header-language .gm-language-panel{position:absolute;top:calc(100% + 8px);right:0;bottom:auto;left:auto;width:min(260px,calc(100vw - 32px));max-height:65dvh;overflow:auto;box-shadow:0 8px 22px #0007}
#poki-header-language .gm-language-options{display:grid;grid-template-columns:1fr}
#poki-header-language .gm-language-options button{min-height:34px;text-align:left}
body:has(#poki-header-language .gm-language-toggle)>a.edit-game-btn[href*="google.com/search?q=site:"]{right:134px!important}
@media(max-width:767px){
  #poki-header-language{min-width:65px}
  #poki-header-language .gm-language-toggle{min-height:36px;padding:6px 8px;font-size:12px}
  #poki-header-language .gm-language-icon{display:none}
  body:has(#poki-header-language .gm-language-toggle)>a.edit-game-btn[href*="google.com/search?q=site:"]{top:auto!important;bottom:16px!important;right:16px!important}
}

@media(max-width:360px){#header:has(#poki-header-language .gm-language-toggle) .poki-install-direct{left:100px}}

@media(min-width:361px) and (max-width:767px){#header:has(#poki-header-language .gm-language-toggle) .poki-install-direct{left:122px}}

#poki-header-language{--language-bg:#211e35;--language-row:#2d2946;--language-active:#403665;--language-border:#7760bc;--language-text:#faf5ff}
#poki-header-language .gm-language-toggle{background:var(--language-row)!important;color:var(--language-text)!important;border-color:var(--language-border)!important}
#poki-header-language .gm-language-current-flag,#poki-header-language .gm-language-options img{width:24px;height:16px;object-fit:cover;border-radius:3px;flex:none}
#poki-header-language .gm-language-chevron{width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);margin:0 2px 3px}
#poki-header-language .gm-language-toggle[aria-expanded=true] .gm-language-chevron{transform:rotate(225deg);margin-top:4px}
#poki-header-language .gm-language-panel{background:var(--language-bg)!important;color:var(--language-text)!important;border:1px solid var(--language-border)!important;max-height:min(74dvh,580px);color-scheme:dark}
#poki-header-language .gm-language-panel strong{color:inherit}
#poki-header-language .gm-language-panel button{background:var(--language-row)!important;color:var(--language-text)!important;border-color:transparent!important}
#poki-header-language .gm-language-options button{display:flex;align-items:center;gap:8px;min-height:34px;text-align:left}
#poki-header-language .gm-language-options button[aria-pressed=true],#poki-header-language .gm-language-panel button:hover{background:var(--language-active)!important;border-color:var(--language-border)!important}
#poki-header-language .gm-language-options button[aria-pressed=true]::after{content:"";margin-left:auto;width:6px;height:11px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
@media(max-width:767px){#poki-header-language .gm-language-toggle-label{display:none}}
