.school-wolf{position:fixed;left:calc(100vw - 120px);top:calc(100vh - 152px);width:108px;height:140px;z-index:15;isolation:isolate;color:#39334c;font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.school-wolf[hidden],.school-wolf [hidden]{display:none!important}
.school-wolf button{font:inherit;letter-spacing:normal;touch-action:manipulation}
.school-wolf button:focus-visible{outline:3px solid #8662ee;outline-offset:3px}
.wolf-character{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:108px;height:140px;padding:0;border:0;background:none;color:inherit;cursor:grab;user-select:none;touch-action:none!important;-webkit-user-select:none;-webkit-touch-callout:none}
.wolf-character img{display:block;width:108px;height:108px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 4px 3px #302b431c);transform-origin:50% 90%;transition:transform .18s ease}
.wolf-character:hover img{transform:rotate(-4deg) translateY(-2px)}
.wolf-caption{display:block;padding:3px 8px;background:#fffc;border:1px solid #eee8fa;border-radius:20px;color:#79678f;font-size:10px;white-space:nowrap;line-height:16px}
.wolf-minimize{position:absolute;top:0;right:0;z-index:1;width:28px;height:28px;border:1px solid #e9e1f4;border-radius:50%;padding:0;background:#fffffff0;color:#89769f;line-height:24px!important;font-size:20px!important}
.school-wolf.is-dragging .wolf-character,.school-wolf.is-dragging .wolf-restore{cursor:grabbing}
.school-wolf.is-dragging img{transform:rotate(8deg) translateY(-4px)}
.school-wolf.is-compact{width:60px;height:44px}
.wolf-restore{width:60px;height:44px;padding:0;border:1px solid #e7def5;background:#fff;border-radius:24px;color:#7b57c5;font-size:11px!important;box-shadow:0 2px 10px #4c326312;cursor:grab;touch-action:none!important;user-select:none}
.wolf-bubble{position:absolute;width:280px;padding:14px 16px 12px;background:#fff;border:1px solid #e8dff5;border-radius:18px;box-shadow:0 8px 32px #39245b1c;overflow:auto;text-align:left}
.wolf-bubble-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.wolf-bubble-head strong{font-size:11px;line-height:1.4;color:#9b82b4;font-weight:600;letter-spacing:.2px}
.wolf-close{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:0;border-radius:8px;background:#f9f5fd;color:#8d76a1;font-size:20px!important;padding:0}
.wolf-quote{margin:0 0 12px!important;font-size:14px!important;line-height:1.55!important;overflow-wrap:anywhere;color:#49415a}
.wolf-next{padding:6px 9px;background:#f1eafb;color:#7850bd;border:0;border-radius:8px;font-size:12px!important;font-weight:600!important}
.wolf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body:has(.modal-backdrop) .school-wolf,body:has(dialog[open]) .school-wolf{visibility:hidden}
@media(prefers-reduced-motion:reduce){.wolf-character img{transition:none!important;transform:none!important}}
@media print{.school-wolf{display:none!important}}
