/* Lou & Leo Core - frontend parcours */

.ll-core-shell,
.ll-core-archive {
	box-sizing: border-box;
	width: min(100%, 1120px);
	margin: 0 auto 32px;
	color: #172033;
	font-family: inherit;
}

.ll-core-shell *,
.ll-core-archive * {
	box-sizing: border-box;
}

.ll-core-notice {
	width: min(100%, 860px);
	margin: 18px auto;
	padding: 16px 18px;
	border: 1px solid #d7dde8;
	border-radius: 8px;
	background: #f8fafc;
	color: #334155;
	font-weight: 700;
}

.ll-core-notice--locked {
	border-color: #f1c97d;
	background: #fff8e8;
	color: #7a4b12;
}

.ll-core-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #ffffff;
	color: #172033;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.ll-core-button:hover,
.ll-core-button:focus {
	border-color: #FFA126;
	color: #FFA126;
	text-decoration: none;
	transform: translateY(-1px);
}

.ll-core-button--primary {
	border-color: #FFA126;
	background: #FFA126;
	color: #ffffff;
}

.ll-core-button--primary:hover,
.ll-core-button--primary:focus {
	background: #FFA126;
	border-color: #FFA126;
	color: #ffffff;
}

.ll-core-button--secondary {
	border-color: #FFA126;
	background: #ffffff;
	color: #FFA126;
}

.ll-core-button--ghost {
	border-color: transparent;
	background: #ffffff;
	color: #5A3A22;
}

.ll-core-button--secondary:hover,
.ll-core-button--secondary:focus {
	border-color: #FFA126;
	background: #ffffff;
	color: #FFA126;
}

.ll-core-button--ghost:hover,
.ll-core-button--ghost:focus {
	border-color: transparent;
	background: #ffffff;
	color: #5A3A22;
}

.ll-core-button--small {
	min-height: 36px;
	padding: 8px 12px;
	font-size: 0.88rem;
}

.ll-core-button--disabled {
	opacity: 0.48;
	cursor: not-allowed;
	transform: none;
}

.ll-core-archive {
	padding: 8px 0;
}

.ll-core-archive__header,
.ll-module__header,
.ll-activity__header {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
	margin: 0 0 18px;
}

.ll-core-archive__eyebrow,
.ll-module__eyebrow,
.ll-activity__eyebrow {
	margin: 0 0 4px;
	color: #64748b;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ll-core-archive__title,
.ll-module__title,
.ll-activity__title {
	margin: 0;
	color: #111827;
	font-size: 2rem;
	line-height: 1.12;
}

.ll-core-archive__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

.ll-core-module-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 170px;
	padding: 18px;
	border: 1px solid #d9e0ea;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.ll-core-module-card__meta {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	color: #64748b;
	font-size: 0.82rem;
	font-weight: 800;
}

.ll-core-module-card__status,
.ll-module-status,
.ll-module-word__badge,
.ll-module-activity__meta {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 5px 9px;
	border-radius: 999px;
	background: #eef2ff;
	color: #334155;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.1;
}

.ll-core-module-card__title {
	margin: 0;
	font-size: 1.12rem;
	line-height: 1.25;
}

.ll-core-module-card__title a {
	color: #172033;
	text-decoration: none;
}

.ll-core-module-card__title a:hover,
.ll-core-module-card__title a:focus {
	color: #1d4ed8;
	text-decoration: underline;
}

.ll-core-module-card__hint {
	margin: auto 0 0;
	color: #64748b;
	font-size: 0.92rem;
}

.ll-core-module-card.is-locked {
	background: #f8fafc;
	color: #64748b;
	box-shadow: none;
}

.ll-core-module-card.is-current {
	border-color: #93c5fd;
	background: #eff6ff;
}

.ll-core-module-card.is-completed {
	border-color: #86efac;
	background: #f0fdf4;
}

.ll-core-module-card.is-locked .ll-core-module-card__status,
.ll-core-button--disabled {
	background: #e2e8f0;
	color: #64748b;
}

.ll-core-module-card.is-completed .ll-core-module-card__status {
	background: #dcfce7;
	color: #166534;
}

.ll-core-module-card.is-current .ll-core-module-card__status {
	background: #dbeafe;
	color: #1d4ed8;
}

.ll-module,
.ll-activity,
.ll-word-card {
	padding: 22px;
	border: 1px solid #d9e0ea;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.ll-core-shell.ll-activity {
	border: 0;
	background: transparent;
	box-shadow: none;
}

.ll-module-instance {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.ll-module-instance__nav {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ll-module-instance__button {
	min-width: 128px;
}

.ll-module-instance__getting-started {
	display: flex;
	justify-content: center;
}

.ll-module-instance__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding: 18px;
	border: 1px solid #d9e0ea;
	border-radius: 8px;
	background: #ffffff;
}

.ll-module-word-card {
	position: relative;
	border-radius: 8px;
	isolation: isolate;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ll-module-word-card:hover {
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	transform: translateY(-4px) scale(1.02);
}

.ll-module-word-card__image {
	position: relative;
	display: block;
	height: 200px;
	border-radius: 8px;
	background: #f1f5f9;
	overflow: hidden;
}

.ll-module-word-card__img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
	object-position: center 58%;
	transform: translateY(-14px);
}

.ll-module-word-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #f1f5f9;
}

.ll-module-word-card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	border-radius: 8px;
	background: #16a34a;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.1;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.ll-module-word-card.ll-role-new::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 8px;
	box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.3), 0 6px 14px rgba(22, 163, 74, 0.24);
	pointer-events: none;
}

.ll-metacognition {
	margin-top: 24px;
	padding: 18px;
	border: 1px solid #d9e0ea;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.ll-metacognition__header {
	margin-bottom: 16px;
}

.ll-metacognition__header h2 {
	margin: 0 0 6px;
	font-size: 1.25rem;
	line-height: 1.2;
}

.ll-metacognition__header p {
	margin: 0;
	color: #475569;
	font-size: 0.92rem;
	line-height: 1.4;
}

.ll-metacognition__words {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ll-metacognition-word {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 14px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
}

.ll-metacognition-word__title {
	color: #111827;
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.2;
}

.ll-metacognition-word__choices {
	display: grid;
	gap: 8px;
}

.ll-metacognition-word__choices label {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	margin: 0;
	color: #172033;
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.25;
}

.ll-metacognition-word__comment {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	color: #334155;
	font-size: 0.88rem;
	font-weight: 800;
}

.ll-metacognition-word__comment textarea {
	width: 100%;
	min-height: 92px;
	padding: 10px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #ffffff;
	color: #172033;
	font: inherit;
	line-height: 1.35;
	resize: vertical;
}

.ll-metacognition__footer {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 14px;
}

.ll-metacognition__message {
	min-height: 20px;
	color: #64748b;
	font-size: 0.9rem;
	font-weight: 800;
}

.ll-metacognition__message.is-success {
	color: #166534;
}

.ll-metacognition__message.is-error {
	color: #b91c1c;
}

.ll-module-instance--locked {
	text-align: center;
}

.ll-module-instance__locked-text {
	margin: 0;
	color: #475569;
	font-weight: 700;
}

.ll-activity__module-link {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 8px 12px;
	border: 1px solid #d9e0ea;
	border-radius: 8px;
	color: #475569;
	font-weight: 800;
	text-decoration: none;
}

.ll-activity__module-link:hover,
.ll-activity__module-link:focus {
	border-color: #FFA126;
	color: #FFA126;
	text-decoration: none;
}

.ll-activity-game {
	margin: 18px 0 0;
	padding: 14px;
	border-radius: 8px;
	overflow-x: auto;
}

.ll-activity-game-placeholder {
	margin: 0;
	color: #64748b;
	font-weight: 800;
}

.ll-activity-nav,
.ll-activity-back {
	margin: 18px 0 0;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
}

.ll-activity-nav__progress {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 10px;
	color: #475569;
	font-weight: 900;
}

.ll-activity-nav__status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px;
	border: 1px solid #f59e0b;
	border-radius: 16px;
	color: #b45309;
	font-size: 0.9em;
}

.ll-activity-nav__status-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #f59e0b;
}

.ll-activity-nav__status.is-completed .ll-activity-nav__status-dot {
	background: #22c55e;
}

.ll-activity-nav__status.is-completed {
	border-color: #22c55e;
	color: #15803d;
}

.ll-activity-nav__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.ll-word-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: min(720px, calc(100dvh - 48px));
	margin-bottom: 16px;
}

.single-ll_orthographe .site,
.single-ll_orthographe .site-content,
.single-ll_orthographe .site-main,
.single-ll_orthographe #primary,
.single-ll_orthographe .content-area,
.single-ll_orthographe .content-container,
.single-ll_orthographe .content-wrap,
.single-ll_orthographe .entry,
.single-ll_orthographe .entry-header,
.single-ll_orthographe .entry-content,
.single-ll_orthographe .wp-site-blocks {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.single-ll_orthographe .entry-title {
	display: none !important;
}

.single-ll_activite .entry-title,
.single-ll_activite .wp-block-post-title {
	display: none !important;
}

.single-ll_activite .site,
.single-ll_activite .site-content,
.single-ll_activite .site-main,
.single-ll_activite main,
.single-ll_activite article,
.single-ll_activite #primary,
.single-ll_activite .content-area,
.single-ll_activite .content-container,
.single-ll_activite .content-wrap,
.single-ll_activite .site-inner,
.single-ll_activite .container,
.single-ll_activite .ast-container,
.single-ll_activite .inside-article,
.single-ll_activite .page-content,
.single-ll_activite .post,
.single-ll_activite .type-ll_activite,
.single-ll_activite .entry,
.single-ll_activite .entry-header,
.single-ll_activite .entry-content,
.single-ll_activite .wp-site-blocks,
.single-ll_activite .wp-block-post-content,
.single-ll_activite .content-bg,
.single-ll_activite .site-container {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.single-ll_activite .ll-core-shell,
.single-ll_activite .ll-activity {
	width: 100%;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.single-ll_activite .ll-activity-game {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow-x: visible;
}

.single-ll_activite .ll-activity-game > .sbo-game-shell {
	width: 100%;
}

.single-ll_activite .ll-activity-nav,
.single-ll_activite .ll-activity-back {
	margin: 6px 0 0;
	padding-top: 6px;
}

.single-ll_activite .ll-activity-nav__progress {
	margin: 0 0 4px;
	line-height: 1.1;
}

.single-ll_orthographe .ll-core-shell,
.single-ll_orthographe .ll-word-card {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.ll-word-card__header {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	text-align: center;
}

.ll-word-card__eyebrow {
	margin: 0;
	color: #64748b;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ll-word-card__title {
	margin: 0;
	color: #111827;
	font-size: 1.8rem;
	line-height: 1.12;
}

.ll-word-card__layout {
	display: grid;
	grid-template-columns: minmax(120px, 1fr) minmax(265px, 550px) minmax(220px, 1fr);
	gap: 24px;
	align-items: start;
	flex: 1 1 auto;
	min-height: 0;
}

.ll-word-card__main {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
}

.ll-word-card__side {
	min-width: 0;
}

.ll-word-card__side--right {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 8px;
}

.ll-word-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 78%;
	margin: 0 auto;
	border-radius: 16px;
	overflow: hidden;
}

.ll-word-image__img {
	display: block;
	width: 100%;
	max-height: clamp(220px, 52dvh, 560px);
	height: auto;
	object-fit: contain;
}

.ll-word-image--empty {
	aspect-ratio: 1 / 1;
	max-height: 420px;
	background: #f1f5f9;
}

.ll-word-audio {
	width: 100%;
}

.ll-word-audio audio,
.ll-word-card audio {
	display: block;
	width: 100%;
	border-radius: 8px;
	background: #eee8e2;
	overflow: hidden;
}

.ll-word-card audio::-webkit-media-controls-panel {
	background: #eee8e2;
}

.ll-word-extra-audio {
	display: block;
	align-items: center;
	padding: 10px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	background: #ffffff;
}

.ll-word-extra-audio--rule {
	background: #e8f6ec;
	border-color: #bde5c7;
}

.ll-word-extra-audio--exception {
	background: #e8f1ff;
	border-color: #bfd5fb;
}

.ll-word-extra-audio--help {
	background: #fff0df;
	border-color: #f4d0a8;
}

.ll-word-extra-audio__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.ll-word-extra-audio__label {
	color: #172033;
	font-size: 0.82rem;
	font-weight: 900;
}

.ll-word-extra-audio--rule audio,
.ll-word-extra-audio--rule audio::-webkit-media-controls-panel {
	background: #d9f0df;
}

.ll-word-extra-audio--exception audio,
.ll-word-extra-audio--exception audio::-webkit-media-controls-panel {
	background: #dbeaff;
}

.ll-word-extra-audio--help audio,
.ll-word-extra-audio--help audio::-webkit-media-controls-panel {
	background: #ffe4c5;
}

.ll-word-introduction {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding-right: 18px;
	padding-top: 8px;
	border-right: 1px solid #f4c98b;
}

.ll-word-introduction__image {
	display: block;
	width: 100%;
	max-height: 240px;
	border-radius: 14px;
	object-fit: contain;
}

.ll-word-introduction__image-button {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: transparent;
	cursor: zoom-in;
}

.ll-word-introduction__image-button:focus-visible {
	outline: 3px solid #ffa126;
	outline-offset: 4px;
}

.ll-word-introduction__zoom-icon {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 2px solid #ffa126;
	border-radius: 50%;
	background: #fff;
	color: #5a3a22;
	box-shadow: 0 3px 12px rgba(53, 54, 54, 0.24);
	pointer-events: none;
}

.ll-word-introduction__zoom-icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

.ll-word-introduction-modal[hidden] {
	display: none;
}

.ll-word-introduction-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: clamp(16px, 4vw, 48px);
}

.ll-word-introduction-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 24, 28, 0.88);
}

.ll-word-introduction-modal__stage {
	position: relative;
	z-index: 1;
	display: grid;
	width: min(1120px, 100%);
	height: min(82vh, 760px);
	min-width: 0;
	min-height: 0;
	place-items: center;
	padding: clamp(12px, 2vw, 24px);
	border: 3px solid #ffa126;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
	box-sizing: border-box;
	overflow: hidden;
}

.ll-word-introduction-modal__stage img {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	object-fit: contain;
}

.ll-word-introduction-modal__close {
	position: fixed;
	top: max(14px, env(safe-area-inset-top));
	right: max(14px, env(safe-area-inset-right));
	z-index: 3;
	display: inline-grid;
	width: 46px;
	height: 46px;
	place-items: center;
	padding: 0;
	border: 2px solid #ffa126;
	border-radius: 50%;
	background: #fff;
	color: #5a3a22;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.ll-word-introduction-modal__close:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.ll-word-introduction-modal__rotate {
	display: none;
}

body.ll-word-introduction-modal-open {
	overflow: hidden;
}

@media (max-width: 760px) and (orientation: portrait) {
	.ll-word-introduction-modal__stage {
		visibility: hidden;
	}

	.ll-word-introduction-modal__rotate {
		position: absolute;
		inset: 0;
		z-index: 2;
		display: grid;
		place-content: center;
		padding: 32px;
		background: #101820;
		color: #fff;
		text-align: center;
	}

	.ll-word-introduction-modal__rotate > span {
		font-size: 5rem;
		line-height: 1;
	}

	.ll-word-introduction-modal__rotate strong {
		margin-top: 12px;
		font-size: 1.5rem;
	}

	.ll-word-introduction-modal__rotate p {
		margin: 8px 0 0;
	}
}

.ll-word-introduction__title {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.65rem);
	line-height: 1.2;
}

.ll-word-introduction__text,
.ll-word-introduction__text p {
	line-height: 1.5;
}

.ll-word-introduction__text p {
	margin: 0 0 8px;
}

.ll-word-introduction__text p:last-child {
	margin-bottom: 0;
}

.ll-word-introduction__link {
	display: inline-flex;
	align-self: flex-start;
	font-weight: 700;
}

.ll-word-memory {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 9999;
	transform: translateY(-50%);
	font-family: inherit;
}

.ll-word-memory,
.ll-word-memory * {
	box-sizing: border-box;
}

.ll-word-memory__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 128px;
	padding: 10px 8px;
	border: 1px solid #D97A00;
	border-right: 0;
	border-radius: 14px 0 0 14px;
	background: #FFA126;
	color: #ffffff;
	font-weight: 900;
	line-height: 1.1;
	text-orientation: mixed;
	writing-mode: vertical-rl;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.ll-word-memory__toggle:hover,
.ll-word-memory__toggle:focus {
	background: #FFB347;
	color: #ffffff;
	outline: none;
}

.ll-word-memory__panel {
	position: absolute;
	top: 50%;
	right: 50px;
	width: min(320px, calc(100vw - 72px));
	padding: 14px;
	border: 1px solid #D97A00;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
	transform: translateY(-50%);
	max-height: calc(100vh - 24px);
	max-height: calc(100dvh - 24px);
	overflow-y: auto;
}

.ll-word-memory__close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #ffffff;
	color: #5A3A22;
	font-weight: 900;
	cursor: pointer;
}

.ll-word-memory__title {
	margin: 0 34px 12px 0;
	color: #5A3A22;
	font-size: 1rem;
	line-height: 1.2;
}

.ll-word-memory__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.ll-word-memory__input {
	width: 100%;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid #d9e0ea;
	border-radius: 8px;
	color: #172033;
	font: inherit;
}

.ll-word-memory__submit,
.ll-word-memory__choice,
.ll-word-memory__suggestion {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid #D97A00;
	border-radius: 8px;
	background: #FFA126;
	color: #ffffff;
	font-weight: 800;
	line-height: 1.1;
	cursor: pointer;
}

.ll-word-memory__submit:hover,
.ll-word-memory__submit:focus,
.ll-word-memory__choice:hover,
.ll-word-memory__choice:focus,
.ll-word-memory__suggestion:hover,
.ll-word-memory__suggestion:focus {
	background: #FFB347;
	color: #ffffff;
}

.ll-word-memory__result {
	margin-top: 12px;
	color: #475569;
	font-size: 0.92rem;
	line-height: 1.4;
}

.ll-word-memory__result p {
	margin: 0 0 8px;
}

.ll-word-memory__choice {
	width: 100%;
	margin-top: 6px;
	background: #ffffff;
	color: #5A3A22;
}

.ll-word-memory__suggestions {
	display: grid;
	gap: 6px;
	max-height: min(280px, 40vh);
	max-height: min(280px, 40dvh);
	margin-top: 8px;
	overflow-y: auto;
}

.ll-word-memory__suggestions[hidden] {
	display: none;
}

.ll-word-memory__suggestion {
	justify-content: flex-start;
	width: 100%;
	background: #ffffff;
	color: #5A3A22;
	text-align: left;
}

.ll-word-memory-card__title {
	margin: 0 0 10px;
	color: #5A3A22;
	font-size: 1.1rem;
	line-height: 1.2;
}

.ll-word-memory-card__image {
	display: block;
	width: 100%;
	max-height: 220px;
	object-fit: contain;
	border-radius: 8px;
	background: #f8fafc;
}

.ll-word-memory-card__audio {
	display: block;
	width: 100%;
	margin-top: 10px;
	border-radius: 8px;
}

.ll-word-nav,
.ll-word-back {
	margin: auto 0 0;
	padding-top: 12px;
	border-top: 1px solid #e5e7eb;
}

.ll-word-nav__progress {
	margin: 0 0 8px;
	color: #475569;
	font-weight: 900;
	text-align: center;
}

.ll-word-nav__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.ll-word-nav__link {
	gap: 6px;
	min-width: 0;
}

.ll-word-nav__arrow {
	font-size: 1.1rem;
	line-height: 1;
}

.ll-archive-page {
	box-sizing: border-box;
	width: min(1300px, calc(100% - 32px));
	margin: 32px auto;
}

.ll-archive-page * {
	box-sizing: border-box;
}

.ll-archive-head {
	margin-bottom: 18px;
}

.ll-archive-title {
	margin: 0 0 8px;
}

.ll-archive-description {
	opacity: 0.9;
}

.ll-progress-box {
	margin: 0 0 28px;
	padding: 16px 18px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	background: #fff;
}

.ll-progress-top {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.ll-progress-label {
	font-size: 1.05em;
	font-weight: 900;
}

.ll-progress-count {
	font-weight: 700;
	opacity: 0.9;
}

.ll-progress-track {
    width: 100%;
    height: 16px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    box-sizing: border-box;
    overflow: hidden;
}

.ll-progress-fill {
	height: 100%;
	border-radius: 999px;
	background: #4CAF50;
	transition: width 0.3s ease;
}

.ll-progress-percent {
	margin-top: 8px;
	font-weight: 800;
	text-align: right;
}

.ll-archive-tabs__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 22px;
	padding: 5px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	background: #f1f5f9;
}

.ll-archive-tabs__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid #FFA126 !important;
	border-radius: 8px;
	background: #ffffff !important;
	color: #FFA126 !important;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none !important;
	appearance: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.ll-archive-tabs__tab:hover,
.ll-archive-tabs__tab:focus,
.ll-archive-tabs__tab:focus-visible {
	border-color: #FFA126 !important;
	background: #ffffff !important;
	color: #FFA126 !important;
	text-decoration: none;
	transform: translateY(-1px);
}

.ll-archive-tabs__tab.is-active,
.ll-archive-tabs__tab.is-active:hover,
.ll-archive-tabs__tab.is-active:focus,
.ll-archive-tabs__tab.is-active:focus-visible {
	border-color: #FFA126 !important;
	background: #FFA126 !important;
	color: #ffffff !important;
}

.ll-archive-tabs__panel[hidden] {
	display: none;
}

.ll-archive-tabs__empty {
	margin: 0;
	padding: 24px;
	border-radius: 14px;
	background: #ffffff;
	color: #64748b;
	font-weight: 700;
	text-align: center;
}

.ll-archive-unlock-notice {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-top: 22px;
	padding: 16px 18px;
	border: 1px solid #FFA126;
	border-radius: 16px;
	background: #fff8ee;
	color: #5A3A22;
}

.ll-archive-unlock-notice__image {
	flex: 0 0 auto;
	width: clamp(64px, 10vw, 104px);
	height: auto;
}

.ll-archive-unlock-notice__message {
	margin: 0;
	font-size: clamp(1rem, 2.8vw, 1.15rem);
	font-weight: 800;
	line-height: 1.4;
}

@media (max-width: 480px) {
	.ll-archive-unlock-notice {
		flex-direction: column;
		padding: 16px;
		text-align: center;
	}
}

.ll-module-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 14px;
	row-gap: 18px;
}

.ll-module-card {
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.ll-module-locked {
	position: relative;
	opacity: 0.72;
}

.ll-module-locked::after {
	content: "🔒";
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 1.2em;
}

.ll-module-link-locked {
	display: inline-block;
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 10px 12px;
	border-radius: 12px;
	background: #d9d9d9;
	color: #555;
	font-weight: 800;
	text-align: center;
	cursor: pointer;
	pointer-events: auto;
}

.ll-module-card-inner {
	display: flex;
	flex-direction: column;
	min-height: 170px;
	padding: 14px;
}

.ll-module-title {
	margin-bottom: 6px;
	font-weight: 900;
	line-height: 1.25;
}

.ll-module-number {
	margin-bottom: 12px;
	font-size: 0.92em;
	font-weight: 700;
	opacity: 0.8;
}

.ll-module-meta {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.ll-module-card__type2-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin: -4px -4px 14px;
	border-radius: 14px;
	background: #eef2f5;
}

.ll-module-card__type2-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ll-module-meta-left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
}

.ll-module-activity-progress {
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.ll-status-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 0.85em;
	font-weight: 800;
	line-height: 1;
}

.ll-badge-doing {
	background: #ffe6c9;
	color: #8a4b00;
}

.ll-badge-todo {
	background: #efefef;
	color: #555;
}

.ll-badge-done {
	background: #dff5e1;
	color: #1f6b2a;
}

.ll-comment-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.05em;
	line-height: 1;
}

.ll-module-action {
	margin-top: auto;
}

.ll-module-link {
	width: 100%;
}

.ll-module-link:hover,
.ll-module-link:focus {
	color: #fff;
	text-decoration: none;
}

.ll-module-public-description__objective,
.ll-module-public-description__advice {
	padding-top: 40px;
}

.ll-module-public-description__objective > h3,
.ll-module-public-description__advice > h3 {
	margin-top: 0;
}

.ll-module-public-description__getting-started {
	display: block;
	margin-top: 24px !important;
	margin-bottom: 12px !important;
}

.ll-pedagogy {
	--ll-pedagogy-ink: #283b67;
	display: grid;
	gap: clamp(24px, 4vw, 48px);
	width: min(100%, 1120px);
	margin: clamp(32px, 6vw, 72px) auto 0;
	color: #3f4657;
}

.ll-pedagogy::after {
	content: "";
	display: block;
	width: min(92%, 920px);
	aspect-ratio: 920 / 54;
	margin: -18px auto 8px;
	background: url("../images/separateur-etoile.webp") center / contain no-repeat;
}

.ll-pedagogy-word-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(18px, 3vw, 32px);
}

.ll-pedagogy-word-card {
	display: grid;
	grid-template-columns: minmax(105px, 38%) 1fr;
	align-items: center;
	min-width: 0;
	padding: clamp(18px, 3vw, 30px);
	border: 1px solid #e7e9ef;
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(45, 59, 91, 0.06);
}

.ll-pedagogy-word-card__image { width: 100%; max-height: 250px; object-fit: contain; }
.ll-pedagogy-word-card__body { min-width: 0; }
.ll-pedagogy-word-card__difficulty-row { display: flex; gap: 6px; align-items: baseline; justify-content: center; min-width: 0; margin: 0 0 8px; }
.ll-pedagogy-word-card__difficulty { display: inline; flex: 0 1 auto; width: auto !important; min-width: 0; margin: 0 !important; color: #7b6ea8; font-size: 1rem; font-weight: 800; line-height: 1.25; }
.ll-pedagogy-word-card__short-label { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: auto; min-width: calc(1em + 4px); height: calc(1em + 4px); margin: 0; padding: 0 3px; border-radius: 999px; color: #765d95; background: #eee8fb; font-size: 1rem; font-weight: 900; line-height: 1; vertical-align: baseline; }
.ll-pedagogy-word-card__word { display: block; min-width: 0; }
.ll-pedagogy-word-card__word h3 { margin: 0; color: var(--ll-pedagogy-ink); font-size: clamp(1.25rem, 2.3vw, 2rem); line-height: 1.15; white-space: nowrap; }
.ll-pedagogy-word-card__description p { margin: 10px 0 0; line-height: 1.6; }

.ll-pedagogy-know,
.ll-pedagogy-conclusion {
	display: flex;
	position: relative;
	gap: 20px;
	align-items: center;
	padding: clamp(20px, 3vw, 30px);
	border-radius: 24px;
}

.ll-pedagogy-know { background: #fff8dc; }
.ll-pedagogy-know h3 { margin: 0 0 5px; color: #d59b13; font-size: 1.3rem; }
.ll-pedagogy-know p, .ll-pedagogy-conclusion p { margin: 0; line-height: 1.65; }

.ll-pedagogy-icon { display: grid; flex: 0 0 58px; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: currentColor; background: rgba(255,255,255,.7); }
.ll-pedagogy-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ll-pedagogy-icon--bulb { color: #e4a91b; background: #fff0af; }

.ll-pedagogy-heading { position: relative; padding: 0 45px 18px; text-align: center; }
.ll-pedagogy-heading h2 { max-width: 820px; margin: 0 auto; color: var(--ll-pedagogy-ink); font-size: clamp(1.65rem, 4vw, 2.65rem); line-height: 1.2; }
.ll-pedagogy-heading::before, .ll-pedagogy-heading::after { content: ""; position: absolute; top: 35%; width: 28px; height: 3px; border-radius: 3px; background: #f5c842; box-shadow: 0 -10px 0 -1px #f5c842, 0 10px 0 -1px #f5c842; transform: rotate(18deg); }
.ll-pedagogy-heading::before { left: 5px; }
.ll-pedagogy-heading::after { right: 5px; transform: rotate(-18deg); }
.ll-pedagogy-heading > span { position: absolute; bottom: 0; left: 50%; width: 105px; border-bottom: 3px dotted #e9bd38; transform: translateX(-50%); }

.ll-pedagogy-section {
	display: grid;
	grid-template-columns: minmax(210px, 34%) 1fr;
	align-items: stretch;
	border-radius: 32px;
	overflow: hidden;
}
.ll-pedagogy-section__intro { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-width: 0; padding: clamp(24px, 4vw, 44px); border-right: 2px solid rgba(255,255,255,.7); }
.ll-pedagogy-section__heading { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 12px; width: fit-content !important; max-width: 100%; margin: 0 auto !important; padding: 0 !important; }
.ll-pedagogy-section__heading h3 { flex: 0 1 auto; width: auto !important; max-width: min(100%, 260px); margin: 0 !important; padding: 0 !important; color: currentColor; font-size: clamp(1.25rem, 2.5vw, 1.8rem); line-height: 1.25; text-align: left !important; }
.ll-pedagogy-section__intro > img { display: block !important; width: min(100%, 220px) !important; max-width: 220px !important; max-height: 190px; height: auto !important; margin: 0 auto !important; object-fit: contain; }
.ll-pedagogy-section__content { display: flex; align-items: center; min-width: 0; padding: clamp(24px, 4vw, 48px); }
.ll-pedagogy-section__content ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ll-pedagogy-section__content li { position: relative; padding-left: 26px; line-height: 1.55; }
.ll-pedagogy-section__content li::before { content: "★"; position: absolute; left: 0; top: .05em; color: currentColor; font-size: .85em; }
.ll-pedagogy-section--skills { color: #7358a2; background: #f1ecfb; }
.ll-pedagogy-section--benefits { color: #c75d80; background: #fff0f4; }
.ll-pedagogy-section--advice { color: #258f91; background: #e9f9f7; }
.ll-pedagogy-section .ll-pedagogy-icon { width: 82px; height: 82px; flex: 0 0 82px; margin: 0 !important; }
.ll-pedagogy-section .ll-pedagogy-icon svg { width: 48px; height: 48px; }

.ll-pedagogy-conclusion { margin-bottom: 32px; border: 2px dashed #eccd66; background: #fffdf5; }
.ll-pedagogy-conclusion .ll-pedagogy-icon { color: #e4889f; background: #fff0f3; }
.ll-pedagogy-conclusion__stars { margin-left: auto; color: #f1c644; white-space: nowrap; letter-spacing: 3px; }

@media (max-width: 760px) {
	.ll-pedagogy-word-cards, .ll-pedagogy-section { grid-template-columns: 1fr; }
	.ll-pedagogy-word-card { grid-template-columns: minmax(85px, 32%) 1fr; border-radius: 24px; }
	.ll-pedagogy-section__intro { border-right: 0; border-bottom: 2px solid rgba(255,255,255,.7); }
	.ll-pedagogy-section__intro img { max-height: 150px; }
	.ll-pedagogy-heading { padding-inline: 30px; }
	.ll-pedagogy-heading::before, .ll-pedagogy-heading::after { width: 18px; }
}

@media (max-width: 480px) {
	.ll-pedagogy { gap: 24px; }
	.ll-pedagogy-word-card { grid-template-columns: 1fr; text-align: center; }
	.ll-pedagogy-word-card__image { max-height: 170px; }
	.ll-pedagogy-word-card__difficulty-row { justify-content: center; }
	.ll-pedagogy-know, .ll-pedagogy-conclusion { align-items: flex-start; gap: 12px; padding: 18px; }
	.ll-pedagogy-icon { flex-basis: 46px; width: 46px; height: 46px; }
	.ll-pedagogy-icon svg { width: 27px; height: 27px; }
	.ll-pedagogy-conclusion__stars { display: none; }
}

@media (min-width: 768px) and (max-width: 1366px) {
	.ll-module-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		column-gap: 26px !important;
		row-gap: 26px !important;
	}
}

@media (min-width: 1367px) {
	.ll-module-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		column-gap: 16px;
		row-gap: 18px;
	}
}

.tax-type-classe .ll-core-archive-word-thumbs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 8px 0 12px;
}

.tax-type-classe .ll-core-archive-word-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border: 1px solid #d9e0ea;
	border-radius: 8px;
	background: #f8fafc;
	overflow: hidden;
}

.tax-type-classe .ll-core-archive-word-thumb__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ll-child-dashboard,
.ll-dashboard,
.ll-dashboard-scoring,
.ll-dashboard-meta-score,
.ll-dashboard-bilan,
.ll-difficultes-detail {
	box-sizing: border-box;
	width: 100%;
	color: #172033;
}

.ll-child-dashboard *,
.ll-dashboard *,
.ll-dashboard-scoring *,
.ll-dashboard-meta-score *,
.ll-dashboard-bilan *,
.ll-difficultes-detail * {
	box-sizing: border-box;
}

.ll-child-dashboard__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}

.ll-child-dashboard__panel {
	min-width: 0;
}

.ll-child-dashboard__panel:nth-child(2) {
	padding: 14px;
	border-radius: 12px;
	background: #f8fafc;
}

.ll-dashboard,
.ll-dashboard-scoring,
.ll-dashboard-meta-score {
	margin-bottom: 30px;
}

.ll-dashboard h3,
.ll-dashboard-scoring h3,
.ll-dashboard-meta-score h3,
.ll-dashboard-bilan h3,
.ll-difficultes-detail h2 {
	margin: 0 0 10px;
	line-height: 1.2;
}

.ll-score-intro,
.ll-bilan-intro,
.ll-difficultes-intro {
	margin: 0 0 12px;
	color: #475569;
	font-size: 0.9em;
	line-height: 1.4;
}

.ll-score-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 12px;
}

.ll-score-stats div,
.ll-word-row,
.ll-score-word,
.ll-meta-score-box,
.ll-meta-score-empty,
.ll-bilan-skills,
.ll-bilan-word,
.ll-bilan-success,
.ll-difficultes-empty,
.ll-difficulte-card {
	border-radius: 12px;
}

.ll-score-stats div {
	padding: 10px;
	text-align: center;
}

.ll-score-stats strong {
	display: block;
	font-size: 1.3em;
	line-height: 1.1;
}

.ll-score-stats span {
	font-size: 0.78em;
}

.ll-score-bar,
.ll-bilan-skill-bar,
.ll-difficulte-bar {
    height: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    box-sizing: border-box;
    overflow: hidden;
}

.ll-score-bar div,
.ll-bilan-skill-bar div,
.ll-difficulte-bar div {
	height: 100%;
	border-radius: 999px;
	background: #2e7d32;
}

.ll-score-percent {
	margin: 4px 0 0;
	color: #64748b;
	font-size: 0.82em;
	text-align: right;
}

.ll-dashboard-list,
.ll-score-list,
.ll-bilan-list,
.ll-meta-score-words {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ll-score-list {
	margin-top: 14px;
}

.ll-word-row,
.ll-score-word,
.ll-bilan-word {
	padding: 10px;
}

.ll-dashboard-list .ll-word-row + .ll-word-row {
	border-top: 1px solid #FFA126;
	padding-top: 16px;
}

.ll-meta-score-box,
.ll-meta-score-empty,
.ll-bilan-success,
.ll-difficultes-empty {
	padding: 14px;
	line-height: 1.45;
}

.ll-word-line,
.ll-score-word-top {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	justify-content: space-between;
	line-height: 1.25;
}

.ll-word-status,
.ll-score-word-top span {
	font-size: 0.82em;
	font-weight: 800;
	white-space: nowrap;
}

.ll-success,
.ll-score-acquis span {
	color: #2e7d32;
}

.ll-error,
.ll-score-difficile span {
	color: #d35400;
}

.ll-score-fragile span {
	color: #f59e0b;
}

.ll-score-nouveau span,
.ll-score-encours span {
	color: #555555;
}

.ll-word-comment,
.ll-score-word-details,
.ll-bilan-word-help,
.ll-meta-score-box p,
.ll-meta-score-empty {
	margin-top: 6px;
	color: #475569;
	font-size: 0.88em;
	line-height: 1.4;
}

.ll-word-module-link {
	display: inline-block;
	margin-top: 8px;
	padding: 6px 9px;
	border-radius: 8px;
	color: #475569;
	font-size: 0.82em;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.ll-word-module-link:hover,
.ll-word-module-link:focus {
	color: #172033;
	text-decoration: none;
}

.ll-word-pagination,
.ll-pagination {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
	font-size: 0.85em;
}

.ll-word-pagination {
	justify-content: center;
}

.ll-word-pagination a,
.ll-word-pagination span.disabled {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	color: #172033;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
}

.ll-word-pagination span.disabled {
	color: #888888;
}

.ll-pagination a,
.ll-pagination span.disabled {
	font-weight: 700;
	text-decoration: none;
}

.ll-pagination span.disabled {
	color: #94a3b8;
}

.ll-page-count {
	color: #64748b;
	font-size: 0.82em;
	font-weight: 700;
}

.ll-meta-score-box + .ll-meta-score-box {
	margin-top: 10px;
}

.ll-meta-score-words {
	margin-bottom: 12px;
}

.ll-meta-score-words a,
.ll-bilan-word-title {
	font-weight: 800;
	text-decoration: none;
}

.ll-bilan-section-title {
	margin: 30px 0 10px;
	font-weight: 900;
}

.ll-bilan-skills {
	padding: 12px;
	margin-bottom: 5px;
}

.ll-bilan-skill-row {
	margin-bottom: 10px;
}

.ll-bilan-skill-row:last-child {
	margin-bottom: 0;
}

.ll-bilan-skill-label {
	margin-bottom: 5px;
	font-size: 0.9em;
	font-weight: 800;
}

.ll-plus-details {
	color: #90EE90;
	font-size: 0.9em;
	line-height: 1.4;
	opacity: 0.8;
	text-decoration: none;
}

.ll-bilan-success p {
	margin: 0 0 8px;
}

.ll-bilan-success p:last-child {
	margin-bottom: 0;
}

.ll-difficultes-intro {
	margin-bottom: 20px;
}

.ll-difficultes-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.ll-difficulte-card {
	padding: 14px;
}

.ll-difficulte-card h3 {
	margin: 0 0 10px;
	font-size: 0.95em;
	line-height: 1.25;
}

.ll-difficulte-percent {
	margin-bottom: 8px;
	font-size: 1.35em;
	font-weight: 900;
}

.ll-difficulte-bar {
	height: 9px;
	margin-bottom: 10px;
}

.ll-difficulte-stats {
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: #64748b;
	font-size: 0.85em;
}

.ll-retour-dashboard {
	margin-top: 40px;
	text-align: center;
}

.ll-retour-dashboard-btn {
	padding: 12px 18px;
}

.ll-retour-dashboard-btn:hover,
.ll-retour-dashboard-btn:focus {
	transform: translateY(-1px);
}

body:has(.ll-child-dashboard) .site,
body:has(.ll-dashboard) .site,
body:has(.ll-dashboard-scoring) .site,
body:has(.ll-dashboard-meta-score) .site,
body:has(.ll-dashboard-bilan) .site,
body:has(.ll-difficultes-detail) .site,
body:has(.ll-child-dashboard) .site-content,
body:has(.ll-dashboard) .site-content,
body:has(.ll-dashboard-scoring) .site-content,
body:has(.ll-dashboard-meta-score) .site-content,
body:has(.ll-dashboard-bilan) .site-content,
body:has(.ll-difficultes-detail) .site-content,
body:has(.ll-child-dashboard) .site-main,
body:has(.ll-dashboard) .site-main,
body:has(.ll-dashboard-scoring) .site-main,
body:has(.ll-dashboard-meta-score) .site-main,
body:has(.ll-dashboard-bilan) .site-main,
body:has(.ll-difficultes-detail) .site-main,
body:has(.ll-child-dashboard) #primary,
body:has(.ll-dashboard) #primary,
body:has(.ll-dashboard-scoring) #primary,
body:has(.ll-dashboard-meta-score) #primary,
body:has(.ll-dashboard-bilan) #primary,
body:has(.ll-difficultes-detail) #primary,
body:has(.ll-child-dashboard) .content-area,
body:has(.ll-dashboard) .content-area,
body:has(.ll-dashboard-scoring) .content-area,
body:has(.ll-dashboard-meta-score) .content-area,
body:has(.ll-dashboard-bilan) .content-area,
body:has(.ll-difficultes-detail) .content-area,
body:has(.ll-child-dashboard) .content-container,
body:has(.ll-dashboard) .content-container,
body:has(.ll-dashboard-scoring) .content-container,
body:has(.ll-dashboard-meta-score) .content-container,
body:has(.ll-dashboard-bilan) .content-container,
body:has(.ll-difficultes-detail) .content-container,
body:has(.ll-child-dashboard) .content-wrap,
body:has(.ll-dashboard) .content-wrap,
body:has(.ll-dashboard-scoring) .content-wrap,
body:has(.ll-dashboard-meta-score) .content-wrap,
body:has(.ll-dashboard-bilan) .content-wrap,
body:has(.ll-difficultes-detail) .content-wrap,
body:has(.ll-child-dashboard) .entry,
body:has(.ll-dashboard) .entry,
body:has(.ll-dashboard-scoring) .entry,
body:has(.ll-dashboard-meta-score) .entry,
body:has(.ll-dashboard-bilan) .entry,
body:has(.ll-difficultes-detail) .entry,
body:has(.ll-child-dashboard) .entry-header,
body:has(.ll-dashboard) .entry-header,
body:has(.ll-dashboard-scoring) .entry-header,
body:has(.ll-dashboard-meta-score) .entry-header,
body:has(.ll-dashboard-bilan) .entry-header,
body:has(.ll-difficultes-detail) .entry-header,
body:has(.ll-child-dashboard) .entry-content,
body:has(.ll-dashboard) .entry-content,
body:has(.ll-dashboard-scoring) .entry-content,
body:has(.ll-dashboard-meta-score) .entry-content,
body:has(.ll-dashboard-bilan) .entry-content,
body:has(.ll-difficultes-detail) .entry-content,
body:has(.ll-child-dashboard) .wp-site-blocks,
body:has(.ll-dashboard) .wp-site-blocks,
body:has(.ll-dashboard-scoring) .wp-site-blocks,
body:has(.ll-dashboard-meta-score) .wp-site-blocks,
body:has(.ll-dashboard-bilan) .wp-site-blocks,
body:has(.ll-difficultes-detail) .wp-site-blocks,
body:has(.ll-child-dashboard) .wp-block-post-content,
body:has(.ll-dashboard) .wp-block-post-content,
body:has(.ll-dashboard-scoring) .wp-block-post-content,
body:has(.ll-dashboard-meta-score) .wp-block-post-content,
body:has(.ll-dashboard-bilan) .wp-block-post-content,
body:has(.ll-difficultes-detail) .wp-block-post-content,
body:has(.ll-child-dashboard) .content-bg,
body:has(.ll-dashboard) .content-bg,
body:has(.ll-dashboard-scoring) .content-bg,
body:has(.ll-dashboard-meta-score) .content-bg,
body:has(.ll-dashboard-bilan) .content-bg,
body:has(.ll-difficultes-detail) .content-bg,
body:has(.ll-child-dashboard) .site-container,
body:has(.ll-dashboard) .site-container,
body:has(.ll-dashboard-scoring) .site-container,
body:has(.ll-dashboard-meta-score) .site-container,
body:has(.ll-dashboard-bilan) .site-container,
body:has(.ll-difficultes-detail) .site-container {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

@media (max-width: 1024px) {
	.ll-child-dashboard__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ll-difficultes-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.ll-core-shell,
	.ll-core-archive {
		width: 100%;
		margin-bottom: 24px;
	}

	.ll-module,
	.ll-activity,
	.ll-word-card {
		padding: 16px;
	}

	.ll-core-archive__title,
	.ll-module__title,
	.ll-activity__title {
		font-size: 1.55rem;
	}

	.ll-core-archive__header,
	.ll-module__header,
	.ll-activity__header {
		flex-direction: column;
		align-items: stretch;
	}

	.ll-core-archive__grid {
		grid-template-columns: 1fr;
	}

	.ll-module-instance__nav {
		justify-content: center;
	}

	.ll-module-instance__button {
		flex: 1 1 auto;
		min-width: 0;
	}

	.ll-module-instance__button:nth-child(3) {
		flex-basis: 100%;
	}

	.ll-module-instance__grid {
		gap: 14px;
		padding: 14px;
	}

	.ll-metacognition__words {
		grid-template-columns: 1fr;
	}

	.ll-metacognition__footer,
	.ll-metacognition__footer .ll-core-button {
		width: 100%;
	}

	.ll-module-word-card__image {
		height: 170px;
	}

	.ll-module-word-card__img {
		height: 164px;
	}

	.ll-activity-nav__links {
		grid-template-columns: 1fr;
	}

	.ll-child-dashboard__grid,
	.ll-difficultes-grid {
		grid-template-columns: 1fr;
	}

	.ll-score-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ll-word-line,
	.ll-score-word-top {
		align-items: flex-start;
	}

	.ll-word-card {
		min-height: calc(100dvh - 24px);
		gap: 12px;
	}

	.ll-word-card__title {
		font-size: 1.45rem;
	}

	.ll-word-card__layout {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ll-word-card__side--left {
		display: none;
	}

	.ll-word-card__side--left.ll-word-introduction {
		display: flex;
		order: -1;
		padding: 0 0 16px;
		border-right: 0;
		border-bottom: 1px solid #f4c98b;
	}

	.ll-word-introduction__image {
		width: min(100%, 430px);
		max-height: 260px;
		margin-inline: auto;
	}

	.ll-word-introduction__image-button {
		width: min(100%, 430px);
		margin-inline: auto;
	}

	.ll-word-card__side--right {
		gap: 8px;
		padding-top: 0;
	}

	.ll-word-image {
		width: min(100%, 430px);
	}

	.ll-word-image__img {
		max-height: 42dvh;
	}

	.ll-word-extra-audio {
		padding: 8px;
	}

	.ll-word-nav {
		position: sticky;
		bottom: 0;
		z-index: 5;
		margin-right: -16px;
		margin-left: -16px;
		padding: 10px 16px 0;
		background: #ffffff;
	}

	.ll-word-nav__links {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.ll-word-nav__link {
		width: 100%;
		flex-direction: column;
		gap: 4px;
		min-height: 48px;
		padding: 8px 6px;
		font-size: 0.82rem;
		white-space: nowrap;
	}

	.ll-core-button,
	.ll-activity__module-link {
		width: 100%;
	}
}

@media (min-width: 768px) {
	.ll-module-instance__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (min-width: 761px) {
	.single-ll_orthographe .ll-word-card {
		gap: 8px;
		min-height: 0;
		padding-bottom: 10px;
	}

	.ll-word-card__layout {
		grid-template-columns: minmax(120px, 1fr) minmax(245px, 480px) minmax(220px, 1fr) !important;
		gap: 18px;
		flex: 0 1 auto;
	}

	.ll-word-card__side {
		display: block;
		min-height: 1px;
	}

	.ll-word-card__side--right {
		display: flex;
	}

	.ll-word-card__side--left.ll-word-introduction {
		display: flex;
	}

	.ll-word-card__main {
		gap: 8px;
	}

	.ll-word-image {
		width: 70%;
	}

	.ll-word-image__img {
		max-height: clamp(190px, 46dvh, 500px);
	}

	.ll-word-audio,
	.ll-word-audio audio,
	.ll-word-card audio {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
	}

	.ll-word-nav,
	.ll-word-back {
		margin: 4px 0 0;
		padding-top: 4px;
	}

	.ll-word-nav__progress {
		margin: 0 0 4px;
		line-height: 1.1;
	}

	.ll-word-nav__links {
		gap: 8px;
	}

	.ll-word-nav__link {
		min-height: 36px;
		padding: 7px 10px;
	}
}
