.vsv-bleed {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-x: clip;
}

.vsv-app {
  --vsv-cream: #fff8ef;
  --vsv-peach: #fde7d7;
  --vsv-peach-deep: #f5c9b6;
  --vsv-card: rgba(255, 248, 239, 0.86);
  --vsv-card-solid: #fff6ec;
  --vsv-text: #362823;
  --vsv-muted: #705c54;
  --vsv-garnet: #8d151b;
  --vsv-garnet-deep: #6f1017;
  --vsv-gold: #c99b59;
  --vsv-border: rgba(123, 43, 35, 0.17);
  min-height: 100svh;
  color: var(--vsv-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.vsv-app,
.vsv-app * {
  box-sizing: border-box;
}

.vsv-app button,
.vsv-app input {
  font: inherit;
}

.vsv-shell {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.vsv-shell--start {
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(255, 255, 255, 0.7), transparent 64%),
    radial-gradient(70% 55% at 95% 25%, rgba(246, 202, 183, 0.55), transparent 70%),
    linear-gradient(180deg, #fff9f2 0%, #fae3d3 100%);
}

.vsv-shell--quiz {
  background:
    radial-gradient(75% 80% at 0% 8%, rgba(255, 255, 255, 0.68), transparent 64%),
    radial-gradient(65% 75% at 100% 20%, rgba(244, 195, 172, 0.42), transparent 68%),
    radial-gradient(70% 70% at 90% 90%, rgba(205, 151, 90, 0.16), transparent 70%),
    linear-gradient(180deg, #fff6ec 0%, #fee4d2 58%, #fff2e9 100%);
}

.vsv-shell--quiz::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("value-map-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.1;
  pointer-events: none;
}

.vsv-shell--quiz::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(112deg, transparent 8%, rgba(255, 255, 255, 0.34) 36%, transparent 62%),
    radial-gradient(55% 45% at 50% 0%, rgba(255, 255, 255, 0.42), transparent 70%);
  content: "";
  pointer-events: none;
}

.vsv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 470px;
  min-height: 100svh;
  padding: 24px 18px 34px;
}

.vsv-inner--start {
  align-items: center;
  justify-content: center;
  max-width: 530px;
  padding: 18px 16px 24px;
}

.vsv-display {
  margin: 0;
  color: var(--vsv-garnet-deep);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.vsv-brand {
  margin-bottom: 18px;
  text-align: center;
}

.vsv-brand__line {
  width: 48px;
  height: 1px;
  margin: 0 auto 10px;
  background: linear-gradient(90deg, transparent, rgba(201, 155, 89, 0.9), transparent);
}

.vsv-brand__name {
  color: var(--vsv-garnet);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.vsv-cover {
  width: 100%;
  text-align: center;
}

.vsv-cover__image {
  display: block;
  width: 100%;
  max-height: calc(100svh - 118px);
  object-fit: contain;
  filter: drop-shadow(0 26px 48px rgba(96, 42, 35, 0.18));
}

.vsv-cover__actions {
  margin-top: 16px;
}

.vsv-panel {
  width: 100%;
  padding: 26px 24px 28px;
  border: 1px solid rgba(123, 43, 35, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 244, 235, 0.76)),
    var(--vsv-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 70px rgba(118, 50, 38, 0.17),
    0 0 42px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px) saturate(1.12);
}

.vsv-panel--contact,
.vsv-panel--result {
  margin-top: 8px;
}

.vsv-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.vsv-back {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--vsv-muted);
  cursor: pointer;
  font-size: 14px;
}

.vsv-back:hover,
.vsv-back:focus-visible {
  color: var(--vsv-garnet);
}

.vsv-back--alone {
  margin-bottom: 24px;
}

.vsv-counter {
  color: var(--vsv-muted);
  font-size: 14px;
}

.vsv-progress {
  width: 100%;
  height: 4px;
  margin-bottom: 26px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(116, 61, 48, 0.14);
}

.vsv-progress__fill {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vsv-garnet), #b34f45);
  box-shadow: 0 0 14px rgba(141, 21, 27, 0.22);
  transition: width 400ms ease;
}

.vsv-question {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
}

.vsv-small-line {
  width: 46px;
  height: 1px;
  margin: 14px 0 22px;
  background: linear-gradient(90deg, var(--vsv-gold), transparent);
}

.vsv-small-line--center {
  margin-right: auto;
  margin-left: auto;
  background: var(--vsv-gold);
}

.vsv-answers {
  display: grid;
  gap: 12px;
}

.vsv-answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 15px 17px;
  border: 1px solid rgba(123, 43, 35, 0.13);
  border-radius: 18px;
  background: rgba(255, 251, 246, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 10px 26px rgba(116, 61, 48, 0.06);
  color: var(--vsv-text);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.vsv-answer:hover {
  border-color: rgba(141, 21, 27, 0.32);
  background: rgba(255, 255, 255, 0.9);
}

.vsv-answer.is-selected {
  border-color: rgba(141, 21, 27, 0.78);
  background: rgba(255, 244, 235, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 28px rgba(141, 21, 27, 0.1);
}

.vsv-radio {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid rgba(157, 99, 82, 0.34);
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.78);
}

.vsv-radio::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--vsv-gold);
  content: "";
  opacity: 0;
  transform: scale(0.45);
  transition: opacity 150ms ease, transform 150ms ease;
}

.vsv-answer.is-selected .vsv-radio {
  border-color: var(--vsv-gold);
}

.vsv-answer.is-selected .vsv-radio::after {
  opacity: 1;
  transform: scale(1);
}

.vsv-answer__text {
  flex: 1 1 auto;
  min-width: 0;
}

.vsv-hint {
  margin: 16px 0 0;
  color: var(--vsv-muted);
  font-size: 13px;
  text-align: center;
}

.vsv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 22px;
  border: 1px solid rgba(132, 21, 27, 0.82);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, #9d1c22 0%, #821118 100%);
  box-shadow: 0 18px 38px rgba(119, 20, 25, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: #fffaf5;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: filter 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.vsv-button:hover:not(:disabled) {
  filter: brightness(1.04);
  box-shadow: 0 22px 44px rgba(119, 20, 25, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.vsv-button:active:not(:disabled) {
  transform: scale(0.985);
}

.vsv-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.vsv-next {
  margin-top: 26px;
}

.vsv-button--cover {
  max-width: 420px;
}

.vsv-time,
.vsv-privacy {
  color: var(--vsv-muted);
  font-size: 12px;
}

.vsv-time {
  margin: 10px 0 0;
}

.vsv-kicker,
.vsv-result-kicker {
  margin: 0 0 14px;
  color: var(--vsv-garnet);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.vsv-contact-title {
  font-size: 34px;
  line-height: 1.1;
  text-align: center;
}

.vsv-copy {
  margin: 16px auto 24px;
  max-width: 380px;
  color: var(--vsv-muted);
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}

.vsv-form {
  display: grid;
  gap: 12px;
}

.vsv-input {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(123, 43, 35, 0.18);
  border-radius: 15px;
  outline: none;
  background: rgba(255, 253, 250, 0.86);
  color: var(--vsv-text);
  font-size: 15px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.vsv-input:focus {
  border-color: rgba(141, 21, 27, 0.58);
  background: #fffdf9;
  box-shadow: 0 0 20px rgba(141, 21, 27, 0.08);
}

.vsv-input::placeholder {
  color: rgba(112, 92, 84, 0.6);
}

.vsv-error {
  min-height: 20px;
  margin: 0;
  color: var(--vsv-garnet);
  font-size: 13px;
}

.vsv-error--visible {
  margin: 18px 0 0;
}

.vsv-privacy {
  margin: 16px 4px 0;
  line-height: 1.55;
  text-align: center;
}

.vsv-result-title {
  text-align: center;
  font-size: 36px;
  line-height: 1.08;
}

.vsv-result-card {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(123, 43, 35, 0.13);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.7);
}

.vsv-result-heading {
  margin-bottom: 20px;
  font-size: 28px;
  line-height: 1.14;
}

.vsv-result-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(123, 43, 35, 0.12);
}

.vsv-result-section:first-of-type {
  border-top: 0;
}

.vsv-result-section h3 {
  margin: 0 0 9px;
  color: var(--vsv-garnet);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.vsv-result-section p {
  margin: 0 0 12px;
  color: var(--vsv-text);
  font-size: 15.5px;
  line-height: 1.7;
}

.vsv-telegram-button {
  margin-top: 24px;
}

.vsv-restart {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--vsv-muted);
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vsv-fade {
  animation: vsv-fade-in 420ms ease;
}

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

.vsv-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.vsv-app :focus-visible {
  outline: 2px solid rgba(141, 21, 27, 0.72);
  outline-offset: 3px;
}

@keyframes vsv-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .vsv-inner {
    padding: 4px 14px 18px;
  }

  .vsv-inner--start {
    padding: 0 0 18px;
  }

  .vsv-cover__image {
    max-height: calc(100svh - 108px);
  }

  .vsv-cover__actions {
    padding: 0 14px;
  }

  .vsv-brand {
    margin-top: 12px;
    margin-bottom: 10px;
  }

  .vsv-panel {
    padding: 20px 18px 22px;
    border-radius: 22px;
  }

  .vsv-topline {
    margin-bottom: 10px;
  }

  .vsv-progress {
    margin-bottom: 18px;
  }

  .vsv-question {
    font-size: 24px;
  }

  .vsv-small-line {
    margin: 10px 0 16px;
  }

  .vsv-answers {
    gap: 9px;
  }

  .vsv-answer {
    min-height: 0;
    padding: 11px 14px;
    font-size: 13.7px;
    line-height: 1.3;
  }

  .vsv-hint {
    margin-top: 12px;
  }

  .vsv-next {
    margin-top: 16px;
  }

  .vsv-contact-title,
  .vsv-result-title {
    font-size: 31px;
  }

  .vsv-result-heading {
    font-size: 25px;
  }

  .vsv-result-card {
    padding: 20px 16px;
  }
}

@media (max-height: 700px) {
  .vsv-cover__image {
    max-height: calc(100svh - 96px);
  }

  .vsv-button {
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vsv-fade,
  .vsv-app * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
