diff --git a/public/focus.css b/public/focus.css index be0b638..3322f49 100644 --- a/public/focus.css +++ b/public/focus.css @@ -404,6 +404,18 @@ body[data-game-active="true"] .friend-challenge:not([hidden]),body[data-game-act --mark-width:3; --guide-width:1.5; } +/* Game gestures should manipulate the puzzle rather than select nearby text. + Scope this to gameplay so results and copy/paste fields remain usable. */ +body[data-game-active="true"] :is(.gamebar,.game-round,.game-controls){ + -webkit-user-select:none; + user-select:none; + -webkit-touch-callout:none; +} +body[data-game-active="true"] .game-controls :is(input:not([type="range"]),textarea,[contenteditable="true"]){ + -webkit-user-select:text; + user-select:text; + -webkit-touch-callout:default; +} body[data-game-active="true"] .game-prompt h1{ font:600 clamp(24px,6.8vw,32px)/1.23 var(--font); letter-spacing:-1.1px; diff --git a/public/focus.html b/public/focus.html index ed6e7a6..5b731c6 100644 --- a/public/focus.html +++ b/public/focus.html @@ -1,5 +1,5 @@ -