/** REL 1.9.2 — Décor artistique du panneau. Isolé dans une feuille dédiée.
 * Il n'est chargé que si l'option « Tableau illustré » est active.
 * Les feuilles restent de vrais éléments HTML : texte lisible, liens et clavier.
 */
.rel-x-woodframe--art {
  border: 0;
  border-radius: 7px;
  padding: clamp(92px, 9.5vw, 142px) clamp(45px, 8.2vw, 116px) clamp(52px, 6vw, 80px);
  background-color: #45250f;
  background-image: url('board/wood-board-desktop.webp'),
    url('board/wood-planks.webp');
  background-position: center top, center top;
  background-size: 100% auto, 100% auto;
  background-repeat: no-repeat, repeat-y;
  box-shadow: 0 3px 0 #241207, 0 22px 50px rgba(22, 10, 3, .48),
      inset 0 0 2px rgba(245, 194, 101, .3);
  color: #efe3c7;
}
.rel-x-woodframe--art .rel-x-woodgrain,
.rel-x-woodframe--art .rel-x-decor { display: none !important; }
.rel-x-woodframe--art::before {
  background: radial-gradient(ellipse 27% 18% at 6% 10%, rgba(255, 208, 118, .19), transparent 98%);
  opacity: .95;
  animation: rel-art-flame 4.1s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  z-index: 0;
}
.rel-x-woodframe--art::after { display: none; }
.rel-x-woodframe--art .rel-x-woodhead {
  position:absolute;left:0;right:0;
  top: clamp(37px, 5vw, 70px);
  z-index: 2;
  text-shadow: 0 2px 5px #120903, 0 0 12px rgba(0,0,0,.7);
  color: #fbe9ba !important;
  letter-spacing: .19em;
  font-size: clamp(12px, 1.8vw, 19px);
}
.rel-x-woodframe--art .rel-x-notes { z-index: 2; gap: clamp(16px, 2.2vw, 30px); }
.rel-x-woodframe--art .rel-x-note {
  border: 1px solid #b89458;
  border-radius: 2px 8px 2px 5px;
  background-image: linear-gradient(157deg, rgba(255,250,233,.72),rgba(239,221,185,.76)), url('board/parchment-fibers.webp');
  background-position: center;
  background-size: cover;
  box-shadow: 0 2px 0 #b79a63, 2px 4px 8px rgba(25,13,4,.42), 0 14px 23px rgba(17,8,2,.38);
  color: #25190f;
}
.rel-x-woodframe--art .rel-x-note:nth-child(3n + 2) { border-radius: 7px 3px 5px 2px; }
.rel-x-woodframe--art .rel-x-note:hover,
.rel-x-woodframe--art .rel-x-note:focus-within { box-shadow: 0 6px 0 #b79a63, 0 16px 34px rgba(18,8,2,.48); }
.rel-x-woodframe--art .rel-x-note h4,
.rel-x-woodframe--art .rel-x-note h4 a,
.rel-x-woodframe--art .rel-x-note dt,
.rel-x-woodframe--art .rel-x-note dd,
.rel-x-woodframe--art .rel-x-note .rel-x-note__system {color: #29190f !important;}
.rel-x-woodframe--art .rel-x-note__type {color: #74421c !important;}
.rel-x-woodframe--art .rel-x-note__status {color: #fff0c8!important;background:#281810!important;}
.rel-x-woodframe--art .rel-x-note__actions>a {color:#483018!important;text-decoration-thickness:1px;}
.rel-x-woodframe--art .rel-x-note__top {gap: 6px 8px;}
.rel-x-woodframe--art .rel-x-note--theme-horreur {border-color:#87505a;}
.rel-x-woodframe--art .rel-x-note--theme-science_fiction {border-color:#487789;}
.rel-x-woodframe--art .rel-x-note--theme-post_apo {border-color:#936a36;}
.rel-x-woodframe--art .rel-x-note--theme-merveilleux {border-color:#8667a0;}
.rel-x-woodframe--art .rel-x-boardbottom a,
.rel-x-woodframe--art .rel-x-boardmore {color:#fff0d1!important;text-shadow:0 2px 3px #1a0b04;}
.rel-x-woodframe--art .rel-x-empty-note { color:#fff1d1!important; }
.rel-x-woodframe--art .rel-x-empty-note a { color:#fff1d1!important; }
@keyframes rel-art-flame {
  from {opacity:.65;transform:scale(.995) translateY(0)}
  to {opacity:1;transform:scale(1.015) translateY(-3px)}
}
@media (max-width: 760px) {
  .rel-x-woodframe--art {
    background-image: url('board/wood-board-mobile.webp'),
      url('board/wood-planks.webp');
    padding: 142px clamp(16px, 4.5vw, 30px) 52px;
    background-size: 100% auto, 100% auto;
  }
  .rel-x-woodframe--art .rel-x-woodhead { top: 69px; font-size: 12px; letter-spacing: .11em; }
  .rel-x-woodframe--art .rel-x-notes { grid-template-columns: minmax(0,1fr); }
  .rel-x-woodframe--art .rel-x-note { transform: none; }
}
@media (max-width: 400px) {
  .rel-x-woodframe--art {padding:127px 15px 42px;}
  .rel-x-woodframe--art .rel-x-woodhead {top:65px;max-width:220px;margin:0 auto;line-height:1.5;}
  .rel-x-woodframe--art .rel-x-note {padding:30px 15px 15px;}
}
@media (prefers-reduced-motion: reduce) {
  .rel-x-woodframe--art::before {animation:none!important;}
}
@media (forced-colors: active) {
  .rel-x-woodframe--art,.rel-x-woodframe--art .rel-x-note {background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important;}
}



/* REL 1.9.5 — halo vivant autour de la torche du tableau illustré. */
.rel-x-woodframe--art::before {
  background:
    radial-gradient(circle at 7.5% 17%, rgba(255,225,157,.42), rgba(255,152,53,.26) 12%, rgba(255,120,16,.08) 22%, transparent 36%),
    radial-gradient(circle at 11% 17%, rgba(255,234,188,.24), transparent 22%);
  opacity: 1;
  animation: rel-art-flame 3.8s ease-in-out infinite alternate;
}

/* 1.9.24 : titre du tableau plus présent sans couvrir les cartes. */
:is(.rel-app,#rel-annonces-app) .rel-x-woodframe--art .rel-x-woodhead h3,
:is(.rel-app,#rel-annonces-app) .rel-x-woodframe--art .rel-x-woodhead h2 {font-size:clamp(25px,3.4vw,43px)!important;line-height:1.16!important;letter-spacing:.12em!important;}
@media(max-width:620px){:is(.rel-app,#rel-annonces-app) .rel-x-woodframe--art .rel-x-woodhead h3,:is(.rel-app,#rel-annonces-app) .rel-x-woodframe--art .rel-x-woodhead h2{font-size:clamp(22px,5.1vw,30px)!important;letter-spacing:.06em!important}}

/* Texte direct dans .rel-x-woodhead : aucun h2/h3 imbriqué. */
:is(.rel-app,#rel-annonces-app) .rel-x-woodframe--art .rel-x-woodhead {font-size:clamp(19px,2.5vw,31px)!important;letter-spacing:.12em!important;line-height:1.2!important;}
@media(max-width:620px){:is(.rel-app,#rel-annonces-app) .rel-x-woodframe--art .rel-x-woodhead {font-size:clamp(16px,4.2vw,23px)!important;letter-spacing:.04em!important;}}
