.mascot-art { isolation: isolate; }
.mascot-art .orbit { width: 430px; height: 430px; left: 5%; top: 55px; background: #e8e8e0; }
.mascot-art .art-label { left: 6%; top: 35px; }
.mascot-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 525px; padding: 54px 30px 25px; }
.mascot-bubble { position: relative; z-index: 2; max-width: 290px; padding: 12px 18px; margin: 0 0 4px; background: #fff; border: 1px solid #e6e6df; border-radius: 18px 18px 18px 3px; font-size: 14px; line-height: 1.5; text-align: center; box-shadow: 0 5px 18px #3030300a; }
.mascot-character { position: relative; z-index: 1; width: min(390px, 95%); height: 350px; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 85%; animation: mandioca-float 4.5s ease-in-out infinite; }
.mascot-character img { display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 85%; }
.mascot-character:focus-visible { border-radius: 25px; }
.mascot-ground { width: 175px; height: 17px; margin: -9px 0 15px; border-radius: 50%; background: #4c3a1821; filter: blur(5px); animation: mandioca-shadow 4.5s ease-in-out infinite; }
.mascot-motion-control { z-index: 2; border: 0; padding: 9px 14px; border-radius: 20px; background: #fff9; color: #555; font-size: 14px; cursor: pointer; }
.mascot-motion-control:hover { background: #fff; }
.mascot-motion-control[hidden] { display: none; }
.mascot-stage.is-greeting .mascot-character img { animation: mandioca-greeting .8s ease-in-out 2; }
.mascot-stage.is-greeting .mascot-bubble { border-color: #e2bb36; background: #fff9df; }
.mascot-stage.is-paused .mascot-character,
.mascot-stage.is-paused .mascot-ground,
.mascot-stage.is-paused .mascot-character img { animation: none; }
@keyframes mandioca-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-13px) rotate(2deg); }
}
@keyframes mandioca-shadow {
  0%, 100% { transform: scaleX(1); opacity: .8; }
  50% { transform: scaleX(.82); opacity: .5; }
}
@keyframes mandioca-greeting {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-7deg) translateY(-3px); }
  70% { transform: rotate(6deg); }
}
@media (max-width: 1050px) {
  .mascot-art .orbit { width: 360px; height: 360px; top: 85px; left: 0; }
  .mascot-character { height: 310px; }
}
@media (max-width: 760px) {
  .mascot-art { margin: 0 4%; min-height: 390px; }
  .mascot-art .orbit { width: 300px; height: 300px; left: calc(50% - 150px); top: 65px; }
  .mascot-art .art-label { top: 16px; left: 8%; font-size: 10px; }
  .mascot-stage { min-height: 390px; padding: 38px 12px 20px; }
  .mascot-character { width: min(310px, 95%); height: 270px; }
  .mascot-bubble { font-size: 14px; padding: 10px 14px; }
  .mascot-ground { width: 145px; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot-character, .mascot-ground,
  .mascot-stage.is-greeting .mascot-character img { animation: none !important; }
  .mascot-motion-control { display: none; }
}
