        /* Custom styles for the path painter game */
        body,
        html {
            height: 100%;
            margin: 0;
            font-family: 'Chakra Petch', sans-serif;
            background-color: #1a1a1a;
            color: #fff;
            overflow: hidden;
            user-select: none;
        }

        .game-container {
            position: relative;
            width: 100%;
            height: 100%;
            background-color: #000;
        }

        #game-canvas {
            display: block;
            width: 100%;
            height: 100%;
        }

        #ui-container {
            position: absolute;
            top: 20px;
            left: 0;
            width: 100%;
            padding: 0 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            pointer-events: none;
            text-shadow: 0 0 10px #0ff;
        }

        #score-display,
        #percentage-display {
            font-size: 2rem;
            color: #0ff;
        }

        /* Start & Game Over Screen Styling */
        .screen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            background-color: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(5px);
            z-index: 10;
        }

        .screen-title {
            font-size: 4rem;
            color: #0ff;
        }

        .final-score-value {
            font-size: 6rem;
            color: #0ff;
        }

        .legal-text {
            color: #000000;
        }