body {
	margin: 0;
	background: #222 center fixed; background-size: cover;
	font: 400 100% "Source Sans Pro",sans-serif; color: #eee;
}
@media (min-width: 768px) {
	body {
		padding-top: 3rem;
	}
}
@media (max-width: 424px) {
	body { background-image: url(/cdn/stupid/i/bg/circuit_932.jpg); }
}
@media (min-width: 425px) and (max-width: 767px) {
	body { background-image: url(/cdn/stupid/i/bg/circuit_1865.jpg); }
}
@media (min-width: 768px) and (max-width: 1279px) {
	body { background-image: url(/cdn/stupid/i/bg/circuit_2797.jpg); }
}
@media (min-width: 1280px) {
	body { background-image: url(/cdn/stupid/i/bg/circuit_3729.jpg); }
}


div, span {
	box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, h7 {
	font-weight: 700;
}
h1 {
	margin: 0 0 1.25rem 0;
	font-size: 1.375rem;
}
h1:last-child {
	margin-bottom: 0;
}
h2 {
	margin: 0 0 1.125rem 0;
	font-size: 1.25rem;
}
h3 {
	margin: 0 0 1.125rem 0;
	font-size: 1.125rem;
}
h1+h2 {
	margin-top: -0.8em;
}

p {
	margin: 1.125rem 0 0 0;
}
p:first-child,
p.first {
	margin-top: 0 !important;
}

strong {
	font-weight: 700; color: #fff;
}

blockquote {
	margin: 1.2em 0 0 2em;
}

img {
	display: block;
	max-width: 100%; height: auto;
}

hr {
	margin: 1rem -1rem;
	border: none; border-top: 0.5rem solid #0009;
}
@media (min-width: 768px) {
	hr {
		margin: 2rem -2rem;
	}
}
hr.inner {
	margin-left: 0; margin-right: 0;
}

input,
select,
textarea {
	-webkit-appearance: none;
	box-sizing: border-box;
	border-radius: 0;
	font: 400 1.125rem "Source Sans Pro",sans-serif; color: #fff;
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
	width: 100%; margin: 0; padding: 1rem;
	background: #0007; border: none; border-bottom: 1px solid #0007;
}
input[type="file"] {
	max-width: 220px;
}
input[readonly],
textarea[readonly],
select[readonly] {
	background: #eee; color: #777;
}
select {
	-webkit-appearance: none;
	width: 100%; margin: 0; padding: 0.75rem; padding-right: 2rem;
	background: #fff url(https://cdn.hoa-engine.com/i/select.svg) right bottom no-repeat; background-size: 2rem auto; border: 1px solid #aaa; border-radius: 0;
}
select::-ms-expand {
	display: none;
}
input[type="checkbox"], input[type="radio"] {
	margin: 0; padding: 0;
	vertical-align: middle;
}
input::placeholder, textarea::placeholder {
	color: #fff5; font-style: italic;
}
input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: #999;
}
p+fieldset {
	margin-top: 1rem;
}
fieldset {
	display: block; position: relative;
	padding: 0;
	border: none;
}
fieldset .label {
	display: block;
	margin: 1.25rem 0 0.75rem 0;
	font-size: 1.125rem;
}
fieldset .label:first-child {
	margin-top: 0;
}
fieldset .note {
	display: block;
	margin: 0;
	font-size: 0.9375rem; font-style: italic;
}
fieldset .rblock .row {
	align-items: center;
}
fieldset .cell {
	display: block; position: relative;
	width: 100%;
}
fieldset .cell.check {
	white-space: nowrap;
}
fieldset .cell.file {
	border: 1px solid #aaa;
}
fieldset .cell.group {
	border-top: none;
}
fieldset .cell.error {
	border-left: 0.5rem solid #d00;
}
fieldset .cell.error input[type="text"], fieldset .cell.error input[type="email"], fieldset .cell.error input[type="password"], fieldset .cell.error textarea, fieldset .cell.error select {
	border-left: none;
}
fieldset .cell.check input[type="checkbox"], fieldset .cell.check input[type="radio"] {
	vertical-align: middle;
}
fieldset .cell label.text {
	display: none;
/*
	display: block; position: relative;
	margin: 0 0 0.75rem 0;
	color: #eee;
*/
}
fieldset .cell.disabled label.text {
	color: #999;
}
fieldset .cell label.check {
	display: inline-block;
	margin: 0 0 0 0.5em;
	white-space: normal;
	cursor: pointer;
}
/*
fieldset .cell input[type="text"], fieldset .cell input[type="email"], fieldset .cell input[type="password"], fieldset .cell textarea, fieldset .cell select {
	padding-top: 2rem;
}
*/
fieldset .cell .filewrap {
	display: block;
	padding: 2rem 0.75rem 0.75rem 0.75rem;
}
fieldset .overlay {
	display: inline-block; position: relative;
	width: 20px; height: 20px;
	vertical-align: top;
	cursor: pointer;
}
fieldset .overlay input {
	position: absolute; z-index: -1; opacity: 0;
}
fieldset .overlay .check {
	position: absolute; box-sizing: border-box;
	left: 0; top: 0; width: 20px; height: 20px;
	background: #fff; border: 1px solid #ccc;
}
fieldset .overlay.radio .check {
	border-radius: 10px;
}
fieldset .overlay:hover input ~ .check,
fieldset .overlay input:focus ~ .check {
	outline: 5px auto -webkit-focus-ring-color;
}
fieldset .overlay input:disabled ~ .check {
	opacity: 0.33;
	background: #ccc;
	pointer-events: none;
}
fieldset .overlay .check::after {
	content: "";
	display: none; position: absolute;
	left: 3px; top: 3px; width: 12px; height: 12px;
	background: #666;
}
fieldset .overlay.radio .check::after {
	border-radius: 6px;
}
fieldset .overlay input:checked ~ .check::after {
	display: block;
}
fieldset .overlay input:disabled ~ .check::after {
	background: #777;
}
.submits {
	display: block; position: relative;
	text-align: right;
}
.submits button {
	margin: 1rem 0 0 1rem;
}

button {
	-webkit-appearance: none;
	margin: 0; padding: 0;
	background: none; border: none;
	font-size: 1rem;
}

a {
	color: #fff; text-decoration: none;
}
a:visited {
	color: #ddd;
}
a:hover {
	color: #7bf; text-decoration: underline;
}

ul.sq {
	list-style: square;
	margin: 0.5rem 0; padding-left: 1.5rem;
}
ul.sq:first-child {
	margin-top: 0;
}
ul.sq:last-child {
	margin-bottom: 0;
}
ul.sq li {
	margin: 0.5rem 0 0 0;
}
ul.sq li:first-child {
	margin-top: 0;
}

table {
	width: 100%; max-width: 100%; min-width: 20%; margin: 1.2rem auto;
}
table:first-child {
	margin-top: 0;
}
table:last-child {
	margin-bottom: 0;
}
table th {
	padding: 0.75em;
	background: #eee; border: 1px solid #ccc;
	font-weight: bold; text-align: center;
}
table.ruled th {
	padding-top: 0;
	background: none; border: none; border-bottom: 1px solid #999;
	vertical-align: bottom;
}
table.striped th {
	background: #ddd; border: none;
}
table td {
	padding: 0.75em;
	border: 1px solid #ccc;
	vertical-align: top;
}
table.ruled td {
	border: none; border-bottom: 1px solid #ccc;
}
table.ruled tr:first-child td {
	border-top: 1px solid #ccc;
}
table.ruled tr.floor td {
	border-bottom: 2px solid #999;
}
table.boxed tr {
	border-left: 1px solid #ccc; border-right: 1px solid #ccc;
}
table.boxed th, table.boxed td {
	border-left: none; border-right: none;
}
table.striped td {
	border: none;
}
table.striped tr:nth-child(2n+0) td {
	background: #eee;
}
table.striped tr:nth-child(2n+1):last-child td {
	border-bottom: 2px solid #eee;
}
table th.disabled, table td.disabled {
	background: #ddd;
	color: #bbb;
}
table th.border_left, table td.border_left {
	border-left: 1px solid #ccc;
}
table th.border_right, table td.border_right {
	border-right: 1px solid #ccc;
}
table.admin .icon {
	width: 1em; min-width: 1em; max-width: 1em;
	text-align: center;
}
table.admin th {
	text-align: left;
}
table.admin td.icon.stat {
	border-right: 1px solid #eee !important;
}
table.admin td.icon.stat .warning {
	color: #d00;
}
table.admin .label {
	text-align: right;
	cursor: pointer;
}
table.admin .input {
	padding: 0.25rem;
}
table.admin .input input {
}
table.admin .icon.ctrl {
	background: #eee;
	border-left: 1px solid #ddd !important;
	cursor: pointer;
}
table.admin .icon.ctrl.disabled {
	cursor: default;
}
table.admin .icon .neg {
	color: #d55;
}
table.admin .icon .off {
	color: #bbb;
}

.constrain {
	display: block; position: relative;
	width: 100%; max-width: 960px; margin: 0 auto;
}
.constrain.thin {
	max-width: 425px;
}

.panel {
	display: block; position: relative;
	margin-top: 2rem; padding: 1rem;
	background: #333b;
		-webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
	font-size: 1.125rem;
}
@media (min-width: 768px) {
	.panel {
		padding: 2rem;
	}
}
.panel::after {
	content: "";
	display: block; clear: both;
}
.panel:first-child {
	margin-top: 0;
}
.panel.full {
	padding: 0;
}
.panel.follow {
	margin-top: 2rem;
}
.panel a {
	color: #fff; text-decoration: underline;
}
.panel a:visited {
	color: #eee;
}
.panel a:hover {
	color: #7bf;
}
.panel a:active {
	color: #000; text-decoration: none;
}
@media (prefers-color-scheme: dark) {
	.panel img {
		opacity: 0.85;
	}
}

.eblock {
	display: block; position: relative;
	margin-bottom: 1rem; padding: 1rem;
	background: #400; border: 2px solid #900;
	color: #fffd;
}
.eblock a {
	color: #f99;
}
.eblock ul {
	list-style: square;
	padding-left: 1rem;
}

.rblock {
	display: block; position: relative;
	margin: 1.125rem 0 0 0;
}
.rblock:first-child {
	margin-top: 0;
}
.rblock.hug {
	margin-top: 0.125rem;
}
.rblock.snug {
	margin-top: 0.5rem;
}
.rblock.middle {
	align-items: center;
}
.rblock .col {
	display: block; position: relative;
	min-height: 1px; margin-top: 1rem;
}
.rblock .col:first-child {
	margin-top: 0;
}
@media (min-width: 768px) {
	.rblock {
		display: grid;
		grid-template: auto / repeat(12, 1fr); column-gap: 1rem;
	}
	.rblock.nogut { column-gap: 0; }
	.rblock.biggut { column-gap: 2rem; }

	.rblock .col {
		grid-column-start: auto; grid-column-end: span 12;
		margin-top: 0;
	}

	.rblock .col.f1 { grid-column-end: span 1; }
	.rblock .col.f2 { grid-column-end: span 2; }
	.rblock .col.f3 { grid-column-end: span 3; }
	.rblock .col.f4 { grid-column-end: span 4; }
	.rblock .col.f5 { grid-column-end: span 5; }
	.rblock .col.f6 { grid-column-end: span 6; }
	.rblock .col.f7 { grid-column-end: span 7; }
	.rblock .col.f8 { grid-column-end: span 8; }
	.rblock .col.f9 { grid-column-end: span 9; }
	.rblock .col.f10 { grid-column-end: span 10; }
	.rblock .col.f11 { grid-column-end: span 11; }
	.rblock .col.f12 { grid-column-end: span 12; }
}

.btn {
	-webkit-appearance: none;
	display: inline-block;
	margin: 0; padding: 0.75rem 1rem;
	background: #1c528c; border: none; box-shadow: 0 0 0 1px rgba(0,0,0,0.1) inset;
	font: 1.125rem "Source Sans Pro",sans-serif; color: #fff; vertical-align: middle; white-space: nowrap; text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	cursor: pointer;
}
.btn.play { background: #1b8c1b; }
.btn.secondary { background: #7777; }
.btn.alternate { background: #0003; box-shadow: 0 0 0 1px #555 inset; }
.btn.cancel { background: #333; }
.btn ~ .btn {
	margin-left: 0.5rem;
}
.btn i {
	margin-left: 0.5em;
}

.toggle {
	display: inline-block;
	cursor: pointer;
}
.toggle i {
	margin-right: 0.35em;
}
.toggle .on {
	display: none;
	color: #333;
}
.toggle .off {
	display: block;
	color: #aaa;
}
.toggle.enabled .on {
	display: block;
}
.toggle.enabled .off {
	display: none;
}

.imageswap {
	display: none;
}
.imageswap.full {
	display: block;
	margin: 1.2em 0 0 0;
}
.imageswap.side {
	float: right;
	width: 50%; margin: 0 0 1rem 1rem;
}
@media (min-width: 768px) {
	.imageswap.full { display: none; }
	.imageswap.side { display: block; }
}

.pin_input {
	display: block;
	text-align: center;
}
.pin_input input {
	width: 8rem;
	font-size: 1.5rem; text-align: center; letter-spacing: 0.5rem;
}

.gap {
	margin: 0 0.5em;
	color: #eee;
}
.flush {
	display: block; position: relative; clear: both;
}


#head {
	display: block; position: relative; z-index: 999;
	background: #1c548c; box-shadow: 0 0 1px 1px #0007;
}
#head .title {
	display: block;
	padding: 0.5rem 1rem;
}
#head .title::after {
	content: "";
	display: block; clear: both;
}
#head .stupid {
	display: block; float: left;
	white-space: nowrap;
}
#head .stupid .logo {
	display: block; float: left;
}
#head .stupid .logo img {
	width: auto; height: 2rem;
}
#head .stupid .menu {
	display: block; float: left;
	margin-left: 2rem;
	font-size: 1rem; line-height: 2rem; color: #fff;
	cursor: pointer;
}
#head .stupid .menu .label {
	display: none;
}
#head .stupid .menu i {
	margin-right: 0.35em;
}
#head .account {
	display: block; float: right;
	text-align: right; line-height: 2rem;
}
#head .account a {
	color: #fff; text-decoration: none;
}
#head .account a:hover {
	text-decoration: underline;
}
#head .account .handle {
	display: none;
}
@media (min-width: 375px) {
	#head .stupid .menu .label {
		display: inline;
	}
}
@media (min-width: 768px) {
	#head {
		position: fixed;
		left: 0; right: 0; top: 0; height: 3rem;
	}
	#head .stupid .menu {
		margin-left: 3rem;
	}
	#head .account .handle {
		display: inline;
		margin-left: 0.375rem;
	}
}


#sitemenu {
	display: none; position: relative;
	padding: 1rem;
	background: #111b; border-bottom: 1px solid #000;
		-webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
@media (min-width: 768px) {
	#sitemenu {
		position: fixed; z-index: 999;
		left: 0; right: 0; top: 3rem;
	}
}

#body {
	display: block; position: relative;
	min-height: 75vh; padding: 1rem 0.5rem;
}
@media (min-width: 425px) and (max-width: 767px) {
	#body {
		padding: 1rem;
	}
}
@media (min-width: 768px) {
	#body {
		padding: 2rem;
	}
}

#product {
	display: block; position: relative;
	margin-bottom: 1rem;
}
#product .info {
	display: block; position: relative; z-index: 10;
	min-height: 5rem; padding: 1rem 5rem 1rem 1rem;
	background: #2229;
		-webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
#product h1 {
	margin-bottom: 0;
}
#product p.tagline {
	margin-top: 0.375rem;
}
#product .buttons {
}
#product .buttons li {
	display: inline-block;
	margin: 0.75rem 0.75rem 0 0;
}
#product .icon {
	display: block; position: absolute; z-index: 20;
	top: 1rem; right: 1rem; width: 3rem; height: 3rem;
}
#product .icon img {
	display: block;
}
@media (min-width: 425px) {
	#product {
		margin-bottom: 2rem;
	}
	#product .info {
		padding-right: 7rem;
	}
	#product .icon {
		flex-basis: 5rem;
		width: 5rem; height: 5rem;
	}
}
@media (min-width: 768px) {
	#product {
		margin-bottom: 2rem;
	}
	#product .info {
		margin: 0 0 0 10rem; padding: 1rem;
		min-height: 9rem;
	}
	#product .icon {
		top: -5.4255%; left: 0; right: unset; width: 9rem;
	}
}

#foot {
	display: block; position: relative;
	padding: 1rem;
	background: #0009; border-top: 1px solid #000;
	color: #fff;
}
#foot a {
	color: #fff;
}
#foot .logos {
	margin: 0 0 2rem 0;
	text-align: center;
}
#foot .logo {
	display: block;
	margin: 1rem 0 0 0;
}
#foot .logo:first-child {
	margin: 0;
}
#foot .logo img {
	display: inline;
	width: auto; height: 1.5rem; margin: 0 auto;
	vertical-align: middle;
}
#foot .logo img.stupid {
	height: 2rem;
}
#foot .links {
	text-align: center;
}
#foot .links .link {
	display: block;
	margin-top: 0.5rem;
}
#foot .links .link i {
	margin-right: 0.375rem;
}
@media (min-width: 768px) {
	#foot {
		padding: 2rem;
	}
	#foot .logo {
		display: inline-block;
		margin: 0 0 0 3rem;
	}
	#foot .logo img {
		display: inline;
	}
	#foot .links {
		margin-top: 1rem;
	}
	#foot .links:first-child {
		margin-top: 0;
	}
	#foot .links .link {
		display: inline-block;
		margin: 0 0 0 1rem; padding: 0 0 0 1rem;
		border-left: 1px solid #fff7;
	}
	#foot .links .link:first-child {
		margin-left: 0; padding-left: 0;
		border-left: none;
	}
}

.sitelinks {
}
.sitelinks .link {
	display: block; position: relative;
	margin-top: 1rem;
	font-size: 1rem; line-height: 3rem;
}
.sitelinks .link:first-child {
	margin-top: 0;
}
.sitelinks .link .icon {
	display: block; float: left;
	width: 3rem; height: 3rem;
}
.sitelinks .link .label {
	margin-left: 0.5rem;
}

.hexcell {
	display: block; position: relative; visibility: hidden;
	width: 100%; margin: 0;
}
.hexcell::after {
	content: "";
	display: block;
	padding-bottom: 86.602%;
}
.hexcell .outer {
	position: absolute; overflow: hidden; visibility: hidden;
	width: 96%; margin: 0 2%; padding-bottom: 110.851%;
	-webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg); -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg); transform: rotate3d(0,0,1,-60deg) skewY(30deg);
}
.hexcell .outer * {
	visibility: visible;
}
.hexcell .inner {
	display: block; position: absolute; overflow: hidden;
	width: 100%; height: 100%;
	color: #333;
	-webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg); -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg); transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}
.hexcell .inner img {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
}

.uicon {
	display: block; position: relative; overflow: hidden;
	width: 100%; padding-bottom: 100%;
	border-radius: 48px; box-shadow: 0 0 1px 1px #0009;
}
.uicon img {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
}

.tms-color-smart { color: #c40027 !important; }
.tms-color-stupid { color: #1c528c !important; }
.tms-bg-smart { background: #c40027 !important; }
.tms-bg-stupid { background: #1c528c !important; }
.tms-bg-smartichoke { background: #ccddcc !important; }
.tms-bg-duelofwords { background: #468c0d !important; }
.tms-bg-gt { background: #bd5e5e !important; }
.tms-bg-fnc { background: #777 !important; }

:root {
	--color-smart: #c40027;
	--color-stupid: #1c528c;
	--color-smartichoke: #ccddcc;
	--color-duelofwords: #468c0d;
}
