/* Rule page (/rule) — loaded only by rule.ejs */

.rule-page-section {
  padding: 8px;
  min-height: 400px;
}

.rule-page-section .rule-content {
  background: #000;
  padding: 15px;
  max-width: 100%;
  font-family: "Trebuchet MS", "Gill Sans", "Microsoft Sans Serif", sans-serif;
  font-size: 9pt;
  color: white;
}

.rule-page-section .rule-content a,
.rule-page-section .rule-content a:visited,
.rule-page-section .rule-content a:active {
  color: #f00;
}

.rule-page-section .rule-content td {
  padding: 3px;
}

.rule-page-section table.menutbl td {
  padding: 3px;
  padding-left: 7px;
  padding-right: 7px;
}

.rule-page-section table.weapon {
  margin-left: 20px;
  border: 1px solid #fff;
}

.rule-page-section table.weapon th {
  background: #333;
  color: lime;
}

.rule-page-section table.weapon tr.t2 td {
  background: #ccc;
  color: black;
}

.rule-page-section table.weapon tr.t1 td {
  background: #888;
  color: #eee;
}

.rule-page-section .rule-content div {
  padding-left: 1em;
}

.rule-page-section .box {
  background: #ccc;
  color: black;
  border: #d0d0d0 1px solid;
  padding: 5px;
  margin: 1em;
}

.rule-page-section .box b {
  color: lime;
  background: #333;
  padding: 3px;
}

.rule-page-section table.thanktbl td {
  border-bottom: dotted 1px #aaa;
}

.rule-page-section .rule-content .FAQ {
  padding-left: 1em;
}

.rule-page-section .rule-content .FAQ dt {
  color: #cfb;
  font-weight: bold;
  margin-top: 10px;
}

.rule-page-section .rule-content .FAQ dd {
  margin-left: 20px;
  margin-bottom: 10px;
}

.rule-page-section .rule-content .prolog {
  padding: 1em;
  color: #efa;
}

.rule-page-section .rule-content .prolog b {
  color: lime;
}

/* 基本方針 / 應戰方針 / 天氣 表格：改用深色底取代原本過亮的 bgcolor。 */
.rule-page-section table.policy-table {
  background-color: #222 !important;
}

.rule-page-section table.policy-table td.t1,
.rule-page-section table.policy-table td.t2 {
  background-color: #222 !important;
  color: lime;
}

.rule-page-section table.policy-table td.t3 {
  background-color: #333 !important;
  color: #fff;
}

.rule-page-section table.policy-table td.t4 {
  background-color: #3a3a3a !important;
  color: #fff;
}

.rule-page-section table.policy-table td.t5 {
  background-color: #4a4a4a !important;
  color: #fff;
}

.rule-page-section .stat-up {
  color: #00ffff;
  font-weight: bold;
}

.rule-page-section .stat-down {
  color: #ffff00;
  font-weight: bold;
}

.rule-page-section .stat-max {
  color: #00ffff;
  font-weight: bold;
}

.rule-page-section .stat-flat {
  color: #ffffff;
}

.rule-page-section .wx-strong4 {
  color: #0000ff;
}

.rule-page-section .wx-strong3 {
  color: #00ffff;
}

.rule-page-section .wx-none {
  color: #ffffff;
}

.rule-page-section .wx-weak {
  color: #00ff00;
}

.rule-page-section .wx-view-low {
  color: #ffff00;
}

.rule-page-section .wx-view-high {
  color: #0000ff;
}

.rule-page-section .wx-view-vlow {
  color: #ff00ff;
}

.rule-page-section .wx-view-elow {
  color: #ff0000;
}

.rule-page-section .red {
  color: #ff0000;
}

.rule-game-screen-box {
  text-align: center;
  max-width: 930px;
  margin: 1em auto;
  padding: 0.5em;
  border: 1px solid #ffffff;
}

.rule-game-screen {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.75em auto 0;
}
