/* 配信GO マスコット（カワウソ） */
.hg-mascot{position:fixed;left:0;bottom:0;z-index:40;width:110px;height:120px;pointer-events:none;transition:left var(--hg-walk,2s) linear}
.hg-mascot-body{position:absolute;left:0;bottom:6px;width:110px;height:120px;transform-origin:50% 100%}
.hg-mascot img{position:absolute;left:50%;bottom:0;height:112px;width:auto;transform:translateX(-50%) scaleX(var(--hg-flip,1));pointer-events:auto;cursor:pointer;user-select:none;-webkit-user-drag:none;filter:drop-shadow(0 4px 6px rgba(15,27,45,.12))}
.hg-mascot.idle .hg-mascot-body{animation:hg-bob 2.6s ease-in-out infinite}
.hg-mascot.walking .hg-mascot-body{animation:hg-hop .42s ease-in-out infinite}
.hg-mascot.jump .hg-mascot-body{animation:hg-jump .6s cubic-bezier(.3,1.6,.5,1) 1}
.hg-mascot.wave .hg-mascot-body{animation:hg-wave 1.2s ease-in-out 2}
@keyframes hg-bob{0%,100%{transform:translateY(0) scaleY(1)}50%{transform:translateY(-3px) scaleY(1.015)}}
@keyframes hg-hop{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-9px) rotate(2deg)}}
@keyframes hg-jump{0%{transform:translateY(0) scale(1,1)}20%{transform:translateY(0) scale(1.08,.9)}55%{transform:translateY(-28px) scale(.96,1.05)}100%{transform:translateY(0) scale(1,1)}}
@keyframes hg-wave{0%,100%{transform:rotate(0)}25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}
.hg-bubble{position:absolute;bottom:118px;left:50%;width:max-content;max-width:240px;padding:10px 14px;border:2px solid #0f1b2d;border-radius:16px;color:#0f1b2d;background:#fff;font:700 13px/1.55 "Noto Sans JP",sans-serif;box-shadow:0 6px 16px rgba(15,27,45,.12);transform:translateX(-50%) translateY(6px) scale(.96);opacity:0;transition:opacity .2s,transform .2s;pointer-events:none}
.hg-bubble:after{content:"";position:absolute;left:50%;bottom:-9px;width:14px;height:14px;border-right:2px solid #0f1b2d;border-bottom:2px solid #0f1b2d;background:#fff;transform:translateX(-50%) rotate(45deg)}
.hg-bubble.show{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}
.hg-mascot.edge-right .hg-bubble{left:auto;right:-6px;transform:translateY(6px) scale(.96)}
.hg-mascot.edge-right .hg-bubble.show{transform:none}
.hg-mascot.edge-right .hg-bubble:after{left:auto;right:42px;transform:rotate(45deg)}
.hg-mascot-close{position:absolute;top:-2px;right:2px;width:22px;height:22px;display:grid;place-items:center;border:0;border-radius:50%;color:#fff;background:#0f1b2d;font:700 12px/1 sans-serif;cursor:pointer;opacity:0;pointer-events:auto;transition:opacity .15s}
.hg-mascot:hover .hg-mascot-close,.hg-mascot-close:focus-visible{opacity:1}
.hg-mascot-restore{position:fixed;right:16px;bottom:16px;z-index:40;height:34px;padding:0 12px;border:0;border-radius:17px;color:#fff;background:#ff5a1f;font:italic 900 14px/34px "DM Sans",sans-serif;cursor:pointer;box-shadow:0 4px 12px rgba(255,90,31,.3)}
/* ログイン画面：フォームの横で手をふる */
.hg-mascot.auth{position:fixed;left:calc(50% - 360px);right:auto;bottom:auto;top:calc(50% - 40px);transition:none}
@media(max-width:860px){.hg-mascot.auth{left:auto;right:8px;top:auto;bottom:4px;transform:scale(.75);transform-origin:100% 100%}}
@media(max-width:720px){.hg-mascot:not(.auth){transform:scale(.72);transform-origin:50% 100%}}
@media(prefers-reduced-motion:reduce){.hg-mascot,.hg-mascot *{animation:none!important;transition:none!important}}
@media print{.hg-mascot,.hg-mascot-restore{display:none}}
.hg-mascot.auth{width:150px;height:170px;left:calc(50% - 400px)}
.hg-mascot.auth .hg-mascot-body{width:150px;height:170px}
.hg-mascot.auth img{height:160px}
.hg-mascot.auth .hg-bubble{bottom:168px}
