@font-face {
    font-family: Open Sans;
    src: url(../fonts/7ce00256097ccf0d2c0641fce8a96e57.eot);
    src:url(../fonts/7ce00256097ccf0d2c0641fce8a96e57.eot?#iefix) format("embedded-opentype"),
        url(../fonts/9015e788e127487984ded77dd0bac1a8.woff2) format("woff2"),
        url(../fonts/ce3b96ab2b51255e60d2d1aae633dae3.woff) format("woff"),
        url(../fonts/a88748791c366be26c9bdf959d583d3f.ttf) format("truetype"),
        url(../fonts/9f6cbb23fff05a957bdf1a770a398644.svg#OpenSans-Regular) format("svg")
}
@font-face{
    font-family:Saira ExtraCondensed ExCond;
    src:url(../fonts/ce2af0abf8b75bf6158c85631595b617.eot);
    src:url(../fonts/ce2af0abf8b75bf6158c85631595b617.eot?#iefix) format("embedded-opentype"),
        url(../fonts/b95c6631886fb0bdbe29a27af7fdd4cd.woff2) format("woff2"),
        url(../fonts/4aa9c46c9e05cd604db6b101017a8e68.woff) format("woff"),
        url(../fonts/7b6d5b9069bc3bf01daa9e92b8be8204.ttf) format("truetype"),
        url(../fonts/03d23c55623e6d9695455b64e626cd3c.svg#SairaExtraCondensed-Bold) format("svg")
}
@font-face{
    font-family:Saira ExtraCondensed;
    src:url(../fonts/7d4e3834fece222609998dc85373431c.eot);
    src:url(../fonts/7d4e3834fece222609998dc85373431c.eot?#iefix) format("embedded-opentype"),
    url(../fonts/dc91752b541a41f86c5cd588195a6e7b.woff2) format("woff2"),
    url(../fonts/855a855dc11807208be448e1ba95dde0.woff) format("woff"),
    url(../fonts/76d6f505c99a8c4332a09785d278b9ea.ttf) format("truetype"),
    url(../fonts/e27dc4c3e6790d75a949d0b743b7457b.svg#SairaExtraCondensed-SemiBold) format("svg")
}
html {
    background: #000;
    font-size:16px;
    font-family: Open Sans,sans-serif;
    font-style:normal;
    width:100%;
    height:100%;
    min-height:400px;
    overflow:hidden
}
body{
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    overflow-y:hidden;
    min-height:100%
}
body,html{
    min-width:320px;
    position:relative;
    padding:0;margin:0
}
*{
    box-sizing:border-box
}
.no-drag{
    pointer-events:none;
    -webkit-user-drag:none;
    -khtml-user-drag:none;
    -moz-user-drag:none;
    -o-user-drag:none;
    user-drag:none;
    -webkit-user-select:none;
    -moz-user-select:none;
    user-select:none
}
#game-view{
    top: 0;height: 100%
}
#game-shade,#game-view {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0
}
#game-shade{
    bottom: 0;
    height: 80px;
    background-image: url(../images/3d1b758c77b1da54d5dedf70d7a4d4d3.png);
    background-size:100% 100%;
    pointer-events:none
}
#game-loading{
    display:block;
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,.7);
    z-index:3020
}
.img-loading-icon{
    display:block;
    position:absolute;
    width:64px;
    height:64px;
    top:50%;
    left:50%;
    margin-top:-32px;
    margin-left:-32px
}
.endless-r{
    -webkit-animation:rotating .4s linear infinite;
    -moz-animation:rotating .4s linear infinite;
    -ms-animation:rotating .4s linear infinite;
    -o-animation:rotating .4s linear infinite;
    animation:rotating .4s linear infinite
}
@-webkit-keyframes rotating{
    0%{
        -webkit-transform:rotate(0deg);
        -o-transform:rotate(0deg);
        transform:rotate(0deg)
    }
    to{
        -webkit-transform:rotate(1turn);
        -o-transform:rotate(1turn);
        transform:rotate(1turn)
    }
}
@keyframes rotating{
    0%{
        -ms-transform:rotate(0deg);
        -moz-transform:rotate(0deg);
        -webkit-transform:rotate(0deg);
        -o-transform:rotate(0deg);
        transform:rotate(0deg)
    }
    to{
        -ms-transform:rotate(1turn);
        -moz-transform:rotate(1turn);
        -webkit-transform:rotate(1turn);
        -o-transform:rotate(1turn);transform:rotate(1turn)
    }
}
.intro-container {
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center
}
.intro-content {
    max-width: 480px;
    width: 80%;
    color: #d7c4af;
    background-color: rgba(0, 0, 0, .4);
    padding: 1rem
}
.intro-content h2 {
    line-height: 2.1rem;
    font-family: Saira ExtraCondensed ExCond, Open Sans, sans-serif
}
.intro-content p {
    padding: 1rem 0;
    line-height: 1.4
}
.browsers {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    max-width: 240px;
    margin: auto
}
.browsers img {
    height: 32px
}
.game-container, button {
    font-family: Saira ExtraCondensed ExCond, Open Sans, sans-serif
}
.game-container {
    overflow: hidden;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}
p, pre {
    margin: 0;
    font-family: Saira ExtraCondensed,Open Sans,sans-serif;
    letter-spacing: .01em
}
a, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    line-height: 1.4
}
h1 {
    font-size: 3rem
}
h2 {
    font-size: 2.125rem
}
h3 {
    font-size: 1.8rem
}
h4 {
    font-size: 1.4rem
}
.box-head, .clickable-section, .default-button, .game-side-menu, .head, .no-select, .shortcuts-bar a, .side-button.inner {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}
.label-div-125 {
    font-size: 1.25rem;
    line-height: 1.2rem
}
.label-div-250 {
    line-height: 2.5rem;
    font-size: 2.5rem
}
.label-div-280 {
    line-height: 2.8rem;
    font-size: 2.8rem
}
.label-div-420 {
    font-size: 4.2rem;
    line-height: 4.2rem
}
.default-button, .label-div-150 {
    font-size: 1.5rem;
    line-height: 1.5rem
}
.dark-copy {
    color: #8a8a8a
}
.bright-copy{
    color:#d5d5d5
}
.error-copy {
    color: #c00
}
.success-copy {
    color: #093
}
.warning-copy{
    color:#f93
}
.kb {
    display: inline-block;
    vertical-align: top;
    font-family: Open Sans,sans-serif;
    color: #272727;
    background-color:#d5d5d5;
    font-size: .7em;
    border-radius: .2em;
    padding: 0 .6em;
    margin-right: .4em
}
.sprite {
    overflow: hidden;
    background-repeat: no-repeat;
    background-image: url(../images/d73140d10f68139d2e8571c275106f8d.png);
    background-size:114px 114px
}
.close-icon{
    width:31px;
    height:31px;
    background-position:-46px -41px
}
.close-icon-s{
    width:30px;
    height:30px;
    background-position:-79px -78px
}
.loading-32{
    width:32px;
    height:32px;
    background-position:-4px -55px
}
.m-d-i{
    width:36px;
    height:45px;
    background-position:-4px -4px
}
.m-w-i{
    width:17px;
    height:26px;
    background-position:-92px -4px
}
.pause-icon{
    width:27px;
    height:31px;
    background-position:-83px -41px
}
.play-icon{
    width:31px;
    height:31px;
    background-position:-42px -78px
}
.plus-icon{
    width:10px;
    height:10px;
    background-position:-4px -93px
}
.replay-icon{
    width:40px;
    height:31px;
    background-position:-46px -4px
}
.loading-32{
    position:absolute;
    top:50%;
    left:50%;
    margin-top:-16px;
    margin-left:-16px
}
.m-d-i{
    margin-right:.2em
}
.m-w-i{
    margin-right:.25em
}
.plus-icon{
    margin-bottom:1px;
    margin-right:.2em
}
.ingame-controls{
    display:none;
    position:absolute;
    top:8px;
    right:20px
}
.ingame-controls.lower{
    top:62px
}
.head{
    pointer-events:none;
    margin-right:.5em
}
.control-button-opa{
    cursor:pointer;
    opacity:.25;
    margin:10px
}
.control-button-opa:active,.control-button-opa:hover{
    opacity:.6
}
.sprite-button-std{
    cursor:pointer;
    width:40px;
    height:40px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0
}
.sprite-button-std .sprite{
    transform:scale(.5);
    transform-origin:50%
}
.game-side-menu{
    position:absolute;
    top:20%;
    left:0;
    width:0
}
.game-side-menu>:not(:last-child){
    margin-bottom:1.5rem
}
.side-button{
    text-align:left;
    cursor:pointer;
    padding:8px 16px 8px 48px
}
.side-button .inner{
    white-space:nowrap;
    pointer-events:none
}
.side-button.disabled{
    background-color:rgba(0,0,0,.9);
    cursor:default
}
.side-button.disabled .inner{
    color:#333
}
.default-button{
    cursor:pointer;
    text-transform:uppercase;
    white-space:nowrap;
    padding:6px 24px;
    border:none;
    outline:none;
    border-radius:unset;
    min-width:72px;
    background-color:#d5d5d5;
    color:#000
}
.default-button:enabled:active,.default-button:enabled:hover{
    background-color:#000;
    color:#d5d5d5
}
.default-button:disabled{
    cursor:default;
    color:#aaa
}
.game-box{
    position:absolute;
    min-width:280px;
    background-color:rgba(15,13,5,.9);
    color:#b2b2b2;
    left:50%
}
.game-box .close-icon-s{
    position:absolute;
    top:0;
    right:0;
    cursor:pointer
}
.message-box{
    bottom:70px;
    transform:translate(-50%);
    padding-top:1rem;
    padding-bottom:1rem
}
.message-box .box-body-copy:not(:empty){
    padding-top:.3rem;
    padding-bottom:.3rem
}
.stack-box{
    top:50%;
    transform:translate(-50%,-50%)
}
.stack-box .box-head:not(:empty){
    border-bottom:1px solid #4e4e4e
}
.stack-box .box-body{
    min-height:54px
}
.stack-box .box-body-copy:not(:empty){
    padding-top:1rem;
    padding-bottom:1rem
}
.box-head{
    padding-left:2rem;
    padding-right:2rem
}
.box-body{
    position:relative;
    overflow-x:hidden;
    overflow-y:auto;
    max-height:428px
}
.box-body.disabled{
    pointer-events:none;
    opacity:.5
}
.box-body>:not(:empty):not(:last-child){
    border-bottom:1px solid #272727
}
.box-body::-webkit-scrollbar-track{
    background-color:#000;
    width:8px
}
.box-body::-webkit-scrollbar{
    width:8px
}
.box-body::-webkit-scrollbar-thumb{
    background-color:#828282;
    border-radius:6px;
    border:2px solid transparent;
    background-clip:content-box
}
.box-body-copy,pre{
    line-height:1.4rem
}
.box-body-copy,.box-foot,pre{
    padding-left:2rem;
    padding-right:2rem
}
.box-foot{
    display:flex;
    flex-direction:row;
    justify-content:space-around
}
.box-foot:not(:empty){
    padding-top:1rem;
    padding-bottom:1rem;
    border-top:1px solid #4e4e4e
}
.comment-copy{
    font-size:.75em;
    color:#8a8a8a;
    text-align:center;
    line-height:1.3;
    padding:1em 2.5rem
}
.ps{
    font-size:.75em;
    color:#4e4e4e
}
.flex-section,.line-section,.subhead-section{
    padding:0 2.5rem;
    white-space:nowrap
}
.flex-section{
    display:flex;
    flex-direction:row;
    align-items:center
}
.subhead-section{
    color:#8a8a8a;
    background-color:#1a1a1a;
    margin-bottom:2px
}
.ss-s{
    line-height:42px;
    height:42px
}
.ss-m,.ss-s{
    font-size:1.2rem
}
.ss-m{
    line-height:44px;
    height:44px
}
.ss-l{
    line-height:48px;
    font-size:1.5rem;
    height:48px
}
.ss-l-xspace{
    line-height:58px;
    font-size:1.5rem;
    height:58px
}
.ss-xl{
    line-height:56px;
    font-size:1.8rem;
    height:56px
}
.ss-xxl{
    line-height:65px;
    font-size:2.2rem;
    height:65px
}
.ali-ms46>:first-child{
    text-align:right;
    width:40%
}
.ali-ms46>:last-child{
    width:60%;
    padding-left:15%
}
.ali-justify,.ali-justify-fixed{
    justify-content:space-between
}
.ali-justify-fixed>div,.ali-justify-fixed>label{
    width:120px;
    text-align:center
}
.clickable-section{
    cursor:pointer;
    position:relative
}
.clickable-section:not(.disabled):hover{
    background-color:#d5d5d5;
    color:#000
}
.s-split{
    border-bottom:1px solid #4e4e4e
}
.multi-section-group>:nth-child(odd){
    background-color:#1a1a1a
}
.single-result-box{
    width:320px
}
.duo-result-box{
    width:660px
}
.diff-dots{
    height:18px;
    margin-top:2px
}
.diff-dots>:not(:last-child){
    margin-right:4px
}
.diff-dot{
    width:18px;
    height:18px;
    display:inline-block;
    border:2px solid #4e4e4e;
    border-radius:50%
}
.diff-dot-full{
    background-position:0 0;
    background-image:url(../images/71fdd0575b210fed1648f685c99a7f6d.png)
}
.diff-dot-full,.diff-dot-half{
    background-size:14px 14px;
    background-repeat:no-repeat
}
.diff-dot-half{
    background-image:url(../images/71fdd0575b210fed1648f685c99a7f6d.png);
    background-position:-7px 0
}
.difficulty-box{
    width:460px
}
.difficulty-box .box-body{
    height:282px
}
.difficulty-item{
    height:92px
}
.difficulty-item .ai-name{
    position:absolute;
    left:2.5rem;
    top:11px
}
.difficulty-item .easy{
    color:#8ea31a
}
.difficulty-item .normal{
    color:#b69530
}
.difficulty-item .hard{
    color:#843424
}
.difficulty-item .diff-label{
    pointer-events:none;
    position:absolute;
    left:176px;
    top:18px
}
.pause-box{
    width:40%
}
.confirm-box{
    min-width:320px;
    border:1px solid #272727
}
.my-name{
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    justify-content:center
}
.my-name b{
    color:#bd2c0a
}
.my-name .name,.my-name .tw{
    color:#d5d5d5
}
.bjs-logo{
    background-image:url(../images/0cf175d36e4c6d7b1532090871e4b6ac.png);
    background-size:174px 40px;
    background-repeat:no-repeat;
    width:174px;
    height:40px
}
.logo-container{
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    justify-content:center;
    padding-top:8px
}
.para-copy{
    font-size:.8rem;
    color:#8a8a8a;
    text-align:center;
    line-height:1.3;
    padding:0 2.5rem
}
.para-copy a{
    color:#d5d5d5
}
.about-box{
    width:420px
}
.about-box .box-body{
    height:300px;
    text-align:center;
    padding:1.6rem 0 0
}
.about-box a{
    text-decoration:none
}
.about-box a:hover{
    text-decoration:underline
}
.author{
    font-family:Saira ExtraCondensed,Open Sans,sans-serif;
    font-size:2rem;
    line-height:1
}
.author,.author a{
    color:#d5d5d5
}
.label-value-v{
    padding-top:42px;
    padding-bottom:46px
}
.label-value-v .label{
    margin:0 auto;
    color:#b2b2b2
}
.label-value-v .value{
    margin:0 auto
}
.controls-guide-box{
    width:560px
}
.basic-controls-img{
    height:143px;
    width:455px;
    margin:.7rem auto;
    background-image:url(../images/55fb3a149e6ca62215283ef802a8e674.png);
    background-repeat:no-repeat;
    background-size:455px 143px
}
.ball-on-icon{
    display:none;
    width:20px;
    height:20px;
    border:1px solid #fff;
    background-origin:border-box;
    background-size:20px;
    border-radius:50%
}
.ball-on-icon.snooker{
    background-repeat:no-repeat;
    background-image:url(../images/d23994603bc78d7edf3a1c75cc893a6d.png)
}
.ball-on-icon.snooker.b-2{
    display:block
}
.ball-on-icon.snooker.b-4{
    background-position-y:-20px;
    display:block
}
.ball-on-icon.snooker.b-8{
    background-position-y:-40px;
    display:block
}
.ball-on-icon.snooker.b-16{
    background-position-y:-60px;
    display:block
}
.ball-on-icon.snooker.b-32{
    background-position-y:-80px;
    display:block
}
.ball-on-icon.snooker.b-64{
    background-position-y:-100px;
    display:block
}
.ball-on-icon.snooker.b-128{
    background-position-y:-120px;
    display:block
}
.ball-on-icon.snooker.b-252{
    background-position-y:-140px;
    display:block
}
.score-container{
    position:absolute;
    top:10px;
    left:0;
    width:100%;
    min-width:800px
}
.score-container.single{
    width:50%;
    min-width:300px
}
.score-container .head{
    margin-right:0;
    position:absolute;
    top:0
}
.score-container .ball-on-icon{
    position:absolute;
    top:13px
}
.score-container .brk,.score-container .brk-label{
    position:absolute;
    top:14px
}
.score-container .brk{
    width:24px;
    text-align:center
}
.score-container .pts{
    position:absolute;
    width:68px;
    height:46px;
    line-height:46px;
    font-size:38px;
    background-color:rgba(255,174,47,.9);
    text-align:center;
    color:#000
}
.score-container .left{
    position:absolute;
    background-color:rgba(15,13,5,.9);
    color:#d5d5d5;
    left:20px;
    width:290px;
    height:46px
}
.score-container .left .head{
    left:24px
}
.score-container .left .ball-on-icon{
    left:184px
}
.score-container .left .brk-label{
    left:223px
}
.score-container .left .brk{
    left:251px
}
.score-container .left .pts{
    left:100%
}
.score-container .right{
    position:absolute;
    background-color:rgba(15,13,5,.9);
    color:#d5d5d5;
    right:20px;
    width:290px;
    height:46px
}
.score-container .right .head{
    right:24px
}
.score-container .right .ball-on-icon{
    right:184px
}
.score-container .right .brk-label{
    right:223px
}
.score-container .right .brk{
    right:251px
}
.score-container .right .pts{
    right:100%
}
.shortcuts-bar{
    display:flex;
    flex-direction:row;
    align-items:center;
    position:absolute;
    height:45px;
    bottom:10px;
    right:20px;
    color:#777
}
.shortcuts-bar a{
    color:#d5d5d5;
    cursor:pointer;
    -webkit-user-drag:none;
    -khtml-user-drag:none;
    -moz-user-drag:none;
    -o-user-drag:none;
    user-drag:none
}
.shortcut-group{
    display:flex;
    flex-direction:row;
    align-items:center
}
.shortcut-group>.shortcut-item{
    margin-right:1.2rem
}
.shortcut-item{
    white-space:nowrap;
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    line-height:1.8
}
.progress-bar{
    position:relative;
    height:8px;
    background-color:#4e4e4e;
    width:100%;
    margin:0 30px 0 10px;
    min-width:50px;
    cursor:pointer
}
.progress-len{
    pointer-events:none;
    background-color:#2eb4fc;
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:40%
}
.progress-len.slomo{
    background-color:#fca72e
}
.replay-control{
    flex-direction:row;
    align-items:center;
    flex-wrap:nowrap;
    background-color:rgba(15,13,5,.9);
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding-left:20px;
    padding-right:20px
}
.replay-control .progress-bar{
    flex-grow:1
}
.replay-control .shortcut-group{
    color:#8a8a8a
}