body{
  background:linear-gradient(180deg,#080b12,#24070d);
  font-family:Arial,Helvetica,sans-serif;
  margin:0;
}

.container{
  min-height:100vh;
  background:linear-gradient(180deg,#12070b,#2a0b12);
  padding:14px;
  color:#fff;
}

.session-timer{
  background:rgba(255,255,255,.08);
  color:#f7d46a;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:10px 14px;
  font-weight:800;
  font-size:13px;
  margin-bottom:10px;
}

.avatar-card,
.input-area{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  padding:14px;
  box-shadow:0 18px 45px rgba(0,0,0,.25);
}

.avatar-box{
  background:radial-gradient(circle,#5a1b23,#17080d);
  border-radius:20px;
  min-height:135px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.avatar-box video{
  width:112px;
  height:112px;
  object-fit:cover;
  border-radius:50%;
  border:5px solid #cfa431;
}

.chat{
  margin:10px 0;
  height:285px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:14px;
  overflow:auto;
}

.msg{
  max-width:88%;
  padding:10px 13px;
  border-radius:16px;
  margin-bottom:10px;
  font-size:14px;
  line-height:1.4;
}

.msg.user{
  margin-left:auto;
  background:#f1b632;
  color:#111;
}

.msg.bot{
  background:#fff;
  color:#111827;
}

.input-area{
  margin-top:8px;
}

textarea{
  width:100%;
  min-height:52px;
  resize:none;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:14px;
  outline:none;
  background:rgba(255,255,255,.95);
  color:#111;
  font-size:14px;
}

.actions-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
}

button{
  border:0;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
  cursor:pointer;
}

#btn{
  background:#f1b632;
  color:#111;
}

#micBtn{
  background:#c60b1e;
  color:#fff;
}

.status{
  font-size:12px;
  color:#e5e7eb;
  font-weight:700;
}
html,
body{
  height:100%;
  margin:0;
  overflow:hidden;
}

.container{
  height:100vh;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px;
  box-sizing:border-box;
}

.session-timer{
  flex:0 0 auto;
  margin:0;
}

.avatar-card{
  flex:0 0 auto;
}

.avatar-box{
  min-height:118px;
  height:118px;
}

.chat{
  flex:1 1 auto;
  min-height:120px;
  max-height:none;
  height:auto;
  margin:0;
  overflow:auto;
}

.input-area{
  flex:0 0 auto;
  margin-top:0;
}

textarea{
  min-height:50px;
  max-height:80px;
}

.actions-row{
  flex-wrap:wrap;
}

.status{
  flex:1;
  min-width:120px;
}