@font-face {
  font-family: 'DIN';
  src: url(fonts/DINMedium.ttf);
}
@font-face {
  font-family: 'DIN';
  src: url(fonts/DINBold.ttf);
  font-weight: bold;
}

body {
	background: #333;
	font-family: 'DIN';
	letter-spacing: -1px;
	margin: 0;
	padding: 0;
	color: #fff;
}
@media (hover: hover) {body {font-size: 27px}}
@media (hover: none)  {body {font-size: 28.5px}}

table {
	border-collapse: collapse;
	}

td {
	border: solid 2px #8a868e;
}
@media (hover: hover) {td {padding: 4px 5px}}
@media (hover: none)  {td {padding: 0 2px}}

tr:first-child td,
td:first-child {
	background: #8a868e;
	color: #333;
	border-color: #333;
	border-style: solid;
}
tr:first-child td {
	border-width: 0 2px;
}
td:first-child {
	border-width: 2px 0;
}
tr:last-child td:first-child {
	border-bottom-color: #8a868e;
}
tr:first-child td:last-child {
	border-right-color: #8a868e;
}

.info {
	line-height: 1em;
}
@media (hover: hover) {.info {font-size: 14px;   height: 15px;}}
@media (hover: none)  {.info {font-size: 20.5px; height: 21px;}}

.info::after {
	clear: both;
	content: '';
	display: block;
}
.level {color: #8a868e}
.exp {float: right}
.num {
	text-align: center;
	line-height: 1em;
	font-weight: bold;
}
@media (hover: hover) {.num {margin-bottom: 15px}}
@media (hover: none)  {.num {margin-bottom: 21px}}

.pow2 {color: hsl(195,90%,60%)}
.pow3 {color: hsl(100,90%,60%)}
.pow4 {color: hsl(57 ,90%,60%)}
.pow5 {color: hsl(43 ,90%,60%)}
.pow6 {color: hsl(29 ,90%,60%)}
.pow7 {color: hsl(15 ,90%,60%)}
.pow8 {color: hsl(2  ,90%,60%)}

tr:not(:first-child) td:not(:first-child) .num.has-root {
	color: #fe0;
}
.exp {
	opacity: .5;
}

tr td.first {
	background: #333;
	padding: 0 0 4px 0;
	text-align: center;
}
select {
	font-size: 20px;
	background: #333;
	color: #8a868e;
	padding: 2px;
	border: solid 1px #8a868e;
	margin: 0;
}
option {color: #fff}
option:checked {color: #000}
option.x2 {background: hsl(105,45%,50%)}
option.x3 {background: hsl(2  ,45%,50%)}
option.x7 {background: hsl(30 ,45%,50%)}
option.x5 {background: hsl(220,45%,50%)}


#blapp {
	filter: none;
	position: fixed;
	left: 3px;
	bottom: 3px;
}
#blapp.hover {filter: invert(.25) sepia(1) saturate(5);}


x {
	position: fixed;
	bottom: 0;
	right: 0;
	width: 55px;
	height: 55px;
}
@media (hover: hover) {x {background: #c22}}
@media (hover: none)  {x {background: #4c2}}
