﻿
* {
  margin: 0;
  padding: 0;
  text-indent: 0;
  text-decoration: none;
  font-family: "微软雅黑", "Microsoft YaHei", Sans-serif;
  font-size: 12pt;
  color: #666;
}

html { 
  -moz-osx-font-smoothing: grayscale; 
  -webkit-font-smoothing: antialiased; 
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

ul, ol {
  list-style-position: inside;
}

p, li {
  width: 88%;
  margin: 4px;
  margin-left: 2em;
}

@media screen and (max-width: 768px) {
  p, li {
    width: 96%;
    margin-left: 4px;
  }
}

em {
  font-style: normal;
  color: #177CB0; /*靛青*/
}



/****************** Div ******************/

body {
  overflow-x: hidden;
}

#main {
  min-width: 360px;
}

#nav {
  background: #FFF;
  opacity: 0.9;

  overflow-x: hidden;
  overflow-y: auto;

  position: fixed;
  left: 10px;
  top: 100px;
  bottom: 60px;
}

#nav ul {
  width: 240px;
  list-style: none;
}

#nav li {
  margin-left: 0;
  text-indent: 1em;
  font-size: 10pt;
  color: #CCC;
}

#header, #content, #footer {
  margin-left: 270px;
}

#footer {
  text-align: right;
}

div#footer p {
  display: none;
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
  #nav ul {
    width: 210px;
  }
  #header, #content, #footer {
    margin-left: 240px;
  }
}

@media screen and (max-width: 768px) {
  #nav ul {
    display: none;
  }
  #menu {
    display: block;
  }
  #nav ul#back, #nav ul#back2top {
    display: block;
    width: 24px;
  }
  #header, #content, #footer {
    margin-left: 36px;
  }
}



/****************** Navigator ******************/

#nav::-webkit-scrollbar {
  width: 10px;
  height: 1px;
}

#nav::-webkit-scrollbar-track {
  border-radius: 10px;
  background: #FFF;
  -webkit-box-shadow: inset 0 0 5px #F0F0F0;
}

#nav::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #EEE;
  -webkit-box-shadow: inset 0 0 5px #F0F0F0;
}

#nav a {
  display: block;
  padding: 2px;
  text-indent: 1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#nav a.sys {
  font-weight: bold;
  background: #6B6882; /*黝*/
  color: #F0F0F0;
}

#nav a.ex {
  font-weight: bold;
  background: #574266; /*黛紫*/
  color: #F0F0F0;
}

#nav a:hover {
  background: #EEA2A4; /*牡丹*/
  color: #F0F0F0;
}

#nav a span {
  color: #900;
}

ul#series {
  margin-top: 20px;
}

ul#series a:hover {
  background: #A1AFC9; /*蓝灰*/
}

ul#series a[href="#"] {
  background: #A1AFC9; /*蓝灰*/
  color: #F0F0F0;
  cursor: default;
}

ul#back {
  position: fixed;
  top: 50px;
}

ul#back2top {
  width: 100px;
  position: fixed;
  right: 0;
  bottom: 30px;
}

ul#back a, ul#back2top a {
  color: #F0F0F0;
}

ul#back a {
  background: #C00;
}

ul#back a:hover {
  background: #EEA2A4; /*牡丹*/
}

ul#back2top a {
  text-align: right;
  padding-right: 1em;
  background: #177CB0; /*靛青*/
}

ul#back2top a:hover {
  background: #A1AFC9; /*蓝灰*/
}



/****************** Hamburger ******************/

#nav label, #hamb {
  display: none;
}

#nav label:hover {
  background: #EEA2A4; /*牡丹*/
}

@media screen and (max-width: 768px) {
  div#nav {
    top: 0;
    bottom: 0;
    padding-left: 10px;
  }
  ul#back2top {
    right: 20px;
  }
  ul#back a, ul#back2top a, #nav label {
    display: block;
    width: 24px;
    height: 24px;
    padding: 10px;
    text-align: center;
    text-indent: 0;
  }
  #back a, #nav label {
    position: fixed;
    left: -10px;
  }
  #nav label {
    top: 100px;
    background: #a02620;
    color: #F0F0F0;
  }
  #hamb:checked ~ #menu {
    display:block;
  }

}



/****************** Content ******************/

#header a, #content a {
  background: #F0F0F0;
  color: #177CB0
}

#header a:hover, #content a:hover {
  background: #A1AFC9; /*蓝灰*/
  color: #F0F0F0;
}

hr {
  width: 90%;
  height: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  border: none;
  border-top: solid 1px #CCC; 
}

h1 {
  font-size: 32pt;
}

h2 {
  width: 88%;
  padding: 10px;
  font-size: 28pt;
  margin-top: 30px;
  clear: left;
  /* box-shadow: -1px -1px 0 #F0F0F0; */
  border-top: 1px solid #F0F0F0;
  border-left: 1px solid #F0F0F0;
}

h2.sys {
  line-height: 1rem;
  font-size: 16pt;
  background: #6B6882; /*黝*/
  color: #F0F0F0;
}

#basics h2 {
  margin-top: 10px;
}

h2 span {
  font-size: 16pt;
  color: #999;
  white-space: nowrap;
}

#basics p span {
  font-family: "Liberation Mono", Consolas, Monospace;
  font-weight: bold;
  font-size: 32pt;
}

h5, h6 {
  margin: 10px 4px;
  font-size: 14pt;
}

h6 {
  font-weight: normal;
  color: #F0F0F0;
}

h5 span, h6 span {
  font-size: 12pt;
  font-weight: normal;
}



/****************** Table ******************/

div#systems img, div#secrets img {
  margin-left: 2em;
  max-width: 360px;
}

td img {
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  div#systems img, div#secrets img {
    margin-left: 4px;
  }
  div.portrait img {
    margin-left: 0;
  }

}

div.portrait {
  width: 250px;
  float: left;
}

div.portrait img {
  /* min-width: 140px; */
}

div.note {
  width: 260px;
  float: left;
  clear: left;
}

div.note p, div.note li {
  margin-left: 4px;
  width: auto;
}

table, h3 {
  width: 62%;
  margin-left: 270px;
}

table.ex {
  margin-left: 2em;
}

/*
@media screen and (min-width: 769px) and (max-width: 1199px) {
  div.portrait, div.note {
    width: 140px;
  }
  table, h3 {
    width: 64%;
    margin-left: 150px;
  }
} */

@media screen and (max-width: 1000px) {
  div.portrait, div.note {
    float: none;
  }
  table, h3, div.portrait, div.note, table.ex {
    width: 90%;
    margin-left: 0;
  }
}

table {
  margin-bottom: 1em;
  box-shadow: 2px 2px 5px #666;
  table-layout: fixed;
  border-collapse: collapse;
  word-break: keep-all;
}

table, th, td {
  padding: 4px;
  border: 1px solid #666;
  background: #FFF;
  /* opacity: 0.9; */
}

table tr:hover td {
  background: #FBF2E3; /*粉白*/
}

h3, h4, th {
  font-size: 16pt;
  padding: 4px;
}

h4 {
  display: inline-block;
}

#systems h4 {
  font-size: 14pt;
  margin-top: 1em;
}

h4, th {
  background: #999;
  color: #F0F0F0;
}

.throw, .normal, .unique, .combo,
.throw th, .normal th, .unique th, .combo th {
  background: #6C9;
}

.personal, .personal th {
  background: #FC3;
  color: #FFF;
}

.special, .special th {
  background: #69C;
}

.super, .super th {
  background: #C00;
}

.ultra, .ultra th {
  background: #636;
}


.col1, .col2 {
  width: 44%;
}

td p {
  width: auto;
  margin: 0 1em;
  color: #177CB0; /*靛青*/
}

td strong {
  color: #900;
}

td em {
  font-weight: bold;
  color: #069;
}

td p, td em, td strong {
  float: right;
}

td span {
  /* font-weight: bold; */
  color: #177CB0; /*靛青*/
}



/****************** Gumshoe ******************/

#menu li.active > a {
  background: #EEA2A4; /*牡丹*/
}

#menu li.active > a {
  color: #F0F0F0;
}

