.puzzle15 .board {
	margin: 20px auto 0 auto;
	width: 180px;
	height: 180px;
	position: relative;
	border: 3px ridge #3080D0;
 	user-select: none;
	background-color: rgba(48, 128, 208, .2);
}

.puzzle15 .tile {
	height: 45px;
	width: 45px;
	line-height: 45px;
	position: absolute;
	background: url('tile45blue.gif');
	color: #fff;
	font-size: 20px;
	font-weight: bolder;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
}

.puzzle15 .p0 {
	display: none;
}

/* Modern popup styling */
.puzzle15 .gameOver {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: none;
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.puzzle15 .gameOver .popup {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 15px;
	padding: 30px;
	text-align: center;
	color: white;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	max-width: 400px;
	margin: 20px;
	animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
	from {
		opacity: 0;
		transform: translateY(-50px) scale(0.9);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.puzzle15 .gameOver .popup h2 {
	margin: 0 0 15px 0;
	font-size: 24px;
	font-weight: bold;
	color: #fff;
}

.puzzle15 .gameOver .popup .stats {
	margin: 20px 0;
	padding: 15px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
}

.puzzle15 .gameOver .popup .stats div {
	margin: 8px 0;
	font-size: 16px;
}

.puzzle15 .gameOver .popup .stats .highlight {
	font-weight: bold;
	font-size: 18px;
	color: #ffd700;
}

.puzzle15 .gameOver .popup .play-again-btn {
	display: inline-block;
	background: linear-gradient(45deg, #ff6b6b, #ee5a24);
	color: white;
	padding: 12px 25px;
	text-decoration: none;
	border-radius: 25px;
	font-weight: bold;
	font-size: 16px;
	margin-top: 15px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.puzzle15 .gameOver .popup .play-again-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
	background: linear-gradient(45deg, #ee5a24, #ff6b6b);
}

.puzzle15 .gameOver .popup .close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	font-size: 20px;
	cursor: pointer;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
}

.puzzle15 .gameOver .popup .close-btn:hover {
	background: rgba(255, 255, 255, 0.3);
}

.body.puzzle15 {
	padding: 1em;
}

.puzzle15 .results {
	margin: 1em auto;
	max-width: 180px;
}

.puzzle15 .results span {
	font-weight: bold;
}

.puzzle15 .rules {
	margin-bottom: 3em;
}

.puzzle15 .rules p {
	margin-bottom: 1em;
}

.puzzle15 h2 {
	line-height: 2em;
	font-size: 130%;
	font-weight: normal;
}
