* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #e8eef6;
  color: #14233a;
}
.screen {
  min-height: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: #f4f7fb;
  display: flex;
  flex-direction: column;
}
.screen[hidden] { display: none !important; }
#login {
  background: linear-gradient(165deg, #071e3c, #0d4f86 58%, #1494d8);
  color: #fff;
  align-items: center;
  padding: 28px 22px 40px;
}
.home { align-self: flex-start; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
#login img { width: 84px; height: 84px; border-radius: 22px; margin-top: 28px; }
#login h1 { margin: 12px 0 0; font-size: 32px; }
.tag, .ver { color: #d6e8f8; margin: 4px 0 0; }
#loginForm { width: 100%; margin-top: 22px; }
label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
input {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px 12px;
  font: inherit;
}
button { font: inherit; cursor: pointer; }
#loginForm button {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  background: #0e8fdb;
  color: #fff;
  font-weight: 800;
}
.err { min-height: 1.2em; color: #ffd2d8; font-size: 14px; }
.bar {
  background: linear-gradient(160deg, #071e3c, #0d4f86);
  color: #fff;
  text-align: center;
  padding: 18px 16px 20px;
}
.bar img { width: 64px; height: 64px; border-radius: 16px; }
.bar b, .bar span { display: block; }
.bar span { color: #d6e8f8; font-size: 13px; }
.bar.slim { display: flex; text-align: left; align-items: center; justify-content: space-between; }
.tools { display: flex; justify-content: center; gap: 10px; padding: 14px; }
.tool, .host-actions button {
  border: 0;
  border-radius: 12px;
  background: #fff;
  min-width: 64px;
  min-height: 48px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(7, 30, 60, .08);
}
.tool.on { background: #0e8fdb; color: #fff; }
.status { text-align: center; font-weight: 800; margin: 8px 16px; }
.hint, .marquee { text-align: center; color: #5d7088; margin: 8px 16px; }
.ptt {
  width: 180px;
  height: 180px;
  margin: 18px auto;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 143, 219, .16);
  display: grid;
  place-items: center;
}
.ptt span {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #5ec8ff, #0e8fdb);
}
.ptt.live span { background: radial-gradient(circle at 40% 35%, #ff8d8d, #d64545); }
.ptt:disabled { opacity: .45; }
.grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; align-content: start; }
.tile {
  border: 0;
  border-radius: 12px;
  min-height: 78px;
  color: #fff;
  background: #1f9d55;
  font-weight: 800;
}
.tile.hot { background: #d64545; }
.tile.mute { background: #5d6b7c; }
.host-actions { display: flex; gap: 8px; align-items: center; padding: 12px; }
.host-actions button { flex: 1; }
.mic {
  flex: 0 0 64px !important;
  width: 64px;
  height: 64px;
  border-radius: 50% !important;
  background: radial-gradient(circle at 40% 35%, #5ec8ff, #0e8fdb) !important;
}
.mic.on { background: radial-gradient(circle at 40% 35%, #ff8d8d, #d64545) !important; }
#meeting.go { background: #0e8fdb; color: #fff; }
.empty { grid-column: 1 / -1; text-align: center; color: #5d7088; padding: 24px 8px; }
