/* Cartes postales du bestiaire. Exclusivement dans les pages publiques du guide. */
.noel-parcours .page-card .page-hero.noel-etape {
  --foret:#173e48; --papier:#ffefc5; --dorure:#f3cc80;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(150px,24%);
  align-items:center; justify-content:stretch; gap:clamp(16px,5vw,68px);
  padding:clamp(22px,4vw,52px) clamp(20px,5vw,72px);
  color:#fff9e9; isolation:isolate;
  background:linear-gradient(95deg,#103843 0%,#153f4bf7 34%,#193e4bc4 62%,#25445346 100%),url('/img/noel-2026/village.svg') 58% bottom/cover #1c4554;
}
.noel-etape__texte {min-width:0;max-width:61ch}
.noel-etape .noel-saison {display:flex;align-items:center;gap:.65rem;color:#ffe4a5;font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin:0 0 1.05rem}
.noel-etape .noel-saison::after {content:"";width:3.8em;height:1px;background:#d6aa68}
.noel-parcours .noel-etape .page-eyebrow {display:block;color:#cce5de;font-size:.9rem;letter-spacing:.035em}
.noel-parcours .noel-etape h1 {color:#fff7df;font-size:clamp(2rem,3.8vw,3.4rem);line-height:1.08;margin:.22em 0}
.noel-parcours .noel-etape .hero-actions {gap:.6rem}
.noel-parcours .noel-carte {
  display:grid; justify-self:center; width:min(100%,204px); margin:0; padding:6px;
  background:#faf0d4; border:1px solid #f6dd9d; border-radius:48% 48% 9px 9px / 30% 30% 9px 9px;
  box-shadow:0 5px 12px #0c263d50;
}
.noel-carte__ciel {
  display:grid;place-items:center;min-width:0; overflow:hidden; border-radius:inherit;
  background:radial-gradient(ellipse at 53% 42%,#f1f4de,#bedfd8 60%,#8cb9ba);border:1px solid #9cb6a3;
}
.noel-carte__ciel img {display:block;width:100%;height:auto;object-fit:contain}
.noel-parcours .noel-carte figcaption {display:grid;gap:.12rem;padding:.45rem .25rem .2rem;text-align:center;line-height:1.18;color:#4d472e}
.noel-carte figcaption span {font-size:.75rem}
.noel-parcours .noel-carte figcaption a {font:700 1.15rem/1.25 Georgia,serif;color:#733446;text-underline-offset:.17em}
.noel-parcours .noel-sentier {
  display:flex;flex-wrap:wrap;align-items:stretch;padding:0 clamp(14px,5vw,72px);gap:clamp(.3rem,2vw,2rem);
  background:#e8f2ed;border-bottom:1px solid #adc8bc;
}
.noel-parcours .noel-sentier a {display:grid;place-items:center;min-height:44px;padding:.45rem .55rem;color:#205953;font-size:.95rem;font-weight:700;border-bottom:3px solid transparent;text-decoration:none;}
.noel-parcours .noel-sentier a[aria-current="page"] {color:#693043;border-bottom-color:#913c53}
.noel-parcours .noel-sentier a:hover {text-decoration:underline;text-underline-offset:.2em}
.noel-parcours :is(.noel-sentier a,.noel-carte a):focus-visible {outline:3px solid #884512;outline-offset:-2px}
.noel-parcours :is(.feature-card,.step-card) {min-width:0;border-color:#c5d8c9;background:#fffdf6;box-shadow:0 2px 6px #35564918}
.noel-parcours .feature-card .feature-card__icon,.noel-parcours .step-card .step-card__number {background:#226059;color:white;box-shadow:none}
.noel-parcours :is(.feature-card,.step-card):nth-child(3n+2) :is(.feature-card__icon,.step-card__number) {background:#86364b}
.noel-parcours :is(.feature-card,.step-card):nth-child(3n) :is(.feature-card__icon,.step-card__number) {background:#38566f}
.noel-parcours .page-content .inline-callout,.noel-parcours .noel-etape .inline-callout {background:#fff3d5;color:#413b2c;border-left-color:#987324}
.noel-parcours .inline-callout a {color:#6b2940;text-decoration:underline}
.noel-parcours .feature-card a {overflow-wrap:anywhere}
@media(max-width:660px){
  .noel-parcours .page-card .page-hero.noel-etape {grid-template-columns:minmax(0,1fr);gap:1rem;padding:20px 16px}
  .noel-etape .noel-saison {margin-bottom:.65rem}
  .noel-parcours .noel-carte {display:flex;align-items:center;align-self:start;justify-self:start;width:auto;max-width:100%;padding:3px 12px 3px 3px;gap:8px;border-radius:50px 12px 12px 50px}
  .noel-carte__ciel {width:64px;border-radius:50%}
  .noel-parcours .noel-carte figcaption {text-align:left;padding:.2rem 0}
  .noel-parcours .noel-sentier {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 4px;gap:0}
  .noel-parcours .noel-sentier a {padding-inline:.15rem;font-size:.875rem;text-align:center;line-height:1.2}
  .noel-parcours .page-content {padding-inline:15px}
}

/* Pages intérieures : même village et mêmes encres que l'accueil.
   Les vignettes des activités, les illustrations des produits et les aperçus
   de titres/émoticônes restent ceux du catalogue. Aucune règle du lecteur. */
body.ref-theme .ref-activities {color:var(--noel-texte)}
body.ref-theme .ref-activities a {color:#145552}
body.ref-theme .ref-activities .ref-head>a {color:inherit}
body.ref-theme .ref-activities :is(.ref-panel,.activity-game) {
  color:var(--noel-texte);background:linear-gradient(135deg,#fffef8,#edf7f1);
  border-color:#b3d1c8;box-shadow:0 2px 7px #143a3d1f;
}
body.ref-theme .ref-activities :is(.activity-animation-hero,.activity-banner) {
  background:#214b55 var(--noel-village) center 65%/cover no-repeat;
  border-color:#e9dbab;box-shadow:0 3px 12px #18354138;
}
body.ref-theme .ref-activities .activity-hero-shade {
  background:linear-gradient(90deg,transparent,#173b45ef 23%,#173b45f5 70%,transparent);
}
body.ref-theme .ref-activities .activity-banner-content {
  background:linear-gradient(90deg,#173b45 22%,#173b45ed 57%,#173b4512 90%);
}
body.ref-theme .ref-activities :is(.activity-banner h1,.activity-hero-copy h1) {
  color:#fff7de;text-shadow:0 2px 3px #122d35;
}
body.ref-theme .ref-activities .activity-ribbon {
  background:linear-gradient(125deg,#f0c576,#ffebba);color:#4e351e;text-shadow:none;
}
body.ref-theme .ref-activities .activity-button {
  background:#8d3048;color:white;border-color:#ab5165;box-shadow:none;
}
body.ref-theme .ref-activities .activity-button-blue {background:#165c56;border-color:#508f80;color:white}
body.ref-theme .ref-activities .activity-button:hover {background:#70223a;color:white}
body.ref-theme .ref-activities .activity-button-blue:hover {background:#114843}
body.ref-theme .ref-activities .activity-game h2 {color:#194a48}
body.ref-theme .ref-activities :is(.activity-filter-bar,.activity-mini-table>div,.activity-tags span:first-child,.activity-team p,.activity-reward-links .activity-reward-grid a) {
  background:#e0eee7;color:#23534e;border-color:#aac8bf;
}
body.ref-theme .ref-activities .activity-tags span {background:#faecca;color:#684718}
body.ref-theme .ref-activities .activity-filter-bar button {
  min-height:34px;background:#fffdf7;border-color:#9dbfb4;color:#20534e;
}
body.ref-theme .ref-activities .activity-filter-bar button:hover {border-color:#275f56}
body.ref-theme .ref-activities .activity-filter-bar button[aria-pressed=true] {
  background:#165b54;color:#fff;border-color:#164b46;box-shadow:inset 0 -3px 0 #ffe39f;
}
body.ref-theme .ref-activities .activity-note {color:#49645f}
body.ref-theme .ref-activities .activity-calendar-controls button {color:#175a54}
body.ref-theme .ref-activities .activity-calendar {background:#bad2ca}
body.ref-theme .ref-activities .activity-calendar :is(time,span) {background:#fffef9;color:#274b46}
body.ref-theme .ref-activities .activity-calendar .activity-day-label {color:#355b53;background:#e1eee6}
body.ref-theme .ref-activities .activity-calendar .activity-day-other {color:#576b67;background:#f2f4ef}
body.ref-theme .ref-activities .activity-calendar .activity-day-today {
  color:#fff;background:#8b3348;font-weight:800;box-shadow:inset 0 -3px 0 #f1d094;
}
body.ref-theme .ref-activities .activity-calendar-note>span {background:#8b3348}
body.ref-theme .ref-activities .activity-team-symbol {background:#d1e7dd;color:#215c51}
body.ref-theme .ref-activities .activity-team-symbol--claire {background:#f5e0d2;color:#7c3544}
body.ref-theme .ref-activities .activity-propose .ref-body {background:linear-gradient(125deg,transparent,#e2eee4)}

/* Only the shop frame is seasonal. Ownership, unavailable options, wallet
   totals and genuine holiday-specific merchandise retain their own identity. */
body.ref-theme .dedicated-shop .dedicated-shop-nav {
  background:linear-gradient(115deg,#154c48,#24665c);box-shadow:0 2px 7px #143a3d26;
}
body.ref-theme .dedicated-shop .dedicated-shop-nav a {background:#fbfbef;color:#20554d}
body.ref-theme .dedicated-shop .dedicated-shop-nav a[aria-current=page] {
  color:#503817;background:#ffdfa0;box-shadow:inset 0 -3px 0 #a36829;
}
body.ref-theme .dedicated-shop .dedicated-shop-nav a:is(:hover,:focus-visible) {text-decoration:underline}
body.ref-theme .dedicated-shop .dedicated-shop-nav a:focus-visible {outline:3px solid #ffdd82;outline-offset:2px}
body.ref-theme .dedicated-shop .dedicated-product {
  color:#25483f;background:linear-gradient(135deg,#fffef9,#eaf4ee);
  border-color:#b2cfc3;box-shadow:0 2px 8px #143a3d1a;
}
body.ref-theme .dedicated-shop .dedicated-price {color:#773347}
body.ref-theme .dedicated-shop .dedicated-owned {color:#205e3c}
body.ref-theme .dedicated-shop :is(.dedicated-shop-message:not(:empty),.dedicated-shop-empty) {
  color:#294e46;background:#edf6ef;border-color:#b3cdbf;
}
body.ref-theme .dedicated-shop .dedicated-shop-balance {background:#ffebba;color:#58421c}

/* Help controls and editorial callouts, never FAQ visibility or search results. */
body.ref-theme.help-page .ref-help-search form {border-color:#83a79c;background:#fffef9}
body.ref-theme.help-page .ref-help-search input {color:#244b44}
body.ref-theme.help-page .ref-help-search input:focus {box-shadow:inset 0 0 0 3px #286d62}
body.ref-theme.help-page .ref-help-search button {color:white;background:#8a3247}
body.ref-theme.help-page .ref-help-search button:is(:hover,:focus-visible) {background:#6e263c}
body.ref-theme.help-page .ref-help-search button:focus-visible {outline:3px solid #ffe3a1;outline-offset:-4px}
body.ref-theme.help-page :is(.ref-help-search [data-help-result],.ref-help-faq p) {color:#3d5a56}
body.ref-theme.help-page :is(.ref-help-guides>a,.ref-help-faq summary,.ref-help-immediate .ref-body>a) {color:#175953;border-color:#bed5ca}
body.ref-theme.help-page .ref-help-faq summary::before {color:white;background:#396b63}
body.ref-theme.help-page .ref-help-faq a {color:#7e3045;text-decoration:underline}
body.ref-theme.help-page .ref-help-immediate .ref-body>a>span,
body.ref-theme.help-page .ref-help-immediate .ref-body>a b {color:#25635b}
body.ref-theme.help-page .ref-help-immediate .ref-help-together {background:#e4efe4;color:#325649}

@media(max-width:550px) {
  body.ref-theme .ref-activities .activity-hero-shade {
    background:linear-gradient(90deg,#173b4580,#173b45f2 23%,#173b45f2 77%,#173b4580);
  }
  body.ref-theme .ref-activities .activity-banner-content {
    background:linear-gradient(90deg,#173b45fa 25%,#173b45e3 70%,#173b4566);
  }
}
@media(forced-colors:active) {
  body.ref-theme .ref-activities .activity-filter-bar button[aria-pressed=true],
  body.ref-theme .dedicated-shop .dedicated-shop-nav a[aria-current=page],
  body.ref-theme .ref-activities .activity-day-today {outline:2px solid SelectedItem;outline-offset:-3px}
}
/* Les deux Blablas sont devant la lumière du village. Sur un téléphone ils
   ont leur place sous le bouton, sans se glisser derrière les mots. */
body.ref-theme .ref-activities .activity-animation-hero {isolation:isolate}
body.ref-theme .ref-activities .activity-hero-shade {z-index:0;pointer-events:none}
body.ref-theme .ref-activities .activity-animation-hero>.noel-editorial {z-index:1}
body.ref-theme .ref-activities .activity-animation-hero .activity-hero-copy {z-index:2}
body.ref-theme .ref-activities .activity-hero-copy h1 {text-wrap:balance}
body.ref-theme .ref-activities .activity-hero-copy .activity-button,
body.ref-theme .ref-activities .activity-game .activity-button {font-size:.875rem;min-height:34px;line-height:1.23}
@media(max-width:720px){
  body.ref-theme .ref-activities .activity-animation-hero .activity-hero-copy {padding-bottom:78px}
  body.ref-theme .ref-activities .activity-animation-hero>.noel-editorial:is(.activity-hero-art-left,.activity-hero-art-right) {width:66px;height:64px;top:auto;bottom:5px;opacity:1}
  body.ref-theme .ref-activities .activity-animation-hero>.activity-hero-art-left {left:calc(50% - 74px)}
  body.ref-theme .ref-activities .activity-animation-hero>.activity-hero-art-right {right:calc(50% - 74px)}
  body.ref-theme .ref-activities .activity-hero-shade {background:linear-gradient(#183b48eb 45%,#183b48c9 70%,#183b4833)}
}
