:root {
  --mulan: #8f1d2c;
  --paper: #fff8f2;
  --blush: #edc4c5;
  --jade: #425e50;
  --ink: #3b2422;
  --muted: #856f6b;
  --line: rgba(94, 48, 46, 0.12);
  --shadow: 0 26px 80px rgba(87, 43, 40, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 13% 10%, rgba(239, 188, 192, 0.38), transparent 29%),
    radial-gradient(circle at 85% 80%, rgba(207, 222, 209, 0.56), transparent 28%),
    #efe8df;
}

button,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(143, 29, 44, 0.22);
  outline-offset: 3px;
}

.prototype-shell {
  --accent: var(--mulan);
  --canvas: var(--paper);
  --petal: var(--blush);
  --leaf: var(--jade);
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(360px, 430px) minmax(280px, 440px);
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 82px);
  padding: 38px clamp(24px, 5vw, 80px);
  position: relative;
  isolation: isolate;
}

.prototype-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}

.ambient-branch {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  display: grid;
  place-items: center;
  opacity: 0.42;
  filter: saturate(0.8) blur(0.2px);
  pointer-events: none;
}

.ambient-branch.left {
  left: -120px;
  bottom: -90px;
  transform: rotate(-8deg);
}

.ambient-branch.right {
  right: -90px;
  top: -100px;
  transform: rotate(182deg);
}

.pitch-copy {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 460px;
}

.desktop-brand-name {
  margin: 0;
  color: color-mix(in srgb, var(--accent) 82%, var(--ink));
  font-family: "Noto Serif SC", serif;
  font-size: clamp(96px, 9vw, 168px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.1em;
  text-shadow: 0 18px 45px rgba(107, 46, 50, 0.08);
}

.phone-stage {
  width: min(100%, 408px, 44.5dvh);
  aspect-ratio: 390 / 844;
  display: flex;
  justify-content: center;
  justify-self: center;
}

.phone {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 9px;
  border: 2px solid rgba(56, 40, 37, 0.82);
  border-radius: 48px;
  background: #171413;
  box-shadow: var(--shadow), 0 2px 0 rgba(255, 255, 255, 0.65) inset;
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 20;
  width: 102px;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #181514;
}

.app-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 39px;
  background: var(--canvas);
  position: relative;
}

.status-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 16;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  color: rgba(52, 35, 33, 0.78);
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons i {
  display: block;
  width: 14px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 54px 22px 24px;
  background:
    radial-gradient(circle at 50% 33%, color-mix(in srgb, var(--petal) 30%, transparent), transparent 38%),
    linear-gradient(180deg, color-mix(in srgb, var(--canvas) 94%, white), var(--canvas));
  animation: screen-in 0.46s cubic-bezier(0.22, 0.76, 0.26, 1) both;
}

@keyframes screen-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

.screen[data-motion="克制"] {
  animation-duration: 0.16s;
}

.screen-top {
  min-height: 44px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}

.screen-top h2 {
  margin: 0;
  text-align: center;
  font-family: "Noto Serif SC", serif;
  font-size: 17px;
  font-weight: 700;
}

.icon-button,
.ghost-button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  cursor: pointer;
}

.icon-button:hover,
.ghost-button:hover {
  background: rgba(255, 255, 255, 0.9);
}

.icon-button svg,
.ghost-button svg {
  width: 20px;
  height: 20px;
}

.home-screen {
  padding-top: 62px;
}

.home-nav {
  min-height: 44px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}

.home-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--accent);
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  font-weight: 700;
}

.brand-mark {
  width: 25px;
  height: 25px;
}

.home-copy {
  margin-top: 24px;
  text-align: center;
}

.home-copy h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 31px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.home-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-flower {
  min-height: 166px;
  display: grid;
  place-items: center;
  margin-top: 4px;
  position: relative;
}

.home-flower::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 22px;
  bottom: 8px;
  border-radius: 50%;
  background: rgba(111, 73, 69, 0.1);
  filter: blur(12px);
}

.home-flower .magnolia-photo {
  z-index: 1;
}

.question-toolbar {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.shuffle-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  cursor: pointer;
}

.shuffle-button:hover {
  background: rgba(255, 255, 255, 0.9);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: auto;
}

.topic-card {
  min-height: 76px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(113, 73, 70, 0.12);
  border-radius: 18px;
  color: #664f4c;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.topic-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.8);
}

.topic-card.selected {
  border-color: color-mix(in srgb, var(--accent) 54%, transparent);
  color: var(--accent);
  background: color-mix(in srgb, var(--petal) 22%, white);
  box-shadow: 0 8px 18px rgba(112, 47, 53, 0.09);
}

.topic-card svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.topic-card span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.primary-button,
.secondary-button,
.record-button {
  min-height: 54px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.primary-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  border: 0;
  color: #fff9f5;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 88%, #4f0b16), var(--accent));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 22%, transparent), 0 1px 0 rgba(255, 255, 255, 0.24) inset;
  font-weight: 700;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--accent) 27%, transparent);
}

.primary-button:active,
.secondary-button:active,
.record-button:active {
  transform: scale(0.985);
}

.primary-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

.primary-button svg {
  width: 20px;
  height: 20px;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  color: #8c7772;
  font-size: 11px;
}

.privacy-note svg {
  width: 14px;
  height: 14px;
}

.question {
  min-height: 68px;
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.48;
  text-wrap: balance;
}

.agent-voice-card {
  min-height: 76px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 28px rgba(79, 48, 44, 0.06);
}

.agent-voice-orb {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 9%, transparent);
}

.agent-voice-orb svg {
  width: 21px;
  height: 21px;
}

.agent-voice-card.speaking .agent-voice-orb {
  animation: voice-orb-pulse 1.05s ease-in-out infinite alternate;
}

@keyframes voice-orb-pulse {
  to { transform: scale(1.08); box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 7%, transparent); }
}

.agent-voice-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.agent-voice-copy span {
  color: #8e7772;
  font-size: 10px;
}

.agent-voice-copy strong {
  color: #604a46;
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
}

.question-transcript {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, var(--petal) 12%, rgba(255, 255, 255, 0.76));
  box-shadow: 0 8px 24px rgba(79, 48, 44, 0.05);
}

.question-transcript span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.question-transcript p {
  margin: 0;
  color: #49312f;
  font-family: "Noto Serif SC", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.replay-question {
  min-width: 54px;
  min-height: 44px;
  display: grid;
  place-items: center;
  gap: 1px;
  border: 0;
  border-radius: 15px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, white);
  cursor: pointer;
}

.replay-question:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.replay-question svg {
  width: 16px;
  height: 16px;
}

.replay-question span {
  font-size: 9px;
}

.listening-flower {
  height: 184px;
  display: grid;
  place-items: center;
  position: relative;
  margin: 14px 0 18px;
}

.listening-rings {
  position: absolute;
  width: 162px;
  height: 162px;
  border: 1px solid color-mix(in srgb, var(--accent) 13%, transparent);
  border-radius: 50%;
}

.listening-rings::before,
.listening-rings::after {
  content: "";
  position: absolute;
  border: inherit;
  border-radius: inherit;
}

.listening-rings::before { inset: 18px; }
.listening-rings::after { inset: 38px; }

.listening-rings.recording {
  animation: listen-pulse 1.8s ease-out infinite;
}

@keyframes listen-pulse {
  0% { transform: scale(0.86); opacity: 0.85; }
  80%, 100% { transform: scale(1.18); opacity: 0; }
}

.waveform {
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--accent);
}

.waveform i {
  width: 2px;
  height: 7px;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.72;
}

.waveform.active i {
  animation: wave 0.72s ease-in-out infinite alternate;
}

.waveform.active i:nth-child(2n) { animation-delay: -0.28s; }
.waveform.active i:nth-child(3n) { animation-delay: -0.46s; }
.waveform i:nth-child(2n) { height: 15px; }
.waveform i:nth-child(3n) { height: 22px; }
.waveform i:nth-child(5n) { height: 11px; }

@keyframes wave {
  to { transform: scaleY(0.35); opacity: 0.42; }
}

.answer-area {
  width: 100%;
  min-height: 92px;
  resize: none;
  padding: 14px 15px;
  border: 1px solid rgba(102, 64, 60, 0.13);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
  outline: none;
}

.answer-area::placeholder {
  color: #a38e89;
}

.answer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.record-button {
  min-width: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.62);
}

.record-button.recording {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 10%, transparent);
}

.record-button svg {
  width: 18px;
  height: 18px;
}

.text-link {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  color: #84706c;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.voice-turn {
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 8px 14px 10px;
  border: 1px solid rgba(102, 64, 60, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.42);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.voice-turn.recording {
  background: color-mix(in srgb, var(--accent) 7%, white);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 6%, transparent);
}

.voice-turn.processing {
  background: color-mix(in srgb, var(--petal) 17%, white);
}

.voice-interview-screen {
  overflow-y: auto;
}

.voice-turn .waveform {
  height: 24px;
}

.voice-record-button {
  min-width: 150px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 0;
  border-radius: 99px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 25px color-mix(in srgb, var(--accent) 24%, transparent);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.voice-record-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px color-mix(in srgb, var(--accent) 28%, transparent);
}

.voice-record-button.recording {
  background: #6b3d3a;
  animation: record-button-pulse 1.2s ease-in-out infinite alternate;
}

.voice-record-button:disabled {
  opacity: 0.42;
  cursor: wait;
}

.voice-record-button svg {
  width: 19px;
  height: 19px;
}

@keyframes record-button-pulse {
  to { transform: scale(1.025); box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 9%, transparent); }
}

.interview-next {
  margin-top: auto;
}

.finish-interview {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 22px 1fr 18px;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 22px;
  color: #664744;
  background: color-mix(in srgb, var(--petal) 15%, rgba(255, 255, 255, 0.84));
  box-shadow: 0 9px 24px rgba(91, 43, 48, 0.08);
  cursor: pointer;
}

.finish-interview:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.78);
}

.finish-interview:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.finish-interview svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.finish-interview span {
  display: grid;
  gap: 3px;
  text-align: left;
}

.finish-interview strong {
  font-size: 14px;
  font-weight: 700;
}

.finish-interview small {
  color: #987f79;
  font-size: 11px;
}

.recording-hint {
  min-height: 18px;
  margin: 0;
  text-align: center;
  color: #8b7470;
  font-size: 11px;
}

.reveal-screen {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.reveal-screen h2 {
  margin: 18px 0 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 27px;
}

.reveal-screen p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.reveal-track {
  width: 220px;
  height: 4px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(92, 58, 55, 0.1);
}

.reveal-track i {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: reveal-scan 1.15s ease-in-out infinite alternate;
}

@keyframes reveal-scan {
  from { transform: translateX(-20%); }
  to { transform: translateX(145%); }
}

.result-screen {
  padding-left: 18px;
  padding-right: 18px;
  overflow-y: auto;
}

.story-draft-card {
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.story-draft-card.placeholder {
  border-style: dashed;
  background: color-mix(in srgb, var(--petal) 10%, rgba(255, 255, 255, 0.66));
}

.story-draft-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.story-draft-heading small {
  padding: 4px 8px;
  border-radius: 99px;
  color: #8b706b;
  background: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.story-draft-card h3 {
  margin: 9px 0 0;
  font-family: "Noto Serif SC", serif;
  font-size: 19px;
}

.story-draft-card p {
  margin: 7px 0 0;
  color: #806a65;
  font-size: 12px;
  line-height: 1.7;
}

.story-draft-card .story-draft-subtitle {
  margin-top: 8px;
  color: #654c48;
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  line-height: 1.72;
}

.story-draft-body {
  margin-top: 13px;
}

.story-draft-body p {
  margin: 0 0 11px;
  line-height: 1.85;
}

.story-draft-body strong {
  color: #49312f;
  font-weight: 700;
}

.story-draft-body blockquote {
  margin: 14px 0 0;
  padding: 13px 0 13px 14px;
  border-left: 3px solid var(--accent);
  color: #49312f;
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  line-height: 1.75;
}

.story-review-card {
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 23%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--petal) 13%, rgba(255, 255, 255, 0.78));
  box-shadow: 0 10px 26px rgba(79, 48, 44, 0.06);
}

.story-review-card.reviewed {
  border-color: color-mix(in srgb, var(--leaf) 28%, transparent);
  background: color-mix(in srgb, var(--leaf) 7%, rgba(255, 255, 255, 0.82));
}

.story-review-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.story-review-label svg,
.story-review-complete strong svg,
.review-accept svg {
  width: 14px;
  height: 14px;
}

.story-review-card h3 {
  margin: 8px 0 0;
  color: #49312f;
  font-family: "Noto Serif SC", serif;
  font-size: 17px;
  line-height: 1.55;
}

.story-review-card > p {
  margin: 4px 0 0;
  color: #806a65;
  font-size: 12px;
}

.story-review-actions {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8px;
  margin-top: 13px;
}

.story-review-actions button,
.story-review-editor button {
  min-height: 44px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.review-accept,
.review-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  color: #fff;
  background: var(--accent);
}

.review-adjust,
.review-cancel {
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.68);
}

.story-review-editor {
  margin-top: 13px;
}

.story-review-editor textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 12px 13px;
  border: 1px solid rgba(102, 64, 60, 0.16);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.story-review-editor > div {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8px;
  margin-top: 8px;
}

.story-review-complete {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
}

.story-review-complete strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--leaf);
  font-size: 12px;
}

.story-review-complete p {
  margin: 9px 0 0;
  color: #66514d;
  font-size: 12px;
  line-height: 1.7;
}

.story-review-complete p span {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
}

.story-review-complete button {
  margin-top: 9px;
  padding: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.result-flower-zone {
  height: 310px;
  display: grid;
  place-items: center;
  position: relative;
  margin-top: 1px;
}

.quality-chip {
  position: absolute;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 99px;
  color: #6d4e4b;
  background: rgba(255, 251, 247, 0.82);
  box-shadow: 0 7px 18px rgba(82, 48, 45, 0.08);
  font-size: 10px;
  font-weight: 600;
  animation: chip-in 0.45s both;
}

.quality-chip:nth-of-type(1) { top: 12px; left: 50%; transform: translateX(-50%); }
.quality-chip:nth-of-type(2) { top: 88px; right: 0; }
.quality-chip:nth-of-type(3) { bottom: 35px; right: 11px; }
.quality-chip:nth-of-type(4) { bottom: 35px; left: 11px; }
.quality-chip:nth-of-type(5) { top: 88px; left: 0; }

@keyframes chip-in {
  from { opacity: 0; scale: 0.8; }
  to { opacity: 1; scale: 1; }
}

.quality-chip svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.evidence-card {
  padding: 17px;
  border: 1px solid rgba(103, 68, 64, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 30px rgba(71, 44, 41, 0.07);
}

.evidence-card .label {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.evidence-card h3 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.evidence-card p {
  margin: 8px 0 0;
  color: #78625e;
  font-size: 12px;
  line-height: 1.65;
}

.audio-strip {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
}

.play-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
}

.play-button svg {
  width: 17px;
  height: 17px;
}

.audio-strip .time {
  color: #967e79;
  font-size: 10px;
}

.result-actions {
  margin-top: auto;
}

.quiet-action {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border: 0;
  color: #76615d;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.sea-screen {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 247, 240, 0.24), rgba(255, 247, 240, 0.96) 84%),
    linear-gradient(180deg, #f6dbd5, #e8d9d0 48%, #cfdbcf);
}

.sea-screen .screen-top {
  position: absolute;
  inset: 50px 18px auto;
  z-index: 8;
}

.sea-title {
  position: absolute;
  inset: 108px 22px auto;
  z-index: 7;
  text-align: center;
}

.sea-title h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 29px;
  line-height: 1.4;
}

.sea-title p {
  margin: 8px 0 0;
  color: #75615d;
  font-size: 12px;
}

.flower-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.flower-field::before {
  content: "";
  position: absolute;
  inset: 34% -10% -18%;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(160deg, #d9ddd0, #b5c6b7 72%);
  transform: rotate(-3deg);
}

.field-flower {
  position: absolute;
  z-index: 3;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 7px 10px rgba(84, 51, 47, 0.13));
  animation: field-sway 4.8s ease-in-out infinite alternate;
}

.field-flower:nth-child(2n) .magnolia-photo img {
  transform: translateY(var(--magnolia-rise)) scaleX(-1) scale(var(--magnolia-scale));
}

.field-flower:nth-child(3n) .magnolia-photo img {
  filter: saturate(0.82) brightness(1.04);
}

.field-flower.mine {
  z-index: 5;
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--accent) 54%, white));
}

@keyframes field-sway {
  from { rotate: -1.6deg; }
  to { rotate: 1.9deg; }
}

.mine-label {
  position: absolute;
  left: 50%;
  bottom: 194px;
  z-index: 7;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 99px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 9px 22px color-mix(in srgb, var(--accent) 24%, transparent);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.sea-story {
  position: absolute;
  z-index: 6;
  max-width: 132px;
  padding: 9px 11px;
  border: 1px solid rgba(95, 59, 56, 0.08);
  border-radius: 13px;
  color: #69524f;
  background: rgba(255, 252, 248, 0.76);
  box-shadow: 0 9px 20px rgba(73, 43, 40, 0.07);
  backdrop-filter: blur(8px);
  font-size: 10px;
  line-height: 1.5;
}

.sea-story.one { left: 18px; top: 260px; }
.sea-story.two { right: 16px; top: 324px; }
.sea-story.three { left: 34px; top: 430px; }

.sea-bottom {
  position: absolute;
  inset: auto 18px 22px;
  z-index: 8;
  padding: 13px;
  border: 1px solid rgba(94, 60, 56, 0.09);
  border-radius: 22px;
  background: rgba(255, 251, 247, 0.78);
  box-shadow: 0 14px 32px rgba(65, 42, 39, 0.1);
  backdrop-filter: blur(14px);
}

.sea-added {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sea-added strong {
  display: block;
  font-size: 12px;
}

.sea-added span {
  display: block;
  margin-top: 2px;
  color: #89726d;
  font-size: 10px;
}

.sea-added .mini-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.sea-bottom .primary-button {
  min-height: 48px;
  margin-top: 11px;
}

.side-notes {
  align-self: center;
  display: flex;
  align-items: center;
  max-width: 440px;
}

.desktop-slogan {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(34px, 3.1vw, 52px);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.desktop-slogan em {
  color: var(--accent);
  font-style: normal;
}

.magnolia-photo {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  overflow: visible;
  isolation: isolate;
}

.magnolia-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: var(--magnolia-opacity);
  transform: translateY(var(--magnolia-rise)) scale(var(--magnolia-scale));
  transform-origin: 50% 86%;
  transition: transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1), opacity 0.55s ease;
  user-select: none;
  pointer-events: none;
}

.magnolia-photo.glow img {
  filter: drop-shadow(0 0 16px rgba(255, 239, 224, 0.96)) drop-shadow(0 10px 14px rgba(100, 60, 53, 0.13));
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 100;
  transform: translateX(-50%);
  padding: 11px 16px;
  border-radius: 99px;
  color: #fff;
  background: rgba(49, 33, 31, 0.88);
  box-shadow: 0 12px 30px rgba(33, 22, 21, 0.23);
  font-size: 12px;
  animation: toast-in 0.28s ease both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 1120px) {
  .prototype-shell {
    grid-template-columns: minmax(300px, 430px) minmax(360px, 420px);
  }

  .side-notes {
    display: none;
  }
}

@media (max-height: 860px) and (min-width: 781px) {
  .prototype-shell {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .home-screen {
    padding-top: 54px;
    padding-bottom: 18px;
  }

  .home-copy {
    margin-top: 14px;
  }

  .home-copy p {
    margin-top: 8px;
    line-height: 1.55;
  }

  .home-flower {
    min-height: 132px;
    margin-top: 0;
  }

  .home-flower .magnolia-photo {
    width: 132px !important;
    height: 143px !important;
  }

  .question-toolbar {
    margin-bottom: 6px;
  }

  .topic-grid {
    gap: 8px;
  }

  .topic-card {
    min-height: 72px;
    padding: 10px;
  }

  .home-screen .primary-button {
    min-height: 52px;
    margin-top: 10px;
  }

  .home-screen .privacy-note {
    margin-top: 6px;
  }
}

@media (max-width: 780px) {
  body {
    background: var(--paper);
  }

  .prototype-shell {
    display: block;
    min-height: 100dvh;
    padding: 0;
  }

  .pitch-copy,
  .side-notes,
  .ambient-branch {
    display: none;
  }

  .phone-stage,
  .phone {
    width: 100%;
    aspect-ratio: auto;
    min-height: 100dvh;
    height: 100dvh;
  }

  .phone {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .phone::before {
    display: none;
  }

  .app-viewport {
    border-radius: 0;
  }

  .screen {
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
}

@media (max-height: 720px) and (max-width: 780px) {
  .home-screen {
    padding-top: max(48px, env(safe-area-inset-top));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .home-copy {
    margin-top: 10px;
  }

  .home-copy h2 {
    font-size: 27px;
    line-height: 1.28;
  }

  .home-copy p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  .home-flower {
    min-height: 112px;
    margin-top: 0;
  }

  .home-flower .magnolia-photo {
    width: 126px !important;
    height: 136px !important;
  }

  .question-toolbar {
    min-height: 28px;
    margin-bottom: 4px;
  }

  .topic-grid {
    gap: 7px;
  }

  .topic-card {
    min-height: 64px;
    gap: 8px;
    padding: 9px;
  }

  .topic-card span {
    font-size: 12px;
    line-height: 1.35;
  }

  .home-screen .primary-button {
    min-height: 50px;
    margin-top: 8px;
  }

  .home-screen .privacy-note {
    margin-top: 5px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
