* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
	margin: 0;
}

html.learning-round-scroll-locked,
body.learning-round-scroll-locked {
	overflow: hidden;
	overscroll-behavior: none;
}

.learning-body {
	background: #fff;
	color: #111827;
	font-family: Poppins, Arial, sans-serif;
}

.learning-app {
	min-height: 100vh;
	background: #fff;
}

.learning-topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	height: 72px;
	padding: 0 18px;
	border-bottom: 1px solid #eff3f4;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(12px);
}

.learning-back,
.learning-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
	color: #111827;
	font-size: 18px;
	text-decoration: none;
}

.learning-icon-btn {
	cursor: pointer;
}

.learning-topbar [data-learning-back],
.learning-topbar [data-learning-achievements-open],
.learning-topbar [data-learning-profile-open] {
	opacity: 0;
	transform-origin: center;
	animation: learningTopbarPlum .72s cubic-bezier(.18, .82, .24, 1) both;
}

.learning-topbar [data-learning-back] {
	animation-delay: .2s;
}

.learning-topbar [data-learning-achievements-open] {
	animation-delay: .38s;
}

.learning-topbar [data-learning-profile-open] {
	animation-delay: .56s;
}

.learning-brand,
.learning-topbar__actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.learning-topbar__actions {
	grid-column: 3;
	justify-self: end;
}

.learning-brand {
	font-size: 16px;
	font-weight: 700;
}

.learning-brand img {
	display: block;
	width: 118px;
	height: auto;
}

.learning-points {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 0 12px;
	border-radius: 999px;
	background: #b50200;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

@keyframes learningTopbarPlum {
	0% {
		opacity: 0;
		transform: translate3d(-8px, 0, 0) scale(.88);
	}

	58% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1.035);
	}
	78% {
		transform: translate3d(0, 0, 0) scale(.99);
	}
	100% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

.learning-shell {
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: 96px 16px 28px;
}

.learning-home,
.learning-game,
.learning-summary {
	display: none;
	width: min(100%, 560px);
}

.learning-home.is-active,
.learning-game.is-active,
.learning-summary.is-active {
	display: block;
}

.learning-hero {
	text-align: center;
}

.learning-hero__visual {
	display: grid;
	place-items: center;
	width: 178px;
	height: 178px;
	margin: 0 auto 22px;
	border-radius: 42px;
	background: linear-gradient(145deg, #b50200, #e31b23);
	box-shadow: 0 24px 60px rgba(181, 2, 0, .22);
	color: #fff;
}

.learning-hero__visual span {
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	font-size: 44px;
}

.learning-kicker {
	display: inline-flex;
	margin: 0px 0 20px;
	padding: 5px 10px;
	border-radius: 4px;
	background: #f3f4f6;
	color: #b50200;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.learning-hero h1 {
	max-width: 520px;
	margin: 0 auto 10px;
	font-size: 36px;
	font-weight: 800;
	line-height: 1.08;
}

.learning-hero p {
	max-width: 460px;
	margin: 0 auto 22px;
	color: #536471;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
}

.learning-home-actions {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 10px;
	width: min(100%, 340px);
	margin: 0 auto;
}

.learning-btn,
.learning-link-btn {
	border: 0;
	background: transparent;
	font-family: inherit;
	cursor: pointer;
}

.learning-btn {
	min-height: 52px;
	border-radius: 16px;
	font-size: 15px;
	font-weight: 700;
}

.learning-btn--primary {
	background: #b50200;
	color: #fff;
	box-shadow: none;
}

.learning-btn--light {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
}

.learning-btn--outline {
	border: 1px solid #111827;
	background: transparent;
	color: #111827;
	box-shadow: none;
}

.learning-btn--success {
	border: 1px solid #16803a;
	background: #16803a;
	color: #fff;
	box-shadow: none;
}

.learning-btn--success:hover,
.learning-btn--success:focus {
	border-color: #126c31;
	background: #126c31;
	color: #fff;
	text-decoration: none;
}

.learning-btn--dark {
	border: 1px solid #111827;
	background: #111827;
	color: #fff;
	box-shadow: none;
}

.learning-btn--dark:hover,
.learning-btn--dark:focus {
	border-color: #000;
	background: #000;
	color: #fff;
	text-decoration: none;
}

.learning-link-btn {
	color: #b50200;
	font-size: 13px;
	font-weight: 600;
}

.learning-daily-goal {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 25px auto 15px;
	padding: 8px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
	color: #536471;
	font-size: 12px;
	font-weight: 600;
}

.learning-daily-goal strong {
	color: #b50200;
	font-size: 14px;
}

.learning-topic-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 26px auto 0;
}

.learning-topic-strip button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
	color: #4b5563;
	font: 600 12px Poppins, Arial, sans-serif;
	cursor: pointer;
}

.learning-topic-strip button.is-active {
	border-color: #b50200;
	background: #b50200;
	color: #fff;
}

.learning-back,
.learning-icon-btn {
	flex: 0 0 44px;
	width: 44px;
	min-width: 44px;
	max-width: 44px;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding: 0;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	line-height: 1;
}

.learning-back i,
.learning-icon-btn i {
	display: block;
	line-height: 1;
}

/* Final light quiz-card override: keep the game content readable on white. */
.learning-game-card {
	min-height: 610px;
	padding: 22px 18px 18px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 26px 80px rgba(15, 23, 42, .16);
	color: #111827;
}

.learning-progress {
	color: #6b7280;
}

.learning-progress div {
	background: #eef2f7;
}

.learning-progress i {
	background: #b50200;
}

.learning-progress strong {
	border: 1px solid #e5e7eb;
	background: #f8fafc;
	color: #111827;
}

.learning-progress strong.is-ending {
	border: 2px solid #b50200;
	background: #b50200;
	color: #fff;
	animation: learningTimerPulse .82s ease-in-out infinite;
	box-shadow:
		0 0 0 0 rgba(181, 2, 0, .48),
		0 0 22px rgba(181, 2, 0, .35);
}

.learning-mode {
	color: #b50200;
	text-align: center;
}

.learning-prompt {
	margin: 34px 0 24px;
	padding: 10px 12px;
	border: 0;
	border-radius: 14px;
	text-align: center;
	transition:
		transform .18s ease;
}

.learning-prompt span {
	color: #6b7280;
	font-size: 14px;
}

	.learning-prompt h2 {
		color: #111827;
		font-size: 28px;
	}

.learning-game-card.is-time-ending .learning-prompt {
	border: 0;
	background: transparent;
	box-shadow: none;
	animation: none;
}

.learning-prompt__char {
	display: inline-block;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	transform-origin: center bottom;
	will-change: transform;
}

.learning-game-card.is-time-ending .learning-prompt > span {
	color: #b50200;
	animation: learningPromptLabelPulse .82s ease-in-out infinite;
}

.learning-game-card.is-time-ending .learning-prompt h2 {
	color: #111827;
	animation: learningPromptHeadingPulse 1.05s ease-in-out infinite;
}

.learning-game-card.is-time-ending .learning-prompt h2 .learning-prompt__char {
	animation: learningPromptLetterWave 1.12s ease-in-out infinite;
	animation-delay: var(--char-delay, 0ms);
}

.learning-question,
.learning-example {
	color: #536471;
	text-align: center;
}

.learning-option {
	min-height: 52px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	color: #111827;
	text-align: center;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.learning-option:hover {
	border-color: #b50200;
	background: #fff7f7;
	color: #111827;
	transform: translateY(-1px);
}

.learning-option.is-correct {
	border-color: #16803a;
	background: #16803a;
	color: #fff;
}

.learning-option.is-wrong {
	border-color: #b50200;
	background: #b50200;
	color: #fff;
}

.learning-game-card.is-slide {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
}

.learning-game-card.is-slide .learning-mode {
	background: #fff1f2;
	color: #b50200;
}

.learning-game-card.is-slide .learning-prompt > span,
.learning-game-card.is-slide .learning-prompt h2 {
	color: #111827;
}

.learning-game-card.is-word .learning-example {
	border: 1px solid #e5e7eb;
	background: #f8fafc;
	color: #536471;
}

.learning-game-card.is-word .learning-prompt {
	display: flex;
	min-height: 210px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 12px 0 18px;
}

.learning-game-card.is-word .learning-prompt h2 {
	font-size: 34px;
	line-height: 1.14;
}

.learning-points {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	background: #b50200;
	color: #fff;
	font-size: 24px;
	font-weight: 600;
}

.learning-game-card.is-slide .learning-prompt {
	margin: 26px 0 18px;
}

.learning-game-card.is-slide .learning-mode {
	min-height: 27px;
	padding: 0 13px;
	border-radius: 999px;
	background: #fff1f2;
	color: #b50200;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .2px;
	text-transform: uppercase;
}

.learning-game-card.is-slide .learning-prompt > span {
	margin-bottom: 8px;
	color: #111827;
	font-size: 15px;
	font-weight: 700;
}

.learning-game-card.is-slide .learning-prompt h2 {
	max-width: 520px;
	margin: 0 auto;
	color: #111827;
	font-size: clamp(27px, 5vw, 38px);
	font-weight: 800;
	line-height: 1;
}

.learning-game-card.is-slide .learning-question {
	max-width: 100%;
	margin: 0 0 16px;
	padding: 18px 20px;
	border-left: 4px solid #d60000;
	border-radius: 18px;
	background: #fff;
	box-shadow: inset 10px 0 0 rgba(214, 0, 0, .04);
	color: #374151;
	text-align: left;
}

.learning-game-card.is-slide .learning-question p {
	margin: 0 0 10px;
	color: #374151;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.62;
}

.learning-game-card.is-slide .learning-question p:last-child {
	margin-bottom: 0;
}

.learning-game-card.is-slide .learning-question strong {
	color: #111827;
	font-weight: 800;
}

.learning-game-card.is-slide .learning-example {
	display: block;
	margin: 0 0 16px;
	padding: 15px 17px;
	border-radius: 18px;
	background: #111827;
	color: #fff;
	text-align: left;
}

.learning-game-card.is-slide .learning-example:empty {
	display: none;
}

.learning-game-card.is-slide .learning-example strong {
	display: block;
	margin: 0 0 6px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}

.learning-game-card.is-slide .learning-example span {
	display: block;
	color: rgba(255, 255, 255, .76);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

.learning-game-card.is-slide .learning-slide-next {
	min-height: 58px;
	margin-top: 8px;
	border-radius: 1rem;
	font-size: 18px;
	font-weight: 800;
}

@media (max-width: 768px) {
	.learning-game-card.is-slide .learning-prompt {
		margin: 20px 0 14px;
	}

	.learning-game-card.is-slide .learning-prompt h2 {
		font-size: 27px;
	}

	.learning-game-card.is-slide .learning-question {
		padding: 15px 16px;
		border-radius: 16px;
	}

	.learning-game-card.is-slide .learning-question p {
		font-size: 14px;
		line-height: 1.55;
	}

	.learning-game-card.is-slide .learning-example {
		padding: 14px 15px;
		border-radius: 16px;
	}
}

/* Final light quiz-card override: keep the game content readable on white. */
.learning-game-card {
	min-height: 610px;
	padding: 22px 18px 18px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 26px 80px rgba(15, 23, 42, .16);
	color: #111827;
}

.learning-progress {
	color: #6b7280;
}

.learning-progress div {
	background: #eef2f7;
}

.learning-progress i {
	background: #b50200;
}

.learning-progress strong {
	border: 1px solid #e5e7eb;
	background: #f8fafc;
	color: #111827;
}

.learning-progress strong.is-ending {
	border: 2px solid #b50200;
	background: #b50200;
	color: #fff;
	animation: learningTimerPulse .82s ease-in-out infinite;
	box-shadow:
		0 0 0 0 rgba(181, 2, 0, .48),
		0 0 22px rgba(181, 2, 0, .35);
}

.learning-mode {
	color: #b50200;
	text-align: center;
}

.learning-prompt {
	margin: 34px 0 24px;
	padding: 10px 12px;
	border: 0;
	border-radius: 14px;
	text-align: center;
	transition:
		transform .18s ease;
}

.learning-prompt span {
	color: #6b7280;
	font-size: 14px;
}

.learning-prompt h2 {
	color: #111827;
	font-size: 28px;
}

.learning-game-card.is-time-ending .learning-prompt {
	border: 0;
	background: transparent;
	box-shadow: none;
	animation: none;
}

.learning-prompt__char {
	display: inline-block;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	transform-origin: center bottom;
	will-change: transform;
}

.learning-game-card.is-time-ending .learning-prompt > span {
	color: #b50200;
	animation: learningPromptLabelPulse .82s ease-in-out infinite;
}

.learning-game-card.is-time-ending .learning-prompt h2 {
	color: #111827;
	animation: learningPromptHeadingPulse 1.05s ease-in-out infinite;
}

.learning-game-card.is-time-ending .learning-prompt h2 .learning-prompt__char {
	animation: learningPromptLetterWave 1.12s ease-in-out infinite;
	animation-delay: var(--char-delay, 0ms);
}


.learning-question,
.learning-example {
	color: #536471;
	text-align: center;
}

.learning-option {
	min-height: 52px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	color: #111827;
	text-align: center;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.learning-option:hover {
	border-color: #b50200;
	background: #fff7f7;
	color: #111827;
	transform: translateY(-1px);
}

.learning-option.is-correct {
	border-color: #16803a;
	background: #16803a;
	color: #fff;
}

.learning-option.is-wrong {
	border-color: #b50200;
	background: #b50200;
	color: #fff;
}

.learning-game-card.is-slide {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
}

.learning-game-card.is-slide .learning-mode {
	background: #fff1f2;
	color: #b50200;
}

.learning-game-card.is-slide .learning-prompt > span,
.learning-game-card.is-slide .learning-prompt h2 {
	color: #111827;
}

.learning-game-card.is-word .learning-example {
	border: 1px solid #e5e7eb;
	background: #f8fafc;
	color: #536471;
}

/* Quiz card is intentionally light for maximum readability. */
.learning-game-card {
	min-height: 610px;
	padding: 22px 18px 18px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 26px 80px rgba(15, 23, 42, .16);
	color: #111827;
}

.learning-progress {
	color: #6b7280;
}

.learning-progress div {
	background: #eef2f7;
}

.learning-progress i {
	background: #b50200;
}

.learning-progress strong {
	border: 1px solid #e5e7eb;
	background: #f8fafc;
	color: #111827;
}

.learning-progress strong.is-ending {
	border: 2px solid #b50200;
	background: #b50200;
	color: #fff;
	animation: learningTimerPulse .82s ease-in-out infinite;
	box-shadow:
		0 0 0 0 rgba(181, 2, 0, .48),
		0 0 22px rgba(181, 2, 0, .35);
}

.learning-mode {
	color: #b50200;
	text-align: center;
}

.learning-prompt {
	margin: 34px 0 24px;
	padding: 10px 12px;
	border: 0;
	border-radius: 14px;
	text-align: center;
	transition:
		transform .18s ease;
}

.learning-prompt span {
	color: #6b7280;
	font-size: 14px;
}

.learning-prompt h2 {
	color: #111827;
	font-size: 28px;
}

.learning-game-card.is-time-ending .learning-prompt {
	border: 0;
	background: transparent;
	box-shadow: none;
	animation: none;
}

.learning-prompt__char {
	display: inline-block;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	transform-origin: center bottom;
	will-change: transform;
}

.learning-game-card.is-time-ending .learning-prompt > span {
	color: #b50200;
	animation: learningPromptLabelPulse .82s ease-in-out infinite;
}

.learning-game-card.is-time-ending .learning-prompt h2 {
	color: #111827;
	animation: learningPromptHeadingPulse 1.05s ease-in-out infinite;
}

.learning-game-card.is-time-ending .learning-prompt h2 .learning-prompt__char {
	animation: learningPromptLetterWave 1.12s ease-in-out infinite;
	animation-delay: var(--char-delay, 0ms);
}

.learning-question,
.learning-example {
	color: #536471;
	text-align: center;
}

.learning-option {
	min-height: 52px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	color: #111827;
	text-align: center;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.learning-option:hover {
	border-color: #b50200;
	background: #fff7f7;
	color: #111827;
	transform: translateY(-1px);
}

.learning-option.is-correct {
	border-color: #16803a;
	background: #16803a;
	color: #fff;
}

.learning-option.is-wrong {
	border-color: #b50200;
	background: #b50200;
	color: #fff;
}

.learning-game-card.is-slide {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
}

.learning-game-card.is-slide .learning-mode {
	background: #fff1f2;
	color: #b50200;
}

.learning-game-card.is-slide .learning-prompt > span,
.learning-game-card.is-slide .learning-prompt h2 {
	color: #111827;
}

.learning-game-card.is-word .learning-example {
	border: 1px solid #e5e7eb;
	background: #f8fafc;
	color: #536471;
}

.learning-hero .learning-kicker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	max-width: 100%;
	margin: 0 auto 12px;
	padding: 5px 9px 5px 11px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .86);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
}

.learning-hero .learning-kicker span {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.learning-hero .learning-kicker em {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 23px;
	padding: 0 8px;
	border-radius: 999px;
	background: #fff;
	color: #b50200;
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
	line-height: 23px;
}

.learning-hero .learning-kicker b {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.learning-back,
.learning-icon-btn {
	flex: 0 0 44px;
	width: 44px;
	min-width: 44px;
	max-width: 44px;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding: 0;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	line-height: 1;
}

.learning-back i,
.learning-icon-btn i {
	display: block;
	line-height: 1;
}

.learning-back,
.learning-icon-btn {
	flex: 0 0 44px;
	width: 44px;
	min-width: 44px;
	max-width: 44px;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding: 0;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	line-height: 1;
}

.learning-back i,
.learning-icon-btn i {
	display: block;
	line-height: 1;
}

.learning-topic-picker {
	position: relative;
	z-index: 30;
	margin: 0 0 16px;
}

.learning-topic-picker__toggle {
	display: inline-grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 1rem;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-family: Poppins, Arial, sans-serif;
	text-align: left;
	cursor: pointer;
}

.learning-topic-picker__toggle span {
	color: #FFEB3B;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0 8px;
}

.learning-topic-picker__toggle strong {
	min-width: 0;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.learning-topic-picker__toggle em {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .96);
	color: #b50200;
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	line-height: 24px;
}

.learning-topic-picker__toggle i {
	color: rgba(255, 255, 255, .68);
	font-size: 13px;
}

.learning-topic-menu {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 60;
	display: grid;
	gap: 6px;
	max-height: 260px;
	padding: 8px;
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 1rem;
	background: #111827;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.learning-topic-menu[hidden] {
	display: none;
}

.learning-topic-menu button {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 12px;
	width: 100%;
	min-height: 60px;
	padding: 10px 12px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: rgba(255, 255, 255, .82);
	font-family: Poppins, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.learning-topic-menu button > i {
	grid-column: 1;
	grid-row: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	text-align: center;
	font-size: 16px;
}

.learning-topic-menu__main {
	grid-column: 2;
	grid-row: 1;
	display: grid;
	gap: 8px;
	min-width: 0;
}

.learning-topic-menu__title {
	display: block;
	min-width: 0;
	overflow: hidden;
	color: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.learning-topic-progress {
	display: block;
	width: 100%;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .13);
	overflow: hidden;
}

.learning-topic-progress em {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	transition: width .22s ease, background .22s ease;
}

.learning-topic-progress--red em {
	background: #ef4444;
}

.learning-topic-progress--orange em {
	background: #f97316;
}

.learning-topic-progress--yellow em {
	background: #facc15;
}

.learning-topic-progress--lime em {
	background: #84cc16;
}

.learning-topic-progress--green em {
	background: #16a34a;
}

.learning-topic-menu button > small {
	grid-column: 3;
	grid-row: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: end;
	align-self: start;
	width: auto;
	min-width: 38px;
	max-width: max-content;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: rgba(255, 255, 255, .72);
	font-size: 11px;
	font-weight: 800;
	line-height: 22px;
}

.learning-topic-menu button:hover,
.learning-topic-menu button:focus {
	background: rgba(255, 255, 255, .08);
	color: #fff;
	outline: none;
}

.learning-topic-menu button.is-active {
	background: #b50200;
	color: #fff;
}

.learning-topic-menu button.is-active .learning-topic-progress {
	background: rgba(255, 255, 255, .22);
}

.learning-topic-menu button.is-active > small {
	background: rgba(255, 255, 255, .96);
	color: #b50200;
}

.learning-game-card,
.learning-summary-card {
	padding: 22px;
	border: 1px solid #eff3f4;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 22px 55px rgba(15, 23, 42, .08);
}

.learning-progress {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	margin: 0 0 24px;
	color: #6b7280;
	font-size: 12px;
	font-weight: 700;
}

.learning-progress div {
	height: 8px;
	border-radius: 999px;
	background: #f1f3f5;
	overflow: hidden;
}

.learning-progress i {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 999px;
	background: #b50200;
	transition: width .25s ease;
}

.learning-progress strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #111827;
	color: #fff;
	font-size: 14px;
}

.learning-mode {
	margin: 0 0 8px;
	color: #b50200;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.learning-prompt {
	margin: 0 0 12px;
}

.learning-prompt span {
	display: block;
	margin: 0 0 8px;
	color: #111827;
	font-size: 16px;
	font-weight: 800;
}

.learning-prompt span:empty {
	display: none;
}

.learning-prompt h2 {
	margin: 0;
	color: #111827;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.2;
}

.learning-question,
.learning-example {
	margin: 0 0 12px;
	color: #536471;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.learning-example {
	color: #7f1d1d;
}

.learning-options {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.learning-option {
	min-height: 54px;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 15px;
	background: #fff;
	color: #111827;
	font: 600 14px Poppins, Arial, sans-serif;
	text-align: left;
	cursor: pointer;
	transition: .18s ease;
}

.learning-option:hover {
	border-color: #111827;
}

.learning-option.is-correct {
	border-color: #17803d;
	background: #ecfdf3;
	color: #08652e;
}

.learning-option.is-wrong {
	border-color: #d7182a;
	background: #fff1f2;
	color: #a40000;
}

.learning-game-card.is-slide {
	border-color: #ffd7dc;
	background: linear-gradient(180deg, #fff, #fff8f8);
}

.learning-game-card.is-slide .learning-mode {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 9px;
	border-radius: 999px;
	background: #fff1f2;
	color: #b50200;
}

.learning-game-card.is-slide .learning-question {
	margin-top: 12px;
	padding: 14px;
	border-left: 3px solid #b50200;
	border-radius: 12px;
	background: #fff;
	color: #374151;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
}

.learning-game-card.is-slide .learning-question p {
	margin: 0 0 10px;
	color: #374151;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
}

.learning-game-card.is-slide .learning-question p:last-child {
	margin-bottom: 0;
}

.learning-game-card.is-slide .learning-question strong {
	color: #111827;
	font-weight: 800;
}

.learning-game-card.is-slide .learning-question .learning-slide-note {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid #f1d4d4;
	color: #7f1d1d;
	font-size: 14px;
	font-weight: 600;
}

.learning-game-card.is-slide .learning-example {
	padding: 12px 14px;
	border-radius: 12px;
	background: #111827;
	color: #fff;
	font-size: 13px;
	text-align: left;
}

.learning-game-card.is-slide .learning-example:empty {
	display: none;
}

.learning-game-card.is-slide .learning-example strong {
	display: block;
	margin: 0 0 5px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}

.learning-game-card.is-slide .learning-example span {
	display: block;
	color: rgba(255, 255, 255, .76);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.learning-slide-next {
	width: 100%;
	margin-top: 4px;
}

.learning-feedback {
	min-height: 0;
	margin-top: 0;
	color: #536471;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

.learning-summary-card {
	text-align: center;
}

.learning-summary-actions {
	display: grid;
	gap: 10px;
	width: 100%;
	margin: 18px 0 0;
}

.learning-summary-actions .learning-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	column-gap: 8px;
	width: 100%;
}

.learning-summary-actions .learning-btn--cooldown {
	border: 1px solid #b50200;
	background: #b50200;
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: .2px;
	box-shadow: none;
	cursor: not-allowed;
	opacity: 1;
}

.learning-summary-actions .learning-btn--cooldown i {
	color: inherit;
	font-size: 18px;
	margin-right: 8px;
}

.learning-summary-actions .learning-btn--lesson {
	border: 1px solid #ffeb3b;
	background: #ffeb3b;
	color: #111827;
	box-shadow: none;
}

.learning-summary-actions .learning-summary-alt,
.learning-summary-actions .learning-btn--lessons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	column-gap: 8px;
	border: 1px solid #ffeb3b;
	background: #ffeb3b;
	color: #111827;
	box-shadow: none;
}

.learning-summary-icon,
.learning-result-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.learning-summary-icon {
	width: 74px;
	height: 74px;
	margin-bottom: 14px;
	background: #fff4cc;
	color: #b45309;
	font-size: 30px;
}

.learning-asset-icon {
	box-sizing: border-box;
	display: inline-block;
	flex: 0 0 auto;
	width: 1.15em;
	height: 1.15em;
	object-fit: contain;
	vertical-align: -.15em;
}

.learning-icon-btn .learning-asset-icon {
	width: 24px;
	height: 24px;
	vertical-align: middle;
}

.learning-daily-goal .learning-asset-icon {
	width: 18px;
	height: 18px;
}

.learning-summary-icon .learning-asset-icon {
	width: 42px;
	height: 42px;
}

.learning-summary-card h2 {
	margin: 0 0 8px;
	font-size: 28px;
}

.learning-summary-card p {
	margin: 0 0 18px;
	color: #536471;
}

.learning-summary-stats,
.learning-profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.learning-summary-stats {
	margin: 0 0 18px;
}

.learning-summary-stats span,
.learning-profile-grid span {
	display: block;
	padding: 12px;
	border-radius: 14px;
	background: #f7f8fa;
	color: #536471;
	font-size: 12px;
	font-weight: 600;
}

.learning-summary-stats strong,
.learning-profile-grid strong {
	display: block;
	color: #111827;
	font-size: 24px;
}

.learning-summary-stats em {
	display: block;
	color: inherit;
	font-style: normal;
	font-weight: 600;
	line-height: 1.25;
}

.learning-summary-stats span.is-limit-reached {
	border: 1px solid #fde68a;
	background: #fffbeb;
	color: #92400e;
}

.learning-summary-stats span.is-limit-reached strong {
	color: #92400e;
}

.learning-reminder-switch {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 10px 12px;
	align-items: center;
	margin: 16px 0 6px;
	padding: 13px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	background: #fff;
	color: #111827;
}

.learning-reminder-switch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.learning-reminder-switch > span {
	position: relative;
	width: 46px;
	height: 26px;
	border-radius: 999px;
	background: #e5e7eb;
	transition: background .16s ease;
}

.learning-reminder-switch > span:after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .16);
	transition: transform .16s ease;
}

.learning-reminder-switch input:checked + span {
	background: #b50200;
}

.learning-reminder-switch input:checked + span:after {
	transform: translateX(20px);
}

.learning-reminder-switch strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
}

.learning-reminder-switch em {
	display: block;
	margin-top: 3px;
	color: #6b7280;
	font-size: 12px;
	font-style: normal;
	line-height: 1.35;
}

.learning-reminder-status {
	min-height: 18px;
	margin: 0 0 12px;
	color: #6b7280;
	font-size: 12px;
	font-weight: 500;
}

.learning-summary-progress {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid #bbf7d0;
	border-radius: 1rem;
	background: #ecfdf3;
	color: #166534;
	font-size: 12px;
	font-weight: 700;
}

.learning-summary-progress strong {
	color: #16803a;
	font-size: 18px;
	font-weight: 800;
}

.learning-modal {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: grid;
	place-items: center;
	padding: 18px;
	background: rgba(255, 255, 255, .78);
	backdrop-filter: blur(10px);
}

.learning-modal[hidden] {
	display: none;
}

.learning-modal__box {
	position: relative;
	width: min(100%, 460px);
	padding: 26px;
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
}

.learning-modal__box > button[data-learning-modal-close]:not(.learning-btn) {
	position: absolute;
	top: 25px;
	right: 15px;
	border: 0;
	background: transparent;
	color: #9ca3af;
	font-size: 28px;
	cursor: pointer;
}

.learning-modal__box h2 {
	margin: 0 0 12px;
	font-size: 24px;
}

.learning-modal__box p {
	color: #536471;
	font-size: 14px;
	line-height: 1.55;
}

.learning-how-modal {
	width: min(100%, 720px);
	padding: 0;
	overflow: hidden;
	text-align: left;
}

.learning-how-hero {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 28px 30px 24px;
	border-bottom: 1px solid #e6eef3;
	background: transparent;
}

.learning-how-hero > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	border: 1px solid #d7e6fb;
	border-radius: 22px;
	background: #fff;
}

.learning-how-hero .learning-asset-icon {
	width: 46px;
	height: 46px;
}

.learning-how-hero small,
.learning-how-hero h2,
.learning-how-hero p {
	display: block;
	margin: 0;
}

.learning-how-hero small {
	margin: 0 0 5px;
	color: #155fbd;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.learning-how-hero h2 {
	color: #111827;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.1;
}

.learning-how-hero p {
	max-width: 520px;
	margin: 8px 0 0;
	color: #536471;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
}

.learning-how-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 18px 30px 10px;
}

.learning-how-steps > div {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	column-gap: 12px;
	row-gap: 4px;
	align-items: start;
	min-height: 132px;
	padding: 14px;
	border: 1px solid #e6eef3;
	border-radius: 16px;
	background: #fff;
}

.learning-how-steps > div > span {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 16px;
	background: #eef6ff;
	color: #155fbd;
	font-size: 18px;
}

.learning-how-steps > div:nth-child(2) > span {
	background: #fff8d6;
	color: #111827;
}

.learning-how-steps > div:nth-child(3) > span {
	background: #fff3f3;
	color: #b50200;
}

.learning-how-steps > div:nth-child(4) > span {
	background: #ecfdf3;
	color: #16803a;
}

.learning-how-steps img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.learning-how-steps strong,
.learning-how-steps p {
	grid-column: 2;
	margin: 0;
}

.learning-how-steps strong {
	grid-row: 1;
	color: #111827;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.25;
}

.learning-how-steps p {
	grid-row: 2;
	margin-top: 0;
	color: #536471;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
}

.learning-how-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	padding: 8px 30px 18px;
}

.learning-how-feature-grid > div {
	display: grid;
	gap: 6px;
	justify-items: center;
	padding: 14px 10px;
	border: 1px solid #e6eef3;
	border-radius: 16px;
	background: #f8fafc;
	text-align: center;
}

.learning-how-feature-grid img {
	width: 34px;
	height: 34px;
	object-fit: contain;
}

.learning-how-feature-grid strong {
	color: #111827;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.15;
}

.learning-how-feature-grid span {
	color: #536471;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
}

.learning-how-note {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	margin: 0 30px 28px;
	padding: 14px;
	border: 1px solid #bbf7d0;
	border-radius: 16px;
	background: #ecfdf3;
}

.learning-how-note img {
	width: 34px;
	height: 34px;
	object-fit: contain;
}

.learning-how-note p {
	margin: 0;
	color: #166534;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
}

.learning-how-note strong {
	color: #14532d;
	font-weight: 900;
}

.learning-result-modal .learning-modal__box {
	text-align: center;
}

.learning-result-icon {
	width: 62px;
	height: 62px;
	margin: 0 auto 14px;
	background: #ecfdf3;
	color: #16803a;
	font-size: 26px;
}

.learning-result-icon.is-wrong {
	background: #fff1f2;
	color: #b50200;
}

.learning-result-tip {
	margin: 14px 0 18px;
	padding: 13px 14px;
	border-radius: 14px;
	background: #f7f8fa;
	color: #536471;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
}

.learning-result-tip strong {
	color: #111827;
}

.learning-result-tip__label {
	display: block;
	margin: 0 0 8px;
	color: #111827;
	font-weight: 800;
	line-height: 1.25;
	background: #fefefe;
	text-align: center;
	border: 1px solid #eee;
	border-radius: 1rem;
	padding: 5px;
}

.learning-result-tip__body {
	display: block;
}

.learning-result-tip__phrase {
	color: #673AB7 !important;
	font-weight: 800;
}

.learning-result-tip__example {
	display: block;
	margin: 5px 0 0;
}

.learning-result-tip__translation {
	display: block;
	margin-top: 3px;
	color: #333;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.learning-result-tip__remember {
	display: block;
	margin-top: 10px;
	color: #111827;
	font-weight: 800;
	line-height: 1.45;
}

.learning-result-tip__body + .learning-result-tip__label {
	margin-top: 12px;
}

.learning-auth-modal__box {
	text-align: center;
}

.learning-auth-modal__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	margin: 4px auto 18px;
	border-radius: 50%;
	background: #fff5f5;
	color: #b50200;
	font-size: 28px;
	box-shadow: inset 0 0 0 1px #fecaca;
}

.learning-auth-modal__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 16px 0 18px;
}

.learning-auth-modal__stats span {
	display: grid;
	gap: 4px;
	min-height: 64px;
	padding: 10px 8px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	background: #f8fafc;
	color: #536471;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

.learning-auth-modal__stats strong {
	color: #111827;
	font-size: 18px;
	font-weight: 800;
}

.learning-auth-modal__box .learning-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: 10px;
	text-decoration: none;
}

.learning-auth-modal__box .learning-btn[data-learning-login-link] {
	border-color: #1a7900;
	background: #1a7900;
	color: #fff;
	box-shadow: none;
	animation: learningAuthLoginPulse 1.65s ease-in-out infinite;
}

.learning-auth-modal__box .learning-btn[data-learning-login-link]:hover,
.learning-auth-modal__box .learning-btn[data-learning-login-link]:focus {
	border-color: #166800;
	background: #166800;
	color: #fff;
}

.learning-auth-modal__box .learning-btn[data-learning-login-link] i {
	font-size: 17px;
	line-height: 1;
}

@keyframes learningAuthLoginPulse {
	0%, 100% {
		border-color: #1a7900;
		background: #1a7900;
		transform: scale(1);
	}

	50% {
		border-color: #14af4d;
		background: #14af4d;
		transform: scale(1.012);
	}
}

.learning-profile-note {
	margin-bottom: 0;
}

.learning-profile-progress {
	display: grid;
	gap: 8px;
	margin: 14px 0 0;
	padding: 14px;
	border-radius: 1rem;
	background: #f7f8fa;
}

.learning-profile-progress h3 {
	margin: 0 0 4px;
	color: #111827;
	font-size: 14px;
	font-weight: 800;
}

.learning-profile-progress div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 28px;
	color: #536471;
	font-size: 12px;
	font-weight: 600;
}

.learning-profile-progress strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 24px;
	border-radius: 999px;
	background: #fff;
	color: #b50200;
	font-size: 11px;
	font-weight: 800;
	line-height: 24px;
}

.learning-achievements-modal {
	width: min(100%, 520px);
}

.learning-achievements-list {
	display: grid;
	gap: 10px;
	margin: 18px 0 16px;
}

.learning-achievement {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
}

.learning-achievement > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #9ca3af;
	font-size: 18px;
}

.learning-achievement > span .learning-asset-icon {
	width: 24px;
	height: 24px;
}

.learning-achievement strong {
	display: block;
	margin: 0 0 3px;
	color: #111827;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.learning-achievement small {
	display: block;
	color: #536471;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
}

.learning-achievement em {
	display: inline-flex;
	width: fit-content;
	margin: 8px 0 0;
	padding: 3px 8px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.2;
}

.learning-achievement.is-awarded {
	border-color: rgba(181, 2, 0, .25);
	background: #fff7f7;
}

.learning-achievement.is-awarded > span {
	background: #b50200;
	color: #fff;
	box-shadow: 0 12px 24px rgba(181, 2, 0, .18);
}

.learning-achievement.is-awarded em {
	background: #b50200;
	color: #fff;
}

.learning-certificates-preview {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 13px;
	border: 1px solid #e9d5ff;
	border-radius: 1rem;
	background: #faf5ff;
	color: #581c87;
}

.learning-certificates-preview i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #7c3aed;
	color: #fff;
	font-size: 18px;
}

.learning-certificates-preview strong,
.learning-certificates-preview span {
	display: block;
}

.learning-certificates-preview strong {
	font-size: 14px;
	font-weight: 800;
}

.learning-certificates-preview span {
	margin-top: 3px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.learning-pop {
	animation: learningPop .32s ease;
}

@keyframes learningPop {
	0% {
		transform: scale(.96);
		opacity: .3;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@media (max-width: 768px) {
	.learning-topbar {
		height: 62px;
		padding: 0 12px;
	}

	.learning-brand img {
		width: 104px;
	}

	.learning-brand span {
		display: none;
	}

	.learning-shell {
		padding: 82px 12px 22px;
	}

	.learning-hero__visual {
		width: 146px;
		height: 146px;
		border-radius: 34px;
	}

	.learning-hero h1 {
		font-size: 28px;
	}

	.learning-game-card,
	.learning-summary-card {
		padding: 18px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.learning-prompt h2 {
		font-size: 24px;
	}

	.learning-prompt span {
		font-size: 15px;
	}

	.learning-modal {
		padding: 0;
	}

	.learning-modal__box {
		width: 100%;
		min-height: 100vh;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.learning-profile-grid {
		grid-template-columns: 1fr;
	}
}

/* Visual refresh inspired by compact quiz apps, in Polonek colors. */
.learning-body {
	background:
		radial-gradient(circle at 50% -10%, rgba(181, 2, 0, .09), transparent 34rem),
		#ffffff;
}

.learning-topbar {
	height: 68px;
	border-bottom: 0;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 12px 40px rgba(15, 23, 42, .05);
}

.learning-brand {
	gap: 9px;
	color: #111827;
	font-size: 15px;
	font-weight: 800;
}

.learning-back,
.learning-icon-btn {
	border-color: #edf0f2;
	border-radius: 1rem;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.learning-points {
	min-height: 42px;
	border-radius: 1rem;
	background: #b50200;
	box-shadow: 0 14px 30px rgba(181, 2, 0, .18);
}

.learning-shell {
	align-items: center;
	padding-top: 92px;
}

.learning-home,
.learning-game,
.learning-summary {
	width: min(100%, 430px);
}

.learning-hero {
	position: relative;
	overflow: hidden;
	min-height: 620px;
	padding: 46px 28px 28px;
	border: 0;
	border-radius: 1rem;
	background: transparent;
	box-shadow: none;
	color: #fff;
}

.learning-hero__visual {
	position: relative;
	width: 190px;
	height: 190px;
	margin: 22px auto 28px;
	border-radius: 1rem;
	background:
		radial-gradient(circle at 52% 44%, rgba(255, 255, 255, .18), transparent 4rem),
		linear-gradient(145deg, #d7182a, #7b0100);
	box-shadow: 0 22px 50px rgba(181, 2, 0, .34);
}

.learning-hero__visual::before {
	content: "";
	position: absolute;
	inset: 26px -26px 16px;
	z-index: 0;
	border-radius: 46% 54% 44% 56%;
	background: rgba(255, 255, 255, .12);
	transform: rotate(-8deg);
}

.learning-hero__visual span {
	position: relative;
	z-index: 1;
	width: 96px;
	height: 96px;
	background: rgba(0, 0, 0, .22);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.learning-kicker {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.learning-hero h1 {
	color: #fff;
	font-size: 42px;
	letter-spacing: 0;
}

.learning-hero p {
	color: rgba(255, 255, 255, .76);
	font-size: 14px;
	font-weight: 500;
}

.learning-home-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 20px;
}

.learning-home-stats span {
	display: grid;
	place-items: center;
	min-height: 86px;
	padding: 10px 8px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 1rem;
	background: rgba(255, 255, 255, .94);
	color: #536471;
	box-shadow: 0 16px 34px rgba(0, 0, 0, .1);
}

.learning-home-stats i {
	color: #b50200;
	font-size: 17px;
}

.learning-home-stats b {
	color: #111827;
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
}

.learning-home-stats small {
	font-size: 10px;
	font-weight: 700;
	line-height: 1.15;
}

.learning-btn {
	border-radius: 1rem;
}

.learning-btn--primary {
	background: #b50200;
	box-shadow: none;
}

.learning-btn--light {
	border-color: rgba(255, 255, 255, .16);
	background: #fff;
	color: #111827;
}

.learning-home-actions .learning-btn--word-sprint {
	border-color: #ffc107;
	background: #ffc107;
	color: #111827;
}

.learning-home-actions .learning-btn--lessons {
	border-color: #ffeb3b;
	background: #ffeb3b;
	color: #111827;
}

.learning-link-btn {
	color: #ffffff;
}

.learning-summary .learning-link-btn,
.learning-modal .learning-link-btn {
	color: #b50200;
}

.learning-daily-goal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border-color: rgba(255, 255, 255, .12);
	border-radius: 1rem;
	background: rgba(255, 255, 255, .1);
	color: rgba(255, 255, 255, .74);
}

.learning-daily-goal i {
	color: #ffd166;
	font-size: 15px;
}

.learning-daily-goal span {
	color: rgba(255, 255, 255, .76);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
}

.learning-daily-goal strong {
	color: #fff;
	font-weight: 800;
}

.learning-review-summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: fit-content;
	margin: 0 auto 8px;
	padding: 7px 11px;
	border: 1px solid rgba(253, 230, 138, .32);
	border-radius: 999px;
	background: rgba(255, 251, 235, .12);
	color: rgba(255, 255, 255, .78);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

.learning-review-summary[hidden] {
	display: none;
}

.learning-review-summary i {
	color: #ffd166;
	font-size: 12px;
}

.learning-review-summary strong {
	color: #fff;
	font-weight: 800;
}

.learning-powered {
	margin: 28px 0 0;
	color: rgba(255, 255, 255, .5);
	font-size: 10px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
}

.learning-powered strong {
	color: rgba(255, 255, 255, .84);
	font-weight: 700;
}

.learning-hero .learning-powered {
	font-size: 10px;
}

.learning-topic-strip {
	padding: 14px 0 0;
}

.learning-topic-strip button {
	border-radius: 1rem;
}

.learning-topic-strip button.is-active {
	background: #111827;
	border-color: #111827;
}

.learning-game-card {
	min-height: 500px;
	padding: 22px 18px 18px;
	border: 0;
	border-radius: 1rem;
	background:
		radial-gradient(circle at 6% 96%, rgba(181, 2, 0, .22), transparent 10rem),
		linear-gradient(160deg, #0b0d14 0%, #1a0506 56%, #0b0d14 100%);
	box-shadow: 0 26px 80px rgba(15, 23, 42, .18);
	color: #fff;
}

.learning-progress {
	color: rgba(255, 255, 255, .62);
}

.learning-progress div {
	background: rgba(255, 255, 255, .12);
}

.learning-progress i {
	background: #d7182a;
}

.learning-progress strong {
	background: rgba(255, 255, 255, .96);
	color: #111827;
}

.learning-progress strong.is-ending {
	border: 2px solid rgba(255, 255, 255, .92);
	background: #b50200;
	color: #fff;
	animation: learningTimerPulse .82s ease-in-out infinite;
	box-shadow:
		0 0 0 0 rgba(181, 2, 0, .58),
		0 0 22px rgba(181, 2, 0, .42);
}

.learning-progress [data-learning-timer].is-ending {
	border-color: #b50200 !important;
	background: #b50200 !important;
	color: #fff !important;
}

	@keyframes learningTimerPulse {
		0% {
			transform: scale(1);
			box-shadow:
			0 0 0 0 rgba(181, 2, 0, .58),
			0 0 18px rgba(181, 2, 0, .34);
	}

	70% {
		transform: scale(1.08);
		box-shadow:
			0 0 0 12px rgba(181, 2, 0, 0),
			0 0 28px rgba(181, 2, 0, .5);
	}

	100% {
		transform: scale(1);
		box-shadow:
			0 0 0 0 rgba(181, 2, 0, 0),
				0 0 18px rgba(181, 2, 0, .34);
		}
	}

		@keyframes learningPromptLabelPulse {
			0%,
			100% {
				opacity: .78;
				text-shadow: none;
			}

			50% {
				opacity: 1;
				text-shadow: 0 0 12px rgba(181, 2, 0, .22);
			}
		}

		@keyframes learningPromptHeadingPulse {
			0%,
			100% {
				transform: scale(1);
			}

			50% {
				transform: scale(1.01);
			}
		}

		@keyframes learningPromptLetterWave {
			0%,
			100% {
				transform: translateY(0) scale(1);
			}

			34% {
				transform: translateY(-1px) scale(1.055);
			}

			64% {
				transform: translateY(0) scale(1);
			}
		}

.learning-mode {
	color: rgba(255, 255, 255, .58);
	text-align: center;
}

.learning-prompt {
	margin: 34px 0 24px;
	text-align: center;
}

.learning-prompt span,
.learning-prompt h2 {
	color: #fff;
}

.learning-prompt span {
	font-size: 14px;
	color: rgba(255, 255, 255, .62);
}

.learning-prompt h2 {
	font-size: 28px;
}

.learning-question,
.learning-example {
	color: rgba(255, 255, 255, .72);
	text-align: center;
}

.learning-options {
	margin-top: 28px;
}

.learning-option {
	min-height: 52px;
	border: 0;
	border-radius: 1rem;
	background: #fff;
	color: #111827;
	text-align: center;
	box-shadow: 0 14px 28px rgba(0, 0, 0, .15);
}

.learning-option:hover {
	border: 0;
	transform: translateY(-1px);
}

.learning-option.is-correct,
.learning-option.is-wrong {
	color: #fff;
}

.learning-option.is-correct {
	background: #16803a;
}

.learning-option.is-wrong {
	background: #b50200;
}

.learning-game-card.is-slide {
	border: 0;
	background:
		radial-gradient(circle at 100% 0%, rgba(181, 2, 0, .11), transparent 10rem),
		#fff;
	color: #111827;
}

.learning-game-card.is-slide .learning-mode {
	background: #fff1f2;
	color: #b50200;
}

.learning-game-card.is-slide .learning-prompt > span,
.learning-game-card.is-slide .learning-prompt h2 {
	color: #111827;
}

.learning-game-card.is-slide .learning-question {
	border-radius: 1rem;
}

.learning-game-card.is-slide .learning-example {
	border-radius: 1rem;
}

.learning-game-card.is-word .learning-mode,
.learning-game-card.is-question .learning-mode {
	display: none;
}

.learning-game-card.is-word .learning-example {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: calc(100% - 24px);
	margin: 0 auto 4px;
	padding: 9px 12px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 1rem;
	background: rgba(255, 255, 255, .09);
	color: rgba(255, 255, 255, .76);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}

.learning-summary-card,
.learning-modal__box {
	border-radius: 1rem;
}

.learning-result-modal .learning-btn {
	min-width: 176px;
	min-height: 48px;
	margin-bottom: 4px;
}

.learning-result-report-link {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	margin: 10px 0 0;
	padding: 3px 4px;
	border: 0;
	background: transparent;
	color: #505050;
	font-family: Poppins, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.learning-result-report-link:hover,
.learning-result-report-link:focus {
	color: #b50200;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.learning-result-report-link.is-submitted,
.learning-result-report-link.is-submitted:hover,
.learning-result-report-link.is-submitted:focus {
	color: #16803a;
	font-weight: 700;
	text-decoration: none;
	cursor: default;
}

.learning-result-report-link i {
	font-size: 11px;
	line-height: 1;
}

.learning-report-modal {
	background: rgba(15, 23, 42, .58);
}

.learning-report-modal__box {
	width: min(520px, calc(100vw - 28px));
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
	text-align: left;
}

.learning-report-modal__head {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	margin: 0 0 16px;
	padding: 0 34px 14px 0;
	border-bottom: 1px solid #eef2f7;
}

.learning-report-modal__head > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: #fff1f1;
	color: #b50200;
	font-size: 24px;
}

.learning-report-modal__head h2 {
	margin: 0 0 5px;
	color: #111827;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
}

.learning-report-modal__head p {
	margin: 0;
	color: #536471;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

.learning-report-form {
	display: grid;
	gap: 12px;
}

.learning-report-form label,
.learning-report-form label > span {
	display: grid;
	gap: 7px;
	color: #111827;
	font-size: 13px;
	font-weight: 700;
}

.learning-report-form textarea {
	width: 100%;
	min-height: 138px;
	padding: 12px 14px;
	border: 1px solid #dbe5ef;
	border-radius: 14px;
	background: #f8fafc;
	color: #111827;
	font: 500 14px/1.5 Poppins, Arial, sans-serif;
	resize: vertical;
	outline: none;
}

.learning-report-form textarea:focus {
	border-color: #155fbd;
	background: #fff;
}

.learning-report-form p {
	margin: 0;
	padding: 10px 12px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.learning-report-form p.is-success {
	background: #ecfdf3;
	color: #16803a;
}

.learning-report-form p.is-error {
	background: #fff1f1;
	color: #b50200;
}

.learning-report-form__actions {
	display: flex;
	justify-content: center;
}

.learning-report-form__actions .learning-btn {
	width: 100%;
	min-height: 52px;
}

.learning-report-form__actions .btn-dark {
	border-color: #111827;
	background: #111827;
	color: #fff;
	box-shadow: none;
}

.learning-report-form__actions .btn-dark:hover,
.learning-report-form__actions .btn-dark:focus {
	border-color: #000;
	background: #000;
	color: #fff;
}

.learning-result-modal {
	background: rgba(15, 23, 42, .54);
}

.learning-result-modal .learning-modal__box {
	border: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 30px 90px rgba(15, 23, 42, .24);
	color: #111827;
	max-height: min(820px, calc(100vh - 36px));
	overflow: hidden auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.learning-result-modal .learning-modal__box::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.learning-result-modal .learning-modal__box h2 {
	color: #111827;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.learning-result-modal .learning-modal__box p {
	color: #536471;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
}

.learning-result-modal .learning-result-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 20px auto 20px;
	border-radius: 50%;
	background: #00a907;
	color: #ffffff;
	font-size: 36px;
	box-shadow: none;
}

.learning-result-modal .learning-result-icon.is-wrong {
	background: #b50200;
	color: #ffffff;
	box-shadow: none;
}

.learning-result-modal .learning-result-tip {
	border: 1px solid #e5e7eb;
	background: #f8fafc;
	color: #374151;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.55;
}

.learning-result-modal .learning-result-tip strong {
	color: #111827;
	font-weight: 800;
}

.learning-result-modal .learning-result-tip__phrase {
	color: #673AB7 !important;
}

.learning-result-modal .learning-result-tip__translation {
	color: #333;
	font-weight: 400;
}

	.learning-result-modal .learning-btn {
		min-width: 176px;
		min-height: 60px;
		font-size: 20px;
		text-transform: uppercase;
	font-style: italic;
		letter-spacing: 0.8px;
	}

.learning-summary-stats span,
.learning-profile-grid span,
.learning-result-tip {
	border-radius: 1rem;
}

@media (max-width: 768px) {
	.learning-modal[data-learning-modal="report"] {
		align-items: stretch;
		justify-content: stretch;
		padding: 0;
		background: #fff;
	}

	.learning-modal[data-learning-modal="report"] .learning-report-modal__box {
		width: 100%;
		max-width: none;
		min-height: 100vh;
		min-height: 100dvh;
		margin: 0;
		border: 0;
		border-radius: 0;
		background: #fff;
		box-shadow: none;
	}

	.learning-topbar {
		height: 64px;
	}

	.learning-shell {
		padding: 78px 12px 18px;
	}

	.learning-report-modal__box {
		width: calc(100vw - 24px);
		padding: 22px;
	}

	.learning-report-modal__head {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 12px;
	}

	.learning-report-modal__head > span {
		width: 48px;
		height: 48px;
		border-radius: 15px;
		font-size: 21px;
	}

	.learning-report-modal__head h2 {
		font-size: 21px;
	}

	.learning-hero {
		min-height: calc(100vh - 96px);
		padding: 34px 18px 20px;
	}

	.learning-hero h1 {
		font-size: 34px;
	}

	.learning-hero__visual {
		width: 162px;
		height: 162px;
	}

	.learning-home-stats {
		gap: 8px;
	}

	.learning-home-stats span {
		min-height: 76px;
	}

	.learning-game-card {
		min-height: calc(100vh - 102px);
		border-radius: 1rem;
		box-shadow: none;
	}

	.learning-summary-card {
		border-radius: 1rem;
	}
}

/* Full learning app shell in the same Polonek quiz palette. */
.learning-body,
.learning-app {
	background:
		radial-gradient(circle at 50% -10%, rgba(181, 2, 0, .36), transparent 26rem),
		radial-gradient(circle at 10% 90%, rgba(181, 2, 0, .18), transparent 22rem),
		linear-gradient(160deg, #0b0d14 0%, #1a0506 58%, #0b0d14 100%);
}

.learning-topbar {
	background:
		radial-gradient(circle at 50% -60%, rgba(181, 2, 0, .34), transparent 14rem),
		rgba(11, 13, 20, .88);
	box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
	backdrop-filter: blur(14px);
}

.learning-brand {
	color: #fff;
}

.learning-back,
.learning-icon-btn {
	border-color: rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .96);
	color: #111827;
}

.learning-topic-strip {
	width: min(100%, 430px);
	margin: 14px auto 0;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 1rem;
	background: rgba(255, 255, 255, .06);
	box-shadow: 0 24px 70px rgba(0, 0, 0, .2);
}

.learning-topic-strip button {
	border-color: rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .94);
	color: #111827;
}

.learning-topic-strip button:hover,
.learning-topic-strip button:focus {
	border-color: rgba(255, 255, 255, .28);
	background: #fff;
	color: #b50200;
	outline: none;
}

.learning-topic-strip button.is-active {
	border-color: #b50200;
	background: #b50200;
	color: #fff;
}

.learning-back,
.learning-icon-btn {
	flex: 0 0 44px;
	width: 44px;
	min-width: 44px;
	max-width: 44px;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding: 0;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	line-height: 1;
}

.learning-back i,
.learning-icon-btn i {
	display: block;
	line-height: 1;
}

/* Final light quiz-card override: keep the game content readable on white. */
.learning-game-card {
	min-height: 500px;
	padding: 22px 18px 18px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 26px 80px rgba(15, 23, 42, .16);
	color: #111827;
}

.learning-progress {
	color: #6b7280;
}

.learning-progress div {
	background: #eef2f7;
}

.learning-progress i {
	background: #b50200;
}

.learning-progress strong {
	border: 1px solid #e5e7eb;
	background: #f8fafc;
	color: #111827;
}

.learning-progress strong.is-ending {
	border: 2px solid #b50200;
	background: #b50200;
	color: #fff;
	animation: learningTimerPulse .82s ease-in-out infinite;
	box-shadow:
		0 0 0 0 rgba(181, 2, 0, .48),
		0 0 22px rgba(181, 2, 0, .35);
}

.learning-mode {
	color: #b50200;
	text-align: center;
}

.learning-prompt {
	margin: 34px 0 24px;
	padding: 10px 12px;
	border: 0;
	border-radius: 14px;
	text-align: center;
	transition:
		transform .18s ease;
}

.learning-prompt span {
	color: #6b7280;
	font-size: 14px;
}

.learning-prompt h2 {
	color: #111827;
	font-size: 28px;
}

.learning-game-card.is-time-ending .learning-prompt {
	border: 0;
	background: transparent;
	box-shadow: none;
	animation: none;
}

.learning-prompt__char {
	display: inline-block;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	transform-origin: center bottom;
	will-change: transform;
}

.learning-game-card.is-time-ending .learning-prompt > span {
	color: #b50200;
	animation: learningPromptLabelPulse .82s ease-in-out infinite;
}

.learning-game-card.is-time-ending .learning-prompt h2 {
	color: #111827;
	animation: learningPromptHeadingPulse 1.05s ease-in-out infinite;
}

.learning-game-card.is-time-ending .learning-prompt h2 .learning-prompt__char {
	animation: learningPromptLetterWave 1.12s ease-in-out infinite;
	animation-delay: var(--char-delay, 0ms);
}

.learning-question,
.learning-example {
	color: #536471;
	text-align: center;
}

.learning-option {
	min-height: 52px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	color: #111827;
	text-align: center;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.learning-option:hover {
	border-color: #b50200;
	background: #fff7f7;
	color: #111827;
	transform: translateY(-1px);
}

.learning-option.is-correct {
	border-color: #16803a;
	background: #16803a;
	color: #fff;
}

.learning-option.is-wrong {
	border-color: #b50200;
	background: #b50200;
	color: #fff;
}

.learning-game-card.is-slide {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #111827;
}

.learning-game-card.is-slide .learning-mode {
	background: #fff1f2;
	color: #b50200;
}

.learning-game-card.is-slide .learning-prompt > span,
.learning-game-card.is-slide .learning-prompt h2 {
	color: #111827;
}

.learning-game-card.is-word .learning-example {
	border: 1px solid #e5e7eb;
	background: #f8fafc;
	color: #536471;
}

.learning-points {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	background: #b50200;
	color: #fff;
	font-size: 24px;
	font-weight: 600;
}

.learning-result-icon {
	width: 80px;
	height: 80px;
	margin: 20px auto 20px;
	background: #ecfdf3;
	color: #16803a;
	font-size: 36px;
}

.learning-result-modal .learning-result-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 20px auto 20px;
	border-radius: 50%;
	background: #00a907;
	color: #ffffff;
	font-size: 36px;
	box-shadow: none;
}

.learning-btn--primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.learning-btn--primary .learning-btn__arrow,
.learning-btn--lessons .learning-btn__arrow,
.learning-summary-alt .learning-btn__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 8px;
	font-size: .95em;
	line-height: 1;
	animation: learningArrowNudge .95s ease-in-out infinite;
}

.learning-summary-actions .learning-btn--lessons .learning-btn__arrow,
.learning-summary-actions .learning-summary-alt .learning-btn__arrow {
	animation: learningArrowNudge .9s ease-in-out infinite;
}

@keyframes learningArrowNudge {
	0%, 100% {
		transform: translateX(0);
	}

	50% {
		transform: translateX(6px);
	}
}

.learning-hero .learning-kicker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0 auto 12px;
	padding: 5px 11px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .86);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
}

.learning-hero .learning-kicker span {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.learning-hero .learning-kicker strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 23px;
	padding: 0 8px;
	border-radius: 999px;
	background: #fff;
	color: #b50200;
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	line-height: 23px;
}

.learning-hero__visual {
	position: relative;
	width: auto;
	height: auto;
	margin: 0 auto 28px;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.learning-hero__visual::before {
	display: none;
}

@media (max-width: 768px) {
	.learning-hero {
		min-height: calc(100vh - 96px);
		padding: 5px 18px 20px;
	}
}

.learning-summary-extra {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 10px;
}

.learning-summary-extra span {
	display: block;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	color: #536471;
	font-size: 12px;
	font-weight: 600;
	text-align: left;
}

.learning-summary-extra small {
	display: block;
	margin: 0 0 5px;
	color: #6b7280;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

.learning-summary-extra strong {
	display: block;
	color: #111827;
	font-size: 21px;
	font-weight: 800;
	line-height: 1;
}

.learning-summary-extra b {
	font: inherit;
	color: inherit;
}

.learning-summary-daily-goal,
.learning-summary-extra span:first-child,
.learning-summary-daily-goal small,
.learning-summary-extra span:first-child small,
.learning-summary-daily-goal strong {
	text-align: center;
}

.learning-summary-extra span:first-child {
	justify-items: center;
}

.learning-summary-daily-goal {
	justify-items: center;
}

.learning-summary-extra strong.is-over-goal {
	color: #16803a;
	font-weight: 900;
}

.learning-summary-daily-bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	margin: 2px 0 14px;
	padding: 3px;
	border: 1px solid #c7efd4;
	border-radius: 12px;
	background: #f0fdf4;
	overflow: hidden;
	box-shadow: inset 0 1px 2px rgba(22, 128, 58, .08);
}

.learning-summary-daily-bar span {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 9px;
	background: rgba(22, 128, 58, .14);
	overflow: hidden;
}

.learning-summary-daily-bar i {
	display: block;
	width: 0;
	min-width: 12px;
	height: 100%;
	border-radius: inherit;
	background:
		linear-gradient(45deg, rgba(255, 255, 255, .28) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, .28) 75%, transparent 75%, transparent),
		linear-gradient(90deg, #16a34a, #22c55e);
	background-size: 18px 18px, 100% 100%;
	box-shadow: 0 0 0 1px rgba(22, 128, 58, .12);
	transition: width .28s ease;
	animation: learningProgressStripe 1s linear infinite;
}

@keyframes learningProgressStripe {
	from {
		background-position: 0 0, 0 0;
	}
	to {
		background-position: 18px 0, 0 0;
	}
}

.learning-summary-note {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	min-height: 34px;
	margin: 0 0 16px !important;
	padding: 8px 10px;
	border-radius: 1rem;
	background: #fff7f7;
	color: #7f1d1d !important;
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.3 !important;
	text-align: center;
}

.learning-summary-note:empty {
	display: none;
}

.learning-summary-note i {
	color: #b50200;
}

.learning-summary-note.is-success {
	border: 1px solid #bbf7d0;
	background: #ecfdf3;
	color: #166534 !important;
}

.learning-summary-note.is-success i {
	color: #16803a;
}

.learning-summary-note.is-streak {
	border: 1px solid #fde68a;
	background: #fffbeb;
	color: #92400e !important;
}

.learning-summary-note.is-streak i {
	color: #d97706;
}

.learning-summary-lesson {
	margin: 0 0 16px;
	padding: 14px;
	border: 1px solid #edf0f2;
	border-radius: 1rem;
	background: #ffffff;
	color: #111827;
	text-align: left;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.learning-summary-lesson[hidden] {
	display: none;
}

.learning-summary-lesson__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 9px;
}

.learning-summary-lesson__meta span {
	display: inline-flex;
	align-items: center;
	min-height: 21px;
	padding: 0 8px;
	border-radius: 4px;
	background: #f1f3f5;
	color: #536471;
	font-size: 11px;
	font-weight: 600;
	line-height: 21px;
}

.learning-summary-lesson__meta span:first-child {
	background: #b50200;
	color: #fff;
}

.learning-summary-lesson h3 {
	margin: 0 0 8px;
	color: #111827;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.22;
}

.learning-summary-lesson p {
	margin: 0 0 10px !important;
	color: #374151 !important;
	font-size: 13px !important;
	font-weight: 500;
	line-height: 1.6 !important;
}

.learning-summary-lesson__body > span {
	display: block;
	margin: 0 0 10px;
	color: #374151;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
}

.learning-summary-lesson__body > span:last-child {
	margin-bottom: 0;
}

.learning-summary-lesson p strong,
.learning-summary-lesson__body strong {
	color: #111827;
	font-weight: 800;
}

.learning-summary-lesson__example {
	padding: 10px 12px;
	border-radius: 12px;
	background: #f8fafc;
	color: #536471 !important;
}

.learning-summary-lesson__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.learning-summary-lesson__actions button {
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	color: #111827;
	font: 700 12px Poppins, Arial, sans-serif;
	cursor: pointer;
}

.learning-summary-lesson__actions .learning-summary-lesson__quiz {
	border-color: #111827;
	background: #111827;
	color: #fff;
}

.learning-new-achievement {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	margin: 0 0 16px;
	padding: 12px;
	border: 1px solid rgba(22, 163, 74, .24);
	border-radius: 1rem;
	background: #f0fdf4;
	color: #111827;
	text-align: left;
}

.learning-new-achievement[hidden] {
	display: none;
}

.learning-new-achievement > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #16a34a;
	color: #fff;
	font-size: 19px;
	box-shadow: 0 12px 24px rgba(22, 163, 74, .2);
}

.learning-new-achievement > span .learning-asset-icon {
	width: 26px;
	height: 26px;
}

.learning-new-achievement > div {
	min-width: 0;
}

.learning-new-achievement small,
.learning-new-achievement strong,
.learning-new-achievement em {
	display: block;
}

.learning-new-achievement small {
	margin: 0 0 2px;
	color: #15803d;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.learning-new-achievement strong {
	color: #111827;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	overflow-wrap: break-word;
}

.learning-new-achievement em {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-top: 5px;
	padding: 3px 8px;
	border: 1px solid rgba(22, 163, 74, .18);
	border-radius: 999px;
	background: rgba(22, 163, 74, .12);
	color: #166534;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
}

.learning-review-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: fit-content;
	margin: 0 auto 10px;
	padding: 6px 11px;
	border: 1px solid rgba(181, 2, 0, .16);
	border-radius: 999px;
	background: #fff;
	color: #111827;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

.learning-review-badge[hidden] {
	display: none;
}

.learning-review-badge i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #b50200;
	color: #fff;
	font-size: 9px;
	line-height: 1;
}

.learning-lessons {
	display: none;
	width: min(100%, 760px);
}

.learning-lessons.is-active {
	display: block;
}

.learning-lessons-card {
	padding: 22px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 26px 80px rgba(15, 23, 42, .12);
}

.learning-lessons-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.learning-lessons-card.is-type-selected .learning-lessons-head,
.learning-lessons-card.is-type-selected .learning-lesson-types {
	display: none;
}

.learning-lessons-back {
	display: none;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111827;
	font-family: Poppins, Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
}

.learning-lessons-back i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #f1f3f5;
	color: #b50200;
	font-size: 13px;
}

.learning-lessons-card.is-type-selected .learning-lessons-back {
	display: inline-flex;
}

.learning-lessons-head h2 {
	margin: 0 0 8px;
	color: #111827;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
}

.learning-lessons-head p:not(.learning-kicker) {
	max-width: 560px;
	margin: 0;
	color: #536471;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
}

.learning-lesson-types {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 16px;
}

.learning-lesson-types button {
	position: relative;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	min-height: 96px;
	padding: 14px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	color: #111827;
	text-align: left;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
	cursor: pointer;
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.learning-lesson-types button:hover,
.learning-lesson-types button:focus,
.learning-lesson-types button.is-active {
	border-color: #b50200;
	background: #fff7f7;
	box-shadow: 0 14px 34px rgba(181, 2, 0, .12);
	transform: translateY(-1px);
	outline: none;
}

.learning-lesson-types button.is-complete {
	border-color: #bbf7d0;
	background: #fbfffd;
}

.learning-lesson-types button > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 1rem;
	background: #111827;
	color: #fff;
	font-size: 20px;
}

.learning-lesson-types button.is-active > span {
	background: #b50200;
}

.learning-lesson-types strong,
.learning-lesson-types em {
	display: block;
}

.learning-lesson-types strong {
	margin: 0 0 4px;
	color: #111827;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.15;
}

.learning-lesson-types em {
	color: #536471;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.35;
}

.learning-lesson-types small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 28px;
	border-radius: 999px;
	background: #f1f3f5;
	color: #111827;
	font-size: 12px;
	font-weight: 800;
	line-height: 28px;
}

.learning-lessons-list {
	display: grid;
	gap: 12px;
}

.learning-roadmap-head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
	padding: 18px 14px 22px;
	border-radius: 1rem;
	background: #f8fafc;
	color: #536471;
	overflow: hidden;
}

.learning-roadmap-head span,
.learning-roadmap-head strong,
.learning-roadmap-head em {
	display: block;
}

.learning-roadmap-head span {
	margin: 0 0 3px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.learning-roadmap-head strong {
	color: #111827;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.15;
}

.learning-roadmap-head em {
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	white-space: nowrap;
}

.learning-roadmap-head > i {
	position: absolute;
	right: 14px;
	bottom: 8px;
	left: 14px;
	display: block;
	height: 6px;
	border-radius: 999px;
	background: #e5e7eb;
	overflow: hidden;
}

.learning-roadmap-head > i b {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: #b50200;
	transition: width .22s ease;
}

.learning-roadmap {
	position: relative;
	display: grid;
	gap: 0;
}

.learning-roadmap-level {
	display: grid;
	gap: 0;
}

.learning-roadmap-level + .learning-roadmap-level {
	margin-top: 14px;
}

.learning-roadmap-level > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 10px 52px;
	padding: 9px 12px;
	border: 1px solid #e6eef3;
	border-radius: 12px;
	background: #fff7f7;
	color: #7f1d1d;
}

.learning-roadmap-level > header strong {
	color: #155fbc;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
}

.learning-roadmap-level > header span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 10px;
	border: 1px solid #d7e6fb;
	border-radius: 999px;
	background: #fff;
	color: #000000;
	font-size: 11px;
	font-weight: 600;
	line-height: 26px;
	white-space: nowrap;
}

.learning-roadmap-level > header span b {
	margin: 0 3px;
	color: #b50200;
	font-size: 12px;
	font-weight: 800;
}

.learning-roadmap-item {
	position: relative;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 10px;
	padding: 0 0 14px;
}

.learning-roadmap-item:before {
	content: "";
	position: absolute;
	top: 36px;
	bottom: 0;
	left: 20px;
	width: 2px;
	background: #e5e7eb;
}

.learning-roadmap-item:last-child:before {
	display: none;
}

.learning-roadmap-item__marker {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	padding-top: 4px;
}

.learning-roadmap-item__marker span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	background: #fff;
	color: #536471;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.learning-roadmap-item.is-completed .learning-roadmap-item__marker span {
	border-color: #16803a;
	background: #16803a;
	color: #fff;
	box-shadow: 0 0 0 4px rgba(22, 128, 58, .12);
}

.learning-roadmap-item.is-completed .learning-roadmap-item__marker i {
	color: #fff;
	font-size: 13px;
	line-height: 1;
}

.learning-roadmap-item.is-completed:before {
	background: #bbf7d0;
}

.learning-roadmap-item.is-current:not(.is-completed) .learning-roadmap-item__marker span {
	border-color: #e5e7eb;
	color: #000000;
	box-shadow: none;
}

.learning-roadmap-item.is-locked .learning-roadmap-item__marker span {
	border-color: #d1d5db;
	background: #f3f4f6;
	color: #9ca3af;
}

.learning-roadmap-item.is-locked .learning-roadmap-item__marker i {
	font-size: 12px;
	line-height: 1;
}

.learning-roadmap-item .learning-lesson-card {
	position: relative;
	overflow: hidden;
	padding: 0;
	border: 1px solid #edf0f2;
	border-radius: 1rem;
	background: #fff;
	color: #111827;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.learning-roadmap-item.is-completed .learning-lesson-card {
	border-color: #17803a;
	border-width: 2px;
	background: #fbfffd;
}

.learning-roadmap-item.is-current:not(.is-completed) .learning-lesson-card {
	border-color: rgb(229 231 235);
}

.learning-roadmap-item.is-locked .learning-lesson-card {
	border-color: #e5e7eb;
	background: #f8fafc;
	box-shadow: none;
}

.learning-roadmap-item.is-locked .learning-lesson-card:before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(255, 255, 255, .58);
	pointer-events: none;
}

.learning-lesson-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0 0 10px;
}

.learning-lesson-card__meta span {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 0 8px;
	border-radius: 4px;
	background: #f1f3f5;
	color: #4b5563;
	font-size: 11px;
	font-weight: 600;
	line-height: 22px;
}

.learning-lesson-card__meta span.is-success {
	background: #16803a;
	color: #fff;
}

.learning-lesson-card__meta span.is-locked {
	background: #eef2f7;
	color: #6b7280;
}

.learning-lesson-card__summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 28px;
	gap: 12px;
	align-items: center;
	width: 100%;
	padding: 14px 16px;
	border: 0;
	background: transparent;
	color: inherit;
	font-family: Poppins, Arial, sans-serif;
	text-align: left;
	cursor: pointer;
}

.learning-roadmap-item.is-locked .learning-lesson-card__summary {
	opacity: .58;
	cursor: not-allowed;
}

.learning-lesson-card__summary > span {
	min-width: 0;
}

.learning-lesson-card__summary > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f1f3f5;
	color: #536471;
	font-size: 12px;
	transition: transform .16s ease, background .16s ease, color .16s ease;
}

.learning-lesson-card__summary:hover > i,
.learning-lesson-card__summary:focus > i {
	background: #111827;
	color: #fff;
}

.learning-lesson-card__summary strong {
	display: block;
	margin: 0;
	color: #111827;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.learning-lesson-card__details {
	padding: 0 16px 16px;
}

.learning-lesson-card__details[hidden] {
	display: none;
}

.learning-lesson-modal .learning-modal__box {
	width: min(100%, 620px);
	max-height: min(820px, calc(100vh - 36px));
	overflow: hidden auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.learning-lesson-modal .learning-modal__box::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.learning-modal__box > .learning-lesson-modal__back:not(.learning-btn) {
	position: static;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #111827;
	font-family: Poppins, Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
}

.learning-lesson-modal__back i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #f1f3f5;
	color: #b50200;
	font-size: 13px;
}

.learning-lesson-modal__box h2 {
	margin: 0 0 14px;
	color: #111827;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.learning-lesson-modal__meta {
	margin: 0 0 14px;
	padding-top: 14px;
	border-top: 1px solid #eff3f4;
}

.learning-lesson-modal__body {
	margin-bottom: 14px;
}

.learning-lesson-modal__example {
	margin-bottom: 14px;
}

.learning-lesson-modal__vocab {
	margin-bottom: 18px;
}

.learning-lesson-modal__actions {
	display: grid;
	gap: 10px;
	width: 100%;
}

.learning-lesson-modal__actions .learning-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
}

.learning-lesson-modal__error {
	margin: 12px 0;
	padding: 12px 14px;
	border: 1px solid #fecaca;
	border-radius: 1rem;
	background: #fff7f7;
	color: #b50200;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
}

.learning-lesson-modal__guest-note {
	display: grid;
	gap: 10px;
	justify-items: center;
	margin-top: 12px;
	margin-bottom: 2rem;
	padding: 14px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #f8fafc;
	color: #536471;
	text-align: center;
}

.learning-lesson-modal__guest-note-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: #efefef;
	color: #000000;
	font-size: 32px;
}

.learning-lesson-modal__guest-note p {
	display: grid;
	gap: 4px;
	margin: 0;
	color: #536471;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
}

.learning-lesson-modal__guest-note p strong {
	color: #111827;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 1rem;
}

.learning-lesson-modal__guest-note p span {
	display: block;
	color: #536471;
	font-size: 15px;
	margin: 1rem;
}

.learning-lesson-modal__guest-note .learning-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 44px;
}

.learning-lesson-modal__guest-note .learning-btn[data-learning-login-open] {
	border-color: #1a7900;
	background: #1a7900;
	color: #fff;
	box-shadow: none;
	animation: learningAuthLoginPulse 1.65s ease-in-out infinite;
}

.learning-lesson-modal__guest-note .learning-btn[data-learning-login-open]:hover,
.learning-lesson-modal__guest-note .learning-btn[data-learning-login-open]:focus {
	border-color: #166800;
	background: #166800;
	color: #fff;
}

.learning-lesson-modal__guest-note .learning-btn[data-learning-login-open] i {
	font-size: 17px;
	line-height: 1;
}

.learning-lesson-card__body {
	margin: 0 0 12px;
	color: #374151;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}

.learning-lesson-card__body > span {
	display: block;
	margin: 0 0 12px;
	padding: 6px 12px;
	border-radius: 1rem;
	background: #fafafa;
	color: #4a4a4a;
}

.learning-lesson-card__body > span:last-child {
	margin-bottom: 0;
}

.learning-lesson-card__body strong {
	color: #111827;
	font-weight: 800;
}

.learning-lesson-card__body > span.learning-lesson-memory,
.learning-summary-lesson__body > span.learning-lesson-memory {
	margin-top: 16px;
}

.learning-lesson-vocab-label {
	display: inline;
	margin: 0 6px 0 0;
	color: #111827;
	font-weight: 800;
}

.learning-lesson-memory strong:not(.learning-lesson-vocab-label) {
	color: #7e22ce;
	font-weight: 800;
}

.learning-lesson-card__example {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #f8fafc;
	color: #536471;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.learning-lesson-card__example strong {
	color: #b50200;
	font-weight: 800;
}

.learning-lesson-card__example span {
	color: #536471;
	font-weight: 400;
}

.learning-lesson-vocab {
	display: grid;
	gap: 6px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.learning-lesson-vocab li {
	display: flex;
	align-items: center;
	gap: 0;
	min-height: 0;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #374151;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.learning-lesson-vocab strong {
	color: #b50200;
	font-weight: 800;
}

.learning-lesson-vocab span {
	margin-left: 3px;
	color: #374151;
	font-weight: 400;
}

.learning-lesson-modal__vocab {
	display: grid;
	gap: 6px;
}

.learning-lesson-modal__vocab li {
	display: block;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.learning-lesson-modal__vocab strong {
	color: #b50200;
	font-weight: 800;
}

.learning-lesson-modal__vocab span {
	margin-left: 4px;
	color: #374151;
	font-weight: 400;
}

.learning-reading-quiz {
	display: grid;
	gap: 10px;
	margin: 18px 0;
	padding: 14px;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #f8fafc;
}

.learning-reading-quiz header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e7eb;
}

.learning-reading-quiz header span {
	color: #111827;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
}

.learning-reading-quiz header strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 26px;
	padding: 0 10px;
	border: 1px solid #eee;
	border-radius: 999px;
	background: #ffffff;
	color: #000000;
	font-size: 12px;
	font-weight: 700;
	line-height: 26px;
}

.learning-reading-quiz__item {
	display: grid;
	gap: 8px;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	transition: border-color .16s ease, background .16s ease;
}

.learning-reading-quiz__item.is-correct {
	border-color: #16a34a;
	background: #f0fdf4;
}

.learning-reading-quiz__item.is-wrong {
	border-color: #dc2626;
	background: #fff7f7;
}

.learning-reading-quiz__item em {
	color: #6b7280;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.learning-reading-quiz__prompt {
	display: grid;
	gap: 3px;
	margin: 0;
}

.learning-reading-quiz__prompt span {
	color: #536471;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
}

.learning-reading-quiz__prompt strong {
	color: #b50200;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
}

.learning-reading-quiz__item h3 {
	margin: 0;
	color: #111827;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.learning-reading-quiz__options {
	display: grid;
	gap: 7px;
}

.learning-reading-quiz__options button {
	width: 100%;
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid #dfe5ee;
	border-radius: 1rem;
	background: #fff;
	color: #111827;
	font-family: Poppins, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
	transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.learning-reading-quiz__options button:hover,
.learning-reading-quiz__options button:focus {
	border-color: #111827;
	outline: none;
}

.learning-reading-quiz__options button.is-correct {
	border-color: #16a34a;
	background: #16a34a;
	color: #fff;
}

.learning-reading-quiz__options button.is-wrong {
	border-color: #dc2626;
	background: #dc2626;
	color: #fff;
}

.learning-reading-quiz__feedback {
	margin: 2px 0 0;
	color: #374151;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
}

.learning-reading-quiz__feedback strong {
	font-weight: 800;
}

.learning-reading-quiz__score {
	display: grid;
	gap: 4px;
	padding: 12px;
	border-radius: 12px;
	color: #111827;
}

.learning-reading-quiz__score.is-success {
	border: 1px solid #bbf7d0;
	background: #f0fdf4;
}

.learning-reading-quiz__score.is-warning {
	border: 1px solid #fecaca;
	background: #fff7f7;
}

.learning-reading-quiz__score strong {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
}

.learning-reading-quiz__score span {
	color: #536471;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.learning-reading-quiz__score.is-success strong,
.learning-reading-quiz__score.is-success span,
.learning-reading-quiz__score.is-warning strong,
.learning-reading-quiz__score.is-warning span {
	color: #fff;
}

.learning-lesson-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.learning-lesson-card__actions button {
	min-height: 38px;
	padding: 0 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	color: #111827;
	font: 700 12px Poppins, Arial, sans-serif;
	cursor: pointer;
}

.learning-lesson-card__actions button.is-primary {
	border-color: #111827;
	background: #111827;
	color: #fff;
}

.learning-lesson-card__actions button.is-success {
	border-color: #16803a;
	background: #ecfdf3;
	color: #16803a;
}

.learning-lessons-empty {
	display: grid;
	place-items: center;
	gap: 8px;
	padding: 24px 18px;
	border: 1px dashed #e5e7eb;
	border-radius: 1rem;
	color: #536471;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.learning-lessons-empty > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff7f7;
	color: #b50200;
	font-size: 20px;
}

.learning-lessons-empty strong {
	color: #111827;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
}

.learning-lessons-empty span {
	max-width: 420px;
	color: #536471;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

@media (max-width: 768px) {
	.learning-lessons-card {
		padding: 16px 12px;
		border-right: 0;
		border-left: 0;
		border-radius: 1rem;
		box-shadow: none;
	}

	.learning-lessons-head {
		display: block;
	}

	.learning-lessons-head .learning-link-btn {
		margin-top: 10px;
	}

	.learning-lesson-types {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.learning-lesson-types button {
		grid-template-columns: 44px minmax(0, 1fr) auto;
		min-height: 82px;
		padding: 12px;
	}

	.learning-lesson-types button > span {
		grid-row: 1 / span 2;
		width: 44px;
		height: 44px;
		border-radius: 14px;
		font-size: 18px;
	}

	.learning-lesson-types strong {
		margin: 0;
		font-size: 15px;
	}

	.learning-lesson-types em {
		grid-column: 2 / -1;
		margin-top: 2px;
		font-size: 11px;
		line-height: 1.3;
	}

	.learning-lesson-types small {
		height: 24px;
		min-width: 38px;
		font-size: 11px;
	}

	.learning-roadmap-head {
		align-items: flex-start;
	}

	.learning-roadmap-item {
		grid-template-columns: 36px minmax(0, 1fr);
		gap: 8px;
	}

	.learning-roadmap-item:before {
		left: 17px;
	}

	.learning-roadmap-item__marker span {
		width: 30px;
		height: 30px;
	}

	.learning-result-modal {
		align-items: stretch;
		justify-content: stretch;
		background: #fff;
	}

	.learning-result-modal .learning-modal__box {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		width: 100%;
		min-height: 100vh;
		min-height: 100dvh;
		height: auto;
		max-height: none;
		padding: 28px 18px;
		border: 0;
		border-radius: 0;
		background: #fff;
		box-shadow: none;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
}

.learning-progress span[data-learning-count] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
	color: #111827;
	font-size: 15px;
	font-weight: 700;
	line-height: 42px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

@media (max-width: 768px) {
	.learning-progress span[data-learning-count] {
		min-width: 38px;
		height: 38px;
		padding: 0 10px;
		font-size: 14px;
		line-height: 38px;
	}
}

@media (max-width: 768px) {
	.learning-modal[data-learning-modal="profile"],
	.learning-modal[data-learning-modal="achievements"],
	.learning-modal[data-learning-modal="lesson"] {
		place-items: stretch;
		align-items: stretch;
		justify-items: stretch;
		padding: 0;
		background: #fff;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.learning-modal[data-learning-modal="profile"] .learning-modal__box,
	.learning-modal[data-learning-modal="achievements"] .learning-modal__box,
	.learning-modal[data-learning-modal="lesson"] .learning-modal__box {
		width: 100%;
		min-height: 100vh;
		min-height: 100dvh;
		height: auto;
		max-height: none;
		padding: 26px 18px 34px;
		border: 0;
		border-radius: 0;
		background: #fff;
		box-shadow: none;
		overflow: visible;
	}

	.learning-modal[data-learning-modal="achievements"] .learning-achievements-modal {
		width: 100%;
	}
}

/* Learning profile and achievements modal polish */
.learning-profile-modal,
.learning-achievements-modal {
	width: min(100%, 720px);
	max-height: min(820px, calc(100vh - 36px));
	padding: 0;
	overflow: hidden auto;
	border-color: rgba(229, 231, 235, .9);
	background: #fff;
	color: #111827;
}

.learning-profile-modal::-webkit-scrollbar,
.learning-achievements-modal::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.learning-modal-head {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 24px 26px 22px;
	border-bottom: 1px solid #eff3f4;
	background:
		radial-gradient(circle at 15% 0%, rgba(181, 2, 0, .13), transparent 16rem),
		linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
}

.learning-modal-head__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: #b50200;
	color: #fff;
	font-size: 22px;
	box-shadow: 0 16px 34px rgba(181, 2, 0, .18);
}

.learning-modal-head__icon .learning-asset-icon {
	width: 30px;
	height: 30px;
}

.learning-modal-head small,
.learning-modal-head h2,
.learning-modal-head p {
	display: block;
	margin: 0;
}

.learning-modal-head small {
	margin-bottom: 4px;
	color: #b50200;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.learning-modal-head h2 {
	color: #111827;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.15;
}

.learning-modal-head p {
	margin-top: 5px;
	color: #536471;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.learning-profile-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
	margin: 18px 26px 14px;
}

.learning-profile-hero > div {
	min-height: 86px;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #111827;
	color: #fff;
}

.learning-profile-hero > div:last-child {
	background: #b50200;
}

.learning-profile-hero span {
	display: block;
	margin-bottom: 7px;
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.learning-profile-hero strong {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
}

.learning-profile-modal .learning-profile-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0 26px 18px;
}

.learning-profile-modal .learning-profile-grid span {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 2px 10px;
	align-items: center;
	min-height: 74px;
	padding: 12px;
	border: 1px solid #edf0f2;
	border-radius: 16px;
	background: #fff;
	color: #536471;
	box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.learning-profile-modal .learning-profile-grid i {
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: #f5f6f7;
	color: #b50200;
	font-size: 15px;
}

.learning-profile-modal .learning-profile-grid .learning-asset-icon {
	grid-row: 1 / span 2;
	align-self: center;
	justify-self: center;
	width: 32px;
	height: 32px;
}

.learning-profile-modal .learning-profile-grid em {
	display: block;
	color: #697386;
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.2;
}

.learning-profile-modal .learning-profile-grid strong {
	display: flex;
	align-items: baseline;
	gap: 2px;
	color: #111827;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.1;
}

.learning-profile-modal .learning-reminder-switch,
.learning-profile-modal .learning-reminder-status,
.learning-profile-modal .learning-profile-progress,
.learning-profile-modal .learning-profile-note {
	margin-right: 26px;
	margin-left: 26px;
}

.learning-profile-modal .learning-reminder-switch {
	grid-template-columns: 48px minmax(0, 1fr);
	border-radius: 18px;
	background: #fbfbfc;
}

.learning-profile-modal .learning-reminder-switch em {
	grid-column: 1 / -1;
	margin-top: 0;
	max-width: none;
}

.learning-profile-modal .learning-profile-progress {
	gap: 10px;
	padding: 16px;
	border: 1px solid #edf0f2;
	border-radius: 18px;
	background: #fff;
}

.learning-profile-modal .learning-profile-progress h3 {
	margin-bottom: 4px;
	font-size: 15px;
	font-weight: 800;
}

.learning-profile-modal .learning-profile-progress div {
	display: grid;
	grid-template-columns: minmax(110px, .75fr) minmax(90px, 1fr) 48px;
	gap: 10px;
	min-height: 30px;
	font-size: 12px;
}

.learning-profile-modal .learning-profile-progress div > span {
	color: #374151;
	font-weight: 600;
}

.learning-profile-modal .learning-profile-progress div > i {
	position: relative;
	display: block;
	width: 100%;
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #eef2f7;
}

.learning-profile-modal .learning-profile-progress div > i b {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #b50200, #ef4444);
}

.learning-profile-modal .learning-profile-note {
	margin-top: 14px;
	margin-bottom: 24px;
	padding: 12px 14px;
	border: 1px solid #fde2e2;
	border-radius: 14px;
	background: #fff7f7;
	color: #7f1d1d;
	font-size: 12px;
	font-weight: 500;
}

.learning-achievements-modal .learning-achievements-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 190px;
	gap: 12px;
	margin: 18px 26px 0;
}

.learning-achievements-summary__main,
.learning-achievements-summary__side span {
	border: 1px solid #edf0f2;
	border-radius: 18px;
	background: #fbfbfc;
}

.learning-achievements-summary__main {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 14px;
}

.learning-achievements-summary__main > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 16px;
	background: #fff1f1;
	color: #b50200;
	font-size: 22px;
}

.learning-achievements-summary__main > .learning-asset-icon {
	width: 50px;
	height: 50px;
	padding: 10px;
	border-radius: 16px;
	background: #fff1f1;
}

.learning-achievements-summary__main strong,
.learning-achievements-summary__main span {
	display: block;
}

.learning-achievements-summary__main strong {
	color: #111827;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
}

.learning-achievements-summary__main strong b {
	color: #b50200;
	font-weight: 800;
}

.learning-achievements-summary__main span {
	margin-top: 4px;
	color: #697386;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
}

.learning-achievements-summary__main em {
	display: block;
	width: 100%;
	height: 8px;
	margin-top: 11px;
	overflow: hidden;
	border-radius: 999px;
	background: #eef2f7;
}

.learning-achievements-summary__main em b {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #b50200, #ef4444);
}

.learning-achievements-summary__side {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.learning-achievements-summary__side span {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 0 8px;
	align-items: center;
	min-height: 58px;
	padding: 10px;
	color: #697386;
}

.learning-achievements-summary__side i {
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: #111827;
	color: #fff;
	font-size: 13px;
}

.learning-achievements-summary__side span:last-child i {
	background: #f3f4f6;
	color: #536471;
}

.learning-achievements-summary__side strong {
	display: block;
	color: #111827;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.learning-achievements-summary__side small {
	display: block;
	margin-top: 3px;
	color: #697386;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

.learning-achievements-summary > span {
	display: block;
	padding: 12px;
	border: 1px solid #edf0f2;
	border-radius: 16px;
	background: #fbfbfc;
	color: #697386;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}

.learning-achievements-summary > span strong {
	display: block;
	margin-bottom: 2px;
	color: #111827;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

.learning-achievements-modal .learning-achievements-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 26px 18px;
}

.learning-achievements-modal .learning-achievement {
	align-items: start;
	padding: 14px;
	border-color: #edf0f2;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.learning-achievements-modal .learning-achievement:hover {
	transform: translateY(-1px);
	border-color: rgba(181, 2, 0, .22);
	box-shadow: 0 14px 30px rgba(15, 23, 42, .07);
}

.learning-achievements-modal .learning-achievement > span {
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: #fff1f1;
	color: #b50200;
}

.learning-achievements-modal .learning-achievement.is-locked {
	border-style: dashed;
	background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
}

.learning-achievements-modal .learning-achievement.is-locked > span {
	border: 1px solid #ffe0df;
	background: #fff;
	color: #b50200;
}

.learning-achievements-modal .learning-achievement.is-locked strong {
	color: #1f2937;
}

.learning-achievements-modal .learning-achievement.is-locked small {
	color: #536471;
}

.learning-achievements-modal .learning-achievement.is-locked em {
	border: 1px solid #ffd7d7;
	background: #fff;
	color: #b50200;
}

.learning-achievements-modal .learning-achievement.is-awarded {
	border-style: solid;
	border-color: rgba(22, 128, 58, .28);
	background: linear-gradient(135deg, #fff 0%, #f2fff7 100%);
}

.learning-achievements-modal .learning-achievement.is-awarded > span {
	background: #16803a;
	color: #fff;
	box-shadow: 0 12px 24px rgba(22, 128, 58, .16);
}

.learning-achievements-modal .learning-achievement.is-awarded em {
	background: #16803a;
	color: #fff;
}

.learning-achievements-modal .learning-certificates-preview {
	margin: 0 26px 26px;
	border-color: #e5e7eb;
	border-radius: 18px;
	background: linear-gradient(135deg, #111827 0%, #2b1113 100%);
	color: #fff;
}

.learning-achievements-modal .learning-certificates-preview i {
	background: #b50200;
}

.learning-achievements-modal .learning-certificates-preview span {
	color: rgba(255, 255, 255, .76);
}

@media (max-width: 768px) {
	.learning-modal[data-learning-modal="auth"] {
		align-items: stretch;
		justify-content: stretch;
		padding: 0;
	}

	.learning-modal[data-learning-modal="auth"] .learning-auth-modal__box {
		width: 100%;
		min-height: 100vh;
		min-height: 100dvh;
		max-height: none;
		padding: 34px 22px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		overflow-y: auto;
	}

	.learning-modal[data-learning-modal="how"] {
		align-items: stretch;
		justify-content: stretch;
		padding: 0;
	}

	.learning-modal[data-learning-modal="how"] .learning-modal__box {
		width: 100%;
		min-height: 100vh;
		min-height: 100dvh;
		max-height: none;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		overflow-y: auto;
	}

	.learning-how-hero {
		grid-template-columns: 58px minmax(0, 1fr);
		gap: 12px;
		padding: 28px 46px 22px 18px;
	}

	.learning-how-hero > span {
		width: 58px;
		height: 58px;
		border-radius: 18px;
	}

	.learning-how-hero .learning-asset-icon {
		width: 38px;
		height: 38px;
	}

	.learning-how-hero h2 {
		font-size: 24px;
	}

	.learning-how-hero p {
		font-size: 13px;
	}

	.learning-how-steps {
		grid-template-columns: 1fr;
		padding: 14px 18px 10px;
	}

	.learning-how-steps > div {
		min-height: 0;
		padding: 13px;
	}

	.learning-how-feature-grid {
		grid-template-columns: 1fr;
		padding: 8px 18px 14px;
	}

	.learning-how-feature-grid > div {
		grid-template-columns: 38px minmax(0, 1fr);
		column-gap: 14px;
		row-gap: 4px;
		justify-items: start;
		text-align: left;
		padding: 1.2rem;
	}

	.learning-how-feature-grid img {
		grid-row: 1 / span 2;
		margin-right: 4px;
	}

	.learning-how-note {
		margin: 0 18px 24px;
	}

	.learning-modal[data-learning-modal="profile"] .learning-profile-modal,
	.learning-modal[data-learning-modal="achievements"] .learning-achievements-modal {
		width: 100%;
		min-height: 100vh;
		min-height: 100dvh;
		padding: 0;
		border-radius: 0;
		overflow-y: auto;
	}

	.learning-modal-head {
		grid-template-columns: 48px minmax(0, 1fr);
		padding: 22px 18px 18px;
	}

	.learning-modal-head__icon {
		width: 48px;
		height: 48px;
		border-radius: 16px;
		font-size: 18px;
	}

	.learning-profile-hero,
	.learning-profile-modal .learning-profile-grid,
	.learning-achievements-modal .learning-achievements-summary,
	.learning-achievements-modal .learning-achievements-list {
		margin-right: 14px;
		margin-left: 14px;
	}

	.learning-profile-hero {
		grid-template-columns: 1fr;
		margin-top: 14px;
	}

	.learning-profile-modal .learning-profile-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.learning-profile-modal .learning-reminder-switch,
	.learning-profile-modal .learning-reminder-status,
	.learning-profile-modal .learning-profile-progress,
	.learning-profile-modal .learning-profile-note,
	.learning-achievements-modal .learning-certificates-preview {
		margin-right: 14px;
		margin-left: 14px;
	}

	.learning-profile-modal .learning-profile-progress div {
		grid-template-columns: minmax(0, 1fr) 46px;
	}

	.learning-profile-modal .learning-profile-progress div > i {
		grid-column: 1 / -1;
		order: 3;
	}

	.learning-achievements-modal .learning-achievements-summary,
	.learning-achievements-modal .learning-achievements-list {
		grid-template-columns: 1fr;
	}

	.learning-achievements-summary__side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	.learning-profile-modal .learning-profile-grid {
		grid-template-columns: 1fr;
	}

	.learning-achievements-summary__side {
		grid-template-columns: 1fr;
	}
}

.learning-game-card.is-loading-round {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 500px;
}

.learning-game-card.is-loading-round .learning-progress,
.learning-game-card.is-loading-round .learning-mode,
.learning-game-card.is-loading-round .learning-review-badge,
.learning-game-card.is-loading-round .learning-question,
.learning-game-card.is-loading-round .learning-example,
.learning-game-card.is-loading-round .learning-options,
.learning-game-card.is-loading-round .learning-feedback {
	display: none !important;
}

.learning-game-card.is-loading-round .learning-prompt {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	text-align: center;
}

.learning-game-card.is-loading-round .learning-prompt h2 {
	display: grid;
	justify-items: center;
	gap: 14px;
	margin: 0;
	color: #536471;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.learning-game-card.is-loading-round .learning-prompt h2 em {
	font-style: normal;
}

.learning-round-loader {
	display: block;
	width: 44px;
	height: 44px;
	border: 3px solid #eef2f7;
	border-top-color: #b50200;
	border-radius: 50%;
	animation: learningRoundSpin .8s linear infinite;
}

@keyframes learningRoundSpin {
	to {
		transform: rotate(360deg);
	}
}

.learning-game-card.is-word .learning-prompt h2 {
	font-size: 18px;
	line-height: 1.14;
}

.learning-game-card.is-word .learning-prompt {
	display: flex;
	min-height: 120px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 12px 0 18px;
}

/* Lightweight learning transitions. No external animation library needed. */
.learning-home.is-entering,
.learning-game.is-entering,
.learning-summary.is-entering,
.learning-lessons.is-entering {
	animation: learningScreenIn .32s ease both;
}

.learning-game-card.is-entering,
.learning-summary-card.is-entering {
	animation: learningCardIn .36s cubic-bezier(.2, .78, .22, 1) both;
}

.learning-prompt.is-entering,
.learning-question.is-entering,
.learning-example.is-entering {
	animation: learningContentIn .3s ease both;
}

.learning-options.is-entering .learning-option {
	animation: learningOptionIn .34s cubic-bezier(.2, .78, .22, 1) both;
}

.learning-options.is-entering .learning-option:nth-child(2) {
	animation-delay: .045s;
}

.learning-options.is-entering .learning-option:nth-child(3) {
	animation-delay: .09s;
}

.learning-options.is-entering .learning-option:nth-child(4) {
	animation-delay: .135s;
}

.learning-modal.is-opening {
	animation: learningModalFadeIn .18s ease both;
}

.learning-modal__box.is-entering {
	animation: learningModalBoxIn .3s cubic-bezier(.2, .78, .22, 1) both;
}

.learning-home.is-entering .learning-hero__visual span {
	animation: learningHeroVisualIn .88s cubic-bezier(.16, .88, .24, 1) both;
}

.learning-home.is-entering .learning-hero h1,
.learning-home.is-entering .learning-hero p,
.learning-home.is-entering .learning-daily-goal,
.learning-home.is-entering .learning-home-actions {
	animation: learningContentIn .36s ease both;
}

.learning-home.is-entering .learning-hero p {
	animation-delay: .12s;
}

.learning-home.is-entering .learning-daily-goal {
	animation-delay: .07s;
}

.learning-home.is-entering .learning-home-actions {
	animation-delay: .105s;
}

	.learning-game-card.is-answering {
		pointer-events: none;
	}

	.learning-back,
	.learning-icon-btn,
	.learning-btn,
	.learning-option,
	.learning-points,
	.learning-topic-picker__toggle {
		will-change: transform;
		transition:
			transform .18s ease,
			box-shadow .18s ease,
			border-color .18s ease,
			background-color .18s ease,
			color .18s ease,
			opacity .18s ease;
	}

	.learning-back:hover,
	.learning-back:focus,
	.learning-icon-btn:hover,
	.learning-icon-btn:focus {
		border-color: #fff;
		box-shadow: none;
		color: #000000;
		transform: translateY(-1px) scale(1.04);
	}

	.learning-back:active,
	.learning-icon-btn:active,
	.learning-btn:active,
	.learning-option:active,
	.learning-topic-picker__toggle:active {
		transform: translateY(1px) scale(.98);
	}

	.learning-btn:hover,
	.learning-btn:focus {
		transform: translateY(-1px);
		box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
	}

	.learning-home-actions .learning-btn {
		animation: learningHomeButtonIn .42s cubic-bezier(.2, .78, .22, 1) both;
	}

	.learning-home-actions .learning-btn:nth-child(2) {
		animation-delay: .055s;
	}

	.learning-home-actions .learning-btn:nth-child(3) {
		animation-delay: .11s;
	}

	.learning-points.is-plum {
		animation: learningPointsPlum .58s cubic-bezier(.2, .82, .22, 1) both;
	}

	.learning-points.is-welcome {
		animation: learningPointsWelcome .86s cubic-bezier(.16, .88, .24, 1.18) both;
	}

	.learning-points.is-plum::after {
		content: "";
		position: absolute;
		inset: -5px;
		border: 2px solid rgba(255, 255, 255, .82);
		border-radius: inherit;
		pointer-events: none;
		animation: learningPointsRing .58s ease both;
	}

	.learning-points.is-welcome::after {
		content: "";
		position: absolute;
		inset: -7px;
		border: 2px solid rgba(13, 133, 228, .34);
		border-radius: inherit;
		pointer-events: none;
		animation: learningPointsWelcomeRing .86s ease both;
	}

		.learning-points {
			position: relative;
			overflow: visible;
		}

				.learning-points__delta {
					position: absolute;
					top: 2px;
					right: -6px;
					z-index: 25;
				display: inline-flex;
				align-items: center;
				justify-content: center;
				min-width: 28px;
				height: 22px;
				padding: 0 7px;
				border-radius: 999px;
				background: #16a34a;
				color: #fff;
				font-size: 12px;
				font-weight: 800;
				line-height: 22px;
				box-shadow: 0 8px 18px rgba(22, 128, 58, .24);
				pointer-events: none;
				animation: learningPointsDelta .74s cubic-bezier(.2, .78, .22, 1) both;
			}

	.learning-option[disabled] {
		cursor: default;
	}

.learning-option.is-pending {
	position: relative;
	border-color: #b50200;
	background: #fff7f7;
	color: #7f1d1d;
	opacity: .92;
}

	.learning-option.is-pending::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 15px;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border: 2px solid rgba(181, 2, 0, .18);
	border-top-color: #b50200;
	border-radius: 50%;
		animation: learningRoundSpin .7s linear infinite;
	}

	.learning-option.is-correct {
		animation: learningAnswerCorrect .66s cubic-bezier(.2, .78, .22, 1) both;
		box-shadow: 0 16px 34px rgba(22, 128, 58, .28);
	}

	.learning-option.is-correct::before {
		content: "\f00c";
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 22px;
		height: 22px;
		margin-right: 8px;
		border-radius: 50%;
		background: rgba(255, 255, 255, .22);
		color: #fff;
		font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
		font-size: 12px;
		font-weight: 900;
		line-height: 22px;
		vertical-align: middle;
		animation: learningCheckPop .42s cubic-bezier(.2, .78, .22, 1) both;
	}

	.learning-option.is-wrong {
		animation: learningAnswerWrong .46s ease both;
		box-shadow: 0 16px 34px rgba(181, 2, 0, .26);
	}

	.learning-option.is-wrong::before {
		content: "\f00d";
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 22px;
		height: 22px;
		margin-right: 8px;
		border-radius: 50%;
		background: rgba(255, 255, 255, .2);
		color: #fff;
		font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
		font-size: 12px;
		font-weight: 900;
		line-height: 22px;
		vertical-align: middle;
	}

	.learning-game-card:not(.is-answering) .learning-option:not([disabled]):hover {
		box-shadow: 0 16px 34px rgba(181, 2, 0, .14);
	}

	.learning-result-modal .learning-result-icon:not(.is-wrong) {
		animation: learningResultIconWin .56s cubic-bezier(.2, .78, .22, 1) both;
	}

	.learning-result-modal .learning-result-icon.is-wrong {
		animation: learningResultIconWrong .48s ease both;
	}

	.learning-modal__box.is-entering .learning-result-tip,
	.learning-modal__box.is-entering .learning-lesson-modal__body,
	.learning-modal__box.is-entering .learning-profile-grid,
	.learning-modal__box.is-entering .learning-achievements-list {
		animation: learningContentIn .34s ease .08s both;
	}

	.learning-game-card.is-loading-round .learning-prompt h2 {
		animation: learningContentIn .32s ease both;
}

	.learning-game-card.is-loading-round .learning-prompt h2::before {
		content: "";
	display: block;
	width: 54px;
	height: 54px;
	margin: 0 auto 16px;
	border: 4px solid #f3d7d7;
	border-top-color: #b50200;
	border-right-color: #d7182a;
	border-radius: 50%;
	box-shadow: 0 0 0 10px rgba(181, 2, 0, .06);
		animation: learningRoundSpin .72s linear infinite;
	}

		.learning-game-card.is-loading-round .learning-prompt h2:has(.learning-round-loader)::before {
			display: none;
		}

	.learning-progress i,
	.learning-roadmap-head > i b,
	.learning-summary-daily-bar i {
		transition: width .45s cubic-bezier(.2, .78, .22, 1);
	}

	.learning-topic-menu:not([hidden]) {
		animation: learningMenuIn .2s ease both;
	}

	.learning-roadmap-item {
		animation: learningRoadmapItemIn .34s cubic-bezier(.2, .78, .22, 1) both;
	}

	.learning-roadmap-item:nth-child(2) {
		animation-delay: .035s;
	}

	.learning-roadmap-item:nth-child(3) {
		animation-delay: .07s;
	}

	.learning-roadmap-item:nth-child(4) {
		animation-delay: .105s;
	}

	.learning-roadmap-item:nth-child(5) {
		animation-delay: .14s;
	}

	.learning-roadmap-item.is-completed .learning-roadmap-item__marker span {
		animation: learningMarkerDone .42s cubic-bezier(.2, .78, .22, 1) both;
	}

	.learning-reading-quiz__item {
		animation: learningContentIn .28s ease both;
	}

	.learning-reading-quiz__options button {
		transition:
			transform .18s ease,
			background-color .18s ease,
			border-color .18s ease,
			color .18s ease,
			box-shadow .18s ease;
	}

	.learning-reading-quiz__options button:hover,
	.learning-reading-quiz__options button:focus {
		transform: translateY(-1px);
		box-shadow: 0 12px 22px rgba(15, 23, 42, .08);
	}

	.learning-reading-quiz__options button.is-correct {
		animation: learningAnswerCorrect .56s cubic-bezier(.2, .78, .22, 1) both;
	}

	.learning-reading-quiz__options button.is-wrong {
		animation: learningAnswerWrong .42s ease both;
	}

	.learning-reading-quiz__feedback:not([hidden]) {
		animation: learningContentIn .24s ease both;
	}

	.learning-reading-quiz__score:not([hidden]) {
		animation: learningCardIn .32s cubic-bezier(.2, .78, .22, 1) both;
	}

.learning-game-card.is-loading-round .learning-prompt h2 em {
	display: block;
	color: #536471;
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.3;
}

.learning-game-card.is-loading-round .learning-prompt h2::after {
	content: "";
	display: block;
	width: 84px;
	height: 4px;
	margin: 14px auto 0;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent, #b50200, transparent);
	animation: learningLoaderSweep 1.05s ease-in-out infinite;
}

@keyframes learningScreenIn {
	from {
		opacity: 0;
		transform: translate3d(0, 10px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes learningCardIn {
	from {
		opacity: 0;
		transform: translate3d(0, 14px, 0) scale(.985);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes learningContentIn {
	from {
		opacity: 0;
		transform: translate3d(0, 8px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes learningOptionIn {
	from {
		opacity: 0;
		transform: translate3d(0, 12px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes learningModalFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes learningModalBoxIn {
	from {
		opacity: 0;
		transform: translate3d(0, 18px, 0) scale(.97);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes learningSoftPop {
	0% {
		opacity: 0;
		transform: scale(.86);
	}
	70% {
		opacity: 1;
		transform: scale(1.04);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes learningHeroVisualIn {
	0% {
		opacity: 0;
		transform: translate3d(0, 10px, 0) scale(.82) rotate(-4deg);
	}
	58% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1.055) rotate(1deg);
	}
	78% {
		transform: translate3d(0, 0, 0) scale(.985) rotate(0);
	}
	100% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1) rotate(0);
	}
}

	@keyframes learningLoaderSweep {
	0% {
		opacity: .25;
		transform: scaleX(.45);
	}
	50% {
		opacity: 1;
		transform: scaleX(1);
	}
	100% {
		opacity: .25;
		transform: scaleX(.45);
		}
	}

	@keyframes learningHomeButtonIn {
		from {
			opacity: 0;
			transform: translate3d(0, 12px, 0) scale(.985);
		}
		to {
			opacity: 1;
			transform: translate3d(0, 0, 0) scale(1);
		}
	}

	@keyframes learningPointsPlum {
		0% {
			transform: scale(.92);
			box-shadow: 0 0 0 rgba(181, 2, 0, 0);
		}
		54% {
			transform: scale(1.1);
			box-shadow: 0 12px 26px rgba(181, 2, 0, .3);
		}
		100% {
			transform: scale(1);
			box-shadow: 0 0 0 rgba(181, 2, 0, 0);
		}
	}

	@keyframes learningPointsWelcome {
		0% {
			opacity: 0;
			transform: translate3d(0, -4px, 0) scale(.78);
			box-shadow: 0 0 0 rgba(13, 133, 228, 0);
		}
		48% {
			opacity: 1;
			transform: translate3d(0, 0, 0) scale(1.16);
			box-shadow: 0 16px 34px rgba(13, 133, 228, .32);
		}
		72% {
			transform: translate3d(0, 0, 0) scale(.97);
		}
		100% {
			opacity: 1;
			transform: translate3d(0, 0, 0) scale(1);
			box-shadow: 0 0 0 rgba(13, 133, 228, 0);
		}
	}

	@keyframes learningPointsWelcomeRing {
		0% {
			opacity: .75;
			transform: scale(.82);
		}
		100% {
			opacity: 0;
			transform: scale(1.38);
		}
	}

		@keyframes learningPointsRing {
			0% {
				opacity: .65;
				transform: scale(.86);
			}
		100% {
			opacity: 0;
				transform: scale(1.28);
			}
		}

			@keyframes learningPointsDelta {
				0% {
					opacity: 0;
					transform: translate3d(2px, 4px, 0) scale(.86);
				}
				22% {
					opacity: 1;
					transform: translate3d(0, 0, 0) scale(1.05);
				}
					72% {
						opacity: 1;
						transform: translate3d(-1px, -3px, 0) scale(1);
					}
					100% {
						opacity: 0;
						transform: translate3d(-2px, -6px, 0) scale(.94);
					}
			}

		@keyframes learningMenuIn {
			from {
				opacity: 0;
				transform: translate3d(0, -6px, 0) scale(.99);
			}
			to {
				opacity: 1;
				transform: translate3d(0, 0, 0) scale(1);
			}
		}

		@keyframes learningRoadmapItemIn {
			from {
				opacity: 0;
				transform: translate3d(0, 12px, 0);
			}
			to {
				opacity: 1;
				transform: translate3d(0, 0, 0);
			}
		}

		@keyframes learningMarkerDone {
			0% {
				transform: scale(.82);
			}
			58% {
				transform: scale(1.12);
			}
			100% {
				transform: scale(1);
			}
		}

		@keyframes learningAnswerCorrect {
			0% {
				transform: scale(.985);
			}
		48% {
			transform: scale(1.035);
		}
		100% {
			transform: scale(1);
		}
	}

	@keyframes learningCheckPop {
		0% {
			opacity: 0;
			transform: scale(.4) rotate(-12deg);
		}
		70% {
			opacity: 1;
			transform: scale(1.1) rotate(0);
		}
		100% {
			transform: scale(1);
		}
	}

	@keyframes learningAnswerWrong {
		0%, 100% {
			transform: translateX(0);
		}
		18% {
			transform: translateX(-6px);
		}
		36% {
			transform: translateX(5px);
		}
		54% {
			transform: translateX(-3px);
		}
		72% {
			transform: translateX(2px);
		}
	}

	@keyframes learningResultIconWin {
		0% {
			opacity: 0;
			transform: scale(.72) rotate(-8deg);
		}
		64% {
			opacity: 1;
			transform: scale(1.08) rotate(0);
		}
		100% {
			transform: scale(1);
		}
	}

	@keyframes learningResultIconWrong {
		0% {
			opacity: 0;
			transform: scale(.8);
		}
		45% {
			opacity: 1;
			transform: scale(1.04) rotate(-4deg);
		}
		70% {
			transform: scale(1.02) rotate(3deg);
		}
		100% {
			transform: scale(1) rotate(0);
		}
	}

@media (prefers-reduced-motion: reduce) {
	.learning-auth-modal__box .learning-btn[data-learning-login-link] {
		animation: none;
	}

	.learning-home.is-entering,
	.learning-game.is-entering,
	.learning-summary.is-entering,
	.learning-lessons.is-entering,
	.learning-game-card.is-entering,
	.learning-summary-card.is-entering,
	.learning-prompt.is-entering,
	.learning-question.is-entering,
	.learning-example.is-entering,
	.learning-options.is-entering .learning-option,
	.learning-topbar [data-learning-back],
	.learning-topbar [data-learning-achievements-open],
	.learning-topbar [data-learning-profile-open],
	.learning-modal.is-opening,
	.learning-modal__box.is-entering,
	.learning-home.is-entering .learning-hero__visual span,
	.learning-home.is-entering .learning-hero h1,
		.learning-home.is-entering .learning-hero p,
			.learning-home.is-entering .learning-daily-goal,
			.learning-home.is-entering .learning-home-actions,
			.learning-home-actions .learning-btn,
			.learning-points.is-plum,
			.learning-points.is-plum::after,
				.learning-points.is-welcome,
				.learning-points.is-welcome::after,
				.learning-points__delta,
				.learning-game-card.is-time-ending .learning-prompt,
				.learning-game-card.is-time-ending .learning-prompt h2,
				.learning-game-card.is-time-ending .learning-prompt > span,
				.learning-game-card.is-time-ending .learning-prompt h2 .learning-prompt__char,
				.learning-topic-menu:not([hidden]),
				.learning-roadmap-item,
			.learning-roadmap-item.is-completed .learning-roadmap-item__marker span,
			.learning-option.is-correct,
			.learning-option.is-correct::before,
			.learning-option.is-wrong,
			.learning-reading-quiz__item,
			.learning-reading-quiz__options button.is-correct,
			.learning-reading-quiz__options button.is-wrong,
			.learning-reading-quiz__feedback:not([hidden]),
			.learning-reading-quiz__score:not([hidden]),
			.learning-result-modal .learning-result-icon,
			.learning-modal__box.is-entering .learning-result-tip,
			.learning-modal__box.is-entering .learning-lesson-modal__body,
			.learning-modal__box.is-entering .learning-profile-grid,
		.learning-modal__box.is-entering .learning-achievements-list {
			animation: none !important;
		}

		.learning-topbar [data-learning-back],
		.learning-topbar [data-learning-achievements-open],
		.learning-topbar [data-learning-profile-open] {
			opacity: 1;
			transform: none;
		}
	}

/* Final mini lesson polish. Keep this near EOF to override older learning blocks. */
.learning-game-card.is-slide .learning-prompt {
	margin: 26px 0 18px;
}

.learning-game-card.is-slide .learning-mode {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 0 13px;
	border-radius: 999px;
	background: #fff1f2;
	color: #b50200;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .2px;
	text-transform: uppercase;
}

.learning-game-card.is-slide .learning-prompt > span {
	margin-bottom: 8px;
	color: #111827;
	font-size: 15px;
	font-weight: 700;
}

.learning-game-card.is-slide .learning-prompt h2 {
	max-width: 520px;
	margin: 0 auto;
	color: #111827;
	font-size: clamp(27px, 5vw, 38px);
	font-weight: 800;
	line-height: 1.12;
}

.learning-game-card.is-slide .learning-question {
	max-width: 100%;
	margin: 0 0 16px;
	padding: 18px 20px;
	border-left: 4px solid #d60000;
	border-radius: 18px;
	background: #fff;
	box-shadow: inset 10px 0 0 rgba(214, 0, 0, .04);
	color: #374151;
	text-align: left;
}

.learning-game-card.is-slide .learning-question p {
	margin: 0 0 10px;
	color: #374151;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.62;
}

.learning-game-card.is-slide .learning-question p:last-child {
	margin-bottom: 0;
}

.learning-game-card.is-slide .learning-question strong {
	color: #111827;
	font-weight: 800;
}

.learning-game-card.is-slide .learning-question .learning-slide-memory {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #eef2f7;
	color: #374151;
	font-weight: 500;
}

.learning-game-card.is-slide .learning-question .learning-slide-memory strong {
	color: #111827;
	font-weight: 800;
}

.learning-game-card.is-slide .learning-question .learning-slide-memory b {
	color: #7c3aed;
	font-weight: 800;
}

.learning-game-card.is-slide .learning-example {
	display: block;
	margin: 0 0 16px;
	padding: 15px 17px;
	border-radius: 18px;
	background: #111827;
	color: #fff;
	text-align: left;
}

.learning-game-card.is-slide .learning-example:empty {
	display: none;
}

.learning-game-card.is-slide .learning-example strong {
	display: block;
	margin: 0 0 6px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}

.learning-game-card.is-slide .learning-example span {
	display: block;
	color: rgba(255, 255, 255, .76);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

.learning-game-card.is-slide .learning-slide-next {
	min-height: 58px;
	margin-top: 8px;
	border-radius: 1rem;
	font-size: 18px;
	font-weight: 800;
}

@media (max-width: 768px) {
	.learning-game-card.is-slide .learning-prompt {
		margin: 20px 0 14px;
	}

	.learning-game-card.is-slide .learning-prompt h2 {
		font-size: 27px;
	}

	.learning-game-card.is-slide .learning-question {
		padding: 15px 16px;
		border-radius: 16px;
	}

	.learning-game-card.is-slide .learning-question p {
		font-size: 14px;
		line-height: 1.55;
	}

	.learning-game-card.is-slide .learning-example {
		padding: 14px 15px;
		border-radius: 16px;
	}
}

/* Final quiz and prompt overrides. h2 letters are spans created by JS, not the small prompt label. */
.learning-option {
	box-sizing: border-box;
}

.learning-game-card:not(.is-answering) .learning-option:not([disabled]):hover,
.learning-game-card:not(.is-answering) .learning-option:not([disabled]):focus-visible {
	border: 2px solid #111827;
	background: #fff;
	box-shadow: 0 16px 34px rgba(17, 24, 39, .16);
}

.learning-prompt > span {
	display: block;
	margin: 0 0 12px;
	color: #6b7280;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
}

.learning-prompt > span:empty {
	display: none;
}

.learning-game-card.is-slide .learning-prompt > span {
	display: block;
	margin: 0 0 12px;
	color: #6b7280;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
}

.learning-game-card.is-slide .learning-prompt h2,
.learning-prompt h2 {
	line-height: 1;
}

.learning-prompt h2 .learning-prompt__word {
	display: inline-block;
	max-width: 100%;
	color: inherit;
	font: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	white-space: nowrap;
	vertical-align: baseline;
}

.learning-prompt h2 .learning-prompt__char {
	display: inline-block;
	color: inherit;
	font: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	vertical-align: baseline;
}

.learning-prompt h2 .learning-prompt__char::before,
.learning-prompt h2 .learning-prompt__char::after {
	content: none;
}

.learning-game-card.is-time-ending .learning-prompt > span {
	color: #b50200;
	animation: learningPromptLabelPulse .82s ease-in-out infinite;
}

.learning-game-card.is-time-ending .learning-prompt h2 {
	animation: learningPromptHeadingPulse 1.05s ease-in-out infinite;
}

.learning-game-card.is-time-ending .learning-prompt h2 .learning-prompt__char {
	animation: learningPromptLetterWave 1.12s ease-in-out infinite;
	animation-delay: var(--char-delay, 0ms);
}
@media (max-width: 768px) {
	.learning-shell {
		padding: 65px 20px 20px;
	}
}

.learning-btn--primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.learning-back,
.learning-icon-btn,
.learning-points {
	border: 1px solid #fff;
	background: #fff;
	color: #000000;
	font-weight: 500;
	box-shadow: 0 14px 30px rgba(12, 56, 116, .18);
}

@media (max-width: 768px) {
	html.learning-round-scroll-locked,
	body.learning-round-scroll-locked {
		height: 100%;
	}

	body.learning-round-scroll-locked .learning-shell {
		min-height: 100vh;
		min-height: 100dvh;
		padding: 68px 12px 12px;
		place-items: start center;
	}

	body.learning-round-scroll-locked .learning-game.is-active {
		width: min(100%, 560px);
	}

	body.learning-round-scroll-locked .learning-game-card.is-question,
	body.learning-round-scroll-locked .learning-game-card.is-word {
		min-height: calc(100vh - 74px);
		min-height: calc(100dvh - 74px);
		padding: 14px 18px 16px;
	}
}

.learning-topbar {
	transition:
		transform .28s cubic-bezier(.22, 1, .36, 1),
		opacity .22s ease,
		box-shadow .22s ease,
		background-color .22s ease;
	will-change: transform;
}

.learning-body.learning-topbar-hidden .learning-topbar {
	transform: translate3d(0, calc(-100% - 14px), 0);
	opacity: 0;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.learning-topbar {
		transition: none;
	}
}

@media (max-width: 768px) {
	body.learning-round-scroll-locked .learning-game-card.is-prompt-fitted .learning-prompt {
		margin: 18px 0 14px;
	}

	body.learning-round-scroll-locked .learning-game-card.is-prompt-fitted .learning-question,
	body.learning-round-scroll-locked .learning-game-card.is-prompt-fitted .learning-example {
		margin-bottom: 8px;
		line-height: 1.35;
	}

	body.learning-round-scroll-locked .learning-game-card.is-prompt-fitted .learning-options {
		gap: 8px;
	}
}

.learning-result-modal .learning-result-icon {
	box-sizing: border-box;
	display: inline-flex;
	flex: 0 0 80px;
	align-items: center;
	justify-content: center;
	width: 80px;
	min-width: 80px;
	max-width: 80px;
	height: 80px;
	min-height: 80px;
	max-height: 80px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	line-height: 1;
}

.learning-result-modal .learning-result-icon i {
	display: block;
	flex: 0 0 auto;
	line-height: 1;
}

@media (max-width: 380px) {
	.learning-result-modal .learning-result-icon {
		flex-basis: 72px;
		width: 72px;
		min-width: 72px;
		max-width: 72px;
		height: 72px;
		min-height: 72px;
		max-height: 72px;
	}
}

.learning-result-modal [data-learning-feedback-next] {
	border-color: #155fbd;
	background: #155fbd;
	color: #fff;
	box-shadow: 0 0 0 0 rgba(21, 95, 189, .32);
	transform-origin: center;
	animation: learningResultNextPulse 2.25s ease-in-out infinite;
}

.learning-result-modal [data-learning-feedback-next]:hover,
.learning-result-modal [data-learning-feedback-next]:focus {
	border-color: #1972df;
	background: #1972df;
	color: #fff;
}

.learning-result-modal [data-learning-feedback-next] .learning-btn__arrow {
	display: inline-block;
	line-height: 1;
	animation: learningResultNextArrow 1s ease-in-out infinite;
}

@keyframes learningResultNextPulse {
	0% {
		background: #155fbd;
		border-color: #155fbd;
		box-shadow: 0 0 0 0 rgba(21, 95, 189, .28);
		transform: scale(1);
	}

	45% {
		background: #1972df;
		border-color: #1972df;
		box-shadow: 0 0 0 8px rgba(21, 95, 189, 0);
		transform: scale(1.015);
	}

	100% {
		background: #155fbd;
		border-color: #155fbd;
		box-shadow: 0 0 0 0 rgba(21, 95, 189, 0);
		transform: scale(1);
	}
}

@keyframes learningResultNextArrow {
	0%,
	100% {
		transform: translateX(0);
	}

	50% {
		transform: translateX(5px);
	}
}

@media (max-width: 768px) {
	body.learning-round-scroll-locked .learning-shell {
		padding-top: calc(var(--learning-mobile-topbar-height, 64px) + 12px);
	}

	body.learning-round-scroll-locked .learning-game-card.is-question,
	body.learning-round-scroll-locked .learning-game-card.is-word {
		min-height: calc(100vh - var(--learning-mobile-topbar-height, 64px) - 24px);
		min-height: calc(100dvh - var(--learning-mobile-topbar-height, 64px) - 24px);
	}
}
