.fortyone_board {
	display: flex;
	justify-content: space-around;
	gap: 1rem;
}
.fortyone_board_column {
	flex: 1;
	padding: 1rem;
	width: 33%;
	text-align: center;
}
.fortyone_board_column p {
	margin: 0;
}
.fortyone_board_column img {
	width: 100%;
}
#fortyone_card_back, #fortyone_dice_icon {
	cursor: pointer;
	transition: transform 0.1s ease;
}
#fortyone_card_back:active, #fortyone_dice_icon:active {
	transform: scale(0.95);
}
.fortyone_board_column.disabled img#fortyone_card_back,
.fortyone_board_column.disabled img#fortyone_dice_icon {
	opacity: 0.5;
	cursor: not-allowed !important;
}
#fortyone_dice_icon {
	width: 70%;
}
#fortyone_rolled_dice {
	display: none;
}
#fortyone_rolled_dice img {
	width: 40%;
}
#fortyone_dice_roll_value {
	font-weight: bold;
}
#fortyone_dice_roll_value aside {
	zoom: 0.7;
	font-style: italic;
	line-height: 1.2;
}
.fortyone_score_table {
	border-collapse: separate;
	border: 2px dashed #3b2b27;
	margin: 1em auto 2em;
	text-align: center;
	border-radius: 10px;
	border-spacing: 0;
	padding: 0.3em;
}
.fortyone_score_table th {
	padding: 0 1em;
	font-weight: bold;
	border: 1px solid #3b2b27;
}
.fortyone_score_table td {
	padding: 0 1em;
	border: 1px solid #3b2b27;
}
.fortyone_score_table tr:first-child td,
.fortyone_score_table tr:first-child th {
	border-top: none;
}
.fortyone_score_table tr:last-child td,
.fortyone_score_table tr:last-child th {
	border-bottom: none;
}
.fortyone_score_table td:first-child,
.fortyone_score_table th:first-child {
	border-left: none;
}
.fortyone_score_table td:last-child,
.fortyone_score_table th:last-child {
	border-right: none;
}
.fortyone_current_turn_scores, .fortyone_pluses {
	font-style: italic;
}
#fortyone_current_player_container, #fortyone_current_action {
	text-align: center;
	font-weight: bold;
	margin-bottom: 1em;
}
#fortyone_current_action {
	margin: 0 auto 1em;
	width: 50%;
	font-style: italic;
	border: 1px dashed #3b2b27;
	padding: 0.2em 0.5em;
	border-radius: 5px;
	background: #f9d7ae;
}
.fortyone_remaining_cards_container {
	font-style: italic;
	zoom: 0.8;
	line-height: 1.2;
}
.fortyone_button {
	cursor: pointer;
	border: 1px dashed #3b2b27;
	padding: 0.2em 0.5em;
	border-radius: 5px;
	background: none;
	transition: transform 0.1s ease;
}
.fortyone_button:hover {
	background: #f9d7ae;
}
.fortyone_button:active {
	transform: scale(0.95);
}
.fortyone_button.disabled {
	cursor: not-allowed;
	opacity: 0.5;
	background: none !important;
}
#fortyone_action_buttons {
	text-align: center;
	font-weight: bold;
	zoom: 2;
}
#fortyone_action_buttons span {
	margin: 1em;
}
#fortyone_action_buttons aside {
	zoom: 0.4;
	font-weight: normal;
	margin-top: 1em;
	opacity: 0.5;
}
#fortyone_game_start_container {
	text-align: center;
}
#fortyone_game_start_container input[type="number"] {
	font-size: 1em;
	margin-left: 0.5em;
}
#fortyone_game_start_container .fortyone_button {
	font-size: 1.5em;
	margin-top: 1em;
}
#fortyone_reset_button_container {
	text-align: center;
}
#fortyone_reset_button_container a {
	text-decoration: none;
	zoom: 0.8;
}
#fortyone_winner_container {
	display: none;
	text-align: center;
	font-size: 2em;
	margin: 1em;
}
#fortyone_action_steal_container {
	text-align: center;
}
#fortyone_cover_image {
	text-align: center;
	margin-top: 2em;
}
#fortyone_cover_image img {
	width: 75%;
}
#fortyone_credits {
	text-align: center;
	font-style: italic;
	zoom: 0.8;
	margin-top: 2em;
}
#fortyone_rules_box {
	width: 50%;
	border: 1px dashed #3b2b27;
	padding: 0.2em 0.5em;
	border-radius: 5px;
	background: #f9d7ae;
	font-size: 0.8em;
	text-align: center;
	margin-top: 3em;
}
#fortyone_rules_box p {
	margin: 0.8em 0;
}
@media screen and (max-width: 872px) {
	#fortyone_rules_box {
		width: 100%;
	}
}

/* Loading animation */
.fortyone_loader {
  height: 7px;
  aspect-ratio: 5;
  display: grid;
  margin: 0.84em auto;
}
.fortyone_loader:before,
.fortyone_loader:after {
  content: "";
  grid-area: 1/1;
  height: inherit;
  --_g: no-repeat radial-gradient(farthest-side,#000 94%,#0000);
  background:
    var(--_g) left,
    var(--_g) right;
  background-size: 7px 100%;
  background-repeat: no-repeat;
  animation: l35 1s infinite linear;
}
.fortyone_loader:after {
  margin-left: auto;
  --s:-1;
}
@keyframes l35 {
  0%   {transform:translateY(calc(var(--s,1)*0px));aspect-ratio: 2.3 }
  33%  {transform:translateY(calc(var(--s,1)*8px));aspect-ratio: 2.3 }
  66%  {transform:translateY(calc(var(--s,1)*8px));aspect-ratio: 3.7 }
  100% {transform:translateY(calc(var(--s,1)*0px));aspect-ratio: 3.7 }
}