html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffd23f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.fc {
  width: min(300px, 92vw);
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.fc th, .fc td {
  padding: 8px 12px;
  text-align: center;
  font-family: inherit;
}

.fc thead th:first-child {
  width: 40%;
}

.fc tbody th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  color: #17141a;
}

.fc__plan {
  width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(23, 20, 26, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: #17141a;
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: background 300ms cubic-bezier(0.2, 0.8, 0.2, 1), color 300ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fc__plan.is-on {
  background: #2f6df6;
  color: #ffffff;
  border-color: #2f6df6;
  transform: scale(1.04);
}

.fc__cell {
  transition: background 300ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.55;
}

.fc__cell.is-on {
  background: rgba(47, 109, 246, 0.1);
  opacity: 1;
}

.fc__ic {
  display: inline-grid;
  place-items: center;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fc__cell.is-on .fc__ic {
  transform: scale(1.15);
}

.fc__ic--yes {
  color: #50a26e;
}

.fc__ic--no {
  color: rgba(23, 20, 26, 0.32);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .fc__plan, .fc__cell, .fc__ic {
    transition: none !important;
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .fc th, .fc td {
    padding: 4px 8px;
  }
  .fc__plan {
    font-size: 10px;
  }
}
