/* r63: a consistent focal area for each upgrade, normalized to visible sprite bounds. */
body #ui .screen.lab .lab-card .lab-top{height:140px;flex:none;align-items:center;background:#afc19f;border-bottom:1px solid #9aa98266;}
body #ui .screen.lab .lab-card .lab-ic{
 --yq-art-size:70px;position:relative;display:block;width:92px;height:92px;flex:none;margin:22px 0 0;padding:0;transform:none;
 border:1px solid #b8b083!important;border-radius:9px;background:#244c3c!important;box-shadow:none!important;overflow:hidden;
}
body #ui .screen.lab .lab-card .lab-ic>img.yq-upgrade-icon{
 position:absolute;left:50%;top:50%;display:block;width:calc(var(--yq-art-size)*var(--art-w,1));height:calc(var(--yq-art-size)*var(--art-h,1));max-width:none;max-height:none;
 transform:translate(var(--art-x,-50%),var(--art-y,-50%));object-fit:contain;margin:0;padding:0;border:0;background:transparent;image-rendering:pixelated;animation:none!important;
}
body #ui .screen.lab .lab-card .lab-lv{top:9px;right:10px;font-size:11px;padding:3px 9px;background:#eef0de;border-radius:4px;line-height:1.25;}
body #ui .screen.lab .lab-card .lab-bd{padding:16px 14px 12px;gap:7px;}
body #ui .screen.lab .lab-card .lab-bd h3{line-height:1.35;}
body #ui .screen.lab .lab-card .lab-bd p{line-height:1.55;min-height:40px;}
body #ui .screen.lab .lab-card .pips{gap:4px;padding-top:4px;}
body #ui .screen.lab .lab-card .pips>i{background:#cbd4b8;}
body #ui .screen.lab .lab-card .pips>i.on{background:#748f63;}
body #ui .screen.lab .lab-card.max .lab-top{background:#c9bd94;}
@media(max-width:600px){
 body #ui .screen.lab .lab-card .lab-top{height:130px;}
 body #ui .screen.lab .lab-card .lab-ic{--yq-art-size:64px;width:86px;height:86px;margin-top:20px;}
}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="archive"]{--art-w:1.2549;--art-h:1.2549;--art-x:-52.344%;--art-y:-53.906%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="armor"]{--art-w:1.2;--art-h:1.2;--art-x:-50%;--art-y:-50%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="banish"]{--art-w:1.2;--art-h:1.2;--art-x:-51.042%;--art-y:-50%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="choice4"]{--art-w:1.30612;--art-h:1.30612;--art-x:-50.781%;--art-y:-52.344%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="dmg"]{--art-w:1.12281;--art-h:1.12281;--art-x:-52.344%;--art-y:-51.563%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="gold"]{--art-w:1.68421;--art-h:1.68421;--art-x:-50%;--art-y:-47.656%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="hp"]{--art-w:1.23077;--art-h:1.23077;--art-x:-50%;--art-y:-51.563%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="luck"]{--art-w:1.6;--art-h:1.6;--art-x:-49.219%;--art-y:-51.563%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="magnet"]{--art-w:1.23077;--art-h:1.23077;--art-x:-51.563%;--art-y:-50.781%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="party"]{--art-w:1.30612;--art-h:1.30612;--art-x:-49.219%;--art-y:-53.125%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="regen"]{--art-w:1.2;--art-h:1.2;--art-x:-50%;--art-y:-50%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="reroll"]{--art-w:1.52381;--art-h:1.52381;--art-x:-50%;--art-y:-50%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="research"]{--art-w:1.3617;--art-h:1.3617;--art-x:-50.781%;--art-y:-51.563%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="revive"]{--art-w:1.2549;--art-h:1.2549;--art-x:-53.906%;--art-y:-50.781%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="skip"]{--art-w:1.45455;--art-h:1.45455;--art-x:-50%;--art-y:-52.344%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="slot-move"]{--art-w:1.23077;--art-h:1.23077;--art-x:-50%;--art-y:-49.219%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="slot-vit"]{--art-w:1.42222;--art-h:1.42222;--art-x:-50.781%;--art-y:-55.469%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="spd"]{--art-w:1.10345;--art-h:1.10345;--art-x:-53.125%;--art-y:-52.344%;}

body #ui .screen.lab .lab-card img[data-yq-upgrade-icon="xp"]{--art-w:2.06452;--art-h:2.06452;--art-x:-50%;--art-y:-49.219%;}
