* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  background: #0f1216;
  color: #e9edf2;
  min-height: 100vh;
}
.centro {
  max-width: 460px;
  margin: 0 auto;
  padding: 48px 20px;
}
h1 { font-size: 28px; margin: 0 0 6px; }
.sub { color: #93a1b1; margin: 0 0 28px; }
label { display: block; font-size: 14px; color: #93a1b1; margin-bottom: 6px; }
input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 18px;
  border-radius: 12px;
  border: 1px solid #2a323c;
  background: #161b22;
  color: #e9edf2;
}
button {
  cursor: pointer;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 18px;
  color: #fff;
  background: #2f6df6;
}
button:hover { background: #2a61db; }
button.sec { background: #2a323c; }
button.peligro { background: #d64545; }
button.sec:hover { background: #343d49; }
.fila { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mt { margin-top: 16px; }
.enlace { color: #6ea8fe; cursor: pointer; text-decoration: underline; background: none; padding: 0; font-weight: 400; font-size: 14px; }

/* Sala */
.barra { display:flex; justify-content:space-between; align-items:center; padding:14px 18px; border-bottom:1px solid #202833; }
.barra .tag { font-size:13px; color:#93a1b1; }
.layout { display:grid; grid-template-columns: 1fr; gap:16px; max-width:820px; margin:0 auto; padding:16px; }
.panel { background:#161b22; border:1px solid #202833; border-radius:14px; padding:16px; }
.panel h2 { font-size:15px; margin:0 0 12px; color:#93a1b1; text-transform:uppercase; letter-spacing:.04em; }
.persona { display:flex; align-items:center; gap:10px; padding:8px 0; }
.persona .nombre { font-weight:600; }
.punto { width:9px; height:9px; border-radius:50%; background:#3ecf6b; flex:none; }
.punto.mute { background:#8a94a0; }
button.mini { padding:6px 10px; font-size:13px; }
.silbtn { margin-left:auto; }
#tiempo { margin-left:10px; font-variant-numeric: tabular-nums; }

/* Aviso de fin de llamada */
.overlay { position:fixed; inset:0; background:rgba(8,10,13,.82); display:flex; align-items:center; justify-content:center; padding:20px; }
.overlay .tarjeta { background:#161b22; border:1px solid #202833; border-radius:16px; padding:28px; max-width:380px; text-align:center; }
.overlay .tarjeta h2 { margin:0 0 8px; font-size:22px; color:#e9edf2; text-transform:none; letter-spacing:0; }
.overlay .fila { justify-content:center; margin-top:18px; }
.chat-msgs { height:260px; overflow-y:auto; display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.msg { background:#11161d; border:1px solid #202833; border-radius:10px; padding:8px 10px; font-size:14px; }
.msg b { color:#6ea8fe; }
.sistema { color:#8a94a0; font-size:13px; font-style:italic; }
@media (min-width:720px){ .layout{ grid-template-columns: 1fr 1.4fr; } }
