/* Keep native frames and typography. The wordmark is independent from the header sprite. */
.branding-outgame #header h1 a{background:none!important;text-indent:0}.site-brand-logo{display:block;width:260px;height:80px;object-fit:contain}.game-brand-logo{display:block;width:190px;height:70px;object-fit:contain;background:transparent}.branding-outgame #start{min-height:0;height:auto!important;margin:0 auto;padding-bottom:0;display:flow-root}.branding-outgame #content{display:flow-root}.branding-outgame #push{height:16px;clear:both}.branding-outgame #footer{position:relative;clear:both;min-height:110px;height:auto;margin-top:12px;padding-bottom:10px}.branding-tabs .branding-disabled{display:block;line-height:33px;text-align:center;color:#64717c}.branding-outgame .branding-media figure{margin:0 0 14px}.branding-media img{display:block;max-width:100%;height:auto}.branding-media figcaption{font-size:11px;margin-top:5px}.admin-brand-preview{object-fit:contain;max-width:190px;max-height:75px;background:#070b10;border:1px solid #26394b}.mission-ready-badge{display:inline-flex;align-items:center;justify-content:center;width:20px;min-width:20px;height:20px;padding:0;border-radius:50%;box-sizing:border-box;flex-shrink:0;background:#207536;border:1px solid #8abe72;color:#e6ffe0;font:bold 10px Arial,sans-serif;text-shadow:0 1px #174426;box-shadow:0 0 3px #050b03;vertical-align:middle;margin-left:4px;position:relative;z-index:1}.mission-ready-badge[hidden]{display:none}.ipiMenuHead .mission-ready-badge{float:right;margin:3px 4px 0 0}.ogl_spytable{max-width:100%;box-sizing:border-box}.ogl_spyTableName{min-width:0;overflow:hidden;text-overflow:ellipsis}.ogl_spyTableName a{overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap}
.branding-outgame #start{background-image:url(/img/branding/login-clean-170.png)}
.branding-outgame #loginNews .login-news-feed{max-height:none;overflow:visible;padding-right:0}
/* Remove only the embedded old wordmark; preserve the native header atlas. */
.ogame #top{background-image:none}
.ogame #top::before{content:"";position:absolute;left:0;top:0;width:100%;height:143px;background:url('/img/icons/0d9cdd8b2ddfd7664a3e29c86a1436.png') no-repeat 0 0;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 100px,190px 100px,190px 30px,0 30px);pointer-events:none}
.branding-native-menu #tabs .active-tab a{color:#91b0c4}
/* Four lobby sections share the original tab strip without a wrapped row. */
#contentWrap .lobby-native #lobbyTabs{display:flex;width:440px;max-width:calc(100% - 17px)}
#contentWrap .lobby-native #lobbyTabs li{float:none;flex:1 1 0;min-width:0;width:auto}

/* Keep the footer below the entire native 1404 × 844 background (offset 32px). */
.branding-outgame #start{min-height:876px;box-sizing:border-box}
.branding-outgame #footer{margin-top:0}
.branding-native-menu #tabs{display:flex;float:none;width:440px;max-width:calc(100% - 17px)}
.branding-native-menu #tabs>li{float:none;flex:0 0 110px;min-width:0;width:110px}
.branding-native-menu #tabs a,.branding-native-menu #tabs .branding-disabled{box-sizing:border-box;display:block;width:100%;padding:0;line-height:33px;text-align:center}

/* 1.74: stretch the native middle/footer frame down to the illustration. */
.branding-outgame #contentWrap>#menu{display:flex;flex-direction:column;min-height:734px}
.branding-outgame #contentWrap>#menu>br.clearfloat{display:none}
.branding-outgame #contentWrap>#menu>ul{flex:none}
.branding-outgame #tabContentContainer{display:flex;flex:1;min-width:0}
.branding-outgame #tabContentContainer>.tabContent{display:flex;flex:1;flex-direction:column;box-sizing:border-box;width:480px;min-width:0}
.branding-outgame #ajaxContent{display:flex;flex:1;flex-direction:column;min-width:0}
.branding-outgame #ajaxContent>.inner-box:last-child{flex:1}
.branding-outgame #contentFooter{background:url(/img/outgame/de8b29a965ae085e8f3cdfcc63fb8e.gif) no-repeat;height:240px;width:487px;flex:none}
.branding-outgame .branding-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.branding-outgame .branding-media figure{margin:0;min-width:0;background:#15212d;border:1px solid #34485a;padding:4px}
.branding-outgame .branding-media img{width:100%;aspect-ratio:4/3;object-fit:contain;display:block}
.branding-outgame .branding-media figcaption{padding:5px 2px;color:#9aafbc;overflow-wrap:anywhere}
.branding-outgame .branding-media .branding-media-empty{grid-column:1/-1}
.branding-outgame .branding-forum{padding:12px 0}

/* Native atlas: four 110px tabs, one 33px row per active state. */
.branding-outgame #menu.branding-native-menu[data-native-tab=home]{background-position:15px -33px}
.branding-outgame #menu.branding-native-menu[data-native-tab=media]{background-position:15px -66px}
#contentWrap .lobby-native #lobbyTabs li{flex:0 0 110px;width:110px}
.branding-outgame #menu.lobby-native[data-native-tab="1"]{background-position:15px -33px}
.branding-outgame #menu.lobby-native[data-native-tab="2"]{background-position:15px -66px}
.branding-outgame #menu.lobby-native[data-native-tab="3"]{background-position:15px -99px}
.branding-outgame #menu.lobby-native[data-native-tab="4"]{background-position:15px -132px}
.branding-outgame #lobbyTabs .active-tab a{color:#91b0c4}

.login-introduction{white-space:pre-line}
#planetOptions .vote-overview-link{float:right;margin:4px 12px;font-size:11px}#resources_darkmatter.vote-link{color:inherit;text-decoration:none}

