/* Meta Escape · Natale. All rules are scoped to the public page being dressed. */
body[data-mex-christmas] {
  --bg:#071b17; --panel:#112b23; --lime:#f1cf91; --purple:#f2baad; --violet:#eab7a7;
  --line:#c8b99140; --muted:#c9d2c8; --mx-bg:#081c17; --mx-panel:#102b23;
  --mx-lime:#f4d394; --mx-purple:#efc4b3; --mx-line:#e1c5943d;
  --mex-bg:#071b17; --mex-panel:#142e26; --mex-lime:#f4d394; --mex-purple:#efc4b3;
  --score-bg:#071b17; --score-lime:#f1cf91; --score-panel:#112b23; --score-purple:#f2baad;
  background-color:#071b17;
}
body[data-mex-christmas] :is(.site-header,.mex-topbar,.topbar,.legal-header) {
  background-color:#08201cf5; border-color:#a68e645e;
}
body[data-mex-christmas] :is(.button.primary,.mex-btn.primary,.header-book) {
  background:#f2d399; color:#19241d; border-color:#edd3a6;
}
body[data-mex-christmas] :is(.button.primary,.mex-btn.primary,.header-book):hover {background:#ffdfa6;color:#18251c}
body[data-mex-christmas] :is(.eyebrow,.mx-eyebrow,.location-icon,.location-chevron) {color:#eccf9c}
body[data-mex-christmas] .gift-nav {color:#f1bdad}
body[data-mex-christmas] .winter-star {
  display:inline-block; width:1em;height:1.13em;flex:none;background:currentColor;
  clip-path:polygon(50% 0,57% 37%,86% 14%,65% 42%,100% 50%,64% 57%,84% 85%,56% 64%,50% 100%,43% 63%,15% 86%,35% 57%,0 50%,35% 43%,15% 15%,43% 37%);
}
body[data-mex-christmas] .winter-signature,body[data-mex-christmas] .hero-copy>.eyebrow {
  display:flex;align-items:center;gap:.75em;color:#f5d9a1;
  font:600 11px/1.45 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.16em;
}
body[data-mex-christmas] .winter-signature {width:fit-content;max-width:100%;margin:0 0 12px;padding:5px 10px;
  background:#0a251f;border-inline-start:2px solid #ce9b5d;}
body[data-mex-christmas="home"] .hero {background:#071b17}
body[data-mex-christmas="home"] .hero-photo {background:#071b17;isolation:isolate}
body[data-mex-christmas="home"] .hero-photo img {
  position:absolute;inset:0 0 0 auto;width:65%;height:100%;object-fit:cover;
  object-position:50% 45%;filter:none;opacity:1;mask-image:none;
}
body[data-mex-christmas="home"] .hero-photo::after {
  background:linear-gradient(90deg,#071b17 0%,#071b17 32%,#071b17de 39%,#071b1750 50%,transparent 61%),
    linear-gradient(to top,#071b17 0%,transparent 17%);
}
body[data-mex-christmas="home"] :is(.portal-halo,.portal-dust,.portal-caption,.journey-atmosphere,.rift-canvas) {visibility:hidden}
body[data-mex-christmas="home"] .scroll-journey .hero-copy {top:clamp(154px,24svh,270px);max-width:55%}
body[data-mex-christmas="home"] .scroll-journey #hero-title.winter-title {
  font-size:clamp(48px,min(6.7vw,10svh),108px);letter-spacing:-.064em;line-height:1.01;color:#faf3de;
}
body[data-mex-christmas="home"] .winter-title :is(span,em) {display:block}
body[data-mex-christmas="home"] .winter-title em {font:italic 500 1.04em/.99 Georgia,'Times New Roman',serif;letter-spacing:-.06em;color:#f2d399}
body[data-mex-christmas="home"] .hero-description {color:#e0e9dc;max-width:450px}
body[data-mex-christmas="home"] .hero-benefits span {background:#09261e;border-color:#baab8448;color:#e8e4d4}
body[data-mex-christmas="home"] .booking-panel {background:#0c2924f5;border-color:#d9b7795c}
body[data-mex-christmas] :is(.ticker,.site-footer,footer.footer) {background-color:#0a241c;border-color:#bca07465}
body[data-mex-christmas] :is(.site-footer,footer.footer) {background-image:linear-gradient(to bottom,transparent,#0a241c 70px),url(evergreen.webp);background-size:100% 75px,auto 92px;background-position:top center;background-repeat:no-repeat,repeat-x;}
body[data-mex-christmas] :is(.experience-hero,.legal-hero,.mx-intro:not(:empty),.page-heading) {
  border-color:#c0a16b60;
  background-image:linear-gradient(90deg,#09211cf5 7%,#09211ce6 42%,#09211c1f 100%),url(evergreen.webp);
  background-size:100% 100%,auto 100%;background-position:center,right center;background-repeat:no-repeat;
}
body[data-mex-christmas] .mx-intro-text {position:relative;z-index:1}
body[data-mex-christmas="commerce"] {background-color:#081e18!important}
body[data-mex-christmas="commerce"] :is(.mx-choice,.mx-story,#contGeneralePrenotazione) {background-color:#112b23;border-color:#cfb78649}
body[data-mex-christmas="commerce"] .winter-signature {margin-inline:auto}
body[data-mex-christmas="commerce"] .mx-intro-text .winter-signature {margin-inline:0}
body[data-mex-christmas] :is(.mx-btn.primary,.btnPulsantePagBox,.btnPrenotazioneSedePren):not(:disabled) {color:#14251b}
body[data-mex-christmas="scoreboard"] #fasciaTitolo {border-left-color:#efd39a}
body[data-mex-christmas="scoreboard"] .score-first {background:linear-gradient(90deg,#ab884c30,transparent)}
body[data-mex-christmas] .winter-snow {position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}
.winter-snow i {position:absolute;inset:-8% 0 0 40%;opacity:.65;background-image:radial-gradient(circle at 28% 31%,#fff7d9 0 1px,transparent 2px),radial-gradient(circle at 63% 79%,#fff6d5 0 1.2px,transparent 2px);background-size:143px 154px,213px 197px;animation:winter-fall 8s ease-in-out infinite}
.winter-snow i:nth-child(2) {inset-inline-start:58%;animation-delay:-3s;background-size:201px 137px,239px 223px}
.winter-snow i:nth-child(3) {inset-inline-start:50%;animation-duration:12s;animation-delay:-7s;background-size:294px 246px,307px 288px}
@keyframes winter-fall {0%{transform:translate3d(0,-18px,0);opacity:0}20%,78%{opacity:.7}100%{transform:translate3d(13px,50px,0);opacity:0}}
@media(max-width:760px){
  body[data-mex-christmas="home"] .hero-photo img {top:6%;width:100%;height:46%;object-position:center 49%;object-fit:cover}
  body[data-mex-christmas="home"] .hero-photo::after {background:linear-gradient(to bottom,#071b1733,transparent 15%,transparent 37%,#071b17 52%,#071b17)}
  body[data-mex-christmas="home"] .scroll-journey .hero-copy {top:48%;left:6%;right:6%;max-width:none}
  body[data-mex-christmas="home"] .scroll-journey #hero-title.winter-title {font-size:clamp(38px,10.2vw,65px);line-height:1}
  body[data-mex-christmas="home"] .hero-copy>.eyebrow {font-size:9px;letter-spacing:.13em;margin-bottom:8px}
  body[data-mex-christmas="home"] .hero-copy .hero-description {margin-top:10px;margin-bottom:12px;font-size:14px;line-height:1.42}
  body[data-mex-christmas="home"] .hero-copy .hero-benefits {display:none}
  body[data-mex-christmas="home"] .journey-hud {bottom:83px}
  body[data-mex-christmas="home"] .winter-snow {bottom:50%}
  body[data-mex-christmas] .winter-signature {font-size:9px}
}
@media(max-height:730px) and (max-width:760px){
  body[data-mex-christmas="home"] .scroll-journey .hero-copy {top:39%}
  body[data-mex-christmas="home"] .hero-photo img {top:3%;height:40%}
  body[data-mex-christmas="home"] .hero-photo::after {background:linear-gradient(to bottom,transparent 29%,#071b17 44%)}
}
@media(max-height:550px) and (orientation:landscape){
  body[data-mex-christmas="home"] .scroll-journey .hero-copy {top:80px}
  body[data-mex-christmas="home"] .scroll-journey #hero-title.winter-title {font-size:clamp(32px,4vw,48px)}
}
@media(prefers-reduced-motion:reduce){body[data-mex-christmas] .winter-snow {display:none}}
@media print {body[data-mex-christmas] :is(.winter-snow,.winter-signature){display:none}}

/* A visible invitation in the hero keeps booking and the rest of the page within reach. */
body[data-mex-christmas] .winter-gift-card {
  display:inline-flex;align-items:center;gap:12px;max-width:100%;margin-top:18px;padding:5px 19px 5px 5px;
  border:1px solid #cfa66795;border-radius:12px;background:linear-gradient(110deg,#341c16,#462320 65%,#36221a);
  color:#fff4dc;text-decoration:none;box-shadow:0 6px 18px #03140c38;
}
.winter-gift-card img{width:68px;height:53px;object-fit:cover;object-position:53% 58%;border-radius:8px}
.winter-gift-card span{display:grid;gap:4px}
.winter-gift-card strong{font-size:15px;line-height:1.1}
.winter-gift-card small{font-size:12px;color:#f1d398}
body[data-mex-christmas] .winter-gift-card:hover{border-color:#ffe5a6;background:#5a2c20}
body[data-mex-christmas="home"]:not(.motion-on) .winter-snow{display:none}
body[data-mex-christmas] #intro-loader{background-color:#08221b}
body[data-mex-christmas] .intro-loader-orbit span{background-color:#f2ce90}
body[data-mex-christmas] :is(.catalog-hero-copy,.community-hero-copy) > p:not(.eyebrow){color:#f1f0de;text-shadow:0 1px 7px #00110e}
body[data-mex-christmas] .catalog-hero{background-image:linear-gradient(90deg,#09211c 0%,#09211cf2 42%,#09211c99 80%),url(evergreen.webp)}
body[data-mex-christmas] :is(.mx-intro a,.mx-choice a){border-color:#d7bd86}
body[data-mex-christmas] :is(.mx-intro a,.mx-choice a):focus-visible{outline:3px solid #ffe2a2}
@media(max-width:760px){
 body[data-mex-christmas] .winter-gift-card{margin-top:13px;padding:3px 13px 3px 3px;gap:9px}
 .winter-gift-card img{width:57px;height:43px}.winter-gift-card strong{font-size:13px}.winter-gift-card small{font-size:11px}
 body[data-mex-christmas="home"] .journey-hud{bottom:75px}
}
@media(max-width:760px) and (max-height:735px){body[data-mex-christmas="home"] .journey-hud{display:none}}
@media(max-height:550px) and (orientation:landscape){
 body[data-mex-christmas="home"] .hero{min-height:585px}
 body[data-mex-christmas="home"] .hero-copy>.hero-benefits{display:none}
}
/* Without the scroll animation the original hero lays its contents out in normal flow. */
body[data-mex-christmas="home"]:not(.journey-ready) .scroll-journey .hero-copy{top:auto;left:auto;right:auto;transform:none}
@media(max-width:760px){
 body[data-mex-christmas="home"]:not(.journey-ready) .hero{padding-top:clamp(275px,42svh,390px)}
 body[data-mex-christmas="home"]:not(.journey-ready) .hero-photo img{top:50px;height:clamp(215px,37svh,330px)}
 body[data-mex-christmas="home"]:not(.journey-ready) .hero-bottom{margin-top:24px}
}

/* Show the three protagonists together even when the illustrated cards overlap. */
body[data-mex-christmas] .catalog-fan .fan-card {width:39%}
body[data-mex-christmas] .fan-card-0 {left:0;--fan-angle:-12deg}
body[data-mex-christmas] .fan-card-1 {left:31%}
body[data-mex-christmas] .fan-card-2 {left:61%;--fan-angle:12deg}
body[data-mex-christmas] .fan-card img {object-position:72% center}
body[data-mex-christmas] .fan-card-0 img {object-position:92% center}
body[data-mex-christmas][data-page=detail] #main {--scene-rgb:230,194,130}
@media (min-width:761px) {
  body[data-mex-christmas][data-purchase=gift] .mx-hero-scene {top:4%}
  body[data-mex-christmas][data-purchase=box] .mx-hero-scene {top:4%}
}
