button[title="Help"], button[title="Click to expand"], button[title="Load G3D file from the specified URL."] {
            display: none !important;
        }
        button[title="Load a tunnels from the provided source and create theirs representations"], button[title="Download string or binary data from the specified URL"], button[title="Load G3D file from the specified URL."] {
            display: none !important;
        }
        .msp-plugin .msp-logo {
            display: none;
        }			
        
        .container-viewer {
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
            border-radius: 12px;
            overflow: hidden; 
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            min-height: 100vh;

        }
        
        .header {
            background: linear-gradient(135deg, #3498db, #2c3e50);
            color: white;
            padding: 25px;
            text-align: center;
            width: 100%;
        }

        .header h2 {
            margin: 0;
            font-size: 2em;
            font-weight: 600;
        }

        .header p {
            margin: 5px 0 0;
            opacity: 0.9;
        }

        /* Test paragraph styles */
        .test-paragraph {
            padding: 20px;
            background: #fafafa;
            border-bottom: 1px solid #eee;
            color: #555;
            line-height: 1.6;
        }
        
        .controls {
            padding: 20px;
            background: #ecf0f1;
            border-bottom: 1px solid #bdc3c7;
            flex-wrap: wrap;
            gap: 20px;
            align-items: center;
            width: 100%;
        }
        
        .control-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .control-group label {
            font-weight: bold;
            color: #2c3e50;
        }
        
        button {
            background: #3498db;
            color: white;
            border: none;
            padding: 10px 18px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s, transform 0.2s;
        }
        
        button:hover {
            background: #2980b9;
            transform: translateY(-2px);
        }
        
        #viewer-container {
            width: 100%;
            height: 650px;
            position: relative;
            background-color: #e0e0e0;
        }
        
        .molstar-app {
            width: 100%;
            height: 100%;
        }
        
        .status-message {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 18px;
            color: #7f8c8d;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 20px 30px;
            border-radius: 8px;
            text-align: center;
        }
        
        .error {
            color: #e74c3c;
        }

        /* --- START: Mobile Toggle Button Logic --- */

        /* 1. Hide buttons by default on desktop */
        .mobile-toggles, .test-paragraph {
            display: none;
        }

        /* 2. On mobile (portrait), hide panels & show buttons */
        @media (max-width: 799px) and (orientation: portrait) {
            
            /* 2.1. Show our custom buttons */
            .mobile-toggles {
                display: flex;
                gap: 10px;
                width: 100%; /* Make them take full width */
            }
            .mobile-toggles button {
                flex-grow: 1; /* Make buttons share space */
            }
            .test-paragraph {
                display: block !important;
            }

            /* 2.2. By default, hide both bottom panels */
            .msp-plugin .msp-layout-standard-portrait .msp-layout-left,
            .msp-plugin .msp-layout-standard-portrait .msp-layout-right,
            .msp-plugin .msp-layout-standard-reactive .msp-layout-left,
            .msp-plugin .msp-layout-standard-reactive .msp-layout-right {
                display: none !important;
            }

            /* 2.3. By default, make main viewer full-height (to bottom) */
            .msp-plugin .msp-layout-standard-portrait .msp-layout-main,
            .msp-plugin .msp-layout-standard-reactive .msp-layout-main {
                bottom: 0 !important;
            }

            /* 2.4. When 'input' (left) is shown */
            .msp-plugin.show-mobile-left .msp-layout-left {
                display: block !important;
                width: 100% !important;
                left: 0 !important;
                right: 0 !important;
                bottom: 0 !important; /* Show at the bottom */
                height: 361px !important;
                border-right: none !important;
                z-index: 10;
            }

            /* 2.5. When 'output' (right) is shown */
            .msp-plugin.show-mobile-right .msp-layout-right {
                display: block !important;
                width: 100% !important;
                left: 0 !important;
                right: 0 !important;
                bottom: 0 !important; /* Show at the bottom */
                height: 361px !important;
                border-left: none !important;
                z-index: 10;
            }

            /* 2.6. When *any* panel is shown, shrink the main viewer */
            .msp-plugin.show-mobile-left .msp-layout-main,
            .msp-plugin.show-mobile-right .msp-layout-main {
                bottom: 361px !important;
            }
        }

        /* 3. On mobile (landscape), just hide the left panel (old logic) */
        @media (max-width: 799px) and (orientation: landscape) {
            .msp-plugin .msp-layout-standard-landscape .msp-layout-left,
            .msp-plugin .msp-layout-standard-reactive .msp-layout-left {
                display: none !important;
            }

            .msp-plugin .msp-layout-standard-landscape .msp-layout-main,
            .msp-plugin .msp-layout-standard-landscape .msp-layout-top,
            .msp-plugin .msp-layout-standard-landscape .msp-layout-bottom,
            .msp-plugin .msp-layout-standard-reactive .msp-layout-main,
            .msp-plugin .msp-layout-standard-reactive .msp-layout-top,
            .msp-plugin .msp-layout-standard-reactive .msp-layout-bottom {
                left: 0 !important;
            }
        }
        /* --- END: Mobile Toggle Button Logic --- */
        
        /* --- START: Bottom Test Paragraph Styles --- */
        .bottom-test-paragraph {
            padding: 20px;
            background: #fdfdfd;
            border-top: 1px solid #eee;
            color: #555;
            line-height: 1.6;
            font-size: 0.9em;
        }
        
        .bottom-test-paragraph h2 {
            margin-top: 0;
            color: #2c3e50;
        }	