body{
margin:0;
background:#050505;
font-family:Arial,sans-serif;
overflow:hidden;
}
.aprill-container{
display:flex;
width:100%;
height:100vh;
min-height:500px;
box-sizing:border-box;
}
.aprill-left{
width:35%;
background:url('../assets/aprill.jpg') center center/cover no-repeat;
position:relative;
min-width:80px;
}
.overlay{
position:absolute;
inset:0;
background:linear-gradient(
to right,
rgba(0,0,0,.85),
rgba(0,0,0,.45)
);
}
.aprill-right{
width:65%;
display:flex;
flex-direction:column;
padding:20px;
color:#ddd;
background:#070707;
box-sizing:border-box;
}
.top-bar{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:16px;
}
.top-bar h1{
letter-spacing:4px;
font-weight:300;
margin:0;
font-size:14px;
}
.top-bar span{
color:#a11;
font-size:10px;
letter-spacing:2px;
}
#messages{
flex:1;
overflow-y:auto;
padding-right:6px;
display:flex;
flex-direction:column;
gap:12px;
}
.message{
max-width:90%;
padding:10px 14px;
line-height:1.6;
font-size:13px;
border-radius:14px;
word-wrap:break-word;
white-space:pre-wrap;
}
.aprill{
background:rgba(255,255,255,.04);
color:#d8d8d8;
align-self:flex-start;
border-bottom-left-radius:4px;
}
.user{
background:#7a1010;
color:white;
align-self:flex-end;
border-bottom-right-radius:4px;
}
.input-area{
display:flex;
gap:8px;
border-top:1px solid rgba(255,255,255,.08);
padding-top:14px;
margin-top:14px;
}
input{
flex:1;
background:rgba(255,255,255,.04);
border:none;
outline:none;
color:white;
font-size:13px;
padding:10px;
border-radius:10px;
min-width:0;
}
button{
background:#7a1010;
border:none;
color:white;
padding:0 14px;
cursor:pointer;
letter-spacing:1px;
border-radius:10px;
font-size:11px;
white-space:nowrap;
}

/* Pantallas pequeñas — menos de 400px */
@media (max-width: 400px) {
  .aprill-left {
    display:none;
  }
  .aprill-right {
    width:100%;
    padding:16px;
  }
  .top-bar h1 {
    font-size:12px;
    letter-spacing:3px;
  }
}