        :root {
            --bg-sidebar: #dcfcde;
            --bg-chat: #ffffff;
            --border-color: black;
            --text-main: #333333;
            --text-muted: #888888;
            --primary-color: black;
            --user-msg-bg: #1b590d;
            --hover-bg: #baccb6;
        }

        @font-face {
            font-family: "Philosopher";
            src: url('fonts/p.ttf');
        }

        @font-face {
            font-family: "Philosopher";
            font-style: italic;
            src: url('fonts/p_italic.ttf');
        }

        @font-face {
            font-family: "Philosopher";
            font-weight: bold;
            src: url('fonts/p_bold.ttf');
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family:"Philosopher";
        }

        body {
            display: flex;
            height: 100vh;
            color: var(--text-main);
            overflow: hidden;
        }

        /* Prevent scrolling when popup is open */
        body.popup-open {
            overflow: hidden;
        }

        /* --- SIDEBAR (LEFT) --- */
        .sidebar {
            width: 260px;
            background-color: var(--bg-sidebar);
            border-right: 2px solid var(--border-color);
            display: flex;
            flex-direction: column;
            padding: 10px;
        }

        .logo-container {
            display: flex;
            align-items: flex-start;
            flex-direction: column;
            gap: 10px;
            padding: 10px;
            font-weight: bold;
            font-size: 40px;
        }

        .sidebar-warning {
            font-size: 12px;
            color: var(--text-muted);
            font-weight: normal;
            margin-top: 4px;
            line-height: 1.4;
        }

        .sidebar-warning a {
            color: var(--user-msg-bg);
            text-decoration: underline;
        }

        .sidebar-warning a:hover {
            color: var(--text-muted);
        }

        .top-sidebar-controls {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 15px;
        }

        .new-chat-btn {
            background-color: transparent;
            border: 2px solid var(--border-color);
            padding: 10px;
            cursor: pointer;
            text-align: left;
            font-weight: 500;
            transition: background 0.2s;
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

        .playerhotel {
              display: flex;
  justify-content: center;
  align-items: center;
  flex-direction:column;
        }

        .playerlegend {
            width:40%;
        }

                .imapaidplayer {
            background-color: var(--text-muted);
            border: 2px solid var(--border-color);
            padding: 20px;
            font-size:30px;
            cursor: pointer;
            text-align: center;
            font-weight: 500;
            transition: background 0.2s;
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

            .imapaidplayer:hover {
                background-color:white;
            }

                        .imacoolplayer:hover {
                background-color:white;
            }


                        .imacoolplayer {
            background-color: var(--bg-sidebar);
            border: 2px solid var(--border-color);
            padding: 20px;
            font-size:30px;
            cursor: pointer;
            text-align: center;
            font-weight: 500;
            transition: background 0.2s;
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

                        .imarelationshipguy {
            border: 2px solid var(--border-color);
            padding: 20px;
            font-size:20px;
            cursor: pointer;
            text-align: center;
            font-weight: 500;
            transition: background 0.2s;
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

        .new-chat-btn:hover { background-color: var(--bg-chat); }

        /* Language Selector Styles */
        .language-dropdown {
            position: relative;
            display: inline-block;
        }

        .language-toggle {
            background: transparent;
            border: 2px solid var(--border-color);
            padding: 8px 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 16px;
            font-weight: 500;
            color: var(--text-main);
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

                        .discog_link {
            background-color: var(--bg-sidebar);
            border: 2px solid var(--border-color);
            padding: 5px;
            font-size:20px;
            cursor: pointer;
            text-align: center;
            font-weight: 500;
            transition: background 0.2s;
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

                                .discog_link:hover {
                background-color:white;
                                }

        .language-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            margin-top: 5px;
            min-width: 70px;
            background: white;
            border: 2px solid var(--border-color);
            overflow: hidden;
            z-index: 100;
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

        .language-menu.show {
            display: block;
        }

        .language-item {
            padding: 10px 15px;
            cursor: pointer;
            display: block;
            text-decoration: none;
            color: var(--text-main);
            transition: background 0.2s;
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

        .language-item:hover {
            background-color: var(--hover-bg);
        }

        .history-title {
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 20px;
            margin-bottom: 10px;
            padding: 0 10px;
            font-weight: 600;
        }

        .history-list {
            flex-grow: 1;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .history-item {
            text-decoration: none;
            color: var(--text-main);
            padding: 15px;
            font-size: 14px;
            transition: background 0.2s;
            border-bottom: 2px solid var(--border-color);
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );    
        }

        .history-item:hover { background-color: var(--bg-chat); }

        .textlink {
            text-decoration: underline;
            color: var(--user-msg-bg);
        }

        .textlink:hover { color: var(--text-muted); }

        /* --- MAIN CHAT SECTION (RIGHT) --- */
.main-chat {
    position: relative;
    height: 100vh;          
    width: 100%;            
    display: flex;
    flex-direction: column;
    overflow: hidden;       
}

/* --- Empty State Behaviors --- */
.main-chat.empty-state .chat-container { 
    display: none; 
}

.main-chat.empty-state .input-section {
    flex-grow: 1;
    width: 100%;            
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}

/* --- Rigid Navigation Elements (Locked in Place) --- */
.top-bar {
    height: 60px;           /* Pinned at exactly 60px high */
    padding: 15px 20px;
    border-bottom: 2px solid var(--border-color);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    background: var(--bg-sidebar);
    z-index: 10;            
    display: flex;
    justify-content: flex-end; 
    box-sizing: border-box;
}
        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: transparent;
            border: 2px solid var(--border-color);
            font-size: 20px;
            cursor: pointer;
            width: 40px;
            height: 40px;
            align-items: center;
            justify-content: center;
            color: var(--text-main);
            clip-path: polygon(
                0 0,
                calc(100% - 4px) 0,
                100% 6px,
                100% calc(100% - 10px),
                calc(100% - 12px) 100%,
                0 100%
            );
        }

        /* Dropdown Structure (Model Selector) */
        .model-dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-toggle {
            background: transparent;
            border: 2px solid var(--border-color);
            padding: 5px 10px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            color: var(--text-main);
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            border: 2px solid var(--border-color);
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            min-width: 150px;
            max-height: 200px;
            overflow-y: auto;
            margin-top: 5px;
            z-index: 100;
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

        .dropdown-menu.show { display: block; }

        .dropdown-item {
            padding: 10px 15px;
            cursor: pointer;
            display: block;
            text-decoration: none;
            color: var(--text-main);
            transition: background 0.2s;
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

        .dropdown-item:hover { background-color: var(--hover-bg); }

        /* Chat Display Area */
.chat-container {
    flex-grow: 1;
    padding: 80px 20% 20px 20%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- The Main White Canvas (Independently Scrollable & Full Width) --- */
.input-section {
    background: white;
    box-sizing: border-box;
    width: 100%;            
    
    /* Anchors the container right beneath the 60px top bar */
    position: absolute;
    top: 60px;              
    left: 0;
    height: calc(100vh - 60px); 
    overflow-y: auto;       

    /* Your requested gap below the top bar + compact side padding */
    padding-top: 75px;      
    padding-bottom: 60px;   
    padding-left: 5%;       
    padding-right: 5%;      
    
    transition: all 0.3s ease;
}

                /* Page content */
.page-content-article {
width: 100%;            
    margin: 0;             
    font-size: 1.15rem;
    line-height: 1.65;
    color: #222222;
    text-align: left;       
}

/* Controls spacing between paragraphs if you have multiple text blocks */
.page-content-article p {
margin-top: 0;
    margin-bottom: 1.5rem;
}

        .main-chat.empty-state .chat-container { display: none; }
.main-chat.empty-state1 .input-section {
    flex-grow: 1;
    
    /* 1. Change from 'center' to 'flex-start' to snap text to the top */
    justify-content: flex-start; 

    /* 2. Top bar height (60px) + your 75px gap = 135px */
    padding-top: 25px; 
    
    /* 3. Drop your side paddings down to your new percentage margins */
    padding-left: 25px;
    padding-right: 5%;
    box-sizing: border-box;
}

/* For change use either 1 or 2 at the end of empty-state in the HTML */
.main-chat.empty-state2 .input-section {
    flex-grow: 1;
    
    /* 1. Change from 'center' to 'flex-start' to snap text to the top */
    justify-content: flex-start; 

    /* 2. Top bar height (60px) + your 75px gap = 135px */
    padding-top: 25px; 
    
    /* 3. Drop your side paddings down to your new percentage margins */
    padding-left: 200px;
    padding-right: 5%;
    box-sizing: border-box;
}

        .big-title {
            display: none;
            text-align: center;
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 30px;
        }

        .main-chat.empty-state .big-title { display: block; }

        .input-bar-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            border: 2px solid var(--border-color);
            padding: 15px;
            background: rgb(233, 231, 231);
            box-shadow: 0 0 15px rgba(0,0,0,0.05);
            color: gray;
            
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;

            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

        .disclaimer {
            text-align: center;
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 10px;
        }

        /* Disclaimer Overlay Styles */
        .disclaimer-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.45);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            padding: 20px;
        }

        .disclaimer-popup {
            background: white;
            border: 2px solid var(--border-color);
            width: 100%;
            max-width: 520px;
            padding: 25px;
            clip-path: polygon(
                0 0,
                calc(100% - 10px) 0,
                100% 12px,
                100% calc(100% - 20px),
                calc(100% - 25px) 100%,
                0 100%
            );
        }

        .disclaimer-popup h2 {
            margin-bottom: 15px;
            font-size: 22px;
        }

        .disclaimer-popup p {
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .popup-buttons {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }

        .popup-btn {
            border: none;
            padding: 12px 18px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            clip-path: polygon(
                0 0,
                calc(100% - 6px) 0,
                100% 8px,
                100% calc(100% - 15px),
                calc(100% - 20px) 100%,
                0 100%
            );
        }

        .popup-exit { background: #d0d0d0; }
        .popup-acknowledge { background: var(--bg-sidebar); }

        .popup-learn-more {
            text-align: center;
            font-size: 12px;
            margin-top: 15px;
        }

        .popup-learn-more a {
            color: var(--text-muted);
            text-decoration: underline;
        }

        /* --- RESPONSIVE CSS --- */
        @media (max-width: 1100px) {
            .top-bar { justify-content: space-between; }
            .mobile-menu-btn { display: flex; }
            .sidebar {
                display: none; 
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 5; 
                padding-top: 80px; 
                border-right: none;
            }
            .sidebar.mobile-open { display: flex; }
            .logo-container { display: none; }
            .main-chat.mobile-menu-active .chat-container,
            .main-chat.mobile-menu-active .input-section { display: none !important; }
            .main-chat.empty-state.mobile-menu-active .input-section { display: none !important; }
        }

        img-display {
              pointer-events: none;
        }

        /* PARAGRAPHS */
        h400 {
        font-size: 400%;
        }

        h300 {
        font-size: 300%;
        }
        
          h200 {
        font-size: 200%;
        }

        p {
        font-size: 150%;
        text-align:center;
        }

        h1 {
        font-size: 300%;
        text-align:center;
        font-weight:normal;
        }