/* Physical bobblehead companion; contained outside the hit areas of every game. */
#forge-avatar-bobble[hidden]{display:none!important}
#forge-avatar-bobble.fgbob{box-sizing:border-box;display:flex;justify-content:flex-end;min-height:144px;padding:10px 3px 3px;margin:4px 0 9px;pointer-events:none}
.fgbob-frame{display:grid;justify-items:center;min-width:128px;width:136px;max-width:100%;padding:6px 9px 4px;border:1px solid rgba(219,177,98,.38);
 border-radius:17px;background:radial-gradient(ellipse at 50% 15%,rgba(229,194,115,.19),transparent 63%),linear-gradient(130deg,#1c3341,#101d29);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 8px 21px rgba(0,0,0,.25);pointer-events:auto}
.fgbob-touch{position:relative;border:0;display:grid;justify-items:center;align-content:end;width:112px;height:127px;overflow:visible;padding:0;margin:0;
 background:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer;transform:translateZ(0)}
.fgbob-head{position:absolute;left:0;bottom:18px;width:112px;height:113px;transform-origin:50% 87%;filter:drop-shadow(0 6px 4px rgba(0,0,0,.3));z-index:2}
.fgbob-head svg{width:112px;height:113px;overflow:visible;display:block}
.fgbob-spring{position:absolute;left:52px;bottom:10px;width:9px;height:32px;transform:rotate(9deg);
 background:repeating-linear-gradient(0deg,#152632 0 2px,#e4c57a 2px 5px,#846431 5px 7px);
 border:1px solid #b99f6e;box-shadow:2px 2px 4px #0007;border-radius:8px;z-index:1}
.fgbob-pedestal{position:absolute;bottom:0;left:11px;width:90px;height:22px;background:linear-gradient(#edd392 0%,#b48948 35%,#4c3929 85%);
 border:2px solid #665031;border-radius:50% 50% 12px 12px;box-shadow:0 5px 6px #0009;z-index:3}
.fgbob-caption{display:block;margin:0;max-width:120px;color:#efe0bb;font:700 11px/1.3 "Source Sans 3",system-ui;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fgbob-touch:focus-visible{outline:3px solid #fbd78b;outline-offset:4px;border-radius:10px}
.fgbob-bobbling .fgbob-head{animation:forge-head-bobble 1.18s cubic-bezier(.24,.4,.19,1) both}
.fgbob-bobbling .fgbob-spring{animation:forge-spring 1.18s ease-out both}
@keyframes forge-head-bobble{0%{transform:rotate(0) translateY(0)}12%{transform:rotate(-24deg) translateY(-5px)}27%{transform:rotate(20deg) translateY(1px)}
45%{transform:rotate(-12deg) translateY(-3px)}61%{transform:rotate(8deg)}76%{transform:rotate(-4deg)}88%{transform:rotate(2deg)}100%{transform:rotate(0)}}
@keyframes forge-spring{15%{transform:rotate(-13deg) scaleY(.8)}40%{transform:rotate(9deg) scaleY(1.1)}65%{transform:rotate(-4deg)}100%{transform:rotate(9deg)}}
@media(max-width:520px){#forge-avatar-bobble.fgbob{min-height:116px}.fgbob-frame{transform:scale(.84);transform-origin:top right;margin-bottom:-19px;margin-left:auto}}
@media(prefers-reduced-motion:reduce){.fgbob-bobbling .fgbob-head,.fgbob-bobbling .fgbob-spring{animation:none!important}
.fgbob-bobbling .fgbob-head{transform:rotate(-4deg)}}