/* The pixel guide: a small sprite that peeks over the bottom edge of the screen, bottom right, under the sunlight layer.
   Eight spare rows of torso sit below the edge, so a hop shows more of him instead of a floating bust. */
.guide,.guide-say{--gpx:3px}
.guide{position:fixed;z-index:39;right:max(10px,env(safe-area-inset-right,0px));bottom:calc(var(--gpx)*-8);width:calc(var(--gpx)*34);
  padding:0;border:0;background:none;cursor:pointer;transform:translateY(calc(var(--hop,-40)*var(--gpx)*-1))}
.guide canvas{display:block;width:100%;height:auto;image-rendering:pixelated}
.guide-say{position:fixed;z-index:39;right:max(10px,env(safe-area-inset-right,0px));bottom:calc(var(--gpx)*37 + 6px);max-width:min(250px,calc(100vw - 32px));
  padding:10px 14px;border-radius:14px 14px 4px 14px;background:rgba(255,255,255,.95);border:2px solid var(--ink);box-shadow:4px 4px 0 var(--petal);
  font:500 17px/1.3 "Pixelify Sans",var(--sans);color:var(--ink);transform-origin:100% 100%}
.guide-say.pop{animation:gpop .2s steps(4)}
@keyframes gpop{0%{transform:scale(.5)}60%{transform:scale(1.06)}}
/* at the gift he leaves his corner: his whole-body runner is drawn inside the 3D scene (js/guide.js), and his bubble sits above the stage */
.guide-say.run-say{position:absolute;z-index:3;left:0;right:0;bottom:calc(100% - 6px);margin-inline:auto;width:fit-content;border-radius:14px;transform-origin:50% 100%}
@media (min-width:900px){.guide,.guide-say{--gpx:4px}}
