html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: #fff;
    color: #202124;
}

.icon {
    user-select: none;
    display: inline-block;
}

.icon-offline {
    width: 72px;
    height: 72px;
    background: url('/100-error-offline.png') no-repeat center;
    background-size: contain;
    margin-bottom: 24px;
}

.hidden { display: none; }

.interstitial-wrapper {
    color: #202124;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 600px;
    padding-top: 80px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

#main-content {
    margin-bottom: 20px;
}

h1 {
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 16px;
    color: #202124;
}

.error-code {
    font-size: 12px;
    color: #5f6368;
    margin-top: 16px;
    text-transform: uppercase;
}

.game-hint {
    font-size: 12px;
    color: #9aa0a6;
    margin-top: 24px;
}

.msg {
    color: #5f6368;
    font-size: 14px;
    text-align: left;
    display: inline-block;
}

.msg ul {
    margin: 8px 0 0;
    padding-left: 0;
    list-style: none;
}

.msg li::before {
    content: "• ";
}

.runner-container {
    height: 150px;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    width: 100%;
}

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

#offline-resources {
    display: none;
}

.arcade-mode,
.arcade-mode .runner-container,
.arcade-mode .runner-canvas {
    image-rendering: pixelated;
    max-width: 100%;
    overflow: hidden;
}

.arcade-mode #main-content,
.arcade-mode .error-text {
    opacity: 0;
    overflow: hidden;
    height: 0;
}

.arcade-mode .interstitial-wrapper {
    height: 100vh;
    max-width: 100%;
    overflow: hidden;
    padding-top: 40px;
}

@media (max-width: 640px) {
    .interstitial-wrapper {
        padding: 60px 20px 0;
    }
}
