body {
    margin: 0 auto;
    font-family: 'Noto Sans', sans-serif;
    min-width: 360px;
    max-width: 460px;
    font-size: 18px;
    background-color: #222;
    color: #f9f9f9;
    text-size-adjust: none;
}

header {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f9f9f9;
    background-color: #222;
}

header>div {
    padding: 10px 15px;
}

div.shb {
    margin: 10px auto;
    width: 230px;
    border: 1px solid #9c9c9c;
    border-radius: 5px;
}

#srh {
    padding: 8px;
    display: flex;
    justify-content: space-between;
}

#srh>div {
    height: 25px;
    line-height: 25px;
    padding: 0 5px;
}

#scd {
    margin-left: 20px;
    color: #ccc;
    font-size: 18px;
}

#srh svg {
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
}

#dtp {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 8px 10px;
    padding: 8px;
    background-color: #333;
    border-radius: 10px;
}

#wk>table {
    min-width: 340px;
    margin: 5px auto;
    border-collapse: collapse;
}

#wk td {
    width: 25%;
    text-align: center;
    border: 2px solid #222;
    padding: 3px 0;
}

#cgn td,
#jji td {
    font-size: 35px;
    font-weight: 700;
    color: #222;
    height: 75px;
}

.oh0 {
    background-color: #D1EAFF;
}

.oh1 {
    background-color: #FADBD8;
}

.oh2 {
    background-color: #FCF3CF;
}

.oh3 {
    background-color: #fff;
}

.oh4 {
    background-color: #D5D5D5;
}

.srg {
    color: #f66;
}

.ntj {
    color: #ccc;
}

.unl {
    margin: 10px auto;
    user-select: none;
}

.unl>ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: row-reverse;
    overflow-x: scroll;
    background-color: #333;
}

.unl li {
    border-left: 1px solid #333;
    text-align: center;
}

.unl li:first-child {
    border-right: 1px solid #333;
}

.unl li>div {        
    display: inline-block;
}

.clk {
    background-color: #663;
}

.tss {
    font-size: 16px;
    padding: 2px 0;
}

.agt {
    font-size: 17px;
    padding: 1px;
    min-width: 29px;
}

.syr {
    font-size: 15px;
    padding: 1px 0;
}

.yrt {
    font-size: 17px;
    padding: 1px;
    min-width: 29px;
}

#dun div[class*="oh"],
#sun div[class*="oh"],
#wun div[class*="oh"] {
    font-weight: 700;
    font-size: 20px;
    color: #222;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-top:1px solid #333;
}

.crd>div:first-child {
    color: #cc3;
    text-decoration: underline solid #cc3;
}

#wcl table {
    border-collapse: collapse;
    min-width: 360px;
    margin: 0 auto;
}

#wcl th {
    font-size: 16px;
    height: 33px;
    line-height: 33px;
    font-weight: 500;
}

#wcl th,
#wcl td {
    width: 30px;
    border: 1px solid #9c9c9c;
}

#wcl td div {
    font-size: 16px;
    padding: 1px;
}

div.sbt {
    text-align: center;
    font-size: 16px;
    padding: 2px;
}

.sun {
    color: #c33;
}

.sat {
    color: #36c
}

.tdy {
    color: #cc3;
    text-decoration: underline solid #cc3;
}

.tcl {
    display: flex;
    justify-content: space-between;
}

#ctn {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222;
    overflow-y: auto;
}

.show {
    display: block;
}

.hide {
    display: none;
}

.pan {
    position: relative;
    margin: 0 auto;
    width: 300px;
    padding: 30px 30px;
}

.bck {
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
}

.gpo {
    margin: 30px 0;
}

.tbb {
    display: flex;
    justify-content: space-between;
    width: 220px;
    border: 1px solid #9c9c9c;
    border-radius: 5px;
    background-color: #333;
    margin: 5px 0;
    padding: 6px 15px;
}

#tbd {
    border: none;
    width: 160px;
    font-size: 19px;
    color: #fff;
    text-align: center;
    background-color: #333;
    padding: 3px;
    outline: none;
}

#bbd {
    margin-left: 10px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
}

input[type="radio"] {
    display: none;
}

label {
    cursor: pointer;
    border: 1px solid #49e;
    padding: 8px 10px;
    font-weight: 500;
    font-size: 18px;
    background-color: #222;
    line-height: 45px;
}

input[type="radio"]:checked+label {
    background-color: #49e;
    color: #fff;
}

#shd {
    font-size: 18px;
    margin: 20px 5px 5px 5px;
    line-height: 18px;
    height: 18px;
}

.psm {
    color: #ccc;
}

.ifn {
    background-color: #333;
    font-size: 18px;
    padding: 15px;
    border-radius: 10px;
}

.ifn>div {
    padding: 5px;
    margin: 5px;
    display: inline-block;
}

.pan table {
    border-collapse: collapse;
}

.pan td {
    width: 72px;
    text-align: center;
    border: 2px solid #222;
}

.pan td[class*="oh"] {
    height: 72px;
    font-size: 30px;
    font-weight: 700;
    color: #000;
}

.tus td {
    color: #fff;
    font-size: 16px;
    border: 1px dashed #9c9c9c;
    padding: 5px 0;
}

.nos {
    overflow-y: hidden;
}

footer {
    margin-top: 20px;
    border-top: 1px dotted #9c9c9c;
    text-align: center;
}

footer>p {
    margin: 8px;
    font-size: 16px;
    color: #9c9c9c;
}