html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background: #1a0f0a;
    /* Usually shown inside an <iframe> on another site: touches and long
       presses belong to the game, not to scrolling, zooming or selecting
       text on the page around it. */
    touch-action: none;
    overscroll-behavior: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

canvas {
    cursor: default;
    outline: none;
    display: block;
    touch-action: none;
}

.superdev {
    color: rgb(37, 37, 37);
    text-shadow: 0 1px 1px rgba(250, 250, 250, .1);
    font-size: 50pt;
    display: block;
    position: relative;
    text-decoration: none;
    background-color: rgb(83, 87, 93);
    box-shadow: 0 3px 0 0 rgb(63, 67, 73), 0 4px 4px 1px rgba(0, 0, 0, .3), 0 4px 0 1px rgba(0, 0, 0, .3);
    height: 12px;
    width: 12px;
    border-radius: 50%;
    position: absolute;
    right: 8px;
    top: 8px;
}

/* The page-drawn loading screen (index.html #ck-loading): a copy of the
   game's SplashScreen shown while the game downloads. Positions and sizes are
   set by its script; this is only the look. */
#ck-loading {
    position: fixed;
    inset: 0;
    z-index: 10;
    overflow: hidden;
    background: #1a0f0a url("loading/bg.jpg") center / 100% 100% no-repeat;
    font-family: Arimo, Arial, Helvetica, sans-serif;
    font-weight: bold;
    transition: opacity 0.2s;
    pointer-events: none;
}
#ck-loading .ck-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}
#ck-loading .ck-logo,
#ck-loading .ck-track,
#ck-loading .ck-fill,
#ck-loading .ck-caption,
#ck-loading .ck-percent {
    position: absolute;
}
#ck-loading .ck-track {
    background: rgba(255, 255, 255, 0.14);
}
#ck-loading .ck-fill {
    background: #f2c674;
}
#ck-loading .ck-caption {
    color: #c7b894;
    text-align: left;
    white-space: nowrap;
}
#ck-loading .ck-percent {
    color: #f2c674;
    text-align: right;
}
