        * {
            box-sizing: border-box;
            touch-action: none;
        }

        body {
            margin: 0;
            background-color: #030806;
            color: #fff;
            font-family: 'Segoe UI', Geneva, Verdana, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            overflow: hidden;
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }

        #score-container {
            text-align: center;
            margin-bottom: 12px;
            width: 100%;
            max-width: 360px;
        }

        #score-board {
            font-size: 1.4rem;
            color: #00ff87;
            text-shadow: 0 0 10px #00ff87;
            font-weight: bold;
            letter-spacing: 1px;
            margin-bottom: 4px;
        }

        .meta-stats {
            display: flex;
            justify-content: space-between;
            padding: 0 15px;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        #high-score {
            color: #60efff;
            text-shadow: 0 0 8px #60efff;
        }

        #total-score {
            color: #ffaa00;
            text-shadow: 0 0 8px #ffaa00;
            font-weight: 600;
        }

        #canvas-container {
            position: relative;
            width: 100%;
            max-width: 380px;
            padding: 0 10px;
        }

        canvas {
            background: #040e0a;
            border: 3px solid #00ff87;
            box-shadow: 0 0 25px rgba(0, 255, 135, 0.3);
            border-radius: 12px;
            display: block;
            width: 100%;
            height: auto;
        }

        #restart-btn {
            display: none;
            position: absolute;
            top: 55%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 14px 35px;
            font-size: 1.1rem;
            font-weight: bold;
            color: #05020a;
            background-color: #00ff87;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            box-shadow: 0 0 20px #00ff87;
            z-index: 10;
            letter-spacing: 1px;
        }

        .info {
            margin-top: 15px;
            font-size: 0.85rem;
            color: #557766;
            text-align: center;
            max-width: 90%;
            line-height: 1.4;
        }

        /* Login warning overlay */
        #login-warning {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(3, 8, 6, 0.92);
            z-index: 100;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            text-align: center;
            padding: 30px;
        }
        #login-warning h2 {
            color: #00ff87;
            text-shadow: 0 0 10px #00ff87;
            font-size: 1.2rem;
            margin: 0;
        }
        #login-warning p {
            color: #557766;
            font-size: 0.85rem;
            margin: 0;
        }