/* ==========================================================
   yvonnexmas — Coppermine theme (version Noël de Yvonne News)
   Palette : crème, rouge profond (assorti au header) & doré (effet glitter)
   ========================================================== */

:root {
    --xm-creme:        #FBF3E4;
    --xm-creme-fonce:  #F3E4C8;
    --xm-rouge:        #8E1015;
    --xm-rouge-fonce:  #5D0F14;
    --xm-or-clair:     #EBD08A;
    --xm-or:           #D4AF55;
    --xm-or-fonce:     #9A7425;
    --xm-sable:        #D9C7A3;
    --xm-texte:        #5A2A30;

    --xm-gradient-or: linear-gradient(135deg, #F3DC8E 0%, #D4AF55 35%, #F3DC8E 60%, #BE9238 100%);
    --xm-gradient-rouge: linear-gradient(135deg, #5D0F14 0%, #9A1519 50%, #5D0F14 100%);

    /* paillettes : petits points blancs / dorés de tailles différentes */
    --xm-glitter:
        radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.6px),
        radial-gradient(circle at 70% 60%, #F3DC8E 0 1.3px, transparent 2px),
        radial-gradient(circle at 45% 85%, #fff 0 0.8px, transparent 1.4px),
        radial-gradient(circle at 85% 15%, #EBD08A 0 1.1px, transparent 1.8px);
    --xm-glitter-size: 97px 89px, 61px 73px, 43px 53px, 113px 79px;

    --xm-font-display: 'Playfair Display', serif;
    --xm-font-ui: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

body {
    line-height: 1.5;
    background: var(--xm-creme);
    /* motifs de Noël discrets (cadeaux, flocons, boules, étoiles, sucre d'orge) répétés sur le fond */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640' viewBox='0 0 640 640'%3E%3Cg opacity='0.25'%3E%3Cg transform='translate(70 90) rotate(-12) scale(1.0)'%3E%3Crect x='-20' y='-6' width='40' height='26' fill='%238E1015'/%3E%3Crect x='-23' y='-14' width='46' height='9' fill='%238E1015'/%3E%3Crect x='-3.5' y='-14' width='7' height='34' fill='%23B8892E'/%3E%3Cellipse cx='-7' cy='-19' rx='8' ry='5' transform='rotate(-25 -7 -19)' fill='none' stroke='%23B8892E' stroke-width='3'/%3E%3Cellipse cx='7' cy='-19' rx='8' ry='5' transform='rotate(25 7 -19)' fill='none' stroke='%23B8892E' stroke-width='3'/%3E%3C/g%3E%3Cg transform='translate(250 55) rotate(0) scale(1.2)'%3E%3Cpath d='M0 0L0.0 -17.0M0.0 -10.5L3.5 -6.3M0.0 -10.5L-3.5 -6.3M0 0L14.7 -8.5M9.1 -5.2L7.2 -0.1M9.1 -5.2L3.7 -6.2M0 0L14.7 8.5M9.1 5.2L3.7 6.2M9.1 5.2L7.2 0.1M0 0L0.0 17.0M0.0 10.5L-3.5 6.3M0.0 10.5L3.5 6.3M0 0L-14.7 8.5M-9.1 5.2L-7.2 0.1M-9.1 5.2L-3.7 6.2M0 0L-14.7 -8.5M-9.1 -5.3L-3.7 -6.2M-9.1 -5.3L-7.2 -0.1' fill='none' stroke='%23B8892E' stroke-width='2.2' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(450 120) rotate(0) scale(1.0)'%3E%3Cline x1='0' y1='-30' x2='0' y2='-17' stroke='%23B8892E' stroke-width='1.6'/%3E%3Crect x='-5' y='-19' width='10' height='6' fill='%23B8892E'/%3E%3Ccircle cx='0' cy='0' r='17' fill='%238E1015'/%3E%3Cpath d='M-17 0Q0 8 17 0' fill='none' stroke='%23B8892E' stroke-width='2.4'/%3E%3C/g%3E%3Cg transform='translate(150 240) rotate(15) scale(0.9)'%3E%3Cpath d='M0 -20C2 -7 7 -2 20 0 7 2 2 7 0 20-2 7-7 2-20 0-7-2-2-7 0-20Z' fill='%23B8892E'/%3E%3C/g%3E%3Cg transform='translate(370 270) rotate(18) scale(1.0)'%3E%3Cpath d='M-10 24V-6A10 10 0 0 1 10 -6' fill='none' stroke='%238E1015' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M-10 24V-6A10 10 0 0 1 10 -6' fill='none' stroke='%23FBF3E4' stroke-width='7' stroke-dasharray='5 6' stroke-linecap='butt'/%3E%3C/g%3E%3Cg transform='translate(520 420) rotate(10) scale(0.9)'%3E%3Crect x='-20' y='-6' width='40' height='26' fill='%23B8892E'/%3E%3Crect x='-23' y='-14' width='46' height='9' fill='%23B8892E'/%3E%3Crect x='-3.5' y='-14' width='7' height='34' fill='%238E1015'/%3E%3Cellipse cx='-7' cy='-19' rx='8' ry='5' transform='rotate(-25 -7 -19)' fill='none' stroke='%238E1015' stroke-width='3'/%3E%3Cellipse cx='7' cy='-19' rx='8' ry='5' transform='rotate(25 7 -19)' fill='none' stroke='%238E1015' stroke-width='3'/%3E%3C/g%3E%3Cg transform='translate(60 410) rotate(0) scale(1.0)'%3E%3Cpath d='M0 0L0.0 -17.0M0.0 -10.5L3.5 -6.3M0.0 -10.5L-3.5 -6.3M0 0L14.7 -8.5M9.1 -5.2L7.2 -0.1M9.1 -5.2L3.7 -6.2M0 0L14.7 8.5M9.1 5.2L3.7 6.2M9.1 5.2L7.2 0.1M0 0L0.0 17.0M0.0 10.5L-3.5 6.3M0.0 10.5L3.5 6.3M0 0L-14.7 8.5M-9.1 5.2L-7.2 0.1M-9.1 5.2L-3.7 6.2M0 0L-14.7 -8.5M-9.1 -5.3L-3.7 -6.2M-9.1 -5.3L-7.2 -0.1' fill='none' stroke='%238E1015' stroke-width='2.2' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(255 430) rotate(0) scale(0.9)'%3E%3Cline x1='0' y1='-30' x2='0' y2='-17' stroke='%238E1015' stroke-width='1.6'/%3E%3Crect x='-5' y='-19' width='10' height='6' fill='%238E1015'/%3E%3Ccircle cx='0' cy='0' r='17' fill='%23B8892E'/%3E%3Cpath d='M-17 0Q0 8 17 0' fill='none' stroke='%238E1015' stroke-width='2.4'/%3E%3C/g%3E%3Cg transform='translate(340 560) rotate(0) scale(0.7)'%3E%3Cpath d='M0 -20C2 -7 7 -2 20 0 7 2 2 7 0 20-2 7-7 2-20 0-7-2-2-7 0-20Z' fill='%238E1015'/%3E%3C/g%3E%3Cg transform='translate(150 590) rotate(8) scale(0.8)'%3E%3Crect x='-20' y='-6' width='40' height='26' fill='%238E1015'/%3E%3Crect x='-23' y='-14' width='46' height='9' fill='%238E1015'/%3E%3Crect x='-3.5' y='-14' width='7' height='34' fill='%23B8892E'/%3E%3Cellipse cx='-7' cy='-19' rx='8' ry='5' transform='rotate(-25 -7 -19)' fill='none' stroke='%23B8892E' stroke-width='3'/%3E%3Cellipse cx='7' cy='-19' rx='8' ry='5' transform='rotate(25 7 -19)' fill='none' stroke='%23B8892E' stroke-width='3'/%3E%3C/g%3E%3Cg transform='translate(560 250) rotate(-10) scale(0.7)'%3E%3Cpath d='M0 -20C2 -7 7 -2 20 0 7 2 2 7 0 20-2 7-7 2-20 0-7-2-2-7 0-20Z' fill='%23B8892E'/%3E%3C/g%3E%3Cg transform='translate(470 590) rotate(0) scale(0.8)'%3E%3Cpath d='M0 0L0.0 -17.0M0.0 -10.5L3.5 -6.3M0.0 -10.5L-3.5 -6.3M0 0L14.7 -8.5M9.1 -5.2L7.2 -0.1M9.1 -5.2L3.7 -6.2M0 0L14.7 8.5M9.1 5.2L3.7 6.2M9.1 5.2L7.2 0.1M0 0L0.0 17.0M0.0 10.5L-3.5 6.3M0.0 10.5L3.5 6.3M0 0L-14.7 8.5M-9.1 5.2L-7.2 0.1M-9.1 5.2L-3.7 6.2M0 0L-14.7 -8.5M-9.1 -5.3L-3.7 -6.2M-9.1 -5.3L-7.2 -0.1' fill='none' stroke='%23B8892E' stroke-width='2.2' stroke-linecap='round'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    font-family: var(--xm-font-ui);
    font-size: 13px;
    color: var(--xm-texte);
    margin: 0;
}

a { color: var(--xm-or-fonce); text-decoration: none; }
a:hover { color: var(--xm-rouge); }

strong, b {
    color: var(--xm-rouge);
    border-bottom: none;
}

h1 { line-height: 120%; color: var(--xm-rouge); margin: 0; font-family: var(--xm-font-display); }
h2 { padding-left: 0; font-size: 13px; margin: 0; font-family: var(--xm-font-ui); }
h3 { font-weight: normal; font-size: 11px; margin: 0; }

p { font-family: var(--xm-font-ui); font-size: 12px; margin: 2px 0; }

ul { list-style-type: none; margin-left: 5px; padding: 0; }
li { margin: 4px 0 4px 10px; padding: 0; list-style-type: none; }


/* ------- HERO BANNER ------- */
.hero-banner {
    width: 100%;
    height: 650px;
    position: relative;
    z-index: 100;
    overflow: hidden;
    background: #530b0e url("imgs/YvonneNoel.png") top center no-repeat;
    background-size: 1920px auto; /* taille fixe : l'image ne grossit pas sur les grands écrans */
}

/* ------- WELCOME BLOCK (message d'accueil + derniers projets) ------- */
.welcome-block {
    width: 1050px;
    margin: 30px auto;
    display: flex;
    gap: 40px;
    position: relative;
    /* double filet doré */
    border: 4px double var(--xm-or);
    border-radius: 0;
    padding: 28px 30px 24px;
    background: var(--xm-creme);
}

.welcome-col { flex: 1; }

.welcome-col h2 {
    position: relative;
    display: inline-block;
    font-family: var(--xm-font-ui);
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--xm-rouge);
    z-index: 1;
    padding: 0 2px;
    margin-bottom: 12px !important;
}

/* surlignage deux couleurs décalé (façon marqueur/sticker) */
.welcome-col h2::before,
.welcome-col h2::after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    top: 20%;
    bottom: 20%;
}

.welcome-col h2::before {
    background: var(--xm-or-clair);
    transform: rotate(-2deg) translate(-2px, 1px);
    z-index: -2;
}

.welcome-col h2::after {
    background: var(--xm-or);
    transform: rotate(2deg) translate(2px, -1px);
    z-index: -1;
    opacity: 0.85;
}

.welcome-col p {
    font-size: 12.5px;
    line-height: 1.9;
    color: var(--xm-rouge);
}

.welcome-col p strong {
    color: var(--xm-rouge);
    font-weight: 700;
}

.projects-list { margin: 0; padding: 0; }
.projects-list li {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 12px;
    color: var(--xm-texte);
}

.project-badge {
    display: inline-block;
    background: var(--xm-rouge);
    color: var(--xm-creme);
    border: 1px solid var(--xm-or);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 3px;
    margin-right: 6px;
}


/* --- principal ------- */
#conteudo {
    position: relative;
    width: 1050px;
    margin: 0 auto;
}

#main {
    margin-bottom: 0;
    float: left;
    width: 1050px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
    position: relative;
}

#sidebar { display: none; }


/* ------- MENU ------- */
.menutopo {
    font-size: 0;
    height: auto;
    width: 100%;
    margin: 0 0 24px;
    position: relative;
    isolation: isolate;
    background: var(--xm-gradient-rouge);
    border: none;
    border-bottom: 3px solid;
    border-image: var(--xm-gradient-or) 1;
    text-align: center;
    white-space: nowrap;
    z-index: 1000;
    padding: 14px 16px;
}

/* paillettes derrière les liens */
.menutopo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--xm-glitter);
    background-size: var(--xm-glitter-size);
    animation: xm-twinkle 3.2s ease-in-out infinite;
}

.menutopo a {
    font-family: var(--xm-font-ui);
    font-weight: 600;
    display: inline-block;
    border: none;
    background: none;
    font-size: 10px;
    color: var(--xm-or-clair);
    border-radius: 0;
    margin: 0 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 7px 12px;
    transition: all 0.3s ease-in-out;
}

.menutopo a:hover {
    color: var(--xm-rouge-fonce);
    background: var(--xm-gradient-or);
}


/* ------- corpo galeria ---- */
.maintable {
    background: var(--xm-creme);
    width: 1050px;
    margin: 0 0 10px;
    padding: 0;
    text-align: justify;
}

/* ------- BANDEAUX GLAM (Yvonne News) --------------------------------
   Le sélecteur [colspan] cible uniquement les bandeaux pleine largeur
   (ex: "Photos aléatoires", "Derniers ajouts") et laisse les petits
   en-têtes de colonnes ("Catégories" / "Albums" / "Fichiers") avec un
   style plus discret plus bas.
---------------------------------------------------------------------- */
.tableh1[colspan] {
    position: relative;
    overflow: visible;
    text-align: center;
    isolation: isolate;
    background: var(--xm-gradient-rouge);
    border: none;
    border-bottom: 3px solid;
    border-image: var(--xm-gradient-or) 1;
    border-radius: 0;
    padding: 20px 90px 20px 20px;
    color: var(--xm-creme);
}

.tableh1[colspan] img.icon {
    display: inline-block !important;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 10px;
    opacity: 0.9;
    filter: drop-shadow(0 0 0 var(--xm-or));
}

/* calque décoratif du bandeau : étoile dorée en haut à droite + neige entassée
   (congère en haut à gauche, amas dans les deux angles du bas) */
.tableh1[colspan]::after {
    content: "";
    position: absolute;
    inset: -20px 0 -3px 0;
    pointer-events: none;
    z-index: 5;
    background-repeat: no-repeat;
    background-size: 90px 70px, 120px 24px, 96px 26px, 96px 26px;
    background-position: right 10px top 0, left top, left bottom 3px, right bottom 3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cg transform='rotate(8 60 50)'%3E%3Cpath d='M65 2C68 32 78 46 100 50 78 54 68 68 65 98 62 68 52 54 30 50 52 46 62 32 65 2Z' fill='%23EBD08A' opacity='0.9'/%3E%3Cpath d='M27 38C28.5 51 35 57 49 59 35 61 28.5 67 27 80 25.5 67 19 61 5 59 19 57 25.5 51 27 38Z' fill='%23EBD08A' opacity='0.55'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cg %3E%3Cpath d='M0 24V13C5 5 15 2 26 5C35 7.5 40 10.5 50 9.5C60 8.5 66 6 76 8.5C88 12 96 18 120 24Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26' viewBox='0 0 96 26'%3E%3Cg %3E%3Cpath d='M0 26V13C4 7 12 5 20 7C28 9 33 14 43 15C54 16 60 19 70 21C78 23 86 25 96 26Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26' viewBox='0 0 96 26'%3E%3Cg transform='translate(96 0) scale(-1 1)' %3E%3Cpath d='M0 26V13C4 7 12 5 20 7C28 9 33 14 43 15C54 16 60 19 70 21C78 23 86 25 96 26Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");
}

/* petit en-tête de colonnes (Catégories / Albums / Fichiers) : neige dans les angles de la ligne */
.tableh1:not([colspan]):first-child::after,
.tableh1:not([colspan]):last-child::after {
    content: "";
    position: absolute;
    inset: -20px 0 -2px 0;
    pointer-events: none;
    z-index: 5;
    background-repeat: no-repeat;
}
.tableh1:not([colspan]):first-child::after {
    background-size: 120px 24px, 96px 26px;
    background-position: left top, left bottom 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cg %3E%3Cpath d='M0 24V13C5 5 15 2 26 5C35 7.5 40 10.5 50 9.5C60 8.5 66 6 76 8.5C88 12 96 18 120 24Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26' viewBox='0 0 96 26'%3E%3Cg %3E%3Cpath d='M0 26V13C4 7 12 5 20 7C28 9 33 14 43 15C54 16 60 19 70 21C78 23 86 25 96 26Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");
}
.tableh1:not([colspan]):last-child::after {
    background-size: 120px 24px, 96px 26px;
    background-position: right top, right bottom 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cg transform='translate(120 0) scale(-1 1)' %3E%3Cpath d='M0 24V13C5 5 15 2 26 5C35 7.5 40 10.5 50 9.5C60 8.5 66 6 76 8.5C88 12 96 18 120 24Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26' viewBox='0 0 96 26'%3E%3Cg transform='translate(96 0) scale(-1 1)' %3E%3Cpath d='M0 26V13C4 7 12 5 20 7C28 9 33 14 43 15C54 16 60 19 70 21C78 23 86 25 96 26Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");
}

/* paillettes animées derrière le texte des bandeaux */
.tableh1[colspan]::before,
.tableh1:not([colspan])::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--xm-glitter);
    background-size: var(--xm-glitter-size);
    animation: xm-twinkle 3.2s ease-in-out infinite;
}

/* petit en-tête de colonnes (ex: Catégories / Albums / Fichiers) : même fond photo, sans éclat */
.tableh1:not([colspan]) {
    position: relative;
    isolation: isolate;
    background: var(--xm-gradient-rouge);
    border: none;
    border-bottom: 2px solid var(--xm-or);
    color: var(--xm-creme);
}

.anunchasds {
    background: var(--xm-creme);
    border: 1px solid var(--xm-or);
    display: block;
    margin-bottom: 20px;
    padding: 10px;
    height: 90px;
    text-align: center;
}


/* ------- LINK ALBUM DENTRO ---- */
.alblink a {
    text-decoration: none;
    color: var(--xm-rouge);
    font-size: 11px;
    font-family: var(--xm-font-ui);
    font-weight: 700;
}
.alblink a:hover { color: var(--xm-or-fonce); }


.sdsmdsmds {
    letter-spacing: 0.5px;
    font-family: var(--xm-font-ui);
    font-weight: 500;
    text-align: center;
    border: 1px solid var(--xm-or);
    background: var(--xm-creme);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--xm-rouge);
    padding: 20px;
}


/* ------- BARRE AVANT LES PHOTOS ---- */
.tableh1 {
    letter-spacing: 1px;
    font-family: var(--xm-font-ui);
    font-weight: 700;
    font-style: normal;
    border: none;
    border-bottom: 1px solid var(--xm-or);
    background: var(--xm-creme);
    text-transform: uppercase;
    font-size: 13px;
    color: var(--xm-rouge);
    padding: 18px 20px;
}

.tableb {
    background: transparent;
    color: var(--xm-texte);
    line-height: 22px;
}

.tableh1 img { display: none; }

.tableh1_compact {
    font-family: var(--xm-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--xm-or-fonce);
    letter-spacing: 1px;
    padding: 10px;
}

.pic_title { padding: 10px; font-size: 10px; }
.pic_caption {
    padding: 20px;
    display: block;
    margin: 0;
    border: 1px solid var(--xm-or);
    font-weight: 400;
    font-size: 14px;
    font-family: var(--xm-font-display);
    font-style: italic;
    color: var(--xm-rouge);
}


/* ------- ops 2 ---- */
.tableh2 {
    font-weight: 600;
    border: 1px solid var(--xm-or);
    font-family: var(--xm-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--xm-or-fonce);
    letter-spacing: 1px;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}


/* ------- ops 3 ---- */
.tableb { padding: 0 10px; }
.tableb_compact { padding: 0; border: 1px solid var(--xm-or); overflow: hidden; }
.tableb_alternate { overflow: hidden; margin-bottom: 10px; padding: 0; }
.tablef { padding: 0 10px; overflow: hidden; }
.tableb_alternate .tableb_alternate { border: none; }


/* ------- CATEGORIES ---- */
.catrow_noalb,
.catrow {
    overflow: hidden;
    color: var(--xm-rouge);
    border: none;
    border-bottom: 1px solid var(--xm-or);
    line-height: 22px;
    margin-bottom: 0;
    font-family: var(--xm-font-ui);
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    padding: 10px 0;
    transition: all ease-out 0.3s;
}

.catrow_noalb img,
.catrow img {
    border-radius: 4px;
    width: 60px;
    height: 60px;
    float: left;
    margin-right: 20px;
    object-fit: cover;
}

.catlink {
    margin-bottom: 0;
    font-style: normal;
    padding: 0;
    margin: 0 0 0 10px;
    display: block;
}

.catlink a {
    font-family: var(--xm-font-ui);
    font-weight: 600;
    text-transform: uppercase;
    font-style: normal;
    font-size: 11px;
    display: inline-block;
    color: var(--xm-rouge);
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.catrow_noalb:hover .catlink a,
.catrow:hover .catlink a { color: var(--xm-or-fonce); }

.buttonlist a { color: var(--xm-or-fonce); display: inline-block; }


/* ------- outros ---- */
.album_stat {
    padding: 6px;
    color: var(--xm-texte);
    line-height: 22px;
    display: block;
    letter-spacing: 0.5px;
    font-family: var(--xm-font-ui);
    font-style: italic;
    font-size: 12px;
    margin: 30px 20px -5px;
}

.thumb_filename { font-size: 10px; display: block; }


/* ------- TITRE ALBUM (overlay sur vignette) ---- */
.thumb_title_title {
    position: relative;
    z-index: 100;
    font-weight: 600;
    font-family: var(--xm-font-ui);
    font-size: 9px;
    letter-spacing: 1px;
    width: 110px;
    background: none;
    color: var(--xm-rouge);
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 10px;
    line-height: 12px;
    display: block;
    transition: all ease-out 0.3s;
}

.thumbnails:hover .thumb_title_title {
    background: none;
    color: var(--xm-rouge);
}


.thumb_title_views {
    display: block;
    width: 110px;
    box-sizing: border-box;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--xm-rouge);
    background: var(--xm-or-clair);
    margin: 0 0 2px;
    font-family: var(--xm-font-ui);
    font-size: 9px;
    letter-spacing: 1px;
    padding: 5px;
}

.thumb_resolution {
    position: absolute;
    width: 140px;
    top: 10px; left: 10px;
    background: rgba(93, 15, 20, 0.75);
    color: var(--xm-creme);
    padding: 10px 5px;
}

.thumb_caption {
    background: var(--xm-creme);
    text-transform: uppercase;
    color: var(--xm-or-fonce);
    margin-top: 0;
    width: 110px;
    font-family: var(--xm-font-ui);
    font-weight: 500;
    font-size: 10px;
    padding: 10px;
}

.thumb_caption_ctime,
.thumb_caption_mtime {
    font-weight: 400;
    text-transform: uppercase;
    color: var(--xm-rouge);
    border-radius: 0 0 4px 4px;
    background: var(--xm-or-clair);
    margin: 0;
    font-family: var(--xm-font-ui);
    font-size: 9px;
    letter-spacing: 1px;
    padding: 5px;
    display: block;
    width: 110px;
    box-sizing: border-box;
}


.thumbnails .image {
    margin: 10px 0 -3px;
    height: auto;
    opacity: 1;
    transition: all ease-out 0.3s;
    border: 6px solid transparent;
    border-radius: 2px;
    background:
        linear-gradient(var(--xm-creme), var(--xm-creme)) padding-box,
        var(--xm-gradient-or) border-box;
}

.thumbnails:hover .image {
    opacity: 0.85;
    filter: none;
}

.albums .image {
    margin-bottom: 0;
    padding: 10px;
    border-radius: 4px;
    background: var(--xm-creme);
    border: 1px solid var(--xm-or);
    transition: all ease-out 0.3s;
}

.tableb_alternate .image {
    margin-bottom: 0;
    float: left;
    padding: 10px;
    transition: all ease-out 0.3s;
}

.imageborder { margin: 0; }

.thumb_caption_rating { display: none; }

.thumbnails {
    text-align: center;
    border: none;
    position: relative;
    margin-top: 5px;
    padding: 10px;
    background: var(--xm-creme);
    transition: all 0.3s ease-in-out;
}

/* remplace le tile.gif "pellicule" par défaut de Coppermine (posé en style inline) par une bande noire épurée */
.filmstrip_background {
    background-image: none !important;
    background-color: var(--xm-rouge) !important;
    border-top: 2px solid var(--xm-or);
    border-bottom: 2px solid var(--xm-or);
}

.filmstrip_background .thumbnails {
    text-align: center;
    width: 160px;
    background: rgba(93, 15, 20, 0.15);
    position: relative;
    margin-top: 5px;
    padding-bottom: 12px;
    transition: all 0.3s ease-in-out;
}


/* ------- tamanho do midia (page image seule) ---- */
.display_media {
    background: var(--xm-creme);
    border: 1px solid var(--xm-or);
    text-align: center;
    padding: 0;
}

.display_media .image {
    margin: 10px;
    background: var(--xm-creme-fonce);
    border: 1px solid var(--xm-or);
    padding: 20px;
    transition: opacity ease-out 0.3s;
}


/* ------- statistiques ---- */
.tableh1 .statlink {
    padding: 0;
    font-family: var(--xm-font-ui);
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0;
    color: var(--xm-creme);
}

.tableh1 .statlink a {
    text-decoration: none;
    font-size: 10px;
    margin-bottom: 1px;
    text-transform: uppercase;
    color: var(--xm-or-clair);
    display: inline-block;
    font-family: var(--xm-font-ui);
    font-weight: 600;
}

.tableh1 .statlink a:hover { color: var(--xm-creme); }


.user_thumb_infobox { margin: 1px 0; }
.user_thumb_infobox th { font-weight: bold; font-size: 100%; margin: 1px 0; text-align: center; }
.user_thumb_infobox td { font-size: 85%; margin: 1px 0; text-align: center; }
.user_thumb_infobox a { text-decoration: none; color: var(--xm-rouge); }
.user_thumb_infobox a:hover { color: var(--xm-or-fonce); text-decoration: none; }

.sortorder_cell { display: none; }
.sortorder_options { display: none; }


/* ------- navigation d'images ---- */
.navmenu {
    background: var(--xm-creme);
    font-weight: 400;
    font-family: var(--xm-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--xm-texte);
    letter-spacing: 1px;
    padding: 10px;
}

.navmenu a {
    font-weight: 500;
    font-family: var(--xm-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--xm-or-fonce);
    letter-spacing: 1px;
    padding: 0 5px;
}

.navmenu a:hover { color: var(--xm-rouge); }
.navmenu a img,
.navmenu a img:hover { border: 0; padding: 0; }


/* ------- commentaires ---- */
.comment_date { color: var(--xm-sable); font-size: 90%; vertical-align: middle; }


/* ------- image table (EXIF/infos) ---- */
.img_caption_table {
    border: none;
    border-radius: 4px;
    background: var(--xm-creme-fonce);
    width: 100%;
    margin: 0;
}

.img_caption_table th {
    background: var(--xm-creme-fonce);
    border-radius: 4px;
    font-size: 100%;
    color: var(--xm-rouge);
    padding: 4px 10px;
}

.img_caption_table td {
    background: var(--xm-creme-fonce);
    padding: 6px 10px;
    border-radius: 4px;
    border-top: 1px solid var(--xm-creme);
    white-space: normal;
}

.debug_text {
    background: var(--xm-creme-fonce);
    padding: 6px;
    border-radius: 4px;
    width: 100%;
    margin: 0;
}

.clickable_option { cursor: default; }

.listbox_lang {
    color: var(--xm-texte);
    background: var(--xm-creme-fonce);
    font-size: 80%;
    font-family: var(--xm-font-ui);
    vertical-align: middle;
}


/* ------- formulaires ---- */
.textinput {
    font-family: var(--xm-font-ui);
    font-size: 100%;
    margin-top: 10px;
    background: var(--xm-creme);
    border: 1px solid var(--xm-or);
    padding: 0 5px;
}

.listbox {
    font-family: var(--xm-font-ui);
    font-size: 100%;
    border: 1px solid var(--xm-rouge);
    vertical-align: middle;
}

.button {
    font-family: var(--xm-font-ui);
    font-size: 100%;
    border: 1px solid var(--xm-or-fonce);
    background: var(--xm-gradient-or);
    color: var(--xm-rouge);
    padding: 6px 14px;
    border-radius: 3px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.button:hover { background: var(--xm-rouge); border-color: var(--xm-rouge); color: var(--xm-or-clair); }

.comment_button {
    font-family: var(--xm-font-ui);
    font-size: 100%;
    border: 1px solid var(--xm-or);
    padding: 0 3px;
}

.radio, .checkbox {
    font-family: var(--xm-font-ui);
    font-size: 100%;
    vertical-align: middle;
}


/* ------- admin menu ---- */
.admin_menu { display: inline-block; }
.admin_menu_wrapper a {
    color: var(--xm-rouge);
    background: var(--xm-creme-fonce);
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 5px 10px;
    margin: 0 10px 10px 0;
}
.admin_menu_wrapper img { display: none; }

/* recoloration des icônes de navigation par défaut de Coppermine (flèches image suivante/précédente...) en noir */
.navmenu img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(75%) saturate(3000%) hue-rotate(333deg) brightness(92%);
}


/* "Powered by Coppermine" — généré par le core, style inline à surcharger */
.footer {
    font-size: 8px !important;
    padding: 2px !important;
}
.footer a { color: var(--xm-or-clair); }

/* ==========================================================
   FOOTER — Yvonne News
   ========================================================== */
#footer-bandeau {
    position: relative;
    isolation: isolate;
    width: 100%;
    background: var(--xm-gradient-rouge);
    margin-top: 20px;
    border-top: 6px solid;
    border-image: var(--xm-gradient-or) 1;
}

#footer-bandeau::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--xm-glitter);
    background-size: var(--xm-glitter-size);
    animation: xm-twinkle 3.2s ease-in-out infinite;
}

.footer-inner {
    display: flex;
    gap: 50px;
    max-width: 1050px;
    margin: 0 auto;
    padding: 34px 20px 0;
}

.footer-col { flex: 1; }

.footer-col h3 {
    font-family: var(--xm-font-ui);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--xm-or-clair);
    margin: 0 0 14px;
}

.affiliates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.affiliate-card {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.affiliate-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.affiliate-empty {
    border: 1px dashed var(--xm-or);
    opacity: 0.7;
    font-size: 18px;
    color: var(--xm-or-clair);
    background: transparent;
}

.footer-disclaimer-col .footer-legal {
    font-family: var(--xm-font-ui);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.7;
    text-align: justify;
    color: var(--xm-creme);
    margin: 0;
}

.footer-disclaimer-col .footer-legal a { color: var(--xm-or-clair); text-decoration: underline; }
.footer-disclaimer-col .footer-legal a:hover { color: #fff; }

.footer-bottom {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 20px 30px;
    text-align: center;
}

.footer-copyright {
    font-family: var(--xm-font-ui);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--xm-or-clair);
    margin: 0;
}

.footer-sep {
    border: none;
    border-top: 1px solid var(--xm-or);
    max-width: 1050px;
    margin: 30px auto 0;
    opacity: 0.6;
}


/* ------- responsive fallback (desktop-first, 1050px fixe comme HQDiesel-Paris) ---- */
@media screen and (max-width: 1080px) {
    #conteudo, .maintable, #main { width: 100%; }
    .footer-inner { padding: 18px 20px; }
}



/* ------- VIGNETTES « CADEAU » : ruban rouge + noeud sur un coin, balancement au survol ------- */
.thumbnails a:has(> img.image) {
    position: relative;
    display: inline-block;
}

.thumbnails a:has(> img.image)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -8px;
    width: 58px;
    height: 58px;
    pointer-events: none;
    z-index: 3;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 70'%3E%3Cpolygon points='34,0 46,0 70,24 70,36' fill='%23C8141C'/%3E%3Cline x1='40' y1='0' x2='70' y2='30' stroke='%23E8454B' stroke-width='1.6' opacity='0.55'/%3E%3Cline x1='34' y1='0' x2='70' y2='36' stroke='%23E9C46A' stroke-width='1.1'/%3E%3Cline x1='46' y1='0' x2='70' y2='24' stroke='%23E9C46A' stroke-width='1.1'/%3E%3Cpath d='M54 14L47.5 31 51.5 28.5 53.5 33 56 16Z' fill='%238E1015'/%3E%3Cpath d='M54 14L61 30 57 28 56.5 33 52.5 16Z' fill='%23C8141C' stroke='%238E1015' stroke-width='0.6'/%3E%3Cg transform='rotate(-45 58.9 9.1)'%3E%3Cellipse cx='58.9' cy='9.1' rx='8' ry='4.8' fill='%23C8141C' stroke='%238E1015' stroke-width='0.8'/%3E%3Cellipse cx='58.9' cy='9.1' rx='4.4' ry='2' fill='%238E1015' opacity='0.55'/%3E%3C/g%3E%3Cg transform='rotate(-45 49.1 18.9)'%3E%3Cellipse cx='49.1' cy='18.9' rx='8' ry='4.8' fill='%23C8141C' stroke='%238E1015' stroke-width='0.8'/%3E%3Cellipse cx='49.1' cy='18.9' rx='4.4' ry='2' fill='%238E1015' opacity='0.55'/%3E%3C/g%3E%3Ccircle cx='54' cy='14' r='3.6' fill='%23E9C46A' stroke='%23B8892E' stroke-width='0.9'/%3E%3C/svg%3E") no-repeat center / contain;
    filter: drop-shadow(0 1px 1.5px rgba(60, 5, 8, 0.35));
}

/* ornement accroché : fil doré en haut de la vignette, la vignette pivote autour de ce point */
.thumbnails { transform-origin: 50% 0; }

.thumbnails::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 4px);
    width: 8px;
    height: 20px;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 2.5px, #D4AF55 0 2.4px, transparent 3px),
        linear-gradient(#D4AF55, #D4AF55) center 3px / 1px 100% no-repeat;
}

.thumbnails:hover { animation: xm-swing 1.8s ease-in-out; }

.filmstrip_background .thumbnails::before { display: none; }
.filmstrip_background .thumbnails:hover { animation: none; }

@keyframes xm-swing {
    0%   { transform: rotate(0deg); }
    18%  { transform: rotate(4deg); }
    38%  { transform: rotate(-3.2deg); }
    58%  { transform: rotate(2.2deg); }
    78%  { transform: rotate(-1.1deg); }
    100% { transform: rotate(0deg); }
}


/* ------- message de Noël en bas du header (SVG en ligne dans template.html) ------- */
.hero-greeting {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 640px;
    height: 140px;
    transform: translateX(-50%);
    pointer-events: none;
}

/* léger voile rouge derrière le texte pour garder la lisibilité sur la photo */
.hero-greeting::before {
    content: "";
    position: absolute;
    left: -90px;
    right: -90px;
    top: -40px;
    bottom: 40px;
    background: radial-gradient(ellipse at 50% 70%, rgba(60, 5, 8, 0.5) 0%, rgba(60, 5, 8, 0) 70%);
    z-index: -1;
}

.hero-greeting svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}


/* ------- animation des paillettes ---- */
@keyframes xm-twinkle {
    0%, 100% { opacity: 0.35; }
    50%      { opacity: 1; }
}

/* neige entassée dans les angles du cadre */
.welcome-block::before {
    content: "";
    position: absolute;
    inset: -20px -4px -4px -4px;
    pointer-events: none;
    z-index: 3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cg %3E%3Cpath d='M0 24V13C5 5 15 2 26 5C35 7.5 40 10.5 50 9.5C60 8.5 66 6 76 8.5C88 12 96 18 120 24Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3Cpath d='M0 24V13C5 5 15 2 26 5C35 7.5 40 10.5 50 9.5C60 8.5 66 6 76 8.5C88 12 96 18 120 24Z' fill='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cg transform='translate(120 0) scale(-1 1)' %3E%3Cpath d='M0 24V13C5 5 15 2 26 5C35 7.5 40 10.5 50 9.5C60 8.5 66 6 76 8.5C88 12 96 18 120 24Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3Cpath d='M0 24V13C5 5 15 2 26 5C35 7.5 40 10.5 50 9.5C60 8.5 66 6 76 8.5C88 12 96 18 120 24Z' fill='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26' viewBox='0 0 96 26'%3E%3Cg %3E%3Cpath d='M0 26V13C4 7 12 5 20 7C28 9 33 14 43 15C54 16 60 19 70 21C78 23 86 25 96 26Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3Cpath d='M0 26V13C4 7 12 5 20 7C28 9 33 14 43 15C54 16 60 19 70 21C78 23 86 25 96 26Z' fill='none'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26' viewBox='0 0 96 26'%3E%3Cg transform='translate(96 0) scale(-1 1)' %3E%3Cpath d='M0 26V13C4 7 12 5 20 7C28 9 33 14 43 15C54 16 60 19 70 21C78 23 86 25 96 26Z' fill='%23ffffff' stroke='%23C9D8E8' stroke-width='1.2'/%3E%3Cpath d='M0 26V13C4 7 12 5 20 7C28 9 33 14 43 15C54 16 60 19 70 21C78 23 86 25 96 26Z' fill='none'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left top, right top, left bottom 4px, right bottom 4px;
    filter: drop-shadow(0 1px 1px rgba(120, 140, 170, 0.35));
}

/* flocons dorés aux quatre coins du cadre */
.welcome-block::after {
    content: "";
    position: absolute;
    inset: -11px;
    pointer-events: none;
    z-index: 4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11.5' fill='%23FBF3E4'/%3E%3Cpath d='M12 12L12.00 2.50M12.00 5.80L14.06 8.25M12.00 5.80L9.94 8.25M12 12L20.23 7.25M17.37 8.90L16.27 11.91M17.37 8.90L14.22 8.34M12 12L20.23 16.75M17.37 15.10L14.22 15.66M17.37 15.10L16.27 12.09M12 12L12.00 21.50M12.00 18.20L9.94 15.75M12.00 18.20L14.06 15.75M12 12L3.77 16.75M6.63 15.10L7.73 12.09M6.63 15.10L9.78 15.66M12 12L3.77 7.25M6.63 8.90L9.78 8.34M6.63 8.90L7.73 11.91' fill='none' stroke='%23B8892E' stroke-width='1.3' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23D4AF55'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11.5' fill='%23FBF3E4'/%3E%3Cpath d='M12 12L12.00 2.50M12.00 5.80L14.06 8.25M12.00 5.80L9.94 8.25M12 12L20.23 7.25M17.37 8.90L16.27 11.91M17.37 8.90L14.22 8.34M12 12L20.23 16.75M17.37 15.10L14.22 15.66M17.37 15.10L16.27 12.09M12 12L12.00 21.50M12.00 18.20L9.94 15.75M12.00 18.20L14.06 15.75M12 12L3.77 16.75M6.63 15.10L7.73 12.09M6.63 15.10L9.78 15.66M12 12L3.77 7.25M6.63 8.90L9.78 8.34M6.63 8.90L7.73 11.91' fill='none' stroke='%23B8892E' stroke-width='1.3' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23D4AF55'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11.5' fill='%23FBF3E4'/%3E%3Cpath d='M12 12L12.00 2.50M12.00 5.80L14.06 8.25M12.00 5.80L9.94 8.25M12 12L20.23 7.25M17.37 8.90L16.27 11.91M17.37 8.90L14.22 8.34M12 12L20.23 16.75M17.37 15.10L14.22 15.66M17.37 15.10L16.27 12.09M12 12L12.00 21.50M12.00 18.20L9.94 15.75M12.00 18.20L14.06 15.75M12 12L3.77 16.75M6.63 15.10L7.73 12.09M6.63 15.10L9.78 15.66M12 12L3.77 7.25M6.63 8.90L9.78 8.34M6.63 8.90L7.73 11.91' fill='none' stroke='%23B8892E' stroke-width='1.3' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23D4AF55'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11.5' fill='%23FBF3E4'/%3E%3Cpath d='M12 12L12.00 2.50M12.00 5.80L14.06 8.25M12.00 5.80L9.94 8.25M12 12L20.23 7.25M17.37 8.90L16.27 11.91M17.37 8.90L14.22 8.34M12 12L20.23 16.75M17.37 15.10L14.22 15.66M17.37 15.10L16.27 12.09M12 12L12.00 21.50M12.00 18.20L9.94 15.75M12.00 18.20L14.06 15.75M12 12L3.77 16.75M6.63 15.10L7.73 12.09M6.63 15.10L9.78 15.66M12 12L3.77 7.25M6.63 8.90L9.78 8.34M6.63 8.90L7.73 11.91' fill='none' stroke='%23B8892E' stroke-width='1.3' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23D4AF55'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-position: left top, right top, left bottom, right bottom;
    animation: xm-glow 2.8s ease-in-out infinite;
}

@keyframes xm-glow {
    0%, 100% { filter: brightness(1); }
    50%      { filter: brightness(1.25) drop-shadow(0 0 2px rgba(255, 220, 120, 0.7)); }
}

@media (prefers-reduced-motion: reduce) {
    .thumbnails:hover { animation: none; }
    .welcome-block::after { animation: none; }
    .menutopo::before,
    .tableh1[colspan]::before,
    .tableh1:not([colspan])::before,
    #footer-bandeau::after { animation: none; opacity: 0.8; }
}


/* ------- neige qui tombe (canvas créé par le script de template.html) ------- */
#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}
