html,
body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    line-height: 150%;
    font-size: 15px;
    color: #5d5d5d
}

body {
    background: #f7f7f7;
    height: auto
}
ul,li{
    list-style: none;
}
.icon {
    -webkit-user-select: none;
    display: inline-block
}

.icon-offline {
    content: -webkit-image-set(url(default_100_percent/offline/100-error-offline.png) 1x, url(default_200_percent/offline/200-error-offline.png) 2x);
    position: relative
}

.hidden {
    display: none
}

.offline .interstitial-wrapper {
    position: relative;
    color: #2b2b2b;
    font-size: 1em;
    line-height: 1.55;
    margin: 0 auto 100px;
    max-width: 600px;
    width: 100%
}

.offline .runner-container {
    height: 150px;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    width: 44px
}

.offline .runner-canvas {
    height: 150px;
    max-width: 600px;
    opacity: 1;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 2
}

.offline .controller {
    background: rgba(247, 247, 247, .1);
    height: 100vh;
    left: 0;
    position: absolute;
    top: 0;
    width: 100vw;
    z-index: 1
}

#offline-resources {
    display: none
}

.desc,
.sec,
footer {
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    padding: 30px 5px;
    box-sizing: border-box
}

.sec {
    padding: 0;
    display: table;
    background: #efefef;
    border-radius: 5px;
    margin-top: 150px
}

body.offline.night .sec {
    background: #252525
}

body.offline.night.nyan .sec {
    background: #090f2b
}

.controlsec {
    margin: 40px auto 0;
    width: 100%;
    max-width: 600px;
    text-align: right;
    padding: 10px;
    box-sizing: border-box
}

img.logo {
    float: left;
    width: 125px;
    height: 125px;
    margin-right: 20px;
    margin-bottom: 20px;
    background-position: 2px 2px;
    background-size: contain;
    background-clip: border-box;
    border-radius: 50%;
    shape-outside: border-box circle(50%);
    shape-margin: 20px;
    border: 5px solid #fff
}

a:hover {
    text-decoration: none
}

footer {
    text-align: center
}

.desc h1 {
    font-family: Helvetica, sans-serif;
    font-size: 26px;
    color: #333
}

.sec h2 {
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    line-height: 150%;
    font-size: 15px;
    color: #5d5d5d;
    font-weight: normal;
    margin-top: 20px
}

#records {
    width: 100%;
    max-width: 230px;
    margin: 0 auto;
    border-collapse: collapse;
    border: 5px solid #fff
}

#records tr {
    border-bottom: 1px solid #fff
}

#records td {
    padding: 2px 8px
}

#records tr td:first-child {
    background: #d2d2d2;
    border-radius: 30px;
    color: #fff;
    border-radius: 25px 30px 30px 25px
}

.share {
    padding: 30px
}

.share a {
    display: inline-block;
    border-radius: 2px;
    overflow: hidden;
    position: relative
}

.share a span.sico {
    height: 25px;
    width: 25px;
    background-size: 25px 25px;
    display: block
}

.fb {
    background-color: #3b5998
}

.gp {
    background-color: #dc4e41
}

.tt {
    background-color: #00aced
}

.fb span.sico {
    background: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjQyMyAyMHYtNy4yOThoMi40NjRsLjM2OS0yLjg0NWgtMi44MzJWOC4wNDJjMC0uODI0LjIzLTEuMzg1IDEuNDE3LTEuMzg1aDEuNTE1VjQuMTExQTIwLjI1NSAyMC4yNTUgMCAwIDAgMTQuMTQ4IDRjLTIuMTgzIDAtMy42NzggMS4zMjYtMy42NzggMy43NnYyLjA5N0g4djIuODQ1aDIuNDdWMjBoMi45NTN6IiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4K), linear-gradient(transparent, transparent)
}

.tt span.sico {
    background: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIwIDcuNTM5YTYuNTYgNi41NiAwIDAgMS0xLjg4NS41MTcgMy4yOTQgMy4yOTQgMCAwIDAgMS40NDMtMS44MTYgNi41NzUgNi41NzUgMCAwIDEtMi4wODUuNzk2IDMuMjgzIDMuMjgzIDAgMCAwLTUuNTkzIDIuOTk0QTkuMzIgOS4zMiAwIDAgMSA1LjExNCA2LjZhMy4yOCAzLjI4IDAgMCAwIDEuMDE2IDQuMzgyIDMuMjc0IDMuMjc0IDAgMCAxLTEuNDg3LS40MXYuMDQxYTMuMjg1IDMuMjg1IDAgMCAwIDIuNjMzIDMuMjE4IDMuMzA1IDMuMzA1IDAgMCAxLTEuNDgyLjA1NiAzLjI4NiAzLjI4NiAwIDAgMCAzLjA2NiAyLjI4QTYuNTg1IDYuNTg1IDAgMCAxIDQgMTcuNTI0IDkuMjkxIDkuMjkxIDAgMCAwIDkuMDMyIDE5YzYuMDM4IDAgOS4zNC01IDkuMzQtOS4zMzcgMC0uMTQzLS4wMDQtLjI4NS0uMDEtLjQyNUE2LjY3MiA2LjY3MiAwIDAgMCAyMCA3LjUzOHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==), linear-gradient(transparent, transparent)
}

body.offline.night {
    background: #2f2f2f;
    color: #969696
}

body.offline.night h1,
body.offline.night div.sec h2 {
    color: #969696
}

body.offline.night img.logo,
body.offline.night #records {
    border: 5px solid #464646
}

body.offline.night #records tr td:first-child {
    color: #969696;
    background: #232323
}

body.offline.night #records tr {
    border-bottom: 1px solid #464646
}

.menu {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center
}

.menu a {
    display: inline-block;
    margin: 5px;
    text-decoration: none;
    vertical-align: top;
    text-align: center;
    width: 62px
}

.menu a img {
    padding: 3px;
    border-radius: 5px;
    background: #2f2f2f;
    height: 43px
}

body.offline.night div.menu a img,
body.offline.naruto div.menu a img {
    background: #969696
}

body.offline.night div.menu a span {
    color: #969696
}

body.offline.night div.menu a:hover img {
    background: #b7b7b7
}

.menu a span {
    display: block;
    color: #2f2f2f;
    text-align: center
}

.menu a:hover span {
    color: #1a0dab
}

.asph {
    height: 20px;
    background: #535353;
    display: block;
    max-width: 600px;
    width: 100%;
    margin: -120px auto 100px;
    border-radius: 0 0 5px 5px
}

.asph div {
    border-bottom: dashed 2px #e3deb3;
    height: 5px
}

.asph.roof {
    background: #783413;
    border-radius: 0;
    height: 60px
}

body.nyan {
    background: url(/img/sky.png) repeat !important
}

body.nyan .interstitial-wrapper {
    background: #00000054;
    border-radius: 5px 5px 0 0
}

body.santa .interstitial-wrapper {
    background: #0277bd;
    border-radius: 5px 5px 0 0;
    padding-top: 5px;
    height: 130px
}

.snow {
    background-image: url(/img/snow.png), url(/img/snow1.png), url(/img/snow2.png) !important;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    animation: snow 20s linear infinite
}

@keyframes snow {
    from {
        background-position: 0 0, 0px 0, 0px 0
    }
    to {
        background-position: 500px 1000px, 200px 400px, -100px 300px
    }
}

.planet {
    width: 100%;
    height: 100px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px -20px rgba(255, 189, 3, 0.72), -14px -15px 40px -10px rgba(255, 238, 191, 0.23);
    margin: 0 auto;
    margin-top: -120px;
    margin-bottom: 100px;
    max-width: 600px;
    border-radius: 0 0 10px 10px;
    background: #000
}

.planet .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    box-shadow: inset -10px -10px 40px #251303, inset 10px 10px 30px -10px rgba(255, 204, 159, 0.6)
}

.planet .background {
    animation: translateBackground 40s infinite linear;
    background: url(/img/mars.jpg) repeat-x #fff;
    width: 100%;
    height: 200px;
    position: absolute;
    margin-top: -40px;
    opacity: .8
}

.planet .clouds {
    background: url(/img/clouds.png) repeat-x;
    width: 100%;
    height: 200px;
    position: absolute;
    animation: translateBackground 30s infinite linear;
    opacity: .4
}

.planet .wrap {
    width: 100%;
    height: 200px;
    position: absolute
}

@keyframes translateBackground {
    0% {
        background-position-x: 0
    }
    100% {
        background-position-x: -600px
    }
}

.btn {
    border: 1px solid #ccc;
    border-color: #ccc #ccc #bbb #ccc;
    border-radius: 3px;
    background: #e6e6e6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 15px 17px rgba(255, 255, 255, .5), inset 0 -5px 12px rgba(0, 0, 0, .05);
    cursor: pointer;
    font-size: 80%;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
    text-decoration: none;
    color: inherit;
    padding: 3px 5px;
    height: 22px;
    vertical-align: middle
}

.zoom {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    position: relative;
    border: 1px solid #5d5d5d;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8);
    display: block
}

.zoom:before {
    content: '';
    width: 2px;
    height: 6px;
    background: #5d5d5d;
    display: block;
    top: 1px;
    left: 3px;
    position: absolute;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8)
}

.zoom-inner {
    width: 4px;
    height: 3px;
    display: block;
    background: #5d5d5d;
    position: absolute;
    top: 7px;
    left: 7px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg)
}

.zoom:after {
    content: '';
    height: 2px;
    width: 6px;
    background: #5d5d5d;
    display: block;
    top: 3px;
    left: 1px;
    position: absolute
}

body.offline.night .zoom {
    border: 1px solid #c0c0c0
}

body.offline.night .zoom:before,
body.offline.night .zoom-inner,
body.offline.night .zoom:after {
    background: #c0c0c0;
    box-shadow: none
}

body.offline.night .btn {
    text-shadow: none;
    box-shadow: none;
    background: #464646;
    border-radius: 5px;
    color: #c0c0c0;
    border-color: #969696
}

.offline.naruto {
    background: #e0f7fa
}

.offline.naruto div.sec {
    background: #dbf0f3
}

.offline.halloween {
    background: #584867
}

.offline.halloween .desc h1,
.offline.halloween .sec h2 {
    color: #ffb74d
}

.offline.halloween p {
    color: #f2f2f2
}

.offline.halloween img.logo,
.offline.halloween #records {
    border: 5px solid #ff9800;
    color: #ffe0b2
}

.offline.halloween #records tr {
    border-bottom: 1px solid #f0b659
}

.offline.halloween #records tr td:first-child {
    color: #ffe0b2;
    background: #554b65
}

.offline.halloween .menu a img {
    background: #f2f2f2
}

.offline.halloween .menu a span,
.offline.halloween footer span,
.offline.halloween .sec>div.adverts>span {
    color: #f2f2f2
}

body.offline footer span a {
    color: #5d5d5d
}

body.offline.night footer span a {
    color: #969696
}

body.offline.halloween footer span a {
    color: #f2f2f2
}

.offline.halloween .sec {
    background: #443c50
}

.offline.sizegx12 .interstitial-wrapper {
    transform: scale(1.2);
    margin-top: 20px;
    margin-bottom: 110px
}

.offline.sizegx15 .interstitial-wrapper {
    transform: scale(1.5);
    margin-top: 30px;
    margin-bottom: 130px
}

.offline.sizegx12 .planet,
.offline.sizegx12 .asph {
    max-width: 720px
}

.offline.sizegx15 .planet,
.offline.sizegx15 .asph {
    max-width: 900px
}

.offline.sizegx12 .planet,
.offline.sizegx15 .planet {
    z-index: -1
}

.sec>div {
    display: table-cell;
    text-align: center;
    width: 50%;
    vertical-align: top;
    padding: 20px;
    box-sizing: border-box
}

.sec>div.adverts {
    padding-top: 40px
}

.sec>div.adverts>span {
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    font-size: 12px
}

.adv {
    text-align: center;
    width: 100%
}
.__wrapper {
    width: auto;
    max-width: 516px;
    margin-left: auto;
    margin-right: auto;
}
.high-scores {
    color: #767676;
    margin-bottom: 18px;
    display: inline-block;
    vertical-align: top;
    max-width: 290px;
}
.high-scores:first-child {
    margin-right: 50px;
}
.high-scores .headline{
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}
.high-scores ul {
    width: 230px;
    margin: 0 auto;
    padding: 0;
}
.high-scores ul li {
    margin: 0 0 3px;
    font-size: 13px;
    overflow: hidden;
}
.high-scores ul li span.user {
    float: left;
    max-width: 180px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.high-scores ul li span.result {
    float: right;
}

@media(max-width:550px) {
    .sec>div {
        display: block;
        width: 100%;
        padding: 20px 0
    }
    .high-scores{
        margin: 0 5px 48px!important;
    }

}

@media(max-width:860px) {
    #records td {
        max-width: 170px;
        overflow: scroll;
        box-sizing: border-box
    }
}

@media(max-width:1050px) {
    #zoombtn {
        display: none
    }
}