body {
    margin:0;
    font-family: 'Segoe UI', sans-serif;
    background:#0a0a0a;
    color:#fff;
    overflow:hidden;
}

.screen {
    display:none;
    height:100vh;
    justify-content:center;
    align-items:center;
}

.screen.active {
    display:flex;
}

.hidden { display:none; }

.auth-box {
    background:#111;
    padding:30px;
    border-radius:12px;
    width:90%;
    max-width:420px;
    text-align:center;
    border:1px solid #400;
}

.glow {
    box-shadow:0 0 20px rgba(255,0,0,0.4);
}

.auth-box input,
.auth-box select,
.auth-box textarea {
    width:100%;
    margin:8px 0;
    padding:10px;
    background:#000;
    border:1px solid #600;
    color:#fff;
    border-radius:6px;
}

.auth-box button {
    width:100%;
    margin-top:10px;
    padding:10px;
    background:linear-gradient(90deg,#900,#f00);
    border:none;
    color:#fff;
    border-radius:6px;
}

.auth-box button.secondary {
    background:#222;
}

.logo {
    width:80px;
}

.checkmark {
    font-size:60px;
    color:#f00;
}

.app {
    height:100vh;
    display:flex;
    flex-direction:column;
}

.topbar {
    height:50px;
    background:#111;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 10px;
    border-bottom:1px solid #400;
}

.layout {
    flex:1;
    display:flex;
}

.hub {
    width:60px;
    background:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    border-right:1px solid #400;
}

.channels {
    width:200px;
    background:#0d0d0d;
    overflow-y:auto;
    border-right:1px solid #400;
}

.channels div {
    padding:10px;
    cursor:pointer;
}

.channels div:hover {
    background:#200;
}

.chat {
    flex:1;
    display:flex;
    flex-direction:column;
}

#messages {
    flex:1;
    overflow-y:auto;
    padding:10px;
}

.message {
    margin-bottom:10px;
}

.message span.role {
    font-size:12px;
    margin-left:5px;
    color:#f00;
}

.inputBar {
    display:flex;
    border-top:1px solid #400;
}

.inputBar input {
    flex:1;
    padding:10px;
    background:#000;
    border:none;
    color:#fff;
}

.inputBar button {
    width:100px;
    background:#900;
    border:none;
    color:#fff;
}

.members {
    width:180px;
    background:#0d0d0d;
    border-left:1px solid #400;
    overflow-y:auto;
}

.members div {
    padding:8px;
}

#watermark {
    position:fixed;
    bottom:10px;
    right:10px;
    width:100px;
    height:100px;
    background:url('wm.png') no-repeat center/contain;
    opacity:0.05;
    pointer-events:none;
}
