:root{--m-text:#efeaff;--m-surface:#1e0d49;--m-surface-2:#140838;--m-border:#3b2a7a;--m-muted:#a99fd0;--m-primary:#8b5cf6;--m-primary-ink:#4ade80;--m-on-primary:#0b0321;--m-vip:#facc15;--m-shadow-color-strong:#0000008c;--m-radius-btn:10px;--m-radius-card:16px}.mascot{font-family:var(--rgf-rubik,system-ui), system-ui, sans-serif}.mascot-talk-ask input{font:inherit;color:var(--m-text);background:var(--m-surface-2);border:1px solid var(--m-border);border-radius:10px}.mascot-talk-ask input:focus-visible{outline:2px solid var(--m-primary-ink);outline-offset:1px}.mascot{z-index:38;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;will-change:transform;transition:opacity .25s;position:fixed;bottom:0;left:0}.mascot:active{cursor:grabbing}.mascot:focus-visible{outline:3px solid var(--m-primary-ink);outline-offset:4px;border-radius:8px}.mascot.is-hidden,.mascot.is-away{opacity:0;pointer-events:none}.mascot-sprite{image-rendering:pixelated;animation:1.6s steps(2,jump-none) infinite mascot-bob;display:block}.mascot[data-mode=walk] .mascot-sprite,.mascot[data-mode=fall] .mascot-sprite,.mascot[data-mode=drag] .mascot-sprite{animation:none}@keyframes mascot-bob{0%,to{translate:0}50%{translate:0 -1px}}.mascot-bubble{z-index:1;border:2px solid var(--m-text);background:var(--m-surface);width:max-content;max-width:260px;color:var(--m-text);box-shadow:0 6px 18px var(--m-shadow-color-strong);overflow-wrap:anywhere;pointer-events:none;border-radius:12px;padding:8px 12px;font-size:.86rem;font-weight:700;line-height:1.35;animation:.18s ease-out mascot-pop;position:absolute;bottom:calc(100% + 6px)}@keyframes mascot-pop{0%{opacity:0;transform:translateY(4px)scale(.96)}to{opacity:1;transform:none}}.mascot-talk{z-index:2;border:2px solid var(--m-text);background:var(--m-surface);width:300px;max-width:calc(100vw - 32px);color:var(--m-text);cursor:default;box-shadow:0 10px 28px var(--m-shadow-color-strong);border-radius:14px;gap:10px;padding:12px 12px 10px;animation:.18s ease-out mascot-pop;display:grid;position:absolute;bottom:calc(100% + 6px)}.mascot-typed-rest{color:#0000}.mascot-mute{z-index:3;border:2px solid var(--m-text);background:var(--m-surface);width:26px;height:26px;color:var(--m-text);cursor:pointer;pointer-events:auto;border-radius:50%;place-items:center;padding:0;font-size:.8rem;line-height:1;display:grid;position:absolute;top:-10px;right:-10px}.mascot-mute:hover,.mascot-mute:focus-visible{background:var(--m-surface-2)}.mascot-talk-text{overflow-wrap:anywhere;margin:0;font-size:.9rem;font-weight:700;line-height:1.4}.mascot-talk-buttons{grid-template-columns:1fr 1fr;gap:6px;display:grid}.mascot-talk-btn{border:1px solid color-mix(in srgb, var(--m-primary) 55%, var(--m-border));background:color-mix(in srgb, var(--m-primary) 10%, var(--m-surface));color:var(--m-text);font:inherit;cursor:pointer;border-radius:10px;padding:7px 8px;font-size:.8rem;font-weight:800;line-height:1.2}.mascot-talk-btn:hover,.mascot-talk-btn:focus-visible{background:var(--m-primary);color:var(--m-on-primary);border-color:var(--m-primary)}.mascot-talk-ask{gap:6px;display:flex}.mascot-talk-ask input{flex:1;min-width:0;padding:6px 10px;font-size:.85rem}.mascot-talk-send{background:var(--m-primary-ink);width:36px;color:var(--m-on-primary);cursor:pointer;border:0;border-radius:10px;flex:none;font-weight:900}@media (max-width:640px){.mascot-talk{width:auto}.mascot-talk-buttons{grid-template-columns:1fr}}.mascot-img{object-fit:contain;object-position:center bottom;display:block}.mascot-body{transform-origin:50% 100%}.mascot.is-smooth .mascot-sprite{image-rendering:auto}.mascot.is-gif[data-mode=walk] .mascot-body{animation:.36s ease-in-out infinite mascot-hop}.mascot.is-gif[data-mode=drag] .mascot-body{animation:.3s ease-in-out infinite mascot-wiggle}.mascot.is-gif[data-mode=fall] .mascot-body{rotate:calc(var(--face,1) * 10deg)}.mascot[data-facing="-1"]{--face:-1}.mascot.is-land .mascot-body{animation:.26s ease-out mascot-land}@keyframes mascot-hop{0%,to{translate:0;rotate:-3deg}50%{translate:0 -12%;rotate:3deg}}@keyframes mascot-wiggle{0%,to{rotate:-9deg}50%{rotate:9deg}}@keyframes mascot-land{0%{scale:1.12 .82}60%{scale:.95 1.06}to{scale:1}}.mascot-subs{flex-wrap:wrap;margin:4px 0 12px}.mascot-part{gap:10px;display:grid}.mascot-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.mascot-list li{border:1px solid var(--m-border);border-radius:var(--m-radius-btn);gap:6px;padding:10px;display:grid}.mascot-list li.is-off,.mascot-node.is-off{opacity:.6}.mascot-row{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.mascot-row>input[type=text]{flex:140px}.mascot-row select{max-width:100%}.mascot-buttons{gap:6px;margin:6px 0;padding-left:18px;display:grid}.mascot-dialogs{grid-template-columns:minmax(0,1fr) minmax(0,340px);align-items:start}.mascot-node{gap:6px;display:grid}.mascot-preview{top:calc(var(--m-header-h,64px) + 70px);border:1px dashed var(--m-border);border-radius:var(--m-radius-card);gap:8px;padding:12px;display:grid;position:sticky}.mascot-preview h3{margin:0}.mascot-preview-opts{flex-wrap:wrap;gap:4px 12px;font-size:.85rem;display:flex}.mascot-talk.mascot-talk-preview{width:auto;animation:none;position:static}.mascot-preview-canvas,.mascot-preview-img{image-rendering:pixelated;border:1px dashed var(--m-border);background:var(--m-surface-2);border-radius:10px;width:96px;height:auto;padding:6px}.mascot-preview-sheet{image-rendering:pixelated;object-fit:contain;object-position:left;border:1px dashed var(--m-border);background:var(--m-surface-2);border-radius:10px;max-width:100%;height:64px}.mascot-sound-file{cursor:pointer;position:relative}.mascot-tip{gap:8px}.mascot-tip-step{text-transform:uppercase;letter-spacing:.04em;color:var(--m-muted);margin:0;font-size:.75rem;font-weight:800}.mascot-tip-link{color:var(--m-muted);font:inherit;cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-size:.78rem;text-decoration:underline}.mascot-tip-link:hover,.mascot-tip-link:focus-visible{color:var(--m-text)}.mascot-talk-btn:disabled{opacity:.45;cursor:default}.mascot-highlight{outline-offset:4px;border-radius:10px;animation:1.1s ease-in-out infinite mascot-glow;outline:3px solid var(--m-vip,#ffd23f)!important}@keyframes mascot-glow{0%,to{box-shadow:0 0 0 0 color-mix(in srgb, var(--m-vip,#ffd23f) 70%, transparent)}50%{box-shadow:0 0 0 10px color-mix(in srgb, var(--m-vip,#ffd23f) 0%, transparent)}}@media (prefers-reduced-motion:reduce){.mascot-highlight{animation:none}}.mascot-size{gap:8px;display:grid}.mascot-size-range{gap:4px;display:grid}.mascot-size-range input{width:100%;max-width:420px}.mascot-size-preview{border:1px dashed var(--m-border);border-radius:var(--m-radius-card);background:var(--m-surface-2);align-items:flex-end;gap:16px;min-height:172px;padding:12px;display:flex;overflow:hidden}.mascot-size-preview.is-mobile{max-width:360px}.mascot-size-ref{color:var(--m-muted);font-size:1rem}.mascot-size-sheet{background-position:0 0;background-repeat:no-repeat;display:block}@media (max-width:1000px){.mascot-dialogs{grid-template-columns:1fr}.mascot-preview{position:static}}.mascot-shot{z-index:37;pointer-events:none;width:100vw;height:100vh;position:fixed;inset:0}.mascot-axe{z-index:37;pointer-events:none;image-rendering:pixelated;transition:opacity .6s;position:absolute}.mascot-axe.is-gone{opacity:0}.mascot-rope{z-index:37;pointer-events:none;transform-origin:0;background:repeating-linear-gradient(90deg, var(--m-text) 0 4px, color-mix(in srgb, var(--m-text) 45%, transparent) 4px 6px);height:3px;image-rendering:pixelated;margin-top:-1px;position:fixed;top:0;left:0}.mascot-hook{z-index:37;width:12px;height:12px;color:var(--m-text);pointer-events:none;transform-origin:6px 10px;line-height:0;position:fixed;top:0;left:0}.mascot-hook svg{display:block}.mascot-point{z-index:37;pointer-events:none;background:var(--m-primary-ink);clip-path:polygon(25% 0,75% 0,75% 45%,100% 45%,50% 100%,0 45%,25% 45%);width:16px;height:16px;animation:.6s ease-in-out infinite alternate mascot-point;position:fixed;top:0;left:0}@keyframes mascot-point{to{translate:0 5px}}.mascot.is-dancing .mascot-body{animation:.5s ease-in-out infinite mascot-dance}@keyframes mascot-dance{0%,to{translate:0;rotate:-6deg}25%{translate:0 -10%}50%{translate:0;rotate:6deg}75%{translate:0 -10%}}.mascot.is-reading .mascot-body{transform-origin:50% 100%;scale:1 .9}.mascot.is-reading:after{content:"📖";pointer-events:none;font-size:max(12px,30%);line-height:1;animation:2.4s steps(2,jump-none) infinite mascot-read;position:absolute;bottom:4%;left:50%;translate:-50%}@keyframes mascot-read{50%{rotate:-6deg}}@media (prefers-reduced-motion:reduce){.mascot-rope,.mascot-hook,.mascot-point{display:none}.mascot.is-dancing .mascot-body,.mascot.is-reading:after{animation:none}}@media (max-width:640px){.mascot-bubble{max-width:none;font-size:.82rem}}@media (prefers-reduced-motion:reduce){.mascot-sprite,.mascot-bubble,.mascot-talk,.mascot .mascot-body{rotate:none;animation:none!important}.mascot{transition:none}}
