/* Puzzle Box · Tilt: the stacked trays in the cabinet's colors. The game's own tokens (tilt-levels.css) are
   rebuilt from the cabinet's, so depth stays lightness: blocks on the top tray in full ink, each tray below a
   step toward the page. Luke Steuber. */
.bx-tilt{
  --tl-floor:var(--band);--tl-lv0:var(--ink);--tl-hole:var(--ink);--tl-ghost:var(--guide);--tl-shaft:var(--guide);
  --tl-lv1:color-mix(in srgb,var(--ink) 74%,var(--bg));--tl-lv2:color-mix(in srgb,var(--ink) 47%,var(--bg));
  --tl-ball:color-mix(in srgb,var(--ink) 94%,var(--bg));--tl-spec:var(--bg);
  position:relative;display:flex;align-items:center;justify-content:center;max-width:100%;
  touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;outline:none
}
/* Where light-dark() is known: the game's white trays on a white page in light, its lighter highlight on the marble. */
@supports (color:light-dark(#000,#fff)){
  .bx-tilt{--tl-floor:light-dark(var(--bg),var(--band));--tl-spec:light-dark(color-mix(in srgb,var(--ink) 70%,var(--bg)),var(--ink))}
}
.bx-tilt:focus-visible svg{outline:2px solid var(--ink);outline-offset:-4px}
.bx-tilt svg{display:block;overflow:visible;touch-action:none}
.bx-tilt .bx-tilt-live{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(forced-colors:active){
  .bx-tilt{--tl-floor:Canvas;--tl-lv0:CanvasText;--tl-lv1:CanvasText;--tl-lv2:GrayText;--tl-hole:CanvasText;--tl-ghost:GrayText;--tl-shaft:GrayText;--tl-ball:CanvasText;--tl-spec:Canvas}
}
