/* ============================================================
   touch-your-body.css — Touch Your Body 身体触摸游戏特有样式
   全身人物插画 + 高亮部位脉动
   ============================================================ */

.cmd-box{margin-top:8px;}
.cmd-en{font-size:clamp(1.9rem,8.5vw,2.35rem);}

/* 覆盖公共媒体查询中的字号（本文件后加载，需显式声明以保持原有尺寸） */
@media (min-width:768px){
  .cmd-en{font-size:44px;}
}
@media (max-width:480px){
  .cmd-en{font-size:clamp(1.7rem,8.4vw,2.4rem);}
}

.art-box{display:flex;justify-content:center;align-items:flex-end;height:200px;}
.art-svg{
  height:100%;width:auto;max-width:100%;overflow:visible;
  filter:drop-shadow(0 10px 14px rgba(199,91,31,.16));
}
.art{
  opacity:0;transform:scale(.92);transform-box:view-box;transform-origin:100px 110px;
  transition:opacity .28s ease,transform .28s cubic-bezier(.34,1.4,.64,1);
}
.art.is-on{
  opacity:1;transform:none;
  animation:bodyPartPulse 1.6s ease-in-out infinite;
}
@keyframes bodyPartPulse{
  0%,100%{filter:drop-shadow(0 0 6px rgba(242,153,74,.5));}
  50%{filter:drop-shadow(0 0 18px rgba(242,153,74,.9)) drop-shadow(0 0 36px rgba(255,201,74,.4));}
}
.art-svg.pop{animation:artPop .5s cubic-bezier(.34,1.56,.64,1);}
@keyframes artPop{
  0%{transform:scale(.9) rotate(-1.5deg);}
  60%{transform:scale(1.04) rotate(1deg);}
  100%{transform:none;}
}

/* 全屏 */
body.is-fullscreen .art-box{height:clamp(170px,40vh,380px);}
body.is-fullscreen .art-svg{height:100%;width:auto;max-width:100%;}

/* 响应式 */
@media (min-width:768px){
  .art-box{height:220px;}
}
@media (max-width:480px){
  .art-box{height:180px;}
}
@media (max-height:760px){
  body.is-fullscreen .art-box{height:clamp(100px,24vh,190px);}
}
@media (max-height:560px) and (orientation:landscape){
  .art-box{height:120px;}
}

/* 减少动态效果 */
@media (prefers-reduced-motion:reduce){
  .art{transition:none;animation:none !important;}
  .art.is-on{animation:none !important;}
  .art-svg.pop{animation:none;}
}
