/* น้องปีก (ลูกขนไก่) และ น้องเอ็น (ไม้แบด) */
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(-2deg); } }

.mascots { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 2vw, 24px); }
.mascot { margin: 0; display: grid; justify-items: center; gap: 12px; }
.mascot svg { width: clamp(132px, 16.8vw, 198px); height: auto; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.mascot.racket svg { width: clamp(138px, 18vw, 210px); animation-delay: -1.6s; }
.mascot figcaption { font-family: var(--font-display); font-weight: 500; font-size: .95rem; background: var(--cork); color: var(--on-accent); padding: 3px 14px; border-radius: 999px; }
.mascot figcaption small { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; opacity: .85; margin-left: 6px; }
.mascot-wrap { display: grid; gap: 14px; justify-items: center; min-width: 0; }
.mascot-hint { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .05em; opacity: .7; text-align: center; }
.racket-cursor-el { position: fixed; left: 0; top: 0; width: 65px; z-index: 100; pointer-events: none; will-change: transform; opacity: 0; transition: opacity .2s ease; }
.racket-cursor-el.on { opacity: 1; }
.racket-cursor-el svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
html.rc-hide-cursor, html.rc-hide-cursor * { cursor: none !important; }
.buddy { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: clamp(77px, 9.6vw, 103px); transition: opacity .4s ease, transform .4s ease; }
.buddy.away { opacity: 0; transform: translateY(48px) scale(.6); pointer-events: none; }
.buddy-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.buddy-btn svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.buddy-inner { will-change: transform; }
.bubble { position: absolute; right: 70%; bottom: 92%; width: max-content; max-width: min(230px, 62vw); background: var(--surface); color: var(--fg); border: 2px solid var(--cork); border-radius: 14px 14px 4px 14px; padding: 8px 12px; font-size: .88rem; line-height: 1.45; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
