html,body{width:100%;height:100%;margin:0;overflow:hidden}
#gameViewport{position:fixed;inset:0;overflow-y:scroll;overflow-x:auto;scrollbar-width:auto;scrollbar-color:#ad6655 #171e16;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;scroll-padding-bottom:90px}
#gameViewport::-webkit-scrollbar{width:16px;height:14px}#gameViewport::-webkit-scrollbar-track{background:#171e16}#gameViewport::-webkit-scrollbar-thumb{background:#ad6655;border:3px solid #171e16;border-radius:6px}
#gameViewport .empire,#gameViewport .buildings{scrollbar-width:auto;scrollbar-color:#ad6655 #171e16}
#gameViewport .legal-footer{padding-bottom:90px}
/* Keep wheel/touch scrolling on the cortex without its outer rail. */
#gameViewport.base-screen{scrollbar-width:none!important;scrollbar-gutter:auto}
#gameViewport.base-screen::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
#gameViewport .neural-meter{margin-top:12px;margin-bottom:16px;flex-shrink:0}
#languageSwitch{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
#languageSwitch .language-option{display:inline-flex;align-items:center;gap:5px;opacity:.65}
#languageSwitch .language-option.current{opacity:1;color:#edc49d}
#languageSwitch svg{width:21px;height:14px;display:block;border:1px solid #826550;shape-rendering:crispEdges;box-shadow:1px 1px #090d08}
