body {
	background: #ff6347;
    margin: 0;
    padding: 0;
	overflow-x:hidden;
	overflow-wrap:break-word;
	-moz-osx-font-smoothing:grayscale;
	-webkit-font-smoothing:antialiased
	}
*,*::before,*::after {
	outline:none;
	box-sizing:border-box
	}
  h2, h3, h4, h5, h6 {
      color: #fff;
  }
  h1 {
      color: #ff2700;
  }
  #header [data-row]>div {
      border: none !important;
  }
  #header [data-row*=middle] {
      max-height: 75px;
  }
  #App {
	  display: flex;
      width: 100%;
      max-width: 100%;
      position: relative;
      min-height: 100vh;
	  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      font-size: 16px;
      flex-direction: column;
	  margin-bottom: 0px;
	  padding: 10px 12px 16px 12px;
      align-items: center;
      background: linear-gradient(180deg,#0a0e14 0%, #11161f 100%);
      color: #e6edf3;
      box-sizing: border-box;
  }
  #App *, #App *::before, #App *::after { box-sizing: border-box; }

  #GameHeader {
      width: 100%;
      max-width: 100%;
      margin-bottom: 0px;
      padding: 6px 12px 8px 12px;
	  text-align: center;
      flex: 0 0 auto;
  }
  #GameHeader h1 {
	  font-family: "Press Start", system-ui;
      font-size: 36px;
      line-height: 1;
      letter-spacing: 1px;
	  margin: 0 0 10px 0;
  }
  #PageLayout {
	  display: flex;
      flex-wrap: nowrap;
      width: 100%;
      max-width: 100%;
      margin-bottom: 0px;
      align-items: flex-start;
      justify-content: center;
      gap: 16px;
  }
  .SideAds {
      display: flex; 
      flex: 0 0 300px;
      background: #fff;
      color: #8b98a5; 
      width: 300px;
      height: 600px;
      border-radius: 8px;
      align-items: center;
      justify-content: center;
      overflow: hidden;
  }
  .horizontalads {
      display: flex; 
      background: #fff;
      color: #8b98a5; 
      width: 920px;
      height: 90px;
	  margin-top:40px;
      border-radius: 8px;
      align-items: center;
      justify-content: center;
      overflow: hidden;
  }
  #GameStage {
      position: relative;
      overflow: hidden;
      width: 920px;
      max-width: 100%;
      height: 560px;
      border-radius: 14px;
      border: 2px solid #30363d;
      background: linear-gradient(180deg, #0b1020 0%, #131a2e 100%);
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
      flex: 0 0 auto;
  }
body.fullscreen #game {
    max-width: 100%;
    height: 650px;
    border: none;
    position: static;
    margin: 0;
}
body.fullscreen #out_editor {
    position: static;
}
body.fullscreen #out_mapselect {
    position: static;
}
body.fullscreen #go-back {
    position: static;
}
body.fullscreen #go-back a {
    color: #fff;
    text-decoration: none;
}
body.fullscreen .adsbygoogle {
    text-align: center;
}
#game {
    background: #000;
    display: block;
    width: 100%;
    max-width: 848px;
    height: 509px;
    position: relative;
    margin: 20px auto 10px;
    border: 10px solid #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#game.mobilegame {
    border: none;
    max-width: 848px;
    height: 528px;
}
#after {
    margin: 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bar1 {
    cursor: pointer;
    margin: 10px;
    text-align: center;
}
#out_mapselect {
    color: #ffae00;
	font-family: "Press Start", system-ui;
}
#in_editor {
    color: #fff;
}
#out_keymapping {
    margin: 7px auto;
}
#full-screen a {
    color: #ffae00;
    text-decoration: none;
}
#in_keymapping:hover {
    height: 400px;
}
#in_keymapping input {
    width: 80px;
    margin-right: 20px;
    float: right;
    font-family: "Press Start", system-ui;
    text-transform: uppercase;
}
#in_keymapping input:focus {
    background-color:#0099ff;
}
.expander {
    margin-top: 20px;
    padding: 7px;
    width: 280px;
    height: 24px;
    display: none;
    z-index: 98;
    background: #009966;
    border: 3px solid #99ffcc;
    border-radius: 7px;
    box-shadow: 0 3px 7px black inset;
    font-size: 14px;
	font-weight: 600;
    margin: 0 10px;
    position: absolute;
}
.bar1:hover .expander {
    margin-top: -294px;
    height: 280px;
    display: block;
}
.bar1 div.label {
    margin: 0;
    font-size: 12px;
	font-family: "Press Start", system-ui;
}
.maprectout {
    margin: 1px 3px;
    display: inline-block;
    background: #ffcc33;
    border: 3px outset;
    cursor: pointer;
    color: black;
    font-size: 13px;
}
.maprect {
    width: 49px;
    height: 20px;
}
.maprect.off {
    background: #996600;
}
.maprect.big {
    width: 231px;
}
.maprect.larger {
    margin: 14px 0;
}
.maprect.giant {
    padding: 28px 0 70px 0;
    font-size: 17px;
    line-height: 210%;
}
.clearfix {
    clear: both;
}
  #ContentLayout {
      width: 100%;
      max-width: 100%;
      background: #161b22;
      color: #e6edf3;
      padding: 40px 16px 60px 16px;
      margin-top: 24px;
	  margin-bottom: 0px;
  }
  #ContentLayout .ContentInner {
      max-width: 900px;
      margin: 0 auto;
  }
  #ContentLayout h2 {font-size: 22px; margin: 28px 0 10px 0;}
  #ContentLayout h3 {font-size: 20px; margin: 20px 0 8px 0;}
  #ContentLayout p, #ContentLayout li {font-size: 16px; line-height: 1.2;}
.footer {
   position:relative;
   background: #060606;
   color: #535353;
   bottom:0;
   width:100%;
   height:50px;
   padding: 15px;
   text-align: center;
}
  @media (max-width: 1450px) {
      #AdsRight { display: none; }
  }
  @media (max-width: 1150px) {
      #AdsLeft { display: none; }
  }
  @media (max-width: 850px) {
      #App { justify-content: center; }
      #GameWrap { width: 100%; }
      #GameStage { width: 100%; height: 400px; }
      #GameHeader h1 { font-size: 36px; }
      .horizontalads { display: none !important; }
      body{overflow:auto;}
  }
  #App#GameWrap { width: 100%; }
  #App#GameStage { width: 100%; height: 400px; }
  #App.horizontalads { display: none !important; }
  #App.SideAds { display: none !important; }
  @media (max-width: 520px) {
  #GameHeader h1 { font-size: 28px; }
  body{overflow:auto;}
  }