html, body { margin: 0; background: #526143; }
.tree-activity { position: relative; width: 100%; height: 100%; min-height: 0; display: flex; flex-direction: column; }
.tree-instruction { margin: 0; text-align: center; color: #453c2b; font: 600 clamp(16px, 2.2vw, 23px)/1.25 var(--wm-font-family, 'Trebuchet MS', sans-serif); }
.tree-canvas { flex: 1; width: 100%; min-height: 0; overflow: visible; touch-action: none; user-select: none; }
.tree-ground { fill: #b5bc88; opacity: .5; }
.tree-trunk { fill: #96704a; stroke: #755538; stroke-width: 2; stroke-linejoin: round; }
.tree-bark { fill: none; stroke: #c6a474; stroke-width: 2; stroke-linecap: round; }
.tree-sprig { fill: none; stroke: #748349; stroke-width: 2.5; stroke-linecap: round; }
.tree-foliage { visibility: hidden; pointer-events: none; }
.tree-branch.done .tree-foliage { visibility: visible; }
.tree-new-leaf { fill: #758b4b; stroke: #4d6437; stroke-width: 1.5; }
.tree-vein { fill: none; stroke: #c5d28a; stroke-width: 1; }
.tree-petal { fill: #eeb4ba; stroke: #bf7e88; stroke-width: .8; }
.tree-pollen { fill: #f1d27a; }
.tree-guide { fill: none; stroke: #b8a68b; stroke-width: 16; stroke-linecap: round; }
.tree-route { fill: none; stroke: #75644d; stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.tree-grown { fill: none; stroke: #5d7441; stroke-width: 13; stroke-linecap: round; pointer-events: none; }
.tree-hit { fill: none; stroke: transparent; stroke-width: 54; cursor: crosshair; pointer-events: stroke; }
.tree-start { fill: #fff8da; stroke: #775a37; stroke-width: 4; pointer-events: none; }
.tree-start-dot { fill: #775a37; pointer-events: none; }
.tree-leaf { fill: #cfb668; stroke: #775a37; stroke-width: 2; pointer-events: none; }
.tree-branch.done .tree-leaf { fill: #63844b; stroke: #405b30; }
.tree-branch.done .tree-start { fill: #dce5b7; }
.tree-branch:focus { outline: none; }
.tree-branch:focus-visible .tree-guide { stroke: #ba862b; stroke-width: 24; }
.tree-branch:focus-visible .tree-start { stroke: #3f392a; stroke-width: 6; }
.tree-status { margin: 0; text-align: center; color: #544b37; font: 600 clamp(14px, 1.8vw, 18px)/1.25 var(--wm-font-family, 'Trebuchet MS', sans-serif); }
.tree-status:empty { display: none; }
.tree-hand { position: fixed; z-index: 25; width: clamp(60px, 9vw, 95px); height: auto; pointer-events: none; transform: translate(-28%, -12%); filter: drop-shadow(0 3px 3px #51402040); }
.tree-hand[hidden] { display: none; }
.tree-keyboard { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-height: 500px) and (orientation: landscape) { .tree-instruction { font-size: 16px; } .tree-status { font-size: 14px; } }
html, body, #game-root { width: 100%; height: 100%; overflow: hidden; }
