/* Two independent, proportioned piles. Their ground line rests on the host border. */
.mgcr-seasonal-drift{position:absolute;inset:0;z-index:4;pointer-events:none!important;user-select:none;overflow:visible;--mgcr-pile-top:min(30%,210px);--mgcr-pile-bottom:min(22%,142px)}
.mgcr-seasonal-drift::before,.mgcr-seasonal-drift::after{content:"";position:absolute;display:block;width:var(--mgcr-pile-top);aspect-ratio:10/3;background:var(--mgcr-pile-a) center/contain no-repeat;pointer-events:none!important}
.mgcr-seasonal-drift::before{top:0;left:var(--mgcr-pile-offset-start,12px);transform:translateY(-85%)}
.mgcr-seasonal-drift::after{right:var(--mgcr-pile-offset-end,12px);bottom:0;width:var(--mgcr-pile-bottom);background-image:var(--mgcr-pile-b);transform:translateY(15%)}
.mgcr-seasonal-drift--winter{--mgcr-pile-a:url('../images/effects/winter-drift.4fb1196c16955fd4.svg');--mgcr-pile-b:url('../images/effects/winter-drift-alt.9d93434d8e82795e.svg')}
.mgcr-seasonal-drift--autumn{--mgcr-pile-a:url('../images/effects/autumn-drift.7e7ac4ff4bb223c3.svg');--mgcr-pile-b:url('../images/effects/autumn-drift-alt.970c45a52b1ac5d8.svg')}
.mgcr-seasonal-drift--halloween{--mgcr-pile-a:url('../images/effects/halloween-drift.69abba009506d8f6.svg');--mgcr-pile-b:url('../images/effects/halloween-drift-alt.cbaa64ab934a4a31.svg')}
.mgcr-seasonal-drift[data-variant="1"]::before{left:auto;right:var(--mgcr-pile-offset-start,16px);background-image:var(--mgcr-pile-b)}
.mgcr-seasonal-drift[data-variant="1"]::after{right:auto;left:var(--mgcr-pile-offset-end,14px);background-image:var(--mgcr-pile-a)}
.mgcr-seasonal-drift[data-variant="2"]::before{left:auto;right:var(--mgcr-pile-offset-start,10px);--mgcr-pile-top:min(33%,175px)}
.mgcr-seasonal-drift[data-variant="2"]::after,.mgcr-seasonal-drift[data-variant="3"]::before{display:none}
.mgcr-seasonal-drift[data-amount="1"]{--mgcr-pile-top:min(24%,160px);--mgcr-pile-bottom:min(18%,110px)}
.mgcr-seasonal-drift[data-amount="1"]::after{display:none}
.mgcr-seasonal-drift[data-amount="1"][data-variant="3"]::after{display:block}
.mgcr-seasonal-drift[data-amount="3"]{--mgcr-pile-top:min(36%,240px);--mgcr-pile-bottom:min(24%,156px)}
.mgcr-seasonal-drift[data-profile="cards"]{--mgcr-pile-top:min(66%,130px);--mgcr-pile-bottom:min(48%,95px)}
.mgcr-seasonal-drift[data-profile="cards"]::before{left:var(--mgcr-pile-offset-start,7px)}
.mgcr-seasonal-drift[data-profile="cards"]::after{right:var(--mgcr-pile-offset-end,7px)}
.mgcr-seasonal-drift[data-profile="cards"][data-variant="1"]::before,.mgcr-seasonal-drift[data-profile="cards"][data-variant="2"]::before{left:auto;right:var(--mgcr-pile-offset-end,7px)}
.mgcr-seasonal-drift[data-profile="cards"][data-variant="1"]::after{right:auto;left:var(--mgcr-pile-offset-start,7px)}
.mgcr-seasonal-drift[data-profile="navigation"]::before{display:none}
.mgcr-seasonal-drift[data-profile="navigation"]::after{display:block;width:86px;right:22px}
.mgcr-modern-header>.mgcr-seasonal-drift[data-profile="navigation"]::after{right:auto;left:var(--mgcr-pile-offset-start,22px);width:76px}
.mgcr-modern-footer>.mgcr-seasonal-drift[data-profile="navigation"]::after{bottom:auto;top:0;left:auto;right:32px;transform:translateY(-85%);width:130px}
.mgcr-live-chat.is-collapsed>.mgcr-seasonal-drift::before{width:75px}
.mgcr-live-chat.is-collapsed>.mgcr-seasonal-drift::after{display:none}
.mgcr-seasonal-drift[data-clipped="1"]::before{top:0;transform:translateY(-52%);max-width:115px}
.mgcr-seasonal-drift[data-clipped="1"]::after{transform:translateY(0);max-width:90px}
body:is(.mgcr-winter,.mgcr-autumn) .mgcr-seasonal-surface{background-image:none!important}
html body.mgcr-halloween .mgcr-seasonal-surface:has(>.mgcr-seasonal-drift--halloween)::after{display:none!important}
body.mgcr-seasonal-reader .mgcr-halloween-scene{display:none!important}
body.mgcr-seasonal-piles-halloween .mgcr-halloween-scene .mgcr-hw-lantern{display:none!important}
.reading-content .mgcr-seasonal-drift,.chapter-content .mgcr-seasonal-drift,.page-break .mgcr-seasonal-drift{display:none!important}
@media(max-width:782px){.mgcr-seasonal-drift{--mgcr-pile-top:min(38%,155px);--mgcr-pile-bottom:min(25%,95px)}.mgcr-seasonal-drift[data-amount="3"]{--mgcr-pile-top:min(44%,165px);--mgcr-pile-bottom:min(29%,108px)}.mgcr-seasonal-drift[data-profile="cards"]{--mgcr-pile-top:min(68%,105px);--mgcr-pile-bottom:min(43%,74px)}}
@media print{.mgcr-seasonal-drift{display:none!important}}
