/* ============================================================
   谬误侦探 — Design System
   "Dark Minimalism + Precision Emphasis"
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --card-bg: rgba(255, 255, 255, 0.025);
  --card-hover: rgba(255, 255, 255, 0.045);
  --card-active: rgba(245, 158, 11, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-active: rgba(245, 158, 11, 0.4);

  --text-primary: #e5e5e5;
  --text-secondary: #6b6b6b;
  --text-tertiary: #3d3d3d;

  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --correct: #10b981;
  --correct-dim: rgba(16, 185, 129, 0.12);
  --incorrect: #ef4444;
  --incorrect-dim: rgba(239, 68, 68, 0.10);
  --bias-purple: #8b5cf6;
  --bias-dim: rgba(139, 92, 246, 0.12);

  --font: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Cascadia Code", monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --transition-fast: 150ms ease;
  --transition: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 600px;
  --safe-bottom: env(safe-area-inset-bottom, 20px);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100dvh;
  overflow: hidden;
}

/* --- Typography --- */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- App Container --- */
#app {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

/* --- Screen Management --- */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transform: translateY(12px);
  padding: 24px 20px var(--safe-bottom);
}

.screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.screen.overlay {
  z-index: 100;
}

/* --- Screen Header --- */
.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 20px;
  flex-shrink: 0;
  min-height: 48px;
}

.screen-step {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.screen-title-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Content Scroll Area --- */
.content-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.content-scroll::-webkit-scrollbar { display: none; }

/* --- Screen Footer --- */
.screen-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0 8px;
}

/* --- Cards --- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition), background var(--transition);
}

/* --- Tags --- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tag-difficulty {
  background: var(--accent-dim);
  color: var(--accent);
}

.tag-category {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

/* --- Buttons --- */
button {
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  outline: none;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--text-primary);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  letter-spacing: -0.01em;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-tertiary);
  pointer-events: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.btn-full {
  width: 100%;
}

.btn-back {
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  padding: 8px 0;
  font-weight: 500;
}

.btn-back:hover {
  color: var(--text-primary);
}

.btn-close {
  background: transparent;
  color: var(--text-secondary);
  font-size: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.btn-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* --- Progress Dots --- */
.progress-dots {
  display: flex;
  gap: 6px;
}

.progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
}

.progress-dot.done {
  background: var(--correct);
}

.progress-dot.current {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-dim);
}

/* ============================================================
   TITLE SCREEN
   ============================================================ */

#screen-title {
  align-items: center;
  justify-content: center;
  gap: 48px;
  text-align: center;
}

.title-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.title-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.title-main {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.title-sub {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.title-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  width: 100%;
  max-width: 280px;
}

.title-footer {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ============================================================
   CASE INTRO SCREEN
   ============================================================ */

.intro-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-meta {
  display: flex;
  gap: 8px;
}

.intro-context {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.intro-content {
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.8;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border-left: 2px solid var(--border);
  font-style: normal;
  margin: 0;
  white-space: pre-wrap;
}

/* ============================================================
   FALLACY HUNT SCREEN
   ============================================================ */

.case-reread {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  white-space: pre-wrap;
}

.selection-count {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  padding: 4px 0;
}

.fallacy-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fallacy-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.fallacy-option:hover {
  border-color: var(--border-hover);
  background: var(--card-hover);
}

.fallacy-option:active {
  transform: scale(0.99);
}

.fallacy-option.selected {
  border-color: var(--accent);
  background: var(--card-active);
}

.fallacy-option.correct-reveal {
  border-color: var(--correct);
  background: var(--correct-dim);
}

.fallacy-option.incorrect-reveal {
  border-color: var(--incorrect);
  background: var(--incorrect-dim);
}

.fallacy-option.missed-reveal {
  border-color: var(--correct);
  border-style: dashed;
  background: var(--correct-dim);
  opacity: 0.7;
}

.fallacy-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fallacy-option-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.fallacy-option-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all var(--transition);
  flex-shrink: 0;
}

.fallacy-option.selected .fallacy-option-check {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.fallacy-option.correct-reveal .fallacy-option-check,
.fallacy-option.missed-reveal .fallacy-option-check {
  border-color: var(--correct);
  background: var(--correct);
  color: var(--bg);
}

.fallacy-option.incorrect-reveal .fallacy-option-check {
  border-color: var(--incorrect);
  background: var(--incorrect);
  color: #fff;
}

.fallacy-option-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.fallacy-option-feedback {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 4px;
  display: none;
}

.fallacy-option.revealed .fallacy-option-feedback {
  display: block;
}

.fallacy-option.correct-reveal .fallacy-option-feedback,
.fallacy-option.missed-reveal .fallacy-option-feedback {
  color: var(--correct);
}

.fallacy-option.incorrect-reveal .fallacy-option-feedback {
  color: var(--incorrect);
}

/* ============================================================
   BIAS CHECK SCREEN
   ============================================================ */

.bias-question-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.bias-icon {
  font-size: 32px;
}

.bias-question {
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.7;
}

.bias-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bias-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.bias-option:hover {
  border-color: var(--border-hover);
}

.bias-option:active {
  transform: scale(0.99);
}

.bias-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  margin-top: 1px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bias-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background var(--transition-fast);
}

.bias-option.selected {
  border-color: var(--bias-purple);
  background: var(--bias-dim);
}

.bias-option.selected .bias-radio {
  border-color: var(--bias-purple);
}

.bias-option.selected .bias-radio::after {
  background: var(--bias-purple);
}

.bias-option.correct-reveal {
  border-color: var(--correct);
  background: var(--correct-dim);
}

.bias-option.incorrect-reveal {
  border-color: var(--incorrect);
  background: var(--incorrect-dim);
  opacity: 0.5;
}

.bias-option-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bias-option.selected .bias-option-label {
  color: var(--text-primary);
}

.bias-option.correct-reveal .bias-option-label {
  color: var(--correct);
}

.bias-feedback {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--correct-dim);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius);
}

.bias-feedback-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--correct);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.bias-feedback-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ============================================================
   VERDICT SCREEN
   ============================================================ */

.verdict-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 20px;
}

.score-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.score-number {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.score-unit {
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 500;
}

.score-stars {
  display: flex;
  gap: 4px;
  font-size: 28px;
}

.score-stars .star {
  opacity: 0.2;
  transition: opacity var(--transition-slow);
}

.score-stars .star.earned {
  opacity: 1;
}

.score-breakdown {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

.score-breakdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.score-breakdown-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.verdict-learn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.learn-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all var(--transition);
}

.learn-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.learn-card-type {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.learn-card-type.fallacy {
  color: var(--accent);
}

.learn-card-type.bias {
  color: var(--bias-purple);
}

.learn-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.learn-card-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.verdict-tip {
  border-left: 2px solid var(--accent);
}

.verdict-tip-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.verdict-tip-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ============================================================
   PROGRESS OVERLAY
   ============================================================ */

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.overlay-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 80vh;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  animation: slideUp var(--transition-slow);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.progress-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.progress-stat {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.progress-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.progress-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.progress-row-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.progress-row-score {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.progress-row-star {
  font-size: 14px;
  margin-left: 8px;
}

/* ============================================================
   TUTORIAL OVERLAY
   ============================================================ */

.tutorial-section {
  margin-bottom: 24px;
}

.tutorial-section:last-child {
  margin-bottom: 0;
}

.tutorial-heading {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.tutorial-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tutorial-text strong {
  color: var(--text-primary);
}

.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.tutorial-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tutorial-step strong {
  color: var(--text-primary);
}

.tutorial-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.tutorial-example {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 10px;
}

.tutorial-example-bad {
  font-size: 14px;
  color: var(--incorrect);
  line-height: 1.6;
  margin-bottom: 6px;
}

.tutorial-example-arrow {
  font-size: 14px;
  color: var(--text-tertiary);
  text-align: center;
  margin-bottom: 6px;
}

.tutorial-example-good {
  font-size: 13px;
  color: var(--correct);
  line-height: 1.6;
}

.tutorial-example-good strong {
  color: var(--correct);
}

.tutorial-score-rules {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.tutorial-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.tutorial-score-row:last-child {
  border-bottom: none;
}

.tutorial-score-val {
  font-weight: 600;
  font-size: 13px;
}

.tutorial-score-val.correct { color: var(--correct); }
.tutorial-score-val.incorrect { color: var(--incorrect); }
.tutorial-score-val.bias { color: var(--bias-purple); }

/* ============================================================
   REVIEW SCREEN
   ============================================================ */

.review-rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 16px;
}

.review-rank-badge {
  font-size: 40px;
  margin-bottom: 4px;
}

.review-rank-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.review-rank-sub {
  font-size: 13px;
  color: var(--text-secondary);
}

.review-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.review-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}

.review-stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.review-stat-value.accent { color: var(--accent); }
.review-stat-value.correct { color: var(--correct); }
.review-stat-value.bias { color: var(--bias-purple); }

.review-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.review-section {
  margin-bottom: 20px;
}

.review-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.review-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-table-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.review-table-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  min-width: 0;
}

.review-table-bar-wrap {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}

.review-table-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.review-table-bar.good { background: var(--correct); }
.review-table-bar.ok { background: var(--accent); }
.review-table-bar.poor { background: var(--incorrect); }

.review-table-pct {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  width: 38px;
  text-align: right;
  flex-shrink: 0;
}

.review-table-pct.good { color: var(--correct); }
.review-table-pct.ok { color: var(--accent); }
.review-table-pct.poor { color: var(--incorrect); }

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.animate-in {
  animation: fadeIn var(--transition-slow) forwards;
}

.score-number.animate {
  animation: countUp 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================================================
   UTILITY
   ============================================================ */

.hidden {
  display: none !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 480px) {
  .title-main {
    font-size: 36px;
  }

  .title-sub {
    font-size: 14px;
  }

  .screen {
    padding: 16px 16px var(--safe-bottom);
  }

  .card {
    padding: 18px;
  }

  .score-number {
    font-size: 48px;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }

  .fallacy-option {
    padding: 14px 16px;
  }

  .bias-option {
    padding: 14px 16px;
  }

  .progress-summary {
    flex-direction: column;
    gap: 10px;
  }

  .intro-content {
    font-size: 15px;
    padding: 16px;
  }
}

@media (min-width: 768px) {
  #app {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .screen {
    padding: 32px 28px var(--safe-bottom);
  }

  .title-main {
    font-size: 56px;
  }
}
