:root {
  --bg: #eef6ff;
  --card: #ffffff;
  --primary: #4a90e2;
  --secondary: #6c757d;
}

body {
  font-family: "Comic Sans MS", "Comic Sans", system-ui, sans-serif;
  background-color: var(--bg);
  color: #222;
  padding: 2rem;
}

.card {
  font-family: "Comic Sans MS", "Comic Sans", system-ui, sans-serif;
  background: var(--card);
  padding: 2rem;
  border-radius: 20px;
  max-width: 650px;          /* wider */
  margin: auto;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Big, clear writing area */
textarea {
  width: 100%;
  height: 200px;             /* taller */
  border-radius: 14px;
  padding: 16px;
  font-size: 1.6rem;         /* much larger text */
  border: 3px solid #cfe3ff;
  resize: none;
}

input{
    font-family: "Comic Sans MS", "Comic Sans", system-ui, sans-serif;
    font-size:16px;
    border-radius:16px;
}

/* Friendly chunky buttons */
button {
  padding: 16px 22px;
  border-radius: 16px;
  border: none;
  background: var(--primary);
  color: white;
  cursor: pointer;
  margin-top: 14px;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 6px 0 rgba(0,0,0,0.15);
}

button:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 rgba(0,0,0,0.15);
}

button.secondary {
  background: var(--secondary);
}

/* Bigger colour picker */
input[type="color"] {
  margin-top: 14px;
  width: 60px;
  height: 50px;
  border: none;
  cursor: pointer;
}

/* Emoji base */
.emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  width: 2.8rem;
  height: 2.8rem;
  margin: 4px;
  border-radius: 50%;
  border: 4px solid transparent;
  box-sizing: border-box;
}

/* Joined but not submitted */
.emoji.typing {
  border-color: orange;
}

/* Submitted */
.emoji.submitted {
  border-color: #2ecc71; /* nice green */
}



.answers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.answer-tile {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.answer-tile p {
  font-size: 1.4rem;
}

