/* The material arrives as one decoded composite, without a hard slab swap. */
.d-refined .d-glass { background:none;box-shadow:none; }
.d-refined .d-glass::before { content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:rgba(244,242,229,.04);box-shadow:inset 2px 3px 2px rgba(255,255,255,.75),inset -2px -3px 3px rgba(25,36,34,.6),0 3px 0 rgba(81,86,83,.7),0 9px 0 rgba(161,165,158,.6),0 12px 2px rgba(23,31,28,.35);opacity:1;transition:opacity 480ms ease; }
.d-refined.d-material-ready .d-glass::before { opacity:0; }
.d-refined .d-glass-material,.d-refined .d-rim-lighting { transition:opacity 480ms ease; }
.d-refined .d-glass-edge { opacity:1;transition:opacity 480ms ease; }
.d-refined.d-material-ready .d-glass-edge { display:block;opacity:0; }
.d-refined .d-glass-surface { transition:opacity 480ms ease,box-shadow 480ms ease; }
.d-refined .d-rim-lighting img[hidden] { display:none; }
@media(prefers-reduced-motion:reduce) {
 .d-refined .d-glass::before,.d-refined .d-glass-material,.d-refined .d-rim-lighting,.d-refined .d-glass-edge,.d-refined .d-glass-surface { transition:none; }
}
