html {
    background-color: #ccc;
    font-size: 20px;
    font-family:"メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "IPA Pゴシック","IPA PGothic", sans-serif;
    text-align: center;
}
#wrapper {
    position: relative;
    overflow: hidden;
    background: url("/static/background.png");
    width: 1024px;
    height: 576px;
    margin: auto;
    border: 2px solid #aaa;
    border-radius: 10px;
}
h2 {
    font-size: 70px;
    font-weight: normal;
    margin: 40px auto 40px auto;
    width: 800px;
    border-radius: 10px;
    background: #222;
    color: #fff;
}
#gameid {
    height: 65px;
    font-size: 45px;
    text-align: center;
    border: solid 4px #ccc;
    border-radius: 10px;
    box-sizing: border-box;
}
#submit {
    vertical-align: top;
    font-size: 40px;
    height: 65px;
    padding: 0px 10px;
    color: white;
    border-radius: 8px;
    background: #DD55B9;
    background: linear-gradient(65deg, #D833A9, #F9A1E2);
    background: -moz-linear-gradient(65deg, #D833A9, #F9A1E2);
    background: -webkit-linear-gradient(65deg, #D833A9, #F9A1E2);
    border: solid 4px #F2C5F1;
    box-shadow: 0px 5px 2px 0px #000, 0px 0px 2px 0px #000;
    box-sizing: border-box;
    text-shadow: 0px 2px 5px #581446;
}
#submit:active {
    position: relative;
    top: 4px;
    box-shadow: 0px 1px 2px 0px #000, 0px 0px 2px 0px #000;
}
a.btn-lg {
    font-size: 20px;
    /*height: 65px;*/
    padding: 0px 10px;
    color: white;
    border-radius: 4px;
    background: #DD55B9;
    background: linear-gradient(65deg, #D833A9, #F9A1E2);
    background: -moz-linear-gradient(65deg, #D833A9, #F9A1E2);
    background: -webkit-linear-gradient(65deg, #D833A9, #F9A1E2);
    border: solid 2px #F2C5F1;
    box-shadow: 0px 3px 2px 0px #000, 0px 0px 2px 0px #000;
    box-sizing: border-box;
    text-shadow: 0px 2px 5px #581446;
    text-decoration: none;
    width: 44px;
    display: inline-block;
}
a.btn-lg:active {
    position: relative;
    top: 4px;
    box-shadow: 0px 1px 2px 0px #000, 0px 0px 2px 0px #000;
}
#result {
    padding-top: 20px;
    border-radius: 10px;
}
#result > div.sel {
    font-size: 17px;
    padding: 4px 20px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    border-radius: 13px;
    background: #999;
    margin: auto;
    display:inline-block;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
                    -1.4px 0px 0 #000, 1.4px 0px 0 #000, 0px 1.4px 0 #000, 0px -1.4px 0 #000;
    line-height: 30px;
}
#result > div.sub {
    margin-top: 10px;
}
#result > div.sub > * {
    color: #aaa;
    font-size: 12px;
    text-shadow: none;
    background: #222;
    padding: 2px 10px;
    border-radius: 5px;
    margin: 15px auto;
    display:inline-block;
    height: 1.5em;
    line-height: 1.5em;
    vertical-align: middle;
}
#result div.sub a, #result div.sub a:visited, #result div.sub a:hover {
    color: #bbb;
}
#result img {
    margin-top: 10px;
    background: #fff url("/static/spinner.gif") no-repeat center;
}
#result > div.sel > a, #result > div.sel > a:visited {
    color: #fff;
    border-radius: 5px;
    background-color: #222;
    text-decoration: none;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
}
#result > div.sel > a.sel {
    background-color: #666;
}
#result > div.sel > a:hover {
    background-color: #ccc;
}
#footer {
    position: absolute;
    left: 0;
    top: 546px;
    color: #fff;
    line-height: 30px;
    font-size: 16px;
    width: 1024px;
    height: 30px;
    background: #222;
}
#footer a {
    color: #7af;
}
#footer a:visited {
    color: #a7f;
}

a.tt {
    position: relative;
}
a.tt > span {
    display: block;
    position: absolute;
    width: 200px;
    height: 0;
    margin: 0 0 0 -100px;
    padding: 0;
    left: 50%;
    background: #f00;
    z-index: -999;
}
a.tt > span > p {
    display: inline;
    color: #FFFFFF;
    background: #000000;
    text-align: center;
    visibility: hidden;
    border-radius: 6px;
    font-size: 70%;
    padding: 2px 6px;
    min-width: 50px;
    max-width: 500px;
    width: auto;
    white-space: nowrap;
    top: 0px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.18s ease-in-out;
    transition: opacity 0.18s ease-in-out;
    margin: 0;
    vertical-align: top;
}
a.tt > span > p:after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -8px;
    width: 0; height: 0;
    border-bottom: 8px solid #000000;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}
a:hover.tt > span {
    z-index: 999;
}
a:hover.tt > span > p {
    visibility: visible;
    opacity: 0.6;
}

.header {
    margin: 20px 100px 0 100px;
    text-align: left;
    width: 500px;
}

.header > a {
    display: block;
    float: left;
    width: 55px;
    height: 50px;
    text-align: center;
    font-size: 40px;
    vertical-align: center;
    padding: 0;
    line-height: 46px;
    color: #1d1e1a;
    background: #ffe555;
    background: linear-gradient(65deg, #ee9e11, #fff6b9);
    background: -moz-linear-gradient(65deg, #ee9e11, #fff6b9);
    background: -webkit-linear-gradient(65deg, #ee9e11, #fff6b9);
    border: solid 2px #fff6b9;
    text-shadow: 0px 0px 4px #fff6b9;
    margin-top: 1px;
    box-shadow: 0px 3px 2px 0px #000, 0px 0px 2px 0px #000;
}

.header h3 {
    background-color: #262322;
    border-radius: 6px;
    color: #ffffff;
    margin: 0;
    padding-left: 67px;
    font-size: 20px;
    font-weight: bold;
}

.header p {
    margin: 0 0 0 8px;
    padding-left: 55px;
    font-size: 16px;
}
