* {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    image-rendering: pixelated;
    /* Prevent text selection and context menu (Yandex Games requirement 1.6.2.7) */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    background-color: #050a10;
    overflow: hidden;
    color: #00ffff;
    /* Prevent text selection and context menu */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

html, body, canvas {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #050a10;
}

div {
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
}

#split, #feed {
    display: none;
}

#status {
    position: absolute;
    padding: 8px;
    background: rgba(0, 20, 40, 0.4);
    color: #00ffff;
    font-size: 9px;
    top: 10px;
    right: 10px;
    text-align: right;
    pointer-events: none;
}

#status .title {
    font-size: 11px;
}

#status .me {
    color: #ff3333;
    font-size: 10px;
    text-shadow: 0 0 5px #ff0000;
}

.chatbox {
    position: absolute;
    width: 300px;
    height: 320px;
    background: rgba(22, 22, 22, 0.7);
    bottom: 5px;
    left: 5px;
    border-radius: 5px;
    pointer-events: none;
}

.chatbox .chat-list {
    padding: 5px;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    height: 285px;
    overflow: hidden;
}

.chatbox .chat-list li {
    padding: 2px;
    margin: 3px;
}

.chatbox .chat-list li.me b {
    color: #ea6153;
}

.chatbox .chat-list li.friend b {
    color: #2ecc71;
}

.chatbox .chat-list li.system {
    color: #9b59b6;
    font-style: italic;
}

.chatbox .chat-list li.system:before {
    content: "» ";
}

.chatbox .chat-input {
    pointer-events: all;
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    background: transparent;
    border: none;
    border-top: 1px solid #DDD;
    outline: none;
}

#startMenu {
    position: relative;
    margin: auto;
    margin-top: 20px;
    width: 450px;
    max-width: 90%;
    padding: 20px;
    background: rgba(0, 10, 20, 0.9);
    border: 4px solid #00ffff;
    box-shadow: 0 0 20px #00ffff;
    box-sizing: border-box;
    text-align: center;
}

.menu-logo {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 100%;
    height: auto;
}

#playerNameInput {
    display: block;
    width: 100%;
    text-align: center;
    background: #000;
    border: 2px solid #00ffff;
    color: #00ffff;
    margin: 0 auto 10px auto;
    outline: none;
    box-sizing: border-box;
    height: 40px;
    line-height: 36px;
    padding: 0;
    transition: all 0.2s;
    font-size: 10px;
}

#playerNameInput:focus, #playerNameInput.focus {
    border: 2px solid #00ffff;
    box-shadow: 0 0 15px #00ffff;
    background: rgba(0, 255, 255, 0.05);
}

#startButton, #settingsButton {
    display: block;
    position: relative;
    margin: 10px auto 0 auto;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    color: #00ffff;
    text-align: center;
    background: transparent;
    border: 2px solid #00ffff;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    font-size: 10px;
}

#startButton:active, #startButton:hover,
#settingsButton:active, #settingsButton:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px #00ffff;
}


#settings, #startMenuWrapper {
    -webkit-transition: max-height 1s;
    -moz-transition: max-height 1s;
    -ms-transition: max-height 1s;
    -o-transition: max-height 1s;
    transition: max-height 1s;
    overflow: hidden;
}

#settings {
    max-height: 0;
}

#startMenu h3 {
    padding-bottom: 0;
    margin-bottom: 5px;
    font-size: 11px;
}

#startMenu ul {
    margin: 5px;
    padding: 5px;
    margin-top: 0;
    text-align: left;
}

#startMenu .input-error {
    color: red;
    opacity: 0;
    font-size : 12px;
}

#startMenuWrapper {
    z-index: 2;
}


#gameAreaWrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    opacity: 0;
}

@media only screen  and (min-width : 1224px) {
#mobile {
display: none;
	}
}

@media only screen  and (max-width : 1224px) {
#chatbox {
display: none;
        }
}

input [type="image"]:focus{
 border:none;
 outline: 1px solid transparent;
 border-style: none;
}

*:focus {
 outline: none;
}
