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);
}

.wmc {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
  width: min(92vw, 320px);
}

.wmc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  width: 100%;
}

.wmc__row {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  transition: box-shadow 300ms ease-out;
}

.wmc__row.is-fastest {
  box-shadow: 0 0 0 1px rgba(201, 48, 0, 0.35), 0 0 16px rgba(201, 48, 0, 0.28);
}

.wmc__label {
  font-size: 11px;
  font-weight: 700;
  color: #17141a;
  grid-row: 1/3;
}

.wmc__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.12);
  overflow: hidden;
}

.wmc__bar {
  height: 100%;
  border-radius: 999px;
  background: #c93000;
}

.wmc__row.is-fastest .wmc__bar {
  background: #3ddc97;
}

.wmc__meta {
  font-size: 10px;
  font-weight: 600;
  color: rgba(23, 20, 26, 0.65);
}

.wmc__status {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: rgba(23, 20, 26, 0.78);
  text-align: center;
}

.wmc__controls {
  display: flex;
  gap: 8px;
}

.wmc__btn {
  border: 1px solid rgba(23, 20, 26, 0.3);
  background: transparent;
  color: #17141a;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.wmc__btn--primary {
  background: #c93000;
  border-color: #c93000;
  color: #ffffff;
}

.wmc__btn:focus-visible {
  outline: 2px solid #c93000;
  outline-offset: 2px;
}

@media (max-width: 340px) {
  .wmc__row {
    grid-template-columns: 46px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wmc__bar {
    transition: none;
  }
  .wmc__row {
    transition: none;
  }
}
.wmc__list {
  gap: 4px;
}

.wmc__row {
  padding-top: 4px;
  padding-bottom: 4px;
}

@media (max-height: 240px) {
  .wmc {
    gap: 8px;
  }
  .wmc__row {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 24px;
  }
  .wmc__status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .wmc__btn {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}
