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

.bl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  width: min(100%, 400px);
  padding: 12px;
  border: 1px solid rgba(23, 20, 26, 0.14);
  border-radius: 16px;
  background: #fff7e6;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.bl__bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bl__ico {
  display: grid;
  place-items: center;
  color: #2f6df6;
  font-size: 16px;
}

.bl__name {
  flex: 1 1 auto;
  color: #17141a;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.bl__rev {
  padding: 4px 8px;
  border-radius: 4px;
  background: #0a4fe8;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.4;
}

.bl__scr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(23, 20, 26, 0.14);
  border-radius: 8px;
}

.bl__scr:focus-visible {
  outline: 2px solid #0a4fe8;
  outline-offset: 2px;
}

.bl__logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #0a4fe8;
  color: #ffffff;
  clip-path: inset(0 100% 0 0);
}

.bl__lg1 {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.bl__lg2 {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 10px;
  line-height: 1.4;
}

.bl__lines {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bl__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-weight: 500;
  font-size: 13px;
  line-height: 22px;
}

.bl__lab {
  color: #17141a;
  white-space: nowrap;
}

.bl__res {
  color: #0a4fe8;
  font-weight: 700;
  white-space: nowrap;
}

.bl__note {
  margin: 0;
  color: rgba(23, 20, 26, 0.72);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
}

.bl.is-demo .bl__logo {
  animation-name: blLogo;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.bl.is-demo .bl__row {
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.bl.is-demo .bl__res {
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.bl.is-demo .bl__row--1 {
  animation-name: blRow1;
}

.bl.is-demo .bl__row--1 .bl__res {
  animation-name: blRes1;
}

.bl.is-demo .bl__row--2 {
  animation-name: blRow2;
}

.bl.is-demo .bl__row--2 .bl__res {
  animation-name: blRes2;
}

.bl.is-demo .bl__row--3 {
  animation-name: blRow3;
}

.bl.is-demo .bl__row--3 .bl__res {
  animation-name: blRes3;
}

.bl.is-demo .bl__row--4 {
  animation-name: blRow4;
}

.bl.is-demo .bl__row--4 .bl__res {
  animation-name: blRes4;
}

.bl.is-demo .bl__row--5 {
  animation-name: blRow5;
}

.bl.is-demo .bl__row--5 .bl__res {
  animation-name: blRes5;
}

@keyframes blLogo {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  6%, 8% {
    clip-path: inset(0 0 0 0);
  }
  14%, 75% {
    clip-path: inset(0 0 0 100%);
  }
  76%, 88% {
    clip-path: inset(0 0 0 0);
  }
  90%, 100% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes blRow1 {
  0%, 12% {
    clip-path: inset(0 100% 0 0);
  }
  17%, 75% {
    clip-path: inset(0 0 0 0);
  }
  76%, 100% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes blRow2 {
  0%, 24% {
    clip-path: inset(0 100% 0 0);
  }
  29%, 75% {
    clip-path: inset(0 0 0 0);
  }
  76%, 100% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes blRow3 {
  0%, 36% {
    clip-path: inset(0 100% 0 0);
  }
  41%, 75% {
    clip-path: inset(0 0 0 0);
  }
  76%, 100% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes blRow4 {
  0%, 48% {
    clip-path: inset(0 100% 0 0);
  }
  53%, 75% {
    clip-path: inset(0 0 0 0);
  }
  76%, 100% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes blRow5 {
  0%, 60% {
    clip-path: inset(0 100% 0 0);
  }
  65%, 75% {
    clip-path: inset(0 0 0 0);
  }
  76%, 100% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes blRes1 {
  0%, 17% {
    opacity: 0;
    transform: translateX(8px);
  }
  18% {
    opacity: 1;
    transform: translateX(8px);
  }
  21%, 75% {
    opacity: 1;
    transform: translateX(0);
  }
  76%, 100% {
    opacity: 0;
    transform: translateX(0);
  }
}
@keyframes blRes2 {
  0%, 29% {
    opacity: 0;
    transform: translateX(8px);
  }
  30% {
    opacity: 1;
    transform: translateX(8px);
  }
  33%, 75% {
    opacity: 1;
    transform: translateX(0);
  }
  76%, 100% {
    opacity: 0;
    transform: translateX(0);
  }
}
@keyframes blRes3 {
  0%, 41% {
    opacity: 0;
    transform: translateX(8px);
  }
  42% {
    opacity: 1;
    transform: translateX(8px);
  }
  45%, 75% {
    opacity: 1;
    transform: translateX(0);
  }
  76%, 100% {
    opacity: 0;
    transform: translateX(0);
  }
}
@keyframes blRes4 {
  0%, 53% {
    opacity: 0;
    transform: translateX(8px);
  }
  54% {
    opacity: 1;
    transform: translateX(8px);
  }
  57%, 75% {
    opacity: 1;
    transform: translateX(0);
  }
  76%, 100% {
    opacity: 0;
    transform: translateX(0);
  }
}
@keyframes blRes5 {
  0%, 65% {
    opacity: 0;
    transform: translateX(8px);
  }
  66% {
    opacity: 1;
    transform: translateX(8px);
  }
  69%, 75% {
    opacity: 1;
    transform: translateX(0);
  }
  76%, 100% {
    opacity: 0;
    transform: translateX(0);
  }
}
@media (max-width: 340px) {
  .bl {
    gap: 4px;
    padding: 8px;
  }
  .bl__ico {
    font-size: 13px;
  }
  .bl__name {
    font-size: 10px;
  }
  .bl__rev {
    padding: 0 4px;
    font-size: 9px;
  }
  .bl__scr {
    gap: 4px;
    padding: 4px;
  }
  .bl__logo {
    padding: 0 4px;
  }
  .bl__lg1 {
    font-size: 12px;
  }
  .bl__lg2 {
    font-size: 9px;
  }
  .bl__row {
    height: 13px;
    font-size: 10px;
    line-height: 13px;
  }
  .bl__note {
    font-size: 9px;
    line-height: 1.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bl.is-demo .bl__logo, .bl.is-demo .bl__row, .bl.is-demo .bl__res {
    animation: none !important;
  }
  .bl.is-demo .bl__row {
    clip-path: none !important;
  }
  .bl.is-demo .bl__res {
    opacity: 1 !important;
    transform: none !important;
  }
  .bl.is-demo .bl__logo {
    clip-path: inset(0 100% 0 0) !important;
  }
}
