body.redesign .pet-side-slot{appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#eee9e1;cursor:pointer;font:inherit}
.pet-modal [hidden]{display:none!important}
.pet-canvas,.pet-locked-canvas{position:relative}
.pet-resource-progress{position:absolute;inset:0;z-index:1;display:grid;place-items:center;pointer-events:none}
.pet-resource-progress::before{content:"";width:44px;height:44px;border-radius:50%;background:conic-gradient(#ed9853 var(--pet-progress,0deg),#ffffff25 0);mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px))}
.pet-slot-icon{font-size:27px;line-height:1.1}.pet-slot-label{font-size:10px;letter-spacing:.04em}
body.redesign .pet-modal .modal-dialog{max-width:min(1080px,calc(100% - 20px))}
body.redesign .pet-modal .modal-content{overflow:hidden;border:1px solid #353237;border-radius:19px;background:#121218;color:#f4f0eb;box-shadow:0 30px 90px #000a}
.pet-modal-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:25px 30px 19px;border-bottom:1px solid #ffffff15;background:radial-gradient(circle at 18% 0,#6f402022,transparent 52%)}
.pet-modal-heading h2{font-size:27px;margin:3px 0 9px}.pet-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.16em;color:#e9a76b}.pet-entitlement{display:inline-block;color:#f7ba79;background:#bd681b28;border:1px solid #df8e4747;border-radius:30px;padding:4px 10px;font-size:11px;font-weight:700}
.pet-loading,.pet-locked{text-align:center;padding:55px 25px}.pet-locked span{font-size:55px}.pet-locked p{color:#ada7a1}.pet-locked .pet-primary{display:inline-block;text-decoration:none;margin-top:10px}
.pet-layout{display:grid;grid-template-columns:minmax(0,47%) minmax(0,53%);min-height:580px}
.pet-stage{position:relative;background:radial-gradient(circle at 50% 43%,#423329,#211e1c 48%,#171519 75%);border-right:1px solid #ffffff16;display:flex;flex-direction:column;align-items:center;padding:15px 20px 20px}
.pet-canvas{width:100%;height:390px;max-height:52vh;position:relative}.pet-canvas canvas{display:block;width:100%;height:100%}
.pet-stage-caption{text-align:center;display:flex;flex-direction:column;gap:3px}.pet-stage-caption b{font-size:22px}.pet-stage-caption span,.pet-stage small{font-size:12px;color:#ada7a1}.pet-stage small{text-align:center;max-width:330px;margin-top:13px}
.pet-animation-controls{display:flex;gap:7px;margin-top:15px}.pet-animation-controls button{background:#ffffff0b;border:1px solid #ffffff20;border-radius:8px;color:#eee;padding:6px 11px;font-size:12px}.pet-animation-controls button:hover{border-color:#e48d4f}
.pet-settings{padding:19px 25px 22px;max-height:75vh;overflow:auto}.pet-field{margin-bottom:15px}.pet-field h3{font-size:13px;font-weight:700;color:#d4c8bb;margin:0 0 8px}.pet-options,.pet-variants,.pet-hats{display:flex;gap:7px;flex-wrap:wrap}
.pet-options button,.pet-variants button,.pet-hats button{border:1px solid #ffffff20;border-radius:9px;background:#1d1d23;color:#ded9d3;padding:8px 11px;font-size:12px;cursor:pointer}.pet-options button:hover,.pet-variants button:hover,.pet-hats button:hover{border-color:#e49a5e}.pet-options button.active,.pet-variants button.active,.pet-hats button.active{border-color:#ed9853;background:#53331e;color:#fff}
.pet-variants button{min-width:78px}.pet-hats button{padding:7px 9px}.pet-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pet-fields label{color:#c9beb4;font-size:12px;display:grid;gap:5px;position:relative}.pet-fields input{border:1px solid #ffffff25;background:#1d1c20;border-radius:8px;padding:10px;color:#fff;width:100%}.pet-fields label button{position:absolute;bottom:6px;right:5px;border:0;background:#453126;color:#f7bb85;border-radius:5px;padding:5px;font-size:11px}.pet-help{color:#b0a8a0;font-size:12px;margin:15px 0 4px}.pet-message{min-height:19px;font-size:12px;color:#e9a76b}.pet-actions{display:flex;justify-content:space-between;gap:12px}.pet-primary,.pet-reset{border-radius:9px;border:1px solid #e89551;padding:10px 16px;font-size:13px;font-weight:700;cursor:pointer}.pet-primary{background:#e68b43;color:#1b1511}.pet-reset{background:transparent;color:#b9aba0;border-color:#ffffff27}.pet-primary:disabled,.pet-reset:disabled{opacity:.5;cursor:wait}
@media(max-width:760px){body.redesign .pet-modal .modal-dialog{margin:10px auto;max-width:calc(100% - 20px)}.pet-modal-heading{padding:17px 18px}.pet-modal-heading h2{font-size:22px}.pet-layout{grid-template-columns:1fr}.pet-stage{border-right:0;border-bottom:1px solid #ffffff16;padding:8px 13px 15px}.pet-canvas{height:260px;max-height:40vh}.pet-stage small{margin-top:8px}.pet-settings{padding:17px;max-height:none}.pet-fields{grid-template-columns:1fr 1fr}.pet-modal .modal-content{max-height:calc(100dvh - 20px);overflow:auto}}
.pet-actions{position:sticky;bottom:-22px;padding:10px 0 0;background:#121218}
.pet-animation-controls{flex-wrap:wrap;justify-content:center;max-width:420px}
.pet-animation-controls button.active{border-color:#ed9853;background:#53331e;color:#fff}
.pet-locked{padding:20px 25px 36px}.pet-locked-canvas{width:min(340px,100%);height:290px;margin:0 auto 6px;background:radial-gradient(circle at 50% 60%,#423329,#211e1c 55%,transparent 75%)}.pet-locked-canvas canvas{display:block;width:100%;height:100%}
.pet-fields{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.pet-fields label{min-width:0}.pet-fields input{min-width:0;box-sizing:border-box}
@media(max-width:760px){.pet-locked-canvas{height:250px}}
.pet-unsaved:not([hidden]){display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:1rem;border-top:1px solid #454b54;background:#242a32}.pet-unsaved span{margin-right:auto}.pet-unsaved button{border:1px solid #59616e;border-radius:.5rem;background:#303844;color:#fff;padding:.5rem .75rem}
