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

.loglist {
  box-sizing: border-box;
  width: clamp(240px, 84vw, 360px);
  padding: 16px;
  border-radius: 16px;
  background: #17141a;
  box-shadow: 0 0 0 1px rgba(255, 210, 63, 0.4), 0 0 24px rgba(255, 210, 63, 0.16);
}

.loglist__rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loglist__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  animation: rowScan 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.loglist__row:nth-child(1) {
  animation-delay: 0s;
}

.loglist__row:nth-child(2) {
  animation-delay: -0.5s;
}

.loglist__row:nth-child(3) {
  animation-delay: -1s;
}

.loglist__row:nth-child(4) {
  animation-delay: -1.5s;
}

@keyframes rowScan {
  0%, 100% {
    box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0), inset 0 0 0 0 rgba(255, 210, 63, 0);
  }
  5% {
    box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.5), inset 0 0 16px 0 rgba(255, 210, 63, 0.18);
  }
  15% {
    box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0), inset 0 0 0 0 rgba(255, 210, 63, 0);
  }
}
.loglist__ts {
  flex: none;
  color: rgba(255, 210, 63, 0.7);
  font-family: "Courier New", monospace;
  font-weight: 700;
  font-size: clamp(9px, 2.2vw, 10px);
  line-height: 1;
}

.loglist__text {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff7e6;
  font-weight: 600;
  font-size: clamp(11px, 2.6vw, 12px);
  line-height: 1.3;
  font-family: inherit;
}

.loglist__ok {
  flex: none;
  opacity: 0;
  color: #ffd23f;
  font-family: "Courier New", monospace;
  font-weight: 700;
  font-size: clamp(9px, 2.2vw, 10px);
  line-height: 1;
  letter-spacing: 0.06em;
  animation: rowOk 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.loglist__row:nth-child(1) .loglist__ok {
  animation-delay: 0s;
}

.loglist__row:nth-child(2) .loglist__ok {
  animation-delay: -0.5s;
}

.loglist__row:nth-child(3) .loglist__ok {
  animation-delay: -1s;
}

.loglist__row:nth-child(4) .loglist__ok {
  animation-delay: -1.5s;
}

@keyframes rowOk {
  0%, 8% {
    opacity: 0;
  }
  14%, 100% {
    opacity: 1;
  }
}
.loglist__cursorline {
  margin: 8px 0 0;
  color: rgba(255, 210, 63, 0.7);
  font-family: "Courier New", monospace;
  font-weight: 400;
  font-size: clamp(9px, 2.2vw, 10px);
  line-height: 1;
  letter-spacing: 0.04em;
}

.loglist__cursor {
  display: inline-block;
  width: 6px;
  height: 10px;
  background: #ffd23f;
  vertical-align: -1px;
  animation: blink 2s steps(1) infinite;
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0.2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loglist__row, .loglist__ok, .loglist__cursor {
    animation: none !important;
  }
  .loglist__row {
    box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0);
  }
  .loglist__ok {
    opacity: 1;
  }
  .loglist__cursor {
    opacity: 1;
  }
}
