/* Critical CSS - Inlined for performance */
        :root {
            --wiki-blue: #3366cc;
            --wiki-light-blue: #e6f2ff;
            --wiki-gray: #f6f6f6;
            --wiki-border: #a7d7f9;
        }
        
        * {
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Lato', 'Helvetica', 'Arial', sans-serif;
            line-height: 1.6;
            color: #202122;
            margin: 0;
            padding: 0;
            background-color: #f8f9fa;
        }
        
        /* Wiki-specific styling */
        .wiki-container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            box-shadow: 0 1px 1px rgba(0,0,0,0.15);
        }
        
        .wiki-header {
            border-bottom: 1px solid #a2a9b1;
            background: white;
        }
        
        .wiki-nav {
            border-bottom: 1px solid #a2a9b1;
            background-color: var(--wiki-gray);
        }
        
        .wiki-content {
            padding: 1.5rem;
            overflow: hidden;
        }
        
        .wiki-sidebar {
            background-color: var(--wiki-light-blue);
            border: 1px solid var(--wiki-border);
            padding: 1rem;
            margin: 0 0 1rem 1rem;
            float: right;
            width: 22rem;
            clear: right;
        }
        
        .wiki-infobox {
            border-collapse: collapse;
            margin: 0.5em 0 0.5em 1em;
            padding: 0.2em;
            float: right;
            clear: right;
            font-size: 88%;
            line-height: 1.5em;
            width: 22em;
            border: 1px solid #a2a9b1;
            background-color: #f8f9fa;
        }
        
        .wiki-infobox th, .wiki-infobox td {
            vertical-align: top;
            padding: 0.2em 0.4em;
        }
        
        .wiki-infobox th {
            text-align: left;
            background-color: #eaecf0;
        }
        
        .wiki-footer {
            border-top: 1px solid #a2a9b1;
            padding: 1.5rem;
            background-color: var(--wiki-gray);
            font-size: 0.875rem;
            color: #54595d;
        }
        
        .wiki-toc {
            background-color: var(--wiki-gray);
            border: 1px solid #a2a9b1;
            padding: 1rem;
            margin-bottom: 1.5rem;
            width: 100%;
            font-size: 95%;
        }
        
        /* Responsive design adjustments */
        @media (max-width: 768px) {
            .wiki-sidebar, .wiki-infobox {
                float: none;
                width: 100%;
                margin: 0 0 1.5rem 0;
            }
            
            .wiki-content {
                padding: 1rem;
            }
            
            .hamburger-menu {
                display: block;
            }
            
            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
            }
            
            .nav-links.active {
                display: flex;
            }
        }
        
        @media (min-width: 769px) {
            .hamburger-menu {
                display: none;
            }
            
            .nav-links {
                display: flex;
            }
        }
        
        /* Interactive elements */
        .btn {
            min-height: 44px;
            min-width: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem 1rem;
            border-radius: 2px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }
        
        .btn-primary {
            background-color: var(--wiki-blue);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #2a4b8d;
        }
        
        .share-btn {
            background-color: #f0f0f0;
            border: 1px solid #a2a9b1;
            padding: 0.5rem;
            margin: 0.25rem;
            border-radius: 4px;
            cursor: pointer;
        }
        
        .share-btn:hover {
            background-color: #e0e0e0;
        }
        
        /* Back to top button */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background-color: var(--wiki-blue);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .back-to-top.visible {
            opacity: 1;
        }
        
        /* Comment and rating styling */
        .comment-box, .rating-box {
            border: 1px solid #a2a9b1;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            background-color: white;
        }
        
        .star-rating {
            display: flex;
            direction: row;
            gap: 0.25rem;
        }
        
        .star {
            font-size: 1.5rem;
            color: #ddd;
            cursor: pointer;
            transition: color 0.2s;
        }
        
        .star:hover, .star.active {
            color: #ffc107;
        }
        
        /* Ensure tap targets are large enough on mobile */
        @media (max-width: 768px) {
            a, button, input, .btn, .share-btn, .star {
                min-height: 44px;
                min-width: 44px;
            }
            
            .hamburger-menu {
                min-height: 44px;
                min-width: 44px;
            }
        }
        
        /* Loading animations for images */
        img {
            transition: opacity 0.3s;
        }
        
        img.loading {
            opacity: 0.3;
        }
        
        img.loaded {
            opacity: 1;
        }

