/* =====================================================================
   Wordiloo — feuille de style du front
   Charte : gabarit Poésies 123 (Poppins / Plus Jakarta Sans / Lora,
   cartes arrondies, en-tête dégradé), en deux couleurs :
   VERT (couleur de marque : Just Color = bleu, Poésies 123 = or, Wordiloo = vert)
   + ORANGE complémentaire (--wl-pop : actions principales, niveau 2, accents, bloc « Crée ta grille »).
   Toutes les couleurs passent par les variables ci-dessous.
   ===================================================================== */

:root {
	--wl-ink: #14231a;
	--wl-muted: #5b6b5f;
	--wl-line: #dcebd6;
	--wl-bg: #f4f9f0;
	--wl-panel: #ffffff;
	--wl-soft: #e9f6e2;
	--wl-header: #1d5c3a;
	--wl-header-2: #2b7a4c;
	--wl-nav: #0f2e1d;
	--wl-accent: #7ccf4f;       /* l'« or » de Poésies 123, version vert vif */
	--wl-accent-light: #a6e57f;
	--wl-tag-bg: #ddf3cf;
	--wl-tag-hover: #c7eab3;
	--wl-tag-border: #b6dfa0;
	--wl-link: #22743e;
	--wl-link-hover: #155a2c;
	/* Couleur complémentaire : orange vif (boutons d'action, niveau 2, accents ludiques). */
	--wl-pop: #ff8a3d;
	--wl-pop-light: #ffb27a;
	--wl-pop-soft: #fff1e4;
	--wl-pop-border: #ffd0aa;
	--wl-pop-ink: #3d1a05;      /* texte sur fond orange (contraste élevé) */
	--wl-pop-text: #b4500f;     /* orange lisible sur fond blanc */
	--wl-warm: var(--wl-pop);
	--wl-warm-dark: var(--wl-pop-text);
	--wl-mark: rgba(124, 207, 79, .45);
	--wl-font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--wl-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--wl-font-serif: 'Lora', Georgia, 'Times New Roman', serif;
	--wl-radius: 18px;
	--wl-radius-sm: 10px;
	--wl-shadow: 0 18px 44px -36px rgba(10, 60, 30, .5);
	--wl-container: 1180px;
	--wl-gutter: 28px;
	--wl-gap: 5.6rem;
}
@media (max-width: 700px) {
	:root { --wl-gutter: 16px; --wl-gap: 4rem; }
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--wl-bg);
	color: var(--wl-ink);
	font-family: var(--wl-font-body);
	font-size: 1.7rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--wl-link); }
a:hover, a:focus { color: var(--wl-link-hover); }
h1, h2, h3, h4 { font-family: var(--wl-font-head); color: var(--wl-ink); letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--wl-accent); outline-offset: 2px; border-radius: 4px; }
.wl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wl-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: .8rem 1.4rem; border-radius: 8px; z-index: 100; }
.wl-skip:focus { left: 8px; }
.wl-wrap { width: calc(100% - 2 * var(--wl-gutter)); max-width: var(--wl-container); margin: 0 auto; }
.wl-main { padding: 2.4rem 0 6rem; min-height: 60vh; }
.wl-center { text-align: center; }
.wl-hp { position: absolute; left: -9999px; }

.wl-icon { width: 2rem; height: 2rem; flex: none; vertical-align: -.35em; }
.wl-icon--big { width: 4rem; height: 4rem; stroke-width: 1.6; }
.wl-icon--h2 { width: 3rem; height: 3rem; margin-right: 1rem; color: var(--wl-link); vertical-align: -.2em; }

/* ===== Boutons, liens, puces ===== */
.wl-btn {
	display: inline-flex; align-items: center; gap: .8rem;
	background: var(--wl-accent); color: var(--wl-nav) !important;
	border: 1px solid transparent; border-radius: 999px;
	padding: 1rem 2rem;
	font-family: var(--wl-font-head); font-weight: 600; font-size: 1.5rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .2s, transform .1s;
}
.wl-btn:hover, .wl-btn:focus-visible { background: var(--wl-accent-light); }
.wl-btn:active { transform: translateY(1px); }
.wl-btn--ghost { background: var(--wl-panel); border-color: var(--wl-tag-border); }
.wl-btn--ghost:hover, .wl-btn--ghost:focus-visible { background: var(--wl-tag-hover); }
.wl-btn--ghost[aria-pressed="true"] { background: var(--wl-tag-bg); border-color: var(--wl-accent); }
.wl-btn--lg { padding: 1.3rem 2.6rem; font-size: 1.7rem; }
.wl-link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.5rem; text-decoration: none; white-space: nowrap; }
.wl-link:hover { text-decoration: underline; }
.wl-label, .wl-eyebrow {
	margin: 0 0 .8rem; overflow-wrap: anywhere; color: var(--wl-link);
	font-size: 1.25rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.wl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.4rem; margin: 0; }

.wl-chips { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.wl-chip {
	display: inline-flex; align-items: center; gap: .6rem;
	background: var(--wl-panel); border: 1px solid var(--wl-tag-border); border-radius: 999px;
	padding: .6rem 1.4rem; color: var(--wl-nav); font: inherit; font-size: 1.45rem; font-weight: 600; text-decoration: none;
	cursor: pointer;
}
.wl-chip small { font-weight: 400; color: var(--wl-muted); }
.wl-chip:hover { background: var(--wl-tag-hover); color: var(--wl-nav); }
.wl-chip.is-on { background: var(--wl-nav); border-color: var(--wl-nav); color: #fff; }
.wl-chip.is-on small { color: rgba(255,255,255,.75); }
.wl-chip .wl-icon { width: 1.8rem; height: 1.8rem; }

.wl-tags { display: flex; flex-wrap: wrap; gap: .6rem .8rem; margin: 1.6rem 0 0; font-size: 1.4rem; }
.wl-tag {
	display: inline-flex; align-items: center; gap: .5rem;
	background: var(--wl-tag-bg); border: 1px solid var(--wl-tag-border); border-radius: 999px;
	padding: .4rem 1.2rem; color: var(--wl-ink); text-decoration: none;
}
.wl-tag .wl-icon { width: 1.6rem; height: 1.6rem; }
.wl-tag--type { background: var(--wl-panel); font-weight: 600; }
.wl-tag--link:hover { background: var(--wl-tag-hover); }

/* ===== En-tête ===== */
.wl-header {
	background: linear-gradient(180deg, var(--wl-header-2) 0%, var(--wl-header) 100%);
	border-bottom: 4px solid var(--wl-pop);
	color: #fff;
	position: relative; z-index: 20;
}
.wl-header-in { display: flex; align-items: center; gap: 2.4rem; padding: 1.4rem 0; }
.wl-logo { display: inline-flex; align-items: center; text-decoration: none; font-family: var(--wl-font-head); font-weight: 700; font-size: 2.8rem; color: #f2fbe9; letter-spacing: -0.02em; flex: none; }
.wl-logo:hover { color: #fff; }
.wl-logo-text { position: relative; z-index: 2; line-height: 1; text-shadow: 0 2px 0 rgba(0,0,0,.14); }
.wl-subnav { background: rgba(0, 0, 0, .14); border-top: 1px solid rgba(255, 255, 255, .08); }
.wl-nav { display: flex; align-items: center; gap: 2.8rem; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 1rem 0; }
.wl-nav::-webkit-scrollbar { display: none; }
.wl-nav a { padding: .2rem 0; border-bottom: 2px solid transparent; }
.wl-nav a:hover { border-bottom-color: var(--wl-pop); }
.wl-nav a { color: #f2fbe9; text-decoration: none; font-family: var(--wl-font-head); font-weight: 600; font-size: 1.5rem; white-space: nowrap; }
.wl-nav a:hover { color: var(--wl-accent-light); }
.wl-tools { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.wl-btn--create { padding: .9rem 1.6rem; font-size: 1.45rem; }
.wl-lang > summary { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; color: #f2fbe9; font-size: 1.3rem; font-weight: 600; padding: .6rem .9rem .6rem 1.2rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.wl-lang > summary:hover { background: rgba(255,255,255,.12); }
.wl-lang > summary .wl-icon { width: 1.5rem; height: 1.5rem; }
.wl-lang .wl-lang-panel { left: auto; right: 0; min-width: 18rem; }
.wl-lang-panel a { gap: 1rem; }
.wl-lang-panel a b { width: 2.6rem; color: var(--wl-link); font-size: 1.2rem; }
.wl-lang-panel a.is-on { background: var(--wl-soft); }
.wl-tool { color: #f2fbe9; display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; }
.wl-tool:hover { background: rgba(255,255,255,.12); color: #fff; }
.wl-tool .wl-icon { width: 2.2rem; height: 2.2rem; }
.wl-burger { display: none; position: relative; }
.wl-burger summary { list-style: none; cursor: pointer; color: #fff; display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; }
.wl-burger summary::-webkit-details-marker { display: none; }
.wl-burger summary .wl-icon { width: 2.4rem; height: 2.4rem; }
.wl-burger-panel {
	position: absolute; right: 0; top: calc(100% + .8rem); min-width: 26rem;
	background: var(--wl-panel); border-radius: var(--wl-radius); box-shadow: 0 20px 50px -20px rgba(0,0,0,.35);
	padding: .8rem; display: flex; flex-direction: column;
}
.wl-burger-panel a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 10px; color: var(--wl-ink); text-decoration: none; font-weight: 600; }
.wl-burger-panel a:hover { background: var(--wl-soft); }
.wl-burger-panel .wl-icon { color: var(--wl-link); }

@media (max-width: 1080px) {
	.wl-subnav { display: none; }
	.wl-burger { display: block; }
}
@media (max-width: 600px) {
	.wl-header-in { gap: 1rem; }
	.wl-logo { font-size: 2.3rem; }
	.wl-btn--create span { display: none; }
	.wl-btn--create { padding: .9rem; }
	.wl-tools { gap: .6rem; }
}

/* ===== Bandeaux de titre ===== */
.wl-banner {
	background:
		radial-gradient(circle at 100% 0%, #ffe3cc 0 16rem, transparent 16.1rem),
		radial-gradient(circle at 0% 100%, #fff0e2 0 9rem, transparent 9.1rem),
		linear-gradient(135deg, var(--wl-soft) 0%, #d6efc4 100%);
	border-radius: var(--wl-radius);
	padding: 3rem 3.2rem;
	margin-bottom: 3.2rem;
	position: relative;
	overflow: hidden;
}
.wl-banner--art { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3.2rem; align-items: center; }
.wl-banner-art { width: 20rem; transform: rotate(3deg); }
.wl-banner-art .wl-theme-art { border-radius: var(--wl-radius); box-shadow: var(--wl-shadow); display: block; }
.wl-banner-row { display: flex; gap: 2rem; align-items: flex-start; }
.wl-banner-icon { flex: none; display: grid; place-items: center; width: 7.2rem; height: 7.2rem; border-radius: 1.8rem; background: var(--wl-panel); color: var(--wl-link); box-shadow: var(--wl-shadow); }
.wl-h1 { font-weight: 700; font-size: clamp(2.8rem, 3.4vw, 4.2rem); margin: 0; }
.wl-banner-intro { color: var(--wl-muted); font-size: 1.75rem; line-height: 1.6; max-width: 72ch; margin: 1.2rem 0 0; }
.wl-banner-meta { margin: 2rem 0 0; color: var(--wl-muted); font-size: 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }
.wl-banner-meta strong { color: var(--wl-ink); }
.wl-banner-meta a { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.wl-banner .wl-search { margin-top: 2rem; }
.wl-crumbs { font-size: 1.4rem; color: var(--wl-muted); margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .3rem .6rem; }
.wl-crumbs a { color: var(--wl-link); text-decoration: none; }
.wl-crumbs a:hover { text-decoration: underline; }
@media (max-width: 760px) {
	.wl-banner { padding: 2.4rem 2rem; }
	.wl-banner--art { grid-template-columns: minmax(0, 1fr); }
	.wl-banner-art { display: none; }
	.wl-banner-icon { display: none; }
}

/* ===== Sections ===== */
.wl-section { margin-top: var(--wl-gap); }
.wl-h2 { font-family: var(--wl-font-serif); font-weight: 600; font-size: clamp(2.6rem, 2.8vw, 3.4rem); margin: 0 0 2.4rem; }
.wl-h3 { font-size: 2.1rem; margin: 0 0 1.2rem; }
.wl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .8rem 2rem; margin-bottom: 2.4rem; }
.wl-head .wl-h2 { margin: 0; }
.wl-panel {
	background: var(--wl-panel);
	border: 1px solid var(--wl-line);
	border-radius: var(--wl-radius);
	box-shadow: var(--wl-shadow);
	padding: 2.8rem;
}
.wl-panel + .wl-panel { margin-top: 2.4rem; }
.wl-panel--soft { background: var(--wl-soft); border-color: var(--wl-tag-border); box-shadow: none; }
.wl-cols { display: grid; grid-template-columns: minmax(0, 1fr) 30rem; gap: 2.8rem; align-items: start; }
.wl-col-side { display: flex; flex-direction: column; gap: 2rem; position: sticky; top: 2rem; }
.wl-col-side .wl-panel { padding: 2.2rem; }
.wl-col-side .wl-panel + .wl-panel { margin-top: 0; }
.wl-col-side .wl-panel p { font-size: 1.5rem; }
@media (max-width: 980px) {
	.wl-cols { grid-template-columns: minmax(0, 1fr); }
	.wl-col-side { position: static; }
}
.wl-side-links li { list-style: none; }
.wl-side-links li + li { border-top: 1px solid var(--wl-line); }
.wl-side-links a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; text-decoration: none; color: var(--wl-ink); font-weight: 600; }
.wl-side-links a span { flex: 1; }
.wl-side-links a em { font-style: normal; color: var(--wl-muted); font-weight: 400; font-size: 1.4rem; }
.wl-side-links .wl-icon { color: var(--wl-link); }
.wl-side-links a:hover span { color: var(--wl-link); }

/* ===== Accueil : ouverture ===== */
.wl-hero {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; align-items: center;
	padding: 1.6rem 0 var(--wl-gap); border-bottom: 1px solid var(--wl-line);
}
.wl-hero h1 { font-family: var(--wl-font-serif); font-weight: 600; font-size: clamp(3.4rem, 4.6vw, 5.4rem); line-height: 1.08; margin: 0; max-width: 14em; }
.wl-hero-intro { font-size: 1.9rem; line-height: 1.55; color: var(--wl-muted); margin: 1.8rem 0 2.8rem; max-width: 34em; }
.wl-hero-intro strong { color: var(--wl-ink); font-weight: 600; }
.wl-search {
	display: flex; max-width: 60rem; background: #fff; border: 1px solid var(--wl-tag-border);
	border-radius: 999px; padding: .6rem; box-shadow: var(--wl-shadow);
}
.wl-search:focus-within { border-color: var(--wl-accent); box-shadow: 0 0 0 3px rgba(124, 207, 79, .3); }
.wl-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 1.1rem 1.8rem; font: inherit; font-size: 1.7rem; outline: none; }
.wl-search .wl-btn { padding: 1.1rem 2.4rem; }
.wl-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1.4rem 0 0; font-size: 1.4rem; }
.wl-suggest span { color: var(--wl-muted); margin-right: .2rem; }
.wl-suggest a { background: var(--wl-tag-bg); border: 1px solid var(--wl-tag-border); border-radius: 999px; padding: .3rem 1.1rem; text-decoration: none; }
.wl-suggest a:hover { background: var(--wl-tag-hover); }
.wl-stats { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2.4rem; margin-top: 2.8rem; font-size: 1.5rem; color: var(--wl-muted); list-style: none; }
.wl-stats strong { font-family: var(--wl-font-serif); font-size: 2.2rem; color: var(--wl-ink); margin-right: .2rem; }
.wl-stats a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; text-decoration: none; }
.wl-stats a:hover { text-decoration: underline; }
.wl-hero-art { position: relative; }
.wl-hero-card {
	display: block; background: var(--wl-panel); border-radius: 2.4rem; padding: 1.8rem;
	box-shadow: 0 30px 60px -35px rgba(10, 60, 30, .55); transform: rotate(2deg);
	border: 1px solid var(--wl-line); transition: transform .3s;
}
.wl-hero-card:hover { transform: rotate(0deg) scale(1.01); }
.wl-hero-card .wl-ws { display: block; width: 100%; height: auto; }
.wl-hero-caption { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 1.6rem 0 0; color: var(--wl-muted); font-size: 1.4rem; font-weight: 600; }
.wl-hero-caption .wl-icon { color: var(--wl-accent); fill: var(--wl-accent); width: 1.6rem; height: 1.6rem; }
@media (max-width: 900px) {
	.wl-hero { grid-template-columns: minmax(0, 1fr); }
	.wl-hero-art { max-width: 42rem; margin: 0 auto; }
}

/* Accès aux jeux */
.wl-access { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.4rem; list-style: none; }
.wl-access a {
	display: flex; flex-direction: column; gap: .6rem; height: 100%; padding: 2.2rem 2rem;
	background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: var(--wl-radius);
	color: var(--wl-ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.wl-access a:hover { transform: translateY(-3px); box-shadow: var(--wl-shadow); border-color: var(--wl-tag-border); color: var(--wl-ink); }
.wl-access .wl-icon { color: var(--wl-link); margin-bottom: .8rem; }
.wl-access-title { font-family: var(--wl-font-serif); font-weight: 600; font-size: 2.1rem; }
.wl-access-title::after { content: " →"; color: var(--wl-pop); }
.wl-access-text { color: var(--wl-muted); font-size: 1.5rem; line-height: 1.5; }
.wl-access-count { margin-top: auto; padding-top: .8rem; font-size: 1.35rem; font-weight: 600; color: var(--wl-link); }
@media (max-width: 980px) { .wl-access { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wl-access li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 520px) { .wl-access { grid-template-columns: minmax(0, 1fr); } }

/* Grille du jour + saison */
.wl-today { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.4rem; margin-top: var(--wl-gap); }
.wl-daily {
	position: relative; background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: var(--wl-radius);
	box-shadow: var(--wl-shadow); padding: 3.6rem 4rem; overflow: hidden;
}
.wl-daily::before {
	content: "W"; position: absolute; top: -1rem; right: 2rem;
	font-family: var(--wl-font-head); font-weight: 700; font-size: 16rem; line-height: 1; color: var(--wl-soft); transform: rotate(-8deg);
}
.wl-daily > * { position: relative; }
.wl-daily-title { font-family: var(--wl-font-serif); font-weight: 600; font-size: 3rem; margin: 0; }
.wl-daily-title a { color: var(--wl-ink); text-decoration: none; }
.wl-daily-title a:hover { color: var(--wl-link); }
.wl-daily-meta { margin: .6rem 0 0; color: var(--wl-muted); font-size: 1.5rem; }
.wl-daily-words { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2.4rem 0; padding: 0 0 0 2.4rem; border-left: 3px solid var(--wl-pop); list-style: none; }
.wl-daily-words li { font-family: var(--wl-font-serif); font-style: italic; font-size: 1.8rem; color: #2f4a37; }
.wl-daily-words li:not(:last-child)::after { content: ","; }
.wl-season { background: var(--wl-soft); border: 1px solid var(--wl-tag-border); border-radius: var(--wl-radius); padding: 3.2rem; }
.wl-season-title { font-family: var(--wl-font-serif); font-weight: 600; font-size: 2.4rem; margin: 0 0 1.8rem; }
.wl-season ul { list-style: none; }
.wl-season li + li { border-top: 1px solid var(--wl-tag-border); }
.wl-season a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; color: var(--wl-ink); text-decoration: none; }
.wl-season a span { font-family: var(--wl-font-serif); font-weight: 600; font-size: 2rem; }
.wl-season a span::after { content: " →"; color: var(--wl-pop); }
.wl-season em { font-style: normal; color: var(--wl-muted); font-size: 1.4rem; white-space: nowrap; }
.wl-season a:hover span { color: var(--wl-link); }
@media (max-width: 900px) { .wl-today { grid-template-columns: minmax(0, 1fr); } .wl-daily { padding: 2.8rem; } }

/* Bloc « Crée ta grille » */
.wl-promo {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(30rem, .75fr); gap: 4rem; align-items: center;
	margin-top: var(--wl-gap); padding: 4rem 4.4rem; border-radius: var(--wl-radius);
	background: linear-gradient(135deg, var(--wl-pop) 0%, #ff9f5a 100%); color: var(--wl-pop-ink); box-shadow: 0 18px 48px -34px rgba(160, 70, 10, .8);
}
.wl-promo .wl-label { color: var(--wl-pop-ink); opacity: .8; }
.wl-promo h2 { font-family: var(--wl-font-serif); font-weight: 600; color: var(--wl-pop-ink); font-size: clamp(2.8rem, 3.2vw, 4rem); line-height: 1.1; margin: 0; max-width: 14em; }
.wl-promo-copy > p:not(.wl-label):not(.wl-promo-btns) { margin: 1.6rem 0 2.4rem; font-size: 1.65rem; line-height: 1.6; max-width: 42em; }
.wl-promo-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.wl-promo-btn {
	display: inline-flex; align-items: center; gap: .7rem; padding: 1rem 1.6rem; border-radius: 999px;
	background: #fff; color: var(--wl-pop-ink) !important; text-decoration: none; box-shadow: 0 3px 0 rgba(61, 26, 5, .18);
	font-family: var(--wl-font-head); font-weight: 600; font-size: 1.4rem;
}
.wl-promo-btn:hover { background: var(--wl-pop-soft); }
.wl-promo-btn .wl-icon { width: 1.8rem; height: 1.8rem; }
.wl-promo-preview { padding: 2rem; border-radius: 1.4rem; background: #fffdf9; color: var(--wl-ink); box-shadow: 0 20px 38px -30px rgba(40, 10, 0, .8); transform: rotate(1.5deg); }
.wl-promo-preview-head { display: flex; justify-content: space-between; margin-bottom: 1.2rem; color: var(--wl-muted); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.wl-promo-words { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.wl-promo-words span { background: var(--wl-pop-soft); color: var(--wl-pop-text); border-radius: 6px; padding: .2rem .8rem; font-weight: 600; font-size: 1.4rem; }
.wl-promo-arrow { text-align: center; margin: .6rem 0; color: var(--wl-pop); font-weight: 700; }
.wl-promo-grid .wl-ws { display: block; width: 100%; max-width: 26rem; margin: 0 auto; }
@media (max-width: 900px) { .wl-promo { grid-template-columns: minmax(0, 1fr); padding: 3rem 2.4rem; } }

/* Thèmes */
.wl-themes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2.4rem 1.6rem; }
.wl-theme { display: block; color: var(--wl-ink); text-decoration: none; }
.wl-theme-art { display: block; margin-bottom: 1.2rem; }
.wl-theme-art svg { display: block; width: 100%; height: auto; border-radius: var(--wl-radius); transition: transform .25s, box-shadow .25s; }
.wl-theme:hover .wl-theme-art svg { transform: translateY(-3px) rotate(-1.5deg); box-shadow: var(--wl-shadow); }
.wl-theme-name { display: block; font-family: var(--wl-font-serif); font-weight: 600; font-size: 1.9rem; }
.wl-theme:hover .wl-theme-name { color: var(--wl-link); }
.wl-theme-sub { display: block; color: var(--wl-muted); font-size: 1.35rem; margin-top: .2rem; }
@media (max-width: 1080px) { .wl-themes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .wl-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Vignette de thème : mini-grille de lettres teintée */
.wl-theme-art { --h: 140; }
.wl-ta-bg { fill: hsl(var(--h) 55% 93%); }
.wl-ta-mark { fill: hsl(var(--h) 62% 58% / .55); }
.wl-ta-l, .wl-ta-w { font-family: var(--wl-font-head); text-anchor: middle; font-weight: 600; }
.wl-ta-l { fill: hsl(var(--h) 25% 55% / .55); }
.wl-ta-w { fill: hsl(var(--h) 55% 18%); font-weight: 700; }

/* Niveaux */
.wl-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; list-style: none; }
.wl-level { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.6rem; padding: 2.4rem; background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: var(--wl-radius); }
.wl-level-n { grid-row: span 2; display: grid; place-items: center; width: 5.2rem; height: 5.2rem; border-radius: 1.4rem; font-family: var(--wl-font-head); font-weight: 700; font-size: 2.6rem; background: var(--wl-tag-bg); color: var(--wl-nav); transform: rotate(-5deg); }
.wl-level--1 .wl-level-n { background: var(--wl-accent); }
.wl-level--2 .wl-level-n { background: var(--wl-pop); color: var(--wl-pop-ink); }
.wl-level--3 .wl-level-n { background: var(--wl-header); color: #fff; }
.wl-level-title { font-family: var(--wl-font-head); font-weight: 600; font-size: 1.7rem; }
.wl-level-text { color: var(--wl-muted); font-size: 1.5rem; line-height: 1.5; }
@media (max-width: 860px) { .wl-levels { grid-template-columns: minmax(0, 1fr); } }

/* ===== Cartes de grilles ===== */
.wl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); gap: 1.8rem; }
.wl-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wl-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .wl-cards--3, .wl-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .wl-cards, .wl-cards--3, .wl-cards--2 { grid-template-columns: minmax(0, 1fr); } }
.wl-card {
	display: flex; flex-direction: column; background: var(--wl-panel); border: 1px solid var(--wl-line);
	border-radius: var(--wl-radius); overflow: hidden; color: var(--wl-ink); text-decoration: none;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.wl-card:hover { transform: translateY(-3px); box-shadow: var(--wl-shadow); border-color: var(--wl-tag-border); color: var(--wl-ink); }
.wl-card-art { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 1.4rem; background: var(--wl-soft); border-bottom: 1px solid var(--wl-line); }
.wl-card-art svg { max-height: 100%; width: auto; max-width: 100%; display: block; }
.wl-card-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.6rem 1.6rem; }
.wl-card-title { font-weight: 600; font-size: 1.55rem; line-height: 1.35; }
.wl-card:hover .wl-card-title { color: var(--wl-link); }
.wl-card-meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; color: var(--wl-muted); font-size: 1.3rem; align-items: center; }
.wl-lvl { border-radius: 999px; padding: .1rem .8rem; font-weight: 600; background: var(--wl-tag-bg); color: var(--wl-nav); }
.wl-lvl--1 { background: var(--wl-tag-bg); }
.wl-lvl--2 { background: var(--wl-pop); color: var(--wl-pop-ink); }
.wl-lvl--3 { background: var(--wl-header); color: #fff; }

/* ===== Grilles SVG ===== */
.wl-ws-bg { fill: var(--wl-panel); }
.wl-ws-letters text, .wl-cw text, .wl-tiles text { font-family: var(--wl-font-head); font-weight: 600; text-anchor: middle; fill: var(--wl-ink); }
.wl-ws-marks line { stroke-linecap: round; stroke: var(--wl-mark); }
.wl-mark-1 { stroke: rgba(255, 196, 61, .5) !important; }
.wl-mark-2 { stroke: rgba(96, 178, 235, .45) !important; }
.wl-mark-3 { stroke: rgba(245, 133, 160, .45) !important; }
.wl-mark-4 { stroke: rgba(176, 139, 230, .45) !important; }
.wl-mark-5 { stroke: rgba(255, 150, 90, .45) !important; }
.wl-ws-hit rect { fill: transparent; }
.wl-cw-cell { fill: #fff; stroke: var(--wl-ink); stroke-width: 1.5; }
.wl-cw .wl-cw-num { font-family: var(--wl-font-body); font-weight: 600; text-anchor: start; fill: var(--wl-muted); }
.wl-cw .wl-cw-letter { fill: var(--wl-link); }
.wl-tile { fill: #fff; stroke: var(--wl-tag-border); stroke-width: 1.5; }
.wl-tile-t { fill: var(--wl-nav) !important; }
.wl-tile-line { stroke: var(--wl-muted); stroke-width: 1.5; }
.wl-sym { fill: none; stroke: var(--wl-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wl-sym-fill { fill: var(--wl-ink); }

/* ===== Page grille ===== */
.wl-puzzle { padding: 2.4rem 2.8rem 2.8rem; }
.wl-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; padding-bottom: 2rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--wl-line); }
.wl-toolbar .wl-btn { padding: .9rem 1.6rem; font-size: 1.4rem; }
.wl-timer { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; font-family: var(--wl-font-head); font-weight: 600; color: var(--wl-link); font-variant-numeric: tabular-nums; }
.wl-print-tip { margin: 2rem 0 0; color: var(--wl-muted); font-size: 1.35rem; }
.wl-notice { background: #fff7e0; border: 1px solid #f2dc94; border-radius: var(--wl-radius-sm); padding: 1rem 1.4rem; font-size: 1.5rem; }

.wl-sheet-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1rem; }
.wl-sheet-site { margin: 0; font-size: 1.2rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wl-link); font-weight: 600; }
.wl-sheet-title { font-family: var(--wl-font-serif); font-weight: 600; font-size: 2.4rem; margin: .2rem 0 0; }
.wl-sheet-name { margin: 0; font-size: 1.5rem; color: var(--wl-muted); white-space: nowrap; }
.wl-sheet-name span { display: inline-block; width: 16rem; border-bottom: 1.5px dashed var(--wl-muted); margin-left: .4rem; }
.wl-sheet-instr { background: var(--wl-soft); border-radius: var(--wl-radius-sm); padding: 1.2rem 1.6rem; font-size: 1.55rem; margin: 1.4rem 0 2.4rem; }
.wl-sheet-foot { margin: 2.4rem 0 0; text-align: center; font-size: 1.25rem; color: var(--wl-muted); }
.wl-sheet--solution { margin-top: 3.2rem; padding-top: 3.2rem; border-top: 2px dashed var(--wl-line); }

.wl-ws-layout { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.8rem; align-items: start; }
.wl-ws-wrap { position: relative; }
.wl-ws-wrap .wl-ws { display: block; width: 100%; height: auto; max-width: 62rem; margin: 0 auto; user-select: none; -webkit-user-select: none; touch-action: none; }
.wl-ws-wrap--solution .wl-ws { max-width: 46rem; }
.wl-wordlist-box { background: var(--wl-soft); border-radius: var(--wl-radius); padding: 2rem; }
.wl-wordlist-h { font-family: var(--wl-font-head); font-weight: 600; margin: 0 0 1.2rem; font-size: 1.6rem; }
.wl-wordlist { list-style: none; columns: 1; }
.wl-wordlist li { display: flex; align-items: center; gap: 1rem; padding: .45rem 0; font-size: 1.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; break-inside: avoid; }
.wl-box { width: 1.8rem; height: 1.8rem; border: 2px solid var(--wl-tag-border); border-radius: 5px; background: #fff; flex: none; display: grid; place-items: center; }
.wl-wordlist li.is-found { color: var(--wl-muted); text-decoration: line-through; text-decoration-color: var(--wl-accent); text-decoration-thickness: 3px; }
.wl-wordlist li.is-found .wl-box { background: var(--wl-accent); border-color: var(--wl-accent); }
.wl-wordlist li.is-found .wl-box::after { content: "✓"; color: var(--wl-nav); font-size: 1.3rem; font-weight: 700; }
@media (max-width: 760px) {
	.wl-ws-layout { grid-template-columns: minmax(0, 1fr); }
	.wl-wordlist { columns: 2; }
	.wl-puzzle { padding: 1.8rem 1.4rem; }
	.wl-sheet-head { flex-direction: column; align-items: flex-start; }
}

/* Jeu en ligne */
.is-playing .wl-ws-hit rect { cursor: pointer; }
.wl-ws .wl-sel { stroke: rgba(124, 207, 79, .55); stroke-linecap: round; }
.wl-ws .wl-found-line { stroke-linecap: round; }
.is-playing .wl-ws-wrap { outline: 3px solid var(--wl-accent); outline-offset: 6px; border-radius: 16px; }

/* Mots croisés */
.wl-cw-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.8rem; align-items: start; }
.wl-cw-wrap .wl-cw { display: block; width: 100%; height: auto; max-width: 56rem; margin: 0 auto; }
.wl-clues { display: flex; flex-direction: column; gap: 2rem; }
.wl-clues-h { display: flex; align-items: center; gap: .6rem; font-family: var(--wl-font-head); font-weight: 600; font-size: 1.7rem; margin: 0 0 .8rem; color: var(--wl-link); }
.wl-icon--D { transform: rotate(90deg); }
.wl-clues ol { list-style: none; }
.wl-clues li { padding: .5rem 0; font-size: 1.6rem; line-height: 1.45; border-bottom: 1px dashed var(--wl-line); }
.wl-clues li small { color: var(--wl-muted); }
.wl-clue-n { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; margin-right: .4rem; border-radius: 6px; background: var(--wl-tag-bg); font-weight: 700; font-size: 1.35rem; }
@media (max-width: 760px) { .wl-cw-layout { grid-template-columns: minmax(0, 1fr); } }

/* Lettres mélangées */
.wl-scramble { list-style: none; counter-reset: scr; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3.2rem; }
.wl-scramble li { counter-increment: scr; display: flex; flex-direction: column; gap: .8rem; padding-left: 3.6rem; position: relative; }
.wl-scramble li::before { content: counter(scr); position: absolute; left: 0; top: .2rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--wl-pop); display: grid; place-items: center; font-weight: 700; font-size: 1.35rem; color: var(--wl-pop-ink); }
.wl-tiles-row, .wl-answer-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.wl-ltile {
	display: inline-grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: .8rem;
	background: #fff; border: 2px solid var(--wl-tag-border); box-shadow: 0 3px 0 var(--wl-tag-border);
	font-family: var(--wl-font-head); font-weight: 700; font-size: 1.9rem; color: var(--wl-nav);
}
.wl-ltile:nth-child(3n+2) { transform: rotate(-4deg); }
.wl-ltile:nth-child(3n) { transform: rotate(3deg); }
.wl-abox { display: inline-grid; place-items: center; width: 3.4rem; height: 3.8rem; border-bottom: 2.5px solid var(--wl-ink); font-family: var(--wl-font-head); font-weight: 700; font-size: 1.9rem; color: var(--wl-muted); }
.wl-scr-clue { font-size: 1.4rem; color: var(--wl-muted); font-style: italic; }
.wl-solution-list { list-style: none; columns: 2; }
.wl-solution-list li { padding: .4rem 0; font-size: 1.6rem; }
.wl-mono { font-family: var(--wl-font-head); letter-spacing: .12em; color: var(--wl-muted); }
@media (max-width: 760px) { .wl-scramble { grid-template-columns: minmax(0, 1fr); } .wl-solution-list { columns: 1; } }

/* Messages codés */
.wl-cipher-key { background: var(--wl-soft); border-radius: var(--wl-radius); padding: 1.8rem 2rem; margin-bottom: 2.8rem; }
.wl-cipher-key-h { font-family: var(--wl-font-head); font-weight: 600; margin: 0 0 1.2rem; }
.wl-caesar-hint { font-size: 1.5rem; margin: 0 0 1.2rem; }
.wl-key-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: .5rem; }
.wl-key-cell { display: flex; flex-direction: column; align-items: center; background: #fff; border-radius: 8px; border: 1px solid var(--wl-tag-border); overflow: hidden; }
.wl-key-cell b { display: grid; place-items: center; width: 100%; min-height: 3.4rem; font-family: var(--wl-font-head); font-size: 1.6rem; color: var(--wl-nav); }
.wl-key-cell i { display: block; width: 100%; text-align: center; font-style: normal; font-weight: 700; font-size: 1.5rem; background: var(--wl-tag-bg); padding: .2rem 0; }
.wl-key-grid--caesar .wl-key-cell b { color: var(--wl-link); }
.wl-message { display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; padding: .4rem 0; }
.wl-mword { display: inline-flex; gap: .5rem; align-items: flex-end; }
.wl-mcell { display: flex; flex-direction: column; align-items: center; gap: .4rem; min-width: 3.6rem; }
.wl-mcell b { display: grid; place-items: center; min-height: 3.2rem; font-family: var(--wl-font-head); font-size: 1.7rem; color: var(--wl-nav); }
.wl-mcell i { display: block; width: 3.4rem; height: 3.8rem; border-bottom: 2.5px solid var(--wl-ink); }
.wl-mpunct { font-size: 2.2rem; font-weight: 700; padding-bottom: .4rem; }
.wl-solution-secret { font-family: var(--wl-font-serif); font-size: 2.4rem; font-style: italic; text-align: center; margin: 2rem 0; }
@media (max-width: 760px) { .wl-key-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* À propos d'une grille */
.wl-about-puzzle { margin-top: 2.4rem; }
.wl-about-puzzle p { font-size: 1.6rem; }
.wl-tip { display: flex; gap: 1rem; align-items: flex-start; background: var(--wl-soft); border-radius: var(--wl-radius-sm); padding: 1.2rem 1.4rem; margin: 0; }
.wl-tip .wl-icon { color: var(--wl-link); margin-top: .2rem; }

/* Galaxie */
.wl-galaxy { background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: var(--wl-radius); padding: 2.2rem; }
.wl-galaxy ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.wl-galaxy-link { display: flex; flex-direction: column; gap: .2rem; padding: 1.2rem 1.4rem; border-radius: var(--wl-radius-sm); text-decoration: none; border: 1px solid var(--wl-line); color: var(--wl-ink); }
.wl-galaxy-site { font-size: 1.2rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wl-galaxy-label { font-weight: 600; font-size: 1.55rem; }
.wl-galaxy--justcolor { background: #eef4ff; border-color: #c9d9fb; }
.wl-galaxy--justcolor .wl-galaxy-site { color: #2f5fb3; }
.wl-galaxy--poesies123 { background: #fff6de; border-color: #f0d77f; }
.wl-galaxy--poesies123 .wl-galaxy-site { color: #8a5a00; }
.wl-galaxy-link:hover { filter: brightness(.97); color: var(--wl-ink); }
.wl-main > .wl-wrap > .wl-galaxy { margin-bottom: 1rem; }

/* FAQ */
.wl-faq-item { background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: var(--wl-radius-sm); margin-bottom: 1rem; }
.wl-faq-item summary { cursor: pointer; padding: 1.6rem 2rem; font-weight: 600; font-size: 1.65rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.wl-faq-item summary::-webkit-details-marker { display: none; }
.wl-faq-item summary::after { content: "+"; color: var(--wl-link); font-size: 2.2rem; line-height: 1; }
.wl-faq-item[open] summary::after { content: "–"; }
.wl-faq-item p { padding: 0 2rem 1.6rem; margin: 0; color: var(--wl-muted); font-size: 1.6rem; }

/* Formulaire de création */
.wl-form { display: flex; flex-direction: column; gap: 2rem; }
.wl-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2rem; }
@media (max-width: 760px) { .wl-form-grid { grid-template-columns: minmax(0, 1fr); } }
.wl-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.wl-field label, .wl-field legend { display: block; font-weight: 600; margin-bottom: .8rem; font-size: 1.55rem; }
.wl-field input[type="text"], .wl-field textarea, .wl-share input {
	width: 100%; font: inherit; font-size: 1.7rem; padding: 1.1rem 1.4rem; border: 1px solid var(--wl-tag-border);
	border-radius: var(--wl-radius-sm); background: #fff; color: var(--wl-ink);
}
.wl-field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.wl-field input:focus, .wl-field textarea:focus { outline: none; border-color: var(--wl-accent); box-shadow: 0 0 0 3px rgba(124, 207, 79, .3); }
.wl-radios { display: flex; flex-wrap: wrap; gap: .8rem; }
.wl-radios label { display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .8rem 1.4rem; border: 1px solid var(--wl-tag-border); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; font-size: 1.45rem; }
.wl-radios label small { color: var(--wl-muted); font-weight: 400; }
.wl-radios label:has(input:checked) { background: var(--wl-tag-bg); border-color: var(--wl-accent); }
.wl-help { color: var(--wl-muted); font-size: 1.4rem; margin: .8rem 0 0; }
.wl-errors { background: #fdecea; border: 1px solid #f3b8b1; border-radius: var(--wl-radius-sm); padding: 1.2rem 1.6rem; color: #8b2418; }
.wl-errors ul { padding-left: 2rem; }
.wl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--wl-line); }
.wl-share label { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; }
.wl-share input { flex: 1; min-width: 20rem; font-size: 1.4rem; padding: .9rem 1.2rem; }

/* Divers */
.wl-empty { font-size: 1.7rem; }
.wl-prose { font-size: 1.7rem; line-height: 1.65; }
.wl-prose ul { padding-left: 2.4rem; margin-bottom: 1.6rem; }
.wl-prose li { margin-bottom: .6rem; }
.wl-banner--error { text-align: center; padding: 4.8rem 2.4rem; }
.wl-banner--error .wl-banner-intro { margin-left: auto; margin-right: auto; }
.wl-banner--error .wl-actions { justify-content: center; margin-top: 2.4rem; }
.wl-error-code { display: flex; justify-content: center; gap: .8rem; margin: 0 0 2rem; }
.wl-error-code .wl-ltile { width: 6.4rem; height: 6.4rem; font-size: 3.6rem; }
.wl-ad { margin: 2.4rem 0; min-height: 100px; text-align: center; }
.wl-ad--sidebar { min-height: 250px; margin: 0; }

/* Modale « Bravo » */
.wl-modal { position: fixed; inset: 0; background: rgba(15, 46, 29, .55); display: grid; place-items: center; z-index: 100; padding: 2rem; }
.wl-modal[hidden] { display: none; }
.wl-modal-box { background: var(--wl-panel); border-radius: 2.4rem; padding: 3.6rem; text-align: center; max-width: 44rem; box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); animation: wl-pop .35s ease-out; }
.wl-modal-box h2 { font-family: var(--wl-font-serif); font-size: 3.4rem; margin: 0 0 1rem; }
.wl-modal-emoji { font-size: 5.6rem; line-height: 1; margin: 0 0 1rem; color: var(--wl-pop); }
.wl-modal-box .wl-actions { justify-content: center; margin-top: 2rem; }
@keyframes wl-pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== Pied de page ===== */
.wl-footer { background: var(--wl-nav); color: rgba(242, 251, 233, .82); padding: 4.8rem 0 0; font-size: 1.5rem; }
.wl-footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3.2rem; }
.wl-footer a { color: #f2fbe9; text-decoration: none; }
.wl-footer a:hover { color: var(--wl-pop-light); }
.wl-footer ul { list-style: none; }
.wl-footer li { padding: .35rem 0; }
.wl-footer-h { font-family: var(--wl-font-head); font-weight: 600; color: var(--wl-pop-light); margin: 0 0 1rem; }
.wl-logo--footer { font-size: 2.4rem; margin-bottom: 1.2rem; }
.wl-footer-bottom { border-top: 1px solid rgba(242, 251, 233, .12); margin-top: 3.6rem; padding: 2rem 0; font-size: 1.3rem; color: rgba(242, 251, 233, .6); }
@media (max-width: 860px) { .wl-footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .wl-footer-in { grid-template-columns: minmax(0, 1fr); } }

/* ===== Impression : seule la fiche sort, sans pub ni menu ===== */
@media print {
	@page { margin: 12mm; }
	html { font-size: 55%; }
	body { background: #fff; }
	.wl-header, .wl-footer, .wl-banner, .wl-toolbar, .wl-col-side, .wl-about-puzzle, .wl-section,
	.wl-ad, .wl-print-tip, .wl-share, .wl-center, .wl-modal, .wl-skip, .wl-notice, .wl-galaxy { display: none !important; }
	.wl-main { padding: 0; }
	.wl-wrap { width: 100%; max-width: none; }
	.wl-cols { display: block; }
	.wl-panel { border: 0; box-shadow: none; padding: 0; }
	.wl-sheet { break-inside: avoid; }
	.wl-sheet--solution { display: none; }
	body.print-solution .wl-sheet--solution { display: block !important; break-before: page; border: 0; margin: 0; padding: 0; }
	.wl-sheet-instr, .wl-wordlist-box, .wl-cipher-key { background: #fff; border: 1px solid #bbb; }
	.wl-ws-wrap .wl-ws { max-width: 100%; }
	.is-playing .wl-ws-wrap { outline: 0; }
	.wl-ws .wl-sel, .wl-ws .wl-found-line { display: none; }
	.wl-wordlist li.is-found { text-decoration: none; color: inherit; }
	.wl-wordlist li.is-found .wl-box { background: #fff; border-color: #999; }
	.wl-wordlist li.is-found .wl-box::after { content: ""; }
	.wl-ltile { box-shadow: none; }
	a { text-decoration: none; color: inherit; }
}
@media print {
	.wl-sheet--solution .wl-cw, .wl-sheet--solution .wl-ws { max-width: 46rem !important; }
	.wl-cw-layout, .wl-ws-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

/* =====================================================================
   Lot 2 : barre d'actions, jeu en ligne des 4 jeux, envoi, espace membre
   ===================================================================== */

/* Barre d'actions et menus déroulants */
.wl-btn--sm { padding: .6rem 1.2rem !important; font-size: 1.3rem !important; }
.wl-btn--icon { padding: .9rem !important; }
.wl-btn--block { width: 100%; justify-content: center; }
.wl-btn--danger { background: #c2412d; color: #fff !important; }
.wl-btn--danger:hover { background: #a3321f; }
.wl-btn[disabled] { opacity: .6; cursor: wait; }
.wl-menu { position: relative; }
.wl-menu > summary { list-style: none; }
.wl-menu > summary::-webkit-details-marker { display: none; }
.wl-menu-panel {
	position: absolute; z-index: 20; top: calc(100% + .6rem); left: 0; min-width: 24rem;
	background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: var(--wl-radius-sm);
	box-shadow: 0 18px 40px -18px rgba(10, 60, 30, .45); padding: .6rem; display: flex; flex-direction: column;
}
.wl-menu-panel a, .wl-menu-panel button {
	display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: 8px; border: 0; background: none;
	font: inherit; font-size: 1.45rem; color: var(--wl-ink); text-decoration: none; text-align: left; cursor: pointer;
}
.wl-menu-panel a:hover, .wl-menu-panel button:hover { background: var(--wl-soft); }
.wl-fav.is-on { color: #d2335c !important; border-color: #f2b5c4; background: #fff0f3; }
.wl-fav.is-on .wl-icon { fill: currentColor; }
.wl-play-only { display: none !important; }
.is-playing .wl-play-only { display: flex !important; }
.wl-play-bar { align-items: center; gap: .8rem; flex-wrap: wrap; margin-left: auto; }
.wl-play-bar .wl-timer { margin-left: 0; }
.wl-score { font-family: var(--wl-font-head); font-weight: 600; font-size: 1.4rem; color: var(--wl-muted); font-variant-numeric: tabular-nums; }
.wl-play-note { margin: -1rem 0 1.6rem; padding: .8rem 1.2rem; background: var(--wl-soft); border-radius: var(--wl-radius-sm); font-size: 1.45rem; color: var(--wl-link); }
.is-playing .wl-play-note[hidden] { display: none !important; }
.wl-puzzle.is-done .wl-timer { color: var(--wl-pop-text); }
.wl-puzzle { scroll-margin-top: 2rem; }
.wl-puzzle.is-ready .wl-sheet { cursor: pointer; }
.wl-puzzle.is-ready .wl-sheet:focus-visible { outline: 3px solid var(--wl-accent); outline-offset: .5rem; }
.wl-puzzle:not(.is-playing) [data-play] .wl-icon { animation: wl-play-invite .65s ease-in-out 2; }
.wl-play-welcome { position: fixed; z-index: 35; right: 2rem; bottom: 2rem; display: flex; align-items: center; gap: 1rem; max-width: calc(100vw - 4rem); padding: 1rem 1.6rem; background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.15); pointer-events: none; font-family: var(--wl-font-head); font-size: 1.5rem; color: var(--wl-link); }
.wl-play-welcome[hidden] { display: none; }
.wl-play-welcome .wl-mascot { width: 6rem; }
.wl-play-welcome .wl-mascot-fig { animation: wl-start-hop .7s ease-out 2; }
.wl-play-welcome .wl-mascot-prop { display: none; }
@keyframes wl-start-hop { 0%, 100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-1rem) rotate(-6deg); } 70% { transform: translateY(-.3rem) rotate(5deg); } }
@keyframes wl-play-invite { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(.3rem); } }
@media (prefers-reduced-motion: reduce) { .wl-puzzle [data-play] .wl-icon { animation: none !important; } }

/* Champs d'une lettre (communs) */
.wl-in {
	width: 100%; height: 100%; border: 0; background: transparent; padding: 0; margin: 0; text-align: center;
	font-family: var(--wl-font-head); font-weight: 700; font-size: 1.9rem; color: var(--wl-nav); text-transform: uppercase; caret-color: var(--wl-accent);
	border-radius: 0; -webkit-appearance: none; appearance: none;
}
.wl-in:focus { outline: none; background: #fff7c7; }
.wl-in.is-given { color: var(--wl-muted); }
.wl-in.is-hint, .is-hint > .wl-in, .is-hint .wl-in { color: #b06d00; }

/* Mots croisés jouables */
.is-playing .wl-cw-wrap .wl-cw { display: none; }
.wl-cw-play { justify-content: center; }
.wl-cw-grid { display: grid; gap: 0; width: 100%; margin: 0 auto; }
.wl-cwc { position: relative; aspect-ratio: 1; border: 1px solid var(--wl-header); margin: -1px 0 0 -1px; background: #fff; }
.wl-cwc.is-void { border-color: transparent; background: none; }
.wl-cwc.is-word { background: #eef9e6; }
.wl-cwc.is-wrong { background: #fde3df; }
.wl-cwc .wl-in { position: absolute; inset: 0; font-size: clamp(1.2rem, 3.4vw, 2rem); padding-top: .6rem; }
.wl-cwn { position: absolute; top: 1px; left: 3px; font-size: 1rem; font-weight: 700; color: var(--wl-link); line-height: 1; pointer-events: none; z-index: 1; }
.is-playing .wl-clues li[data-num] { cursor: pointer; border-radius: 6px; padding-left: .6rem; padding-right: .6rem; }
.wl-clues li.is-active { background: #eef9e6; }
.wl-clues li.is-found { color: var(--wl-muted); text-decoration: line-through; text-decoration-color: var(--wl-accent); }

/* Lettres mélangées jouables */
.wl-answer-row .wl-in { width: 3.4rem; height: 3.8rem; border-bottom: 2.5px solid var(--wl-ink); }
.is-playing .wl-ltile { cursor: pointer; transition: opacity .15s; }
.wl-ltile.is-used { opacity: .3; }
.wl-scramble li.is-found .wl-in { color: var(--wl-link); border-bottom-color: var(--wl-accent); }
.wl-scramble li.is-found::before { content: "✓"; }
.wl-scramble li.is-wrong .wl-in { border-bottom-color: #c2412d; }

/* Messages codés jouables */
.wl-mcell i:has(.wl-in) { border-bottom: 0; }
.wl-mcell .wl-in { border-bottom: 2.5px solid var(--wl-ink); }
.wl-mcell.is-same .wl-in { background: #f3fbee; }
.wl-mcell.is-wrong .wl-in { background: #fde3df; border-bottom-color: #c2412d; }

/* Envoi par e-mail */
.wl-modal-box.wl-form { text-align: left; gap: 1.4rem; width: 100%; }
.wl-modal-box.wl-form h2 { font-family: var(--wl-font-head); font-size: 2.2rem; display: flex; align-items: center; gap: .8rem; margin: 0; }
.wl-modal-box.wl-form .wl-actions { justify-content: flex-start; margin-top: 0; }
.wl-send-msg { min-height: 1.6em; margin: 0; font-size: 1.45rem; }
.wl-send-msg.is-ok { color: var(--wl-link); font-weight: 600; }
.wl-send-msg.is-err { color: #a3321f; font-weight: 600; }
.wl-bravo-guest { font-size: 1.45rem; }

/* Champs de formulaire supplémentaires */
.wl-field input[type="email"], .wl-field input[type="password"], .wl-field select {
	width: 100%; font: inherit; font-size: 1.7rem; padding: 1.1rem 1.4rem; border: 1px solid var(--wl-tag-border);
	border-radius: var(--wl-radius-sm); background: #fff; color: var(--wl-ink);
}
.wl-field select:focus { outline: none; border-color: var(--wl-accent); box-shadow: 0 0 0 3px rgba(124, 207, 79, .3); }
.wl-check { display: flex; align-items: flex-start; gap: .8rem; font-size: 1.5rem; cursor: pointer; }
.wl-check input { margin-top: .35rem; width: 1.8rem; height: 1.8rem; accent-color: var(--wl-header-2); flex: none; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-flash { background: var(--wl-tag-bg); border: 1px solid var(--wl-tag-border); border-radius: var(--wl-radius-sm); padding: 1.2rem 1.6rem; color: var(--wl-link-hover); font-weight: 600; margin: 0 0 2rem; }
.wl-muted { color: var(--wl-muted); }
.wl-static { margin: 0; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.wl-ok { color: var(--wl-link); font-weight: 600; font-size: 1.4rem; }

/* En-tête : accès à l'espace membre */
.wl-account { width: auto; min-width: 4rem; padding: 0 .9rem; border-radius: 999px; display: inline-flex; gap: .6rem; }
.wl-account-name { font-family: var(--wl-font-head); font-weight: 600; font-size: 1.4rem; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-account-name:empty { display: none; }
.wl-account.is-in { background: rgba(255, 255, 255, .14); }
@media (max-width: 700px) { .wl-account-name { display: none; } .wl-account { padding: 0; } }

/* Connexion, inscription */
.wl-auth { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.4rem; align-items: start; padding-top: 2.4rem; }
.wl-auth > .wl-crumbs { grid-column: 1 / -1; }
.wl-auth--single { grid-template-columns: minmax(0, 52rem); justify-content: center; }
.wl-auth-box { padding: 3.2rem; }
.wl-auth-box .wl-h2 { margin-top: 0; }
.wl-auth-alt { margin: 2rem 0 0; font-size: 1.5rem; text-align: center; }
.wl-btn--google { width: 100%; justify-content: center; background: #fff; border-color: #dadce0; color: #3c4043 !important; }
.wl-btn--google:hover { background: #f8faf9; }
.wl-or { display: flex; align-items: center; gap: 1.2rem; color: var(--wl-muted); font-size: 1.35rem; margin: 2rem 0; }
.wl-or::before, .wl-or::after { content: ""; flex: 1; height: 1px; background: var(--wl-line); }
.wl-perks ul { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; margin: 1.2rem 0 1.6rem; }
.wl-perks li { display: flex; gap: 1.2rem; align-items: flex-start; font-size: 1.55rem; }
.wl-perks .wl-icon { color: var(--wl-link); margin-top: .2rem; }
@media (max-width: 820px) { .wl-auth { grid-template-columns: minmax(0, 1fr); } }

/* Espace membre */
.wl-banner--account { padding-bottom: 1.6rem; }
.wl-acc-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2.8rem; padding: .6rem; background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: 999px; }
.wl-acc-nav a, .wl-acc-nav button {
	display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.5rem; border-radius: 999px; border: 0; background: none;
	font: inherit; font-family: var(--wl-font-head); font-weight: 600; font-size: 1.4rem; color: var(--wl-ink); text-decoration: none; cursor: pointer;
}
.wl-acc-nav a:hover, .wl-acc-nav button:hover { background: var(--wl-soft); }
.wl-acc-nav a.is-on { background: var(--wl-accent); color: var(--wl-nav); }
.wl-acc-logout { margin: 0 0 0 auto; }
.wl-acc-logout button { color: var(--wl-muted); }
@media (max-width: 760px) {
	.wl-acc-nav { border-radius: var(--wl-radius); }
	.wl-acc-nav span { display: none; }
	.wl-acc-nav a.is-on span { display: inline; }
}
.wl-acc-stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.6rem; margin: 0 0 3.2rem; }
.wl-acc-stats li { background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: var(--wl-radius); padding: 2rem; display: flex; flex-direction: column; gap: .2rem; }
.wl-acc-stats strong { font-family: var(--wl-font-head); font-size: 3.2rem; color: var(--wl-link); line-height: 1.1; }
.wl-acc-stats span { color: var(--wl-muted); font-size: 1.45rem; }
.wl-acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; align-items: start; }
.wl-acc-side { display: flex; flex-direction: column; gap: 2.4rem; }
.wl-acc-side .wl-panel + .wl-panel { margin-top: 0; }
@media (max-width: 860px) { .wl-acc-grid { grid-template-columns: minmax(0, 1fr); } }
.wl-danger { margin-top: 2rem; border-top: 1px solid var(--wl-line); padding-top: 1.6rem; }
.wl-danger summary { cursor: pointer; color: #a3321f; font-weight: 600; font-size: 1.5rem; }
.wl-danger form { margin-top: 1.6rem; }

/* Badges */
.wl-badges { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.2rem; margin: 0 0 3.2rem; }
.wl-badge { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; padding: 1.8rem 1.2rem; border-radius: var(--wl-radius); background: var(--wl-panel); border: 1px dashed var(--wl-line); color: var(--wl-muted); }
.wl-badge-ico { display: grid; place-items: center; width: 5.2rem; height: 5.2rem; border-radius: 50%; background: #eef2ec; }
.wl-badge-ico .wl-icon { width: 2.6rem; height: 2.6rem; }
.wl-badge-name { font-family: var(--wl-font-head); font-weight: 600; font-size: 1.45rem; line-height: 1.25; }
.wl-badge-goal { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.wl-badge.is-earned { border: 1px solid var(--wl-tag-border); color: var(--wl-ink); background: linear-gradient(180deg, #fff, var(--wl-soft)); }
.wl-badge.is-earned .wl-badge-ico { background: var(--wl-pop); color: var(--wl-pop-ink); box-shadow: 0 6px 16px -8px rgba(200, 90, 20, .8); }
.wl-badge.is-earned .wl-badge-goal { color: var(--wl-link); font-weight: 700; }

/* Cartes : avancement */
.wl-progress { display: block; height: .7rem; border-radius: 999px; background: var(--wl-line); overflow: hidden; margin-top: 1rem; }
.wl-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--wl-accent), var(--wl-pop)); border-radius: 999px; }
.wl-card-meta--progress { margin-top: .6rem; }
.wl-card-badge { background: var(--wl-tag-bg); border-radius: 999px; padding: 0 .8rem; font-size: 1.2rem; font-weight: 600; color: var(--wl-link); }

@media print {
	.wl-play-only, .wl-play-note, .wl-cw-play { display: none !important; }
	.is-playing .wl-cw-wrap .wl-cw { display: block !important; }
	.wl-in { background: none !important; color: var(--wl-ink); }
	.wl-ltile.is-used { opacity: 1; }
}

/* Pont galaxie : coloriages et poèmes du même thème */
.wl-bridge { background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: var(--wl-radius); padding: 2.4rem; margin-top: 2.4rem; box-shadow: var(--wl-shadow); }
.wl-bridge-head .wl-h3 { margin: 0 0 .4rem; }
.wl-bridge-head p { margin: 0 0 1.6rem; font-size: 1.5rem; }
.wl-bridge-block + .wl-bridge-block { margin-top: 2rem; padding-top: 2rem; border-top: 1px dashed var(--wl-line); }
.wl-bridge-label { margin: 0 0 1rem; font-size: 1.45rem; }
.wl-bridge-label strong { font-family: var(--wl-font-head); color: var(--wl-link); }
.wl-bridge-label span { color: var(--wl-muted); }
.wl-bridge-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.wl-bridge-list a { display: flex; flex-direction: column; gap: .6rem; height: 100%; text-decoration: none; color: var(--wl-ink); border: 1px solid var(--wl-line); border-radius: var(--wl-radius-sm); padding: .8rem; background: #fff; transition: border-color .15s, transform .15s; }
.wl-bridge-list a:hover { border-color: var(--wl-accent); transform: translateY(-2px); }
.wl-bridge-list img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fafcf8; border-radius: 6px; }
.wl-bridge-t { font-family: var(--wl-font-head); font-weight: 600; font-size: 1.45rem; line-height: 1.3; }
.wl-bridge-a { font-size: 1.3rem; color: var(--wl-muted); font-style: italic; }
.wl-bridge-s { font-family: var(--wl-font-serif); font-size: 1.4rem; color: var(--wl-muted); line-height: 1.45; }
.wl-bridge-list--text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wl-bridge-list--text a { padding: 1.2rem 1.4rem; border-left: 3px solid #d9b64a; }
.wl-bridge-more { margin: 1rem 0 0; font-size: 1.45rem; }
@media (max-width: 700px) { .wl-bridge-list, .wl-bridge-list--text { grid-template-columns: minmax(0, 1fr); } .wl-bridge { padding: 1.6rem; } }
@media print { .wl-bridge { display: none !important; } }

/* Mots fléchés */
.wl-aw { display: block; width: 100%; height: auto; max-width: 78rem; margin: 0 auto; }
.wl-aw-cell { fill: #fff; stroke: var(--wl-ink); stroke-width: 1.5; }
.wl-aw-clue { fill: var(--wl-tag-bg); stroke: var(--wl-ink); stroke-width: 1.5; }
.wl-aw-split { stroke: var(--wl-ink); stroke-width: 1; }
.wl-aw-arrow { fill: var(--wl-header); }
.wl-aw .wl-aw-def { font-family: var(--wl-font-body); font-weight: 600; fill: var(--wl-nav); text-anchor: middle; }
.wl-aw .wl-cw-letter { font-family: var(--wl-font-head); font-weight: 600; text-anchor: middle; fill: var(--wl-link); }
.is-playing .wl-aw-wrap .wl-aw { display: none; }
.wl-aw-list { margin-top: 1.6rem; font-size: 1.5rem; }
.wl-aw-list summary { cursor: pointer; color: var(--wl-link); font-weight: 600; }
.wl-aw-list ul { list-style: none; columns: 2; margin-top: 1rem; }
.wl-aw-list li { padding: .3rem 0; break-inside: avoid; }
.wl-aw-list small { color: var(--wl-muted); }
.wl-cwc.is-def { background: var(--wl-tag-bg); border-color: var(--wl-header); display: flex; flex-direction: column; overflow: hidden; }
.wl-cwc.is-def span { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1px 2px; font-size: clamp(.75rem, 1.15vw, 1.05rem); font-weight: 600; line-height: 1.05; color: var(--wl-nav); position: relative; overflow: hidden; }
.wl-cwc.is-def span + span { border-top: 1px solid var(--wl-header); }
.wl-cwc.is-def span::after { position: absolute; font-size: 1.1rem; color: var(--wl-header); line-height: 1; }
.wl-cwc.is-def .is-A::after { content: "▸"; right: 0; top: 50%; transform: translateY(-50%); }
.wl-cwc.is-def .is-D::after { content: "▾"; bottom: -1px; left: 50%; transform: translateX(-50%); }
.wl-cwc.is-def.is-active-def { background: #fff4b8; }
@media (max-width: 760px) { .wl-aw-list ul { columns: 1; } }
@media print {
	.wl-aw-list { display: none !important; }
	.is-playing .wl-aw-wrap .wl-aw { display: block !important; }
}

/* Mots mêlés en images (pilote) */
.wl-ws-layout:has(.wl-wordlist--pics) { grid-template-columns: minmax(0, 1fr) 26rem; }
.wl-wordlist--pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; columns: auto; }
.wl-wordlist--pics li { flex-direction: column; gap: .4rem; padding: .8rem .4rem; background: #fff; border-radius: var(--wl-radius-sm); border: 1px solid var(--wl-tag-border); text-align: center; }
.wl-wordlist--pics .wl-picto { width: 6.4rem; height: 6.4rem; }
.wl-pic-word { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.5rem; }
.wl-wordlist--pics li.is-found { text-decoration: none; }
.wl-wordlist--pics li.is-found .wl-picto { opacity: .35; }
@media (max-width: 860px) { .wl-wordlist--pics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .wl-wordlist--pics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media print {
	.wl-ws-layout:has(.wl-wordlist--pics) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
	.wl-wordlist--pics li.is-found .wl-picto { opacity: 1; }
}

/* Pendu */
.wl-hm-svg line, .wl-hm-svg circle, .wl-hm-thumb line, .wl-hm-thumb circle { fill: none; stroke-width: 4; stroke-linecap: round; }
.wl-hm-on { stroke: var(--wl-nav); }
.wl-hm-off { stroke: var(--wl-line); stroke-dasharray: 3 5; }
.wl-hm-thumb { display: block; width: 100%; height: auto; }
.wl-hm-dash { stroke: var(--wl-ink); stroke-width: 2.5; }
.wl-hm-letter { font-family: var(--wl-font-head); font-weight: 700; text-anchor: middle; fill: var(--wl-nav); }
.wl-hm-list { list-style: none; counter-reset: hm; display: grid; gap: 2rem; }
.wl-hm-list li { counter-increment: hm; display: flex; flex-direction: column; gap: .8rem; padding-left: 3.6rem; position: relative; }
.wl-hm-list li::before { content: counter(hm); position: absolute; left: 0; top: .2rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--wl-pop); display: grid; place-items: center; font-weight: 700; font-size: 1.35rem; color: var(--wl-pop-ink); }
.wl-hm-clue { font-size: 1.6rem; }
.wl-hm-tried { font-size: 1.35rem; color: var(--wl-muted); display: flex; gap: .8rem; align-items: flex-end; }
.wl-hm-tried i { flex: 1; max-width: 32rem; border-bottom: 1.5px dashed var(--wl-tag-border); height: 1.6rem; }
.is-playing .wl-hm-list { display: none; }
.wl-hm-play { flex-direction: column; align-items: center; gap: 1.6rem; }
.wl-hm-stage { display: grid; grid-template-columns: 18rem minmax(0, 1fr); gap: 2.4rem; align-items: center; width: 100%; }
.wl-hm-stage .wl-hm-svg { width: 100%; max-width: 18rem; }
.wl-hm-svg .wl-hm-on { animation: wl-draw .35s ease-out; }
@keyframes wl-draw { from { opacity: 0; } to { opacity: 1; } }
.wl-hm-info { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.wl-hm-count { font-family: var(--wl-font-head); font-weight: 600; color: var(--wl-muted); font-size: 1.4rem; }
.wl-hm-hint { font-size: 1.7rem; }
.wl-hm-word { display: flex; flex-wrap: wrap; gap: .6rem; }
.wl-hm-word span { display: inline-grid; place-items: center; width: 4rem; height: 4.6rem; border-bottom: 3px solid var(--wl-ink); font-family: var(--wl-font-head); font-weight: 700; font-size: 2.6rem; color: var(--wl-nav); }
.wl-hm-word span.is-given { color: var(--wl-muted); }
.wl-hm-word span.is-missed { color: #c2412d; }
.wl-hm-lives { font-size: 1.45rem; color: var(--wl-muted); }
.wl-hm-lives b { color: var(--wl-nav); }
.wl-hm-msg { min-height: 2.4rem; font-weight: 600; font-size: 1.6rem; margin: 0; }
.wl-hm-msg.is-ok { color: var(--wl-link); }
.wl-hm-msg.is-ko { color: #a3321f; }
.wl-hm-keys { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: .5rem; width: 100%; max-width: 72rem; }
.wl-hm-keys button { font: inherit; font-family: var(--wl-font-head); font-weight: 700; font-size: 1.8rem; padding: 1rem 0; border-radius: 10px; border: 1px solid var(--wl-tag-border); background: #fff; color: var(--wl-nav); cursor: pointer; box-shadow: 0 3px 0 var(--wl-tag-border); }
.wl-hm-keys button:hover:not(:disabled) { background: var(--wl-tag-hover); }
.wl-hm-keys button.is-ok { background: var(--wl-accent); border-color: var(--wl-accent); box-shadow: none; }
.wl-hm-keys button.is-ko { background: #f3e3df; color: #b9a39d; box-shadow: none; text-decoration: line-through; }
.wl-hm-keys button:disabled { cursor: default; }
.wl-hm-next { align-self: flex-start; }
.wl-hm-dots { display: flex; gap: .5rem; }
.wl-hm-dots i { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--wl-line); }
.wl-hm-dots i.is-won { background: var(--wl-accent); }
.wl-hm-dots i.is-lost { background: #e8a598; }
.wl-hm-dots i.is-cur { outline: 2px solid var(--wl-header); outline-offset: 1px; }
@media (max-width: 700px) {
	.wl-hm-stage { grid-template-columns: 9rem minmax(0, 1fr); gap: 1.2rem; }
	.wl-hm-keys { grid-template-columns: repeat(7, minmax(0, 1fr)); }
	.wl-hm-word span { width: 3rem; height: 3.6rem; font-size: 2rem; }
}
@media print { .wl-hm-play { display: none !important; } .is-playing .wl-hm-list { display: grid !important; } }


/* ===== Couleur complémentaire (orange) : boutons d'action et accents ===== */
.wl-btn--pop, .wl-btn--create { background: var(--wl-pop); color: var(--wl-pop-ink) !important; box-shadow: 0 3px 0 #d96a22; }
.wl-btn--pop:hover, .wl-btn--pop:focus-visible, .wl-btn--create:hover, .wl-btn--create:focus-visible { background: var(--wl-pop-light); }
.wl-btn--pop[aria-pressed="true"] { background: var(--wl-pop-soft); border-color: var(--wl-pop); box-shadow: none; }
.wl-logo-oo { color: var(--wl-pop); }
.wl-eyebrow { color: var(--wl-pop-text); }
.wl-card:hover { border-color: var(--wl-pop-border); }
.wl-card:hover .wl-card-title { color: var(--wl-pop-text); }
.wl-access a:hover { border-color: var(--wl-pop-border); }
.wl-access a:hover .wl-icon { color: var(--wl-pop-text); }
.wl-chip.is-on { background: var(--wl-pop); border-color: var(--wl-pop); color: var(--wl-pop-ink); }
.wl-acc-nav a.is-on { background: var(--wl-pop); color: var(--wl-pop-ink); }
.wl-tip .wl-icon { color: var(--wl-pop); }
.wl-flash { border-left: 4px solid var(--wl-pop); }
.wl-hm-keys button.is-ok { background: var(--wl-accent); }
.wl-hm-dots i.is-cur { outline-color: var(--wl-pop); }
.wl-bridge-list a:hover { border-color: var(--wl-pop-border); }
.wl-modal-box { border-top: 6px solid var(--wl-pop); }
.wl-ws .wl-mark-1 { stroke: rgba(255, 138, 61, .45); }

/* ===== Pages légales, contact, bandeau de consentement ===== */
.wl-banner--slim { padding: 2.4rem 3.2rem; margin-bottom: 2.4rem; }
.wl-banner--slim .wl-lead { max-width: 70rem; margin: 1rem 0 0; font-size: 1.7rem; color: var(--wl-muted); }
.wl-legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: 2.4rem; align-items: start; margin-bottom: 4rem; }
@media (max-width: 900px) { .wl-legal-layout { grid-template-columns: minmax(0, 1fr); } .wl-legal-nav { order: -1; flex-direction: row; flex-wrap: wrap; position: static; } }
.wl-legal { max-width: 82rem; }
.wl-legal h2 { font-family: var(--wl-font-head); font-size: 2.1rem; margin: 3rem 0 1.2rem; color: var(--wl-link-hover); }
.wl-legal h2:first-child { margin-top: 0; }
.wl-legal h3 { font-size: 1.75rem; margin: 2.2rem 0 .8rem; }
.wl-legal p { margin: 0 0 1.4rem; }
.wl-legal em { color: var(--wl-muted); }
.wl-legal-date { color: var(--wl-pop-text); font-weight: 600; font-size: 1.45rem; }
.wl-legal .wl-table { width: 100%; border-collapse: collapse; font-size: 1.5rem; margin: 1rem 0 2rem; }
@media (max-width: 640px) { .wl-legal .wl-table { display: block; overflow-x: auto; } }
.wl-legal .wl-table th, .wl-legal .wl-table td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--wl-line); vertical-align: top; }
.wl-legal .wl-table th { background: var(--wl-soft); font-weight: 700; }
.wl-legal .wl-table code { font-size: 1.35rem; background: var(--wl-pop-soft); padding: .1rem .5rem; border-radius: 4px; white-space: nowrap; }
.wl-legal-nav { display: flex; flex-direction: column; gap: .4rem; position: sticky; top: 2rem; background: var(--wl-panel); border: 1px solid var(--wl-line); border-radius: var(--wl-radius); padding: 1.2rem; }
.wl-legal-nav a { padding: .8rem 1.2rem; border-radius: var(--wl-radius-sm); font-weight: 600; color: var(--wl-ink); text-decoration: none; font-size: 1.5rem; }
.wl-legal-nav a:hover { background: var(--wl-pop-soft); color: var(--wl-pop-text); }
.wl-legal-nav a.is-on { background: var(--wl-pop); color: var(--wl-pop-ink); }
.wl-legal-note a, .wl-help a { color: var(--wl-link); font-weight: 600; }
.wl-contact { max-width: 82rem; }
.wl-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 2rem; }
@media (max-width: 640px) { .wl-contact-grid { grid-template-columns: minmax(0, 1fr); } }
.wl-field input[type="tel"], .wl-field input[type="url"] {
	width: 100%; font: inherit; font-size: 1.7rem; padding: 1.1rem 1.4rem; border: 1px solid var(--wl-tag-border);
	border-radius: var(--wl-radius-sm); background: #fff; color: var(--wl-ink);
}
.wl-field.has-error input, .wl-field.has-error textarea { border-color: #d9534f; background: #fff8f7; }
.wl-req { color: var(--wl-pop-text); }
.wl-contact-actions { margin: 0; }
.wl-errors p { margin: 0 0 .6rem; }
.wl-contact-ok { text-align: center; padding: 2rem 1rem; }
.wl-contact-ok-icon { display: inline-flex; width: 6.4rem; height: 6.4rem; border-radius: 50%; background: var(--wl-pop-soft); color: var(--wl-pop-text); align-items: center; justify-content: center; margin-bottom: 1rem; }
.wl-contact-ok-icon .wl-icon { width: 3.4rem; height: 3.4rem; }
.wl-footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.wl-footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.wl-footer-legal a, .wl-linkbtn { color: inherit; text-decoration: none; font: inherit; }
.wl-footer-legal a:hover, .wl-linkbtn:hover { color: var(--wl-pop-light); text-decoration: underline; }
.wl-linkbtn { background: none; border: 0; padding: 0; cursor: pointer; }
.wl-consent { position: fixed; z-index: 90; left: 1.6rem; right: 1.6rem; bottom: 1.6rem; max-width: 52rem; margin: 0 auto 0 0; background: #fff; border: 1px solid var(--wl-line); border-top: 5px solid var(--wl-pop); border-radius: var(--wl-radius); box-shadow: 0 12px 40px rgba(15, 46, 29, .22); padding: 1.8rem 2rem; font-size: 1.5rem; }
.wl-consent[hidden] { display: none; }
.wl-consent-title { font-family: var(--wl-font-head); font-size: 1.8rem; margin: 0 0 .6rem; }
.wl-consent p { margin: 0 0 1.2rem; }
.wl-consent a { color: var(--wl-link); font-weight: 600; }
.wl-consent-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.wl-consent-actions .wl-btn { flex: 1; justify-content: center; min-width: 12rem; }
@media print { .wl-consent { display: none !important; } }

/* =====================================================================
   Mascotte : le petit chien de Wordiloo (helper wl_mascot()).
   Une vraie illustration par attitude, mise en scène par .wl-mascot--{pose}.
   ===================================================================== */
.wl-mascot { position: relative; display: inline-block; flex: none; line-height: 0; vertical-align: middle; }
.wl-mascot-fig { position: relative; display: block; }
.wl-mascot img { display: block; width: 100%; height: auto; }
.wl-mascot.is-flip img { transform: scaleX(-1); }
.wl-mascot-prop { position: absolute; pointer-events: none; }
.wl-mascot-bubble {
	position: absolute; z-index: 3; display: block; width: max-content; max-width: 22rem;
	background: #fff; color: var(--wl-ink); border: 2px solid var(--wl-ink); border-radius: 1.6rem;
	padding: .8rem 1.3rem; font-family: var(--wl-font-head); font-weight: 600; font-size: 1.45rem; line-height: 1.3;
	box-shadow: 0 4px 0 rgba(20, 35, 26, .15); text-align: left;
}
.wl-mascot-bubble::after {
	content: ""; position: absolute; width: 1.4rem; height: 1.4rem; background: #fff;
	border: solid var(--wl-ink); border-width: 0 2px 2px 0;
}
/* Queue de bulle vers le bas à droite (bulle à gauche du chien) */
.wl-mascot--home .wl-mascot-bubble, .wl-mascot--auth .wl-mascot-bubble, .wl-mascot--rise .wl-mascot-bubble { right: 82%; top: 8%; max-width: 19rem; }
.wl-mascot--home .wl-mascot-bubble::after, .wl-mascot--auth .wl-mascot-bubble::after, .wl-mascot--rise .wl-mascot-bubble::after { right: -.85rem; top: 1.4rem; transform: rotate(-45deg); }

/* --- head : la tête et le mot-symbole forment un seul logo --- */
.wl-mascot--head {
	position: relative; z-index: 1; width: 5.8rem; height: 5.4rem; margin: -.6rem -.5rem -.5rem 0;
	transform: rotate(-7deg); transform-origin: 55% 80%; transition: transform .25s;
}
.wl-mascot--head img { width: 112%; max-width: none; margin: 0 0 0 -5%; clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 12% 90%, 0 90%); filter: drop-shadow(0 3px 0 rgba(0,0,0,.18)); }
.wl-logo:hover .wl-mascot--head, .wl-logo:focus-visible .wl-mascot--head { transform: rotate(6deg) scale(1.06); }
.wl-logo--footer .wl-mascot--head { display: none; }

/* --- home : salue derrière la grille du jour --- */
.wl-mascot--home { position: absolute; z-index: 0; width: 13rem; right: 3.2rem; bottom: calc(100% - 7.5rem); transform: rotate(4deg); transform-origin: 50% 100%; }
.wl-mascot--home .wl-mascot-fig { animation: wl-peek 6s ease-in-out infinite; transform-origin: 50% 100%; }
.wl-mascot--home img { clip-path: polygon(0 0, 100% 0, 100% 100%, 42% 100%, 42% 46%, 0 46%); }
@keyframes wl-peek { 0%, 70%, 100% { transform: translateY(0) rotate(0); } 78% { transform: translateY(-.8rem) rotate(-3deg); } 86% { transform: translateY(0) rotate(2deg); } }
.wl-hero-art--mascot { padding-top: 11rem; }
.wl-hero-art--mascot .wl-hero-card { position: relative; z-index: 1; }
.wl-hero-art--mascot .wl-mascot--home { top: 0; bottom: auto; }

/* --- auth : accueille au-dessus du formulaire --- */
.wl-auth-box--mascot { position: relative; margin-top: 10rem; }
.wl-auth-box--mascot > *:not(.wl-mascot) { position: relative; z-index: 1; }
.wl-auth-box--mascot::before { content: ""; position: absolute; inset: 0; background: inherit; border-radius: inherit; z-index: 1; }
.wl-mascot--auth { position: absolute; z-index: 0; width: 14rem; right: 3rem; bottom: calc(100% - .4rem); transform: rotate(3deg); transform-origin: 50% 100%; }
.wl-mascot--auth.is-flip { right: auto; left: 3rem; transform: rotate(-3deg); }
.wl-mascot--auth.is-flip .wl-mascot-bubble { right: auto; left: 82%; }
.wl-mascot--auth.is-flip .wl-mascot-bubble::after { right: auto; left: -.85rem; transform: rotate(135deg); }
.wl-mascot--auth .wl-mascot-fig { animation: wl-peek 6s ease-in-out infinite; transform-origin: 50% 100%; }

/* --- rise : monte depuis le bas du bandeau --- */
.wl-banner--mascot { padding-right: 32rem; }
.wl-mascot--rise { position: absolute; right: 3.2rem; bottom: -7rem; width: 13rem; transform: rotate(-5deg); animation: wl-rise .7s cubic-bezier(.2, .9, .3, 1.25) both .2s; }
@keyframes wl-rise { from { transform: translateY(70%) rotate(-5deg); opacity: 0; } to { transform: translateY(0) rotate(-5deg); opacity: 1; } }
.wl-mascot--rise .wl-mascot-bubble { top: 0; right: 88%; max-width: 16rem; }

/* --- lost : penché, perplexe, avec des « ? » --- */
.wl-mascot--lost { width: 13rem; margin: 0 auto 1.6rem; transform: rotate(-9deg); }
.wl-mascot--lost .wl-mascot-fig { animation: wl-tilt 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wl-tilt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(7deg); } }
.wl-mascot--lost .wl-mascot-prop { font-family: var(--wl-font-head); font-weight: 700; color: var(--wl-pop); line-height: 1; animation: wl-float 2.4s ease-in-out infinite; }
.wl-mascot-q1 { top: -1rem; left: -2.2rem; font-size: 4.2rem; transform: rotate(-14deg); }
.wl-mascot-q2 { top: 1.6rem; right: -2.4rem; font-size: 3rem; transform: rotate(12deg); animation-delay: -1.2s !important; }
@keyframes wl-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.8rem; } }
.wl-mascot--lost .wl-mascot-bubble { left: 92%; top: 30%; transform: rotate(9deg); }
.wl-mascot--lost .wl-mascot-bubble::after { left: -.85rem; top: 1.4rem; transform: rotate(135deg); }

/* --- search : renifle avec sa loupe --- */
.wl-mascot-row { display: flex; align-items: center; gap: 2.4rem; flex-wrap: wrap; margin: 1rem 0 2rem; }
.wl-mascot-row .wl-empty { flex: 1; min-width: 22rem; margin: 0; }
.wl-mascot--search { width: 15rem; }
.wl-mascot--search .wl-mascot-fig { animation: wl-sniff 2.6s ease-in-out infinite; }
.wl-mascot-loupe { width: 5.4rem; height: 5.4rem; left: -1.4rem; bottom: -1rem; color: var(--wl-pop-text); transform: rotate(-10deg); animation: wl-sniff 2.6s ease-in-out infinite; }
@keyframes wl-sniff { 0%, 100% { translate: 0 0; } 35% { translate: 1.6rem -.4rem; } 70% { translate: -.4rem .4rem; } }
.wl-mascot--search .wl-mascot-bubble { left: 62%; bottom: 96%; }
.wl-mascot--search .wl-mascot-bubble::after { left: 1.6rem; bottom: -.85rem; transform: rotate(45deg); }
.wl-mascot-row .wl-mascot--search { margin: 5.6rem 0 0 1.6rem; }

/* --- tip : lunettes et geste « j'ai une astuce » --- */
.wl-tip--mascot { align-items: center; gap: 1.4rem; }
.wl-mascot--tip { width: 7.2rem; transform: rotate(-5deg); filter: drop-shadow(0 3px 0 rgba(0,0,0,.1)); }

/* --- jump : saute de joie (modale Bravo) --- */
.wl-modal-emoji .wl-mascot--jump { width: 12rem; }
.wl-mascot--jump .wl-mascot-fig { animation: wl-jump 1.1s cubic-bezier(.3, 0, .3, 1) infinite; transform-origin: 50% 100%; }
@keyframes wl-jump {
	0%, 100% { transform: translateY(0) scale(1.04, .96); }
	40% { transform: translateY(-2.2rem) scale(.97, 1.03) rotate(-4deg); }
	60% { transform: translateY(-2.2rem) scale(.97, 1.03) rotate(4deg); }
}
.wl-mascot--jump .wl-mascot-prop { color: var(--wl-pop); line-height: 1; animation: wl-twinkle 1.1s ease-in-out infinite; }
.wl-mascot-s1 { top: 6%; left: -3rem; font-size: 3rem; }
.wl-mascot-s2 { top: -1rem; right: -2.4rem; font-size: 3.6rem; color: var(--wl-accent) !important; animation-delay: -.4s !important; }
.wl-mascot-s3 { bottom: 26%; right: -3.4rem; font-size: 2.2rem; animation-delay: -.7s !important; }
@keyframes wl-twinkle { 0%, 100% { scale: .7; opacity: .6; } 50% { scale: 1.15; opacity: 1; } }

/* --- stand : debout sur le bord du pied de page --- */
.wl-main { padding-bottom: 11rem; }
.wl-footer { position: relative; }
.wl-footer-mascot { position: relative; height: 0; }
.wl-mascot--stand { position: absolute; right: 1rem; bottom: 3.6rem; width: 8.4rem; transform-origin: 50% 100%; }
.wl-mascot--stand .wl-mascot-fig { transform-origin: 50% 100%; transition: transform .3s; }
.wl-mascot--stand:hover .wl-mascot-fig { animation: wl-wiggle .9s ease-in-out; }
@keyframes wl-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 50% { transform: rotate(5deg); } 75% { transform: rotate(-3deg); } }
.wl-mascot--stand .wl-mascot-bubble { right: 92%; top: 0; opacity: 0; transform: translateY(.6rem); transition: opacity .25s, transform .25s; font-size: 1.35rem; }
.wl-mascot--stand .wl-mascot-bubble::after { right: -.85rem; top: 1.1rem; transform: rotate(-45deg); }
.wl-mascot--stand:hover .wl-mascot-bubble { opacity: 1; transform: none; }

/* --- Petits écrans --- */
@media (max-width: 1080px) {
	.wl-banner--mascot { padding-right: 26rem; }
	.wl-mascot--rise .wl-mascot-bubble { max-width: 12rem; }
}
@media (max-width: 900px) {
	.wl-hero-art--mascot { padding-top: 9rem; }
	.wl-hero-art--mascot .wl-mascot--home { width: 10.5rem; }
}
@media (max-width: 760px) {
	.wl-banner--mascot { padding-right: 2rem; padding-bottom: 11rem; }
	.wl-mascot--rise { width: 10rem; right: 2rem; bottom: -6rem; }
	.wl-mascot--lost { width: 10rem; margin-top: 4.5rem; }
	.wl-mascot--lost .wl-mascot-bubble { left: auto; right: 0; top: auto; bottom: 100%; transform: translateX(40%) rotate(4deg); margin-bottom: 1rem; }
	.wl-mascot--lost .wl-mascot-bubble::after { display: none; }
}
@media (max-width: 600px) {
	.wl-mascot--head { width: 4.8rem; height: 4.5rem; margin-right: -.4rem; }
	.wl-mascot--stand { width: 6.6rem; }
	.wl-main { padding-bottom: 9rem; }
}
@media (max-width: 420px) {
	.wl-mascot-bubble { max-width: 15rem; font-size: 1.3rem; }
}
/* En-tête étroit : le chien et le mot-symbole restent compacts pour laisser le burger visible. */
@media (max-width: 480px) {
	.wl-header-in { gap: .6rem; }
	.wl-mascot--head { width: 4rem; height: 3.8rem; margin-right: -.35rem; }
	.wl-logo { font-size: 2rem; }
	.wl-tools { gap: .2rem; }
	.wl-tool, .wl-burger summary { width: 3.6rem; height: 3.6rem; }
	.wl-lang > summary { padding: .5rem .8rem; }
	.wl-lang > summary .wl-icon { display: none; }
	.wl-btn--create { padding: .7rem; }
}
@media (max-width: 400px) {
	.wl-tools .wl-btn--create { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.wl-mascot, .wl-mascot *, .wl-mascot-fig { animation: none !important; transition: none !important; }
}
@media print { .wl-mascot, .wl-footer-mascot { display: none !important; } }
