/* v16: natural document flow for window contents; scoped to existing surfaces. */
body.obcy-admin-page.ogame #pageContent #middle #planet,
body.obcy-admin-page.ogame #pageContent #middle #planet.shortHeader,
body.obcy-admin-page.ogame #pageContent #middle .planet-header{
 position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important;margin:0 0 16px!important;padding:18px 12px!important;background-image:none!important;
}
body.obcy-admin-page.ogame #pageContent #middle #planet h2{
 position:static!important;inset:auto!important;float:none!important;display:block!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;overflow-wrap:anywhere!important;line-height:1.4!important;font-size:24px!important;width:100%!important;margin:0!important;padding:0!important;
}
/* A second copy of the same page title occupied the next panel. */
body.obcy-admin-page.ogame #pageContent #middle #buttonz>.header{display:none!important}
body.obcy-admin-page.ogame #obcySupportFab{position:static!important;inset:auto!important;width:max-content!important;margin:20px auto!important;min-height:44px!important}
/* The original form retained 195px height while its controls became taller. */
#start #header #login #loginForm{
 position:static!important;inset:auto!important;float:none!important;display:flow-root!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;box-sizing:border-box!important;
}
#start #header #login{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;box-sizing:border-box!important}
#start #header #login .input-wrap,#start #header #login .black-border{position:static!important;float:none!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 14px!important;padding:0!important;background:none!important;box-sizing:border-box!important}
#start #header #login .black-border{margin:0!important;border:0!important}
#start #header #login label{position:static!important;height:auto!important;line-height:1.4!important;white-space:normal!important;margin:0 0 8px!important}
#start #header #login input:not([type=hidden]),#start #header #login select{width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;font-size:16px!important;line-height:1.4!important;padding:10px 12px!important;box-sizing:border-box!important}
#start #header #login #loginSubmit{margin:16px 0!important}
#start #header #login #pwLost,#start #header #login #emailLost{display:flex!important;align-items:center!important;min-height:44px!important;height:auto!important;white-space:normal!important;line-height:1.4!important;font-size:14px!important;overflow-wrap:anywhere!important;padding:6px 0!important;background:none!important}
#start #header #login #TermsAndConditionsAcceptWithLogin{margin:12px 0 0!important;line-height:1.5!important;overflow-wrap:anywhere!important}
#start #header #login br{display:none!important}
#start #header #login input:-webkit-autofill{-webkit-text-fill-color:#eaf6ff!important;-webkit-box-shadow:0 0 0 1000px #091b2a inset!important}
#start #header #login:focus-within{z-index:100!important}
.ui-dialog{position:fixed!important;top:max(8px,env(safe-area-inset-top))!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;box-sizing:border-box!important;overflow:auto!important}
@media(max-width:820px){
 #start #header #login{position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;margin:0!important}
 #start #header{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
 .ui-dialog{position:fixed!important;left:8px!important;right:8px!important;top:max(8px,env(safe-area-inset-top))!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;min-width:0!important;max-height:calc(100dvh - 16px)!important;box-sizing:border-box!important;overflow:auto!important}
 .ui-dialog .ui-dialog-titlebar{height:auto!important;min-height:44px!important;padding-right:48px!important;box-sizing:border-box!important}
 .ui-dialog .ui-dialog-title{float:none!important;width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.4!important}
 .ui-dialog .ui-dialog-titlebar-close{width:40px!important;height:40px!important;right:2px!important;top:2px!important;margin:0!important}
 .ui-dialog .ui-dialog-content{max-width:100%!important;max-height:calc(100dvh - 80px)!important;min-height:0!important;height:auto!important;overflow:auto!important;padding:12px!important;box-sizing:border-box!important}
 .ui-dialog .ajaxContent,.ui-dialog form,.ui-dialog fieldset,.ui-dialog textarea,.ui-dialog input,.ui-dialog select{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .ui-dialog input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.ui-dialog select,.ui-dialog button,.ui-dialog .btn_blue{height:auto!important;min-height:44px!important;font-size:16px!important;line-height:1.4!important;white-space:normal!important}
 .ui-dialog textarea{width:100%!important;min-height:100px!important;font-size:16px!important}
 .ui-dialog #createNote,.ui-dialog #createNote table,.ui-dialog #createNote tbody,.ui-dialog #createNote tr,.ui-dialog #createNote th,.ui-dialog #createNote td{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;box-sizing:border-box!important;text-align:left!important}
 .ui-dialog #createNote th{padding:8px 0!important}
 .ui-dialog #createNote textarea,.ui-dialog #createNote input:not([type=hidden]),.ui-dialog #createNote select{float:none!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 .ui-dialog .searchLayer,.ui-dialog .searchLayer .messagebox,.ui-dialog .searchLayer #netz,.ui-dialog .searchLayer #message,.ui-dialog .searchLayer #inhalt,.ui-dialog .searchLayer .contentz,.ui-dialog .searchLayer .searchall{width:100%!important;min-width:0!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
 .ui-dialog .searchLayer .subsection_tabs{display:flex!important;flex-wrap:wrap!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important}
 .ui-dialog .searchLayer .subsection_tabs li{float:none!important;max-width:100%!important}
 .ui-dialog .technology-fullrow{display:flex!important;align-items:center!important;width:100%!important;min-height:44px!important;height:auto!important;gap:8px!important;box-sizing:border-box!important}
 .ui-dialog .technology-fullrow>span{flex:1!important;min-width:0!important;overflow-wrap:anywhere!important;white-space:normal!important;line-height:1.4!important}
 .ui-dialog .technology-fullrow>server-settings-icon,.ui-dialog .technology-fullrow>.emoji{flex-shrink:0!important}
 .fancybox-slide>*{max-width:calc(100vw - 24px)!important;box-sizing:border-box!important}
}

.obcy-premium-card>.officers100{display:block!important;width:100px!important;height:100px!important;margin:0 0 12px!important;background-repeat:no-repeat!important}

/* v16.0.2: footer links must remain reachable when they wrap to another row. */
body.ogame #siteFooter{position:static!important;inset:auto!important;clear:both!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;z-index:auto!important;box-sizing:border-box!important}
body.ogame #siteFooter .content{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:8px 24px!important;width:100%!important;max-width:1180px!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:12px!important;box-sizing:border-box!important}
body.ogame #siteFooter .content>.fleft,body.ogame #siteFooter .content>.fright{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;float:none!important;max-width:100%!important;min-width:0!important;height:auto!important}
body.ogame #siteFooter a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;max-width:100%!important;margin:0 4px!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important;box-sizing:border-box!important}
/* Keep the close control reachable while scrolling long dialog contents. */
.ui-dialog .ui-dialog-titlebar{position:sticky!important;top:0!important;z-index:2!important;min-height:48px!important;height:auto!important;padding:12px 56px 12px 12px!important;box-sizing:border-box!important}
.ui-dialog .ui-dialog-title{display:block!important;float:none!important;width:auto!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.4!important}
.ui-dialog .ui-dialog-titlebar-close{position:absolute!important;top:2px!important;right:2px!important;z-index:3!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important}
