@charset "UTF-8";

/* =====================================================================
   LE WIKI — le sommaire et les trois galeries (objets, vêtements,
   véhicules), toutes dessinées par le même gabarit
   (templates/wiki/galerie.php) et animées par assets/js/wiki-galerie.js.
   =====================================================================
   « Tout doit être pareil » (Jimmy, 17/10/2026) : une seule recherche,
   une seule colonne de filtres, une seule barre, une seule case, une
   seule pagination, une seule visionneuse. Une galerie ne diffère que
   par le FORMAT de ses images (`data-galerie`, plus bas).

   Les images détourées reposent sur un DAMIER, le signe universel de la
   transparence — tiré de l'encre, il suit le thème jour comme la nuit.
   ===================================================================== */

@layer tokens {
	:root {
		--wk-damier-a: color-mix(in srgb, var(--pf-ink) 4%, transparent);
		--wk-damier-b: color-mix(in srgb, var(--pf-ink) 9%, transparent);
		--wk-damier-pas: var(--space-4);
		--wk-damier: repeating-conic-gradient(var(--wk-damier-a) 0 25%, var(--wk-damier-b) 0 50%) 0 0 / var(--wk-damier-pas) var(--wk-damier-pas);
		/* La colonne des filtres, sur un écran large. */
		--wk-colonne-filtres: 232px;
		/* La case choisie (la sélection du staff) : un JAUNE franc dans les
		   deux thèmes — `--pf-gold` vire au brun en thème clair. */
		--wk-choix: #efd27d;
		--wk-choix-fond: color-mix(in srgb, #efd27d 16%, var(--pf-panel));
		--wk-choix-voile: rgba(239, 210, 125, .14);
	}

	[data-theme="light"] {
		--wk-choix: #e8bd3a;
		--wk-choix-fond: #fff1bf;
		--wk-choix-voile: rgba(232, 189, 58, .24);
	}
}

@layer components {

	/* `<label>` est habillé en intitulé de champ par theme.css (capitales,
	   marge basse) : le tri en emploie un, en ligne. */
	.wk-app :where(label) {
		margin: 0;
		color: inherit;
		font-size: inherit;
		font-weight: inherit;
		letter-spacing: normal;
		text-transform: none;
	}

	/* =================================================================
	   LES PACKS D'OBJETS — en haut de la colonne de gauche des objets
	   (objetsPackMenuHtml, includes/objets_packs.php). Chaque pack est
	   un filtre ; sous le pack choisi, son encart : prix, achat ou
	   téléchargement. Rien au milieu de la galerie (Jimmy, 18/10/2026).
	   ================================================================= */

	/* ⚠ `min-width: 0` ET LE TEXTE QUI PASSE À LA LIGNE : la colonne fait
	   232 px, et un bouton du site ne se coupe jamais (« Acheter avec
	   PayPal — 9,99 € ») — il débordait, et la colonne défilait de côté.

	   L'ENCART SE REPLIE (21/10/2026 : « simple, le menu des objets ») :
	   un <details>, sans script. Replié, une ligne — le prix et « Voir
	   plus » ; déplié, la description, l'achat ou le téléchargement,
	   l'aide. */
	.wk-pack-achat {
		min-width: 0;
		margin: var(--space-1) 0 var(--space-2);
		overflow-wrap: anywhere;
		background: var(--pf-panel);
		border: var(--contour-l) var(--contour-s) var(--pf-gold-line);
		border-radius: var(--radius);
	}

	.wk-pack-resume {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-2);
		padding: var(--space-2) var(--space-3);
		list-style: none;
	}

	.wk-pack-resume::-webkit-details-marker { display: none; }

	.wk-pack-voir {
		display: inline-flex;
		align-items: center;
		gap: 2px;
		font-size: var(--fs-xs);
		font-weight: 600;
		white-space: nowrap;
		color: var(--pf-gold-strong);
	}

	.wk-pack-resume:hover .wk-pack-voir {
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	.wk-pack-voir .ti { transition: transform var(--dur) var(--ease-out); }

	.wk-pack-achat[open] .wk-pack-voir .ti { transform: rotate(180deg); }

	.wk-pack-achat[open] .wk-pack-plus,
	.wk-pack-achat:not([open]) .wk-pack-moins { display: none; }

	.wk-pack-detail {
		display: grid;
		gap: var(--space-2);
		padding: 0 var(--space-3) var(--space-3);
	}

	.wk-pack-achat .button {
		min-width: 0;
		max-inline-size: 100%;
		height: auto;
		white-space: normal;
		text-align: center;
	}

	.wk-pack-prix {
		margin: 0;
		font-size: var(--fs-md);
		font-weight: 700;
		font-variant-numeric: tabular-nums;
		color: var(--pf-ink);
	}

	.wk-pack-lead,
	.wk-pack-attente,
	.wk-pack-aide {
		margin: 0;
		font-size: var(--fs-xs);
		line-height: 1.6;
		color: var(--pf-muted);
	}

	/* « Nécessite le Pack PanaFive n° 1 » : un objet de pack, dans la
	   visionneuse (sous le titre) et sur sa fiche — un lien vers le pack. */
	.wk-vis-pack,
	.obj-pack-requis {
		display: inline-flex;
		align-items: center;
		gap: var(--space-1);
		justify-self: start;
		margin: 0;
		font-size: var(--fs-xs);
		font-weight: 600;
		color: var(--pf-gold-strong);
		text-decoration: none;
	}

	.wk-vis-pack:hover,
	.obj-pack-requis:hover {
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	.wk-vis-pack[hidden] { display: none; }

	/* =================================================================
	   LE SOMMAIRE — une carte par galerie
	   ================================================================= */

	.wk-carte {
		display: grid;
		gap: var(--space-3);
		align-content: start;
		padding: var(--space-5);
		color: var(--pf-ink-soft);
		text-decoration: none;
		background: var(--pf-panel);
		border: var(--contour-l) var(--contour-s) var(--border-color);
		border-radius: var(--card-radius);
		box-shadow: var(--shadow-xs);
		transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
	}

	.wk-carte:hover {
		border-color: var(--pf-gold-line);
		background: var(--pf-panel-hover);
	}

	.wk-carte-tete {
		display: flex;
		align-items: center;
		gap: var(--space-3);
	}

	.wk-carte-icone {
		display: grid;
		place-items: center;
		flex: none;
		inline-size: calc(var(--space-6) + var(--space-3));
		aspect-ratio: 1;
		font-size: var(--fs-xl);
		color: var(--pf-gold);
		background: var(--pf-gold-soft);
		border-radius: var(--radius);
	}

	.wk-carte-titre {
		margin: 0;
		font-size: var(--fs-md);
		color: var(--pf-ink);
	}

	.wk-carte-texte {
		margin: 0;
		font-size: var(--fs-sm);
		line-height: 1.6;
		color: var(--pf-muted);
	}

	.wk-carte-pied {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-2) var(--space-3);
		font-size: var(--fs-xs);
	}

	.wk-carte-compte {
		font-weight: 600;
		font-variant-numeric: tabular-nums;
		color: var(--pf-gold-strong);
	}

	.wk-carte-lien {
		display: inline-flex;
		align-items: center;
		gap: var(--space-1);
		font-weight: 600;
		color: var(--pf-gold-strong);
	}

	/* =================================================================
	   UNE GALERIE
	   ================================================================= */

	/* `--wk-tete-h` : plus de bandeau au-dessus de la barre (la recherche
	   est DANS la barre) — rien ne s'en décale. */
	.wk-app {
		--wk-tete-h: 0px;

		display: grid;
		gap: var(--space-4);
		min-width: 0;
	}

	/* --- La recherche, premier élément de la barre --------------------- */

	.wk-recherche {
		flex: 1 1 16rem;
		min-width: 0;
		display: flex;
		align-items: center;
		gap: var(--space-2);
		box-sizing: border-box;
		height: var(--wk-barre-h);
		padding-inline: var(--space-3);
		background: var(--pf-panel);
		border: var(--contour-l) var(--contour-s) var(--pf-gold-line);
		border-radius: var(--radius);
		transition: border-color var(--dur) var(--ease-out);
	}

	/* UNE couleur, au repos comme au focus (Jimmy, 19/10/2026) : le focus
	   ne dore que le trait du cadre, sans anneau ni fond nouveau. */
	.wk-recherche:focus-within { border-color: var(--pf-gold); }

	.wk-recherche > .ti {
		flex: none;
		color: var(--pf-gold);
	}

	/* Le champ se fond dans son cadre : c'est le cadre qui montre le
	   focus (ci-dessus). Le texte part un peu après l'icône.

	   ⚠ CLASSE DOUBLÉE : sans contour (`data-contour="aucun"`), theme.css
	   donne aux champs un fond à lui, plus lourd que `.wk-recherche input`.
	   Il l'emportait au repos et perdait au focus — le texte avait au
	   repos un autre fond que l'icône, et le changeait au clic. Doublée,
	   la règle pèse autant et passe après (wiki.css suit theme.css). */
	.wk-recherche.wk-recherche input,
	.wk-recherche.wk-recherche input:focus,
	.wk-recherche.wk-recherche input:focus-visible {
		flex: 1 1 0;
		min-width: 0;
		height: 100%;
		min-height: 0;
		padding: 0 var(--space-1) 0 var(--space-2);
		font: inherit;
		font-size: var(--fs-sm);
		color: var(--pf-ink);
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		outline: none;
	}

	/* --- Le corps : les filtres à gauche, la galerie à droite --------- */

	.wk-corps {
		display: grid;
		grid-template-columns: var(--wk-colonne-filtres) minmax(0, 1fr);
		gap: var(--space-5);
		align-items: start;
	}

	/* La colonne colle sous le bandeau de recherche et défile en elle-même
	   quand elle est plus haute que l'écran (28 catégories d'objets). */
	.wk-facettes {
		display: grid;
		gap: var(--space-5);
		align-content: start;
		position: sticky;
		top: calc(var(--topbar-h) + var(--wk-tete-h) + var(--space-4));
		max-height: calc(100dvh - var(--topbar-h) - var(--wk-tete-h) - var(--space-4) * 2);
		padding: var(--space-1);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
	}

	.wk-filtres {
		display: grid;
		gap: var(--space-5);
		align-content: start;
	}

	.wk-facette {
		display: grid;
		gap: var(--space-1);
		align-content: start;
		min-width: 0;
	}

	.wk-facette-titre {
		margin: 0 0 var(--space-1);
		padding-inline: var(--space-2);
		font-family: inherit;
		font-size: var(--fs-2xs);
		font-weight: 700;
		line-height: 1.4;
		letter-spacing: var(--track-wide);
		text-transform: uppercase;
		color: var(--pf-muted);
	}

	.wk-facette-choix {
		display: grid;
		gap: calc(var(--space-1) / 2);
	}

	.wk-facette-intertitre {
		margin-top: var(--space-2);
		padding-inline: var(--space-2);
		font-size: var(--fs-2xs);
		font-weight: 600;
		color: var(--pf-muted);
	}

	.wk-filtre {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-2);
		min-width: 0;
		min-height: calc(var(--space-6) + var(--space-1));
		padding: var(--space-1) var(--space-2);
		font-size: var(--fs-sm);
		color: var(--pf-ink-soft);
		text-decoration: none;
		border-radius: var(--radius);
		transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
	}

	.wk-filtre:hover {
		color: var(--pf-ink);
		background: var(--pf-surface-2);
	}

	/* Le choix en cours : un voile d'or et l'or de TEXTE (pas un aplat
	   de --pf-gold, illisible en thème jour). */
	.wk-filtre.is-on {
		font-weight: 600;
		color: var(--pf-gold-strong);
		background: var(--pf-gold-soft);
		box-shadow: inset 0 0 0 1px var(--pf-gold-line);
	}

	.wk-filtre.est-vide:not(.is-on) { color: var(--pf-muted); }

	.wk-filtre-libelle {
		display: inline-flex;
		align-items: center;
		gap: var(--space-2);
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.wk-filtre .ti {
		flex: none;
		color: var(--pf-gold);
	}

	.wk-filtre-n {
		flex: none;
		font-size: var(--fs-xs);
		font-variant-numeric: tabular-nums;
		color: var(--pf-muted);
	}

	.wk-filtre.is-on .wk-filtre-n { color: inherit; }

	/* Les teintes : une pastille par couleur. */
	.wk-pastilles {
		display: flex;
		flex-wrap: wrap;
		gap: var(--space-2);
		padding: var(--space-1) var(--space-2);
	}

	.wk-pastille {
		display: block;
		inline-size: calc(var(--space-5) + var(--space-1));
		aspect-ratio: 1;
		background: var(--wk-teinte);
		border: 2px solid var(--pf-line);
		border-radius: 50%;
		transition: border-color var(--dur) var(--ease-out);
	}

	.wk-pastille:hover { border-color: var(--pf-gold-line); }

	.wk-pastille.is-on {
		border-color: var(--pf-gold);
		outline: 2px solid var(--pf-gold);
		outline-offset: 2px;
	}

	.wk-pastille.est-vide:not(.is-on) { opacity: .3; }

	/* --- La zone de la galerie ----------------------------------------
	   Un CONTENEUR : le nombre de colonnes se décide sur sa largeur à
	   elle, pas sur celle de la fenêtre (la colonne du site et celle des
	   filtres en prennent jusqu'à 500 px). */
	.wk-zone {
		display: grid;
		gap: var(--space-4);
		min-width: 0;
		container: wk-zone / inline-size;
	}

	/* La barre, UNE ligne collée sous la barre du site : la recherche, le
	   tri, le compte et la page en cours restent sous la main pendant tout
	   le défilement (elle passe à la ligne sur un écran étroit). Un
	   fond opaque (celui de la page) : les cases passent DESSOUS, pas au
	   travers. `z-index: 1` : un plan local, au-dessus des cases (dont
	   l'image est positionnée) et sous tout ce que le site empile. */
	/* `--wk-barre-h` : LA hauteur commune — recherche, tri, compte, page
	   et bouton des filtres ont tous ce cadre-là, au pixel près. */
	.wk-barre {
		--wk-barre-h: var(--pf-champ-h);

		position: sticky;
		top: var(--topbar-h);
		z-index: 1;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--space-2) var(--space-3);
		padding-block: var(--space-2);
		background: var(--background-color);
		border-bottom: 1px solid var(--pf-line-soft);
	}

	/* Le même cadre pour la page et le bouton des filtres que pour la
	   recherche. `.wk-barre` devant : plus fort que les règles globales des
	   champs (theme.css, `input[type="number"]`), au repos COMME au focus —
	   sinon le cadre change de taille au clic. Le tri, lui, est la liste
	   déroulante du site (theme.css) : elle a déjà cette hauteur. */
	.wk-barre .wk-pager,
	.wk-barre .wk-filtres-bouton,
	.wk-barre-actions .button {
		box-sizing: border-box;
		height: var(--wk-barre-h);
		min-height: 0;
		background-color: var(--pf-panel);
		border: var(--contour-l) var(--contour-s) var(--pf-gold-line);
		border-radius: var(--radius);
	}

	/* Le compte : une largeur FIXE, collé à la page — « 3 objets » ou
	   « 12 047 objets », rien d'autre ne bouge sur la ligne. */
	.wk-compte {
		flex: none;
		inline-size: 10rem;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		text-align: right;
		font-size: var(--fs-sm);
		font-weight: 600;
		font-variant-numeric: tabular-nums;
		line-height: var(--wk-barre-h);
		color: var(--pf-ink);
	}

	/* La page : ‹ Page [ 3 ] sur 251 › dans UN cadre. Les flèches et le
	   numéro n'ont pas de cadre à eux ; le numéro et le total ont une
	   largeur FIXE (4 chiffres) : rien ne bouge quand le nombre change. */
	.wk-barre .wk-pager {
		flex: none;
		display: inline-flex;
		align-items: center;
		overflow: hidden;
	}

	.wk-barre .wk-pager .pagination-btn.is-arrow {
		flex: none;
		width: 32px;
		min-width: 0;
		height: 100%;
		padding: 0;
		color: var(--pf-gold);
		background: transparent;
		border: 0;
		border-radius: 0;
	}

	.wk-barre .wk-pager .pagination-btn.is-arrow:disabled {
		opacity: .35;
		cursor: default;
		pointer-events: none;
	}

	.wk-pager-texte {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		font-size: var(--fs-xs);
		font-variant-numeric: tabular-nums;
		color: var(--pf-muted);
		white-space: nowrap;
	}

	.wk-pager-total {
		display: inline-block;
		min-inline-size: 4ch;
	}

	/* Le numéro de page, qu'on peut taper (un <input> du script, un <span>
	   sans lui) : la MÊME boîte au repos et au focus. */
	.wk-barre .wk-pager-champ,
	.wk-barre .wk-pager-champ:hover,
	.wk-barre .wk-pager-champ:focus,
	.wk-barre .wk-pager-champ:focus-visible {
		display: inline-block;
		box-sizing: border-box;
		width: calc(4ch + 12px);
		height: 26px;
		min-height: 0;
		margin: 0;
		padding: 0;
		font: inherit;
		font-weight: 600;
		font-variant-numeric: tabular-nums;
		line-height: 26px;
		text-align: center;
		color: var(--pf-ink);
		background: var(--pf-surface-2);
		border: 0;
		border-radius: var(--radius-sm);
		box-shadow: none;
		outline: none;
		appearance: textfield;
		-moz-appearance: textfield;
	}

	.wk-barre .wk-pager-champ:focus-visible { box-shadow: inset 0 0 0 1px var(--pf-gold); }

	.wk-pager-champ::-webkit-inner-spin-button,
	.wk-pager-champ::-webkit-outer-spin-button {
		margin: 0;
		-webkit-appearance: none;
	}

	.wk-tri {
		flex: none;
		display: inline-flex;
		align-items: center;
	}

	.wk-barre .wk-tri select {
		inline-size: auto;
		max-inline-size: 100%;
	}

	/* Le pictogramme du tri et les boutons de l'en-tête recopiés dans la
	   barre : pour le téléphone seulement (plus bas, « TÉLÉPHONE »). */
	.wk-tri > .ti,
	.wk-barre-actions { display: none; }

	/* --- L'avis (recherche sans résultat, suggestion, erreur) --------- */

	.wk-avis {
		margin: 0;
		padding: var(--space-2) var(--space-3);
		font-size: var(--fs-sm);
		line-height: 1.7;
		color: var(--pf-ink-soft);
		background: var(--pf-warn-soft);
		border-inline-start: 3px solid var(--pf-warn);
		border-radius: var(--radius);
	}

	.wk-avis .ti { color: var(--pf-warn); }
	.wk-avis .button { margin-inline-start: var(--space-2); }

	/* --- Les cases ------------------------------------------------------
	   LE NOMBRE DE COLONNES DIVISE TOUJOURS 48 (2, 3, 4, 6, 8) : une
	   page de 48 cases finit sa dernière rangée, pas de rangée creuse
	   au-dessus des numéros de page. */
	.wk-cases {
		--wk-colonnes: 2;

		display: grid;
		grid-template-columns: repeat(var(--wk-colonnes), minmax(0, 1fr));
		gap: var(--space-3);
		margin: 0;
		padding: 0;
		list-style: none;
		transition: opacity var(--dur) var(--ease-out);
	}

	/* Le socle écarte chaque `li + li` (style.css, couche base) : dans
	   une grille, la première case dépassait ses voisines de 4 px. */
	.wk-cases > li { margin: 0; }

	@container wk-zone (min-width: 420px) { .wk-cases { --wk-colonnes: 3; } }
	@container wk-zone (min-width: 600px) { .wk-cases { --wk-colonnes: 4; } }
	@container wk-zone (min-width: 860px) { .wk-cases { --wk-colonnes: 6; } }
	@container wk-zone (min-width: 1180px) { .wk-cases { --wk-colonnes: 8; } }

	/* Un véhicule se lit en largeur : moins de colonnes, plus larges. */
	@container wk-zone (min-width: 420px) { [data-galerie="vehicules"] .wk-cases { --wk-colonnes: 2; } }
	@container wk-zone (min-width: 600px) { [data-galerie="vehicules"] .wk-cases { --wk-colonnes: 3; } }
	@container wk-zone (min-width: 860px) { [data-galerie="vehicules"] .wk-cases { --wk-colonnes: 4; } }
	@container wk-zone (min-width: 1180px) { [data-galerie="vehicules"] .wk-cases { --wk-colonnes: 6; } }

	/* Sans requêtes de conteneur (navigateur ancien) : des colonnes
	   libres. */
	@supports not (container-type: inline-size) {
		.wk-cases { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
	}

	/* Pendant qu'une nouvelle page arrive (recherche, filtre, numéro), les
	   cases d'avant restent, estompées : rien ne disparaît avant que la
	   neuve soit là. */
	.wk-app.est-attente .wk-cases { opacity: .45; }

	.wk-case {
		display: grid;
		grid-template-rows: auto 1fr;
		min-width: 0;
		overflow: hidden;
		background: var(--pf-panel);
		border: var(--contour-l) var(--contour-s) var(--pf-line-soft);
		border-radius: var(--card-radius);
		transition: border-color var(--dur) var(--ease-out);
	}

	.wk-case:hover,
	.wk-case:focus-within { border-color: var(--pf-gold-line); }

	/* ⚠ LE FORMAT NE CÈDE JAMAIS AU CONTENU. Une image haute (une moto
	   vue de face) agrandissait sa case : `aspect-ratio` n'est qu'une
	   préférence tant que la hauteur minimale suit le contenu. D'où
	   `overflow: hidden` (qui ramène ce minimum à zéro) et l'image posée
	   en absolu dans sa marge : toutes les cases d'une rangée sont égales. */
	.wk-case-image {
		--wk-marge: var(--space-3);

		position: relative;
		display: grid;
		place-items: center;
		aspect-ratio: var(--wk-format, 1);
		overflow: hidden;
		background: var(--wk-damier);
		border-bottom: 1px solid var(--pf-line-soft);
		cursor: zoom-in;
	}

	[data-galerie="vehicules"] { --wk-format: 16 / 9; }
	[data-galerie="vehicules"] .wk-case-image { --wk-marge: var(--space-2); }

	.wk-case-image img {
		position: absolute;
		inset: var(--wk-marge);
		display: block;
		inline-size: calc(100% - var(--wk-marge) * 2);
		block-size: calc(100% - var(--wk-marge) * 2);
		object-fit: contain;
	}

	/* Une image qui n'arrive pas, ou qui n'existe pas : le cadre garde
	   sa taille et montre le pictogramme (repli-image.js). */
	.wk-repli {
		display: none;
		font-size: var(--fs-3xl);
		color: var(--pf-muted);
	}

	.wk-case-image.est-sans-image img { display: none; }
	.wk-case-image.est-sans-image .wk-repli { display: grid; }

	.wk-case-texte {
		display: grid;
		gap: calc(var(--space-1) / 2);
		align-content: start;
		min-width: 0;
		padding: var(--space-2) var(--space-3) var(--space-3);
	}

	.wk-case-titre,
	.wk-case-sous,
	.wk-case-couleurs {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.wk-case-titre {
		font-size: var(--fs-sm);
		font-weight: 600;
		color: var(--pf-ink);
		text-decoration: none;
	}

	.wk-case-titre:hover {
		color: var(--pf-gold-strong);
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	/* Le nom de modèle ou le numéro, à copier : seule son icône se clique
	   (theme.css) ; main.js montre la bulle « Copié ». */
	.wk-case-code {
		justify-self: start;
		max-inline-size: 100%;
		min-height: 0;
		margin: 0;
		padding: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font: inherit;
		font-size: var(--fs-xs);
		font-variant-numeric: tabular-nums slashed-zero;
		text-align: start;
		color: var(--pf-muted);
		background: none;
		border: 0;
	}

	.wk-case-sous {
		font-size: var(--fs-xs);
		color: var(--pf-muted);
	}

	.wk-case-couleurs {
		display: inline-flex;
		align-items: center;
		gap: var(--space-1);
		font-size: var(--fs-2xs);
		font-weight: 600;
		color: var(--pf-gold-strong);
	}

	/* Les couleurs d'un vêtement, parcourues SUR l'image (demande de Jimmy,
	   17/10/2026) : une flèche de chaque côté, le rang et le nombre en bas
	   (wiki-galerie.js). Au survol de la case ; toujours là sur un écran
	   tactile, qui n'a pas de survol. ⚠ `wk-CASE-teinte…` : `.wk-teintes`
	   et `.wk-teinte` sont la liste des couleurs de la fiche (plus bas). */
	.wk-case-teintes {
		position: absolute;
		inset: 0;
		z-index: 1;
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-rows: 1fr;
		align-items: center;
		pointer-events: none;
		opacity: 0;
		transition: opacity var(--dur) var(--ease-out);
	}

	.wk-case:hover .wk-case-teintes,
	.wk-case:focus-within .wk-case-teintes { opacity: 1; }

	@media (hover: none) {
		.wk-case-teintes { opacity: 1; }
	}

	.wk-case-teinte-fleche {
		display: grid;
		place-items: center;
		inline-size: 28px;
		block-size: 28px;
		margin: 0 var(--space-1);
		color: var(--pf-ink);
		background: var(--pf-panel);
		border: 1px solid var(--pf-line);
		border-radius: var(--radius-sm, 4px);
		cursor: pointer;
		pointer-events: auto;
	}

	.wk-case-teinte-fleche:hover {
		color: var(--pf-gold-strong);
		border-color: var(--pf-gold-line);
	}

	.wk-case-teinte-fleche .ti { inline-size: 16px; block-size: 16px; }

	/* Chacun sa colonne : le compteur vide (masqué) ne décale pas la
	   flèche de droite. */
	.wk-case-teinte-fleche.est-prec { grid-area: 1 / 1; }
	.wk-case-teinte-fleche.est-suiv { grid-area: 1 / 3; }

	/* Le numéro de la couleur montrée : son rang, à partir de 1
	   (cf. wiki-galerie.js, `ecrireTeinte`). */
	.wk-case-teinte-pos {
		grid-area: 1 / 2;
		align-self: end;
		justify-self: center;
		display: inline-flex;
		align-items: center;
		gap: var(--space-1);
		margin-block-end: var(--space-1);
		padding: 0 var(--space-1);
		font-size: var(--fs-2xs);
		font-weight: 600;
		font-variant-numeric: tabular-nums;
		color: var(--pf-ink);
		background: var(--pf-panel);
		border: 1px solid var(--pf-line);
		border-radius: var(--radius-sm, 4px);
	}

	.wk-case-teinte-pos:empty { display: none; }
	.wk-case-teinte-pos .ti { inline-size: 12px; block-size: 12px; color: var(--pf-ink-soft); }

	/* --- La sélection (droit `can_gerer_objets`) ------------------------
	   « Comme sur iPhone » (21/10/2026) : « Sélectionner », puis chaque
	   case touchée reçoit un rond coché dans son coin haut droit ; la
	   toucher encore le retire. La pilule du bas compte et supprime
	   (wiki-galerie.js, public/wiki_supprimer.php). Pendant la sélection,
	   un clic choisit : il n'ouvre ni la visionneuse ni la fiche, et les
	   flèches des couleurs s'effacent. */
	.wk-app.est-selection .wk-case,
	.wk-app.est-selection .wk-case-image,
	.wk-app.est-selection .wk-case-titre {
		cursor: pointer;
		-webkit-user-select: none;
		user-select: none;
	}

	.wk-app.est-selection .wk-case-teintes { display: none; }

	/* La pilule ne couvre ni la dernière rangée ni les numéros de page. */
	.wk-app.est-selection .wk-zone { padding-block-end: 5rem; }

	.wk-app.est-selection .wk-case {
		transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
			background-color var(--dur) var(--ease-out);
	}

	.wk-app.est-selection .wk-case-image img { transition: transform var(--dur) var(--ease-out); }

	/* La case choisie se voit de loin : un anneau jaune, son fond teinté,
	   une lueur jaune dans l'image, et l'image qui recule (comme sur
	   iPhone). Les couleurs : `--wk-choix…`, en tête de fichier. */
	.wk-case.est-choisie {
		background-color: var(--wk-choix-fond);
		border-color: var(--wk-choix);
		box-shadow: 0 0 0 2px var(--wk-choix), 0 6px 18px color-mix(in srgb, var(--wk-choix) 30%, transparent);
	}

	.wk-case.est-choisie .wk-case-image::after {
		content: '';
		position: absolute;
		inset: 0;
		background: var(--wk-choix-voile);
		box-shadow: inset 0 0 28px color-mix(in srgb, var(--wk-choix) 55%, transparent);
	}

	.wk-case.est-choisie .wk-case-image img { transform: scale(.86); }

	.wk-case-coche {
		position: absolute;
		top: var(--space-2);
		right: var(--space-2);
		z-index: 2;
		display: none;
		place-items: center;
		inline-size: 26px;
		block-size: 26px;
		/* Le jaune des boutons du site : `--pf-gold` vire au brun en
		   thème clair (#875f0e), illisible en rond plein. */
		color: var(--accent-contrast);
		background: var(--pf-gold-grad);
		border: 2px solid #fff;
		border-radius: 50%;
		box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
	}

	.wk-case.est-choisie .wk-case-coche { display: grid; }
	.wk-case-coche .ti { inline-size: 16px; block-size: 16px; }

	/* La pilule : posée dans <body> par le script (`.wk-zone` est un
	   conteneur, qui retiendrait un `position: fixed`). */
	.wk-selection {
		position: fixed;
		left: 50%;
		bottom: max(var(--space-4), env(safe-area-inset-bottom));
		z-index: var(--z-dropdown);
		display: flex;
		align-items: center;
		gap: var(--space-2);
		box-sizing: border-box;
		max-inline-size: calc(100vw - var(--space-4) * 2);
		margin: 0;
		padding: var(--space-2);
		padding-inline-start: var(--space-4);
		background: var(--pf-panel);
		border: var(--contour-l) var(--contour-s) var(--pf-gold-line);
		border-radius: var(--radius-pill);
		box-shadow: var(--shadow-md);
		transform: translateX(-50%);
	}

	.wk-selection[hidden] { display: none; }

	.wk-selection-compte {
		min-inline-size: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: var(--fs-sm);
		font-weight: 600;
		font-variant-numeric: tabular-nums;
		color: var(--pf-ink);
	}

	.wk-selection .button {
		flex: none;
		border-radius: var(--radius-pill);
	}

	.wk-selection .button:disabled {
		opacity: .45;
		cursor: not-allowed;
	}

	/* --- Les états : chargement, erreur (la visionneuse) --------------- */

	.wk-etat {
		display: inline-flex;
		align-items: center;
		gap: var(--space-2);
		margin: 0;
		font-size: var(--fs-sm);
		color: var(--pf-muted);
		text-align: center;
	}

	.wk-etat .ti { flex: none; }

	.wk-tourne { animation: wk-tourne calc(var(--dur-slow) * 3) linear infinite; }

	@keyframes wk-tourne { to { transform: rotate(360deg); } }

	.wk-pages .pagination-bar { margin-top: 0; }

	/* --- Les filtres sur un écran étroit : un panneau à déplier -------- */

	@media (min-width: 901px) {
		.wk-filtres-bouton { display: none; }
	}

	@media (max-width: 900px) {
		.wk-corps { grid-template-columns: minmax(0, 1fr); }

		.wk-facettes {
			position: static;
			max-height: none;
			overflow: visible;
		}

		.wk-filtres { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }

		/* Le script replie la colonne derrière le bouton « Filtres » ;
		   sans lui, elle reste dépliée au-dessus de la galerie. */
		.wk-app.est-filtres-replies:not(.est-filtres-ouverts) .wk-facettes { display: none; }
	}

	/* Au doigt, une cible de 44 px. */
	@media (pointer: coarse) {
		.wk-filtre { min-height: 44px; }
		.wk-pastille { inline-size: calc(var(--space-6) + var(--space-1)); }
	}

	/* =================================================================
	   LA VISIONNEUSE — une fenêtre qui couvre l'écran
	   =================================================================
	   Le <dialog> est transparent et pleine page, c'est `.wk-vis-boite`
	   qui dessine la surface (le patron de `.ci`, style.css) : un clic à
	   côté de la boîte arrive sur la fenêtre, et ferme. Les boutons
	   « précédente / suivante » sont À CÔTÉ de l'image, jamais dessus. */

	.wk-vis {
		inset: 0;
		inline-size: 100%;
		block-size: 100%;
		max-inline-size: 100%;
		max-block-size: 100%;
		margin: 0;
		padding: var(--space-5);
		color: var(--texte-color);
		background: transparent;
		border: 0;
		overflow: hidden;
	}

	.wk-vis[open] {
		display: grid;
		place-items: center;
	}

	/* Pas de flou, et pas de jeton : ::backdrop n'hérite de rien dans une
	   partie des navigateurs (voir les fenêtres, style.css). */
	.wk-vis::backdrop { background: rgba(4, 3, 2, .86); }

	.wk-vis-boite {
		display: grid;
		grid-template-rows: auto minmax(0, 1fr) auto auto;
		inline-size: min(1120px, 100%);
		block-size: min(880px, 100%);
		min-height: 0;
		overflow: hidden;
		background: var(--pf-panel);
		border: var(--contour-l) var(--contour-s) var(--border-color);
		border-radius: var(--radius-lg);
		box-shadow: var(--shadow-lg);
	}

	.wk-vis-tete {
		display: flex;
		align-items: center;
		gap: var(--space-3);
		padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5);
		border-bottom: 1px solid var(--border-color);
	}

	.wk-vis-titres {
		flex: 1 1 auto;
		min-width: 0;
	}

	.wk-vis-titre,
	.wk-vis-sous {
		margin: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.wk-vis-titre {
		font-size: var(--fs-lg);
		line-height: 1.3;
		letter-spacing: normal;
		text-transform: none;
		color: var(--pf-ink);
	}

	.wk-vis-sous {
		font-size: var(--fs-xs);
		color: var(--pf-muted);
	}

	.wk-vis-attente {
		flex: none;
		color: var(--pf-gold);
	}

	.wk-vis-position {
		flex: none;
		font-size: var(--fs-xs);
		font-variant-numeric: tabular-nums;
		color: var(--pf-muted);
	}

	.wk-vis-fermer,
	.wk-vis-nav {
		display: grid;
		place-items: center;
		flex: none;
		inline-size: 44px;
		block-size: 44px;
		padding: 0;
		font-size: var(--fs-lg);
		color: var(--secondary-color);
		background: transparent;
		border: 0;
		border-radius: 50%;
		cursor: pointer;
		transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
	}

	.wk-vis-nav { background: var(--pf-surface); }

	.wk-vis-fermer:hover,
	.wk-vis-nav:hover {
		color: var(--pf-gold-strong);
		background: var(--pf-gold-soft);
	}

	.wk-vis-nav:disabled {
		opacity: .3;
		cursor: default;
		pointer-events: none;
	}

	/* La scène : ‹ [ image ] ›. Le glissé du doigt reste à la page dans
	   le sens vertical ; l'horizontal est lu par le script. */
	.wk-vis-scene {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: stretch;
		gap: var(--space-4);
		min-height: 0;
		padding: var(--space-4);
		touch-action: pan-y pinch-zoom;
	}

	.wk-vis-nav { align-self: center; }

	.wk-vis-cadre {
		position: relative;
		display: grid;
		place-items: center;
		min-width: 0;
		min-height: 0;
		overflow: hidden;
		background: var(--wk-damier);
		border-radius: var(--radius);
	}

	/* L'aperçu (la vignette, déjà là) et la grande image occupent la même
	   place ; l'aperçu s'efface quand la grande est arrivée. Jamais
	   agrandies au-delà de leur taille : pas d'image floue.
	   ⚠ EN ABSOLU, CENTRÉES PAR `margin: auto` : en élément de grille,
	   `max-block-size: 100%` ne trouvait aucune hauteur définie et une
	   image de 1 280 px débordait du cadre, coupée par le bas. */
	.wk-vis-cadre > img {
		position: absolute;
		inset: 0;
		margin: auto;
		max-inline-size: 100%;
		max-block-size: 100%;
		object-fit: contain;
	}

	/* Les vignettes des vêtements font 256 px : on les laisse doubler,
	   pas plus. */
	.wk-vis[data-galerie="vetements"] .wk-vis-image {
		inline-size: min(100%, 512px);
		block-size: auto;
	}

	.wk-vis-cadre:not(.est-prete) .wk-vis-image { opacity: 0; }
	.wk-vis-cadre.est-prete .wk-vis-apercu,
	.wk-vis-apercu:not([src]) { display: none; }

	/* AUCUNE ANIMATION (19/10/2026) : la visionneuse s'ouvre et se ferme
	   d'un coup — ni l'entrée commune des fenêtres, ni son voile. La
	   fermeture se fait sans sortie animée (wiki-galerie.js). */
	.wk-vis[open],
	.wk-vis[open]::backdrop { animation: none; }

	.wk-vis-repli {
		display: none;
		grid-area: 1 / 1;
		font-size: var(--fs-4xl);
		color: var(--pf-muted);
	}

	.wk-vis-cadre.est-sans-image > img,
	.wk-vis-cadre.est-erreur > img { display: none; }
	.wk-vis-cadre.est-sans-image .wk-vis-repli { display: block; }

	.wk-vis-erreur {
		grid-area: 1 / 1;
		display: grid;
		justify-items: center;
		gap: var(--space-3);
		padding: var(--space-5);
		text-align: center;
	}

	/* Les couleurs d'un vêtement : une rangée qui défile. */
	.wk-vis-couleurs {
		display: grid;
		gap: var(--space-2);
		padding: var(--space-3) var(--space-5);
		border-top: 1px solid var(--border-color);
	}

	.wk-vis-couleurs-titre {
		margin: 0;
		font-family: inherit;
		font-size: var(--fs-2xs);
		font-weight: 700;
		line-height: 1.4;
		letter-spacing: var(--track-wide);
		text-transform: uppercase;
		color: var(--pf-muted);
	}

	.wk-vis-teintes {
		display: flex;
		gap: var(--space-2);
		padding-block: var(--space-1);
		overflow-x: auto;
		scrollbar-width: thin;
	}

	.wk-vis-teinte {
		display: grid;
		place-items: center;
		flex: none;
		inline-size: calc(var(--space-7) + var(--space-2));
		aspect-ratio: 1;
		padding: var(--space-1);
		background: var(--wk-damier);
		border: var(--contour-l) var(--contour-s) var(--pf-line-soft);
		border-radius: var(--radius);
		cursor: pointer;
		transition: border-color var(--dur) var(--ease-out);
	}

	.wk-vis-teinte:hover { border-color: var(--pf-gold-line); }

	.wk-vis-teinte[aria-pressed="true"] {
		border-color: var(--pf-gold);
		box-shadow: inset 0 0 0 1px var(--pf-gold);
	}

	.wk-vis-teinte img {
		inline-size: 100%;
		block-size: 100%;
		object-fit: contain;
	}

	.wk-vis-pied {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-3);
		padding: var(--space-3) var(--space-5);
		border-top: 1px solid var(--border-color);
	}

	.wk-vis-code { font-size: var(--fs-sm); }

	.wk-vis-actions {
		display: flex;
		flex-wrap: wrap;
		gap: var(--space-2);
	}

	/* =================================================================
	   LA FICHE D'UNE IMAGE — un vêtement, un véhicule
	   =================================================================
	   (templates/wiki/fiche.php) L'image en grand à gauche, ce qu'il faut
	   en savoir à droite, puis les couleurs et les voisins — en cases de
	   galerie, les mêmes que partout. */

	.wk-fiche {
		display: grid;
		gap: var(--space-6);
		min-width: 0;
	}

	.wk-fiche-corps {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		gap: var(--space-6);
		align-items: start;
	}

	/* Même règle que la case : le format ne cède pas au contenu. */
	.wk-fiche-image {
		position: relative;
		display: grid;
		place-items: center;
		aspect-ratio: var(--wk-format, 1);
		margin: 0;
		overflow: hidden;
		background: var(--wk-damier);
		border: var(--contour-l) var(--contour-s) var(--pf-line-soft);
		border-radius: var(--card-radius);
	}

	/* Jamais agrandie au-delà de sa taille (pas d'image floue) ; les
	   vignettes de 256 px des vêtements peuvent doubler, pas plus. */
	.wk-fiche-image img {
		position: absolute;
		inset: var(--space-5);
		margin: auto;
		max-inline-size: calc(100% - var(--space-5) * 2);
		max-block-size: calc(100% - var(--space-5) * 2);
		object-fit: contain;
	}

	[data-galerie="vetements"] .wk-fiche-image img {
		inline-size: min(calc(100% - var(--space-5) * 2), 512px);
		block-size: auto;
	}

	/* Pas d'image, ou une image qui n'arrive pas : le pictogramme
	   (repli-image.js pose `est-sans-image` sur le cadre). */
	.wk-fiche-repli {
		display: none;
		font-size: var(--fs-4xl);
		color: var(--pf-muted);
	}

	.wk-fiche-image.est-sans-image img { display: none; }
	.wk-fiche-image.est-sans-image .wk-fiche-repli { display: block; }

	/* Hors de la galerie (les voisins d'une fiche, une liste d'objets), une
	   case mène à SA fiche — pas de visionneuse : la main, pas la loupe. */
	.wk-cases:not(#wk-cases) .wk-case-image { cursor: pointer; }

	.wk-fiche-infos {
		display: grid;
		gap: var(--space-4);
		align-content: start;
		min-width: 0;
	}

	.wk-fiche-texte {
		margin: 0;
		max-inline-size: 66ch;
		font-size: var(--fs-sm);
		line-height: 1.72;
		color: var(--pf-muted);
	}

	.wk-specs {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		margin: 0;
		overflow: hidden;
		background: var(--pf-panel);
		border: var(--contour-l) var(--contour-s) var(--pf-line-soft);
		border-radius: var(--radius);
	}

	.wk-specs dt,
	.wk-specs dd {
		margin: 0;
		padding: var(--space-2) var(--space-3);
		font-size: var(--fs-sm);
		border-bottom: 1px solid var(--pf-line-soft);
	}

	.wk-specs dt {
		color: var(--pf-muted);
		background: var(--pf-surface);
	}

	.wk-specs dd {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--space-2);
		min-width: 0;
		overflow-wrap: anywhere;
		font-variant-numeric: tabular-nums;
		color: var(--pf-ink);
	}

	.wk-specs dt:last-of-type,
	.wk-specs dd:last-of-type { border-bottom: 0; }

	.wk-specs .wk-case-code {
		font-size: var(--fs-sm);
		color: var(--pf-ink);
	}

	/* La classe, la catégorie, la silhouette mènent à leur galerie. */
	.wk-specs a {
		color: var(--link-color);
		text-underline-offset: 3px;
	}

	.wk-fiche-actions {
		display: flex;
		flex-wrap: wrap;
		gap: var(--space-2);
	}

	.wk-fiche-section {
		display: grid;
		gap: var(--space-3);
		min-width: 0;
	}

	.wk-fiche-section > h2 {
		margin: 0;
		font-size: var(--fs-lg);
	}

	/* Les couleurs d'un vêtement : une tuile par teinte, qui ouvre l'image. */
	.wk-teintes {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(min(96px, 100%), 1fr));
		gap: var(--space-3);
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.wk-teintes > li { margin: 0; }

	.wk-teinte {
		display: grid;
		gap: var(--space-1);
		font-size: var(--fs-2xs);
		text-align: center;
		color: var(--pf-muted);
		text-decoration: none;
	}

	.wk-teinte-image {
		display: grid;
		place-items: center;
		aspect-ratio: 1;
		padding: var(--space-2);
		background: var(--wk-damier);
		border: var(--contour-l) var(--contour-s) var(--pf-line-soft);
		border-radius: var(--radius);
		transition: border-color var(--dur) var(--ease-out);
	}

	.wk-teinte:hover { color: var(--pf-gold-strong); }
	.wk-teinte:hover .wk-teinte-image { border-color: var(--pf-gold-line); }

	.wk-teinte img {
		inline-size: 100%;
		block-size: 100%;
		object-fit: contain;
	}

	@media (max-width: 900px) {
		.wk-fiche-corps { grid-template-columns: minmax(0, 1fr); }
	}

	/* =================================================================
	   TÉLÉPHONE : le contrat du bord à bord
	   =================================================================
	   La colonne n'a plus de gouttière sous 720 px (style.css) : le TEXTE
	   posé nu reprend la sienne, les surfaces vont au bord, angles
	   carrés. La barre ne colle plus ; la visionneuse prend tout l'écran.

	   UNE SEULE LIGNE EN HAUT (Jimmy, 19/10/2026 : « tout simple, bien
	   aligné, bien rangé ») : ni titre ni fil d'Ariane (style.css), la
	   recherche puis des boutons carrés de la hauteur de la barre — les
	   filtres, le tri, les boutons de l'en-tête. Le compte et la page
	   s'effacent : la pagination du bas reste. */
	@media (max-width: 720px) {
		.wk-page-tete,
		.wk-compte,
		.wk-barre .wk-pager { display: none; }

		.wk-barre {
			flex-wrap: nowrap;
			gap: var(--space-2);
		}

		.wk-recherche { flex: 1 1 0; }

		.wk-barre-actions {
			flex: none;
			display: flex;
			gap: var(--space-2);
		}

		.wk-barre .wk-filtres-bouton,
		.wk-barre-actions .button {
			flex: none;
			justify-content: center;
			inline-size: var(--wk-barre-h);
			min-inline-size: 0;
			padding: 0;
		}

		/* Le libellé reste pour les lecteurs d'écran (le patron de
		   `.visually-hidden`, style.css). */
		.wk-barre .wk-libelle {
			position: absolute;
			width: 1px;
			height: 1px;
			margin: -1px;
			padding: 0;
			overflow: hidden;
			clip: rect(0 0 0 0);
			clip-path: inset(50%);
			white-space: nowrap;
			border: 0;
		}

		/* Le tri : la liste garde sa place et s'ouvre au doigt, mais ne
		   montre plus que son pictogramme, posé dessus (la liste elle-même :
		   en fin de feuille). */
		.wk-tri { position: relative; }

		.wk-tri > .ti {
			display: block;
			position: absolute;
			inset: 0;
			margin: auto;
			color: var(--pf-gold);
		}

		.wk-barre,
		.wk-facettes,
		.wk-vide,
		.wk-fiche-texte,
		.wk-fiche-actions,
		.wk-fiche-section > h2,
		.wk-teintes {
			padding-inline: var(--gutter);
		}

		.wk-barre { position: static; }

		/* La recherche garde ses angles : elle ne touche plus le bord
		   (la barre a sa gouttière), et ses voisins sont arrondis. */
		.wk-avis,
		.wk-case,
		.wk-carte,
		.wk-fiche-image,
		.wk-specs { border-radius: 0; }

		.wk-vis { padding: 0; }

		.wk-vis-boite {
			inline-size: 100%;
			block-size: 100%;
			border: 0;
			border-radius: 0;
		}

		.wk-vis-tete { padding-inline-start: var(--gutter); }

		.wk-vis-scene {
			gap: var(--space-2);
			padding: var(--space-2);
		}

		.wk-vis-couleurs,
		.wk-vis-pied { padding-inline: var(--gutter); }
	}
}

/* LA SEULE EXCEPTION À LA LISTE DÉROULANTE DU SITE (theme.css) : au
   téléphone, le tri ne montre que son pictogramme. Dans la même couche
   qu'elle (`utilities`), sinon elle l'emporterait. */
@layer utilities {
	@media (max-width: 720px) {
		.wk-barre .wk-tri select {
			inline-size: var(--wk-barre-h);
			padding: 0;
			color: transparent;
			background-image: none;
		}
	}
}
