Prompt
Create a complete, playable Tetris game as a single self-contained HTML file. Use an HTML5 canvas and vanilla JavaScript/CSS only; no external libraries, fonts, images, or network requests. Requirements: 10x20 playfield; all 7 tetrominoes; SRS-style rotation with basic wall kicks; 7-bag randomizer; ghost piece; hold piece with one-use-per-drop lock; next queue showing 3 pieces; soft drop and hard drop; scoring for line clears, combos, and drops; level progression that increases gravity; pause/resume; game over and restart; keyboard controls (arrows, Z/X rotate, space hard drop, C hold, P pause) plus on-screen touch buttons for mobile. Render a clean modern UI with a score panel, next/hold previews, and a responsive layout that fits desktop and mobile. Include a brief controls legend. Acceptance criteria: opening the file starts a playable game; all listed controls work; pieces move, rotate, lock, clear lines, and spawn correctly; score/level/lines update; pause stops gravity; game over appears when the stack reaches the top; restart resets all state. Return the full HTML file as the deliverable.