html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #d6c9ab;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.pfoot {
  box-sizing: border-box;
  width: clamp(264px, 86vw, 388px);
  padding: 20px 20px 0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 0 #e7dccb;
  overflow: hidden;
}

.pfoot__cols {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.pfoot__col {
  flex: 1 1 0;
}

.pfoot__h {
  margin: 0 0 8px;
  color: #2a2320;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  font-family: inherit;
}

.pfoot__l {
  margin: 0 0 4px;
  color: #5c5048;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  font-family: inherit;
}

.pfoot__strip {
  overflow: hidden;
  margin: 0 -20px;
  padding: 8px 0;
  background: #fbf6ec;
}

.pfoot__track {
  display: flex;
  width: max-content;
  animation: stripFlow 2s linear infinite;
}

.pfoot__bit {
  flex: 0 0 auto;
  width: 36px;
  height: 20px;
  margin-right: 12px;
  border-radius: 4px;
}

.pfoot__bit--coral {
  background: #b97b71;
}

.pfoot__bit--butter {
  background: #d6c9ab;
}

.pfoot__bit--leaf {
  background: #2b7d5a;
}

.pfoot__bit--sky {
  background: #6a8db5;
}

@keyframes stripFlow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .pfoot {
    width: 276px;
    padding: 12px 12px 0;
  }
  .pfoot__cols {
    gap: 12px;
    margin-bottom: 8px;
  }
  .pfoot__h {
    font-size: 10px;
    margin-bottom: 4px;
  }
  .pfoot__l {
    font-size: 9px;
  }
  .pfoot__strip {
    margin: 0 -12px;
    padding: 4px 0;
  }
  .pfoot__bit {
    width: 24px;
    height: 16px;
    margin-right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pfoot__track {
    animation: none !important;
    transform: none;
  }
}
