@layer components{.ll-dice,.ll-cube{width:var(--dice-s,48px);height:var(--dice-s,48px);flex-shrink:0;display:inline-block;position:relative;overflow:visible}.ll-dice-art{width:var(--dice-box);height:var(--dice-box);background:var(--dice-still) 0 0 / 100% 100% no-repeat;pointer-events:none;position:absolute;top:50%;left:50%;translate:-50% -50%}.ll-cube-still{width:var(--dice-box);height:var(--dice-box);pointer-events:none;max-width:none;position:absolute;top:50%;left:50%;translate:-50% -50%}.ll-cube-tile{background:var(--surface-2);width:100%;height:100%;color:var(--foreground);border-radius:25%;display:block}.ll-cube-tile path{fill:currentColor}.ll-flat{perspective:calc(var(--dice-s,24px) * 6)}.ll-flat-stage{transform-style:preserve-3d;position:absolute;inset:0}.ll-flat-tile{--flat-c:var(--wm-p0);--flat-on:var(--wm-on0);background:var(--flat-c);backface-visibility:hidden;border-radius:16.65%;width:400%;height:400%;position:absolute;top:-150%;left:-150%;overflow:hidden;transform:scale(.25)}.ll-flat[data-turning] .ll-flat-stage,.ll-flat[data-turning] .ll-flat-tile{will-change:transform}.ll-flat[data-turning] .ll-flat-shade{will-change:opacity}.ll-flat-tile>svg{width:100%;height:100%;display:block}.ll-flat-tile path{fill:var(--flat-on)}.ll-flat-shade{background:var(--scrim);opacity:0;pointer-events:none;position:absolute;inset:0}}
