.wordjukebox-cell {
	width:42px;
	height:42px;
	border:2px solid #d7d7d7;
	text-align:center;
	line-height:38px;
	font-weight:bold;
	text-transform:uppercase;
	border-radius:14px;
	box-shadow:0 2px 8px rgba(0,0,0,.08);
	background:#fff;
	transition:background-color .22s ease, border-color .22s ease, transform .18s ease, box-shadow .18s ease;
}

.wordjukebox-cell:not(:empty) {
	transform:scale(1.04);
	border-color:#999;
}

.wordjukebox-cell.wordjukebox-reveal {
	animation:wordjukeboxReveal .38s ease forwards;
}

@keyframes wordjukeboxReveal {
	0% {
		transform:rotateX(0deg) scale(1);
	}
	45% {
		transform:rotateX(75deg) scale(.96);
	}
	100% {
		transform:rotateX(0deg) scale(1);
	}
}

.wordjukebox-key {
	display:flex;
	align-items:center;
	justify-content:center;
	width:42px;
	height:48px;
	padding:0;
	margin:0;
	border:0;
	cursor:pointer;
	font-weight:bold;
	border-radius:999px;
	user-select:none;
	background:#f1f1f1;
	box-shadow:0 2px 5px rgba(0,0,0,.12);
	transition:background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}

.wordjukebox-key:hover {
	transform:translateY(-1px);
	box-shadow:0 4px 9px rgba(0,0,0,.16);
}

.wordjukebox-key:active {
	transform:scale(.94);
	box-shadow:0 1px 3px rgba(0,0,0,.12);
}

.wordjukebox-key-wide {
	width:88px;
	border-radius:999px;
	font-size:12px;
}

.wordjukebox-keyboard-row {
	display:flex;
	justify-content:center;
	gap:7px;
	margin-bottom:8px;
}

.correct {
	background:#27A143 !important;
	border-color:#27A143 !important;
	color:#fff;
}

.present {
	background:#FF9D03 !important;
	border-color:#FF9D03 !important;
	color:#fff;
}

.absent {
	background:#a5a5a5 !important;
	border-color:#a5a5a5 !important;
	color:#fff;
}

#wordjukebox-grid {
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	width:100%;
}

.wordjukebox-row {
	display:flex;
	justify-content:center;
	gap:5px;
	margin-bottom:5px;
}

#wordjukebox-keyboard {
	width:100%;
	text-align:center;
	margin-top:20px;
}

#wordjukebox-options-row {
	display:flex;
	justify-content:center;
	align-items:center;
	gap:10px;
	flex-wrap:nowrap;
	margin-bottom:25px;
}

.wordjukebox-select {
	width:auto !important;
	min-width:75px;
	max-width:200px;
	text-align:center;
	flex:0 0 auto;
}

#wordjukebox-start-button {
	flex:0 0 auto;
}

#wordjukebox_message {
	margin:15px 0;
	padding:10px 14px;
	border-radius:10px;
	text-align:center;
	font-weight:600;
	background:#ffe7c2;
	color:#7a4b00;
}

.wordjukebox-start-link {
	display:inline-block;
	margin-top:8px;
	cursor:pointer;
	font-weight:bold;
	text-decoration:underline;
}

.wordjukebox-start-link:hover {
	opacity:.8;
}