/* PawRush 0.4: original raster illustration atlas and responsive game scenes. */
.art{display:inline-block;width:100%;aspect-ratio:1;background-image:url('./assets/atlas.webp');background-size:400% 400%;background-position:var(--ax) var(--ay);background-repeat:no-repeat;flex-shrink:0;vertical-align:middle}
.mascot-sprite{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 10px #0007)}
.card-art>.art{width:140px;height:140px}.card-art>.mascot-sprite{height:165px;width:130px;object-position:top}.card-art{background-image:linear-gradient(#0c172c99,#0c172c33),url('./assets/city.webp')!important;background-size:cover!important}.card-scene .art{width:85px}.cow-card .mascot-sprite{height:175px;width:120px}.hero{background-image:linear-gradient(90deg,#0c172ce6,#0c172c44),url('./assets/city.webp');background-size:cover;background-position:center}
.cow-body{left:-34px;top:-99px;width:68px;height:112px;transform-origin:center 90%}.cow-body .mascot-sprite{width:100%;height:100%}.cow-shadow{top:10px}.cow-actor.hit .cow-body{animation:mascot-hit .7s forwards}.cow-actor.happy .cow-body{animation:mascot-win .55s 3}.cow-scene{background:linear-gradient(#0b162677,#0b1626cc),url('./assets/city.webp') center/cover}.barrier .art{height:50px;width:100%;opacity:.65}.car .art,.crash-car .art{height:78px;width:44px;aspect-ratio:auto;background-size:400% 400%}.car{transform:rotate(180deg)}
@keyframes mascot-hit{40%{transform:translate(10px,-28px) rotate(20deg)}100%{transform:translate(8px,15px) rotate(85deg);opacity:.8}}
@keyframes mascot-win{50%{transform:translateY(-22px) rotate(-8deg)}}
.gm-face .art{display:block;width:100%;height:100%}.gm-slot .art{width:90%;height:90%}.gm-legend .art{width:100%;height:auto}.gift-badge .art{width:30px}.gm-fly .art{width:100%;height:100%}.mines .art{width:85%;height:85%}.gm-box.opening .art{transform:translateY(-15px) rotate(-10deg);opacity:.3;transition:.18s}.gm-box{overflow:hidden}.gm-top{z-index:1}.merge-scene{background:radial-gradient(ellipse at 50% 30%,#2b2a6388,transparent),linear-gradient(#0b1422dd,#0b1422f5),url('./assets/city.webp') center/cover}
.v4-scene{position:relative;flex:1;min-width:0;min-height:500px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;gap:20px;background:linear-gradient(#08132090,#081320dc),url('./assets/city.webp') center/cover;border-radius:16px;overflow:hidden}.scene-label{text-align:center;color:#cae8ee;font-size:13px;line-height:1.6;max-width:520px}.v4-scene.entering .gift-card,.v4-scene.entering .storm-cell,.v4-scene.entering .playing-card{animation:reveal4 .65s both}.v4-scene.entering .storm-cell:nth-child(3n+2){animation-delay:.06s}.v4-scene.entering .storm-cell:nth-child(3n){animation-delay:.12s}
@keyframes reveal4{from{opacity:.15;transform:translateY(-20px) scale(.88);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
.gift-card{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.gift-card>.art{width:100%;max-width:140px}.gift-card>b{font-size:12px}.gift-card>span:last-child{font-size:12px;color:#78e8d7}.reward-summary{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.reward-summary .gift-card{width:90px}.reward-summary .gift-card>b,.reward-summary .gift-card>span{font-size:10px}
.upgrade-ring{position:relative;width:300px;height:300px;border:10px solid #284f62;border-top-color:#72ffe4;border-right-color:#4984b0;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 70px #37d9bd25,inset 0 0 50px #37d9bd17}.upgrade-ring .gift-card{width:160px}.upgrade-ring.won{border-color:#78ffe0}.upgrade-ring.lost{border-color:#bc5875}.orbit-light{position:absolute;inset:-15px;border-radius:50%;border-top:3px solid #d3fff7;animation:spin 3s linear infinite}.entering .upgrade-ring{animation:upgrade4 .65s}
@keyframes upgrade4{from{transform:scale(.85) rotate(-15deg)}to{transform:none}}
.sky{position:relative;width:100%;height:365px;overflow:hidden}.rocket-rider{position:absolute;width:155px;height:220px;left:45%;top:25%;transform:rotate(30deg);animation:rocket-bob 1.5s ease-in-out infinite}.rocket-rider>.art{position:absolute;width:150px;height:180px;bottom:0}.rocket-rider .mascot-sprite{position:absolute;width:65px;height:110px;left:43px;top:5px}.flight-readout{position:absolute;left:15px;top:10px;display:flex;flex-direction:column;z-index:5}.flight-readout small{letter-spacing:2px;font-size:9px;color:#92c2d0}.flight-readout strong{font-size:42px;font-weight:900}.rescue{display:none;position:absolute;width:155px;height:235px;left:54%;top:20px}.rescue>.art{height:150px}.rescue .mascot-sprite{position:absolute;width:70px;height:115px;top:113px;left:42px}.exploded .rocket-rider{animation:rocket-out .5s forwards}.exploded .rescue{display:block;animation:parachute 2.8s ease-out forwards}.blast{display:none;position:absolute;left:45%;top:40%;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,#fff7bc,#ffa44877,transparent 70%)}.exploded .blast{display:block;animation:blast4 .7s forwards}.landed .rocket-rider{animation:rocket-home 1.5s forwards}
@keyframes rocket-bob{50%{transform:translate(8px,-15px) rotate(30deg)}}@keyframes rocket-out{to{opacity:0;transform:translate(100px,-80px) rotate(80deg)}}@keyframes rocket-home{to{transform:translate(200px,-350px) rotate(30deg)}}@keyframes blast4{from{transform:scale(.1)}to{transform:scale(2);opacity:0}}@keyframes parachute{from{transform:translate(-25px,-80px) rotate(-12deg);opacity:0}30%{opacity:1}to{transform:translate(0,70px) rotate(4deg)}}
.route-points{display:flex;gap:20px;justify-content:space-between;border-top:2px dashed #6babbe;padding-top:15px}.route-points span{display:grid;place-items:center;width:35px;height:35px;border:1px solid #4d7185;border-radius:50%;background:#101d2c}.route-points .passed{background:#6ae9cf;color:#092326}.air-route{width:min(100%,460px)}.plane{width:150px;display:block;margin:auto;animation:plane-flight 3s ease-in-out infinite}.route-choices{display:flex;gap:12px;width:min(100%,450px)}.route-choices button{flex:1;min-width:0;background:#13263a}.route-choices .art{width:65px;display:block;margin:auto}.doors{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;width:100%;max-width:620px}.doors button{padding:10px 4px;background:#0b192acc;border:1px solid #486675;min-width:0}.doors button:hover:not(:disabled){box-shadow:0 0 30px #57e4c033}.doors button b{font-size:11px;display:block}.doors .trapped{background:#631c3b}.doors .trapped .art{filter:hue-rotate(120deg)}@keyframes plane-flight{50%{transform:translate(30px,-10px) rotate(-5deg)}}
.bj-table{width:100%;background:radial-gradient(ellipse,#164c4b99,#0e252cdd);border:3px solid #5b716e;border-radius:45%;padding:24px;text-align:center}.bj-table p{letter-spacing:2px;font-size:12px}.bj-table .cards{justify-content:center;flex-wrap:wrap;gap:7px}.bj-table .playing-card{width:62px;height:88px;font-family:Georgia,serif;border-radius:10px;background:linear-gradient(140deg,#fff,#d7e3e8);box-shadow:0 6px 14px #0005;border:2px solid #fff}.table-brand{font-size:16px;letter-spacing:5px;opacity:.35;margin:24px 0}.card-back{display:grid;place-items:center;width:60px;height:85px;border:3px double #73cabc;border-radius:9px;background:repeating-linear-gradient(45deg,#173e45,#173e45 4px,#1d4c53 5px);margin:auto;color:#9ad6c9;font-size:32px}
.storm-grid{display:grid;grid-template-columns:repeat(3,1fr);width:min(100%,380px);gap:10px}.storm-cell{border:1px solid #334e6e;background:#15243dcc;border-radius:16px;padding:12px;aspect-ratio:1}.storm-cell .art{height:100%}.storm-cell.match{border-color:#9ffff0;box-shadow:0 0 18px #3fffd655;background:#225457}.case-hero{width:155px}.battle-sides{display:flex;gap:20px;width:100%}.battle-sides section{flex:1;min-width:0;text-align:center}.battle-sides h3{font-size:12px;letter-spacing:2px}.loot-row{display:flex;gap:10px;justify-content:center}.loot-row .gift-card{flex:1}.game-arena .gift-card b{font-size:10px}.game-arena .gift-card span{font-size:10px}.game-arena .case-hero{width:110px}.game-cases .gift-card{max-width:190px}.game-cases .case-hero{animation:idle 2s infinite}
@media(max-width:700px){.v4-scene{padding:15px;min-height:430px;gap:14px}.upgrade-ring{width:240px;height:240px}.sky{height:325px}.rocket-rider{left:35%}.flight-readout strong{font-size:32px}.doors{gap:6px}.doors button{padding:6px 2px}.doors button b{font-size:10px}.bj-table{padding:16px 8px;border-radius:65px}.bj-table .playing-card{width:46px;height:70px;font-size:20px}.table-brand{font-size:11px}.battle-sides{flex-direction:column;gap:10px}.battle-sides h3{margin:4px}.loot-row .gift-card{max-width:90px}.game-arena .case-hero{width:75px}.game-arena{min-height:480px}.cow-body{left:-30px;top:-88px;width:60px;height:100px}.card-art>.art{width:110px;height:110px}.scene-label{font-size:12px}.route-points{gap:10px}.storm-cell{padding:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.rescue{animation:none!important;transform:translateY(50px)}.orbit-light{animation:none}.exploded .rocket-rider{display:none}}
