.world-cast {
  position: relative;
  min-width: 0;
  min-height: 355px;
  background: #e4e1d7;
  overflow: hidden;
  contain: layout paint;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cast-caption { padding: 25px 25px 0; color: #5c625f; font-size: 13px; }
.cast-stage { position: relative; height: 245px; margin: 0 18px; }
.cast-stage::before { content: ''; position: absolute; background: #d6d3c9; height: 2px; left: 7%; right: 7%; bottom: 24px; }
.cast-character { position: absolute; width: 43%; bottom: 24px; text-align: center; }
.cast-character.printer-607 { left: 0; z-index: 3; }
.cast-character.printer-578 { left: 32%; width: 40%; z-index: 2; }
.cast-character.dope { left: 66%; width: 34%; z-index: 4; }
.cast-art { width: 100%; aspect-ratio: 240 / 260; position: relative; }
.cast-part { position: absolute; inset: 0; }
.cast-part img { transform-origin: inherit; }
.cast-art img, .cast-art svg { width: 100%; height: auto; display: block; }
.cast-name { font-size: 11px; color: #616660; display: block; position: absolute; top: calc(100% + 6px); width: 165%; text-align: center; }
.cast-tools { position: relative; z-index: 5; display: flex; justify-content: space-between; padding: 0 22px 15px; visibility: hidden; }
.world-cast[data-controls="on"] .cast-tools { visibility: visible; }
.cast-tools button { background: transparent; color: #4f5c62; border: 0; padding: 10px 3px; font-size: 12px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.cast-tools button:disabled { cursor: default; opacity: .65; text-decoration: none; }
.world-cast[data-motion="running"] .cast-walk { animation: cast-stroll 3.4s ease-in-out; }
.world-cast[data-motion="running"] .cast-walk, .world-cast[data-motion="running"] .cast-part { will-change: transform; }
.world-cast[data-motion="ready"] [data-part="head"] { will-change: transform; }
.world-cast[data-motion="running"] .printer-578 .cast-walk { animation-direction: reverse; }
.world-cast [data-part="head"] { transition: transform 160ms ease-out; }
.world-cast[data-motion="running"] [data-part^="leg"], .world-cast[data-motion="running"] [data-part^="arm"] { animation: cast-step .56s ease-in-out 6; }
.world-cast[data-motion="running"] [data-part="legR"], .world-cast[data-motion="running"] [data-part="armL"] { animation-direction: reverse; }
@keyframes cast-stroll { 0%,100% { transform: translate(0,0); } 22% { transform:translate(10px,-2px) rotate(-1deg); } 48% { transform:translate(22px,0) rotate(1deg); } 72% { transform:translate(10px,-2px) rotate(-1deg); } }
@keyframes cast-step { 0%, 50%, 100% { transform: rotate(0); } 25% { transform: rotate(-13deg); } 75% { transform: rotate(13deg); } }
.world-cast[data-motion="running"] .dope .cast-walk{animation-name:cast-friend-stroll;animation-delay:100ms}
@keyframes cast-friend-stroll{0%,100%{transform:translate(0,0)}28%{transform:translate(-9px,-3px) rotate(2deg)}55%{transform:translate(-16px,0) rotate(-1deg)}78%{transform:translate(-7px,-3px)}}
@media (max-width: 1100px) and (min-width: 761px) { .cast-stage { height: 205px; margin: 0 8px; } .cast-caption { padding: 24px 16px 0; font-size: 12px; } }
@media (max-width: 1000px) and (min-width: 761px) {
  .hero { grid-template-columns: 1fr; }
  .world-cast { order: -1; min-height: 285px; }
  .cast-stage { width: min(100%, 420px); height: 190px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .world-cast { order: -1; min-height: 232px; max-height: 232px; }
  .cast-caption { padding: 16px 20px 0; font-size: 12px; }
  .cast-stage { height: 155px; margin: 0 auto; width: min(100%, 330px); }
  .cast-character { width: 42%; bottom: 24px; left: 0 !important; }
  .cast-character.printer-578 { width: 40%; left: 32% !important; }
  .cast-character.dope { width: 34%; left: 66% !important; }
  .cast-stage::before { bottom: 24px; }
  .cast-tools { padding: 0 17px 5px; }
  .cast-tools button { font-size: 11px; min-height: 44px; }
  .cast-name { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .world-cast *, .world-cast[data-motion="running"] .cast-walk { animation: none !important; transition: none !important; }
}
.cast-character.dope .cast-name{width:100%}
