/* 我的最愛：愛心按鈕（卡片、效果單頁共用）＋點下去的彈跳與小愛心噴發 */
.fav{position:relative;display:inline-grid;place-items:center;width:32px;height:30px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--soft,var(--card));color:var(--mut);cursor:pointer;transition:color .2s,border-color .2s,background .2s}
.fav svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;overflow:visible;transition:fill .2s}
.fav:hover{color:#e2667f;border-color:#e2667f88}
.fav.on{color:#e2667f;border-color:#e2667f66;background:color-mix(in srgb,#e2667f 12%,var(--card))}
.fav.on svg{fill:currentColor}
.fav.pop svg{animation:fav-pop .55s cubic-bezier(.3,1.8,.5,1)}
@keyframes fav-pop{0%{transform:scale(.6)}45%{transform:scale(1.35)}100%{transform:scale(1)}}
.fav-burst{position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px;border-radius:50%;background:#e2667f;pointer-events:none;animation:fav-burst .6s ease-out forwards}
@keyframes fav-burst{from{transform:translate(0,0) scale(1);opacity:1}to{transform:translate(var(--dx),var(--dy)) scale(.2);opacity:0}}
@media (prefers-reduced-motion:reduce){.fav.pop svg,.fav-burst{animation:none}}
