:root {
  color-scheme: light;
  --ink: #1f2430;
  --muted: #667085;
  --line: #e7e1da;
  --paper: #fffaf4;
  --panel: #ffffff;
  --pink: #e95479;
  --red: #c7344e;
  --green: #1d8f6f;
  --yellow: #f4b740;
  --shadow: 0 24px 70px rgba(76, 42, 32, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 15% 18%, rgba(244, 183, 64, 0.26), transparent 28rem),
    linear-gradient(135deg, #fff6ec 0%, #f8fbf4 52%, #fdf1f5 100%);
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.app-shell {
  width: min(980px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  place-items: center;
}

.hero,
.quiz,
.result {
  width: 100%;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(231, 225, 218, 0.9);
  box-shadow: var(--shadow);
  border-radius: 28px;
  overflow: hidden;
}

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1.08fr;
}

.hero-art {
  position: relative;
  min-height: 640px;
  background:
    linear-gradient(145deg, rgba(233, 84, 121, 0.92), rgba(199, 52, 78, 0.9)),
    linear-gradient(45deg, #e95479, #f4b740);
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.hero-art::after {
  content: "LOVE";
  position: absolute;
  left: 42px;
  bottom: 44px;
  color: rgba(255, 255, 255, 0.22);
  font-size: clamp(64px, 10vw, 128px);
  font-weight: 900;
  letter-spacing: 0;
}

.orbit {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 30px solid rgba(255, 255, 255, 0.16);
}

.orbit-a {
  right: -50px;
  top: 70px;
}

.orbit-b {
  left: -90px;
  bottom: 110px;
}

.heart-card {
  position: absolute;
  width: 132px;
  aspect-ratio: 0.72;
  display: grid;
  place-items: center;
  color: #b92842;
  background: #fffdf8;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(77, 17, 34, 0.26);
  font-weight: 800;
}

.heart-card::before {
  content: "♥";
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--red);
  font-size: 22px;
}

.card-a {
  top: 112px;
  left: 52px;
  transform: rotate(-12deg);
}

.card-b {
  top: 238px;
  right: 58px;
  color: var(--green);
  transform: rotate(11deg);
}

.card-c {
  left: 118px;
  bottom: 126px;
  transform: rotate(-2deg);
}

.hero-copy {
  padding: clamp(34px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.subtitle {
  margin-bottom: 22px;
  color: #3c4352;
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 700;
  line-height: 1.38;
}

.intro-text,
.result-one {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.result-declaration {
  position: relative;
  margin: 0 0 24px;
  padding: 18px 22px 18px 28px;
  color: #253044;
  background:
    linear-gradient(90deg, rgba(233, 84, 121, 0.13), rgba(244, 183, 64, 0.14)),
    #fffdf8;
  border: 2px solid rgba(233, 84, 121, 0.22);
  border-left: 8px solid var(--pink);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(76, 42, 32, 0.08);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.55;
}

.result-declaration::before {
  content: "一句话";
  display: inline-block;
  margin-right: 12px;
  padding: 5px 9px;
  color: #fff;
  vertical-align: middle;
  background: var(--pink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.primary-button,
.ghost-button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  align-self: flex-start;
  margin-top: 12px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(31, 36, 48, 0.22);
  font-weight: 800;
}

.ghost-button {
  color: var(--ink);
  background: #f4efe8;
  font-weight: 700;
}

.primary-button:hover,
.ghost-button:hover,
.option-button:hover {
  transform: translateY(-2px);
}

.quiz,
.result {
  padding: clamp(24px, 5vw, 52px);
}

.quiz-header,
.result-topline,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quiz h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
}

.progress-track {
  height: 10px;
  margin: 30px 0;
  overflow: hidden;
  background: #f1e8df;
  border-radius: 999px;
}

.progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--green));
  border-radius: inherit;
  transition: width 0.25s ease;
}

.options {
  display: grid;
  gap: 14px;
}

.option-button {
  width: 100%;
  min-height: 68px;
  padding: 18px 20px;
  color: var(--ink);
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(76, 42, 32, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.option-button strong {
  display: block;
  margin-bottom: 4px;
  color: var(--pink);
  font-size: 14px;
}

.score-badge {
  min-width: 86px;
  margin: 0;
  padding: 9px 14px;
  color: #fff;
  text-align: center;
  background: var(--red);
  border-radius: 999px;
  font-weight: 900;
}

.result h2 {
  margin: 8px 0 10px;
  color: var(--red);
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.persona-figure {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 1 / 1;
  margin: 8px auto 24px;
  overflow: hidden;
  border: 3px solid #d5d5d5;
  border-radius: 0;
  background:
    linear-gradient(#ededed 0 11px, #ffffff 11px),
    #ffffff;
  box-shadow: 0 10px 0 rgba(31, 36, 48, 0.08);
  --skin: #efd0b1;
  --hair: #5a5146;
  --shirt: #6aa36b;
  --accent: #75aa65;
  --mouth: #5c3a32;
}

.persona-card-kicker,
.persona-card-title,
.persona-card-code {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  margin: 0;
  text-align: center;
  letter-spacing: 0;
}

.persona-card-kicker {
  top: 12px;
  color: #9a9a9a;
  font-size: clamp(11px, 2vw, 13px);
  font-weight: 800;
}

.persona-card-title {
  top: 30px;
  color: #4a4a4a;
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.persona-card-code {
  top: 72px;
  color: var(--accent);
  font-size: clamp(18px, 3.5vw, 26px);
  font-weight: 900;
  line-height: 1;
}

.weird-person {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: min(72%, 210px);
  height: 185px;
  overflow: hidden;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 0 rgba(31, 36, 48, 0.14));
}

.weird-person svg,
.persona-img {
  display: block;
  width: 100%;
  height: 100%;
}

.persona-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}


.shape {
  position: absolute;
  display: block;
}

.face {
  left: 46px;
  top: 12px;
  width: 60px;
  height: 70px;
  background: var(--skin);
  clip-path: polygon(20% 5%, 72% 0, 96% 34%, 82% 90%, 34% 100%, 5% 64%);
  z-index: 3;
  filter: drop-shadow(0 3px 0 rgba(107, 75, 49, 0.16));
}

.face::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 44px;
  width: 9px;
  height: 6px;
  background: rgba(233, 84, 121, 0.24);
  border-radius: 50%;
  box-shadow: 32px 0 0 rgba(233, 84, 121, 0.2);
}

.face::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 42px;
  width: 8px;
  height: 16px;
  background: rgba(142, 92, 64, 0.18);
  clip-path: polygon(45% 0, 100% 72%, 0 100%);
}

.hair {
  left: 34px;
  top: 0;
  width: 88px;
  height: 62px;
  background: var(--hair);
  clip-path: polygon(0 30%, 26% 0, 70% 8%, 100% 36%, 86% 72%, 48% 58%, 14% 82%);
  z-index: 4;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.18));
}

.hair::after {
  content: "";
  position: absolute;
  left: 18%;
  top: 16%;
  width: 28%;
  height: 18%;
  background: rgba(255, 255, 255, 0.18);
  clip-path: polygon(0 40%, 100% 0, 70% 100%);
}

.eye {
  top: 38px;
  width: 9px;
  height: 12px;
  background: #5a5146;
  z-index: 5;
}

.eye.left {
  left: 65px;
  transform: skewX(-18deg);
}

.eye.right {
  left: 90px;
  transform: skewX(18deg);
}

.mouth {
  left: 72px;
  top: 61px;
  width: 25px;
  height: 7px;
  background: var(--mouth);
  clip-path: polygon(0 25%, 100% 0, 84% 100%, 12% 78%);
  z-index: 5;
}

.body {
  left: 43px;
  top: 76px;
  width: 70px;
  height: 54px;
  background: var(--shirt);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  z-index: 2;
  filter: drop-shadow(0 4px 0 rgba(31, 36, 48, 0.12));
}

.body::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 24px;
  height: 22px;
  background: rgba(255, 255, 255, 0.72);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.body::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 12px;
  width: 11px;
  height: 34px;
  background: rgba(255, 255, 255, 0.13);
  transform: skewX(-12deg);
}

.arm {
  top: 84px;
  width: 24px;
  height: 52px;
  background: var(--skin);
  z-index: 1;
  filter: drop-shadow(0 3px 0 rgba(107, 75, 49, 0.12));
}

.arm.left {
  left: 25px;
  clip-path: polygon(36% 0, 100% 8%, 72% 100%, 0 88%);
}

.arm.right {
  right: 22px;
  clip-path: polygon(0 8%, 64% 0, 100% 88%, 28% 100%);
}

.leg {
  top: 123px;
  width: 26px;
  height: 18px;
  background: #333;
  z-index: 1;
}

.leg.left {
  left: 52px;
}

.leg.right {
  right: 43px;
}

.prop {
  z-index: 6;
  filter: drop-shadow(0 4px 0 rgba(31, 36, 48, 0.12));
}

.persona-isolator {
  --skin: #ead4bc;
  --hair: #d1b882;
  --shirt: #a9b6b5;
  --accent: #77a06d;
}

.persona-isolator .weird-person {
  width: 138px;
}

.persona-isolator .face {
  left: 42px;
  width: 54px;
  clip-path: polygon(24% 8%, 76% 0, 94% 40%, 74% 92%, 34% 100%, 8% 62%);
}

.persona-isolator .hair {
  left: 24px;
  width: 96px;
  clip-path: polygon(4% 16%, 42% 0, 78% 10%, 100% 44%, 72% 88%, 30% 72%, 0 90%);
}

.persona-isolator .arm.left {
  left: 39px;
  top: 92px;
  width: 44px;
  height: 22px;
  background: #8fa0a0;
  transform: rotate(8deg);
}

.persona-isolator .arm.right {
  right: 33px;
  top: 92px;
  width: 44px;
  height: 22px;
  background: #8fa0a0;
  transform: rotate(-8deg);
}

.persona-isolator .prop.one {
  left: 31px;
  top: 17px;
  width: 100px;
  height: 108px;
  border: 4px solid rgba(117, 160, 109, 0.44);
  clip-path: polygon(50% 0, 100% 22%, 83% 84%, 50% 100%, 17% 84%, 0 22%);
}

.persona-passerby {
  --skin: #f0d0ab;
  --hair: #5b5144;
  --shirt: #69a970;
  --accent: #74aa64;
}

.persona-lazy {
  --skin: #efd0b1;
  --hair: #c4b083;
  --shirt: #98b57b;
  --accent: #77a06d;
}

.persona-lazy .weird-person {
  width: 170px;
  transform: translateX(-50%) rotate(8deg);
}

.persona-lazy .face {
  left: 54px;
  top: 18px;
  width: 70px;
  height: 58px;
  clip-path: polygon(8% 22%, 72% 0, 100% 34%, 78% 90%, 25% 100%, 0 64%);
}

.persona-lazy .hair {
  left: 42px;
  top: 8px;
  width: 96px;
  height: 46px;
  clip-path: polygon(0 45%, 18% 10%, 72% 0, 100% 38%, 76% 66%, 35% 58%, 6% 86%);
}

.persona-lazy .eye {
  height: 5px;
  top: 43px;
}

.persona-lazy .mouth {
  width: 30px;
  height: 6px;
  transform: rotate(-8deg);
}

.persona-lazy .body {
  clip-path: polygon(8% 10%, 92% 0, 100% 100%, 0 92%);
}

.persona-lazy .arm.left {
  left: 18px;
  top: 104px;
  width: 50px;
  height: 18px;
  background: var(--shirt);
  transform: rotate(-12deg);
}

.persona-lazy .arm.right {
  right: 16px;
  top: 105px;
  width: 50px;
  height: 18px;
  background: var(--shirt);
  transform: rotate(12deg);
}

.persona-lazy .prop.one {
  left: 8px;
  top: 28px;
  width: 48px;
  height: 24px;
  color: #77a06d;
  font-size: 22px;
  font-weight: 900;
}

.persona-lazy .prop.one::before {
  content: "Zzz";
}

.persona-passerby .weird-person {
  width: 158px;
  transform: translateX(-50%) rotate(-4deg);
}

.persona-passerby .face {
  left: 48px;
  top: 9px;
  width: 56px;
  height: 72px;
  clip-path: polygon(18% 0, 70% 7%, 100% 42%, 78% 96%, 30% 100%, 0 52%);
}

.persona-passerby .hair {
  left: 38px;
  top: -5px;
  width: 102px;
  height: 74px;
  clip-path: polygon(0 42%, 18% 0, 54% 20%, 88% 0, 100% 36%, 86% 100%, 66% 70%, 38% 100%, 14% 70%);
}

.persona-passerby .body {
  left: 38px;
  width: 76px;
  clip-path: polygon(8% 10%, 88% 0, 100% 100%, 20% 92%, 0 46%);
}

.persona-passerby .mouth {
  width: 32px;
  height: 18px;
  background: #5c3328;
  clip-path: polygon(0 0, 100% 8%, 82% 90%, 18% 100%);
}

.persona-passerby .prop.one,
.persona-passerby .prop.two {
  top: 82px;
  width: 28px;
  height: 42px;
  background: #f7f1e8;
  border: 2px solid #75aa65;
}

.persona-passerby .prop.one {
  left: 4px;
  transform: rotate(-18deg);
}

.persona-passerby .prop.two {
  right: 0;
  transform: rotate(16deg);
}

.persona-analyst {
  --skin: #efd1b7;
  --hair: #554b43;
  --shirt: #5d8fbf;
  --accent: #6da46a;
}

.persona-analyst .weird-person {
  width: 146px;
}

.persona-analyst .face {
  left: 43px;
  width: 58px;
  height: 68px;
  clip-path: polygon(12% 10%, 82% 2%, 98% 44%, 78% 96%, 28% 100%, 0 46%);
}

.persona-analyst .hair {
  left: 35px;
  top: 2px;
  width: 78px;
  height: 44px;
  clip-path: polygon(0 34%, 26% 4%, 78% 0, 100% 38%, 70% 66%, 24% 58%);
}

.persona-analyst .body {
  left: 37px;
  width: 74px;
  clip-path: polygon(22% 0, 78% 0, 92% 100%, 8% 100%);
}

.persona-analyst .eye {
  width: 16px;
  height: 10px;
  background: transparent;
  border: 3px solid #5a5146;
}

.persona-analyst .eye.left {
  left: 58px;
}

.persona-analyst .eye.right {
  left: 85px;
}

.persona-analyst .prop.one {
  right: 5px;
  top: 68px;
  width: 44px;
  height: 54px;
  background: #f7f1e8;
  border: 3px solid #5d8fbf;
  transform: rotate(7deg);
}

.persona-analyst .prop.one::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 15px;
  height: 5px;
  background: #75aa65;
  box-shadow: 0 12px 0 #5d8fbf, 0 24px 0 #75aa65;
}

.persona-nurturer {
  --skin: #f2cfae;
  --hair: #5a5146;
  --shirt: #d4a55f;
  --accent: #76aa65;
}

.persona-nurturer .weird-person {
  width: 166px;
}

.persona-nurturer .face {
  left: 53px;
  top: 10px;
  width: 58px;
  height: 68px;
  clip-path: polygon(20% 0, 78% 0, 100% 36%, 82% 88%, 50% 100%, 18% 88%, 0 36%);
}

.persona-nurturer .hair {
  left: 34px;
  top: -7px;
  width: 116px;
  height: 92px;
  clip-path: polygon(8% 34%, 32% 0, 74% 0, 96% 36%, 100% 100%, 74% 78%, 50% 94%, 26% 78%, 0 100%);
}

.persona-nurturer .body {
  left: 40px;
  top: 78px;
  width: 86px;
  height: 58px;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.persona-nurturer .arm.left {
  left: 33px;
  top: 98px;
  width: 42px;
  height: 22px;
  transform: rotate(-16deg);
}

.persona-nurturer .arm.right {
  right: 28px;
  top: 98px;
  width: 42px;
  height: 22px;
  transform: rotate(16deg);
}

.persona-detective {
  --skin: #eecbad;
  --hair: #5b5144;
  --shirt: #77a36f;
  --accent: #75aa65;
}

.persona-detective .weird-person {
  width: 160px;
}

.persona-detective .face {
  left: 50px;
  top: 14px;
  width: 58px;
  height: 64px;
  clip-path: polygon(10% 12%, 86% 0, 98% 50%, 72% 100%, 24% 92%, 0 45%);
}

.persona-detective .hair {
  left: 36px;
  top: -6px;
  width: 96px;
  height: 54px;
  clip-path: polygon(0 62%, 24% 8%, 76% 8%, 100% 62%, 76% 80%, 50% 100%, 24% 80%);
}

.persona-detective .body {
  left: 45px;
  width: 72px;
  clip-path: polygon(4% 20%, 96% 0, 82% 100%, 22% 100%);
}

.persona-detective .eye {
  height: 8px;
}

.persona-detective .mouth {
  width: 20px;
  height: 5px;
}

.persona-detective .prop.one {
  right: 0;
  top: 38px;
  width: 48px;
  height: 48px;
  border: 8px solid #75aa65;
  border-radius: 50%;
}

.persona-detective .prop.one::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -15px;
  width: 32px;
  height: 8px;
  background: #75aa65;
  transform: rotate(38deg);
}

.persona-detective .prop.two {
  left: 10px;
  top: 72px;
  width: 34px;
  height: 44px;
  background: #f7f1e8;
  border: 3px solid #75aa65;
  transform: rotate(-9deg);
}

.persona-nurturer .mouth {
  height: 14px;
  background: transparent;
  border-bottom: 5px solid #5c3328;
  border-radius: 0 0 999px 999px;
}

.persona-nurturer .prop.one {
  left: 59px;
  top: 88px;
  width: 45px;
  height: 40px;
  background: #e97888;
  transform: rotate(-8deg);
  clip-path: polygon(50% 100%, 7% 48%, 0 18%, 23% 0, 50% 19%, 77% 0, 100% 18%, 93% 48%);
}

.persona-overthinker {
  --skin: #eecbad;
  --hair: #5a4f6f;
  --shirt: #8a78b6;
  --accent: #72a967;
}

.persona-overthinker .weird-person {
  width: 162px;
}

.persona-overthinker .face {
  left: 51px;
  top: 15px;
  width: 56px;
  height: 64px;
  clip-path: polygon(15% 5%, 82% 0, 100% 44%, 76% 98%, 24% 100%, 0 50%);
}

.persona-overthinker .hair {
  left: 30px;
  top: -4px;
  width: 108px;
  height: 72px;
  clip-path: polygon(0 28%, 18% 0, 39% 18%, 61% 0, 86% 14%, 100% 52%, 82% 92%, 60% 70%, 38% 100%, 16% 72%);
}

.persona-overthinker .body {
  left: 42px;
  top: 78px;
  width: 82px;
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.persona-overthinker .eye.left {
  transform: rotate(18deg);
}

.persona-overthinker .eye.right {
  transform: rotate(-18deg);
}

.persona-overthinker .mouth {
  top: 64px;
  height: 12px;
  background: transparent;
  border-top: 5px solid #5c3328;
  border-radius: 999px 999px 0 0;
}

.persona-overthinker .prop.one,
.persona-overthinker .prop.two {
  width: 34px;
  height: 25px;
  border: 4px solid #75aa65;
  border-radius: 50%;
}

.persona-overthinker .prop.one {
  left: 8px;
  top: 20px;
}

.persona-overthinker .prop.two {
  right: 0;
  top: 16px;
}

.persona-nuclear {
  --skin: #efcaa9;
  --hair: #5a5146;
  --shirt: #d8b35e;
  --accent: #76aa65;
}

.persona-nuclear .weird-person {
  width: 172px;
  transform: translateX(-50%) scale(1.06);
}

.persona-nuclear .face {
  left: 58px;
  top: 10px;
  width: 62px;
  height: 70px;
  clip-path: polygon(10% 12%, 86% 0, 100% 42%, 76% 100%, 24% 94%, 0 44%);
}

.persona-nuclear .hair {
  left: 42px;
  top: -8px;
  width: 106px;
  height: 66px;
  clip-path: polygon(0 70%, 18% 0, 38% 28%, 54% 0, 72% 28%, 90% 0, 100% 70%, 72% 56%, 50% 84%, 28% 56%);
}

.persona-nuclear .body {
  left: 46px;
  width: 84px;
  height: 58px;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}

.persona-nuclear .mouth {
  width: 34px;
  height: 22px;
  background: #5c3328;
  clip-path: polygon(0 0, 100% 10%, 70% 100%, 16% 82%);
}

.persona-nuclear .prop.one {
  left: 5px;
  top: 7px;
  width: 140px;
  height: 110px;
  background: #78aa63;
  clip-path: polygon(50% 0, 59% 32%, 96% 14%, 72% 46%, 100% 62%, 64% 66%, 76% 100%, 50% 75%, 24% 100%, 36% 66%, 0 62%, 28% 46%, 4% 14%, 41% 32%);
  z-index: 0;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 20px;
}

.result-block {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.result-block.wide {
  grid-column: 1 / -1;
}

.result-block h3 {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 16px;
}

.result-block p,
.result-block li {
  color: #3f4653;
  line-height: 1.72;
}

.code-block strong {
  display: inline-block;
  margin-right: 8px;
  color: var(--green);
  font-size: 22px;
  letter-spacing: 0;
}

.result-block ul {
  padding-left: 18px;
  margin: 0;
}

.result-quote {
  position: relative;
  margin: 26px 0 22px;
  padding: 26px 28px 26px 74px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(244, 183, 64, 0.18), rgba(46, 155, 131, 0.1)),
    #fffdf8;
  border: 2px solid rgba(244, 183, 64, 0.5);
  border-left: 8px solid var(--yellow);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(76, 42, 32, 0.1);
}

.quote-mark {
  position: absolute;
  left: 22px;
  top: 8px;
  color: rgba(233, 84, 121, 0.4);
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
  font-weight: 900;
}

.result-quote blockquote {
  position: relative;
  margin: 0;
  color: #3f4653;
  font-size: clamp(20px, 3.6vw, 30px);
  font-weight: 800;
  line-height: 1.72;
}

.actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.copy-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 700;
}

.hidden {
  display: none;
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100% - 20px, 540px);
    padding: 10px 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .hero-art {
    min-height: 300px;
  }

  .heart-card {
    width: 104px;
    border-radius: 14px;
  }

  .card-a {
    top: 42px;
    left: 30px;
  }

  .card-b {
    top: 106px;
    right: 30px;
  }

  .card-c {
    left: 120px;
    bottom: 38px;
  }

  .quiz-header,
  .result-topline {
    align-items: flex-start;
  }

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

  .quiz,
  .result {
    border-radius: 18px;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }
}
