* {
  padding: 0;
  margin: 0;
	-webkit-touch-callout: none;
	-webkit-user-callout: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
	-webkit-user-modify: none;
	-webkit-highlight: none;
	user-select: none;
	touch-action: none;
}

:root {
	--white: floralwhite;
	--font-size: 16px;
}

body {
  font-family: sans-serif;
	font-size: var(--font-size);
  text-align: center;
	color: var(--white);
	background-color: rgb(0, 106, 0);
	background-image: radial-gradient(rgb(0, 190, 0), rgb(0, 106, 0));
	background-repeat: no-repeat;
	height: 100%;
	padding: var(--safe-area-top) var(--body-padding) var(--safe-area-bottom);
	box-sizing: border-box;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
	touch-action: none;
}

.table {
	position: relative;
	height: 100%;
	width: var(--table-width);
	margin: 0 auto;
}

.card {
	background-color: var(--white);
	padding: 1px;
	box-sizing: border-box;
	position: absolute;
	box-shadow: 0 -1px 1px rgba(0, 0, 0, .35), 0 2px 2px rgba(0, 0, 0, .5);
	aspect-ratio: 250/350;
	&[data-dropped="true"] {
		transition: top 0.25s, left 0.25s;
	}
	[data-flash="true"] & {
		opacity: 0;
	}
	svg {
		width: 100%;
		height: 100%;
		display: block;
	}
}

.column {
	height: var(--column-height);
	position: absolute;
	background-image: linear-gradient(rgba(0, 0, 0, 0.2), transparent 50%);
	box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.5);
	mask-image: linear-gradient(black, transparent 50%);
	[data-animate="true"] & {
		transition: top 0.25s;
	}
}

.column,
.card,
.base {
	width: var(--card-width);
	border-radius: var(--border-radius);
}

.footer {
	position: fixed;
	bottom: var(--safe-area-bottom);
	left: var(--body-padding);
	right: var(--body-padding);
	
}

.actions {
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: var(--border-radius);
	padding: 4px 10px 5px;
}

.stats {
	padding: 4px;
	text-shadow: 0 0 2px rgba(0, 0, 0, .5);
	&[data-active="false"] {
		opacity: 0;
	}
}

.actions,
.stats {
	display: flex;
	justify-content: space-between;
}

button {
	background-color: transparent;
	color: inherit;
	border: 0;
	font-size: 1em;
	cursor: pointer;
	padding: 5px;
	letter-spacing: 0.25px;
	&:active {
		color: yellow;
	}
}
