.cr-spelling-bee-game,
.cr-spelling-bee-definitions {
	--bee-color: #f7da21;
	--bee-soft: rgba(247, 218, 33, 0.16);
	--bee-border: rgba(30, 35, 60, 0.10);
	--bee-green-soft: rgba(0, 115, 115, 0.08);
}

.cr-spelling-bee-main {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

.cr-spelling-bee-sidebar {
	grid-column: 1;
	grid-row: 1;
	width: 260px;
}

.cr-spelling-bee-board-card {
	padding: 10px 0 8px;
	margin-bottom: 14px;
}

.cr-spelling-bee-honeycomb {
	position: relative;
	width: 210px;
	height: 212px;
	margin: 0 auto;
}

.cr-spelling-bee-cell {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 64px;
	padding-bottom: 2px;
	clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
	background: rgb(232, 234, 237);
	color: var(--Primary-Color);
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

.cr-spelling-bee-cell.center {
	top: 74px;
	left: 69px;
	background: var(--bee-color);
}

.cr-spelling-bee-cell.top {
	top: 0;
	left: 69px;
}

.cr-spelling-bee-cell.top-left {
	top: 37px;
	left: 8px;
}

.cr-spelling-bee-cell.top-right {
	top: 37px;
	right: 8px;
}

.cr-spelling-bee-cell.bottom-left {
	top: 111px;
	left: 8px;
}

.cr-spelling-bee-cell.bottom-right {
	top: 111px;
	right: 8px;
}

.cr-spelling-bee-cell.bottom {
	top: 148px;
	left: 69px;
}

.cr-spelling-bee-stats {
	padding: 0;
	margin: 0 0 16px;
	list-style: none;
	border-top: 1px solid var(--bee-border);
}

.cr-spelling-bee-stats li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid var(--bee-border);
	font-size: 14px;
}

.cr-spelling-bee-stats span {
	color: var(--SubText-Color);
}

.cr-spelling-bee-stats strong {
	color: var(--Primary-Color);
}

.cr-spelling-bee-frequency {
	width: 260px;
	margin-top: 8px;
	overflow-x: auto;
}

.cr-spelling-bee-frequency-mobile {
	display: none;
}

.cr-spelling-bee-frequency-table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
}

.cr-spelling-bee-frequency-table th,
.cr-spelling-bee-frequency-table td {
	padding: 6px 7px;
	border-bottom: 1px solid rgba(30, 35, 60, 0.08);
	color: var(--Primary-Color);
	font-size: 13px;
	white-space: nowrap;
}

.cr-spelling-bee-frequency-table tbody th,
.cr-spelling-bee-frequency-table tfoot th {
	text-align: left;
}

.cr-spelling-bee-frequency-table tfoot th,
.cr-spelling-bee-frequency-table tfoot td,
.cr-spelling-bee-frequency-table tbody td:last-child {
	font-weight: 800;
}

.cr-spelling-bee-frequency-table .highlight {
	background: var(--bee-soft);
}

.cr-spelling-bee-frequency-table .highlight-primary {
	background: rgba(247, 218, 33, 0.45);
}

.cr-spelling-bee-answers {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

.cr-spelling-bee-pangrams {
	padding: 18px;
	margin-bottom: 24px;
	background: rgba(0, 115, 115, 0.025);
	border: 1px solid rgba(30, 35, 60, 0.08);
	border-radius: 10px;
}

.cr-spelling-bee-pangrams-head {
	margin-bottom: 16px;
	text-align: center;
}

.cr-spelling-bee-pangrams-head h3 {
	margin-bottom: 6px;
	color: var(--Primary-Color);
}

.cr-spelling-bee-pangrams-head span {
	color: var(--SubText-Color);
	font-size: 14px;
}

.cr-spelling-bee-pangram-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.cr-spelling-bee-pangram-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 13px 0;
	border-top: 1px solid rgba(30, 35, 60, 0.08);
}

.cr-spelling-bee-pangram-list li:first-child {
	border-top: 0;
}

.cr-spelling-bee-pangram-word {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

.cr-spelling-bee-score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 5px;
	margin: auto 0;
	background: var(--Third-Color-Light);
	border: 1px solid rgba(215, 80, 5, 0.14);
	border-radius: 999px;
	color: var(--Third-Color);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.cr-spelling-bee-results {
	padding: 16px;
	background: rgba(0, 115, 115, 0.025);
	border: 1px solid rgba(30, 35, 60, 0.08);
	border-radius: 10px;
}

.cr-spelling-bee-sort-bar {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(30, 35, 60, 0.08);
}

.cr-spelling-bee-answers-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.cr-spelling-bee-answers-head strong {
	color: var(--Primary-Color);
	font-size: 16px;
}

.cr-spelling-bee-sort-tabs {
	gap: 6px;
}

.cr-spelling-bee-sort-tabs .nav-link {
	padding: 6px 18px;
	font-size: 13px;
}

.cr-spelling-bee-answer-view {
	display: none;
}

.cr-spelling-bee-answer-view.active {
	display: block;
}

.cr-spelling-bee-answer-group {
	padding: 16px;
	margin-bottom: 12px;
	background: #fff;
	border: 1px solid rgba(30, 35, 60, 0.08);
	border-radius: 10px;
}

.cr-spelling-bee-answer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	padding-left: 12px;
	border-left: 2px solid var(--Secondary-Color);
}

.cr-spelling-bee-answer-head strong {
	color: var(--Primary-Color);
	font-size: 15px;
}

.cr-spelling-bee-answer-head span {
	display: block;
	color: var(--SubText-Color);
	font-size: 12px;
	font-weight: 500;
}

.cr-spelling-bee-answer-words {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.cr-spelling-bee-answer-words li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 28px;
	line-height: 1;
}

.cr-spelling-bee-answer-word {
	display: inline-flex;
	gap: 1px;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.cr-spelling-bee-answer-word i {
	color: var(--Primary-Color);
	font-style: normal;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.cr-spelling-bee-answer-word i.center {
	color: var(--Secondary-Color);
}

.cr-spelling-bee-star {
	color: var(--bee-color);
	font-size: 13px;
	line-height: 1;
	transition: opacity 0.2s ease;
}

.cr-spelling-bee-answer-group:not(.is-revealed) .cr-spelling-bee-answer-word {
	filter: blur(5px);
	opacity: 0.62;
	user-select: none;
}

.cr-spelling-bee-answer-group:not(.is-revealed) .cr-spelling-bee-star {
	opacity: 0;
}

.cr-spelling-bee-definitions ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.cr-spelling-bee-definitions li {
	padding: 15px 0;
	border-bottom: 1px solid rgba(30, 35, 60, 0.08);
}

.cr-spelling-bee-definition-title {
	margin-bottom: 12px;
	color: var(--Primary-Color);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}

.cr-spelling-bee-definition-answer {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.cr-spelling-bee-letter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 34px;
	padding: 0;
	background: rgb(255, 255, 255);
	border: 1px solid rgba(30, 35, 60, 0.22);
	border-radius: 5px;
	color: var(--Primary-Color);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.cr-spelling-bee-letter.is-revealed {
	background: var(--Secondary-Color-Light);
	border-color: rgba(0, 115, 115, 0.28);
	color: var(--Secondary-Color);
}

.cr-spelling-bee-definition-toggle {
	margin-left: 5px;
}

@media (max-width: 991px) {
	.cr-spelling-bee-main {
		display: flex;
		flex-direction: column;
	}

	.cr-spelling-bee-sidebar {
		order: 1;
		width: 100%;
	}

	.cr-spelling-bee-answers {
		order: 2;
		width: 100%;
	}

	.cr-spelling-bee-frequency-desktop {
		display: none;
	}

	.cr-spelling-bee-frequency-mobile {
		display: block;
		order: 3;
		width: 100%;
		max-width: 420px;
		margin: 0 auto;
	}

	.cr-spelling-bee-frequency {
		width: 100%;
	}

	.cr-spelling-bee-results {
		padding: 14px;
	}
}

@media (max-width: 575px) {
	.cr-spelling-bee-game .cr-content,
	.cr-spelling-bee-definitions .cr-content {
		padding: 0 !important;
	}

	.cr-spelling-bee-board-card {
		margin-bottom: 0;
	}

	.cr-spelling-bee-honeycomb {
		transform: scale(0.86);
		transform-origin: top center;
		margin-bottom: -20px;
	}

	.cr-spelling-bee-pangram-list li,
	.cr-spelling-bee-answers-head,
	.cr-spelling-bee-answer-head {
		align-items: flex-start;
	}

	.cr-spelling-bee-answer-group {
		padding: 14px;
	}

	.cr-spelling-bee-answer-words {
		gap: 9px 13px;
	}

	.cr-spelling-bee-letter {
		width: 34px;
		height: 32px;
	}
}