      body { 
        margin: 0; 
        padding-bottom: 3rem; 
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
        background-color: #1a1a1a; 
        color: #e0e0e0;
      }

      /* --- Welcome Screen Styles --- */
      #welcome-screen {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        text-align: center;
        padding: 2rem;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        z-index: 1000;
      }

      #welcome-logo {
        width: 120px; /* Adjust size as needed */
        height: auto;
        margin-bottom: 2rem;
      }

      #manifesto {
        max-width: 600px;
        margin-bottom: 3rem;
        line-height: 1.6;
        color: #b0b0b0;
        font-size: 1.1rem;
        font-style: italic;
      }

      #manifesto p {
        margin: 0.5rem 0;
      }

      #enter-btn {
        background-color: #2c5282;
        color: white;
        border: none;
        padding: 1rem 3rem;
        font-size: 1.2rem;
        border-radius: 50px;
        cursor: pointer;
        transition: transform 0.2s, background-color 0.2s;
      }

      #enter-btn:hover {
        background-color: #3b6cb3;
        transform: scale(1.05);
      }

      /* --- Chat Interface Styles (Hidden Initially) --- */
      #chat-container {
        display: none; /* Hidden until entered */
        height: 100vh;        /* Force it to be the full height of the screen */
        width: 100%;
        position: fixed;      /* Lock it to the viewport */
        top: 0;
        left: 0;
    
        background-color: #1a1a1a;
        z-index: 100;
      }

      #form { 
        background: rgba(0, 0, 0, 0.8); 
        padding: 0.25rem; 
        position: fixed; 
        bottom: 0; 
        left: 0; 
        right: 0; 
        display: flex; 
        height: 3rem; 
        box-sizing: border-box; 
        backdrop-filter: blur(10px); 
      }
      #input { 
        border: none; 
        padding: 0 1rem; 
        flex-grow: 1; 
        border-radius: 2rem; 
        margin: 0.25rem; 
        background: #333;
        color: white;
      }
      #input:focus { outline: none; background: #444; }
      #form > button { 
        background: #2c5282; 
        border: none; 
        padding: 0 1rem; 
        margin: 0.25rem; 
        border-radius: 3px; 
        outline: none; 
        color: #fff; 
        cursor: pointer;
      }

      #messages {
          flex-grow: 1;         /* Grow to fill the container */
          overflow-y: auto;     /* Scroll if too long */
          padding-bottom: 4rem; 
          list-style-type: none;
          margin: 0;
          padding: 0;
      }
      #messages > li { padding: 0.5rem 1rem; }
      #messages > li:nth-child(odd) { background: #252525; }

      /* --- Authentication Screen --- */
#auth-screen {
    display: none; /* Hidden by default, shown via JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #1a1a1a;
    z-index: 900;
    position: fixed;
    top: 0; left: 0; width: 100%;
}

.auth-form {
    display: flex;
    flex-direction: column;
    background: #252525;
    padding: 2rem;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.auth-form h2 {
    margin-top: 0;
    text-align: center;
    color: #e0e0e0;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.auth-form input {
    background: #333;
    border: 1px solid #444;
    color: white;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    border-color: #2c5282;
}

.auth-form button {
    background-color: #2c5282;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.auth-form button:hover {
    background-color: #3b6cb3;
}

.toggle-link {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.toggle-link:hover {
    color: #bbb;
    text-decoration: underline;
}