/* The garden is drawn live (WebGL2 sand and a 2D layer for what stands up); the drawn scene shows until then. */
.garden-table{isolation:isolate}
.garden-gl,.garden-fx{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.garden-gl{z-index:0}
.garden-fx{z-index:1}
.garden-table .scene{z-index:2}
:root:not([data-renderer=gl]) .garden-gl,:root:not([data-renderer=gl]) .garden-fx{display:none}
[data-renderer=gl] .garden-table{background:#3a2c1f;background-image:none;box-shadow:none}
#scene-host{transition:opacity 1.2s ease}
[data-renderer=gl] #scene-host{opacity:0;pointer-events:none}
[data-renderer=gl] .table-rake{display:none}
[data-renderer=gl] .garden-table .scene{touch-action:none;cursor:grab;background:none}
[data-renderer=gl] .garden-table .scene.raking{cursor:grabbing}
@media(prefers-reduced-motion:reduce){#scene-host{transition:none}}
/* The portrait tray uses the full width; the tools rest on the work surface below it. */
@media(max-width:700px) and (orientation:portrait){.garden-app{--tray-w:min(calc(100vw - 12px),calc(var(--avail-h) * 4 / 3));--tray-top:calc(var(--top) + (var(--avail-h) - var(--tray-h)) * .42)}.table-rake{left:50%;top:calc(var(--tray-top) + var(--tray-h) + 35px);height:100px;transform:rotate(-78deg);transform-origin:top center}}
