@@ -210,6 +236,13 @@
max-width: calc(100vw - 48px);
}
+ /* On touch devices, hide the duplicated header action buttons (UNDO /
+ RESTART / LEVELS) and reserve room for the bottom MobileControls. */
+ @media (pointer: coarse) {
+ .desktop-actions { display: none; }
+ .board-wrap { max-height: calc(100vh - 260px); }
+ }
+
.error {
color: var(--danger);
font-weight: 700;
diff --git a/src/views/MobileControls.svelte b/src/views/MobileControls.svelte
new file mode 100644
index 0000000..a55875d
--- /dev/null
+++ b/src/views/MobileControls.svelte
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+