@scope (#original-content) {

        #parking-puzzle {
            max-width: 600px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        #parking-puzzle * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        #parking-puzzle h1 {
            text-align: center;
            color: #333;
            margin-bottom: 10px;
            font-size: 24px;
        }
        
        #parking-puzzle .instruction {
            text-align: center;
            color: #555;
            margin-bottom: 20px;
            font-size: 16px;
        }
        
        #parking-puzzle .parking-lot {
            position: relative;
            width: 100%;
            background-color: #f9b142;
            height: 200px;
            border: 2px solid #333;
            margin-bottom: 20px;
            perspective: 1000px;
            transform-style: preserve-3d;
            transition: transform 1s ease;
        }
        
        #parking-puzzle .parking-spaces {
            display: flex;
            height: 100%;
            width: 100%;
            position: relative;
        }
        
        #parking-puzzle .space {
            flex: 1;
            border-right: 2px solid #ffffff;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            padding-bottom: 10px;
        }
        
        #parking-puzzle .space:last-child {
            border-right: none;
        }
        
        #parking-puzzle .space-number {
            font-size: 32px;
            font-weight: bold;
            color: #333333;
        }
        
        #parking-puzzle .car {
            position: absolute;
            width: 16.66%; /* 1/6 of the parking lot */
            height: 60%;
            top: 20%;
            left: 66.66%; /* Position at the 5th space (0-indexed) */
            background-color: darkred;
            border-radius: 8px;
            z-index: 10;
            transform-origin: center center;
        }
        
        #parking-puzzle .car:before {
            content: '';
            position: absolute;
            width: 80%;
            height: 50%;
            top: 10%;
            left: 10%;
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 5px;
        }
        
        #parking-puzzle .car:after {
            content: '';
            position: absolute;
            width: 15%;
            height: 8%;
            bottom: 15%;
            left: 15%;
            background-color: #000;
            border-radius: 50%;
            box-shadow: 55% 0 0 0 #000;
        }
        
        #parking-puzzle .controls {
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: center;
        }
        
        #parking-puzzle .answer-form {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
            justify-content: center;
        }
        
        #parking-puzzle input {
            padding: 8px 12px;
            border: 2px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            width: 100px;
            text-align: center;
        }
        
        #parking-puzzle button {
            padding: 8px 16px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }
        
        #parking-puzzle button:hover {
            background-color: #2980b9;
        }
        
        #parking-puzzle .button-group {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        #parking-puzzle .flip-btn {
            background-color: #e74c3c;
        }
        
        #parking-puzzle .flip-btn:hover {
            background-color: #c0392b;
        }
        
        #parking-puzzle .hint-btn {
            background-color: #f39c12;
        }
        
        #parking-puzzle .hint-btn:hover {
            background-color: #d35400;
        }
        
        #parking-puzzle .reset-btn {
            background-color: #7f8c8d;
        }
        
        #parking-puzzle .reset-btn:hover {
            background-color: #636e72;
        }
        
        #parking-puzzle .flipped {
            transform: rotate(180deg);
        }
        
        #parking-puzzle .message {
            text-align: center;
            margin: 15px 0;
            font-weight: bold;
            min-height: 24px;
        }
        
        #parking-puzzle .correct {
            color: #27ae60;
        }
        
        #parking-puzzle .incorrect {
            color: #e74c3c;
        }
        
        #parking-puzzle .hint {
            color: #f39c12;
            font-style: italic;
            display: none;
        }
    
}
