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

.lts {
  position: relative;
}

.pane {
  box-sizing: border-box;
  width: 288px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  background: #17141a;
  color: #fff7e6;
}

.pane__head {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 8px;
  background: rgba(255, 247, 230, 0.06);
  border-bottom: 1px solid rgba(255, 247, 230, 0.12);
}

.tabs {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.tab {
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 247, 230, 0.72);
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tab:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: -2px;
}

.tab[aria-selected=true] {
  color: #fff7e6;
}

.tabs__indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 2px;
  border-radius: 4px;
  background: #2f6df6;
  transform-origin: left center;
  transform: translateX(0) scaleX(1);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pane__body {
  position: relative;
  box-sizing: border-box;
  height: 132px;
  padding: 12px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 18px;
}

.panel {
  position: absolute;
  inset: 12px;
  margin: 0;
  font: inherit;
  white-space: pre;
  opacity: 1;
}

.panel[hidden] {
  display: block;
  opacity: 0;
}

.k {
  color: #ff4d1f;
}

.s {
  color: #ffd23f;
}

.n {
  color: #6ec8ff;
}

.c {
  color: rgba(255, 247, 230, 0.72);
}

.lts.is-demo .tabs__indicator {
  animation-name: lts-indicator;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

.lts.is-demo #tabCss,
.lts.is-demo #tabScss,
.lts.is-demo #tabTw {
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.lts.is-demo #tabCss {
  animation-name: lts-tab-css;
}

.lts.is-demo #tabScss {
  animation-name: lts-tab-scss;
}

.lts.is-demo #tabTw {
  animation-name: lts-tab-tw;
}

.lts.is-demo #panelCss,
.lts.is-demo #panelScss,
.lts.is-demo #panelTw {
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
  display: block;
}

.lts.is-demo #panelCss {
  animation-name: lts-panel-css;
}

.lts.is-demo #panelScss {
  animation-name: lts-panel-scss;
}

.lts.is-demo #panelTw {
  animation-name: lts-panel-tw;
}

@keyframes lts-indicator {
  0% {
    transform: translateX(0) scaleX(1);
  }
  30% {
    transform: translateX(43.2px) scaleX(1.14);
  }
  60% {
    transform: translateX(92.58px) scaleX(1.55);
  }
  88% {
    transform: translateX(0) scaleX(1);
  }
  100% {
    transform: translateX(0) scaleX(1);
  }
}
@keyframes lts-tab-css {
  0% {
    color: #fff7e6;
  }
  30% {
    color: rgba(255, 247, 230, 0.72);
  }
  88% {
    color: #fff7e6;
  }
  100% {
    color: #fff7e6;
  }
}
@keyframes lts-tab-scss {
  0% {
    color: rgba(255, 247, 230, 0.72);
  }
  30% {
    color: #fff7e6;
  }
  60% {
    color: rgba(255, 247, 230, 0.72);
  }
  100% {
    color: rgba(255, 247, 230, 0.72);
  }
}
@keyframes lts-tab-tw {
  0% {
    color: rgba(255, 247, 230, 0.72);
  }
  60% {
    color: #fff7e6;
  }
  88% {
    color: rgba(255, 247, 230, 0.72);
  }
  100% {
    color: rgba(255, 247, 230, 0.72);
  }
}
@keyframes lts-panel-css {
  0% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes lts-panel-scss {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes lts-panel-tw {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  88% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 340px) {
  .pane {
    width: 100%;
  }
  .pane__body {
    font-size: 10px;
    line-height: 16px;
    padding: 8px;
    height: 118px;
  }
  .panel {
    inset: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lts.is-demo .tabs__indicator,
  .lts.is-demo #tabCss,
  .lts.is-demo #tabScss,
  .lts.is-demo #tabTw,
  .lts.is-demo #panelCss,
  .lts.is-demo #panelScss,
  .lts.is-demo #panelTw {
    animation: none !important;
  }
  .lts.is-demo #panelScss,
  .lts.is-demo #panelTw {
    opacity: 0;
  }
}
