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

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

.fail-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fail {
  appearance: none;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 16px;
  border-radius: 16px;
}
.fail:focus-visible {
  outline: 2px solid #c2361a;
  outline-offset: 4px;
}

.fail__icon {
  width: clamp(120px, 30vw, 160px);
  height: auto;
  overflow: visible;
}

.fail__ring {
  fill: none;
  stroke: #c2361a;
  stroke-width: 3;
  opacity: 0.8;
}

.fail__mark {
  fill: none;
  stroke: #ffe0d8;
  stroke-width: 4;
  stroke-linecap: round;
}

.fail__label {
  color: #fff7e6;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.fail__status {
  margin: 0;
  color: rgba(255, 247, 230, 0.58);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
}

@media (max-width: 340px) {
  .stage {
    padding: 8px;
  }
  .fail-wrap {
    gap: 8px;
  }
  .fail {
    padding: 8px 12px;
    gap: 8px;
  }
  .fail__icon {
    width: 104px;
  }
  .fail__label {
    font-size: 12px;
  }
  .fail__status {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fail__icon {
    transition: none;
  }
}
