        * {
            box-sizing: border-box;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            user-select: none;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            margin: 0;
            padding: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            touch-action: none;
            overscroll-behavior: none;
            background-color: #000;
        }

        .container {
            max-width: 100%;
            width: 100%;
            background: #1a1a1a;
            border-radius: 16px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            padding: 12px;
            margin: 8px;
            color: #fff;
        }

        .header {
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px solid #333;
            text-align: center;
        }

        .header h2 {
            margin: 0;
            font-size: 1.5rem;
            color: #fff;
        }

        .training-area {
            position: relative;
            width: 100%;
            height: 60vh;
            background: #000;
            border-radius: 12px;
            margin-bottom: 10px;
            overflow: hidden;
            border: 2px solid #333;
        }

        .target {
            position: absolute;
            width: 24px;
            height: 24px;
            background: #ff3333;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.3s ease;
        }

        .target::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            background: #fff;
            border-radius: 50%;
        }

        .player {
            position: absolute;
            width: 2px;
            height: 16px;
            background: #33ff33;
            transform: translate(-50%, -50%);
        }

        .player::after {
            content: '';
            position: absolute;
            top: -2px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background: #33ff33;
            border-radius: 50%;
        }

        .countdown {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 64px;
            font-weight: bold;
            color: #fff;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .countdown.visible {
            opacity: 1;
        }

        .start-button {
            display: block;
            width: 100%;
            padding: 12px;
            background: #33ff33;
            color: #000;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            margin: 10px 0;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .start-button:disabled {
            background: #666;
            cursor: not-allowed;
        }

        .feedback {
            padding: 10px;
            background: #333;
            border-radius: 8px;
            margin-bottom: 10px;
            text-align: center;
            font-weight: 500;
            font-size: 14px;
            color: #fff;
        }

        .stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            padding: 10px;
            background: #333;
            border-radius: 8px;
            font-size: 14px;
            color: #fff;
        }

        .timer {
            font-weight: bold;
            color: #33ff33;
        }

        .final-score {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 32px;
            font-weight: bold;
            color: #fff;
            text-align: center;
            background: rgba(0, 0, 0, 0.9);
            padding: 16px;
            border-radius: 12px;
            display: none;
        }

        .icon-container {
            position: absolute;
            top: 10px;
            right: 20px; /* Changed from left to right */
            display: flex;
            gap: 8px;
            z-index: 1000;
        }
        
        .icon-button {
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
            background: rgba(51, 51, 51, 0.9); /* Match the game's theme */
            color: white;
            width: 36px;
            height: 36px;
        }
        
        .icon-button:hover {
            transform: scale(1.1);
            background: rgba(51, 51, 51, 1);
        }
        
        .share-icon {
            width: 20px;
            height: 20px;
        }
        
        .share-options {
            display: none;
            position: absolute;
            top: 100%;
            right: 0; /* Align with right side */
            background: #1a1a1a; /* Match the game's theme */
            border: 1px solid #333;
            border-radius: 8px;
            padding: 8px;
            margin-top: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3);
            min-width: 160px;
        }
        
        .share-options.active {
            display: block;
        }
        
        .share-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px;
            cursor: pointer;
            border-radius: 6px;
            color: white; /* Match the game's theme */
            text-decoration: none;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
        }
        
        .share-option:hover {
            background: #333; /* Match the game's theme */
        }