+ {/* Piano-only mode: decorative backdrop above the keyboard */}
+ {layoutMode === "piano" &&
}
+
+ {/* Dedicated Sheet mode: full-height vertical page */}
+ {layoutMode === "sheet" &&
}
+
+ {/* All mode: sheet as a full-width horizontal band at the top */}
+ {layoutMode === "all" && (
+
+
+
+ )}
+
+ {/* Falling notes: middle (all) or full (falling). Keyed so it stays
+ mounted across the falling<->all toggle (no PixiJS re-init). */}
+ {(layoutMode === "falling" || layoutMode === "all") &&
}
+
+ {/* Piano keyboard: always the bottom singleton (keyed). */}
+