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

[hidden] {
  display: none !important;
}

.at {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(432px, 88vw);
  color: #fff7e6;
  font-size: clamp(11px, 3vw, 13px);
  line-height: 18px;
  user-select: none;
  -webkit-user-select: none;
}

.at__frame {
  width: 100%;
}

.at__panel {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(255, 247, 230, 0.24);
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.1);
}

.at__nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.at__list {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.at__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.at__item:last-child {
  flex: 0 1 auto;
  min-width: 0;
}

.at__sep {
  display: inline-flex;
  margin: 0 4px;
  color: rgba(255, 247, 230, 0.42);
}

.at__sep svg {
  display: block;
}

.at__crumb {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 247, 230, 0.12);
  color: rgba(255, 247, 230, 0.82);
  font-weight: 600;
  line-height: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.at__crumb:hover {
  background: rgba(255, 247, 230, 0.24);
  color: #fff7e6;
}

.at__crumb:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.at__crumb--dots {
  padding: 4px;
  color: #fff7e6;
}

.at__crumb--dots svg {
  display: block;
}

.at__crumb--now {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 800;
}

.at__crumb--now:hover {
  background: #0a4fe8;
}

.at__handle {
  flex: 0 0 auto;
  width: 8px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.62);
  cursor: col-resize;
  touch-action: none;
}

.at__handle:hover {
  background: #fff7e6;
}

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

.at__cap {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  color: rgba(255, 247, 230, 0.58);
  text-align: center;
}

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

@keyframes at-squeeze {
  0%, 8% {
    width: 100%;
  }
  44%, 56% {
    width: 46%;
  }
  86%, 100% {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .at.is-demo .at__panel {
    animation: none !important;
    width: 100%;
  }
  .at__crumb, .at__handle {
    transition: none;
  }
}
@media (max-width: 340px) {
  .at__panel {
    padding: 4px;
  }
  .at__crumb {
    padding: 4px;
  }
  .at__cap {
    margin-top: 4px;
  }
}
