* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0e0e1a;
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  text-align: center;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
}

h1 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.subtitle {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Login */
.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #9146ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s;
}

.login-btn:hover { background: #7c3aed; }

/* Record button */
#record-btn {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid #333;
  background: #1a1a2e;
  color: #e0e0e0;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

#record-btn:hover { border-color: #555; }
#record-btn:active, #record-btn.recording {
  background: #5c1a1a;
  border-color: #e74c3c;
  box-shadow: 0 0 30px rgba(231, 76, 60, 0.3);
}

#record-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Status */
.status {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #888;
  min-height: 1.4em;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.dot.green { background: #2ecc71; }
.dot.red { background: #e74c3c; }
.dot.yellow { background: #f39c12; }

/* User info */
.user-info {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #999;
}

.hidden { display: none; }
