/* Arcade catch splash: ink outlines, halftone bursts, salvage-yellow lettering. */
.catch-reveal{--catch-accent:#54d9ed;--catch-yellow:#ffcf31;--catch-ink:#101619;position:fixed;inset:0;z-index:10000;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;width:100%;height:100%;height:100dvh;box-sizing:border-box;color:#fff4d4;background:radial-gradient(ellipse at 50% 45%,#123c50e0 0%,#081622ed 55%,#050d15fa 100%);font-family:"Arial Black","Noto Sans CJK SC","Microsoft YaHei",sans-serif;cursor:pointer;outline:none;touch-action:manipulation;animation:catch-open .23s ease-out both;user-select:none}
.catch-reveal *{box-sizing:border-box;pointer-events:none}
.catch-rank-1{--catch-accent:#79e83d}.catch-rank-2{--catch-accent:#d08bff;background:radial-gradient(ellipse at 50% 45%,#533276bb,#151729ec 58%,#090e18f5)}
.catch-wash{position:absolute;inset:0;z-index:-2;overflow:hidden;opacity:.42;background:radial-gradient(#0009 1px,transparent 1.7px) 0 0/8px 8px;mask-image:radial-gradient(ellipse at center,transparent 20%,#000 85%)}
.catch-speedlines{position:absolute;inset:0;z-index:-1;opacity:.12;background:repeating-conic-gradient(from 8deg at 50% 50%,transparent 0deg 10deg,var(--catch-accent) 10.2deg 10.7deg,transparent 11deg 19deg);mask-image:radial-gradient(ellipse,#0000 10%,#000 35%,#0000 64%);animation:catch-rays .6s ease-out both}
.catch-topline{width:100%;display:flex;justify-content:space-between;gap:12px;padding:25px 35px;font-size:11px;font-weight:900;letter-spacing:.15em;color:#b9c8ce}.catch-topline i{font-style:normal;color:var(--catch-yellow);margin:0 10px}.catch-topline b{font-size:19px;color:var(--catch-yellow);margin-left:7px}
.catch-composition{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;min-height:0;width:min(100%,1100px)}
.catch-announcement{position:relative;z-index:3;text-align:center;transform:rotate(-5deg);animation:catch-title .55s .16s cubic-bezier(.2,.8,.25,1.2) both;padding:0 30px}
.catch-announcement:before{content:"";position:absolute;inset:28% -6% 4%;background:var(--catch-yellow);clip-path:polygon(3% 7%,100% 0,94% 91%,0 100%);z-index:-1;filter:drop-shadow(5px 6px 0 #000)}
.catch-announcement small{display:block;color:#f2f2dd;font-size:13px;letter-spacing:.38em;font-weight:900;text-shadow:2px 2px #101619;margin-bottom:5px}
.catch-announcement strong{display:block;font-size:clamp(35px,5.5vw,76px);line-height:1.24;font-style:italic;font-weight:1000;letter-spacing:.03em;color:#fff5cf;-webkit-text-stroke:2px var(--catch-ink);paint-order:stroke fill;text-shadow:4px 5px 0 var(--catch-ink),7px 8px 0 #7a4a18;padding:2px 12px 12px}
.catch-specimen{position:relative;overflow:clip;flex:1;min-height:150px;width:100%;max-width:930px;display:grid;place-items:center;margin-top:-8px}
.catch-orbit{position:absolute;height:89%;max-height:390px;aspect-ratio:1.3;opacity:.48;background:var(--catch-accent);clip-path:polygon(50% 0,56% 24%,71% 5%,69% 29%,95% 15%,81% 37%,100% 43%,82% 53%,98% 70%,73% 68%,77% 94%,57% 77%,47% 100%,39% 78%,19% 95%,24% 70%,0 79%,16% 57%,0 44%,21% 37%,7% 15%,34% 29%,33% 5%,44% 24%);animation:catch-burst .62s .05s cubic-bezier(.16,1,.3,1) both}
.catch-orbit:before{content:"";position:absolute;inset:6%;background:radial-gradient(#10161999 1.4px,transparent 1.9px) 0 0/7px 7px;mask-image:radial-gradient(ellipse,transparent 10%,#000 80%)}
.catch-orbit:after{content:"";position:absolute;inset:23%;background:#e8ffff75;clip-path:polygon(0 23%,41% 34%,51% 0,60% 36%,100% 12%,74% 51%,95% 84%,57% 67%,40% 100%,33% 65%,0 76%,20% 48%)}
.catch-ripple{position:absolute;width:45%;aspect-ratio:1;border:9px solid #d8fbfa;border-radius:50%;opacity:0;animation:catch-ripple .7s .08s ease-out both}
.catch-model{position:absolute;inset:0 3%;filter:drop-shadow(3px 0 0 #101619) drop-shadow(-2px 0 0 #101619) drop-shadow(0 3px 0 #101619) drop-shadow(8px 15px 0 #0005);animation:catch-surface .75s .08s cubic-bezier(.16,1,.3,1) both}
.catch-model canvas,.catch-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.catch-fallback{padding:5%;transform:rotate(-7deg)}
.catch-motes{position:absolute;inset:-8% 0;overflow:hidden}.catch-motes i{position:absolute;left:var(--x);top:var(--y);width:6px;height:17px;border:2px solid #101619;background:#c8f7ff;transform:rotate(var(--turn));animation:catch-mote 1.2s var(--d) ease-out both}.catch-motes i:nth-child(3n){background:var(--catch-yellow);width:10px;height:10px}.catch-motes i:nth-child(4n){width:4px;height:35px;background:var(--catch-accent)}
.catch-rarity{position:absolute;left:10%;top:15%;padding:8px 15px;background:var(--catch-accent);border:3px solid #101619;box-shadow:4px 4px #101619;transform:rotate(-10deg);color:#111b20;font-size:14px;font-weight:1000;animation:catch-tag .3s .42s both;z-index:2}.catch-rarity span{display:block;font-size:12px;letter-spacing:5px;margin-top:2px}
.catch-stamp{position:absolute;right:7%;bottom:12%;display:flex;gap:8px;align-items:center;background:#ffce30;border:4px solid #13191c;outline:2px solid #ffce30;box-shadow:5px 7px #0008;padding:8px 16px;color:#171b1b;transform:rotate(-12deg);opacity:0;z-index:3}.catch-stamp b{font-size:20px;font-weight:1000;letter-spacing:.05em}.catch-stamp span{font-size:23px}
.catch-info{z-index:3;position:relative;text-align:center;flex-shrink:0;max-width:96%;padding:0 20px 4px;margin-top:-12px}
.catch-reveal .catch-name{display:block;font-size:clamp(28px,3.5vw,46px);font-weight:1000;font-style:italic;letter-spacing:.06em;line-height:1.3;color:#fff8dc;margin:0 0 9px;-webkit-text-stroke:2px #0b1217;paint-order:stroke fill;text-shadow:3px 4px #000;animation:catch-tag .32s .27s both;overflow-wrap:anywhere}
.catch-weight{display:flex;align-items:baseline;justify-content:center;gap:10px;color:var(--catch-yellow);white-space:nowrap;animation:catch-tag .35s .35s both}
.catch-weight>span{font:1000 italic clamp(42px,5vw,68px)/1.05 "Arial Black",Impact,sans-serif;letter-spacing:-.055em;font-variant-numeric:tabular-nums;-webkit-text-stroke:2px #11191f;paint-order:stroke fill;text-shadow:3px 4px #000}.catch-weight b{font:1000 italic 23px "Arial Black",sans-serif;text-shadow:2px 3px #000}.catch-weight small{color:#becbd1;font-size:10px;letter-spacing:.06em}
.catch-reveal .catch-record{color:#d4d8cb;font-size:12px;line-height:1.5;margin:8px 0 0;opacity:0}
.catch-bottom{width:100%;flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:13px;padding:15px 20px max(22px,env(safe-area-inset-bottom));text-align:center;animation:catch-tag .4s .5s both}
.catch-outcome{color:#edeee0;background:#10171bba;transform:skew(-5deg);border-left:4px solid var(--catch-accent);padding:7px 20px;font-size:12px;font-weight:700}.catch-outcome:before{content:"+";color:var(--catch-accent);margin-right:8px;font-weight:1000}
.catch-dismiss{font-size:13px;font-weight:700;letter-spacing:.2em;color:#fff0bd;text-shadow:2px 2px #000;animation:catch-prompt 2s 1.5s ease-in-out infinite}.catch-dismiss span{color:var(--catch-yellow);font-size:20px;vertical-align:-1px}
.catch-reveal:focus-visible .catch-dismiss{text-decoration:underline;text-underline-offset:5px}
.catch-reveal[data-exit]{animation:catch-close .26s ease-in both}.catch-reveal[data-exit] .catch-model{animation:catch-store .26s ease-in both}
body:has(.catch-reveal) :is(#stage header,#note,#test-badge,#stage footer,#toast,#reticle,.world-label){visibility:hidden}
@keyframes catch-open{from{opacity:0}to{opacity:1}}
@keyframes catch-title{0%{opacity:0;transform:rotate(-14deg) scale(2.3)}55%{opacity:1;transform:rotate(-5deg) scale(.94)}78%{transform:rotate(-5deg) scale(1.04)}100%{transform:rotate(-5deg) scale(1)}}
@keyframes catch-surface{0%{opacity:0;transform:translateY(160px) rotate(-25deg) scale(.3)}65%{opacity:1;transform:translateY(-12px) rotate(4deg) scale(1.06)}100%{opacity:1;transform:none}}
@keyframes catch-burst{0%{opacity:0;transform:scale(.1) rotate(-24deg)}45%{opacity:.85}100%{opacity:.48;transform:scale(1) rotate(0)}}
@keyframes catch-rays{from{opacity:0;transform:scale(.5)}to{opacity:.12;transform:scale(1)}}
@keyframes catch-ripple{from{opacity:.7;transform:scale(.2)}to{opacity:0;transform:scale(2)}}
@keyframes catch-mote{0%{opacity:0;translate:0 70px}22%{opacity:1}100%{opacity:0;translate:var(--dx) -100px}}
@keyframes catch-tag{from{opacity:0;translate:0 20px}to{opacity:1;translate:0 0}}
@keyframes catch-stamp{0%{opacity:0;transform:rotate(-20deg) scale(2)}65%{opacity:1;transform:rotate(-12deg) scale(.9)}100%{opacity:1;transform:rotate(-12deg) scale(1)}}
@keyframes catch-prompt{0%,100%{opacity:.65}50%{opacity:1}}
@keyframes catch-close{to{opacity:0}}
@keyframes catch-store{from{transform:none;opacity:1}to{transform:translateY(70px) scale(.6);opacity:0}}
@media(max-width:650px){
 .catch-topline{padding:20px 18px;font-size:9px}.catch-topline b{font-size:14px}.catch-topline i{margin:0 5px}
 .catch-announcement{margin-top:15px;padding:0 10px}.catch-announcement strong{font-size:43px;-webkit-text-stroke:1.5px}.catch-announcement small{font-size:10px;letter-spacing:.25em}
 .catch-specimen{max-height:390px;margin-top:10px}.catch-model{inset:0 -3%}.catch-orbit{height:auto;width:76%;max-height:none;aspect-ratio:1}
 .catch-rarity{top:10%;left:8%;font-size:12px;padding:5px 10px}.catch-rarity span{font-size:10px}.catch-stamp{right:8%;bottom:7%;padding:6px 10px;border-width:3px}.catch-stamp b{font-size:16px}.catch-stamp span{font-size:17px}
 .catch-info{margin-top:0;padding-inline:14px}.catch-reveal .catch-name{font-size:34px}.catch-weight>span{font-size:55px}.catch-weight b{font-size:19px}.catch-weight small{font-size:9px}.catch-reveal .catch-record{font-size:11px}
 .catch-bottom{padding-top:18px;padding-bottom:max(28px,env(safe-area-inset-bottom));gap:18px}.catch-outcome{font-size:11px}.catch-dismiss{font-size:12px}
}
@media(max-height:650px){.catch-topline{padding-block:10px}.catch-announcement{margin-top:0}.catch-announcement strong{font-size:38px}.catch-announcement small{font-size:9px}.catch-specimen{min-height:80px}.catch-info{margin-top:-8px}.catch-reveal .catch-name{font-size:27px;margin-bottom:2px}.catch-weight>span{font-size:40px}.catch-reveal .catch-record{font-size:10px;margin-top:4px}.catch-bottom{padding-block:8px;gap:5px}.catch-stamp{padding:4px 8px}.catch-stamp b{font-size:14px}.catch-rarity{font-size:11px;padding:4px 8px}}

/* Second beat: water settles under the fish, then the weight lands and the seal hits. */
.catch-edge{position:absolute;left:0;right:0;height:5px;z-index:5;opacity:.65;background:repeating-linear-gradient(125deg,var(--catch-yellow) 0 12px,#0c1218 12px 24px);mask-image:linear-gradient(90deg,#000,transparent 35%,transparent 65%,#000)}
.catch-edge-top{top:0}.catch-edge-bottom{bottom:0}
.catch-topline{padding-top:max(22px,env(safe-area-inset-top));opacity:.8}
.catch-aura{position:absolute;width:82%;height:100%;background:radial-gradient(ellipse,var(--catch-accent),transparent 65%);opacity:.15;animation:catch-aura .9s .05s both}
.catch-sonar{position:absolute;height:86%;aspect-ratio:1;border:1px solid #daf7ec25;border-radius:50%;animation:catch-sonar .85s .1s both}
.catch-sonar:before{content:"";position:absolute;inset:10px;border:2px dashed #b6e9eb27;border-radius:50%}
.catch-sonar:after{content:"";position:absolute;inset:-7px;border:3px solid transparent;border-left-color:var(--catch-accent);border-right-color:var(--catch-accent);border-radius:50%;opacity:.55;transform:rotate(-27deg)}
.catch-sonar i{position:absolute;inset:22%;border:1px solid #b6e9eb1c;border-radius:50%}
.catch-splash{position:absolute;inset:-2% 5% 0;animation:catch-water .95s .12s cubic-bezier(.16,1,.3,1) both}
.catch-splash svg{width:100%;height:100%;overflow:visible}
.catch-water-shadow{fill:#071420;stroke:#071420;stroke-width:11;stroke-linejoin:round;transform:translate(0,5px)}
.catch-water-body{fill:#2ca9c2;fill-opacity:.65;stroke:#8cebf4;stroke-width:3;stroke-linejoin:round}
.catch-water-foam{stroke:#e2ffff;stroke-width:5;stroke-linecap:round;opacity:.85}
.catch-water-droplet{fill:#79d6e7;stroke:#132332;stroke-width:3;animation:catch-droplets .9s .12s both;transform-origin:50% 70%}
.catch-glints{position:absolute;inset:0;overflow:hidden}
.catch-glints i{position:absolute;width:21px;aspect-ratio:1;background:#ffecb2;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);filter:drop-shadow(0 0 6px #ffcc68);animation:catch-glint 3.6s 1.1s 2 both}
.catch-glints i:nth-child(1){left:25%;top:26%}.catch-glints i:nth-child(2){right:23%;top:40%;width:14px;animation-delay:1.65s}.catch-glints i:nth-child(3){left:38%;bottom:20%;width:11px;animation-delay:2.2s}
.catch-rank-0 .catch-glints i:nth-child(n+2){display:none}
.catch-rank-2 .catch-sonar:after{border-width:5px;box-shadow:0 0 23px #bf91ff2e}
.catch-announcement:after{content:"";position:absolute;inset:38% -3% 12%;z-index:0;opacity:.22;background:repeating-linear-gradient(173deg,transparent 0 16px,#62471388 17px 18px,transparent 19px 30px);clip-path:polygon(0 5%,100% 0,97% 100%,4% 98%)}
.catch-announcement strong{position:relative;z-index:1}
.catch-info:before{content:"";position:absolute;inset:-3px -50px 10px;z-index:-1;background:radial-gradient(ellipse,#081421cf,transparent 70%)}
.catch-weight{position:relative;padding:2px 25px 6px}
.catch-weight:before{content:"";position:absolute;inset:4px 0 0;z-index:-1;background:#0a131bd9;clip-path:polygon(4% 7%,100% 0,95% 85%,1% 100%);border-bottom:3px solid var(--catch-yellow)}
.catch-weight small{align-self:center;max-width:2.3em;white-space:normal;line-height:1.45;text-align:left;margin-left:3px}
.catch-stamp{outline:none;padding:9px 14px;box-shadow:4px 6px #02080eb3;gap:10px}
.catch-stamp small{display:block;color:inherit;opacity:.65;font:900 8px/1.4 Arial,sans-serif;letter-spacing:.2em;margin-bottom:3px}
.catch-stamp b{display:block;white-space:nowrap;font-size:19px;line-height:1.2}
.catch-stamp:after{content:"";position:absolute;inset:3px;border:1px dashed #151c2470}
.catch-reveal[data-special=record] .catch-stamp{background:#fff0b8;border-color:#ffca38;outline:3px solid #11191e;color:#141d23}
.catch-reveal[data-special=catch] .catch-stamp{background:#d6e9de}
.catch-reveal[data-settled] .catch-stamp{animation:catch-stamp .3s .1s both}
.catch-reveal[data-settled] .catch-weight{animation:catch-weight-hit .28s both}
.catch-reveal[data-settled] .catch-record{opacity:1;animation:catch-tag .3s .18s both}
.catch-record b{color:var(--catch-yellow);font-weight:900;margin-right:5px}
.catch-dismiss:before{content:"";display:inline-block;vertical-align:-3px;width:11px;height:15px;border:2px solid #ffe7a7;border-radius:5px;margin-right:10px}
.catch-outcome{border-left:0;background:transparent;color:#b6d4cd;padding:5px 14px;font-weight:500;transform:none}
.catch-outcome:before{content:"✓";color:var(--catch-accent);font-size:12px;margin-right:7px}
.catch-bottom{gap:10px;background:linear-gradient(transparent,#02091250)}
.catch-reveal[data-exit] .catch-sonar,.catch-reveal[data-exit] .catch-splash{animation:catch-close .18s both}
@keyframes catch-water{0%{opacity:0;transform:translateY(50px) scale(.3)}55%{opacity:1;transform:translateY(-5px) scale(1.04)}100%{opacity:.8;transform:translateY(0) scale(1)}}
@keyframes catch-droplets{0%{opacity:0;transform:translateY(20px) scale(.5)}35%{opacity:1;transform:translateY(-20px) scale(1.1)}100%{opacity:.3;transform:translateY(5px) scale(.95)}}
@keyframes catch-aura{0%{opacity:0;transform:scale(.4)}40%{opacity:.3}100%{opacity:.15;transform:scale(1)}}
@keyframes catch-sonar{from{opacity:0;transform:scale(.3) rotate(-55deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes catch-glint{0%,20%,100%{opacity:0;transform:scale(.3) rotate(-30deg)}8%{opacity:.9;transform:scale(1) rotate(0)}}
@keyframes catch-weight-hit{0%{transform:scale(1)}40%{transform:scale(1.065)}100%{transform:scale(1)}}
@media(max-width:650px){
 .catch-specimen{margin-top:3px}.catch-splash{inset:0 -12%}.catch-sonar{height:auto;width:80%;max-width:330px}
 .catch-rarity{top:10%;left:5%;padding:5px 10px}.catch-stamp{right:5%;bottom:5%;padding:8px 10px;transform:rotate(-9deg)}.catch-stamp b{font-size:15px}.catch-stamp small{font-size:7px}
 .catch-weight{padding:2px 17px 6px}.catch-info{padding-inline:10px}.catch-reveal .catch-name{margin-bottom:6px}
 .catch-bottom{padding-top:12px;gap:10px}.catch-dismiss:before{width:12px;height:12px;border-radius:50%;vertical-align:-2px}
}
/* Short landscape devices get a separate composition, not a squashed portrait stack. */
@media(max-height:560px) and (min-width:600px){
 .catch-topline{padding:12px 22px 2px;font-size:9px}.catch-topline b{font-size:13px}
 .catch-composition{display:grid;grid-template-columns:57% 43%;grid-template-rows:72px minmax(0,1fr);padding:0 25px;width:min(100%,1060px)}
 .catch-announcement{grid-column:1 / -1;grid-row:1;margin:0;justify-self:center;padding:0 15px}.catch-announcement small{font-size:8px}.catch-announcement strong{font-size:34px;padding-bottom:6px}
 .catch-specimen{grid-column:1;grid-row:2;height:100%;min-height:0;margin:0;max-height:none}.catch-model{inset:-3% 0}.catch-splash{inset:-10% -5%}.catch-sonar{height:88%;width:auto}
 .catch-rarity{top:8%;left:2%;padding:3px 8px;font-size:10px}.catch-rarity span{font-size:8px}.catch-stamp{bottom:7%;right:5%;padding:4px 8px}.catch-stamp b{font-size:12px}.catch-stamp small{font-size:6px}.catch-stamp>span{font-size:15px}
 .catch-info{grid-column:2;grid-row:2;align-self:center;margin:0;padding:0 8px}.catch-reveal .catch-name{font-size:28px;line-height:1.2;margin-bottom:9px}.catch-weight{gap:7px;padding-inline:14px}.catch-weight>span{font-size:43px}.catch-weight b{font-size:16px}.catch-weight small{font-size:8px}.catch-reveal .catch-record{font-size:10px;line-height:1.7;margin-top:9px}
 .catch-bottom{flex-direction:row;justify-content:center;gap:35px;padding:5px 15px max(12px,env(safe-area-inset-bottom))}.catch-outcome{font-size:10px}.catch-dismiss{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.catch-reveal,.catch-reveal *,.catch-reveal :before,.catch-reveal :after{animation:none!important;transition:none!important}.catch-motes,.catch-ripple,.catch-glints{display:none}.catch-stamp,.catch-record{opacity:1}.catch-reveal[data-exit]{opacity:0}}
