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

.brk {
  position: relative;
  border: 0;
  cursor: pointer;
  padding: 16px 32px;
  border-radius: 0;
  background: transparent;
  color: #fff7e6;
  font-family: inherit;
  font-size: clamp(16px, 5vw, 21px);
  font-weight: 700;
}

.brk__c {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid #fff7e6;
  --tx: -18px;
  --ty: -18px;
}

.brk__c--tl {
  top: -8px;
  left: -8px;
  border-right: 0;
  border-bottom: 0;
  --i: 0;
}

.brk__c--tr {
  top: -8px;
  right: -8px;
  border-left: 0;
  border-bottom: 0;
  --tx: 18px;
  --i: 1;
}

.brk__c--bl {
  bottom: -8px;
  left: -8px;
  border-right: 0;
  border-top: 0;
  --ty: 18px;
  --i: 2;
}

.brk__c--br {
  bottom: -8px;
  right: -8px;
  border-left: 0;
  border-top: 0;
  --tx: 18px;
  --ty: 18px;
  --i: 3;
}

.brk.is-demo .brk__c {
  animation: brk-close 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: calc(var(--i) * 60ms);
}

@keyframes brk-close {
  0% {
    translate: var(--tx) var(--ty);
    opacity: 0;
  }
  38%, 66% {
    translate: 0 0;
    opacity: 1;
  }
  100% {
    translate: var(--tx) var(--ty);
    opacity: 0;
  }
}
.brk:focus-visible {
  outline: none;
}
.brk:focus-visible .brk__c {
  animation: none;
  translate: 0 0;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .brk.is-demo .brk__c {
    animation: none;
    translate: 0 0;
    opacity: 1;
  }
}
