/* Segnacarte app, popup version: a 300x800 window with the four suits in columns. */

html,
body {
	margin: 0;
	padding: 0;
}

body.sc-popup {
	min-height: 100vh;
	background: #1f5e4a url(../img/sfondo_custom.jpg) repeat 0 0;
	font-family: sans-serif;
}

.sc-popup__main {
	position: relative;
	width: 300px;
	min-height: 800px;
}

.sc-cards--small {
	display: flex;
	position: absolute;
	top: 3px;
	left: 21px;
}

.sc-cards--small .sc-cards__suit {
	display: flex;
	flex-direction: column;
	padding: 0 1px;
}

.sc-card {
	display: block;
	position: relative;
	width: 45px;
	height: 75px;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

.sc-card__input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.sc-card__image {
	display: block;
	width: 42px;
	height: 75px;
	pointer-events: none;
}

.sc-card.is-dim {
	opacity: 0.3;
}

.sc-card.is-out {
	visibility: hidden;
}

.sc-card:has(.sc-card__input:focus-visible) {
	outline: 2px solid #fff;
	outline-offset: 1px;
}

.sc-popup__reset {
	position: absolute;
	top: 150px;
	left: 215px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.sc-popup__reset:hover {
	cursor: crosshair;
}

.sc-popup__reset img {
	display: block;
	width: 38px;
	height: 237px;
}
