
body{
    margin: 0;
    padding: 0;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#app {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid gray;
}

#main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#topbar {
    box-sizing: border-box;
    font-weight: bold;
    color: #fff;
    font-size: 22px;
    display: flex;
    justify-content: space-around;
    text-shadow: 1px 1px 1px gray;
    align-items: center;
    height: 60px;
    background-color: #d3d3d3;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    user-select: none;
    -webkit-user-select: none;
}

#setting{
    position: absolute;
    left: 5px;
    border: 1px solid gray;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    box-shadow: 0 0 2px gray;
}

#setting:active{
    box-shadow: inset 1px 1px 2px gray;
}

#setting-bar{
    font-size: 18px;
    box-sizing: border-box;
    position: absolute;
    left: -201px;
    width: 200px;
    background-color: #ddd;
    box-shadow: 1px 1px 3px gray;
    padding: 8px;
    z-index: 25;
}
#setting-bar>div{
    margin-bottom: 5px;
}
#setting-bar a{
    text-decoration: none;
    color: inherit;
}
#setting-bar>div:active{
    background-color: #bbbbbb;
}
#timer{
    margin-left: 30px;
}
#mineNum{
    margin-right: 30px;
}

#timer span, #mineNum span{
    display: inline-block;
    box-sizing: border-box;
    padding-top: 1px;
    width: 55px;
    box-shadow: inset 1px 1px 2px gray;
    text-align: center;
    border-radius: 3px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    background-color: #bbbbbb;;
}

#table {
    flex: 1 1;
    width: 100%;
    height: 100%;
    background-color: #888888;
    overflow: scroll;
}

#bottombar {
    display: flex;
    box-sizing: border-box;
    justify-content: space-around;
    align-items: center;
    font-weight: bold;
    text-shadow: 1px 1px 1px gray;
    height: 60px;
    background-color: #d3d3d3;
    border-top: 2px solid rgba(0, 0, 0, 0.2);
    user-select: none;
    -webkit-user-select: none;
}

#bottombar span{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 3px 0;
    color: #fff;
    text-align: center;
    width: 30%;
    border-radius: 3px;
    font-size: 22px;
}

#bottombar img{
    margin-right: 8px;
    padding: 2px;
    background-color: rgb(195, 195, 195);
    box-shadow: inset 1px 1px 2px rgb(255, 255, 255), 1px 1px 1px rgb(128, 128, 128);
    border-radius: 3px;
}

#desk-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
}

.bt-normal{
    background-color: #bababa;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.bt-select{
    background-color: #878787;
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.5);
    text-shadow: 0 0 5px #fff;
}
#restart{
    border-radius: 3px;
    background-color: rgb(177, 177, 177);
}
.i-wrap{
    display: block;
    width: 25px;
    height: 25px;
}
#restart:active{
    background-color: rgba(0, 0, 0, 0.4);
}
.zoom{
    position: fixed;
    text-align: center;
    bottom: 80px;
    z-index: 25;
    width: 200px;
}

.zoom span{
    display: inline-block;
    color: white;
    padding: 2px 12px;
    border-radius: 5px;
    margin-right: 5px;
    background-color: rgba(0, 0, 0, 0.225);
    box-shadow: 1px 1px 2px gray;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.zoom span:last-child{
    margin-right: 0;
}

#popbox{
    display: none;
    box-sizing: border-box;
    color: #fff;
    position: absolute;
    width: 340px;
    height: 220px;
    z-index: 30;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}
#popbox-wrap{
    margin: 8px;
}
#popbox-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 3px;
    margin-bottom: 3px;
}
#popbox-content{
    font-size: 28px;
    margin-top: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.i-img{
    display: inline-block;
    background-image: url(c5.png);
    background-repeat: no-repeat;
    transform: scale(0.5);
    width: 50px;
    height: 50px;
    transform-origin: top left;
}
.i-set{
    background-position: 0 0;
}
.i-close{
    background-position: -50px 0;
}
.i-smail{
    background-position: -100px 0;
}
.i-wow{
    background-position: -150px 0;
}
.i-cry{
    background-position: -200px 0;
}
.i-cool{
    background-position: -250px 0;
}

#desk div{
    display: flex;
    justify-content: center;
}

#desk div b:first-child{
    border-left: 1px solid #444;
}

#desk div:last-child{
    border-bottom: 1px solid #444;
}

#desk b{
    display: inline-block;
    text-align: center;
    width: 100px;
    height: 100px;
    font-weight: bold;
    border-top: 1px solid #444;
    border-right: 1px solid #444;
    background-image: url(t002.png);
    background-repeat: no-repeat;
}

/************** hover ****************/

.c-hover{
    filter: brightness(1.2);
    -webkit-filter: brightness(1.2);
}

/*************** type 1 ****************/
.c-select-1{
    background-position: -700px 0;
}

.c-mkyes-1{
    background-position: -600px 0;
}

.c-flag-1{
    background-position: -500px 0;
}

.c-bomb-1{
    background-position: -400px 0;
}

.c-expNow-1{
    background-position: -300px 0;
}

.c-mkno-1{
    background-position: -200px 0;
}

.c-cover-1{
    background-position: -100px 0;
}

.c-bg-1{
    background-position: 0px 0;
}

/*******number*********/

.c-n1{
    background-position: 0px -100px;
}
.c-n2{
    background-position: -100px -100px;
}
.c-n3{
    background-position: -200px -100px;
}
.c-n4{
    background-position: -300px -100px;
}
.c-n5{
    background-position: -400px -100px;
}
.c-n6{
    background-position: -500px -100px;
}
.c-n7{
    background-position: -600px -100px;
}
.c-n8{
    background-position: -700px -100px;
}

