@font-face {
	font-family: Muro;
	src: url('../assets/fonts/Muroslant.otf');
}
@font-face {
	font-family: Hun;
	src: 'https://tetr.io/res/font/hun2.ttf?v=9';
}
@font-face {
	font-family: SLANT;
	src: url('../assets/fonts/Sunmoreslantfree-DOMDx.ttf');
}
* {
    touch-action: manipulation;
}
body, body * {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Standard syntax */
}


body {
    font-family: SLANT;
	margin: 0;
	overflow: hidden;
}

.main-layout {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 14px;
	padding: 10px;
	box-sizing: border-box;
	min-height: 0;
	flex-wrap: wrap;
}

@media (max-width: 1100px) {
	.main-layout {
		justify-content: flex-start;
		align-items: stretch;
		gap: 10px;
		padding: 10px;
	}

	.import-export,
	.board-settings {
		margin: 0;
	}
}
.queue {
	text-align: center;
	font-family: Muro;
	font-size: 28px;
	letter-spacing: 2px;
}
.canvas {
	vertical-align: top;
}
.button {
	display: block;
	background-color: #222;
	border: 2px solid white;
	padding: 6px;
	color: white;
	font-family: SLANT;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 12px;
	letter-spacing: 2px;
	margin: 4px 2px;
	transition-duration: 0.4s;
	cursor: pointer;
}

.button:hover {
	background-color: #4caf50; /* Green */
	margin: 4px 2px;
}

input[type='radio'] {
	display: none;
}

footer {
	width: 100%;
}



.tc {
	position: absolute;
	bottom: 0;
    left: 0;
	text-align: right;
	padding: 10px;
	pointer-events: none;
	z-index: 11;
    display: none;
}
.tc span {
	width: 90px;
	height: 90px;
	border: 3px solid #fff;
	background-color: #87cefa;
	opacity: 0.4;
	margin: 6px 1px;
	vertical-align: text-bottom;
	pointer-events: auto;
	padding: 15px 17px;
	display: inline-block;
}
.tc span.tc-active {
	opacity: 1;
}
.tc span svg {
	width: 80px;
	height: 80px;
	pointer-events: none;
}

.board-settings--compact #boardOptionsContent {
	display: none;
}

.eval-panel {
	border: 2px solid #3d3d3d;
	padding: 8px;
	margin-bottom: 10px;
	background: #181818;
	width: 100%;
	font-size: 12px;
	letter-spacing: 1px;
	font-family: SLANT;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 8px;
	row-gap: 6px;
	max-height: 62vh;
	overflow-y: auto;
}

.eval-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 0;
}

.eval-row--stack {
	display: block;
}

.eval-row--full {
	grid-column: 1 / -1;
}

.eval-row--stack label {
	display: block;
	margin-bottom: 3px;
}

.eval-row .button {
	font-size: 10px;
	padding: 4px 5px;
	margin: 0;
}

#evalApiBase,
#evalRouteSelect,
#evalInputRate,
#evalCurrentCombo,
#evalCurrentB2b,
#evalPendingGarbage,
#evalBeamWidth,
#evalDepth,
#evalTimeBudgetMs,
#evalFutilityDelta,
#evalAttackWeight,
#evalChainWeight,
#evalContextWeight,
#evalBoardWeight,
#evalQMaxExtensions,
#evalQBeamFraction,
[id^="falconWeight_"] {
	width: 100%;
	box-sizing: border-box;
	background: #2a2a2a;
	border: 1px solid #666;
	color: #fff;
	padding: 4px;
	font-family: monospace;
	font-size: 11px;
}

.eval-routes-list {
	max-height: 140px;
	overflow-y: auto;
	border: 1px solid #4a4a4a;
	background: #111;
	padding: 2px;
}

.eval-route-item {
	padding: 4px;
	font-family: monospace;
	font-size: 11px;
	line-height: 1.2;
	border: 1px solid transparent;
	cursor: pointer;
	color: #d7d7d7;
}

.eval-route-item + .eval-route-item {
	margin-top: 2px;
}

.eval-route-item:hover {
	background: #1f1f1f;
	border-color: #6a6a6a;
}

.eval-route-item--active {
	background: #223322;
	border-color: #4caf50;
	color: #fff;
}

.eval-status {
	min-height: 24px;
	margin-top: 4px;
	margin-bottom: 6px;
	line-height: 1.2;
	color: #bdbdbd;
	font-size: 11px;
	grid-column: 1 / -1;
}

.eval-scores,
.eval-pv {
	font-family: monospace;
	font-size: 11px;
	line-height: 1.3;
	white-space: pre-wrap;
	word-break: break-word;
	color: #ddd;
	margin-top: 4px;
	grid-column: 1 / -1;
}
