.chapter-atmosphere{--mote-color:#ffe4a0;pointer-events:none;-webkit-user-select:none;user-select:none;contain:layout paint;position:absolute;inset:0;overflow:hidden}.chapter-atmosphere *{pointer-events:none}.atmosphere-light,.atmosphere-haze{pointer-events:none;position:absolute}.atmosphere-light{opacity:.65;inset:0}.atmosphere--clearing .atmosphere-light{background:linear-gradient(115deg,#0000 12%,#ffe5a512 16%,#0000 23% 36%,#ffe5a50d 39%,#0000 45%),radial-gradient(at 18% 0,#ffe8b21a,#0000 65%)}.atmosphere--forest{--mote-color:#e5f9a1}.atmosphere--forest .atmosphere-light{background:radial-gradient(at 70% 0,#d9f4ad12,#0000 65%)}.atmosphere--limbus{--mote-color:#b7f7e5}.atmosphere--limbus .atmosphere-light{opacity:1;background:radial-gradient(at 50% 42%,#0000 30%,#07141030 70%,#0208079c 100%)}.atmosphere--town .atmosphere-light{background:radial-gradient(at 80% 5%,#ffe0a51c,#0000 65%)}.atmosphere--tavern{--mote-color:#ffc77c}.atmosphere--tavern .atmosphere-light{background:radial-gradient(at 12% 65%,#ffab451c,#0000 45%),radial-gradient(at 88% 40%,#ffcd8221,#0000 50%);animation:9s ease-in-out infinite alternate atmosphere-hearth}.atmosphere-mote{width:var(--size);height:var(--size);animation:atmosphere-drift var(--duration) var(--delay) ease-in-out infinite alternate;position:absolute}.atmosphere-mote i{background:var(--mote-color);opacity:.45;width:100%;height:100%;box-shadow:0 0 7px 2px color-mix(in srgb, var(--mote-color) 40%, transparent);animation:atmosphere-glow 5s var(--delay) ease-in-out infinite;border-radius:50%;display:block}.atmosphere--clearing .atmosphere-mote i,.atmosphere--town .atmosphere-mote i,.atmosphere--tavern .atmosphere-mote i{opacity:.3;box-shadow:0 0 4px var(--mote-color);animation-duration:8s}.atmosphere-haze{display:none}.atmosphere--limbus .atmosphere-fog-bank{opacity:.56;transform:scaleX(var(--fog-flip,1));animation:atmosphere-fog-breathe var(--fog-duration) var(--fog-delay) ease-in-out infinite alternate;display:block}.atmosphere-fog-bank:before,.atmosphere-fog-bank:after{content:"";pointer-events:none;animation:atmosphere-fog-wisp calc(var(--fog-duration) * .65) var(--fog-delay) ease-in-out infinite alternate;background:url(/effects/limbus-fog.png) 50%/100% 100% no-repeat;position:absolute;inset:0}.atmosphere-fog-bank:before{opacity:.75}.atmosphere-fog-bank:after{opacity:.35;animation-name:atmosphere-fog-counterflow;animation-duration:var(--fog-duration);inset:8% -3%}.atmosphere-leaf{opacity:0;width:7px;height:4px;animation:atmosphere-leaf-drift var(--duration) var(--delay) linear infinite;position:absolute}.atmosphere-leaf i{width:100%;height:100%;animation:atmosphere-leaf-turn 4s var(--delay) ease-in-out infinite alternate;background:#c4a35d;border-radius:0 70%;display:block;box-shadow:inset 0 -1px #6b7439}.atmosphere--forest .atmosphere-leaf:nth-child(2n) i{background:#8fa466}@keyframes atmosphere-drift{to{transform:translate(var(--drift-x), var(--drift-y))}}@keyframes atmosphere-glow{0%,to{opacity:.12}45%,60%{opacity:.65}}@keyframes atmosphere-hearth{0%{opacity:.4}to{opacity:.8}}@keyframes atmosphere-fog-wisp{0%{transform:translate(-7%,3%)scale(1.02)}to{transform:translate(7%,-3%)scale(1.1)}}@keyframes atmosphere-fog-counterflow{0%{transform:translate(6%,-4%)scaleX(-1.08)}to{transform:translate(-6%,4%)scaleX(-1)}}@keyframes atmosphere-fog-breathe{0%{opacity:.42}to{opacity:.68}}@keyframes atmosphere-leaf-drift{0%{opacity:0;transform:translate(-40px,-35px)}15%,75%{opacity:.55}to{opacity:0;transform:translate(100px,100px)}}@keyframes atmosphere-leaf-turn{0%{transform:rotate(-30deg)scaleX(.6)}to{transform:rotate(80deg)scaleX(1)}}@media (max-width:600px){.atmosphere-mote:nth-of-type(2n),.atmosphere-leaf:nth-of-type(2n){display:none}}@media (prefers-reduced-motion:reduce){.chapter-atmosphere *,.atmosphere-fog-bank:before,.atmosphere-fog-bank:after{animation:none!important}.atmosphere-mote,.atmosphere-leaf{display:none}}
