@charset "UTF-8";
.hide {
  display: none !important;
}
.fadeout {
  opacity: 0 !important;
}
body {
  -webkit-text-size-adjust: 100%;
}
body > .version {
  font-size: 16px;
  font-family: Georgia, serif;
  text-align: right;
}
#loaddata {
  display: none;
}
input,
textarea,
button,
select {
  font-size: 100%;
}
input,
textarea {
  font-family: Menlo, Consolas, Courier, monospace;
  border: solid 1px #666;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
input[disabled],
textarea[disabled] {
  opacity: 1;
  -webkit-text-fill-color: inherit;
  border-color: #ccc;
}
textarea {
  box-sizing: border-box;
  max-width: 100%;
}
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  font-family: Verdana, sans-serif;
  padding: 1px 1em;
  border: solid 1px;
  border-radius: 4px;
  background: #ddd;
  color: #000;
  -webkit-appearance: none;
}
select {
  font-family: Verdana, sans-serif;
  padding: 1px 0.5em;
  border: solid 1px;
  border-radius: 4px;
  background: #ddd;
  color: #000;
}
input::placeholder {
  color: #999;
  opacity: 1;
}
[role="button"] * {
  pointer-events: none;
}
@-moz-keyframes blink {
  100% {
    opacity: 0.2;
  }
}
@-webkit-keyframes blink {
  100% {
    opacity: 0.2;
  }
}
@-o-keyframes blink {
  100% {
    opacity: 0.2;
  }
}
@keyframes blink {
  100% {
    opacity: 0.2;
  }
}
@-moz-keyframes blink-img {
  100% {
    opacity: 0.7;
  }
}
@-webkit-keyframes blink-img {
  100% {
    opacity: 0.7;
  }
}
@-o-keyframes blink-img {
  100% {
    opacity: 0.7;
  }
}
@keyframes blink-img {
  100% {
    opacity: 0.7;
  }
}
#navi .navi {
  font-size: 12px;
  font-family: Verdana, sans-serif;
}
#navi .navi img[role="button"],
#navi .navi .version {
  display: none;
}
#navi .navi ul {
  margin: 0;
  padding: 0;
  text-align: right;
}
#navi .navi ul a {
  color: inherit;
  text-decoration: none;
}
#navi .navi ul li {
  display: inline-block;
}
#navi .navi ul li + li:before {
  content: ' | ';
}
@media screen and (max-width: 800px) {
  body.title #navi .navi > div,
  body.board #navi .navi > div {
    margin: 0 1em;
  }
}
#board .navi {
  position: absolute;
  top: 0;
  z-index: 2;
  font-size: 18px;
  font-family: Century, serif;
  color: #fff;
}
#board .navi img[role="button"] {
  width: 24px;
  height: 24px;
  margin: 10px;
  opacity: 0.3;
}
#board .navi ul {
  display: none;
  margin: 0;
  padding: 0;
  width: 240px;
}
#board .navi ul a {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 2px 1em;
}
#board .navi ul a:active {
  background: #666;
}
#board .navi ul li {
  list-style-type: none;
}
#board .navi .version {
  display: none;
  font-family: Georgia, serif;
  padding: 0.5em;
  text-align: right;
}
#board .navi.active {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}
#board .navi.active > div {
  display: table;
  background: #000;
}
#board .navi.active > div img[role="button"] {
  opacity: 1;
}
#board .navi.active > div ul,
#board .navi.active > div .version {
  display: block;
}
body.title {
  color: #fff;
  background: #000;
  margin: 0;
}
body.title #title {
  display: block;
}
body.title #navi {
  width: 800px;
  margin: 0 auto;
}
body.title > .version {
  display: none;
}
#title {
  display: none;
  margin: 40px auto;
  width: 600px;
  padding: 4px;
  border-radius: 5px;
  background: #fff;
  color: #000;
  text-align: center;
  font-family: Century, serif;
  font-size: 16px;
}
#title h1 {
  margin: 0px;
}
#title h1 img {
  width: 540px;
}
#title .version {
  font-family: Georgia, serif;
  font-size: 24px;
}
#title .loading {
  margin: 8px auto;
  color: #666;
  font-family: Verdana, sans-serif;
  font-size: 16px;
  animation: blink 2s infinite;
}
#title .start {
  margin: 8px auto;
  font-family: Century, serif;
  width: 120px;
  padding: 4px;
  border-radius: 4px;
  font-size: 16px;
  color: #fff;
  background: #00f;
  cursor: pointer;
}
#title .start:hover,
#title .start:focus {
  background: #ccc;
  outline: none;
}
#title .login {
  width: 80%;
  margin: 0.5em auto;
}
#title .login input[type="submit"] {
  cursor: pointer;
}
#title .login form.local {
  margin: 0.5em;
}
#title .login form.local input[name="name"] {
  width: 8em;
}
#title .login form.local input[type="submit"] {
  border: none;
  color: #fff;
  background: #00f;
}
#title .login form:not(.local) {
  display: inline-block;
  white-space: nowrap;
}
#title .login form:not(.local) .logo {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  vertical-align: text-bottom;
  background-size: cover;
}
#title .login form:not(.local) input[type=submit] {
  width: 120px;
  border: none;
  background: none;
  box-shadow: none;
  font-weight: normal;
  text-align: left;
  padding: 0;
}
#title .login form:not(.local).hatena .logo {
  background-image: url("https://www.hatena.ne.jp/p/images/favicon.ico");
}
#title .login form:not(.local).google .logo {
  background-image: url("https://www.google.com/favicon.ico");
}
body.board {
  width: 800px;
  margin: 0 auto;
  background: #000;
  color: #fff;
}
body.board #board {
  display: block;
}
body.board > .version {
  border-top: solid 1px #fff;
}
body.analyzer #board > .analyzer {
  display: block;
}
#space {
  display: none;
  background: #666;
}
#board {
  display: none;
  position: relative;
}
#board .board {
  width: 800px;
  height: 680px;
}
#board .controller {
  width: auto;
  height: auto;
}
#board > .analyzer {
  display: none;
  position: absolute;
  top: 0;
  transform: translate(50px, 100px);
  width: 700px;
  height: 300px;
}
#board .navi {
  display: none;
}
@media screen and (min-width: 820px) {
  body.board #board .controller {
    position: absolute;
    top: 0;
    transform: translate(80px, 100px);
    width: auto;
    height: auto;
  }
  body.board > .version {
    border-top: none;
  }
  body.analyzer {
    width: 1400px;
  }
  body.analyzer #board > .analyzer {
    position: relative;
    transform: none;
    width: 590px;
    height: 680px;
  }
  body.analyzer #board .board {
    float: left;
  }
  body.analyzer #board > .analyzer {
    float: right;
  }
}
@media screen and (min-height: 1000px) {
  body.analyzer #board > .analyzer {
    position: relative;
    transform: none;
    width: auto;
    height: 300px;
  }
}
@media screen and (max-height: 680px) {
  body.board {
    height: 100dvh;
  }
  body.board #navi,
  body.board > .version {
    display: none;
  }
  body.board #space {
    display: block;
    height: 100px;
  }
  body.board #board .navi {
    display: block;
  }
}
@media screen and (max-height: 450px) {
  body.board #board .board {
    height: 450px;
  }
  body.board #board .controller {
    position: absolute;
    top: 0;
    right: 0;
  }
  body.board #board > .analyzer {
    transform: translate(30px, 30px);
  }
}
#board .board .score {
  width: 280px;
  height: 160px;
  transform: translate(260px, 260px);
  border-radius: 4px;
  font-size: 14px;
}
#board .board .score div:has(> .jushu) {
  height: 72px;
}
#board .board .score .jushu {
  padding: 4px;
  font-size: 32px;
}
#board .board .score img.chouma {
  width: 60px;
  height: 8px;
}
#board .board .score .shan {
  height: 72px;
  padding: 4px;
}
#board .board .score .shan .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
#board .board .score .defen div {
  width: 120px;
  height: 24px;
  font-size: 16px;
}
#board .board .score .defen div.main {
  transform: translate(80px, 48px);
}
#board .board .score .defen div.xiajia {
  transform: translate(150px, 24px);
}
#board .board .score .defen div.duimian {
  transform: translate(80px, 0px);
}
#board .board .score .defen div.shangjia {
  transform: translate(10px, 24px);
}
#board .board > .player {
  font-size: 20px;
  width: 160px;
  height: 30px;
  border-radius: 6px;
  padding: 2px 0.5em;
}
#board .board > .player.main {
  transform: translate(120px, 580px);
}
#board .board > .player.xiajia {
  transform: translate(540px, 440px);
}
#board .board > .player.duimian {
  transform: translate(500px, 60px);
}
#board .board > .player.shangjia {
  transform: translate(80px, 206px);
}
#board .board .shoupai.main {
  display: table;
  width: 680px;
  height: 60px;
  transform: translate(120px, 620px);
}
#board .board .shoupai.main .bingpai {
  line-height: 1;
  margin-top: 4px;
  float: left;
}
#board .board .shoupai.main .bingpai .pai {
  display: inline-block;
  height: 56px;
  width: 42px;
}
#board .board .shoupai.main .bingpai .pai[role="button"] {
  cursor: pointer;
}
#board .board .shoupai.main .bingpai .pai[role="button"]:focus {
  transform: translate(0, -7px);
  outline: none;
}
#board .board .shoupai.main .bingpai .pai.zimo {
  margin-left: 4.2px;
}
#board .board .shoupai.main .bingpai .pai.deleted {
  transition: width 0.3s ease-out 0.1s;
  opacity: 0;
  width: 0;
}
#board .board .shoupai.main .bingpai .pai.blink:not(.deleted) {
  animation: blink-img 0.5s infinite;
}
#board .board .shoupai.main .fulou {
  line-height: 1;
  margin-top: 20px;
  float: right;
}
#board .board .shoupai.main .fulou .mianzi {
  margin-left: 4.2px;
  float: right;
  display: inline-block;
}
#board .board .shoupai.main .fulou .mianzi .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
#board .board .shoupai.main .fulou .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 40px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-40px, 0px);
}
#board .board .shoupai.main .fulou .mianzi:last-child {
  margin-left: 8.4px;
}
#board .board .shoupai.xiajia {
  display: table;
  width: 560px;
  height: 60px;
  transform: translate(740px, 560px) rotate(270deg);
}
#board .board .shoupai.xiajia .bingpai {
  line-height: 1;
  margin-top: 20px;
  float: left;
}
#board .board .shoupai.xiajia .bingpai .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
#board .board .shoupai.xiajia .bingpai .pai[role="button"] {
  cursor: pointer;
}
#board .board .shoupai.xiajia .bingpai .pai[role="button"]:focus {
  transform: translate(0, -5px);
  outline: none;
}
#board .board .shoupai.xiajia .bingpai .pai.zimo {
  margin-left: 3px;
}
#board .board .shoupai.xiajia .bingpai .pai.deleted {
  transition: width 0.3s ease-out 0.1s;
  opacity: 0;
  width: 0;
}
#board .board .shoupai.xiajia .bingpai .pai.blink:not(.deleted) {
  animation: blink-img 0.5s infinite;
}
#board .board .shoupai.xiajia .fulou {
  line-height: 1;
  margin-top: 20px;
  float: right;
}
#board .board .shoupai.xiajia .fulou .mianzi {
  margin-left: 3px;
  float: right;
  display: inline-block;
}
#board .board .shoupai.xiajia .fulou .mianzi .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
#board .board .shoupai.xiajia .fulou .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 40px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-40px, 0px);
}
#board .board .shoupai.xiajia .fulou .mianzi:last-child {
  margin-left: 6px;
}
#board .board .shoupai.duimian {
  display: table;
  width: 680px;
  height: 60px;
  transform: translate(680px, 60px) rotate(180deg);
}
#board .board .shoupai.duimian .bingpai {
  line-height: 1;
  margin-top: 20px;
  float: left;
}
#board .board .shoupai.duimian .bingpai .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
#board .board .shoupai.duimian .bingpai .pai[role="button"] {
  cursor: pointer;
}
#board .board .shoupai.duimian .bingpai .pai[role="button"]:focus {
  transform: translate(0, -5px);
  outline: none;
}
#board .board .shoupai.duimian .bingpai .pai.zimo {
  margin-left: 3px;
}
#board .board .shoupai.duimian .bingpai .pai.deleted {
  transition: width 0.3s ease-out 0.1s;
  opacity: 0;
  width: 0;
}
#board .board .shoupai.duimian .bingpai .pai.blink:not(.deleted) {
  animation: blink-img 0.5s infinite;
}
#board .board .shoupai.duimian .fulou {
  line-height: 1;
  margin-top: 20px;
  float: right;
}
#board .board .shoupai.duimian .fulou .mianzi {
  margin-left: 3px;
  float: right;
  display: inline-block;
}
#board .board .shoupai.duimian .fulou .mianzi .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
#board .board .shoupai.duimian .fulou .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 40px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-40px, 0px);
}
#board .board .shoupai.duimian .fulou .mianzi:last-child {
  margin-left: 6px;
}
#board .board .shoupai.shangjia {
  display: table;
  width: 560px;
  height: 60px;
  transform: translate(60px, 120px) rotate(90deg);
}
#board .board .shoupai.shangjia .bingpai {
  line-height: 1;
  margin-top: 20px;
  float: left;
}
#board .board .shoupai.shangjia .bingpai .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
#board .board .shoupai.shangjia .bingpai .pai[role="button"] {
  cursor: pointer;
}
#board .board .shoupai.shangjia .bingpai .pai[role="button"]:focus {
  transform: translate(0, -5px);
  outline: none;
}
#board .board .shoupai.shangjia .bingpai .pai.zimo {
  margin-left: 3px;
}
#board .board .shoupai.shangjia .bingpai .pai.deleted {
  transition: width 0.3s ease-out 0.1s;
  opacity: 0;
  width: 0;
}
#board .board .shoupai.shangjia .bingpai .pai.blink:not(.deleted) {
  animation: blink-img 0.5s infinite;
}
#board .board .shoupai.shangjia .fulou {
  line-height: 1;
  margin-top: 20px;
  float: right;
}
#board .board .shoupai.shangjia .fulou .mianzi {
  margin-left: 3px;
  float: right;
  display: inline-block;
}
#board .board .shoupai.shangjia .fulou .mianzi .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
#board .board .shoupai.shangjia .fulou .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 40px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-40px, 0px);
}
#board .board .shoupai.shangjia .fulou .mianzi:last-child {
  margin-left: 6px;
}
#board .board .he {
  width: 300px;
}
#board .board .he >:has(.chouma) {
  line-height: 0;
  width: 180px;
  height: 10px;
  text-align: center;
}
#board .board .he >:has(.chouma) .chouma {
  width: 108px;
  max-height: 10px;
}
#board .board .he >.dapai {
  line-height: 0;
  height: 120px;
}
#board .board .he >.dapai .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
#board .board .he >.dapai .pai.dapai {
  transform: translate(3.333333333333333px, 1.666666666666667px);
}
#board .board .he >.dapai .pai.zimo {
  opacity: 0.8;
}
#board .board .he >.dapai .pai.zimo.dapai {
  opacity: 0.6;
}
#board .board .he >.dapai .pai.fulou {
  opacity: 0.4;
}
#board .board .he >.dapai .lizhi {
  width: 40px;
  display: inline-block;
  text-align: left;
  transform: rotate(270deg);
}
#board .board .he >.dapai .lizhi .pai.dapai {
  transform: translate(-1.666666666666667px, 3.333333333333333px);
}
#board .board .he >.dapai .break {
  display: block;
  width: 3px;
}
#board .board .he.main {
  transform: translate(310px, 420px);
}
#board .board .he.xiajia {
  transform: translate(540px, 430px) rotate(270deg);
}
#board .board .he.duimian {
  transform: translate(490px, 260px) rotate(180deg);
}
#board .board .he.shangjia {
  transform: translate(260px, 250px) rotate(90deg);
}
#board .board .say {
  width: 200px;
  height: 100px;
  font-size: 64px;
}
#board .board .say.main {
  transform: translate(300px, 520px);
}
#board .board .say.xiajia {
  transform: translate(600px, 290px);
}
#board .board .say.duimian {
  transform: translate(300px, 50px);
}
#board .board .say.shangjia {
  transform: translate(0px, 290px);
}
#board .board .dialog {
  width: 800px;
  height: 680px;
}
#board .board .dialog > div {
  width: 800px;
  min-height: 460px;
  padding: 10px 0;
}
#board .board .dialog > div > div {
  min-width: 460px;
  padding: 20px;
}
#board .board .dialog .shan .pai {
  display: inline-block;
  height: 36px;
  width: 27px;
}
#board .board .dialog .shoupai {
  display: table;
  width: auto;
  height: 76px;
}
#board .board .dialog .shoupai .bingpai {
  line-height: 1;
  margin-top: 28px;
  float: left;
}
#board .board .dialog .shoupai .bingpai .pai {
  display: inline-block;
  height: 48px;
  width: 36px;
}
#board .board .dialog .shoupai .bingpai .pai[role="button"] {
  cursor: pointer;
}
#board .board .dialog .shoupai .bingpai .pai[role="button"]:focus {
  transform: translate(0, -6px);
  outline: none;
}
#board .board .dialog .shoupai .bingpai .pai.zimo {
  margin-left: 3.6px;
}
#board .board .dialog .shoupai .bingpai .pai.deleted {
  transition: width 0.3s ease-out 0.1s;
  opacity: 0;
  width: 0;
}
#board .board .dialog .shoupai .bingpai .pai.blink:not(.deleted) {
  animation: blink-img 0.5s infinite;
}
#board .board .dialog .shoupai .fulou {
  line-height: 1;
  margin-top: 28px;
  float: right;
}
#board .board .dialog .shoupai .fulou .mianzi {
  margin-left: 3.6px;
  float: right;
  display: inline-block;
}
#board .board .dialog .shoupai .fulou .mianzi .pai {
  display: inline-block;
  height: 48px;
  width: 36px;
}
#board .board .dialog .shoupai .fulou .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 48px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-48px, 0px);
}
#board .board .dialog .shoupai .fulou .mianzi:last-child {
  margin-left: 7.2px;
}
#board .board .dialog .hupai {
  margin: 10px auto;
  min-width: 280px;
  font-size: 24px;
}
#board .board .dialog :has(> .changbang):has(> .lizhibang) {
  font-size: 16px;
}
#board .board .dialog :has(> .changbang):has(> .lizhibang) img {
  padding-left: 8px;
  width: 60px;
  height: 8px;
}
#board .board .dialog .pingju {
  font-size: 48px;
  margin-top: 50px;
  margin-bottom: 100px;
}
#board .board .dialog .fenpei {
  width: 380px;
  height: 80px;
  margin: 15px auto;
  font-size: 16px;
}
#board .board .dialog .fenpei > * {
  width: 88px;
}
#board .board .dialog .fenpei > *.main {
  transform: translate(146px, 48px);
}
#board .board .dialog .fenpei > *.xiajia {
  transform: translate(292px, 24px);
}
#board .board .dialog .fenpei > *.duimian {
  transform: translate(146px, 0px);
}
#board .board .dialog .fenpei > *.shangjia {
  transform: translate(0px, 24px);
}
#board .board .dialog .fenpei > * .defen {
  width: 60px;
}
#board .board .summary {
  width: 800px;
  height: 680px;
}
#board .board .summary > div {
  width: 800px;
  min-height: 560px;
  padding: 10px 0;
}
#board .board .summary > div > div {
  width: 680px;
  padding: 18px 0;
}
#board .board .summary > div > div table {
  width: 640px;
  font-size: 18px;
}
#board .board .summary > div > div .r_player .name {
  width: 114px;
}
#board .board .summary > div > div .r_point .point {
  font-size: 24px;
}
#board .board .kaiju {
  width: 800px;
  height: 680px;
}
#board .board .kaiju > div {
  width: 580px;
  margin: 120px auto auto;
  border-radius: 6px;
}
#board .board .kaiju > div .title {
  margin: 40px 20px;
  font-size: 32px;
}
#board .board .kaiju > div .player {
  position: relative;
  font-size: 24px;
  height: 136px;
  margin: 1em 20px;
}
#board .board .kaiju > div .player > div {
  position: absolute;
  width: 240px;
  height: 38px;
  padding: 0px 10px;
  border-radius: 4px;
}
#board .board .kaiju > div .player > div.main {
  transform: translate(140px, 96px);
}
#board .board .kaiju > div .player > div.xiajia {
  transform: translate(280px, 48px);
}
#board .board .kaiju > div .player > div.duimian {
  transform: translate(140px, 0px);
}
#board .board .kaiju > div .player > div.shangjia {
  transform: translate(0px, 48px);
}
#board .board .select-action {
  transform: translate(120px, 580px);
}
#board .board .select-action .button {
  width: 4em;
  height: 24px;
  margin-left: 2px;
  font-size: 16px;
}
#board .board .select-mianzi {
  transform: translate(120px, 572px);
  height: 42px;
}
#board .board .select-mianzi .mianzi {
  display: inline-block;
  padding: 4px;
  margin-left: 4px;
}
#board .board .select-mianzi .mianzi .pai {
  display: inline-block;
  height: 28px;
  width: 21px;
}
#board .board .select-mianzi .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 28px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-28px, 0px);
}
#board .timeout.main {
  transform: translate(120px, 600px);
}
@media screen and (max-height: 450px) {
  #board .board .score {
    height: 100px;
    transform: translate(240px, 165px);
  }
  #board .board .score div:has(> .jushu) {
    height: 58px;
  }
  #board .board .score .jushu {
    float: left;
    font-size: 28px;
  }
  #board .board .score div:has(> .chouma) {
    float: left;
    padding-left: 2px;
    padding-right: 0;
  }
  #board .board .score img.chouma {
    width: 28px;
    height: 6px;
  }
  #board .board .score .shan {
    padding: 2px;
    height: 58px;
  }
  #board .board .score .shan .pai {
    display: inline-block;
    height: 34px;
    width: 25.5px;
  }
  #board .board .score .defen div {
    width: 90px;
    height: 20px;
  }
  #board .board .score .defen div.main {
    transform: translate(95px, 15px);
  }
  #board .board .score .defen div.xiajia {
    transform: translate(185px, 0px);
  }
  #board .board .score .defen div.duimian {
    transform: translate(95px, -15px);
  }
  #board .board .score .defen div.shangjia {
    transform: translate(5px, 0px);
  }
  #board .board > .player {
    font-size: 16px;
    width: 120px;
    height: 24px;
    border-radius: 4px;
  }
  #board .board > .player.main {
    transform: translate(164px, 352px);
  }
  #board .board > .player.xiajia {
    transform: translate(499px, 295px);
  }
  #board .board > .player.duimian {
    transform: translate(460px, 50px);
  }
  #board .board > .player.shangjia {
    transform: translate(125px, 107px);
  }
  #board .board .shoupai.main {
    z-index: 1;
    display: table;
    width: 604px;
    height: 60px;
    transform: translate(78px, 388px);
  }
  #board .board .shoupai.main .bingpai {
    line-height: 1;
    margin-top: 8px;
    float: left;
  }
  #board .board .shoupai.main .bingpai .pai {
    display: inline-block;
    height: 52px;
    width: 39px;
  }
  #board .board .shoupai.main .bingpai .pai[role="button"] {
    cursor: pointer;
  }
  #board .board .shoupai.main .bingpai .pai[role="button"]:focus {
    transform: translate(0, -6.5px);
    outline: none;
  }
  #board .board .shoupai.main .bingpai .pai.zimo {
    margin-left: 3.9px;
  }
  #board .board .shoupai.main .bingpai .pai.deleted {
    transition: width 0.3s ease-out 0.1s;
    opacity: 0;
    width: 0;
  }
  #board .board .shoupai.main .bingpai .pai.blink:not(.deleted) {
    animation: blink-img 0.5s infinite;
  }
  #board .board .shoupai.main .fulou {
    line-height: 1;
    margin-top: 20px;
    float: right;
  }
  #board .board .shoupai.main .fulou .mianzi {
    margin-left: 3.9px;
    float: right;
    display: inline-block;
  }
  #board .board .shoupai.main .fulou .mianzi .pai {
    display: inline-block;
    height: 40px;
    width: 30px;
  }
  #board .board .shoupai.main .fulou .mianzi .rotate {
    display: inline-block;
    white-space: nowrap;
    text-align: left;
    width: 40px;
    transform-origin: 0% 0%;
    transform: rotate(270deg) translate(-40px, 0px);
  }
  #board .board .shoupai.main .fulou .mianzi:last-child {
    margin-left: 7.800000000000001px;
  }
  #board .board .shoupai.xiajia {
    display: table;
    width: 448px;
    height: 87px;
    transform: translate(652px, 450px) rotate(270deg);
  }
  #board .board .shoupai.xiajia .bingpai {
    line-height: 1;
    margin-top: 0;
    float: none;
  }
  #board .board .shoupai.xiajia .bingpai .pai {
    display: inline-block;
    height: 34px;
    width: 25.5px;
  }
  #board .board .shoupai.xiajia .bingpai .pai[role="button"] {
    cursor: pointer;
  }
  #board .board .shoupai.xiajia .bingpai .pai[role="button"]:focus {
    transform: translate(0, -4.25px);
    outline: none;
  }
  #board .board .shoupai.xiajia .bingpai .pai.zimo {
    margin-left: 2.55px;
  }
  #board .board .shoupai.xiajia .bingpai .pai.deleted {
    transition: width 0.3s ease-out 0.1s;
    opacity: 0;
    width: 0;
  }
  #board .board .shoupai.xiajia .bingpai .pai.blink:not(.deleted) {
    animation: blink-img 0.5s infinite;
  }
  #board .board .shoupai.xiajia .fulou {
    line-height: 1;
    margin-top: 19px;
    float: none;
  }
  #board .board .shoupai.xiajia .fulou .mianzi {
    margin-left: 2.55px;
    float: right;
    display: inline-block;
  }
  #board .board .shoupai.xiajia .fulou .mianzi .pai {
    display: inline-block;
    height: 34px;
    width: 25.5px;
  }
  #board .board .shoupai.xiajia .fulou .mianzi .rotate {
    display: inline-block;
    white-space: nowrap;
    text-align: left;
    width: 34px;
    transform-origin: 0% 0%;
    transform: rotate(270deg) translate(-34px, 0px);
  }
  #board .board .shoupai.xiajia .fulou .mianzi:last-child {
    margin-left: 5.100000000000001px;
  }
  #board .board .shoupai.xiajia .bingpai {
    margin-left: 72px;
  }
  #board .board .shoupai.duimian {
    display: table;
    width: 490px;
    height: 48px;
    transform: translate(625px, 52px) rotate(180deg);
  }
  #board .board .shoupai.duimian .bingpai {
    line-height: 1;
    margin-top: 14px;
    float: left;
  }
  #board .board .shoupai.duimian .bingpai .pai {
    display: inline-block;
    height: 34px;
    width: 25.5px;
  }
  #board .board .shoupai.duimian .bingpai .pai[role="button"] {
    cursor: pointer;
  }
  #board .board .shoupai.duimian .bingpai .pai[role="button"]:focus {
    transform: translate(0, -4.25px);
    outline: none;
  }
  #board .board .shoupai.duimian .bingpai .pai.zimo {
    margin-left: 2.55px;
  }
  #board .board .shoupai.duimian .bingpai .pai.deleted {
    transition: width 0.3s ease-out 0.1s;
    opacity: 0;
    width: 0;
  }
  #board .board .shoupai.duimian .bingpai .pai.blink:not(.deleted) {
    animation: blink-img 0.5s infinite;
  }
  #board .board .shoupai.duimian .fulou {
    line-height: 1;
    margin-top: 14px;
    float: right;
  }
  #board .board .shoupai.duimian .fulou .mianzi {
    margin-left: 2.55px;
    float: right;
    display: inline-block;
  }
  #board .board .shoupai.duimian .fulou .mianzi .pai {
    display: inline-block;
    height: 34px;
    width: 25.5px;
  }
  #board .board .shoupai.duimian .fulou .mianzi .rotate {
    display: inline-block;
    white-space: nowrap;
    text-align: left;
    width: 34px;
    transform-origin: 0% 0%;
    transform: rotate(270deg) translate(-34px, 0px);
  }
  #board .board .shoupai.duimian .fulou .mianzi:last-child {
    margin-left: 5.100000000000001px;
  }
  #board .board .shoupai.shangjia {
    display: table;
    width: 448px;
    height: 87px;
    transform: translate(108px, 0px) rotate(90deg);
  }
  #board .board .shoupai.shangjia .bingpai {
    line-height: 1;
    margin-top: 0;
    float: none;
  }
  #board .board .shoupai.shangjia .bingpai .pai {
    display: inline-block;
    height: 34px;
    width: 25.5px;
  }
  #board .board .shoupai.shangjia .bingpai .pai[role="button"] {
    cursor: pointer;
  }
  #board .board .shoupai.shangjia .bingpai .pai[role="button"]:focus {
    transform: translate(0, -4.25px);
    outline: none;
  }
  #board .board .shoupai.shangjia .bingpai .pai.zimo {
    margin-left: 2.55px;
  }
  #board .board .shoupai.shangjia .bingpai .pai.deleted {
    transition: width 0.3s ease-out 0.1s;
    opacity: 0;
    width: 0;
  }
  #board .board .shoupai.shangjia .bingpai .pai.blink:not(.deleted) {
    animation: blink-img 0.5s infinite;
  }
  #board .board .shoupai.shangjia .fulou {
    line-height: 1;
    margin-top: 19px;
    float: none;
  }
  #board .board .shoupai.shangjia .fulou .mianzi {
    margin-left: 2.55px;
    float: right;
    display: inline-block;
  }
  #board .board .shoupai.shangjia .fulou .mianzi .pai {
    display: inline-block;
    height: 34px;
    width: 25.5px;
  }
  #board .board .shoupai.shangjia .fulou .mianzi .rotate {
    display: inline-block;
    white-space: nowrap;
    text-align: left;
    width: 34px;
    transform-origin: 0% 0%;
    transform: rotate(270deg) translate(-34px, 0px);
  }
  #board .board .shoupai.shangjia .fulou .mianzi:last-child {
    margin-left: 5.100000000000001px;
  }
  #board .board .shoupai.shangjia .bingpai {
    margin-left: 20px;
  }
  #board .board .he {
    width: 250px;
  }
  #board .board .he >:has(.chouma) {
    line-height: 0;
    width: 153px;
    height: 8.5px;
    text-align: center;
  }
  #board .board .he >:has(.chouma) .chouma {
    width: 91.8px;
    max-height: 8.5px;
  }
  #board .board .he >.dapai {
    line-height: 0;
    height: 102px;
  }
  #board .board .he >.dapai .pai {
    display: inline-block;
    height: 34px;
    width: 25.5px;
  }
  #board .board .he >.dapai .pai.dapai {
    transform: translate(2.833333333333333px, 1.416666666666667px);
  }
  #board .board .he >.dapai .pai.zimo {
    opacity: 0.8;
  }
  #board .board .he >.dapai .pai.zimo.dapai {
    opacity: 0.6;
  }
  #board .board .he >.dapai .pai.fulou {
    opacity: 0.4;
  }
  #board .board .he >.dapai .lizhi {
    width: 34px;
    display: inline-block;
    text-align: left;
    transform: rotate(270deg);
  }
  #board .board .he >.dapai .lizhi .pai.dapai {
    transform: translate(-1.416666666666667px, 2.833333333333333px);
  }
  #board .board .he >.dapai .break {
    display: block;
    width: 2.55px;
  }
  #board .board .he.main {
    transform: translate(305px, 265px);
  }
  #board .board .he.xiajia {
    transform: translate(520px, 290px) rotate(270deg);
  }
  #board .board .he.duimian {
    transform: translate(455px, 165px) rotate(180deg);
  }
  #board .board .he.shangjia {
    transform: translate(240px, 140px) rotate(90deg);
  }
  #board .board .say {
    z-index: 1;
    width: 200px;
    height: 100px;
    font-size: 64px;
  }
  #board .board .say.main {
    transform: translate(280px, 295px);
  }
  #board .board .say.xiajia {
    transform: translate(520px, 165px);
  }
  #board .board .say.duimian {
    transform: translate(280px, 35px);
  }
  #board .board .say.shangjia {
    transform: translate(40px, 165px);
  }
  #board .board .dialog {
    z-index: 1;
    height: 450px;
  }
  #board .board .dialog > div {
    width: 760px;
    min-height: 340px;
    padding: 10px 0;
  }
  #board .board .dialog > div > div {
    min-width: 420px;
    padding: 10px;
  }
  #board .board .dialog .shan .pai {
    display: inline-block;
    height: 32px;
    width: 24px;
  }
  #board .board .dialog .shoupai {
    display: table;
    width: auto;
    height: 66px;
  }
  #board .board .dialog .shoupai .bingpai {
    line-height: 1;
    margin-top: 22px;
    float: left;
  }
  #board .board .dialog .shoupai .bingpai .pai {
    display: inline-block;
    height: 44px;
    width: 33px;
  }
  #board .board .dialog .shoupai .bingpai .pai[role="button"] {
    cursor: pointer;
  }
  #board .board .dialog .shoupai .bingpai .pai[role="button"]:focus {
    transform: translate(0, -5.5px);
    outline: none;
  }
  #board .board .dialog .shoupai .bingpai .pai.zimo {
    margin-left: 3.3px;
  }
  #board .board .dialog .shoupai .bingpai .pai.deleted {
    transition: width 0.3s ease-out 0.1s;
    opacity: 0;
    width: 0;
  }
  #board .board .dialog .shoupai .bingpai .pai.blink:not(.deleted) {
    animation: blink-img 0.5s infinite;
  }
  #board .board .dialog .shoupai .fulou {
    line-height: 1;
    margin-top: 22px;
    float: right;
  }
  #board .board .dialog .shoupai .fulou .mianzi {
    margin-left: 3.3px;
    float: right;
    display: inline-block;
  }
  #board .board .dialog .shoupai .fulou .mianzi .pai {
    display: inline-block;
    height: 44px;
    width: 33px;
  }
  #board .board .dialog .shoupai .fulou .mianzi .rotate {
    display: inline-block;
    white-space: nowrap;
    text-align: left;
    width: 44px;
    transform-origin: 0% 0%;
    transform: rotate(270deg) translate(-44px, 0px);
  }
  #board .board .dialog .shoupai .fulou .mianzi:last-child {
    margin-left: 6.600000000000001px;
  }
  #board .board .dialog .hupai {
    min-width: 240px;
    font-size: 20px;
  }
  #board .board .dialog :has(> .changbang):has(> .lizhibang) {
    font-size: 14px;
  }
  #board .board .dialog .pingju {
    font-size: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
  }
  #board .board .summary {
    z-index: 1;
    height: 450px;
  }
  #board .board .summary > div {
    min-height: 360px;
  }
  #board .board .summary > div > div {
    padding: 12px 0px;
  }
  #board .board .summary > div > div table {
    font-size: 16px;
  }
  #board .board .summary > div > div .r_point .point {
    font-size: 20px;
  }
  #board .board .kaiju {
    z-index: 1;
    height: 450px;
  }
  #board .board .kaiju > div {
    margin: 40px auto auto;
  }
  #board .board .select-action {
    transform: translate(78px, 348px);
  }
  #board .board .select-action .button {
    padding: 8px 0;
  }
  #board .board .select-mianzi {
    transform: translate(78px, 356px);
  }
  #board .timeout.main {
    transform: translate(78px, 380px);
  }
}
#board .board {
  box-sizing: border-box;
  background: #154;
}
#board .board > * {
  position: absolute;
  transform-origin: 0% 0%;
}
#board .board .score {
  box-sizing: border-box;
  background: #111;
  font-family: Georgia, serif;
}
#board .board .score div:has(> .jushu) {
  float: left;
}
#board .board .score .jushu {
  line-height: 1;
  font-family: "HGP行書体", /*"Weibei SC", "YuKyokasho",*/ STKaiti, serif;
}
#board .board .score .jushu + div {
  display: table;
  margin: auto;
}
#board .board .score .shan {
  float: right;
  text-align: right;
}
#board .board .score .defen {
  clear: both;
}
#board .board .score .defen div {
  position: absolute;
}
#board .board .score .defen div.lunban {
  color: #0ff;
}
#board .board .score .defen div.main {
  text-align: center;
}
#board .board .score .defen div.xiajia {
  text-align: right;
}
#board .board .score .defen div.duimian {
  text-align: center;
}
#board .board .score .defen div.shangjia {
  text-align: left;
}
#board .board > .player {
  background: #000;
  font-family: Century, serif;
  opacity: 0.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#board .board > .player.disconnect {
  opacity: 0.1;
}
#board .board .shoupai {
  box-sizing: border-box;
}
#board .board .he {
  box-sizing: border-box;
}
#board .board .say {
  box-sizing: border-box;
  font-family: Century, serif;
  color: #fff;
  text-shadow: 3px 3px 6px #333, -3px 3px 6px #333, -3px -3px 6px #333, 3px -3px 6px #333;
  transition: opacity 0.4s ease-out;
}
#board .board .say.main {
  text-align: center;
}
#board .board .say.xiajia {
  text-align: left;
}
#board .board .say.duimian {
  text-align: center;
}
#board .board .say.shangjia {
  text-align: right;
}
#board .board :has(> .submit) {
  text-align: center;
}
#board .board .submit {
  background: #ccc;
  color: #000;
  padding: 1px 1em;
  border: solid 1px;
  border-radius: 4px;
  font-family: Verdana, sans-serif;
}
#board .board .dialog {
  display: flex;
  overflow: auto;
  align-items: center;
  transition: opacity 0.2s ease-in;
}
#board .board .dialog > div {
  margin: auto 0;
}
#board .board .dialog > div > div {
  position: relative;
  display: table;
  background: rgba(0,0,0,0.8);
  margin: auto;
}
#board .board .dialog .shan .baopai {
  float: left;
}
#board .board .dialog .shan .fubaopai {
  float: right;
}
#board .board .dialog .shoupai {
  clear: both;
}
#board .board .dialog .hupai {
  font-family: "HGP行書体", /*"Weibei SC", "YuKyokasho",*/ STKaiti, serif;
  line-height: 1;
}
#board .board .dialog .hupai .fanshu,
#board .board .dialog .hupai .defen {
  text-align: right;
}
#board .board .dialog :has(> .changbang):has(> .lizhibang) {
  font-family: Georgia, serif;
  text-align: center;
}
#board .board .dialog .pingju {
  font-family: "HGP行書体", /*"Weibei SC", "YuKyokasho",*/ STKaiti, serif;
  line-height: 1;
  text-align: center;
}
#board .board .dialog .fenpei {
  font-family: Georgia, serif;
}
#board .board .dialog .fenpei > * {
  position: absolute;
  transform-origin: 0% 0%;
  display: inline-block;
  line-height: 1;
}
#board .board .dialog .fenpei > * .defen,
#board .board .dialog .fenpei > * .diff {
  display: inline-block;
  float: right;
  text-align: right;
}
#board .board .dialog .fenpei > * .plus {
  color: #0ff;
}
#board .board .dialog .fenpei > * .minus {
  color: #f00;
}
#board .board .dialog .timeout {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 15px;
}
#board .board .summary {
  z-index: 1;
  display: flex;
  overflow: auto;
  align-items: center;
  transition: opacity 0.2s ease-out;
}
#board .board .summary > div {
  margin: auto 0;
}
#board .board .summary > div > div {
  background: rgba(0,0,0,0.8);
  margin: auto;
}
#board .board .summary table {
  margin: auto;
  border-collapse: collapse;
  font-family: Century, serif;
  line-height: 1.5;
}
#board .board .summary table .r_player {
  border-bottom: solid 2px;
}
#board .board .summary table .r_diff .last {
  width: 3em;
  text-align: center;
}
#board .board .summary table .r_diff :has(> .diff) {
  text-align: right;
  font-family: Georgia, serif;
}
#board .board .summary table .r_diff :has(> .diff) .lizhi {
  display: inline-block;
  width: 1.2em;
  text-align: center;
}
#board .board .summary table .r_diff .zhuangjia {
  background: rgba(128,128,128,0.4);
}
#board .board .summary table .r_defen {
  border-top: solid 2px;
  font-family: Georgia, serif;
}
#board .board .summary table .r_defen .defen {
  text-align: right;
  padding-right: 1.2em;
}
#board .board .summary table .r_point {
  border-top: solid 1px;
  font-family: Georgia, serif;
}
#board .board .summary table .r_point .point {
  text-align: center;
}
#board .board .summary .plus {
  color: #0ff;
}
#board .board .summary .minus {
  color: #f00;
}
#board .board .summary :has(> .submit) {
  margin-top: 1em;
}
#board .board .kaiju {
  color: #fff;
  background: #154;
}
#board .board .kaiju > div {
  position: relative;
  background: #111;
  border: solid 1px #111;
}
#board .board .kaiju > div .title {
  text-align: center;
  font-family: "HGP行書体", /*"Weibei SC", "YuKyokasho",*/ STKaiti, serif;
  line-height: 1;
}
#board .board .kaiju > div .player {
  font-family: Century, serif;
}
#board .board .kaiju > div .player > * {
  background: #333;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#board .board .kaiju > div :has(> .submit) {
  margin-bottom: 1em;
}
#board .board .kaiju .timeout {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 15px;
}
#board .board .select-action {
  z-index: 1;
  text-align: right;
  white-space: nowrap;
  display: flex;
  justify-content: end;
}
#board .board .select-action .button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-family: Verdana, sans-serif;
  color: #fff;
  background: #000;
  border-radius: 4px;
}
#board .board .select-action .button:focus {
  background: #999;
  outline: none;
}
#board .board .select-mianzi {
  z-index: 1;
  text-align: right;
  white-space: nowrap;
  display: flex;
  justify-content: end;
}
#board .board .select-mianzi .mianzi {
  background: #000;
  cursor: pointer;
  opacity: 0.7;
}
#board .board .select-mianzi .mianzi:focus {
  outline: none;
  opacity: 1;
}
#board .timeout {
  text-align: right;
  font-size: 16px;
  font-family: Georgia, serif;
  text-shadow: 2px 2px 4px #000;
}
#board .controller {
  border: solid 4px transparent;
  border-radius: 6px;
  line-height: 1;
  padding: 6px;
}
#board .controller img {
  width: 20px;
  height: 20px;
  margin: 2px 4px;
  opacity: 0.2;
}
#board .controller img:focus {
  outline: none;
  opacity: 0.8;
}
#board .controller img:active {
  opacity: 1;
}
#board .controller .speed {
  line-height: 1;
}
#board .controller .speed img {
  width: 16px;
  height: 16px;
}
#board .controller .speed .step {
  display: inline-block;
  background: #fff;
  width: 16px;
  height: 8px;
  border-radius: 4px;
  margin: 6px 1px;
  opacity: 0.1;
}
#board .controller:hover {
  border-color: #333;
  background: #000;
}
#board .controller:hover img {
  opacity: 0.5;
}
#board .controller:hover img:focus {
  outline: none;
  opacity: 0.8;
}
#board .controller:hover img:active {
  opacity: 1;
}
#board .controller:hover .speed .step {
  opacity: 0.2;
}
#board .download {
  position: absolute;
  z-index: 1;
  top: 0.5em;
  left: 0.5em;
}
#board .download a {
  background: #000;
  color: #fff;
  opacity: 0.7;
  display: inline-block;
  text-decoration: none;
  font-size: 18px;
  font-family: Verdana, sans-serif;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}
#board .download a img {
  height: 1.2em;
  margin-right: 0.5em;
  vertical-align: middle;
}
@media (any-hover: hover) {
  #board .download a:hover {
    opacity: 1;
  }
}
@media screen and (max-width: 820px) {
  #board .controller {
    padding: 4px;
    border: none;
    text-align: center;
  }
  #board .controller > div,
  #board .controller .speed {
    display: inline;
  }
  #board .controller img {
    margin: 2px 12px;
    opacity: 0.5;
  }
  #board .controller img:hover {
    opacity: inherit;
  }
  #board .controller .speed .step {
    opacity: 0.3;
  }
  #board .controller:hover {
    background: inherit;
  }
  #board .controller:hover img,
  #board .controller:hover img:hover {
    opacity: 0.5;
  }
}
@media screen and (max-height: 450px) {
  #board .controller {
    width: 40px;
    height: auto;
    margin-top: 8px;
    padding: 0;
    border: none;
  }
  #board .controller img {
    display: block;
    width: 24px;
    height: 24px;
    margin: 8px auto;
    opacity: 0.3;
  }
  #board .controller .speed img {
    width: 24px;
    height: 24px;
    margin: 2px auto;
  }
  #board .controller .speed .step {
    display: block;
    width: 24px;
    margin: 2px auto;
    opacity: 0.2;
  }
  #board .controller:hover img,
  #board .controller:hover img:hover {
    opacity: 0.3;
  }
  #board .download {
    margin-left: 2em;
  }
}
body.room {
  color: #000;
  background: #fff;
  margin: 0 10px 15px;
}
body.room #room {
  display: block;
}
body.room > .version {
  display: none;
}
#room {
  display: none;
}
#room h1 {
  margin-top: 0;
  font-size: 24px;
  border-bottom: solid 2px #000;
}
#room h1 img {
  height: 36px;
  vertical-align: bottom;
}
#room > .version {
  margin-top: -2.4em;
  margin-bottom: 0.7em;
  font-size: 16px;
  font-family: Georgia, serif;
  text-align: right;
}
#room .netplay img,
#room .room img {
  width: 2em;
  vertical-align: middle;
  border-radius: 50%;
  margin-right: 0.5em;
}
#room .netplay .name,
#room .room .name {
  display: inline-block;
  vertical-align: middle;
  font-size: 120%;
  width: 8em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#room .netplay {
  font-size: 14px;
  font-family: Verdana, sans-serif;
}
#room .netplay form {
  margin-right: 0.5em;
  display: inline-block;
}
#room .netplay form input[name="room_no"] {
  width: 3em;
}
#room > form {
  font-size: 14px;
  margin: 1em;
  padding: 1em;
  border: solid 1px;
  border-radius: 10px;
}
#room > form input[name="room_no"] {
  width: 3em;
}
#room > form .user {
  display: block;
  padding: 2px;
}
#room > form .user.offline {
  opacity: 0.3;
}
#room > form input[name="timer"] {
  width: 5em;
}
#room .error {
  transition: opacity 0.5s ease-out;
  font-size: 14px;
  font-family: Verdana, sans-serif;
  margin-bottom: 0.5em;
  border-radius: 5px;
  border: solid 1px;
  padding: 2px 1em;
  color: #f00;
  background: #fdd;
}
body.rule {
  font-size: 16px;
  font-family: Verdana, sans-serif;
  color: #000;
  background: #fff;
  margin: 0 5px 32px;
}
body.rule > * {
  max-width: 800px;
  margin: 0 auto;
}
body.rule .message {
  color: #090;
  background: #cfc;
  border: solid 1px #090;
  border-radius: 8px;
  padding: 4px 1em;
  transition: opacity 0.2s ease-out;
}
body.rule form {
  transition: opacity 0.4s ease-out;
}
body.rule form dl {
  margin: 8px 0;
  border-bottom: solid 1px #999;
  line-height: 1.6;
}
body.rule form dl::after {
  display: block;
  content: "";
  clear: both;
}
body.rule form dt {
  width: 8.5em;
  margin: 2px 0;
  clear: both;
  float: left;
  font-size: 100%;
  font-weight: bold;
  text-align: right;
}
body.rule form dd {
  width: calc(100% - 9.5em);
  margin-left: 0;
  margin: 2px 0;
  float: right;
}
body.rule form dd label {
  margin-right: 0.5em;
}
body.rule form dd label.wrap {
  display: inline-block;
}
body.rule form dd input {
  padding: 1px 0.5em;
}
body.rule form dd select[name="プリセット"] {
  padding: 1px 1em 1px 0.5em;
}
body.rule form dd input[name="配給原点"] {
  width: 4em;
  text-align: right;
}
body.rule form dd input[name="順位点"] {
  width: 3.5em;
  text-align: right;
}
body.rule form dd img {
  height: 2.4em;
  vertical-align: middle;
}
body.rule form dd select[name="赤牌"] {
  padding: 1px;
}
body.rule form input[type="submit"] {
  display: block;
  margin: 0.5em auto;
}
@media screen and (max-width: 480px) {
  body.rule form dt {
    width: auto;
    margin-right: 0.5em;
  }
  body.rule form dd {
    width: calc(100% - 7em);
  }
}
@media screen and (max-width: 360px) {
  body.rule form dd {
    width: calc(100% - 1em);
  }
}
body.demo {
  color: #fff;
  background: #036;
  margin: 0 10px 20px;
  font-size: 12px;
  font-family: Verdana, sans-serif;
}
body.demo h1 {
  display: none;
}
body.demo .shan .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
body.demo .shoupai {
  display: table;
  width: auto;
  height: 84px;
}
body.demo .shoupai .bingpai {
  line-height: 1;
  margin-top: 28px;
  float: left;
}
body.demo .shoupai .bingpai .pai {
  display: inline-block;
  height: 56px;
  width: 42px;
}
body.demo .shoupai .bingpai .pai[role="button"] {
  cursor: pointer;
}
body.demo .shoupai .bingpai .pai[role="button"]:focus {
  transform: translate(0, -7px);
  outline: none;
}
body.demo .shoupai .bingpai .pai.zimo {
  margin-left: 4.2px;
}
body.demo .shoupai .bingpai .pai.deleted {
  transition: width 0.3s ease-out 0.1s;
  opacity: 0;
  width: 0;
}
body.demo .shoupai .bingpai .pai.blink:not(.deleted) {
  animation: blink-img 0.5s infinite;
}
body.demo .shoupai .fulou {
  line-height: 1;
  margin-top: 28px;
  float: right;
}
body.demo .shoupai .fulou .mianzi {
  margin-left: 4.2px;
  float: right;
  display: inline-block;
}
body.demo .shoupai .fulou .mianzi .pai {
  display: inline-block;
  height: 56px;
  width: 42px;
}
body.demo .shoupai .fulou .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 56px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-56px, 0px);
}
body.demo .shoupai .fulou .mianzi:last-child {
  margin-left: 8.4px;
}
body.demo .he {
  width: 600px;
}
body.demo .he >:has(.chouma) {
  line-height: 0;
  width: 180px;
  height: 10px;
  text-align: left;
}
body.demo .he >:has(.chouma) .chouma {
  width: 108px;
  max-height: 10px;
}
body.demo .he >.dapai {
  line-height: 0;
  height: 40px;
}
body.demo .he >.dapai .pai {
  display: inline-block;
  height: 40px;
  width: 30px;
}
body.demo .he >.dapai .pai.dapai {
  transform: translate(3.333333333333333px, 1.666666666666667px);
}
body.demo .he >.dapai .pai.zimo {
  opacity: 0.8;
}
body.demo .he >.dapai .pai.zimo.dapai {
  opacity: 0.6;
}
body.demo .he >.dapai .pai.fulou {
  opacity: 0.4;
}
body.demo .he >.dapai .lizhi {
  width: 40px;
  display: inline-block;
  text-align: left;
  transform: rotate(270deg);
}
body.demo .he >.dapai .lizhi .pai.dapai {
  transform: translate(-1.666666666666667px, 3.333333333333333px);
}
body.demo .he >.dapai .break {
  display: inline-block;
  width: 3px;
}
body.demo .status {
  margin: 1em auto;
}
body.demo .status a {
  color: inherit;
}
body.demo .paili .pai {
  display: inline-block;
  height: 32px;
  width: 24px;
}
body.demo .paili img {
  vertical-align: middle;
}
body.demo .dialog {
  display: table;
  transition: opacity 0.4s ease-in-out;
  line-height: 1;
}
body.demo .dialog .shan .baopai {
  float: left;
}
body.demo .dialog .shan .fubaopai {
  float: right;
}
body.demo .dialog .shoupai {
  clear: both;
}
body.demo .dialog .hupai {
  margin-top: 10px;
  min-width: 280px;
  font-size: 24px;
  font-family: "HGP行書体", /*"Weibei SC", "YuKyokasho",*/ STKaiti, serif;
}
body.demo .dialog .hupai .fanshu,
body.demo .dialog .hupai .defen {
  text-align: right;
}
body.demo form div {
  margin: 2px 0;
}
body.demo form span {
  margin-right: 1em;
}
body.demo form input[name="paistr"] {
  width: 18em;
}
body.demo form input[name="baopai"],
body.demo form input[name="fubaopai"] {
  width: 2em;
  text-align: center;
}
body.font dl {
  margin-left: 40px;
  font-size: 18px;
}
body.font dt {
  font-family: Menlo, Consolas, Courier, monospace;
}
body.font .title {
  font-family: "HGP行書体", /*"Weibei SC", "YuKyokasho",*/ STKaiti, serif;
  font-size: 28px;
}
body.font .text {
  font-family: Century, serif;
  font-size: 24px;
}
body.font .menu {
  font-family: Verdana, sans-serif;
}
body.font .defen {
  font-family: Georgia, serif;
}
body.font .fixed {
  font-family: Menlo, Consolas, Courier, monospace;
}
body.pai .pai {
  display: inline-block;
  height: 44px;
  width: 33px;
}
body.mianzi .shoupai {
  float: left;
  margin: 10px;
  display: table;
  width: auto;
  height: 72px;
}
body.mianzi .shoupai .bingpai {
  line-height: 1;
  margin-top: 24px;
  float: left;
}
body.mianzi .shoupai .bingpai .pai {
  display: inline-block;
  height: 48px;
  width: 36px;
}
body.mianzi .shoupai .bingpai .pai[role="button"] {
  cursor: pointer;
}
body.mianzi .shoupai .bingpai .pai[role="button"]:focus {
  transform: translate(0, -6px);
  outline: none;
}
body.mianzi .shoupai .bingpai .pai.zimo {
  margin-left: 3.6px;
}
body.mianzi .shoupai .bingpai .pai.deleted {
  transition: width 0.3s ease-out 0.1s;
  opacity: 0;
  width: 0;
}
body.mianzi .shoupai .bingpai .pai.blink:not(.deleted) {
  animation: blink-img 0.5s infinite;
}
body.mianzi .shoupai .fulou {
  line-height: 1;
  margin-top: 24px;
  float: right;
}
body.mianzi .shoupai .fulou .mianzi {
  margin-left: 3.6px;
  float: right;
  display: inline-block;
}
body.mianzi .shoupai .fulou .mianzi .pai {
  display: inline-block;
  height: 48px;
  width: 36px;
}
body.mianzi .shoupai .fulou .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 48px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-48px, 0px);
}
body.mianzi .shoupai .fulou .mianzi:last-child {
  margin-left: 7.2px;
}
body.shoupai .shoupai {
  margin-top: 1em;
  background: #036;
  padding: 4px;
}
body.shoupai .shoupai:nth-child(1) {
  display: table;
  width: auto;
  height: 52px;
  min-width: 382px;
}
body.shoupai .shoupai:nth-child(1) .bingpai {
  line-height: 1;
  margin-top: 16px;
  float: left;
}
body.shoupai .shoupai:nth-child(1) .bingpai .pai {
  display: inline-block;
  height: 36px;
  width: 27px;
}
body.shoupai .shoupai:nth-child(1) .bingpai .pai[role="button"] {
  cursor: pointer;
}
body.shoupai .shoupai:nth-child(1) .bingpai .pai[role="button"]:focus {
  transform: translate(0, -4.5px);
  outline: none;
}
body.shoupai .shoupai:nth-child(1) .bingpai .pai.zimo {
  margin-left: 2.7px;
}
body.shoupai .shoupai:nth-child(1) .bingpai .pai.deleted {
  transition: width 0.3s ease-out 0.1s;
  opacity: 0;
  width: 0;
}
body.shoupai .shoupai:nth-child(1) .bingpai .pai.blink:not(.deleted) {
  animation: blink-img 0.5s infinite;
}
body.shoupai .shoupai:nth-child(1) .fulou {
  line-height: 1;
  margin-top: 16px;
  float: right;
}
body.shoupai .shoupai:nth-child(1) .fulou .mianzi {
  margin-left: 2.7px;
  float: right;
  display: inline-block;
}
body.shoupai .shoupai:nth-child(1) .fulou .mianzi .pai {
  display: inline-block;
  height: 36px;
  width: 27px;
}
body.shoupai .shoupai:nth-child(1) .fulou .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 36px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-36px, 0px);
}
body.shoupai .shoupai:nth-child(1) .fulou .mianzi:last-child {
  margin-left: 5.4px;
}
body.shoupai .shoupai:nth-child(2) {
  display: table;
  width: 420px;
  height: 42px;
}
body.shoupai .shoupai:nth-child(2) .bingpai {
  line-height: 1;
  margin-top: 6px;
  float: left;
}
body.shoupai .shoupai:nth-child(2) .bingpai .pai {
  display: inline-block;
  height: 36px;
  width: 27px;
}
body.shoupai .shoupai:nth-child(2) .bingpai .pai[role="button"] {
  cursor: pointer;
}
body.shoupai .shoupai:nth-child(2) .bingpai .pai[role="button"]:focus {
  transform: translate(0, -4.5px);
  outline: none;
}
body.shoupai .shoupai:nth-child(2) .bingpai .pai.zimo {
  margin-left: 2.7px;
}
body.shoupai .shoupai:nth-child(2) .bingpai .pai.deleted {
  transition: width 0.3s ease-out 0.1s;
  opacity: 0;
  width: 0;
}
body.shoupai .shoupai:nth-child(2) .bingpai .pai.blink:not(.deleted) {
  animation: blink-img 0.5s infinite;
}
body.shoupai .shoupai:nth-child(2) .fulou {
  line-height: 1;
  margin-top: 14px;
  float: right;
}
body.shoupai .shoupai:nth-child(2) .fulou .mianzi {
  margin-left: 2.7px;
  float: right;
  display: inline-block;
}
body.shoupai .shoupai:nth-child(2) .fulou .mianzi .pai {
  display: inline-block;
  height: 28px;
  width: 21px;
}
body.shoupai .shoupai:nth-child(2) .fulou .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 28px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-28px, 0px);
}
body.shoupai .shoupai:nth-child(2) .fulou .mianzi:last-child {
  margin-left: 5.4px;
}
body.shoupai .shoupai:nth-child(3) {
  display: table;
  width: 382px;
  height: 80px;
}
body.shoupai .shoupai:nth-child(3) .bingpai {
  line-height: 1;
  margin-top: 0;
  float: none;
}
body.shoupai .shoupai:nth-child(3) .bingpai .pai {
  display: inline-block;
  height: 36px;
  width: 27px;
}
body.shoupai .shoupai:nth-child(3) .bingpai .pai[role="button"] {
  cursor: pointer;
}
body.shoupai .shoupai:nth-child(3) .bingpai .pai[role="button"]:focus {
  transform: translate(0, -4.5px);
  outline: none;
}
body.shoupai .shoupai:nth-child(3) .bingpai .pai.zimo {
  margin-left: 2.7px;
}
body.shoupai .shoupai:nth-child(3) .bingpai .pai.deleted {
  transition: width 0.3s ease-out 0.1s;
  opacity: 0;
  width: 0;
}
body.shoupai .shoupai:nth-child(3) .bingpai .pai.blink:not(.deleted) {
  animation: blink-img 0.5s infinite;
}
body.shoupai .shoupai:nth-child(3) .fulou {
  line-height: 1;
  margin-top: 16px;
  float: none;
}
body.shoupai .shoupai:nth-child(3) .fulou .mianzi {
  margin-left: 2.7px;
  float: right;
  display: inline-block;
}
body.shoupai .shoupai:nth-child(3) .fulou .mianzi .pai {
  display: inline-block;
  height: 28px;
  width: 21px;
}
body.shoupai .shoupai:nth-child(3) .fulou .mianzi .rotate {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  width: 28px;
  transform-origin: 0% 0%;
  transform: rotate(270deg) translate(-28px, 0px);
}
body.shoupai .shoupai:nth-child(3) .fulou .mianzi:last-child {
  margin-left: 5.4px;
}
body.shan .shan {
  font-size: 12px;
}
body.shan .shan .pai {
  display: inline-block;
  height: 36px;
  width: 27px;
}
body.shan .shan .baopai,
body.shan .shan .fubaopai {
  display: inline-block;
  margin-right: 1em;
}
body.shan .zimo {
  line-height: 0;
}
body.shan .zimo .pai {
  display: inline-block;
  height: 32px;
  width: 24px;
}
body.he .he {
  background: #036;
  padding: 4px;
  margin-bottom: 1em;
}
body.he .he:nth-child(1) {
  width: 610px;
}
body.he .he:nth-child(1) >:has(.chouma) {
  line-height: 0;
  width: 162px;
  height: 9px;
  text-align: left;
}
body.he .he:nth-child(1) >:has(.chouma) .chouma {
  width: 97.2px;
  max-height: 9px;
}
body.he .he:nth-child(1) >.dapai {
  line-height: 0;
  height: 36px;
}
body.he .he:nth-child(1) >.dapai .pai {
  display: inline-block;
  height: 36px;
  width: 27px;
}
body.he .he:nth-child(1) >.dapai .pai.dapai {
  transform: translate(3px, 1.5px);
}
body.he .he:nth-child(1) >.dapai .pai.zimo {
  opacity: 0.8;
}
body.he .he:nth-child(1) >.dapai .pai.zimo.dapai {
  opacity: 0.6;
}
body.he .he:nth-child(1) >.dapai .pai.fulou {
  opacity: 0.4;
}
body.he .he:nth-child(1) >.dapai .lizhi {
  width: 36px;
  display: inline-block;
  text-align: left;
  transform: rotate(270deg);
}
body.he .he:nth-child(1) >.dapai .lizhi .pai.dapai {
  transform: translate(-1.5px, 3px);
}
body.he .he:nth-child(1) >.dapai .break {
  display: inline-block;
  width: 2.7px;
}
body.he .he:nth-child(2) {
  width: 270px;
}
body.he .he:nth-child(2) >:has(.chouma) {
  line-height: 0;
  width: 162px;
  height: 9px;
  text-align: center;
}
body.he .he:nth-child(2) >:has(.chouma) .chouma {
  width: 97.2px;
  max-height: 9px;
}
body.he .he:nth-child(2) >.dapai {
  line-height: 0;
  height: 108px;
}
body.he .he:nth-child(2) >.dapai .pai {
  display: inline-block;
  height: 36px;
  width: 27px;
}
body.he .he:nth-child(2) >.dapai .pai.dapai {
  transform: translate(3px, 1.5px);
}
body.he .he:nth-child(2) >.dapai .pai.zimo {
  opacity: 0.8;
}
body.he .he:nth-child(2) >.dapai .pai.zimo.dapai {
  opacity: 0.6;
}
body.he .he:nth-child(2) >.dapai .pai.fulou {
  opacity: 0.4;
}
body.he .he:nth-child(2) >.dapai .lizhi {
  width: 36px;
  display: inline-block;
  text-align: left;
  transform: rotate(270deg);
}
body.he .he:nth-child(2) >.dapai .lizhi .pai.dapai {
  transform: translate(-1.5px, 3px);
}
body.he .he:nth-child(2) >.dapai .break {
  display: block;
  width: 2.7px;
}
body.he .he:nth-child(3) {
  width: 270px;
}
body.he .he:nth-child(3) >:has(.chouma) {
  line-height: 0;
  width: 162px;
  height: 9px;
  text-align: center;
}
body.he .he:nth-child(3) >:has(.chouma) .chouma {
  width: 97.2px;
  max-height: 9px;
}
body.he .he:nth-child(3) >.dapai {
  line-height: 0;
  height: 108px;
}
body.he .he:nth-child(3) >.dapai .pai {
  display: inline-block;
  height: 36px;
  width: 27px;
}
body.he .he:nth-child(3) >.dapai .pai.dapai {
  transform: translate(3px, 1.5px);
}
body.he .he:nth-child(3) >.dapai .pai.zimo {
  opacity: 0.8;
}
body.he .he:nth-child(3) >.dapai .pai.zimo.dapai {
  opacity: 0.6;
}
body.he .he:nth-child(3) >.dapai .pai.fulou {
  opacity: 0.4;
}
body.he .he:nth-child(3) >.dapai .lizhi {
  width: 36px;
  display: inline-block;
  text-align: left;
  transform: rotate(270deg);
}
body.he .he:nth-child(3) >.dapai .lizhi .pai.dapai {
  transform: translate(-1.5px, 3px);
}
body.he .he:nth-child(3) >.dapai .break {
  display: block;
  width: 2.7px;
}
body.title #demo {
  display: none;
}
#demo #loaddata {
  display: block;
}
#demo #loaddata .pai {
  display: inline-block;
  height: 56px;
  width: 42px;
}
#demo > img {
  width: 600px;
}
#debug {
  z-index: 1;
  bottom: 0;
  right: 0;
  font-size: 16px;
  font-family: Menlo, Consolas, Courier, monospace;
  margin: 4px;
  padding: 8px;
  background: #000;
  border-radius: 8px;
  opacity: 0.8;
}
