.pet-game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}
.pet-game-shortcut{display:grid;grid-template-columns:38px minmax(0,1fr);gap:3px 8px;align-items:center;padding:13px 10px;text-align:left;border:1px solid #bc7cce;border-radius:18px;background:linear-gradient(135deg,#85509aaa,#3a164e);box-shadow:inset 0 1px #e6b9ff22}
.pet-game-shortcut .pet-game-symbol{grid-row:1/3;font-size:29px;text-align:center}.pet-game-shortcut b{font-size:15px}.pet-game-shortcut small{font-size:10px;color:#e1bce9;line-height:1.4}
.pet-game-shortcut.locked{opacity:.45;filter:saturate(.4)}
.pet-game-content{display:grid;gap:15px;padding-bottom:20px;min-width:0}.pet-game-content h3{margin:0;font-size:18px}.pet-game-content p{line-height:1.5}
.pet-game-note{font-size:12px;line-height:1.6!important;color:#e1b7ed;background:#6c367b3d;border:1px solid #b97bc144;padding:14px;border-radius:16px;margin:0}.pet-game-fine{font-size:11px;color:#c29bd3;text-align:center;margin:0;line-height:1.5}
.pet-skill-hero{height:190px;display:grid;place-items:center;background:radial-gradient(ellipse,#ce89fa44,transparent 65%)}.pet-skill-hero .pet-sprite{width:185px;filter:drop-shadow(0 0 13px #ec9aff66)}
.pet-skill-card{padding:20px 16px;border:1px solid #b479cd;border-radius:21px;background:linear-gradient(135deg,#713f89aa,#30113f);box-shadow:inset 0 1px 14px #d899ec11}
.pet-skill-title{display:flex;align-items:center;gap:10px}.pet-skill-title>span{font-size:26px}.pet-skill-title>b{margin-left:auto;color:#ffe7ac;font-size:20px}.pet-skill-card p{margin:12px 0 0;font-size:12px;color:#d7b4e3}
.pet-skill-stars{display:flex;justify-content:space-between;gap:1px;margin-top:16px;isolation:isolate}.pet-skill-stars span{font-size:clamp(20px,6vw,30px);line-height:1;background:linear-gradient(90deg,#ffe17b var(--fill),#77518d var(--fill));background-clip:text;-webkit-background-clip:text;color:transparent;filter:drop-shadow(0 0 3px #f5b7e444);animation:pet-stars-fill .8s ease-out}
@keyframes pet-stars-fill{from{filter:brightness(1.8) drop-shadow(0 0 8px #ffd275)}to{filter:brightness(1) drop-shadow(0 0 3px #f5b7e444)}}
.pet-achievement-summary{padding:18px;border:1px solid #a86abf;border-radius:20px;background:linear-gradient(125deg,#6d347d,#351044);display:grid;gap:8px}.pet-achievement-summary>b{justify-self:end;padding:5px 10px;border-radius:20px;background:#bf7cce33;color:#f5d7ff;font-size:12px}.pet-achievement-summary>span{color:#d6a8e7;font-size:13px}.pet-achievement-summary>strong{font-size:30px;line-height:1.1;color:#ffe59b}
.pet-achievement{display:grid;gap:12px;border:1px solid #9961ad;border-radius:20px;padding:18px;background:linear-gradient(130deg,#6c3b7c88,#2c103f)}.pet-achievement-title{display:flex;gap:10px;align-items:center}.pet-achievement-title>span{font-size:25px}.pet-achievement-title h3{font-size:17px}.pet-achievement>p{margin:0;font-size:13px;color:#e6c6f1}.pet-achievement>small{font-size:11px;color:#cba5d9;text-align:right}.pet-achievement-rewards{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.pet-achievement-rewards b{color:#ffdf83}.pet-achievement-rewards>span{color:#ffb7e4;font-weight:800}.pet-achievement .pet-primary{width:100%;font-size:14px!important}.pet-achievement.locked .pet-primary{opacity:.35}.pet-achievement.ready{border-color:#edb3ff;box-shadow:0 0 19px #c879fb36,inset 0 0 22px #ce7df312}.pet-achievement.claimed{opacity:.65}.pet-achievement.claimed .pet-primary,.pet-achievement.revoked .pet-primary{background:#693d7c;color:#e1bfdc!important;border-color:#8a5d9c;box-shadow:none}.pet-achievement.revoked{opacity:.65}
.pet-game-result{text-align:center}.pet-prize-xp{display:block;color:#ffb1e4;font-size:25px;margin:10px 0}.pet-game-result .pet-reward-card>p{font-size:15px}.pet-game-result .pet-reward-stage{height:180px}.pet-game-result .pet-reward-stage .pet-sprite{width:175px}
.pet-fish-status{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:7px;padding:11px 14px;border:1px solid #a678c6;border-radius:16px;background:#572b7066}.pet-fish-status b{color:#ffe49a;font-size:14px}.pet-fish-status small{font-size:10px;color:#d7b1e7}
.pet-pond{position:relative;isolation:isolate;height:300px;overflow:hidden;border:1px solid #ae83db;border-radius:25px;background:radial-gradient(circle at 75% 18%,#eab6ef44,transparent 20%),linear-gradient(#1b133f 0,#44306d 45%,#39317a 46%,#332158 100%);box-shadow:inset 0 0 40px #12052277,0 8px 26px #0a011b55;cursor:pointer}
.pet-pond::before{content:'✧　　 ✦　　　　　✧';position:absolute;top:18px;left:6%;right:6%;color:#e0b5ff;font-size:16px;text-shadow:0 0 8px #f3caff;letter-spacing:10px;opacity:.8}
.pet-pond-moon{position:absolute;width:49px;height:49px;border-radius:50%;top:30px;right:60px;background:#fff2c4;box-shadow:0 0 22px #ffe3bd77,0 0 65px #dbb4ff44}.pet-pond-moon::after{content:'';position:absolute;inset:-1px -8px 8px 9px;border-radius:50%;background:#3d285f}
.pet-pond-water{position:absolute;top:43%;bottom:0;left:12%;right:-20%;transform:rotate(-3deg);border-radius:45% 0 0 0;background:repeating-linear-gradient(175deg,transparent 0 23px,#b893f31a 25px 27px,transparent 29px 47px),linear-gradient(160deg,#7160b0,#373d86 45%,#232758);box-shadow:inset 0 12px 28px #b28bdb2b}
.pet-pond-water::before,.pet-pond-water::after{content:'';position:absolute;inset:15% 8% 0;background:repeating-linear-gradient(0deg,transparent 0 26px,#bb9cf022 27px 29px,transparent 30px 49px);animation:pet-water 4s ease-in-out infinite alternate;border-radius:50%}.pet-pond-water::after{inset:25% 4% 0;animation-delay:-2s;opacity:.5}
@keyframes pet-water{to{transform:translate(12px,4px);opacity:.4}}
.pet-pond-bank{position:absolute;left:-25%;bottom:-35%;width:85%;height:80%;border-radius:50%;transform:rotate(-22deg);background:radial-gradient(ellipse at 65% 15%,#a989b944,transparent 50%),linear-gradient(125deg,#644875,#312444 65%);box-shadow:6px -4px 0 #a180bb44,12px 0 15px #16164166}
.pet-pond-reeds{position:absolute;right:10px;bottom:8px;width:6px;height:60px;border-radius:100% 100% 0 0;background:#ae7da366;box-shadow:-10px 12px 0 #5f426c,10px 8px 0 #845479,-19px 23px 0 #5c3c63;transform:rotate(12deg)}
.pet-fisher{position:absolute;left:2%;bottom:12%;width:44%;height:52%}.pet-fisher>.pet-sprite{position:absolute;bottom:0;width:100%;filter:drop-shadow(0 4px 5px #1a082c88)}.pet-fishing-rod{position:absolute;left:67%;top:25%;width:114px;height:5px;transform:rotate(-24deg);transform-origin:left;background:linear-gradient(#eed1b4,#9a718c);border-radius:6px;box-shadow:0 1px 2px #160a2b}.pet-fishing-rod::after{content:'';position:absolute;top:2px;right:1px;width:1px;height:103px;background:#dfc7ebbb;transform:rotate(24deg);transform-origin:top}
.pet-bobber{position:absolute;left:65%;top:53%;width:48px;height:48px;padding:0;border:0;background:transparent;cursor:pointer;z-index:3}.pet-bobber>span{position:absolute;left:17px;top:12px;width:14px;height:24px;border:2px solid #ffe1f5;border-radius:45%;background:linear-gradient(#ff80cb 0 50%,#ffdeb6 50%);box-shadow:0 0 10px #e2a9ff77}.pet-bobber::after{content:'';position:absolute;left:0;top:29px;width:48px;height:12px;border:1px solid #ecbcff88;border-radius:50%;animation:pet-ripple 2s ease-out infinite}
@keyframes pet-ripple{to{transform:scale(1.6);opacity:0}}
.pet-pond[data-phase="idle"] .pet-bobber,.pet-pond[data-phase="abandoned"] .pet-bobber{opacity:0}.pet-pond[data-phase="waiting"] .pet-bobber{animation:pet-float 1.6s ease-in-out infinite}.pet-pond[data-phase="biting"] .pet-bobber{animation:pet-bite .17s ease-in-out infinite alternate}
@keyframes pet-float{50%{transform:translateY(3px) rotate(5deg)}}@keyframes pet-bite{to{transform:translateY(8px) rotate(16deg)}}
.pet-bite-bubbles{display:none;position:absolute;left:70%;top:58%;width:1px;height:1px;pointer-events:none;z-index:2}.pet-pond[data-phase="biting"] .pet-bite-bubbles{display:block}.pet-bite-bubbles i{position:absolute;left:calc(var(--bubble)*9px - 27px);width:calc(5px + var(--bubble)*1px);height:calc(5px + var(--bubble)*1px);border:1px solid #ffcffb;border-radius:50%;background:#df8de754;box-shadow:0 0 5px #e4a1ff;animation:pet-bubble .65s ease-out infinite;animation-delay:calc(var(--bubble)*-.1s)}
@keyframes pet-bubble{0%{transform:translateY(12px) scale(.6);opacity:.3}50%{opacity:1}100%{transform:translateY(-33px) scale(1.2);opacity:0}}
.pet-caught-fish{display:none;position:absolute;left:65%;top:43%;font-size:36px;filter:drop-shadow(0 0 7px #9ac7ff)}.pet-pond[data-phase="caught"] .pet-caught-fish{display:block;animation:pet-fish-jump 1s ease-out}.pet-pond[data-phase="caught"] .pet-fishing-rod{transform:rotate(-65deg)}.pet-pond[data-phase="missed"] .pet-fisher{filter:saturate(.6);transform:translateY(5px)}
@keyframes pet-fish-jump{0%{transform:translateY(60px) rotate(-30deg)}50%{transform:translateY(-25px) rotate(20deg)}100%{transform:translateY(0) rotate(0)}}
.pet-fishing-message{min-height:25px;margin:0;text-align:center;color:#ffe7a0;font-weight:850;font-size:17px}.pet-reaction-window{height:5px;border-radius:5px;background:#361746;overflow:hidden}.pet-reaction-window>span{display:block;height:100%;background:linear-gradient(90deg,#ffe294,#ed8be7);box-shadow:0 0 8px #ffb3ef}.pet-fish-control{width:100%;padding:15px;font-size:17px!important;min-height:50px}.pet-fish-control:disabled{filter:grayscale(.5);opacity:.55}.pet-fishing-exhausted{text-align:center;border:1px solid #b782c0;border-radius:17px;padding:15px;background:#6c3b7933}.pet-fishing-exhausted p{margin:0 0 10px;color:#e8c7ef;font-size:14px}.pet-fishing-exhausted small{display:block;color:#c59fd5}.pet-fishing-exhausted b{display:block;font-size:25px;color:#ffe5a2;margin-top:7px;font-variant-numeric:tabular-nums}
.pet-fishing-odds{border:1px solid #9c6bba55;border-radius:16px;padding:14px;font-size:12px;color:#dbb8e7}.pet-fishing-odds summary{cursor:pointer;font-weight:750}.pet-fishing-odds>div{display:flex;justify-content:space-between;padding-top:11px}.pet-fishing-odds b{color:#ffe49d}
.pet-game-tabs{display:flex;gap:8px}.pet-game-tabs button{flex:1;border:1px solid #ab70c4;border-radius:15px;background:#492353;padding:11px;color:#d6b4df;font-weight:750}.pet-game-tabs button.selected{background:linear-gradient(130deg,#9955b9,#673581);color:#fff;border-color:#dfa4ee;box-shadow:0 0 15px #c97cea22}
.pet-arena-profile{display:grid;place-items:center;gap:8px;padding:20px 12px;border:1px solid #a169b9;border-radius:24px;background:radial-gradient(ellipse at 50% 35%,#b96cdd44,transparent 65%),linear-gradient(130deg,#532566,#291039)}.pet-arena-profile>.pet-sprite{width:190px;filter:drop-shadow(0 0 13px #d19ae744)}.pet-arena-profile p{margin:0;color:#e0bde8;font-size:13px}.pet-arena-profile>b{color:#ffdcb5;font-size:15px}.pet-arena-rewards{display:grid;gap:9px;border:1px solid #dfb78966;background:#70456744;padding:17px;border-radius:18px}.pet-arena-rewards>b{color:#e4bfea;font-size:13px}.pet-arena-rewards strong{font-size:23px;color:#ffe3a0}.pet-arena-rewards small{font-size:11px;line-height:1.5;color:#d7b7dd}.pet-pvp-start{width:100%;padding:15px;font-size:17px!important}.pet-pvp-start:disabled{opacity:.5}.pet-pvp-cost{text-align:center;font-size:12px;color:#dfb6ea;margin:-5px 0 0}
.pet-battle-scene{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:370px;overflow:hidden;padding:28px 12px;border:1px solid #b986d9;border-radius:24px;background:radial-gradient(ellipse at 50% 80%,#e8a9f12b,transparent 60%),linear-gradient(#40245f,#201131 70%,#66426a);box-shadow:inset 0 0 40px #10041e55}.pet-battle-scene::before{content:'';position:absolute;left:-20%;right:-20%;bottom:-30px;height:130px;border-radius:50%;background:radial-gradient(ellipse,#b987bd55,#42284e 65%);border:2px solid #b987bd55}
.pet-fighter{position:relative;display:grid;justify-items:center;gap:6px;width:46%;min-width:0;--attack-x:22px;--hurt-x:-7px}.pet-fighter.side-1{--attack-x:-22px;--hurt-x:7px}.pet-fighter>b{font-size:14px;text-align:center;overflow-wrap:anywhere;max-width:100%}.pet-fighter>small{font-size:11px;color:#eccbf2;text-align:center}.pet-fighter .pet-health{width:100%;height:12px}.pet-health>span{background:linear-gradient(90deg,#d8ff9c,#84dab6);box-shadow:0 0 8px #b8ffc544}.pet-health-text{font-size:10px;color:#cde7be;font-variant-numeric:tabular-nums}.pet-fighter-art{position:relative;width:100%;aspect-ratio:1;margin:12px 0 4px}.pet-fighter-art>.pet-sprite{width:100%}.side-1 .pet-fighter-art>.pet-sprite{transform:scaleX(-1)}.pet-battle-title{position:absolute;top:45%;left:0;right:0;text-align:center;font-size:37px;letter-spacing:2px;color:#ffe389;text-shadow:0 0 10px #ff86e3,0 3px #713e5e;animation:pet-battle-start .8s ease-out}
@keyframes pet-battle-start{from{transform:scale(2);opacity:0}40%{transform:scale(.95);opacity:1}to{transform:scale(1)}}
.pet-fighter.attacking .pet-fighter-art{animation:pet-attack .45s ease-in-out}.pet-fighter.hurt .pet-fighter-art{animation:pet-hit .35s ease-out}.pet-fighter.shielding .pet-fighter-art{animation:pet-defend .35s ease-out}
@keyframes pet-attack{45%{transform:translate(var(--attack-x),-16px) rotate(-4deg)}}@keyframes pet-hit{35%{transform:translate(var(--hurt-x),3px) rotate(5deg);filter:brightness(1.3)}}@keyframes pet-defend{50%{transform:scale(.92)}}
.pet-battle-shield{display:none;position:absolute;left:25%;top:30%;font-size:45px;filter:drop-shadow(0 0 14px #c3b3ff)}.shielding .pet-battle-shield{display:block}.pet-damage{position:absolute;left:30%;top:5%;font-size:28px;font-weight:900;color:#ffb2d5;text-shadow:0 0 8px #b7309f;animation:pet-damage .5s ease-out forwards;pointer-events:none}@keyframes pet-damage{to{transform:translateY(-28px);opacity:0}}
.pet-battle-result{position:relative;overflow:hidden;display:grid;gap:12px;justify-items:center;text-align:center;padding:28px 18px;border:1px solid #d8a1e9;border-radius:24px;background:radial-gradient(ellipse at 50% 25%,#c97ef755,transparent 65%),#351345}.pet-battle-result h2{font-size:31px;margin:0;color:#ffe092}.pet-battle-result>p{font-size:14px;color:#e3c0eb;margin:0}.pet-battle-winner{position:relative;width:180px}.pet-battle-winner .pet-sprite{width:100%}.won .pet-battle-winner{animation:pet-hop 1s ease-in-out 3}.lost .pet-battle-winner{transform:translateY(5px) rotate(-3deg);filter:saturate(.6)}.lost .pet-battle-winner::after{content:'😿';position:absolute;right:-10px;bottom:15px;font-size:30px}.pet-battle-result>.pet-primary{width:100%;margin-top:12px;z-index:1}.pet-battle-result>small{font-size:11px;line-height:1.5;color:#d5b4df}.pet-battle-result .pet-reward-amount{font-size:29px;margin:0}.pet-battle-result .pet-prize-xp{margin:0}.pet-loss-amount{color:#e8afd7;font-size:20px}.pet-battle-confetti{position:absolute;top:5%;left:calc(var(--spark)*8%);color:#ffe27b;font-size:16px;pointer-events:none;animation:pet-confetti 2.5s ease-in infinite;animation-delay:calc(var(--spark)*-.18s)}@keyframes pet-confetti{from{transform:translateY(-20px) rotate(0);opacity:1}to{transform:translateY(450px) rotate(180deg);opacity:0}}
.pet-battle-history{display:grid;grid-template-columns:1fr auto;gap:9px;padding:17px;border:1px solid #9c70b5;border-radius:18px;background:#542b6888}.pet-battle-history>b{font-size:16px;color:#ffe39c}.pet-battle-history.lost>b{color:#e7afd5}.pet-battle-history>small{font-size:9px;color:#c9a5d7;align-self:center}.pet-battle-history>p{grid-column:1/-1;margin:0;font-size:13px;color:#dfc0e9}.pet-battle-history>strong{grid-column:1/-1;font-size:13px;color:#edcfe6}.pet-history-more{border:1px solid #b87ac8;background:#653078;color:#f0d9f6;padding:13px;border-radius:15px}
@media(max-width:340px){.pet-game-shortcut{grid-template-columns:29px minmax(0,1fr);gap:2px 5px;padding:11px 7px}.pet-game-shortcut b{font-size:13px}.pet-game-symbol{font-size:24px!important}.pet-pond{height:265px}.pet-fishing-rod{width:94px}.pet-fighter>b{font-size:12px}.pet-battle-scene{gap:8px;padding:20px 8px}}
@media(prefers-reduced-motion:reduce){.pet-game-content *,.pet-game-result *{animation:none!important;transition:none!important}}
