.sg-guide{position:fixed;inset:0;z-index:850;pointer-events:none;color:#29203a;font:14px/1.45 system-ui,sans-serif;--sg-size:300px;--sg-bottom:22px}
.sg-guide .sg-sprite{position:fixed;width:calc(var(--sg-size)*.72);height:var(--sg-size);transform-origin:center bottom;pointer-events:none;filter:none;background:transparent;image-rendering:auto;z-index:2}
.sg-guide .sg-highlight{position:fixed;box-sizing:border-box;border:2px solid #e8c67d;border-radius:12px;box-shadow:0 0 0 3px #e8c67d28,0 0 15px #e8c67d66;pointer-events:none;z-index:1}
.sg-guide .sg-highlight[hidden]{display:none!important}
.sg-guide .sg-dialog{position:fixed;top:0;left:0;width:min(360px,calc(100vw - 24px));padding:16px 31px 19px;border:2px solid #514364;border-radius:39% / 28%;background:#fbf6ff;box-shadow:0 5px 16px #0005;box-sizing:border-box;pointer-events:auto;z-index:3;overflow:visible;text-align:center;color:#29203a}
.sg-guide .sg-tail{position:absolute;inset:-2px;width:calc(100% + 4px);height:calc(100% + 4px);overflow:visible;pointer-events:none;fill:#fbf6ff;stroke:#514364;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}
.sg-guide .sg-top,.sg-guide .sg-controls{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px}
.sg-guide .sg-counter{font-size:10px;letter-spacing:.06em;color:#6b538d;font-weight:750}
.sg-guide .sg-title{position:relative;margin:3px 0 5px;font-size:17px;color:#29203a;line-height:1.2}
.sg-guide .sg-text{position:relative;margin:5px 0 10px;color:#3d334b;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.sg-guide button{font:inherit;padding:6px 13px;min-height:32px;border:1px solid #ad9bc5;background:#eee6fa;color:#39264f;border-radius:999px;cursor:pointer}
.sg-guide button:disabled{opacity:.45;cursor:default}
.sg-guide .sg-next{background:#7552bd;border-color:#6541ac;color:#fff;font-weight:650}
.sg-guide .sg-close{padding:0 8px;min-height:26px;font-size:18px;line-height:1}
.sg-guide button:focus-visible{outline:2px solid #7552bd;outline-offset:2px}
@media(max-width:699px){.sg-guide .sg-dialog{width:min(310px,calc(100vw - 24px));padding:13px 23px 15px;border-radius:37% / 26%}.sg-guide .sg-title{font-size:15px}.sg-guide .sg-text{font-size:12px;margin-bottom:8px}.sg-guide button{font-size:12px;padding:5px 9px;min-height:29px}.sg-guide .sg-close{font-size:17px;min-height:24px}.sg-guide .sg-counter{font-size:10px}}
@media(max-height:430px){.sg-guide .sg-dialog{padding-top:10px;padding-bottom:12px}.sg-guide .sg-text{font-size:12px;line-height:1.25;margin:4px 0 6px}.sg-guide .sg-title{font-size:15px}.sg-guide button{min-height:27px;padding-top:3px;padding-bottom:3px}}
@media(prefers-reduced-motion:reduce){.sg-guide *{animation:none!important;transition:none!important}}

/* Interactive tutorial: mask holes are visual only; capture guards restrict real input. */
.sg-guide[hidden],.sg-guide [hidden]{display:none!important}
.sg-guide.sg-tutorial{z-index:11000}
.sg-guide .sg-shade{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.sg-guide.sg-tutorial .sg-dialog{pointer-events:none}
.sg-guide.sg-tutorial .sg-dialog button{pointer-events:auto}
.sg-guide.sg-tutorial .sg-controls{justify-content:center}
.sg-guide.sg-tutorial .sg-counter{letter-spacing:.025em}
@media(max-height:430px){.sg-guide.sg-tutorial .sg-dialog{padding:10px 24px 12px}}
