:root {
  color-scheme: light;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  background: #ffffff;
  color: #111827;
}

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

a {
  color: inherit;
}

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.hero {
  background: #ffffff;
  border: 1px solid #111827;
  border-radius: 0;
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.hero p {
  margin: 0.75rem 0 0;
  color: #4b5563;
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.hero-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.pure-button {
  border: 1px solid #111827;
  border-radius: 0;
  background: #ffffff;
  color: #111827;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  letter-spacing: 0.01em;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.pure-button-primary {
  background: #ffffff;
  color: #111827;
}

.pure-button-primary:hover,
.pure-button-primary:focus {
  color: #111827;
}

.pure-button:hover,
.pure-button:focus {
  background: #f4f4f5;
  box-shadow: inset 0 0 0 999px rgba(17, 24, 39, 0.02);
}

.pure-button[disabled] {
  border-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.pure-button-lg {
  font-size: 1rem;
  padding: 0.85rem 2.25rem;
}

.card {
  background: #ffffff;
  border: 1px solid #111827;
  border-radius: 0;
  padding: 1.75rem;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.result-card {
  max-width: 380px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.data-card {
  width: 100%;
  max-width: 720px;
}

.card h2 {
  margin: 0 0 0.75rem;
}

.card h3 {
  margin: 1.25rem 0 0.5rem;
}

.card p {
  margin: 0.35rem 0;
}

#result {
  text-align: center;
}

#result h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.hidden {
  display: none !important;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  min-width: 520px;
}

.data-table th,
.data-table td {
  border: 1px solid #111827;
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.data-table thead th {
  background: #f4f4f5;
  font-weight: 600;
}

.data-table tbody tr:nth-child(even) {
  background: #f9f9fa;
}

.data-table tbody tr:hover {
  background: #f1f1f3;
}

footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  text-align: center;
  color: #6b7280;
}

footer a {
  text-decoration: underline;
}

@media (min-width: 48em) {
  .hero {
    padding: 2.25rem 2.5rem;
  }
}

@media (min-width: 64em) {
  .page {
    padding: 3rem 0 3rem;
  }

  .card {
    padding: 2rem;
  }
}
.scroll-container {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.scroll-container::-webkit-scrollbar {
  height: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #c7ccd4;
}

.scroll-container::-webkit-scrollbar-track {
  background: #f4f4f5;
}
