* {
            user-select: none;
            -webkit-user-drag: none;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: transparent !important;
            font-family: 'Segoe UI', 'Arial', sans-serif;
            overflow: hidden;
        }

        /* Main speedometer container */
        .speedometer-container {
            position: fixed;
            bottom: 25px;
            right: 25px;
            background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(20,20,30,0.85));
            border-radius: 12px;
            padding: 20px 25px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.1);
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
            min-width: 280px;
        }
        .status-indicator.on {
         background: #4caf50;
         color: #fff;
        }

        /* Top row with gear and speed */
        .speed-row {
            display: flex;
            align-items: baseline;
            gap: 15px;
            margin-bottom: 15px;
        }

        .gear-indicator {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: linear-gradient(135deg, #0056b8, #00cc33);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: bold;
            color: #000;
            box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
            position: relative;
            flex-shrink: 0;
        }

        .gear-indicator::after {
            content: '';
            position: absolute;
            inset: 2px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
        }

        .speed-display {
            display: flex;
            align-items: baseline;
            gap: 8px;
        }

        .speed-value {
            font-size: 56px;
            font-weight: 300;
            color: #ffffff;
            text-shadow: 0 2px 8px rgba(0,0,0,0.6);
            line-height: 1;
        }

        .speed-unit {
            font-size: 16px;
            color: #888;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Status indicators row */
        .status-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            font-size: 11px;
            color: #999;
        }

        .status-indicator {
            padding: 3px 8px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.1);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

        .status-indicator.active {
            background: rgba(0, 255, 65, 0.2);
            color: #00ff41;
            box-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
        }

        .status-indicator.warning {
            background: rgba(255, 170, 0, 0.2);
            color: #ffaa00;
            box-shadow: 0 0 8px rgba(255, 170, 0, 0.3);
        }

        .status-indicator.danger {
            background: rgba(255, 68, 68, 0.2);
            color: #ff4444;
            box-shadow: 0 0 8px rgba(255, 68, 68, 0.3);
        }

        /* Progress bars container */
        .progress-container {
            display: flex;
            gap: 2px;
            height: 8px;
            border-radius: 4px;
            overflow: hidden;
            background: rgba(255,255,255,0.1);
            position: relative;
        }

        .progress-segment {
            flex: 1;
            height: 100%;
            transition: all 0.3s ease;
            position: relative;
        }

        .progress-segment.rpm {
            background: linear-gradient(90deg, #00ff41, #88ff00, #ffff00, #ff8800, #ff4444);
        }

        .progress-segment.fuel {
            background: linear-gradient(90deg, #ff4444, #ffaa00, #00ff41);
        }

        .progress-segment.health {
            background: linear-gradient(90deg, #ff4444, #ffaa00, #00ff41);
        }

        /* RPM bar (main progress bar like in image) */
        .main-progress {
            margin-top: 8px;
            height: 6px;
            background: rgba(255,255,255,0.15);
            border-radius: 3px;
            overflow: hidden;
            position: relative;
        }

        .main-progress-fill {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #00ff41 0%, #88ff00 25%, #ffff00 50%, #ff8800 75%, #ff4444 100%);
            border-radius: 3px;
            transition: width 0.2s ease-out;
            position: relative;
        }

        .main-progress-fill::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 4px;
            height: 100%;
            background: rgba(255,255,255,0.8);
            box-shadow: 0 0 6px rgba(255,255,255,0.6);
            border-radius: 0 3px 3px 0;
        }

        /* Secondary info */
        .secondary-info {
            display: flex;
            justify-content: space-between;
            margin-top: 8px;
            font-size: 10px;
            color: #666;
        }

        .info-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .info-value {
            color: #ccc;
            font-weight: 600;
        }

        /* Toggle button for detailed view */
        .toggle-detailed {
            position: absolute;
            top: -12px;
            right: 8px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            border: none;
            color: #888;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            transition: all 0.3s ease;
        }

        .toggle-detailed:hover {
            background: rgba(255,255,255,0.2);
            color: #fff;
            transform: scale(1.1);
        }

        /* Detailed panel */
        .detailed-panel {
            display: none;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(255,255,255,0.1);
            animation: slideDown 0.3s ease-out;
        }

        .detailed-panel.visible {
            display: block;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .detail-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px 15px;
            font-size: 11px;
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .detail-label {
            color: #888;
            text-transform: uppercase;
            font-size: 9px;
            letter-spacing: 0.5px;
        }

        .detail-value {
            color: #fff;
            font-weight: 600;
        }

        /* Pulsing animation for indicators */
        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }

        /* Modern glassmorphism effect */
        .speedometer-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
            border-radius: 12px;
            pointer-events: none;
        }