:root {
  --cream: #fffaf2;
  --blush: #f9dce3;
  --rose: #c9687d;
  --rose-dark: #9d4058;
  --green: #536f4d;
  --green-soft: #dfe9d9;
  --ink: #3b2f34;
  --white: rgba(255, 255, 255, 0.88);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #cdeef4 0%, #edf8dc 53%, #8fbd68 100%);
  overflow-x: hidden;
}

body.lovegpt-active {
  background: linear-gradient(145deg, #321d34, #724661 52%, #d7a5ae);
  overflow: hidden;
}

body.lovegpt-active .garden-scenery,
body.lovegpt-active .petals,
body.lovegpt-active .flower-border {
  opacity: 0.12;
  filter: saturate(0.45);
  transition: opacity 400ms ease;
}

body.lovegpt-active .page-shell {
  width: 100%;
  height: 100svh;
  min-height: 0;
  padding: 34px 18px;
  overflow: hidden;
}

.garden-scenery {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sun {
  position: absolute;
  top: 7vh;
  right: 10vw;
  width: clamp(74px, 10vw, 130px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe7a0;
  box-shadow: 0 0 0 18px rgba(255, 231, 160, 0.22), 0 0 70px rgba(255, 214, 117, 0.7);
}

.cloud {
  position: absolute;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(5rem, 12vw, 10rem);
  filter: blur(0.3px);
}

.cloud-one { top: 5vh; left: 8vw; }
.cloud-two { top: 22vh; right: 20vw; transform: scale(0.65); opacity: 0.7; }

.distant-hill {
  position: absolute;
  bottom: 17vh;
  width: 70vw;
  height: 32vh;
  border-radius: 50% 50% 0 0;
  background: rgba(113, 164, 93, 0.5);
}

.hill-one { left: -18vw; transform: rotate(5deg); }
.hill-two { right: -22vw; bottom: 13vh; background: rgba(83, 142, 76, 0.46); }

.butterfly {
  position: absolute;
  z-index: 2;
  font-size: 2rem;
  animation: flutter 6s ease-in-out infinite;
}

.butterfly-one { top: 24%; left: 13%; }
.butterfly-two { top: 36%; right: 12%; animation-delay: -3s; }

.garden-bed {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -8px;
  display: flex;
  justify-content: space-around;
  align-items: end;
  white-space: nowrap;
  filter: drop-shadow(0 8px 5px rgba(44, 89, 44, 0.25));
}

.garden-bed span {
  display: inline-block;
  transform-origin: bottom center;
  animation: sway 4s ease-in-out infinite alternate;
}

.garden-bed span:nth-child(2n) { animation-delay: -2s; }
.garden-bed span:nth-child(3n) { animation-delay: -1s; }
.garden-bed-back { bottom: 7vh; font-size: clamp(2.8rem, 6vw, 5.5rem); opacity: 0.82; }
.garden-bed-front { font-size: clamp(4.2rem, 8vw, 7.5rem); }

.garden-bed::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -2%;
  right: -2%;
  bottom: -28px;
  height: 85px;
  background: linear-gradient(#5e9c52, #3f793e);
  border-radius: 50% 50% 0 0;
}

.flower-border {
  position: fixed;
  bottom: -8px;
  z-index: 1;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.55;
  opacity: 0.9;
  filter: drop-shadow(0 8px 8px rgba(83, 111, 77, 0.16));
  pointer-events: none;
}

.flower-border-left { left: 1.5vw; transform: rotate(-5deg); }
.flower-border-right { right: 1.5vw; transform: rotate(5deg); }

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 18px 150px;
  position: relative;
  z-index: 2;
}

.card {
  width: min(100%, 620px);
  padding: 42px 34px;
  border: 1px solid rgba(201, 104, 125, 0.2);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 24px 70px rgba(117, 72, 83, 0.18);
  backdrop-filter: blur(14px);
  text-align: center;
}

.card::before,
.card::after {
  content: "❀";
  position: absolute;
  color: rgba(201, 104, 125, 0.3);
  font-size: 2.2rem;
}

.card { position: relative; }
.card::before { top: 18px; left: 22px; }
.card::after { right: 22px; bottom: 18px; }

.flower-crown,
.garden-garland {
  color: var(--green);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.memory-photo {
  position: relative;
  margin: 12px 0 20px;
  padding: 7px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f5b9c7, #fff4d3 48%, #b9d3a9);
  box-shadow: 0 14px 32px rgba(92, 69, 72, 0.2);
}

.memory-photo::before,
.memory-photo::after {
  position: absolute;
  z-index: 1;
  font-size: 2rem;
  filter: drop-shadow(0 3px 4px rgba(65, 95, 55, 0.25));
}

.memory-photo::before {
  content: "🌸";
  top: -15px;
  left: -10px;
  transform: rotate(-15deg);
}

.memory-photo::after {
  content: "🌼";
  right: -10px;
  bottom: -14px;
  transform: rotate(13deg);
}

.memory-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 18px;
  object-fit: cover;
  object-position: center 48%;
}

.memory-photo-second {
  margin: 14px 0 22px;
}

.memory-photo-second img {
  aspect-ratio: 4 / 3;
  object-position: center 42%;
}

.flower-mark {
  font-size: 3.2rem;
  margin-bottom: 8px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 0.95;
  color: var(--rose-dark);
}

.subtitle,
.love-note {
  margin: 0 auto 26px;
  max-width: 420px;
  line-height: 1.7;
  color: #66545b;
}

.form-stack {
  display: grid;
  gap: 12px;
  text-align: left;
}

.combination-panel {
  padding: 16px;
  margin-bottom: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(223, 233, 217, 0.65), rgba(249, 220, 227, 0.65));
}

.combination-label {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.combination-slots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.combination-slot,
.letter-card {
  display: grid;
  place-items: center;
  padding: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

.combination-slot {
  width: 58px;
  height: 66px;
  border: 2px dashed rgba(83, 111, 77, 0.3);
  background: rgba(255, 255, 255, 0.7);
  color: var(--rose-dark);
  font-size: 2rem;
  box-shadow: none;
}

.combination-slot:disabled {
  cursor: default;
  opacity: 1;
  color: rgba(83, 111, 77, 0.28);
}

.card-pile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 22px;
  max-width: 540px;
}

.letter-card {
  width: 58px;
  height: 68px;
  border: 1px solid rgba(157, 64, 88, 0.2);
  border-radius: 13px;
  background: #fffdf8;
  color: var(--rose-dark);
  font-size: 2rem;
  box-shadow: 0 8px 18px rgba(117, 72, 83, 0.14);
}

.letter-card:nth-child(3n + 1) { transform: rotate(-4deg); }
.letter-card:nth-child(3n + 2) { transform: rotate(3deg); }
.letter-card:hover { transform: translateY(-5px) rotate(0); }
.letter-card:disabled { opacity: 0.25; transform: scale(0.92); cursor: default; }

.puzzle-actions {
  display: grid;
  grid-template-columns: 0.7fr 1.6fr;
  gap: 12px;
}

.puzzle-actions .secondary-button { margin: 0; }

.puzzle-hint {
  margin: 8px 0 0;
  color: #8a737b;
  font-size: 0.78rem;
}

.bloom-message {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(201, 104, 125, 0.25);
  border-radius: 16px;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.6);
}

#startOrderingButton {
  width: 100%;
  margin-top: 12px;
}

#startEqualityButton {
  width: 100%;
  margin-top: 12px;
}

.next-task-card {
  max-width: 560px;
  border: 1px solid rgba(83, 111, 77, 0.2);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 16px 36px rgba(72, 87, 63, 0.12);
}

.next-task-card::before,
.next-task-card::after {
  content: none;
}

.next-task-available {
  padding: 18px;
  border: 1px solid rgba(83, 111, 77, 0.24);
  border-radius: 12px;
  background: rgba(223, 233, 217, 0.55);
  color: var(--green);
  font-weight: 800;
}

#continueToAugustButton {
  width: min(100%, 320px);
  margin-top: 24px;
}

#startLoveGptButton {
  width: 100%;
  margin-top: 18px;
}

.lovegpt-shell {
  position: relative;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  width: min(calc(100vw - 36px), 1180px);
  height: min(820px, calc(100svh - 68px));
  max-height: calc(100svh - 68px);
  min-height: min(650px, calc(100svh - 68px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  background: #fffaf6;
  box-shadow:
    0 34px 100px rgba(49, 26, 45, 0.34),
    0 2px 0 rgba(255, 255, 255, 0.75) inset;
  text-align: left;
}

.lovegpt-shell.hidden {
  display: none;
}

.lovegpt-sidebar {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px 24px 24px;
  color: #fff9f4;
  background:
    radial-gradient(circle at 20% 0%, rgba(220, 127, 158, 0.28), transparent 32%),
    radial-gradient(circle at 100% 80%, rgba(132, 81, 128, 0.32), transparent 38%),
    linear-gradient(165deg, #321d34 0%, #221522 58%, #191219 100%);
}

.lovegpt-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
}

.lovegpt-brand,
.lovegpt-understanding,
.lovegpt-sidebar nav,
.lovegpt-prototype-note {
  position: relative;
  z-index: 1;
}

.lovegpt-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.lovegpt-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(238, 156, 182, 0.95), rgba(154, 83, 132, 0.95));
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 700;
  box-shadow: 0 9px 22px rgba(11, 5, 10, 0.3);
}

.lovegpt-brand div {
  display: grid;
  gap: 1px;
}

.lovegpt-brand strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.lovegpt-brand span:last-child {
  color: rgba(255, 249, 244, 0.57);
  font-size: 0.68rem;
}

.lovegpt-understanding {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.lovegpt-understanding-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
}

.lovegpt-understanding-copy span {
  color: rgba(255, 249, 244, 0.68);
}

.lovegpt-understanding-copy strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  color: #f1b2c6;
}

.lovegpt-meter {
  height: 6px;
  margin: 9px 0 10px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.lovegpt-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d9779b, #f8c4b5);
  box-shadow: 0 0 16px rgba(231, 133, 170, 0.7);
  transition: width 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lovegpt-understanding p {
  margin: 0;
  color: rgba(255, 249, 244, 0.48);
  font-size: 0.65rem;
}

.lovegpt-sidebar nav {
  min-height: 0;
  margin-top: 26px;
  overflow: auto;
}

.lovegpt-nav-label {
  margin: 0 0 10px;
  color: rgba(255, 249, 244, 0.37);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lovegpt-lesson-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lovegpt-lesson {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: rgba(255, 249, 244, 0.42);
  transition: 220ms ease;
}

.lovegpt-lesson.active {
  border-color: rgba(241, 178, 198, 0.2);
  color: #fff9f4;
  background: rgba(255, 255, 255, 0.075);
}

.lovegpt-lesson.complete {
  color: rgba(255, 249, 244, 0.7);
}

.lovegpt-lesson-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.86rem;
  color: rgba(241, 178, 198, 0.8);
}

.lovegpt-lesson div {
  min-width: 0;
}

.lovegpt-lesson strong,
.lovegpt-lesson span {
  display: block;
}

.lovegpt-lesson strong {
  overflow: hidden;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lovegpt-lesson span {
  margin-top: 1px;
  font-size: 0.58rem;
  color: inherit;
  opacity: 0.65;
}

.lovegpt-lesson-status {
  font-size: 0.7rem;
  text-align: center;
}

.lovegpt-prototype-note {
  margin-top: auto;
  padding-top: 18px;
  color: rgba(255, 249, 244, 0.38);
  font-size: 0.61rem;
  line-height: 1.5;
}

.lovegpt-prototype-note span {
  display: block;
  margin-bottom: 3px;
  color: rgba(241, 178, 198, 0.8);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lovegpt-main {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background:
    radial-gradient(circle at 84% 0%, rgba(247, 216, 221, 0.7), transparent 30%),
    linear-gradient(180deg, #fffdfa, #fff8f3);
}

.lovegpt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(77, 43, 68, 0.09);
  background: rgba(255, 253, 250, 0.72);
  backdrop-filter: blur(12px);
}

.lovegpt-model {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lovegpt-avatar {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #edd3dc, #faeee9);
  box-shadow: 0 8px 20px rgba(106, 54, 85, 0.12);
}

.lovegpt-avatar-core {
  font-family: "Cormorant Garamond", serif;
  color: #713e62;
  font-size: 1.45rem;
  font-weight: 700;
}

.lovegpt-online-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border: 3px solid #fffaf6;
  border-radius: 50%;
  background: #7bbb83;
}

.lovegpt-model h1 {
  margin: 0;
  color: #3b2437;
  font-size: 1.25rem;
}

.lovegpt-model p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 1px 0 0;
  color: #987d8d;
  font-size: 0.66rem;
}

.lovegpt-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #75ad7c;
}

button.lovegpt-reset {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(78, 43, 68, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #725769;
  font-size: 0.68rem;
  box-shadow: none;
}

button.lovegpt-reset:hover {
  transform: none;
  border-color: rgba(157, 64, 88, 0.3);
  box-shadow: none;
}

.lovegpt-chat {
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

.lovegpt-welcome {
  display: grid;
  min-height: 100%;
  place-items: center;
  align-content: center;
  max-width: 660px;
  margin: auto;
  padding: 54px 32px;
  text-align: center;
}

.lovegpt-orbit {
  position: relative;
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(157, 64, 88, 0.15);
  border-radius: 50%;
}

.lovegpt-orbit::before,
.lovegpt-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(157, 64, 88, 0.12);
  border-radius: 50%;
  animation: lovegpt-orbit 8s linear infinite;
}

.lovegpt-orbit::before {
  width: 116px;
  height: 50px;
  transform: rotate(28deg);
}

.lovegpt-orbit::after {
  width: 50px;
  height: 116px;
  animation-direction: reverse;
}

.lovegpt-orbit > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 21px;
  background: linear-gradient(145deg, #5c3152, #a25179);
  color: #fffaf6;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  box-shadow: 0 15px 28px rgba(76, 37, 65, 0.22);
}

.lovegpt-welcome h2 {
  max-width: 600px;
  margin: 8px auto 14px;
  color: #3d2939;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.lovegpt-welcome > p:not(.eyebrow) {
  max-width: 550px;
  margin: 0 auto 25px;
  color: #806a78;
  line-height: 1.75;
}

.lovegpt-welcome button {
  margin: 0;
  background: linear-gradient(135deg, #5d3152, #9e4e75);
  box-shadow: 0 14px 30px rgba(95, 47, 81, 0.23);
}

.lovegpt-thread {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 34px 30px 24px;
}

.lovegpt-chapter {
  margin-bottom: 30px;
  text-align: center;
}

.lovegpt-chapter-number {
  color: #a77991;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.lovegpt-chapter h2 {
  margin: 5px 0 6px;
  color: #402d3b;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.lovegpt-chapter p {
  margin: 0;
  color: #9b8290;
  font-size: 0.76rem;
}

.lovegpt-message {
  display: flex;
  gap: 11px;
  margin: 18px 0;
  animation: lovegpt-message-in 420ms ease both;
}

.lovegpt-message.user {
  justify-content: flex-end;
}

.lovegpt-message-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #5d3152, #9f537b);
  color: white;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.92rem;
}

.lovegpt-bubble {
  max-width: min(78%, 560px);
  padding: 13px 16px;
  border: 1px solid rgba(85, 50, 73, 0.08);
  border-radius: 7px 18px 18px 18px;
  background: white;
  color: #4f3a48;
  font-size: 0.85rem;
  line-height: 1.65;
  box-shadow: 0 8px 24px rgba(78, 45, 68, 0.07);
  white-space: pre-wrap;
}

.lovegpt-message.user .lovegpt-bubble {
  border: 0;
  border-radius: 18px 7px 18px 18px;
  background: linear-gradient(145deg, #543049, #79405f);
  color: white;
  box-shadow: 0 10px 24px rgba(80, 42, 68, 0.17);
}

.lovegpt-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 57px;
  min-height: 45px;
}

.lovegpt-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b492a3;
  animation: lovegpt-typing 1s ease-in-out infinite;
}

.lovegpt-typing span:nth-child(2) { animation-delay: 140ms; }
.lovegpt-typing span:nth-child(3) { animation-delay: 280ms; }

.lovegpt-composer {
  padding: 12px 24px 16px;
  border-top: 1px solid rgba(77, 43, 68, 0.08);
  background: rgba(255, 251, 247, 0.94);
}

.lovegpt-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 8px 8px 15px;
  border: 1px solid rgba(93, 49, 82, 0.14);
  border-radius: 20px;
  background: white;
  box-shadow: 0 8px 24px rgba(82, 48, 69, 0.07);
}

.lovegpt-input-wrap:focus-within {
  border-color: rgba(157, 64, 88, 0.42);
  box-shadow: 0 0 0 4px rgba(201, 104, 125, 0.09);
}

.lovegpt-input-wrap textarea {
  width: 100%;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 10px 0;
  overflow-y: auto;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #493643;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.55;
}

.lovegpt-input-wrap textarea::placeholder {
  color: #b29ca8;
}

.lovegpt-input-wrap button {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #5c3152, #93496f);
  font-size: 1.2rem;
  box-shadow: none;
}

.lovegpt-input-wrap button:disabled {
  opacity: 0.45;
  cursor: default;
}

.lovegpt-composer > p {
  max-width: 760px;
  margin: 5px auto 0;
  color: #b19ca7;
  font-size: 0.58rem;
  text-align: center;
}

.lovegpt-memory-overlay {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(30, 18, 29, 0.72);
  backdrop-filter: blur(13px);
  animation: lovegpt-fade-in 350ms ease both;
}

.lovegpt-memory-card {
  position: relative;
  width: min(100%, 560px);
  overflow: hidden;
  padding: 46px 44px 40px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 27px;
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 189, 203, 0.7), transparent 35%),
    #fffaf4;
  box-shadow: 0 30px 90px rgba(15, 8, 14, 0.42);
  text-align: center;
  animation: lovegpt-card-in 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.lovegpt-memory-number {
  position: absolute;
  top: -24px;
  right: 18px;
  color: rgba(121, 64, 95, 0.08);
  font-family: "Cormorant Garamond", serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
}

.lovegpt-memory-card h2 {
  position: relative;
  margin: 7px 0 12px;
  color: #3d2939;
  font-size: 2.25rem;
}

.lovegpt-memory-card > p:not(.eyebrow) {
  position: relative;
  margin: 0;
  color: #806c78;
  font-size: 0.84rem;
  line-height: 1.7;
}

.lovegpt-memory-card blockquote {
  position: relative;
  margin: 23px 0;
  padding: 18px 20px;
  border: 1px solid rgba(157, 64, 88, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.65);
  color: #614255;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;
}

.lovegpt-memory-card button {
  position: relative;
  width: 100%;
  margin: 0;
  background: linear-gradient(135deg, #5d3152, #9e4e75);
}

.lovegpt-finale {
  display: grid;
  min-height: 100%;
  place-items: center;
  align-content: center;
  max-width: 680px;
  margin: auto;
  padding: 50px 34px;
  text-align: center;
  animation: lovegpt-fade-in 600ms ease both;
}

.lovegpt-finale-mark {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(145deg, #5d3152, #a6547d);
  color: white;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  box-shadow: 0 18px 32px rgba(95, 47, 81, 0.23);
}

.lovegpt-finale h2 {
  margin: 7px 0 14px;
  color: #3d2939;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.lovegpt-finale > p:not(.eyebrow) {
  margin: 0;
  color: #745f6c;
  line-height: 1.75;
}

.lovegpt-finale blockquote {
  margin: 25px 0 0;
  color: #78435f;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.45;
}

.lovegpt-finale button {
  margin-top: 26px;
  background: linear-gradient(135deg, #963760, #c34f7c);
}

@keyframes lovegpt-orbit {
  to { transform: rotate(388deg); }
}

@keyframes lovegpt-message-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lovegpt-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes lovegpt-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lovegpt-card-in {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.equality-card {
  width: min(calc(100vw - 36px), 1120px);
  padding: clamp(30px, 5vw, 64px);
  border-color: rgba(83, 111, 77, 0.28);
  background:
    radial-gradient(circle at 8% 12%, rgba(249, 220, 227, 0.62), transparent 22%),
    radial-gradient(circle at 92% 28%, rgba(223, 233, 217, 0.78), transparent 25%),
    rgba(255, 253, 247, 0.94);
}

.equality-card::before {
  content: "❦";
  color: rgba(83, 111, 77, 0.34);
}

.equality-card::after {
  content: "❧";
  color: rgba(201, 104, 125, 0.3);
}

.equality-header {
  max-width: 850px;
  margin: 0 auto 34px;
}

.equality-flower-mark {
  font-size: 3.8rem;
  line-height: 1;
  filter: drop-shadow(0 8px 9px rgba(83, 111, 77, 0.15));
}

.equality-introduction {
  max-width: 720px;
  margin: 16px auto 22px;
  color: #66545b;
  font-size: 1.02rem;
  line-height: 1.75;
}

.framework-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 14px 18px;
  border: 1px solid rgba(83, 111, 77, 0.2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 247, 225, 0.88), rgba(231, 240, 220, 0.8));
  color: #53674c;
  font-size: 0.84rem;
  font-weight: 800;
}

.framework-ribbon span:nth-child(even) {
  color: var(--rose);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
}

.equality-growth {
  display: flex;
  align-items: center;
  gap: 15px;
  width: min(100%, 500px);
  margin: 20px auto 0;
  padding: 14px 19px;
  border: 1px solid rgba(83, 111, 77, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  text-align: left;
  box-shadow: 0 9px 22px rgba(83, 111, 77, 0.1);
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.growth-flower {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(223, 233, 217, 0.65);
  font-size: 2.9rem;
  filter: saturate(0.85);
  transition: background 250ms ease, filter 250ms ease;
}

.growth-flower.growing,
.scenario-flower.growing {
  animation: flowerGrowth 520ms cubic-bezier(0.2, 0.85, 0.25, 1);
}

.equality-growth strong,
.equality-growth span:not(.growth-flower) {
  display: block;
}

.equality-growth strong {
  color: var(--green);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  line-height: 1.15;
}

.equality-growth span:not(.growth-flower) {
  margin-top: 4px;
  color: #75636a;
  font-size: 0.75rem;
  font-weight: 700;
}

.equality-growth.growth-stage-3,
.equality-growth.growth-stage-4,
.equality-growth.growth-stage-5,
.equality-growth.growth-stage-6 {
  border-color: rgba(201, 104, 125, 0.35);
  background: linear-gradient(135deg, rgba(249, 220, 227, 0.55), rgba(255, 250, 232, 0.78));
}

.equality-growth.growth-stage-6 {
  box-shadow:
    0 12px 30px rgba(201, 104, 125, 0.18),
    0 0 0 5px rgba(249, 220, 227, 0.28);
}

.equality-growth.growth-stage-6 .growth-flower {
  background: rgba(255, 239, 193, 0.75);
  filter: saturate(1.1) drop-shadow(0 5px 8px rgba(201, 104, 125, 0.2));
}

.equality-progress {
  width: fit-content;
  margin: 18px auto 0;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 7px 16px rgba(83, 111, 77, 0.18);
}

.garden-game {
  position: relative;
  width: 100%;
  margin: 10px auto 36px;
  border: 7px double rgba(66, 96, 55, 0.62);
  border-radius: 28px;
  background: #78aa5c;
  box-shadow:
    0 25px 55px rgba(48, 73, 41, 0.24),
    inset 0 0 0 3px rgba(255, 255, 255, 0.34);
  overflow: hidden;
  isolation: isolate;
}

.garden-game::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 20px;
  box-shadow: inset 0 0 70px rgba(37, 65, 34, 0.22);
  pointer-events: none;
}

.garden-game-canvas {
  display: block;
  width: 100%;
  height: clamp(520px, 70vh, 720px);
  background: #9bce78;
  outline: none;
  touch-action: none;
}

.garden-game-canvas:focus-visible {
  box-shadow: inset 0 0 0 5px rgba(255, 239, 171, 0.65);
}

.game-hud {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 15px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 17px;
  background: rgba(255, 252, 235, 0.9);
  text-align: left;
  box-shadow: 0 8px 18px rgba(53, 79, 46, 0.18);
  backdrop-filter: blur(8px);
}

.game-hud-label {
  display: block;
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.game-hud strong {
  display: block;
  margin-top: 2px;
  color: var(--rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  line-height: 1;
}

.game-distance {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.game-help {
  position: absolute;
  z-index: 5;
  left: 16px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: rgba(55, 78, 48, 0.78);
  color: white;
  font-size: 0.64rem;
  font-weight: 700;
  text-align: left;
  backdrop-filter: blur(6px);
}

.game-interact {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 26px;
  width: min(calc(100% - 310px), 370px);
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: linear-gradient(135deg, #d97891, #9d4058);
  transform: translateX(-50%);
  animation: interactPulse 1.3s ease-in-out infinite;
}

.game-interact:hover {
  transform: translateX(-50%) translateY(-2px);
}

.game-dpad {
  position: absolute;
  z-index: 6;
  right: 18px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(3, 48px);
  grid-template-rows: repeat(3, 44px);
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: rgba(45, 69, 40, 0.66);
  backdrop-filter: blur(7px);
}

.game-direction {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 12px;
  background: rgba(255, 253, 240, 0.9);
  color: var(--green);
  font-size: 0.92rem;
  box-shadow: 0 4px 9px rgba(35, 57, 31, 0.18);
  touch-action: none;
  user-select: none;
}

.game-direction:hover,
.game-direction:active {
  color: var(--rose-dark);
  background: #fff4ca;
  transform: scale(0.96);
  box-shadow: 0 2px 5px rgba(35, 57, 31, 0.18);
}

.game-up { grid-column: 2; grid-row: 1; }
.game-left { grid-column: 1; grid-row: 2; }
.game-right { grid-column: 3; grid-row: 2; }
.game-down { grid-column: 2; grid-row: 3; }

.game-dpad-center {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  place-items: center;
  color: #fff3b5;
  font-size: 1.4rem;
}

.game-status {
  position: absolute;
  z-index: 5;
  top: 82px;
  left: 50%;
  max-width: 520px;
  margin: 0;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(55, 78, 48, 0.68);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
}

.game-dialogue {
  position: absolute;
  z-index: 12;
  inset: 32px;
  padding: clamp(24px, 4vw, 42px);
  border: 4px double rgba(83, 111, 77, 0.46);
  border-radius: 27px;
  background:
    radial-gradient(circle at 10% 10%, rgba(249, 220, 227, 0.75), transparent 25%),
    radial-gradient(circle at 90% 90%, rgba(223, 239, 207, 0.8), transparent 27%),
    rgba(255, 253, 245, 0.97);
  box-shadow: 0 26px 70px rgba(36, 56, 32, 0.4);
  overflow-y: auto;
  animation: dialogueEnter 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.game-dialogue-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: rgba(83, 111, 77, 0.12);
  color: var(--green);
  font-size: 1.45rem;
  box-shadow: none;
}

.game-dialogue-flower {
  font-size: 3.6rem;
  animation: equalityBloom 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.game-dialogue h2 {
  margin: 8px 0 22px;
  color: var(--rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1;
}

.game-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: -6px auto 22px;
  padding: 17px 20px;
  border: 1px solid rgba(157, 64, 88, 0.22);
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(249, 220, 227, 0.68), rgba(255, 246, 218, 0.82));
  text-align: left;
}

.game-stat strong {
  color: var(--rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.85;
  white-space: nowrap;
}

.game-stat span {
  color: #5f5156;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.game-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.game-story-card {
  padding: 16px;
  border: 1px solid rgba(83, 111, 77, 0.16);
  border-radius: 17px;
}

.game-story-card.paper { background: rgba(255, 246, 218, 0.86); }
.game-story-card.obstacle { background: rgba(249, 220, 227, 0.62); }
.game-story-card.solution { background: rgba(223, 239, 207, 0.78); }
.game-story-card.progress {
  border-color: rgba(80, 127, 116, 0.25);
  background: linear-gradient(135deg, rgba(215, 241, 235, 0.86), rgba(229, 238, 207, 0.82));
}

.game-story-card h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.71rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-story-card.obstacle h3 {
  color: var(--rose-dark);
}

.game-story-card.progress h3 {
  color: #39776b;
}

.game-story-card p {
  margin: 0;
  color: #5f5156;
  font-size: 0.82rem;
  line-height: 1.55;
}

.game-complete-stop {
  width: min(100%, 440px);
  margin-top: 22px;
  border-radius: 999px;
}

.journey-controls {
  width: fit-content;
  min-width: 230px;
  margin: -8px auto 28px;
  padding: 12px 20px 10px;
  border: 1px solid rgba(83, 111, 77, 0.24);
  border-radius: 22px;
  background: rgba(255, 253, 245, 0.88);
  box-shadow: 0 9px 22px rgba(72, 87, 63, 0.11);
}

.journey-controls-label {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-arrow-pad {
  display: grid;
  grid-template-columns: repeat(3, 42px);
  grid-template-rows: repeat(3, 36px);
  place-content: center;
  gap: 4px;
}

.journey-arrow {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(83, 111, 77, 0.34);
  border-radius: 11px;
  background: linear-gradient(145deg, #6f8b65, #496543);
  font-size: 1rem;
  box-shadow: 0 5px 11px rgba(83, 111, 77, 0.18);
}

.journey-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 14px rgba(83, 111, 77, 0.23);
}

.journey-arrow-up { grid-column: 2; grid-row: 1; }
.journey-arrow-left { grid-column: 1; grid-row: 2; }
.journey-arrow-right { grid-column: 3; grid-row: 2; }
.journey-arrow-down { grid-column: 2; grid-row: 3; }

.journey-control-character {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  place-items: center;
  font-size: 1.65rem;
  filter: drop-shadow(0 3px 3px rgba(83, 111, 77, 0.2));
}

.journey-movement-status {
  max-width: 270px;
  min-height: 2.5em;
  margin: 7px auto 0;
  color: #75636a;
  font-size: 0.69rem;
  line-height: 1.35;
}

.equality-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(170px, auto));
  gap: 58px clamp(70px, 12vw, 160px);
  width: 100%;
  margin: 12px auto 36px;
  padding: 48px clamp(18px, 4vw, 52px);
  border: 6px double rgba(83, 111, 77, 0.3);
  border-radius: 32px 54px 38px 58px;
  background:
    radial-gradient(circle at 9% 10%, rgba(201, 104, 125, 0.15) 0 3%, transparent 3.5%),
    radial-gradient(circle at 88% 36%, rgba(110, 151, 88, 0.15) 0 4%, transparent 4.5%),
    radial-gradient(circle at 12% 68%, rgba(232, 178, 92, 0.13) 0 4%, transparent 4.5%),
    repeating-radial-gradient(ellipse at center, transparent 0 31px, rgba(83, 111, 77, 0.025) 32px 33px),
    linear-gradient(145deg, rgba(255, 250, 226, 0.96), rgba(228, 235, 200, 0.96));
  box-shadow:
    inset 0 0 75px rgba(83, 111, 77, 0.12),
    0 20px 45px rgba(72, 87, 63, 0.13);
  isolation: isolate;
}

.journey-path {
  position: absolute;
  inset: 25px 4%;
  z-index: -1;
  width: 92%;
  height: calc(100% - 50px);
  overflow: visible;
  pointer-events: none;
}

.journey-path path {
  fill: none;
  stroke: rgba(83, 111, 77, 0.68);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 1.5 3.2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 1px rgba(255, 255, 255, 0.8));
  animation: journeyTrail 18s linear infinite;
}

.journey-stop {
  position: relative;
  z-index: 1;
  grid-row: var(--journey-row);
  align-self: center;
  min-width: 0;
  border: 1px solid rgba(83, 111, 77, 0.25);
  border-radius: 22px;
  background: rgba(255, 253, 245, 0.95);
  box-shadow: 0 13px 28px rgba(72, 87, 63, 0.15);
  overflow: visible;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.journey-stop:nth-of-type(odd) {
  grid-column: 1;
  transform: rotate(-0.8deg);
}

.journey-stop:nth-of-type(even) {
  grid-column: 2;
  transform: rotate(0.8deg);
}

.journey-stop.active {
  border-color: rgba(201, 104, 125, 0.55);
  box-shadow:
    0 16px 34px rgba(117, 72, 83, 0.18),
    0 0 0 6px rgba(249, 220, 227, 0.35);
}

.journey-stop.completed {
  border-color: rgba(83, 111, 77, 0.52);
  background: rgba(244, 250, 233, 0.96);
}

.journey-stop.locked {
  border-style: dashed;
  background: rgba(245, 241, 225, 0.84);
  box-shadow: 0 8px 18px rgba(72, 87, 63, 0.08);
}

.journey-stop.open {
  transform: rotate(0deg) scale(1.015);
}

.journey-stop.character-here {
  outline: 3px solid rgba(232, 178, 92, 0.48);
  outline-offset: 5px;
}

.journey-character {
  position: absolute;
  z-index: 8;
  top: -34px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff4c9, #f5c4d0);
  font-size: 2rem;
  line-height: 1;
  pointer-events: none;
  transform: translateX(-50%);
  box-shadow:
    0 8px 18px rgba(83, 111, 77, 0.22),
    0 0 0 5px rgba(255, 244, 201, 0.38);
}

.journey-stop-button {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 18px;
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  box-shadow: none;
}

.journey-stop-button:hover {
  transform: none;
  background: rgba(249, 220, 227, 0.2);
  box-shadow: none;
}

.journey-stop-button:focus-visible {
  outline: 3px solid rgba(157, 64, 88, 0.4);
  outline-offset: -5px;
}

.journey-stop-button:disabled {
  opacity: 0.62;
}

.journey-marker {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: linear-gradient(145deg, #f9dce3, #fff3cb);
  font-size: 2rem;
  box-shadow: 0 7px 16px rgba(117, 72, 83, 0.15);
}

.completed .journey-marker {
  background: linear-gradient(145deg, #e4efd8, #fff2be);
  animation: equalityBloom 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.locked .journey-marker {
  background: #ece8db;
  filter: grayscale(0.55);
}

.journey-heading,
.journey-number,
.journey-status {
  display: block;
}

.journey-number {
  color: var(--green);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.journey-heading strong {
  display: block;
  margin: 3px 0;
  color: var(--rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.05;
}

.journey-status {
  color: #74646a;
  font-size: 0.69rem;
  line-height: 1.35;
}

.journey-story {
  padding: 0 18px 19px;
  border-top: 1px dashed rgba(83, 111, 77, 0.22);
  animation: storyOpen 260ms ease both;
}

.journey-note {
  margin-top: 13px;
  padding: 13px 14px;
  border-radius: 14px;
  text-align: left;
}

.journey-note.paper {
  background: rgba(255, 246, 218, 0.9);
}

.journey-note.gap {
  background: rgba(249, 220, 227, 0.55);
}

.journey-note.solution {
  background: rgba(223, 239, 207, 0.7);
}

.journey-note h3 {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.journey-note.gap h3 {
  color: var(--rose-dark);
}

.journey-note p {
  margin: 0;
  color: #62535a;
  font-size: 0.79rem;
  line-height: 1.5;
}

.journey-action {
  width: 100%;
  margin-top: 15px;
  border-radius: 999px;
}

.journey-complete-note {
  margin: 14px 0 0;
  padding: 10px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.equality-garden {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  text-align: left;
}

.equality-scenario {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(83, 111, 77, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 238, 0.94));
  box-shadow: 0 14px 34px rgba(72, 87, 63, 0.11);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.equality-scenario::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 233, 217, 0.68), transparent 70%);
  pointer-events: none;
}

.scenario-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 17px;
}

.scenario-flower {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f3f7e9, #dfe9d9);
  font-size: 2.25rem;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.6);
}

.equality-scenario.bloomed {
  border-color: rgba(83, 111, 77, 0.5);
  box-shadow: 0 16px 38px rgba(83, 111, 77, 0.18);
}

.equality-scenario.bloomed .scenario-flower {
  animation: equalityBloom 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.equality-scenario.budding {
  border-color: rgba(188, 151, 71, 0.36);
}

.equality-scenario.budding .scenario-flower {
  background: linear-gradient(145deg, #fff8dd, #e8edcf);
}

.equality-scenario.needs-care {
  border-color: rgba(201, 104, 125, 0.36);
}

.scenario-number {
  margin: 0 0 2px;
  color: var(--green);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scenario-top h2 {
  margin: 0;
  color: var(--rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.paper-promise {
  margin-bottom: 21px;
  padding: 14px 16px;
  border: 1px solid rgba(176, 135, 75, 0.2);
  border-radius: 15px;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(136, 105, 62, 0.04) 23px),
    #fff9e8;
}

.paper-promise span {
  color: #86633d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-promise p {
  margin: 7px 0 0;
  color: #604f44;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.4;
}

.equality-choice-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.equality-choice-group + .equality-choice-group {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed rgba(83, 111, 77, 0.25);
}

.equality-choice-group legend {
  display: contents;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
}

.choice-kind {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.choice-list {
  display: grid;
  gap: 9px;
}

.equality-choice {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(83, 111, 77, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
  color: #62535a;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.equality-choice:hover {
  border-color: rgba(201, 104, 125, 0.48);
  transform: translateY(-1px);
}

.equality-choice.selected {
  border-color: var(--rose);
  background: rgba(249, 220, 227, 0.36);
  box-shadow: 0 0 0 3px rgba(201, 104, 125, 0.09);
}

.equality-choice.selected.correct {
  border-color: #6d915c;
  background: rgba(223, 239, 207, 0.65);
  box-shadow: 0 0 0 3px rgba(83, 111, 77, 0.1);
}

.equality-choice.selected.incorrect {
  border-color: #c9687d;
  background: rgba(249, 220, 227, 0.58);
  box-shadow: 0 0 0 3px rgba(201, 104, 125, 0.1);
}

.equality-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.equality-choice:has(input:focus-visible) {
  outline: 3px solid rgba(157, 64, 88, 0.34);
  outline-offset: 3px;
}

.choice-indicator {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 2px solid rgba(83, 111, 77, 0.45);
  border-radius: 50%;
  background: white;
}

.equality-choice.selected .choice-indicator {
  border-color: var(--rose);
}

.equality-choice.selected .choice-indicator::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--rose);
}

.choice-text {
  font-size: 0.83rem;
  line-height: 1.45;
}

.choice-result {
  min-height: 0;
  margin: 0;
  padding: 0;
  color: transparent;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0;
  transition: opacity 180ms ease, padding 180ms ease;
}

.choice-result.correct,
.choice-result.incorrect {
  min-height: 2.8em;
  margin-top: 9px;
  padding: 9px 11px;
  border-radius: 10px;
  opacity: 1;
}

.choice-result.correct {
  background: rgba(223, 239, 207, 0.68);
  color: #476840;
}

.choice-result.incorrect {
  background: rgba(249, 220, 227, 0.58);
  color: var(--rose-dark);
}

.review-garden-button {
  width: min(100%, 440px);
  margin-top: 32px;
  border-radius: 999px;
}

.equality-review {
  max-width: 900px;
  margin: 0 auto;
}

.equality-review h2,
.equality-success h2 {
  margin: 8px 0 12px;
  color: var(--rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.review-summary {
  max-width: 630px;
  margin: 0 auto 28px;
  color: #66545b;
  line-height: 1.65;
}

.review-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.review-item {
  padding: 19px;
  border: 1px solid rgba(201, 104, 125, 0.3);
  border-radius: 19px;
  background: rgba(255, 250, 248, 0.9);
}

.review-item.correct {
  border-color: rgba(83, 111, 77, 0.38);
  background: rgba(241, 248, 232, 0.92);
  animation: equalityBloom 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.review-item h3 {
  margin: 0 0 14px;
  color: var(--rose-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
}

.review-decision {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
}

.review-decision + .review-decision {
  margin-top: 10px;
}

.review-decision.correct {
  box-shadow: inset 4px 0 #7b9b69;
}

.review-decision.incorrect {
  box-shadow: inset 4px 0 #c9687d;
}

.review-decision h4 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 0.78rem;
}

.review-decision.incorrect h4 {
  color: var(--rose-dark);
}

.review-selected,
.review-explanation {
  margin: 0;
  line-height: 1.45;
}

.review-selected {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.review-explanation {
  margin-top: 5px;
  color: #75636a;
  font-size: 0.78rem;
}

#reviseEqualityButton {
  width: min(100%, 340px);
}

.equality-success {
  max-width: 720px;
  margin: 10px auto 26px;
  padding: clamp(28px, 5vw, 48px);
  border: 2px solid rgba(83, 111, 77, 0.28);
  border-radius: 28px;
  outline: none;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 242, 191, 0.72), transparent 42%),
    linear-gradient(145deg, rgba(249, 220, 227, 0.7), rgba(223, 233, 217, 0.82));
  box-shadow: 0 20px 48px rgba(83, 111, 77, 0.16);
  animation: successRise 700ms ease both;
}

.success-bouquet {
  margin-bottom: 12px;
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: 0.05em;
  animation: equalityBloom 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.equality-success p:last-child {
  max-width: 600px;
  margin: 0 auto;
  color: #5c4e53;
  font-size: 1.05rem;
  line-height: 1.75;
}

.ordering-card {
  width: calc(100vw - 36px);
  max-width: none;
  min-height: calc(100vh - 68px);
  padding: clamp(30px, 5vw, 62px);
  border: 8px double rgba(104, 126, 71, 0.5);
  outline: 1px solid rgba(120, 79, 46, 0.28);
  outline-offset: -17px;
  background:
    radial-gradient(circle at 15% 20%, rgba(125, 156, 92, 0.11), transparent 18%),
    radial-gradient(circle at 86% 76%, rgba(202, 112, 135, 0.1), transparent 22%),
    repeating-linear-gradient(8deg, transparent 0 5px, rgba(113, 83, 44, 0.025) 6px),
    linear-gradient(145deg, rgba(255, 250, 226, 0.98), rgba(235, 219, 177, 0.97));
  box-shadow:
    0 28px 80px rgba(67, 53, 32, 0.3),
    inset 0 0 90px rgba(111, 78, 39, 0.13),
    inset 0 0 0 3px rgba(255, 252, 230, 0.65);
}

.ordering-card::before {
  content: "❦";
  color: rgba(95, 122, 64, 0.48);
  font-size: 3rem;
}

.ordering-card::after {
  content: "❧";
  color: rgba(181, 91, 114, 0.4);
  font-size: 3rem;
}

.ordering-card h1 {
  color: #744c2c;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.55);
}

.ordering-card .eyebrow {
  color: #66733e;
}

.garden-compass {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  border: 2px solid rgba(105, 126, 71, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle, #fffcef 0 48%, #e6d6a9 50% 100%);
  box-shadow: 0 8px 20px rgba(80, 61, 37, 0.16), inset 0 0 0 5px rgba(255, 255, 255, 0.5);
  font-size: 2.7rem;
}

.ordering-tip {
  width: fit-content;
  max-width: 680px;
  margin: -8px auto 26px;
  padding: 9px 18px;
  border: 1px solid rgba(104, 126, 71, 0.25);
  border-radius: 999px;
  background: rgba(255, 252, 231, 0.62);
  color: #765d43;
  font-size: 0.82rem;
}

.photo-map {
  position: relative;
  display: grid;
  grid-template-areas:
    "s1 s2 s3 s4"
    "s8 s7 s6 s5"
    "s9 s10 s11 s12"
    ". . s14 s13";
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 90px 62px;
  width: 100%;
  margin: 24px auto 34px;
  padding: 96px clamp(28px, 5vw, 78px) 118px;
  border: 6px double rgba(103, 126, 70, 0.44);
  border-radius: 24px 44px 28px 48px;
  background:
    radial-gradient(ellipse at 9% 12%, rgba(129, 159, 91, 0.16) 0 5%, transparent 5.5%),
    radial-gradient(ellipse at 89% 29%, rgba(199, 109, 133, 0.13) 0 6%, transparent 6.5%),
    radial-gradient(ellipse at 20% 76%, rgba(129, 159, 91, 0.13) 0 7%, transparent 7.5%),
    repeating-radial-gradient(ellipse at 50% 50%, transparent 0 28px, rgba(102, 77, 43, 0.035) 29px 30px),
    repeating-linear-gradient(5deg, transparent 0 7px, rgba(102, 77, 43, 0.022) 8px),
    linear-gradient(145deg, rgba(250, 238, 199, 0.96), rgba(222, 205, 155, 0.95));
  background-size: auto, auto, auto, 170px 120px, auto, auto;
  box-shadow:
    inset 0 0 75px rgba(82, 57, 28, 0.19),
    inset 0 0 0 8px rgba(255, 247, 210, 0.4),
    0 18px 38px rgba(82, 57, 28, 0.18);
  isolation: isolate;
}

.photo-map::before,
.photo-map::after {
  position: absolute;
  z-index: 3;
  color: #704a2c;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.photo-map::before {
  content: "❀  OUR FIRST MONTH";
  top: 27px;
  left: 5%;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 249, 221, 0.72);
}

.photo-map::after {
  content: "I LOVE YOU  💐";
  right: 7%;
  bottom: 30px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 249, 221, 0.72);
  font-size: 1.15rem;
}

.map-landmarks {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.map-landmark {
  position: absolute;
  opacity: 0.62;
  filter: sepia(0.12) drop-shadow(0 4px 3px rgba(82, 57, 28, 0.14));
}

.landmark-blossoms { top: 4%; left: 46%; font-size: 3rem; }
.landmark-tulips { top: 39%; right: 2%; font-size: 3.2rem; }
.landmark-butterfly { top: 59%; left: 48%; font-size: 2.5rem; transform: rotate(-12deg); }
.landmark-vine { bottom: 5%; left: 5%; font-size: 3.1rem; transform: rotate(-10deg); }
.landmark-daisies { top: 33%; left: 2%; font-size: 2.8rem; }
.landmark-bouquet { bottom: 4%; right: 23%; font-size: 3.1rem; }

.map-trail-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.map-trail {
  fill: none;
  stroke: rgba(91, 119, 65, 0.78);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 17;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 1px rgba(255, 250, 220, 1))
    drop-shadow(0 3px 2px rgba(70, 82, 48, 0.18));
  animation: trailFlow 18s linear infinite;
}

.map-trail-mobile {
  display: none;
}

.map-slot[data-slot-index="0"] { grid-area: s1; }
.map-slot[data-slot-index="1"] { grid-area: s2; }
.map-slot[data-slot-index="2"] { grid-area: s3; }
.map-slot[data-slot-index="3"] { grid-area: s4; }
.map-slot[data-slot-index="4"] { grid-area: s5; }
.map-slot[data-slot-index="5"] { grid-area: s6; }
.map-slot[data-slot-index="6"] { grid-area: s7; }
.map-slot[data-slot-index="7"] { grid-area: s8; }
.map-slot[data-slot-index="8"] { grid-area: s9; }
.map-slot[data-slot-index="9"] { grid-area: s10; }
.map-slot[data-slot-index="10"] { grid-area: s11; }
.map-slot[data-slot-index="11"] { grid-area: s12; }
.map-slot[data-slot-index="12"] { grid-area: s13; }
.map-slot[data-slot-index="13"] { grid-area: s14; }

.map-slot {
  --slot-tilt: 0deg;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  contain: layout size;
  margin: 0;
  padding: 11px 11px 25px;
  border: 1px solid rgba(111, 84, 48, 0.26);
  border-radius: 7px;
  background:
    linear-gradient(rgba(255, 253, 238, 0.92), rgba(247, 238, 207, 0.94)),
    #fff9df;
  cursor: pointer;
  transform: rotate(var(--slot-tilt));
  box-shadow:
    0 10px 18px rgba(77, 59, 37, 0.17),
    0 2px 2px rgba(77, 59, 37, 0.1),
    inset 0 0 0 4px rgba(255, 255, 255, 0.42);
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.map-slot[data-slot-index="0"],
.map-slot[data-slot-index="5"],
.map-slot[data-slot-index="10"] { --slot-tilt: -1.2deg; }
.map-slot[data-slot-index="1"],
.map-slot[data-slot-index="7"],
.map-slot[data-slot-index="12"] { --slot-tilt: 0.9deg; }
.map-slot[data-slot-index="2"],
.map-slot[data-slot-index="8"] { --slot-tilt: -0.6deg; }
.map-slot[data-slot-index="3"],
.map-slot[data-slot-index="6"],
.map-slot[data-slot-index="11"] { --slot-tilt: 1.1deg; }
.map-slot[data-slot-index="4"],
.map-slot[data-slot-index="9"],
.map-slot[data-slot-index="13"] { --slot-tilt: -0.8deg; }

.map-slot:hover,
.map-slot:focus-visible,
.map-slot.drag-target {
  outline: none;
  border-color: var(--rose);
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(var(--slot-tilt)) translateY(-4px);
  box-shadow:
    0 16px 28px rgba(77, 59, 37, 0.22),
    0 0 0 6px rgba(201, 104, 125, 0.11);
}

.map-slot.filled {
  border-color: rgba(111, 136, 77, 0.5);
  box-shadow:
    0 13px 22px rgba(77, 59, 37, 0.2),
    0 0 0 3px rgba(129, 157, 91, 0.12);
}

.map-slot[data-slot-index="0"] {
  box-shadow:
    0 13px 24px rgba(77, 59, 37, 0.18),
    0 0 0 5px rgba(135, 166, 96, 0.16);
}

.map-slot[data-slot-index="13"] {
  border-color: rgba(192, 117, 135, 0.48);
  box-shadow:
    0 14px 28px rgba(123, 74, 84, 0.2),
    0 0 0 6px rgba(217, 137, 157, 0.13);
}

.map-marker {
  position: absolute;
  z-index: 3;
  top: -15px;
  left: -15px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid #fff9df;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fffced 0 38%, #e6a6b7 40% 53%, #c9687d 55% 100%);
  color: #7b3448;
  font-size: 0.82rem;
  font-weight: 800;
  transform: rotate(0deg);
  box-shadow:
    0 6px 12px rgba(117, 72, 83, 0.24),
    7px 0 0 -3px rgba(238, 182, 195, 0.8),
    -7px 0 0 -3px rgba(238, 182, 195, 0.8),
    0 7px 0 -3px rgba(238, 182, 195, 0.8),
    0 -7px 0 -3px rgba(238, 182, 195, 0.8);
}

.map-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  border: 2px dashed rgba(111, 136, 77, 0.42);
  border-radius: 4px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.55), transparent 65%),
    rgba(226, 232, 192, 0.22);
  color: rgba(83, 111, 77, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-placeholder::before {
  content: "✿";
  display: block;
  margin-bottom: 8px;
  color: rgba(181, 91, 114, 0.42);
  font-size: 1.8rem;
}

.map-slot > .photo-order-card {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.map-slot > .photo-order-card:hover,
.map-slot > .photo-order-card:focus-visible,
.map-slot > .photo-order-card.selected {
  transform: none;
}

.map-slot > .photo-order-card .photo-visual {
  width: 100%;
  height: 0;
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
}

.picture-dock {
  position: sticky;
  z-index: 8;
  bottom: 12px;
  margin: 0 -12px 22px;
  padding: 14px 16px 16px;
  border: 3px solid rgba(112, 78, 43, 0.38);
  border-radius: 20px 20px 32px 32px;
  background:
    repeating-linear-gradient(24deg, transparent 0 13px, rgba(112, 78, 43, 0.08) 14px 16px),
    repeating-linear-gradient(-24deg, transparent 0 13px, rgba(112, 78, 43, 0.07) 14px 16px),
    linear-gradient(145deg, rgba(245, 224, 174, 0.98), rgba(219, 184, 122, 0.98));
  box-shadow:
    0 16px 40px rgba(72, 58, 39, 0.28),
    inset 0 5px 0 rgba(255, 248, 217, 0.62),
    inset 0 -8px 18px rgba(105, 67, 30, 0.09);
  backdrop-filter: blur(14px);
}

.picture-dock-label {
  width: fit-content;
  margin: -28px auto 11px;
  padding: 7px 18px;
  border: 2px solid rgba(106, 128, 72, 0.35);
  border-radius: 999px;
  background: #fff9df;
  color: #5b733e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 5px 12px rgba(79, 62, 39, 0.14);
}

.picture-dock-label::before {
  content: "🌿  ";
}

.picture-tray {
  display: flex;
  gap: 10px;
  min-height: 136px;
  padding: 6px 4px 3px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.picture-tray.drag-target {
  border-radius: 14px;
  background: rgba(223, 233, 217, 0.7);
  box-shadow: inset 0 0 0 2px var(--green);
}

.picture-tray .photo-order-card {
  flex: 0 0 126px;
  scroll-snap-align: start;
  padding: 7px 7px 13px;
  border: 1px solid rgba(111, 84, 48, 0.18);
  border-radius: 5px;
  background: #fffbea;
  box-shadow: 0 7px 14px rgba(73, 56, 36, 0.18);
}

.empty-tray-message {
  margin: auto;
  color: var(--green);
  font-weight: 700;
}

.photo-order-card {
  position: relative;
  min-width: 0;
  padding: 7px 7px 11px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(72, 78, 59, 0.14);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.photo-order-card:hover,
.photo-order-card:focus-visible {
  outline: none;
  transform: translateY(-3px);
  border-color: rgba(201, 104, 125, 0.55);
  box-shadow: 0 12px 26px rgba(72, 78, 59, 0.2);
}

.photo-order-card.dragging {
  opacity: 0.45;
  cursor: grabbing;
  transform: scale(0.96);
}

.photo-order-card.selected {
  border-color: var(--rose);
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 0 0 5px rgba(201, 104, 125, 0.13);
}

.photo-visual {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 11px;
  object-fit: cover;
}

.mock-picture {
  background: linear-gradient(145deg, var(--mock-start), var(--mock-end));
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  text-shadow: 0 4px 8px rgba(71, 64, 50, 0.12);
}

.photo-caption {
  display: block;
  min-height: 2.6em;
  padding: 9px 5px 0;
  color: #66545b;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.real-photo-card .photo-caption {
  display: none;
}

.real-photo-card .photo-visual {
  object-fit: contain;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.62), transparent 70%),
    linear-gradient(145deg, #f8edcc, #e9d8ad);
}

.ordering-status {
  width: fit-content;
  min-width: 280px;
  min-height: 26px;
  margin: 0 auto 18px;
  padding: 10px 18px;
  border: 1px solid rgba(105, 126, 71, 0.28);
  border-radius: 999px;
  background: rgba(255, 251, 228, 0.74);
  color: var(--rose-dark);
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(80, 61, 37, 0.1);
}

.ordering-status.success {
  color: var(--green);
  font-size: 1.05rem;
  background: rgba(232, 243, 218, 0.9);
  box-shadow: 0 0 0 5px rgba(112, 146, 78, 0.1);
}

#continueButton {
  width: min(100%, 380px);
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.shake { animation: shake 350ms ease; }

@keyframes shake {
  25% { transform: translateX(-7px); }
  50% { transform: translateX(7px); }
  75% { transform: translateX(-4px); }
}

label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
}

input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e7c7cf;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(201, 104, 125, 0.12);
}

button {
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(157, 64, 88, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(157, 64, 88, 0.28);
}

.secondary-button {
  margin-top: 18px;
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(83, 111, 77, 0.35);
  box-shadow: none;
}

.countdown-panel {
  margin: 26px 0;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(249, 220, 227, 0.75), rgba(223, 233, 217, 0.75));
}

.countdown-label {
  margin: 0 0 8px;
  color: #6d5a61;
}

.countdown {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 8vw, 3.3rem);
  font-weight: 700;
  color: var(--rose-dark);
}

.message {
  min-height: 22px;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--rose-dark);
}

.hidden {
  display: none !important;
}

.petals span {
  position: fixed;
  top: -10vh;
  z-index: 1;
  font-size: 1.8rem;
  opacity: 0.34;
  animation: fall linear infinite;
}

.petals span:nth-child(1) { left: 8%; animation-duration: 13s; animation-delay: -2s; }
.petals span:nth-child(2) { left: 23%; animation-duration: 16s; animation-delay: -8s; }
.petals span:nth-child(3) { left: 42%; animation-duration: 12s; animation-delay: -5s; }
.petals span:nth-child(4) { left: 62%; animation-duration: 15s; animation-delay: -10s; }
.petals span:nth-child(5) { left: 79%; animation-duration: 11s; animation-delay: -4s; }
.petals span:nth-child(6) { left: 92%; animation-duration: 17s; animation-delay: -12s; }
.petals span:nth-child(7) { left: 15%; animation-duration: 18s; animation-delay: -13s; }
.petals span:nth-child(8) { left: 34%; animation-duration: 14s; animation-delay: -9s; }
.petals span:nth-child(9) { left: 70%; animation-duration: 19s; animation-delay: -15s; }
.petals span:nth-child(10) { left: 86%; animation-duration: 13s; animation-delay: -7s; }

@keyframes fall {
  from { transform: translateY(-10vh) rotate(0deg); }
  to { transform: translateY(120vh) rotate(360deg); }
}

@keyframes sway {
  from { transform: rotate(-3deg); }
  to { transform: rotate(4deg); }
}

@keyframes flutter {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  50% { transform: translate(35px, -20px) rotate(10deg); }
}

@keyframes trailFlow {
  to { stroke-dashoffset: -190; }
}

@keyframes equalityBloom {
  0% { opacity: 0.5; transform: scale(0.72) rotate(-5deg); }
  70% { transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes flowerGrowth {
  0% { transform: scale(0.78) rotate(-8deg); }
  65% { transform: scale(1.13) rotate(5deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes journeyTrail {
  to { stroke-dashoffset: -90; }
}

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

@keyframes interactPulse {
  0%, 100% { box-shadow: 0 9px 23px rgba(157, 64, 88, 0.24), 0 0 0 0 rgba(255, 240, 174, 0.45); }
  50% { box-shadow: 0 13px 30px rgba(157, 64, 88, 0.3), 0 0 0 9px rgba(255, 240, 174, 0); }
}

@keyframes dialogueEnter {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 520px) {
  .card {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .flower-border { opacity: 0.35; font-size: 1.5rem; }
  .flower-crown { font-size: 0.75rem; }
  .letter-card { width: 51px; height: 62px; }
  .combination-slot { width: 50px; height: 58px; }
  .puzzle-actions { grid-template-columns: 1fr; }
  .garden-bed-back { bottom: 5vh; }
  .page-shell { padding-bottom: 110px; }
  .butterfly { opacity: 0.55; }
  .memory-photo { margin-top: 9px; }
  .memory-photo img { aspect-ratio: 16 / 10; }
  .memory-photo-second img { aspect-ratio: 4 / 5; }
  .ordering-card { width: calc(100vw - 18px); min-height: calc(100vh - 22px); padding: 28px 12px; }
  .photo-map {
    grid-template-areas:
      "s1 s2"
      "s4 s3"
      "s5 s6"
      "s8 s7"
      "s9 s10"
      "s12 s11"
      "s13 s14";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 42px;
    padding: 84px 14px 102px;
  }
  .photo-map::before { top: 25px; font-size: 0.75rem; }
  .photo-map::after { right: 4%; bottom: 24px; font-size: 0.82rem; }
  .map-trail-desktop { display: none; }
  .map-trail-mobile {
    display: block;
    transform: scale(1.6667, 0.7273);
    transform-origin: 0 0;
  }
  .map-slot { width: 100%; height: 160px; min-height: 160px; max-height: 160px; margin: 0; padding: 7px; }
  .map-marker { top: -13px; left: -10px; width: 32px; height: 32px; }
  .map-placeholder { max-width: 70px; font-size: 0.62rem; }
  .picture-dock { margin-inline: -7px; }
  .picture-tray .photo-order-card { flex-basis: 108px; }
  .photo-order-card { padding: 6px 6px 9px; }
  .photo-caption { font-size: 0.72rem; }
  .ordering-tip { padding-inline: 8px; }
  .equality-card { width: calc(100vw - 18px); padding: 30px 16px; }
  .garden-game { border-width: 4px; border-radius: 20px; }
  .garden-game-canvas { height: 68vh; min-height: 520px; }
  .game-hud {
    top: 8px;
    left: 8px;
    right: 8px;
    padding: 9px 11px;
  }
  .game-hud strong { font-size: 1.05rem; }
  .game-distance { max-width: 115px; white-space: normal; text-align: center; }
  .game-status {
    top: 70px;
    width: calc(100% - 30px);
    font-size: 0.61rem;
  }
  .game-help { display: none; }
  .game-dpad {
    right: 9px;
    bottom: 9px;
    grid-template-columns: repeat(3, 46px);
    grid-template-rows: repeat(3, 43px);
  }
  .game-interact {
    left: 12px;
    bottom: 22px;
    width: calc(100% - 185px);
    padding-inline: 10px;
    font-size: 0.75rem;
    transform: none;
  }
  .game-interact:hover { transform: translateY(-2px); }
  .game-dialogue {
    inset: 12px;
    padding: 24px 15px;
    border-radius: 20px;
  }
  .game-dialogue-flower { font-size: 2.7rem; }
  .game-dialogue h2 { margin-bottom: 15px; }
  .game-stat {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 13px;
    text-align: center;
  }
  .game-stat strong { white-space: normal; }
  .game-story-grid { grid-template-columns: 1fr; gap: 9px; }
  .game-story-card { padding: 12px; }
  .equality-journey {
    display: block;
    padding: 35px 12px;
    border-radius: 24px;
  }
  .journey-path { display: none; }
  .journey-stop {
    margin-bottom: 44px;
    transform: none !important;
  }
  .journey-stop:not(:last-child)::after {
    content: "·  ❀  ·";
    position: absolute;
    left: 50%;
    bottom: -33px;
    color: rgba(83, 111, 77, 0.62);
    font-size: 1.2rem;
    letter-spacing: 0.25em;
    transform: translateX(-50%) rotate(90deg);
  }
  .journey-stop-button {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 15px 13px;
  }
  .journey-marker { width: 52px; height: 52px; font-size: 1.65rem; }
  .equality-garden,
  .review-items { grid-template-columns: 1fr; }
  .equality-scenario { padding: 19px 15px; }
  .framework-ribbon { gap: 6px 8px; padding-inline: 10px; }
  .framework-ribbon span { font-size: 0.72rem; }
  .scenario-flower { width: 50px; height: 50px; font-size: 1.9rem; }
}

@media (min-width: 521px) and (max-width: 900px) {
  .ordering-card { width: calc(100vw - 28px); padding-inline: 24px; }
  .photo-map {
    grid-template-areas:
      "s1 s2"
      "s4 s3"
      "s5 s6"
      "s8 s7"
      "s9 s10"
      "s12 s11"
      "s13 s14";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 78px 56px;
    padding: 90px 30px 110px;
  }
  .map-trail-desktop { display: none; }
  .map-trail-mobile {
    display: block;
    transform: scale(1.6667, 0.7273);
    transform-origin: 0 0;
  }
  .map-slot { height: 190px; min-height: 190px; max-height: 190px; }
  .equality-journey {
    gap: 48px 55px;
    padding-inline: 24px;
  }
  .equality-garden,
  .review-items { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body.lovegpt-active .page-shell {
    padding: 9px 8px;
  }

  .page-shell {
    padding-inline: 8px;
  }

  .lovegpt-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    width: calc(100vw - 16px);
    height: calc(100svh - 18px);
    max-height: calc(100svh - 18px);
    min-height: min(600px, calc(100svh - 18px));
    border-radius: 22px;
  }

  .lovegpt-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 10px 14px;
    padding: 13px 15px 12px;
  }

  .lovegpt-brand {
    margin: 0;
  }

  .lovegpt-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .lovegpt-brand strong {
    font-size: 1.12rem;
  }

  .lovegpt-brand span:last-child,
  .lovegpt-prototype-note,
  .lovegpt-sidebar nav {
    display: none;
  }

  .lovegpt-understanding {
    padding: 9px 11px;
    border-radius: 13px;
  }

  .lovegpt-understanding-copy {
    font-size: 0.6rem;
  }

  .lovegpt-understanding-copy strong {
    font-size: 1rem;
  }

  .lovegpt-meter {
    margin-block: 5px 3px;
  }

  .lovegpt-understanding p {
    overflow: hidden;
    font-size: 0.54rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lovegpt-topbar {
    padding: 11px 13px;
  }

  .lovegpt-avatar {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .lovegpt-model h1 {
    font-size: 1.05rem;
  }

  .lovegpt-welcome {
    padding: 38px 20px;
  }

  .lovegpt-welcome h2 {
    font-size: 2.15rem;
  }

  .lovegpt-orbit {
    transform: scale(0.85);
  }

  .lovegpt-thread {
    padding: 25px 14px 18px;
  }

  .lovegpt-message {
    gap: 7px;
  }

  .lovegpt-message-avatar {
    width: 28px;
    height: 28px;
  }

  .lovegpt-bubble {
    max-width: 84%;
    padding: 11px 13px;
    font-size: 0.78rem;
  }

  .lovegpt-composer {
    padding: 9px 10px 10px;
  }

  .lovegpt-composer > p {
    display: none;
  }

  .lovegpt-memory-overlay {
    padding: 14px;
  }

  .lovegpt-memory-card {
    padding: 38px 22px 25px;
    border-radius: 22px;
  }

  .lovegpt-memory-card h2 {
    font-size: 1.9rem;
  }

  .lovegpt-memory-card blockquote {
    padding: 15px;
    font-size: 1.08rem;
  }

}

/* LoveGPT product-style interface */
body.lovegpt-active {
  background: #e7e7e7;
}

body.lovegpt-active .garden-scenery,
body.lovegpt-active .petals,
body.lovegpt-active .flower-border {
  display: none;
}

.lovegpt-shell,
.lovegpt-shell button,
.lovegpt-shell textarea {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lovegpt-shell {
  grid-template-columns: 260px minmax(0, 1fr);
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.lovegpt-sidebar {
  padding: 18px 14px 16px;
  color: #202123;
  border-right: 1px solid #e5e5e5;
  background: #f7f7f8;
}

.lovegpt-sidebar::after {
  content: none;
}

.lovegpt-brand {
  gap: 10px;
  margin-bottom: 20px;
  padding: 2px 4px;
}

.lovegpt-brand-mark {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: #202123;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  box-shadow: none;
}

.lovegpt-brand strong {
  color: #202123;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
}

.lovegpt-brand span:last-child {
  color: #777777;
  font-size: 0.62rem;
}

.lovegpt-understanding {
  padding: 12px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background: #ffffff;
}

.lovegpt-understanding-copy {
  color: #666666;
  font-size: 0.68rem;
}

.lovegpt-understanding-copy strong {
  color: #202123;
  font-family: inherit;
  font-size: 0.82rem;
}

.lovegpt-meter {
  height: 4px;
  margin: 9px 0 8px;
  background: #ececec;
}

.lovegpt-meter span {
  background: #202123;
  box-shadow: none;
  transition-duration: 300ms;
}

.lovegpt-understanding p {
  color: #888888;
  font-size: 0.61rem;
}

.lovegpt-sidebar nav {
  margin-top: 22px;
}

.lovegpt-nav-label {
  margin-left: 8px;
  color: #8a8a8a;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.lovegpt-lesson-list {
  gap: 3px;
}

.lovegpt-lesson {
  grid-template-columns: 26px minmax(0, 1fr) 16px;
  min-height: 43px;
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  color: #8b8b8b;
}

.lovegpt-lesson.active {
  border: 0;
  color: #202123;
  background: #e9e9eb;
}

.lovegpt-lesson.complete {
  color: #555555;
}

.lovegpt-lesson-number {
  color: #777777;
  font-family: inherit;
  font-size: 0.65rem;
}

.lovegpt-lesson strong {
  font-size: 0.7rem;
}

.lovegpt-lesson span {
  font-size: 0.56rem;
}

.lovegpt-prototype-note {
  padding: 12px 8px 0;
  border-top: 1px solid #e5e5e5;
  color: #8a8a8a;
  font-size: 0.58rem;
}

.lovegpt-prototype-note span {
  color: #555555;
  letter-spacing: 0.04em;
}

.lovegpt-main {
  background: #ffffff;
}

.lovegpt-topbar {
  min-height: 64px;
  padding: 12px 20px;
  border-bottom: 1px solid #ececec;
  background: #ffffff;
  backdrop-filter: none;
}

.lovegpt-model {
  gap: 10px;
}

.lovegpt-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #202123;
  box-shadow: none;
}

.lovegpt-avatar-core {
  color: #ffffff;
  font-family: inherit;
  font-size: 0.78rem;
}

.lovegpt-online-dot {
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-width: 2px;
  border-color: #ffffff;
  background: #19a463;
}

.lovegpt-model h1 {
  color: #202123;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
}

.lovegpt-model p {
  color: #777777;
  font-size: 0.61rem;
}

.lovegpt-live-dot {
  display: none;
}

button.lovegpt-reset {
  padding: 7px 10px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: #ffffff;
  color: #555555;
  font-size: 0.65rem;
}

button.lovegpt-reset:hover {
  border-color: #b9b9b9;
  background: #f7f7f7;
}

.lovegpt-chat {
  background: #ffffff;
}

.lovegpt-welcome {
  max-width: 620px;
  padding: 48px 30px;
}

.lovegpt-orbit {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 0;
  border-radius: 50%;
  background: #202123;
}

.lovegpt-orbit::before,
.lovegpt-orbit::after {
  content: none;
  animation: none;
}

.lovegpt-orbit > span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: none;
}

.lovegpt-welcome .eyebrow,
.lovegpt-finale .eyebrow {
  color: #777777;
  font-size: 0.63rem;
  letter-spacing: 0.06em;
}

.lovegpt-welcome h2 {
  margin: 7px auto 12px;
  color: #202123;
  font-family: inherit;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 650;
  line-height: 1.15;
}

.lovegpt-welcome > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 22px;
  color: #666666;
  font-size: 0.84rem;
  line-height: 1.65;
}

.lovegpt-welcome button,
.lovegpt-memory-card button {
  border-radius: 8px;
  background: #202123;
  box-shadow: none;
}

.lovegpt-welcome button:hover,
.lovegpt-memory-card button:hover {
  background: #000000;
  transform: none;
  box-shadow: none;
}

.lovegpt-thread {
  width: min(100%, 760px);
  padding: 30px 28px 26px;
}

.lovegpt-chapter {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #eeeeee;
  text-align: left;
}

.lovegpt-chapter-number {
  color: #888888;
  font-family: inherit;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.lovegpt-chapter h2 {
  margin: 5px 0 5px;
  color: #202123;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
}

.lovegpt-chapter p {
  color: #777777;
  font-size: 0.7rem;
}

.lovegpt-message {
  gap: 10px;
  margin: 21px 0;
  animation: none;
}

.lovegpt-message-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #202123;
  font-family: inherit;
  font-size: 0.65rem;
}

.lovegpt-bubble {
  max-width: min(84%, 600px);
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #303030;
  font-size: 0.86rem;
  line-height: 1.7;
  box-shadow: none;
}

.lovegpt-message.user .lovegpt-bubble {
  max-width: min(76%, 520px);
  padding: 10px 15px;
  border: 0;
  border-radius: 18px;
  background: #f1f1f1;
  color: #303030;
  box-shadow: none;
}

.lovegpt-typing {
  min-width: 48px;
  min-height: 28px;
}

.lovegpt-typing span {
  background: #888888;
}

.lovegpt-composer {
  padding: 10px 20px 14px;
  border-top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 22%);
}

.lovegpt-input-wrap {
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 8px;
  padding: 7px 7px 7px 16px;
  border: 1px solid #d8d8d8;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.lovegpt-input-wrap:focus-within {
  border-color: #bdbdbd;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.09);
}

.lovegpt-input-wrap textarea {
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 7px 0;
  color: #303030;
  font-size: 0.82rem;
}

.lovegpt-input-wrap textarea::placeholder {
  color: #8e8e8e;
}

.lovegpt-input-wrap button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #202123;
  font-size: 0.95rem;
}

.lovegpt-input-wrap button:hover {
  background: #000000;
  transform: none;
}

.lovegpt-composer > p {
  margin-top: 6px;
  color: #999999;
  font-size: 0.55rem;
}

.lovegpt-memory-overlay {
  padding: 20px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(3px);
  animation: none;
}

.lovegpt-memory-card {
  padding: 38px 38px 32px;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
  animation: none;
}

.lovegpt-memory-number {
  top: 18px;
  right: 22px;
  color: #e7e7e7;
  font-family: inherit;
  font-size: 2rem;
}

.lovegpt-memory-card .eyebrow {
  color: #777777;
  font-size: 0.6rem;
}

.lovegpt-memory-card h2 {
  margin: 7px 0 12px;
  color: #202123;
  font-family: inherit;
  font-size: 1.55rem;
}

.lovegpt-memory-photo {
  position: relative;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid #e7d5df;
  border-radius: 14px;
  background: #f6ebf1;
}

.lovegpt-memory-photo img {
  display: block;
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.lovegpt-memory-card > p:not(.eyebrow) {
  color: #666666;
  font-size: 0.82rem;
}

.lovegpt-memory-card blockquote {
  margin: 20px 0;
  padding: 15px 17px;
  border: 0;
  border-left: 3px solid #202123;
  border-radius: 0;
  background: #f7f7f7;
  color: #3c3c3c;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
}

.lovegpt-finale {
  max-width: 620px;
}

.lovegpt-finale-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #202123;
  font-family: inherit;
  font-size: 0.9rem;
  box-shadow: none;
}

.lovegpt-finale h2 {
  color: #202123;
  font-family: inherit;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.lovegpt-finale > p:not(.eyebrow) {
  color: #555555;
}

.lovegpt-finale blockquote {
  color: #303030;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
}

@media (max-width: 760px) {
  body.lovegpt-active {
    background: #ffffff;
  }

  .lovegpt-shell {
    grid-template-rows: 64px minmax(0, 1fr);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .lovegpt-sidebar {
    grid-template-columns: minmax(0, 1fr) 150px;
    padding: 10px 13px;
    border-right: 0;
    border-bottom: 1px solid #e5e5e5;
  }

  .lovegpt-brand-mark {
    width: 32px;
    height: 32px;
  }

  .lovegpt-understanding {
    padding: 7px 9px;
  }

  .lovegpt-topbar {
    min-height: 56px;
    padding: 9px 12px;
  }

  .lovegpt-thread {
    padding: 23px 14px 18px;
  }

  .lovegpt-chapter {
    margin-bottom: 22px;
  }

  .lovegpt-message {
    margin: 18px 0;
  }

  .lovegpt-bubble {
    max-width: 86%;
    font-size: 0.81rem;
  }

  .lovegpt-message.user .lovegpt-bubble {
    max-width: 82%;
  }

  .lovegpt-welcome {
    padding: 35px 22px;
  }

  .lovegpt-welcome h2 {
    font-size: 1.85rem;
  }

  .lovegpt-composer {
    padding: 8px 10px 10px;
  }

  .lovegpt-memory-card {
    padding: 32px 22px 24px;
  }
}

/* LoveGPT romantic palette */
body.lovegpt-active {
  background: #35172f;
}

.lovegpt-shell {
  border-color: #d8b8cc;
  background: #fff9fc;
}

.lovegpt-sidebar {
  color: #392233;
  border-color: #dec8d6;
  background: #f5eaf1;
}

.lovegpt-brand-mark,
.lovegpt-avatar,
.lovegpt-message-avatar,
.lovegpt-orbit,
.lovegpt-finale-mark {
  background: #6f315f;
}

.lovegpt-brand strong,
.lovegpt-model h1,
.lovegpt-welcome h2,
.lovegpt-chapter h2,
.lovegpt-memory-card h2,
.lovegpt-finale h2 {
  color: #3b2035;
}

.lovegpt-understanding {
  border-color: #ddc6d4;
  background: #fff9fc;
}

.lovegpt-understanding-copy strong {
  color: #702f5d;
}

.lovegpt-meter {
  background: #ead9e4;
}

.lovegpt-meter span {
  background: #bd3f65;
}

.lovegpt-lesson.active {
  color: #3b2035;
  background: #e8d4e1;
}

.lovegpt-lesson.complete,
.lovegpt-lesson-number {
  color: #79435f;
}

.lovegpt-prototype-note,
.lovegpt-sidebar nav {
  border-color: #dec8d6;
}

.lovegpt-main,
.lovegpt-topbar,
.lovegpt-chat {
  background: #fff9fc;
}

.lovegpt-topbar {
  border-color: #ebdce5;
}

.lovegpt-online-dot {
  border-color: #fff9fc;
  background: #c23f5b;
}

button.lovegpt-reset {
  border-color: #d7bdcc;
  background: #fff9fc;
  color: #6f405b;
}

button.lovegpt-reset:hover {
  border-color: #b985a3;
  background: #f8edf3;
}

.lovegpt-chapter {
  border-color: #ecdee6;
}

.lovegpt-bubble {
  color: #3f2c39;
}

.lovegpt-message.user .lovegpt-bubble {
  background: #efdae5;
  color: #462737;
}

.lovegpt-welcome button,
.lovegpt-memory-card button,
.lovegpt-input-wrap button {
  background: #71305f;
}

.lovegpt-welcome button:hover,
.lovegpt-memory-card button:hover,
.lovegpt-input-wrap button:hover {
  background: #572348;
}

.lovegpt-composer {
  background: linear-gradient(180deg, rgba(255, 249, 252, 0), #fff9fc 22%);
}

.lovegpt-input-wrap {
  border-color: #d8bdcc;
  background: #ffffff;
}

.lovegpt-input-wrap:focus-within {
  border-color: #a9577b;
}

.lovegpt-memory-overlay {
  background: rgba(58, 20, 48, 0.42);
}

.lovegpt-memory-card {
  border-color: #dec4d3;
  background: #fff9fc;
}

.lovegpt-memory-number {
  color: #ead8e3;
}

.lovegpt-memory-card blockquote {
  border-left-color: #bd3f65;
  background: #f7eaf1;
  color: #543244;
}

.lovegpt-finale blockquote {
  color: #8b3158;
}

@media (max-width: 760px) {
  body.lovegpt-active,
  .lovegpt-main,
  .lovegpt-topbar,
  .lovegpt-chat {
    background: #fff9fc;
  }

  .lovegpt-sidebar {
    border-color: #dec8d6;
  }
}

/* LoveGPT cute details */
body.lovegpt-active {
  background: #542047;
}

.lovegpt-shell {
  border-color: #e1bfd3;
  border-radius: 22px;
  box-shadow: 0 14px 45px rgba(68, 24, 57, 0.2);
}

.lovegpt-sidebar {
  background: #f8edf4;
}

.lovegpt-brand-mark {
  border-radius: 12px;
  background: #a33f6d;
  font-size: 1.2rem;
  font-weight: 700;
}

.lovegpt-brand span:last-child {
  color: #946d83;
}

.lovegpt-understanding {
  border-color: #ead0df;
  border-radius: 13px;
  background: #fff8fc;
}

.lovegpt-meter {
  height: 5px;
  background: #efdce7;
}

.lovegpt-meter span {
  background: #c83f68;
}

.lovegpt-lesson {
  border-radius: 11px;
}

.lovegpt-lesson.active {
  color: #4b243d;
  background: #ead5e2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.lovegpt-lesson-status {
  color: #bd3f67;
}

.lovegpt-main,
.lovegpt-topbar,
.lovegpt-chat {
  background: #fffafd;
}

.lovegpt-avatar,
.lovegpt-message-avatar,
.lovegpt-finale-mark {
  background: #8d3768;
  color: #ffffff;
}

.lovegpt-avatar-core {
  font-size: 1rem;
}

.lovegpt-online-dot {
  background: #d94a69;
}

.lovegpt-orbit {
  width: 54px;
  height: 54px;
  border: 1px solid #e9c6d8;
  background: #f7e3ee;
}

.lovegpt-orbit > span {
  color: #9f3868;
  font-size: 1.45rem;
}

.lovegpt-welcome .eyebrow {
  color: #a24973;
}

.lovegpt-welcome h2 {
  color: #442438;
}

.lovegpt-welcome > p:not(.eyebrow) {
  color: #78596b;
}

.lovegpt-chapter {
  border-color: #f0dfe8;
}

.lovegpt-chapter-number {
  color: #a7587d;
}

.lovegpt-message.assistant .lovegpt-bubble {
  padding: 11px 14px;
  border: 1px solid #f0dbe6;
  border-radius: 5px 16px 16px 16px;
  background: #fff4f9;
}

.lovegpt-streaming::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  border-radius: 2px;
  background: #b24f7b;
  vertical-align: -0.12em;
  animation: lovegpt-stream-cursor 0.8s steps(1, end) infinite;
}

@keyframes lovegpt-stream-cursor {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lovegpt-streaming::after {
    animation: none;
  }
}

.lovegpt-message.user .lovegpt-bubble {
  border-radius: 16px 5px 16px 16px;
  background: #edd6e3;
}

.lovegpt-composer {
  background: #fffafd;
}

.lovegpt-input-wrap {
  border-color: #e2c4d4;
  border-radius: 26px;
  box-shadow: 0 3px 12px rgba(93, 37, 75, 0.08);
}

.lovegpt-input-wrap:focus-within {
  border-color: #c16088;
  box-shadow: 0 0 0 3px rgba(193, 96, 136, 0.1);
}

.lovegpt-input-wrap button,
.lovegpt-welcome button,
.lovegpt-memory-card button {
  background: #963760;
}

.lovegpt-memory-card {
  border-color: #e8cddd;
  border-radius: 20px;
  background: #fffafd;
}

.lovegpt-memory-card::before {
  content: "♡";
  position: absolute;
  top: 16px;
  left: 20px;
  color: #c64c78;
  font-size: 1.1rem;
}

.lovegpt-memory-card blockquote {
  border-left-color: #c9426b;
  border-radius: 0 10px 10px 0;
  background: #f9edf4;
}

@media (max-width: 760px) {
  body.lovegpt-active {
    background: #fffafd;
  }

  .lovegpt-shell {
    border-radius: 0;
    box-shadow: none;
  }

  .lovegpt-message.assistant .lovegpt-bubble {
    padding: 10px 12px;
  }
}
