html, body {
	background: #fff;
	color: #111;
	font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", "Segoe UI", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

table, th, td, input, select, textarea, button {
	font-family: inherit;
}

html.inner,
html.home {
	background: #fff;
}

body.home,
body.inner {
	background: #fff;
}

body.home #page-1,
body.home #page-2,
body.home #page-3,
body.inner #page-1,
body.inner #page-2,
body.inner #page-3 {
	background: #fff !important;
}

body.inner h1,
body.inner h1 small {
	color: #111;
	padding-top: 16px;
	height: auto;
}

body.inner h1 {
	font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", "Segoe UI", Arial, sans-serif;
	font-weight: 600;
}

body.inner h1 small {
	font-weight: 400;
}

a {
	color: #0b57d0;
	border-bottom: 1px dotted #c7c7c7;
}

a:hover {
	border-bottom: 1px dotted #0b57d0;
}

acronym, abbr, span.abbr {
	border-bottom: 1px dotted #666;
}

#footer {
	color: #444;
}

body.home #navitems a,
body.inner #navitems li a {
	color: #111;
}

body.home #navitems a:hover,
body.inner #navitems li a:hover {
	color: #111;
	background: #e9eef6;
}

body.home #page-1,
body.inner #page-1 {
	position: relative;
}

/* navitems: keep absolute positioning but anchor to top of page */
body.inner #navitems {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0 6px;
	list-style: none;
	background: #f5f5f5;
	border-bottom: 1px solid #d0d7de;
	height: 32px;
	display: flex;
	align-items: center;
}

body.inner #navitems li {
	float: none;
}

body.inner #navitems li a {
	padding: 4px 10px;
	font-size: 13px;
	line-height: 24px;
	border-bottom: none;
	border-radius: 3px;
	display: block;
}

/* push h1 down so it doesn't overlap the nav bar */
body.inner h1#page-title {
	padding-top: 44px;
}

table.stat,
table.basic-stat,
div.basic-stat {
	border-color: #d0d7de;
}

table.stat,
table.stat td,
table.stat a {
	color: #111;
}

table.stat th,
table.basic-stat th,
div.basic-stat h2 {
	background: #f5f5f5;
	color: #111;
	border-bottom: 1px solid #d0d7de;
}

table.stat tr > th,
table.stat th + th,
table.basic-stat tr > th,
table.basic-stat th + th {
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
}

table#weapon {
	table-layout: fixed;
}

table#weapon th {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

table#weapon td {
	overflow: hidden;
	text-overflow: ellipsis;
}

table#weapon th:nth-child(1),
table#weapon td:nth-child(1) {
	width: 28%;
}

table#weapon td:nth-child(1) {
	white-space: nowrap;
}

table#weapon th:nth-child(2),
table#weapon td:nth-child(2) {
	width: 14%;
}

table#weapon th:nth-child(3),
table#weapon td:nth-child(3) {
	width: 12%;
}

table#weapon th:nth-child(4),
table#weapon td:nth-child(4) {
	width: 12%;
}

table#weapon th:nth-child(5),
table#weapon td:nth-child(5) {
	width: 13%;
}

table#weapon th:nth-child(6),
table#weapon td:nth-child(6) {
	width: 21%;
}

table.basic-stat tr > th,
table.stat tr > th {
	color: #111;
}

table.stat td,
table.stat tr > td,
table.stat td + td,
table.basic-stat td,
div.basic-stat .id {
	background: #fff;
	color: #111;
	border-bottom: 1px solid #edf0f2;
}

table.stat tr > td {
	border-right: 1px solid #edf0f2;
}

table.stat tr.favorite > td,
table.stat tr.favorite > td + td {
	background: #f2f4f7;
	border: 1px solid #d0d7de;
}

table.stat tr.totals > td,
table.stat tr.averages > td,
table.stat tr.totals > td + td,
table.stat tr.averages > td + td {
	background: #fafafa;
}

div.unlock-pop {
	background: #fff;
	border-color: #d0d7de;
	color: #111;
}

div.award-pop {
	background: #fff;
	border-color: #d0d7de;
	color: #111;
}

div.award-pop img {
	border-right-color: #d0d7de;
	border-bottom-color: #d0d7de;
}

table#unlocks img,
table#awards img {
	background-color: #fff !important;
}

#profile {
	border-top: 2px solid #d0d7de;
}

#profile td {
	border-right: 6px solid #fff;
}

#profile th {
	background: #f5f5f5;
	color: #111;
	border-bottom: 2px solid #d0d7de;
	border-right: 6px solid #fff;
}

#profile table,
#profile td,
#profile th,
#profile a {
	color: #111;
}

#profile table {
	border: 1px solid #d0d7de;
}

#profile table th {
	background: #f5f5f5;
	border-top: 1px solid #edf0f2;
	color: #111;
}

#profile table td {
	background: #fff;
	border-top: 1px solid #edf0f2;
	color: #111;
}

table#unlocks tr > th,
table#unlocks tr > td,
table#awards tr > th,
table#awards tr > td,
table#tta tr > th,
table#tta tr > td {
	color: #111;
}

#stats-nav li a {
	background: #f5f5f5;
	color: #111;
	border: 1px solid #d0d7de;
	border-bottom: 1px solid #d0d7de;
}

#stats-nav li a:hover,
#stats-nav li.current a {
	background: #e9eef6;
	color: #111;
	border: 1px solid #9bb5f2;
	border-bottom: 1px solid #9bb5f2;
}

