body #sceneWood{position:relative;padding:0!important;height:100dvh;overflow:hidden}
body #sceneWood #woodStage,body #sceneWood #woodStage.playing{position:fixed;inset:var(--garden-appbar-height) 0 var(--garden-safe-bottom);z-index:0;width:100vw;height:var(--garden-play-height);aspect-ratio:auto;margin:0;overflow:hidden}
body #sceneWood #woodStage>.mini-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
body #sceneWood>.mini-info{position:fixed;left:0;right:0;top:var(--garden-appbar-height);z-index:20;padding:5px 10px;display:flex;align-items:center;justify-content:space-between;background:#ffffff80;font-size:12px}
body #sceneWood>.mini-controls{position:fixed;left:0;right:0;top:calc(var(--garden-appbar-height) + 32px);bottom:0;z-index:20;padding:6px 10px;background:transparent;pointer-events:none}
body #sceneWood>.mini-controls button,body #sceneWood>.mini-controls summary{pointer-events:auto}
body #sceneWood #woodStatus{position:absolute;inset:2px 10px auto;font-size:11px;padding:3px 6px;margin:0;background:#ffffffb3;border-radius:8px;color:#253344}
body #sceneWood #woodLobby{position:absolute;left:10px;right:10px;top:32px;padding:8px;background:#ffffff99;border:1px solid #fff;border-radius:18px;pointer-events:auto}
body #sceneWood #woodLobby p{font-size:11px;margin:4px}
body #sceneWood .wood-gauges{position:fixed;left:50%;top:calc(var(--garden-appbar-height) + (100dvh - var(--garden-appbar-height))*.48);transform:translate(-50%,-50%);width:min(88vw,430px);gap:6px;z-index:30;pointer-events:none}
body #sceneWood .wood-gauges>div{width:100%;gap:6px}
body #sceneWood #woodPowerTap{width:min(100px,26vw);height:min(44dvh,310px);min-height:150px;padding-bottom:32px}
body #sceneWood #woodAxisTap{width:min(84vw,400px);height:calc(min(37dvh,240px) + 32px);min-height:135px;padding:0 0 32px}
body #sceneWood #woodAxisGauge{width:100%;height:auto!important;max-height:32dvh;min-height:0}
body #sceneWood #woodGaugeHint{position:fixed;left:10px;right:10px;bottom:calc(90px + env(safe-area-inset-bottom));z-index:32;font-size:12px;text-align:center;margin:0;color:#253344}
body #sceneWood #woodNext{bottom:calc(14px + env(safe-area-inset-bottom));z-index:35}
body #sceneWood #woodLogState{bottom:calc(90px + env(safe-area-inset-bottom));font-size:12px}
body #sceneWood #woodHit{top:30%;font-size:clamp(24px,7vw,38px)}
body #sceneWood .mini-help{position:absolute;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));margin:0;max-width:44px;pointer-events:auto;z-index:38}
body #sceneWood .mini-help[open]{max-width:min(300px,90vw);background:#fffffff2;padding:8px}
body #sceneWood #woodDamage{position:fixed;left:12px;right:12px;bottom:calc(56px + env(safe-area-inset-bottom));z-index:28;font-size:11px;max-width:none;margin:0}

/* The game uses one yard coordinate system from the top of the viewport. */
body #sceneWood #woodStage>.mini-backdrop{object-position:center top!important;transform:scale(1.5);transform-origin:center top;}
body #sceneWood #woodStage,body #sceneWood #woodStage.playing{inset:0 0 var(--garden-safe-bottom);height:calc(100dvh - var(--garden-safe-bottom))}
body #sceneWood #gardenLocalNav{position:fixed;left:10px;right:auto;top:calc(var(--garden-appbar-height) + 8px);z-index:25;padding:0;background:transparent}
body #sceneWood #gardenLocalNav button.garden-ui-button{--garden-icon-size:48px}
body #sceneWood>.mini-info{top:calc(var(--garden-appbar-height) + 6px);left:70px;right:10px;gap:6px;padding:2px 4px;background:transparent;font-size:11px;min-height:22px}
body #sceneWood #woodStatus{position:fixed;top:calc(var(--garden-appbar-height) + 32px);left:70px;right:10px;width:auto;max-width:none;font-size:11px;padding:2px 5px;background:#ffffffa6}
body #sceneWood:has(#woodLobby:not([hidden])) #woodStatus{display:none}
body #sceneWood #woodLobby{position:fixed;display:flex;left:auto;right:12px;top:calc(var(--garden-appbar-height) + 76px);width:auto;gap:14px;margin:0;padding:0;background:transparent;border:0;justify-content:flex-end;align-items:flex-start}
body #sceneWood #woodLobby[hidden]{display:none!important}
body #sceneWood #woodLobby>.garden-ui-control{width:76px;max-width:76px;padding:0;gap:3px}
body #sceneWood #woodLobby button.garden-ui-button{--garden-icon-size:56px}
body #sceneWood #woodLobby .garden-ui-caption{font-size:10px;line-height:1.3}
body #sceneWood #woodGauges.wood-gauges{position:fixed;left:auto;right:12px;top:calc(var(--garden-appbar-height) + 48px);transform:none;width:auto;max-width:calc(100vw - 24px);gap:4px;align-items:flex-end}
body #sceneWood #woodGauges.wood-gauges>div{width:auto;gap:4px;align-items:center}
body #sceneWood #woodGauges.wood-gauges b,body #sceneWood #woodGauges.wood-gauges strong{font-size:12px;line-height:1.25;padding:2px 6px}
body #sceneWood #woodPowerTap{width:64px;height:140px;min-height:140px;padding:0 0 36px}
body #sceneWood #woodPowerGauge{width:100%;height:100%;max-height:none;min-height:0}
body #sceneWood #woodAxisTap{width:min(160px,calc(100vw - 24px));height:112px;min-height:112px;padding:0 0 36px}
body #sceneWood #woodAxisGauge{height:100%!important;width:100%;min-height:0;max-height:none}
body #sceneWood #woodGauges.wood-gauges .garden-gauge-tap-icon{width:36px;height:36px;padding:5px}
body #sceneWood #woodGaugeHint,body #sceneWood #woodSeasonRule,body #sceneWood .mini-help,body #sceneWood #woodLogState{display:none!important}
body #sceneWood #woodDamage{left:50%;right:auto;bottom:calc(78px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(280px,calc(100vw - 24px));max-width:none;min-height:0;height:auto;padding:3px 8px;background:#ffffffa6;border-radius:10px;line-height:1.3;text-align:center}
body #sceneWood #woodDamage progress{height:7px;display:block;margin:2px 0 0}
body #sceneWood #woodHit{top:calc(var(--garden-appbar-height) + 96px);font-size:clamp(24px,7vw,38px)}
