.game-field-bidding,
#table-center-message .game-field-bidding,
#table-center-message {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	box-sizing: border-box;
	background: rgba(26, 29, 33, 0.96);
	width: 600px;
	height: 320px;
}

.game-field-cards {
	display: flex;
	flex-direction: row;
	align-items: center;
	z-index: 1;
	padding-left: 30px;
}

.game-field-combination-text {
	position: absolute;
	right: 25px;
	bottom: 21px;
	align-items: center;
	color: var(--text-primary);
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.15px;
}

#table-center-message {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 8px;
	padding: 21px 25px;
	pointer-events: none;
}

.table-played-cards {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin: auto 0;
	padding-left: 22px;
	width: 100%;
	height: var(--card-container-height);
	min-height: var(--card-container-height);
}

.table-card-img {
	margin-left: -22px;
	border-radius: 6px;
	background: transparent;
	width: var(--card-width);
	height: var(--card-height);
	object-fit: cover;
}

.table-play-type {
	align-self: flex-end;
	color: var(--text-secondary);
	font-weight: 600;
	font-size: 12px;
	line-height: 18px;
	text-transform: uppercase;
}

#card-hand-area,
.game-card-hand {
	display: flex;
	position: relative;
	right: auto;
	left: auto;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 8px;
	transform: none;
	z-index: 6;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	height: var(--card-height);
}

.hand-card,
.game-card {
	display: flex;
	position: relative;
	flex: 0 0 102px;
	flex-direction: row;
	align-items: center;
	z-index: 1;
	transition: transform 0.12s ease;
	cursor: pointer;
	box-sizing: border-box;
	margin-left: 0;

	background: transparent;
	width: 102px;
	min-width: 102px;
	max-width: 102px;
	height: 142px;
	overflow: visible;
}

#card-hand-area[data-layout-mode="overlap"] .hand-card + .hand-card,
.game-card-hand[data-layout-mode="overlap"] .game-card + .game-card {
	margin-left: calc(var(--hand-overlap, 0px) * -1);
}

.hand-card:hover {
	transform: translateY(-2px);
}

.hand-card.selected,
.card-selected {
	transform: translateY(-24px) !important;
}

.hand-card.selected:hover,
.card-selected:hover {
	transform: translateY(-24px) !important;
}

.hand-card-face {
	display: block;

	background: transparent;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.hand-card:hover .hand-card-face {
	box-shadow: none;
}

.hand-card.selected .hand-card-face {
	box-shadow: none;
}

#game-actions,
.game-actions-container,
#action-buttons {
	display: flex;
	position: relative;
	right: auto;
	left: auto;
	flex: 1 1 auto;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 8px;
	z-index: 10;
	box-sizing: border-box;
	padding: 0 20px;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

#action-buttons > * {
	pointer-events: auto;
}
