/* GhostPixel - Team TriLogy */
/* ---------- the ghost ---------- */
.ghost{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 0 14px rgba(241,246,238,.32));transition:opacity .6s,transform .6s,filter .3s}
.ghost .ol{fill:#1d120c}.ghost .bd{fill:var(--ghost)}.ghost .sh{fill:#c9d3c4}.ghost .hl{fill:#fff}
.ghost .ey{fill:#1d120c}.ghost .ck{fill:#ff8f7a;opacity:.75}.ghost .sw{fill:#8fd3ff}
.ghost .look{transition:transform .12s}
.ghost .e-w,.ghost .e-x,.ghost .e-h,.ghost .m-o,.ghost .m-w,.ghost .m-s,.ghost .sw{display:none}
.gw[data-mood=panic] .e-n,.gw[data-mood=dead] .e-n,.gw[data-mood=party] .e-n,.gw[data-mood=laugh] .e-n{display:none}
.gw[data-mood=panic] .e-w,.gw[data-mood=panic] .sw,.gw[data-mood=panic] .m-o{display:inline}
.gw[data-mood=dead] .e-x,.gw[data-mood=dead] .m-w{display:inline}
.gw[data-mood=party] .e-h,.gw[data-mood=party] .m-s,.gw[data-mood=laugh] .e-h,.gw[data-mood=laugh] .m-o,.gw[data-mood=pop] .m-o{display:inline}
.gw[data-mood=sad] .m-w{display:inline}
.gw{display:block}
.gw .bob{animation:bob 3.2s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(-7%)}}
.gw[data-mood=hide] .ghost{opacity:.08;transform:scale(.6) translateY(30%)}
.gw[data-mood=pop] .ghost{animation:pop .7s cubic-bezier(.2,1.8,.4,1)}
@keyframes pop{0%{transform:scale(.3);opacity:.2}100%{transform:scale(1);opacity:1}}
.gw[data-mood=panic] .ghost{animation:panic .12s linear infinite}
@keyframes panic{25%{transform:translate(-3%,1%) rotate(-3deg)}75%{transform:translate(3%,-1%) rotate(3deg)}}
.gw[data-mood=party] .ghost{animation:party .5s ease-in-out infinite alternate}
@keyframes party{0%{transform:translateY(0) rotate(-6deg)}100%{transform:translateY(-16%) rotate(6deg)}}
.gw[data-mood=laugh] .ghost{animation:laugh .18s steps(2) infinite}
@keyframes laugh{50%{transform:translateY(-4%) scaleY(.94)}}
.gw[data-mood=dead] .ghost{opacity:.55;transform:rotate(12deg) translateY(8%);filter:grayscale(1)}
.gw[data-mood=sad] .ghost{transform:translateY(8%) scaleY(.94)}
.dock{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));z-index:60;width:86px;cursor:pointer;background:none;border:0;padding:0}
.bubble{position:fixed;right:116px;bottom:56px;z-index:61;max-width:min(300px,62vw);background:var(--paper);color:#1b0f04;padding:10px 14px;font:400 20px/1.3 var(--disp);box-shadow:0 5px 0 #6f6152,0 0 30px rgba(0,0,0,.6);opacity:0;transform:translateY(8px) scale(.96);transition:opacity .2s,transform .2s;pointer-events:none}
.bubble::after{content:"";position:absolute;right:-12px;bottom:18px;border:7px solid transparent;border-left:7px solid var(--paper);border-bottom:7px solid var(--paper)}
.bubble.show{opacity:1;transform:none}
@media(max-width:600px){.dock{width:64px}.bubble{right:88px;bottom:44px}}
