/* Thème « crayons de couleur » – commun aux trois sites. Chargé après les autres feuilles de style. */
:root{
--cr-f-g:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cfilter id='f' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='2' seed='1' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='8' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' seed='4' result='g'/%3E%3CfeColorMatrix in='g' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 1.65' result='a'/%3E%3CfeComposite in='d' in2='a' operator='in'/%3E%3C/filter%3E%3Crect x='10' y='10' width='280' height='280' rx='30' fill='none' stroke='%232e8b57' stroke-width='4.5' filter='url(%23f)'/%3E%3C/svg%3E");--cr-h-g:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%237fd49c' stroke-width='2.6' opacity='0.9' filter='url(%23g)'/%3E%3C/svg%3E");--cr-l-g:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23d3f0dc' stroke-width='2.8' opacity='1' filter='url(%23g)'/%3E%3C/svg%3E");--cr-t-g:#2e8b57;
--cr-f-y:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cfilter id='f' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='2' seed='8' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='8' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' seed='11' result='g'/%3E%3CfeColorMatrix in='g' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 1.65' result='a'/%3E%3CfeComposite in='d' in2='a' operator='in'/%3E%3C/filter%3E%3Crect x='10' y='10' width='280' height='280' rx='30' fill='none' stroke='%23b88400' stroke-width='4.5' filter='url(%23f)'/%3E%3C/svg%3E");--cr-h-y:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23ffd35c' stroke-width='2.6' opacity='0.9' filter='url(%23g)'/%3E%3C/svg%3E");--cr-l-y:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23fff0b8' stroke-width='2.8' opacity='1' filter='url(%23g)'/%3E%3C/svg%3E");--cr-t-y:#b88400;
--cr-f-b:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cfilter id='f' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='2' seed='15' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='8' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' seed='18' result='g'/%3E%3CfeColorMatrix in='g' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 1.65' result='a'/%3E%3CfeComposite in='d' in2='a' operator='in'/%3E%3C/filter%3E%3Crect x='10' y='10' width='280' height='280' rx='30' fill='none' stroke='%232f63b3' stroke-width='4.5' filter='url(%23f)'/%3E%3C/svg%3E");--cr-h-b:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%238dbdf5' stroke-width='2.6' opacity='0.9' filter='url(%23g)'/%3E%3C/svg%3E");--cr-l-b:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23dcebfc' stroke-width='2.8' opacity='1' filter='url(%23g)'/%3E%3C/svg%3E");--cr-t-b:#2f63b3;
--cr-f-p:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cfilter id='f' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='2' seed='22' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='8' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' seed='25' result='g'/%3E%3CfeColorMatrix in='g' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 1.65' result='a'/%3E%3CfeComposite in='d' in2='a' operator='in'/%3E%3C/filter%3E%3Crect x='10' y='10' width='280' height='280' rx='30' fill='none' stroke='%23c23b5c' stroke-width='4.5' filter='url(%23f)'/%3E%3C/svg%3E");--cr-h-p:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23f7a1b6' stroke-width='2.6' opacity='0.9' filter='url(%23g)'/%3E%3C/svg%3E");--cr-l-p:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23fde0e7' stroke-width='2.8' opacity='1' filter='url(%23g)'/%3E%3C/svg%3E");--cr-t-p:#c23b5c;
--cr-f-v:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cfilter id='f' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='2' seed='29' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='8' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' seed='32' result='g'/%3E%3CfeColorMatrix in='g' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 1.65' result='a'/%3E%3CfeComposite in='d' in2='a' operator='in'/%3E%3C/filter%3E%3Crect x='10' y='10' width='280' height='280' rx='30' fill='none' stroke='%236a4fc2' stroke-width='4.5' filter='url(%23f)'/%3E%3C/svg%3E");--cr-h-v:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23c4b2f2' stroke-width='2.6' opacity='0.9' filter='url(%23g)'/%3E%3C/svg%3E");--cr-l-v:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23ece5fc' stroke-width='2.8' opacity='1' filter='url(%23g)'/%3E%3C/svg%3E");--cr-t-v:#6a4fc2;
--cr-f-o:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cfilter id='f' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='2' seed='36' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='8' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' seed='39' result='g'/%3E%3CfeColorMatrix in='g' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 1.65' result='a'/%3E%3CfeComposite in='d' in2='a' operator='in'/%3E%3C/filter%3E%3Crect x='10' y='10' width='280' height='280' rx='30' fill='none' stroke='%23d0661c' stroke-width='4.5' filter='url(%23f)'/%3E%3C/svg%3E");--cr-h-o:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23ffb27a' stroke-width='2.6' opacity='0.9' filter='url(%23g)'/%3E%3C/svg%3E");--cr-l-o:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23ffe6d3' stroke-width='2.8' opacity='1' filter='url(%23g)'/%3E%3C/svg%3E");--cr-t-o:#d0661c;
--cr-f-t:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cfilter id='f' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='2' seed='43' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='8' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' seed='46' result='g'/%3E%3CfeColorMatrix in='g' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 1.65' result='a'/%3E%3CfeComposite in='d' in2='a' operator='in'/%3E%3C/filter%3E%3Crect x='10' y='10' width='280' height='280' rx='30' fill='none' stroke='%231f8a84' stroke-width='4.5' filter='url(%23f)'/%3E%3C/svg%3E");--cr-h-t:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%2386dbd6' stroke-width='2.6' opacity='0.9' filter='url(%23g)'/%3E%3C/svg%3E");--cr-l-t:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23d6f3f1' stroke-width='2.8' opacity='1' filter='url(%23g)'/%3E%3C/svg%3E");--cr-t-t:#1f8a84;
--cr-f-k:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cfilter id='f' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='2' seed='50' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='8' xChannelSelector='R' yChannelSelector='G' result='d'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' seed='53' result='g'/%3E%3CfeColorMatrix in='g' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 1.65' result='a'/%3E%3CfeComposite in='d' in2='a' operator='in'/%3E%3C/filter%3E%3Crect x='10' y='10' width='280' height='280' rx='30' fill='none' stroke='%235a5a5a' stroke-width='4.5' filter='url(%23f)'/%3E%3C/svg%3E");--cr-h-k:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23cfcac0' stroke-width='2.6' opacity='0.9' filter='url(%23g)'/%3E%3C/svg%3E");--cr-l-k:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23ece8df' stroke-width='2.8' opacity='1' filter='url(%23g)'/%3E%3C/svg%3E");--cr-t-k:#5a5a5a;
--cr-trame:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%23000000' stroke-width='2.4' opacity='0.16' filter='url(%23g)'/%3E%3C/svg%3E");--cr-h-G:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch' seed='5' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.8 1.6' result='a'/%3E%3CfeComposite in='SourceGraphic' in2='a' operator='in'/%3E%3C/filter%3E%3Cpath d='M-125 120L-5 0M-120 120L0 0M-115 120L5 0M-110 120L10 0M-105 120L15 0M-100 120L20 0M-95 120L25 0M-90 120L30 0M-85 120L35 0M-80 120L40 0M-75 120L45 0M-70 120L50 0M-65 120L55 0M-60 120L60 0M-55 120L65 0M-50 120L70 0M-45 120L75 0M-40 120L80 0M-35 120L85 0M-30 120L90 0M-25 120L95 0M-20 120L100 0M-15 120L105 0M-10 120L110 0M-5 120L115 0M0 120L120 0M5 120L125 0M10 120L130 0M15 120L135 0M20 120L140 0M25 120L145 0M30 120L150 0M35 120L155 0M40 120L160 0M45 120L165 0M50 120L170 0M55 120L175 0M60 120L180 0M65 120L185 0M70 120L190 0M75 120L195 0M80 120L200 0M85 120L205 0M90 120L210 0M95 120L215 0M100 120L220 0M105 120L225 0M110 120L230 0M115 120L235 0M120 120L240 0M125 120L245 0' stroke='%231d6b41' stroke-width='2.4' opacity='0.55' filter='url(%23g)'/%3E%3C/svg%3E");--cr-papier:#fffdf8;
}

/* ---------- Papier ---------- */
body{background:var(--cr-papier) radial-gradient(rgba(60,40,10,.04) 1px,transparent 1px) 0 0/4px 4px}
#page-wrapper,#header,#features,#main,.accueil-section{background-color:transparent}
.accueil-gris{background:#f7f2e7 radial-gradient(rgba(60,40,10,.045) 1px,transparent 1px) 0 0/4px 4px;border-color:#ebe3d2}
#footer{background:#f7f2e7 radial-gradient(rgba(60,40,10,.045) 1px,transparent 1px) 0 0/4px 4px}

/* ---------- Titre du site : coup de crayon jaune ---------- */
#logo{position:relative;z-index:0;display:inline-block;padding:0 .25em}
#logo:after{content:"";position:absolute;left:0;right:0;bottom:.05em;height:.45em;z-index:-1;background:var(--cr-h-y) 0 0/120px 120px;border-radius:3px 8px 4px 10px}

/* ---------- Menu ---------- */
#nav>ul>li{padding-right:.3em}
#nav>ul>li:last-child{padding-right:0}
#nav>ul>li>a{border:1px solid transparent;border-image:var(--cr-f-k) 40 / 18px / 3px stretch;border-radius:12px;padding:.15em .55em .15em .15em;transition:transform .15s,background-color .15s}
#nav>ul>li>a:hover{transform:rotate(-1.5deg)}
#nav>ul>li:nth-child(7n+1)>a{--c:var(--cr-t-g);--l:var(--cr-l-g);--f:var(--cr-f-g)}
#nav>ul>li:nth-child(7n+2)>a{--c:var(--cr-t-y);--l:var(--cr-l-y);--f:var(--cr-f-y)}
#nav>ul>li:nth-child(7n+3)>a{--c:var(--cr-t-b);--l:var(--cr-l-b);--f:var(--cr-f-b)}
#nav>ul>li:nth-child(7n+4)>a{--c:var(--cr-t-p);--l:var(--cr-l-p);--f:var(--cr-f-p)}
#nav>ul>li:nth-child(7n+5)>a{--c:var(--cr-t-v);--l:var(--cr-l-v);--f:var(--cr-f-v)}
#nav>ul>li:nth-child(7n+6)>a{--c:var(--cr-t-o);--l:var(--cr-l-o);--f:var(--cr-f-o)}
#nav>ul>li:nth-child(7n+7)>a{--c:var(--cr-t-t);--l:var(--cr-l-t);--f:var(--cr-f-t)}
#nav>ul>li>a:before{background:var(--c)!important;color:#fff!important;box-shadow:none}
#nav>ul>li>a:hover,#nav>ul>li.current>a,#nav>ul>li.active>a{background-image:var(--l);border-image-source:var(--f)}

/* ---------- Mixins couleur (variables) ---------- */
.classes>a.classe:nth-child(4n+1),.cr-g{--f:var(--cr-f-g);--h:var(--cr-h-g);--l:var(--cr-l-g);--c:var(--cr-t-g)}
.classes>a.classe:nth-child(4n+2),.cr-y{--f:var(--cr-f-y);--h:var(--cr-h-y);--l:var(--cr-l-y);--c:var(--cr-t-y)}
.classes>a.classe:nth-child(4n+3),.cr-b{--f:var(--cr-f-b);--h:var(--cr-h-b);--l:var(--cr-l-b);--c:var(--cr-t-b)}
.classes>a.classe:nth-child(4n+4),.cr-p{--f:var(--cr-f-p);--h:var(--cr-h-p);--l:var(--cr-l-p);--c:var(--cr-t-p)}

/* ---------- Choix de la classe (6e, 5e, 4e, 3e) ---------- */
.classes>a.classe,.classes>a.classe:hover,.classes>a.classe:focus-visible{
 border:2px solid transparent;border-image:var(--f) 40 / 20px / 4px stretch;border-radius:14px;
 background:#fff var(--h);box-shadow:none;transition:transform .15s}
.classes>a.classe .classe-num,.classes>a.classe:hover .classe-num{color:#2b2b2b;text-shadow:2px 2px 0 rgba(255,255,255,.8)}
.classes>a.classe:hover,.classes>a.classe:focus-visible{transform:rotate(-2deg) scale(1.04)}

/* ---------- Cartes (jeux, outils, ateliers) ---------- */
.carte{--f:var(--cr-f-g);--l:var(--cr-l-g);--ic:var(--cr-h-g);--c:var(--cr-t-g)}
.carte:nth-of-type(6n+2){--f:var(--cr-f-b);--l:var(--cr-l-b);--ic:var(--cr-h-b);--c:var(--cr-t-b)}
.carte:nth-of-type(6n+3){--f:var(--cr-f-o);--l:var(--cr-l-o);--ic:var(--cr-h-o);--c:var(--cr-t-o)}
.carte:nth-of-type(6n+4){--f:var(--cr-f-v);--l:var(--cr-l-v);--ic:var(--cr-h-v);--c:var(--cr-t-v)}
.carte:nth-of-type(6n+5){--f:var(--cr-f-p);--l:var(--cr-l-p);--ic:var(--cr-h-p);--c:var(--cr-t-p)}
.carte:nth-of-type(6n+6){--f:var(--cr-f-t);--l:var(--cr-l-t);--ic:var(--cr-h-t);--c:var(--cr-t-t)}
.carte.carte-phare{--f:var(--cr-f-y);--l:var(--cr-l-y);--ic:var(--cr-h-y);--c:var(--cr-t-y)}
.carte:not(.est-dispo){--f:var(--cr-f-k);--l:none;--ic:var(--cr-l-k);--c:#878787}
.carte,.carte.est-dispo,a.carte,a.carte:hover,.carte.carte-phare{
 border:2px solid transparent!important;border-image:var(--f) 40 / 20px / 4px stretch!important;border-radius:14px;
 background:#fff var(--l);box-shadow:none!important;transition:transform .15s}
.carte.est-dispo:hover{transform:rotate(-1deg) translateY(-3px)}
.carte .carte-icone,.carte.est-dispo:hover .carte-icone{background:#fff var(--ic);color:#2b2b2b}
.carte h3{color:var(--c)}
.carte .carte-img{border-radius:10px}

/* Pastilles */
.pastille.dispo{background:#2e8b57 var(--cr-h-G);border-radius:6px 10px 6px 10px}
.pastille.construction{background:#fff var(--cr-l-k);border-radius:6px 10px 6px 10px}
.badge-new{background-color:#ffe27a!important;background-image:var(--cr-h-y)!important;color:#2b2b2b!important}

/* ---------- Tuiles-liens (« Voir tous les jeux »…) ---------- */
.tuile-lien,.tuile-lien:hover{border:2px solid transparent;border-image:var(--cr-f-k) 40 / 20px / 4px stretch;border-radius:14px;background:#fff;box-shadow:none;transition:transform .15s}
.tuile-lien:hover{border-image-source:var(--cr-f-g);background:#fff var(--cr-l-g);transform:rotate(-1deg) translateY(-2px)}
.tuile-lien .tuile-ico,.tuile-lien:hover .tuile-ico{background:#fff var(--cr-h-g);color:#1d5c3a}

/* ---------- « Apprendre par soi-même » ---------- */
a.apprendre-carte{border:2px solid transparent!important;border-image:var(--cr-f-g) 40 / 20px / 4px stretch!important;border-radius:14px;box-shadow:none!important;transition:transform .15s}
a.apprendre-carte:nth-of-type(3n+2){border-image-source:var(--cr-f-b)!important}
a.apprendre-carte:nth-of-type(3n+3){border-image-source:var(--cr-f-p)!important}
a.apprendre-carte:hover{transform:rotate(-1deg) translateY(-3px)}
a.apprendre-carte .apprendre-image,a.apprendre-carte img{border-radius:12px 12px 0 0}

/* ---------- Pages de classe : chapitres ---------- */
/* Une couleur par thème : nombres = bleu, géométrie = vert, proportionnalité = orange, algèbre = violet, données = rose, grandeurs et mesures = turquoise */
.chap-carte,.chap-filtre{--f:var(--cr-f-k);--l:none;--h:var(--cr-h-k);--c:#666}
.chap-carte[data-theme="nombres"],.chap-filtre[data-theme="nombres"]{--f:var(--cr-f-b);--l:var(--cr-l-b);--h:var(--cr-h-b);--c:var(--cr-t-b)}
.chap-carte[data-theme="geometrie"],.chap-filtre[data-theme="geometrie"]{--f:var(--cr-f-g);--l:var(--cr-l-g);--h:var(--cr-h-g);--c:var(--cr-t-g)}
.chap-carte[data-theme="grandeurs"],.chap-filtre[data-theme="grandeurs"]{--f:var(--cr-f-o);--l:var(--cr-l-o);--h:var(--cr-h-o);--c:var(--cr-t-o)}
.chap-carte[data-theme="algebre"],.chap-filtre[data-theme="algebre"]{--f:var(--cr-f-v);--l:var(--cr-l-v);--h:var(--cr-h-v);--c:var(--cr-t-v)}
.chap-carte[data-theme="donnees"],.chap-filtre[data-theme="donnees"]{--f:var(--cr-f-p);--l:var(--cr-l-p);--h:var(--cr-h-p);--c:var(--cr-t-p)}
.chap-carte[data-theme="mesures"],.chap-filtre[data-theme="mesures"]{--f:var(--cr-f-t);--l:var(--cr-l-t);--h:var(--cr-h-t);--c:var(--cr-t-t)}
.chap-filtre[data-theme="tous"]{--f:var(--cr-f-k);--l:var(--cr-l-k);--h:var(--cr-h-k);--c:#555}
.chap-carte .chap-theme,.chap-carte .chap-theme:before{color:var(--c)!important}
.chap-carte.chap-bientot{--f:var(--cr-f-k);--l:none;--c:#999}
.chap-carte,.chap-carte:not(.chap-bientot):hover,.chap-carte:not(.chap-bientot):focus-within{
 border:2px solid transparent;border-image:var(--f) 40 / 20px / 4px stretch;border-radius:14px;background:#fff var(--l);box-shadow:none}
.chap-carte:not(.chap-bientot):hover{transform:rotate(-.6deg) translateY(-3px)}
.chap-num,.chap-carte:not(.chap-bientot):hover .chap-num{color:var(--c);opacity:.45}

/* ---------- Filtres et recherches ---------- */
button.filtre,button.chap-filtre{border:2px solid transparent!important;border-image:var(--cr-f-k) 40 / 18px / 3px stretch!important;border-radius:12px;background:#fff;box-shadow:none}
button.filtre:hover,button.chap-filtre:hover{background:#fff var(--cr-l-g)}
button.filtre[aria-pressed="true"],button.chap-filtre[aria-pressed="true"],button.chap-filtre.active,button.chap-filtre.actif{
 border-image-source:var(--cr-f-g)!important;background:#fff var(--cr-h-g)!important;color:#1f2a24!important}
.chapitre-recherche input,.catalogue-recherche input,.chap-recherche input{
 border:2px solid transparent!important;border-image:var(--cr-f-k) 40 / 18px / 3px stretch!important;border-radius:12px;background:#fff!important;box-shadow:none}

/* ---------- Boutons « Signaler / Proposer une idée » ---------- */
button.retours-tuile,button.retours-tuile:hover,button.retours-tuile:focus-visible{border:2px solid transparent!important;border-image:var(--cr-f-k) 40 / 20px / 4px stretch!important;border-radius:14px;background:#fff;box-shadow:none!important;transition:transform .15s}
button.retours-tuile:hover{border-image-source:var(--cr-f-y)!important;background:#fff var(--cr-l-y);transform:rotate(-1deg) translateY(-2px)}
.retours-tuile .retours-ico,.retours-tuile:hover .retours-ico{background:#fff var(--cr-h-g);color:#1d5c3a}
.retours-tuile-idee .retours-ico,.retours-tuile-idee:hover .retours-ico{background:#fff var(--cr-h-y);color:#7a5600}

/* ---------- Divers ---------- */
.ap-num{background:#2e8b57 var(--cr-h-G)}
#banner{background:#2e8b57 var(--cr-h-G)!important}

/* ---------- Cadres et boutons des outils et des jeux (classes posées par crayon.js) ---------- */
.cr-c{border-image:var(--cr-f-k) 40 / 18px / 3px stretch!important;box-shadow:none!important}
.cr-c[data-cr="g"]{border-image-source:var(--cr-f-g)!important}
.cr-c[data-cr="y"]{border-image-source:var(--cr-f-y)!important}
.cr-c[data-cr="b"]{border-image-source:var(--cr-f-b)!important}
.cr-c[data-cr="p"]{border-image-source:var(--cr-f-p)!important}
.cr-c[data-cr="v"]{border-image-source:var(--cr-f-v)!important}
.cr-c[data-cr="o"]{border-image-source:var(--cr-f-o)!important}
.cr-c[data-cr="t"]{border-image-source:var(--cr-f-t)!important}
.cr-r{background-image:var(--cr-trame)!important;background-size:120px 120px!important}
.cr-f{border-radius:12px 16px 10px 14px/14px 10px 16px 12px!important}
.cr-l[data-crl="g"]{background-image:var(--cr-l-g)!important;background-size:120px 120px!important}
.cr-l[data-crl="y"]{background-image:var(--cr-l-y)!important;background-size:120px 120px!important}
.cr-l[data-crl="b"]{background-image:var(--cr-l-b)!important;background-size:120px 120px!important}
.cr-l[data-crl="p"]{background-image:var(--cr-l-p)!important;background-size:120px 120px!important}
.cr-l[data-crl="v"]{background-image:var(--cr-l-v)!important;background-size:120px 120px!important}
.cr-l[data-crl="o"]{background-image:var(--cr-l-o)!important;background-size:120px 120px!important}
.cr-l[data-crl="t"]{background-image:var(--cr-l-t)!important;background-size:120px 120px!important}
.cr-l[data-crl="k"]{background-image:var(--cr-l-k)!important;background-size:120px 120px!important}

/* Filtres de thèmes des pages de classe : contour et coloriage de la couleur du thème */
button.chap-filtre{border-image-source:var(--f)!important;color:var(--c)!important}
button.chap-filtre:hover{background:#fff var(--l)!important}
button.chap-filtre[aria-pressed="true"]{border-image-source:var(--f)!important;background:#fff var(--h)!important;color:#1f2a24!important}
