* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: linear-gradient(180deg, #eef2ff, #ffffff);
  display: flex;
  justify-content: center;
  padding: 20px;
}

.app {
  width: 100%;
  max-width: 420px;
}

/* HEADER */
header {
  text-align: center;
  margin-bottom: 16px;
}

header h1 {
  margin: 0;
  font-size: 28px;
}

header p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #666;
}

/* JUDGE CARD */
.judge-card {
  background: white;
  border-radius: 22px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  margin-bottom: 16px;
}

.judge-card img {
  width: 220px;
}

/* ANSWER */
.answer-result {
  margin-top: 12px;
  font-size: 28px;
  font-weight: 900;
  min-height: 36px;
}

.answer-result.yes { color: #22c55e; }
.answer-result.no { color: #ef4444; }
.answer-result.option { color: #6366f1; }

/* CONTROLS */
.judge-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

button {
  background: linear-gradient(90deg, #6366f1, #22c55e);
  border: none;
  color: white;
  padding: 12px 22px;
  border-radius: 22px;
  font-size: 14px;
  cursor: pointer;
}

/* MIC */
.mic {
  width: 56px;
  height: 56px;
  background: #e0e7ff;
  border-radius: 50%;
  font-size: 26px;
  line-height: 56px;
  text-align: center;
  cursor: pointer;
}

.mic.listening {
  background: #ef4444;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* CARD */
.card {
  background: white;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}

label {
  font-size: 13px;
  color: #555;
}

.mt {
  margin-top: 14px;
  display: block;
}

input {
  width: 100%;
  margin-top: 6px;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.option {
  margin-top: 8px;
}

button.ghost {
  background: none;
  color: #6366f1;
  padding: 10px 0 0;
}

/* FOOTER */
footer {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #666;
}
