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

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #f9f7f4;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

main {
  max-width: 640px;
  width: 100%;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.subtitle {
  color: #666;
  margin-bottom: 2rem;
  font-style: italic;
}

#card {
  background: #fff;
  border: 1px solid #e0ddd8;
  border-radius: 8px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  min-height: 120px;
}

blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #222;
  border: none;
}

blockquote p { margin-bottom: 1em; }
blockquote p:last-child { margin-bottom: 0; }
blockquote ul, blockquote ol { padding-left: 1.5em; margin-bottom: 1em; }
blockquote blockquote {
  border-left: 3px solid #ccc;
  padding-left: 0.75rem;
  color: #555;
  font-style: italic;
  margin: 0.5em 0;
}

#source-link-wrap {
  margin-top: 1rem;
}

#source-link {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  color: #888;
  text-decoration: none;
}
#source-link:hover { text-decoration: underline; }

#buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

button {
  font-size: 1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  transition: opacity 0.15s;
}
button:hover { opacity: 0.85; }

#btn-human  { background: #2563eb; color: #fff; }
#btn-llm    { background: #7c3aed; color: #fff; }
#btn-skip   { background: transparent; border-color: #ccc; color: #555; }
#btn-next   { background: #1a1a1a; color: #fff; margin-top: 1rem; }

#result {
  background: #fff;
  border: 1px solid #e0ddd8;
  border-radius: 8px;
  padding: 1.25rem 1.75rem;
}

#result.correct { border-color: #16a34a; background: #f0fdf4; }
#result.incorrect { border-color: #dc2626; background: #fef2f2; }

#result-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

#stats {
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  color: #555;
}

#stat-accuracy {
  font-size: 1.1rem;
  color: #1a1a1a;
}

#stat-detail {
  color: #888;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}
