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

.ig {
  display: grid;
  justify-items: center;
}

.ig__bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.08);
}

.ig__tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: #fff7e6;
  color: #17141a;
  padding: 8px;
  cursor: pointer;
  transition: padding 600ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 220ms ease-out;
}

.ig__ic {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ig--on .ig__ic {
  transform: scale(1.25);
}

.ig__body {
  fill: #2f6df6;
}

.ig__head {
  fill: #5b8cf8;
}

.ig__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
  opacity: 0;
  transition: max-width 600ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 220ms ease-out, padding 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ig--on .ig__label {
  max-width: var(--label-w, 96px);
  opacity: 1;
  padding-right: 8px;
}

.ig__peer {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255, 247, 230, 0.72);
}

@media (max-width: 340px) {
  .ig__bar {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ig__tool, .ig__ic, .ig__label {
    transition: none;
  }
}
