.di-page-hero--wish {
  position: relative;
  overflow: hidden;
  background: var(--di-wish-hero) center/cover no-repeat;
}

.di-page-hero--wish::before {
  content: none;
  display: none;
}

.di-page-hero--wish::after {
  content: none;
  display: none;
}

.di-page-hero--wish .di-page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 64px));
}

.di-page-hero--wish .di-page-hero__title,
.di-page-hero--wish .di-page-hero__subtitle {
  color: #44382f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .34);
}

.di-page-hero--wish .di-page-hero__title {
  display: inline;
  padding: .03em .16em .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 7px;
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 14px 34px rgba(80, 56, 38, .10), inset 0 1px 0 rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  backdrop-filter: blur(22px) saturate(1.18);
}

.di-page-hero--wish .di-page-hero__subtitle {
  max-width: 760px;
  margin-top: 28px;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .2);
  color: #4f463d;
  box-shadow: 0 14px 34px rgba(80, 56, 38, .10), inset 0 1px 0 rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  backdrop-filter: blur(22px) saturate(1.18);
}

.di-wish-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #7a3f2a;
  font-size: .88rem;
  font-weight: 600;
}

.di-wish-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(244, 143, 103, .16), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(108, 173, 139, .18), transparent 32%),
    linear-gradient(180deg, #fff5e6 0%, #fffaf1 48%, #f8fff8 100%);
}

.di-wish-app {
  max-width: 1120px;
  margin: 0 auto;
}

.di-wish-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 22px;
  align-items: stretch;
}

.di-wish-card,
.di-wish-side {
  border-radius: 8px;
  border: 1px solid rgba(155, 94, 53, .16);
  background:
    linear-gradient(180deg, rgba(255,253,248,.96), rgba(255,248,236,.9)),
    #fffaf1;
  box-shadow: 0 24px 58px rgba(115, 75, 42, .14);
}

.di-wish-card {
  padding: clamp(24px, 4vw, 44px);
}

.di-wish-side {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,253,248,.94), rgba(255,238,214,.88)),
    radial-gradient(circle at 18% 12%, rgba(244,143,103,.2), transparent 42%);
  overflow: hidden;
}

.di-wish-side__image {
  margin: -8px -8px 18px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(155, 94, 53, .12);
  aspect-ratio: 4 / 3;
  background: #f7dfc2;
}

.di-wish-side__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.di-wish-card h2,
.di-wish-side h3 {
  margin: 0 0 14px;
  color: #6f3f2c;
}

.di-wish-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.di-wish-side h3 {
  font-size: 1.35rem;
}

.di-wish-card p,
.di-wish-side p {
  color: #6b5b4b;
  font-size: 1.04rem;
  line-height: 1.66;
}

.di-wish-card--intro .di-btn {
  margin-top: 12px;
}

.di-wish-card--intro {
  position: relative;
  overflow: hidden;
}

.di-wish-card--intro::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(244, 143, 103, .28);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  pointer-events: none;
}

.di-wish-privacy {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(27, 58, 75, .12);
  font-size: .94rem !important;
}

.di-wish-progress {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
  color: #9a7355;
  font-size: .94rem;
  font-weight: 600;
}

.di-wish-progress__bar {
  flex: 1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1dfcc;
}

.di-wish-progress__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f28b64, #e7bc6e, #6cad8b);
  transition: width .25s ease;
}

.di-wish-card--question {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
}

.di-wish-question-media {
  position: sticky;
  top: 92px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(155, 94, 53, .18);
  background: #f8e2c8;
  box-shadow: 0 18px 38px rgba(115, 75, 42, .13);
}

.di-wish-question-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,246,232,.2));
  pointer-events: none;
}

.di-wish-question-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.di-wish-lead {
  max-width: 820px;
  margin-bottom: 24px;
}

.di-wish-label {
  display: block;
  margin-bottom: 10px;
  color: #6f3f2c;
  font-size: 1.08rem;
  font-weight: 700;
}

.di-wish-input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(155, 94, 53, .24);
  border-radius: 8px;
  background: #fff;
  color: #6f3f2c;
  font: inherit;
  font-size: 1.08rem;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.di-wish-input:focus {
  border-color: #e78b5d;
  box-shadow: 0 0 0 4px rgba(231, 139, 93, .18);
}

.di-wish-error {
  margin: 8px 0 0;
  color: #b42318 !important;
  font-size: .94rem !important;
}

.di-wish-options-title {
  margin: 24px 0 10px;
  color: #9a7355 !important;
  font-size: .94rem !important;
}

.di-wish-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.di-wish-option {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(155, 94, 53, .18);
  border-radius: 999px;
  background: #fff3e0;
  color: #70422d;
  cursor: pointer;
  font: inherit;
  font-size: .95rem;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.di-wish-option:hover,
.di-wish-option:focus {
  border-color: rgba(108, 173, 139, .58);
  background: #f0f8e9;
  transform: translateY(-1px);
}

.di-wish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.di-wish-actions .di-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.di-wish-card--generating {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(244,143,103,.18), transparent 42%),
    linear-gradient(180deg, #fffdf8, #fff0d9);
}

.di-wish-lines {
  width: min(420px, 82vw);
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.di-wish-lines span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244,143,103,.2), rgba(231,188,110,.42), rgba(108,173,139,.26));
  animation: diWishLine 1.2s ease-in-out infinite alternate;
}

.di-wish-lines span:nth-child(2) { width: 86%; animation-delay: .08s; }
.di-wish-lines span:nth-child(3) { width: 94%; animation-delay: .16s; }
.di-wish-lines span:nth-child(4) { width: 72%; animation-delay: .24s; }
.di-wish-lines span:nth-child(5) { width: 88%; animation-delay: .32s; }

@keyframes diWishLine {
  from { opacity: .42; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(8px); }
}

.di-wish-card--result {
  animation: diWishAppear .38s ease both;
  background:
    radial-gradient(circle at 8% 8%, rgba(244,143,103,.14), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(108,173,139,.16), transparent 28%),
    linear-gradient(180deg, rgba(255,253,248,.96), rgba(255,246,232,.92));
}

@keyframes diWishAppear {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.di-wish-postcard {
  margin-top: 22px;
  padding: clamp(18px, 3.6vw, 46px);
  border: 1px solid rgba(155, 94, 53, .14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,253,248,.72), rgba(255,246,232,.64)),
    var(--di-wish-postcard) center/cover no-repeat,
    #fff4e5;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.28), 0 18px 44px rgba(115, 75, 42, .12);
}

.di-wish-story {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 54px);
  border-radius: 8px;
  background: rgba(255, 253, 248, .86);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(115, 75, 42, .10);
}

.di-wish-story p {
  margin: 0 0 1.15em;
  color: #584333;
  font-size: clamp(1.04rem, 1.7vw, 1.2rem);
  line-height: 1.72;
}

.di-wish-story p:last-child {
  margin-bottom: 0;
}

.di-wish-actions--result {
  margin-top: 24px;
}

.di-wish-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: #6cad8b !important;
  font-size: .96rem !important;
  font-weight: 600;
}

.di-wish-copy-field {
  position: fixed;
  left: -9999px;
  top: 0;
}

@media (max-width: 900px) {
  .di-wish-layout {
    grid-template-columns: 1fr;
  }

  .di-page-hero--wish {
    background: var(--di-wish-hero) center/cover no-repeat;
  }

  .di-wish-card--question {
    grid-template-columns: 1fr;
  }

  .di-wish-question-media {
    position: relative;
    top: auto;
  }

  .di-wish-question-media img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .di-wish-card,
  .di-wish-side {
    padding: 20px;
  }

  .di-wish-card h2 {
    font-size: 1.72rem;
  }

  .di-wish-progress {
    align-items: flex-start;
    flex-direction: column;
  }

  .di-wish-progress__bar {
    width: 100%;
  }

  .di-wish-actions .di-btn {
    width: 100%;
    justify-content: center;
  }
}
