:root {
  --page-bg: #f6f7fb;
  --card-radius: 1rem;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: var(--page-bg);
}

.app-shell {
  max-width: 720px;
}

.site-header {
  padding-inline: 0.5rem;
}

.site-kicker {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-title {
  font-size: clamp(1.45rem, 5vw, 2.25rem);
  line-height: 1.3;
  font-weight: 800;
}

.app-card {
  border: 0;
  border-radius: var(--card-radius);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.08);
}

.question-panel {
  padding: 1.25rem 0.75rem;
}

.question-label {
  color: #6c757d;
  font-size: 0.95rem;
}

.idiom-text {
  font-size: clamp(2rem, 10vw, 4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.choice-button {
  min-height: 3.5rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.result-score {
  font-size: clamp(1.5rem, 7vw, 2.5rem);
  font-weight: 800;
}

.result-rate {
  font-size: 1.15rem;
  color: #6c757d;
}

.review-item + .review-item {
  border-top: 1px solid var(--bs-border-color);
}

.site-footer {
  padding-inline: 0.5rem;
}

@media (min-width: 576px) {
  .site-title {
    line-height: 1.2;
  }

  .question-panel {
    padding-block: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
