/* Noël N-500, novembre 2026. Décor du site uniquement : aucun calque global,
   aucune animation, aucun script, aucun sélecteur du client de jeu. */
body.ref-theme {
  --noel-nuit:#172e4b; --noel-encre:#163f49; --noel-texte:#233c4a; --noel-sapin:#145a58;
  --noel-baie:#96314a; --noel-miel:#f3cc80; --noel-glace:#c2dde1; --noel-doux:#f1f9f7;
  --noel-village:url('/img/noel-2026/village.svg'); --noel-marque:url('/img/noel-2026/marque.svg');
  --ref-ink:var(--noel-encre); --ink:var(--noel-texte); --muted:#496776;
  --pink:var(--noel-baie); --pink-dark:#752139; --blue:#206275; --blue-dark:#174b57;
  --violet:#4d577d; --gold:#dba04c; --surface:#fffef8; --surface-soft:#f0f8f6; --line:var(--noel-glace);
  color:var(--ref-ink);
  background:radial-gradient(ellipse at 50% 280px,#517c88 0,transparent 900px),linear-gradient(#19344f,#32616e 450px,#193c49 1050px,#142e38);
}
/* The former full-page screenshot also painted both gutters. Stars stay in
   the gutters, never over navigation, a form, or content. */
body.ref-theme::before,body.ref-theme::after {
  background-image:radial-gradient(circle at 15px 15px,#d7eeef 0 1px,transparent 1.7px),
    radial-gradient(circle at 47px 41px,#f5d89c 0 1.3px,transparent 2px),
    radial-gradient(circle at 7px 68px,#d9f0ee 0 1px,transparent 1.6px);
  background-size:59px 97px,89px 139px,43px 117px;opacity:.65;
}
body.ref-theme .app-header__sky {
  background:#315a70 var(--noel-village) center bottom/cover no-repeat;
  height:clamp(148px,14.4vw,260px);min-height:0;box-shadow:inset 0 -1px 0 #cde8e5;
}
body.ref-theme .app-header__sky .app-header__inner {position:relative;height:100%}
body.ref-theme .app-header__sky .brand {
  left:7.5%;top:10%;width:27%;height:78%;padding:0;
  background:var(--noel-marque) center/contain no-repeat;
}
body.ref-theme .app-header__sky .brand:not(:empty){background-image:none}
body.ref-theme .utility-strip{background:#162f44;color:#eff8f7}
body.ref-theme .utility-strip a,body.ref-theme .utility-online,body.ref-theme .utility-online b{color:#f0faf9}
body.ref-theme .utility-welcome>span{color:var(--noel-miel)}
body.ref-theme .utility-play{background:linear-gradient(#ad3c54,#87243e);color:#fff; border-color:#f2c477}
body.ref-theme .nav-strip {
  border-color:#95cab7;background:linear-gradient(#287267,#155c55 60%,#114c4d);
  box-shadow:inset 0 1px 0 #aadaad88,0 4px 11px #10293d60;
}
body.ref-theme .nav-home,body.ref-theme .nav-group{border-right-color:#cbefe23b}
body.ref-theme .nav-mail{background:#16655f;border-color:#8dbda9;box-shadow:inset 0 1px 0 #c4e9c566}
body.ref-theme .nav-strip .nav-home,body.ref-theme .nav-strip .nav-tab-label{color:#fff}
body.ref-theme .nav-strip a.nav-home.is-active,body.ref-theme .nav-group.is-active>summary,
body.ref-theme .nav-group[open]>summary,body.ref-theme .nav-home:hover,body.ref-theme .nav-group>summary:hover {
  background:linear-gradient(#fff8d8,#f2d599);color:#4f371d;box-shadow:inset 0 0 0 1px #fff7cc;
}
body.ref-theme .nav-strip .nav-group.is-active .nav-tab-label,body.ref-theme .nav-strip .nav-group[open] .nav-tab-label,
body.ref-theme .nav-group>summary:hover .nav-tab-label{color:#4f371d}
body.ref-theme .nav-panel{border-color:#639b8d;background:#f8fcf8;box-shadow:0 7px 16px #122d3a43}
body.ref-theme .nav-strip .nav-panel a{color:#185952}
body.ref-theme .nav-strip .nav-panel a.is-active{color:#154e4b;background:#d8eee7}
body.ref-theme .nav-strip .nav-panel a:hover,body.ref-theme .nav-strip .nav-panel a:focus-visible{color:#fff;background:#155b59}
body.ref-theme :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid #a34c12;outline-offset:2px}
body.ref-theme .nav-strip :is(a,summary):focus-visible{outline:3px solid #ffdc79;outline-offset:-3px}
body.ref-theme .nav-strip .nav-panel a:focus-visible{outline-color:#ffdc79}

body.ref-theme :is(.ref-panel,.page-card,.form-card,.sidebar-card,.profile-section,.profile-editor__panel) {
  background:linear-gradient(125deg,#fffef9,#eff8f6);border-color:var(--noel-glace);box-shadow:0 3px 11px #1835412c;
}
body.ref-theme .ref-page {color:var(--noel-encre)}
body.ref-theme .ref-head,body.ref-theme :is(.ref-blue,.ref-green)>.ref-head,
body.ref-theme :is(.ref-head.ref-blue,.ref-head.ref-green,a.ref-blue,a.ref-green,.ref-space>span.ref-blue,.ref-space>span.ref-green) {
  background:linear-gradient(#28746b,#175952);color:white;
}
body.ref-theme .ref-pink>.ref-head,body.ref-theme :is(.ref-head.ref-pink,a.ref-pink,.ref-space>span.ref-pink) {background:linear-gradient(#ad425a,#87283f);color:white}
body.ref-theme .ref-violet>.ref-head,body.ref-theme :is(.ref-head.ref-violet,a.ref-violet,.ref-space>span.ref-violet){background:linear-gradient(#476581,#304d6d);color:white}
body.ref-theme .ref-gold>.ref-head,body.ref-theme .ref-head.ref-gold,body.ref-theme .ref-ribbon{background:linear-gradient(#ffedbf,#efce8b);color:#503819}
body.ref-theme :is(.ref-button,.ref-button--gold,.btn--primary),body.ref-theme.reference-hub .ref-orange {
  background:linear-gradient(#aa3b54,#852540);color:#fff;border-color:#b8596c;box-shadow:0 2px 4px #57243e24;
}
body.ref-theme :is(.ref-button--blue,.ref-button--violet,.btn--violet){background:linear-gradient(#286d72,#184e59);color:white;border-color:#63979a}
body.ref-theme .btn--secondary{background:#e2f0eb;color:#124c49;border-color:#a8cbc0}
body.ref-theme .field :is(input:not([type=color]),textarea,select){border-color:#9cbcb8;background:#fffefa;color:var(--noel-texte)}
body.ref-theme :is(.ref-muted,.ref-empty,.ref-home-news-list small,.ref-home-topics small,.ref-home-gallery-note){color:#4c6870}
body.ref-theme .ref-home-topics>a{color:#205b62;border-color:#cbe0dc}
body.ref-theme :is(.ref-home-all,.ref-home-artclub-link,.ref-home-gallery-note a){color:#852a44}
body.ref-theme .ref-home-topics>a::before,body.ref-theme .ref-confetti{color:#a63b51}
/* The historic screenshot layout fixed a row at 56 px and its parent at
   340 px. Keep every article and grow the whole panel with its real text. */
body.ref-theme .ref-home .ref-home-news-list>a {
  display:grid;height:auto;min-height:54px;padding-block:6px;
}
body.ref-theme .ref-home .ref-home-news-list>a>span {min-width:0;overflow-wrap:anywhere}
@media(min-width:1201px){
  body.ref-theme .ref-home-lead {grid-template-rows:minmax(340px,auto)}
}
body.ref-theme .ref-home-hero {
  border-color:#f6e8c8!important;background:#164450 var(--noel-village) center bottom/cover no-repeat!important;
}
body.ref-theme .ref-home-hero-shade{background:linear-gradient(90deg,#153a48 2%,#173e4cfa 37%,#16394ad1 53%,transparent 77%)}
body.ref-theme .ref-home-hero-copy :is(h1,h2),body.ref-theme.reference-hub .ref-hub-hero-copy h2,body.ref-theme.reference-shop .ref-shop-banner-copy h1 {
  color:#fff8df;text-shadow:0 2px 3px #0e2639,0 0 12px #0e263980;
}
body.ref-theme .ref-home-hero-copy p,body.ref-theme.reference-hub .ref-hub-hero-copy p{color:#f0f8f5}
body.ref-theme .ref-home-dots{background:#214752}
body.ref-theme .ref-home-dots button.is-active{background:#ffd990}
body.ref-theme :is(.page-hero,.auth-illustration) {
  color:#fffaf0;background:linear-gradient(90deg,#183b4af5,#183b4ad9 45%,#25485a65),var(--noel-village) center bottom/cover;
}
body.ref-theme :is(.page-hero,.auth-illustration) :is(h1,h2,p,.page-eyebrow){color:#fffaf0}
body.ref-theme .page-eyebrow{color:#8b3c42}
body.ref-theme .ref-footer{background:#f1f8f3;color:#234d54;border-radius:12px 12px 0 0;margin-top:14px;padding:12px 18px}
body.ref-theme .ref-footer::before{display:none}
body.ref-theme .ref-footer-brand{background:var(--noel-marque) center/contain no-repeat;mix-blend-mode:normal}
body.ref-theme .ref-footer nav a{border-color:#b4c8be}
body.ref-theme :is(.ref-footer-donate,.ref-footer-motto){color:#8c354c}
body.ref-theme .ref-account-ribbon{background:linear-gradient(100deg,#edcf92,#ffebbd 23%,#26675f 23%,#17444c)}
body.ref-theme .ref-account-ribbon h1{color:#4c371e}
body.ref-theme .ref-account-shortcuts>a{border-color:#b2d0c7}

/* Give the themed hub characters a real background instead of the old cropped
   screenshots. The character layer (noel-personnages) is independent of this. */
body.ref-theme.reference-hub .ref-panel:is(.ref-community-hero,.ref-play-hero,.ref-help-hero),
body.ref-theme.reference-shop .ref-shop-banner {
  background:linear-gradient(90deg,#163747e8,#163747bd 44%,#1637471f 77%),var(--noel-village) center bottom/cover;
  color:white;border-color:#cfe3df;
}
body.ref-theme.reference-hub :is(.ref-community-hero,.ref-play-hero,.ref-help-hero)::before {
  background:linear-gradient(90deg,#163747 35%,#163747c4 66%,transparent);
}
.reference-hub :is(.ref-community-hero,.ref-play-hero,.ref-help-hero)::after,.reference-shop .ref-shop-banner-art {background-image:none}
body.ref-theme.reference-hub :is(.ref-community-art-strip,.ref-world-art,.ref-adventure-art,.ref-guide-art) {
  background-color:#396877;background-image:var(--noel-village);background-size:auto 175%;background-repeat:no-repeat;background-position:50% 85%;
}
body.ref-theme.reference-hub :is(.ref-world-art,.ref-adventure-art,.ref-guide-art):nth-child(3n+2){background-position:22% 85%}
body.ref-theme.reference-shop .ref-shop-nav .is-active{background:linear-gradient(#a73d52,#80243a);border-color:#c3818d;color:white}
body.ref-theme.reference-shop :is(.ref-shop-personalize,.shop-toolbar){background:#edf6f2;border-color:#bed9d1}
body.ref-theme.reference-shop .skin-card{background:#fffefa;border-color:#c6dcd6}
body.ref-theme.reference-shop .ref-shop-banner-copy{color:#faf7e5;text-shadow:0 1px 3px #102e41}
body.ref-theme.reference-shop .ref-shop-banner-copy::before{background:linear-gradient(90deg,#163747,transparent)}
body.ref-theme.reference-shop .ref-shop-banner-copy p{color:#fff8eb}
/* These classes really refer to the historic Halloween token shop: keep the
   objects, currency, event art, balances and controls as they actually are. */
body.ref-theme .halloween-shop{background:#19494c;color:#f6faf2;border-color:#94bdb1}
body.ref-theme .halloween-shop-heading{background:linear-gradient(120deg,#174b50,#265d55)}
body.ref-theme .halloween-rewards{background:#173f43}
body.ref-theme .halloween-product{background:#245158;border-color:#729892}
body.ref-theme .halloween-balance{background:#163c41;border-color:#d0ad6e}
body.ref-theme .halloween-kind{color:#c8e2db}
/* Standalone web launcher and skin review retain their own layouts. */
body.bbl-launcher-shell,body.skin-review-page {
  --launcher-bg:#133440;--launcher-panel:#173e4af0;--launcher-line:#98c8bc66;--launcher-blue:#bde8e8;--launcher-cyan:#c3efde;--launcher-violet:#f3d59d;--launcher-text:#f6faf3;--launcher-muted:#c5dedc;
  background:linear-gradient(#183b4bbf,#122f3bea 60%,#173541),url('/img/noel-2026/village.svg') center top/auto max(300px,38vw) no-repeat #173541;color:#f6faf3;
}
body.bbl-launcher-shell .launcher-hero{background:linear-gradient(115deg,#143948ed,#214957ca),url('/img/noel-2026/village.svg') center bottom/cover;border-color:#7fafa2}
body.bbl-launcher-shell .launcher-orbit{border-color:#edc77a73}
body.bbl-launcher-shell .launcher-button--primary{background:linear-gradient(#ffe7aa,#e9bb70);color:#41311a;border-color:#f5d99b}
body.bbl-launcher-shell .launcher-showcase{background:radial-gradient(ellipse,#70aa995c,transparent 68%)}
body.skin-review-page .skin-review__stage{background:radial-gradient(ellipse,#37656c,#193a43 72%);border-color:#8cafac}
@media(max-width:800px){
  body.ref-theme{background:linear-gradient(#1e3e55,#497782 450px,#203d48)}
  body.ref-theme .app-header__sky{height:clamp(104px,20vw,150px);background-size:auto 100%;background-position:55% bottom}
  body.ref-theme .app-header__sky .brand{left:2%;top:12%;height:74%;width:43%}
  body.ref-theme .ref-footer{padding:9px}
  body.ref-theme .ref-home-hero-shade{background:linear-gradient(90deg,#153b49f5,#153b49e6 38%,#153b4980 67%,transparent)}
  body.ref-theme .utility-strip__inner{display:flex;flex-flow:row wrap;justify-content:center;padding-inline:0}
  body.ref-theme .utility-actions{display:flex;flex:1 1 100%;flex-flow:row wrap;align-items:center;justify-content:center;column-gap:7px;row-gap:3px}
  body.ref-theme .utility-actions :is(.account-nav,.utility-online,.utility-play){flex:0 1 auto;width:auto;margin-inline:0}
}
@media(forced-colors:active){
  body.ref-theme :is(.app-header__sky .brand,.ref-footer-brand):empty::before{content:"Blablaland N-500";display:block;color:LinkText;font-weight:800}
}
