body.e8PhotoTryPage {
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 106, 0, 0.12), transparent 32%),
    radial-gradient(circle at 86% 24%, rgba(14, 165, 233, 0.1), transparent 34%),
    #fffaf4;
}

.e8PhotoTry .h001Ready__story h1 {
  max-width: 620px;
}

.e8PhotoTry .h001Ready__story p {
  max-width: 600px;
}

.e8PhotoTry .h001PhonePanel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.e8PhotoTry .h001UploadDrop {
  min-height: 278px;
}

.e8PhotoTry .h001CreateButton {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.e8PhotoTryError {
  background: #fff1f2;
  border: 1px solid rgba(225, 29, 72, 0.18);
  border-radius: 16px;
  color: #9f1239;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  padding: 14px 16px;
}

.e8PhotoTryError[hidden] {
  display: none;
}

.e8PhotoProcessing {
  margin-top: 32px;
}

.e8PhotoProcessing .h001Ready__grid {
  gap: 36px;
}

.e8PhotoProcessing .h001Ready__story {
  padding-top: 28px;
}

.e8PhotoProcessing .h001Ready__burst {
  display: none;
}

.e8PhotoProcessing__panel {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.e8PhotoProcessing__preview {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  object-fit: cover;
  width: 100%;
}

.e8PhotoProcessing__status {
  align-items: center;
  background: #fff7ed;
  border: 1px solid rgba(255, 106, 0, 0.22);
  border-radius: 18px;
  color: #111827;
  display: flex;
  gap: 14px;
  padding: 18px;
}

.e8PhotoProcessing__status span {
  animation: e8PhotoSpin 0.9s linear infinite;
  border: 4px solid rgba(255, 106, 0, 0.18);
  border-top-color: #ff5a1f;
  border-radius: 999px;
  flex: 0 0 34px;
  height: 34px;
  width: 34px;
}

.e8PhotoProcessing__status strong {
  font-size: 1rem;
  line-height: 1.25;
}

.e8PhotoResult {
  margin: 0 auto;
  max-width: 1240px;
  padding: 34px 28px 70px;
}

.e8PhotoResult__head {
  margin: 0 auto 28px;
  max-width: 720px;
  text-align: center;
}

.e8PhotoResult__head h1 {
  color: #111827;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  margin: 0;
}

.e8PhotoCompare {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.e8PhotoCompare article {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.e8PhotoCompare img {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.e8PhotoCompare h2 {
  color: #111827;
  font-family: "Segoe Print", "Bradley Hand ITC", cursive;
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  line-height: 1.1;
  margin: 0;
  padding: 20px 24px 24px;
}

.e8PhotoCompare article:nth-child(2) h2 {
  background: linear-gradient(96deg, #ff6a00 0%, #df0d72 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.e8PhotoResult__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.e8PhotoResult__actions .h001CreateButton {
  width: min(100%, 360px);
}

.e8PhotoResult__create {
  background: linear-gradient(96deg, #ff6a00 0%, #df0d72 90%);
}

@keyframes e8PhotoSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .e8PhotoTry .h001CreateTop {
    gap: 12px;
  }

  .e8PhotoTry .h001CreateBrand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .e8PhotoTry .h001CreateBrand .mktBrand__wordmark {
    max-width: min(190px, calc(100vw - 168px));
    width: clamp(150px, 44vw, 190px);
  }

  .e8PhotoTry .h001CreateBack {
    flex: 0 0 auto;
    font-size: 0.86rem;
  }

  .e8PhotoProcessing {
    margin-top: 22px;
  }

  .e8PhotoProcessing .h001Ready__grid {
    gap: 22px;
  }

  .e8PhotoProcessing .h001Ready__story {
    padding-top: 0;
  }

  .e8PhotoProcessing .h001Ready__story h1 {
    margin-bottom: 12px;
  }

  .e8PhotoResult {
    padding: 18px 14px 40px;
  }

  .e8PhotoCompare {
    grid-template-columns: 1fr;
  }

  .e8PhotoProcessing__panel {
    padding: 18px;
  }
}
