#main {
    /*width: max-content;*/
    /*margin: 0 auto;*/
    padding: 0;
}

#ra {
    display: inline-block;
    margin-right: 55px;
    margin-top: 80px;
    width: 180px;
    height: 640px;
}

#rb {
    display: inline-block;
    width: max-content;
    vertical-align: top;
}

#rc {
    display: inline-block;
    margin-left: 55px;
    margin-top: 80px;
    width: 180px;
    height: 640px;
}

@media(max-width: 800px) {
    #ra,#rc {
        display:none
    }
}

@keyframes gameswo-anim {
    to {
        background-position: 0 400%
    }
}

@keyframes fade-anim {
    0% {
        opacity: 0
    }

    40% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    60% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

@keyframes fade-mid-anim {
    0% {
        opacity: .5
    }

    40% {
        opacity: .5
    }

    50% {
        opacity: 1
    }

    60% {
        opacity: .5
    }

    100% {
        opacity: .5
    }
}

.gameswo {
    position: absolute;
    display: block;
    left: 15px;
    left: calc(15px + env(safe-area-inset-left));
    top: 15px;
    top: calc(15px + env(safe-area-inset-top));
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    z-index: 100
}

.gameswo .title {
    display: none
}

.gameswo svg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    border-radius: 50%;
    border: 2px solid #fff;
    margin: 0;
    padding: 0;
    box-sizing: content-box;
    pointer-events: none
}

.mobile .gameswo svg {
    animation: fade-mid-anim 5s infinite ease-in-out
}

.gameswo .disc {
    position: absolute;
    display: block;
    width: 44px;
    height: 44px;
    background-color: #9fc;
    background-image: linear-gradient(to bottom,#9fc 0%,#9cf 25%,#f9c 50%,#fc9 75%,#9fc 100%);
    background-size: 100% 400%;
    border-radius: 50%;
    pointer-events: none;
    animation: gameswo-anim 8s infinite linear;
    opacity: 0;
    will-change: opacity;
    transition: opacity .2s ease-out
}

.mobile .gameswo .disc {
    animation: gameswo-anim 8s infinite linear,fade-anim 5s infinite ease-in-out
}

body:not(.mobile) .gameswo:hover .disc {
    opacity: 1
}

.gameswo:active {
    margin-top: 1px
}

.gameswo .disc {
    opacity: 1;
}

.mobile .gameswo .disc {
    animation: gameswo-anim 8s infinite linear;
}

.mobile .gameswo svg {
    animation: none;
}

body {
    /*background: #c4824d;*/
    font-family: "å¾®è½¯é›…é»‘","é»‘ä½“",serif;
    margin: 0;
    padding: 0;
}

#desk {
    width: 750px;
    margin: 0px auto;
}

#title {
    float: left;
    width: 60px;
    padding: 15px;
}

#console {
    float: left;
    width: 110px;
    padding: 10px 0px 0px 10px;
}

h1 {
    margin: 10px 0px;
    color: black;
    font-size: 60px;
    line-height: 70px;
    font-weight: bold;
    text-shadow: 0px 0px 6px #A33D1B,0px 7px 3px #754B35;
}

h1 span {
    color: white;
}

h3 {
    margin: 0px 20px;
    color: #330000;
    font-size: 25px;
    line-height: 30px;
    font-weight: bold;
    text-shadow: 0px 0px 4px #A33D1B,0px 5px 2px #754B35;
}

.button {
    margin: 15px 0px;
    width: 100px;
    height: 58px;
    font-size: 30px;
    line-height: 58px;
    color: #440000;
    background: #dd8e4f;
    border: 1px solid #ff6600;
    border-radius: 30px;
    box-shadow: 0px 4px 10px #482915;
    text-align: center;
    cursor: default;
}

.button:hover {
    background: #E4A774;
    border: 1px solid #ff3300;
    box-shadow: 0px 6px 10px #482915;
}

.button:active {
    color: #600;
    background: #eec7a6;
    border: 1px solid #ff0000;
    box-shadow: 0px 2px 5px #482915;
    position: relative;
    top: 2px;
}

.cbox {
    border: 3px solid transparent;
    border-radius: 10px;
    width: 100px;
    height: 56px;
}

.side {
    border: 3px solid #cc3333;
    background: #DBA977;
}

.cbox span {
    float: right;
    font-size: 30px;
    line-height: 54px;
    font-weight: bold;
    color: #500;
    text-shadow: 0px 0px 3px #E8C488;
    padding-right: 7px;
}

#interface {
    position: relative;
    float: left;
    width: 540px;
    height: 560px;
}

#chessboard {
    width: 522px;
    height: 522px;
    margin: 15px 7px;
    border: 2px solid #CA521E;
    background: #51150b;
    box-shadow: 0px 8px 15px #482915;
    -webkit-transform: perspective(740px) rotateX(0deg);
    transform: perspective(740px) rotateX(0deg);
    -webkit-transition: -webkit-transform 1s;
    transition: transform 1s;
}

#chessboard table {
    background: #835f2e;
    border-spacing: 2px;
    border: 20px solid #51150b;
}

#chessboard td {
    width: 54px;
    height: 54px;
    border: 1px solid #e4c8a9;
}

#chessboard td:hover {
    border: 1px solid #f00;
}

#chessboard .bg0 {
    background: #c1914f;
}

#chessboard .bg1 {
    background: #cba470;
}

.black,.white {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 5px;
    padding: 17px;
    box-shadow: 0px 4px 10px #482915;
}

.fdd #chessboard {
    -webkit-transform: perspective(800px) rotateX(35deg);
    transform: perspective(800px) rotateX(35deg);
    box-shadow: 0px 13px 0px #71301a;
}

.fdd td .black,.fdd td .white {
    margin: 0px 5px 10px 5px;
    box-shadow: 0px 8px 10px #482915;
}

.black {
    background: black;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.white {
    background: white;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.reversal {
    -webkit-transition: -webkit-transform 400ms ease-in-out,background 0ms 200ms;
    transition: transform 400ms ease-in-out,background 0ms 200ms;
}

.newest:before,.reversal:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 5px;
}

.newest:before {
    background: #f00;
}

.reversal:before {
    background: #66c;
}

.prompt {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 20px;
    padding: 0px;
    background: #FFCC33;
}

#selectbox {
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -220px;
    width: 330px;
    height: auto;
    background: #DBA977;
    border: 3px solid #98472C;
    border-width: 3px 30px;
    box-shadow: 0px 5px 15px #482915;
    padding: 10px 25px;
    color: #472E25;
    font-size: 28px;
    line-height: 45px;
    display: none;
}

#selectbox input:checked + span {
    color: #990000;
    text-shadow: 0px 0px 3px #FF9900;
}

#buttons {
    margin: 0px 40px;
}

#buttons div {
    float: left;
    margin: 0px 10px;
}

#copyright {
    clear: left;
    text-align: center;
    color: #642100;
    padding: 5px;
    font-size: 18px;
}

#pass,#airuning {
    position: absolute;
    top: 12px;
    left: 50%;
    margin-left: -150px;
    width: 300px;
    height: auto;
    border-radius: 13px;
    text-align: center;
    font-size: 18px;
    line-height: 26px;
    background: rgba(230,160,80,0.6);
    color: #330000;
    text-shadow: 0px 0px 3px #900;
    display: none;
}

#airuning {
    top: 500px;
    margin-left: -100px;
    width: 200px;
}

@media screen and (max-width: 750px) {
    #desk {
        width:540px;
    }

    #title {
        width: 100%;
        padding: 0px;
        text-align: center;
    }

    #console {
        width: 96%;
        padding: 10px 2%;
    }

    h1,h3 {
        display: inline-block;
    }

    .cbox {
        float: left;
    }

    #console .button {
        float: left;
        margin: 0px 5px;
        width: 90px;
    }

    #no3d {
        display: none;
    }
}

.info {
    width: 80%;
    clear: left;
    margin: 0 auto;
}

@media(min-width: 1000px) {
    .info {
        width:1000px;
    }
}
