/* Original paintings of the N-500 cast. This sheet never targets player avatars. */
[data-launcher-header] .noel-parade {
  position:absolute; inset:auto 5% 3% 40%; height:82%; display:flex;
  align-items:flex-end; justify-content:center; gap:0; isolation:isolate;
  pointer-events:none; user-select:none;
}
.noel-parade img {
  min-width:0; width:23%; height:100%; object-fit:contain; object-position:center bottom;
  margin-inline:-1.5%; align-self:flex-end; filter:drop-shadow(0 3px 3px #082c3d66);
}
.noel-parade img:nth-child(1),.noel-parade img:nth-child(5){height:74%;}
.noel-parade img:nth-child(2),.noel-parade img:nth-child(4){height:86%;}
.noel-parade img:nth-child(3){z-index:1;}
/* Original illustrations open without scripts; these are not purchase buttons. */
.noel-bestiaire {
  min-width:0; margin:0; padding:clamp(14px,2vw,25px);
  background:linear-gradient(125deg,#f6fffa 8%,#ecf7f9 80%); color:#183b3d;
  border:1px solid #adcfc9; border-radius:16px; box-shadow:0 2px 8px #1241331f;
  scroll-margin-top:1rem;
}
.noel-bestiaire header {margin:0 0 12px;text-align:start;}
.noel-bestiaire header p {
  margin:0 0 4px;font:700 11px/1.35 system-ui,sans-serif;letter-spacing:.1em;
  text-transform:uppercase;color:#33605c;
}
.noel-bestiaire header p span{color:#926a26;margin:0 .28em;}
.noel-bestiaire-hint{display:block;margin-top:5px;color:#395957;font-size:13px;}
body .noel-bestiaire h2 {
  margin:0; font:800 clamp(21px,2.4vw,34px)/1.1 system-ui,sans-serif;
  letter-spacing:-.035em; color:#153f40; text-shadow:none;
}
.noel-bestiaire ol {
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:clamp(6px,1vw,12px);
  padding:0; margin:0; list-style:none; counter-reset:none;
}
.noel-bestiaire li {
  --card:#e2eef3; position:relative; isolation:isolate; min-width:0;
  display:grid;
  border:1px solid #45656733; border-radius:11px;
  background:linear-gradient(0deg,#fff 0 17%,transparent 36%),radial-gradient(ellipse at 53% 42%,#fff,var(--card) 75%);
  overflow:hidden;
}
.noel-bestiaire li:nth-child(4n+1){--card:#e6dfef}
.noel-bestiaire li:nth-child(4n+2){--card:#d8f0ee}
.noel-bestiaire li:nth-child(4n+3){--card:#e1eee0}
.noel-bestiaire li:nth-child(4n){--card:#f1e6cc}
.noel-bestiaire li .noel-portrait-link{
  display:grid;grid-template-rows:1fr auto;justify-items:center;align-content:end;
  padding:8px 5px 6px;border-radius:inherit;text-decoration:none;color:inherit;
}
.noel-bestiaire a.noel-portrait-link:focus-visible{outline:3px solid #0b5f69;outline-offset:-3px;}
.noel-bestiaire .noel-portrait-link:is(:hover,:focus-visible) .noel-bestiaire-name{text-decoration:underline;}
.noel-bestiaire-num {
  position:absolute; top:7px; left:7px; z-index:1;
  color:#506967; font:650 10px/1 system-ui,sans-serif; letter-spacing:.07em;
}
.noel-bestiaire li img {
  align-self:end; width:100%; max-height:126px; height:auto; aspect-ratio:1; object-fit:contain;
}
.noel-bestiaire-name {
  display:grid; place-items:center; min-height:2.2em; margin:0;
  font:750 clamp(11px,1.1vw,15px)/1.12 system-ui,sans-serif; color:#1d3938;
  text-align:center; overflow-wrap:normal;
}
.ref-theme .ref-home .noel-hero-casting.ref-home-hero-art {
  display:flex;align-items:end;justify-content:end;
  inset:auto 0 11% auto!important;width:47%!important;height:68%!important;aspect-ratio:auto!important;
  background:none; overflow:visible; pointer-events:none;
}
.ref-theme .ref-home .noel-hero-casting.ref-home-hero-art > img.noel-vignette {
  display:block;position:static!important; inset:auto!important; object-fit:contain; object-position:center bottom;
  width:59%!important;height:100%!important; max-width:none; margin-left:-14%;
  content:normal!important;filter:drop-shadow(0 2px 2px #09283166);
}
.ref-theme .ref-home .noel-hero-casting.ref-home-hero-art > img.noel-vignette:last-child {width:55%!important;height:78%!important;}
.ref-theme .ref-home .ref-home-news-list .noel-vignette,
.ref-theme .ref-home .ref-home-gallery .noel-vignette,
.ref-theme .ref-home .ref-home-artclub-grid .noel-vignette,
.ref-theme .ref-home .ref-home-event-link .noel-vignette,
.ref-theme .ref-crop.noel-editorial > img.noel-vignette {
  display:block; position:static!important; inset:auto!important;
  width:100%!important; height:100%!important; object-fit:contain!important;
  max-height:84px; border-radius:6px; content:normal!important;
  background:radial-gradient(ellipse at 50% 70%,#fffafa,#d8ede8);
}
.ref-theme .ref-home .ref-home-news-list .noel-vignette{max-height:50px;}
/* Older layout reserved 82px for each tightly cropped landscape screenshot.
   A square badge gives the article title and its two-line caption room again. */
.ref-theme .ref-home .ref-home-news-list > a {
  grid-template-columns:clamp(39px,3.6vw,52px) minmax(0,1fr) 9px;
  gap:7px; line-height:1.18;
}
.ref-theme .ref-home .ref-home-news-list > a > .noel-editorial {
  aspect-ratio:1!important; max-height:48px;
}
.ref-theme .ref-home .ref-home-news-list small{line-height:1.13;margin-top:2px;}
.ref-theme .ref-home .ref-home-artclub-grid .noel-vignette{height:auto!important;aspect-ratio:1;max-height:80px;}
.ref-theme .ref-crop.noel-editorial {display:block;overflow:hidden;}
.ref-theme .ref-crop.noel-editorial > img.noel-vignette {max-height:none;}
.ref-theme .activity-hero-art-left.noel-editorial > img.noel-vignette,
.ref-theme .activity-hero-art-right.noel-editorial > img.noel-vignette,
.ref-theme .activity-banner-art.noel-editorial > img.noel-vignette {background:none;}
.ref-theme .ref-activities .noel-editorial:is(.activity-hero-art-left,.activity-hero-art-right,.activity-banner-art) {
  background:transparent; mask-image:none; pointer-events:none;
}
@media(max-width:720px){
  .ref-theme .ref-activities .activity-animation-hero > .noel-editorial:is(.activity-hero-art-left,.activity-hero-art-right) {
    width:15%; opacity:.78;
  }
}
/* Hero accents replace old illustration-atlas layers, never merchandise or
   community submissions. Reserved little right-hand strip stays off the CTA. */
body.ref-theme.reference-hub .ref-panel.ref-community-hero::after,
body.ref-theme.reference-hub .ref-panel.ref-play-hero::after,
body.ref-theme.reference-hub .ref-panel.ref-help-hero::after,
body.ref-theme.reference-shop .ref-shop-banner .ref-shop-banner-art {
  content:"";display:block;position:absolute;inset:14% 1% 2% auto;
  width:32%;height:auto;z-index:-1;pointer-events:none;
  background:var(--noel-accent) center bottom/contain no-repeat;
  mask-image:none;clip-path:none;
}
body.ref-theme.reference-hub .ref-panel.ref-community-hero{--noel-accent:url('/img/noel-2026/coralia-384.webp');}
body.ref-theme.reference-hub .ref-panel.ref-play-hero{--noel-accent:url('/img/noel-2026/voltibulle-384.webp');}
body.ref-theme.reference-hub .ref-panel.ref-help-hero{--noel-accent:url('/img/noel-2026/ombrelume-384.webp');isolation:isolate;}
body.ref-theme.reference-shop .ref-shop-banner{--noel-accent:url('/img/noel-2026/noximir-384.webp');isolation:isolate;}
body.ref-theme.reference-shop .ref-shop-banner .ref-shop-banner-art::before{content:none;}
@media(max-width:760px) {
  [data-launcher-header] .noel-parade {left:43%;right:2%;bottom:5%;height:76%;}
  .noel-parade img:nth-child(1),.noel-parade img:nth-child(5){display:none;}
  .noel-parade img{width:37%;margin-inline:-3%;}
  .noel-bestiaire ol{gap:7px;}
}
@media(max-width:550px) {
  [data-launcher-header] .noel-parade{left:47%;right:1%;}
  .noel-bestiaire {padding:13px;}
  .noel-bestiaire ol{grid-template-columns:repeat(2,minmax(0,1fr));}
  .noel-bestiaire li{padding-bottom:6px;}
  .noel-bestiaire li img{max-height:95px;}
  .noel-bestiaire-name{min-height:1.3em;font-size:13px;}
  .ref-theme .ref-home .noel-hero-casting.ref-home-hero-art{width:32%!important;height:55%!important;bottom:10%!important;}
  .ref-theme .ref-home .noel-hero-casting.ref-home-hero-art > img.noel-vignette{width:100%!important;margin:0;}
  .ref-theme .ref-home .noel-hero-casting.ref-home-hero-art > img.noel-vignette:last-child{display:none;}
  body.ref-theme.reference-hub .ref-panel.ref-community-hero::after,
  body.ref-theme.reference-hub .ref-panel.ref-play-hero::after,
  body.ref-theme.reference-hub .ref-panel.ref-help-hero::after,
  body.ref-theme.reference-shop .ref-shop-banner .ref-shop-banner-art{width:21%;right:0;inset-block:20% 7%;}
}
