@font-face {
	font-family: '--verdana';
	src: url('verdana.ttf');
}
@font-face {
	font-family: '--lucida-console';
	src: url('lucida-console.ttf');
}

:root {
	--f-main: '--verdana', sans-serif;
	--f-unicode: '--verdana', sans-serif;
	--f-mono: '--lucida-console', monospace;
	--f-mono-weight: bold;

	--c-background: #111;
	
	--c-base: #245;
	--c-base-alt: #32441c;
	--c-detail: rgb(16, 34, 44);
	--c-detail-alt: #18220c;
	--c-detail-transp: rgba(16, 34, 44, 0.5);
	--c-light: #567;
	--c-text-dark: #89a;
	--c-text-darker: rgba(16, 34, 44, 0.5);
	--c-text-light: #ddd;

	background-color: black;
	overflow: hidden;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;

	width: 100vw;
	height: calc(100vw * 0.5625);
	margin: 0;

	font-family: var(--f-main);
	background-color: var(--c-background);
}

.logo {
	position: absolute;
	width: 15vw;
}

.logo-a {
	top: 27vw;
	left: 5vw;
}

.logo-b {
	top: 27vw;
	right: 5vw;
}

#stage-type {
	padding: 1vw;

	text-align: center;
	font-size: 4.5vw;
	color: var(--c-text-dark);
	background-color: #cc131b;
}

.display-row {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex-grow: 1;
	background-color: var(--c-background);
}
body.paused .display-row {
	filter: brightness(35%) contrast(90%) saturate(90%);
}
.display-row > * {
	margin-bottom: 1.5vw;
}
.display-row > *:first-of-type {
	margin-top: 1.5vw;
}

.ante-box {
	padding: 0.4vw 1.5vw;
	width: 27vw;

	text-align: center;
	font-size: 4.5vw;
	color: var(--c-text-dark);
	background-color: var(--c-base);
}
.alternate .ante-box {
	background-color: var(--c-base-alt);
}
.ante-box .value {
	padding: 0vw 1vw;
	padding-top: 0.5vw;

	font-family: var(--f-mono);
	font-weight: var(--f-mono-weight);
	color: var(--c-text-light);
	background-color: var(--c-detail-transp);
}
.ante-box .value .leading-zero {
	visibility: hidden;
}

.blind-row {
	display: flex;
}
.blind-box {
	margin: 0vw 0.75vw;
	padding: 0vw 3vw;
	width: 38vw;

	font-size: 5vw;
	color: var(--c-text-dark);
	background-color: var(--c-base);
}
.alternate .blind-box {
	background-color: var(--c-base-alt);
}
.smallblind-box {
	text-align: left;
}
.bigblind-box {
	text-align: right;
}
.blind-box .value {
	margin: 1vw 3.5vw;
	padding: 0vw 1.5vw;
	height: 8.5vw;

	font-family: var(--f-mono);
	font-weight: var(--f-mono-weight);
	font-size: 8vw;
	color: var(--c-text-light);
	background-color: var(--c-detail-transp);
}
.blind-box .value .leading-zero {
	visibility: hidden;
}

.time-box {
	position: relative;
	padding: 2vw 3vw;

	font-size: 12vw;
	color: var(--c-text-dark);
	background-color: var(--c-base);
}
.alternate .time-box {
	background-color: var(--c-base-alt);
}
#time {
	margin: -2vw 0vw -4vw 0vw;
}
#time * {
	vertical-align: middle;
}
#time .minutes, #time .seconds {
	font-size: 17vw;
	font-family: var(--f-mono);
	font-weight: var(--f-mono-weight);
	color: var(--c-text-light);
}
#ticker {
	position: absolute;
	bottom: 0vw;
	left: 0vw;
	right: 0vw;
	height: 0.2vw;
	background-color: var(--c-text-dark);
}

.ctrl-row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;

	width: 100%;
	box-sizing: border-box;
	border: 1.5vw solid transparent;

	background-color: var(--c-base);
}
.alternate .ctrl-row {
	background-color: var(--c-base-alt);
}
.ctrl-row > * {
	display: flex;
	flex-direction: row;
	justify-content: center;
}
.ctrl-row > :first-child {
	justify-content: start;
}
.ctrl-row > :last-child {
	justify-content: end;
}
.ctrl-row > * > * {
	margin: 0vw 0.75vw;
	padding: 0.3vw 1vw;
	color: var(--c-text-dark);
	font-family: var(--f-unicode);
	font-size: 3vw;
	background-color: var(--c-detail);
}
.alternate .ctrl-row > * > * {
	background-color: var(--c-detail-alt);
}
.ctrl-row > * > :first-child {
	margin-left: 0;
}
.ctrl-row > * > :last-child {
	margin-right: 0;
}

.ctrl-button {
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	cursor: default;
}
.ctrl-button:not(.disabled) {
	cursor: pointer;
}
.ctrl-button.disabled {
	color: var(--c-base);
}
.ctrl-button:not(.disabled):hover {
	color: var(--c-text-light);
}

.spr-button {
	width: 15vw;
	text-align: center;
}

#status-box {
	min-width: 16vw;
	font-size: 1.2vw;
	line-height: 1.4vw;
}

#test-fast, #test-audio {
	display: flex;
	align-items: center;
	font-size: 2vw;
}