/* Страница слушателя: mobile-first, высокий контраст (читаемость на солнце). */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #111413;
  color: #f2f4f3;
  font: 18px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main {
  max-width: 480px;
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.logo { font-weight: 800; letter-spacing: 4px; color: #3fe6a6; text-align: center; }

.status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  font-size: 22px;
  font-weight: 700;
  border: 2px solid currentColor;
}
.status .dot { width: 18px; height: 18px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status-ok { color: #3fe6a6; }
.status-wait { color: #f5c542; }
.status-wait .dot { animation: pulse 1s ease-in-out infinite; }
.status-lost { color: #ff5f56; }
.status-full { color: #ff5f56; }
@keyframes pulse { 50% { opacity: .25; } }

.group { text-align: center; color: #b8c0bc; font-size: 18px; margin-bottom: -16px; }
.number { text-align: center; font-size: 30px; font-weight: 800; }

.listen {
  font: inherit; font-size: 26px; font-weight: 800;
  padding: 22px; border: 0; border-radius: 18px;
  background: #3fe6a6; color: #0b1310;
}
.air { text-align: center; font-size: 20px; font-weight: 700; }
.air-on { color: #ff5f56; }
.air-off { color: #b8c0bc; }
.hint { color: #b8c0bc; margin: 0; }
.debug { color: #6f7773; font-size: 12px; font-family: ui-monospace, Menlo, monospace; word-break: break-all; }

.latency { text-align: center; font-size: 18px; color: #3fe6a6; font-family: ui-monospace, Menlo, monospace; }
