*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;background:#f7ead5;color:#4a3b2a;overflow:hidden;overscroll-behavior:none}button{font-family:inherit;cursor:pointer}button:disabled{cursor:default}.pet-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.pet-muted{color:#8a7560;font-size:12px}.pet-warn{color:#c0392b;font-weight:700}.pet-link{margin-left:6px;padding:0;border:none;background:none;color:#c77d1a;font-size:12px;text-decoration:underline}.pet-app{position:relative;width:100%;height:100%;overflow:hidden}.pet-stage,.pet-mask{position:absolute;top:0;right:0;bottom:0;left:0}.pet-stage canvas{display:block}.pet-mask{display:flex;align-items:center;justify-content:center;background:rgba(247,234,213,.92) var(--pet-loading-url) center / cover no-repeat;font-size:15px;z-index:30}.pet-error{position:absolute;top:50%;left:16px;right:16px;transform:translateY(-50%);padding:16px;border-radius:12px;background:rgba(255,255,255,.97);border:1px solid #e0b98a;font-size:14px;line-height:1.5;text-align:center;z-index:25}.pet-error p{margin:0 0 12px}.pet-topbar{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;padding:12px 14px;padding-top:calc(12px + env(safe-area-inset-top));z-index:10}.pet-chip{min-height:32px;padding:6px 14px;border-radius:16px;border:1px solid #e3c9a3;background:rgba(255,255,255,.94);color:#4a3b2a;font-size:13px;font-weight:700}.pet-chip.hot{background:#e8a33d;border-color:#e8a33d;color:#fff}.pet-status{position:absolute;top:60px;top:calc(60px + env(safe-area-inset-top));left:14px;width:210px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.92);border:1px solid #e3c9a3;z-index:10}.pet-status.pet-empty{left:14px;right:14px;width:auto;text-align:center}.pet-status.pet-empty p{margin:0 0 8px}.pet-name{display:flex;align-items:center;margin-bottom:8px;font-size:14px;font-weight:700}.pet-name-btn{max-width:110px;padding:0;border:none;border-bottom:1px dashed #c9a877;background:none;color:inherit;font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pet-grade,.pet-level{margin-left:6px;padding:1px 6px;border-radius:8px;font-size:11px;background:#f0d9b5;white-space:nowrap}.pet-grade.g1{background:#ffd54f;color:#5d4300}.pet-grade.g2{background:#ba68c8;color:#fff}.pet-grade.g3{background:#64b5f6;color:#fff}.pet-grade.g4{background:#81c784;color:#fff}.pet-grade.g5{background:#b0bec5;color:#37474f}.pet-grade.g6{background:#9e9e9e;color:#fff}.pet-bar{display:flex;align-items:center;margin-top:5px;font-size:11px}.pet-bar-label{width:28px;flex:none}.pet-bar-track{position:relative;flex:1;height:8px;border-radius:4px;background:#ece0cd;overflow:hidden}.pet-bar-track>i{display:block;height:100%;border-radius:4px;transition:width .25s ease}.pet-bar-hunger .pet-bar-track>i{background:#f0932b}.pet-bar-mood .pet-bar-track>i{background:#eb6ea5}.pet-bar-exp .pet-bar-track>i{background:#5aa9e6}.pet-bar-value{min-width:30px;margin-left:4px;flex:none;text-align:right}.pet-maxlv{margin-top:5px}.pet-stage-line{display:flex;justify-content:space-between;align-items:baseline;margin-top:8px;font-size:12px}.pet-actions{position:absolute;left:10px;right:10px;bottom:14px;bottom:calc(14px + env(safe-area-inset-bottom));display:flex;z-index:10}.pet-actions>button{flex:1;min-height:44px;margin:0 4px;padding:0 4px;border:none;border-radius:22px;background:#e8a33d;color:#fff;font-size:14px;font-weight:700;white-space:nowrap}.pet-actions>button.evolve{background:#9b59b6}.pet-actions>button:disabled{opacity:.5}.pet-switcher{position:absolute;right:14px;bottom:74px;bottom:calc(74px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-end;z-index:10}.pet-switcher>button{position:relative;max-width:120px;min-height:32px;margin-top:6px;padding:6px 12px;border:1px solid #e3c9a3;border-radius:16px;background:rgba(255,255,255,.94);color:#4a3b2a;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pet-switcher>button.active{background:#e8a33d;border-color:#e8a33d;color:#fff}.pet-dot{position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%;background:#e74c3c}.pet-btn{min-height:36px;padding:0 16px;border:1px solid #e3c9a3;border-radius:18px;background:#fff;color:#4a3b2a;font-size:14px;white-space:nowrap}.pet-btn.primary{border-color:#e8a33d;background:#e8a33d;color:#fff;font-weight:700}.pet-btn.small{min-height:30px;min-width:30px;padding:0 8px}.pet-btn.block{display:block;width:100%;min-height:44px}.pet-btn:disabled{opacity:.5}.pet-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;background:rgba(0,0,0,.45);z-index:40}.pet-modal{width:100%;max-height:80%;display:flex;flex-direction:column;border-radius:16px 16px 0 0;background:#fffaf2;padding-bottom:env(safe-area-inset-bottom);outline:none}.pet-modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 8px}.pet-modal-head h3{margin:0;font-size:16px}.pet-modal-close{width:36px;height:36px;border:none;background:none;color:#8a7560;font-size:24px;line-height:1}.pet-modal-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 16px 12px}.pet-modal-foot{padding:8px 16px 14px}.pet-empty-line{padding:16px 0;color:#8a7560;font-size:13px;line-height:1.6;text-align:center}.pet-draw-tip{margin:0 0 10px;line-height:1.6}.pet-draw-list,.pet-food-list,.pet-catalog{margin:0;padding:0;list-style:none}.pet-draw-row,.pet-food-row{display:flex;align-items:center;padding:10px 0;border-bottom:1px solid #f0e3cf}.pet-draw-info{flex:1;min-width:0;margin-right:12px}.pet-draw-title{font-size:14px;font-weight:700}.pet-draw-bar{height:6px;margin:6px 0 4px;border-radius:3px;background:#ece0cd;overflow:hidden}.pet-draw-bar>i{display:block;height:100%;background:#e8a33d}.pet-draw-result{padding:8px 0 4px;text-align:center}.pet-draw-result img,.pet-draw-egg{display:block;width:140px;height:140px;margin:0 auto 10px;object-fit:contain}.pet-draw-egg{border-radius:50% 50% 46% 46%;background:#ffe7b3}.pet-draw-name{display:flex;align-items:center;justify-content:center;margin-bottom:6px;font-size:18px;font-weight:700}.pet-num-row{display:flex;align-items:center;flex-wrap:wrap;margin-bottom:6px;font-size:13px}.pet-num-row>*{margin-right:8px}.pet-num{min-width:20px;font-weight:700;text-align:center}.pet-food-row img,.pet-food-dot{width:40px;height:40px;flex:none;margin-right:10px;border-radius:8px;object-fit:contain}.pet-food-dot{display:inline-block;background:#f0d9b5}.pet-food-name{flex:1;min-width:0;margin-right:8px;font-size:14px}.pet-food-row .pet-muted{margin-right:12px}.pet-catalog{display:flex;flex-wrap:wrap;margin:0 -5px}.pet-catalog-item{width:50%;padding:5px;text-align:center}.pet-catalog-item img,.pet-catalog-item .pet-food-dot{display:block;width:72px;height:72px;margin:0 auto 4px}.pet-catalog-name{display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}.pet-field{display:flex;align-items:center}.pet-field input{flex:1;min-width:0;height:42px;margin-right:10px;padding:0 12px;border:1px solid #e3c9a3;border-radius:10px;background:#fff;color:#4a3b2a;font-size:15px;outline:none}.pet-field input:focus{border-color:#e8a33d}.pet-over{color:#c0392b}.pet-toast{position:absolute;left:50%;top:42%;max-width:80%;padding:10px 16px;transform:translate(-50%);border-radius:10px;background:rgba(40,30,20,.86);color:#fff;font-size:14px;line-height:1.5;text-align:center;z-index:50;pointer-events:none}button:focus-visible,input:focus-visible{outline:2px solid #c77d1a;outline-offset:2px}@media (prefers-reduced-motion: reduce){.pet-bar-track>i{transition:none}}.pet-switcher>button.dead{opacity:.5;filter:grayscale(1)}.pet-row-img{width:48px;height:48px;object-fit:contain;flex:none}.pet-compose-need{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px;padding:0;list-style:none}.pet-compose-need li{padding:4px 10px;border-radius:999px;background:rgba(0,0,0,.06);font-size:13px}.pet-compose-need li.ok{background:rgba(76,175,80,.18);color:#2e7d32}.pet-pick-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0;padding:0;list-style:none}.pet-pick{display:flex;align-items:center;gap:6px;width:100%;min-height:44px;padding:6px 8px;border:2px solid transparent;border-radius:10px;background:rgba(0,0,0,.05);font:inherit;text-align:left;cursor:pointer}.pet-pick img{width:32px;height:32px;object-fit:contain}.pet-pick.on{border-color:#ff9800;background:rgba(255,152,0,.12)}.pet-pick:focus-visible{outline:2px solid #ff9800;outline-offset:2px}.pet-tag{margin-left:4px;padding:0 4px;border-radius:4px;background:#4caf50;color:#fff;font-size:11px;font-style:normal}.pet-coin{display:inline-flex;align-items:center;gap:3px;font-weight:700;color:#c47a00;white-space:nowrap}.pet-coin-icon{flex:none;object-fit:contain}.pet-chip-icon,.pet-action-icon{flex:none;object-fit:contain;vertical-align:-2px;margin-right:4px}.pet-chip{display:inline-flex;align-items:center;padding:6px 10px}.pet-actions>button{display:inline-flex;align-items:center;justify-content:center}.pet-pool-tier-icon{flex:none;object-fit:contain}.pet-shop-balance{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;padding:8px 12px;border-radius:10px;background:#fff6e0;font-size:14px}.pet-shop-price{display:flex;align-items:center;gap:8px;margin-top:2px;font-size:13px}.pet-pool-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0}.pet-pool-tabs button{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:48px;padding:6px;border:2px solid transparent;border-radius:10px;background:rgba(0,0,0,.05);font:inherit;cursor:pointer}.pet-pool-tabs button.on{border-color:#ff9800;background:rgba(255,152,0,.12);font-weight:700}.pet-pool-tab-price{display:inline-flex;align-items:center;gap:2px;font-size:12px;color:#c47a00}.pet-pool-desc{display:flex;align-items:center;margin:4px 0 10px}.pet-pool-kind{flex:none;margin-right:6px;padding:1px 7px;border-radius:8px;background:#fff6e0;color:#c47a00;font-size:11px;font-weight:700}.pet-pool-pet{display:flex;align-items:center;margin-bottom:10px;padding:8px 10px;border-radius:10px;background:rgba(0,0,0,.04);font-size:13px}.pet-pool-pet img{flex:none;width:40px;height:40px;margin-right:8px;object-fit:contain}.pet-pool-pet .pet-food-dot{margin-right:8px}.pet-pool-pet-name{display:flex;align-items:center;color:#4a3b2a}.pet-pool-pet-tag{margin-left:6px;padding:1px 6px;border-radius:8px;background:rgba(255,152,0,.14);color:#c47a00;font-size:11px}.pet-pool-nums{display:flex;gap:8px;margin-bottom:10px}.pet-pool-nums button{flex:1;min-height:40px;border:2px solid transparent;border-radius:10px;background:rgba(0,0,0,.05);font:inherit;cursor:pointer}.pet-pool-nums button.on{border-color:#ff9800;background:rgba(255,152,0,.12);font-weight:700}.pet-pool-open{display:inline-flex;align-items:center;justify-content:center;gap:2px}.pet-pool-links{display:flex;justify-content:space-around;margin-top:12px}.pet-pool-tabs button:focus-visible,.pet-pool-nums button:focus-visible{outline:2px solid #ff9800;outline-offset:2px}.pet-pool-trigger{margin-bottom:8px;padding:8px 10px;border-radius:10px;background:rgba(76,175,80,.15);color:#2e7d32;font-size:13px}.pet-pool-gifts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 10px;padding:0;list-style:none}.pet-pool-gifts li{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;text-align:center}.pet-pool-gifts>li>img{width:56px;height:56px;object-fit:contain}.pet-pool-gift-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pet-pool-result-foot{display:flex;gap:10px}.pet-pool-result-foot .pet-btn{flex:1}.pet-pool-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:0;list-style:none}.pet-pool-card{position:relative;display:flex;flex-direction:column;align-items:center;padding:10px 5px 8px;border-radius:10px;background:#fff3dc;box-shadow:inset 0 0 0 1px #f0dcb8}.pet-pool-rarity{position:absolute;top:6px;right:5px;padding:1px 5px;border-radius:5px;color:#fff;font-size:10px;font-weight:700}.pet-pool-rarity.r2{background:#2196f3}.pet-pool-rarity.r3{background:#ff9800}.pet-pool-rarity.r4{background:#e91e63}.pet-pool-card-img{display:flex;align-items:center;justify-content:center;width:58%;aspect-ratio:1;margin-bottom:4px;border-radius:10px;background:rgba(196,122,0,.08)}.pet-pool-card-img img{width:86%;height:86%;object-fit:contain}.pet-pool-card-name{width:92%;margin-bottom:4px;overflow:hidden;color:#5a3a12;font-size:12px;font-weight:700;text-align:center;text-overflow:ellipsis;white-space:nowrap}.pet-pool-card-price{display:inline-flex;align-items:baseline;gap:2px;padding:1px 7px;border-radius:9px;background:rgba(196,122,0,.12);color:#b36b00;font-size:11px}.pet-pool-card-price b{font-size:12px}.pet-pool-card-remain{margin-top:3px;color:#9a7a50;font-size:11px}.pet-rank-head{display:grid;grid-template-columns:40px 44px 1fr 56px;gap:6px;padding:0 8px 6px;color:#9a7a50;font-size:12px}.pet-rank-head span:nth-child(2){grid-column:2 / 4}.pet-rank-head span:nth-child(3){display:none}.pet-rank-head span:last-child{text-align:right}.pet-rank-list{margin:0 0 12px;padding:0;list-style:none}.pet-rank-row{display:grid;grid-template-columns:40px 44px minmax(0,1fr) 56px;align-items:center;gap:6px;margin-bottom:6px;padding:8px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #f3f4f6}.pet-rank-row.top1{background:linear-gradient(90deg,#fff3c4,#fffaf0)}.pet-rank-row.top2{background:linear-gradient(90deg,#eef1f6,#fafbfd)}.pet-rank-row.top3{background:linear-gradient(90deg,#fbe4d2,#fff8f2)}.pet-rank-badge{display:flex;align-items:center;justify-content:center}.pet-rank-badge img{width:32px;height:29px;object-fit:contain}.pet-rank-badge span{color:#9ca3af;font-size:14px;font-weight:700}.pet-rank-avatar{width:40px;height:40px;overflow:hidden;border-radius:50%;background:#f3f4f6}.pet-rank-avatar img{width:100%;height:100%;object-fit:cover}.pet-rank-info{display:flex;flex-direction:column;gap:3px;min-width:0}.pet-rank-nick{overflow:hidden;color:#374151;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.pet-rank-gift{display:flex;align-items:center;gap:4px;min-width:0;font-size:12px}.pet-rank-gift img{flex:none;width:18px;height:18px;object-fit:contain}.pet-rank-gift-name{overflow:hidden;color:#6b7280;text-overflow:ellipsis;white-space:nowrap}.pet-rank-rarity{flex:none;padding:0 4px;border-radius:4px;color:#fff;font-size:10px;font-weight:700}.pet-rank-rarity.r2{background:#2196f3}.pet-rank-rarity.r3{background:#ff9800}.pet-rank-rarity.r4{background:#e91e63}.pet-rank-num{flex:none;padding:0 5px;border-radius:8px;background:rgba(255,107,157,.12);color:#ff6b9d;font-size:11px;font-weight:700}.pet-rank-time{color:#9ca3af;font-size:11px;text-align:right;white-space:nowrap}.pet-catalog-card{display:flex;flex-direction:column;align-items:center;width:100%;height:100%;padding:10px 8px;border:1px solid #f0dcb8;border-radius:12px;background:#fffaf2;font:inherit;color:inherit;text-align:center;cursor:pointer}.pet-catalog-card>*+*{margin-top:3px}.pet-catalog-card.g1{border-color:#f5c542;box-shadow:0 0 0 1px #f5c542 inset}.pet-catalog-card.g2{border-color:#b778d8;box-shadow:0 0 0 1px #b778d8 inset}.pet-catalog-card.g3{border-color:#64a8ef}.pet-catalog-card:active{transform:scale(.98)}.pet-catalog-skills{display:block;width:100%;margin-top:4px;text-align:left}.pet-skill-line{display:block;margin:4px 0 0;font-size:11px;line-height:1.45;color:#8a7560}.pet-skill-line b{margin-right:4px;color:#c47a00}.pet-catalog-noskill{font-size:11px}.pet-detail-stage{display:flex;justify-content:center;margin:4px 0 10px;padding:10px 0;border-radius:14px;background:radial-gradient(circle at 50% 60%,#fff6e3 0%,#f3e3c6 70%)}.pet-detail-stage.g1{background:radial-gradient(circle at 50% 60%,#fff4c2 0%,#f6c75a 75%)}.pet-detail-stage.g2{background:radial-gradient(circle at 50% 60%,#f5e9ff 0%,#c79be6 75%)}.pet-detail-stage.g3{background:radial-gradient(circle at 50% 60%,#eaf4ff 0%,#9cc6f2 75%)}.pet-detail-stage.g4{background:radial-gradient(circle at 50% 60%,#eefbea 0%,#b7dfaa 75%)}.pet-preview{position:relative;display:flex;align-items:center;justify-content:center;flex:none}.pet-preview canvas{display:block}.pet-preview img{max-width:70%;max-height:70%;object-fit:contain}.pet-preview-note{position:absolute;left:0;right:0;bottom:4px;font-size:11px;color:#8a7560;text-align:center}.pet-anim-tabs{display:flex;flex-wrap:wrap;margin:0 -3px 10px}.pet-anim-tabs button{flex:1 0 30%;min-height:32px;margin:3px;border:2px solid transparent;border-radius:10px;background:rgba(0,0,0,.05);font:inherit;font-size:13px;cursor:pointer}.pet-anim-tabs button.on{border-color:#ff9800;background:rgba(255,152,0,.12);font-weight:700}.pet-detail-meta>*+*{margin-top:4px}.pet-detail-meta .pet-catalog-name{justify-content:flex-start;font-size:15px}.pet-detail-trait{margin-left:6px;padding:1px 6px;border-radius:8px;background:#fff1d6;color:#c47a00;font-size:11px}.pet-detail-h{margin:14px 0 6px;font-size:14px;color:#4a3b2a}.pet-skill-list{margin:0;padding:0;list-style:none}.pet-skill-list li{margin-bottom:8px;padding:8px 10px;border-radius:10px;background:#fff6e0}.pet-skill-list b{color:#c47a00;font-size:13px}.pet-skill-list p{margin:3px 0 0;font-size:12px;line-height:1.5;color:#6b5a47}.pet-compose-out-tabs{display:flex;flex-wrap:wrap;margin:0 -3px 8px}.pet-compose-out-tabs button{display:flex;flex-direction:column;align-items:center;width:76px;margin:3px;padding:6px 4px;border:2px solid transparent;border-radius:10px;background:rgba(0,0,0,.05);font:inherit;font-size:12px;cursor:pointer}.pet-compose-out-tabs button.on{border-color:#ff9800;background:rgba(255,152,0,.12)}.pet-compose-out-tabs img,.pet-compose-out-tabs .pet-food-dot{width:40px;height:40px;object-fit:contain}.pet-compose-out-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pet-compose-out-body{display:flex;align-items:center;margin-bottom:10px;padding:8px;border-radius:12px;background:#fff6e3}.pet-compose-out-body.g1{background:linear-gradient(135deg,#fff4c2,#f8d77e)}.pet-compose-out-body.g2{background:linear-gradient(135deg,#f5e9ff,#dcc0f0)}.pet-compose-out-body.g3{background:linear-gradient(135deg,#eaf4ff,#c4dcf6)}.pet-compose-out-info{flex:1;min-width:0;margin-left:10px}.pet-compose-out-info .pet-catalog-name{justify-content:flex-start}.pet-confirm-mask{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(30,20,10,.55);z-index:60}.pet-confirm{width:100%;max-width:320px;padding:18px 16px 14px;border-radius:18px;background:#fffaf2;box-shadow:0 10px 30px rgba(60,35,10,.25);text-align:center;will-change:transform,opacity}.pet-confirm-img{width:84px;height:84px;margin:-54px auto 6px;padding:6px;border-radius:50%;background:radial-gradient(circle at 50% 40%,#fff6e3,#f3dfbb);box-shadow:0 4px 12px rgba(60,35,10,.18)}.pet-confirm-img img{width:100%;height:100%;object-fit:contain}.pet-confirm-title{margin:2px 0 10px;font-size:17px;color:#4a3b2a}.pet-confirm-lines{margin:0 0 8px;padding:8px 10px;border-radius:12px;background:#fff3dc;text-align:left}.pet-confirm-line{display:flex;justify-content:space-between;align-items:flex-start;padding:4px 0;font-size:13px}.pet-confirm-line+.pet-confirm-line{border-top:1px dashed #efd9b3}.pet-confirm-line dt{flex:none;margin-right:12px;color:#8a7560}.pet-confirm-line dd{margin:0;color:#4a3b2a;font-weight:700;text-align:right;word-break:break-all}.pet-confirm-line.warn dd{color:#d1462f}.pet-confirm-line.good dd{color:#2e8b57}.pet-confirm-note{margin:0 0 12px;font-size:12px;line-height:1.5;color:#8a7560}.pet-confirm-actions{display:flex}.pet-confirm-btn{flex:1;min-height:42px;border:none;border-radius:21px;font:inherit;font-size:15px;font-weight:700;cursor:pointer}.pet-confirm-btn+.pet-confirm-btn{margin-left:10px}.pet-confirm-btn.cancel{background:#f1e6d4;color:#6b5a47}.pet-confirm-btn.ok{background:#e8a33d;color:#fff}.pet-confirm.danger .pet-confirm-btn.ok{background:#e0573e}.pet-confirm-btn:active{transform:scale(.97)}.pet-toast{position:fixed;left:0;right:0;top:42%;display:flex;align-items:center;width:max-content;max-width:80%;margin:0 auto;transform:none;will-change:transform,opacity}.pet-toast-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:rgba(255,255,255,.22);font-size:12px;font-weight:700;line-height:1}.pet-toast.success .pet-toast-icon{background:#3cb371}.pet-toast.warn .pet-toast-icon{background:#e8a33d}.pet-toast.error .pet-toast-icon{background:#e0573e}.pet-hex{display:flex;flex-direction:column;align-items:center;margin:0 0 4px}.pet-hex svg{display:block;overflow:visible}.pet-hex-grid polygon{fill:none;stroke:#ead7b6;stroke-width:1}.pet-hex-grid polygon.outer{fill:#fff6e6;stroke:#dcc29a;stroke-width:1.5}.pet-hex-grid line{stroke:#ead7b6;stroke-width:1}.pet-hex-value{fill-opacity:.32;stroke-width:2;stroke-linejoin:round}.pet-hex-dot{stroke:#fff;stroke-width:1.5}.pet-hex-label{cursor:pointer}.pet-hex-label text{font-size:11px;fill:#8a7560}.pet-hex-label text.num{font-size:12px;font-weight:700;fill:#4a3b2a}.pet-hex-label.on text{fill:#c47a00}.pet-hex-label.on text.num{fill:#c47a00}.pet-hex-score{margin-top:-4px;padding:2px 12px;border-radius:12px;background:#fff1d6;font-size:12px;color:#8a7560}.pet-hex-score b{font-size:16px;color:#c47a00}.pet-hex-hint{min-height:18px;margin:2px 0 0;font-size:12px;color:#6b5a47;text-align:center}.pet-hex-hint b{color:#c47a00}.pet-hex-foot{margin:2px 0 0;font-size:10px;color:#b3a08a}.pet-skill-icon{display:inline-block;flex:none;border-radius:50%;object-fit:cover;vertical-align:middle;box-shadow:0 1px 3px rgba(80,50,10,.25)}.pet-skill-icon.is-fallback{display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:700;line-height:1}.pet-skill-line .pet-skill-icon{margin-right:4px;vertical-align:-6px}.pet-skill-list li{display:flex;align-items:flex-start;gap:10px}.pet-skill-list li>div{min-width:0}.pet-switcher{width:64px;max-height:52vh;overflow-y:auto;-webkit-overflow-scrolling:touch;align-items:center;padding:4px 0}.pet-switcher>.pet-switch-item{position:relative;flex:none;width:50px;height:50px;max-width:none;min-height:0;margin:8px 0 0;padding:0;border:2px solid #e3c9a3;border-radius:50%;background:#fffaf2;overflow:visible;transition:transform .15s ease}.pet-switch-item img{width:100%;height:100%;border-radius:50%;object-fit:cover}.pet-switcher>.pet-switch-item.viewing{transform:scale(1.12);border-color:#fff;box-shadow:0 0 0 3px rgba(232,163,61,.55),0 3px 8px rgba(80,50,10,.3)}.pet-switcher>.pet-switch-item.fighting{border-color:#f2b330;box-shadow:0 0 0 2px #fff,0 0 10px rgba(242,179,48,.85)}.pet-switcher>.pet-switch-item.fighting.viewing{box-shadow:0 0 0 3px #fff,0 0 14px rgba(242,179,48,.95)}.pet-switch-flag{position:absolute;top:-6px;left:-6px;width:20px;height:20px;border-radius:50%;background:linear-gradient(180deg,#ff8a3d,#e5481f);border:2px solid #fff;color:#fff;font-size:11px;font-weight:700;line-height:16px;text-align:center}.pet-switch-lv{position:absolute;left:50%;bottom:-7px;transform:translate(-50%);padding:0 4px;border-radius:6px;background:rgba(74,59,42,.86);color:#fff;font-size:9px;line-height:13px;white-space:nowrap}.pet-switch-item .pet-dot{top:-2px;right:-2px}.pet-switcher>.pet-switch-item.dead{opacity:.55;filter:grayscale(1)}.pet-switcher>.pet-switch-bag{flex:none;display:flex;flex-direction:column;align-items:center;width:54px;max-width:none;min-height:0;margin:14px 0 0;padding:4px 0 3px;border:1px solid #e3c9a3;border-radius:14px;background:rgba(255,255,255,.94);color:#6b4a1f;font-size:11px;font-weight:700}.pet-switch-bag img{display:block;margin-bottom:1px}.pet-fight-bar{position:absolute;left:14px;right:86px;bottom:68px;bottom:calc(68px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;padding:6px 6px 6px 12px;border-radius:18px;background:rgba(74,59,42,.86);color:#fff;font-size:12px;z-index:10}.pet-fight-bar>span{margin-right:8px}.pet-fight-bar .pet-btn.small{flex:none;min-height:28px;padding:0 12px}.pet-bag-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:12px;color:#8a7560}.pet-bag-head b{color:#c47a00;font-size:14px}.pet-bag-tabs{display:flex;padding:2px;border-radius:14px;background:#f3e6cf}.pet-bag-tabs button{margin:0;padding:3px 10px;border:none;border-radius:12px;background:transparent;color:#8a7560;font-size:12px}.pet-bag-tabs button.on{background:#fff;color:#c47a00;font-weight:700;box-shadow:0 1px 3px rgba(80,50,10,.15)}.pet-bag-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;margin:0;padding:0;list-style:none}.pet-bag-card{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;padding:0 0 6px;border:2px solid #f0dcb8;border-radius:12px;background:#fffaf2;font:inherit;color:inherit;overflow:hidden}.pet-bag-card.g1{border-color:#f2c14e}.pet-bag-card.g2{border-color:#c48ae0}.pet-bag-card.g3{border-color:#7fb6ee}.pet-bag-card.g4{border-color:#8fcf95}.pet-bag-art{position:relative;display:block;width:100%;padding-top:100%;background:radial-gradient(circle at 50% 45%,#fff6dd 0%,#f6dfb0 100%)}.pet-bag-card.g1 .pet-bag-art{background:radial-gradient(circle at 50% 45%,#fff3c4 0%,#f2c14e 100%)}.pet-bag-card.g2 .pet-bag-art{background:radial-gradient(circle at 50% 45%,#f6e6ff 0%,#c48ae0 100%)}.pet-bag-card.g3 .pet-bag-art{background:radial-gradient(circle at 50% 45%,#e6f2ff 0%,#7fb6ee 100%)}.pet-bag-art img{position:absolute;left:8%;top:8%;width:84%;height:84%;object-fit:contain}.pet-bag-grade{position:absolute;top:4px;left:4px;margin:0}.pet-bag-flag{position:absolute;top:4px;right:4px;padding:1px 6px;border-radius:8px;background:linear-gradient(180deg,#ff8a3d,#e5481f);color:#fff;font-size:10px;font-weight:700}.pet-bag-flag.big{top:8px;right:8px;padding:2px 10px;font-size:12px}.pet-bag-card.active{box-shadow:0 0 0 2px #fff,0 0 10px rgba(242,179,48,.8)}.pet-bag-name{max-width:92%;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;color:#4a3b2a}.pet-bag-sub{font-size:11px;color:#8a7560}.pet-bag-card.locked{border-color:#d8d2c8;background:#f1eee9}.pet-bag-card.locked .pet-bag-art{background:radial-gradient(circle at 50% 45%,#8c8478 0%,#4a443c 100%)}.pet-bag-card.locked .pet-bag-art img,.pet-bag-silhouette{filter:brightness(0);opacity:.82}.pet-bag-card.locked .pet-bag-name{color:#9a9186;letter-spacing:2px}.pet-bag-card.locked .pet-bag-grade{filter:grayscale(.6)}.pet-bag-lock{position:absolute;top:34%;left:50%;width:18px;height:14px;margin-left:-9px;border-radius:3px;background:#e9e2d6;box-shadow:0 1px 2px rgba(0,0,0,.4)}.pet-bag-lock:before{content:"";position:absolute;left:3px;top:-9px;width:8px;height:9px;border:2px solid #e9e2d6;border-bottom:none;border-radius:6px 6px 0 0}.pet-bag-card.dead .pet-bag-art img{filter:grayscale(1);opacity:.6}.pet-bag-stage{position:relative;display:flex;align-items:center;justify-content:center;height:190px;margin-bottom:10px;border-radius:14px;background:radial-gradient(circle at 50% 45%,#fff6dd 0%,#f6dfb0 100%)}.pet-bag-stage.g1{background:radial-gradient(circle at 50% 45%,#fff3c4 0%,#f2c14e 100%)}.pet-bag-stage.g2{background:radial-gradient(circle at 50% 45%,#f6e6ff 0%,#c48ae0 100%)}.pet-bag-stage.g3{background:radial-gradient(circle at 50% 45%,#e6f2ff 0%,#7fb6ee 100%)}.pet-bag-stage.locked{background:radial-gradient(circle at 50% 45%,#8c8478 0%,#4a443c 100%)}.pet-bag-silhouette{width:150px;height:150px;object-fit:contain}.pet-bag-meta{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:4px}.pet-bag-meta>*{margin:0 6px 4px 0}.pet-bag-meta .pet-grade{margin-left:0}.pet-bag-warn{padding:1px 6px;border-radius:8px;background:#fde2df;color:#c0392b;font-size:11px}.pet-skill-list li.locked{filter:grayscale(.85);opacity:.7}.pet-bag-foot{display:flex}.pet-bag-foot .pet-btn{flex:1;margin:0 4px}.pet-btn.primary.is-on:disabled{background:#f6d9a8;color:#8a5a10;opacity:1}.pet-triggers{margin-bottom:12px;padding:10px;border-radius:12px;background:linear-gradient(135deg,#3a2a6b 0%,#24345f 100%);box-shadow:inset 0 0 0 1px rgba(255,215,120,.35)}.pet-triggers-title{margin-bottom:6px;color:#ffd778;font-size:12px;font-weight:700;letter-spacing:1px}.pet-triggers ul{margin:0;padding:0;list-style:none}.pet-trigger-item{display:flex;align-items:center;margin-top:6px;padding:6px 8px;border-radius:10px;background:rgba(255,255,255,.1);will-change:transform,opacity}.pet-trigger-item:first-child{margin-top:0}.pet-trigger-item .pet-skill-icon{margin-right:10px;box-shadow:0 0 10px rgba(255,215,120,.6)}.pet-trigger-item>div{flex:1;min-width:0}.pet-trigger-item b{display:block;color:#fff;font-size:13px}.pet-trigger-item span{display:block;color:rgba(255,255,255,.8);font-size:12px}.pet-trigger-item em{flex:none;margin-left:8px;font-style:normal;font-weight:700;font-size:15px;color:#7de38f}.pet-trigger-item.bad em{color:#ff8a7a}.pet-level-btn{border:none;font:inherit;font-size:11px;cursor:pointer}.pet-level-btn:after{content:" ›"}.pet-growth-hint{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:6px;padding:4px 8px;border:none;border-radius:8px;background:#fff1d6;color:#a0620a;font-size:11px;text-align:left}.pet-growth-track{display:flex;justify-content:space-between;position:relative;margin:4px 0 12px}.pet-growth-track:before{content:"";position:absolute;left:12%;right:12%;top:13px;height:3px;background:#ead6b4}.pet-growth-node{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;font-size:12px}.pet-growth-dot{width:28px;height:28px;margin-bottom:4px;border-radius:50%;border:2px solid #ead6b4;background:#fff;color:#b49c7c;font-weight:700;line-height:24px;text-align:center}.pet-growth-node.done .pet-growth-dot{border-color:#e8a33d;background:#f6d9a8;color:#8a5a10}.pet-growth-node.now .pet-growth-dot{border-color:#e8a33d;background:#e8a33d;color:#fff;box-shadow:0 0 0 4px rgba(232,163,61,.25)}.pet-growth-now{margin-bottom:6px;padding:8px 10px;border-radius:10px;background:#fff6e0;font-size:13px;color:#6b5a47}.pet-growth-now b{color:#c47a00}.pet-growth-skills{margin:0;padding:0;list-style:none}.pet-growth-skills li{display:flex;align-items:flex-start;margin-bottom:8px;padding:8px 10px;border-radius:10px;background:#fff6e0}.pet-growth-skills .pet-skill-icon{margin-right:10px}.pet-growth-skills li>div{flex:1;min-width:0}.pet-growth-skills b{color:#c47a00;font-size:13px}.pet-growth-skills p{margin:3px 0 0;font-size:12px;line-height:1.5}.pet-growth-cur{color:#6b5a47}.pet-growth-next{color:#2e8b4a;font-weight:700}.pet-growth-next:before{content:"▲ "}.pet-growth-gains{margin:0 0 4px;padding-left:18px;font-size:12px;line-height:1.7;color:#6b5a47}.pet-growth-evolve{padding:8px 10px;border-radius:10px;background:#fff6e0}.pet-growth-evolve-row{display:flex;justify-content:space-between;margin:4px 0;font-size:12px;color:#8a7560}.pet-growth-evolve-row b{color:#4a3b2a;text-align:right}.pet-growth-bar{height:6px;margin:6px 0;border-radius:3px;background:#ead6b4;overflow:hidden}.pet-growth-bar i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#f2b330,#e5481f)}.pet-growth-ok{color:#2e8b4a}
