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

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

.mf {
  width: 100%;
  max-width: 220px;
  background: #fff7e6;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  box-sizing: border-box;
}

.mf__head {
  text-align: center;
  margin-bottom: 4px;
}

.mf__label {
  font-size: 11px;
  font-weight: 700;
  color: #17141a;
}

.mf__weekday {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}

.mf__weekday span {
  font-size: 9px;
  text-align: center;
  color: rgba(23, 20, 26, 0.72);
}

.mf__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 21px;
}

.mf__cell {
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  font-size: 11px;
  color: #17141a;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 300ms ease-out;
}

.mf__cell--out {
  visibility: hidden;
}

.mf__cell--out-range {
  cursor: default;
}

.mf__cell--bound {
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 700;
}

@media (max-width: 340px) {
  .mf {
    max-width: 180px;
  }
  .mf__grid {
    grid-auto-rows: 17px;
  }
  .mf__cell {
    font-size: 10px;
  }
  .mf__weekday span {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mf__cell {
    transition: none;
  }
}
