/* v647: template 2, 1280 x 720 design coordinates. */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"]:not([hidden]) {position:fixed!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;transform:none!important;margin:0!important;border:0!important;border-radius:0!important;padding:0!important;overflow:hidden!important;background:linear-gradient(#ffffff26,#ffffff26),url("../img/ui-kit-v2/bg-pet-lab.webp") center/cover no-repeat #f5f3ed!important}
.player-sheet[data-scene-panel="pet"]>.sheet-head,.player-sheet[data-scene-panel="pet"]>.sheet-handle,.player-sheet[data-scene-panel="pet"]>.v4-system-rail,.player-sheet[data-scene-panel="pet"]>.sheet-environment{display:none!important}
.player-sheet[data-scene-panel="pet"]>.sheet-scroll{position:absolute!important;inset:0!important;padding:0!important;overflow:hidden!important;height:100%!important;max-height:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:linear-gradient(#ffffff26,#ffffff26),url("../img/ui-kit-v2/bg-pet-lab.webp") center/cover no-repeat #f5f3ed!important;overflow:hidden!important;border-radius:0!important;z-index:5!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-board{position:absolute!important;left:50%!important;top:50%!important;width:1280px!important;height:720px!important;transform:translate(-50%,-50%) scale(var(--pet-scale,1))!important;background:transparent!important;overflow:hidden!important;color:#18334e!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 *{box-sizing:border-box!important;text-shadow:none!important;letter-spacing:normal!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 :is(button,small,b,strong,span,em,p,h3,h4,summary){color:#18334e!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 button{background:#edf4ff!important;color:#18334e!important;border:2px solid white!important;border-radius:14px!important;box-shadow:none!important;min-height:36px!important;padding:6px 12px!important;font-size:17px!important;line-height:1.25!important;white-space:normal!important;transform:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 button::after{content:none!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 button:disabled{opacity:.5!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 button[aria-pressed="true"],body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 button[aria-current="page"]{background:linear-gradient(#eef7ff,#bfdcff)!important;border-color:#91bae7!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-hud{position:absolute!important;left:155px!important;top:16px!important;width:1100px!important;height:78px!important;font-size:22px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-hud .uk-resource img{width:42px!important;height:42px!important;object-fit:contain!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 progress{width:240px!important;height:10px!important;accent-color:#438de0!important;display:block!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-nav{position:absolute!important;left:22px!important;top:175px!important;width:140px!important;height:520px!important;gap:4px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-nav button{font-size:19px!important;min-height:94px!important;line-height:1.2!important;padding:4px!important;background:#fff!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-nav button[aria-current="page"]{background:linear-gradient(#eef7ff,#bfdcff)!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-title{position:absolute!important;left:185px!important;top:110px!important;margin:0!important;font-size:30px!important;color:white!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content{position:absolute!important;left:180px!important;top:235px!important;width:1080px!important;height:460px!important;overflow:auto!important;padding:10px!important;background:#ffffffb8!important;border-radius:24px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="mine"]:has(.pet-center){position:static!important;overflow:visible!important;padding:0!important;background:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-tabs{position:absolute!important;left:720px!important;top:110px!important;width:540px!important;height:60px!important;display:flex!important;gap:8px!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-tabs button{flex:1!important;min-width:0!important;padding:6px 4px!important;font-size:16px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-companion-picker{position:absolute!important;left:185px!important;top:185px!important;width:1075px!important;height:44px!important;display:flex!important;gap:8px!important;overflow:auto!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-companion-picker button{flex:none!important;font-size:17px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center{display:contents!important;background:none!important;border:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-stage{position:absolute!important;left:180px!important;top:250px!important;width:300px!important;height:365px!important;display:block!important;padding:0!important;background:none!important;border:0!important;overflow:visible!important;min-height:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-stage>img{position:absolute!important;left:0!important;top:0!important;width:300px!important;height:330px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;z-index:1!important;filter:drop-shadow(0 10px 9px #364d6140)!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-podium{position:absolute!important;left:-20px!important;bottom:0!important;width:340px!important;height:65px!important;background:none!important;border:0!important;transform:none!important;box-shadow:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-podium img{width:100%!important;height:100%!important;object-fit:contain!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info{position:absolute!important;left:485px!important;top:245px!important;width:340px!important;height:370px!important;display:block!important;background:#fffffff0!important;border:2px solid white!important;border-radius:24px!important;padding:14px!important;overflow:auto!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info h3{font-size:25px!important;margin:0 0 5px!important;line-height:1.25!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info h3 small{display:block!important;font-size:15px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-role{display:block!important;font-size:14px!important;background:#ffe3e7!important;padding:3px 8px!important;border-radius:10px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-lv{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin:8px 0 0!important;background:none!important;padding:0!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-lv b{font-size:24px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-lv small{font-size:13px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-lv span{font-size:14px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-share{width:100%!important;line-height:1.2!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter{accent-color:#438de0!important;height:14px!important;display:block!important;width:100%!important;margin:5px 0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-tags{display:flex!important;gap:8px!important;align-items:center!important;margin:4px 0!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-tags em{font-size:15px!important;font-style:normal!important;background:#edf1f5!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-stars{font-size:21px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-stars i{color:#8b98a7!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-stars i.is-on{color:#7751a4!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-bond{display:flex!important;gap:8px!important;align-items:center!important;border-top:1px solid #d6dce5!important;padding-top:6px!important;margin:5px 0!important;background:none!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-bond i{color:#cf386b!important;font-size:30px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-bond div{flex:1!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-bond b{font-size:15px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-bond span{font-size:13px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status{display:flex!important;flex-wrap:wrap!important;gap:8px!important;font-size:13px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;margin-top:8px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-actions button{font-size:14px!important;min-height:34px!important;padding:4px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-faces{position:absolute!important;left:185px!important;top:635px!important;width:640px!important;height:60px!important;display:flex!important;gap:8px!important;margin:0!important;background:none!important;padding:0!important;border:0!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-faces button{flex:1!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-size:22px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-faces i img{width:36px!important;height:36px!important;object-fit:contain!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-side{position:absolute!important;left:845px!important;top:245px!important;width:415px!important;height:450px!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:16px!important;background:#fffffff0!important;border:2px solid white!important;border-radius:24px!important;overflow:auto!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-side h3{font-size:22px!important;margin:0!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src{display:flex!important;align-items:center!important;gap:10px!important;background:#edf1f5!important;padding:10px!important;border:0!important;border-radius:14px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src i{font-size:30px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src div{flex:1!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src b{font-size:17px!important;display:block!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src small{font-size:14px!important;line-height:1.4!important;display:block!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src button{flex:none!important;font-size:16px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-shard-box{display:flex!important;align-items:center!important;gap:10px!important;background:#edf4ff!important;padding:10px!important;border-radius:14px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-shard-box img{width:60px!important;height:60px!important;object-fit:contain!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-shard-box div{flex:1!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-shard-box b,body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-shard-box span{font-size:16px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-fight{width:100%!important;margin-top:auto!important;font-size:22px!important;background:linear-gradient(#eef7ff,#bfdcff)!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .emp-warn{position:absolute!important;left:485px!important;top:610px!important;max-width:770px!important;z-index:3!important;background:#ffe3e7!important;color:#883d13!important;padding:4px 10px!important;margin:0!important;font-size:14px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview{min-height:400px!important;background:#f4f0ff!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-center-stage{position:relative!important;left:auto!important;top:auto!important;width:250px!important;height:340px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-center-stage>img{position:static!important;width:220px!important;height:240px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-sk-main,body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-sk-list,body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-sk-bondcard,body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-sk-row{background:#f4f0ff!important;color:#18334e!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-sk-row em{background:#ffe5a0!important;color:#18334e!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-gacha,body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-card,body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .hosp-dashboard,body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .hosp-content,body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .hosp-item,body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .hosp-stat{background:#f4f0ff!important;color:#18334e!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-grid{overflow:visible!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-empty-state{color:#18334e!important;min-height:220px!important}

body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"]>.sheet-scroll{inset:0!important;margin:0!important;padding:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .v3-page[data-home-panel="pet"]{position:static!important;backdrop-filter:none!important;filter:none!important;border:0!important;margin:0!important;padding:0!important;background:none!important}

body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src button{width:auto!important;max-width:82px!important;flex:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src>div{display:block!important;min-width:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src>i{width:36px!important;flex:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-side>*{flex-shrink:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info{height:380px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-actions button{width:auto!important;min-height:34px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-hud .uk-round{width:48px!important;height:48px!important;min-height:0!important;font-size:26px!important}

body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info *{line-height:1.25!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info h3 small{line-height:18px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-lv{gap:3px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-bond b{display:block!important;line-height:18px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-actions button{height:38px!important;min-height:0!important;margin:0!important;line-height:16px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-side{overflow-x:hidden!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-stage>img{height:310px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-podium{bottom:10px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-podium img{max-width:none!important;max-height:none!important;width:100%!important;height:100%!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-empty-state{min-height:150px!important;padding:12px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-empty-state img{height:90px!important;width:90px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]>.pet-grid{margin:10px 0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]>.emp-note{margin:0 0 8px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info{padding:12px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-side{padding:14px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-side>*{max-width:100%!important;margin-left:0!important;margin-right:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter::-webkit-meter-bar{background:#d8dee7!important;border:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter::-webkit-meter-optimum-value{background:#438de0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter::-webkit-meter-suboptimum-value{background:#438de0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter::-moz-meter-bar{background:#438de0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 progress::-webkit-progress-bar{background:#d8dee7!important;border-radius:8px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 progress::-webkit-progress-value{background:#438de0!important;border-radius:8px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-stage{overflow:hidden!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content .hosp-stat-row{color:#18334e!important;background:#f4f0ff!important}

html[data-locale="id-ID"] body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-nav button{font-size:17px!important;line-height:20px!important;word-break:normal!important;overflow-wrap:normal!important}

body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-gacha{display:grid!important;grid-template-columns:48px 1fr auto!important;align-items:center!important;gap:12px!important;padding:12px!important;margin:10px 0!important;min-height:100px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-gacha button{width:auto!important;max-width:240px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]>small{display:block!important;font-size:14px!important;line-height:1.4!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-grid{min-height:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-gacha>i{grid-column:1!important;grid-row:1!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-gacha>div{grid-column:2!important;grid-row:1!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-gacha>button{grid-column:3!important;grid-row:1!important}
/* v647d: pastel rarity headers, semantic chips and layered action colors.
   Stage 0?3 is live; stage 4 reserves the red palette without adding game state. */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info{--pet-head:#e8edf5;background:linear-gradient(125deg,#ffffffd9,var(--pet-head)) top/100% 88px no-repeat,#fff!important;box-shadow:0 5px 16px #35476a18!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info.pet-stage-0{--pet-head:#e8edf5;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info.pet-stage-1{--pet-head:#cde5ff;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info.pet-stage-2{--pet-head:#e5d3ff;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info.pet-stage-3{--pet-head:#ffdcca;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info.pet-stage-4{--pet-head:#ffd1d5;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info h3 small{color:#53627b!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-role{background:#ffffffba!important;color:#4c526d!important;border:1px solid #ffffff!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-tags em,
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status>span{padding:3px 7px!important;border-radius:999px!important;white-space:nowrap!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-tags em:nth-of-type(1){background:#ffe3e7!important;color:#93374c!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-tags em:nth-of-type(2){background:#ffead5!important;color:#854719!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status>span:nth-child(1){background:#ffe8d8!important;color:#815019!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status>span:nth-child(1) b{color:#815019!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status>span:nth-child(2){background:#f0e5ff!important;color:#68478c!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status>span:nth-child(2) b{color:#68478c!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status>span:nth-child(3){background:#e1edff!important;color:#315c8b!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status>span:nth-child(3) b{color:#315c8b!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status>span:nth-child(4){background:#f0e5ff!important;color:#68478c!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status>span:nth-child(4) b{color:#68478c!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-status{gap:4px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-tags{gap:5px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src{background:#f0f6ff!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src:has([data-pet-tab="eggs"]){background:#f5efff!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src>i{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:50%!important;background:#dbeaff!important;color:#356ca5!important;font-size:24px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src:has([data-pet-tab="eggs"])>i{background:#e9dcff!important;color:#7751a4!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src small{color:#53627b!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-src button{background:linear-gradient(#eef7ff,#b9dbff)!important;border:1px solid #91bae7!important;border-radius:999px!important;color:#244f7d!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-shard-box{background:#f4edff!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-shard-box>span{background:#ffe4d6!important;color:#78451c!important;border-radius:999px!important;padding:5px 8px!important;white-space:nowrap!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-fight,
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 [data-pet-face="grow"]{background:linear-gradient(#eef7ff,#bfdcff)!important;border-color:#91bae7!important;color:#244f7d!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-title{background:linear-gradient(110deg,#dcecff,#eadcff)!important;color:#18334e!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-title .uk-ribbon-icon{background:linear-gradient(#eef4ff,#cedeff)!important;border-radius:50%!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter,
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 progress{--pet-fill:linear-gradient(90deg,#99caff,#4f91df);--pet-track:#e2ecf9;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-bond meter{--pet-fill:linear-gradient(90deg,#ffb7d1,#df669c);--pet-track:#f9e3ed;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-shard-box meter{--pet-fill:linear-gradient(90deg,#d5b9ff,#9b75d8);--pet-track:#e9dff6;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter{border-radius:999px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter::-webkit-meter-bar{background:var(--pet-track)!important;border-radius:999px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter::-webkit-meter-optimum-value{background:var(--pet-fill)!important;border-radius:999px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter::-webkit-meter-suboptimum-value{background:var(--pet-fill)!important;border-radius:999px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter::-webkit-meter-even-less-good-value{background:var(--pet-fill)!important;border-radius:999px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 meter::-moz-meter-bar{background:var(--pet-fill)!important;border-radius:999px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 progress::-webkit-progress-bar{background:var(--pet-track)!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 progress::-webkit-progress-value{background:var(--pet-fill)!important;border-radius:999px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 progress::-moz-progress-bar{background:var(--pet-fill)!important;border-radius:999px!important;}

/* v647e: inline appearance/growth cards share the uniformly scaled laboratory board. */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face{position:absolute!important;left:485px!important;top:245px!important;width:775px!important;height:370px!important;max-height:370px!important;display:block!important;overflow:auto!important;overscroll-behavior:contain;padding:16px!important;border:2px solid white!important;border-radius:24px!important;background:linear-gradient(120deg,#e3eeff,#f2e5ff,#ffe5ef) top/100% 68px no-repeat,#fffffff0!important;color:#18334e!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face[hidden]{display:none!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-board[data-face]:not([data-face=""]) :is(.pet-center-info,.pet-center-side){visibility:hidden!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:16px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face-head h3{margin:0!important;font-size:24px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face :is(.pet-look-shop,.pet-jg,.pet-need,.pet-adv,.pet-gift-box,.pet-ui-actions){background:#f4f0ff!important;color:#18334e!important;border:1px solid #ded6f0!important;border-radius:16px!important;padding:12px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face :is(.pet-skins,.pet-jg-looks){display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face .hosp-item{background:linear-gradient(110deg,#edf3ff,#f3eaff)!important;border:1px solid white!important;border-radius:14px!important;padding:8px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face .hosp-item img{background:#e9e7fc!important;width:64px!important;height:64px!important;object-fit:contain!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face .pet-jg-looks img{width:72px!important;height:72px!important;object-fit:contain!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face .pet-jg-look{flex:1 1 110px!important;min-width:0!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face :is(.pet-jg-today,.pet-ui-empty){background:#e9edff!important;color:#425280!important;border-radius:12px!important;padding:5px 9px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 :is(.pet-template-face button, .pet-center-faces button){background:linear-gradient(#eef7ff,#b9dbff)!important;border:1px solid #91bae7!important;border-radius:999px!important;color:#244f7d!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 :is(.pet-template-face button[aria-pressed="true"], .pet-template-face [data-pet-look], .pet-center-faces button[aria-pressed="true"]){background:linear-gradient(#eef7ff,#bfdcff)!important;border-color:#91bae7!important;color:#244f7d!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-look-price{display:inline-block!important;background:#ffe4d6!important;color:#78451c!important;border-radius:999px!important;padding:4px 10px!important;white-space:nowrap!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face small{line-height:1.45!important;}

body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face .hosp-item{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face .hosp-item :is(img,b,button){grid-column:auto!important;grid-row:auto!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face .hosp-item img{width:52px!important;height:52px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face :is(b,small,p){font-size:16px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face-head{position:sticky!important;top:-16px!important;z-index:2!important;background:linear-gradient(120deg,#e3eeff,#f2e5ff,#ffe5ef)!important;padding:8px!important;border-radius:12px!important;}

/* v647f: evolution requirements share the scrollable growth card. */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evolution{display:grid!important;grid-template-columns:160px minmax(0,1fr)!important;gap:16px!important;padding:8px!important;border:1px solid #c6d8ef!important;border-radius:18px!important;background:linear-gradient(120deg,#edf5ff,#fff7e4)!important;color:#18334e!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evolution-preview{display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;text-align:center!important;min-width:0!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evolution-preview img{position:static!important;width:140px!important;height:140px!important;object-fit:contain!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evolution-checks{min-width:0!important;overflow-wrap:anywhere!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evolution-checks p{margin:0 0 7px!important;padding:6px 9px!important;border-radius:10px!important;background:#e7f2ff!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evolution-task{padding:8px 9px!important;margin-bottom:7px!important;border-radius:10px!important;background:#efe7ff!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evolution-task small{display:block!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face .pet-evolution-upgrade{width:100%!important;background:linear-gradient(#eef7ff,#bfdcff)!important;border-color:#91bae7!important;color:#244f7d!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evolution .pet-evolution-checks p{font-size:15px!important;line-height:1.2!important;margin:0 0 4px!important;padding:4px 8px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evolution .pet-evolution-task{padding:6px 8px!important;margin-bottom:4px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evolution .pet-evolution-task :is(b,small){font-size:15px!important;line-height:1.2!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-board[data-face="grow"] .pet-template-face-head{margin-bottom:8px!important;}

/* v650: skills use the same laboratory shell; one skill per page keeps upgrades visible. */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="skills"]:has(.pet-skillview){position:static!important;overflow:visible!important;padding:0!important;background:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview{display:contents!important;min-height:0!important;height:auto!important;background:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-center-stage{position:absolute!important;left:180px!important;top:245px!important;width:285px!important;height:450px!important;max-height:none!important;overflow:visible!important;text-align:center!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-center-stage>img{position:static!important;width:275px!important;height:260px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-center-stage h3{font-size:27px!important;background:#e8effff5!important;border-radius:16px!important;padding:8px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-center-stage h3 small{display:block!important;font-size:22px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-center-role{display:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-fight{width:100%!important;margin-top:10px!important;background:linear-gradient(#eef7ff,#bfdcff)!important;font-size:26px!important;min-height:52px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-help{font-size:22px!important;line-height:1.3!important;background:#f1eafff5!important;border-radius:12px!important;padding:8px!important;margin:8px 0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-main{position:absolute!important;left:480px!important;top:245px!important;width:520px!important;height:450px!important;max-height:none!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:12px!important;border:2px solid white!important;border-radius:24px!important;background:linear-gradient(135deg,#edf3ff,#f3eaff)!important;overflow:hidden!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-tabs{display:flex!important;gap:6px!important;flex:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-tabs button{flex:1!important;font-size:24px!important;padding:8px 4px!important;min-width:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-list{display:flex!important;flex-direction:column!important;gap:9px!important;flex:1!important;min-height:0!important;overflow:auto!important;background:transparent!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-row{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:5px 10px!important;padding:10px!important;border:1px solid #ccd9ed!important;border-radius:16px!important;background:linear-gradient(110deg,#e8efff,#f6f2ff)!important;flex:none!important;filter:none!important;opacity:1!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-row:nth-child(even){background:linear-gradient(110deg,#f1e8ff,#ffe8f0)!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-row[hidden]{display:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-row b{font-size:24px!important;line-height:1.2!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-row small{font-size:22px!important;line-height:1.25!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-row em{font-size:20px!important;background:#e9ddff!important;color:#593b7e!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-row em.is-active{background:#ffe5c5!important;color:#78451c!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-cd{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;font-size:22px!important;text-align:left!important;color:#384e80!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-cd button{font-size:22px!important;background:linear-gradient(#eef7ff,#bfdcff)!important;padding:6px 10px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-ic{width:52px!important;height:52px!important;min-width:0!important;background:#e8ddff!important;color:#55377b!important;box-shadow:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-note{display:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-footer{display:flex!important;gap:8px!important;flex:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-footer button{flex:1!important;font-size:24px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-bondcard{position:absolute!important;left:1015px!important;top:245px!important;width:245px!important;height:450px!important;max-height:none!important;overflow:auto!important;display:flex!important;flex-direction:column!important;gap:8px!important;padding:12px!important;border:2px solid white!important;border-radius:24px!important;background:linear-gradient(150deg,#ffe9f0,#f3eaff,#edf4ff)!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-bondcard h3{font-size:25px!important;background:#ffdae8!important;padding:7px!important;border-radius:12px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-bondcard img{width:100%!important;height:125px!important;object-fit:contain!important;flex:none!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-bondcard :is(b,small,p,span){font-size:23px!important;line-height:1.3!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-shards{background:#ffe4d6!important;border-radius:10px!important;padding:8px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-ladder li{font-size:24px!important;background:#edf0ff!important;color:#38476e!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-ladder li.is-on{background:#ffe3ed!important;color:#7d3453!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-guard>small{font-size:24px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-ui-actions{display:flex!important;gap:8px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-ui-actions button{font-size:24px!important;background:linear-gradient(#eef7ff,#bfdcff)!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-unlock{color:#754e21!important}

body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-center-stage>img{height:200px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-bondcard img{height:65px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-footer button{font-size:22px!important;min-width:0!important;padding:6px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-bondcard meter{flex:none!important}

/* v652: pastel navigation and semantic cards; gold belongs only to the visible upgrade confirmation. */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 button{background:linear-gradient(#eef7ff,#bfdcff)!important;color:#244f7d!important;border-color:#91bae7!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 :is(.pet-template-nav,.pet-template-tabs,.pet-companion-picker,.pet-sk-tabs,.pet-sk-footer) button{background:#fff!important;color:#18334e!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 :is(button[aria-pressed="true"],button[aria-current="page"]){background:linear-gradient(120deg,#cfe5ff,#e5d5ff)!important;border-color:#9a86cd!important;color:#343269!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-nav button[aria-current="page"]{background:linear-gradient(120deg,#cfe5ff,#e5d5ff)!important;border-color:#9a86cd!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 :is(.pet-template-face button[aria-pressed="true"],.pet-center-faces button[aria-pressed="true"]){background:linear-gradient(120deg,#cfe5ff,#e5d5ff)!important;border-color:#9a86cd!important;color:#343269!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-side h3{background:#e0ecff!important;border-radius:12px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-lv>b{background:#e0ecff!important;border-radius:8px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info.pet-stage-0{--pet-head:#ffe1ed;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info h3 small{background:var(--pet-head)!important;color:#384363!important;border-radius:6px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-row:has(.pet-sk-ic.is-attack){background:linear-gradient(110deg,#ffe2e5,#fff4f5)!important;border-color:#e3b0bd!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-row:has(.pet-sk-ic.is-support){background:linear-gradient(110deg,#ffe1ee,#fff3f8)!important;border-color:#dfb4cc!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-row:has(.pet-sk-ic.is-defense){background:linear-gradient(110deg,#dfeeff,#f3f7ff)!important;border-color:#aac8e8!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-ic.is-attack{background:#ffd8df!important;color:#87344b!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-ic.is-support{background:#ffdced!important;color:#813c65!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-ic.is-defense{background:#d7e9ff!important;color:#315c8b!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-bondcard meter{--pet-fill:linear-gradient(90deg,#ffb7d1,#df669c);--pet-track:#f9e3ed;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 button:focus-visible{outline:3px solid #6954b0!important;outline-offset:2px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 :is(.pet-template-face .pet-evolution-upgrade,.pet-skillview .pet-sk-cd button[data-pet-slv]){background:linear-gradient(#fff3bd,#f4c44f)!important;border-color:#b98624!important;color:#624416!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .uk-avatar{border-color:#b7cbef!important;background:#e8efff!important;}
/* v652b: 蓋過 v561 全域「選中＝金色」（含 #app），寵物頁選中改藍紫；金色只留升級／進化主鈕。 */
body[data-ui-version="3"] #app .player-sheet[data-scene-panel="pet"] .pet-template-v2 :is(button[aria-pressed="true"],button[aria-current="page"],button[aria-current="true"],button[aria-selected="true"]){background:linear-gradient(120deg,#cfe5ff,#e2d3ff)!important;color:#2f3f78!important;border-color:#8d9ff0!important;box-shadow:0 3px 0 #8d9ff0,0 0 12px #c9d4ff!important}
body[data-ui-version="3"] #app .player-sheet[data-scene-panel="pet"] .pet-template-v2 :is(.pet-template-face .pet-evolution-upgrade,.pet-skillview .pet-sk-cd button[data-pet-slv]){background:linear-gradient(#fff3bd,#f4c44f)!important;color:#493513!important;border-color:#c9952e!important}
/* 10-24 每日羈絆任務 */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq{padding:6px 8px!important;margin-bottom:6px!important;border-radius:10px!important;background:#fff4dc!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-row{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px 6px!important;margin:4px 0 0!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-row small{opacity:.8!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-row .btn{margin-left:auto!important;min-height:28px!important;padding:2px 10px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evo-tabs{display:flex!important;gap:6px!important;margin:0 0 6px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evo-tabs button{flex:1!important;min-height:30px!important;padding:2px 8px!important;border:1px solid #c9dcf2!important;border-radius:10px!important;background:#f3f8ff!important;font-weight:700!important;cursor:pointer!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-evo-tabs button[aria-selected="true"]{background:#ffe08a!important;border-color:#f0b93a!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-row{flex-wrap:nowrap!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-txt{flex:1 1 auto!important;min-width:0!important;font-size:12px!important;line-height:1.35!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-txt small{display:inline!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-row .btn{flex:none!important;width:auto!important;white-space:nowrap!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-ic{width:40px!important;height:40px!important;flex:0 0 40px!important;object-fit:contain!important;}

/* 10-24 每日羈絆：上方情境橫幅（星辰鷹素材包 餵食／陪玩／出戰） */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-scene{display:block!important;width:100%!important;height:64px!important;object-fit:cover!important;object-position:center!important;border-radius:8px!important;margin:0 0 4px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-lv{display:flex!important;align-items:center!important;gap:6px!important;margin:0 0 2px!important;font-size:13px!important;}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-bondq-lv img{width:32px!important;height:32px!important;flex:0 0 32px!important;object-fit:contain!important;}

/* 10-28 老闆「這是單純寵物界面」：拿掉左側角色選單（角色裝備／人物與裝備／背包／商店），內容往左移 158px、最右欄拉寬補滿 */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-title{left:27px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content{left:22px!important;width:1238px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-companion-picker{left:27px!important;width:1233px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-stage{left:22px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info{left:327px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-side{left:687px!important;width:573px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-faces{left:27px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .emp-warn{left:327px!important;width:928px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-face{left:327px!important;width:933px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-center-stage{left:22px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-skillview .pet-sk-main{left:322px!important;width:678px!important}
/* 「我的寵物」「寵物技能」頁內容不在框裡（static），寵物房間按鈕會跑到頂部資訊列後面被擋住；這頁上方已有孵蛋／技能／醫院分頁，房間按鈕不顯示 */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content:is([data-tab="mine"],[data-tab="skills"]) .pet-room-nav{display:none!important}
/* 10-28 老闆「處理」上下捲軸（禁止上下捲動）：孵蛋／出戰編隊／寵物醫院改左右兩欄；還放不下時 JS 算 --pet-fit 整體等比縮小（pet-template-v2.js fitPetContent） */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content{overflow:hidden!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content>*{zoom:var(--pet-fit,1)}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content .pet-room-nav{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:0 0 8px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content .pet-room-nav button{flex-direction:row!important;align-items:center!important;gap:8px!important;padding:6px 12px!important;min-height:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content .pet-room-nav button span{font-size:20px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content .pet-room-nav button b{font-size:16px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content .pet-room-nav button small{margin-left:auto!important;font-size:12px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-auto-flow:row dense!important;column-gap:14px!important;align-content:start!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]>*{grid-column:1!important;margin-top:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]>.pet-room-nav{grid-column:1/-1!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]>.pet-catalog{grid-column:2!important;grid-row:2/span 8!important;align-self:start!important;margin:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-gacha{min-height:0!important;margin:0 0 8px!important;padding:8px 12px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0 0 6px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-grid .pet-card img{max-height:90px!important;width:auto!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-empty-state{min-height:0!important;grid-column:1/-1!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-empty-state img{max-height:110px!important;width:auto!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-catalog-grid article{padding:4px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-catalog-grid img{max-height:64px!important;width:auto!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="lineup"] .pet-lineup{display:grid!important;grid-template-columns:minmax(0,560px) minmax(0,1fr)!important;column-gap:14px!important;align-content:start!important;margin:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="lineup"] .pet-lineup>*{grid-column:1!important;margin-top:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="lineup"] .pet-lineup>.pet-lineup-candidates{grid-column:2!important;grid-row:1/span 6!important;align-self:start!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="lineup"] .pet-lineup-slots{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="lineup"] .pet-lineup-slot{min-height:0!important;padding:8px 4px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="lineup"] .pet-lineup-slot img{max-height:56px!important;width:auto!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="lineup"] .pet-lineup-quest{padding:8px 10px!important;margin-top:8px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="lineup"] .pet-lineup-candidate{padding:4px 6px!important;gap:6px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="lineup"] .pet-lineup-candidate img{width:44px!important;height:44px!important;object-fit:contain!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="lineup"] .pet-lineup-candidate .btn{padding:4px 8px!important;min-height:0!important;font-size:14px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"]{display:grid!important;grid-template-columns:minmax(0,440px) minmax(0,1fr)!important;column-gap:14px!important;align-content:start!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"]>*{grid-column:2!important;margin-top:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"]>.pet-room-nav{grid-column:1/-1!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"]>.hosp-dashboard{grid-column:1!important;grid-row:2/span 4!important;align-self:start!important;margin:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"]>.hosp-nav{margin:0 0 8px!important}
/* 醫院「羈絆」：圖＋技能一欄、羈絆等級一欄；孵蛋空狀態改橫排（圖在左、字在右） */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"] .hosp-content:has(.hosp-bond){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px 12px!important;align-items:start!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"] .hosp-content:has(.hosp-bond)>*{grid-column:1!important;margin:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"] .hosp-content:has(.hosp-bond) .pet-bond-art{width:auto!important;max-height:96px!important;justify-self:center!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"] .hosp-content:has(.hosp-bond) .hosp-list .hosp-item{padding:6px 10px!important;min-height:0!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"] .hosp-content:has(.hosp-bond) .pet-skill-art{width:36px!important;height:36px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"] .hosp-content:has(.hosp-bond)>.hosp-bond{grid-column:2!important;grid-row:1/span 3!important;display:grid!important;gap:4px!important;padding:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="hosp"] .hosp-content:has(.hosp-bond)>.hosp-bond li{padding:4px 10px!important;font-size:14px!important;min-height:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-empty-state{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:8px 12px!important;text-align:left!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-empty-state img{max-height:80px!important;flex:none!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-empty-state b{font-size:15px!important;line-height:1.4!important}
/* 孵蛋：蛋卡改小卡（圖左、名稱／進度右，按鈕在下），左欄放寬放 4 欄，最多 20 顆蛋 */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]{grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:min-content!important;align-self:start!important;height:auto!important;gap:6px!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-grid .pet-card{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;grid-auto-rows:auto!important;column-gap:6px!important;row-gap:2px!important;align-items:center!important;padding:5px 6px!important;min-height:min-content!important;height:auto!important;text-align:left!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-grid .pet-card img{grid-column:1!important;grid-row:1/span 3!important;width:40px!important;height:40px!important;max-height:40px!important;object-fit:contain!important;margin:0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-grid .pet-card>:not(img):not(button){grid-column:2!important;margin:0!important;font-size:12px!important;line-height:1.25!important;width:100%!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-grid .pet-card button{grid-column:1/-1!important;min-height:0!important;padding:3px 6px!important;font-size:13px!important;margin:2px 0 0!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-catalog-grid img{max-height:52px!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"] .pet-catalog-grid small{font-size:10px!important}
/* 孵蛋：grid＋zoom 在 Chrome 列高算錯（蛋卡壓到說明文字）→ 改成一般排版：左邊 59% 依序排，圖鑑固定在右上 */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]{display:block!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]>*{width:59%!important} body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]>.pet-room-nav{width:100%!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]>.pet-catalog{position:absolute!important;top:62px!important;right:10px!important;width:40%!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-template-content[data-tab="eggs"]>small{display:block!important;margin:4px 0 0!important}
/* 「我的寵物」中間資訊卡：不捲動，放不下由 fitPetBox 等比縮小 */
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info{overflow:hidden!important}
body[data-ui-version="3"] .panel-home.has-quick-bar .player-sheet[data-scene-panel="pet"] .pet-template-v2.pet-template-v2.pet-template-v2 .pet-center-info>*{zoom:var(--pet-fit,1)}
