#tap-hold .tap-to-stop { color: #302c43; }
#tap-hold .tap-to-stop { padding: 20px; border: 1px solid #c9bdcf; border-radius: 24px; background: #fffaf5; text-align: center; }
#tap-hold .swing-stage { height: 280px; position: relative; overflow: hidden; border-radius: 16px; background: #ede6f0; }
#tap-hold .center-line { position: absolute; top: 22px; bottom: 18px; left: 50%; border-left: 2px dashed #8d7d99; }
#tap-hold .charm { position: absolute; top: 18px; left: calc(50% - 82px); width: 164px; height: 236px; padding: 0; border: 0; border-radius: 12px; background: transparent; transform-origin: 50% 0; color: inherit; cursor: pointer; touch-action: manipulation; }
#tap-hold .charm:disabled { cursor: default; opacity: 1; }
#tap-hold .tether { display: block; width: 3px; height: 92px; background: #766287; margin: 0 auto; }
#tap-hold .charm img { display: block; width: 164px; height: auto; user-select: none; }
#tap-hold .charm.is-swinging { animation: jelly-swing 2s ease-in-out 3 forwards; }
@keyframes jelly-swing { 0%, 50%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-22deg); } 75% { transform: rotate(22deg); } }
#tap-hold .toy-status { min-height: 3.1em; font-weight: 650; }
#tap-hold .start { min-height: 48px; padding: 12px 22px; background: #57406c; color: #fff; font: inherit; font-weight: 700; border: 2px solid #57406c; border-radius: 999px; cursor: pointer; touch-action: manipulation; }
#tap-hold .start:disabled { background: #ede6f0; color: #57406c; cursor: default; }
#tap-hold button:focus-visible { outline: 3px solid #352442; outline-offset: 4px; }
#tap-hold .caption, #tap-hold .motion-note { font-size: .9rem; }
#tap-hold .motion-note { background: #ede6f0; border-radius: 12px; padding: 12px; }
#tap-hold [hidden] { display: none !important; }
@media (max-width: 420px) { #tap-hold .tap-to-stop { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { #tap-hold .charm.is-swinging { animation: none; } }
@media (forced-colors: active) { #tap-hold .tap-to-stop, #tap-hold .start { border-color: ButtonText; } #tap-hold .tether { background: ButtonText; } #tap-hold .center-line { border-color: GrayText; } }
