
        /* * MODERNIST CSS CUSTOM PROPERTIES 
         * Premium Matte Palette - Zero Gradients
         */
        :root {
            --bg-body: #F4F4F0;       /* Crisp Off-White */
            --bg-canvas: #FFFFFF;     /* Pure White Card */
            --text-main: #2D3748;     /* Deep Slate */
            --text-muted: #718096;    /* Cool Gray */
            --border-color: #E2E8F0;  /* Soft Divider */
            --nav-bg: #FFFFFF;
            --ad-placeholder: #EDF2F7;
            --primary-accent: #2B6CB0;
        }

        html[data-theme="dark"] {
            --bg-body: #111319;       /* Deep Charcoal */
            --bg-canvas: #1A1D24;     /* Matte Dark Slate */
            --text-main: #F7FAFC;     /* Off-White Text */
            --text-muted: #A0AEC0;    /* Muted Text */
            --border-color: #2D3748;  /* Dark Divider */
            --nav-bg: #161920;        /* Dark Navbar */
            --ad-placeholder: #222630;
            --primary-accent: #63B3ED;
        }

        /* Instantaneous Transitions */
        body {
            background-color: var(--bg-body);
            color: var(--text-main);
            transition: background-color 0s, color 0s;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

 

        /* Outer Layout Wrapper (Dynamic 3-Column setup) */
        .layout-wrapper {
            width: 100%;
            /* Removed the 1520px restriction to allow full expansion */
            max-width: 100%; 
            padding-left: 1.5rem;
            padding-right: 1.5rem;
            margin: 0 auto;
        }

        /* Left Ad Column */
        .ad-sidebar-left {
            width: 160px;
            min-width: 160px;
            position: sticky;
            top: 100px;
            height: max-content;
        }

        /* Right Ad Column */
        .ad-sidebar-right {
            width: 300px;
            min-width: 300px;
            position: sticky;
            top: 100px;
            height: max-content;
        }

        /* Central Workspace Column */
        .main-content-column {
            flex: 1;
            min-width: 0; /* Prevents flexbox breaking with long code/games */
            /* Removed max-width restriction to automatically occupy remaining space */
            max-width: none; 
        }

        .canvas-container {
            background-color: var(--bg-canvas);
            border: 1px solid var(--border-color);
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
            /* Allows canvas content to fill the newly expanded width */
            width: 100%; 
        }

        /* Premium Minimalist Ad Layout Placeholders */
        .ad-slot {
            background-color: var(--ad-placeholder);
            border: 1px dashed var(--border-color);
            color: var(--text-muted);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            text-align: center;
            transition: background-color 0.2s, border-color 0.2s;
            user-select: none;
        }
        .ad-slot::before {
            content: "ADVERTISEMENT";
            font-size: 0.55rem;
            opacity: 0.5;
            margin-bottom: 4px;
            display: block;
        }
        
        /* Rigid Standard Display Formats */
        .ad-160x600 { width: 160px; height: 600px; }
        .ad-160x300 { width: 160px; height: 300px; }
        .ad-300x250 { width: 300px; height: 250px; }
        .ad-728x90  { width: 728px; height: 90px; }
        .ad-468x60  { width: 468px; height: 60px; }
        .ad-320x50  { width: 320px; height: 50px; }
        
        /* Mobile Sticky Footer Ad Wrapper */
        .mobile-sticky-ad {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 60px;
            background-color: var(--nav-bg);
            border-top: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1050;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
            transition: transform 0.3s ease-in-out;
        }

        /* Close button for sticky ad */
        .close-ad-btn {
            position: absolute;
            top: -30px;
            right: 15px;
            width: 30px;
            height: 30px;
            background-color: var(--nav-bg);
            border: 1px solid var(--border-color);
            border-bottom: none;
            border-radius: 6px 6px 0 0;
            color: var(--text-main);
            font-size: 1.2rem;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
        }
