* {
  margin: 0;
  padding: 0;
  border-width: 0;
  font-size: inherit;
  font-weight: inherit;
  vertical-align: baseline;
}
body {
  font-size: 16px;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  padding: 4px 0;
}
h1 {
  font-size: 130%;
}
h2 {
  font-size: 125%;
}
h3 {
  font-size: 120%;
}
h4 {
  font-size: 115%;
}
h5 {
  font-size: 110%;
}
h6 {
  font-size: 105%;
}
p {
  padding: 2px 0;
}
a {
  color: blue;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
#page_header {
  position: sticky;
  z-index: 2;
  top: 0;
  background: white;
  box-shadow: 0 0 5px gray;
}
#page_header h1 {
  text-align: center;
  padding: 10px 0;
}
#page_header a {
  color: black;
}
#page_header a:hover {
  text-decoration: none;
}
#page_content {
  margin-top: 15px;
}
table {
  border-collapse: collapse;
}
table th {
  font-weight: bold;
}
table th,
table td {
  padding: 4px 6px;
  text-align: left;
}
table th.center,
table td.center {
  text-align: center;
}
table th.right,
table td.right {
  text-align: right;
}
table th.narrow,
table td.narrow {
  width: 0;
}
table th.empty,
table td.empty,
table th:empty,
table td:empty {
  width: 0;
  padding: 0;
  font-size: 0;
}
#page_footer {
  margin-top: 48px;
  border-top: 1px solid black;
  padding: 10px 20px 30px;
  text-align: center;
}
.list-page h2,
.list-page h3 {
  text-align: center;
}
.list-page .list-items .list-item {
  display: block;
  border: 1px solid black;
  margin: 10px;
}
.list-page .list-items .list-item .information h3 {
  padding-left: 5px;
}
.list-page .list-items .list-item .image {
  margin: 5px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
}
.list-page .list-items .list-item .image img {
  width: auto;
  height: auto;
  max-width: 80px;
  max-height: 80px;
  margin: 0;
}
.list-page .list-items .list-item .image + .information {
  padding-left: 90px;
}
.list-page .list-items .list-item::after {
  content: "";
  display: block;
  clear: both;
}
.list-page .list-items a.list-item {
  cursor: pointer;
  color: black;
  transition: all 0.3s;
}
.list-page .list-items a.list-item:hover {
  box-shadow: 0 0 3px black;
  text-decoration: none;
}
.statistics {
  max-width: 100%;
}
.statistics th,
.statistics td {
  padding: 1px 4px;
}
.statistics th {
  text-align: right;
  font-weight: normal;
  font-size: 90%;
}
.statistics th::after {
  content: ":";
  display: inline;
}
.statistics td {
  text-align: left;
  font-weight: bold;
  font-size: 110%;
}
.statistics td .text {
  font-size: 80%;
  font-weight: normal;
}
table.table {
  clear: both;
  width: 100%;
  margin: 5px 0 20px;
}
table.table thead th {
  border-bottom: 1px solid black;
  background: #d4d4d4;
  vertical-align: bottom;
}
table.table tbody tr td {
  background: #fafafa;
  vertical-align: middle;
}
table.table tbody tr:nth-child(even):not(.odd) td,
table.table tbody tr.even td {
  background: #eaeaea;
}
.large-table {
  overflow-y: auto;
  font-size: 78%;
  margin: 5px 0 20px;
}
.large-table .table {
  margin: 0;
}
.large-table .table th,
.large-table .table td {
  padding: 4px;
}
.view-page-information {
  padding: 0 5px 15px;
}
.view-page-information h2 {
  text-align: center;
}
.view-page-information h3 {
  position: relative;
  top: -7px;
  padding-bottom: 0;
  text-align: center;
  font-size: 60%;
}
.view-page-information .image {
  float: left;
  margin: 0 5px 10px 0;
}
.view-page-information .image img {
  display: block;
  width: 115px;
}
.view-page-information .statistics {
  max-width: calc(100% - 120px);
}
.view-page-information::after {
  content: "";
  display: block;
  clear: both;
}
.single-link {
  padding: 6px;
  text-align: center;
}
@media (min-width: 420px) {
  body {
    background: #ddd;
    overflow: hidden;
  }
  #page_container {
    position: absolute;
    left: calc((100% - 380px) / 2);
    top: 16px;
    width: 380px;
    height: calc(100% - 32px);
    overflow: auto;
    background: white;
    box-shadow: 0 0 64px rgba(0, 0, 0, 0.25);
    transform-origin: center top;
  }
}
@media (min-width: 525px) and (min-height: 765px) {
  #page_container {
    transform: scale(1.25);
    height: calc((100% - 32px) / 1.25);
  }
}
@media (min-width: 630px) and (min-height: 935px) {
  #page_container {
    transform: scale(1.5);
    height: calc((100% - 32px) / 1.5);
  }
}
@media (min-width: 735px) and (min-height: 1105px) {
  #page_container {
    transform: scale(1.75);
    height: calc((100% - 32px) / 1.75);
  }
}
@media (min-width: 840px) and (min-height: 1275px) {
  #page_container {
    transform: scale(2);
    height: calc((100% - 32px) / 2);
  }
}
@media (min-width: 945px) and (min-height: 1445px) {
  #page_container {
    transform: scale(2.25);
    height: calc((100% - 32px) / 2.25);
  }
}
@media (min-width: 1050px) and (min-height: 1615px) {
  #page_container {
    transform: scale(2.5);
    height: calc((100% - 32px) / 2.5);
  }
}
@media (min-width: 1155px) and (min-height: 1785px) {
  #page_container {
    transform: scale(2.75);
    height: calc((100% - 32px) / 2.75);
  }
}
@media (min-width: 1260px) and (min-height: 1955px) {
  #page_container {
    transform: scale(3);
    height: calc((100% - 32px) / 3);
  }
}
@media (min-width: 1365px) and (min-height: 2125px) {
  #page_container {
    transform: scale(3.25);
    height: calc((100% - 32px) / 3.25);
  }
}
@media (min-width: 1470px) and (min-height: 2295px) {
  #page_container {
    transform: scale(3.5);
    height: calc((100% - 32px) / 3.5);
  }
}
@media (min-width: 1575px) and (min-height: 2465px) {
  #page_container {
    transform: scale(3.75);
    height: calc((100% - 32px) / 3.75);
  }
}
@media (min-width: 1680px) and (min-height: 2535px) {
  #page_container {
    transform: scale(4);
    height: calc((100% - 32px) / 4);
  }
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #888;
}
::-webkit-scrollbar-thumb {
  background: #eee;
  border: 2px solid #888;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}
* {
  scrollbar-color: #eee #888;
  scrollbar-width: thin;
}
.view-page-information.game .time {
  text-align: center;
  font-style: italic;
  font-size: 80%;
  padding: 4px 0;
}
.view-page-information.game .note {
  clear: both;
  padding-bottom: 10px;
  text-align: center;
  font-size: 80%;
}
.view-page-information.game .note::before {
  content: "";
  display: block;
  width: 50%;
  height: 1px;
  margin: 0 auto 5px;
  background: #DDD;
}
.view-page-information.game .players {
  margin-top: 15px;
}
.view-page-information.game .players .note {
  padding: 0 6px 4px;
  text-align: left;
}
.view-page-information.game .players .note::before {
  display: none;
}
.home-statistics {
  padding: 5px 5px 15px;
}
.home-statistics .statistics {
  margin: 0 auto;
}
#page_header .menu {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}
#page_header .menu input[type=button] {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 100%;
  text-indent: -99999px;
  cursor: pointer;
  background-color: white;
  background-position: center center;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  background-image: linear-gradient(to bottom, black 0, black 20%, white 20%, white 40%, black 40%, black 60%, white 60%, white 80%, black 80%, black 100%);
}
#page_header .menu ul {
  position: absolute;
  left: -205px;
  top: 100%;
  width: 200px;
  background: white;
  box-shadow: 0 0 5px black;
  transition: left 0.2s;
}
#page_header .menu ul.opened {
  left: 0;
}
#page_header .menu ul li {
  display: block;
  border-bottom: 1px solid black;
}
#page_header .menu ul li:last-child {
  border-bottom-width: 0;
}
#page_header .menu ul li a {
  display: block;
  padding: 15px 20px;
}
#page_header .menu ul li a:hover {
  background: #eee;
}
#filter-bar {
  position: relative;
  padding: 8px 8px 5px;
  text-align: center;
  font-size: 90%;
  background: #FFA;
  border-bottom: 1px solid #A80;
  box-shadow: 0 0 2px #430;
}
#filter-bar .filter-items {
  display: block;
  list-style: none;
}
#filter-bar .filter-items li {
  display: block;
}
#filter-bar .filter-cancel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  font-size: 0;
  display: flex;
  align-items: center;
  padding: 0 7px;
}
#filter-bar .filter-cancel:hover {
  text-decoration: none;
}
#filter-bar .filter-cancel::before {
  content: "×";
  font-size: 24px;
  font-weight: bold;
  color: #430;
}
.list-page.game .list-item h3 {
  padding-bottom: 0;
}
.list-page.game .list-item .time {
  padding-left: 5px;
  font-style: italic;
  font-size: 80%;
}
