/* Cultivation study: readable text on light surfaces and restrained jade controls. */
body #ui .screen.lab :is(.ic,.lab-card){background:#eeeada;color:#294a35;border:1px solid #a6b18b88;box-shadow:0 4px 14px #102a2226;border-radius:7px}
body #ui .screen.lab :is(.ic-name b,.lab-bd h3,.lab-lv,.it-slots b){color:#254b35!important;-webkit-text-fill-color:#254b35;font-weight:700;text-shadow:none}
body #ui .screen.lab :is(.ic-name small,.ic-desc,.ic-req,.ic-foot small,.ic-note,.ic-price,.ic-prog small,.lab-bd p,.it-slots small){color:#536b50!important;-webkit-text-fill-color:#536b50;text-shadow:none}
body #ui .screen.lab .ic-foot{border-top-color:#b5bf9966}
body #ui .screen.lab :is(.ic-buy,.lab-buy.can){background:#4b7051!important;border:1px solid #36553d;color:#f3efdf!important;-webkit-text-fill-color:#f3efdf;box-shadow:none;border-radius:5px;font-weight:650}
body #ui .screen.lab .ic-buy em{background:#304e3a;color:#f3efdf;-webkit-text-fill-color:#f3efdf;border-radius:4px}
body #ui .screen.lab :is(.ic-buy.poor,.lab-buy:not(.can):not(.max)){background:#d5ddc5!important;color:#52674e!important;-webkit-text-fill-color:#52674e;border:1px solid #a6b18b88;box-shadow:none;border-radius:5px}
body #ui .screen.lab .ic-buy.poor em{background:#c6d2b8;color:#425b40;-webkit-text-fill-color:#425b40}
body #ui .screen.lab .lab-buy.max{background:#d1bf8f;color:#294a35;-webkit-text-fill-color:#294a35;box-shadow:none;border-radius:5px}
body #ui .screen.lab .it-f .it-n{background:#dce5cc!important;color:#294a35!important;-webkit-text-fill-color:#294a35;font-weight:700}
body #ui .screen.lab .it-f.on .it-n{background:#36543e!important;color:#f0ebd7!important;-webkit-text-fill-color:#f0ebd7}
body #ui .screen.lab .it-f:disabled{opacity:.7}
body #ui .screen.lab .it-slots{background:#e2e6d1;border:1px solid #a6b18b88;border-radius:5px;box-shadow:none}
body #ui .screen.lab .it-slots.none{opacity:1}
body #ui .screen.lab .lab-mode{background:#dfe4ce;color:#294a35;border:1px solid #9eac7d88;border-radius:6px;box-shadow:none}
body #ui .screen.lab .lab-mode.on{background:#eee5ca;border-color:#c5ae72;box-shadow:none}
body #ui .screen.lab .lm-tx b{color:#294a35;-webkit-text-fill-color:#294a35;font-weight:650}
body #ui .screen.lab .lm-tx em{color:#536b50;-webkit-text-fill-color:#536b50}
body #ui .screen.lab .lm-chip{background:#cddbbe;color:#36543e;-webkit-text-fill-color:#36543e;border-radius:4px;box-shadow:none;animation:none;font-weight:600}
body #ui .screen.lab .lm-chip.hot{background:#d6c38d;color:#3e4c32;-webkit-text-fill-color:#3e4c32}
body #ui .screen.lab .lm-ic{background:#d4dfc2;border:1px solid #a6b18b88;box-shadow:none}
body #ui .screen.lab .lab-top{background:#b8c9a5;border-bottom:1px solid #a6b18b88}
body #ui .screen.lab .lab-card.max .lab-top{background:#d2c398}
body #ui .screen.lab .ic-bar{background:#d6dfc7}
body #ui .screen.lab .ic-bar i{background:#829f73}
body #ui .screen.lab .currency.dust,body #ui .screen.lab .currency.dust>span{color:#254b35!important;-webkit-text-fill-color:#254b35;font-weight:700;text-shadow:none}
body #ui .screen.lab .currency.dust{background:#e6e4d1!important;border:1px solid #a6b18b88;box-shadow:none}

/* Keep the individual item filters; remove the shared white backing tray. */
body #ui .screen.lab .it-filters{background:transparent!important;border:0;border-radius:0;box-shadow:none!important;outline:0;padding:0}

/* Dedicated, readable upgrade sprites; no generic consumable remapping. */
body #ui .screen.lab .lab-ic img.yq-upgrade-icon{display:block;width:42px;height:42px;object-fit:contain;padding:0;border:0;border-radius:0;background:transparent;image-rendering:pixelated;box-shadow:none;filter:none;clip-path:none}

/* R120: keep rarity dot halo inside the scrolling content boundary. */
body #ui .screen.lab .it-sec>h4{padding-inline-start:12px;box-sizing:border-box}
body #ui .screen.lab .it-sec>h4>i{flex-shrink:0}

/* Unique item art: preserve ratio and the full generated silhouette. */
body :is(#ui,.modal,.season-modal) img.yq-item-art{object-fit:contain!important;flex-shrink:0;image-rendering:auto!important;filter:none;clip-path:none}
