:root {
  --bg: #f7f1e8;
  --paper: #fffaf2;
  --paper-soft: #efe4d5;
  --text: #2e2923;
  --muted: #817468;
  --faint: #b8aa9b;
  --line: rgba(136, 113, 92, 0.22);
  --line-strong: rgba(136, 113, 92, 0.38);
  --accent: #8b6a4e;
  --accent-soft: #cdb79f;
  --mist: rgba(210, 192, 174, 0.3);
  --rose-mist: rgba(198, 165, 156, 0.18);
  --header-height: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(205, 183, 159, 0.28), transparent 32rem),
    radial-gradient(circle at 84% 42%, rgba(198, 165, 156, 0.14), transparent 30rem),
    linear-gradient(180deg, #f8f2e9 0%, #f4eadf 48%, #f7f1e8 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.9;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.48;
  background-image:
    repeating-linear-gradient(0deg, rgba(46, 41, 35, 0.026), rgba(46, 41, 35, 0.026) 1px, transparent 1px, transparent 5px),
    radial-gradient(circle at center, rgba(46, 41, 35, 0.035) 0 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px;
}

body.cover-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 70px);
  background: rgba(247, 241, 232, 0.88);
  border-bottom: 1px solid rgba(136, 113, 92, 0.16);
  backdrop-filter: blur(10px);
}

.brand,
.hero-title,
h1,
h2,
h3,
.thread-stage-index,
.thread-count,
.section-kicker,
.section-number {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.brand {
  font-size: 19px;
  line-height: 1;
}

.public-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px clamp(14px, 2.2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

.public-nav a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.public-nav a:hover,
.public-nav a:focus-visible {
  color: var(--text);
  border-color: var(--accent-soft);
  outline: none;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 13;
  width: 560px;
  height: 560px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(248, 242, 232, 0.34) 0%, rgba(216, 198, 177, 0.22) 36%, rgba(184, 146, 128, 0.16) 54%, transparent 73%);
  filter: blur(42px);
  transform: translate(var(--cursor-glow-x, 50vw), var(--cursor-glow-y, 50vh)) translate(-50%, -50%);
  transition: opacity 260ms ease;
}

body.cover-active .cursor-glow {
  opacity: 0.9;
}

body.cover-glow-left .cursor-glow {
  opacity: 0;
}

body.cover-opened .cursor-glow {
  opacity: 0.16;
}

.cover-gate {
  position: fixed;
  inset: 0;
  z-index: 12;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 241, 232, 0.78) 0%, rgba(247, 241, 232, 0.56) 24%, rgba(247, 241, 232, 0.12) 50%, rgba(247, 241, 232, 0) 68%),
    linear-gradient(0deg, rgba(46, 41, 35, 0.08), rgba(46, 41, 35, 0.01) 42%),
    url("../assets/images/hero/hero-main.png") center right / cover no-repeat,
    var(--bg);
  transition: opacity 560ms ease, transform 560ms ease;
}

body.cover-opened .cover-gate {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-24px);
}

body.cover-dismissed .cover-gate {
  display: none;
}

.cover-copy {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2 - 18px));
  top: 53%;
  width: min(500px, calc(100% - 48px));
  transform: translateY(-38%);
}

.section-kicker,
.section-number {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
}

.hero-title {
  margin: 0;
  font-size: clamp(46px, 7.4vw, 82px);
  line-height: 0.96;
}

.cover-copy > p:not(.section-kicker) {
  margin: 24px 0 30px;
  color: #4e463d;
  font-size: clamp(18px, 2.1vw, 24px);
}

.soft-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  color: var(--text);
  background: rgba(255, 250, 242, 0.76);
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.soft-button:hover,
.soft-button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
  background: #fff8ed;
  border-color: var(--accent);
  outline: none;
}

.narrative-section {
  position: relative;
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(78px, 11vw, 150px) 0;
}

.origin-section {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
}

.origin-copy {
  max-width: 760px;
  margin-left: clamp(0px, 6vw, 80px);
}

.ghost-word {
  position: absolute;
  right: clamp(0px, 4vw, 42px);
  top: 18%;
  z-index: -1;
  color: rgba(139, 106, 78, 0.07);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(68px, 15vw, 190px);
  line-height: 0.9;
  white-space: nowrap;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
}

p {
  margin-top: 0;
}

.origin-copy p:not(.section-number),
.section-intro p:last-child,
.ending-copy p,
.together-text {
  color: #554c43;
  font-size: clamp(18px, 2vw, 23px);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-intro {
  max-width: 760px;
  margin-bottom: clamp(36px, 6vw, 70px);
}

.threads-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(360px, 0.42fr);
  gap: clamp(56px, 5vw, 80px);
  align-items: start;
  width: min(1160px, 100%);
  margin: clamp(44px, 7vh, 84px) auto 0;
}

.thread-stage {
  position: sticky;
  top: calc(var(--header-height) + 6vh);
  width: 100%;
  max-width: 520px;
  min-height: clamp(420px, 62vh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
}

.thread-image-frame {
  position: relative;
  width: 100%;
  height: clamp(420px, 62vh, 620px);
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.72), rgba(239, 228, 213, 0.76)),
    var(--paper-soft);
  border: 1px solid rgba(136, 113, 92, 0.12);
  box-shadow: 0 20px 48px rgba(46, 41, 35, 0.055);
}

.desk-scene::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  width: 66px;
  height: 18px;
  background: rgba(205, 183, 159, 0.56);
  border: 1px solid rgba(139, 106, 78, 0.1);
  transform: rotate(-4deg);
}

.thread-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
  transition: opacity 360ms ease, transform 520ms ease;
}

.thread-image-frame.is-changing img {
  opacity: 0;
  transform: scale(1.015) translateY(8px);
}

.thread-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.thread-steps {
  display: grid;
  gap: clamp(36px, 6vh, 72px);
  padding: 8vh 0 14vh;
}

.thread-step {
  min-height: clamp(460px, 69vh, 700px);
  display: grid;
  align-content: center;
  padding: clamp(18px, 3vw, 36px) 0;
  border-left: 0;
  opacity: 0.48;
  transform: translateY(18px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.thread-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.thread-count {
  margin: 0 0 12px;
  color: var(--accent);
}

.thread-step p {
  max-width: 500px;
  color: #574e45;
  font-size: 17px;
}

.solo-notes {
  max-width: 650px;
  margin: 24px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.solo-notes p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 15px;
}

.keyword-line {
  color: var(--accent);
  font-size: 14px;
}

.together-section {
  position: relative;
  min-height: 800vh;
}

.together-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 53fr) minmax(330px, 42fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  width: min(1260px, calc(100% - 44px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 26px) 0 44px;
}

.together-visual {
  position: relative;
  height: min(72vh, 700px);
  min-height: 540px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.72), rgba(239, 228, 213, 0.72)),
    var(--paper-soft);
  border: 1px solid rgba(136, 113, 92, 0.14);
  box-shadow: 0 18px 44px rgba(46, 41, 35, 0.06);
}

.together-visual.has-support {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.together-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
  transition: opacity 360ms ease, transform 560ms ease;
}

.together-visual.is-intro-frame img:not(.supporting-photo) {
  filter: saturate(0.72) contrast(0.92);
  opacity: 0.58;
  transform: scale(1.035);
}

.together-visual.has-support img:not(.supporting-photo) {
  position: absolute;
  left: 0;
  top: 6%;
  width: 58%;
  height: 72%;
  min-height: 0;
  object-fit: cover;
  border: 1px solid rgba(136, 113, 92, 0.16);
  box-shadow: 0 18px 40px rgba(46, 41, 35, 0.08);
  transform: rotate(-1.2deg);
  transform-origin: center center;
}

.together-visual.is-changing img:not(.supporting-photo) {
  opacity: 0;
  transform: scale(1.018) translateY(8px);
}

.supporting-photo {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  width: min(46%, 320px);
  min-height: 230px !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 250, 242, 0.72);
  box-shadow: 0 12px 26px rgba(46, 41, 35, 0.12);
  object-fit: cover;
  transform: rotate(1.5deg);
}

.together-visual.has-support .supporting-photo {
  position: absolute;
  right: 0;
  bottom: 6%;
  width: 58%;
  height: 72%;
  min-height: 0 !important;
  object-fit: cover;
  border: 1px solid rgba(255, 250, 242, 0.72);
  box-shadow: 0 20px 42px rgba(46, 41, 35, 0.12);
  transform: rotate(1.4deg);
}

.together-copy {
  max-width: 520px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms ease, transform 360ms ease;
}

.together-copy.is-changing {
  opacity: 0;
  transform: translateY(10px);
}

.together-text {
  white-space: pre-line;
}

.together-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.progress-line {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.progress-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--accent);
  transition: width 320ms ease;
}

.together-mobile-flow {
  display: none;
}

.desk-section {
  padding-top: clamp(94px, 13vw, 170px);
}

.desk-scene {
  position: relative;
  overflow: hidden;
  background: rgba(255, 250, 242, 0.48);
  border: 1px solid var(--line);
}

.desk-scene img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.desk-hotspot {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 250, 242, 0);
  background: rgba(255, 250, 242, 0.01);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.desk-hotspot::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(205, 183, 159, 0);
  border-radius: 10px;
  transition: border-color 180ms ease;
}

.desk-hotspot span {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  color: #53483d;
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  font-size: 13px;
  line-height: 1.5;
}

.desk-hotspot:hover,
.desk-hotspot:focus-visible {
  background: rgba(255, 250, 242, 0.08);
  border-color: rgba(205, 183, 159, 0.76);
  box-shadow: 0 0 28px rgba(224, 206, 184, 0.22);
  outline: none;
}

.desk-hotspot:hover::before,
.desk-hotspot:focus-visible::before {
  border-color: rgba(139, 106, 78, 0.2);
}

.desk-hotspot:hover span,
.desk-hotspot:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.hotspot-computer {
  left: 28%;
  top: 21%;
  width: 30%;
  height: 28%;
}

.hotspot-phone {
  left: 64%;
  top: 48%;
  width: 12%;
  height: 22%;
}

.hotspot-manuscript {
  left: 17%;
  top: 61%;
  width: 25%;
  height: 20%;
}

.hotspot-ai {
  left: 58%;
  top: 18%;
  width: 18%;
  height: 16%;
}

.ending-section {
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.ending-copy {
  max-width: 680px;
}

.still-growing {
  margin-top: 34px;
  padding: 5px 8px;
  color: rgba(129, 116, 104, 0.68);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(136, 113, 92, 0.18);
  cursor: default;
}

.still-growing:hover,
.still-growing:focus-visible,
.footer-secret:hover,
.footer-secret:focus-visible {
  color: var(--accent);
  outline: none;
}

.site-footer {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
  padding: 36px 0 54px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-secret {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: default;
}

.secret-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(46, 41, 35, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.secret-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.secret-card {
  position: relative;
  width: min(420px, 100%);
  padding: 32px 28px 28px;
  background: #fffaf2;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px rgba(46, 41, 35, 0.11);
  transform: rotate(-1deg);
}

.secret-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 34px;
  width: 74px;
  height: 24px;
  background: rgba(205, 183, 159, 0.55);
  border: 1px solid rgba(139, 106, 78, 0.12);
  transform: rotate(4deg);
}

.secret-card h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.secret-description {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

#secret-code {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(251, 248, 241, 0.85);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.secret-message {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--accent);
}

.page-main,
.hidden-page {
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
  padding: 12vh 0;
}

.page-title h1,
.hidden-page h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.lab-page {
  min-height: 100vh;
}

.lab-header {
  position: sticky;
}

.lab-main {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) 0 88px;
}

.lab-hero {
  max-width: 760px;
  margin-bottom: clamp(42px, 7vw, 78px);
}

.lab-hero h1,
.placeholder-main h1 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.05;
}

.lab-hero p:not(.section-kicker),
.placeholder-main p:not(.section-kicker) {
  color: #554c43;
  font-size: clamp(18px, 2vw, 22px);
}

.lab-hero .text-link {
  margin-top: 18px;
}

.lab-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lab-tool-card {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: rgba(255, 250, 242, 0.62);
  border: 1px solid rgba(136, 113, 92, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lab-tool-card:hover,
.lab-tool-card:focus-within {
  transform: translateY(-3px);
  background: rgba(255, 250, 242, 0.78);
  border-color: rgba(136, 113, 92, 0.38);
}

.tool-number {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.lab-tool-card h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
}

.tool-subtitle {
  margin: 0 0 22px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.lab-tool-card p:not(.tool-number):not(.tool-subtitle) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}

.tool-status {
  display: inline-flex;
  padding: 4px 10px;
  color: var(--accent);
  border: 1px solid rgba(136, 113, 92, 0.28);
  border-radius: 999px;
  font-size: 13px;
}

.tool-link {
  color: var(--text);
  border-bottom: 1px solid rgba(136, 113, 92, 0.34);
  font-size: 14px;
  transition: color 180ms ease, border-color 180ms ease;
}

.tool-link:hover,
.tool-link:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.placeholder-main {
  min-height: 100vh;
  display: grid;
  align-content: center;
  width: min(760px, calc(100% - 44px));
  margin: 0 auto;
  padding: 80px 0;
}

.placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

@media (max-width: 900px) {
  :root {
    --header-height: 112px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
  }

  .public-nav {
    justify-content: flex-start;
  }

  .cover-gate {
    background:
      linear-gradient(180deg, rgba(247, 241, 232, 0.58) 0%, rgba(247, 241, 232, 0.22) 48%, rgba(46, 41, 35, 0.16) 100%),
      linear-gradient(90deg, rgba(247, 241, 232, 0.72), rgba(247, 241, 232, 0.08) 74%),
      url("../assets/images/hero/hero-main.png") center center / cover no-repeat,
      var(--bg);
  }

  .cover-copy {
    left: 22px;
    top: auto;
    bottom: 12vh;
    transform: none;
  }

  .threads-layout,
  .together-pin {
    grid-template-columns: 1fr;
  }

  .thread-stage {
    position: relative;
    top: auto;
    min-height: 0;
    display: none;
  }

  .thread-steps {
    gap: 34px;
    padding: 0;
  }

  .thread-step {
    min-height: 0;
    padding: 0 0 42px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
    transform: none;
  }

  .thread-step::before {
    content: "";
    display: block;
    min-height: 280px;
    margin-bottom: 22px;
    background:
      linear-gradient(135deg, rgba(255, 250, 242, 0.72), rgba(239, 228, 213, 0.76)),
      var(--thread-mobile-image) center / cover no-repeat,
      var(--paper-soft);
    border: 1px solid var(--line);
  }

  .thread-step:nth-child(1) { --thread-mobile-image: url("../assets/images/threads/thread-travel.png"); }
  .thread-step:nth-child(2) { --thread-mobile-image: url("../assets/images/threads/thread-football.png"); }
  .thread-step:nth-child(3) { --thread-mobile-image: url("../assets/images/threads/thread-glimmer.png"); }
  .thread-step:nth-child(4) { --thread-mobile-image: url("../assets/images/threads/thread-ai-workflow.png"); }
  .thread-step:nth-child(5) { --thread-mobile-image: url("../assets/images/threads/thread-architecture.png"); }
  .thread-step:nth-child(6) { --thread-mobile-image: url("../assets/images/threads/thread-writing.png"); }
  .thread-step:nth-child(7) { --thread-mobile-image: url("../assets/images/threads/thread-game.png"); }
  .thread-step:nth-child(8) { --thread-mobile-image: url("../assets/images/threads/thread-guoxue.png"); }

  .together-section {
    min-height: auto;
    height: auto !important;
  }

  .together-pin {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    padding: 72px 0;
  }

  .together-mobile-flow {
    display: grid;
    gap: 58px;
    width: min(100% - 44px, 1160px);
    margin: 0 auto;
    padding: 0 0 86px;
  }

  .together-mobile-flow article {
    padding-bottom: 38px;
    border-bottom: 1px solid var(--line);
  }

  .together-mobile-flow article > img:first-child {
    width: 100%;
    min-height: 280px;
    margin-bottom: 22px;
    object-fit: cover;
    border: 1px solid var(--line);
  }

  .mobile-supporting-photo {
    width: min(72%, 360px);
    min-height: 180px;
    margin: -42px 18px 24px auto;
    object-fit: cover;
    border: 1px solid rgba(255, 250, 242, 0.72);
    transform: rotate(2deg);
  }

  .together-visual,
  .together-visual img {
    min-height: 360px;
  }

  .together-visual.has-support {
    height: auto;
    min-height: 0;
    display: grid;
    gap: 18px;
  }

  .together-visual.has-support img:not(.supporting-photo),
  .together-visual.has-support .supporting-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 260px !important;
    aspect-ratio: 4 / 3;
    transform: none;
  }

  .desk-scene img {
    min-height: 360px;
  }

  .lab-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 126px;
  }

  .narrative-section,
  .together-pin,
  .together-mobile-flow,
  .site-footer,
  .page-main,
  .hidden-page,
  .lab-main,
  .placeholder-main {
    width: min(100% - 28px, 1160px);
  }

  .hero-title {
    font-size: 42px;
  }

  .ghost-word {
    display: none;
  }

  .origin-copy {
    margin-left: 0;
  }

  .thread-step::before {
    min-height: 220px;
  }

  .together-visual,
  .together-visual img {
    min-height: 300px;
  }

  .supporting-photo {
    right: 14px;
    bottom: 14px;
    width: min(50%, 260px);
    min-height: 160px !important;
  }

  .desk-scene img {
    min-height: 300px;
  }

  .desk-hotspot span {
    max-width: 170px;
    white-space: normal;
  }
}

/* ============================================================
   workflow-a1 — 建筑排版图工作流提交页
   ============================================================ */

.workflow-a1-main {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) 0 88px;
}

.workflow-hero {
  max-width: 760px;
  margin-bottom: clamp(42px, 7vw, 68px);
}

.workflow-hero h1 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.05;
}

.workflow-hero .tool-subtitle {
  margin: 0 0 22px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.workflow-hero p:not(.section-kicker):not(.tool-subtitle) {
  color: #554c43;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
}

/* ---- 表单区 ---- */

.workflow-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin-bottom: 36px;
}

.workflow-form-group {
  padding: 18px 20px;
  background: rgba(255, 250, 242, 0.56);
  border: 1px solid rgba(136, 113, 92, 0.14);
  border-radius: 10px;
  transition: border-color 180ms ease, background 180ms ease;
}

.workflow-form-group:hover {
  border-color: rgba(136, 113, 92, 0.22);
}

.workflow-form-group--full {
  grid-column: 1 / -1;
}

.workflow-form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.field-required {
  color: var(--accent);
}

.field-hint {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.workflow-form-group input[type="text"],
.workflow-form-group select,
.workflow-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  resize: vertical;
  outline: none;
  box-shadow: none;
}

.workflow-form-group input[type="text"]:focus,
.workflow-form-group select:focus,
.workflow-form-group textarea:focus {
  border-color: var(--accent-soft);
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 0 0 3px rgba(205, 183, 159, 0.14);
}

.workflow-form-group input[type="text"]::placeholder,
.workflow-form-group textarea::placeholder {
  color: var(--faint);
}

.workflow-form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath fill='%23817468' d='M0 0h12L6 7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.workflow-form-group textarea {
  min-height: 100px;
}

/* 多行 URL 区域留更高空间 */
.workflow-form-group textarea[name="white_model_urls"],
.workflow-form-group textarea[name="site_plan_sketch_urls"],
.workflow-form-group textarea[name="floor_plan_sketch_urls"],
.workflow-form-group textarea[name="style_reference_urls"],
.workflow-form-group textarea[name="site_context_image_urls"],
.workflow-form-group textarea[name="other_reference_urls"] {
  min-height: 120px;
}

/* 文件上传输入框 */
.workflow-file-input {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 10px;
  color: var(--text);
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  outline: none;
}

.workflow-file-input:hover,
.workflow-file-input:focus {
  border-color: var(--accent-soft);
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 0 0 3px rgba(205, 183, 159, 0.14);
}

.workflow-file-input::file-selector-button {
  padding: 6px 16px;
  margin-right: 12px;
  color: var(--text);
  background: rgba(205, 183, 159, 0.18);
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 180ms ease;
}

.workflow-file-input::file-selector-button:hover {
  background: rgba(205, 183, 159, 0.32);
}

/* ---- 按钮区 ---- */

.workflow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

/* ---- Webhook 配置卡片 ---- */

.workflow-config-card {
  margin-bottom: 32px;
  padding: 22px 24px;
  background: rgba(240, 234, 222, 0.44);
  border: 1px solid rgba(136, 113, 92, 0.12);
  border-left: 3px solid var(--accent-soft);
  border-radius: 0 10px 10px 0;
}

.workflow-config-title {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--accent);
}

.workflow-config-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.workflow-config-input {
  flex: 1 1 360px;
  min-width: 260px;
  padding: 10px 14px;
  color: var(--text);
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.workflow-config-input:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(205, 183, 159, 0.14);
}

.workflow-config-input::placeholder {
  color: var(--faint);
}

.soft-button--small {
  padding: 8px 18px;
  font-size: 13px;
}

.workflow-config-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ---- 文件列表 UI ---- */

.selected-file-list {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(240, 234, 222, 0.38);
  border: 1px solid rgba(136, 113, 92, 0.08);
  border-radius: 8px;
}

.selected-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 150ms ease;
}

.selected-file-item + .selected-file-item {
  margin-top: 4px;
}

.selected-file-item:hover {
  background: rgba(255, 250, 242, 0.56);
}

.selected-file-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-file-size {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Menlo", monospace;
}

.selected-file-remove {
  flex-shrink: 0;
  padding: 2px 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(136, 113, 92, 0.16);
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.selected-file-remove:hover {
  color: #8b4e43;
  border-color: rgba(198, 165, 156, 0.45);
  background: rgba(198, 165, 156, 0.09);
}

.soft-button--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.soft-button--ghost:hover,
.soft-button--ghost:focus-visible {
  background: rgba(255, 250, 242, 0.52);
  border-color: var(--line-strong);
  color: var(--text);
}

/* ---- 状态反馈区 ---- */

.workflow-status {
  margin-bottom: 24px;
  padding: 14px 18px;
  border-left: 3px solid var(--line);
  background: rgba(255, 250, 242, 0.42);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--muted);
  transition: border-color 180ms ease, background 180ms ease;
}

.workflow-status.is-info {
  border-color: var(--accent-soft);
  color: var(--accent);
}

.workflow-status.is-success {
  border-color: var(--accent-soft);
  background: rgba(205, 183, 159, 0.1);
  color: var(--text);
}

.workflow-status.is-error {
  border-color: rgba(198, 165, 156, 0.55);
  background: rgba(198, 165, 156, 0.07);
  color: #8b4e43;
}

.workflow-status-text {
  margin: 0;
}

/* ---- JSON 预览区 ---- */

.workflow-preview {
  margin-bottom: 28px;
  padding: 22px 24px;
  background: rgba(240, 234, 222, 0.48);
  border: 1px solid rgba(136, 113, 92, 0.12);
  border-radius: 10px;
}

.workflow-preview-title {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--accent);
}

.workflow-preview pre {
  margin: 0;
  padding: 18px 20px;
  max-height: 420px;
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid rgba(136, 113, 92, 0.1);
  border-radius: 8px;
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Menlo", monospace;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ---- 返回结果区 ---- */

.workflow-result {
  margin-bottom: 28px;
  padding: 22px 24px;
  background: rgba(240, 234, 222, 0.48);
  border: 1px solid rgba(136, 113, 92, 0.12);
  border-radius: 10px;
}

.workflow-result-title {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--accent);
}

.workflow-result-body pre {
  margin: 0;
  padding: 18px 20px;
  max-height: 420px;
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid rgba(136, 113, 92, 0.1);
  border-radius: 8px;
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Menlo", monospace;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.workflow-result-message {
  margin: 0;
  padding: 14px 18px;
  background: rgba(255, 250, 242, 0.56);
  border: 1px solid rgba(136, 113, 92, 0.1);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- 响应式 ---- */

@media (max-width: 720px) {
  .workflow-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .workflow-form-group {
    padding: 14px 16px;
  }

  .workflow-form-group textarea[name="task_book_urls"],
  .workflow-form-group textarea[name="white_model_urls"],
  .workflow-form-group textarea[name="site_plan_sketch_urls"],
  .workflow-form-group textarea[name="floor_plan_sketch_urls"],
  .workflow-form-group textarea[name="style_reference_urls"],
  .workflow-form-group textarea[name="site_context_image_urls"],
  .workflow-form-group textarea[name="other_reference_urls"] {
    min-height: 100px;
  }

  .workflow-actions {
    flex-direction: column;
  }

  .workflow-actions .soft-button {
    width: 100%;
  }

  .workflow-preview pre,
  .workflow-result-body pre {
    font-size: 12px;
    padding: 14px 16px;
  }
}

/* ============================================================
   workflow-image2 — Image2 生图工作流提交页
   ============================================================ */

.workflow-image2-main {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) 0 88px;
}

.workflow-image2-main .workflow-hero {
  max-width: 760px;
  margin-bottom: clamp(42px, 7vw, 68px);
}

.workflow-image2-main .workflow-hero h1 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.05;
}

.workflow-image2-main .workflow-hero .tool-subtitle {
  margin: 0 0 22px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.workflow-image2-main .workflow-hero p:not(.section-kicker):not(.tool-subtitle) {
  color: #554c43;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
}

/* ---- 图片上传 & 缩略图预览 ---- */

.img2-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.img2-preview-card {
  position: relative;
  padding: 10px;
  background: rgba(255, 250, 242, 0.68);
  border: 1px solid rgba(136, 113, 92, 0.16);
  border-radius: 10px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.img2-preview-card:hover {
  border-color: rgba(136, 113, 92, 0.28);
  transform: translateY(-2px);
}

.img2-preview-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--paper-soft);
  border: 1px solid rgba(136, 113, 92, 0.08);
}

.img2-preview-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.img2-preview-name {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.img2-preview-size {
  font-size: 11px;
  color: var(--muted);
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Menlo", monospace;
}

.img2-preview-remove {
  margin-top: 8px;
  width: 100%;
  padding: 5px 0;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(136, 113, 92, 0.16);
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.img2-preview-remove:hover {
  color: #8b4e43;
  border-color: rgba(198, 165, 156, 0.45);
  background: rgba(198, 165, 156, 0.09);
}

/* ---- 结果展示区 — image2 专用 ---- */

.img2-result-status {
  margin: 0 0 14px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-family: Georgia, "Times New Roman", serif;
}

.img2-result-success {
  background: rgba(205, 183, 159, 0.12);
  color: var(--accent);
  border: 1px solid rgba(205, 183, 159, 0.28);
}

.img2-result-error {
  background: rgba(198, 165, 156, 0.08);
  color: #8b4e43;
  border: 1px solid rgba(198, 165, 156, 0.28);
}

.img2-result-message {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: rgba(240, 234, 222, 0.38);
  border: 1px solid rgba(136, 113, 92, 0.08);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.img2-result-image {
  margin-bottom: 18px;
}

.img2-result-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-family: Georgia, "Times New Roman", serif;
}

.img2-result-url-input {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 10px;
  color: var(--text);
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Menlo", monospace;
  font-size: 13px;
  outline: none;
  cursor: text;
  transition: border-color 180ms ease;
}

.img2-result-url-input:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(205, 183, 159, 0.12);
}

.img2-result-preview {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  border: 1px solid rgba(136, 113, 92, 0.14);
  background: var(--paper-soft);
}

.img2-result-email {
  margin: 0 0 14px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-family: Georgia, "Times New Roman", serif;
}

.img2-result-email--sent {
  background: rgba(205, 183, 159, 0.1);
  color: var(--accent);
  border: 1px solid rgba(205, 183, 159, 0.28);
}

.img2-result-email--fail {
  background: rgba(198, 165, 156, 0.08);
  color: #8b4e43;
  border: 1px solid rgba(198, 165, 156, 0.28);
}

.img2-result-json {
  margin-top: 18px;
}

.img2-result-json pre {
  margin: 0;
  padding: 18px 20px;
  max-height: 320px;
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid rgba(136, 113, 92, 0.1);
  border-radius: 8px;
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Menlo", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ---- Image2 响应式 ---- */

@media (max-width: 720px) {
  .workflow-image2-main .workflow-hero h1 {
    font-size: 36px;
  }

  .img2-preview-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .img2-result-preview {
    max-width: 100%;
  }
}

/* ============================================================
   workflow-nanobanana — NanoBanana 生图工作流提交页
   复刻 image2 的布局与交互，使用 nb- 独立命名空间
   ============================================================ */

.workflow-nanobanana-main {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) 0 88px;
}

.workflow-nanobanana-main .workflow-hero {
  max-width: 760px;
  margin-bottom: clamp(42px, 7vw, 68px);
}

.workflow-nanobanana-main .workflow-hero h1 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.05;
}

.workflow-nanobanana-main .workflow-hero .tool-subtitle {
  margin: 0 0 22px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.workflow-nanobanana-main .workflow-hero p:not(.section-kicker):not(.tool-subtitle) {
  color: #554c43;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
}

/* ---- 图片上传 & 缩略图预览 ---- */

.nb-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.nb-preview-card {
  position: relative;
  padding: 10px;
  background: rgba(255, 250, 242, 0.68);
  border: 1px solid rgba(136, 113, 92, 0.16);
  border-radius: 10px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.nb-preview-card:hover {
  border-color: rgba(136, 113, 92, 0.28);
  transform: translateY(-2px);
}

.nb-preview-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--paper-soft);
  border: 1px solid rgba(136, 113, 92, 0.08);
}

.nb-preview-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.nb-preview-name {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nb-preview-size {
  font-size: 11px;
  color: var(--muted);
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Menlo", monospace;
}

.nb-preview-remove {
  margin-top: 8px;
  width: 100%;
  padding: 5px 0;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(136, 113, 92, 0.16);
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.nb-preview-remove:hover {
  color: #8b4e43;
  border-color: rgba(198, 165, 156, 0.45);
  background: rgba(198, 165, 156, 0.09);
}

/* ---- 结果展示区 — NanoBanana 专用 ---- */

.nb-result-status {
  margin: 0 0 14px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-family: Georgia, "Times New Roman", serif;
}

.nb-result-success {
  background: rgba(205, 183, 159, 0.12);
  color: var(--accent);
  border: 1px solid rgba(205, 183, 159, 0.28);
}

.nb-result-error {
  background: rgba(198, 165, 156, 0.08);
  color: #8b4e43;
  border: 1px solid rgba(198, 165, 156, 0.28);
}

.nb-result-message {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: rgba(240, 234, 222, 0.38);
  border: 1px solid rgba(136, 113, 92, 0.08);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.nb-result-image {
  margin-bottom: 18px;
}

.nb-result-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-family: Georgia, "Times New Roman", serif;
}

.nb-result-url-input {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 10px;
  color: var(--text);
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Menlo", monospace;
  font-size: 13px;
  outline: none;
  cursor: text;
  transition: border-color 180ms ease;
}

.nb-result-url-input:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(205, 183, 159, 0.12);
}

.nb-result-preview {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  border: 1px solid rgba(136, 113, 92, 0.14);
  background: var(--paper-soft);
}

.nb-result-email {
  margin: 0 0 14px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-family: Georgia, "Times New Roman", serif;
}

.nb-result-email--sent {
  background: rgba(205, 183, 159, 0.1);
  color: var(--accent);
  border: 1px solid rgba(205, 183, 159, 0.28);
}

.nb-result-email--fail {
  background: rgba(198, 165, 156, 0.08);
  color: #8b4e43;
  border: 1px solid rgba(198, 165, 156, 0.28);
}

.nb-result-json {
  margin-top: 18px;
}

.nb-result-json pre {
  margin: 0;
  padding: 18px 20px;
  max-height: 320px;
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid rgba(136, 113, 92, 0.1);
  border-radius: 8px;
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Menlo", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ---- NanoBanana 响应式 ---- */

@media (max-width: 720px) {
  .workflow-nanobanana-main .workflow-hero h1 {
    font-size: 36px;
  }

  .nb-preview-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .nb-result-preview {
    max-width: 100%;
  }
}
