:root {
     --safe-area-inset-top: env(safe-area-inset-top, 0px);
     --safe-area-inset-right: env(safe-area-inset-right, 0px);
     --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
     --safe-area-inset-left: env(safe-area-inset-left, 0px);
 }

 * {
     box-sizing: border-box;
     user-select: none;
     -webkit-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
 }

 html,
 body {
     margin: 0;
     padding: 0;
     width: 100%;
     height: 100%;
     overflow: hidden;
     background-color: #000;
     color: white;
     font-family: 'Playpen Sans', 'Noto Sans', sans-serif;
 }

 canvas {
     position: fixed;
     top: 0;
     left: 0;
     width: 100vw;
     height: 100vh;
     display: block;
     touch-action: none;
 }

 #matrix-canvas {
     z-index: 1;
     pointer-events: none;
 }

 #dots-canvas-container {
     z-index: 10;
     touch-action: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
 }

 #heart-canvas {
     z-index: 20;
     display: none;
     pointer-events: none;
 }

 #falling-words-canvas {
     z-index: 15;
     pointer-events: none;
 }

 /* Portrait is supported (studio phone preview + real phones).
    Do not hide .app-container — the old rotate-device gate left a blank black screen. */
