:root {
  color-scheme: light;
  --ink: #16211f;
  --muted: #68736f;
  --paper: #fbfaf5;
  --panel: #ffffff;
  --line: #dce3dc;
  --mint: #9edec7;
  --coral: #ff7f6e;
  --sun: #ffd166;
  --blue: #4c7cff;
  --danger: #d64545;
  --ok: #258a5d;
  --shadow: 0 16px 40px rgba(20, 36, 32, 0.12);
  --font-sans: "Nunito", Arial, Helvetica, sans-serif;
  --font-serif: "Old Standard TT", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    linear-gradient(180deg, rgba(158, 222, 199, 0.28), rgba(255, 209, 102, 0.18)),
    var(--paper);
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.font-old-standard,
.use-old-standard {
  font-family: var(--font-serif);
}

.page {
  display: flex;
  justify-content: center;
}

.page-wrapper {
  width: min(100%, 481px);
  margin: 0 auto;
  overflow: hidden;
}

.page-index {
  --index-vw: min(1vw, 4.81px);
  --index-vh: min(1vh, 8.52px);
  background: #f5fbef url("img/background.png") center top / cover no-repeat;
}

.page-header {
  width: 100%;
}

.phone-shell,
.app-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  padding: 18px;
}

.app-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.topbar,
.app-header,
.header-actions,
.button-row {
  display: flex;
  align-items: center;
}

.topbar,
.app-header {
  justify-content: space-between;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.header-actions,
.button-row {
  gap: 10px;
}

.welcome-screen {
  min-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-block {
  padding: 20px 0 8px;
}

.hero-visual {
  position: relative;
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #e9fff5, #fff2cf 58%, #ffe4df);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-circle {
  position: absolute;
  border-radius: 999px;
}

.hero-circle-a {
  width: 126px;
  height: 126px;
  left: 24px;
  top: 42px;
  background: var(--mint);
}

.hero-circle-b {
  width: 92px;
  height: 92px;
  right: 34px;
  bottom: 30px;
  background: var(--coral);
}

.hero-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  width: 160px;
  height: 120px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 31px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p,
.fine-print,
.status-card p,
.poll-card p,
.stat-panel small {
  color: var(--muted);
}

.hero-copy {
  font-size: 15px;
  line-height: 1.5;
}

.stat-panel,
.status-card,
.poll-card,
.journey-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.stat-panel {
  padding: 16px;
  display: grid;
  gap: 6px;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
}

#participant-count {
  font-size: 42px;
  line-height: 1;
}

.primary-button,
.ghost-button,
.text-button {
  min-height: 46px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 800;
}

.primary-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
}

.text-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.primary-button:disabled,
.ghost-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px 0;
  backdrop-filter: blur(10px);
}

.app-header>div:first-child {
  display: grid;
  gap: 6px;
}

#step-title {
  font-size: 16px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.stepper span {
  display: grid;
  place-items: center;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.stepper span.is-active {
  background: var(--ink);
  color: white;
}

.journey-step {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.section-heading {
  display: grid;
  gap: 6px;
}

.section-heading h1 {
  font-size: 26px;
}

.section-heading p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.upload-zone {
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 2px dashed #aebbb5;
  border-radius: 8px;
  background: #f7fbf7;
  color: var(--muted);
  overflow: hidden;
}

.upload-zone input {
  display: none;
}

.upload-zone img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.page-main {
  background: #f5fbef url("img/background.png") center top / cover no-repeat;
}

.page-main .app-shell {
  position: relative;
  width: min(100%, 481px);
  min-height: 100dvh;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.page-main .app-header,
.page-main .stepper {
  position: absolute;
  z-index: 20;
  left: 12px;
  right: 12px;
}

.page-main .app-header {
  top: 10px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}

.page-main .app-header>div:first-child,
.page-main .stepper {
  display: none;
}

.page-main .header-actions {
  margin-left: auto;
  pointer-events: auto;
}

.icon-button svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.icon-button .icon-audio-off {
  display: none;
}

.icon-button.is-muted .icon-audio-on {
  display: none;
}

.icon-button.is-muted .icon-audio-off {
  display: block;
}

.step-upload {
  position: relative;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.step-upload::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.66), transparent 24%),
    url("img/background.png") center top / cover no-repeat,
    linear-gradient(180deg, #f5fbef 0%, #e7f4d7 100%);
}

.step-upload__stage {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  padding: max(14px, env(safe-area-inset-top)) 20px 0;
}

.step-upload__logo {
  position: relative;
  z-index: 3;
  display: block;
  width: clamp(145px, 39vw, 220px);
  height: auto;
  margin: -14px auto 0;
}

.step-upload__title {
  position: relative;
  z-index: 3;
  display: block;
  width: clamp(270px, 72vw, 350px);
  height: auto;
  margin: 2rem auto 0;
}

.upload-frame {
  position: relative;
  z-index: 4;
  width: clamp(280px, 70%, 350px);
  aspect-ratio: 1 / 1;
  height: auto;
  margin: clamp(22px, 4vh, 40px) auto 0;
}

.upload-frame__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.upload-frame__badge {
  position: absolute;
  z-index: 5;
  top: -16%;
  right: -20%;
  width: clamp(100px, 35%, 130px);
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: rotate(8deg);

}

.upload-frame__title {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 9%;
  width: clamp(180px, 64%, 250px);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.upload-frame__icon {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 43%;
  width: clamp(118px, 58%, 225px);
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.upload-frame__hand-guide {
  position: absolute;
  z-index: 6;
  left: 65%;
  top: 58%;
  width: clamp(40px, 12vw, 55px);
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%);
  animation: hand-click-pulse 1.8s ease-in-out infinite;
}

#upload-placeholder.hidden~.upload-frame__hand-guide {
  display: none;
}

@keyframes hand-click-pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  40% {
    transform: translate(-50%, -50%) scale(0.85) rotate(-5deg);
  }

  50% {
    transform: translate(-50%, -50%) scale(0.8) rotate(-5deg);
  }

  65% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
}

.upload-frame__preview {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 27%;
  width: clamp(126px, 35%, 156px);
  aspect-ratio: 545 / 625;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.28);
}

.upload-frame__input,
.upload-frame__hotspot {
  position: absolute;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.upload-frame__input {
  opacity: 0;
}

.upload-frame__hotspot {
  display: none;
}

.upload-frame__button {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 7%;
  width: clamp(190px, 49vw, 200px);
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  animation: upload-button-pulse 2.2s ease-in-out infinite;
}

.upload-frame__button:disabled {
  opacity: 0.62;
  animation-play-state: paused;
}

.upload-frame__button-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.step-upload__product {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -26px;
  width: clamp(280px, 75vw, 430px);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.step-options .step-upload__title {
  margin-top: 1.25rem;
}

.option-frame {
  margin-top: clamp(18px, 3.5vh, 34px);
  aspect-ratio: 1 / 1.15;
}

.option-frame__title {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 10%;
  width: clamp(220px, 74%, 285px);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.step-options .option-grid {
  position: absolute;
  z-index: 20;
  left: 50%;
  top: 28%;
  display: grid;
  gap: 8px;
  width: clamp(235px, 78%, 300px);
  transform: translateX(-50%);
  pointer-events: auto;
}

.step-options .option-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  transition: transform 180ms ease, filter 180ms ease;
  margin-top: -7%;
  cursor: pointer;
  pointer-events: auto;
}

.step-options .option-card:active {
  transform: scale(0.98);
}

.step-options .option-card.is-selected {
  border: 0;
  background: transparent;
}

.step-options .option-card__img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.step-options .option-card__img--on,
.step-options .option-card.is-selected .option-card__img--off {
  display: none;
}

.step-options .option-card.is-selected .option-card__img--on {
  display: block;
}

.step-options__complete {
  position: relative;
  z-index: 5;
  display: block;
  width: clamp(150px, 42vw, 190px);
  margin: 1% auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.step-options__complete:active {
  transform: scale(0.98);
}

.step-options__complete:disabled {
  opacity: 0.64;
}

.step-options__complete img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

@keyframes upload-button-pulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.035);
  }
}

.crop-stage {
  display: grid;
  gap: 12px;
}

.crop-summary {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbf7;
}

.crop-summary img {
  width: 96px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
  background: white;
}

.crop-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.crop-canvas {
  width: 100%;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef5f1;
  overflow: hidden;
}

.crop-canvas img {
  display: block;
  max-width: 100%;
}

.crop-preview-panel {
  display: none;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
}

.crop-preview {
  width: 96px;
  height: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

.crop-preview-panel small {
  color: var(--muted);
  line-height: 1.35;
}

.crop-controls {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 10px;
}

.crop-controls .ghost-button {
  min-width: 0;
  padding: 0 10px;
}

#cancel-crop-button {
  display: none;
}

#crop-modal {
  padding: 0;
  overflow: hidden;
}

.crop-modal-panel {
  width: min(100vw, 481px);
  height: 100dvh;
  max-height: 100dvh;
  padding: max(10px, env(safe-area-inset-top)) 10px max(14px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.6dvh, 18px);
  justify-items: center;
  overflow: hidden;
  text-align: center;
  border: 0;
  border-radius: 0;
}

.crop-modal-panel .section-heading {
  margin: 0;
}

.crop-modal-panel .section-heading .eyebrow,
.crop-modal-panel .section-heading p {
  display: none;
}

.crop-modal-panel .section-heading h1 {
  margin: 0;
  color: #e3313b;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.crop-image-container {
  position: relative;
  flex: 0 0 auto;
  width: min(70vw, 337px, 70dvh);
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef5f1;
  overflow: hidden;
}

.crop-image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.crop-image-container>.cropper-container {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
}

.button-row {
  justify-content: space-between;
}

.crop-modal-panel .button-row {
  margin: 0;
  width: min(70vw, 300px, 70dvh);
  justify-content: center;
}

.crop-complete-button {
  width: min(100%, 300px);
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
}

.crop-complete-button img {
  display: block;
  width: 60%;
  max-width: 180px;
  height: auto;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}

.button-row>* {
  flex: 1;
}

.status-card,
.poll-card {
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(76, 124, 255, 0.12);
}

.status-dot.is-ok {
  background: var(--ok);
}

.status-dot.is-danger {
  background: var(--danger);
}

.wire-form {
  display: grid;
  gap: 10px;
}

.wire-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
}

.wire-form input,
.wire-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
  color: var(--ink);
}

.option-grid {
  display: grid;
  gap: 10px;
}

.option-card {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 800;
}

.option-card.is-selected {
  border-color: var(--ink);
  background: var(--mint);
}

.editable-block {
  width: 100%;
  min-height: 54px;
  border: 1px dashed #93a09a;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.preview-mode {
  min-height: 360px;
}

.preview-mode img {
  bottom: 108px;
}

.step-preview {
  min-height: 100dvh;
  padding: 0px 16px 28px;
  align-content: start;
  gap: 14px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.32), transparent 32%),
    url("img/s3-background.png") center top / cover no-repeat,
    #f7df8d;
  overflow: hidden;
}

.step-preview__top-logo {
  display: block;
  width: clamp(185px, 54vw, 254px);
  height: auto;
  margin: 0 auto;
}

.step-preview__program-title {
  display: block;
  width: clamp(285px, 78vw, 376px);
  height: auto;
  margin: 2px auto 8px;
}

.s3-card {
  position: relative;
  width: min(100%, 370px);
  aspect-ratio: 5 / 8;
  min-height: auto;
  margin: 0 auto;
  overflow: hidden;
  border: 5px solid #9d7324;
  border-radius: 0;
}

.s3-card__background {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  bottom: auto;
  max-height: none;
  transform: none;
}

.s3-card__layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  bottom: auto;
  max-height: none;
  transform: none;
  pointer-events: none;
}

.s3-card__logo {
  position: absolute;
  z-index: 4;
  left: 0%;
  top: 2.4%;
  width: 22%;
  height: auto;
  bottom: auto;
  max-height: none;
  transform: none;
}

.s3-card__forbe {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 7.4%;
  width: 75%;
  height: auto;
  bottom: auto;
  max-height: none;
  transform: translateX(-50%);
}

.s3-card__badge {
  position: absolute;
  z-index: 7;
  right: 7px;
  top: 23.5%;
  width: 17%;
  height: auto;
  bottom: auto;
  max-height: none;
  transform: none;
}

.s3-card__person {
  position: absolute;
  z-index: 5;
  left: 55%;
  bottom: 0;
  max-height: 80%;
  object-fit: contain;
  object-position: bottom center;
  transform: translateX(-50%);
}

.s3-card__field {
  position: absolute;
  z-index: 8;
  display: block;
  min-height: 0;
  padding: 10px 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #d01818;
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  text-transform: uppercase;
  box-shadow: none;
}

.s3-card__field-title {
  display: block;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.s3-card__edit-button {
  position: absolute;
  z-index: 12;
  right: -15px;
  bottom: -15px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  line-height: 0;
}

.s3-card__edit {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  max-height: none;
  transform: none;
  pointer-events: none;
}

.s3-card__field--profile {
  left: 3.2%;
  top: 47.6%;
  width: clamp(120px, 27%, 135px);
  height: clamp(80px, 13%, 100px);
}

.s3-card__field--career {
  left: 3.2%;
  top: 65.5%;
  width: 36%;
  height: 15%;
}

.s3-card__field--choice {
  right: 2.6%;
  top: 67%;
  width: clamp(130px, 37%, 150px);
  height: clamp(82px, 15%, 85px);
  text-align: right;
}

.s3-card__field--choice .s3-card__edit-button {
  left: -15px;
  right: auto;
  top: -12px;
  bottom: auto;
}

.s3-card__field--quote {
  left: 3.2%;
  bottom: 1.6%;
  width: clamp(200px, 57%, 220px);
  height: clamp(75px, 17.5%, 85px);
  padding: 8px 9px;
  overflow: visible;
}

.s3-card__field--quote .s3-card__field-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(10px, 1.6vw, 12px);
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
}

.s3-card__field--quote .s3-card__edit-button {
  right: -11px;
  bottom: -11px;
}

img.s3-card__product {
  position: absolute;
  z-index: 9;
  bottom: -70px;
  right: -38px;
  width: 55%;
  height: auto;
  max-height: none;
  transform: none;
  pointer-events: none;
}

.step-preview__hint {
  margin: 4px auto 0;
  color: #f12f3c;
  font-size: clamp(14px, 4vw, 16px);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.step-preview__complete {
  display: block;
  width: clamp(145px, 40vw, 184px);
  margin: 8px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
}

.step-preview__complete img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.step-choose-bg {
  display: block;
  position: relative;
  min-height: 100dvh;
  padding: max(12px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
  overflow: hidden;
  background: url("img/s3-background.png") center top / cover no-repeat, #fff1c2;
}

.step-choose-bg__top-logo {
  display: block;
  width: clamp(150px, 45vw, 220px);
  height: auto;
  margin: 0 auto;
}

.step-choose-bg__brand {
  margin: 12px auto 34px;
  color: #194b93;
  font-size: clamp(17px, 4.6vw, 24px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.s4-choice-wrapper {
  display: grid;
  gap: 4px;
  width: 100%;
  margin: 16px auto 0;
}

.s4-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 6px;
  row-gap: 0;
  align-items: start;
  width: 95%;
  margin: 0 auto;
}

.s4-choice-card {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.s4-card-grid:has(.s4-choice-card.is-selected) .s4-choice-card:not(.is-selected) {
  opacity: 0.6;
}

.s4-choice-card.is-selected {
  transform: scale(1.02);
}

.s4-choice-card__poster {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 8;
  padding: 30px 20px;
  box-sizing: border-box;
  overflow: hidden;
  color: #d01818;
  font-family: var(--font-serif);
  text-align: left;
}

.s4-choice-card--red .s4-choice-card__poster {
  color: #fff;
}

.s4-choice-card__bg,
.s4-choice-card__logo,
.s4-choice-card__logo-group img,
.s4-choice-card__title,
.s4-choice-card__person,
.s4-choice-card__badge,
.s4-choice-card__product,
.s4-choice-card__button-img,
.s4-nav__button img {
  display: block;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.s4-choice-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s4-choice-card__theme-bg {
  position: absolute;
  inset: 30px 20px;
  z-index: 1;
  padding: 20px;
  border: 3px solid #9d7324;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff2c3;
}

.s4-choice-card--red .s4-choice-card__theme-bg {
  border-color: #d01818;
  background: #9f151f;
}

.s4-choice-card__logo {
  position: absolute;
  z-index: 4;
  top: 4.2%;
  height: auto;
}

.s4-choice-card__logo--left {
  left: 0;
  width: 70px;
  top: 10px;
}

.s4-choice-card__logo-group {
  position: absolute;
  z-index: 4;
  right: 10px;
  top: 10px;
  display: flex;
  gap: 2px;
  width: 40px;
  justify-content: flex-end;
  pointer-events: none;
}

.s4-choice-card__logo-group img {
  width: 20px;
}

.s4-choice-card__title {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 35px;
  width: 250px;
  transform: translateX(-50%);
}

.s4-choice-card__person {
  position: absolute;
  z-index: 6;
  left: 52%;
  bottom: 0;
  width: 100%;
  max-height: 80%;
  object-fit: contain;
  object-position: bottom center;
  transform: translateX(-50%);
}

.s4-choice-card__profile {
  position: absolute;
  z-index: 6;
  left: 10px;
  top: 31%;
  max-width: 34%;
  font-size: 14px;
  line-height: 1.05;
  text-transform: uppercase;
}

.s4-choice-card__badge {
  position: absolute;
  z-index: 5;
  right: 10px;
  top: 22%;
  width: 62px;
  height: auto;
}

.s4-choice-card__profile-name {
  display: block;
  font-size: 17px;
  font-weight: 500;
}

.s4-choice-card__weight {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin-top: 1px;
}

.s4-choice-card__profile .s4-choice-card__kg {
  font-size: 30px;
  line-height: 0.95;
}

.s4-choice-card__profile .plus {
  display: inline-flex;
  align-items: center;
  font-size: 0.62em;
  line-height: 1;
}

.s4-choice-card__field {
  position: absolute;
  z-index: 6;
  font-size: clamp(7px, 1.45vw, 10px);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.s4-choice-card__field--career {
  left: 10px;
  bottom: 25%;
  width: 38%;
  max-width: 130px;
  font-size: clamp(12px, 0.8em, 14px);
  font-weight: 500;
}

.s4-choice-card__field--hobby {
  right: 7%;
  bottom: 23%;
  width: 36%;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
}

.s4-choice-card__field--quote {
  left: 10px;
  bottom: 10px;
  width: 50%;
  font-size: 20px;

}

.s4-choice-card--red .s4-choice-card__field--quote {
  color: #fde274;
}

.s4-choice-card__field--quote>span {
  line-height: 1.5;
}

.s4-choice-card__product {
  position: absolute;
  z-index: 6;
  right: -18px;
  bottom: -34px;
  width: 100px;
}

.mini-card .s4-choice-card__field--quote {
  left: 5px;
  bottom: 5px;
  width: 55%;
  font-size: 8px;
}

.mini-card .s4-choice-card__field--hobby {
  right: 5px;
  bottom: 25%;
  width: 36%;
  text-align: right;
  font-size: 8px;
  font-weight: 500;
}

.mini-card .s4-choice-card__field--career {
  left: 5px;
  bottom: 21%;
  width: 38%;
  font-size: 8px;
  font-weight: 500;
}

.mini-card .s4-choice-card__title {
  top: 28px;
  width: 120px;
}

.mini-card .s4-choice-card__person {
  left: 52%;
  bottom: 0;
  max-height: 80%;
}

.mini-card .s4-choice-card__profile {
  left: 5px;
}

.mini-card .s4-choice-card__badge {
  right: 4%;
  top: 25%;
  width: 18%;
}

.mini-card .s4-choice-card__profile-name {
  font-size: 8px;
}

.mini-card .s4-choice-card__profile .s4-choice-card__kg {
  font-size: 12px;
}

.mini-card .s4-choice-card__logo--left {
  left: 0;
  width: 40px;
  top: 5px;
}

.mini-card .s4-choice-card__logo-group {
  top: 5px;
  transform: scale(.72);
  transform-origin: top right;
}

.step-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-final__top-logo {
  display: block;
  width: clamp(185px, 56vw, 360px);
  height: auto;
  margin: -14px auto 30px;
}

.s4-final-card {
  width: min(82%, 390px);
  margin: 0 auto;
}

.s4-final-card .s4-choice-card__poster {
  filter: drop-shadow(0 10px 20px rgba(157, 115, 36, 0.22));
  padding: 0;
  margin: 0.5rem auto;
  width: clamp(320px, 90%, 350px);
}

.s4-final-card .s4-choice-card__product {
  right: -38px;
  bottom: -70px;
  width: 200px;
}

.s4-final-card .s4-choice-card__theme-bg {
  pointer-events: none;
  inset: 0;
}

.s4-final-card .s4-choice-card__field--hobby {
  right: 10px;
  bottom: 27%;
  width: 36%;
  text-align: right;
  font-size: clamp(14px, 1em, 18px);
}

#final-hobby {
  font-weight: 700;

}

.s4-final-card .s4-choice-card__field--quote {
  font-size: clamp(14px, 1em, 18px);
}

.step-final__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 4px auto 0;
}

.step-final__button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.step-final__button img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 14px rgba(201, 69, 56, 0.18));
}

.s4-choice-card__button-img {
  position: relative;
  z-index: 25;
  width: min(60%, 170px);
  margin: -30px auto 0;
  filter: drop-shadow(0 8px 14px rgba(201, 69, 56, 0.22));
}

.s4-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 4px auto 0;
}

.s4-nav__button {
  width: clamp(46px, 13vw, 58px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.step-choose-bg__product {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -1px;
  width: clamp(300px, 76vw, 370px);
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.s3-popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  width: min(100vw, 481px);
  margin: 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.s3-popup__card {
  position: relative;
  width: min(100%, 390px);
  padding: 28px 24px 26px;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 14px;
  border-radius: 30px;
  background:
    url("img/s3-popup-background.png") center / 100% 100% no-repeat;
  box-shadow: none;
}

.s3-popup__title {
  display: block;
  width: min(84%, 310px);
  height: auto;
  margin: -54px auto 4px;
  pointer-events: none;
}

.s3-popup__editor {
  position: relative;
  width: 95%;
  aspect-ratio: 310 / 124;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
}

.s3-popup__editor-bg,
.s3-popup__option-img,
.s3-popup__complete-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.s3-popup__textarea {
  position: absolute;
  inset: 24% 10%;
  width: 80%;
  height: 50%;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: #df3c63;
  font-family: var(--font-sans);
  font-size: clamp(22px, 1.5em, 26px);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
}

.s3-popup.is-quote .s3-popup__textarea {
  font-size: clamp(12px, 0.9em, 15px);
}

.s3-popup__textarea::placeholder {
  color: rgba(197, 159, 95, 0.66);
}

.s3-popup__hint {
  margin: 2px 0 -2px;
  color: #f12f3c;
  font-size: clamp(15px, 4.2vw, 20px);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
}

.s3-popup__options {
  width: 80%;
  display: grid;
  gap: 10px;
}

.s3-popup__option {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.s3-popup__complete {
  width: min(52%, 190px);
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 0 12px rgba(202, 168, 91, 0.8));
}

.s3-popup__info-fields {
  width: 100%;
  display: grid;
  gap: 12px;
  justify-items: center;
  align-items: center;
}

.s3-popup__info-field {
  display: grid;
  gap: 7px;
  justify-items: center;
  align-items: center;
}

.s3-popup__info-label {
  color: #f12f3c;
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.s3-popup__info-editor {
  position: relative;
  width: min(100%, 316px);
  aspect-ratio: 316 / 78;
  display: grid;
  place-items: center;
}

.s3-popup__info-bg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.s3-popup__info-input {
  position: absolute;
  inset: 18% 11%;
  width: 78%;
  height: 64%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #d6b980;
  font-family: var(--font-sans);
  font-size: clamp(20px, 5.2vw, 30px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.s3-popup__info-input::placeholder {
  color: rgba(197, 159, 95, 0.66);
}

.s3-popup.is-info .s3-popup__card {
  width: min(calc(100vw - 48px), 390px);
  gap: 9px;
  padding: 34px 22px 24px;
  justify-items: center;
}

.s3-popup.is-info .s3-popup__title {
  width: min(90%, 330px);
  margin-bottom: 8px;
}

.preview-modal-panel {
  position: relative;
  width: min(100%, 398px);
  max-height: calc(100vh - 36px);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

#preview-image-container {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 34px 0 4px;
}

#preview-image-container img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  -webkit-touch-callout: default !important;
  pointer-events: auto !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.preview-instructions {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbf7;
  text-align: center;
}

.preview-instructions p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.welcome-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff2c6;
}

.welcome-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  user-select: none;
}

.welcome-hero__topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0px 14px 0;
}

.welcome-hero__topbar .header-actions {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.welcome-hero__topbar .header-actions .icon-button {
  background: rgba(255, 255, 255, 0.72);
}

.welcome-hero__logo-box {
  width: calc(var(--index-vw) * 40);
  min-width: 150px;
  max-width: 280px;
}

.welcome-hero__logo,
.welcome-hero__program-title,
.welcome-hero__bottom-program,
.welcome-hero__child,
.welcome-hero__product,
.welcome-hero__mother,
.welcome-hero__bubble {
  display: block;
  height: auto;
}

.welcome-hero__logo {
  width: 100%;
}

.welcome-hero__program-title {
  position: relative;
  z-index: 2;
  width: calc(var(--index-vw) * 78);
  max-width: 560px;
  margin: 0 auto 0;
}

.welcome-hero__bubble {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.welcome-hero__bubble--left {
  width: calc(var(--index-vw) * 16);
  min-width: 58px;
  max-width: 110px;
  left: calc(var(--index-vw) * 3);
  top: calc(var(--index-vh) * 19);
}

.welcome-hero__bubble--right {
  width: calc(var(--index-vw) * 15);
  min-width: 56px;
  max-width: 105px;
  right: calc(var(--index-vw) * 4);
  top: calc(var(--index-vh) * 11);
}

.welcome-hero__main {
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.welcome-hero__main.animate-on-scroll {
  transform: translateY(24px);
}

.welcome-hero__main.animate-on-scroll.is-visible {
  transform: translateY(0);
}

.welcome-hero__bottom-program {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 481px;
  height: auto;
  margin: calc(var(--index-vh) * -11) auto 0;
  object-fit: contain;
}

.welcome-hero__child {
  position: absolute;
  z-index: 3;
  left: calc(var(--index-vw) * 1);
  bottom: calc(var(--index-vh) * 22);
  width: calc(var(--index-vw) * 24);
  min-width: 95px;
  max-width: 180px;
}

.welcome-hero__product {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 0;
  width: calc(var(--index-vw) * 72);
  min-width: 300px;
  max-width: 520px;
  transform: translateX(-50%);
}

.welcome-hero__mother {
  position: absolute;
  z-index: 3;
  right: calc(var(--index-vw) * -2);
  bottom: calc(var(--index-vh) * 5);
  width: calc(var(--index-vw) * 42);
  min-width: 165px;
  max-width: 300px;
}

.welcome-hero__actions {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(calc(100% - 36px), 360px);
  display: grid;
  gap: 10px;
  transform: translateX(-50%);
}

.welcome-hero__actions.animate-on-scroll {
  transform: translate(-50%, 24px);
}

.welcome-hero__actions.animate-on-scroll.is-visible {
  transform: translate(-50%, 0);
}

.welcome-hero__stats {
  display: grid;
  gap: 3px;
  padding: 10px 14px;
  border: 1px solid rgba(22, 33, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  text-align: center;
}

.welcome-hero__stats #participant-count {
  font-size: 30px;
  line-height: 1;
}

.welcome-hero__stats small {
  color: var(--muted);
}

.main-content {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff8dc;
}

.content-container {
  position: relative;
  width: 100%;
  max-width: 481px;
  margin: 0 auto;
  overflow: hidden;
}

.main-content__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.realtime-section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--index-vw) * 7) calc(var(--index-vw) * 4) calc(var(--index-vw) * 10);
  overflow: hidden;
  background: transparent;
  text-align: center;
}

.realtime-section__subtitle {
  width: 92%;
  max-width: 400px;
  margin: 0 auto;
}

.realtime-section__counter-wrap {
  position: relative;
  z-index: 2;
  width: calc(var(--index-vw) * 55);
  min-width: 220px;
  max-width: 264px;
  margin: 0 auto;
  aspect-ratio: 7 / 2;
  display: grid;
  place-items: center;
}

.realtime-section__lighting-wrap>img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.realtime-section__counter-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 250px;
}

.realtime-section__counter-number {
  position: absolute;
  z-index: 2;
  color: #e72d34;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  right: 13%;
  bottom: 3%;
}

.realtime-section__planet-ball {
  position: absolute;
  z-index: 3;
  right: -27%;
  top: 83%;
  width: 60%;
  min-width: 72px;
  max-width: 131px;
  height: auto;
  transform-origin: center;
  animation: realtime-wiggle 2.4s ease-in-out infinite;
}

.realtime-section__title {
  position: relative;
  z-index: 2;
  width: 94%;
  margin: calc(var(--index-vw) * 5) auto 0;
  color: #e3313b;
  font-size: clamp(18px, calc(var(--index-vw) * 5.3), 28px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-align: center;
}

.realtime-section__cards {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: calc(var(--index-vw) * 3);
  width: 100%;
  margin-top: calc(var(--index-vw) * 9);
}

.realtime-section__card {
  display: block;
  width: calc(var(--index-vw) * 24);
  min-width: 88px;
  max-width: 145px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(132, 92, 22, 0.18));
}

.realtime-section__card--left {
  margin-top: 0;
  transform: translateX(calc(var(--index-vw) * -1));
}

.realtime-section__card--center {
  margin-top: calc(var(--index-vw) * 8);
}

.realtime-section__card--right {
  margin-top: calc(var(--index-vw) * 2);
  transform: translateX(calc(var(--index-vw) * 1));
}

.realtime-section__mct-ball {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.realtime-section__mct-ball--left {
  left: calc(var(--index-vw) * 2);
  bottom: calc(var(--index-vw) * 2);
  width: calc(var(--index-vw) * 18);
  min-width: 70px;
  max-width: 145px;
}

.realtime-section__mct-ball--right {
  right: calc(var(--index-vw) * 3);
  top: calc(var(--index-vw) * 48);
  width: calc(var(--index-vw) * 14);
  min-width: 48px;
  max-width: 75px;
}

.price-section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--index-vw) * 7) calc(var(--index-vw) * 5) calc(var(--index-vw) * 12);
  overflow: hidden;
  background: transparent;
}

.price-section__heading {
  position: relative;
  z-index: 2;
  color: #e3313b;
  text-align: center;
}

.price-section__title {
  margin: 0;
  width: 100%;
  height: auto;
}

.price-section__subtitle {
  margin: calc(var(--index-vw) * 2) 0 0;
  font-size: clamp(15px, calc(var(--index-vw) * 4.5), 24px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.05em;
}

.price-section__ribbon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--index-vw) * 2);
  width: calc(100% + (var(--index-vw) * 10));
  margin: calc(var(--index-vw) * 5) 0 0 calc(var(--index-vw) * -5);
  padding: calc(var(--index-vw) * 2.2) calc(var(--index-vw) * 4);
  background: #ffe168;
  text-align: center;
}

.price-section__ribbon-text {
  margin: 0;
  color: #e3313b;
  font-size: clamp(8px, calc(var(--index-vw) * 2), 11px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.price-section__dot {
  flex: 0 0 auto;
  width: calc(var(--index-vw) * 1.1);
  min-width: 4px;
  max-width: 6px;
  height: calc(var(--index-vw) * 1.1);
  min-height: 4px;
  max-height: 6px;
  border-radius: 999px;
  background: #e3313b;
}

.price-section__badge {
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: -50px;
  width: calc(var(--index-vw) * 11);
  min-width: 36px;
  max-width: 54px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.price-section__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(var(--index-vw) * 5);
  width: 100%;
  margin-top: calc(var(--index-vw) * 7);
}

.price-section__column {
  display: flex;
  flex-direction: column;
  gap: calc(var(--index-vw) * 8);
}

.price-section__column--right {
  padding-top: calc(var(--index-vw) * 9);
}

.price-section__card {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(156, 111, 35, 0.12));
}

.special-prize-section {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(200px, 45%, 250px);
  overflow: visible;
}

.special-prize-section__bg {
  width: 100%;
  object-fit: contain;
  padding: 0;
  margin: 0 auto;
}

.special-prize-section__fry {
  position: absolute;
  z-index: 8;
  left: calc(var(--index-vw) * -0.4);
  top: calc(var(--index-vw) * -19.8);
  width: calc(var(--index-vw) * 36.4);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.special-prize-section__left-feature {
  position: absolute;
  z-index: 7;
  left: calc(var(--index-vw) * 4.2);
  top: calc(var(--index-vw) * 4.2);
  width: calc(var(--index-vw) * 5.4);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.special-prize-section__text {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 28px;
  width: clamp(210px, 50%, 280px);
  height: auto;
  transform: translateX(-50%);
}

.special-prize-section__mct-bubble {
  position: absolute;
  z-index: 5;
  right: 15px;
  top: 30px;
  width: clamp(42px, 13%, 51px);
  height: auto;
  pointer-events: none;
  user-select: none;
  animation: special-prize-float 2.6s ease-in-out infinite;
}

.join-section {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 800px;
  overflow: visible;
}

.join-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.join-section__child-fly {
  position: absolute;
  z-index: 12;
  right: -19%;
  top: -9%;
  width: clamp(125px, 50%, 300px);
  height: auto;
  pointer-events: none;
  user-select: none;

}

.join-section__mom {
  position: absolute;
  z-index: 3;
  left: -23%;
  top: 16%;
  width: clamp(105px, 50%, 330px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.join-section__reward {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(280px, 50%, 330px);
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.join-section__reward--10 {
  padding-top: 86px;
}

.join-section__reward--ugc {
  margin-top: 42px;
}

.join-section__button {
  position: relative;
  z-index: 4;
  display: block;
  width: clamp(215px, 58%, 285px);
  margin: 76px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: join-button-pulse 2.2s ease-in-out infinite;
}

.join-section__button-img {
  display: block;
  width: 100%;
  height: auto;
}

.join-section__hand {
  position: absolute;
  z-index: 5;
  right: -10%;
  bottom: -14%;
  width: clamp(46px, 22%, 70px);
  height: auto;
  pointer-events: none;
  user-select: none;
  animation: join-hand-tap 1.5s ease-in-out infinite;
}

.join-section__product {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: clamp(380px, 90%, 423px);
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: translateX(-50%);
}

#final-career {
  font-size: 20px;
  font-weight: 700;
}

.s5-text-share {
  max-width: 380px;
  margin: 0 auto;
  width: 90%;
}

@keyframes realtime-wiggle {

  0%,
  100% {
    transform: translateY(-50%) rotate(0deg) scale(1);
  }

  20% {
    transform: translateY(-50%) rotate(-5deg) scale(1.03);
  }

  40% {
    transform: translateY(-50%) rotate(5deg) scale(1.02);
  }

  60% {
    transform: translateY(-50%) rotate(-3deg) scale(1.01);
  }

  80% {
    transform: translateY(-50%) rotate(3deg) scale(1.02);
  }
}

@keyframes special-prize-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}

@keyframes join-button-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes join-hand-tap {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-4px, -4px) rotate(-4deg);
  }
}

@media (min-width: 760px) {

  .phone-shell,
  .app-shell {
    width: 430px;
  }

  .page-wrapper {
    width: 481px;
  }

  .welcome-hero__logo-box {
    width: 40%;
  }

  .welcome-hero__program-title {
    width: 78%;
  }

  .welcome-hero__bubble--left {
    width: 16%;
    left: 18px;
  }

  .welcome-hero__bubble--right {
    width: 15%;
    right: 18px;
  }

  .welcome-hero__main {
    max-width: 481px;
  }

  .welcome-hero__bottom-program {
    width: 100%;
  }

  .welcome-hero__child {
    width: 24%;
    left: 6px;
  }

  .welcome-hero__product {
    width: 72%;
  }

  .welcome-hero__mother {
    width: 42%;
    right: -8px;
  }

  .main-content {
    background: #f5fbef url("img/background.png") center top / cover no-repeat;
  }

  .content-container {
    max-width: 481px;
    background: transparent;
  }

  .realtime-section {
    padding: 34px 20px 48px;
  }

  .realtime-section__subtitle {
    font-size: 21px;
  }

  .realtime-section__counter-wrap {
    width: calc(var(--index-vw) * 55);
  }

  .realtime-section__counter-number {
    font-size: 40px;
    right: 20%;
    bottom: 10%;
  }

  .realtime-section__planet-ball {
    right: -36px;
    width: 112px;
  }

  .realtime-section__title {
    margin-top: 24px;
    font-size: 28px;
  }

  .realtime-section__cards {
    gap: calc(var(--index-vw) * 3);
    margin-top: calc(var(--index-vw) * 9);
  }

  .realtime-section__card {
    width: calc(var(--index-vw) * 24);
  }

  .realtime-section__card--left {
    margin-top: 0;
    transform: translateX(calc(var(--index-vw) * -1));
  }

  .realtime-section__card--center {
    margin-top: calc(var(--index-vw) * 8);
  }

  .realtime-section__card--right {
    margin-top: calc(var(--index-vw) * 2);
    transform: translateX(calc(var(--index-vw) * 1));
  }

  .realtime-section__mct-ball--left {
    left: calc(var(--index-vw) * 2);
    bottom: calc(var(--index-vw) * 2);
    width: calc(var(--index-vw) * 18);
  }

  .realtime-section__mct-ball--right {
    right: calc(var(--index-vw) * 3);
    top: calc(var(--index-vw) * 48);
    width: calc(var(--index-vw) * 14);
  }

  .price-section {
    padding: 34px 24px 58px;
  }

  .price-section__title {
    width: 100%;

  }

  .price-section__subtitle {
    margin-top: 10px;
    font-size: 24px;
  }

  .price-section__ribbon {
    width: calc(100% + 48px);
    margin: 24px 0 0 -24px;
    padding: 11px 20px;
    gap: 10px;
  }

  .price-section__ribbon-text {
    font-size: 11px;
  }

  .price-section__badge {
    right: 5%;
    top: 65%;
    width: 52px;
  }

  .price-section__grid {
    column-gap: 24px;
    margin-top: 34px;
  }

  .price-section__column {
    gap: 38px;
  }

  .price-section__column--right {
    padding-top: 44px;
  }

  .special-prize-section {
    min-height: clamp(300px, 35vw, 400px);
  }

  .special-prize-section__fry {
    left: calc(var(--index-vw) * -2.4);
    top: calc(var(--index-vw) * -17.8);
    width: calc(var(--index-vw) * 37.4);
  }

  .special-prize-section__left-feature {
    left: calc(var(--index-vw) * 4.2);
    top: calc(var(--index-vw) * 4.2);
    width: calc(var(--index-vw) * 5.4);
  }

  .special-prize-section__text {
    top: 38px;
    width: 265px;
  }

  .special-prize-section__mct-bubble {
    right: 24px;
    top: 34px;
    width: 62px;
  }

  .join-section {
    min-height: 800px;
  }

  .join-section__child-fly {
    right: -19%;
    top: -9%;
    width: clamp(125px, 50%, 300px);
  }

  .join-section__mom {
    left: -23%;
    top: 16%;
    width: clamp(105px, 50%, 330px);
  }

  .join-section__reward {
    width: clamp(280px, 50%, 330px);
  }

  .join-section__reward--10 {
    padding-top: 86px;
  }

  .join-section__reward--ugc {
    margin-top: 43px;
  }

  .join-section__button {
    width: clamp(215px, 58%, 285px);
    margin-top: 76px;
  }

  .join-section__hand {
    right: -10%;
    bottom: -14%;
    width: clamp(46px, 22%, 70px);
  }

  .join-section__product {
    bottom: 0;
    width: clamp(380px, 90%, 423px);
  }
}

@media screen and (max-width: 480px) {
  .step-upload__product {
    width: clamp(180px, 50vw, 220px);
  }
}