/* Fishing art follows the full farm style choice; all effects are cosmetic. */
.farm-cel .farm-fish-shadow{border:1px solid #81a5a08a;background:#7fa99b26;filter:drop-shadow(0 1px 2px #244e55)}
.farm-cel .farm-fish-shadow span{border:1px solid #456f62;background:#315f54;color:#fff2d4;padding:2px 6px;font-size:10px}
.farm-cel .farm-fishing-caption{border:1px solid #a78c60;border-radius:8px;background:#fff4d6;color:#214839;font-weight:700;bottom:-6px;max-width:230px;text-align:center}
.farm-fishing-progress{position:absolute;left:15%;bottom:-14px;width:70%;height:5px;border:0;accent-color:#dfb875;background:#3e655b;border-radius:3px;overflow:hidden}
.farm-cel .farm-fishing-cast[data-phase=wait] .fishing-cast-rod{animation:none;transform:none}
.farm-cel .farm-fishing-cast[data-phase=wait] .fishing-underwater{animation:cel-fish-wait 2s ease-in-out infinite}
.farm-cel .fishing-cel-bobber{animation:cel-bobber-float 1.4s ease-in-out infinite;transform-origin:132px 127px}
.farm-cel .farm-fishing-cast[data-phase=tug] .fishing-cel-bobber{animation:cel-bobber-bite .5s ease-in-out infinite}
.farm-cel .farm-fishing-cast[data-phase=wait] .fishing-cel-splash{opacity:0}
.farm-cel .farm-fishing-cast[data-phase=tug] .fishing-cel-splash{animation:cel-fish-splash .65s ease-out infinite}
.farm-cel .farm-catch-card{width:min(360px,100%);border:2px solid #987347;border-radius:14px;background:#fff6df;color:#173f35;box-shadow:0 5px 0 #70533645,0 14px 48px #173d4966}
.farm-cel .farm-catch-card h3{font-family:Georgia,serif;font-size:24px;color:#173f35}
.farm-cel .farm-catch-art{height:128px}
.farm-cel .farm-catch-rarity{display:inline-block;padding:5px 10px;border:1px solid #bea276;border-radius:8px;background:#f0e2bd;color:#345545;font-weight:700;font-size:11px}
.farm-cel .farm-catch-value{font-weight:650;color:#586a43}
.farm-cel .farm-catch-card[data-rarity=uncommon]{border-color:#77a66d}
.farm-cel .farm-catch-card[data-rarity=rare]{border-color:#729bc6}
.farm-cel .farm-catch-card[data-rarity=epic]{border-color:#ab85bc}
.farm-cel .farm-catch-card[data-rarity=legendary]{border-color:#bc8e3d;background:#fff0ca}
.farm-cel .farm-catch-card[data-rarity=prismatic]{border-color:#a487b7;background:#f5e9df;box-shadow:0 0 0 3px #b6caba75,0 14px 48px #173d4966}
.farm-cel .farm-catch-art .farm-cel-visual .fish-cel-tail{animation:cel-fish-tail .8s ease-in-out 2;transform-origin:29px 40px}
.farm-cel .farm-catch-card[data-rarity=escape] .fish-cel-escape{animation:cel-fish-slip .8s ease-out}
.farm-cel .farm-fishing-catalog article{border:1px solid #bca276;border-radius:10px;background:#fff8e7;color:#26483a}
.farm-cel .fishing-cel-boat-wake{animation:cel-boat-wake 2.8s ease-in-out infinite}
@keyframes cel-bobber-float{50%{transform:translateY(2px) rotate(2deg)}}
@keyframes cel-bobber-bite{50%{transform:translateY(6px) rotate(-7deg)}}
@keyframes cel-fish-wait{50%{transform:translateX(-3px)}}
@keyframes cel-fish-splash{0%{opacity:0;transform:translateY(2px)}25%{opacity:1}100%{opacity:0;transform:translateY(-4px)}}
@keyframes cel-fish-tail{50%{transform:rotate(5deg)}}
@keyframes cel-fish-slip{50%{transform:translateX(9px)}100%{transform:translateX(0)}}
@keyframes cel-boat-wake{50%{opacity:.45}}
/* These selectors cover new nested SVG parts and every result-card effect. */
.game-pref-reduced .farm-fishing-layer *,.game-pref-reduced .farm-angler-boat *,.game-pref-reduced .farm-catch-card,.game-pref-reduced .farm-catch-card *{animation:none!important}
@media(prefers-reduced-motion:reduce){.farm-fishing-layer *,.farm-angler-boat *,.farm-catch-card,.farm-catch-card *{animation:none!important}}
@media(max-width:430px){.farm-cel .farm-catch-card{padding:16px}.farm-cel .farm-catch-card h3{font-size:21px}.farm-cel .farm-catch-art{height:106px}}

.farm-cel .farm-fishing-caption{white-space:normal;width:max-content;max-width:min(230px,calc(100vw - 64px))}
.farm-cel .farm-inventory-item:has(.fish-art) .farm-inventory-rarity{display:inline-block;padding:3px 7px;border:1px solid #bba477;border-radius:6px;background:#f4e9c9;color:#315544;font-weight:700;align-self:flex-start}
