:root {
  color-scheme: light;
  --stage-width: 750;
  --stage-height: 1500;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  background: #f4f1e8;
}

body {
  position: fixed;
  inset: 0;
  overscroll-behavior: none;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input {
  font: inherit;
}

.app-shell,
.page {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.page {
  visibility: visible;
  opacity: 1;
  transition: opacity 180ms ease;
}

.page.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.design-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 750px;
  height: 1500px;
  transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
  transform-origin: center;
  overflow: hidden;
  background: #f4f1e8;
}

.art-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 750px;
  height: 1500px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.phone-input {
  position: absolute;
  left: 112px;
  top: 1024px;
  width: 227px;
  height: 42px;
  margin: 0;
  padding: 3px 16px 4px;
  border: 0;
  border-radius: 21px;
  outline: 0;
  background: transparent;
  color: #3f3f3f;
  font-size: 21px;
  line-height: 35px;
  letter-spacing: 1px;
  appearance: none;
  -webkit-appearance: none;
}

.phone-input:focus {
  box-shadow: inset 0 0 0 2px rgba(64, 64, 64, 0.22);
}

.submit-hotspot {
  position: absolute;
  left: 180px;
  top: 1074px;
  width: 90px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 23px;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.submit-hotspot:disabled {
  cursor: default;
}

.submit-hotspot:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
}

.status-message {
  position: absolute;
  left: 94px;
  top: 970px;
  width: 408px;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 4px;
  color: #fff;
  background: rgba(45, 45, 45, 0.84);
  font-size: 19px;
  line-height: 26px;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.status-message.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.status-message.is-error {
  background: rgba(135, 45, 34, 0.9);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
