
table.ww_gameboard {
	font-family: Poppins;
	font-size: 20px;
	line-height: 0px;
	font-weight: bold;
	vertical-align: middle;
	border-collapse: separate;
	table-layout: fixed;
	width: 180px;
	height: 180px;
	margin: auto 10px;
	text-shadow: 1px 1px 0px black;
	cursor: pointer;
	user-select: none;
}
table.ww_gameboard.sm {
	border: 2px solid #232323;
	font-size: 6px;
	line-height: 6px;
	width: 60px;
	height: 60px;
	margin: 0px auto;
}
table.ww_gameboard td {
	position: relative;
	background: linear-gradient(to bottom,#D36C1D 10%,#B25711 100%);
	border: 2px solid #D36C1D;
	padding: 0px;
}
table.ww_gameboard .line {
	position: relative;
	pointer-events: none;
}
table.ww_gameboard .line:before {
	content: " ";
	position: absolute;
	display: block;
	width: 30px;
	height: 30px;
	background-color: rgba(255,255,255,0.2);
	border: 3px double rgba(255,255,255,0.3);
	border-radius: 50%;
	left: 50%;
	top: 50%;
	margin-left: -15px;
	margin-top: -15px;
}
table.ww_gameboard .line:after {
	content: " ";
	position: absolute;
	display: block;
	width: 8px;
	height: 8px;
	background-color: rgba(255, 255, 255, 0.2);
	z-index: 1;
	top: 0px;
	left: 0px;
}
table.ww_gameboard .line.tlbr:after {
	transform: rotate(45deg); -webkit-transform: rotate(45deg);
	width: 84px;
	margin-left: -14px;
	top: 52px;
	left: 50%;
}
table.ww_gameboard .line.line-t:after {
	top: -4px;
	left: 50%;
	height: 32px;
	margin-left: -4px;
}
table.ww_gameboard .line.line-l:after {
	top: 50%;
	left: 0px;
	width: 28px;
	margin-top: -4px;
}
table.ww_gameboard .line.line-b:after {
	top: 50%;
	left: 50%;
	height: 32px;
	margin-top: -4px;
	margin-left: -4px;
}
table.ww_gameboard .line.lr:after {
	top: 50%;
	left: 28px;
	width: 56px;
	margin-top: -4px;
}
table.ww_gameboard .line.rl:after {
	top: 50%;
	left: -28px;
	width: 56px;
	margin-top: -4px;
}
table.ww_gameboard .line.tb:after {
	top: 28px;
	left: 50%;
	height: 56px;
	margin-left: -4px;
}
table.ww_gameboard .line.bt:after {
	top: -30px;
	left: 50%;
	height: 60px;
	margin-left: -4px;
}
table.ww_gameboard .line.bltr:after {
	transform: rotate(-45deg); -webkit-transform: rotate(-45deg);
	width: 84px;
	margin-left: -14px;
	top: 52px;
	left: 50%;
}

table.ww_gameboard td:hover {
	background: linear-gradient(to bottom,#E47D2E 0,#C36822 100%);
}
table.ww_gameboard.sm td {
	border: 0px;
	background-image: none;
	background-color: #1C1C1C;
}

i.ww_user1p {color: var(--bs-orange);}
i.ww_user2p {color: var(--bs-yellow);}
i.ww_user2p:after {
	content: "\f007";
	color: var(--bs-orange);
	position: absolute;
	top: 0px;
	left: -10px;
	text-shadow: 1px 0px .05px black;
}
i.ww_usermp {color: var(--bs-yellow);}
i.ww_usermp:after {
	content: "\f007";
	color: var(--bs-warning);
	position: absolute;
	top: 2px;
	left: -10px;
	text-shadow: 1px 0px .05px black;
}

.ww_inputGameCode {
	font-family: Roboto Mono;
	background-color: #161616;
	border: 2px solid black;
	font-weight: bold;
	text-transform: uppercase;
}

.ww_inputGameCode:focus {
	border: 2px solid #828282;
	background-color: black;
}

#ww_inputWord {
	font-family: Roboto Mono;
	background-color: #161616;
	border: 3px solid black;
	padding: 10px;
	color: white;
	height: 44px;
}

#ww_inputWord:focus {background-color: black;}

/* ### DEV messy as hell */
#wwStartIn, #wwEndIn {
	margin: auto;
	margin-top: 0px;
	position: relative;
	width: 100px;
	height: 100px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: -1;
}
#wwEndIn { /* game over */
	width: 200px;
	height: 60px;
	font-size: 20px;
	font-weight: bold;
	text-shadow: 0px 1px 1px rgba(100,100,100,0.6);
	margin-top: 40px;
}
#wwStartIn:before, #wwEndIn:before {
	position: absolute;
	left: 0px;
	top: 0px;
	font-family: "Font Awesome 6 Free";
	font-size: 96px;
	content: "\f017";
	color: #232323;
	width: 100%;
	height: 100%;
	text-align: center;
	text-shadow: 0px 0px 2px black;
	z-index: -1;
	line-height: 96px;
}
#wwEndIn:before {
	line-height: 60px;
}
#wwStartIn > .sec, #wwEndIn > .sec {
	width: 100%;
	text-align: center;
	font-size: 36px;
	font-weight: bold;
	font-family: Roboto;
	color: var(--bs-yellow);
}

#wwbtn2P, #wwbtnMP {padding-left: 24px;}
#wwbtnMP div:before {content: 'Create';}
#wwbtn1P div:before {content: 'Play';}
#wwbtn2P div:before {content: 'Play';}

.wwbtnGameSelect {
	font-size: 12px;
}
.wwbtnGameSelect > div:last-child {
	width: 60px;
	margin: 0 auto;
	font-size: 11px;
	line-height: 11px;
}
.wwbtnGameSelect i {
	font-size: 8px;
	line-height: 11px;
	margin-left: 2px;
}

.ww_wordlist, .ww_playerlist {
	background-color: #121212;
	height: 200px;
	overflow-y: auto;
	flex-grow: 1;
}
.ww_wordlist > li, .ww_playerlist > li {
	text-align: left;
	font-weight: bold;
	background-color: rgba(0,0,0,0.1);
	border: 0px;
	padding: 6px 10px;
	position: relative;
	padding-right: 20px;
}
.ww_wordlist > li.err {
	color: var(--bs-danger);
}
.ww_wordlist > li.rerr {
	color: var(--bs-orange);
}
.ww_wordlist > li > div, .ww_playerlist > li > div {
	position: absolute;
	right: 10px;
	top: 6px;
	width: 20px;
	text-align: center;
}
.ww_playerlist > .btn > div {
	position: absolute;
	right: 30px;
	top: 6px;
	width: 20px;
	text-align: center;
}

/*.bg-ww {background: linear-gradient(to bottom,#E77924 0,#B25711 100%);}*/
.bg-ww {background: linear-gradient(to bottom,#D36C1D 0,#B25711 100%);}

#wwGameStarting {
	width: 200px;
	height: 308px;
	top: 0px;
	left: 0px;
	padding-top: 20px;
	font-size: 16px;
	font-weight: bold;
	font-family: 'Roboto Mono';
	background-color: rgba(0,0,0,0.7);
	z-index: 2;
	text-align: center;
}

#wwGameStarting > .msg {
	position: absolute;
	top: 20px;
	width: 100%;
	text-align: center;
	color: var(--bs-warning);
}

.ww_divPoints {
	display: flex;
	flex-direction: column;
	position: relative;
	padding-left: 4px;
	padding-right: 4px;
}

.ww_divPoints > .points {
	font-size: 18px;
	line-height: 26px;
	font-weight: bold;
	font-family: Roboto;
	color: var(--bs-yellow);
}
.ww_divPoints > label {
	position: relative;
	height: auto;
	margin: 0px;
	font-size: 7px;
	line-height: 9px;
	color: var(--bs-orange);
	padding: 0px;
	text-align: center;
	width: 100%;
}
@media (min-width: 576px) {
	.ww_divPoints > .points {
		font-size: 26px;
	}
	.ww_divPoints > label {
		font-size: 9px;
	}
}

.wwheader {
	color: var(--bs-orange);
}

.wwbtnMain div:before {
	content: 'Main Menu';
}

#wwbtnMP.disabled:after {
	position: absolute;
	right: 0px;
	font-size: 8px;
	content: 'Register to Play!';
	color: var(--bs-danger);
	rotate: -20deg;
	right: 10px;
}
