.omega-guide{position:fixed;left:64px;bottom:18px;z-index:1200;width:300px;height:235px;pointer-events:none;font-family:Montserrat,Arial,sans-serif;color:#ece9ff}
.omega-guide [hidden]{display:none!important}.guide-widget{position:relative;width:100%;height:100%;pointer-events:none}
.omega-guide button,.omega-guide a{pointer-events:auto}.omega-guide button{cursor:pointer;font-family:inherit}
.guide-character{position:absolute;bottom:0;left:0;width:148px;padding:0;border:0;background:transparent;color:#f2ddb1;touch-action:none;user-select:none;cursor:grab!important}
.guide-character img{display:block;width:100%;height:210px;object-fit:contain;filter:drop-shadow(0 5px 7px #0009);pointer-events:none}
.guide-character span{display:inline-block;background:#0a1227ed;border:1px solid #9c7c47;border-radius:5px;padding:5px 15px;font-size:10px;font-weight:700;letter-spacing:.6px}
.guide-bubble{position:absolute;left:130px;top:4px;width:165px;box-sizing:border-box;padding:14px;border:1px solid #96723d99;border-radius:5px;background:#091222f5;box-shadow:0 10px 35px #0006;pointer-events:auto}
.guide-bubble:after{content:"";position:absolute;left:-6px;top:40px;width:10px;height:10px;background:#091222;border-left:1px solid #96723d99;border-bottom:1px solid #96723d99;transform:rotate(45deg)}
.guide-bubble strong{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#b8a5ff}.guide-bubble p{font-size:11px;line-height:1.65;color:#d5dfec;margin:9px 0 12px}
.guide-bubble button{padding:8px 11px;border:1px solid #a28cf3;border-radius:5px;background:linear-gradient(120deg,#7847ed,#5534c5);font-size:11px;font-weight:700;color:white}
.guide-dismiss{position:absolute;left:105px;top:0;width:28px;height:28px;padding:0;border:1px solid #977aba80;border-radius:50%;color:#fff;background:#162038f5;font-size:20px;z-index:2}
.omega-guide.is-quiet{width:148px}.omega-guide.is-quiet .guide-bubble{display:none}.omega-guide.is-closed{width:auto;height:auto;left:64px!important;top:auto!important;bottom:18px!important}
.guide-restore{border:1px solid #96723d99;border-radius:5px;background:#0b1324ef;color:#c7b5ff;padding:9px 15px;font-size:11px}
.omega-guide.is-dragging .guide-character{cursor:grabbing!important}.omega-guide :focus-visible{outline:2px solid #c4b5ff;outline-offset:3px}
.guide-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.quick-tip-modal{width:min(750px,calc(100vw - 28px));max-height:92dvh;margin:auto;padding:0;border:1px solid #96723d99;border-radius:5px;background:#071018;color:#c0cedb;overflow:hidden;box-shadow:0 24px 100px #000a;pointer-events:auto}
.quick-tip-modal[open]{display:flex;flex-direction:column}.quick-tip-modal::backdrop{background:#020811dc;backdrop-filter:blur(5px)}
.quick-tip-modal header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0;padding:13px 20px;border-bottom:1px solid #96723d66;flex-shrink:0}
.quick-tip-modal h2{font:400 23px/1.2 Georgia,serif;color:#eeddb4;margin:0}.quick-tip-modal button{border:1px solid #96723d99;border-radius:4px;background:#101725;color:#e7d2a2;padding:10px 15px}
.quick-tip-modal [data-tip-close]{font-size:24px;padding:1px 12px}.quick-tip-modal button:disabled{opacity:.4;cursor:default}.quick-tip-content{overflow:auto;overscroll-behavior:contain;padding:16px;text-align:center}
.quick-tip-content img{display:block;width:100%;height:auto;margin:auto}.tip-original{display:inline-block;margin:18px 0;color:#d9c18d;font-size:12px}.quick-tip-modal nav{display:flex;align-items:center;justify-content:center;gap:18px;padding:12px;border-top:1px solid #96723d55;flex-shrink:0}.tip-position{font-size:11px;color:#b9c8d6}
@media(max-width:600px){.omega-guide{left:10px;bottom:78px;width:280px;height:205px}.guide-character{width:125px}.guide-character img{height:180px}.guide-bubble{left:112px;width:165px}.guide-dismiss{left:88px}.omega-guide.is-quiet{width:125px}.omega-guide.is-closed{left:10px!important;bottom:78px!important}.quick-tip-modal nav{gap:8px}.quick-tip-modal nav button{padding:9px;font-size:11px}.quick-tip-content{padding:8px}}

/* Animate the illustration only: the drag target and surrounding layout stay still. */
.guide-character img{transform-origin:50% 94%;animation:omega-guide-breathe 6s ease-in-out infinite;transition:filter .25s ease}
@keyframes omega-guide-breathe{
  0%,100%{transform:rotate(-.35deg) scale(1,1)}
  50%{transform:rotate(.35deg) scale(1.006,1.012)}
}
@keyframes omega-guide-hello{
  0%,100%{transform:rotate(0) scale(1)}
  30%{transform:rotate(-2deg) scale(1.015)}
  65%{transform:rotate(1.3deg) scale(1.008)}
}
@keyframes omega-guide-bubble{
  from{opacity:0;transform:translateY(5px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.omega-guide.is-greeting .guide-character img{animation:omega-guide-hello .85s ease-in-out both}
.omega-guide:not(.is-quiet) .guide-bubble{animation:omega-guide-bubble .25s ease-out both;transform-origin:0 45%}
.guide-character:focus-visible img{filter:drop-shadow(0 5px 8px #0009) drop-shadow(0 0 5px #ad94ed66)}
@media(hover:hover){.guide-character:hover img{filter:drop-shadow(0 5px 8px #0009) drop-shadow(0 0 5px #ad94ed66);animation:omega-guide-hello .7s ease-in-out both}}
.omega-guide .guide-character:active img{animation:none;transform:scale(.98)}
.omega-guide.is-dragging .guide-character img{animation:none;transform:rotate(-1.5deg) scale(1.02)}
.omega-guide.is-motion-paused .guide-character img,
body:has(dialog[open]) .omega-guide .guide-character img{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){
 .omega-guide .guide-character img,.omega-guide .guide-bubble{animation:none!important;transition:none!important;transform:none!important}
}

/* Equal-size cells keep every body pose on the same baseline. */
.guide-character>.guide-sprite{display:none;--guide-figure-height:210px;width:calc(var(--guide-figure-height)*.75);height:var(--guide-figure-height);margin:0 calc((100% - var(--guide-figure-height)*.75)/2);background-repeat:no-repeat;background-size:600% 300%;background-position:0 0;pointer-events:none;filter:drop-shadow(0 5px 7px #0009);font-style:normal}
.guide-character.has-sprites>.guide-sprite{display:block}.guide-character.has-sprites>img{display:none}
.omega-guide[data-pose="idle"] .guide-sprite{transform-origin:50% 94%;animation:omega-guide-breathe 6s ease-in-out infinite}
.omega-guide.is-motion-paused .guide-sprite,body:has(dialog[open]) .omega-guide .guide-sprite{animation-play-state:paused}
@media(hover:hover){.guide-character.has-sprites:hover>.guide-sprite{filter:drop-shadow(0 5px 7px #0009) drop-shadow(0 0 4px #ad94ed55)}}
@media(max-width:600px){.guide-character>.guide-sprite{--guide-figure-height:180px}}
@media(prefers-reduced-motion:reduce){.omega-guide .guide-sprite{animation:none!important;transform:none!important}}

/* An illustrated companion card: parchment, violet enamel and fine gold edges. */
.omega-guide{width:300px}
/* Speech is part of the character, not a titled interface card. */
.guide-bubble{left:118px;top:5px;width:180px;min-height:0;padding:16px 14px 16px 29px;border:0;border-radius:0;background:transparent url('../images/community/guide/speech-bubble.svg?v=2') center/100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 7px 10px #0005);color:#553d2d}
.guide-bubble:before,.guide-bubble:after{display:none}
.guide-bubble p{font-size:11px;line-height:1.5;font-weight:500;color:#553d2d;margin:0 0 9px}
.guide-bubble button{display:inline-flex;justify-content:center;align-items:center;gap:7px;width:auto;min-height:27px;padding:5px 9px;border:1px solid #987ab16b;border-radius:8px;background:#78569a12;box-shadow:none;color:#6a437f;font-size:10px;font-weight:600}
.guide-bubble button:hover{background:#78569a24;border-color:#987ab1a3}
.guide-bubble button span{font-size:11px;color:#8b6597}
.omega-guide:is([data-pose="seated"],[data-pose="reading"],[data-pose="writing"],[data-pose="drowsy"],[data-pose="sleeping"],[data-pose="waking"]) .guide-bubble{top:34px}
.guide-dismiss{border-color:#c8ac735c;background:linear-gradient(145deg,#382b4a,#171c30);color:#ead5ae}
.guide-character>span{border-radius:10px;border-color:#b89b6866;background:linear-gradient(125deg,#30213dee,#111c2aee);box-shadow:0 3px 12px #0004}
.guide-restore{border-radius:10px;background:linear-gradient(125deg,#49305f,#172133);color:#f0dbaa}
.guide-character>.guide-sprite{width:calc(var(--guide-figure-height)*var(--guide-cell-aspect,.75));margin-left:calc((100% - var(--guide-figure-height)*var(--guide-cell-aspect,.75))/2);margin-right:calc((100% - var(--guide-figure-height)*var(--guide-cell-aspect,.75))/2)}
.omega-guide[data-pose="sleeping"] .guide-sprite{transform-origin:50% 94%;animation:omega-guide-sleep 4s ease-in-out infinite}
@keyframes omega-guide-sleep{0%,100%{transform:scale(1,1)}50%{transform:scale(1.006,1.012)}}
@media(max-width:600px){.omega-guide{width:276px}.guide-bubble{left:98px;width:174px;padding:14px 13px 14px 27px}.guide-bubble p{margin:0 0 8px}.omega-guide.is-quiet{width:125px}}
@media(max-width:340px){.omega-guide:not(.is-quiet){width:calc(100vw - 20px)}.guide-bubble{width:174px;max-width:calc(100vw - 118px)}}
@media(prefers-reduced-motion:reduce){.omega-guide .guide-sprite{animation:none!important}}

.omega-guide .guide-sprite{transform-origin:50% 96%}
/* A short soft landing; the drag target itself never jumps. */
.omega-guide[data-pose="landing"] .guide-sprite{animation:guide-soft-landing .76s ease-out both}
.omega-guide[data-pose="landing"] .guide-character:after{content:"";position:absolute;pointer-events:none;left:24%;right:14%;bottom:29px;height:29px;border-radius:50%;background:radial-gradient(ellipse at 20% 60%,#efdcb9c9 0 16%,transparent 36%),radial-gradient(ellipse at 47% 50%,#fff0ccbd 0 22%,transparent 48%),radial-gradient(ellipse at 78% 65%,#e6d0b8d0 0 17%,transparent 39%);filter:blur(1px);animation:guide-landing-puff .76s ease-out both}
@keyframes guide-soft-landing{0%{transform:translateY(-18px) scale(.98,1.02)}35%{transform:translateY(0) scale(1.07,.94)}58%{transform:translateY(-3px) scale(.99,1.015)}100%{transform:translateY(0) scale(1)}}
@keyframes guide-landing-puff{0%,25%{opacity:0;transform:scale(.25,.5)}40%{opacity:.85;transform:scale(.7,.7)}75%{opacity:.4;transform:translateY(-4px) scale(1.3,1)}100%{opacity:0;transform:translateY(-8px) scale(1.65,1.1)}}
@media(prefers-reduced-motion:reduce){.omega-guide[data-pose="landing"] .guide-sprite{animation:none!important}.omega-guide .guide-character:after{display:none!important}}

/* Breathing is drawn in the atlas; never stretch the whole character. */
.omega-guide[data-pose="idle"] .guide-sprite,.omega-guide[data-pose="sleeping"] .guide-sprite,.omega-guide .guide-character img{animation:none;transform:none}
.omega-guide .guide-dismiss{top:auto;bottom:0;left:116px;width:24px;height:24px;font-size:17px;z-index:3}
.guide-bubble [data-guide-action]{display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border:1px solid #987ab16b;border-radius:8px;background:#78569a12;color:#6a437f;font-size:10px;font-weight:600;text-decoration:none;box-sizing:border-box}
.guide-bubble [data-guide-action]:hover{background:#78569a24}
.omega-guide[data-pose="sleeping"] .guide-character:before{content:"z  Z";position:absolute;left:68%;top:29%;font:bold 17px Georgia,serif;letter-spacing:7px;color:#d5c3ff;text-shadow:0 1px 3px #201632;pointer-events:none;z-index:2;animation:guide-sleep-letters 3.8s ease-out infinite}
@keyframes guide-sleep-letters{0%{opacity:0;transform:translate(0,9px)}25%{opacity:.85}100%{opacity:0;transform:translate(12px,-25px)}}
.omega-guide[data-pose="butterfly"] .guide-character:before{content:"";position:absolute;left:80%;top:28%;width:20px;height:16px;pointer-events:none;background:radial-gradient(ellipse at 24% 30%,#82dffc 0 23%,transparent 26%),radial-gradient(ellipse at 76% 30%,#b2a2fc 0 23%,transparent 26%),radial-gradient(ellipse at 30% 75%,#d5b777 0 21%,transparent 24%),radial-gradient(ellipse at 70% 75%,#82dffc 0 21%,transparent 24%);animation:guide-butterfly-flight 3s ease-in-out infinite}
@keyframes guide-butterfly-flight{0%,100%{transform:translate(0,0) rotate(-15deg)}35%{transform:translate(-24px,-22px) rotate(20deg)}70%{transform:translate(10px,-10px) rotate(-10deg)}}
@media(max-width:600px){.omega-guide .guide-dismiss{left:103px}}
@media(prefers-reduced-motion:reduce){.omega-guide .guide-character:before{display:none}}
.omega-guide .guide-character>.guide-sprite.guide-canvas{width:157.5px;height:210px;margin:0 calc((100% - 157.5px)/2);scale:1;translate:none;background:none!important;overflow:visible}
.guide-canvas canvas{display:block;width:100%;height:100%;pointer-events:none}
@media(max-width:600px){.omega-guide .guide-character>.guide-sprite.guide-canvas{width:135px;height:180px;margin:0 calc((100% - 135px)/2)}}

/* Clear silhouette and a little breathing room between face and speech. */
.omega-guide:not(.is-quiet):not(.is-closed){width:330px}
.omega-guide .guide-bubble{left:148px;width:180px;text-align:center;padding-left:30px;padding-right:15px}
.omega-guide .guide-bubble p{text-align:center;text-wrap:pretty}
.omega-guide .guide-bubble [data-guide-action]{justify-content:center}
.omega-guide .guide-character>.guide-sprite.guide-canvas{filter:drop-shadow(0 3px 3px #0005)}
.omega-guide[data-pose="landing"] .guide-character:after{left:5%;right:auto;bottom:20px;width:140px;height:55px;border-radius:0;background:transparent url('../images/community/guide/landing-cartoon.svg') 0 0/600% 100% no-repeat;filter:none;animation:guide-cartoon-puff .76s steps(6,end) both}
@keyframes guide-cartoon-puff{from{background-position:0 0}to{background-position:120% 0}}
@media(max-width:600px){.omega-guide:not(.is-quiet):not(.is-closed){width:303px}.omega-guide .guide-bubble{left:128px;width:174px;padding-left:29px;padding-right:14px}.omega-guide[data-pose="landing"] .guide-character:after{width:120px;height:48px}}
@media(max-width:340px){.omega-guide:not(.is-quiet):not(.is-closed){width:calc(100vw - 16px)}.omega-guide .guide-bubble{left:126px;width:calc(100vw - 144px);max-width:none}}
@media(prefers-reduced-motion:reduce){.omega-guide[data-pose="landing"] .guide-character:after{display:none}}

/* Butterfly and landing movement are now part of the drawings. */
.omega-guide[data-pose="butterfly"] .guide-character:before{display:none}
.omega-guide[data-pose="landing"] .guide-sprite{animation:none;transform:none}

/* Wider transparent drawing area for lying poses; each frame has its own inset crop. */
.omega-guide .guide-character>.guide-sprite.guide-canvas{width:183.75px;height:210px;margin:0 calc((100% - 183.75px)/2);overflow:hidden}
@media(max-width:600px){.omega-guide .guide-character>.guide-sprite.guide-canvas{width:157.5px;height:180px;margin:0 calc((100% - 157.5px)/2)}}
.omega-guide:is([data-pose="lying-down"],[data-pose="lying-sleep"],[data-pose="seated"],[data-pose="sleep-bubble"],[data-pose="closing-book"],[data-pose="stowing-book"]) .guide-bubble{top:34px}
.omega-guide[data-pose="landing"] .guide-character:after{content:none}
.omega-guide[data-puff] .guide-character:after{content:"";position:absolute;pointer-events:none;left:5%;right:auto;bottom:20px;width:140px;height:55px;border-radius:0;background:transparent url('../images/community/guide/landing-cartoon.svg') 0 0/600% 100% no-repeat;filter:none;animation:guide-cartoon-puff .76s steps(6,end) both}
.omega-guide[data-puff="impact"] .guide-character:after{animation-name:guide-cartoon-impact}
@keyframes guide-cartoon-impact{from{background-position:0 0}to{background-position:120% 0}}
.omega-guide[data-pose="lying-sleep"] .guide-character:before{content:"z  Z";position:absolute;left:30%;top:64%;font:bold 17px Georgia,serif;letter-spacing:7px;color:#d5c3ff;pointer-events:none;z-index:2;animation:guide-sleep-letters 3.8s ease-out infinite}
@media(prefers-reduced-motion:reduce){.omega-guide[data-puff] .guide-character:after,.omega-guide[data-pose="lying-sleep"] .guide-character:before{display:none}}
