/* Isolated catch component. No legacy .fishing-celebration rules are imported. */
.ff-dialog{box-sizing:border-box;padding:0;margin:auto;border:0;border-radius:18px;width:min(1120px,calc(100vw - 24px),calc((100dvh - 24px)*1.3394));max-width:none;max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;background:#073e55;color:#fff2d3;box-shadow:0 18px 64px #0009;font-family:Georgia,serif;scrollbar-width:thin}
.ff-dialog::backdrop{background:#031c2be0;backdrop-filter:blur(5px)}
.ff-dialog,.ff-dialog *{box-sizing:border-box}
.ff-card{position:relative;width:100%;aspect-ratio:2048/1529;container-type:inline-size;background:linear-gradient(#0c5768 38%,#074257 64%,#07344f);isolation:isolate}
.ff-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;z-index:1}
.ff-header,.ff-footer,.ff-deer{display:none}
.ff-live{position:absolute;z-index:2;left:20%;right:20%;top:40.4%;display:flex;flex-direction:column;gap:.6cqw;text-align:center;align-items:stretch}
.ff-heading{margin:0;color:#ffe7bf;font-weight:700;text-shadow:0 2px 2px #361d20,0 4px 10px #0005;line-height:1.06}
.ff-heading span{display:block;font-size:3.7cqw;line-height:1.04;margin:0 0 .5cqw}
.ff-heading strong{display:block;font-size:2.8cqw;line-height:1.1;font-weight:700;overflow-wrap:break-word}
.ff-description{margin:0;color:#fff2d6;font:600 max(12px,1.63cqw)/1.2 system-ui,sans-serif}
.ff-species-meta{margin:0;color:#ffd982;font:800 max(11px,1.35cqw)/1.15 system-ui,sans-serif;letter-spacing:.03em}
.ff-stat-wrap{position:relative;margin:.35cqw 0 0}
.ff-stats{display:grid;grid-template-columns:1fr 1fr;gap:1.1cqw;width:92%;margin:0 auto}
.ff-stat{position:relative;min-width:0;min-height:8.4cqw;padding:.65cqw .6cqw;border:1.5px solid #edd697;border-radius:1.8cqw;background:linear-gradient(#0b4d5fcc,#053147cc);box-shadow:0 3px 8px #00121c55;font-family:system-ui,sans-serif;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.18cqw}
.ff-stat::before{content:"";position:absolute;left:-3px;top:-5px;width:29%;height:10px;border-radius:60% 55% 70% 12%;background:linear-gradient(#fffef4,#d4e9ef);transform:rotate(-4deg);box-shadow:0 1px 1px #6896ad}
.ff-stat:last-child::before{left:auto;right:-3px;transform:scaleX(-1) rotate(-4deg)}
.ff-total{font:700 3.6cqw/1 Georgia,serif;color:#ffdc88;font-variant-numeric:tabular-nums}
.ff-stat-label{font-size:max(12px,1.55cqw);font-weight:700;line-height:1.15}
.ff-award-icon{width:2.5cqw;height:2.5cqw;fill:#ffd276;filter:drop-shadow(0 2px 1px #6c3c1c);flex-shrink:0}
.ff-total.ff-long-count{font-size:2.7cqw}
.ff-award-name{color:#ffe2a9;font-size:max(11.5px,1.42cqw);line-height:1.1;font-weight:700;overflow-wrap:anywhere;max-width:100%}
.ff-progress-group{width:88%;margin:0 auto;display:flex;flex-direction:column;gap:.45cqw}
.ff-next,.ff-earned{margin:0;font:700 max(12px,1.6cqw)/1.16 system-ui,sans-serif;color:#ffebba}
.ff-progress{display:block;appearance:none;width:100%;height:1.55cqw;min-height:9px;border:2px solid #ffe6b6;border-radius:999px;overflow:hidden;background:#44384a;box-shadow:0 2px 4px #0005}
.ff-progress::-webkit-progress-bar{background:#44384a;border-radius:999px}
.ff-progress::-webkit-progress-value{border-radius:999px;background:repeating-linear-gradient(130deg,#ffd074 0 10px,#ffdc8f 10px 20px)}
.ff-progress::-moz-progress-bar{border-radius:999px;background:repeating-linear-gradient(130deg,#ffd074 0 10px,#ffdc8f 10px 20px)}
.ff-earned{color:#ffd79a}
.ff-release{position:relative;width:86%;align-self:center;margin:.4cqw 0 0;min-height:44px;padding:.75cqw .7cqw;border:2px solid #ffe6b0;border-radius:2cqw;background:linear-gradient(#ffdb95,#ffad57 80%,#f39140);box-shadow:0 4px 0 #794224,0 5px 8px #001d3580;color:#42271d;font:800 1.95cqw/1.15 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
.ff-release::before{content:"";position:absolute;left:-3px;right:-3px;top:-7px;height:9px;border-radius:80% 20% 25% 10%;background:linear-gradient(#fffef6,#d5e7ec);pointer-events:none;clip-path:polygon(0 0,100% 0,100% 100%,94% 76%,85% 90%,70% 45%,50% 40%,35% 50%,18% 87%,7% 70%,0 100%)}
.ff-release:hover{filter:brightness(1.05)}
.ff-release:focus-visible,.ff-close:focus-visible{outline:3px solid white;outline-offset:3px}
.ff-heading:focus{outline:none}
.ff-close{position:absolute;z-index:4;right:5px;top:5px;width:44px;height:44px;border:1px solid #f6dea877;border-radius:50%;background:#073647dd;color:#fff0c9;display:grid;place-items:center;cursor:pointer}
.ff-close svg{width:19px;height:19px;stroke:currentColor;stroke-width:2;fill:none}
.ff-dialog[open] .ff-card{animation:ff-arrive .18s ease-out}
@keyframes ff-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:659px),(max-height:559px){
 .ff-dialog{width:min(430px,calc(100vw - 16px));max-height:calc(100dvh - 16px);border:2px solid #e7c37a;border-radius:18px;overflow:auto}
 .ff-card{aspect-ratio:auto;background:linear-gradient(#10596a,#073c53 70%,#07344f)}
 .ff-frame{display:none}
 .ff-header{display:block;width:100%;height:auto;aspect-ratio:900/356;object-fit:contain;pointer-events:none}
 .ff-footer{display:block;width:100%;height:auto;aspect-ratio:900/228;object-fit:contain;margin-top:10px;pointer-events:none}
 .ff-live{position:relative;inset:auto;width:auto;padding:8px 16px 0;gap:10px}
 .ff-heading span{font-size:clamp(24px,7vw,29px);margin:0 0 4px}
 .ff-heading strong{font-size:clamp(21px,6vw,26px);line-height:1.1;max-width:100%}
 .ff-description{font-size:14px;line-height:1.25;max-width:310px;align-self:center}
 .ff-stat-wrap{margin:1px -8px 0;padding:0 34px}
 .ff-stats{width:100%;gap:8px}
 .ff-stat{min-height:93px;padding:7px 6px;border-radius:14px;gap:3px}
 .ff-total{font-size:30px}.ff-total.ff-long-count{font-size:20px}.ff-stat-label{font-size:12px;line-height:1.15}
 .ff-award-icon{width:24px;height:24px}.ff-award-name{font-size:12px;line-height:1.15}
 .ff-progress-group{width:100%;gap:7px}.ff-next,.ff-earned{font-size:13px;line-height:1.25}.ff-progress{height:13px}
 .ff-release{width:100%;min-height:48px;margin:3px 0 0;padding:10px;border-radius:17px;font-size:16px;line-height:1.2}
 .ff-deer{position:absolute;display:block;top:3px;width:38px;height:auto;pointer-events:none}
 .ff-deer-left{left:-7px}.ff-deer-right{right:-7px}
 .ff-close{right:3px;top:3px;width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){.ff-dialog[open] .ff-card{animation:none}}
/* Text expansion is intentionally scrollable instead of clipped. */
.ff-dialog.ff-reading{width:min(600px,calc(100vw - 16px));overflow:auto}
.ff-reading .ff-card{aspect-ratio:auto}
.ff-reading .ff-frame{display:none}
.ff-reading .ff-header,.ff-reading .ff-footer{display:block;width:100%;height:auto}
.ff-reading .ff-live{position:relative;inset:auto;padding:16px;width:100%;gap:12px}
.ff-reading .ff-heading span{font-size:2rem}.ff-reading .ff-heading strong{font-size:1.7rem}
.ff-reading .ff-description,.ff-reading .ff-next,.ff-reading .ff-earned{font-size:1rem}
.ff-reading .ff-stat{min-height:100px;padding:8px}.ff-reading .ff-total{font-size:2rem}
.ff-reading .ff-stat-label,.ff-reading .ff-award-name{font-size:1rem}
.ff-reading .ff-award-icon{width:28px;height:28px}.ff-reading .ff-release{font-size:1.1rem;min-height:48px}

/* The game also has an explicit reduced-motion preference. */
.ff-dialog.ff-motion-off[open] .ff-card{animation:none}
