/* One depth-tested scene contains the glass, moulding and stone light receiver. */
:root body #screen-game .restoration-frame.has-reward-scene {position:relative;isolation:isolate;background:oklch(32% .019 166)!important;border-color:transparent!important;border-image:none!important;box-shadow:none!important;color:oklch(94% .03 86);}
:root body #screen-game .restoration-frame.has-reward-scene::before,
:root body #screen-game .restoration-frame.has-reward-scene::after {display:none!important;}
:root body #screen-game .has-reward-scene .reward-scene {position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;border-radius:inherit;}
:root body #screen-game .has-reward-scene :is(#win-message,#puzzle-title,#tutorial-result-heading) {color:oklch(95% .035 86);text-shadow:0 2px 3px oklch(15% .025 165 / .6);}
:root body #screen-game .has-reward-scene #win-note {color:oklch(89% .03 85);}
:root body .glass-reward.has-unified-frame .reward-object > * {visibility:hidden!important;}
:root body .glass-reward.has-unified-frame .reward-object:focus-visible {outline:none;}
/* Input belongs to the stationary viewing area. A CSS 3D plane at exactly
   90 degrees can otherwise report hits beyond its projected bounds. */
:root body .glass-reward .reward-object {pointer-events:none!important;}
:root body .glass-reward:has(.reward-object.is-dragging) {cursor:grabbing;}
/* The no-WebGL alternative is an honest thin framed panel, without fake slabs. */
:root body .glass-reward :is(.reward-side,.reward-side-bottom,.reward-side-top) {display:none;}
:root body .glass-reward .reward-back {inset:0;background:transparent;transform:translateZ(-1px) rotateY(180deg);}
:root body .glass-reward .reward-back .reward-reverse {inset:0;width:100%;height:100%;}
:root body .glass-reward .reward-back .depth-frame {inset:-8.7%;width:117.4%;height:117.4%;}
