body {
	overflow: hidden;
}

#roundScoreDisplay {
	position: absolute;
	bottom: calc(10% + 20px); /* Position above the button container */
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(0, 0, 0, 0.7);
	padding: 8px 25px;
	border-radius: 10px;
	border: 2px solid white;
	font-size: 1.25rem; /* 20px */
	z-index: 10;
	pointer-events: none; /* Prevent it from blocking map clicks */
	display: none; /* Hidden by default */
	min-width: 250px;
	white-space: nowrap; /* Prevent text from wrapping */
	text-align: center;
}

body {
	overflow: hidden;
}

hr {
	width: 100%;
	border-color: white;
	margin: 0;
}

#minimiseButton {
	position: absolute;
	right: 0.5rem;
	bottom: 0.3rem;
	z-index: 10;

	transition: transform 0.3s ease; /* Smooth rotation for the button itself */
}

#fullscreenButton,
#minimiseButton {
	width: 50px;
	height: 50px;
	min-width: 50px;
	padding: 0;
	align-items: center;
	align-content: center;
	justify-content: center;
	margin-left: 0;
}

#minimiseButton.rotate180 {
	transform: rotate(180deg);
	background-color: #fff;
}

#scoreContainer span {
	text-align: left;
	padding: 5px 15px;
}

.choice-description {
	font-size: 0.9rem;
	color: #b0b0b0;
	margin-top: 0.75rem;
	font-family: sans-serif; /* Use a more readable font for descriptions */
	font-weight: normal;
	white-space: normal; /* Allow text to wrap */
}

.choice-info {
	display: flex;
	justify-content: space-between;
	margin-top: 0.75rem;
	font-size: 0.8rem;
	color: #9ca3af;
	font-family: sans-serif;
	font-weight: normal;
}

.choice-author {
	text-align: left;
}

.choice-image-count {
	text-align: right;
}

 #selected-packs-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	background-color: rgba(54, 54, 54, 0.55);
	border-radius: 6px;
	padding: 10px;
	width: 100%;
	box-sizing: border-box;
	min-height: 40px; /* Ensure it has some height even when empty */
}

.pack-tag {
	display: inline-block;
	background-color: #4b55637d;
	color: #e5e7eb;
	padding: 4px 10px;
	border-radius: 6px;
}

#selected-packs-list:empty::before {
	content: 'No packs selected.';
	color: #6b7280;
}

.pack-selection-area {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
}
.window > h2:first-child {
	border-bottom: 2px solid white;
	margin-bottom: 15px;
}

#startButton,
#restartButton,
#optionsButton {
	margin-top: 15px;
}

#customDifficultyDiv {
	gap: 1rem;
}

.custom-difficulty-inputs {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	width: 100%;
}

.range-container {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: center;
}

#minimiseIcon {
	transition: transform 0.3s ease;
}

@media (max-width: 768px) {
	#scoreContainer {
		left: 50%;
		transform: translateX(-50%);
		top: 0.75rem;
		font-size: 1rem;
		gap: 0.5rem;
	}
	#topRightContainer {
		right: 0.5rem;
		top: 0.75rem;
	}
	#backContainer {
		left: 0.5rem;
		top: 0.75rem;
	}
}

#mapCanvas.minimise {
	transition: all 0.5s ease;
	opacity: 0;
	transform: scale(0);
	height: 0 !important;
	width: 100% !important;
	pointer-events: none;
}

#mapContainer.minimise {
	transition: all 0.5s ease;
	width: 60px !important;
	height: 60px !important;
	background-color: transparent;
	opacity: 1;
}

#mapContainer.minimise #controlsContainer {
	opacity: 0;
	pointer-events: none;
}

img {
	-webkit-user-drag: none;
}

#scoreContainer {
	font-size: 2rem;
	color: #fff;
	position: absolute;
	top: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 1rem;
}

#imageWrapper {
	position: relative;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

/* blurred background layer */
#blurBg {
	position: absolute;
	inset: 0;
	background: center/cover no-repeat;
	filter: blur(20px) brightness(0.45);
	z-index: 0;
	pointer-events: none;
}

#locationImg {
	background: center/cover no-repeat;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	user-select: none;
	pointer-events: none;
	filter: none;
	opacity: 1;
	transition: opacity 0.4s ease;
}

.hideLocationImg {
	filter: blur(20px) brightness(0.45);
	opacity: 0;
}

#locationImg::selection {
	background: none;
}
