.qzv-shell {
  min-height: 100vh;
  padding: 24px;
  position: relative;
}

.qzv-launchbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.qzv-overlay {
  position: fixed;
  inset: 0;
  color: #1a1c1d;
  width: 100vw;
  height: 100vh;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 249, 251, 0.72);
  backdrop-filter: blur(14px);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  will-change: transform, opacity;
  z-index: 9999999999;
}

.qzv-overlay::-webkit-scrollbar {
  display: none;
}

.qzv-frame {
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
}

.qzv-leftrail,
.qzv-rightrail {
  min-width: 0;
}

.qzv-leftrail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 4px;
}

.qzv-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(227, 189, 195, 0.35);
  box-shadow: 0 24px 48px rgba(104, 24, 138, 0.08);
}

.qzv-badge img {
  display: block;
  width: 88px;
  height: auto;
}

.qzv-story {
  margin-top: 28px;
  max-width: 560px;
}

.qzv-greeting {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.07em;
  font-size: clamp(4rem, 11vw, 8rem);
  line-height: 0.92;
  color: #b0004a;
  background: linear-gradient(135deg, #b0004a 0%, #e91e8c 40%, #d81b60 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(176, 0, 74, 0.16);
}

.qzv-copy {
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  line-height: 1.7;
  color: #5a4044;
  max-width: 38rem;
}

.qzv-rightrail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.qzv-glass {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(40px);
  border: 1px solid rgba(227, 189, 195, 0.32);
  box-shadow: 0 24px 48px rgba(104, 24, 138, 0.08);
  border-radius: 40px;
  padding: 32px;
  position: relative;
}

.qzv-formgrid {
  display: grid;
  gap: 22px;
}

.qzv-field {
  display: grid;
  gap: 8px;
}

.qzv-fieldlabel {
  margin-left: 4px;
  color: rgba(26, 28, 29, 0.6);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.qzv-input,
.qzv-textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #f3f3f5;
  border-radius: 22px;
  padding: 18px 20px;
  font: 500 16px/1.5 "Manrope", sans-serif;
  color: #1a1c1d;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.qzv-textarea {
  resize: none;
  min-height: 120px;
}

.qzv-input::placeholder,
.qzv-textarea::placeholder {
  color: rgba(90, 64, 68, 0.38);
}

.qzv-input:focus,
.qzv-textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(176, 0, 74, 0.12);
  transform: translateY(-1px);
}

.qzv-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 28px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #b0004a 0%, #d81b60 100%);
  color: #fff;
  font: 800 13px/1 "Manrope", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 18px 32px rgba(176, 0, 74, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qzv-submit:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 22px 36px rgba(176, 0, 74, 0.26);
}

.qzv-submit:active {
  transform: translateY(1px) scale(0.99);
}

.qzv-contactstack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 8px 0;
}

.qzv-contactline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5a4044;
  font-weight: 600;
  flex-wrap: wrap;
}

.qzv-icon {
  font-size: 22px;
  color: #b0004a;
  line-height: 1;
}

.qzv-dismiss {
  position: fixed;
  top: 18px;
  right: 2%;
  z-index: 60;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1c1d;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  visibility: hidden;
  pointer-events: none;
}

.qzv-dismiss .qzv-icon {
  color: #1a1c1d;
  font-size: 18px;
}

@media (max-width: 980px) {
  .qzv-shell {
    padding: 18px;
  }

  .qzv-overlay {
    padding: 18px;
  }

  .qzv-frame {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100vh - 36px);
  }

  .qzv-leftrail {
    padding-bottom: 0;
  }

  .qzv-story {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .qzv-badge {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  .qzv-badge img {
    width: 72px;
  }

  .qzv-glass {
    padding: 22px;
    border-radius: 28px;
  }

  .qzv-greeting {
    font-size: clamp(3.4rem, 18vw, 5.5rem);
  }

  .qzv-copy {
    font-size: 1rem;
  }

  .qzv-input,
  .qzv-textarea {
    padding: 16px 18px;
  }

  .qzv-dismiss {
    top: 12px;
    right: 12px;
  }
}